Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
a47bf7df
Commit
a47bf7df
authored
Dec 03, 2017
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ux: updated modal header design
parent
a98b0024
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
21 additions
and
14 deletions
+21
-14
public/sass/_variables.dark.scss
+6
-1
public/sass/_variables.light.scss
+7
-1
public/sass/components/_modals.scss
+5
-8
public/sass/components/_page_header.scss
+3
-3
public/sass/mixins/_drop_element.scss
+0
-1
No files found.
public/sass/_variables.dark.scss
View file @
a47bf7df
...
...
@@ -98,6 +98,11 @@ $panel-drop-zone-bg: repeating-linear-gradient(-128deg, #111, #111 10px, #191
$panel-header-hover-bg
:
$dark-4
;
$panel-header-menu-hover-bg
:
$dark-5
;
// page header
$page-header-bg
:
linear-gradient
(
90deg
,
#292a2d
,
black
);
$page-header-shadow
:
inset
0px
-4px
14px
$dark-2
;
$page-header-border-color
:
$dark-4
;
$divider-border-color
:
#555
;
// Graphite Target Editor
...
...
@@ -276,7 +281,7 @@ $alert-warning-bg: linear-gradient(90deg, #d44939, #e0603d);
$alert-info-bg
:
linear-gradient
(
100deg
,
#1a4552
,
#00374a
);
// popover
$popover-bg
:
$pa
nel
-bg
;
$popover-bg
:
$pa
ge
-bg
;
$popover-color
:
$text-color
;
$popover-border-color
:
$dark-4
;
$popover-shadow
:
0
0
20px
black
;
...
...
public/sass/_variables.light.scss
View file @
a47bf7df
...
...
@@ -70,6 +70,7 @@ $text-shadow-faint: none;
// gradients
$brand-gradient
:
linear-gradient
(
to
right
,
rgba
(
255
,
213
,
0
,
1
.0
)
0%
,
rgba
(
255
,
68
,
0
,
1
.0
)
99%
,
rgba
(
255
,
68
,
0
,
1
.0
)
100%
);
$page-gradient
:
linear-gradient
(
-60deg
,
transparent
70%
,
darken
(
$page-bg
,
4%
)
98%
);
$page-header-bg
:
linear-gradient
(
90deg
,
#292a2d
,
black
);
// Links
// -------------------------
...
...
@@ -103,6 +104,11 @@ $panel-drop-zone-bg: repeating-linear-gradient(-128deg, $body-bg, $body-bg 10px,
$panel-header-hover-bg
:
$gray-6
;
$panel-header-menu-hover-bg
:
$gray-4
;
// Page header
$page-header-bg
:
linear-gradient
(
90deg
,
#292a2d
,
black
);
$page-header-shadow
:
inset
0px
-4px
14px
$dark-2
;
$page-header-border-color
:
$dark-4
;
$divider-border-color
:
$gray-2
;
// Graphite Target Editor
...
...
@@ -290,7 +296,7 @@ $alert-warning-bg: linear-gradient(90deg, #d44939, #e04d3d);
$alert-info-bg
:
$blue-dark
;
// popover
$popover-bg
:
$pa
nel
-bg
;
$popover-bg
:
$pa
ge
-bg
;
$popover-color
:
$text-color
;
$popover-border-color
:
$gray-5
;
$popover-shadow
:
0
0
20px
$white
;
...
...
public/sass/components/_modals.scss
View file @
a47bf7df
...
...
@@ -23,7 +23,7 @@
position
:
fixed
;
z-index
:
$zindex-modal
;
width
:
100%
;
background
-color
:
$panel
-bg
;
background
:
$page
-bg
;
@include
box-shadow
(
0
3px
7px
rgba
(
0
,
0
,
0
,
0
.3
));
@include
background-clip
(
padding-box
);
outline
:
none
;
...
...
@@ -37,13 +37,10 @@
}
.modal-header
{
background-color
:
$body-bg
;
@include
brand-bottom-border
();
@include
clearfix
();
.gf-tabs-link.active
{
background-color
:
$panel-bg
;
}
background
:
$page-header-bg
;
box-shadow
:
$page-header-shadow
;
border-bottom
:
1px
solid
$page-header-border-color
;
@include
clearfix
();
}
.modal-header-title
{
...
...
public/sass/components/_page_header.scss
View file @
a47bf7df
.page-header-canvas
{
background
:
linear-gradient
(
90deg
,
#292a2d
,
black
)
;
box-shadow
:
inset
0px
-4px
14px
$dark-2
;
border-bottom
:
1px
solid
$
dark-4
;
background
:
$page-header-bg
;
box-shadow
:
$page-header-shadow
;
border-bottom
:
1px
solid
$
page-header-border-color
;
}
.page-header
{
...
...
public/sass/mixins/_drop_element.scss
View file @
a47bf7df
...
...
@@ -11,7 +11,6 @@
background
:
$theme-bg
;
color
:
$theme-color
;
padding
:
0
.65rem
;
font-size
:
$font-size-sm
;
word-wrap
:
break-word
;
max-width
:
20rem
;
border
:
1px
solid
$border-color
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment