-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.css
104 lines (91 loc) · 1.71 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
96
97
98
99
100
101
102
103
104
body {
font-family: Arial, sans-serif;
width: 300px;
margin: 15px;
background-color: #f9f9f9;
border-radius: 8px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
text-align: center;
}
h1 {
font-size: 22px;
font-weight: bold;
color: #333;
margin-top: 20px;
}
p {
font-size: 14px;
line-height: 1.4;
color: #666;
margin-bottom: 20px;
}
.switch {
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 20px;
}
.switch label {
font-size: 16px;
color: #444;
cursor: pointer;
}
input[type="checkbox"] {
appearance: none;
width: 50px;
height: 24px;
background-color: #c6c6c6;
outline: none;
border-radius: 12px;
position: relative;
cursor: pointer;
margin-right: 8px;
transition: background-color 0.2s;
}
input[type="checkbox"]:checked {
background-color: #4caf50;
}
input[type="checkbox"]::before {
content: "";
position: absolute;
width: 20px;
height: 20px;
border-radius: 10px;
background-color: white;
top: 2px;
left: 2px;
transition: left 0.2s;
}
input[type="checkbox"]:checked::before {
left: 28px;
}
button {
background-color: #4caf50;
border: none;
color: white;
text-align: center;
display: inline-block;
font-size: 14px;
transition: background-color 0.2s;
padding: 6px 12px;
border-radius: 4px;
cursor: pointer;
margin: 4px;
}
button:hover {
background-color: #45a049;
}
table {
width: 100%;
border-collapse: collapse;
margin-bottom: 20px;
}
table th,
table td {
text-align: left;
padding: 8px;
border-bottom: 1px solid #ddd;
}
table th {
font-weight: bold;
}