@itfin/components 1.2.43 → 1.2.45
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/package.json +1 -1
- package/src/assets/scss/components/_text-field.scss +4 -0
- package/src/assets/scss/main.scss +1 -1
- package/src/components/pdf-viewer/PdfViewerSpa.vue +3 -0
- package/src/components/pdf-viewer/styles/_annotation_layer_builder.scss +205 -0
- package/src/components/pdf-viewer/styles/_colors.scss +556 -0
- package/src/components/pdf-viewer/styles/_pdf_viewer.scss +131 -0
- package/src/components/pdf-viewer/styles/_text_layer_builder.scss +76 -0
- package/src/components/pdf-viewer/styles/_variables.scss +63 -0
- package/src/components/pdf-viewer/styles/_viewer.scss +1414 -0
- package/src/components/pdf-viewer/styles/index.scss +4 -0
- package/src/components/text-field/Textarea.vue +33 -22
|
@@ -0,0 +1,556 @@
|
|
|
1
|
+
@import "variables.scss";
|
|
2
|
+
@import "../../../assets/scss/variables.scss";
|
|
3
|
+
|
|
4
|
+
.pdf-app {
|
|
5
|
+
--pdf-app-background-color: #{$pdf-app-background-color};
|
|
6
|
+
--pdf-sidebar-content-color: #{$pdf-sidebar-content-color};
|
|
7
|
+
--pdf-toolbar-sidebar-color: #{$pdf-toolbar-sidebar-color};
|
|
8
|
+
--pdf-toolbar-color: #{$pdf-toolbar-color};
|
|
9
|
+
--pdf-loading-bar-color: #{$pdf-loading-bar-color};
|
|
10
|
+
--pdf-loading-bar-secondary-color: #{$pdf-loading-bar-secondary-color};
|
|
11
|
+
--pdf-find-results-count-color: #{$pdf-find-results-count-color};
|
|
12
|
+
--pdf-find-results-count-font-color: #{$pdf-find-results-count-font-color};
|
|
13
|
+
--pdf-find-message-font-color: #{$pdf-find-message-font-color};
|
|
14
|
+
--pdf-not-found-color: #{$pdf-not-found-color};
|
|
15
|
+
--pdf-split-toolbar-button-separator-color: #{$pdf-split-toolbar-button-separator-color};
|
|
16
|
+
--pdf-toolbar-font-color: #{$pdf-toolbar-font-color};
|
|
17
|
+
--pdf-button-hover-font-color: #fff;
|
|
18
|
+
--pdf-button-toggled-color: #{$primary};
|
|
19
|
+
--pdf-button-text-color: #eee;
|
|
20
|
+
--pdf-horizontal-toolbar-separator-color: #{$pdf-horizontal-toolbar-separator-color};
|
|
21
|
+
--pdf-input-color: #{$pdf-input-color};
|
|
22
|
+
--pdf-input-font-color: #{$pdf-input-font-color};
|
|
23
|
+
--pdf-find-input-placeholder-font-color: #999;
|
|
24
|
+
--pdf-thumbnail-selection-ring-color: #{$pdf-thumbnail-selection-ring-color};
|
|
25
|
+
--pdf-thumbnail-selection-ring-selected-color: #{$pdf-thumbnail-selection-ring-selected-color};
|
|
26
|
+
--pdf-error-wrapper-color: #{$pdf-error-wrapper-color};
|
|
27
|
+
--pdf-error-more-info-color: #{$pdf-error-more-info-color};
|
|
28
|
+
--pdf-error-more-info-font-color: #{$pdf-error-more-info-font-color};
|
|
29
|
+
--pdf-overlay-container-color: #{$pdf-overlay-container-color};
|
|
30
|
+
--pdf-overlay-container-dialog-color: #{$body-bg};
|
|
31
|
+
--pdf-overlay-container-dialog-font-color: #{$body-color};
|
|
32
|
+
--pdf-overlay-container-dialog-separator-color: #{$body-color};
|
|
33
|
+
--pdf-dialog-button-font-color: #{$pdf-dialog-button-font-color};
|
|
34
|
+
--pdf-dialog-button-color: #{$pdf-dialog-button-color};
|
|
35
|
+
--pdf-button-hover-bg-color: #{mix($primary, $body-bg, 50%)};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
[data-theme="dark"] {
|
|
39
|
+
.pdf-app {
|
|
40
|
+
--pdf-app-background-color: #{$pdf-app-background-color-light};
|
|
41
|
+
--pdf-sidebar-content-color: #{$pdf-sidebar-content-color-light};
|
|
42
|
+
--pdf-toolbar-sidebar-color: #{$pdf-toolbar-sidebar-color-light};
|
|
43
|
+
--pdf-toolbar-color: #{$dark-body-bg};
|
|
44
|
+
--pdf-loading-bar-color: #{$pdf-loading-bar-color-light};
|
|
45
|
+
--pdf-loading-bar-secondary-color: #{$pdf-loading-bar-secondary-color-light};
|
|
46
|
+
--pdf-find-results-count-color: #{$pdf-find-results-count-color-light};
|
|
47
|
+
--pdf-find-results-count-font-color: #{$pdf-find-results-count-font-color-light};
|
|
48
|
+
--pdf-find-message-font-color: #{$pdf-find-message-font-color-light};
|
|
49
|
+
--pdf-not-found-color: #{$pdf-not-found-color-light};
|
|
50
|
+
--pdf-split-toolbar-button-separator-color: #{$pdf-split-toolbar-button-separator-color-light};
|
|
51
|
+
--pdf-toolbar-font-color: #{$pdf-toolbar-font-color-light};
|
|
52
|
+
--pdf-button-hover-font-color: #222;
|
|
53
|
+
--pdf-button-hover-bg-color: #{mix($dark-primary, $dark-body-bg, 75%)};
|
|
54
|
+
--pdf-button-toggled-color: #{$dark-primary};
|
|
55
|
+
--pdf-button-text-color: #222;
|
|
56
|
+
--pdf-horizontal-toolbar-separator-color: #{$pdf-horizontal-toolbar-separator-color-light};
|
|
57
|
+
--pdf-input-color: #{$pdf-input-color-light};
|
|
58
|
+
--pdf-input-font-color: #{$pdf-input-font-color-light};
|
|
59
|
+
--pdf-find-input-placeholder-font-color: #{$pdf-find-input-placeholder-font-color-light};
|
|
60
|
+
--pdf-thumbnail-selection-ring-color: #{$pdf-thumbnail-selection-ring-color-light};
|
|
61
|
+
--pdf-thumbnail-selection-ring-selected-color: #{$pdf-thumbnail-selection-ring-selected-color-light};
|
|
62
|
+
--pdf-error-wrapper-color: #{$pdf-error-wrapper-color-light};
|
|
63
|
+
--pdf-error-more-info-color: #{$pdf-error-more-info-color-light};
|
|
64
|
+
--pdf-error-more-info-font-color: #{$pdf-error-more-info-font-color-light};
|
|
65
|
+
--pdf-overlay-container-color: #{$pdf-overlay-container-color-light};
|
|
66
|
+
--pdf-overlay-container-dialog-color: #{$pdf-overlay-container-dialog-color-light};
|
|
67
|
+
--pdf-overlay-container-dialog-font-color: #{$pdf-overlay-container-dialog-font-color-light};
|
|
68
|
+
--pdf-overlay-container-dialog-separator-color: #{$pdf-overlay-container-dialog-separator-color-light};
|
|
69
|
+
--pdf-dialog-button-font-color: #{$pdf-dialog-button-font-color-light};
|
|
70
|
+
--pdf-dialog-button-color: #{$pdf-dialog-button-color-light};
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/****** fallback for IE11 ******/
|
|
75
|
+
.pdf-app {
|
|
76
|
+
background-color: $pdf-app-background-color;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.pdf-app #sidebarContent {
|
|
80
|
+
background-color: $pdf-sidebar-content-color;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.pdf-app #toolbarSidebar {
|
|
84
|
+
background-color: $pdf-toolbar-sidebar-color;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.pdf-app #toolbarContainer,
|
|
88
|
+
.pdf-app .findbar,
|
|
89
|
+
.pdf-app .secondaryToolbar {
|
|
90
|
+
background-color: $pdf-toolbar-color;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.pdf-app .secondaryToolbar {
|
|
94
|
+
border-radius: 0.5rem;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.pdf-app #loadingBar .progress {
|
|
98
|
+
background-color: $pdf-loading-bar-color;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.pdf-app #loadingBar .progress.indeterminate .glimmer {
|
|
102
|
+
background: repeating-linear-gradient(
|
|
103
|
+
135deg,
|
|
104
|
+
transparent 0,
|
|
105
|
+
$pdf-loading-bar-secondary-color 5px,
|
|
106
|
+
$pdf-loading-bar-secondary-color 45px,
|
|
107
|
+
transparent 55px,
|
|
108
|
+
transparent 95px,
|
|
109
|
+
transparent 100px
|
|
110
|
+
);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.pdf-app #findInput::placeholder {
|
|
114
|
+
color: $pdf-find-input-placeholder-font-color;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.pdf-app .doorHanger:after,
|
|
118
|
+
.pdf-app .doorHangerRight:after {
|
|
119
|
+
border-bottom-color: $pdf-toolbar-color;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.pdf-app #findResultsCount {
|
|
123
|
+
background-color: $pdf-find-results-count-color;
|
|
124
|
+
color: $pdf-find-results-count-font-color;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.pdf-app #findMsg {
|
|
128
|
+
color: $pdf-find-message-font-color;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.pdf-app #findInput.notFound {
|
|
132
|
+
background-color: $pdf-not-found-color;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.pdf-app .splitToolbarButtonSeparator {
|
|
136
|
+
background-color: $pdf-split-toolbar-button-separator-color;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.pdf-app .toolbarButton,
|
|
140
|
+
.pdf-app .dropdownToolbarButton,
|
|
141
|
+
.pdf-app .secondaryToolbarButton,
|
|
142
|
+
.pdf-app .overlayButton {
|
|
143
|
+
color: $pdf-toolbar-font-color;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.vue-pdf-app-icon {
|
|
147
|
+
color: $pdf-toolbar-font-color;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.pdf-app .dialog .overlayButton {
|
|
151
|
+
background-color: $pdf-dialog-button-color;
|
|
152
|
+
color: $pdf-dialog-button-font-color;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.pdf-app .toolbarButton:hover,
|
|
156
|
+
.pdf-app .toolbarButton:focus,
|
|
157
|
+
.pdf-app .dropdownToolbarButton:hover,
|
|
158
|
+
.pdf-app .overlayButton,
|
|
159
|
+
.pdf-app .secondaryToolbarButton:hover,
|
|
160
|
+
.vue-pdf-app-icon:hover,
|
|
161
|
+
.pdf-app .secondaryToolbarButton:focus {
|
|
162
|
+
background-color: var(--pdf-button-hover-bg-color);
|
|
163
|
+
color: var(--pdf-button-hover-font-color);
|
|
164
|
+
border-radius: 2px;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.pdf-app .dropdownToolbarButton > select {
|
|
168
|
+
color: $pdf-toolbar-font-color;
|
|
169
|
+
background: $pdf-toolbar-color;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.pdf-app .dropdownToolbarButton > select > option {
|
|
173
|
+
background: $pdf-toolbar-color;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.pdf-app .verticalToolbarSeparator {
|
|
177
|
+
background-color: $pdf-split-toolbar-button-separator-color;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.pdf-app .horizontalToolbarSeparator {
|
|
181
|
+
background-color: $pdf-horizontal-toolbar-separator-color;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.pdf-app .toolbarLabel {
|
|
185
|
+
color: $pdf-toolbar-font-color;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.pdf-app a:focus > .thumbnail > .thumbnailSelectionRing,
|
|
189
|
+
.pdf-app .thumbnail:hover > .thumbnailSelectionRing {
|
|
190
|
+
background-color: $pdf-thumbnail-selection-ring-color;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.pdf-app .thumbnail.selected > .thumbnailSelectionRing {
|
|
194
|
+
background-color: $pdf-thumbnail-selection-ring-selected-color;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.pdf-app .outlineItem > a,
|
|
198
|
+
.pdf-app .attachmentsItem > button {
|
|
199
|
+
color: $pdf-toolbar-font-color;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.pdf-app .outlineItemToggler:hover,
|
|
203
|
+
.pdf-app .outlineItemToggler:hover + a,
|
|
204
|
+
.pdf-app .outlineItemToggler:hover ~ .outlineItems,
|
|
205
|
+
.pdf-app .outlineItem > a:hover,
|
|
206
|
+
.pdf-app .attachmentsItem > button:hover {
|
|
207
|
+
background-color: $pdf-button-toggled-color;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
.pdf-app #errorWrapper {
|
|
211
|
+
background-color: $pdf-error-wrapper-color;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.pdf-app #errorMoreInfo {
|
|
215
|
+
background-color: $pdf-error-more-info-color;
|
|
216
|
+
color: $pdf-error-more-info-font-color;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.pdf-app #overlayContainer {
|
|
220
|
+
background-color: $pdf-overlay-container-color;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.pdf-app #overlayContainer > .container > .dialog {
|
|
224
|
+
background-color: $pdf-overlay-container-dialog-color;
|
|
225
|
+
color: $pdf-overlay-container-dialog-font-color;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.pdf-app .dialog .separator {
|
|
229
|
+
background-color: $pdf-overlay-container-dialog-separator-color;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.pdf-app .toolbarButton.toggled,
|
|
233
|
+
.pdf-app .splitToolbarButton.toggled > .toolbarButton.toggled,
|
|
234
|
+
.pdf-app .secondaryToolbarButton.toggled {
|
|
235
|
+
background-color: $pdf-button-toggled-color;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
/****** light theme for IE11 ******/
|
|
239
|
+
.pdf-app.light {
|
|
240
|
+
background-color: $pdf-app-background-color-light;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
.pdf-app.light #sidebarContent {
|
|
244
|
+
background-color: $pdf-sidebar-content-color-light;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
.pdf-app.light #toolbarSidebar {
|
|
248
|
+
background-color: $pdf-toolbar-sidebar-color-light;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
.pdf-app.light #toolbarContainer,
|
|
252
|
+
.pdf-app.light .findbar,
|
|
253
|
+
.pdf-app.light .secondaryToolbar {
|
|
254
|
+
background-color: $pdf-toolbar-color-light;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.pdf-app.light #loadingBar .progress {
|
|
258
|
+
background-color: $pdf-loading-bar-color-light;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
.pdf-app.light #loadingBar .progress.indeterminate .glimmer {
|
|
262
|
+
background: repeating-linear-gradient(
|
|
263
|
+
135deg,
|
|
264
|
+
transparent 0,
|
|
265
|
+
$pdf-loading-bar-secondary-color-light 5px,
|
|
266
|
+
$pdf-loading-bar-secondary-color-light 45px,
|
|
267
|
+
transparent 55px,
|
|
268
|
+
transparent 95px,
|
|
269
|
+
transparent 100px
|
|
270
|
+
);
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
.pdf-app.light #findInput::placeholder {
|
|
274
|
+
color: $pdf-find-input-placeholder-font-color-light;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
.pdf-app.light .doorHanger:after,
|
|
278
|
+
.pdf-app.light .doorHangerRight:after {
|
|
279
|
+
border-bottom-color: $pdf-toolbar-color-light;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
.pdf-app.light #findResultsCount {
|
|
283
|
+
background-color: $pdf-find-results-count-color-light;
|
|
284
|
+
color: $pdf-find-results-count-font-color-light;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
.pdf-app.light #findMsg {
|
|
288
|
+
color: $pdf-find-message-font-color-light;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
.pdf-app.light #findInput.notFound {
|
|
292
|
+
background-color: $pdf-not-found-color-light;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
.pdf-app.light .splitToolbarButtonSeparator {
|
|
296
|
+
background-color: $pdf-split-toolbar-button-separator-color-light;
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
.pdf-app.light .toolbarButton,
|
|
300
|
+
.pdf-app.light .dropdownToolbarButton,
|
|
301
|
+
.pdf-app.light .secondaryToolbarButton,
|
|
302
|
+
.pdf-app.light .overlayButton {
|
|
303
|
+
color: $pdf-toolbar-font-color-light;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
.light .vue-pdf-app-icon {
|
|
307
|
+
color: $pdf-toolbar-font-color-light;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
.pdf-app.light .dialog .overlayButton {
|
|
311
|
+
background-color: $pdf-dialog-button-color-light;
|
|
312
|
+
color: $pdf-dialog-button-font-color-light;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
.pdf-app.light .toolbarButton:hover,
|
|
316
|
+
.pdf-app.light .toolbarButton:focus,
|
|
317
|
+
.pdf-app.light .dropdownToolbarButton:hover,
|
|
318
|
+
.pdf-app.light .overlayButton,
|
|
319
|
+
.pdf-app.light .secondaryToolbarButton:hover,
|
|
320
|
+
.light .vue-pdf-app-icon:hover,
|
|
321
|
+
.pdf-app.light .secondaryToolbarButton:focus {
|
|
322
|
+
color: $pdf-button-hover-font-color-light;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
.pdf-app.light .dropdownToolbarButton > select {
|
|
326
|
+
color: $pdf-toolbar-font-color-light;
|
|
327
|
+
background: $pdf-toolbar-color-light;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
.pdf-app.light .dropdownToolbarButton > select > option {
|
|
331
|
+
background: $pdf-toolbar-color-light;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
.pdf-app.light .verticalToolbarSeparator {
|
|
335
|
+
background-color: $pdf-split-toolbar-button-separator-color-light;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
.pdf-app.light .horizontalToolbarSeparator {
|
|
339
|
+
background-color: $pdf-horizontal-toolbar-separator-color-light;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
.pdf-app.light .toolbarLabel {
|
|
343
|
+
color: $pdf-toolbar-font-color-light;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
.pdf-app.light a:focus > .thumbnail > .thumbnailSelectionRing,
|
|
347
|
+
.pdf-app.light .thumbnail:hover > .thumbnailSelectionRing {
|
|
348
|
+
background-color: $pdf-thumbnail-selection-ring-color-light;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
.pdf-app.light .thumbnail.selected > .thumbnailSelectionRing {
|
|
352
|
+
background-color: $pdf-thumbnail-selection-ring-selected-color-light;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
.pdf-app.light .outlineItem > a,
|
|
356
|
+
.pdf-app.light .attachmentsItem > button {
|
|
357
|
+
color: $pdf-toolbar-font-color-light;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
.pdf-app.light .outlineItemToggler:hover,
|
|
361
|
+
.pdf-app.light .outlineItemToggler:hover + a,
|
|
362
|
+
.pdf-app.light .outlineItemToggler:hover ~ .outlineItems,
|
|
363
|
+
.pdf-app.light .outlineItem > a:hover,
|
|
364
|
+
.pdf-app.light .attachmentsItem > button:hover {
|
|
365
|
+
background-color: $pdf-button-toggled-color-light;
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
.pdf-app.light #errorWrapper {
|
|
369
|
+
background-color: $pdf-error-wrapper-color-light;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
.pdf-app.light #errorMoreInfo {
|
|
373
|
+
background-color: $pdf-error-more-info-color-light;
|
|
374
|
+
color: $pdf-error-more-info-font-color-light;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
.pdf-app.light #overlayContainer {
|
|
378
|
+
background-color: $pdf-overlay-container-color-light;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
.pdf-app.light #overlayContainer > .container > .dialog {
|
|
382
|
+
background-color: $pdf-overlay-container-dialog-color-light;
|
|
383
|
+
color: $pdf-overlay-container-dialog-font-color-light;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
.pdf-app.light .dialog .separator {
|
|
387
|
+
background-color: $pdf-overlay-container-dialog-separator-color-light;
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
.pdf-app.light .toolbarButton.toggled,
|
|
391
|
+
.pdf-app.light .splitToolbarButton.toggled > .toolbarButton.toggled,
|
|
392
|
+
.pdf-app.light .secondaryToolbarButton.toggled {
|
|
393
|
+
background-color: $pdf-button-toggled-color-light;
|
|
394
|
+
}
|
|
395
|
+
/****** end fallback for IE11 ******/
|
|
396
|
+
|
|
397
|
+
// [class] selector is to make specifity equal to .pdf-app.light
|
|
398
|
+
// otherwise color customization for light theme doesn't work
|
|
399
|
+
.pdf-app[class] {
|
|
400
|
+
background-color: var(--pdf-app-background-color);
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
.pdf-app[class] #sidebarContent {
|
|
404
|
+
background-color: var(--pdf-sidebar-content-color);
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
.pdf-app[class] #toolbarSidebar {
|
|
408
|
+
background-color: var(--pdf-toolbar-sidebar-color);
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
.pdf-app[class] #toolbarContainer,
|
|
412
|
+
.pdf-app[class] .findbar,
|
|
413
|
+
.pdf-app[class] .secondaryToolbar {
|
|
414
|
+
background-color: var(--pdf-toolbar-color);
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
.pdf-app[class] #loadingBar .progress {
|
|
418
|
+
background-color: var(--pdf-loading-bar-color);
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
.pdf-app[class] #loadingBar .progress.indeterminate .glimmer {
|
|
422
|
+
background: repeating-linear-gradient(
|
|
423
|
+
135deg,
|
|
424
|
+
transparent 0,
|
|
425
|
+
var(--pdf-loading-bar-secondary-color) 5px,
|
|
426
|
+
var(--pdf-loading-bar-secondary-color) 45px,
|
|
427
|
+
transparent 55px,
|
|
428
|
+
transparent 95px,
|
|
429
|
+
transparent 100px
|
|
430
|
+
);
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
.pdf-app[class] #findInput::placeholder {
|
|
434
|
+
color: var(--pdf-find-input-placeholder-font-color);
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
.pdf-app[class] .doorHanger:after,
|
|
438
|
+
.pdf-app[class] .doorHangerRight:after {
|
|
439
|
+
border-bottom-color: var(--pdf-toolbar-color);
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
.pdf-app[class] #findResultsCount {
|
|
443
|
+
background-color: var(--pdf-find-results-count-color);
|
|
444
|
+
color: var(--pdf-find-results-count-font-color);
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
.pdf-app[class] #findMsg {
|
|
448
|
+
color: var(--pdf-find-message-font-color);
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
.pdf-app[class] #findInput.notFound {
|
|
452
|
+
background-color: var(--pdf-not-found-color);
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
.pdf-app[class] .splitToolbarButtonSeparator {
|
|
456
|
+
background-color: var(--pdf-split-toolbar-button-separator-color);
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
.pdf-app[class] .toolbarButton,
|
|
460
|
+
.pdf-app[class] .dropdownToolbarButton,
|
|
461
|
+
.pdf-app[class] .secondaryToolbarButton,
|
|
462
|
+
.pdf-app[class] .overlayButton {
|
|
463
|
+
color: var(--pdf-toolbar-font-color);
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
.vue-pdf-app-icon[class] {
|
|
467
|
+
color: var(--pdf-toolbar-font-color);
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
.pdf-app[class] .dialog .overlayButton {
|
|
471
|
+
background-color: var(--pdf-dialog-button-color);
|
|
472
|
+
color: var(--pdf-dialog-button-font-color);
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
.pdf-app[class] .toolbarButton:hover,
|
|
476
|
+
.pdf-app[class] .toolbarButton:focus,
|
|
477
|
+
.pdf-app[class] .dropdownToolbarButton:hover,
|
|
478
|
+
.pdf-app[class] .overlayButton,
|
|
479
|
+
.pdf-app[class] .secondaryToolbarButton:hover,
|
|
480
|
+
.vue-pdf-app-icon:hover[class],
|
|
481
|
+
.pdf-app[class] .secondaryToolbarButton:focus {
|
|
482
|
+
color: var(--pdf-button-hover-font-color);
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
.pdf-app[class] .dropdownToolbarButton > select {
|
|
486
|
+
color: var(--pdf-toolbar-font-color);
|
|
487
|
+
background: var(--pdf-toolbar-color);
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
.pdf-app[class] .dropdownToolbarButton > select > option {
|
|
491
|
+
background: var(--pdf-toolbar-color);
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
.pdf-app[class] .verticalToolbarSeparator {
|
|
495
|
+
background-color: var(--pdf-split-toolbar-button-separator-color);
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
.pdf-app[class] .horizontalToolbarSeparator {
|
|
499
|
+
background-color: var(--pdf-horizontal-toolbar-separator-color);
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
.pdf-app[class] .toolbarLabel {
|
|
503
|
+
color: var(--pdf-toolbar-font-color);
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
.pdf-app[class] a:focus > .thumbnail > .thumbnailSelectionRing,
|
|
507
|
+
.pdf-app[class] .thumbnail:hover > .thumbnailSelectionRing {
|
|
508
|
+
background-color: var(--pdf-thumbnail-selection-ring-color);
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
.pdf-app[class] .thumbnail.selected > .thumbnailSelectionRing {
|
|
512
|
+
background-color: var(--pdf-thumbnail-selection-ring-selected-color);
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
.pdf-app[class] .outlineItem > a,
|
|
516
|
+
.pdf-app[class] .attachmentsItem > button {
|
|
517
|
+
color: var(--pdf-toolbar-font-color);
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
.pdf-app[class] .outlineItemToggler:hover,
|
|
521
|
+
.pdf-app[class] .outlineItemToggler:hover + a,
|
|
522
|
+
.pdf-app[class] .outlineItemToggler:hover ~ .outlineItems,
|
|
523
|
+
.pdf-app[class] .outlineItem > a:hover,
|
|
524
|
+
.pdf-app[class] .attachmentsItem > button:hover {
|
|
525
|
+
background-color: var(--pdf-button-toggled-color);
|
|
526
|
+
color: var(--pdf-button-text-color);
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
.pdf-app[class] #errorWrapper {
|
|
530
|
+
background-color: var(--pdf-error-wrapper-color);
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
.pdf-app[class] #errorMoreInfo {
|
|
534
|
+
background-color: var(--pdf-error-more-info-color);
|
|
535
|
+
color: var(--pdf-error-more-info-font-color);
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
.pdf-app[class] #overlayContainer {
|
|
539
|
+
background-color: var(--pdf-overlay-container-color);
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
.pdf-app[class] #overlayContainer > .container > .dialog {
|
|
543
|
+
background-color: var(--pdf-overlay-container-dialog-color);
|
|
544
|
+
color: var(--pdf-overlay-container-dialog-font-color);
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
.pdf-app[class] .dialog .separator {
|
|
548
|
+
background-color: var(--pdf-overlay-container-dialog-separator-color);
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
.pdf-app[class] .toolbarButton.toggled,
|
|
552
|
+
.pdf-app[class] .splitToolbarButton.toggled > .toolbarButton.toggled,
|
|
553
|
+
.pdf-app[class] .secondaryToolbarButton.toggled {
|
|
554
|
+
background-color: var(--pdf-button-toggled-color);
|
|
555
|
+
color: var(--pdf-button-text-color);
|
|
556
|
+
}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
/* Copyright 2014 Mozilla Foundation
|
|
2
|
+
*
|
|
3
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
* you may not use this file except in compliance with the License.
|
|
5
|
+
* You may obtain a copy of the License at
|
|
6
|
+
*
|
|
7
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
*
|
|
9
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
* See the License for the specific language governing permissions and
|
|
13
|
+
* limitations under the License.
|
|
14
|
+
*/
|
|
15
|
+
.pdf-app .pdfViewer .canvasWrapper {
|
|
16
|
+
overflow: hidden;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.pdf-app .pdfViewer .page {
|
|
20
|
+
direction: ltr;
|
|
21
|
+
width: 816px;
|
|
22
|
+
height: 1056px;
|
|
23
|
+
margin: 1px auto -8px auto;
|
|
24
|
+
position: relative;
|
|
25
|
+
overflow: visible;
|
|
26
|
+
border: 9px solid transparent;
|
|
27
|
+
background-clip: content-box;
|
|
28
|
+
border-image: url(/3rdparty/pdf-viewer/shadow.png) 9 9 repeat;
|
|
29
|
+
background-color: rgba(255, 255, 255, 1);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.pdf-app .pdfViewer.removePageBorders .page {
|
|
33
|
+
margin: 0px auto 10px auto;
|
|
34
|
+
border: none;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.pdf-app .pdfViewer.singlePageView {
|
|
38
|
+
display: inline-block;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.pdf-app .pdfViewer.singlePageView .page {
|
|
42
|
+
margin: 0;
|
|
43
|
+
border: none;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.pdf-app .pdfViewer.scrollHorizontal,
|
|
47
|
+
.pdf-app .pdfViewer.scrollWrapped,
|
|
48
|
+
.pdf-app .spread {
|
|
49
|
+
margin-left: 3.5px;
|
|
50
|
+
margin-right: 3.5px;
|
|
51
|
+
text-align: center;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.pdf-app .pdfViewer.scrollHorizontal,
|
|
55
|
+
.pdf-app .spread {
|
|
56
|
+
white-space: nowrap;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.pdf-app .pdfViewer.removePageBorders,
|
|
60
|
+
.pdf-app .pdfViewer.scrollHorizontal .spread,
|
|
61
|
+
.pdf-app .pdfViewer.scrollWrapped .spread {
|
|
62
|
+
margin-left: 0;
|
|
63
|
+
margin-right: 0;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.pdf-app .spread .page,
|
|
67
|
+
.pdf-app .pdfViewer.scrollHorizontal .page,
|
|
68
|
+
.pdf-app .pdfViewer.scrollWrapped .page,
|
|
69
|
+
.pdf-app .pdfViewer.scrollHorizontal .spread,
|
|
70
|
+
.pdf-app .pdfViewer.scrollWrapped .spread {
|
|
71
|
+
display: inline-block;
|
|
72
|
+
vertical-align: middle;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.pdf-app .spread .page,
|
|
76
|
+
.pdf-app .pdfViewer.scrollHorizontal .page,
|
|
77
|
+
.pdf-app .pdfViewer.scrollWrapped .page {
|
|
78
|
+
margin-left: -3.5px;
|
|
79
|
+
margin-right: -3.5px;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.pdf-app .pdfViewer.removePageBorders .spread .page,
|
|
83
|
+
.pdf-app .pdfViewer.removePageBorders.scrollHorizontal .page,
|
|
84
|
+
.pdf-app .pdfViewer.removePageBorders.scrollWrapped .page {
|
|
85
|
+
margin-left: 5px;
|
|
86
|
+
margin-right: 5px;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.pdf-app .pdfViewer .page canvas {
|
|
90
|
+
margin: 0;
|
|
91
|
+
display: block;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.pdf-app .pdfViewer .page canvas[hidden] {
|
|
95
|
+
display: none;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.pdf-app .pdfViewer .page .loadingIcon {
|
|
99
|
+
position: absolute;
|
|
100
|
+
display: block;
|
|
101
|
+
left: 0;
|
|
102
|
+
top: 0;
|
|
103
|
+
right: 0;
|
|
104
|
+
bottom: 0;
|
|
105
|
+
background: url(/3rdparty/pdf-viewer/loading-icon.svg) center no-repeat;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.pdf-app .pdfPresentationMode .pdfViewer {
|
|
109
|
+
margin-left: 0;
|
|
110
|
+
margin-right: 0;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.pdf-app .pdfPresentationMode .pdfViewer .page,
|
|
114
|
+
.pdf-app .pdfPresentationMode .pdfViewer .spread {
|
|
115
|
+
display: block;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.pdf-app .pdfPresentationMode .pdfViewer .page,
|
|
119
|
+
.pdf-app .pdfPresentationMode .pdfViewer.removePageBorders .page {
|
|
120
|
+
margin-left: auto;
|
|
121
|
+
margin-right: auto;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.pdf-app .pdfPresentationMode:-ms-fullscreen .pdfViewer .page {
|
|
125
|
+
margin-bottom: 100% !important;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.pdf-app .pdfPresentationMode:fullscreen .pdfViewer .page {
|
|
129
|
+
margin-bottom: 100%;
|
|
130
|
+
border: 0;
|
|
131
|
+
}
|