forked from vishwajeeta/Light-Shield
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
121 lines (106 loc) · 1.88 KB
/
styles.css
File metadata and controls
121 lines (106 loc) · 1.88 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
body {
font-family: Arial, sans-serif;
width: 240px;
padding: 12px;
margin: 0;
}
.header {
display: flex;
justify-content: space-between;
align-items: center;
font-weight: bold;
font-size: 16px;
}
.settings-toggle {
display: flex;
align-items: center;
gap: 6px;
margin-top: 16px;
padding: 8px 10px;
border-radius: 8px;
cursor: pointer;
font-size: 13px;
font-weight: 500;
color: #444;
background: #f3f3f3;
transition: all 0.2s ease;
}
.settings-toggle:hover {
background: #e9e9e9;
}
.settings {
margin-top: 10px;
padding: 10px;
border-radius: 10px;
background: #fafafa;
box-shadow: 0 2px 6px rgba(0,0,0,0.05);
display: none;
}
.label-row {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 10px;
}
#opacityValue {
font-size: 12px;
color: #777;
}
.settings label {
display: block;
margin-top: 10px;
font-size: 12px;
font-weight: 500;
color: #555;
}
input[type="range"],
select {
width: 100%;
margin-top: 6px;
}
.settings select {
padding: 6px 8px;
border-radius: 6px;
border: 1px solid #ddd;
font-size: 12px;
background: #fff;
outline: none;
}
/* Toggle Switch */
.switch {
position: relative;
display: inline-block;
width: 40px;
height: 20px;
}
.switch input {
display: none;
}
.slider {
position: absolute;
cursor: pointer;
background-color: #ccc;
border-radius: 20px;
top: 0;
left: 0;
right: 0;
bottom: 0;
transition: 0.3s;
}
.slider:before {
position: absolute;
content: "";
height: 14px;
width: 14px;
left: 3px;
bottom: 3px;
background-color: white;
border-radius: 50%;
transition: 0.3s;
}
input:checked + .slider {
background-color: #4CAF50;
}
input:checked + .slider:before {
transform: translateX(20px);
}