Scalino84 commited on
Commit
b7b24bd
·
verified ·
1 Parent(s): 3c4f863

Upload /bck/static/style.css with huggingface_hub

Browse files
Files changed (1) hide show
  1. bck/static/style.css +438 -0
bck/static/style.css ADDED
@@ -0,0 +1,438 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* Root Variablen für konsistentes Theming */
2
+ :root {
3
+ --primary-color: #3b5998;
4
+ --primary-hover: #4a69ad;
5
+ --secondary-color: #4c4f6b;
6
+ --bg-primary: #ffffff;
7
+ --bg-secondary: #d2d9df;
8
+ --bg-extra: #66b3ff;
9
+ --bg-dark: #1a1a2e;
10
+ --text-color: #333333;
11
+ --text-light: #666666;
12
+ --border-color: #dee2e6;
13
+ --error-color: #dc3545;
14
+ --success-color: #28a745;
15
+ --warning-color: #ffc107;
16
+ --border-radius: 0.5rem;
17
+ --transition-speed: 0.2s;
18
+ --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
19
+ --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
20
+ --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
21
+ }
22
+
23
+ /* Globale Styles */
24
+ body {
25
+ color: var(--text-color);
26
+ background-color: var(--bg-extra);
27
+ /* background-image: url('background.png');*/
28
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
29
+ line-height: 1.6;
30
+ }
31
+
32
+ /* Typography */
33
+ h1 {
34
+ margin-bottom: 2rem;
35
+ font-size: clamp(1.5rem, 4vw, 2.5rem);
36
+ font-weight: 600;
37
+ color: var(--text-color);
38
+ }
39
+
40
+ /* Container & Layout */
41
+ .container {
42
+ max-width: 1400px;
43
+ padding: 0 1rem;
44
+ margin: 0 auto;
45
+ }
46
+
47
+ /* Search Container */
48
+ .search-container {
49
+ margin-bottom: 2rem;
50
+ padding: 1.5rem;
51
+ background: var(--bg-secondary);
52
+ border-radius: var(--border-radius);
53
+ box-shadow: var(--shadow-sm);
54
+ }
55
+
56
+ .search-container .form-control {
57
+ margin-bottom: 1rem;
58
+ }
59
+
60
+ .search-container .btn {
61
+ min-width: 120px;
62
+ margin: 0.5rem;
63
+ }
64
+
65
+ /* Accordion Styles */
66
+ .accordion-item {
67
+ border: 1px solid var(--border-color);
68
+ border-radius: var(--border-radius);
69
+ overflow: hidden;
70
+ margin-bottom: 1rem;
71
+ background: var(--bg-secondary);
72
+ }
73
+
74
+ .accordion-button {
75
+ padding: 1rem 1.25rem;
76
+ font-weight: 500;
77
+ color: var(--text-color);
78
+ background: var(--bg-secondary);
79
+ transition: all var(--transition-speed);
80
+ }
81
+
82
+ .accordion-button:not(.collapsed) {
83
+ background-color: var(--primary-color);
84
+ color: white;
85
+ }
86
+
87
+ .accordion-body {
88
+ padding: 1.5rem;
89
+ background: var(--bg-primary);
90
+ }
91
+
92
+ /* Form Elements */
93
+ .form-control,
94
+ .form-select {
95
+ min-height: 42px;
96
+ padding: 0.5rem 0.75rem;
97
+ border: 1px solid var(--border-color);
98
+ border-radius: var(--border-radius);
99
+ transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
100
+ }
101
+
102
+ .form-control:focus,
103
+ .form-select:focus {
104
+ border-color: var(--primary-color);
105
+ box-shadow: 0 0 0 0.2rem rgba(59, 89, 152, 0.25);
106
+ }
107
+
108
+ .form-select[multiple] {
109
+ padding-right: 0.75rem;
110
+ min-height: 100px;
111
+ }
112
+
113
+ /* Buttons */
114
+ .btn {
115
+ padding: 0.5rem 1rem;
116
+ min-height: 42px;
117
+ font-weight: 500;
118
+ border-radius: var(--border-radius);
119
+ transition: transform var(--transition-speed),
120
+ background-color var(--transition-speed),
121
+ box-shadow var(--transition-speed);
122
+ }
123
+
124
+ .btn:hover {
125
+ transform: translateY(-1px);
126
+ box-shadow: var(--shadow-sm);
127
+ }
128
+
129
+ .btn-primary {
130
+ background: var(--primary-color);
131
+ border: none;
132
+ }
133
+
134
+ .btn-primary:hover {
135
+ background: var(--primary-hover);
136
+ }
137
+
138
+ .btn-secondary {
139
+ background: var(--secondary-color);
140
+ border: none;
141
+ }
142
+
143
+ /* Image Grid */
144
+ .image-grid {
145
+ display: grid;
146
+ gap: 1rem;
147
+ grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
148
+ }
149
+
150
+ .card {
151
+ height: 100%;
152
+ background: var(--bg-secondary);
153
+ border: none;
154
+ border-radius: var(--border-radius);
155
+ overflow: hidden;
156
+ transition: transform var(--transition-speed);
157
+ box-shadow: var(--shadow-sm);
158
+ }
159
+
160
+ .card:hover {
161
+ transform: translateY(-2px);
162
+ box-shadow: var(--shadow-md);
163
+ }
164
+
165
+ .image-thumbnail {
166
+ aspect-ratio: 1;
167
+ object-fit: cover;
168
+ width: 100%;
169
+ border-radius: var(--border-radius);
170
+ transition: transform var(--transition-speed);
171
+ }
172
+
173
+ .custom-bg {
174
+ /* Zentrierung des Formulars */
175
+ display: flex;
176
+ flex-direction: column; /* Inhalt des Formulars vertikal anordnen */
177
+ /*justify-content: center; /* Vertikale Zentrierung */
178
+ /* align-items: center; Horizontale Zentrierung */
179
+
180
+ /* Anpassung des Formularbereichs */
181
+ width: 100%;
182
+ max-width: 80%; /* Optional: Maximale Breite */
183
+ margin: 0 auto; /* Zentrierung bei horizontalem Layout */
184
+ height: 100vh; /* Formular auf Bildschirmhöhe zentrieren */
185
+
186
+ /* Optional: Hintergrund und Styling */
187
+ background-color: #f5f5f5;
188
+ /* padding: 20px; */
189
+ border-radius: 8px;
190
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
191
+ }
192
+ /* Checkboxes */
193
+ .form-check-input {
194
+ width: 1.40rem;
195
+ height: 1.40rem;
196
+ margin-top: 0.25rem;
197
+ cursor: pointer;
198
+ border: 2px solid var(--border-color);
199
+ }
200
+
201
+ .form-check-input:checked {
202
+ background-color: var(--primary-color);
203
+ border-color: var(--primary-color);
204
+ }
205
+
206
+ /* Modals */
207
+ .modal-content {
208
+ border-radius: var(--border-radius);
209
+ overflow: hidden;
210
+ box-shadow: var(--shadow-lg);
211
+ }
212
+
213
+ .modal-header {
214
+ background: var(--bg-secondary);
215
+ border-bottom: 1px solid var(--border-color);
216
+ padding: 1rem 1.5rem;
217
+ }
218
+
219
+ .modal-body {
220
+ padding: 1.5rem;
221
+ }
222
+
223
+ .modal-footer {
224
+ background: var(--bg-secondary);
225
+ border-top: 1px solid var(--border-color);
226
+ padding: 1rem 1.5rem;
227
+ }
228
+
229
+ /* Image Container Modal */
230
+ .image-container {
231
+ max-height: 70vh;
232
+ overflow: auto;
233
+ text-align: center;
234
+ background: var(--bg-dark);
235
+ border-radius: var(--border-radius);
236
+ padding: 1rem;
237
+ }
238
+
239
+ .image-container img {
240
+ max-width: 100%;
241
+ height: auto;
242
+ transition: transform var(--transition-speed);
243
+ }
244
+
245
+ .image-details {
246
+ margin-top: 1rem;
247
+ padding: 1rem;
248
+ background: var(--bg-secondary);
249
+ border-radius: var(--border-radius);
250
+ }
251
+
252
+ /* Thumbnail Gallery */
253
+ .thumb-container {
254
+ position: relative;
255
+ width: 150px;
256
+ margin: 0.5rem;
257
+ border-radius: var(--border-radius);
258
+ overflow: hidden;
259
+ }
260
+
261
+ .thumbnail-img {
262
+ width: 100%;
263
+ height: 150px;
264
+ object-fit: cover;
265
+ transition: transform var(--transition-speed);
266
+ }
267
+
268
+ .thumbnail-img:hover {
269
+ transform: scale(1.05);
270
+ }
271
+
272
+ .download-thumb {
273
+ position: absolute;
274
+ bottom: 5px;
275
+ right: 5px;
276
+ opacity: 0;
277
+ transition: opacity var(--transition-speed);
278
+ background: rgba(0, 0, 0, 0.5);
279
+ color: white;
280
+ border: none;
281
+ border-radius: var(--border-radius);
282
+ padding: 0.25rem 0.5rem;
283
+ }
284
+
285
+ .thumb-container:hover .download-thumb {
286
+ opacity: 1;
287
+ }
288
+
289
+ /* Slideshow */
290
+ .carousel-item {
291
+ height: 70vh;
292
+ background: var(--bg-dark);
293
+ }
294
+
295
+ .carousel-item img {
296
+ height: 100%;
297
+ object-fit: contain;
298
+ }
299
+
300
+ #slideshowModal.fullscreen .modal-dialog {
301
+ max-width: 100%;
302
+ margin: 0;
303
+ height: 100vh;
304
+ }
305
+
306
+ #slideshowModal.fullscreen .modal-content {
307
+ height: 100%;
308
+ border: none;
309
+ border-radius: 0;
310
+ }
311
+
312
+ .carousel-control-prev,
313
+ .carousel-control-next {
314
+ width: 10%;
315
+ background: rgba(0, 0, 0, 0.1);
316
+ opacity: 0;
317
+ transition: opacity var(--transition-speed);
318
+ }
319
+
320
+ .carousel:hover .carousel-control-prev,
321
+ .carousel:hover .carousel-control-next {
322
+ opacity: 0.7;
323
+ }
324
+
325
+ /* Utility Classes */
326
+ .mb-3 {
327
+ background-color: #66b3ff;
328
+ padding: 10px;
329
+ border: 1px solid #ddd;
330
+ border-radius: 4px;
331
+ margin-bottom: 1rem !important;
332
+ font-size: clamp(1.0rem, 4vw, 0.5rem);
333
+ font-weight: 600;
334
+ }
335
+
336
+ .me-2 {
337
+ margin-right: 0.5rem !important;
338
+ }
339
+
340
+ /* Scrollbar Styling */
341
+ ::-webkit-scrollbar {
342
+ width: 8px;
343
+ height: 8px;
344
+ }
345
+
346
+ ::-webkit-scrollbar-track {
347
+ background: var(--bg-secondary);
348
+ }
349
+
350
+ ::-webkit-scrollbar-thumb {
351
+ background: var(--primary-color);
352
+ border-radius: 4px;
353
+ }
354
+
355
+ /* Loading States */
356
+ .loading {
357
+ position: relative;
358
+ opacity: 0.7;
359
+ pointer-events: none;
360
+ }
361
+
362
+ .loading::after {
363
+ content: '';
364
+ position: absolute;
365
+ top: 50%;
366
+ left: 50%;
367
+ width: 24px;
368
+ height: 24px;
369
+ margin: -12px 0 0 -12px;
370
+ border: 2px solid var(--primary-color);
371
+ border-top-color: transparent;
372
+ border-radius: 50%;
373
+ animation: spin 1s linear infinite;
374
+ }
375
+
376
+ @keyframes spin {
377
+ to {
378
+ transform: rotate(360deg);
379
+ }
380
+ }
381
+
382
+ /* Responsive Breakpoints */
383
+ @media (max-width: 768px) {
384
+ .search-container .btn {
385
+ width: 100% !important;
386
+ margin: 0.25rem 0;
387
+ }
388
+
389
+ .modal-dialog {
390
+ margin: 0.5rem;
391
+ }
392
+
393
+ .btn {
394
+ padding: 0.75rem 1rem;
395
+ width: 100%;
396
+ }
397
+
398
+ .me-md-3 {
399
+ margin-right: 0 !important;
400
+ }
401
+
402
+ .image-container {
403
+ max-height: 60vh;
404
+ }
405
+ }
406
+
407
+ @media (max-width: 576px) {
408
+ .thumb-container {
409
+ width: calc(50% - 1rem);
410
+ }
411
+
412
+ .modal-header {
413
+ padding: 0.75rem;
414
+ }
415
+
416
+ .modal-body {
417
+ padding: 1rem;
418
+ }
419
+
420
+ .carousel-item {
421
+ height: 50vh;
422
+ }
423
+ }
424
+
425
+ /* Print Styles */
426
+ @media print {
427
+ .no-print {
428
+ display: none !important;
429
+ }
430
+
431
+ .image-container {
432
+ max-height: none;
433
+ }
434
+
435
+ .image-thumbnail {
436
+ break-inside: avoid;
437
+ }
438
+ }