princelv commited on
Commit
11246cd
·
verified ·
1 Parent(s): 183028f

Update static/css/style.css

Browse files
Files changed (1) hide show
  1. static/css/style.css +46 -4
static/css/style.css CHANGED
@@ -30,7 +30,7 @@
30
  --topbar-bg: #1a1d27;
31
  --badge-bg: #2d3251;
32
  --chart-grid: rgba(255,255,255,.06);
33
- --modal-bg: rgba(0,0,0,.7);
34
  }
35
 
36
  [data-theme="light"] {
@@ -51,7 +51,7 @@
51
  --topbar-bg: #ffffff;
52
  --badge-bg: #dde6ff;
53
  --chart-grid: rgba(0,0,0,.06);
54
- --modal-bg: rgba(0,0,0,.5);
55
  }
56
 
57
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
@@ -371,6 +371,48 @@ body {
371
  border-radius: 20px; padding: 2px 8px; font-size: .7rem; font-weight: 700;
372
  }
373
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
374
  /* ── Table ───────────────────────────────────────────────────────────── */
375
  .table-toolbar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
376
  .search-input, .filter-select {
@@ -445,7 +487,7 @@ body {
445
  .page-btn.active { background: var(--accent-blue); border-color: var(--accent-blue); color: #fff; }
446
  .page-btn:disabled { opacity: .4; cursor: default; }
447
 
448
- /* ── Participant Modal ───────────────────────────────────────────────── */
449
  .modal-overlay {
450
  position: fixed; inset: 0;
451
  background: var(--modal-bg);
@@ -554,4 +596,4 @@ body {
554
 
555
  @media (max-width: 480px) {
556
  .kpi-grid { grid-template-columns: 1fr; }
557
- }
 
30
  --topbar-bg: #1a1d27;
31
  --badge-bg: #2d3251;
32
  --chart-grid: rgba(255,255,255,.06);
33
+ --modal-bg: rgba(0,0,0,.85);
34
  }
35
 
36
  [data-theme="light"] {
 
51
  --topbar-bg: #ffffff;
52
  --badge-bg: #dde6ff;
53
  --chart-grid: rgba(0,0,0,.06);
54
+ --modal-bg: rgba(0,0,0,.75);
55
  }
56
 
57
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
 
371
  border-radius: 20px; padding: 2px 8px; font-size: .7rem; font-weight: 700;
372
  }
373
 
374
+ /* ── Image Gallery ───────────────────────────────────────────────────── */
375
+ .gallery-grid {
376
+ display: grid;
377
+ grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
378
+ gap: 24px;
379
+ margin-bottom: 24px;
380
+ }
381
+ .gallery-card {
382
+ background: var(--surface);
383
+ border: 1px solid var(--border);
384
+ border-radius: var(--radius);
385
+ overflow: hidden;
386
+ cursor: pointer;
387
+ box-shadow: var(--shadow-card);
388
+ transition: transform var(--transition), box-shadow var(--transition);
389
+ }
390
+ .gallery-card:hover {
391
+ transform: translateY(-4px);
392
+ box-shadow: var(--shadow);
393
+ }
394
+ .gallery-card img {
395
+ width: 100%;
396
+ height: 240px;
397
+ object-fit: cover;
398
+ object-position: top;
399
+ display: block;
400
+ border-bottom: 1px solid var(--border);
401
+ transition: opacity var(--transition);
402
+ }
403
+ .gallery-card:hover img {
404
+ opacity: 0.9;
405
+ }
406
+ .gallery-caption {
407
+ padding: 16px;
408
+ text-align: center;
409
+ font-weight: 600;
410
+ font-size: 0.9rem;
411
+ color: var(--text);
412
+ background: var(--surface);
413
+ }
414
+
415
+
416
  /* ── Table ───────────────────────────────────────────────────────────── */
417
  .table-toolbar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
418
  .search-input, .filter-select {
 
487
  .page-btn.active { background: var(--accent-blue); border-color: var(--accent-blue); color: #fff; }
488
  .page-btn:disabled { opacity: .4; cursor: default; }
489
 
490
+ /* ── Participant Modal & Modals in General ───────────────────────────── */
491
  .modal-overlay {
492
  position: fixed; inset: 0;
493
  background: var(--modal-bg);
 
596
 
597
  @media (max-width: 480px) {
598
  .kpi-grid { grid-template-columns: 1fr; }
599
+ }