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
5f1b2691
Commit
5f1b2691
authored
Apr 15, 2019
by
Patrick O'Carroll
Committed by
Torkel Ödegaard
Apr 15, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Switch: made minor styling tweaks to switch to align to 4px grid (#16593)
parent
d4bb92a3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
public/sass/components/_switch.scss
+4
-4
No files found.
public/sass/components/_switch.scss
View file @
5f1b2691
...
...
@@ -25,7 +25,7 @@ gf-form-switch[disabled] {
.gf-form-switch
{
display
:
flex
;
position
:
relative
;
width
:
60
px
;
width
:
56
px
;
height
:
$input-height
;
background
:
$switch-bg
;
border
:
1px
solid
$input-border-color
;
...
...
@@ -52,7 +52,7 @@ gf-form-switch[disabled] {
background
:
$switch-slider-off-bg
;
border-radius
:
8px
;
height
:
16px
;
width
:
29
px
;
width
:
32
px
;
display
:
block
;
position
:
relative
;
...
...
@@ -61,7 +61,7 @@ gf-form-switch[disabled] {
content
:
''
;
height
:
12px
;
width
:
12px
;
left
:
1
px
;
left
:
2
px
;
top
:
2px
;
background
:
$switch-slider-color
;
transition
:
0
.4s
;
...
...
@@ -75,7 +75,7 @@ input:checked + .gf-form-switch__slider {
}
input
:checked
+
.gf-form-switch__slider
::before
{
transform
:
translateX
(
1
4
px
);
transform
:
translateX
(
1
6
px
);
}
.gf-form-checkbox
{
...
...
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