html{
height
:
95%
;}
body{
height
:
95%
;
background-color
:
#141219
;}
#switch{
top
:
25%
;
left
:
50%
;
width
:
75px
;
height
:
40px
;
}
.toggle{
position
:
absolute
;
border
:
2px
solid
#444249
;
border-radius
:
20px
;
-webkit-
transition
: border-color .
6
s ease-out;
transition
: border-color .
6
s ease-out;
box-sizing
: border-box;
}
.toggle.toggle-on{
border-color
: rgba(
137
,
194
,
217
, .
4
);
-webkit-
transition
:
all
.
5
s .
15
s ease-out;
transition
:
all
.
5
s .
15
s ease-out;
}
.toggle-button{
position
:
absolute
;
top
:
4px
;
width
:
28px
;
bottom
:
4px
;
right
:
39px
;
background-color
:
#444249
;
border-radius
:
19px
;
cursor
:
pointer
;
-webkit-
transition
:
all
.
3
s .
1
s, width .
1
s,
top
.
1
s,
bottom
.
1
s;
transition
:
all
.
3
s .
1
s, width .
1
s,
top
.
1
s,
bottom
.
1
s;
}
.toggle-on .toggle-button{
top
:
3px
;
width
:
65px
;
bottom
:
3px
;
right
:
3px
;
border-radius
:
23px
;
background-color
:
#89c2da
;
box-shadow
:
0
0
16px
#4b7a8d
;
-webkit-
transition
:
all
.
2
s .
1
s,
right
.
1
s;
transition
:
all
.
2
s .
1
s,
right
.
1
s;
}
.toggle-text-on{
position
:
absolute
;
top
:
0
;
bottom
:
0
;
left
:
0
;
right
:
0
;
line-height
:
36px
;
text-align
:
center
;
font-family
:
'Quicksand'
,
sans-serif
;
font-size
:
18px
;
font-weight
:
normal
;
cursor
:
pointer
;
-webkit-
user-select
:
none
;
-moz-
user-select
:
none
;
-ms-
user-select
:
none
;
color
: rgba(
0
,
0
,
0
,
0
);
}
.toggle-on .toggle-text-on{
color
:
#3b6a7d
;
-webkit-
transition
: color .
3
s .
15
s ;
transition
: color .
3
s .
15
s ;
}
.toggle-text-off{
position
:
absolute
;
top
:
0
;
bottom
:
0
;
right
:
6px
;
line-height
:
36px
;
text-align
:
center
;
font-family
:
'Quicksand'
,
sans-serif
;
font-size
:
14px
;
font-weight
:
bold
;
-webkit-
user-select
:
none
;
-moz-
user-select
:
none
;
-ms-
user-select
:
none
;
cursor
:
pointer
;
color
:
#444249
;
}
.toggle-on .toggle-text-off{
color
: rgba(
0
,
0
,
0
,
0
);}
.glow-comp{
position
:
absolute
;
opacity
:
0
;
top
:
10px
;
bottom
:
10px
;
left
:
10px
;
right
:
10px
;
border-radius
:
6px
;
background-color
: rgba(
75
,
122
,
141
, .
1
);
box-shadow
:
0
0
12px
rgba(
75
,
122
,
141
, .
2
);
-webkit-
transition
: opacity
4.5
s
1
s;
transition
: opacity
4.5
s
1
s;
}
.toggle-on .glow-comp{
opacity
:
1
;
-webkit-
transition
: opacity
1
s;
transition
: opacity
1
s;
}