FCheck_wev8.css
1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
.wev-toggle {
cursor: pointer;
font-family: "Helvetica Neue",sans-serif;
font-size: 16px;
line-height: 21px;
box-sizing: border-box;
margin: 7px 0px;
position: relative;
display: block;
width: 62px;
height: 26px;
background-color: #fff;
border: 1px solid #ddd;
border-radius: 20px;
-webkit-transition-duration: .2s;
transition-duration: .2s;
-webkit-transition-property: background-color, border;
transition-property: background-color, border;
}
.wev-toggle .wev-toggle-handle {
box-sizing: border-box;
position: absolute;
top: 0px;
left: -1px;
z-index: 2;
width: 24px;
height: 24px;
background-color: #fff;
border: 1px solid #ddd;
border-radius: 100px;
-webkit-transition-duration: .2s;
transition-duration: .2s;
-webkit-transition-property: -webkit-transform, border, width;
transition-property: transform, border, width;
}
.wev-toggle:before {
position: absolute;
top: 2px;
right: 9px;
font-size: 13px;
color: #999;
text-transform: uppercase;
content: "Off";
}
.wev-toggle.wev-active {
background-color: #5cb85c;
border: 1px solid #5cb85c;
}
.wev-toggle.wev-active .wev-toggle-handle {
left: -8px;
border-color: #5cb85c;
-webkit-transform: translate3d(44px, 0, 0);
transform: translate3d(44px, 0, 0);
}
.wev-toggle.wev-active:before {
right: auto;
left: 11px;
color: #fff;
content: "On";
}