1 /* Copyright 2014 Mozilla Foundation
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
7 * http://www.apache.org/licenses/LICENSE-2.0
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.
17 --closing-button-icon:url
(images/messageBar_closingButton.svg);
18 --message-bar-close-button-color:var
(--text-primary-color
);
19 --message-bar-close-button-color-hover:var
(--text-primary-color
);
20 --message-bar-close-button-border-radius:4px;
21 --message-bar-close-button-border:none
;
22 --message-bar-close-button-hover-bg-color:rgb
(21 20 26 / 0.14);
23 --message-bar-close-button-active-bg-color:rgb
(21 20 26 / 0.21);
24 --message-bar-close-button-focus-bg-color:rgb
(21 20 26 / 0.07);
26 @media
(prefers-color-scheme: dark
){
27 --message-bar-close-button-hover-bg-color:rgb
(251 251 254 / 0.14);
28 --message-bar-close-button-active-bg-color:rgb
(251 251 254 / 0.21);
29 --message-bar-close-button-focus-bg-color:rgb
(251 251 254 / 0.07);
32 @media screen and
(forced-colors: active
){
33 --message-bar-close-button-color:ButtonText
;
34 --message-bar-close-button-border:1px solid ButtonText
;
35 --message-bar-close-button-hover-bg-color:ButtonText
;
36 --message-bar-close-button-active-bg-color:ButtonText
;
37 --message-bar-close-button-focus-bg-color:ButtonText
;
38 --message-bar-close-button-color-hover:HighlightText
;
43 padding:8px 8px 8px 16px;
44 flex-direction:column
;
45 justify-content:center
;
52 border:1px solid var
(--message-bar-border-color
);
53 background:var
(--message-bar-bg-color
);
54 color:var
(--message-bar-fg-color
);
58 align-items:flex-start
;
67 mask-image:var
(--message-bar-icon
);
69 background-color:var
(--message-bar-icon-color
);
78 outline:var
(--focus-ring-outline
);
87 border-radius:var
(--message-bar-close-button-border-radius
);
88 border:var
(--message-bar-close-button-border
);
92 justify-content:center
;
99 mask-image:var
(--closing-button-icon
);
101 background-color:var
(--message-bar-close-button-color
);
104 &:is
(:hover
, :active
, :focus
)::before
{
105 background-color:var
(--message-bar-close-button-color-hover
);
109 background-color:var
(--message-bar-close-button-hover-bg-color
);
113 background-color:var
(--message-bar-close-button-active-bg-color
);
117 background-color:var
(--message-bar-close-button-focus-bg-color
);
121 display:inline-block
;
130 --text-primary-color:#15141a;
132 --message-bar-icon:url
(images
/secondaryToolbarButton-documentProperties
.svg
);
133 --message-bar-icon-color:#0060df;
134 --message-bar-bg-color:#deeafc;
135 --message-bar-fg-color:var
(--text-primary-color
);
136 --message-bar-border-color:rgb
(0 0 0 / 0.08);
138 --undo-button-bg-color:rgb
(21 20 26 / 0.07);
139 --undo-button-bg-color-hover:rgb
(21 20 26 / 0.14);
140 --undo-button-bg-color-active:rgb
(21 20 26 / 0.21);
142 --undo-button-fg-color:var
(--message-bar-fg-color
);
143 --undo-button-fg-color-hover:var
(--undo-button-fg-color
);
144 --undo-button-fg-color-active:var
(--undo-button-fg-color
);
146 --focus-ring-color:#0060df;
147 --focus-ring-outline:2px solid var
(--focus-ring-color
);
149 @media
(prefers-color-scheme: dark
){
150 --text-primary-color:#fbfbfe;
152 --message-bar-icon-color:#73a7f3;
153 --message-bar-bg-color:#003070;
154 --message-bar-border-color:rgb
(255 255 255 / 0.08);
156 --undo-button-bg-color:rgb
(255 255 255 / 0.08);
157 --undo-button-bg-color-hover:rgb
(255 255 255 / 0.14);
158 --undo-button-bg-color-active:rgb
(255 255 255 / 0.21);
161 @media screen and
(forced-colors: active
){
162 --text-primary-color:CanvasText
;
164 --message-bar-icon-color:CanvasText
;
165 --message-bar-bg-color:Canvas
;
166 --message-bar-border-color:CanvasText
;
168 --undo-button-bg-color:ButtonText
;
169 --undo-button-bg-color-hover:SelectedItem
;
170 --undo-button-bg-color-active:SelectedItem
;
172 --undo-button-fg-color:ButtonFace
;
173 --undo-button-fg-color-hover:SelectedItemText
;
174 --undo-button-fg-color-active:SelectedItemText
;
176 --focus-ring-color:CanvasText
;
182 transform:translateX
(-50%);
186 padding-inline:16px 8px;
197 #editorUndoBarUndoButton{
201 color:var
(--undo-button-fg-color
);
204 margin-inline-start:8px;
207 background-color:var
(--undo-button-bg-color
);
210 background-color:var
(--undo-button-bg-color-hover
);
211 color:var
(--undo-button-fg-color-hover
);
215 background-color:var
(--undo-button-bg-color-active
);
216 color:var
(--undo-button-fg-color-active
);
226 --dialog-bg-color:white
;
227 --dialog-border-color:white
;
228 --dialog-shadow:0 2px 14px 0 rgb
(58 57 68 / 0.2);
229 --text-primary-color:#15141a;
230 --text-secondary-color:#5b5b66;
231 --hover-filter:brightness
(0.9);
232 --focus-ring-color:#0060df;
233 --focus-ring-outline:2px solid var
(--focus-ring-color
);
234 --link-fg-color:#0060df;
235 --link-hover-fg-color:#0250bb;
236 --separator-color:#f0f0f4;
238 --textarea-border-color:#8f8f9d;
239 --textarea-bg-color:white
;
240 --textarea-fg-color:var
(--text-secondary-color
);
242 --radio-bg-color:#f0f0f4;
243 --radio-checked-bg-color:#fbfbfe;
244 --radio-border-color:#8f8f9d;
245 --radio-checked-border-color:#0060df;
247 --button-secondary-bg-color:#f0f0f4;
248 --button-secondary-fg-color:var
(--text-primary-color
);
249 --button-secondary-border-color:var
(--button-secondary-bg-color
);
250 --button-secondary-hover-bg-color:var
(--button-secondary-bg-color
);
251 --button-secondary-hover-fg-color:var
(--button-secondary-fg-color
);
252 --button-secondary-hover-border-color:var
(--button-secondary-hover-bg-color
);
254 --button-primary-bg-color:#0060df;
255 --button-primary-fg-color:#fbfbfe;
256 --button-primary-border-color:var
(--button-primary-bg-color
);
257 --button-primary-hover-bg-color:var
(--button-primary-bg-color
);
258 --button-primary-hover-fg-color:var
(--button-primary-fg-color
);
259 --button-primary-hover-border-color:var
(--button-primary-hover-bg-color
);
261 @media
(prefers-color-scheme: dark
){
262 --dialog-bg-color:#1c1b22;
263 --dialog-border-color:#1c1b22;
264 --dialog-shadow:0 2px 14px 0 #15141a;
265 --text-primary-color:#fbfbfe;
266 --text-secondary-color:#cfcfd8;
267 --focus-ring-color:#0df;
268 --hover-filter:brightness
(1.4);
269 --link-fg-color:#0df;
270 --link-hover-fg-color:#80ebff;
271 --separator-color:#52525e;
273 --textarea-bg-color:#42414d;
275 --radio-bg-color:#2b2a33;
276 --radio-checked-bg-color:#15141a;
277 --radio-checked-border-color:#0df;
279 --button-secondary-bg-color:#2b2a33;
280 --button-primary-bg-color:#0df;
281 --button-primary-fg-color:#15141a;
284 @media screen and
(forced-colors: active
){
285 --dialog-bg-color:Canvas
;
286 --dialog-border-color:CanvasText
;
287 --dialog-shadow:none
;
288 --text-primary-color:CanvasText
;
289 --text-secondary-color:CanvasText
;
291 --focus-ring-color:ButtonBorder
;
292 --link-fg-color:LinkText
;
293 --link-hover-fg-color:LinkText
;
294 --separator-color:CanvasText
;
296 --textarea-border-color:ButtonBorder
;
297 --textarea-bg-color:Field
;
298 --textarea-fg-color:ButtonText
;
300 --radio-bg-color:ButtonFace
;
301 --radio-checked-bg-color:ButtonFace
;
302 --radio-border-color:ButtonText
;
303 --radio-checked-border-color:ButtonText
;
305 --button-secondary-bg-color:ButtonFace
;
306 --button-secondary-fg-color:ButtonText
;
307 --button-secondary-border-color:ButtonText
;
308 --button-secondary-hover-bg-color:AccentColor
;
309 --button-secondary-hover-fg-color:AccentColorText
;
311 --button-primary-bg-color:ButtonText
;
312 --button-primary-fg-color:ButtonFace
;
313 --button-primary-hover-bg-color:AccentColor
;
314 --button-primary-hover-fg-color:AccentColorText
;
323 border:1px solid var
(--dialog-border-color
);
324 background:var
(--dialog-bg-color
);
325 color:var
(--text-primary-color
);
326 box-shadow:var
(--dialog-shadow
);
330 outline:var
(--focus-ring-outline
);
337 flex-direction:column
;
338 justify-content:flex-end
;
339 align-items:flex-start
;
354 border-top:1px solid var
(--separator-color
);
366 flex-direction:column
;
367 align-items:flex-start
;
378 box-sizing:border-box
;
382 background-color:var
(--radio-bg-color
);
383 border:1px solid var
(--radio-border-color
);
386 filter:var
(--hover-filter
);
390 background-color:var
(--radio-checked-bg-color
);
391 border:4px solid var
(--radio-checked-border-color
);
398 padding-inline-start:24px;
399 align-items:flex-start
;
406 color:var
(--text-secondary-color
);
411 button:not
(:is
(.toggle-button
, .closeButton
)){
422 filter:var
(--hover-filter
);
426 color:var
(--button-secondary-fg-color
);
427 background-color:var
(--button-secondary-bg-color
);
428 border-color:var
(--button-secondary-border-color
);
431 color:var
(--button-secondary-hover-fg-color
);
432 background-color:var
(--button-secondary-hover-bg-color
);
433 border-color:var
(--button-secondary-hover-border-color
);
438 color:var
(--button-primary-fg-color
);
439 background-color:var
(--button-primary-bg-color
);
440 border-color:var
(--button-primary-border-color
);
444 color:var
(--button-primary-hover-fg-color
);
445 background-color:var
(--button-primary-hover-bg-color
);
446 border-color:var
(--button-primary-hover-border-color
);
452 color:var
(--link-fg-color
);
455 color:var
(--link-hover-fg-color
);
464 box-sizing:border-box
;
466 border:1px solid var
(--textarea-border-color
);
467 background:var
(--textarea-bg-color
);
468 color:var
(--textarea-fg-color
);
472 border-color:transparent
;
482 --message-bar-bg-color:#ffebcd;
483 --message-bar-fg-color:#15141a;
484 --message-bar-border-color:rgb
(0 0 0 / 0.08);
485 --message-bar-icon:url
(images/messageBar_warning.svg);
486 --message-bar-icon-color:#cd411e;
488 @media
(prefers-color-scheme: dark
){
489 --message-bar-bg-color:#5a3100;
490 --message-bar-fg-color:#fbfbfe;
491 --message-bar-border-color:rgb
(255 255 255 / 0.08);
492 --message-bar-icon-color:#e49c49;
495 @media screen and
(forced-colors: active
){
496 --message-bar-bg-color:HighlightText
;
497 --message-bar-fg-color:CanvasText
;
498 --message-bar-border-color:CanvasText
;
499 --message-bar-icon-color:CanvasText
;
512 flex-direction:column
;
513 align-items:flex-start
;
549 text-size-adjust:none
;
550 forced-color-adjust:none
;
551 transform-origin:0 0;
552 caret-color:CanvasText
;
564 transform-origin:0% 0%;
567 > :not
(.markedContent
),
568 .markedContent span:not(.markedContent){
578 --highlight-bg-color:rgb
(180 0 170 / 0.25);
579 --highlight-selected-bg-color:rgb
(0 100 0 / 0.25);
580 --highlight-backdrop-filter:none
;
581 --highlight-selected-backdrop-filter:none
;
583 @media screen and
(forced-colors: active
){
584 --highlight-bg-color:transparent
;
585 --highlight-selected-bg-color:transparent
;
586 --highlight-backdrop-filter:var
(--hcm-highlight-filter
);
587 --highlight-selected-backdrop-filter:var
(
588 --hcm-highlight-selected-filter
594 background-color:var
(--highlight-bg-color
);
595 backdrop-filter:var
(--highlight-backdrop-filter
);
603 border-radius:4px 0 0 4px;
607 border-radius:0 4px 4px 0;
615 background-color:var
(--highlight-selected-bg-color
);
616 backdrop-filter:var
(--highlight-selected-backdrop-filter
);
621 background:color-mix
(in srgb
, AccentColor
, transparent
75%);
633 &.selecting
.endOfContent
{
639 --annotation-unfocused-field-background:url
("data:image/svg+xml;charset=UTF-8,<svg width='1px' height='1px' xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' style='fill:rgba(0, 54, 255, 0.13);'/></svg>");
640 --input-focus-border-color:Highlight
;
641 --input-focus-outline:1px solid Canvas
;
642 --input-unfocused-border-color:transparent
;
643 --input-disabled-border-color:transparent
;
644 --input-hover-border-color:black
;
647 @media screen and
(forced-colors: active
){
648 --input-focus-border-color:CanvasText
;
649 --input-unfocused-border-color:ActiveText
;
650 --input-disabled-border-color:GrayText
;
651 --input-hover-border-color:Highlight
;
652 --link-outline:1.5px solid LinkText
;
654 .textWidgetAnnotation :is
(input
, textarea
):required
,
655 .choiceWidgetAnnotation
select:required
,
656 .buttonWidgetAnnotation:is(.checkBox, .radioButton) input:required{
657 outline:1.5px solid selectedItem
;
661 outline:var
(--link-outline
);
664 backdrop-filter:var
(--hcm-highlight-filter
);
668 opacity:0 !important
;
669 background:none
!important
;
674 .popupAnnotation .popup{
675 outline:calc
(1.5px * var
(--scale-factor
)) solid CanvasText
!important
;
676 background-color:ButtonFace
!important
;
677 color:ButtonText
!important
;
680 .highlightArea:hover::after{
686 backdrop-filter:var
(--hcm-highlight-filter
);
691 .popupAnnotation.focused .popup{
692 outline:calc
(3px * var
(--scale-factor
)) solid Highlight
!important
;
700 transform-origin:0 0;
702 &[data-main-rotation
="90"] .norotate
{
703 transform:rotate
(270deg) translateX
(-100%);
705 &[data-main-rotation
="180"] .norotate
{
706 transform:rotate
(180deg) translate
(-100%, -100%);
708 &[data-main-rotation
="270"] .norotate
{
709 transform:rotate
(90deg) translateY
(-100%);
726 background:transparent
;
731 font:10px sans-serif
;
740 box-sizing:border-box
;
741 transform-origin:0 0;
744 &:has
(div
.annotationContent
){
745 canvas
.annotationContent
{
751 .textLayer.selecting ~ & section{
755 :is
(.linkAnnotation
, .buttonWidgetAnnotation
.pushButton
) > a
{
764 :is
(.linkAnnotation
, .buttonWidgetAnnotation
.pushButton
):not
(.hasBorder
)
767 background-color:rgb
(255 255 0);
768 box-shadow:0 2px 10px rgb
(255 255 0);
771 .linkAnnotation.hasBorder:hover{
772 background-color:rgb
(255 255 0 / 0.2);
776 background-size:100% 100%;
788 .textWidgetAnnotation :is
(input
, textarea
),
789 .choiceWidgetAnnotation select
,
790 .buttonWidgetAnnotation:is(.checkBox, .radioButton) input{
791 background-image:var
(--annotation-unfocused-field-background
);
792 border:2px solid var
(--input-unfocused-border-color
);
793 box-sizing:border-box
;
794 font:calc
(9px * var
(--scale-factor
)) sans-serif
;
801 .textWidgetAnnotation :is
(input
, textarea
):required
,
802 .choiceWidgetAnnotation
select:required
,
803 .buttonWidgetAnnotation:is(.checkBox, .radioButton) input:required{
804 outline:1.5px solid red
;
807 .choiceWidgetAnnotation select option{
811 .buttonWidgetAnnotation.radioButton input{
815 .textWidgetAnnotation textarea{
819 .textWidgetAnnotation :is
(input
, textarea
)[disabled
],
820 .choiceWidgetAnnotation select
[disabled
],
821 .buttonWidgetAnnotation:is(.checkBox, .radioButton) input[disabled]{
823 border:2px solid var
(--input-disabled-border-color
);
827 .textWidgetAnnotation :is
(input
, textarea
):hover
,
828 .choiceWidgetAnnotation
select:hover
,
829 .buttonWidgetAnnotation:is(.checkBox, .radioButton) input:hover{
830 border:2px solid var
(--input-hover-border-color
);
832 .textWidgetAnnotation :is
(input
, textarea
):hover
,
833 .choiceWidgetAnnotation
select:hover
,
834 .buttonWidgetAnnotation.checkBox input:hover{
838 .textWidgetAnnotation :is
(input
, textarea
):focus
,
839 .choiceWidgetAnnotation select:focus{
841 border:2px solid var
(--input-focus-border-color
);
843 outline:var
(--input-focus-outline
);
846 .buttonWidgetAnnotation:is(.checkBox, .radioButton) :focus{
847 background-image:none
;
848 background-color:transparent
;
851 .buttonWidgetAnnotation.checkBox :focus{
852 border:2px solid var
(--input-focus-border-color
);
854 outline:var
(--input-focus-outline
);
857 .buttonWidgetAnnotation.radioButton :focus{
858 border:2px solid var
(--input-focus-border-color
);
859 outline:var
(--input-focus-outline
);
862 .buttonWidgetAnnotation
.checkBox
input:checked::before
,
863 .buttonWidgetAnnotation
.checkBox
input:checked::after
,
864 .buttonWidgetAnnotation.radioButton input:checked::before{
865 background-color:CanvasText
;
871 .buttonWidgetAnnotation
.checkBox
input:checked::before
,
872 .buttonWidgetAnnotation.checkBox input:checked::after{
878 .buttonWidgetAnnotation.checkBox input:checked::before{
879 transform:rotate
(45deg);
882 .buttonWidgetAnnotation.checkBox input:checked::after{
883 transform:rotate
(-45deg);
886 .buttonWidgetAnnotation.radioButton input:checked::before{
894 .textWidgetAnnotation input.comb{
895 font-family:monospace
;
900 .textWidgetAnnotation input.comb:focus{
904 .buttonWidgetAnnotation:is(.checkBox, .radioButton) input{
908 .fileAttachmentAnnotation .popupTriggerArea{
915 font-size:calc
(9px * var
(--scale-factor
));
923 background-color:rgb
(255 255 153);
924 box-shadow:0 calc
(2px * var
(--scale-factor
)) calc
(5px * var
(--scale-factor
)) rgb
(136 136 136);
925 border-radius:calc
(2px * var
(--scale-factor
));
926 outline:1.5px solid rgb
(255 255 74);
927 padding:calc
(6px * var
(--scale-factor
));
931 word-wrap:break-word
;
936 .popupAnnotation.focused .popup{
941 font-size:calc
(9px * var
(--scale-factor
));
945 display:inline-block
;
952 .popup > .header .popupDate{
953 display:inline-block
;
954 margin-left:calc
(5px * var
(--scale-factor
));
959 border-top:1px solid rgb
(51 51 51);
960 margin-top:calc
(2px * var
(--scale-factor
));
961 padding-top:calc
(2px * var
(--scale-factor
));
965 white-space:pre-wrap
;
966 font-size:calc
(9px * var
(--scale-factor
));
981 .annotationTextContent{
992 display:inline-block
;
996 svg
.quadrilateralsContainer
{
1008 --xfa-unfocused-field-background:url
("data:image/svg+xml;charset=UTF-8,<svg width='1px' height='1px' xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' style='fill:rgba(0, 54, 255, 0.13);'/></svg>");
1009 --xfa-focus-outline:auto
;
1012 @media screen and
(forced-colors: active
){
1014 --xfa-focus-outline:2px solid CanvasText
;
1016 .xfaLayer *:required{
1017 outline:1.5px solid selectedItem
;
1022 background-color:transparent
;
1025 .xfaLayer .highlight{
1028 background-color:rgb
(239 203 237);
1032 .xfaLayer .highlight.appended{
1036 .xfaLayer .highlight.begin{
1037 border-radius:4px 0 0 4px;
1040 .xfaLayer .highlight.end{
1041 border-radius:0 4px 4px 0;
1044 .xfaLayer .highlight.middle{
1048 .xfaLayer .highlight.selected{
1049 background-color:rgb
(203 223 203);
1070 transform-origin:0 0;
1078 font-weight:inherit
;
1079 font-kerning:inherit
;
1080 letter-spacing:-0.01px;
1082 text-decoration:inherit
;
1083 box-sizing:border-box
;
1084 background-color:transparent
;
1087 pointer-events:auto
;
1088 line-height:inherit
;
1091 .xfaLayer *:required{
1092 outline:1.5px solid red
;
1098 pointer-events:none
;
1116 text-decoration:none
;
1125 .xfaCaptionForCheckButton{
1143 flex-direction:row-reverse
;
1147 :is
(.xfaLeft
, .xfaRight
) > :is
(.xfaCaption
, .xfaCaptionForCheckButton
){
1153 flex-direction:column
;
1154 align-items:flex-start
;
1159 flex-direction:column-reverse
;
1160 align-items:flex-start
;
1163 :is
(.xfaTop
, .xfaBottom
) > :is
(.xfaCaption
, .xfaCaptionForCheckButton
){
1168 background-color:transparent
;
1170 pointer-events:none
;
1178 :is
(.xfaTextfield
, .xfaSelect
):focus
{
1179 background-image:none
;
1180 background-color:transparent
;
1181 outline:var
(--xfa-focus-outline
);
1182 outline-offset:-1px;
1185 :is
(.xfaCheckbox
, .xfaRadio
):focus
{
1186 outline:var
(--xfa-focus-outline
);
1196 background-image:var
(--xfa-unfocused-field-background
);
1203 :is
(.xfaTop
, .xfaBottom
) > :is
(.xfaTextfield
, .xfaSelect
){
1232 white-space:pre-wrap
;
1238 object-position:left top
;
1248 flex-direction:column
;
1249 align-items:stretch
;
1255 align-items:stretch
;
1260 flex-direction:row-reverse
;
1261 align-items:stretch
;
1265 justify-content:left
;
1283 flex-direction:column
;
1284 align-items:stretch
;
1290 align-items:stretch
;
1293 .xfaTable .xfaRlRow{
1295 flex-direction:row-reverse
;
1296 align-items:stretch
;
1300 .xfaTable .xfaRlRow > div{
1304 :is
(.xfaNonInteractive
, .xfaDisabled
, .xfaReadOnly
) :is
(input
, textarea
){
1311 background:transparent
;
1322 --viewer-container-height:0;
1323 --pdfViewer-padding-bottom:0;
1324 --page-margin:1px auto
-8px;
1325 --page-border:9px solid transparent
;
1326 --spreadHorizontalWrapped-margin-LR:-3.5px;
1327 --loading-icon-delay:400ms;
1330 @media screen and
(forced-colors: active
){
1332 --pdfViewer-padding-bottom:9px;
1333 --page-margin:8px auto
-1px;
1334 --page-border:1px solid CanvasText
;
1335 --spreadHorizontalWrapped-margin-LR:3.5px;
1339 [data-main-rotation
="90"]{
1340 transform:rotate
(90deg) translateY
(-100%);
1342 [data-main-rotation
="180"]{
1343 transform:rotate
(180deg) translate
(-100%, -100%);
1345 [data-main-rotation
="270"]{
1346 transform:rotate
(270deg) translateX
(-100%);
1350 .hiddenCanvasElement{
1361 --page-bg-color:unset
;
1363 padding-bottom:var
(--pdfViewer-padding-bottom
);
1365 --hcm-highlight-filter:none
;
1366 --hcm-highlight-selected-filter:none
;
1368 @media screen and
(forced-colors: active
){
1369 --hcm-highlight-filter:invert
(100%);
1399 --scale-round-x:1px;
1400 --scale-round-y:1px;
1405 margin:var
(--page-margin
);
1408 border:var
(--page-border
);
1409 background-clip:content-box
;
1410 background-color:var
(--page-bg-color
, rgb
(255 255 255));
1413 .pdfViewer .dummyPage{
1416 height:var
(--viewer-container-height
);
1419 .pdfViewer.noUserSelect{
1423 .pdfViewer:is
(.scrollHorizontal
, .scrollWrapped
),
1425 margin-inline:3.5px;
1429 .pdfViewer
.scrollHorizontal
,
1434 .pdfViewer:is(.scrollHorizontal, .scrollWrapped) .spread{
1438 .spread :is
(.page
, .dummyPage
),
1439 .pdfViewer:is(.scrollHorizontal, .scrollWrapped) :is(.page, .spread){
1440 display:inline-block
;
1441 vertical-align:middle
;
1445 .pdfViewer:is(.scrollHorizontal, .scrollWrapped) .page{
1446 margin-inline:var
(--spreadHorizontalWrapped-margin-LR
);
1449 .pdfViewer .page.loadingIcon::after{
1456 background:url
("images/loading-icon.gif") center no-repeat
;
1458 transition-property:display
;
1459 transition-delay:var
(--loading-icon-delay
);
1464 .pdfViewer .page.loading::after{
1468 .pdfViewer .page:not(.loading)::after{
1469 transition-property:none
;
1473 .pdfPresentationMode .pdfViewer{
1477 .pdfPresentationMode .spread{
1481 .pdfPresentationMode .pdfViewer .page{
1483 border:2px solid transparent
;
1488 --scale-select-width:140px;
1490 --toolbar-icon-opacity:1;
1491 --doorhanger-icon-opacity:0.9;
1493 --main-color:rgb
(12 12 13);
1494 --body-bg-color:rgb
(212 212 215);
1495 --scrollbar-color:auto
;
1496 --scrollbar-bg-color:auto
;
1497 --field-color:rgb
(6 6 6);
1498 --field-bg-color:rgb
(255 255 255);
1499 --field-border-color:rgb
(187 187 188);
1500 --doorhanger-bg-color:rgb
(255 255 255);
1501 --dialog-button-border:none
;
1502 --dialog-button-bg-color:rgb
(12 12 13 / 0.1);
1503 --dialog-button-hover-bg-color:rgb
(12 12 13 / 0.3);
1505 --toolbar-bg-color:#f9f9fb;
1506 --toolbar-divider-color:#e0e0e6;
1507 --toolbar-fg-color:#15141a;
1508 --toolbar-height:48px;
1509 --toolbar-border-width:1px;
1511 --toolbarButton-download-icon:url
(images
/gv-toolbarButton-download
.svg
);
1518 @media (prefers-color-scheme: dark
){
1520 --main-color:rgb
(249 249 250);
1521 --body-bg-color:rgb
(42 42 46);
1522 --scrollbar-color:rgb
(121 121 123);
1523 --scrollbar-bg-color:rgb
(35 35 39);
1524 --field-color:rgb
(250 250 250);
1525 --field-bg-color:rgb
(64 64 68);
1526 --field-border-color:rgb
(115 115 115);
1527 --doorhanger-bg-color:rgb
(74 74 79);
1528 --dialog-button-bg-color:rgb
(92 92 97);
1529 --dialog-button-hover-bg-color:rgb
(115 115 115);
1531 --toolbar-bg-color:#2b2a33;
1532 --toolbar-divider-color:#5b5b66;
1533 --toolbar-fg-color:#fbfbfe;
1537 @media screen and
(forced-colors: active
){
1539 --dialog-button-border:1px solid Highlight
;
1540 --dialog-button-hover-bg-color:Highlight
;
1541 --dialog-button-hover-color:ButtonFace
;
1542 --field-border-color:ButtonText
;
1543 --main-color:CanvasText
;
1559 background-color:var
(--body-bg-color
);
1560 scrollbar-color:var
(--scrollbar-color
) var
(--scrollbar-bg-color
);
1565 display:none
!important
;
1583 inset:var
(--toolbar-height
) 0 0;
1587 #viewerContainer.noToolbar
{
1588 inset-block-start:0;
1599 .dialogButton:is(:hover, :focus-visible){
1600 background-color:var
(--dialog-button-hover-bg-color
);
1603 .dialogButton:is(:hover, :focus-visible) > span{
1604 color:var
(--dialog-button-hover-color
);
1607 .dialogButton[disabled]{
1617 color:var
(--main-color
);
1622 box-sizing:border-box
;
1629 background-color:var
(--field-bg-color
);
1630 background-clip:padding-box
;
1631 border:1px solid var
(--field-border-color
);
1633 color:var
(--field-color
);
1639 .toolbarField:focus{
1640 border-color:#0a84ff;
1648 height:calc
(var
(--toolbar-height
) + var
(--toolbar-border-width
));
1652 box-sizing:border-box
;
1653 border-block-end:solid var
(--toolbar-border-width
) var
(--toolbar-divider-color
);
1654 background-color:var
(--toolbar-bg-color
);
1671 box-sizing:border-box
;
1672 background-color:transparent
;
1682 background-color:var
(--toolbar-fg-color
);
1684 margin-inline:12px 8px;
1688 color:var
(--toolbar-fg-color
);
1695 mask-image:var
(--toolbarButton-download-icon
);
1700 :is
(.toolbarButton
.dialogButton
)[disabled
]{
1706 margin:3px 4px 2px !important
;
1708 color:var
(--main-color
);
1709 background-color:var
(--dialog-button-bg-color
);
1710 border:var
(--dialog-button-border
) !important
;
1717 color:var
(--main-color
);
1721 background-color:var
(--doorhanger-bg-color
);
1722 border:1px solid rgb
(0 0 0 / 0.5);
1724 box-shadow:0 1px 4px rgb
(0 0 0 / 0.3);
1727 background-color:rgb
(0 0 0 / 0.2);
1738 dialog
.toolbarField
{
1747 border-top:1px solid var
(--separator-color
);
1753 vertical-align:middle
;
1757 color:rgb
(255 255 255);
1763 #passwordDialog .toolbarField
{
1777 background:rgb
(0 0 0 / 0) none
;
1779 body
[data-pdfjsprinting
] #outerContainer
{
1782 body
[data-pdfjsprinting
] #printContainer
{
1788 #printContainer > .printedPage
{
1789 page-break-after:always
;
1790 page-break-inside:avoid
;
1795 flex-direction:column
;
1796 justify-content:center
;
1800 #printContainer > .xfaPrintedPage
.xfaPage
{
1804 #printContainer > .xfaPrintedPage
{
1805 page-break-after:always
;
1806 page-break-inside:avoid
;
1812 #printContainer > .printedPage :is
(canvas
, img
){