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
0335c1f3
Commit
0335c1f3
authored
Apr 14, 2017
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ux: updated styles a bit
parent
ea92ddcc
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
4 deletions
+9
-4
public/sass/_variables.dark.scss
+1
-0
public/sass/_variables.light.scss
+1
-0
public/sass/components/_drop.scss
+2
-2
public/sass/mixins/_drop_element.scss
+5
-2
No files found.
public/sass/_variables.dark.scss
View file @
0335c1f3
...
@@ -253,6 +253,7 @@ $infoBackground: $blue-dark;
...
@@ -253,6 +253,7 @@ $infoBackground: $blue-dark;
// popover
// popover
$popover-bg
:
$panel-bg
;
$popover-bg
:
$panel-bg
;
$popover-color
:
$text-color
;
$popover-color
:
$text-color
;
$popover-border-color
:
$gray-1
;
$popover-help-bg
:
$btn-secondary-bg
;
$popover-help-bg
:
$btn-secondary-bg
;
$popover-help-color
:
$text-color
;
$popover-help-color
:
$text-color
;
...
...
public/sass/_variables.light.scss
View file @
0335c1f3
...
@@ -278,6 +278,7 @@ $infoBorder: transparent;
...
@@ -278,6 +278,7 @@ $infoBorder: transparent;
// popover
// popover
$popover-bg
:
$gray-5
;
$popover-bg
:
$gray-5
;
$popover-color
:
$text-color
;
$popover-color
:
$text-color
;
$popover-border-color
:
$gray-3
;
$popover-help-bg
:
$blue-dark
;
$popover-help-bg
:
$blue-dark
;
$popover-help-color
:
$gray-6
;
$popover-help-color
:
$gray-6
;
...
...
public/sass/components/_drop.scss
View file @
0335c1f3
...
@@ -6,8 +6,8 @@ $attachmentOffset: 0%;
...
@@ -6,8 +6,8 @@ $attachmentOffset: 0%;
$easing
:
cubic-bezier
(
0
,
0
,
0
.265
,
1
.00
);
$easing
:
cubic-bezier
(
0
,
0
,
0
.265
,
1
.00
);
@include
drop-theme
(
"error"
,
$errorBackground
,
$popover-color
);
@include
drop-theme
(
"error"
,
$errorBackground
,
$popover-color
);
@include
drop-theme
(
"popover"
,
$popover-bg
,
$popover-color
,
#b3460d
);
@include
drop-theme
(
"popover"
,
$popover-bg
,
$popover-color
,
$popover-border-color
);
@include
drop-theme
(
"help"
,
$popover-
bg
,
$popover-color
,
#b3460d
);
@include
drop-theme
(
"help"
,
$popover-
help-bg
,
$popover-help-color
);
@include
drop-animation-scale
(
"drop"
,
"help"
,
$attachmentOffset
:
$attachmentOffset
,
$easing
:
$easing
);
@include
drop-animation-scale
(
"drop"
,
"help"
,
$attachmentOffset
:
$attachmentOffset
,
$easing
:
$easing
);
@include
drop-animation-scale
(
"drop"
,
"error"
,
$attachmentOffset
:
$attachmentOffset
,
$easing
:
$easing
);
@include
drop-animation-scale
(
"drop"
,
"error"
,
$attachmentOffset
:
$attachmentOffset
,
$easing
:
$easing
);
...
...
public/sass/mixins/_drop_element.scss
View file @
0335c1f3
@mixin
drop-theme
(
$themeName
,
$theme-bg
,
$theme-color
,
$border-color
:
$theme-
color
)
{
@mixin
drop-theme
(
$themeName
,
$theme-bg
,
$theme-color
,
$border-color
:
$theme-
bg
)
{
.drop-element.drop-
#{
$themeName
}
{
.drop-element.drop-
#{
$themeName
}
{
max-width
:
100%
;
max-width
:
100%
;
max-height
:
100%
;
max-height
:
100%
;
...
@@ -15,7 +15,10 @@
...
@@ -15,7 +15,10 @@
word-wrap
:
break-word
;
word-wrap
:
break-word
;
max-width
:
20rem
;
max-width
:
20rem
;
border
:
1px
solid
$border-color
;
border
:
1px
solid
$border-color
;
box-shadow
:
0
0
15px
#5d3000
;
@if
$theme-bg
!=
$border-color
{
box-shadow
:
0
0
15px
$border-color
;
}
&
:before
{
&
:before
{
content
:
""
;
content
:
""
;
...
...
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