Repository navigation
Expand file tree
/
Copy pathpopup.css
More file actions
127 lines (109 loc) · 1.81 KB
/
Copy pathpopup.css
File metadata and controls
127 lines (109 loc) · 1.81 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
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
body {
width: 220px;
margin: 0;
padding: 16px;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
background: #000;
color: #e7e9ea;
}
header {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 12px;
}
header img {
width: 24px;
height: 24px;
border-radius: 6px;
}
h1 {
font-size: 15px;
margin: 0;
}
.stat {
text-align: center;
padding: 12px 0;
border-top: 1px solid #2f3336;
border-bottom: 1px solid #2f3336;
margin-bottom: 14px;
}
.stat span {
display: block;
font-size: 28px;
font-weight: 700;
color: #f4212e;
}
.stat label {
font-size: 12px;
color: #71767b;
}
.switch-row {
display: flex;
align-items: center;
justify-content: space-between;
font-size: 13px;
margin-bottom: 14px;
cursor: pointer;
}
.switch {
position: relative;
display: inline-block;
width: 36px;
height: 20px;
flex-shrink: 0;
}
.switch input {
opacity: 0;
width: 0;
height: 0;
}
.slider {
position: absolute;
inset: 0;
background: #536471;
border-radius: 999px;
transition: background 0.15s;
}
.slider::before {
content: "";
position: absolute;
width: 16px;
height: 16px;
left: 2px;
top: 2px;
background: #fff;
border-radius: 50%;
transition: transform 0.15s;
}
.switch input:checked + .slider {
background: #1d9bf0;
}
.switch input:checked + .slider::before {
transform: translateX(16px);
}
#reset-btn {
width: 100%;
padding: 8px;
background: #16181c;
color: #e7e9ea;
border: 1px solid #2f3336;
border-radius: 999px;
font-size: 13px;
cursor: pointer;
}
#reset-btn:hover {
background: #1c1f23;
}
footer {
text-align: center;
margin-top: 12px;
}
footer a {
font-size: 11px;
color: #71767b;
text-decoration: none;
}
footer a:hover {
text-decoration: underline;
}