-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathpopup.css
262 lines (230 loc) · 5.86 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
body {
font-family: "Arial", sans-serif;
background: #111;
color: white;
font-size: 60px;
text-shadow: 0 0 15px #411;
letter-spacing: 1px;
line-height: 1.2;
overflow: hidden;
}
html {
height: 560px;
width: 340px;
border: 1px solid #07d100;
border-radius: 5px;
}
#title {
margin: 0.2rem 0 0 0;
font-weight: bold;
font-size: 2rem;
color: lime;
text-align: center; /* Center text for titles */
flex: 0 1 auto; /* Allow titles to take up space */
position: center; /* Positioning titles absolutely */
}
.container {
padding: 1rem;
}
.list-title {
color: lime; /* Text color */
margin: 0px 0px 0px 0px; /* Remove default margin */
font-size: 20px; /* Adjust font size as needed */
}
.list {
list-style: none;
padding: 0;
margin-top: 0.5rem;
margin-bottom: 0.5rem;
height: 460px;
overflow-y: auto;
border: 1px solid #07d100;
border-radius: 8px;
background-color: #1f1f1f;
box-sizing: border-box;
}
.list li {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0.2rem 1rem;
font-size: 1rem;
line-height: 1.7;
background-color: #1f1f1f;
border: 1px solid #07d100;
overflow: hidden;
white-space: pre-wrap;
word-break: break-word;
}
.list li:hover {
background-color: #646464;
transition: background-color 0.2s ease;
cursor: pointer;
}
.empty {
text-align: center;
color: green;
padding: 1rem;
}
footer {
text-align: center;
padding: 0.5rem;
font-size: 0.85rem;
color: #666;
}
.list-container {
margin-bottom: 1rem;
width: 325px;
}
.parent-container {
display: flex; /* Use Flexbox for layout */
justify-content: space-between; /* Space between the items */
align-items: center; /* Center items vertically */
width: 100%; /* Make it full width */
}
@keyframes ping {
75%,
100% {
transform: scale(2);
opacity: 0;
}
}
#list-item {
display: flex;
flex-direction: column;
}
#list-item h4 {
margin: 0; /* Optional: to remove default margin */
color: red;
}
#list-item p {
margin: 0; /* Optional: to remove default margin */
}
.buttons {
background-color: #1a1a1a; /* dark background */
color: #00e600; /* green text */
border: 2px solid #00e600; /* green border */
border-radius: 10px; /* rounded corners */
padding: 6px 12px; /* add some padding */
font-size: 14px; /* text size */
font-weight: bold; /* bold text */
text-align: center;
cursor: pointer; /* pointer on hover */
transition: all 0.3s ease; /* smooth transition for hover */
outline: none; /* remove outline */
min-width: 150px; /* fixed minimum width */
max-width: 200px; /* optional max width */
white-space: nowrap; /* prevent text from wrapping */
overflow: hidden; /* prevent overflow */
text-overflow: ellipsis; /* add ellipsis if text overflows */
}
.buttons:hover {
background-color: #00e600; /* green background on hover */
color: #1a1a1a; /* black text on hover */
border-color: #1a1a1a; /* black border on hover */
}
.buttons:active {
transform: scale(0.98); /* slight scale down on click */
}
@media (max-width: 30px) {
.buttons {
width: 100%; /* make the button full width on smaller screens */
padding: 12px 0; /* adjust padding for better mobile look */
}
}
#top {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
}
#title {
margin: 0;
text-align: center;
flex-grow: 1;
}
svg {
margin-left: auto;
color: lime;
}
svg:hover {
cursor: pointer;
fill: green;
}
#settingsBox {
padding: 0;
margin-top: 0.5rem;
margin-bottom: 0.5rem;
height: 460px;
overflow-y: auto;
border: 1px solid #07d100;
border-radius: 8px;
background-color: #1f1f1f;
box-sizing: border-box;
}
#settingsBox p {
color: lime;
font-size: 14px;
font-weight: bold;
margin: 10px 10px 5px 10px;
}
/* Container for the checkbox and label */
.passive-container {
display: flex;
align-items: center;
margin: 1rem 1rem; /* Further decrease margin for less space */
}
/* Hide the default checkbox appearance */
.passive-container input[type="checkbox"] {
display: none;
}
/* Style for the custom checkbox */
.passive-container .custom-checkbox {
width: 12px; /* Size of the custom checkbox */
height: 12px;
border: 2px solid lime; /* Border for the checkbox */
border-radius: 4px;
position: relative;
cursor: pointer;
margin-right: 8px; /* Space between checkbox and label */
bottom: 1px; /* Adjust this value to vertically align the checkbox with the label */
}
/* When the checkbox is checked, fill the square but leave a little border */
.passive-container input[type="checkbox"]:checked + label .custom-checkbox::after {
content: '';
position: absolute;
top: 0px; /* Adjusted for better alignment */
left: 0px;
width: 12px; /* Size of the filled square */
height: 12px;
background-color: green; /* Color of the filled square */
border-radius: 2px; /* Optional: rounded edges for the filled square */
}
/* Style for the label */
.passive-container label {
font-size: 0.9rem; /* Adjust font size if necessary */
color: lime;
display: flex;
align-items: center; /* Aligns label text vertically */
}
#regex-box {
background-color: #1a1a1a; /* dark background */
color: #00e600; /* green text */
border: 2px solid #00e600; /* green border */
border-radius: 10px; /* rounded corners */
padding: 6px 12px; /* padding inside the input */
font-size: 14px; /* text size */
font-weight: bold; /* bold text */
text-align: center;
cursor: text; /* pointer when clicking to type */
transition: all 0.3s ease; /* smooth transition on focus */
outline: none; /* remove outline */
min-width: 150px; /* fixed minimum width */
max-width: 200px; /* optional max width */
white-space: nowrap; /* prevent text from wrapping */
overflow: hidden; /* prevent overflow */
text-overflow: ellipsis; /* add ellipsis if text overflows */
}
#regex-box::placeholder {
color: green;
}