-
Notifications
You must be signed in to change notification settings - Fork 5
/
popup.css
95 lines (90 loc) · 1.94 KB
/
popup.css
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
body {
width: 200px;
height: auto;
padding-left: 10px;
padding-right: 10px;
padding-top: 2px;
padding-bottom: 2px;
}
hr {
display: block;
position: relative;
padding: 0;
margin: 8px auto;
height: 0;
width: 100%;
max-height: 0;
font-size: 1px;
line-height: 0;
clear: both;
border: none;
border-top: 1px solid #e3e3e3;
border-bottom: 1px solid #ffffff;
}
.header {
color: #282828;
white-space: nowrap;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
"Open Sans", "Helvetica Neue", sans-serif;
}
.setting {
color: #282828;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
"Open Sans", "Helvetica Neue", sans-serif;
}
.hint {
color: #28282899;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
"Open Sans", "Helvetica Neue", sans-serif;
}
.onoffswitch {
position: relative;
width: 28px;
float: right;
top: 6px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
}
.onoffswitch-checkbox {
display: none;
}
.onoffswitch-label {
display: block;
overflow: hidden;
cursor: pointer;
height: 12px;
padding: 0;
line-height: 12px;
border: 0px solid #ffffff;
border-radius: 16px;
background-color: #9e9e9e;
}
.onoffswitch-label:before {
content: "";
display: block;
width: 16px;
margin: -2px;
background: #ffffff;
position: absolute;
top: 0;
bottom: 0;
right: 16px;
border-radius: 16px;
box-shadow: 0 1px 3px 0px #757575;
}
.onoffswitch-checkbox:checked + .onoffswitch-label {
background-color: #ffaaaa;
}
.onoffswitch-checkbox:checked + .onoffswitch-label,
.onoffswitch-checkbox:checked + .onoffswitch-label:before {
border-color: #ffaaaa;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
margin-left: 0;
}
.onoffswitch-checkbox:checked + .onoffswitch-label:before {
right: 0px;
background-color: #ff0000;
box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.4);
}