web-mojo 2.1.156 → 2.1.169
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/admin.cjs.js +1 -1
- package/dist/admin.es.js +11 -11
- package/dist/auth.cjs.js +1 -1
- package/dist/auth.cjs.js.map +1 -1
- package/dist/auth.es.js +3 -3
- package/dist/auth.es.js.map +1 -1
- package/dist/charts.cjs.js +1 -1
- package/dist/charts.es.js +2 -2
- package/dist/chunks/{ContextMenu-CbEunClm.js → ContextMenu-CbSJ91Rt.js} +2 -2
- package/dist/chunks/{ContextMenu-CbEunClm.js.map → ContextMenu-CbSJ91Rt.js.map} +1 -1
- package/dist/chunks/{ContextMenu-Sia0S7z5.js → ContextMenu-shmMElZ-.js} +2 -2
- package/dist/chunks/{ContextMenu-Sia0S7z5.js.map → ContextMenu-shmMElZ-.js.map} +1 -1
- package/dist/chunks/{DataView-DUFmcNzo.js → DataView-D8Wz1eWp.js} +2 -2
- package/dist/chunks/{DataView-DUFmcNzo.js.map → DataView-D8Wz1eWp.js.map} +1 -1
- package/dist/chunks/{DataView-Cw5dJZqE.js → DataView-VZI0yvWl.js} +2 -2
- package/dist/chunks/{DataView-Cw5dJZqE.js.map → DataView-VZI0yvWl.js.map} +1 -1
- package/dist/chunks/{Dialog-C8doC-jC.js → Dialog-Cy-N5Prp.js} +5 -5
- package/dist/chunks/{Dialog-C8doC-jC.js.map → Dialog-Cy-N5Prp.js.map} +1 -1
- package/dist/chunks/{Dialog-BiXMlmpa.js → Dialog-NV1ypcgl.js} +2 -2
- package/dist/chunks/{Dialog-BiXMlmpa.js.map → Dialog-NV1ypcgl.js.map} +1 -1
- package/dist/chunks/FilePreviewView-Bf8QCARZ.js +2 -0
- package/dist/chunks/FilePreviewView-Bf8QCARZ.js.map +1 -0
- package/dist/chunks/{FilePreviewView-C2BtYxxE.js → FilePreviewView-CAXOt9XA.js} +63 -50
- package/dist/chunks/FilePreviewView-CAXOt9XA.js.map +1 -0
- package/dist/chunks/{FormView-CN0ODK5o.js → FormView-CGoi3s6W.js} +2 -2
- package/dist/chunks/{FormView-CN0ODK5o.js.map → FormView-CGoi3s6W.js.map} +1 -1
- package/dist/chunks/{FormView-fKPbwvaj.js → FormView-Df4ZONxf.js} +2 -2
- package/dist/chunks/{FormView-fKPbwvaj.js.map → FormView-Df4ZONxf.js.map} +1 -1
- package/dist/chunks/{MetricsChart-DZ7sDKjR.js → MetricsChart-8OAmP8AC.js} +2 -2
- package/dist/chunks/{MetricsChart-DZ7sDKjR.js.map → MetricsChart-8OAmP8AC.js.map} +1 -1
- package/dist/chunks/{MetricsChart-BwMVrhnb.js → MetricsChart-DhHLY7cp.js} +3 -3
- package/dist/chunks/{MetricsChart-BwMVrhnb.js.map → MetricsChart-DhHLY7cp.js.map} +1 -1
- package/dist/chunks/{PDFViewer-DYMYFfJO.js → PDFViewer-CnCtJy8R.js} +2 -2
- package/dist/chunks/{PDFViewer-DYMYFfJO.js.map → PDFViewer-CnCtJy8R.js.map} +1 -1
- package/dist/chunks/{PDFViewer-ChFKCoAj.js → PDFViewer-D1CjxHNX.js} +3 -3
- package/dist/chunks/{PDFViewer-ChFKCoAj.js.map → PDFViewer-D1CjxHNX.js.map} +1 -1
- package/dist/chunks/{Page-DX67D_J-.js → Page-BjJYnhU9.js} +2 -2
- package/dist/chunks/{Page-DX67D_J-.js.map → Page-BjJYnhU9.js.map} +1 -1
- package/dist/chunks/{Page-5Cxi0EVg.js → Page-c6Ihu4C8.js} +2 -2
- package/dist/chunks/{Page-5Cxi0EVg.js.map → Page-c6Ihu4C8.js.map} +1 -1
- package/dist/chunks/{TopNav-BlH13jp3.js → TopNav-BB8v63Gb.js} +2 -2
- package/dist/chunks/{TopNav-BlH13jp3.js.map → TopNav-BB8v63Gb.js.map} +1 -1
- package/dist/chunks/{TopNav-C9QYJ1v6.js → TopNav-CrUShp9l.js} +2 -2
- package/dist/chunks/{TopNav-C9QYJ1v6.js.map → TopNav-CrUShp9l.js.map} +1 -1
- package/dist/chunks/{User-Baz8lJ5A.js → User-Cbp-oy4Q.js} +24 -10
- package/dist/chunks/User-Cbp-oy4Q.js.map +1 -0
- package/dist/chunks/User-D39r-FW3.js +3 -0
- package/dist/chunks/User-D39r-FW3.js.map +1 -0
- package/dist/chunks/{WebApp-gfZ5pe0r.js → WebApp-CnEQKRS7.js} +2 -2
- package/dist/chunks/{WebApp-gfZ5pe0r.js.map → WebApp-CnEQKRS7.js.map} +1 -1
- package/dist/chunks/{WebApp-BpLJk5p5.js → WebApp-Dp42LTTA.js} +12 -12
- package/dist/chunks/{WebApp-BpLJk5p5.js.map → WebApp-Dp42LTTA.js.map} +1 -1
- package/dist/css/web-mojo.css +1 -1
- package/dist/docit.cjs.js +1 -1
- package/dist/docit.es.js +6 -6
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +58 -54
- package/dist/index.es.js.map +1 -1
- package/dist/lightbox.cjs.js +1 -1
- package/dist/lightbox.css +349 -311
- package/dist/lightbox.es.js +4 -4
- package/package.json +1 -1
- package/dist/chunks/FilePreviewView-C2BtYxxE.js.map +0 -1
- package/dist/chunks/FilePreviewView-C7wOWzjW.js +0 -2
- package/dist/chunks/FilePreviewView-C7wOWzjW.js.map +0 -1
- package/dist/chunks/User-Baz8lJ5A.js.map +0 -1
- package/dist/chunks/User-D6umLdSa.js +0 -3
- package/dist/chunks/User-D6umLdSa.js.map +0 -1
package/dist/lightbox.css
CHANGED
|
@@ -8,40 +8,40 @@
|
|
|
8
8
|
========================================================================== */
|
|
9
9
|
|
|
10
10
|
.lightbox-component {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
11
|
+
position: relative;
|
|
12
|
+
width: 100%;
|
|
13
|
+
height: 100%;
|
|
14
|
+
background: #000;
|
|
15
|
+
overflow: hidden;
|
|
16
|
+
font-family: var(--bs-font-sans-serif, system-ui, sans-serif);
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
.lightbox-overlay {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
20
|
+
position: absolute;
|
|
21
|
+
top: 0;
|
|
22
|
+
left: 0;
|
|
23
|
+
right: 0;
|
|
24
|
+
bottom: 0;
|
|
25
|
+
background: rgba(0, 0, 0, 0.8);
|
|
26
|
+
display: flex;
|
|
27
|
+
align-items: center;
|
|
28
|
+
justify-content: center;
|
|
29
|
+
z-index: 1;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
.lightbox-loading {
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
text-align: center;
|
|
34
|
+
color: #fff;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
.lightbox-loading .spinner-border {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
38
|
+
width: 2rem;
|
|
39
|
+
height: 2rem;
|
|
40
|
+
margin-bottom: 1rem;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
.lightbox-component.loaded .lightbox-overlay {
|
|
44
|
-
|
|
44
|
+
display: none;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
/* ==========================================================================
|
|
@@ -49,96 +49,96 @@
|
|
|
49
49
|
========================================================================== */
|
|
50
50
|
|
|
51
51
|
.image-viewer {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
52
|
+
position: relative;
|
|
53
|
+
width: 100%;
|
|
54
|
+
height: 100%;
|
|
55
|
+
background: #000;
|
|
56
|
+
overflow: hidden;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
.image-viewer-container {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
60
|
+
position: relative;
|
|
61
|
+
width: 100%;
|
|
62
|
+
height: 100%;
|
|
63
|
+
min-height: 400px;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
.image-viewer-content {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
67
|
+
position: relative;
|
|
68
|
+
width: 100%;
|
|
69
|
+
height: 100%;
|
|
70
|
+
overflow: hidden;
|
|
71
|
+
cursor: grab;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
.image-viewer-content:active {
|
|
75
|
-
|
|
75
|
+
cursor: grabbing;
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
.image-viewer-content.dragging {
|
|
79
|
-
|
|
79
|
+
cursor: grabbing;
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
.image-viewer-image {
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
83
|
+
position: absolute;
|
|
84
|
+
top: 50%;
|
|
85
|
+
left: 50%;
|
|
86
|
+
transform-origin: center center;
|
|
87
|
+
transition: transform 0.2s ease-out;
|
|
88
|
+
max-width: none;
|
|
89
|
+
max-height: none;
|
|
90
|
+
user-select: none;
|
|
91
|
+
-webkit-user-drag: none;
|
|
92
|
+
pointer-events: none;
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
.image-viewer-overlay {
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
96
|
+
position: absolute;
|
|
97
|
+
top: 0;
|
|
98
|
+
left: 0;
|
|
99
|
+
right: 0;
|
|
100
|
+
bottom: 0;
|
|
101
|
+
background: rgba(0, 0, 0, 0.8);
|
|
102
|
+
display: flex;
|
|
103
|
+
align-items: center;
|
|
104
|
+
justify-content: center;
|
|
105
|
+
z-index: 1;
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
.image-viewer.loaded .image-viewer-overlay {
|
|
109
|
-
|
|
109
|
+
display: none;
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
.image-viewer-controls {
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
113
|
+
position: absolute;
|
|
114
|
+
bottom: 20px;
|
|
115
|
+
left: 50%;
|
|
116
|
+
transform: translateX(-50%);
|
|
117
|
+
z-index: 10;
|
|
118
|
+
display: flex;
|
|
119
|
+
gap: 10px;
|
|
120
|
+
align-items: center;
|
|
121
|
+
background: rgba(0, 0, 0, 0.8);
|
|
122
|
+
padding: 8px 12px;
|
|
123
|
+
border-radius: 6px;
|
|
124
|
+
backdrop-filter: blur(4px);
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
.image-viewer-info {
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
128
|
+
color: white;
|
|
129
|
+
font-size: 12px;
|
|
130
|
+
white-space: nowrap;
|
|
131
|
+
margin-left: 10px;
|
|
132
132
|
}
|
|
133
133
|
|
|
134
134
|
.image-viewer-controls .btn {
|
|
135
|
-
|
|
136
|
-
|
|
135
|
+
--bs-btn-border-color: rgba(255, 255, 255, 0.2);
|
|
136
|
+
border-color: rgba(255, 255, 255, 0.2);
|
|
137
137
|
}
|
|
138
138
|
|
|
139
139
|
.image-viewer-controls .btn:hover {
|
|
140
|
-
|
|
141
|
-
|
|
140
|
+
--bs-btn-border-color: rgba(255, 255, 255, 0.4);
|
|
141
|
+
border-color: rgba(255, 255, 255, 0.4);
|
|
142
142
|
}
|
|
143
143
|
|
|
144
144
|
/* ==========================================================================
|
|
@@ -146,149 +146,185 @@
|
|
|
146
146
|
========================================================================== */
|
|
147
147
|
|
|
148
148
|
.image-editor {
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
149
|
+
display: flex;
|
|
150
|
+
flex-direction: column;
|
|
151
|
+
height: 100%;
|
|
152
|
+
background: #f8f9fa;
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
.image-editor-toolbar {
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
156
|
+
padding: 8px 12px;
|
|
157
|
+
background: white;
|
|
158
|
+
border-bottom: 1px solid #dee2e6;
|
|
159
|
+
flex-shrink: 0;
|
|
160
160
|
}
|
|
161
161
|
|
|
162
162
|
.image-editor-filters {
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
163
|
+
background: white;
|
|
164
|
+
border-bottom: 1px solid #dee2e6;
|
|
165
|
+
flex-shrink: 0;
|
|
166
166
|
}
|
|
167
167
|
|
|
168
168
|
.image-editor-filters .card {
|
|
169
|
-
|
|
170
|
-
|
|
169
|
+
border: none;
|
|
170
|
+
border-radius: 0;
|
|
171
171
|
}
|
|
172
172
|
|
|
173
173
|
.image-editor-workspace {
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
174
|
+
flex: 1;
|
|
175
|
+
display: flex;
|
|
176
|
+
flex-direction: column;
|
|
177
|
+
overflow: hidden;
|
|
178
178
|
}
|
|
179
179
|
|
|
180
180
|
.image-editor-content {
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
181
|
+
flex: 1;
|
|
182
|
+
position: relative;
|
|
183
|
+
background: #000;
|
|
184
|
+
overflow: hidden;
|
|
185
|
+
cursor: grab;
|
|
186
186
|
}
|
|
187
187
|
|
|
188
188
|
.image-editor-content:active {
|
|
189
|
-
|
|
189
|
+
cursor: grabbing;
|
|
190
190
|
}
|
|
191
191
|
|
|
192
192
|
.image-editor-content.crop-mode {
|
|
193
|
-
|
|
193
|
+
cursor: crosshair;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
196
|
.image-editor-image,
|
|
197
197
|
.image-editor-canvas {
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
198
|
+
position: absolute;
|
|
199
|
+
top: 50%;
|
|
200
|
+
left: 50%;
|
|
201
|
+
transform-origin: center center;
|
|
202
|
+
transition: transform 0.2s ease-out;
|
|
203
|
+
max-width: none;
|
|
204
|
+
max-height: none;
|
|
205
|
+
user-select: none;
|
|
206
|
+
-webkit-user-drag: none;
|
|
207
207
|
}
|
|
208
208
|
|
|
209
209
|
.image-editor-overlay {
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
210
|
+
position: absolute;
|
|
211
|
+
top: 0;
|
|
212
|
+
left: 0;
|
|
213
|
+
right: 0;
|
|
214
|
+
bottom: 0;
|
|
215
|
+
background: rgba(0, 0, 0, 0.8);
|
|
216
|
+
display: flex;
|
|
217
|
+
align-items: center;
|
|
218
|
+
justify-content: center;
|
|
219
|
+
z-index: 1;
|
|
220
220
|
}
|
|
221
221
|
|
|
222
222
|
.image-editor.loaded .image-editor-overlay {
|
|
223
|
-
|
|
223
|
+
display: none;
|
|
224
224
|
}
|
|
225
225
|
|
|
226
226
|
.image-editor-status {
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
227
|
+
padding: 4px 12px;
|
|
228
|
+
background: white;
|
|
229
|
+
border-top: 1px solid #dee2e6;
|
|
230
|
+
flex-shrink: 0;
|
|
231
231
|
}
|
|
232
232
|
|
|
233
233
|
/* Crop Overlay Styles */
|
|
234
234
|
.crop-overlay {
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
235
|
+
position: absolute;
|
|
236
|
+
top: 0;
|
|
237
|
+
left: 0;
|
|
238
|
+
right: 0;
|
|
239
|
+
bottom: 0;
|
|
240
|
+
z-index: 10;
|
|
241
241
|
}
|
|
242
242
|
|
|
243
243
|
.crop-box {
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
244
|
+
position: absolute;
|
|
245
|
+
border: 2px solid #007bff;
|
|
246
|
+
background: rgba(0, 123, 255, 0.1);
|
|
247
|
+
cursor: move;
|
|
248
248
|
}
|
|
249
249
|
|
|
250
250
|
.crop-box::before {
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
251
|
+
content: "";
|
|
252
|
+
position: absolute;
|
|
253
|
+
top: 0;
|
|
254
|
+
left: 0;
|
|
255
|
+
right: 0;
|
|
256
|
+
bottom: 0;
|
|
257
|
+
border: 1px dashed rgba(255, 255, 255, 0.5);
|
|
258
258
|
}
|
|
259
259
|
|
|
260
260
|
.crop-handle {
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
.crop-handle-nw {
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
.crop-handle-
|
|
275
|
-
|
|
276
|
-
|
|
261
|
+
position: absolute;
|
|
262
|
+
width: 8px;
|
|
263
|
+
height: 8px;
|
|
264
|
+
background: #007bff;
|
|
265
|
+
border: 1px solid white;
|
|
266
|
+
border-radius: 1px;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
.crop-handle-nw {
|
|
270
|
+
top: -4px;
|
|
271
|
+
left: -4px;
|
|
272
|
+
cursor: nw-resize;
|
|
273
|
+
}
|
|
274
|
+
.crop-handle-ne {
|
|
275
|
+
top: -4px;
|
|
276
|
+
right: -4px;
|
|
277
|
+
cursor: ne-resize;
|
|
278
|
+
}
|
|
279
|
+
.crop-handle-sw {
|
|
280
|
+
bottom: -4px;
|
|
281
|
+
left: -4px;
|
|
282
|
+
cursor: sw-resize;
|
|
283
|
+
}
|
|
284
|
+
.crop-handle-se {
|
|
285
|
+
bottom: -4px;
|
|
286
|
+
right: -4px;
|
|
287
|
+
cursor: se-resize;
|
|
288
|
+
}
|
|
289
|
+
.crop-handle-n {
|
|
290
|
+
top: -4px;
|
|
291
|
+
left: 50%;
|
|
292
|
+
transform: translateX(-50%);
|
|
293
|
+
cursor: n-resize;
|
|
294
|
+
}
|
|
295
|
+
.crop-handle-s {
|
|
296
|
+
bottom: -4px;
|
|
297
|
+
left: 50%;
|
|
298
|
+
transform: translateX(-50%);
|
|
299
|
+
cursor: s-resize;
|
|
300
|
+
}
|
|
301
|
+
.crop-handle-w {
|
|
302
|
+
left: -4px;
|
|
303
|
+
top: 50%;
|
|
304
|
+
transform: translateY(-50%);
|
|
305
|
+
cursor: w-resize;
|
|
306
|
+
}
|
|
307
|
+
.crop-handle-e {
|
|
308
|
+
right: -4px;
|
|
309
|
+
top: 50%;
|
|
310
|
+
transform: translateY(-50%);
|
|
311
|
+
cursor: e-resize;
|
|
312
|
+
}
|
|
277
313
|
|
|
278
314
|
/* Filter Controls */
|
|
279
315
|
.form-range::-webkit-slider-thumb {
|
|
280
|
-
|
|
316
|
+
background: #007bff;
|
|
281
317
|
}
|
|
282
318
|
|
|
283
319
|
.form-range::-moz-range-thumb {
|
|
284
|
-
|
|
320
|
+
background: #007bff;
|
|
285
321
|
}
|
|
286
322
|
|
|
287
323
|
/* Toolbar States */
|
|
288
324
|
.btn.active {
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
325
|
+
background-color: #007bff;
|
|
326
|
+
border-color: #007bff;
|
|
327
|
+
color: white;
|
|
292
328
|
}
|
|
293
329
|
|
|
294
330
|
/* ==========================================================================
|
|
@@ -296,95 +332,95 @@
|
|
|
296
332
|
========================================================================== */
|
|
297
333
|
|
|
298
334
|
.pdf-viewer {
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
335
|
+
display: flex;
|
|
336
|
+
flex-direction: column;
|
|
337
|
+
height: 100%;
|
|
338
|
+
background: #f8f9fa;
|
|
303
339
|
}
|
|
304
340
|
|
|
305
341
|
.pdf-viewer-toolbar {
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
342
|
+
padding: 8px 12px;
|
|
343
|
+
background: white;
|
|
344
|
+
border-bottom: 1px solid #dee2e6;
|
|
345
|
+
flex-shrink: 0;
|
|
310
346
|
}
|
|
311
347
|
|
|
312
348
|
.pdf-viewer-toolbar .page-input {
|
|
313
|
-
|
|
349
|
+
width: 60px;
|
|
314
350
|
}
|
|
315
351
|
|
|
316
352
|
.pdf-viewer-toolbar .page-total {
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
353
|
+
background: transparent;
|
|
354
|
+
border-left: none;
|
|
355
|
+
font-size: 0.8em;
|
|
320
356
|
}
|
|
321
357
|
|
|
322
358
|
.pdf-viewer-content {
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
359
|
+
flex: 1;
|
|
360
|
+
position: relative;
|
|
361
|
+
background: #525659;
|
|
362
|
+
overflow: auto;
|
|
363
|
+
display: flex;
|
|
364
|
+
align-items: center;
|
|
365
|
+
justify-content: center;
|
|
330
366
|
}
|
|
331
367
|
|
|
332
368
|
.pdf-canvas-container {
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
369
|
+
position: relative;
|
|
370
|
+
background: white;
|
|
371
|
+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
|
|
372
|
+
margin: 20px;
|
|
337
373
|
}
|
|
338
374
|
|
|
339
375
|
.pdf-canvas {
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
376
|
+
display: block;
|
|
377
|
+
max-width: 100%;
|
|
378
|
+
max-height: 100%;
|
|
343
379
|
}
|
|
344
380
|
|
|
345
381
|
.pdf-viewer-overlay {
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
382
|
+
position: absolute;
|
|
383
|
+
top: 0;
|
|
384
|
+
left: 0;
|
|
385
|
+
right: 0;
|
|
386
|
+
bottom: 0;
|
|
387
|
+
background: rgba(0, 0, 0, 0.1);
|
|
388
|
+
display: flex;
|
|
389
|
+
flex-direction: column;
|
|
390
|
+
align-items: center;
|
|
391
|
+
justify-content: center;
|
|
392
|
+
z-index: 1;
|
|
393
|
+
color: #6c757d;
|
|
358
394
|
}
|
|
359
395
|
|
|
360
396
|
.pdf-viewer.loaded .pdf-viewer-overlay {
|
|
361
|
-
|
|
397
|
+
display: none;
|
|
362
398
|
}
|
|
363
399
|
|
|
364
400
|
.pdf-viewer-error {
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
401
|
+
position: absolute;
|
|
402
|
+
top: 50%;
|
|
403
|
+
left: 50%;
|
|
404
|
+
transform: translate(-50%, -50%);
|
|
405
|
+
z-index: 2;
|
|
406
|
+
min-width: 300px;
|
|
371
407
|
}
|
|
372
408
|
|
|
373
409
|
.pdf-viewer-status {
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
410
|
+
padding: 4px 12px;
|
|
411
|
+
background: white;
|
|
412
|
+
border-top: 1px solid #dee2e6;
|
|
413
|
+
flex-shrink: 0;
|
|
378
414
|
}
|
|
379
415
|
|
|
380
416
|
/* PDF Loading animation */
|
|
381
417
|
.pdf-viewer-loading {
|
|
382
|
-
|
|
418
|
+
text-align: center;
|
|
383
419
|
}
|
|
384
420
|
|
|
385
421
|
.pdf-viewer-loading .spinner-border {
|
|
386
|
-
|
|
387
|
-
|
|
422
|
+
width: 2rem;
|
|
423
|
+
height: 2rem;
|
|
388
424
|
}
|
|
389
425
|
|
|
390
426
|
/* ==========================================================================
|
|
@@ -392,24 +428,24 @@
|
|
|
392
428
|
========================================================================== */
|
|
393
429
|
|
|
394
430
|
.lightbox-toolbar .btn:disabled {
|
|
395
|
-
|
|
431
|
+
opacity: 0.4;
|
|
396
432
|
}
|
|
397
433
|
|
|
398
434
|
.lightbox-toolbar .btn-group {
|
|
399
|
-
|
|
435
|
+
margin-right: 0.5rem;
|
|
400
436
|
}
|
|
401
437
|
|
|
402
438
|
.lightbox-controls .btn {
|
|
403
|
-
|
|
439
|
+
border-color: rgba(255, 255, 255, 0.2);
|
|
404
440
|
}
|
|
405
441
|
|
|
406
442
|
.lightbox-controls .btn:hover:not(:disabled) {
|
|
407
|
-
|
|
408
|
-
|
|
443
|
+
border-color: rgba(255, 255, 255, 0.4);
|
|
444
|
+
background-color: rgba(255, 255, 255, 0.1);
|
|
409
445
|
}
|
|
410
446
|
|
|
411
447
|
.lightbox-controls .btn:focus {
|
|
412
|
-
|
|
448
|
+
box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
|
|
413
449
|
}
|
|
414
450
|
|
|
415
451
|
/* ==========================================================================
|
|
@@ -417,51 +453,51 @@
|
|
|
417
453
|
========================================================================== */
|
|
418
454
|
|
|
419
455
|
@media (max-width: 768px) {
|
|
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
|
-
|
|
456
|
+
.image-editor-toolbar .btn-group,
|
|
457
|
+
.pdf-viewer-toolbar .btn-group {
|
|
458
|
+
margin-bottom: 4px;
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
.image-editor-toolbar .btn-toolbar,
|
|
462
|
+
.pdf-viewer-toolbar .btn-toolbar {
|
|
463
|
+
flex-wrap: wrap;
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
.image-viewer-controls {
|
|
467
|
+
bottom: 10px;
|
|
468
|
+
left: 10px;
|
|
469
|
+
right: 10px;
|
|
470
|
+
transform: none;
|
|
471
|
+
flex-wrap: wrap;
|
|
472
|
+
justify-content: center;
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
.image-editor-filters .row {
|
|
476
|
+
margin: 0;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
.image-editor-filters .col-md-6 {
|
|
480
|
+
margin-bottom: 1rem;
|
|
481
|
+
}
|
|
446
482
|
}
|
|
447
483
|
|
|
448
484
|
@media (max-width: 576px) {
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
485
|
+
.lightbox-toolbar {
|
|
486
|
+
padding: 4px 8px;
|
|
487
|
+
}
|
|
452
488
|
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
489
|
+
.lightbox-toolbar .btn-sm {
|
|
490
|
+
padding: 0.125rem 0.25rem;
|
|
491
|
+
font-size: 0.75rem;
|
|
492
|
+
}
|
|
457
493
|
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
494
|
+
.image-viewer-controls {
|
|
495
|
+
padding: 6px 8px;
|
|
496
|
+
}
|
|
461
497
|
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
498
|
+
.image-viewer-info {
|
|
499
|
+
font-size: 11px;
|
|
500
|
+
}
|
|
465
501
|
}
|
|
466
502
|
|
|
467
503
|
/* ==========================================================================
|
|
@@ -469,31 +505,31 @@
|
|
|
469
505
|
========================================================================== */
|
|
470
506
|
|
|
471
507
|
.lightbox-component:focus-within {
|
|
472
|
-
|
|
473
|
-
|
|
508
|
+
outline: 2px solid #007bff;
|
|
509
|
+
outline-offset: 2px;
|
|
474
510
|
}
|
|
475
511
|
|
|
476
512
|
.crop-handle:focus {
|
|
477
|
-
|
|
478
|
-
|
|
513
|
+
outline: 2px solid #fff;
|
|
514
|
+
outline-offset: 1px;
|
|
479
515
|
}
|
|
480
516
|
|
|
481
517
|
.lightbox-toolbar .btn:focus,
|
|
482
518
|
.lightbox-controls .btn:focus {
|
|
483
|
-
|
|
519
|
+
z-index: 3;
|
|
484
520
|
}
|
|
485
521
|
|
|
486
522
|
/* Screen reader only content */
|
|
487
523
|
.sr-only {
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
524
|
+
position: absolute;
|
|
525
|
+
width: 1px;
|
|
526
|
+
height: 1px;
|
|
527
|
+
padding: 0;
|
|
528
|
+
margin: -1px;
|
|
529
|
+
overflow: hidden;
|
|
530
|
+
clip: rect(0, 0, 0, 0);
|
|
531
|
+
white-space: nowrap;
|
|
532
|
+
border: 0;
|
|
497
533
|
}
|
|
498
534
|
|
|
499
535
|
/* ==========================================================================
|
|
@@ -501,31 +537,31 @@
|
|
|
501
537
|
========================================================================== */
|
|
502
538
|
|
|
503
539
|
@media print {
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
540
|
+
.lightbox-toolbar,
|
|
541
|
+
.lightbox-controls,
|
|
542
|
+
.lightbox-overlay,
|
|
543
|
+
.crop-overlay {
|
|
544
|
+
display: none !important;
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
.pdf-canvas,
|
|
548
|
+
.image-viewer-image {
|
|
549
|
+
position: static !important;
|
|
550
|
+
transform: none !important;
|
|
551
|
+
max-width: 100% !important;
|
|
552
|
+
max-height: none !important;
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
.lightbox-component {
|
|
556
|
+
background: white !important;
|
|
557
|
+
overflow: visible !important;
|
|
558
|
+
}
|
|
523
559
|
}
|
|
524
560
|
|
|
525
561
|
/* ==========================================================================
|
|
526
562
|
Dark Mode Support
|
|
527
563
|
========================================================================== */
|
|
528
|
-
|
|
564
|
+
/*
|
|
529
565
|
@media (prefers-color-scheme: dark) {
|
|
530
566
|
.image-editor,
|
|
531
567
|
.pdf-viewer {
|
|
@@ -562,31 +598,33 @@
|
|
|
562
598
|
border-color: #86b7fe;
|
|
563
599
|
color: #fff;
|
|
564
600
|
}
|
|
565
|
-
}
|
|
601
|
+
}*/
|
|
566
602
|
|
|
567
603
|
/* ==========================================================================
|
|
568
604
|
Animation and Transitions
|
|
569
605
|
========================================================================== */
|
|
570
606
|
|
|
571
607
|
.lightbox-component * {
|
|
572
|
-
|
|
608
|
+
transition:
|
|
609
|
+
opacity 0.2s ease-out,
|
|
610
|
+
transform 0.2s ease-out;
|
|
573
611
|
}
|
|
574
612
|
|
|
575
613
|
.crop-box {
|
|
576
|
-
|
|
614
|
+
transition: all 0.1s ease-out;
|
|
577
615
|
}
|
|
578
616
|
|
|
579
617
|
.lightbox-overlay {
|
|
580
|
-
|
|
618
|
+
transition: opacity 0.3s ease-out;
|
|
581
619
|
}
|
|
582
620
|
|
|
583
621
|
.btn {
|
|
584
|
-
|
|
622
|
+
transition: all 0.15s ease-in-out;
|
|
585
623
|
}
|
|
586
624
|
|
|
587
625
|
/* Smooth scrolling for PDF viewer */
|
|
588
626
|
.pdf-viewer-content {
|
|
589
|
-
|
|
627
|
+
scroll-behavior: smooth;
|
|
590
628
|
}
|
|
591
629
|
|
|
592
630
|
/* ==========================================================================
|
|
@@ -594,13 +632,13 @@
|
|
|
594
632
|
========================================================================== */
|
|
595
633
|
|
|
596
634
|
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
635
|
+
.pdf-canvas {
|
|
636
|
+
image-rendering: -webkit-optimize-contrast;
|
|
637
|
+
image-rendering: crisp-edges;
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
.crop-handle {
|
|
641
|
+
width: 10px;
|
|
642
|
+
height: 10px;
|
|
643
|
+
}
|
|
606
644
|
}
|