blob: 83bf9462af79ea82c8d571a9442ab5303d2ba528 (
plain)
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
|
.lightbox-overlay {
position: fixed;
inset: 0;
z-index: 80;
background: var(--bg-overlay);
display: none;
place-items: center;
}
.lightbox-overlay.open {
display: grid;
}
.lightbox-stage {
width: 90vw;
height: 85vh;
display: grid;
place-items: center;
overflow: hidden;
}
#lightbox-image {
max-width: 100%;
max-height: 100%;
object-fit: contain;
transition: transform 0.15s ease;
user-select: none;
cursor: zoom-in;
}
.lightbox-nav {
position: absolute;
top: 50%;
transform: translateY(-50%);
background: var(--bg-surface);
border: 1px solid var(--border);
font-size: 2rem;
padding: 0.5rem 1rem;
cursor: pointer;
}
.lightbox-prev {
left: 1rem;
}
.lightbox-next {
right: 1rem;
}
.lightbox-close {
position: absolute;
top: 1rem;
right: 1rem;
background: var(--bg-surface);
border: 1px solid var(--border);
cursor: pointer;
}
.lightbox-toolbar {
position: absolute;
bottom: 1rem;
left: 50%;
transform: translateX(-50%);
display: flex;
gap: 0.5rem;
align-items: center;
background: var(--bg-surface);
padding: 0.5rem 1rem;
border-radius: var(--radius-lg);
border: 1px solid var(--border);
}
.lightbox-meta {
font-size: 0.875rem;
color: var(--text-secondary);
margin-left: 0.5rem;
white-space: nowrap;
}
.lightbox-counter {
font-size: 0.875rem;
color: var(--text-secondary);
margin-left: 0.5rem;
white-space: nowrap;
font-variant-numeric: tabular-nums;
}
|