-
Notifications
You must be signed in to change notification settings - Fork 1
/
popup.css
77 lines (77 loc) · 1.87 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
body {
font-family: Calibri, sans-serif;
color: #909090;
width: 240px;
padding: 6px;
background-color: #1F1F1F;
border-radius: 8px;
box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
label {
font-family: Calibri, sans-serif;
font-size: medium;
}
h2 {
font-family: Calibri, sans-serif;
font-weight: bold;
font-size: x-large;
color: #A0A0A0;
margin-bottom: 10px; /* Added margin below the title */
}
hr {
margin-bottom: 10px; /* Added margin below the horizontal line */
}
.container {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 10px; /* Added some margin-bottom for spacing */
}
.switch {
position: relative;
display: inline-block;
width: 40px; /* Adjusted width of the switch */
height: 24px; /* Adjusted height of the switch */
}
.switch input {
opacity: 0;
width: 0;
height: 0;
}
.slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #282828;
transition: .1s;
border-radius: 12px; /* Added border-radius for rounded corners */
}
.slider:before {
position: absolute;
content: "";
height: 18px; /* Adjusted height of the slider */
width: 18px; /* Adjusted width of the slider */
left: 3px; /* Adjusted positioning for centering */
bottom: 3px; /* Adjusted positioning for centering */
background-color: white;
transition: .1s;
border-radius: 50%; /* Ensuring a circular shape */
}
input:checked + .slider {
background-color: #FF4E45;
}
input:focus + .slider {
box-shadow: 0 0 1px #FF4E45;
}
input:checked + .slider:before {
transform: translateX(16px); /* Adjusted positioning for the checked state */
}
.slider.round {
border-radius: 24px; /* Adjusted border radius for a round slider */
}
.slider.round:before {
border-radius: 50%;
}