-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
362 lines (330 loc) · 10.9 KB
/
style.css
File metadata and controls
362 lines (330 loc) · 10.9 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
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
/* BlueGoo Overlay Styles */
#bluegoo-overlay {
/* Base styles - position, z-index, max-width set by JS */
position: absolute;
z-index: 2147483647;
padding: 15px; /* Reduced padding for a tighter look */
border-radius: 8px; /* Slightly larger radius */
font-size: 14px;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; /* System font stack */
box-shadow: 0 4px 10px rgba(0,0,0,0.25); /* Enhanced shadow */
text-align: left;
line-height: 1.5;
box-sizing: border-box;
/* Bounding: max-width set by JS, add max-height and overflow */
max-height: 300px; /* Example max-height, adjust as needed */
overflow-y: auto; /* Add scrollbar if content exceeds max-height */
/* Theme colors set below */
}
/* --- Waiting Overlay Styles (Similar base, simpler content) --- */
#bluegoo-waiting-overlay {
/* Inherits most base styles from #bluegoo-overlay if defined globally, */
/* but safer to redefine key ones */
position: absolute;
z-index: 2147483647;
padding: 15px;
border-radius: 8px;
font-size: 12px; /* Make waiting text smaller */
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
box-shadow: 0 4px 10px rgba(0,0,0,0.25);
text-align: center; /* Center the waiting text */
line-height: 1.5;
box-sizing: border-box;
/* No max-height or overflow needed for simple text */
/* Add fallback background/border in case theme class fails */
background-color: rgba(255, 255, 255, 0.95); /* Default to light */
border: 1px solid rgba(0,0,0,0.1); /* Default to light */
color: #222; /* Default to light */
}
#bluegoo-waiting-overlay p {
margin: 0;
padding: 0;
}
/* Waiting Overlay Theme Colors (Match main overlay) */
#bluegoo-waiting-overlay.light {
background-color: rgba(255, 255, 255, 0.95);
color: #222;
border: 1px solid rgba(0,0,0,0.1);
}
#bluegoo-waiting-overlay.dark {
background-color: rgba(40, 40, 40, 0.95);
color: #eee;
border: 1px solid rgba(255,255,255,0.15);
}
/* --- Light Theme (Main Overlay) --- */
#bluegoo-overlay.light {
background-color: rgba(255, 255, 255, 0.95);
color: #222;
border: 1px solid rgba(0,0,0,0.1);
}
#bluegoo-overlay.light button {
background-color: #eee;
color: #333;
border: 1px solid #ccc;
}
#bluegoo-overlay.light button:hover {
background-color: #ddd;
}
/* --- Dark Theme --- */
#bluegoo-overlay.dark {
background-color: rgba(40, 40, 40, 0.95);
color: #eee;
border: 1px solid rgba(255,255,255,0.15);
}
#bluegoo-overlay.dark button {
background-color: #555;
color: #eee;
border: 1px solid #777;
}
#bluegoo-overlay.dark button:hover {
background-color: #666;
}
/* --- Error State (Overrides theme slightly) --- */
#bluegoo-overlay.error.light {
background-color: rgba(255, 220, 220, 0.95); /* Lighter red for light theme */
color: #800;
border-color: rgba(200, 0, 0, 0.3);
}
#bluegoo-overlay.error.dark {
background-color: rgba(100, 40, 40, 0.95); /* Darker red for dark theme */
color: #fcc;
border-color: rgba(255, 100, 100, 0.3);
}
/* Ensure button is visible in error state */
#bluegoo-overlay.error.light button {
background-color: #fdd; border-color: #fbb; color: #800;
}
#bluegoo-overlay.error.dark button {
background-color: #833; border-color: #a55; color: #fcc;
}
#bluegoo-overlay p {
margin: 0; /* Remove default margin */
padding: 0;
word-wrap: break-word;
margin-bottom: 8px; /* Space below the text */
/* Add spacing between paragraphs if needed */
/* margin-bottom: 1em; */
}
/* --- Metadata Styles (Classification & Language) --- */
/* Removed .metadata-container rule as the container div was removed from JS */
#bluegoo-overlay .metadata-text { /* Now applies to <p> elements */
font-size: 0.85em; /* Smaller font size */
font-style: italic; /* Italic style */
opacity: 0.8; /* Slightly faded like disclaimer */
margin: 0 0 2px 0; /* Remove default p margin, add small bottom margin */
padding: 0;
}
/* Optional: Specific styling if needed */
#bluegoo-overlay .classification-text {
/* Specific styles for classification */
}
#bluegoo-overlay .language-text {
/* Specific styles for language */
}
/* Style for the main description text (if needed, otherwise inherits from p) */
#bluegoo-overlay .description-text {
/* Styles specific to the main description paragraph */
margin-bottom: 8px; /* Ensure space below description before buttons */
}
/* Style for the disclaimer text */
#bluegoo-overlay .disclaimer-text {
font-size: 0.85em; /* Smaller font size (matches metadata) */
font-style: italic; /* Italic style (matches metadata) */
margin-top: 10px; /* Space above the disclaimer */
margin-bottom: 0; /* No space below disclaimer */
opacity: 0.8; /* Slightly faded (matches metadata) */
text-align: center; /* Center the disclaimer */
width: 100%; /* Ensure it takes full width for centering */
}
/* Styles for the old absolute positioned 'X' button removed */
/* --- Bottom Button Container --- */
#bluegoo-overlay .button-container {
display: flex; /* Use flexbox for alignment */
justify-content: center; /* Center buttons horizontally */
gap: 10px; /* Space between buttons */
margin-top: 12px; /* Space above the container (adjust as needed) */
margin-bottom: 5px; /* Space below the container */
}
/* --- Shared Action Button Styles (Copy & Close) --- */
#bluegoo-overlay .action-button {
padding: 4px 10px; /* Adjust padding for better text centering */
font-size: 12px;
line-height: 1.4; /* Helps vertical centering */
cursor: pointer;
border-radius: 4px;
border-width: 1px;
border-style: solid;
text-align: center;
/* Remove individual margins, handled by container gap */
}
/* Action button theme styles */
#bluegoo-overlay.light .action-button {
background-color: #e0e8ff; /* Light blue */
color: #0033cc;
border-color: #b3c6ff;
}
#bluegoo-overlay.light .action-button:hover {
background-color: #cddaff;
}
/* Add specific style for light close button if needed, e.g., different color */
#bluegoo-overlay.light .close-button {
/* background-color: #ffe0e0; */ /* Example: light red */
/* color: #cc0000; */
/* border-color: #ffb3b3; */
}
#bluegoo-overlay.light .close-button:hover {
/* background-color: #ffcfcf; */
}
#bluegoo-overlay.dark .action-button {
background-color: #3a4a7a; /* Darker blue */
color: #e0e8ff;
border-color: #5a6aa0;
}
#bluegoo-overlay.dark .action-button:hover {
background-color: #4a5a8a;
}
/* Add specific style for dark close button if needed */
#bluegoo-overlay.dark .close-button {
/* background-color: #7a3a3a; */ /* Example: darker red */
/* color: #ff e0e0; */
/* border-color: #a05a5a; */
}
#bluegoo-overlay.dark .close-button:hover {
/* background-color: #8a4a4a; */
}
/* ================= Options Page Styles ================= */
body#options-page {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Modern font */
padding: 25px;
min-width: 350px;
transition: background-color 0.3s ease, color 0.3s ease; /* Smooth theme transition */
background-color: #e8f0fe; /* Light blue background */
color: #333;
}
/* --- Options Page Theme Variations --- */
body#options-page.theme-light {
background-color: #e8f0fe;
color: #333;
}
body#options-page.theme-dark {
background-color: #1a2a45; /* Dark blue background */
color: #e0e8ff;
}
body#options-page.theme-dark label,
body#options-page.theme-dark legend {
color: #c0d0ff; /* Lighter text for dark theme */
}
body#options-page.theme-dark input[type="text"],
body#options-page.theme-dark input[type="password"],
body#options-page.theme-dark select {
background-color: #2a3a55;
color: #e0e8ff;
border-color: #5a6aa0;
}
body#options-page.theme-dark fieldset {
border-color: #5a6aa0;
}
body#options-page.theme-dark button {
background-color: #4a6a9a;
color: #e0e8ff;
border-color: #6a8ac0;
}
body#options-page.theme-dark button:hover {
background-color: #5a7ab0;
}
body#options-page.theme-dark #status.success {
color: #90ee90; /* Light green */
}
body#options-page.theme-dark #status.error {
color: #ff9999; /* Light red */
}
/* --- General Options Page Elements --- */
#options-page h1 {
color: #0033cc; /* Blue heading */
text-align: center;
margin-bottom: 25px;
font-weight: 600;
}
body#options-page.theme-dark h1 {
color: #80bfff; /* Lighter blue for dark theme */
}
#options-page label {
display: block;
margin-bottom: 8px; /* Increased spacing */
font-weight: 500; /* Slightly less bold */
color: #002288; /* Darker blue label */
}
#options-page input[type="text"],
#options-page input[type="password"],
#options-page select {
width: 100%;
padding: 10px; /* More padding */
margin-bottom: 18px;
box-sizing: border-box;
border: 1px solid #b3c6ff; /* Blue border */
border-radius: 5px; /* Rounded corners */
background-color: #fff;
transition: border-color 0.3s ease, background-color 0.3s ease;
}
#options-page input:focus,
#options-page select:focus {
outline: none;
border-color: #0033cc; /* Highlight focus */
box-shadow: 0 0 5px rgba(0, 51, 204, 0.3);
}
#options-page .radio-group label {
display: inline-block;
margin-right: 15px;
font-weight: normal;
color: #333; /* Reset color for radio labels */
cursor: pointer;
}
body#options-page.theme-dark .radio-group label {
color: #e0e8ff; /* Dark theme radio labels */
}
#options-page .radio-group input[type="radio"] {
width: auto;
margin-right: 5px;
vertical-align: middle;
cursor: pointer;
accent-color: #0033cc; /* Style the radio button itself */
}
#options-page fieldset {
border: 1px solid #b3c6ff; /* Blue border */
padding: 15px;
margin-bottom: 20px;
border-radius: 5px;
}
#options-page legend {
font-weight: 600; /* Bolder legend */
color: #0033cc; /* Blue legend */
padding: 0 5px;
}
#options-page button {
padding: 12px 20px; /* Larger button */
cursor: pointer;
background-color: #0052cc; /* Primary blue */
color: white;
border: none;
border-radius: 5px;
font-size: 1em;
transition: background-color 0.3s ease;
display: block; /* Make button block level */
width: 100%; /* Full width */
margin-top: 10px; /* Space above button */
}
#options-page button:hover {
background-color: #003da5; /* Darker blue on hover */
}
#options-page #status {
margin-top: 20px;
font-weight: bold;
text-align: center; /* Center status message */
height: 1.2em; /* Reserve space */
}
#options-page #status.success {
color: #008000; /* Green */
}
#options-page #status.error {
color: #cc0000; /* Red */
}