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
ee7afcbe
Commit
ee7afcbe
authored
Mar 23, 2016
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ux() some final tweaks
parent
b3b63f83
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
public/sass/components/_switch.scss
+11
-3
No files found.
public/sass/components/_switch.scss
View file @
ee7afcbe
...
@@ -47,10 +47,18 @@ $switch-height: 1.5rem;
...
@@ -47,10 +47,18 @@ $switch-height: 1.5rem;
}
}
&
:hover
{
&
:hover
{
input
+
label
:before
,
input
+
label
:after
{
input
+
label
:before
{
@include
buttonBackground
(
$input-bg
,
lighten
(
$input-bg
,
5%
));
color
:
$text-color
;
text-shadow
:
1px
1px
4px
rgb
(
45
,
45
,
45
);
}
input
+
label
:after
{
@include
buttonBackground
(
$input-bg
,
lighten
(
$input-bg
,
5%
));
@include
buttonBackground
(
$input-bg
,
lighten
(
$input-bg
,
5%
));
color
:
lighten
(
#FF8600
,
10%
);
color
:
lighten
(
#FF8600
,
10%
);
text-shadow
:
1px
1px
4px
rgb
(
25
,
25
,
25
);
}
}
}
}
input
+
label
:before
{
input
+
label
:before
{
...
@@ -63,7 +71,7 @@ $switch-height: 1.5rem;
...
@@ -63,7 +71,7 @@ $switch-height: 1.5rem;
color
:
darken
(
$text-color-weak
,
10%
);
color
:
darken
(
$text-color-weak
,
10%
);
transition
:
transform
0
.4s
;
transition
:
transform
0
.4s
;
backface-visibility
:
hidden
;
backface-visibility
:
hidden
;
text-shadow
:
0px
0px
5
px
rgb
(
45
,
45
,
45
);
text-shadow
:
1px
1px
4
px
rgb
(
45
,
45
,
45
);
}
}
input
+
label
:after
{
input
+
label
:after
{
...
@@ -72,7 +80,7 @@ $switch-height: 1.5rem;
...
@@ -72,7 +80,7 @@ $switch-height: 1.5rem;
//content: "\f00c";
//content: "\f00c";
content
:
"\f046"
;
// check-square-o
content
:
"\f046"
;
// check-square-o
color
:
#FF8600
;
color
:
#FF8600
;
text-shadow
:
0px
0px
5px
rgb
(
45
,
45
,
4
5
);
text-shadow
:
1px
1px
4px
rgb
(
25
,
25
,
2
5
);
font-family
:
'FontAwesome'
;
font-family
:
'FontAwesome'
;
transition
:
transform
0
.4s
;
transition
:
transform
0
.4s
;
...
...
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