images
2 years ago
locale
2 years ago
ep-scripts.js
1 year ago
ep-styles.css
1 year ago
viewer.css
2 years ago
viewer.html
1 year ago
viewer.js
1 year ago
viewer.css
4347 lines
| 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 | |
| 16 | .dialog{ |
| 17 | --dialog-bg-color:white; |
| 18 | --dialog-border-color:white; |
| 19 | --dialog-shadow:0 2px 14px 0 rgb(58 57 68 / 0.2); |
| 20 | --text-primary-color:#15141a; |
| 21 | --text-secondary-color:#5b5b66; |
| 22 | --hover-filter:brightness(0.9); |
| 23 | --focus-ring-color:#0060df; |
| 24 | --focus-ring-outline:2px solid var(--focus-ring-color); |
| 25 | |
| 26 | --textarea-border-color:#8f8f9d; |
| 27 | --textarea-bg-color:white; |
| 28 | --textarea-fg-color:var(--text-secondary-color); |
| 29 | |
| 30 | --radio-bg-color:#f0f0f4; |
| 31 | --radio-checked-bg-color:#fbfbfe; |
| 32 | --radio-border-color:#8f8f9d; |
| 33 | --radio-checked-border-color:#0060df; |
| 34 | |
| 35 | --button-secondary-bg-color:#f0f0f4; |
| 36 | --button-secondary-fg-color:var(--text-primary-color); |
| 37 | --button-secondary-border-color:var(--button-secondary-bg-color); |
| 38 | --button-secondary-hover-bg-color:var(--button-secondary-bg-color); |
| 39 | --button-secondary-hover-fg-color:var(--button-secondary-fg-color); |
| 40 | --button-secondary-hover-border-color:var(--button-secondary-hover-bg-color); |
| 41 | |
| 42 | --button-primary-bg-color:#0060df; |
| 43 | --button-primary-fg-color:#fbfbfe; |
| 44 | --button-primary-hover-bg-color:var(--button-primary-bg-color); |
| 45 | --button-primary-hover-fg-color:var(--button-primary-fg-color); |
| 46 | --button-primary-hover-border-color:var(--button-primary-hover-bg-color); |
| 47 | |
| 48 | font:message-box; |
| 49 | font-size:13px; |
| 50 | font-weight:400; |
| 51 | line-height:150%; |
| 52 | border-radius:4px; |
| 53 | padding:12px 16px; |
| 54 | border:1px solid var(--dialog-border-color); |
| 55 | background:var(--dialog-bg-color); |
| 56 | color:var(--text-primary-color); |
| 57 | box-shadow:var(--dialog-shadow); |
| 58 | } |
| 59 | |
| 60 | @media (prefers-color-scheme: dark){ |
| 61 | |
| 62 | :where(html:not(.is-light)) .dialog{ |
| 63 | --dialog-bg-color:#1c1b22; |
| 64 | --dialog-border-color:#1c1b22; |
| 65 | --dialog-shadow:0 2px 14px 0 #15141a; |
| 66 | --text-primary-color:#fbfbfe; |
| 67 | --text-secondary-color:#cfcfd8; |
| 68 | --focus-ring-color:#0df; |
| 69 | --hover-filter:brightness(1.4); |
| 70 | |
| 71 | --textarea-bg-color:#42414d; |
| 72 | |
| 73 | --radio-bg-color:#2b2a33; |
| 74 | --radio-checked-bg-color:#15141a; |
| 75 | --radio-checked-border-color:#0df; |
| 76 | |
| 77 | --button-secondary-bg-color:#2b2a33; |
| 78 | --button-primary-bg-color:#0df; |
| 79 | --button-primary-fg-color:#15141a; |
| 80 | } |
| 81 | } |
| 82 | |
| 83 | :where(html.is-dark) .dialog{ |
| 84 | --dialog-bg-color:#1c1b22; |
| 85 | --dialog-border-color:#1c1b22; |
| 86 | --dialog-shadow:0 2px 14px 0 #15141a; |
| 87 | --text-primary-color:#fbfbfe; |
| 88 | --text-secondary-color:#cfcfd8; |
| 89 | --focus-ring-color:#0df; |
| 90 | --hover-filter:brightness(1.4); |
| 91 | |
| 92 | --textarea-bg-color:#42414d; |
| 93 | |
| 94 | --radio-bg-color:#2b2a33; |
| 95 | --radio-checked-bg-color:#15141a; |
| 96 | --radio-checked-border-color:#0df; |
| 97 | |
| 98 | --button-secondary-bg-color:#2b2a33; |
| 99 | --button-primary-bg-color:#0df; |
| 100 | --button-primary-fg-color:#15141a; |
| 101 | } |
| 102 | |
| 103 | @media screen and (forced-colors: active){ |
| 104 | |
| 105 | .dialog{ |
| 106 | --dialog-bg-color:Canvas; |
| 107 | --dialog-border-color:CanvasText; |
| 108 | --dialog-shadow:none; |
| 109 | --text-primary-color:CanvasText; |
| 110 | --text-secondary-color:CanvasText; |
| 111 | --hover-filter:none; |
| 112 | --focus-ring-color:ButtonBorder; |
| 113 | |
| 114 | --textarea-border-color:ButtonBorder; |
| 115 | --textarea-bg-color:Field; |
| 116 | --textarea-fg-color:ButtonText; |
| 117 | |
| 118 | --radio-bg-color:ButtonFace; |
| 119 | --radio-checked-bg-color:ButtonFace; |
| 120 | --radio-border-color:ButtonText; |
| 121 | --radio-checked-border-color:ButtonText; |
| 122 | |
| 123 | --button-secondary-bg-color:ButtonFace; |
| 124 | --button-secondary-fg-color:ButtonText; |
| 125 | --button-secondary-border-color:ButtonText; |
| 126 | --button-secondary-hover-bg-color:AccentColor; |
| 127 | --button-secondary-hover-fg-color:AccentColorText; |
| 128 | |
| 129 | --button-primary-bg-color:ButtonText; |
| 130 | --button-primary-fg-color:ButtonFace; |
| 131 | --button-primary-hover-bg-color:AccentColor; |
| 132 | --button-primary-hover-fg-color:AccentColorText; |
| 133 | } |
| 134 | } |
| 135 | |
| 136 | .dialog .mainContainer *:focus-visible{ |
| 137 | outline:var(--focus-ring-outline); |
| 138 | outline-offset:2px; |
| 139 | } |
| 140 | |
| 141 | .dialog .mainContainer .radio{ |
| 142 | display:flex; |
| 143 | flex-direction:column; |
| 144 | align-items:flex-start; |
| 145 | gap:4px; |
| 146 | } |
| 147 | |
| 148 | .dialog .mainContainer .radio > .radioButton{ |
| 149 | display:flex; |
| 150 | gap:8px; |
| 151 | align-self:stretch; |
| 152 | align-items:center; |
| 153 | } |
| 154 | |
| 155 | .dialog .mainContainer .radio > .radioButton input{ |
| 156 | -webkit-appearance:none; |
| 157 | -moz-appearance:none; |
| 158 | appearance:none; |
| 159 | box-sizing:border-box; |
| 160 | width:16px; |
| 161 | height:16px; |
| 162 | border-radius:50%; |
| 163 | background-color:var(--radio-bg-color); |
| 164 | border:1px solid var(--radio-border-color); |
| 165 | } |
| 166 | |
| 167 | .dialog .mainContainer .radio > .radioButton input:hover{ |
| 168 | filter:var(--hover-filter); |
| 169 | } |
| 170 | |
| 171 | .dialog .mainContainer .radio > .radioButton input:checked{ |
| 172 | background-color:var(--radio-checked-bg-color); |
| 173 | border:4px solid var(--radio-checked-border-color); |
| 174 | } |
| 175 | |
| 176 | .dialog .mainContainer .radio > .radioLabel{ |
| 177 | display:flex; |
| 178 | padding-inline-start:24px; |
| 179 | align-items:flex-start; |
| 180 | gap:10px; |
| 181 | align-self:stretch; |
| 182 | } |
| 183 | |
| 184 | .dialog .mainContainer .radio > .radioLabel > span{ |
| 185 | flex:1 0 0; |
| 186 | font-size:11px; |
| 187 | color:var(--text-secondary-color); |
| 188 | } |
| 189 | |
| 190 | .dialog .mainContainer button{ |
| 191 | border-radius:4px; |
| 192 | border:1px solid; |
| 193 | font:menu; |
| 194 | font-weight:600; |
| 195 | padding:4px 16px; |
| 196 | width:auto; |
| 197 | height:32px; |
| 198 | } |
| 199 | |
| 200 | .dialog .mainContainer button:hover{ |
| 201 | cursor:pointer; |
| 202 | filter:var(--hover-filter); |
| 203 | } |
| 204 | |
| 205 | .dialog .mainContainer button.secondaryButton{ |
| 206 | color:var(--button-secondary-fg-color); |
| 207 | background-color:var(--button-secondary-bg-color); |
| 208 | border-color:var(--button-secondary-border-color); |
| 209 | } |
| 210 | |
| 211 | .dialog .mainContainer button.secondaryButton:hover{ |
| 212 | color:var(--button-secondary-hover-fg-color); |
| 213 | background-color:var(--button-secondary-hover-bg-color); |
| 214 | border-color:var(--button-secondary-hover-border-color); |
| 215 | } |
| 216 | |
| 217 | .dialog .mainContainer button.primaryButton{ |
| 218 | color:var(--button-primary-hover-fg-color); |
| 219 | background-color:var(--button-primary-hover-bg-color); |
| 220 | border-color:var(--button-primary-hover-border-color); |
| 221 | opacity:1; |
| 222 | } |
| 223 | |
| 224 | .dialog .mainContainer button.primaryButton:hover{ |
| 225 | color:var(--button-primary-hover-fg-color); |
| 226 | background-color:var(--button-primary-hover-bg-color); |
| 227 | border-color:var(--button-primary-hover-border-color); |
| 228 | } |
| 229 | |
| 230 | .dialog .mainContainer textarea{ |
| 231 | font:inherit; |
| 232 | padding:8px; |
| 233 | resize:none; |
| 234 | margin:0; |
| 235 | box-sizing:border-box; |
| 236 | border-radius:4px; |
| 237 | border:1px solid var(--textarea-border-color); |
| 238 | background:var(--textarea-bg-color); |
| 239 | color:var(--textarea-fg-color); |
| 240 | } |
| 241 | |
| 242 | .dialog .mainContainer textarea:focus{ |
| 243 | outline-offset:0; |
| 244 | border-color:transparent; |
| 245 | } |
| 246 | |
| 247 | .dialog .mainContainer textarea:disabled{ |
| 248 | pointer-events:none; |
| 249 | opacity:0.4; |
| 250 | } |
| 251 | |
| 252 | .textLayer{ |
| 253 | position:absolute; |
| 254 | text-align:initial; |
| 255 | inset:0; |
| 256 | overflow:clip; |
| 257 | opacity:1; |
| 258 | line-height:1; |
| 259 | -webkit-text-size-adjust:none; |
| 260 | -moz-text-size-adjust:none; |
| 261 | text-size-adjust:none; |
| 262 | forced-color-adjust:none; |
| 263 | transform-origin:0 0; |
| 264 | caret-color:CanvasText; |
| 265 | z-index:0; |
| 266 | } |
| 267 | |
| 268 | .textLayer.highlighting{ |
| 269 | touch-action:none; |
| 270 | } |
| 271 | |
| 272 | .textLayer :is(span, br){ |
| 273 | color:transparent; |
| 274 | position:absolute; |
| 275 | white-space:pre; |
| 276 | cursor:text; |
| 277 | transform-origin:0% 0%; |
| 278 | } |
| 279 | |
| 280 | .textLayer > :not(.markedContent), |
| 281 | .textLayer .markedContent span:not(.markedContent){ |
| 282 | z-index:1; |
| 283 | } |
| 284 | |
| 285 | .textLayer span.markedContent{ |
| 286 | top:0; |
| 287 | height:0; |
| 288 | } |
| 289 | |
| 290 | .textLayer .highlight{ |
| 291 | --highlight-bg-color:rgb(180 0 170 / 0.25); |
| 292 | --highlight-selected-bg-color:rgb(0 100 0 / 0.25); |
| 293 | --highlight-backdrop-filter:none; |
| 294 | --highlight-selected-backdrop-filter:none; |
| 295 | |
| 296 | margin:-1px; |
| 297 | padding:1px; |
| 298 | background-color:var(--highlight-bg-color); |
| 299 | -webkit-backdrop-filter:var(--highlight-backdrop-filter); |
| 300 | backdrop-filter:var(--highlight-backdrop-filter); |
| 301 | border-radius:4px; |
| 302 | } |
| 303 | |
| 304 | @media screen and (forced-colors: active){ |
| 305 | |
| 306 | .textLayer .highlight{ |
| 307 | --highlight-bg-color:transparent; |
| 308 | --highlight-selected-bg-color:transparent; |
| 309 | --highlight-backdrop-filter:var(--hcm-highlight-filter); |
| 310 | --highlight-selected-backdrop-filter:var( |
| 311 | --hcm-highlight-selected-filter |
| 312 | ); |
| 313 | } |
| 314 | } |
| 315 | |
| 316 | .textLayer .highlight.appended{ |
| 317 | position:initial; |
| 318 | } |
| 319 | |
| 320 | .textLayer .highlight.begin{ |
| 321 | border-radius:4px 0 0 4px; |
| 322 | } |
| 323 | |
| 324 | .textLayer .highlight.end{ |
| 325 | border-radius:0 4px 4px 0; |
| 326 | } |
| 327 | |
| 328 | .textLayer .highlight.middle{ |
| 329 | border-radius:0; |
| 330 | } |
| 331 | |
| 332 | .textLayer .highlight.selected{ |
| 333 | background-color:var(--highlight-selected-bg-color); |
| 334 | -webkit-backdrop-filter:var(--highlight-selected-backdrop-filter); |
| 335 | backdrop-filter:var(--highlight-selected-backdrop-filter); |
| 336 | } |
| 337 | |
| 338 | .textLayer ::-moz-selection{ |
| 339 | background:rgba(0 0 255 / 0.25); |
| 340 | background:color-mix(in srgb, AccentColor, transparent 75%); |
| 341 | } |
| 342 | |
| 343 | .textLayer ::selection{ |
| 344 | background:rgba(0 0 255 / 0.25); |
| 345 | background:color-mix(in srgb, AccentColor, transparent 75%); |
| 346 | } |
| 347 | |
| 348 | .textLayer br::-moz-selection{ |
| 349 | background:transparent; |
| 350 | } |
| 351 | |
| 352 | .textLayer br::selection{ |
| 353 | background:transparent; |
| 354 | } |
| 355 | |
| 356 | .textLayer .endOfContent{ |
| 357 | display:block; |
| 358 | position:absolute; |
| 359 | inset:100% 0 0; |
| 360 | z-index:0; |
| 361 | cursor:default; |
| 362 | -webkit-user-select:none; |
| 363 | -moz-user-select:none; |
| 364 | user-select:none; |
| 365 | } |
| 366 | |
| 367 | .textLayer .endOfContent.active{ |
| 368 | top:0; |
| 369 | } |
| 370 | |
| 371 | .annotationLayer{ |
| 372 | --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>"); |
| 373 | --input-focus-border-color:Highlight; |
| 374 | --input-focus-outline:1px solid Canvas; |
| 375 | --input-unfocused-border-color:transparent; |
| 376 | --input-disabled-border-color:transparent; |
| 377 | --input-hover-border-color:black; |
| 378 | --link-outline:none; |
| 379 | |
| 380 | position:absolute; |
| 381 | top:0; |
| 382 | left:0; |
| 383 | pointer-events:none; |
| 384 | transform-origin:0 0; |
| 385 | } |
| 386 | |
| 387 | @media screen and (forced-colors: active){ |
| 388 | |
| 389 | .annotationLayer{ |
| 390 | --input-focus-border-color:CanvasText; |
| 391 | --input-unfocused-border-color:ActiveText; |
| 392 | --input-disabled-border-color:GrayText; |
| 393 | --input-hover-border-color:Highlight; |
| 394 | --link-outline:1.5px solid LinkText; |
| 395 | } |
| 396 | |
| 397 | .annotationLayer .textWidgetAnnotation :is(input, textarea):required, .annotationLayer .choiceWidgetAnnotation select:required, .annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input:required{ |
| 398 | outline:1.5px solid selectedItem; |
| 399 | } |
| 400 | |
| 401 | .annotationLayer .linkAnnotation{ |
| 402 | outline:var(--link-outline); |
| 403 | } |
| 404 | |
| 405 | .annotationLayer .linkAnnotation:hover{ |
| 406 | -webkit-backdrop-filter:var(--hcm-highlight-filter); |
| 407 | backdrop-filter:var(--hcm-highlight-filter); |
| 408 | } |
| 409 | |
| 410 | .annotationLayer .linkAnnotation > a:hover{ |
| 411 | opacity:0 !important; |
| 412 | background:none !important; |
| 413 | box-shadow:none; |
| 414 | } |
| 415 | |
| 416 | .annotationLayer .popupAnnotation .popup{ |
| 417 | outline:calc(1.5px * var(--scale-factor)) solid CanvasText !important; |
| 418 | background-color:ButtonFace !important; |
| 419 | color:ButtonText !important; |
| 420 | } |
| 421 | |
| 422 | .annotationLayer .highlightArea:hover::after{ |
| 423 | position:absolute; |
| 424 | top:0; |
| 425 | left:0; |
| 426 | width:100%; |
| 427 | height:100%; |
| 428 | -webkit-backdrop-filter:var(--hcm-highlight-filter); |
| 429 | backdrop-filter:var(--hcm-highlight-filter); |
| 430 | content:""; |
| 431 | pointer-events:none; |
| 432 | } |
| 433 | |
| 434 | .annotationLayer .popupAnnotation.focused .popup{ |
| 435 | outline:calc(3px * var(--scale-factor)) solid Highlight !important; |
| 436 | } |
| 437 | } |
| 438 | |
| 439 | .annotationLayer[data-main-rotation="90"] .norotate{ |
| 440 | transform:rotate(270deg) translateX(-100%); |
| 441 | } |
| 442 | |
| 443 | .annotationLayer[data-main-rotation="180"] .norotate{ |
| 444 | transform:rotate(180deg) translate(-100%, -100%); |
| 445 | } |
| 446 | |
| 447 | .annotationLayer[data-main-rotation="270"] .norotate{ |
| 448 | transform:rotate(90deg) translateY(-100%); |
| 449 | } |
| 450 | |
| 451 | .annotationLayer.disabled section, |
| 452 | .annotationLayer.disabled .popup{ |
| 453 | pointer-events:none; |
| 454 | } |
| 455 | |
| 456 | .annotationLayer .annotationContent{ |
| 457 | position:absolute; |
| 458 | width:100%; |
| 459 | height:100%; |
| 460 | pointer-events:none; |
| 461 | } |
| 462 | |
| 463 | .annotationLayer .annotationContent.freetext{ |
| 464 | background:transparent; |
| 465 | border:none; |
| 466 | inset:0; |
| 467 | overflow:visible; |
| 468 | white-space:nowrap; |
| 469 | font:10px sans-serif; |
| 470 | line-height:1.35; |
| 471 | -webkit-user-select:none; |
| 472 | -moz-user-select:none; |
| 473 | user-select:none; |
| 474 | } |
| 475 | |
| 476 | .annotationLayer section{ |
| 477 | position:absolute; |
| 478 | text-align:initial; |
| 479 | pointer-events:auto; |
| 480 | box-sizing:border-box; |
| 481 | transform-origin:0 0; |
| 482 | } |
| 483 | |
| 484 | .annotationLayer section:has(div.annotationContent) canvas.annotationContent{ |
| 485 | display:none; |
| 486 | } |
| 487 | |
| 488 | .annotationLayer :is(.linkAnnotation, .buttonWidgetAnnotation.pushButton) > a{ |
| 489 | position:absolute; |
| 490 | font-size:1em; |
| 491 | top:0; |
| 492 | left:0; |
| 493 | width:100%; |
| 494 | height:100%; |
| 495 | } |
| 496 | |
| 497 | .annotationLayer :is(.linkAnnotation, .buttonWidgetAnnotation.pushButton):not(.hasBorder) |
| 498 | > a:hover{ |
| 499 | opacity:0.2; |
| 500 | background-color:rgb(255 255 0); |
| 501 | box-shadow:0 2px 10px rgb(255 255 0); |
| 502 | } |
| 503 | |
| 504 | .annotationLayer .linkAnnotation.hasBorder:hover{ |
| 505 | background-color:rgb(255 255 0 / 0.2); |
| 506 | } |
| 507 | |
| 508 | .annotationLayer .hasBorder{ |
| 509 | background-size:100% 100%; |
| 510 | } |
| 511 | |
| 512 | .annotationLayer .textAnnotation img{ |
| 513 | position:absolute; |
| 514 | cursor:pointer; |
| 515 | width:100%; |
| 516 | height:100%; |
| 517 | top:0; |
| 518 | left:0; |
| 519 | } |
| 520 | |
| 521 | .annotationLayer .textWidgetAnnotation :is(input, textarea), .annotationLayer .choiceWidgetAnnotation select, .annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input{ |
| 522 | background-image:var(--annotation-unfocused-field-background); |
| 523 | border:2px solid var(--input-unfocused-border-color); |
| 524 | box-sizing:border-box; |
| 525 | font:calc(9px * var(--scale-factor)) sans-serif; |
| 526 | height:100%; |
| 527 | margin:0; |
| 528 | vertical-align:top; |
| 529 | width:100%; |
| 530 | } |
| 531 | |
| 532 | .annotationLayer .textWidgetAnnotation :is(input, textarea):required, .annotationLayer .choiceWidgetAnnotation select:required, .annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input:required{ |
| 533 | outline:1.5px solid red; |
| 534 | } |
| 535 | |
| 536 | .annotationLayer .choiceWidgetAnnotation select option{ |
| 537 | padding:0; |
| 538 | } |
| 539 | |
| 540 | .annotationLayer .buttonWidgetAnnotation.radioButton input{ |
| 541 | border-radius:50%; |
| 542 | } |
| 543 | |
| 544 | .annotationLayer .textWidgetAnnotation textarea{ |
| 545 | resize:none; |
| 546 | } |
| 547 | |
| 548 | .annotationLayer .textWidgetAnnotation [disabled]:is(input, textarea), .annotationLayer .choiceWidgetAnnotation select[disabled], .annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input[disabled]{ |
| 549 | background:none; |
| 550 | border:2px solid var(--input-disabled-border-color); |
| 551 | cursor:not-allowed; |
| 552 | } |
| 553 | |
| 554 | .annotationLayer .textWidgetAnnotation :is(input, textarea):hover, .annotationLayer .choiceWidgetAnnotation select:hover, .annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input:hover{ |
| 555 | border:2px solid var(--input-hover-border-color); |
| 556 | } |
| 557 | |
| 558 | .annotationLayer .textWidgetAnnotation :is(input, textarea):hover, .annotationLayer .choiceWidgetAnnotation select:hover, .annotationLayer .buttonWidgetAnnotation.checkBox input:hover{ |
| 559 | border-radius:2px; |
| 560 | } |
| 561 | |
| 562 | .annotationLayer .textWidgetAnnotation :is(input, textarea):focus, .annotationLayer .choiceWidgetAnnotation select:focus{ |
| 563 | background:none; |
| 564 | border:2px solid var(--input-focus-border-color); |
| 565 | border-radius:2px; |
| 566 | outline:var(--input-focus-outline); |
| 567 | } |
| 568 | |
| 569 | .annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) :focus{ |
| 570 | background-image:none; |
| 571 | background-color:transparent; |
| 572 | } |
| 573 | |
| 574 | .annotationLayer .buttonWidgetAnnotation.checkBox :focus{ |
| 575 | border:2px solid var(--input-focus-border-color); |
| 576 | border-radius:2px; |
| 577 | outline:var(--input-focus-outline); |
| 578 | } |
| 579 | |
| 580 | .annotationLayer .buttonWidgetAnnotation.radioButton :focus{ |
| 581 | border:2px solid var(--input-focus-border-color); |
| 582 | outline:var(--input-focus-outline); |
| 583 | } |
| 584 | |
| 585 | .annotationLayer .buttonWidgetAnnotation.checkBox input:checked::before, |
| 586 | .annotationLayer .buttonWidgetAnnotation.checkBox input:checked::after, |
| 587 | .annotationLayer .buttonWidgetAnnotation.radioButton input:checked::before{ |
| 588 | background-color:CanvasText; |
| 589 | content:""; |
| 590 | display:block; |
| 591 | position:absolute; |
| 592 | } |
| 593 | |
| 594 | .annotationLayer .buttonWidgetAnnotation.checkBox input:checked::before, |
| 595 | .annotationLayer .buttonWidgetAnnotation.checkBox input:checked::after{ |
| 596 | height:80%; |
| 597 | left:45%; |
| 598 | width:1px; |
| 599 | } |
| 600 | |
| 601 | .annotationLayer .buttonWidgetAnnotation.checkBox input:checked::before{ |
| 602 | transform:rotate(45deg); |
| 603 | } |
| 604 | |
| 605 | .annotationLayer .buttonWidgetAnnotation.checkBox input:checked::after{ |
| 606 | transform:rotate(-45deg); |
| 607 | } |
| 608 | |
| 609 | .annotationLayer .buttonWidgetAnnotation.radioButton input:checked::before{ |
| 610 | border-radius:50%; |
| 611 | height:50%; |
| 612 | left:25%; |
| 613 | top:25%; |
| 614 | width:50%; |
| 615 | } |
| 616 | |
| 617 | .annotationLayer .textWidgetAnnotation input.comb{ |
| 618 | font-family:monospace; |
| 619 | padding-left:2px; |
| 620 | padding-right:0; |
| 621 | } |
| 622 | |
| 623 | .annotationLayer .textWidgetAnnotation input.comb:focus{ |
| 624 | width:103%; |
| 625 | } |
| 626 | |
| 627 | .annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input{ |
| 628 | -webkit-appearance:none; |
| 629 | -moz-appearance:none; |
| 630 | appearance:none; |
| 631 | } |
| 632 | |
| 633 | .annotationLayer .fileAttachmentAnnotation .popupTriggerArea{ |
| 634 | height:100%; |
| 635 | width:100%; |
| 636 | } |
| 637 | |
| 638 | .annotationLayer .popupAnnotation{ |
| 639 | position:absolute; |
| 640 | font-size:calc(9px * var(--scale-factor)); |
| 641 | pointer-events:none; |
| 642 | width:-moz-max-content; |
| 643 | width:max-content; |
| 644 | max-width:45%; |
| 645 | height:auto; |
| 646 | } |
| 647 | |
| 648 | .annotationLayer .popup{ |
| 649 | background-color:rgb(255 255 153); |
| 650 | box-shadow:0 calc(2px * var(--scale-factor)) calc(5px * var(--scale-factor)) rgb(136 136 136); |
| 651 | border-radius:calc(2px * var(--scale-factor)); |
| 652 | outline:1.5px solid rgb(255 255 74); |
| 653 | padding:calc(6px * var(--scale-factor)); |
| 654 | cursor:pointer; |
| 655 | font:message-box; |
| 656 | white-space:normal; |
| 657 | word-wrap:break-word; |
| 658 | pointer-events:auto; |
| 659 | } |
| 660 | |
| 661 | .annotationLayer .popupAnnotation.focused .popup{ |
| 662 | outline-width:3px; |
| 663 | } |
| 664 | |
| 665 | .annotationLayer .popup *{ |
| 666 | font-size:calc(9px * var(--scale-factor)); |
| 667 | } |
| 668 | |
| 669 | .annotationLayer .popup > .header{ |
| 670 | display:inline-block; |
| 671 | } |
| 672 | |
| 673 | .annotationLayer .popup > .header h1{ |
| 674 | display:inline; |
| 675 | } |
| 676 | |
| 677 | .annotationLayer .popup > .header .popupDate{ |
| 678 | display:inline-block; |
| 679 | margin-left:calc(5px * var(--scale-factor)); |
| 680 | width:-moz-fit-content; |
| 681 | width:fit-content; |
| 682 | } |
| 683 | |
| 684 | .annotationLayer .popupContent{ |
| 685 | border-top:1px solid rgb(51 51 51); |
| 686 | margin-top:calc(2px * var(--scale-factor)); |
| 687 | padding-top:calc(2px * var(--scale-factor)); |
| 688 | } |
| 689 | |
| 690 | .annotationLayer .richText > *{ |
| 691 | white-space:pre-wrap; |
| 692 | font-size:calc(9px * var(--scale-factor)); |
| 693 | } |
| 694 | |
| 695 | .annotationLayer .popupTriggerArea{ |
| 696 | cursor:pointer; |
| 697 | } |
| 698 | |
| 699 | .annotationLayer section svg{ |
| 700 | position:absolute; |
| 701 | width:100%; |
| 702 | height:100%; |
| 703 | top:0; |
| 704 | left:0; |
| 705 | } |
| 706 | |
| 707 | .annotationLayer .annotationTextContent{ |
| 708 | position:absolute; |
| 709 | width:100%; |
| 710 | height:100%; |
| 711 | opacity:0; |
| 712 | color:transparent; |
| 713 | -webkit-user-select:none; |
| 714 | -moz-user-select:none; |
| 715 | user-select:none; |
| 716 | pointer-events:none; |
| 717 | } |
| 718 | |
| 719 | .annotationLayer .annotationTextContent span{ |
| 720 | width:100%; |
| 721 | display:inline-block; |
| 722 | } |
| 723 | |
| 724 | .annotationLayer svg.quadrilateralsContainer{ |
| 725 | contain:strict; |
| 726 | width:0; |
| 727 | height:0; |
| 728 | position:absolute; |
| 729 | top:0; |
| 730 | left:0; |
| 731 | z-index:-1; |
| 732 | } |
| 733 | |
| 734 | :root{ |
| 735 | --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>"); |
| 736 | --xfa-focus-outline:auto; |
| 737 | } |
| 738 | |
| 739 | @media screen and (forced-colors: active){ |
| 740 | :root{ |
| 741 | --xfa-focus-outline:2px solid CanvasText; |
| 742 | } |
| 743 | .xfaLayer *:required{ |
| 744 | outline:1.5px solid selectedItem; |
| 745 | } |
| 746 | } |
| 747 | |
| 748 | .xfaLayer{ |
| 749 | background-color:transparent; |
| 750 | } |
| 751 | |
| 752 | .xfaLayer .highlight{ |
| 753 | margin:-1px; |
| 754 | padding:1px; |
| 755 | background-color:rgb(239 203 237); |
| 756 | border-radius:4px; |
| 757 | } |
| 758 | |
| 759 | .xfaLayer .highlight.appended{ |
| 760 | position:initial; |
| 761 | } |
| 762 | |
| 763 | .xfaLayer .highlight.begin{ |
| 764 | border-radius:4px 0 0 4px; |
| 765 | } |
| 766 | |
| 767 | .xfaLayer .highlight.end{ |
| 768 | border-radius:0 4px 4px 0; |
| 769 | } |
| 770 | |
| 771 | .xfaLayer .highlight.middle{ |
| 772 | border-radius:0; |
| 773 | } |
| 774 | |
| 775 | .xfaLayer .highlight.selected{ |
| 776 | background-color:rgb(203 223 203); |
| 777 | } |
| 778 | |
| 779 | .xfaPage{ |
| 780 | overflow:hidden; |
| 781 | position:relative; |
| 782 | } |
| 783 | |
| 784 | .xfaContentarea{ |
| 785 | position:absolute; |
| 786 | } |
| 787 | |
| 788 | .xfaPrintOnly{ |
| 789 | display:none; |
| 790 | } |
| 791 | |
| 792 | .xfaLayer{ |
| 793 | position:absolute; |
| 794 | text-align:initial; |
| 795 | top:0; |
| 796 | left:0; |
| 797 | transform-origin:0 0; |
| 798 | line-height:1.2; |
| 799 | } |
| 800 | |
| 801 | .xfaLayer *{ |
| 802 | color:inherit; |
| 803 | font:inherit; |
| 804 | font-style:inherit; |
| 805 | font-weight:inherit; |
| 806 | font-kerning:inherit; |
| 807 | letter-spacing:-0.01px; |
| 808 | text-align:inherit; |
| 809 | text-decoration:inherit; |
| 810 | box-sizing:border-box; |
| 811 | background-color:transparent; |
| 812 | padding:0; |
| 813 | margin:0; |
| 814 | pointer-events:auto; |
| 815 | line-height:inherit; |
| 816 | } |
| 817 | |
| 818 | .xfaLayer *:required{ |
| 819 | outline:1.5px solid red; |
| 820 | } |
| 821 | |
| 822 | .xfaLayer div, |
| 823 | .xfaLayer svg, |
| 824 | .xfaLayer svg *{ |
| 825 | pointer-events:none; |
| 826 | } |
| 827 | |
| 828 | .xfaLayer a{ |
| 829 | color:blue; |
| 830 | } |
| 831 | |
| 832 | .xfaRich li{ |
| 833 | margin-left:3em; |
| 834 | } |
| 835 | |
| 836 | .xfaFont{ |
| 837 | color:black; |
| 838 | font-weight:normal; |
| 839 | font-kerning:none; |
| 840 | font-size:10px; |
| 841 | font-style:normal; |
| 842 | letter-spacing:0; |
| 843 | text-decoration:none; |
| 844 | vertical-align:0; |
| 845 | } |
| 846 | |
| 847 | .xfaCaption{ |
| 848 | overflow:hidden; |
| 849 | flex:0 0 auto; |
| 850 | } |
| 851 | |
| 852 | .xfaCaptionForCheckButton{ |
| 853 | overflow:hidden; |
| 854 | flex:1 1 auto; |
| 855 | } |
| 856 | |
| 857 | .xfaLabel{ |
| 858 | height:100%; |
| 859 | width:100%; |
| 860 | } |
| 861 | |
| 862 | .xfaLeft{ |
| 863 | display:flex; |
| 864 | flex-direction:row; |
| 865 | align-items:center; |
| 866 | } |
| 867 | |
| 868 | .xfaRight{ |
| 869 | display:flex; |
| 870 | flex-direction:row-reverse; |
| 871 | align-items:center; |
| 872 | } |
| 873 | |
| 874 | :is(.xfaLeft, .xfaRight) > :is(.xfaCaption, .xfaCaptionForCheckButton){ |
| 875 | max-height:100%; |
| 876 | } |
| 877 | |
| 878 | .xfaTop{ |
| 879 | display:flex; |
| 880 | flex-direction:column; |
| 881 | align-items:flex-start; |
| 882 | } |
| 883 | |
| 884 | .xfaBottom{ |
| 885 | display:flex; |
| 886 | flex-direction:column-reverse; |
| 887 | align-items:flex-start; |
| 888 | } |
| 889 | |
| 890 | :is(.xfaTop, .xfaBottom) > :is(.xfaCaption, .xfaCaptionForCheckButton){ |
| 891 | width:100%; |
| 892 | } |
| 893 | |
| 894 | .xfaBorder{ |
| 895 | background-color:transparent; |
| 896 | position:absolute; |
| 897 | pointer-events:none; |
| 898 | } |
| 899 | |
| 900 | .xfaWrapped{ |
| 901 | width:100%; |
| 902 | height:100%; |
| 903 | } |
| 904 | |
| 905 | :is(.xfaTextfield, .xfaSelect):focus{ |
| 906 | background-image:none; |
| 907 | background-color:transparent; |
| 908 | outline:var(--xfa-focus-outline); |
| 909 | outline-offset:-1px; |
| 910 | } |
| 911 | |
| 912 | :is(.xfaCheckbox, .xfaRadio):focus{ |
| 913 | outline:var(--xfa-focus-outline); |
| 914 | } |
| 915 | |
| 916 | .xfaTextfield, |
| 917 | .xfaSelect{ |
| 918 | height:100%; |
| 919 | width:100%; |
| 920 | flex:1 1 auto; |
| 921 | border:none; |
| 922 | resize:none; |
| 923 | background-image:var(--xfa-unfocused-field-background); |
| 924 | } |
| 925 | |
| 926 | .xfaSelect{ |
| 927 | padding-inline:2px; |
| 928 | } |
| 929 | |
| 930 | :is(.xfaTop, .xfaBottom) > :is(.xfaTextfield, .xfaSelect){ |
| 931 | flex:0 1 auto; |
| 932 | } |
| 933 | |
| 934 | .xfaButton{ |
| 935 | cursor:pointer; |
| 936 | width:100%; |
| 937 | height:100%; |
| 938 | border:none; |
| 939 | text-align:center; |
| 940 | } |
| 941 | |
| 942 | .xfaLink{ |
| 943 | width:100%; |
| 944 | height:100%; |
| 945 | position:absolute; |
| 946 | top:0; |
| 947 | left:0; |
| 948 | } |
| 949 | |
| 950 | .xfaCheckbox, |
| 951 | .xfaRadio{ |
| 952 | width:100%; |
| 953 | height:100%; |
| 954 | flex:0 0 auto; |
| 955 | border:none; |
| 956 | } |
| 957 | |
| 958 | .xfaRich{ |
| 959 | white-space:pre-wrap; |
| 960 | width:100%; |
| 961 | height:100%; |
| 962 | } |
| 963 | |
| 964 | .xfaImage{ |
| 965 | -o-object-position:left top; |
| 966 | object-position:left top; |
| 967 | -o-object-fit:contain; |
| 968 | object-fit:contain; |
| 969 | width:100%; |
| 970 | height:100%; |
| 971 | } |
| 972 | |
| 973 | .xfaLrTb, |
| 974 | .xfaRlTb, |
| 975 | .xfaTb{ |
| 976 | display:flex; |
| 977 | flex-direction:column; |
| 978 | align-items:stretch; |
| 979 | } |
| 980 | |
| 981 | .xfaLr{ |
| 982 | display:flex; |
| 983 | flex-direction:row; |
| 984 | align-items:stretch; |
| 985 | } |
| 986 | |
| 987 | .xfaRl{ |
| 988 | display:flex; |
| 989 | flex-direction:row-reverse; |
| 990 | align-items:stretch; |
| 991 | } |
| 992 | |
| 993 | .xfaTb > div{ |
| 994 | justify-content:left; |
| 995 | } |
| 996 | |
| 997 | .xfaPosition{ |
| 998 | position:relative; |
| 999 | } |
| 1000 | |
| 1001 | .xfaArea{ |
| 1002 | position:relative; |
| 1003 | } |
| 1004 | |
| 1005 | .xfaValignMiddle{ |
| 1006 | display:flex; |
| 1007 | align-items:center; |
| 1008 | } |
| 1009 | |
| 1010 | .xfaTable{ |
| 1011 | display:flex; |
| 1012 | flex-direction:column; |
| 1013 | align-items:stretch; |
| 1014 | } |
| 1015 | |
| 1016 | .xfaTable .xfaRow{ |
| 1017 | display:flex; |
| 1018 | flex-direction:row; |
| 1019 | align-items:stretch; |
| 1020 | } |
| 1021 | |
| 1022 | .xfaTable .xfaRlRow{ |
| 1023 | display:flex; |
| 1024 | flex-direction:row-reverse; |
| 1025 | align-items:stretch; |
| 1026 | flex:1; |
| 1027 | } |
| 1028 | |
| 1029 | .xfaTable .xfaRlRow > div{ |
| 1030 | flex:1; |
| 1031 | } |
| 1032 | |
| 1033 | :is(.xfaNonInteractive, .xfaDisabled, .xfaReadOnly) :is(input, textarea){ |
| 1034 | background:initial; |
| 1035 | } |
| 1036 | |
| 1037 | @media print{ |
| 1038 | .xfaTextfield, |
| 1039 | .xfaSelect{ |
| 1040 | background:transparent; |
| 1041 | } |
| 1042 | |
| 1043 | .xfaSelect{ |
| 1044 | -webkit-appearance:none; |
| 1045 | -moz-appearance:none; |
| 1046 | appearance:none; |
| 1047 | text-indent:1px; |
| 1048 | text-overflow:""; |
| 1049 | } |
| 1050 | } |
| 1051 | |
| 1052 | .canvasWrapper svg{ |
| 1053 | transform:none; |
| 1054 | } |
| 1055 | |
| 1056 | .canvasWrapper svg[data-main-rotation="90"] mask, |
| 1057 | .canvasWrapper svg[data-main-rotation="90"] use:not(.clip, .mask){ |
| 1058 | transform:matrix(0, 1, -1, 0, 1, 0); |
| 1059 | } |
| 1060 | |
| 1061 | .canvasWrapper svg[data-main-rotation="180"] mask, |
| 1062 | .canvasWrapper svg[data-main-rotation="180"] use:not(.clip, .mask){ |
| 1063 | transform:matrix(-1, 0, 0, -1, 1, 1); |
| 1064 | } |
| 1065 | |
| 1066 | .canvasWrapper svg[data-main-rotation="270"] mask, |
| 1067 | .canvasWrapper svg[data-main-rotation="270"] use:not(.clip, .mask){ |
| 1068 | transform:matrix(0, -1, 1, 0, 0, 1); |
| 1069 | } |
| 1070 | |
| 1071 | .canvasWrapper svg.highlight{ |
| 1072 | --blend-mode:multiply; |
| 1073 | |
| 1074 | position:absolute; |
| 1075 | mix-blend-mode:var(--blend-mode); |
| 1076 | } |
| 1077 | |
| 1078 | @media screen and (forced-colors: active){ |
| 1079 | |
| 1080 | .canvasWrapper svg.highlight{ |
| 1081 | --blend-mode:difference; |
| 1082 | } |
| 1083 | } |
| 1084 | |
| 1085 | .canvasWrapper svg.highlight:not(.free){ |
| 1086 | fill-rule:evenodd; |
| 1087 | } |
| 1088 | |
| 1089 | .canvasWrapper svg.highlightOutline{ |
| 1090 | position:absolute; |
| 1091 | mix-blend-mode:normal; |
| 1092 | fill-rule:evenodd; |
| 1093 | fill:none; |
| 1094 | } |
| 1095 | |
| 1096 | .canvasWrapper svg.highlightOutline.hovered:not(.free):not(.selected){ |
| 1097 | stroke:var(--hover-outline-color); |
| 1098 | stroke-width:var(--outline-width); |
| 1099 | } |
| 1100 | |
| 1101 | .canvasWrapper svg.highlightOutline.selected:not(.free) .mainOutline{ |
| 1102 | stroke:var(--outline-around-color); |
| 1103 | stroke-width:calc( |
| 1104 | var(--outline-width) + 2 * var(--outline-around-width) |
| 1105 | ); |
| 1106 | } |
| 1107 | |
| 1108 | .canvasWrapper svg.highlightOutline.selected:not(.free) .secondaryOutline{ |
| 1109 | stroke:var(--outline-color); |
| 1110 | stroke-width:var(--outline-width); |
| 1111 | } |
| 1112 | |
| 1113 | .canvasWrapper svg.highlightOutline.free.hovered:not(.selected){ |
| 1114 | stroke:var(--hover-outline-color); |
| 1115 | stroke-width:calc(2 * var(--outline-width)); |
| 1116 | } |
| 1117 | |
| 1118 | .canvasWrapper svg.highlightOutline.free.selected .mainOutline{ |
| 1119 | stroke:var(--outline-around-color); |
| 1120 | stroke-width:calc( |
| 1121 | 2 * (var(--outline-width) + var(--outline-around-width)) |
| 1122 | ); |
| 1123 | } |
| 1124 | |
| 1125 | .canvasWrapper svg.highlightOutline.free.selected .secondaryOutline{ |
| 1126 | stroke:var(--outline-color); |
| 1127 | stroke-width:calc(2 * var(--outline-width)); |
| 1128 | } |
| 1129 | |
| 1130 | .toggle-button{ |
| 1131 | --button-background-color:#f0f0f4; |
| 1132 | --button-background-color-hover:#e0e0e6; |
| 1133 | --button-background-color-active:#cfcfd8; |
| 1134 | --color-accent-primary:#0060df; |
| 1135 | --color-accent-primary-hover:#0250bb; |
| 1136 | --color-accent-primary-active:#054096; |
| 1137 | --border-interactive-color:#8f8f9d; |
| 1138 | --border-radius-circle:9999px; |
| 1139 | --border-width:1px; |
| 1140 | --size-item-small:16px; |
| 1141 | --size-item-large:32px; |
| 1142 | --color-canvas:white; |
| 1143 | |
| 1144 | --toggle-background-color:var(--button-background-color); |
| 1145 | --toggle-background-color-hover:var(--button-background-color-hover); |
| 1146 | --toggle-background-color-active:var(--button-background-color-active); |
| 1147 | --toggle-background-color-pressed:var(--color-accent-primary); |
| 1148 | --toggle-background-color-pressed-hover:var(--color-accent-primary-hover); |
| 1149 | --toggle-background-color-pressed-active:var(--color-accent-primary-active); |
| 1150 | --toggle-border-color:var(--border-interactive-color); |
| 1151 | --toggle-border-color-hover:var(--toggle-border-color); |
| 1152 | --toggle-border-color-active:var(--toggle-border-color); |
| 1153 | --toggle-border-radius:var(--border-radius-circle); |
| 1154 | --toggle-border-width:var(--border-width); |
| 1155 | --toggle-height:var(--size-item-small); |
| 1156 | --toggle-width:var(--size-item-large); |
| 1157 | --toggle-dot-background-color:var(--toggle-border-color); |
| 1158 | --toggle-dot-background-color-hover:var(--toggle-dot-background-color); |
| 1159 | --toggle-dot-background-color-active:var(--toggle-dot-background-color); |
| 1160 | --toggle-dot-background-color-on-pressed:var(--color-canvas); |
| 1161 | --toggle-dot-margin:1px; |
| 1162 | --toggle-dot-height:calc( |
| 1163 | var(--toggle-height) - 2 * var(--toggle-dot-margin) - 2 * |
| 1164 | var(--toggle-border-width) |
| 1165 | ); |
| 1166 | --toggle-dot-width:var(--toggle-dot-height); |
| 1167 | --toggle-dot-transform-x:calc( |
| 1168 | var(--toggle-width) - 4 * var(--toggle-dot-margin) - var(--toggle-dot-width) |
| 1169 | ); |
| 1170 | |
| 1171 | -webkit-appearance:none; |
| 1172 | |
| 1173 | -moz-appearance:none; |
| 1174 | |
| 1175 | appearance:none; |
| 1176 | padding:0; |
| 1177 | margin:0; |
| 1178 | border:var(--toggle-border-width) solid var(--toggle-border-color); |
| 1179 | height:var(--toggle-height); |
| 1180 | width:var(--toggle-width); |
| 1181 | border-radius:var(--toggle-border-radius); |
| 1182 | background:var(--toggle-background-color); |
| 1183 | box-sizing:border-box; |
| 1184 | flex-shrink:0; |
| 1185 | } |
| 1186 | |
| 1187 | @media (prefers-color-scheme: dark){ |
| 1188 | |
| 1189 | :where(html:not(.is-light)) .toggle-button{ |
| 1190 | --button-background-color:color-mix(in srgb, currentColor 7%, transparent); |
| 1191 | --button-background-color-hover:color-mix( |
| 1192 | in srgb, |
| 1193 | currentColor 14%, |
| 1194 | transparent |
| 1195 | ); |
| 1196 | --button-background-color-active:color-mix( |
| 1197 | in srgb, |
| 1198 | currentColor 21%, |
| 1199 | transparent |
| 1200 | ); |
| 1201 | --color-accent-primary:#0df; |
| 1202 | --color-accent-primary-hover:#80ebff; |
| 1203 | --color-accent-primary-active:#aaf2ff; |
| 1204 | --border-interactive-color:#bfbfc9; |
| 1205 | --color-canvas:#1c1b22; |
| 1206 | } |
| 1207 | } |
| 1208 | |
| 1209 | :where(html.is-dark) .toggle-button{ |
| 1210 | --button-background-color:color-mix(in srgb, currentColor 7%, transparent); |
| 1211 | --button-background-color-hover:color-mix( |
| 1212 | in srgb, |
| 1213 | currentColor 14%, |
| 1214 | transparent |
| 1215 | ); |
| 1216 | --button-background-color-active:color-mix( |
| 1217 | in srgb, |
| 1218 | currentColor 21%, |
| 1219 | transparent |
| 1220 | ); |
| 1221 | --color-accent-primary:#0df; |
| 1222 | --color-accent-primary-hover:#80ebff; |
| 1223 | --color-accent-primary-active:#aaf2ff; |
| 1224 | --border-interactive-color:#bfbfc9; |
| 1225 | --color-canvas:#1c1b22; |
| 1226 | } |
| 1227 | |
| 1228 | @media (forced-colors: active){ |
| 1229 | |
| 1230 | .toggle-button{ |
| 1231 | --color-accent-primary:ButtonText; |
| 1232 | --color-accent-primary-hover:SelectedItem; |
| 1233 | --color-accent-primary-active:SelectedItem; |
| 1234 | --border-interactive-color:ButtonText; |
| 1235 | --button-background-color:ButtonFace; |
| 1236 | --border-interactive-color-hover:SelectedItem; |
| 1237 | --border-interactive-color-active:SelectedItem; |
| 1238 | --border-interactive-color-disabled:GrayText; |
| 1239 | --color-canvas:ButtonText; |
| 1240 | } |
| 1241 | } |
| 1242 | |
| 1243 | .toggle-button:focus-visible{ |
| 1244 | outline:var(--focus-outline); |
| 1245 | outline-offset:var(--focus-outline-offset); |
| 1246 | } |
| 1247 | |
| 1248 | .toggle-button:enabled:hover{ |
| 1249 | background:var(--toggle-background-color-hover); |
| 1250 | border-color:var(--toggle-border-color); |
| 1251 | } |
| 1252 | |
| 1253 | .toggle-button:enabled:active{ |
| 1254 | background:var(--toggle-background-color-active); |
| 1255 | border-color:var(--toggle-border-color); |
| 1256 | } |
| 1257 | |
| 1258 | .toggle-button[aria-pressed="true"]{ |
| 1259 | background:var(--toggle-background-color-pressed); |
| 1260 | border-color:transparent; |
| 1261 | } |
| 1262 | |
| 1263 | .toggle-button[aria-pressed="true"]:enabled:hover{ |
| 1264 | background:var(--toggle-background-color-pressed-hover); |
| 1265 | border-color:transparent; |
| 1266 | } |
| 1267 | |
| 1268 | .toggle-button[aria-pressed="true"]:enabled:active{ |
| 1269 | background:var(--toggle-background-color-pressed-active); |
| 1270 | border-color:transparent; |
| 1271 | } |
| 1272 | |
| 1273 | .toggle-button::before{ |
| 1274 | display:block; |
| 1275 | content:""; |
| 1276 | background-color:var(--toggle-dot-background-color); |
| 1277 | height:var(--toggle-dot-height); |
| 1278 | width:var(--toggle-dot-width); |
| 1279 | margin:var(--toggle-dot-margin); |
| 1280 | border-radius:var(--toggle-border-radius); |
| 1281 | translate:0; |
| 1282 | } |
| 1283 | |
| 1284 | .toggle-button[aria-pressed="true"]::before{ |
| 1285 | translate:var(--toggle-dot-transform-x); |
| 1286 | background-color:var(--toggle-dot-background-color-on-pressed); |
| 1287 | } |
| 1288 | |
| 1289 | .toggle-button[aria-pressed="true"]:enabled:hover::before, |
| 1290 | .toggle-button[aria-pressed="true"]:enabled:active::before{ |
| 1291 | background-color:var(--toggle-dot-background-color-on-pressed); |
| 1292 | } |
| 1293 | |
| 1294 | [dir="rtl"] .toggle-button[aria-pressed="true"]::before{ |
| 1295 | translate:calc(-1 * var(--toggle-dot-transform-x)); |
| 1296 | } |
| 1297 | |
| 1298 | @media (prefers-reduced-motion: no-preference){ |
| 1299 | .toggle-button::before{ |
| 1300 | transition:translate 100ms; |
| 1301 | } |
| 1302 | } |
| 1303 | |
| 1304 | @media (prefers-contrast){ |
| 1305 | .toggle-button:enabled:hover{ |
| 1306 | border-color:var(--toggle-border-color-hover); |
| 1307 | } |
| 1308 | |
| 1309 | .toggle-button:enabled:active{ |
| 1310 | border-color:var(--toggle-border-color-active); |
| 1311 | } |
| 1312 | |
| 1313 | .toggle-button[aria-pressed="true"]:enabled{ |
| 1314 | border-color:var(--toggle-border-color); |
| 1315 | position:relative; |
| 1316 | } |
| 1317 | |
| 1318 | .toggle-button[aria-pressed="true"]:enabled:hover, |
| 1319 | .toggle-button[aria-pressed="true"]:enabled:hover:active{ |
| 1320 | border-color:var(--toggle-border-color-hover); |
| 1321 | } |
| 1322 | |
| 1323 | .toggle-button[aria-pressed="true"]:enabled:active{ |
| 1324 | background-color:var(--toggle-dot-background-color-active); |
| 1325 | border-color:var(--toggle-dot-background-color-hover); |
| 1326 | } |
| 1327 | |
| 1328 | .toggle-button:hover::before, |
| 1329 | .toggle-button:active::before{ |
| 1330 | background-color:var(--toggle-dot-background-color-hover); |
| 1331 | } |
| 1332 | } |
| 1333 | |
| 1334 | @media (forced-colors){ |
| 1335 | |
| 1336 | .toggle-button{ |
| 1337 | --toggle-dot-background-color:var(--color-accent-primary); |
| 1338 | --toggle-dot-background-color-hover:var(--color-accent-primary-hover); |
| 1339 | --toggle-dot-background-color-active:var(--color-accent-primary-active); |
| 1340 | --toggle-dot-background-color-on-pressed:var(--button-background-color); |
| 1341 | --toggle-background-color-disabled:var(--button-background-color-disabled); |
| 1342 | --toggle-border-color-hover:var(--border-interactive-color-hover); |
| 1343 | --toggle-border-color-active:var(--border-interactive-color-active); |
| 1344 | --toggle-border-color-disabled:var(--border-interactive-color-disabled); |
| 1345 | } |
| 1346 | |
| 1347 | .toggle-button[aria-pressed="true"]:enabled::after{ |
| 1348 | border:1px solid var(--button-background-color); |
| 1349 | content:""; |
| 1350 | position:absolute; |
| 1351 | height:var(--toggle-height); |
| 1352 | width:var(--toggle-width); |
| 1353 | display:block; |
| 1354 | border-radius:var(--toggle-border-radius); |
| 1355 | inset:-2px; |
| 1356 | } |
| 1357 | |
| 1358 | .toggle-button[aria-pressed="true"]:enabled:active::after{ |
| 1359 | border-color:var(--toggle-border-color-active); |
| 1360 | } |
| 1361 | } |
| 1362 | |
| 1363 | :root{ |
| 1364 | --outline-width:2px; |
| 1365 | --outline-color:#0060df; |
| 1366 | --outline-around-width:1px; |
| 1367 | --outline-around-color:#f0f0f4; |
| 1368 | --hover-outline-around-color:var(--outline-around-color); |
| 1369 | --focus-outline:solid var(--outline-width) var(--outline-color); |
| 1370 | --unfocus-outline:solid var(--outline-width) transparent; |
| 1371 | --focus-outline-around:solid var(--outline-around-width) var(--outline-around-color); |
| 1372 | --hover-outline-color:#8f8f9d; |
| 1373 | --hover-outline:solid var(--outline-width) var(--hover-outline-color); |
| 1374 | --hover-outline-around:solid var(--outline-around-width) var(--hover-outline-around-color); |
| 1375 | --freetext-line-height:1.35; |
| 1376 | --freetext-padding:2px; |
| 1377 | --resizer-bg-color:var(--outline-color); |
| 1378 | --resizer-size:6px; |
| 1379 | --resizer-shift:calc( |
| 1380 | 0px - (var(--outline-width) + var(--resizer-size)) / 2 - |
| 1381 | var(--outline-around-width) |
| 1382 | ); |
| 1383 | --editorFreeText-editing-cursor:text; |
| 1384 | --editorInk-editing-cursor:url(images/cursor-editorInk.svg) 0 16, pointer; |
| 1385 | --editorHighlight-editing-cursor:url(images/cursor-editorTextHighlight.svg) 24 24, text; |
| 1386 | --editorFreeHighlight-editing-cursor:url(images/cursor-editorFreeHighlight.svg) 1 18, pointer; |
| 1387 | } |
| 1388 | .visuallyHidden{ |
| 1389 | position:absolute; |
| 1390 | top:0; |
| 1391 | left:0; |
| 1392 | border:0; |
| 1393 | margin:0; |
| 1394 | padding:0; |
| 1395 | width:0; |
| 1396 | height:0; |
| 1397 | overflow:hidden; |
| 1398 | white-space:nowrap; |
| 1399 | font-size:0; |
| 1400 | } |
| 1401 | |
| 1402 | .textLayer.highlighting{ |
| 1403 | cursor:var(--editorFreeHighlight-editing-cursor); |
| 1404 | } |
| 1405 | |
| 1406 | .textLayer.highlighting:not(.free) span{ |
| 1407 | cursor:var(--editorHighlight-editing-cursor); |
| 1408 | } |
| 1409 | |
| 1410 | .textLayer.highlighting.free span{ |
| 1411 | cursor:var(--editorFreeHighlight-editing-cursor); |
| 1412 | } |
| 1413 | |
| 1414 | @media (min-resolution: 1.1dppx){ |
| 1415 | :root{ |
| 1416 | --editorFreeText-editing-cursor:url(images/cursor-editorFreeText.svg) 0 16, text; |
| 1417 | } |
| 1418 | } |
| 1419 | |
| 1420 | @media screen and (forced-colors: active){ |
| 1421 | :root{ |
| 1422 | --outline-color:CanvasText; |
| 1423 | --outline-around-color:ButtonFace; |
| 1424 | --resizer-bg-color:ButtonText; |
| 1425 | --hover-outline-color:Highlight; |
| 1426 | --hover-outline-around-color:SelectedItemText; |
| 1427 | } |
| 1428 | } |
| 1429 | |
| 1430 | [data-editor-rotation="90"]{ |
| 1431 | transform:rotate(90deg); |
| 1432 | } |
| 1433 | |
| 1434 | [data-editor-rotation="180"]{ |
| 1435 | transform:rotate(180deg); |
| 1436 | } |
| 1437 | |
| 1438 | [data-editor-rotation="270"]{ |
| 1439 | transform:rotate(270deg); |
| 1440 | } |
| 1441 | |
| 1442 | .annotationEditorLayer{ |
| 1443 | background:transparent; |
| 1444 | position:absolute; |
| 1445 | inset:0; |
| 1446 | font-size:calc(100px * var(--scale-factor)); |
| 1447 | transform-origin:0 0; |
| 1448 | cursor:auto; |
| 1449 | } |
| 1450 | |
| 1451 | .annotationEditorLayer.waiting{ |
| 1452 | content:""; |
| 1453 | cursor:wait; |
| 1454 | position:absolute; |
| 1455 | inset:0; |
| 1456 | width:100%; |
| 1457 | height:100%; |
| 1458 | } |
| 1459 | |
| 1460 | .annotationEditorLayer.disabled{ |
| 1461 | pointer-events:none; |
| 1462 | } |
| 1463 | |
| 1464 | .annotationEditorLayer.freetextEditing{ |
| 1465 | cursor:var(--editorFreeText-editing-cursor); |
| 1466 | } |
| 1467 | |
| 1468 | .annotationEditorLayer.inkEditing{ |
| 1469 | cursor:var(--editorInk-editing-cursor); |
| 1470 | } |
| 1471 | |
| 1472 | .annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor){ |
| 1473 | position:absolute; |
| 1474 | background:transparent; |
| 1475 | z-index:1; |
| 1476 | transform-origin:0 0; |
| 1477 | cursor:auto; |
| 1478 | max-width:100%; |
| 1479 | max-height:100%; |
| 1480 | border:var(--unfocus-outline); |
| 1481 | } |
| 1482 | |
| 1483 | .annotationEditorLayer .draggable.selectedEditor:is(.freeTextEditor, .inkEditor, .stampEditor){ |
| 1484 | cursor:move; |
| 1485 | } |
| 1486 | |
| 1487 | .annotationEditorLayer .moving:is(.freeTextEditor, .inkEditor, .stampEditor){ |
| 1488 | touch-action:none; |
| 1489 | } |
| 1490 | |
| 1491 | .annotationEditorLayer .selectedEditor:is(.freeTextEditor, .inkEditor, .stampEditor){ |
| 1492 | border:var(--focus-outline); |
| 1493 | outline:var(--focus-outline-around); |
| 1494 | } |
| 1495 | |
| 1496 | .annotationEditorLayer .selectedEditor:is(.freeTextEditor, .inkEditor, .stampEditor)::before{ |
| 1497 | content:""; |
| 1498 | position:absolute; |
| 1499 | inset:0; |
| 1500 | border:var(--focus-outline-around); |
| 1501 | pointer-events:none; |
| 1502 | } |
| 1503 | |
| 1504 | .annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor):hover:not(.selectedEditor){ |
| 1505 | border:var(--hover-outline); |
| 1506 | outline:var(--hover-outline-around); |
| 1507 | } |
| 1508 | |
| 1509 | .annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor):hover:not(.selectedEditor)::before{ |
| 1510 | content:""; |
| 1511 | position:absolute; |
| 1512 | inset:0; |
| 1513 | border:var(--focus-outline-around); |
| 1514 | } |
| 1515 | |
| 1516 | :is(.annotationEditorLayer |
| 1517 | :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar{ |
| 1518 | --editor-toolbar-delete-image:url(images/editor-toolbar-delete.svg); |
| 1519 | --editor-toolbar-bg-color:#f0f0f4; |
| 1520 | --editor-toolbar-highlight-image:url(images/toolbarButton-editorHighlight.svg); |
| 1521 | --editor-toolbar-fg-color:#2e2e56; |
| 1522 | --editor-toolbar-border-color:#8f8f9d; |
| 1523 | --editor-toolbar-hover-border-color:var(--editor-toolbar-border-color); |
| 1524 | --editor-toolbar-hover-bg-color:#e0e0e6; |
| 1525 | --editor-toolbar-hover-fg-color:var(--editor-toolbar-fg-color); |
| 1526 | --editor-toolbar-hover-outline:none; |
| 1527 | --editor-toolbar-focus-outline-color:#0060df; |
| 1528 | --editor-toolbar-shadow:0 2px 6px 0 rgb(58 57 68 / 0.2); |
| 1529 | --editor-toolbar-vert-offset:6px; |
| 1530 | --editor-toolbar-height:28px; |
| 1531 | --editor-toolbar-padding:2px; |
| 1532 | |
| 1533 | display:flex; |
| 1534 | width:-moz-fit-content; |
| 1535 | width:fit-content; |
| 1536 | height:var(--editor-toolbar-height); |
| 1537 | flex-direction:column; |
| 1538 | justify-content:center; |
| 1539 | align-items:center; |
| 1540 | cursor:default; |
| 1541 | pointer-events:auto; |
| 1542 | box-sizing:content-box; |
| 1543 | padding:var(--editor-toolbar-padding); |
| 1544 | |
| 1545 | position:absolute; |
| 1546 | inset-inline-end:0; |
| 1547 | inset-block-start:calc(100% + var(--editor-toolbar-vert-offset)); |
| 1548 | |
| 1549 | border-radius:6px; |
| 1550 | background-color:var(--editor-toolbar-bg-color); |
| 1551 | border:1px solid var(--editor-toolbar-border-color); |
| 1552 | box-shadow:var(--editor-toolbar-shadow); |
| 1553 | } |
| 1554 | |
| 1555 | @media (prefers-color-scheme: dark){ |
| 1556 | |
| 1557 | :where(html:not(.is-light)) :is(.annotationEditorLayer |
| 1558 | :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar{ |
| 1559 | --editor-toolbar-bg-color:#2b2a33; |
| 1560 | --editor-toolbar-fg-color:#fbfbfe; |
| 1561 | --editor-toolbar-hover-bg-color:#52525e; |
| 1562 | --editor-toolbar-focus-outline-color:#0df; |
| 1563 | } |
| 1564 | } |
| 1565 | |
| 1566 | :where(html.is-dark) :is(.annotationEditorLayer |
| 1567 | :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar{ |
| 1568 | --editor-toolbar-bg-color:#2b2a33; |
| 1569 | --editor-toolbar-fg-color:#fbfbfe; |
| 1570 | --editor-toolbar-hover-bg-color:#52525e; |
| 1571 | --editor-toolbar-focus-outline-color:#0df; |
| 1572 | } |
| 1573 | |
| 1574 | @media screen and (forced-colors: active){ |
| 1575 | |
| 1576 | :is(.annotationEditorLayer |
| 1577 | :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar{ |
| 1578 | --editor-toolbar-bg-color:ButtonFace; |
| 1579 | --editor-toolbar-fg-color:ButtonText; |
| 1580 | --editor-toolbar-border-color:ButtonText; |
| 1581 | --editor-toolbar-hover-border-color:AccentColor; |
| 1582 | --editor-toolbar-hover-bg-color:ButtonFace; |
| 1583 | --editor-toolbar-hover-fg-color:AccentColor; |
| 1584 | --editor-toolbar-hover-outline:2px solid var(--editor-toolbar-hover-border-color); |
| 1585 | --editor-toolbar-focus-outline-color:ButtonBorder; |
| 1586 | --editor-toolbar-shadow:none; |
| 1587 | } |
| 1588 | } |
| 1589 | |
| 1590 | :is(.annotationEditorLayer |
| 1591 | :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar.hidden{ |
| 1592 | display:none; |
| 1593 | } |
| 1594 | |
| 1595 | :is(.annotationEditorLayer |
| 1596 | :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar:has(:focus-visible){ |
| 1597 | border-color:transparent; |
| 1598 | } |
| 1599 | |
| 1600 | [dir="ltr"] :is(.annotationEditorLayer |
| 1601 | :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar{ |
| 1602 | transform-origin:100% 0; |
| 1603 | } |
| 1604 | |
| 1605 | [dir="rtl"] :is(.annotationEditorLayer |
| 1606 | :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar{ |
| 1607 | transform-origin:0 0; |
| 1608 | } |
| 1609 | |
| 1610 | :is(.annotationEditorLayer |
| 1611 | :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons{ |
| 1612 | display:flex; |
| 1613 | justify-content:center; |
| 1614 | align-items:center; |
| 1615 | gap:0; |
| 1616 | height:100%; |
| 1617 | } |
| 1618 | |
| 1619 | :is(.annotationEditorLayer |
| 1620 | :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .divider{ |
| 1621 | width:1px; |
| 1622 | height:calc( |
| 1623 | 2 * var(--editor-toolbar-padding) + var(--editor-toolbar-height) |
| 1624 | ); |
| 1625 | background-color:var(--editor-toolbar-border-color); |
| 1626 | display:inline-block; |
| 1627 | margin-inline:2px; |
| 1628 | } |
| 1629 | |
| 1630 | :is(.annotationEditorLayer |
| 1631 | :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .highlightButton{ |
| 1632 | width:var(--editor-toolbar-height); |
| 1633 | } |
| 1634 | |
| 1635 | :is(.annotationEditorLayer |
| 1636 | :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .highlightButton::before{ |
| 1637 | content:""; |
| 1638 | -webkit-mask-image:var(--editor-toolbar-highlight-image); |
| 1639 | mask-image:var(--editor-toolbar-highlight-image); |
| 1640 | -webkit-mask-repeat:no-repeat; |
| 1641 | mask-repeat:no-repeat; |
| 1642 | -webkit-mask-position:center; |
| 1643 | mask-position:center; |
| 1644 | display:inline-block; |
| 1645 | background-color:var(--editor-toolbar-fg-color); |
| 1646 | width:100%; |
| 1647 | height:100%; |
| 1648 | } |
| 1649 | |
| 1650 | :is(.annotationEditorLayer |
| 1651 | :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .highlightButton:hover::before{ |
| 1652 | background-color:var(--editor-toolbar-hover-fg-color); |
| 1653 | } |
| 1654 | |
| 1655 | :is(.annotationEditorLayer |
| 1656 | :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .delete{ |
| 1657 | width:var(--editor-toolbar-height); |
| 1658 | } |
| 1659 | |
| 1660 | :is(.annotationEditorLayer |
| 1661 | :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .delete::before{ |
| 1662 | content:""; |
| 1663 | -webkit-mask-image:var(--editor-toolbar-delete-image); |
| 1664 | mask-image:var(--editor-toolbar-delete-image); |
| 1665 | -webkit-mask-repeat:no-repeat; |
| 1666 | mask-repeat:no-repeat; |
| 1667 | -webkit-mask-position:center; |
| 1668 | mask-position:center; |
| 1669 | display:inline-block; |
| 1670 | background-color:var(--editor-toolbar-fg-color); |
| 1671 | width:100%; |
| 1672 | height:100%; |
| 1673 | } |
| 1674 | |
| 1675 | :is(.annotationEditorLayer |
| 1676 | :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .delete:hover::before{ |
| 1677 | background-color:var(--editor-toolbar-hover-fg-color); |
| 1678 | } |
| 1679 | |
| 1680 | :is(.annotationEditorLayer |
| 1681 | :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons > *{ |
| 1682 | height:var(--editor-toolbar-height); |
| 1683 | } |
| 1684 | |
| 1685 | :is(.annotationEditorLayer |
| 1686 | :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons > :not(.divider){ |
| 1687 | border:none; |
| 1688 | background-color:transparent; |
| 1689 | cursor:pointer; |
| 1690 | } |
| 1691 | |
| 1692 | :is(.annotationEditorLayer |
| 1693 | :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons > :not(.divider):hover{ |
| 1694 | border-radius:2px; |
| 1695 | background-color:var(--editor-toolbar-hover-bg-color); |
| 1696 | color:var(--editor-toolbar-hover-fg-color); |
| 1697 | outline:var(--editor-toolbar-hover-outline); |
| 1698 | outline-offset:1px; |
| 1699 | } |
| 1700 | |
| 1701 | :is(.annotationEditorLayer |
| 1702 | :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons > :not(.divider):hover:active{ |
| 1703 | outline:none; |
| 1704 | } |
| 1705 | |
| 1706 | :is(.annotationEditorLayer |
| 1707 | :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons > :not(.divider):focus-visible{ |
| 1708 | border-radius:2px; |
| 1709 | outline:2px solid var(--editor-toolbar-focus-outline-color); |
| 1710 | } |
| 1711 | |
| 1712 | :is(.annotationEditorLayer |
| 1713 | :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .altText{ |
| 1714 | --alt-text-add-image:url(images/altText_add.svg); |
| 1715 | --alt-text-done-image:url(images/altText_done.svg); |
| 1716 | |
| 1717 | display:flex; |
| 1718 | align-items:center; |
| 1719 | justify-content:center; |
| 1720 | width:-moz-max-content; |
| 1721 | width:max-content; |
| 1722 | padding-inline:8px; |
| 1723 | pointer-events:all; |
| 1724 | font:menu; |
| 1725 | font-weight:590; |
| 1726 | font-size:12px; |
| 1727 | color:var(--editor-toolbar-fg-color); |
| 1728 | } |
| 1729 | |
| 1730 | :is(.annotationEditorLayer |
| 1731 | :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .altText:disabled{ |
| 1732 | pointer-events:none; |
| 1733 | } |
| 1734 | |
| 1735 | :is(.annotationEditorLayer |
| 1736 | :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .altText::before{ |
| 1737 | content:""; |
| 1738 | -webkit-mask-image:var(--alt-text-add-image); |
| 1739 | mask-image:var(--alt-text-add-image); |
| 1740 | -webkit-mask-repeat:no-repeat; |
| 1741 | mask-repeat:no-repeat; |
| 1742 | -webkit-mask-position:center; |
| 1743 | mask-position:center; |
| 1744 | display:inline-block; |
| 1745 | width:12px; |
| 1746 | height:13px; |
| 1747 | background-color:var(--editor-toolbar-fg-color); |
| 1748 | margin-inline-end:4px; |
| 1749 | } |
| 1750 | |
| 1751 | :is(.annotationEditorLayer |
| 1752 | :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .altText:hover::before{ |
| 1753 | background-color:var(--editor-toolbar-hover-fg-color); |
| 1754 | } |
| 1755 | |
| 1756 | :is(.annotationEditorLayer |
| 1757 | :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .altText.done::before{ |
| 1758 | -webkit-mask-image:var(--alt-text-done-image); |
| 1759 | mask-image:var(--alt-text-done-image); |
| 1760 | } |
| 1761 | |
| 1762 | :is(.annotationEditorLayer |
| 1763 | :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .altText .tooltip{ |
| 1764 | display:none; |
| 1765 | } |
| 1766 | |
| 1767 | :is(.annotationEditorLayer |
| 1768 | :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .altText .tooltip.show{ |
| 1769 | --alt-text-tooltip-bg:#f0f0f4; |
| 1770 | --alt-text-tooltip-fg:#15141a; |
| 1771 | --alt-text-tooltip-border:#8f8f9d; |
| 1772 | --alt-text-tooltip-shadow:0px 2px 6px 0px rgb(58 57 68 / 0.2); |
| 1773 | |
| 1774 | display:inline-flex; |
| 1775 | flex-direction:column; |
| 1776 | align-items:center; |
| 1777 | justify-content:center; |
| 1778 | position:absolute; |
| 1779 | top:calc(100% + 2px); |
| 1780 | inset-inline-start:0; |
| 1781 | padding-block:2px 3px; |
| 1782 | padding-inline:3px; |
| 1783 | max-width:300px; |
| 1784 | width:-moz-max-content; |
| 1785 | width:max-content; |
| 1786 | height:auto; |
| 1787 | font-size:12px; |
| 1788 | |
| 1789 | border:0.5px solid var(--alt-text-tooltip-border); |
| 1790 | background:var(--alt-text-tooltip-bg); |
| 1791 | box-shadow:var(--alt-text-tooltip-shadow); |
| 1792 | color:var(--alt-text-tooltip-fg); |
| 1793 | |
| 1794 | pointer-events:none; |
| 1795 | } |
| 1796 | |
| 1797 | @media (prefers-color-scheme: dark){ |
| 1798 | |
| 1799 | :where(html:not(.is-light)) :is(.annotationEditorLayer |
| 1800 | :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .altText .tooltip.show{ |
| 1801 | --alt-text-tooltip-bg:#1c1b22; |
| 1802 | --alt-text-tooltip-fg:#fbfbfe; |
| 1803 | --alt-text-tooltip-shadow:0px 2px 6px 0px #15141a; |
| 1804 | } |
| 1805 | } |
| 1806 | |
| 1807 | :where(html.is-dark) :is(.annotationEditorLayer |
| 1808 | :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .altText .tooltip.show{ |
| 1809 | --alt-text-tooltip-bg:#1c1b22; |
| 1810 | --alt-text-tooltip-fg:#fbfbfe; |
| 1811 | --alt-text-tooltip-shadow:0px 2px 6px 0px #15141a; |
| 1812 | } |
| 1813 | |
| 1814 | @media screen and (forced-colors: active){ |
| 1815 | |
| 1816 | :is(.annotationEditorLayer |
| 1817 | :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .altText .tooltip.show{ |
| 1818 | --alt-text-tooltip-bg:Canvas; |
| 1819 | --alt-text-tooltip-fg:CanvasText; |
| 1820 | --alt-text-tooltip-border:CanvasText; |
| 1821 | --alt-text-tooltip-shadow:none; |
| 1822 | } |
| 1823 | } |
| 1824 | |
| 1825 | .annotationEditorLayer .freeTextEditor{ |
| 1826 | padding:calc(var(--freetext-padding) * var(--scale-factor)); |
| 1827 | width:auto; |
| 1828 | height:auto; |
| 1829 | touch-action:none; |
| 1830 | } |
| 1831 | |
| 1832 | .annotationEditorLayer .freeTextEditor .internal{ |
| 1833 | background:transparent; |
| 1834 | border:none; |
| 1835 | inset:0; |
| 1836 | overflow:visible; |
| 1837 | white-space:nowrap; |
| 1838 | font:10px sans-serif; |
| 1839 | line-height:var(--freetext-line-height); |
| 1840 | -webkit-user-select:none; |
| 1841 | -moz-user-select:none; |
| 1842 | user-select:none; |
| 1843 | } |
| 1844 | |
| 1845 | .annotationEditorLayer .freeTextEditor .overlay{ |
| 1846 | position:absolute; |
| 1847 | display:none; |
| 1848 | background:transparent; |
| 1849 | inset:0; |
| 1850 | width:100%; |
| 1851 | height:100%; |
| 1852 | } |
| 1853 | |
| 1854 | .annotationEditorLayer freeTextEditor .overlay.enabled{ |
| 1855 | display:block; |
| 1856 | } |
| 1857 | |
| 1858 | .annotationEditorLayer .freeTextEditor .internal:empty::before{ |
| 1859 | content:attr(default-content); |
| 1860 | color:gray; |
| 1861 | } |
| 1862 | |
| 1863 | .annotationEditorLayer .freeTextEditor .internal:focus{ |
| 1864 | outline:none; |
| 1865 | -webkit-user-select:auto; |
| 1866 | -moz-user-select:auto; |
| 1867 | user-select:auto; |
| 1868 | } |
| 1869 | |
| 1870 | .annotationEditorLayer .inkEditor{ |
| 1871 | width:100%; |
| 1872 | height:100%; |
| 1873 | } |
| 1874 | |
| 1875 | .annotationEditorLayer .inkEditor.editing{ |
| 1876 | cursor:inherit; |
| 1877 | } |
| 1878 | |
| 1879 | .annotationEditorLayer .inkEditor .inkEditorCanvas{ |
| 1880 | position:absolute; |
| 1881 | inset:0; |
| 1882 | width:100%; |
| 1883 | height:100%; |
| 1884 | touch-action:none; |
| 1885 | } |
| 1886 | |
| 1887 | .annotationEditorLayer .stampEditor{ |
| 1888 | width:auto; |
| 1889 | height:auto; |
| 1890 | } |
| 1891 | |
| 1892 | .annotationEditorLayer .stampEditor canvas{ |
| 1893 | position:absolute; |
| 1894 | width:100%; |
| 1895 | height:100%; |
| 1896 | margin:0; |
| 1897 | } |
| 1898 | |
| 1899 | .annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers{ |
| 1900 | position:absolute; |
| 1901 | inset:0; |
| 1902 | } |
| 1903 | |
| 1904 | .annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers.hidden{ |
| 1905 | display:none; |
| 1906 | } |
| 1907 | |
| 1908 | .annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers > .resizer{ |
| 1909 | width:var(--resizer-size); |
| 1910 | height:var(--resizer-size); |
| 1911 | background:content-box var(--resizer-bg-color); |
| 1912 | border:var(--focus-outline-around); |
| 1913 | border-radius:2px; |
| 1914 | position:absolute; |
| 1915 | } |
| 1916 | |
| 1917 | .annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers > .resizer.topLeft{ |
| 1918 | top:var(--resizer-shift); |
| 1919 | left:var(--resizer-shift); |
| 1920 | } |
| 1921 | |
| 1922 | .annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers > .resizer.topMiddle{ |
| 1923 | top:var(--resizer-shift); |
| 1924 | left:calc(50% + var(--resizer-shift)); |
| 1925 | } |
| 1926 | |
| 1927 | .annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers > .resizer.topRight{ |
| 1928 | top:var(--resizer-shift); |
| 1929 | right:var(--resizer-shift); |
| 1930 | } |
| 1931 | |
| 1932 | .annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers > .resizer.middleRight{ |
| 1933 | top:calc(50% + var(--resizer-shift)); |
| 1934 | right:var(--resizer-shift); |
| 1935 | } |
| 1936 | |
| 1937 | .annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers > .resizer.bottomRight{ |
| 1938 | bottom:var(--resizer-shift); |
| 1939 | right:var(--resizer-shift); |
| 1940 | } |
| 1941 | |
| 1942 | .annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers > .resizer.bottomMiddle{ |
| 1943 | bottom:var(--resizer-shift); |
| 1944 | left:calc(50% + var(--resizer-shift)); |
| 1945 | } |
| 1946 | |
| 1947 | .annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers > .resizer.bottomLeft{ |
| 1948 | bottom:var(--resizer-shift); |
| 1949 | left:var(--resizer-shift); |
| 1950 | } |
| 1951 | |
| 1952 | .annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers > .resizer.middleLeft{ |
| 1953 | top:calc(50% + var(--resizer-shift)); |
| 1954 | left:var(--resizer-shift); |
| 1955 | } |
| 1956 | |
| 1957 | .annotationEditorLayer[data-main-rotation="0"] |
| 1958 | :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.topLeft, |
| 1959 | .annotationEditorLayer[data-main-rotation="90"] |
| 1960 | :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.topLeft, |
| 1961 | .annotationEditorLayer[data-main-rotation="180"] |
| 1962 | :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.topLeft, |
| 1963 | .annotationEditorLayer[data-main-rotation="270"] |
| 1964 | :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.topLeft, |
| 1965 | .annotationEditorLayer[data-main-rotation="0"] |
| 1966 | :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.bottomRight, |
| 1967 | .annotationEditorLayer[data-main-rotation="90"] |
| 1968 | :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.bottomRight, |
| 1969 | .annotationEditorLayer[data-main-rotation="180"] |
| 1970 | :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.bottomRight, |
| 1971 | .annotationEditorLayer[data-main-rotation="270"] |
| 1972 | :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.bottomRight{ |
| 1973 | cursor:nwse-resize; |
| 1974 | } |
| 1975 | |
| 1976 | .annotationEditorLayer[data-main-rotation="0"] |
| 1977 | :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.topMiddle, |
| 1978 | .annotationEditorLayer[data-main-rotation="90"] |
| 1979 | :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.topMiddle, |
| 1980 | .annotationEditorLayer[data-main-rotation="180"] |
| 1981 | :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.topMiddle, |
| 1982 | .annotationEditorLayer[data-main-rotation="270"] |
| 1983 | :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.topMiddle, |
| 1984 | .annotationEditorLayer[data-main-rotation="0"] |
| 1985 | :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.bottomMiddle, |
| 1986 | .annotationEditorLayer[data-main-rotation="90"] |
| 1987 | :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.bottomMiddle, |
| 1988 | .annotationEditorLayer[data-main-rotation="180"] |
| 1989 | :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.bottomMiddle, |
| 1990 | .annotationEditorLayer[data-main-rotation="270"] |
| 1991 | :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.bottomMiddle{ |
| 1992 | cursor:ns-resize; |
| 1993 | } |
| 1994 | |
| 1995 | .annotationEditorLayer[data-main-rotation="0"] |
| 1996 | :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.topRight, |
| 1997 | .annotationEditorLayer[data-main-rotation="90"] |
| 1998 | :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.topRight, |
| 1999 | .annotationEditorLayer[data-main-rotation="180"] |
| 2000 | :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.topRight, |
| 2001 | .annotationEditorLayer[data-main-rotation="270"] |
| 2002 | :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.topRight, |
| 2003 | .annotationEditorLayer[data-main-rotation="0"] |
| 2004 | :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.bottomLeft, |
| 2005 | .annotationEditorLayer[data-main-rotation="90"] |
| 2006 | :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.bottomLeft, |
| 2007 | .annotationEditorLayer[data-main-rotation="180"] |
| 2008 | :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.bottomLeft, |
| 2009 | .annotationEditorLayer[data-main-rotation="270"] |
| 2010 | :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.bottomLeft{ |
| 2011 | cursor:nesw-resize; |
| 2012 | } |
| 2013 | |
| 2014 | .annotationEditorLayer[data-main-rotation="0"] |
| 2015 | :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.middleRight, |
| 2016 | .annotationEditorLayer[data-main-rotation="90"] |
| 2017 | :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.middleRight, |
| 2018 | .annotationEditorLayer[data-main-rotation="180"] |
| 2019 | :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.middleRight, |
| 2020 | .annotationEditorLayer[data-main-rotation="270"] |
| 2021 | :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.middleRight, |
| 2022 | .annotationEditorLayer[data-main-rotation="0"] |
| 2023 | :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.middleLeft, |
| 2024 | .annotationEditorLayer[data-main-rotation="90"] |
| 2025 | :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.middleLeft, |
| 2026 | .annotationEditorLayer[data-main-rotation="180"] |
| 2027 | :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.middleLeft, |
| 2028 | .annotationEditorLayer[data-main-rotation="270"] |
| 2029 | :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.middleLeft{ |
| 2030 | cursor:ew-resize; |
| 2031 | } |
| 2032 | |
| 2033 | .annotationEditorLayer[data-main-rotation="0"] |
| 2034 | :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.topLeft, |
| 2035 | .annotationEditorLayer[data-main-rotation="90"] |
| 2036 | :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.topLeft, |
| 2037 | .annotationEditorLayer[data-main-rotation="180"] |
| 2038 | :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.topLeft, |
| 2039 | .annotationEditorLayer[data-main-rotation="270"] |
| 2040 | :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.topLeft, |
| 2041 | .annotationEditorLayer[data-main-rotation="0"] |
| 2042 | :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.bottomRight, |
| 2043 | .annotationEditorLayer[data-main-rotation="90"] |
| 2044 | :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.bottomRight, |
| 2045 | .annotationEditorLayer[data-main-rotation="180"] |
| 2046 | :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.bottomRight, |
| 2047 | .annotationEditorLayer[data-main-rotation="270"] |
| 2048 | :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.bottomRight{ |
| 2049 | cursor:nesw-resize; |
| 2050 | } |
| 2051 | |
| 2052 | .annotationEditorLayer[data-main-rotation="0"] |
| 2053 | :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.topMiddle, |
| 2054 | .annotationEditorLayer[data-main-rotation="90"] |
| 2055 | :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.topMiddle, |
| 2056 | .annotationEditorLayer[data-main-rotation="180"] |
| 2057 | :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.topMiddle, |
| 2058 | .annotationEditorLayer[data-main-rotation="270"] |
| 2059 | :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.topMiddle, |
| 2060 | .annotationEditorLayer[data-main-rotation="0"] |
| 2061 | :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.bottomMiddle, |
| 2062 | .annotationEditorLayer[data-main-rotation="90"] |
| 2063 | :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.bottomMiddle, |
| 2064 | .annotationEditorLayer[data-main-rotation="180"] |
| 2065 | :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.bottomMiddle, |
| 2066 | .annotationEditorLayer[data-main-rotation="270"] |
| 2067 | :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.bottomMiddle{ |
| 2068 | cursor:ew-resize; |
| 2069 | } |
| 2070 | |
| 2071 | .annotationEditorLayer[data-main-rotation="0"] |
| 2072 | :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.topRight, |
| 2073 | .annotationEditorLayer[data-main-rotation="90"] |
| 2074 | :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.topRight, |
| 2075 | .annotationEditorLayer[data-main-rotation="180"] |
| 2076 | :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.topRight, |
| 2077 | .annotationEditorLayer[data-main-rotation="270"] |
| 2078 | :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.topRight, |
| 2079 | .annotationEditorLayer[data-main-rotation="0"] |
| 2080 | :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.bottomLeft, |
| 2081 | .annotationEditorLayer[data-main-rotation="90"] |
| 2082 | :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.bottomLeft, |
| 2083 | .annotationEditorLayer[data-main-rotation="180"] |
| 2084 | :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.bottomLeft, |
| 2085 | .annotationEditorLayer[data-main-rotation="270"] |
| 2086 | :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.bottomLeft{ |
| 2087 | cursor:nwse-resize; |
| 2088 | } |
| 2089 | |
| 2090 | .annotationEditorLayer[data-main-rotation="0"] |
| 2091 | :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.middleRight, |
| 2092 | .annotationEditorLayer[data-main-rotation="90"] |
| 2093 | :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.middleRight, |
| 2094 | .annotationEditorLayer[data-main-rotation="180"] |
| 2095 | :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.middleRight, |
| 2096 | .annotationEditorLayer[data-main-rotation="270"] |
| 2097 | :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.middleRight, |
| 2098 | .annotationEditorLayer[data-main-rotation="0"] |
| 2099 | :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.middleLeft, |
| 2100 | .annotationEditorLayer[data-main-rotation="90"] |
| 2101 | :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.middleLeft, |
| 2102 | .annotationEditorLayer[data-main-rotation="180"] |
| 2103 | :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.middleLeft, |
| 2104 | .annotationEditorLayer[data-main-rotation="270"] |
| 2105 | :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.middleLeft{ |
| 2106 | cursor:ns-resize; |
| 2107 | } |
| 2108 | |
| 2109 | .annotationEditorLayer |
| 2110 | :is( |
| 2111 | [data-main-rotation="0"] [data-editor-rotation="90"], |
| 2112 | [data-main-rotation="90"] [data-editor-rotation="0"], |
| 2113 | [data-main-rotation="180"] [data-editor-rotation="270"], |
| 2114 | [data-main-rotation="270"] [data-editor-rotation="180"] |
| 2115 | ) .editToolbar{ |
| 2116 | rotate:270deg; |
| 2117 | } |
| 2118 | |
| 2119 | [dir="ltr"] .annotationEditorLayer |
| 2120 | :is( |
| 2121 | [data-main-rotation="0"] [data-editor-rotation="90"], |
| 2122 | [data-main-rotation="90"] [data-editor-rotation="0"], |
| 2123 | [data-main-rotation="180"] [data-editor-rotation="270"], |
| 2124 | [data-main-rotation="270"] [data-editor-rotation="180"] |
| 2125 | ) .editToolbar{ |
| 2126 | inset-inline-end:calc(0px - var(--editor-toolbar-vert-offset)); |
| 2127 | inset-block-start:0; |
| 2128 | } |
| 2129 | |
| 2130 | [dir="rtl"] .annotationEditorLayer |
| 2131 | :is( |
| 2132 | [data-main-rotation="0"] [data-editor-rotation="90"], |
| 2133 | [data-main-rotation="90"] [data-editor-rotation="0"], |
| 2134 | [data-main-rotation="180"] [data-editor-rotation="270"], |
| 2135 | [data-main-rotation="270"] [data-editor-rotation="180"] |
| 2136 | ) .editToolbar{ |
| 2137 | inset-inline-end:calc(100% + var(--editor-toolbar-vert-offset)); |
| 2138 | inset-block-start:0; |
| 2139 | } |
| 2140 | |
| 2141 | .annotationEditorLayer |
| 2142 | :is( |
| 2143 | [data-main-rotation="0"] [data-editor-rotation="180"], |
| 2144 | [data-main-rotation="90"] [data-editor-rotation="90"], |
| 2145 | [data-main-rotation="180"] [data-editor-rotation="0"], |
| 2146 | [data-main-rotation="270"] [data-editor-rotation="270"] |
| 2147 | ) .editToolbar{ |
| 2148 | rotate:180deg; |
| 2149 | inset-inline-end:100%; |
| 2150 | inset-block-start:calc(0pc - var(--editor-toolbar-vert-offset)); |
| 2151 | } |
| 2152 | |
| 2153 | .annotationEditorLayer |
| 2154 | :is( |
| 2155 | [data-main-rotation="0"] [data-editor-rotation="270"], |
| 2156 | [data-main-rotation="90"] [data-editor-rotation="180"], |
| 2157 | [data-main-rotation="180"] [data-editor-rotation="90"], |
| 2158 | [data-main-rotation="270"] [data-editor-rotation="0"] |
| 2159 | ) .editToolbar{ |
| 2160 | rotate:90deg; |
| 2161 | } |
| 2162 | |
| 2163 | [dir="ltr"] .annotationEditorLayer |
| 2164 | :is( |
| 2165 | [data-main-rotation="0"] [data-editor-rotation="270"], |
| 2166 | [data-main-rotation="90"] [data-editor-rotation="180"], |
| 2167 | [data-main-rotation="180"] [data-editor-rotation="90"], |
| 2168 | [data-main-rotation="270"] [data-editor-rotation="0"] |
| 2169 | ) .editToolbar{ |
| 2170 | inset-inline-end:calc(100% + var(--editor-toolbar-vert-offset)); |
| 2171 | inset-block-start:100%; |
| 2172 | } |
| 2173 | |
| 2174 | [dir="rtl"] .annotationEditorLayer |
| 2175 | :is( |
| 2176 | [data-main-rotation="0"] [data-editor-rotation="270"], |
| 2177 | [data-main-rotation="90"] [data-editor-rotation="180"], |
| 2178 | [data-main-rotation="180"] [data-editor-rotation="90"], |
| 2179 | [data-main-rotation="270"] [data-editor-rotation="0"] |
| 2180 | ) .editToolbar{ |
| 2181 | inset-inline-start:calc(0px - var(--editor-toolbar-vert-offset)); |
| 2182 | inset-block-start:0; |
| 2183 | } |
| 2184 | |
| 2185 | .dialog.altText::backdrop{ |
| 2186 | -webkit-mask:url(#alttext-manager-mask); |
| 2187 | mask:url(#alttext-manager-mask); |
| 2188 | } |
| 2189 | |
| 2190 | .dialog.altText.positioned{ |
| 2191 | margin:0; |
| 2192 | } |
| 2193 | |
| 2194 | .dialog.altText #altTextContainer{ |
| 2195 | width:300px; |
| 2196 | height:-moz-fit-content; |
| 2197 | height:fit-content; |
| 2198 | display:inline-flex; |
| 2199 | flex-direction:column; |
| 2200 | align-items:flex-start; |
| 2201 | gap:16px; |
| 2202 | } |
| 2203 | |
| 2204 | .dialog.altText #altTextContainer #overallDescription{ |
| 2205 | display:flex; |
| 2206 | flex-direction:column; |
| 2207 | align-items:flex-start; |
| 2208 | gap:4px; |
| 2209 | align-self:stretch; |
| 2210 | } |
| 2211 | |
| 2212 | .dialog.altText #altTextContainer #overallDescription span{ |
| 2213 | align-self:stretch; |
| 2214 | } |
| 2215 | |
| 2216 | .dialog.altText #altTextContainer #overallDescription .title{ |
| 2217 | font-size:13px; |
| 2218 | font-style:normal; |
| 2219 | font-weight:590; |
| 2220 | } |
| 2221 | |
| 2222 | .dialog.altText #altTextContainer #addDescription{ |
| 2223 | display:flex; |
| 2224 | flex-direction:column; |
| 2225 | align-items:stretch; |
| 2226 | gap:8px; |
| 2227 | } |
| 2228 | |
| 2229 | .dialog.altText #altTextContainer #addDescription .descriptionArea{ |
| 2230 | flex:1; |
| 2231 | padding-inline:24px 10px; |
| 2232 | } |
| 2233 | |
| 2234 | .dialog.altText #altTextContainer #addDescription .descriptionArea textarea{ |
| 2235 | width:100%; |
| 2236 | min-height:75px; |
| 2237 | } |
| 2238 | |
| 2239 | .dialog.altText #altTextContainer #buttons{ |
| 2240 | display:flex; |
| 2241 | justify-content:flex-end; |
| 2242 | align-items:flex-start; |
| 2243 | gap:8px; |
| 2244 | align-self:stretch; |
| 2245 | } |
| 2246 | |
| 2247 | .colorPicker{ |
| 2248 | --hover-outline-color:#0250bb; |
| 2249 | --selected-outline-color:#0060df; |
| 2250 | --swatch-border-color:#cfcfd8; |
| 2251 | } |
| 2252 | |
| 2253 | @media (prefers-color-scheme: dark){ |
| 2254 | |
| 2255 | :where(html:not(.is-light)) .colorPicker{ |
| 2256 | --hover-outline-color:#80ebff; |
| 2257 | --selected-outline-color:#aaf2ff; |
| 2258 | --swatch-border-color:#52525e; |
| 2259 | } |
| 2260 | } |
| 2261 | |
| 2262 | :where(html.is-dark) .colorPicker{ |
| 2263 | --hover-outline-color:#80ebff; |
| 2264 | --selected-outline-color:#aaf2ff; |
| 2265 | --swatch-border-color:#52525e; |
| 2266 | } |
| 2267 | |
| 2268 | @media screen and (forced-colors: active){ |
| 2269 | |
| 2270 | .colorPicker{ |
| 2271 | --hover-outline-color:Highlight; |
| 2272 | --selected-outline-color:var(--hover-outline-color); |
| 2273 | --swatch-border-color:ButtonText; |
| 2274 | } |
| 2275 | } |
| 2276 | |
| 2277 | .colorPicker .swatch{ |
| 2278 | width:16px; |
| 2279 | height:16px; |
| 2280 | border:1px solid var(--swatch-border-color); |
| 2281 | border-radius:100%; |
| 2282 | outline-offset:2px; |
| 2283 | box-sizing:border-box; |
| 2284 | forced-color-adjust:none; |
| 2285 | } |
| 2286 | |
| 2287 | .colorPicker button:is(:hover, .selected) > .swatch{ |
| 2288 | border:none; |
| 2289 | } |
| 2290 | |
| 2291 | .annotationEditorLayer[data-main-rotation="0"] .highlightEditor:not(.free) > .editToolbar{ |
| 2292 | rotate:0deg; |
| 2293 | } |
| 2294 | |
| 2295 | .annotationEditorLayer[data-main-rotation="90"] .highlightEditor:not(.free) > .editToolbar{ |
| 2296 | rotate:270deg; |
| 2297 | } |
| 2298 | |
| 2299 | .annotationEditorLayer[data-main-rotation="180"] .highlightEditor:not(.free) > .editToolbar{ |
| 2300 | rotate:180deg; |
| 2301 | } |
| 2302 | |
| 2303 | .annotationEditorLayer[data-main-rotation="270"] .highlightEditor:not(.free) > .editToolbar{ |
| 2304 | rotate:90deg; |
| 2305 | } |
| 2306 | |
| 2307 | .annotationEditorLayer .highlightEditor{ |
| 2308 | position:absolute; |
| 2309 | background:transparent; |
| 2310 | z-index:1; |
| 2311 | cursor:auto; |
| 2312 | max-width:100%; |
| 2313 | max-height:100%; |
| 2314 | border:none; |
| 2315 | outline:none; |
| 2316 | pointer-events:none; |
| 2317 | transform-origin:0 0; |
| 2318 | } |
| 2319 | |
| 2320 | .annotationEditorLayer .highlightEditor:not(.free){ |
| 2321 | transform:none; |
| 2322 | } |
| 2323 | |
| 2324 | .annotationEditorLayer .highlightEditor .internal{ |
| 2325 | position:absolute; |
| 2326 | top:0; |
| 2327 | left:0; |
| 2328 | width:100%; |
| 2329 | height:100%; |
| 2330 | pointer-events:auto; |
| 2331 | } |
| 2332 | |
| 2333 | .annotationEditorLayer .highlightEditor.disabled .internal{ |
| 2334 | pointer-events:none; |
| 2335 | } |
| 2336 | |
| 2337 | .annotationEditorLayer .highlightEditor.selectedEditor .internal{ |
| 2338 | cursor:pointer; |
| 2339 | } |
| 2340 | |
| 2341 | .annotationEditorLayer .highlightEditor .editToolbar{ |
| 2342 | --editor-toolbar-colorpicker-arrow-image:url(images/toolbarButton-menuArrow.svg); |
| 2343 | |
| 2344 | transform-origin:center !important; |
| 2345 | } |
| 2346 | |
| 2347 | .annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker{ |
| 2348 | position:relative; |
| 2349 | width:auto; |
| 2350 | display:flex; |
| 2351 | justify-content:center; |
| 2352 | align-items:center; |
| 2353 | gap:4px; |
| 2354 | padding:4px; |
| 2355 | } |
| 2356 | |
| 2357 | .annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker::after{ |
| 2358 | content:""; |
| 2359 | -webkit-mask-image:var(--editor-toolbar-colorpicker-arrow-image); |
| 2360 | mask-image:var(--editor-toolbar-colorpicker-arrow-image); |
| 2361 | -webkit-mask-repeat:no-repeat; |
| 2362 | mask-repeat:no-repeat; |
| 2363 | -webkit-mask-position:center; |
| 2364 | mask-position:center; |
| 2365 | display:inline-block; |
| 2366 | background-color:var(--editor-toolbar-fg-color); |
| 2367 | width:12px; |
| 2368 | height:12px; |
| 2369 | } |
| 2370 | |
| 2371 | .annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker:hover::after{ |
| 2372 | background-color:var(--editor-toolbar-hover-fg-color); |
| 2373 | } |
| 2374 | |
| 2375 | .annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker:has(.dropdown:not(.hidden)){ |
| 2376 | background-color:var(--editor-toolbar-hover-bg-color); |
| 2377 | } |
| 2378 | |
| 2379 | .annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker:has(.dropdown:not(.hidden))::after{ |
| 2380 | scale:-1; |
| 2381 | } |
| 2382 | |
| 2383 | .annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker .dropdown{ |
| 2384 | position:absolute; |
| 2385 | display:flex; |
| 2386 | justify-content:center; |
| 2387 | align-items:center; |
| 2388 | flex-direction:column; |
| 2389 | gap:11px; |
| 2390 | padding-block:8px; |
| 2391 | border-radius:6px; |
| 2392 | background-color:var(--editor-toolbar-bg-color); |
| 2393 | border:1px solid var(--editor-toolbar-border-color); |
| 2394 | box-shadow:var(--editor-toolbar-shadow); |
| 2395 | inset-block-start:calc(100% + 4px); |
| 2396 | width:calc(100% + 2 * var(--editor-toolbar-padding)); |
| 2397 | } |
| 2398 | |
| 2399 | .annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker .dropdown button{ |
| 2400 | width:100%; |
| 2401 | height:auto; |
| 2402 | border:none; |
| 2403 | cursor:pointer; |
| 2404 | display:flex; |
| 2405 | justify-content:center; |
| 2406 | align-items:center; |
| 2407 | background:none; |
| 2408 | } |
| 2409 | |
| 2410 | .annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker .dropdown button:is(:active, :focus-visible){ |
| 2411 | outline:none; |
| 2412 | } |
| 2413 | |
| 2414 | .annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker .dropdown button > .swatch{ |
| 2415 | outline-offset:2px; |
| 2416 | } |
| 2417 | |
| 2418 | .annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker .dropdown button[aria-selected="true"] > .swatch{ |
| 2419 | outline:2px solid var(--selected-outline-color); |
| 2420 | } |
| 2421 | |
| 2422 | .annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker .dropdown button:is(:hover, :active, :focus-visible) > .swatch{ |
| 2423 | outline:2px solid var(--hover-outline-color); |
| 2424 | } |
| 2425 | |
| 2426 | .editorParamsToolbar:has(#highlightParamsToolbarContainer){ |
| 2427 | padding:unset; |
| 2428 | } |
| 2429 | |
| 2430 | #highlightParamsToolbarContainer{ |
| 2431 | height:auto; |
| 2432 | padding-inline:10px; |
| 2433 | padding-block:10px 16px; |
| 2434 | gap:16px; |
| 2435 | display:flex; |
| 2436 | flex-direction:column; |
| 2437 | box-sizing:border-box; |
| 2438 | } |
| 2439 | |
| 2440 | #highlightParamsToolbarContainer .editorParamsLabel{ |
| 2441 | width:-moz-fit-content; |
| 2442 | width:fit-content; |
| 2443 | inset-inline-start:0; |
| 2444 | } |
| 2445 | |
| 2446 | #highlightParamsToolbarContainer .colorPicker{ |
| 2447 | display:flex; |
| 2448 | flex-direction:column; |
| 2449 | gap:8px; |
| 2450 | } |
| 2451 | |
| 2452 | #highlightParamsToolbarContainer .colorPicker .dropdown{ |
| 2453 | display:flex; |
| 2454 | justify-content:space-between; |
| 2455 | align-items:center; |
| 2456 | flex-direction:row; |
| 2457 | height:auto; |
| 2458 | } |
| 2459 | |
| 2460 | #highlightParamsToolbarContainer .colorPicker .dropdown button{ |
| 2461 | width:auto; |
| 2462 | height:auto; |
| 2463 | border:none; |
| 2464 | cursor:pointer; |
| 2465 | display:flex; |
| 2466 | justify-content:center; |
| 2467 | align-items:center; |
| 2468 | background:none; |
| 2469 | flex:0 0 auto; |
| 2470 | } |
| 2471 | |
| 2472 | #highlightParamsToolbarContainer .colorPicker .dropdown button .swatch{ |
| 2473 | width:24px; |
| 2474 | height:24px; |
| 2475 | } |
| 2476 | |
| 2477 | #highlightParamsToolbarContainer .colorPicker .dropdown button:is(:active, :focus-visible){ |
| 2478 | outline:none; |
| 2479 | } |
| 2480 | |
| 2481 | #highlightParamsToolbarContainer .colorPicker .dropdown button[aria-selected="true"] > .swatch{ |
| 2482 | outline:2px solid var(--selected-outline-color); |
| 2483 | } |
| 2484 | |
| 2485 | #highlightParamsToolbarContainer .colorPicker .dropdown button:is(:hover, :active, :focus-visible) > .swatch{ |
| 2486 | outline:2px solid var(--hover-outline-color); |
| 2487 | } |
| 2488 | |
| 2489 | #highlightParamsToolbarContainer #editorHighlightThickness{ |
| 2490 | display:flex; |
| 2491 | flex-direction:column; |
| 2492 | align-items:center; |
| 2493 | gap:4px; |
| 2494 | align-self:stretch; |
| 2495 | } |
| 2496 | |
| 2497 | #highlightParamsToolbarContainer #editorHighlightThickness .editorParamsLabel{ |
| 2498 | width:100%; |
| 2499 | height:auto; |
| 2500 | align-self:stretch; |
| 2501 | } |
| 2502 | |
| 2503 | #highlightParamsToolbarContainer #editorHighlightThickness .thicknessPicker{ |
| 2504 | display:flex; |
| 2505 | justify-content:space-between; |
| 2506 | align-items:center; |
| 2507 | align-self:stretch; |
| 2508 | |
| 2509 | --example-color:#bfbfc9; |
| 2510 | } |
| 2511 | |
| 2512 | @media (prefers-color-scheme: dark){ |
| 2513 | |
| 2514 | :where(html:not(.is-light)) #highlightParamsToolbarContainer #editorHighlightThickness .thicknessPicker{ |
| 2515 | --example-color:#80808e; |
| 2516 | } |
| 2517 | } |
| 2518 | |
| 2519 | :where(html.is-dark) #highlightParamsToolbarContainer #editorHighlightThickness .thicknessPicker{ |
| 2520 | --example-color:#80808e; |
| 2521 | } |
| 2522 | |
| 2523 | @media screen and (forced-colors: active){ |
| 2524 | |
| 2525 | #highlightParamsToolbarContainer #editorHighlightThickness .thicknessPicker{ |
| 2526 | --example-color:CanvasText; |
| 2527 | } |
| 2528 | } |
| 2529 | |
| 2530 | :is(#highlightParamsToolbarContainer #editorHighlightThickness .thicknessPicker > .editorParamsSlider[disabled]){ |
| 2531 | opacity:0.4; |
| 2532 | } |
| 2533 | |
| 2534 | #highlightParamsToolbarContainer #editorHighlightThickness .thicknessPicker::before, |
| 2535 | #highlightParamsToolbarContainer #editorHighlightThickness .thicknessPicker::after{ |
| 2536 | content:""; |
| 2537 | width:8px; |
| 2538 | aspect-ratio:1; |
| 2539 | display:block; |
| 2540 | border-radius:100%; |
| 2541 | background-color:var(--example-color); |
| 2542 | } |
| 2543 | |
| 2544 | #highlightParamsToolbarContainer #editorHighlightThickness .thicknessPicker::after{ |
| 2545 | width:24px; |
| 2546 | } |
| 2547 | |
| 2548 | #highlightParamsToolbarContainer #editorHighlightThickness .thicknessPicker .editorParamsSlider{ |
| 2549 | width:unset; |
| 2550 | height:14px; |
| 2551 | } |
| 2552 | |
| 2553 | #highlightParamsToolbarContainer #editorHighlightVisibility{ |
| 2554 | display:flex; |
| 2555 | flex-direction:column; |
| 2556 | align-items:flex-start; |
| 2557 | gap:8px; |
| 2558 | align-self:stretch; |
| 2559 | } |
| 2560 | |
| 2561 | #highlightParamsToolbarContainer #editorHighlightVisibility .divider{ |
| 2562 | --divider-color:#d7d7db; |
| 2563 | |
| 2564 | margin-block:4px; |
| 2565 | width:100%; |
| 2566 | height:1px; |
| 2567 | background-color:var(--divider-color); |
| 2568 | } |
| 2569 | |
| 2570 | @media (prefers-color-scheme: dark){ |
| 2571 | |
| 2572 | :where(html:not(.is-light)) #highlightParamsToolbarContainer #editorHighlightVisibility .divider{ |
| 2573 | --divider-color:#8f8f9d; |
| 2574 | } |
| 2575 | } |
| 2576 | |
| 2577 | :where(html.is-dark) #highlightParamsToolbarContainer #editorHighlightVisibility .divider{ |
| 2578 | --divider-color:#8f8f9d; |
| 2579 | } |
| 2580 | |
| 2581 | @media screen and (forced-colors: active){ |
| 2582 | |
| 2583 | #highlightParamsToolbarContainer #editorHighlightVisibility .divider{ |
| 2584 | --divider-color:CanvasText; |
| 2585 | } |
| 2586 | } |
| 2587 | |
| 2588 | #highlightParamsToolbarContainer #editorHighlightVisibility .toggler{ |
| 2589 | display:flex; |
| 2590 | justify-content:space-between; |
| 2591 | align-items:center; |
| 2592 | align-self:stretch; |
| 2593 | } |
| 2594 | |
| 2595 | :root{ |
| 2596 | --viewer-container-height:0; |
| 2597 | --pdfViewer-padding-bottom:0; |
| 2598 | --page-margin:1px auto -8px; |
| 2599 | --page-border:9px solid transparent; |
| 2600 | --spreadHorizontalWrapped-margin-LR:-3.5px; |
| 2601 | --loading-icon-delay:400ms; |
| 2602 | } |
| 2603 | |
| 2604 | @media screen and (forced-colors: active){ |
| 2605 | :root{ |
| 2606 | --pdfViewer-padding-bottom:9px; |
| 2607 | --page-margin:8px auto -1px; |
| 2608 | --page-border:1px solid CanvasText; |
| 2609 | --spreadHorizontalWrapped-margin-LR:3.5px; |
| 2610 | } |
| 2611 | } |
| 2612 | |
| 2613 | [data-main-rotation="90"]{ |
| 2614 | transform:rotate(90deg) translateY(-100%); |
| 2615 | } |
| 2616 | [data-main-rotation="180"]{ |
| 2617 | transform:rotate(180deg) translate(-100%, -100%); |
| 2618 | } |
| 2619 | [data-main-rotation="270"]{ |
| 2620 | transform:rotate(270deg) translateX(-100%); |
| 2621 | } |
| 2622 | |
| 2623 | #hiddenCopyElement, |
| 2624 | .hiddenCanvasElement{ |
| 2625 | position:absolute; |
| 2626 | top:0; |
| 2627 | left:0; |
| 2628 | width:0; |
| 2629 | height:0; |
| 2630 | display:none; |
| 2631 | } |
| 2632 | |
| 2633 | .pdfViewer{ |
| 2634 | --scale-factor:1; |
| 2635 | |
| 2636 | padding-bottom:var(--pdfViewer-padding-bottom); |
| 2637 | |
| 2638 | --hcm-highlight-filter:none; |
| 2639 | --hcm-highlight-selected-filter:none; |
| 2640 | } |
| 2641 | |
| 2642 | @media screen and (forced-colors: active){ |
| 2643 | |
| 2644 | .pdfViewer{ |
| 2645 | --hcm-highlight-filter:invert(100%); |
| 2646 | } |
| 2647 | } |
| 2648 | |
| 2649 | .pdfViewer .canvasWrapper{ |
| 2650 | overflow:hidden; |
| 2651 | width:100%; |
| 2652 | height:100%; |
| 2653 | } |
| 2654 | |
| 2655 | .pdfViewer .canvasWrapper canvas{ |
| 2656 | margin:0; |
| 2657 | display:block; |
| 2658 | } |
| 2659 | |
| 2660 | .pdfViewer .canvasWrapper canvas[hidden]{ |
| 2661 | display:none; |
| 2662 | } |
| 2663 | |
| 2664 | .pdfViewer .canvasWrapper canvas[zooming]{ |
| 2665 | width:100%; |
| 2666 | height:100%; |
| 2667 | } |
| 2668 | |
| 2669 | .pdfViewer .canvasWrapper canvas .structTree{ |
| 2670 | contain:strict; |
| 2671 | } |
| 2672 | |
| 2673 | .pdfViewer .page{ |
| 2674 | direction:ltr; |
| 2675 | width:816px; |
| 2676 | height:1056px; |
| 2677 | margin:var(--page-margin); |
| 2678 | position:relative; |
| 2679 | overflow:visible; |
| 2680 | border:var(--page-border); |
| 2681 | background-clip:content-box; |
| 2682 | background-color:rgb(255 255 255); |
| 2683 | } |
| 2684 | |
| 2685 | .pdfViewer .dummyPage{ |
| 2686 | position:relative; |
| 2687 | width:0; |
| 2688 | height:var(--viewer-container-height); |
| 2689 | } |
| 2690 | |
| 2691 | .pdfViewer.noUserSelect{ |
| 2692 | -webkit-user-select:none; |
| 2693 | -moz-user-select:none; |
| 2694 | user-select:none; |
| 2695 | } |
| 2696 | |
| 2697 | .pdfViewer.removePageBorders .page{ |
| 2698 | margin:0 auto 10px; |
| 2699 | border:none; |
| 2700 | } |
| 2701 | |
| 2702 | .pdfViewer:is(.scrollHorizontal, .scrollWrapped), |
| 2703 | .spread{ |
| 2704 | margin-inline:3.5px; |
| 2705 | text-align:center; |
| 2706 | } |
| 2707 | |
| 2708 | .pdfViewer.scrollHorizontal, |
| 2709 | .spread{ |
| 2710 | white-space:nowrap; |
| 2711 | } |
| 2712 | |
| 2713 | .pdfViewer.removePageBorders, |
| 2714 | .pdfViewer:is(.scrollHorizontal, .scrollWrapped) .spread{ |
| 2715 | margin-inline:0; |
| 2716 | } |
| 2717 | |
| 2718 | .spread :is(.page, .dummyPage), |
| 2719 | .pdfViewer:is(.scrollHorizontal, .scrollWrapped) :is(.page, .spread){ |
| 2720 | display:inline-block; |
| 2721 | vertical-align:middle; |
| 2722 | } |
| 2723 | |
| 2724 | .spread .page, |
| 2725 | .pdfViewer:is(.scrollHorizontal, .scrollWrapped) .page{ |
| 2726 | margin-inline:var(--spreadHorizontalWrapped-margin-LR); |
| 2727 | } |
| 2728 | |
| 2729 | .pdfViewer.removePageBorders .spread .page, |
| 2730 | .pdfViewer.removePageBorders:is(.scrollHorizontal, .scrollWrapped) .page{ |
| 2731 | margin-inline:5px; |
| 2732 | } |
| 2733 | |
| 2734 | .pdfViewer .page.loadingIcon::after{ |
| 2735 | position:absolute; |
| 2736 | top:0; |
| 2737 | left:0; |
| 2738 | content:""; |
| 2739 | width:100%; |
| 2740 | height:100%; |
| 2741 | background:url("images/loading-icon.gif") center no-repeat; |
| 2742 | display:none; |
| 2743 | transition-property:display; |
| 2744 | transition-delay:var(--loading-icon-delay); |
| 2745 | z-index:5; |
| 2746 | contain:strict; |
| 2747 | } |
| 2748 | |
| 2749 | .pdfViewer .page.loading::after{ |
| 2750 | display:block; |
| 2751 | } |
| 2752 | |
| 2753 | .pdfViewer .page:not(.loading)::after{ |
| 2754 | transition-property:none; |
| 2755 | display:none; |
| 2756 | } |
| 2757 | |
| 2758 | .pdfPresentationMode .pdfViewer{ |
| 2759 | padding-bottom:0; |
| 2760 | } |
| 2761 | |
| 2762 | .pdfPresentationMode .spread{ |
| 2763 | margin:0; |
| 2764 | } |
| 2765 | |
| 2766 | .pdfPresentationMode .pdfViewer .page{ |
| 2767 | margin:0 auto; |
| 2768 | border:2px solid transparent; |
| 2769 | } |
| 2770 | |
| 2771 | :root{ |
| 2772 | --dir-factor:1; |
| 2773 | --inline-start:left; |
| 2774 | --inline-end:right; |
| 2775 | |
| 2776 | --sidebar-width:200px; |
| 2777 | --sidebar-transition-duration:200ms; |
| 2778 | --sidebar-transition-timing-function:ease; |
| 2779 | |
| 2780 | --toolbar-icon-opacity:0.7; |
| 2781 | --doorhanger-icon-opacity:0.9; |
| 2782 | --editor-toolbar-base-offset:105px; |
| 2783 | |
| 2784 | --main-color:rgb(12 12 13); |
| 2785 | --body-bg-color:rgb(212 212 215); |
| 2786 | --progressBar-color:rgb(10 132 255); |
| 2787 | --progressBar-bg-color:rgb(221 221 222); |
| 2788 | --progressBar-blend-color:rgb(116 177 239); |
| 2789 | --scrollbar-color:auto; |
| 2790 | --scrollbar-bg-color:auto; |
| 2791 | --toolbar-icon-bg-color:rgb(0 0 0); |
| 2792 | --toolbar-icon-hover-bg-color:rgb(0 0 0); |
| 2793 | |
| 2794 | --sidebar-narrow-bg-color:rgb(212 212 215 / 0.9); |
| 2795 | --sidebar-toolbar-bg-color:rgb(245 246 247); |
| 2796 | --toolbar-bg-color:rgb(249 249 250); |
| 2797 | --toolbar-border-color:rgb(184 184 184); |
| 2798 | --toolbar-box-shadow:0 1px 0 var(--toolbar-border-color); |
| 2799 | --toolbar-border-bottom:none; |
| 2800 | --toolbarSidebar-box-shadow:inset calc(-1px * var(--dir-factor)) 0 0 rgb(0 0 0 / 0.25), 0 1px 0 rgb(0 0 0 / 0.15), 0 0 1px rgb(0 0 0 / 0.1); |
| 2801 | --toolbarSidebar-border-bottom:none; |
| 2802 | --button-hover-color:rgb(221 222 223); |
| 2803 | --toggled-btn-color:rgb(0 0 0); |
| 2804 | --toggled-btn-bg-color:rgb(0 0 0 / 0.3); |
| 2805 | --toggled-hover-active-btn-color:rgb(0 0 0 / 0.4); |
| 2806 | --toggled-hover-btn-outline:none; |
| 2807 | --dropdown-btn-bg-color:rgb(215 215 219); |
| 2808 | --dropdown-btn-border:none; |
| 2809 | --separator-color:rgb(0 0 0 / 0.3); |
| 2810 | --field-color:rgb(6 6 6); |
| 2811 | --field-bg-color:rgb(255 255 255); |
| 2812 | --field-border-color:rgb(187 187 188); |
| 2813 | --treeitem-color:rgb(0 0 0 / 0.8); |
| 2814 | --treeitem-bg-color:rgb(0 0 0 / 0.15); |
| 2815 | --treeitem-hover-color:rgb(0 0 0 / 0.9); |
| 2816 | --treeitem-selected-color:rgb(0 0 0 / 0.9); |
| 2817 | --treeitem-selected-bg-color:rgb(0 0 0 / 0.25); |
| 2818 | --thumbnail-hover-color:rgb(0 0 0 / 0.1); |
| 2819 | --thumbnail-selected-color:rgb(0 0 0 / 0.2); |
| 2820 | --doorhanger-bg-color:rgb(255 255 255); |
| 2821 | --doorhanger-border-color:rgb(12 12 13 / 0.2); |
| 2822 | --doorhanger-hover-color:rgb(12 12 13); |
| 2823 | --doorhanger-hover-bg-color:rgb(237 237 237); |
| 2824 | --doorhanger-separator-color:rgb(222 222 222); |
| 2825 | --dialog-button-border:none; |
| 2826 | --dialog-button-bg-color:rgb(12 12 13 / 0.1); |
| 2827 | --dialog-button-hover-bg-color:rgb(12 12 13 / 0.3); |
| 2828 | |
| 2829 | --loading-icon:url(images/loading.svg); |
| 2830 | --treeitem-expanded-icon:url(images/treeitem-expanded.svg); |
| 2831 | --treeitem-collapsed-icon:url(images/treeitem-collapsed.svg); |
| 2832 | --toolbarButton-editorFreeText-icon:url(images/toolbarButton-editorFreeText.svg); |
| 2833 | --toolbarButton-editorHighlight-icon:url(images/toolbarButton-editorHighlight.svg); |
| 2834 | --toolbarButton-editorInk-icon:url(images/toolbarButton-editorInk.svg); |
| 2835 | --toolbarButton-editorStamp-icon:url(images/toolbarButton-editorStamp.svg); |
| 2836 | --toolbarButton-menuArrow-icon:url(images/toolbarButton-menuArrow.svg); |
| 2837 | --toolbarButton-sidebarToggle-icon:url(images/toolbarButton-sidebarToggle.svg); |
| 2838 | --toolbarButton-secondaryToolbarToggle-icon:url(images/toolbarButton-secondaryToolbarToggle.svg); |
| 2839 | --toolbarButton-pageUp-icon:url(images/toolbarButton-pageUp.svg); |
| 2840 | --toolbarButton-pageDown-icon:url(images/toolbarButton-pageDown.svg); |
| 2841 | --toolbarButton-zoomOut-icon:url(images/toolbarButton-zoomOut.svg); |
| 2842 | --toolbarButton-zoomIn-icon:url(images/toolbarButton-zoomIn.svg); |
| 2843 | --toolbarButton-presentationMode-icon:url(images/toolbarButton-presentationMode.svg); |
| 2844 | --toolbarButton-print-icon:url(images/toolbarButton-print.svg); |
| 2845 | --toolbarButton-openFile-icon:url(images/toolbarButton-openFile.svg); |
| 2846 | --toolbarButton-download-icon:url(images/toolbarButton-download.svg); |
| 2847 | --toolbarButton-bookmark-icon:url(images/toolbarButton-bookmark.svg); |
| 2848 | --toolbarButton-viewThumbnail-icon:url(images/toolbarButton-viewThumbnail.svg); |
| 2849 | --toolbarButton-viewOutline-icon:url(images/toolbarButton-viewOutline.svg); |
| 2850 | --toolbarButton-viewAttachments-icon:url(images/toolbarButton-viewAttachments.svg); |
| 2851 | --toolbarButton-viewLayers-icon:url(images/toolbarButton-viewLayers.svg); |
| 2852 | --toolbarButton-currentOutlineItem-icon:url(images/toolbarButton-currentOutlineItem.svg); |
| 2853 | --toolbarButton-search-icon:url(images/toolbarButton-search.svg); |
| 2854 | --findbarButton-previous-icon:url(images/findbarButton-previous.svg); |
| 2855 | --findbarButton-next-icon:url(images/findbarButton-next.svg); |
| 2856 | --secondaryToolbarButton-firstPage-icon:url(images/secondaryToolbarButton-firstPage.svg); |
| 2857 | --secondaryToolbarButton-lastPage-icon:url(images/secondaryToolbarButton-lastPage.svg); |
| 2858 | --secondaryToolbarButton-rotateCcw-icon:url(images/secondaryToolbarButton-rotateCcw.svg); |
| 2859 | --secondaryToolbarButton-rotateCw-icon:url(images/secondaryToolbarButton-rotateCw.svg); |
| 2860 | --secondaryToolbarButton-selectTool-icon:url(images/secondaryToolbarButton-selectTool.svg); |
| 2861 | --secondaryToolbarButton-handTool-icon:url(images/secondaryToolbarButton-handTool.svg); |
| 2862 | --secondaryToolbarButton-scrollPage-icon:url(images/secondaryToolbarButton-scrollPage.svg); |
| 2863 | --secondaryToolbarButton-scrollVertical-icon:url(images/secondaryToolbarButton-scrollVertical.svg); |
| 2864 | --secondaryToolbarButton-scrollHorizontal-icon:url(images/secondaryToolbarButton-scrollHorizontal.svg); |
| 2865 | --secondaryToolbarButton-scrollWrapped-icon:url(images/secondaryToolbarButton-scrollWrapped.svg); |
| 2866 | --secondaryToolbarButton-spreadNone-icon:url(images/secondaryToolbarButton-spreadNone.svg); |
| 2867 | --secondaryToolbarButton-spreadOdd-icon:url(images/secondaryToolbarButton-spreadOdd.svg); |
| 2868 | --secondaryToolbarButton-spreadEven-icon:url(images/secondaryToolbarButton-spreadEven.svg); |
| 2869 | --secondaryToolbarButton-documentProperties-icon:url(images/secondaryToolbarButton-documentProperties.svg); |
| 2870 | --editorParams-stampAddImage-icon:url(images/toolbarButton-zoomIn.svg); |
| 2871 | } |
| 2872 | |
| 2873 | [dir="rtl"]:root{ |
| 2874 | --dir-factor:-1; |
| 2875 | --inline-start:right; |
| 2876 | --inline-end:left; |
| 2877 | } |
| 2878 | |
| 2879 | @media (prefers-color-scheme: dark){ |
| 2880 | :root:where(:not(.is-light)){ |
| 2881 | --main-color:rgb(249 249 250); |
| 2882 | --body-bg-color:rgb(42 42 46); |
| 2883 | --progressBar-color:rgb(0 96 223); |
| 2884 | --progressBar-bg-color:rgb(40 40 43); |
| 2885 | --progressBar-blend-color:rgb(20 68 133); |
| 2886 | --scrollbar-color:rgb(121 121 123); |
| 2887 | --scrollbar-bg-color:rgb(35 35 39); |
| 2888 | --toolbar-icon-bg-color:rgb(255 255 255); |
| 2889 | --toolbar-icon-hover-bg-color:rgb(255 255 255); |
| 2890 | |
| 2891 | --sidebar-narrow-bg-color:rgb(42 42 46 / 0.9); |
| 2892 | --sidebar-toolbar-bg-color:rgb(50 50 52); |
| 2893 | --toolbar-bg-color:rgb(56 56 61); |
| 2894 | --toolbar-border-color:rgb(12 12 13); |
| 2895 | --button-hover-color:rgb(102 102 103); |
| 2896 | --toggled-btn-color:rgb(255 255 255); |
| 2897 | --toggled-btn-bg-color:rgb(0 0 0 / 0.3); |
| 2898 | --toggled-hover-active-btn-color:rgb(0 0 0 / 0.4); |
| 2899 | --dropdown-btn-bg-color:rgb(74 74 79); |
| 2900 | --separator-color:rgb(0 0 0 / 0.3); |
| 2901 | --field-color:rgb(250 250 250); |
| 2902 | --field-bg-color:rgb(64 64 68); |
| 2903 | --field-border-color:rgb(115 115 115); |
| 2904 | --treeitem-color:rgb(255 255 255 / 0.8); |
| 2905 | --treeitem-bg-color:rgb(255 255 255 / 0.15); |
| 2906 | --treeitem-hover-color:rgb(255 255 255 / 0.9); |
| 2907 | --treeitem-selected-color:rgb(255 255 255 / 0.9); |
| 2908 | --treeitem-selected-bg-color:rgb(255 255 255 / 0.25); |
| 2909 | --thumbnail-hover-color:rgb(255 255 255 / 0.1); |
| 2910 | --thumbnail-selected-color:rgb(255 255 255 / 0.2); |
| 2911 | --doorhanger-bg-color:rgb(74 74 79); |
| 2912 | --doorhanger-border-color:rgb(39 39 43); |
| 2913 | --doorhanger-hover-color:rgb(249 249 250); |
| 2914 | --doorhanger-hover-bg-color:rgb(93 94 98); |
| 2915 | --doorhanger-separator-color:rgb(92 92 97); |
| 2916 | --dialog-button-bg-color:rgb(92 92 97); |
| 2917 | --dialog-button-hover-bg-color:rgb(115 115 115); |
| 2918 | } |
| 2919 | } |
| 2920 | |
| 2921 | :root:where(.is-dark){ |
| 2922 | --main-color:rgb(249 249 250); |
| 2923 | --body-bg-color:rgb(42 42 46); |
| 2924 | --progressBar-color:rgb(0 96 223); |
| 2925 | --progressBar-bg-color:rgb(40 40 43); |
| 2926 | --progressBar-blend-color:rgb(20 68 133); |
| 2927 | --scrollbar-color:rgb(121 121 123); |
| 2928 | --scrollbar-bg-color:rgb(35 35 39); |
| 2929 | --toolbar-icon-bg-color:rgb(255 255 255); |
| 2930 | --toolbar-icon-hover-bg-color:rgb(255 255 255); |
| 2931 | |
| 2932 | --sidebar-narrow-bg-color:rgb(42 42 46 / 0.9); |
| 2933 | --sidebar-toolbar-bg-color:rgb(50 50 52); |
| 2934 | --toolbar-bg-color:rgb(56 56 61); |
| 2935 | --toolbar-border-color:rgb(12 12 13); |
| 2936 | --button-hover-color:rgb(102 102 103); |
| 2937 | --toggled-btn-color:rgb(255 255 255); |
| 2938 | --toggled-btn-bg-color:rgb(0 0 0 / 0.3); |
| 2939 | --toggled-hover-active-btn-color:rgb(0 0 0 / 0.4); |
| 2940 | --dropdown-btn-bg-color:rgb(74 74 79); |
| 2941 | --separator-color:rgb(0 0 0 / 0.3); |
| 2942 | --field-color:rgb(250 250 250); |
| 2943 | --field-bg-color:rgb(64 64 68); |
| 2944 | --field-border-color:rgb(115 115 115); |
| 2945 | --treeitem-color:rgb(255 255 255 / 0.8); |
| 2946 | --treeitem-bg-color:rgb(255 255 255 / 0.15); |
| 2947 | --treeitem-hover-color:rgb(255 255 255 / 0.9); |
| 2948 | --treeitem-selected-color:rgb(255 255 255 / 0.9); |
| 2949 | --treeitem-selected-bg-color:rgb(255 255 255 / 0.25); |
| 2950 | --thumbnail-hover-color:rgb(255 255 255 / 0.1); |
| 2951 | --thumbnail-selected-color:rgb(255 255 255 / 0.2); |
| 2952 | --doorhanger-bg-color:rgb(74 74 79); |
| 2953 | --doorhanger-border-color:rgb(39 39 43); |
| 2954 | --doorhanger-hover-color:rgb(249 249 250); |
| 2955 | --doorhanger-hover-bg-color:rgb(93 94 98); |
| 2956 | --doorhanger-separator-color:rgb(92 92 97); |
| 2957 | --dialog-button-bg-color:rgb(92 92 97); |
| 2958 | --dialog-button-hover-bg-color:rgb(115 115 115); |
| 2959 | } |
| 2960 | |
| 2961 | @media screen and (forced-colors: active){ |
| 2962 | :root{ |
| 2963 | --button-hover-color:Highlight; |
| 2964 | --doorhanger-hover-bg-color:Highlight; |
| 2965 | --toolbar-icon-opacity:1; |
| 2966 | --toolbar-icon-bg-color:ButtonText; |
| 2967 | --toolbar-icon-hover-bg-color:ButtonFace; |
| 2968 | --toggled-hover-active-btn-color:ButtonText; |
| 2969 | --toggled-hover-btn-outline:2px solid ButtonBorder; |
| 2970 | --toolbar-border-color:CanvasText; |
| 2971 | --toolbar-border-bottom:1px solid var(--toolbar-border-color); |
| 2972 | --toolbar-box-shadow:none; |
| 2973 | --toggled-btn-color:HighlightText; |
| 2974 | --toggled-btn-bg-color:LinkText; |
| 2975 | --doorhanger-hover-color:ButtonFace; |
| 2976 | --doorhanger-border-color-whcm:1px solid ButtonText; |
| 2977 | --doorhanger-triangle-opacity-whcm:0; |
| 2978 | --dialog-button-border:1px solid Highlight; |
| 2979 | --dialog-button-hover-bg-color:Highlight; |
| 2980 | --dialog-button-hover-color:ButtonFace; |
| 2981 | --dropdown-btn-border:1px solid ButtonText; |
| 2982 | --field-border-color:ButtonText; |
| 2983 | --main-color:CanvasText; |
| 2984 | --separator-color:GrayText; |
| 2985 | --doorhanger-separator-color:GrayText; |
| 2986 | --toolbarSidebar-box-shadow:none; |
| 2987 | --toolbarSidebar-border-bottom:1px solid var(--toolbar-border-color); |
| 2988 | } |
| 2989 | } |
| 2990 | |
| 2991 | @media screen and (prefers-reduced-motion: reduce){ |
| 2992 | :root{ |
| 2993 | --sidebar-transition-duration:0; |
| 2994 | } |
| 2995 | } |
| 2996 | |
| 2997 | *{ |
| 2998 | padding:0; |
| 2999 | margin:0; |
| 3000 | } |
| 3001 | |
| 3002 | html, |
| 3003 | body{ |
| 3004 | height:100%; |
| 3005 | width:100%; |
| 3006 | } |
| 3007 | |
| 3008 | body{ |
| 3009 | background-color:var(--body-bg-color); |
| 3010 | scrollbar-color:var(--scrollbar-color) var(--scrollbar-bg-color); |
| 3011 | } |
| 3012 | |
| 3013 | .hidden, |
| 3014 | [hidden]{ |
| 3015 | display:none !important; |
| 3016 | } |
| 3017 | |
| 3018 | #viewerContainer.pdfPresentationMode:fullscreen{ |
| 3019 | top:0; |
| 3020 | background-color:rgb(0 0 0); |
| 3021 | width:100%; |
| 3022 | height:100%; |
| 3023 | overflow:hidden; |
| 3024 | cursor:none; |
| 3025 | -webkit-user-select:none; |
| 3026 | -moz-user-select:none; |
| 3027 | user-select:none; |
| 3028 | } |
| 3029 | |
| 3030 | .pdfPresentationMode:fullscreen section:not([data-internal-link]){ |
| 3031 | pointer-events:none; |
| 3032 | } |
| 3033 | |
| 3034 | .pdfPresentationMode:fullscreen .textLayer span{ |
| 3035 | cursor:none; |
| 3036 | } |
| 3037 | |
| 3038 | .pdfPresentationMode.pdfPresentationModeControls > *, |
| 3039 | .pdfPresentationMode.pdfPresentationModeControls .textLayer span{ |
| 3040 | cursor:default; |
| 3041 | } |
| 3042 | |
| 3043 | #outerContainer{ |
| 3044 | width:100%; |
| 3045 | height:100%; |
| 3046 | position:relative; |
| 3047 | } |
| 3048 | |
| 3049 | #sidebarContainer{ |
| 3050 | position:absolute; |
| 3051 | inset-block:32px 0; |
| 3052 | inset-inline-start:calc(-1 * var(--sidebar-width)); |
| 3053 | width:var(--sidebar-width); |
| 3054 | visibility:hidden; |
| 3055 | z-index:100; |
| 3056 | font:message-box; |
| 3057 | border-top:1px solid rgb(51 51 51); |
| 3058 | border-inline-end:var(--doorhanger-border-color-whcm); |
| 3059 | transition-property:inset-inline-start; |
| 3060 | transition-duration:var(--sidebar-transition-duration); |
| 3061 | transition-timing-function:var(--sidebar-transition-timing-function); |
| 3062 | } |
| 3063 | |
| 3064 | #outerContainer:is(.sidebarMoving, .sidebarOpen) #sidebarContainer{ |
| 3065 | visibility:visible; |
| 3066 | } |
| 3067 | #outerContainer.sidebarOpen #sidebarContainer{ |
| 3068 | inset-inline-start:0; |
| 3069 | } |
| 3070 | |
| 3071 | #mainContainer{ |
| 3072 | position:absolute; |
| 3073 | inset:0; |
| 3074 | /* min-width:350px; added by ep developer */ |
| 3075 | } |
| 3076 | |
| 3077 | #sidebarContent{ |
| 3078 | inset-block:32px 0; |
| 3079 | inset-inline-start:0; |
| 3080 | overflow:auto; |
| 3081 | position:absolute; |
| 3082 | width:100%; |
| 3083 | box-shadow:inset calc(-1px * var(--dir-factor)) 0 0 rgb(0 0 0 / 0.25); |
| 3084 | } |
| 3085 | |
| 3086 | #viewerContainer{ |
| 3087 | overflow:auto; |
| 3088 | position:absolute; |
| 3089 | inset:32px 0 0; |
| 3090 | outline:none; |
| 3091 | } |
| 3092 | #viewerContainer:not(.pdfPresentationMode){ |
| 3093 | transition-duration:var(--sidebar-transition-duration); |
| 3094 | transition-timing-function:var(--sidebar-transition-timing-function); |
| 3095 | } |
| 3096 | |
| 3097 | #outerContainer.sidebarOpen #viewerContainer:not(.pdfPresentationMode){ |
| 3098 | inset-inline-start:var(--sidebar-width); |
| 3099 | transition-property:inset-inline-start; |
| 3100 | } |
| 3101 | |
| 3102 | .toolbar{ |
| 3103 | position:relative; |
| 3104 | inset-inline:0; |
| 3105 | z-index:9999; |
| 3106 | cursor:default; |
| 3107 | font:message-box; |
| 3108 | } |
| 3109 | |
| 3110 | :is(.toolbar, .editorParamsToolbar, .findbar, #sidebarContainer) |
| 3111 | :is(input, button, select), |
| 3112 | .secondaryToolbar :is(input, button, a, select){ |
| 3113 | outline:none; |
| 3114 | font:message-box; |
| 3115 | } |
| 3116 | |
| 3117 | #toolbarContainer{ |
| 3118 | width:100%; |
| 3119 | } |
| 3120 | |
| 3121 | #toolbarSidebar{ |
| 3122 | width:100%; |
| 3123 | height:32px; |
| 3124 | background-color:var(--sidebar-toolbar-bg-color); |
| 3125 | box-shadow:var(--toolbarSidebar-box-shadow); |
| 3126 | border-bottom:var(--toolbarSidebar-border-bottom); |
| 3127 | } |
| 3128 | |
| 3129 | #sidebarResizer{ |
| 3130 | position:absolute; |
| 3131 | inset-block:0; |
| 3132 | inset-inline-end:-6px; |
| 3133 | width:6px; |
| 3134 | z-index:200; |
| 3135 | cursor:ew-resize; |
| 3136 | } |
| 3137 | |
| 3138 | #toolbarContainer, |
| 3139 | .findbar, |
| 3140 | .secondaryToolbar, |
| 3141 | .editorParamsToolbar{ |
| 3142 | position:relative; |
| 3143 | height:32px; |
| 3144 | background-color:var(--toolbar-bg-color); |
| 3145 | box-shadow:var(--toolbar-box-shadow); |
| 3146 | border-bottom:var(--toolbar-border-bottom); |
| 3147 | } |
| 3148 | |
| 3149 | #toolbarViewer{ |
| 3150 | height:32px; |
| 3151 | } |
| 3152 | |
| 3153 | #loadingBar{ |
| 3154 | --progressBar-percent:0%; |
| 3155 | --progressBar-end-offset:0; |
| 3156 | |
| 3157 | position:absolute; |
| 3158 | inset-inline:0 var(--progressBar-end-offset); |
| 3159 | height:4px; |
| 3160 | background-color:var(--progressBar-bg-color); |
| 3161 | border-bottom:1px solid var(--toolbar-border-color); |
| 3162 | transition-property:inset-inline-start; |
| 3163 | transition-duration:var(--sidebar-transition-duration); |
| 3164 | transition-timing-function:var(--sidebar-transition-timing-function); |
| 3165 | } |
| 3166 | |
| 3167 | #outerContainer.sidebarOpen #loadingBar{ |
| 3168 | inset-inline-start:var(--sidebar-width); |
| 3169 | } |
| 3170 | |
| 3171 | #loadingBar .progress{ |
| 3172 | position:absolute; |
| 3173 | top:0; |
| 3174 | inset-inline-start:0; |
| 3175 | width:100%; |
| 3176 | transform:scaleX(var(--progressBar-percent)); |
| 3177 | transform-origin:calc(50% - 50% * var(--dir-factor)) 0; |
| 3178 | height:100%; |
| 3179 | background-color:var(--progressBar-color); |
| 3180 | overflow:hidden; |
| 3181 | transition:transform 200ms; |
| 3182 | } |
| 3183 | |
| 3184 | @keyframes progressIndeterminate{ |
| 3185 | 0%{ |
| 3186 | transform:translateX(calc(-142px * var(--dir-factor))); |
| 3187 | } |
| 3188 | 100%{ |
| 3189 | transform:translateX(0); |
| 3190 | } |
| 3191 | } |
| 3192 | |
| 3193 | #loadingBar.indeterminate .progress{ |
| 3194 | transform:none; |
| 3195 | background-color:var(--progressBar-bg-color); |
| 3196 | transition:none; |
| 3197 | } |
| 3198 | |
| 3199 | #loadingBar.indeterminate .progress .glimmer{ |
| 3200 | position:absolute; |
| 3201 | top:0; |
| 3202 | inset-inline-start:0; |
| 3203 | height:100%; |
| 3204 | width:calc(100% + 150px); |
| 3205 | background:repeating-linear-gradient( |
| 3206 | 135deg, |
| 3207 | var(--progressBar-blend-color) 0, |
| 3208 | var(--progressBar-bg-color) 5px, |
| 3209 | var(--progressBar-bg-color) 45px, |
| 3210 | var(--progressBar-color) 55px, |
| 3211 | var(--progressBar-color) 95px, |
| 3212 | var(--progressBar-blend-color) 100px |
| 3213 | ); |
| 3214 | animation:progressIndeterminate 1s linear infinite; |
| 3215 | } |
| 3216 | |
| 3217 | #outerContainer.sidebarResizing |
| 3218 | :is(#sidebarContainer, #viewerContainer, #loadingBar){ |
| 3219 | transition-duration:0s; |
| 3220 | } |
| 3221 | |
| 3222 | .findbar, |
| 3223 | .secondaryToolbar, |
| 3224 | .editorParamsToolbar{ |
| 3225 | top:32px; |
| 3226 | position:absolute; |
| 3227 | z-index:30000; |
| 3228 | height:auto; |
| 3229 | padding:0 4px; |
| 3230 | margin:4px 2px; |
| 3231 | font:message-box; |
| 3232 | font-size:12px; |
| 3233 | line-height:14px; |
| 3234 | text-align:left; |
| 3235 | cursor:default; |
| 3236 | } |
| 3237 | |
| 3238 | .findbar{ |
| 3239 | inset-inline-start:64px; |
| 3240 | min-width:300px; |
| 3241 | background-color:var(--toolbar-bg-color); |
| 3242 | } |
| 3243 | .findbar > div{ |
| 3244 | height:32px; |
| 3245 | } |
| 3246 | .findbar > div#findbarInputContainer{ |
| 3247 | margin-inline-end:4px; |
| 3248 | } |
| 3249 | .findbar.wrapContainers > div, |
| 3250 | .findbar.wrapContainers > div#findbarMessageContainer > *{ |
| 3251 | clear:both; |
| 3252 | } |
| 3253 | .findbar.wrapContainers > div#findbarMessageContainer{ |
| 3254 | height:auto; |
| 3255 | } |
| 3256 | |
| 3257 | .findbar input[type="checkbox"]{ |
| 3258 | pointer-events:none; |
| 3259 | } |
| 3260 | |
| 3261 | .findbar label{ |
| 3262 | -webkit-user-select:none; |
| 3263 | -moz-user-select:none; |
| 3264 | user-select:none; |
| 3265 | } |
| 3266 | |
| 3267 | .findbar label:hover, |
| 3268 | .findbar input:focus-visible + label{ |
| 3269 | color:var(--toggled-btn-color); |
| 3270 | background-color:var(--button-hover-color); |
| 3271 | } |
| 3272 | |
| 3273 | .findbar .toolbarField[type="checkbox"]:checked + .toolbarLabel{ |
| 3274 | background-color:var(--toggled-btn-bg-color) !important; |
| 3275 | color:var(--toggled-btn-color); |
| 3276 | } |
| 3277 | |
| 3278 | #findInput{ |
| 3279 | width:200px; |
| 3280 | } |
| 3281 | |
| 3282 | #findInput::-moz-placeholder{ |
| 3283 | font-style:normal; |
| 3284 | } |
| 3285 | |
| 3286 | #findInput::placeholder{ |
| 3287 | font-style:normal; |
| 3288 | } |
| 3289 | |
| 3290 | .loadingInput:has(> #findInput[data-status="pending"])::after{ |
| 3291 | display:block; |
| 3292 | visibility:visible; |
| 3293 | } |
| 3294 | |
| 3295 | #findInput[data-status="notFound"]{ |
| 3296 | background-color:rgb(255 102 102); |
| 3297 | } |
| 3298 | |
| 3299 | .secondaryToolbar, |
| 3300 | .editorParamsToolbar{ |
| 3301 | padding:6px 0 10px; |
| 3302 | inset-inline-end:4px; |
| 3303 | height:auto; |
| 3304 | background-color:var(--doorhanger-bg-color); |
| 3305 | } |
| 3306 | |
| 3307 | .editorParamsToolbarContainer{ |
| 3308 | width:220px; |
| 3309 | margin-bottom:-4px; |
| 3310 | } |
| 3311 | |
| 3312 | .editorParamsToolbarContainer > .editorParamsSetter{ |
| 3313 | min-height:26px; |
| 3314 | display:flex; |
| 3315 | align-items:center; |
| 3316 | justify-content:space-between; |
| 3317 | padding-inline:10px; |
| 3318 | } |
| 3319 | |
| 3320 | .editorParamsToolbarContainer .editorParamsLabel{ |
| 3321 | padding-inline-end:10px; |
| 3322 | flex:none; |
| 3323 | font:menu; |
| 3324 | font-size:13px; |
| 3325 | font-style:normal; |
| 3326 | font-weight:400; |
| 3327 | line-height:150%; |
| 3328 | color:var(--main-color); |
| 3329 | } |
| 3330 | |
| 3331 | .editorParamsToolbarContainer .editorParamsColor{ |
| 3332 | width:32px; |
| 3333 | height:32px; |
| 3334 | flex:none; |
| 3335 | } |
| 3336 | |
| 3337 | .editorParamsToolbarContainer .editorParamsSlider{ |
| 3338 | background-color:transparent; |
| 3339 | width:90px; |
| 3340 | flex:0 1 0; |
| 3341 | } |
| 3342 | |
| 3343 | .editorParamsToolbarContainer .editorParamsSlider::-moz-range-progress{ |
| 3344 | background-color:black; |
| 3345 | } |
| 3346 | |
| 3347 | .editorParamsToolbarContainer .editorParamsSlider::-webkit-slider-runnable-track, |
| 3348 | .editorParamsToolbarContainer .editorParamsSlider::-moz-range-track{ |
| 3349 | background-color:black; |
| 3350 | } |
| 3351 | |
| 3352 | .editorParamsToolbarContainer .editorParamsSlider::-webkit-slider-thumb, |
| 3353 | .editorParamsToolbarContainer .editorParamsSlider::-moz-range-thumb{ |
| 3354 | background-color:white; |
| 3355 | } |
| 3356 | |
| 3357 | #secondaryToolbarButtonContainer{ |
| 3358 | max-width:220px; |
| 3359 | min-height:26px; |
| 3360 | max-height:calc(var(--viewer-container-height) - 40px); |
| 3361 | overflow-y:auto; |
| 3362 | margin-bottom:-4px; |
| 3363 | } |
| 3364 | |
| 3365 | #editorStampParamsToolbar{ |
| 3366 | inset-inline-end:calc(var(--editor-toolbar-base-offset) + 0px); |
| 3367 | } |
| 3368 | |
| 3369 | #editorInkParamsToolbar{ |
| 3370 | inset-inline-end:calc(var(--editor-toolbar-base-offset) + 28px); |
| 3371 | } |
| 3372 | |
| 3373 | #editorFreeTextParamsToolbar{ |
| 3374 | inset-inline-end:calc(var(--editor-toolbar-base-offset) + 56px); |
| 3375 | } |
| 3376 | |
| 3377 | #editorHighlightParamsToolbar{ |
| 3378 | inset-inline-end:calc(var(--editor-toolbar-base-offset) + 84px); |
| 3379 | } |
| 3380 | |
| 3381 | #editorStampAddImage::before{ |
| 3382 | -webkit-mask-image:var(--editorParams-stampAddImage-icon); |
| 3383 | mask-image:var(--editorParams-stampAddImage-icon); |
| 3384 | } |
| 3385 | |
| 3386 | .doorHanger, |
| 3387 | .doorHangerRight{ |
| 3388 | border-radius:2px; |
| 3389 | box-shadow:0 1px 5px var(--doorhanger-border-color), 0 0 0 1px var(--doorhanger-border-color); |
| 3390 | border:var(--doorhanger-border-color-whcm); |
| 3391 | } |
| 3392 | :is(.doorHanger, .doorHangerRight)::after, |
| 3393 | :is(.doorHanger, .doorHangerRight)::before{ |
| 3394 | bottom:100%; |
| 3395 | border:8px solid rgb(0 0 0 / 0); |
| 3396 | content:" "; |
| 3397 | height:0; |
| 3398 | width:0; |
| 3399 | position:absolute; |
| 3400 | pointer-events:none; |
| 3401 | opacity:var(--doorhanger-triangle-opacity-whcm); |
| 3402 | } |
| 3403 | .doorHanger::after{ |
| 3404 | inset-inline-start:10px; |
| 3405 | margin-inline-start:-8px; |
| 3406 | border-bottom-color:var(--toolbar-bg-color); |
| 3407 | } |
| 3408 | .doorHangerRight::after{ |
| 3409 | inset-inline-end:10px; |
| 3410 | margin-inline-end:-8px; |
| 3411 | border-bottom-color:var(--doorhanger-bg-color); |
| 3412 | } |
| 3413 | :is(.doorHanger, .doorHangerRight)::before{ |
| 3414 | border-bottom-color:var(--doorhanger-border-color); |
| 3415 | border-width:9px; |
| 3416 | } |
| 3417 | .doorHanger::before{ |
| 3418 | inset-inline-start:10px; |
| 3419 | margin-inline-start:-9px; |
| 3420 | } |
| 3421 | .doorHangerRight::before{ |
| 3422 | inset-inline-end:10px; |
| 3423 | margin-inline-end:-9px; |
| 3424 | } |
| 3425 | |
| 3426 | #findResultsCount{ |
| 3427 | background-color:rgb(217 217 217); |
| 3428 | color:rgb(82 82 82); |
| 3429 | text-align:center; |
| 3430 | padding:4px 5px; |
| 3431 | margin:5px; |
| 3432 | } |
| 3433 | |
| 3434 | #findMsg[data-status="notFound"]{ |
| 3435 | font-weight:bold; |
| 3436 | } |
| 3437 | |
| 3438 | :is(#findResultsCount, #findMsg):empty{ |
| 3439 | display:none; |
| 3440 | } |
| 3441 | |
| 3442 | #toolbarViewerMiddle{ |
| 3443 | position:absolute; |
| 3444 | left:50%; |
| 3445 | transform:translateX(-50%); |
| 3446 | } |
| 3447 | |
| 3448 | #toolbarViewerLeft, |
| 3449 | #toolbarSidebarLeft{ |
| 3450 | float:var(--inline-start); |
| 3451 | } |
| 3452 | #toolbarViewerRight, |
| 3453 | #toolbarSidebarRight{ |
| 3454 | float:var(--inline-end); |
| 3455 | } |
| 3456 | |
| 3457 | #toolbarViewerLeft > *, |
| 3458 | #toolbarViewerMiddle > *, |
| 3459 | #toolbarViewerRight > *, |
| 3460 | #toolbarSidebarLeft *, |
| 3461 | #toolbarSidebarRight *, |
| 3462 | .findbar *{ |
| 3463 | position:relative; |
| 3464 | float:var(--inline-start); |
| 3465 | } |
| 3466 | |
| 3467 | #toolbarViewerLeft{ |
| 3468 | padding-inline-start:1px; |
| 3469 | } |
| 3470 | #toolbarViewerRight{ |
| 3471 | padding-inline-end:1px; |
| 3472 | } |
| 3473 | #toolbarSidebarRight{ |
| 3474 | padding-inline-end:2px; |
| 3475 | } |
| 3476 | |
| 3477 | .splitToolbarButton{ |
| 3478 | margin:2px; |
| 3479 | display:inline-block; |
| 3480 | } |
| 3481 | .splitToolbarButton > .toolbarButton{ |
| 3482 | float:var(--inline-start); |
| 3483 | } |
| 3484 | |
| 3485 | .toolbarButton, |
| 3486 | .secondaryToolbarButton, |
| 3487 | .dialogButton{ |
| 3488 | border:none; |
| 3489 | background:none; |
| 3490 | width:28px; |
| 3491 | height:28px; |
| 3492 | outline:none; |
| 3493 | } |
| 3494 | |
| 3495 | .dialogButton:is(:hover, :focus-visible){ |
| 3496 | background-color:var(--dialog-button-hover-bg-color); |
| 3497 | } |
| 3498 | |
| 3499 | .dialogButton:is(:hover, :focus-visible) > span{ |
| 3500 | color:var(--dialog-button-hover-color); |
| 3501 | } |
| 3502 | |
| 3503 | .toolbarButton > span{ |
| 3504 | display:inline-block; |
| 3505 | width:0; |
| 3506 | height:0; |
| 3507 | overflow:hidden; |
| 3508 | } |
| 3509 | |
| 3510 | :is(.toolbarButton, .secondaryToolbarButton, .dialogButton)[disabled]{ |
| 3511 | opacity:0.5; |
| 3512 | } |
| 3513 | |
| 3514 | .splitToolbarButton > .toolbarButton:is(:hover, :focus-visible), |
| 3515 | .dropdownToolbarButton:hover{ |
| 3516 | background-color:var(--button-hover-color); |
| 3517 | } |
| 3518 | .splitToolbarButton > .toolbarButton{ |
| 3519 | position:relative; |
| 3520 | margin:0; |
| 3521 | } |
| 3522 | #toolbarSidebar .splitToolbarButton > .toolbarButton{ |
| 3523 | margin-inline-end:2px; |
| 3524 | } |
| 3525 | |
| 3526 | .splitToolbarButtonSeparator{ |
| 3527 | float:var(--inline-start); |
| 3528 | margin:4px 0; |
| 3529 | width:1px; |
| 3530 | height:20px; |
| 3531 | background-color:var(--separator-color); |
| 3532 | } |
| 3533 | |
| 3534 | .toolbarButton, |
| 3535 | .dropdownToolbarButton, |
| 3536 | .secondaryToolbarButton, |
| 3537 | .dialogButton{ |
| 3538 | min-width:16px; |
| 3539 | margin:2px 1px; |
| 3540 | padding:2px 6px 0; |
| 3541 | border:none; |
| 3542 | border-radius:2px; |
| 3543 | color:var(--main-color); |
| 3544 | font-size:12px; |
| 3545 | line-height:14px; |
| 3546 | -webkit-user-select:none; |
| 3547 | -moz-user-select:none; |
| 3548 | user-select:none; |
| 3549 | cursor:default; |
| 3550 | box-sizing:border-box; |
| 3551 | } |
| 3552 | |
| 3553 | .toolbarButton:is(:hover, :focus-visible){ |
| 3554 | background-color:var(--button-hover-color); |
| 3555 | } |
| 3556 | .secondaryToolbarButton:is(:hover, :focus-visible){ |
| 3557 | background-color:var(--doorhanger-hover-bg-color); |
| 3558 | color:var(--doorhanger-hover-color); |
| 3559 | } |
| 3560 | |
| 3561 | :is(.toolbarButton, .secondaryToolbarButton).toggled, |
| 3562 | .splitToolbarButton.toggled > .toolbarButton.toggled{ |
| 3563 | background-color:var(--toggled-btn-bg-color); |
| 3564 | color:var(--toggled-btn-color); |
| 3565 | } |
| 3566 | |
| 3567 | :is(.toolbarButton, .secondaryToolbarButton).toggled:hover, |
| 3568 | .splitToolbarButton.toggled > .toolbarButton.toggled:hover{ |
| 3569 | outline:var(--toggled-hover-btn-outline) !important; |
| 3570 | } |
| 3571 | |
| 3572 | :is(.toolbarButton, .secondaryToolbarButton).toggled::before{ |
| 3573 | background-color:var(--toggled-btn-color); |
| 3574 | } |
| 3575 | |
| 3576 | :is(.toolbarButton, .secondaryToolbarButton).toggled:hover:active, |
| 3577 | .splitToolbarButton.toggled > .toolbarButton.toggled:hover:active{ |
| 3578 | background-color:var(--toggled-hover-active-btn-color); |
| 3579 | } |
| 3580 | |
| 3581 | .dropdownToolbarButton{ |
| 3582 | display:flex; |
| 3583 | width:-moz-fit-content; |
| 3584 | width:fit-content; |
| 3585 | min-width:140px; |
| 3586 | padding:0; |
| 3587 | background-color:var(--dropdown-btn-bg-color); |
| 3588 | border:var(--dropdown-btn-border); |
| 3589 | } |
| 3590 | .dropdownToolbarButton::after{ |
| 3591 | top:6px; |
| 3592 | inset-inline-end:6px; |
| 3593 | pointer-events:none; |
| 3594 | -webkit-mask-image:var(--toolbarButton-menuArrow-icon); |
| 3595 | mask-image:var(--toolbarButton-menuArrow-icon); |
| 3596 | } |
| 3597 | |
| 3598 | .dropdownToolbarButton > select{ |
| 3599 | -webkit-appearance:none; |
| 3600 | -moz-appearance:none; |
| 3601 | appearance:none; |
| 3602 | width:inherit; |
| 3603 | min-width:inherit; |
| 3604 | height:28px; |
| 3605 | font-size:12px; |
| 3606 | color:var(--main-color); |
| 3607 | margin:0; |
| 3608 | padding-block:1px 2px; |
| 3609 | padding-inline:6px 38px; |
| 3610 | border:none; |
| 3611 | background-color:var(--dropdown-btn-bg-color); |
| 3612 | } |
| 3613 | .dropdownToolbarButton > select:is(:hover, :focus-visible){ |
| 3614 | background-color:var(--button-hover-color); |
| 3615 | color:var(--toggled-btn-color); |
| 3616 | } |
| 3617 | .dropdownToolbarButton > select > option{ |
| 3618 | background:var(--doorhanger-bg-color); |
| 3619 | color:var(--main-color); |
| 3620 | } |
| 3621 | |
| 3622 | .toolbarButtonSpacer{ |
| 3623 | width:30px; |
| 3624 | display:inline-block; |
| 3625 | height:1px; |
| 3626 | } |
| 3627 | |
| 3628 | :is(.toolbarButton, .secondaryToolbarButton, .treeItemToggler)::before, |
| 3629 | .dropdownToolbarButton::after{ |
| 3630 | position:absolute; |
| 3631 | display:inline-block; |
| 3632 | width:16px; |
| 3633 | height:16px; |
| 3634 | |
| 3635 | content:""; |
| 3636 | background-color:var(--toolbar-icon-bg-color); |
| 3637 | -webkit-mask-size:cover; |
| 3638 | mask-size:cover; |
| 3639 | } |
| 3640 | |
| 3641 | .dropdownToolbarButton:is(:hover, :focus-visible, :active)::after{ |
| 3642 | background-color:var(--toolbar-icon-hover-bg-color); |
| 3643 | } |
| 3644 | |
| 3645 | .toolbarButton::before{ |
| 3646 | opacity:var(--toolbar-icon-opacity); |
| 3647 | top:6px; |
| 3648 | left:6px; |
| 3649 | } |
| 3650 | |
| 3651 | .toolbarButton:is(:hover, :focus-visible)::before, |
| 3652 | .secondaryToolbarButton:is(:hover, :focus-visible)::before{ |
| 3653 | background-color:var(--toolbar-icon-hover-bg-color); |
| 3654 | } |
| 3655 | |
| 3656 | .secondaryToolbarButton::before{ |
| 3657 | opacity:var(--doorhanger-icon-opacity); |
| 3658 | top:5px; |
| 3659 | inset-inline-start:12px; |
| 3660 | } |
| 3661 | |
| 3662 | #sidebarToggle::before{ |
| 3663 | -webkit-mask-image:var(--toolbarButton-sidebarToggle-icon); |
| 3664 | mask-image:var(--toolbarButton-sidebarToggle-icon); |
| 3665 | transform:scaleX(var(--dir-factor)); |
| 3666 | } |
| 3667 | |
| 3668 | #secondaryToolbarToggle::before{ |
| 3669 | -webkit-mask-image:var(--toolbarButton-secondaryToolbarToggle-icon); |
| 3670 | mask-image:var(--toolbarButton-secondaryToolbarToggle-icon); |
| 3671 | transform:scaleX(var(--dir-factor)); |
| 3672 | } |
| 3673 | |
| 3674 | #findPrevious::before{ |
| 3675 | -webkit-mask-image:var(--findbarButton-previous-icon); |
| 3676 | mask-image:var(--findbarButton-previous-icon); |
| 3677 | } |
| 3678 | |
| 3679 | #findNext::before{ |
| 3680 | -webkit-mask-image:var(--findbarButton-next-icon); |
| 3681 | mask-image:var(--findbarButton-next-icon); |
| 3682 | } |
| 3683 | |
| 3684 | #previous::before{ |
| 3685 | -webkit-mask-image:var(--toolbarButton-pageUp-icon); |
| 3686 | mask-image:var(--toolbarButton-pageUp-icon); |
| 3687 | } |
| 3688 | |
| 3689 | #next::before{ |
| 3690 | -webkit-mask-image:var(--toolbarButton-pageDown-icon); |
| 3691 | mask-image:var(--toolbarButton-pageDown-icon); |
| 3692 | } |
| 3693 | |
| 3694 | #zoomOut::before{ |
| 3695 | -webkit-mask-image:var(--toolbarButton-zoomOut-icon); |
| 3696 | mask-image:var(--toolbarButton-zoomOut-icon); |
| 3697 | } |
| 3698 | |
| 3699 | #zoomIn::before{ |
| 3700 | -webkit-mask-image:var(--toolbarButton-zoomIn-icon); |
| 3701 | mask-image:var(--toolbarButton-zoomIn-icon); |
| 3702 | } |
| 3703 | |
| 3704 | #presentationMode::before{ |
| 3705 | -webkit-mask-image:var(--toolbarButton-presentationMode-icon); |
| 3706 | mask-image:var(--toolbarButton-presentationMode-icon); |
| 3707 | } |
| 3708 | |
| 3709 | #editorFreeText::before{ |
| 3710 | -webkit-mask-image:var(--toolbarButton-editorFreeText-icon); |
| 3711 | mask-image:var(--toolbarButton-editorFreeText-icon); |
| 3712 | } |
| 3713 | |
| 3714 | #editorHighlight::before{ |
| 3715 | -webkit-mask-image:var(--toolbarButton-editorHighlight-icon); |
| 3716 | mask-image:var(--toolbarButton-editorHighlight-icon); |
| 3717 | } |
| 3718 | |
| 3719 | #editorInk::before{ |
| 3720 | -webkit-mask-image:var(--toolbarButton-editorInk-icon); |
| 3721 | mask-image:var(--toolbarButton-editorInk-icon); |
| 3722 | } |
| 3723 | |
| 3724 | #editorStamp::before{ |
| 3725 | -webkit-mask-image:var(--toolbarButton-editorStamp-icon); |
| 3726 | mask-image:var(--toolbarButton-editorStamp-icon); |
| 3727 | } |
| 3728 | |
| 3729 | :is(#print, #secondaryPrint)::before{ |
| 3730 | -webkit-mask-image:var(--toolbarButton-print-icon); |
| 3731 | mask-image:var(--toolbarButton-print-icon); |
| 3732 | } |
| 3733 | |
| 3734 | #secondaryOpenFile::before{ |
| 3735 | -webkit-mask-image:var(--toolbarButton-openFile-icon); |
| 3736 | mask-image:var(--toolbarButton-openFile-icon); |
| 3737 | } |
| 3738 | |
| 3739 | :is(#download, #secondaryDownload)::before{ |
| 3740 | -webkit-mask-image:var(--toolbarButton-download-icon); |
| 3741 | mask-image:var(--toolbarButton-download-icon); |
| 3742 | } |
| 3743 | |
| 3744 | a.secondaryToolbarButton{ |
| 3745 | padding-top:5px; |
| 3746 | text-decoration:none; |
| 3747 | } |
| 3748 | a:is(.toolbarButton, .secondaryToolbarButton)[href="#"]{ |
| 3749 | opacity:0.5; |
| 3750 | pointer-events:none; |
| 3751 | } |
| 3752 | |
| 3753 | #viewBookmark::before{ |
| 3754 | -webkit-mask-image:var(--toolbarButton-bookmark-icon); |
| 3755 | mask-image:var(--toolbarButton-bookmark-icon); |
| 3756 | } |
| 3757 | |
| 3758 | #viewThumbnail::before{ |
| 3759 | -webkit-mask-image:var(--toolbarButton-viewThumbnail-icon); |
| 3760 | mask-image:var(--toolbarButton-viewThumbnail-icon); |
| 3761 | } |
| 3762 | |
| 3763 | #viewOutline::before{ |
| 3764 | -webkit-mask-image:var(--toolbarButton-viewOutline-icon); |
| 3765 | mask-image:var(--toolbarButton-viewOutline-icon); |
| 3766 | transform:scaleX(var(--dir-factor)); |
| 3767 | } |
| 3768 | |
| 3769 | #viewAttachments::before{ |
| 3770 | -webkit-mask-image:var(--toolbarButton-viewAttachments-icon); |
| 3771 | mask-image:var(--toolbarButton-viewAttachments-icon); |
| 3772 | } |
| 3773 | |
| 3774 | #viewLayers::before{ |
| 3775 | -webkit-mask-image:var(--toolbarButton-viewLayers-icon); |
| 3776 | mask-image:var(--toolbarButton-viewLayers-icon); |
| 3777 | } |
| 3778 | |
| 3779 | #currentOutlineItem::before{ |
| 3780 | -webkit-mask-image:var(--toolbarButton-currentOutlineItem-icon); |
| 3781 | mask-image:var(--toolbarButton-currentOutlineItem-icon); |
| 3782 | transform:scaleX(var(--dir-factor)); |
| 3783 | } |
| 3784 | |
| 3785 | #viewFind::before{ |
| 3786 | -webkit-mask-image:var(--toolbarButton-search-icon); |
| 3787 | mask-image:var(--toolbarButton-search-icon); |
| 3788 | } |
| 3789 | |
| 3790 | .pdfSidebarNotification::after{ |
| 3791 | position:absolute; |
| 3792 | display:inline-block; |
| 3793 | top:2px; |
| 3794 | inset-inline-end:2px; |
| 3795 | content:""; |
| 3796 | background-color:rgb(112 219 85); |
| 3797 | height:9px; |
| 3798 | width:9px; |
| 3799 | border-radius:50%; |
| 3800 | } |
| 3801 | |
| 3802 | .secondaryToolbarButton{ |
| 3803 | position:relative; |
| 3804 | margin:0; |
| 3805 | padding:0 0 1px; |
| 3806 | padding-inline-start:36px; |
| 3807 | height:auto; |
| 3808 | min-height:26px; |
| 3809 | width:auto; |
| 3810 | min-width:100%; |
| 3811 | text-align:start; |
| 3812 | white-space:normal; |
| 3813 | border-radius:0; |
| 3814 | box-sizing:border-box; |
| 3815 | display:inline-block; |
| 3816 | } |
| 3817 | .secondaryToolbarButton > span{ |
| 3818 | padding-inline-end:4px; |
| 3819 | } |
| 3820 | |
| 3821 | #firstPage::before{ |
| 3822 | -webkit-mask-image:var(--secondaryToolbarButton-firstPage-icon); |
| 3823 | mask-image:var(--secondaryToolbarButton-firstPage-icon); |
| 3824 | } |
| 3825 | |
| 3826 | #lastPage::before{ |
| 3827 | -webkit-mask-image:var(--secondaryToolbarButton-lastPage-icon); |
| 3828 | mask-image:var(--secondaryToolbarButton-lastPage-icon); |
| 3829 | } |
| 3830 | |
| 3831 | #pageRotateCcw::before{ |
| 3832 | -webkit-mask-image:var(--secondaryToolbarButton-rotateCcw-icon); |
| 3833 | mask-image:var(--secondaryToolbarButton-rotateCcw-icon); |
| 3834 | } |
| 3835 | |
| 3836 | #pageRotateCw::before{ |
| 3837 | -webkit-mask-image:var(--secondaryToolbarButton-rotateCw-icon); |
| 3838 | mask-image:var(--secondaryToolbarButton-rotateCw-icon); |
| 3839 | } |
| 3840 | |
| 3841 | #cursorSelectTool::before{ |
| 3842 | -webkit-mask-image:var(--secondaryToolbarButton-selectTool-icon); |
| 3843 | mask-image:var(--secondaryToolbarButton-selectTool-icon); |
| 3844 | } |
| 3845 | |
| 3846 | #cursorHandTool::before{ |
| 3847 | -webkit-mask-image:var(--secondaryToolbarButton-handTool-icon); |
| 3848 | mask-image:var(--secondaryToolbarButton-handTool-icon); |
| 3849 | } |
| 3850 | |
| 3851 | #scrollPage::before{ |
| 3852 | -webkit-mask-image:var(--secondaryToolbarButton-scrollPage-icon); |
| 3853 | mask-image:var(--secondaryToolbarButton-scrollPage-icon); |
| 3854 | } |
| 3855 | |
| 3856 | #scrollVertical::before{ |
| 3857 | -webkit-mask-image:var(--secondaryToolbarButton-scrollVertical-icon); |
| 3858 | mask-image:var(--secondaryToolbarButton-scrollVertical-icon); |
| 3859 | } |
| 3860 | |
| 3861 | #scrollHorizontal::before{ |
| 3862 | -webkit-mask-image:var(--secondaryToolbarButton-scrollHorizontal-icon); |
| 3863 | mask-image:var(--secondaryToolbarButton-scrollHorizontal-icon); |
| 3864 | } |
| 3865 | |
| 3866 | #scrollWrapped::before{ |
| 3867 | -webkit-mask-image:var(--secondaryToolbarButton-scrollWrapped-icon); |
| 3868 | mask-image:var(--secondaryToolbarButton-scrollWrapped-icon); |
| 3869 | } |
| 3870 | |
| 3871 | #spreadNone::before{ |
| 3872 | -webkit-mask-image:var(--secondaryToolbarButton-spreadNone-icon); |
| 3873 | mask-image:var(--secondaryToolbarButton-spreadNone-icon); |
| 3874 | } |
| 3875 | |
| 3876 | #spreadOdd::before{ |
| 3877 | -webkit-mask-image:var(--secondaryToolbarButton-spreadOdd-icon); |
| 3878 | mask-image:var(--secondaryToolbarButton-spreadOdd-icon); |
| 3879 | } |
| 3880 | |
| 3881 | #spreadEven::before{ |
| 3882 | -webkit-mask-image:var(--secondaryToolbarButton-spreadEven-icon); |
| 3883 | mask-image:var(--secondaryToolbarButton-spreadEven-icon); |
| 3884 | } |
| 3885 | |
| 3886 | #documentProperties::before{ |
| 3887 | -webkit-mask-image:var(--secondaryToolbarButton-documentProperties-icon); |
| 3888 | mask-image:var(--secondaryToolbarButton-documentProperties-icon); |
| 3889 | } |
| 3890 | |
| 3891 | .verticalToolbarSeparator{ |
| 3892 | display:block; |
| 3893 | margin:5px 2px; |
| 3894 | width:1px; |
| 3895 | height:22px; |
| 3896 | background-color:var(--separator-color); |
| 3897 | } |
| 3898 | .horizontalToolbarSeparator{ |
| 3899 | display:block; |
| 3900 | margin:6px 0; |
| 3901 | height:1px; |
| 3902 | width:100%; |
| 3903 | background-color:var(--doorhanger-separator-color); |
| 3904 | } |
| 3905 | |
| 3906 | .toolbarField{ |
| 3907 | padding:4px 7px; |
| 3908 | margin:3px 0; |
| 3909 | border-radius:2px; |
| 3910 | background-color:var(--field-bg-color); |
| 3911 | background-clip:padding-box; |
| 3912 | border:1px solid var(--field-border-color); |
| 3913 | box-shadow:none; |
| 3914 | color:var(--field-color); |
| 3915 | font-size:12px; |
| 3916 | line-height:16px; |
| 3917 | outline:none; |
| 3918 | } |
| 3919 | |
| 3920 | .toolbarField[type="checkbox"]{ |
| 3921 | opacity:0; |
| 3922 | position:absolute !important; |
| 3923 | left:0; |
| 3924 | margin:10px 0 3px; |
| 3925 | margin-inline-start:7px; |
| 3926 | } |
| 3927 | |
| 3928 | #pageNumber{ |
| 3929 | -moz-appearance:textfield; |
| 3930 | text-align:end; |
| 3931 | width:40px; |
| 3932 | background-size:0 0; |
| 3933 | transition-property:none; |
| 3934 | } |
| 3935 | |
| 3936 | #pageNumber::-webkit-inner-spin-button{ |
| 3937 | -webkit-appearance:none; |
| 3938 | } |
| 3939 | |
| 3940 | .loadingInput:has(> #pageNumber.loading)::after{ |
| 3941 | display:block; |
| 3942 | visibility:visible; |
| 3943 | |
| 3944 | transition-property:visibility; |
| 3945 | transition-delay:var(--loading-icon-delay); |
| 3946 | } |
| 3947 | |
| 3948 | .loadingInput::after{ |
| 3949 | position:absolute; |
| 3950 | visibility:hidden; |
| 3951 | display:none; |
| 3952 | top:calc(50% - 8px); |
| 3953 | width:16px; |
| 3954 | height:16px; |
| 3955 | |
| 3956 | content:""; |
| 3957 | background-color:var(--toolbar-icon-bg-color); |
| 3958 | -webkit-mask-size:cover; |
| 3959 | mask-size:cover; |
| 3960 | -webkit-mask-image:var(--loading-icon); |
| 3961 | mask-image:var(--loading-icon); |
| 3962 | } |
| 3963 | |
| 3964 | .loadingInput.start::after{ |
| 3965 | inset-inline-start:4px; |
| 3966 | } |
| 3967 | |
| 3968 | .loadingInput.end::after{ |
| 3969 | inset-inline-end:4px; |
| 3970 | } |
| 3971 | |
| 3972 | .toolbarField:focus{ |
| 3973 | border-color:#0a84ff; |
| 3974 | } |
| 3975 | |
| 3976 | .toolbarLabel{ |
| 3977 | min-width:16px; |
| 3978 | padding:7px; |
| 3979 | margin:2px; |
| 3980 | border-radius:2px; |
| 3981 | color:var(--main-color); |
| 3982 | font-size:12px; |
| 3983 | line-height:14px; |
| 3984 | text-align:left; |
| 3985 | -webkit-user-select:none; |
| 3986 | -moz-user-select:none; |
| 3987 | user-select:none; |
| 3988 | cursor:default; |
| 3989 | } |
| 3990 | |
| 3991 | #numPages.toolbarLabel{ |
| 3992 | padding-inline-start:3px; |
| 3993 | } |
| 3994 | |
| 3995 | #thumbnailView, |
| 3996 | #outlineView, |
| 3997 | #attachmentsView, |
| 3998 | #layersView{ |
| 3999 | position:absolute; |
| 4000 | width:calc(100% - 8px); |
| 4001 | inset-block:0; |
| 4002 | padding:4px 4px 0; |
| 4003 | overflow:auto; |
| 4004 | -webkit-user-select:none; |
| 4005 | -moz-user-select:none; |
| 4006 | user-select:none; |
| 4007 | } |
| 4008 | #thumbnailView{ |
| 4009 | width:calc(100% - 60px); |
| 4010 | padding:10px 30px 0; |
| 4011 | } |
| 4012 | |
| 4013 | #thumbnailView > a:is(:active, :focus){ |
| 4014 | outline:0; |
| 4015 | } |
| 4016 | |
| 4017 | .thumbnail{ |
| 4018 | --thumbnail-width:0; |
| 4019 | --thumbnail-height:0; |
| 4020 | |
| 4021 | float:var(--inline-start); |
| 4022 | width:var(--thumbnail-width); |
| 4023 | height:var(--thumbnail-height); |
| 4024 | margin:0 10px 5px; |
| 4025 | padding:1px; |
| 4026 | border:7px solid transparent; |
| 4027 | border-radius:2px; |
| 4028 | } |
| 4029 | |
| 4030 | #thumbnailView > a:last-of-type > .thumbnail{ |
| 4031 | margin-bottom:10px; |
| 4032 | } |
| 4033 | |
| 4034 | a:focus > .thumbnail, |
| 4035 | .thumbnail:hover{ |
| 4036 | border-color:var(--thumbnail-hover-color); |
| 4037 | } |
| 4038 | .thumbnail.selected{ |
| 4039 | border-color:var(--thumbnail-selected-color) !important; |
| 4040 | } |
| 4041 | |
| 4042 | .thumbnailImage{ |
| 4043 | width:var(--thumbnail-width); |
| 4044 | height:var(--thumbnail-height); |
| 4045 | opacity:0.9; |
| 4046 | } |
| 4047 | a:focus > .thumbnail > .thumbnailImage, |
| 4048 | .thumbnail:hover > .thumbnailImage{ |
| 4049 | opacity:0.95; |
| 4050 | } |
| 4051 | .thumbnail.selected > .thumbnailImage{ |
| 4052 | opacity:1 !important; |
| 4053 | } |
| 4054 | |
| 4055 | .thumbnail:not([data-loaded]) > .thumbnailImage{ |
| 4056 | width:calc(var(--thumbnail-width) - 2px); |
| 4057 | height:calc(var(--thumbnail-height) - 2px); |
| 4058 | border:1px dashed rgb(132 132 132); |
| 4059 | } |
| 4060 | |
| 4061 | .treeWithDeepNesting > .treeItem, |
| 4062 | .treeItem > .treeItems{ |
| 4063 | margin-inline-start:20px; |
| 4064 | } |
| 4065 | |
| 4066 | .treeItem > a{ |
| 4067 | text-decoration:none; |
| 4068 | display:inline-block; |
| 4069 | min-width:calc(100% - 4px); |
| 4070 | height:auto; |
| 4071 | margin-bottom:1px; |
| 4072 | padding:2px 0 5px; |
| 4073 | padding-inline-start:4px; |
| 4074 | border-radius:2px; |
| 4075 | color:var(--treeitem-color); |
| 4076 | font-size:13px; |
| 4077 | line-height:15px; |
| 4078 | -webkit-user-select:none; |
| 4079 | -moz-user-select:none; |
| 4080 | user-select:none; |
| 4081 | white-space:normal; |
| 4082 | cursor:pointer; |
| 4083 | } |
| 4084 | |
| 4085 | #layersView .treeItem > a *{ |
| 4086 | cursor:pointer; |
| 4087 | } |
| 4088 | #layersView .treeItem > a > label{ |
| 4089 | padding-inline-start:4px; |
| 4090 | } |
| 4091 | #layersView .treeItem > a > label > input{ |
| 4092 | float:var(--inline-start); |
| 4093 | margin-top:1px; |
| 4094 | } |
| 4095 | |
| 4096 | .treeItemToggler{ |
| 4097 | position:relative; |
| 4098 | float:var(--inline-start); |
| 4099 | height:0; |
| 4100 | width:0; |
| 4101 | color:rgb(255 255 255 / 0.5); |
| 4102 | } |
| 4103 | .treeItemToggler::before{ |
| 4104 | inset-inline-end:4px; |
| 4105 | -webkit-mask-image:var(--treeitem-expanded-icon); |
| 4106 | mask-image:var(--treeitem-expanded-icon); |
| 4107 | } |
| 4108 | .treeItemToggler.treeItemsHidden::before{ |
| 4109 | -webkit-mask-image:var(--treeitem-collapsed-icon); |
| 4110 | mask-image:var(--treeitem-collapsed-icon); |
| 4111 | transform:scaleX(var(--dir-factor)); |
| 4112 | } |
| 4113 | .treeItemToggler.treeItemsHidden ~ .treeItems{ |
| 4114 | display:none; |
| 4115 | } |
| 4116 | |
| 4117 | .treeItem.selected > a{ |
| 4118 | background-color:var(--treeitem-selected-bg-color); |
| 4119 | color:var(--treeitem-selected-color); |
| 4120 | } |
| 4121 | |
| 4122 | .treeItemToggler:hover, |
| 4123 | .treeItemToggler:hover + a, |
| 4124 | .treeItemToggler:hover ~ .treeItems, |
| 4125 | .treeItem > a:hover{ |
| 4126 | background-color:var(--treeitem-bg-color); |
| 4127 | background-clip:padding-box; |
| 4128 | border-radius:2px; |
| 4129 | color:var(--treeitem-hover-color); |
| 4130 | } |
| 4131 | |
| 4132 | #outlineOptionsContainer{ |
| 4133 | display:none; |
| 4134 | } |
| 4135 | |
| 4136 | #sidebarContainer:has(#outlineView:not(.hidden)) #outlineOptionsContainer{ |
| 4137 | display:inherit; |
| 4138 | } |
| 4139 | |
| 4140 | .dialogButton{ |
| 4141 | width:auto; |
| 4142 | margin:3px 4px 2px !important; |
| 4143 | padding:2px 11px; |
| 4144 | color:var(--main-color); |
| 4145 | background-color:var(--dialog-button-bg-color); |
| 4146 | border:var(--dialog-button-border) !important; |
| 4147 | } |
| 4148 | |
| 4149 | dialog{ |
| 4150 | margin:auto; |
| 4151 | padding:15px; |
| 4152 | border-spacing:4px; |
| 4153 | color:var(--main-color); |
| 4154 | font:message-box; |
| 4155 | font-size:12px; |
| 4156 | line-height:14px; |
| 4157 | background-color:var(--doorhanger-bg-color); |
| 4158 | border:1px solid rgb(0 0 0 / 0.5); |
| 4159 | border-radius:4px; |
| 4160 | box-shadow:0 1px 4px rgb(0 0 0 / 0.3); |
| 4161 | } |
| 4162 | dialog::backdrop{ |
| 4163 | background-color:rgb(0 0 0 / 0.2); |
| 4164 | } |
| 4165 | |
| 4166 | dialog > .row{ |
| 4167 | display:table-row; |
| 4168 | } |
| 4169 | |
| 4170 | dialog > .row > *{ |
| 4171 | display:table-cell; |
| 4172 | } |
| 4173 | |
| 4174 | dialog .toolbarField{ |
| 4175 | margin:5px 0; |
| 4176 | } |
| 4177 | |
| 4178 | dialog .separator{ |
| 4179 | display:block; |
| 4180 | margin:4px 0; |
| 4181 | height:1px; |
| 4182 | width:100%; |
| 4183 | background-color:var(--separator-color); |
| 4184 | } |
| 4185 | |
| 4186 | dialog .buttonRow{ |
| 4187 | text-align:center; |
| 4188 | vertical-align:middle; |
| 4189 | } |
| 4190 | |
| 4191 | dialog :link{ |
| 4192 | color:rgb(255 255 255); |
| 4193 | } |
| 4194 | |
| 4195 | #passwordDialog{ |
| 4196 | text-align:center; |
| 4197 | } |
| 4198 | #passwordDialog .toolbarField{ |
| 4199 | width:200px; |
| 4200 | } |
| 4201 | |
| 4202 | #documentPropertiesDialog{ |
| 4203 | text-align:left; |
| 4204 | } |
| 4205 | #documentPropertiesDialog .row > *{ |
| 4206 | min-width:100px; |
| 4207 | text-align:start; |
| 4208 | } |
| 4209 | #documentPropertiesDialog .row > span{ |
| 4210 | width:125px; |
| 4211 | word-wrap:break-word; |
| 4212 | } |
| 4213 | #documentPropertiesDialog .row > p{ |
| 4214 | max-width:225px; |
| 4215 | word-wrap:break-word; |
| 4216 | } |
| 4217 | #documentPropertiesDialog .buttonRow{ |
| 4218 | margin-top:10px; |
| 4219 | } |
| 4220 | |
| 4221 | .grab-to-pan-grab{ |
| 4222 | cursor:grab !important; |
| 4223 | } |
| 4224 | .grab-to-pan-grab |
| 4225 | *:not(input):not(textarea):not(button):not(select):not(:link){ |
| 4226 | cursor:inherit !important; |
| 4227 | } |
| 4228 | .grab-to-pan-grab:active, |
| 4229 | .grab-to-pan-grabbing{ |
| 4230 | cursor:grabbing !important; |
| 4231 | } |
| 4232 | .grab-to-pan-grabbing{ |
| 4233 | position:fixed; |
| 4234 | background:rgb(0 0 0 / 0); |
| 4235 | display:block; |
| 4236 | inset:0; |
| 4237 | overflow:hidden; |
| 4238 | z-index:50000; |
| 4239 | } |
| 4240 | |
| 4241 | @page{{ |
| 4242 | margin:0; |
| 4243 | } |
| 4244 | |
| 4245 | #printContainer{ |
| 4246 | display:none; |
| 4247 | } |
| 4248 | |
| 4249 | @media print{ |
| 4250 | body{ |
| 4251 | background:rgb(0 0 0 / 0) none; |
| 4252 | } |
| 4253 | body[data-pdfjsprinting] #outerContainer{ |
| 4254 | display:none; |
| 4255 | } |
| 4256 | body[data-pdfjsprinting] #printContainer{ |
| 4257 | display:block; |
| 4258 | } |
| 4259 | #printContainer{ |
| 4260 | height:100%; |
| 4261 | } |
| 4262 | #printContainer > .printedPage{ |
| 4263 | page-break-after:always; |
| 4264 | page-break-inside:avoid; |
| 4265 | height:100%; |
| 4266 | width:100%; |
| 4267 | |
| 4268 | display:flex; |
| 4269 | flex-direction:column; |
| 4270 | justify-content:center; |
| 4271 | align-items:center; |
| 4272 | } |
| 4273 | |
| 4274 | #printContainer > .xfaPrintedPage .xfaPage{ |
| 4275 | position:absolute; |
| 4276 | } |
| 4277 | |
| 4278 | #printContainer > .xfaPrintedPage{ |
| 4279 | page-break-after:always; |
| 4280 | page-break-inside:avoid; |
| 4281 | width:100%; |
| 4282 | height:100%; |
| 4283 | position:relative; |
| 4284 | } |
| 4285 | |
| 4286 | #printContainer > .printedPage :is(canvas, img){ |
| 4287 | max-width:100%; |
| 4288 | max-height:100%; |
| 4289 | |
| 4290 | direction:ltr; |
| 4291 | display:block; |
| 4292 | } |
| 4293 | } |
| 4294 | |
| 4295 | .visibleMediumView{ |
| 4296 | display:none; |
| 4297 | } |
| 4298 | |
| 4299 | @media all and (max-width: 900px){ |
| 4300 | #toolbarViewerMiddle{ |
| 4301 | display:table; |
| 4302 | margin:auto; |
| 4303 | left:auto; |
| 4304 | position:inherit; |
| 4305 | transform:none; |
| 4306 | } |
| 4307 | } |
| 4308 | |
| 4309 | @media all and (max-width: 840px){ |
| 4310 | #sidebarContainer{ |
| 4311 | background-color:var(--sidebar-narrow-bg-color); |
| 4312 | } |
| 4313 | #outerContainer.sidebarOpen #viewerContainer{ |
| 4314 | inset-inline-start:0 !important; |
| 4315 | } |
| 4316 | } |
| 4317 | |
| 4318 | @media all and (max-width: 750px){ |
| 4319 | :root{ |
| 4320 | --editor-toolbar-base-offset:40px; |
| 4321 | } |
| 4322 | #outerContainer .hiddenMediumView{ |
| 4323 | display:none; |
| 4324 | } |
| 4325 | #outerContainer .visibleMediumView{ |
| 4326 | display:inherit; |
| 4327 | } |
| 4328 | } |
| 4329 | |
| 4330 | @media all and (max-width: 690px){ |
| 4331 | .hiddenSmallView, |
| 4332 | .hiddenSmallView *{ |
| 4333 | display:none; |
| 4334 | } |
| 4335 | .toolbarButtonSpacer{ |
| 4336 | width:0; |
| 4337 | } |
| 4338 | .findbar{ |
| 4339 | inset-inline-start:34px; |
| 4340 | } |
| 4341 | } |
| 4342 | |
| 4343 | @media all and (max-width: 560px){ |
| 4344 | #scaleSelectContainer{ |
| 4345 | display:none; |
| 4346 | } |
| 4347 | } |