-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.css
80 lines (67 loc) · 1.04 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
* {
box-sizing: border-box;
}
body {
width: 500px;
background-color: rgba(100, 44, 165, 0.2);
}
div {
display: block;
}
hr {
border-style: solid;
border-color: #642CA5;
}
.view-header {
font-size: 18px;
font-weight: 500;
padding: 6px;
}
.view-wrapper {
height: 100%;
padding: 4px;
}
.view-title-wrapper {
display: inline-block;
padding-left: 4px;
vertical-align: middle;
width: 92%;
}
.view-title {
font-size: 12px;
}
.view-toggle-wrapper {
display: inline-block;
width: 8%;
}
.toggle {
cursor: pointer;
position: relative;
display: inline-block;
width: 36px;
height: 20px;
background-color: #ccc;
border-radius: 10px;
transition: 0.3s;
vertical-align: middle;
}
.toggle::after {
content: "";
position: absolute;
width: 16px;
height: 16px;
border-radius: 50%;
background-color: white;
top: 2px;
left: 2px;
transition: 0.3s;
}
.checkbox:checked+.toggle::after {
transform: translateX(16px);
}
.checkbox:checked+.toggle {
background-color: #7983ff;
}
.checkbox {
display: none;
}