-
Notifications
You must be signed in to change notification settings - Fork 2
/
styles.css
272 lines (239 loc) · 5.32 KB
/
styles.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
263
264
265
266
267
268
269
270
271
272
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;
height: 100%;
width: 550px;
border-radius: 12px;
overflow: hidden;
}
header {
background-color: #111;
color: white;
text-align: center;
position: relative;
height: 2px;
}
header h1 {
font-size: 1.5rem;
}
.container {
padding: 1rem;
}
.list-title {
margin: 0.2rem 0 0.25rem 0; /* Change top margin to 0.5rem and bottom margin to 0.25rem */
font-weight: bold;
font-size: 1.2rem;
}
.list {
list-style: none;
padding: 0;
margin: 0;
max-height: 170px;
overflow-y: auto;
border: 1px solid #ddd;
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: none;
overflow: hidden;
white-space: pre-wrap;
word-break: break-word;
}
.list li:hover {
background-color: #646464;
transition: background-color 0.2s ease;
}
.empty {
text-align: center;
color: #888;
padding: 1rem;
}
footer {
text-align: center;
padding: 0.5rem;
font-size: 0.85rem;
color: #666;
}
.list-container {
margin-bottom: 1rem;
}
.parent-container {
display: flex;
align-items: center;
}
/* Styling for the copy button */
.copy-btn,
.copy-btn-all,
.info-button {
width: 25px;
height: 25px;
background-color: transparent;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease;
display: flex;
align-items: center;
justify-content: center;
}
.copy-btn-all {
margin-left: 4px;
margin-top: 7px;
}
.copy-btn:hover,
.copy-btn-all:hover,
.info-button:hover {
background-color: #555;
}
.copy-btn svg,
.copy-btn-all svg,
.info-button svg {
width: 17px;
height: 17px;
stroke: white;
fill: none;
}
.glow {
color: #f00;
text-shadow: 0 0 10px #f00;
}
span {
font-family: Consolas, Courier, monospace;
padding: 0 2px;
}
/* Parent container to hold the star and button */
.item-actions {
display: flex; /* Align the star and copy button next to each other */
align-items: center; /* Align them vertically */
gap: 5px; /* Add space between the star and the copy button */
}
.dot-container {
position: relative;
display: flex;
align-items: center;
justify-content: center;
margin: 0 0.4rem;
}
.dot-ping {
position: absolute;
height: 0.6rem;
width: 0.6rem;
border-radius: 50%;
background-color: rgba(240, 33, 33, 0.945);
opacity: 0.75;
animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.dot-core {
position: absolute;
height: 0.4rem;
width: 0.4rem;
border-radius: 50%;
box-shadow: 0 0 5px rgb(255, 0, 0);
background-color: rgb(255, 0, 0);
}
@keyframes ping {
75%,
100% {
transform: scale(2);
opacity: 0;
}
}
.modal {
display: block;
position: fixed;
z-index: 1;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgba(0, 0, 0, 0.6);
}
.modal-content {
background-color: #1d1d1d;
margin: 10% auto;
padding: 20px;
border: 1px solid #888;
width: 80%; /* Try limiting the width */
max-width: 600px; /* A fixed max-width to prevent it from expanding too much */
position: relative;
box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.5);
border-radius: 8px; /* Optional: Rounded corners */
overflow: hidden; /* Ensures content does not overflow */
}
.modal-content p {
font-size: 0.3em;
line-height: 2;
margin: 10px 0; /* Space between paragraphs */
word-wrap: break-word; /* Breaks long words */
}
.modal-content a {
word-break: break-all; /* Breaks long URLs or text */
overflow-wrap: break-word; /* Ensures long text breaks properly */
}
.close {
position: absolute;
top: 10px;
right: 10px;
font-size: 0.6em;
color: #888;
cursor: pointer;
transition: color 0.3s ease;
}
.close:hover {
color: #fff; /* Change color on hover for better visibility */
}
/* Container for the checkbox and label */
.scope-container {
display: flex;
align-items: center;
margin: 0.12rem 0; /* Further decrease margin for less space */
}
/* Hide the default checkbox appearance */
.scope-container input[type="checkbox"] {
display: none;
}
/* Style for the custom checkbox */
.scope-container .custom-checkbox {
width: 12px; /* Size of the custom checkbox */
height: 12px;
border: 2px solid white; /* 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 */
.scope-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: white; /* Color of the filled square */
border-radius: 2px; /* Optional: rounded edges for the filled square */
}
/* Style for the label */
.scope-container label {
font-size: 0.9rem; /* Adjust font size if necessary */
color: white;
display: flex;
align-items: center; /* Aligns label text vertically */
}