-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
446 lines (369 loc) · 9.9 KB
/
Copy pathstyles.css
File metadata and controls
446 lines (369 loc) · 9.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
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
/**
* CrossPoint to Grimmory Bookmark Sync - Custom Styles
*
* This stylesheet provides custom styles and animations that complement
* Tailwind CSS utility classes. It includes:
* - Smooth transitions and animations
* - Custom scrollbar styling
* - Step indicator styles
* - Log entry animations
*/
/* ============================================================================
GLOBAL STYLES
============================================================================ */
* {
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* ============================================================================
CUSTOM SCROLLBAR
============================================================================ */
/* Webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: #f1f5f9;
border-radius: 4px;
}
::-webkit-scrollbar-thumb {
background: #cbd5e1;
border-radius: 4px;
transition: background 0.2s ease;
}
::-webkit-scrollbar-thumb:hover {
background: #94a3b8;
}
/* Firefox */
* {
scrollbar-width: thin;
scrollbar-color: #cbd5e1 #f1f5f9;
}
/* ============================================================================
STEP INDICATOR STYLES
============================================================================ */
.step-indicator {
background-color: #e2e8f0;
color: #64748b;
transition: all 0.3s ease;
font-weight: 600;
}
.step-indicator[data-step="1"].bg-primary,
.step-indicator[data-step="2"].bg-primary,
.step-indicator[data-step="3"].bg-primary {
animation: pulse-step 1s ease-in-out;
}
.step-line {
transition: all 0.3s ease;
}
@keyframes pulse-step {
0%, 100% {
transform: scale(1);
}
50% {
transform: scale(1.1);
}
}
/* ============================================================================
FORM ELEMENTS
============================================================================ */
input[type="text"],
input[type="url"],
input[type="password"] {
transition: all 0.2s ease;
}
input[type="text"]:focus,
input[type="url"]:focus,
input[type="password"]:focus {
outline: none;
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
input[type="checkbox"] {
cursor: pointer;
transition: all 0.2s ease;
}
input[type="checkbox"]:focus {
outline: none;
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
/* ============================================================================
BUTTON STYLES
============================================================================ */
button {
cursor: pointer;
user-select: none;
transition: all 0.2s ease;
}
button:active {
transform: translateY(1px);
}
button:disabled {
opacity: 0.6;
cursor: not-allowed;
transform: none !important;
}
/* ============================================================================
DROP ZONE STYLES
============================================================================ */
#dropZone {
transition: all 0.3s ease;
border-width: 3px;
}
#dropZone.border-primary {
border-color: #3b82f6;
}
#dropZone svg {
transition: all 0.3s ease;
}
#dropZone:hover svg {
transform: translateY(-4px);
}
#dropZone.border-primary svg {
color: #3b82f6;
transform: scale(1.1);
}
/* ============================================================================
SYNC LOG STYLES
============================================================================ */
#syncLog {
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'Courier New', monospace;
font-size: 13px;
line-height: 1.6;
background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
}
.log-entry {
padding: 2px 0;
animation: fadeInLog 0.3s ease;
word-wrap: break-word;
white-space: pre-wrap;
}
@keyframes fadeInLog {
from {
opacity: 0;
transform: translateX(-10px);
}
to {
opacity: 1;
transform: translateX(0);
}
}
/* ============================================================================
BOOKMARKS MODAL STYLES
============================================================================ */
#bookmarksModal {
animation: fadeInModal 0.2s ease;
}
@keyframes fadeInModal {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
#bookmarksModal > div {
animation: slideUpModal 0.3s ease;
}
@keyframes slideUpModal {
from {
transform: translateY(50px);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
}
}
.line-clamp-2 {
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
/* ============================================================================
STATS PANEL ANIMATION
============================================================================ */
#syncStatsPanel > div {
animation: popIn 0.4s ease;
}
@keyframes popIn {
0% {
transform: scale(0.8);
opacity: 0;
}
50% {
transform: scale(1.05);
}
100% {
transform: scale(1);
opacity: 1;
}
}
/* ============================================================================
PROGRESS BAR ANIMATION
============================================================================ */
#overallProgressBar {
transition: width 0.4s ease;
}
/* ============================================================================
FILE LIST STYLES
============================================================================ */
#selectedFilesList {
scrollbar-width: thin;
}
.file-item-enter {
animation: slideInFile 0.3s ease;
}
@keyframes slideInFile {
from {
opacity: 0;
transform: translateY(-10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* ============================================================================
CARD SHADOW EFFECTS
============================================================================ */
.bg-white {
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}
/* ============================================================================
ERROR MESSAGE STYLES
============================================================================ */
#credentialsError {
animation: shakeError 0.4s ease;
}
@keyframes shakeError {
0%, 100% {
transform: translateX(0);
}
25% {
transform: translateX(-10px);
}
75% {
transform: translateX(10px);
}
}
/* ============================================================================
VIEW TRANSITIONS
============================================================================ */
#credentialsView,
#fileSelectionView,
#syncProgressView {
animation: fadeInView 0.4s ease;
}
@keyframes fadeInView {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* ============================================================================
LOADING SPINNER (for future use)
============================================================================ */
.spinner {
border: 3px solid rgba(255, 255, 255, 0.3);
border-top-color: #ffffff;
border-radius: 50%;
width: 24px;
height: 24px;
animation: spin 0.8s linear infinite;
}
@keyframes spin {
to {
transform: rotate(360deg);
}
}
/* ============================================================================
RESPONSIVE ADJUSTMENTS
============================================================================ */
@media (max-width: 640px) {
#progressIndicator .flex {
flex-direction: column;
align-items: flex-start;
}
#progressIndicator .step-line {
width: 1px;
height: 20px;
margin: 4px 0;
}
#syncLog {
font-size: 11px;
max-height: 300px;
}
}
/* ============================================================================
ACCESSIBILITY IMPROVEMENTS
============================================================================ */
/* Focus visible for keyboard navigation */
*:focus-visible {
outline: 2px solid #3b82f6;
outline-offset: 2px;
}
/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
}
}
/* High contrast mode support */
@media (prefers-contrast: high) {
.border-slate-300 {
border-color: #000000 !important;
}
.text-slate-600 {
color: #000000 !important;
}
}
/* ============================================================================
UTILITY CLASSES
============================================================================ */
.gradient-text {
background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.shadow-glow {
box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}
.hover-lift {
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hover-lift:hover {
transform: translateY(-2px);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
/* ============================================================================
PRINT STYLES
============================================================================ */
@media print {
body {
background: white;
}
#syncLog {
background: white;
color: black;
border: 1px solid black;
}
button {
display: none;
}
}