-
Notifications
You must be signed in to change notification settings - Fork 4
/
popup.css
75 lines (64 loc) · 1.25 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
body {
width: 250px;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
margin: 0;
padding: 20px;
background-color: #f0f0f0;
display: flex;
align-items: center;
justify-content: center;
}
.container {
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
}
h1 {
font-size:24px;
color: #333;
margin-bottom: 10px;
}
#statusMessage {
font-size: 14px;
color: #666;
margin-bottom: 20px;
}
#toggleButton {
padding: 12px 30px;
border: none;
color: white;
background-color: #007bff;
cursor: pointer;
border-radius: 5px;
font-size: 14px;
font-weight: bold;
display: inline-flex;
align-items: center;
justify-content: center;
transition: background-color 0.3s ease, box-shadow 0.3s ease;
box-shadow:5px 4px 6px rgba(0, 0, 0, 0.1);
}
#toggleButton.active {
background-color: #ca4a57;
}
#toggleButton:hover {
box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.2);
}
.icon {
font-size: 26px;
margin-right: 10px;
}
#status {
font-weight: bold;
color: #dc3545;
}
#status.on {
color: #28a745;
}
#toggleButton.active .icon {
content: '✅';
}
#toggleButton.active #buttonText {
content: 'Turn Off';
}