-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontent.css
More file actions
96 lines (88 loc) · 2.44 KB
/
content.css
File metadata and controls
96 lines (88 loc) · 2.44 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
/* Floating expand button — appended to body, positioned with JS */
.gdie-expand-btn {
position: fixed !important;
width: 28px !important;
height: 28px !important;
border: none !important;
border-radius: 4px !important;
background: rgba(0, 0, 0, 0.6) !important;
color: #fff !important;
cursor: pointer !important;
opacity: 0 !important;
transition: opacity 0.15s ease !important;
z-index: 2147483646 !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
padding: 0 !important;
line-height: 1 !important;
pointer-events: auto !important;
}
.gdie-expand-btn:hover {
background: rgba(0, 0, 0, 0.85) !important;
}
.gdie-expand-btn svg {
width: 16px !important;
height: 16px !important;
fill: none !important;
stroke: #fff !important;
stroke-width: 2 !important;
stroke-linecap: round !important;
stroke-linejoin: round !important;
}
/* Lightbox overlay */
.gdie-overlay {
position: fixed !important;
top: 0 !important;
left: 0 !important;
width: 100vw !important;
height: 100vh !important;
background: rgba(0, 0, 0, 0.85) !important;
z-index: 2147483647 !important;
cursor: grab !important;
overflow: hidden !important;
}
.gdie-overlay.gdie-panning {
cursor: grabbing !important;
}
.gdie-viewer-img {
position: absolute !important;
top: 0 !important;
left: 0 !important;
transform-origin: 0 0 !important;
user-select: none !important;
-webkit-user-drag: none !important;
will-change: transform !important;
}
.gdie-close-btn {
position: fixed !important;
top: 16px !important;
right: 16px !important;
width: 36px !important;
height: 36px !important;
border: none !important;
border-radius: 50% !important;
background: rgba(255, 255, 255, 0.15) !important;
color: #fff !important;
font-size: 20px !important;
cursor: pointer !important;
z-index: 2147483647 !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
line-height: 1 !important;
padding: 0 !important;
}
.gdie-close-btn:hover {
background: rgba(255, 255, 255, 0.3) !important;
}
.gdie-zoom-hint {
position: fixed !important;
bottom: 20px !important;
left: 50% !important;
transform: translateX(-50%) !important;
color: rgba(255, 255, 255, 0.5) !important;
font: 13px/1.4 -apple-system, BlinkMacSystemFont, sans-serif !important;
pointer-events: none !important;
z-index: 2147483647 !important;
}