-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpopup.css
More file actions
264 lines (220 loc) · 5.41 KB
/
Copy pathpopup.css
File metadata and controls
264 lines (220 loc) · 5.41 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
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
body {
font-family: 'Segoe UI', Arial, sans-serif;
background: #1e1e1e;
color: #e0e0e0;
width: 500px; /* Bigger default size, bro */
padding: 20px;
margin: 0;
overflow: hidden;
}
header {
text-align: center;
margin-bottom: 24px;
padding: 16px 0; /* Adds breathing room */
background-color: #333; /* Optional background for contrast */
border-bottom: 2px solid #f04e4e; /* Optional accent line */
}
/* Slightly larger and better font weight for title/logo */
header h1 {
font-size: 28px;
font-weight: 700;
color: #ffffff;
margin: 0;
text-transform: uppercase; /* Optional for cleaner look */
letter-spacing: 1px; /* Adds a touch of style */
font-family: 'Arial', sans-serif; /* Feel free to switch to your preferred font */
}
/* Optional: Add a subtle shadow for depth */
header h1 {
text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}
/* Optional: Responsive tweak for smaller screens */
@media (max-width: 480px) {
header h1 {
font-size: 22px;
}
header {
padding: 12px 0;
}
}
section {
display: flex;
flex-direction: column;
}
.controls {
display: flex;
flex-direction: column;
gap: 10px;
margin-bottom: 15px;
}
input, select {
width: 100%;
padding: 10px;
border: 1px solid #444;
border-radius: 4px;
background: #2a2a2a;
color: #e0e0e0;
font-family: inherit;
font-size: 14px;
box-sizing: border-box;
transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
input:focus, select:focus {
border-color: #3498db;
box-shadow: 0 0 6px rgba(52, 152, 219, 0.5);
outline: none;
}
.button-group {
display: flex;
justify-content: center;
}
button {
background: #3498db;
color: #fff;
border: none;
padding: 10px 16px;
cursor: pointer;
border-radius: 4px;
font-family: inherit;
font-size: 14px;
transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}
button:hover {
background: #2980b9;
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(41, 128, 185, 0.3);
}
button:active {
transform: scale(0.98);
}
#clear-btn {
padding: 10px 20px;
font-size: 16px;
font-weight: bold;
background-color: #f04e4e; /* Clean, modern red */
color: white;
border: none;
border-radius: 8px; /* Slightly rounded corners for that modern touch */
cursor: pointer;
transition: background-color 0.3s ease, transform 0.1s ease, box-shadow 0.3s ease;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
display: inline-flex;
align-items: center;
gap: 8px; /* Space if you want to add an icon later */
justify-content: center;
font-family: Arial, sans-serif;
text-transform: uppercase;
}
/* Hover effect for a subtle lift */
#clear-btn:hover {
background-color: #d84343;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}
/* Active state for click feedback */
#clear-btn:active {
transform: translateY(2px);
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
/* Optional focus outline for accessibility */
#clear-btn:focus {
outline: none;
box-shadow: 0 0 0 3px rgba(240, 78, 78, 0.5);
}
ul {
list-style: none;
padding: 0;
margin: 0;
overflow-y: auto; /* Scrollbar only when needed */
scrollbar-width: none; /* Hide scrollbar by default (Firefox) */
}
ul::-webkit-scrollbar {
display: none; /* Hide scrollbar by default (Chrome/Safari) */
}
ul:overflowing {
scrollbar-width: thin; /* Show scrollbar when overflowing (Firefox) */
}
ul:overflowing::-webkit-scrollbar {
display: block; /* Show scrollbar when overflowing (Chrome/Safari) */
}
li {
display: flex;
flex-direction: column;
padding: 12px;
background: #2a2a2a;
border-radius: 4px;
margin-bottom: 10px;
transition: background 0.2s ease, opacity 0.3s ease;
}
li:hover {
background: #333; /* Subtle hover effect */
}
li.fade-out {
opacity: 0;
}
li .gleaning-text {
font-size: 14px;
color: #e0e0e0;
margin-bottom: 5px;
word-break: break-word;
}
li .gleaning-meta {
font-size: 12px;
color: #888;
}
li .gleaning-meta a {
color: #3498db;
text-decoration: none;
}
li .gleaning-meta a:hover {
text-decoration: underline;
}
li button {
background-color: #f04e4e; /* Same modern red */
color: white;
padding: 8px 16px; /* Better touch target */
font-size: 14px;
font-weight: bold;
border: none;
border-radius: 8px; /* Same rounded corners for consistency */
cursor: pointer;
margin-top: 8px;
margin-left: 8px; /* Adds space between text and button */
align-self: flex-end;
transition: background-color 0.3s ease, transform 0.1s ease, box-shadow 0.3s ease;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
font-family: Arial, sans-serif;
text-transform: uppercase;
}
/* Hover effect */
li button:hover {
background-color: #d84343;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}
/* Active (clicked) effect */
li button:active {
transform: translateY(2px);
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
/* Optional focus outline for accessibility */
li button:focus {
outline: none;
box-shadow: 0 0 0 3px rgba(240, 78, 78, 0.5);
}
footer {
text-align: center;
margin-top: 20px;
}
footer p {
font-size: 12px;
color: #888;
}
@keyframes fade-in {
from {
opacity: 0;
transform: translateY(-10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}