cmaps
3 years ago
images
3 years ago
locale
3 years ago
ep-scripts.js
3 years ago
viewer.css
3 years ago
viewer.html
3 years ago
viewer.js
3 years ago
viewer.css
3483 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 | :root { |
| 17 | --highlight-bg-color: rgba(180, 0, 170, 1); |
| 18 | --highlight-selected-bg-color: rgba(0, 100, 0, 1); |
| 19 | } |
| 20 | |
| 21 | @media screen and (forced-colors: active) { |
| 22 | :root { |
| 23 | --highlight-bg-color: Highlight; |
| 24 | --highlight-selected-bg-color: ButtonText; |
| 25 | } |
| 26 | } |
| 27 | |
| 28 | .textLayer { |
| 29 | position: absolute; |
| 30 | text-align: initial; |
| 31 | left: 0; |
| 32 | top: 0; |
| 33 | right: 0; |
| 34 | bottom: 0; |
| 35 | overflow: hidden; |
| 36 | opacity: 0.25; |
| 37 | line-height: 1; |
| 38 | -webkit-text-size-adjust: none; |
| 39 | -moz-text-size-adjust: none; |
| 40 | text-size-adjust: none; |
| 41 | forced-color-adjust: none; |
| 42 | transform-origin: 0 0; |
| 43 | z-index: 2; |
| 44 | } |
| 45 | |
| 46 | .textLayer span, |
| 47 | .textLayer br { |
| 48 | color: transparent; |
| 49 | position: absolute; |
| 50 | white-space: pre; |
| 51 | cursor: text; |
| 52 | transform-origin: 0% 0%; |
| 53 | } |
| 54 | |
| 55 | /* Only necessary in Google Chrome, see issue 14205, and most unfortunately |
| 56 | * the problem doesn't show up in "text" reference tests. */ |
| 57 | .textLayer span.markedContent { |
| 58 | top: 0; |
| 59 | height: 0; |
| 60 | } |
| 61 | |
| 62 | .textLayer .highlight { |
| 63 | margin: -1px; |
| 64 | padding: 1px; |
| 65 | background-color: var(--highlight-bg-color); |
| 66 | border-radius: 4px; |
| 67 | } |
| 68 | |
| 69 | .textLayer .highlight.appended { |
| 70 | position: initial; |
| 71 | } |
| 72 | |
| 73 | .textLayer .highlight.begin { |
| 74 | border-radius: 4px 0 0 4px; |
| 75 | } |
| 76 | |
| 77 | .textLayer .highlight.end { |
| 78 | border-radius: 0 4px 4px 0; |
| 79 | } |
| 80 | |
| 81 | .textLayer .highlight.middle { |
| 82 | border-radius: 0; |
| 83 | } |
| 84 | |
| 85 | .textLayer .highlight.selected { |
| 86 | background-color: var(--highlight-selected-bg-color); |
| 87 | } |
| 88 | |
| 89 | .textLayer ::-moz-selection { |
| 90 | background: blue; |
| 91 | background: AccentColor; |
| 92 | } |
| 93 | |
| 94 | .textLayer ::selection { |
| 95 | background: blue; |
| 96 | background: AccentColor; |
| 97 | } |
| 98 | |
| 99 | /* Avoids https://github.com/mozilla/pdf.js/issues/13840 in Chrome */ |
| 100 | .textLayer br::-moz-selection { |
| 101 | background: transparent; |
| 102 | } |
| 103 | |
| 104 | .textLayer br::selection { |
| 105 | background: transparent; |
| 106 | } |
| 107 | |
| 108 | .textLayer .endOfContent { |
| 109 | display: block; |
| 110 | position: absolute; |
| 111 | left: 0; |
| 112 | top: 100%; |
| 113 | right: 0; |
| 114 | bottom: 0; |
| 115 | z-index: -1; |
| 116 | cursor: default; |
| 117 | -webkit-user-select: none; |
| 118 | -moz-user-select: none; |
| 119 | user-select: none; |
| 120 | } |
| 121 | |
| 122 | .textLayer .endOfContent.active { |
| 123 | top: 0; |
| 124 | } |
| 125 | |
| 126 | |
| 127 | :root { |
| 128 | --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>"); |
| 129 | --input-focus-border-color: Highlight; |
| 130 | --input-focus-outline: 1px solid Canvas; |
| 131 | --input-unfocused-border-color: transparent; |
| 132 | --input-disabled-border-color: transparent; |
| 133 | --input-hover-border-color: black; |
| 134 | } |
| 135 | |
| 136 | @media screen and (forced-colors: active) { |
| 137 | :root { |
| 138 | --input-focus-border-color: CanvasText; |
| 139 | --input-unfocused-border-color: ActiveText; |
| 140 | --input-disabled-border-color: GrayText; |
| 141 | --input-hover-border-color: Highlight; |
| 142 | } |
| 143 | |
| 144 | .annotationLayer .textWidgetAnnotation input:required, |
| 145 | .annotationLayer .textWidgetAnnotation textarea:required, |
| 146 | .annotationLayer .choiceWidgetAnnotation select:required, |
| 147 | .annotationLayer .buttonWidgetAnnotation.checkBox input:required, |
| 148 | .annotationLayer .buttonWidgetAnnotation.radioButton input:required { |
| 149 | outline: 1.5px solid selectedItem; |
| 150 | } |
| 151 | } |
| 152 | |
| 153 | .annotationLayer { |
| 154 | position: absolute; |
| 155 | top: 0; |
| 156 | left: 0; |
| 157 | pointer-events: none; |
| 158 | transform-origin: 0 0; |
| 159 | z-index: 3; |
| 160 | } |
| 161 | |
| 162 | .annotationLayer section { |
| 163 | position: absolute; |
| 164 | text-align: initial; |
| 165 | pointer-events: auto; |
| 166 | box-sizing: border-box; |
| 167 | transform-origin: 0 0; |
| 168 | } |
| 169 | |
| 170 | .annotationLayer .linkAnnotation>a, |
| 171 | .annotationLayer .buttonWidgetAnnotation.pushButton>a { |
| 172 | position: absolute; |
| 173 | font-size: 1em; |
| 174 | top: 0; |
| 175 | left: 0; |
| 176 | width: 100%; |
| 177 | height: 100%; |
| 178 | } |
| 179 | |
| 180 | .annotationLayer .buttonWidgetAnnotation.pushButton>canvas { |
| 181 | width: 100%; |
| 182 | height: 100%; |
| 183 | } |
| 184 | |
| 185 | .annotationLayer .linkAnnotation>a:hover, |
| 186 | .annotationLayer .buttonWidgetAnnotation.pushButton>a:hover { |
| 187 | opacity: 0.2; |
| 188 | background: rgba(255, 255, 0, 1); |
| 189 | box-shadow: 0 2px 10px rgba(255, 255, 0, 1); |
| 190 | } |
| 191 | |
| 192 | .annotationLayer .textAnnotation img { |
| 193 | position: absolute; |
| 194 | cursor: pointer; |
| 195 | width: 100%; |
| 196 | height: 100%; |
| 197 | } |
| 198 | |
| 199 | .annotationLayer .textWidgetAnnotation input, |
| 200 | .annotationLayer .textWidgetAnnotation textarea, |
| 201 | .annotationLayer .choiceWidgetAnnotation select, |
| 202 | .annotationLayer .buttonWidgetAnnotation.checkBox input, |
| 203 | .annotationLayer .buttonWidgetAnnotation.radioButton input { |
| 204 | background-image: var(--annotation-unfocused-field-background); |
| 205 | border: 2px solid var(--input-unfocused-border-color); |
| 206 | box-sizing: border-box; |
| 207 | font: calc(9px * var(--scale-factor)) sans-serif; |
| 208 | height: 100%; |
| 209 | margin: 0; |
| 210 | vertical-align: top; |
| 211 | width: 100%; |
| 212 | } |
| 213 | |
| 214 | .annotationLayer .textWidgetAnnotation input:required, |
| 215 | .annotationLayer .textWidgetAnnotation textarea:required, |
| 216 | .annotationLayer .choiceWidgetAnnotation select:required, |
| 217 | .annotationLayer .buttonWidgetAnnotation.checkBox input:required, |
| 218 | .annotationLayer .buttonWidgetAnnotation.radioButton input:required { |
| 219 | outline: 1.5px solid red; |
| 220 | } |
| 221 | |
| 222 | .annotationLayer .choiceWidgetAnnotation select option { |
| 223 | padding: 0; |
| 224 | } |
| 225 | |
| 226 | .annotationLayer .buttonWidgetAnnotation.radioButton input { |
| 227 | border-radius: 50%; |
| 228 | } |
| 229 | |
| 230 | .annotationLayer .textWidgetAnnotation textarea { |
| 231 | resize: none; |
| 232 | } |
| 233 | |
| 234 | .annotationLayer .textWidgetAnnotation input[disabled], |
| 235 | .annotationLayer .textWidgetAnnotation textarea[disabled], |
| 236 | .annotationLayer .choiceWidgetAnnotation select[disabled], |
| 237 | .annotationLayer .buttonWidgetAnnotation.checkBox input[disabled], |
| 238 | .annotationLayer .buttonWidgetAnnotation.radioButton input[disabled] { |
| 239 | background: none; |
| 240 | border: 2px solid var(--input-disabled-border-color); |
| 241 | cursor: not-allowed; |
| 242 | } |
| 243 | |
| 244 | .annotationLayer .textWidgetAnnotation input:hover, |
| 245 | .annotationLayer .textWidgetAnnotation textarea:hover, |
| 246 | .annotationLayer .choiceWidgetAnnotation select:hover, |
| 247 | .annotationLayer .buttonWidgetAnnotation.checkBox input:hover, |
| 248 | .annotationLayer .buttonWidgetAnnotation.radioButton input:hover { |
| 249 | border: 2px solid var(--input-hover-border-color); |
| 250 | } |
| 251 | |
| 252 | .annotationLayer .textWidgetAnnotation input:hover, |
| 253 | .annotationLayer .textWidgetAnnotation textarea:hover, |
| 254 | .annotationLayer .choiceWidgetAnnotation select:hover, |
| 255 | .annotationLayer .buttonWidgetAnnotation.checkBox input:hover { |
| 256 | border-radius: 2px; |
| 257 | } |
| 258 | |
| 259 | .annotationLayer .textWidgetAnnotation input:focus, |
| 260 | .annotationLayer .textWidgetAnnotation textarea:focus, |
| 261 | .annotationLayer .choiceWidgetAnnotation select:focus { |
| 262 | background: none; |
| 263 | border: 2px solid var(--input-focus-border-color); |
| 264 | border-radius: 2px; |
| 265 | outline: var(--input-focus-outline); |
| 266 | } |
| 267 | |
| 268 | .annotationLayer .buttonWidgetAnnotation.checkBox :focus, |
| 269 | .annotationLayer .buttonWidgetAnnotation.radioButton :focus { |
| 270 | background-image: none; |
| 271 | background-color: transparent; |
| 272 | } |
| 273 | |
| 274 | .annotationLayer .buttonWidgetAnnotation.checkBox :focus { |
| 275 | border: 2px solid var(--input-focus-border-color); |
| 276 | border-radius: 2px; |
| 277 | outline: var(--input-focus-outline); |
| 278 | } |
| 279 | |
| 280 | .annotationLayer .buttonWidgetAnnotation.radioButton :focus { |
| 281 | border: 2px solid var(--input-focus-border-color); |
| 282 | outline: var(--input-focus-outline); |
| 283 | } |
| 284 | |
| 285 | .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before, |
| 286 | .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after, |
| 287 | .annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before { |
| 288 | background-color: CanvasText; |
| 289 | content: ""; |
| 290 | display: block; |
| 291 | position: absolute; |
| 292 | } |
| 293 | |
| 294 | .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before, |
| 295 | .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after { |
| 296 | height: 80%; |
| 297 | left: 45%; |
| 298 | width: 1px; |
| 299 | } |
| 300 | |
| 301 | .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before { |
| 302 | transform: rotate(45deg); |
| 303 | } |
| 304 | |
| 305 | .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after { |
| 306 | transform: rotate(-45deg); |
| 307 | } |
| 308 | |
| 309 | .annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before { |
| 310 | border-radius: 50%; |
| 311 | height: 50%; |
| 312 | left: 30%; |
| 313 | top: 20%; |
| 314 | width: 50%; |
| 315 | } |
| 316 | |
| 317 | .annotationLayer .textWidgetAnnotation input.comb { |
| 318 | font-family: monospace; |
| 319 | padding-left: 2px; |
| 320 | padding-right: 0; |
| 321 | } |
| 322 | |
| 323 | .annotationLayer .textWidgetAnnotation input.comb:focus { |
| 324 | /* |
| 325 | * Letter spacing is placed on the right side of each character. Hence, the |
| 326 | * letter spacing of the last character may be placed outside the visible |
| 327 | * area, causing horizontal scrolling. We avoid this by extending the width |
| 328 | * when the element has focus and revert this when it loses focus. |
| 329 | */ |
| 330 | width: 103%; |
| 331 | } |
| 332 | |
| 333 | .annotationLayer .buttonWidgetAnnotation.checkBox input, |
| 334 | .annotationLayer .buttonWidgetAnnotation.radioButton input { |
| 335 | -webkit-appearance: none; |
| 336 | -moz-appearance: none; |
| 337 | appearance: none; |
| 338 | } |
| 339 | |
| 340 | .annotationLayer .popupTriggerArea { |
| 341 | height: 100%; |
| 342 | width: 100%; |
| 343 | } |
| 344 | |
| 345 | .annotationLayer .popupWrapper { |
| 346 | position: absolute; |
| 347 | font-size: calc(9px * var(--scale-factor)); |
| 348 | width: 100%; |
| 349 | min-width: calc(180px * var(--scale-factor)); |
| 350 | pointer-events: none; |
| 351 | } |
| 352 | |
| 353 | .annotationLayer .popup { |
| 354 | position: absolute; |
| 355 | max-width: calc(180px * var(--scale-factor)); |
| 356 | background-color: rgba(255, 255, 153, 1); |
| 357 | box-shadow: 0 calc(2px * var(--scale-factor)) calc(5px * var(--scale-factor)) rgba(136, 136, 136, 1); |
| 358 | border-radius: calc(2px * var(--scale-factor)); |
| 359 | padding: calc(6px * var(--scale-factor)); |
| 360 | margin-left: calc(5px * var(--scale-factor)); |
| 361 | cursor: pointer; |
| 362 | font: message-box; |
| 363 | white-space: normal; |
| 364 | word-wrap: break-word; |
| 365 | pointer-events: auto; |
| 366 | } |
| 367 | |
| 368 | .annotationLayer .popup>* { |
| 369 | font-size: calc(9px * var(--scale-factor)); |
| 370 | } |
| 371 | |
| 372 | .annotationLayer .popup h1 { |
| 373 | display: inline-block; |
| 374 | } |
| 375 | |
| 376 | .annotationLayer .popupDate { |
| 377 | display: inline-block; |
| 378 | margin-left: calc(5px * var(--scale-factor)); |
| 379 | } |
| 380 | |
| 381 | .annotationLayer .popupContent { |
| 382 | border-top: 1px solid rgba(51, 51, 51, 1); |
| 383 | margin-top: calc(2px * var(--scale-factor)); |
| 384 | padding-top: calc(2px * var(--scale-factor)); |
| 385 | } |
| 386 | |
| 387 | .annotationLayer .richText>* { |
| 388 | white-space: pre-wrap; |
| 389 | font-size: calc(9px * var(--scale-factor)); |
| 390 | } |
| 391 | |
| 392 | .annotationLayer .highlightAnnotation, |
| 393 | .annotationLayer .underlineAnnotation, |
| 394 | .annotationLayer .squigglyAnnotation, |
| 395 | .annotationLayer .strikeoutAnnotation, |
| 396 | .annotationLayer .freeTextAnnotation, |
| 397 | .annotationLayer .lineAnnotation svg line, |
| 398 | .annotationLayer .squareAnnotation svg rect, |
| 399 | .annotationLayer .circleAnnotation svg ellipse, |
| 400 | .annotationLayer .polylineAnnotation svg polyline, |
| 401 | .annotationLayer .polygonAnnotation svg polygon, |
| 402 | .annotationLayer .caretAnnotation, |
| 403 | .annotationLayer .inkAnnotation svg polyline, |
| 404 | .annotationLayer .stampAnnotation, |
| 405 | .annotationLayer .fileAttachmentAnnotation { |
| 406 | cursor: pointer; |
| 407 | } |
| 408 | |
| 409 | .annotationLayer section svg { |
| 410 | position: absolute; |
| 411 | width: 100%; |
| 412 | height: 100%; |
| 413 | } |
| 414 | |
| 415 | .annotationLayer .annotationTextContent { |
| 416 | position: absolute; |
| 417 | width: 100%; |
| 418 | height: 100%; |
| 419 | opacity: 0; |
| 420 | color: transparent; |
| 421 | -webkit-user-select: none; |
| 422 | -moz-user-select: none; |
| 423 | user-select: none; |
| 424 | pointer-events: none; |
| 425 | } |
| 426 | |
| 427 | .annotationLayer .annotationTextContent span { |
| 428 | width: 100%; |
| 429 | display: inline-block; |
| 430 | } |
| 431 | |
| 432 | |
| 433 | :root { |
| 434 | --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>"); |
| 435 | --xfa-focus-outline: auto; |
| 436 | } |
| 437 | |
| 438 | @media screen and (forced-colors: active) { |
| 439 | :root { |
| 440 | --xfa-focus-outline: 2px solid CanvasText; |
| 441 | } |
| 442 | |
| 443 | .xfaLayer *:required { |
| 444 | outline: 1.5px solid selectedItem; |
| 445 | } |
| 446 | } |
| 447 | |
| 448 | .xfaLayer { |
| 449 | background-color: transparent; |
| 450 | } |
| 451 | |
| 452 | .xfaLayer .highlight { |
| 453 | margin: -1px; |
| 454 | padding: 1px; |
| 455 | background-color: rgba(239, 203, 237, 1); |
| 456 | border-radius: 4px; |
| 457 | } |
| 458 | |
| 459 | .xfaLayer .highlight.appended { |
| 460 | position: initial; |
| 461 | } |
| 462 | |
| 463 | .xfaLayer .highlight.begin { |
| 464 | border-radius: 4px 0 0 4px; |
| 465 | } |
| 466 | |
| 467 | .xfaLayer .highlight.end { |
| 468 | border-radius: 0 4px 4px 0; |
| 469 | } |
| 470 | |
| 471 | .xfaLayer .highlight.middle { |
| 472 | border-radius: 0; |
| 473 | } |
| 474 | |
| 475 | .xfaLayer .highlight.selected { |
| 476 | background-color: rgba(203, 223, 203, 1); |
| 477 | } |
| 478 | |
| 479 | .xfaPage { |
| 480 | overflow: hidden; |
| 481 | position: relative; |
| 482 | } |
| 483 | |
| 484 | .xfaContentarea { |
| 485 | position: absolute; |
| 486 | } |
| 487 | |
| 488 | .xfaPrintOnly { |
| 489 | display: none; |
| 490 | } |
| 491 | |
| 492 | .xfaLayer { |
| 493 | position: absolute; |
| 494 | text-align: initial; |
| 495 | top: 0; |
| 496 | left: 0; |
| 497 | transform-origin: 0 0; |
| 498 | line-height: 1.2; |
| 499 | } |
| 500 | |
| 501 | .xfaLayer * { |
| 502 | color: inherit; |
| 503 | font: inherit; |
| 504 | font-style: inherit; |
| 505 | font-weight: inherit; |
| 506 | font-kerning: inherit; |
| 507 | letter-spacing: -0.01px; |
| 508 | text-align: inherit; |
| 509 | text-decoration: inherit; |
| 510 | box-sizing: border-box; |
| 511 | background-color: transparent; |
| 512 | padding: 0; |
| 513 | margin: 0; |
| 514 | pointer-events: auto; |
| 515 | line-height: inherit; |
| 516 | } |
| 517 | |
| 518 | .xfaLayer *:required { |
| 519 | outline: 1.5px solid red; |
| 520 | } |
| 521 | |
| 522 | .xfaLayer div { |
| 523 | pointer-events: none; |
| 524 | } |
| 525 | |
| 526 | .xfaLayer svg { |
| 527 | pointer-events: none; |
| 528 | } |
| 529 | |
| 530 | .xfaLayer svg * { |
| 531 | pointer-events: none; |
| 532 | } |
| 533 | |
| 534 | .xfaLayer a { |
| 535 | color: blue; |
| 536 | } |
| 537 | |
| 538 | .xfaRich li { |
| 539 | margin-left: 3em; |
| 540 | } |
| 541 | |
| 542 | .xfaFont { |
| 543 | color: black; |
| 544 | font-weight: normal; |
| 545 | font-kerning: none; |
| 546 | font-size: 10px; |
| 547 | font-style: normal; |
| 548 | letter-spacing: 0; |
| 549 | text-decoration: none; |
| 550 | vertical-align: 0; |
| 551 | } |
| 552 | |
| 553 | .xfaCaption { |
| 554 | overflow: hidden; |
| 555 | flex: 0 0 auto; |
| 556 | } |
| 557 | |
| 558 | .xfaCaptionForCheckButton { |
| 559 | overflow: hidden; |
| 560 | flex: 1 1 auto; |
| 561 | } |
| 562 | |
| 563 | .xfaLabel { |
| 564 | height: 100%; |
| 565 | width: 100%; |
| 566 | } |
| 567 | |
| 568 | .xfaLeft { |
| 569 | display: flex; |
| 570 | flex-direction: row; |
| 571 | align-items: center; |
| 572 | } |
| 573 | |
| 574 | .xfaRight { |
| 575 | display: flex; |
| 576 | flex-direction: row-reverse; |
| 577 | align-items: center; |
| 578 | } |
| 579 | |
| 580 | .xfaLeft>.xfaCaption, |
| 581 | .xfaLeft>.xfaCaptionForCheckButton, |
| 582 | .xfaRight>.xfaCaption, |
| 583 | .xfaRight>.xfaCaptionForCheckButton { |
| 584 | max-height: 100%; |
| 585 | } |
| 586 | |
| 587 | .xfaTop { |
| 588 | display: flex; |
| 589 | flex-direction: column; |
| 590 | align-items: flex-start; |
| 591 | } |
| 592 | |
| 593 | .xfaBottom { |
| 594 | display: flex; |
| 595 | flex-direction: column-reverse; |
| 596 | align-items: flex-start; |
| 597 | } |
| 598 | |
| 599 | .xfaTop>.xfaCaption, |
| 600 | .xfaTop>.xfaCaptionForCheckButton, |
| 601 | .xfaBottom>.xfaCaption, |
| 602 | .xfaBottom>.xfaCaptionForCheckButton { |
| 603 | width: 100%; |
| 604 | } |
| 605 | |
| 606 | .xfaBorder { |
| 607 | background-color: transparent; |
| 608 | position: absolute; |
| 609 | pointer-events: none; |
| 610 | } |
| 611 | |
| 612 | .xfaWrapped { |
| 613 | width: 100%; |
| 614 | height: 100%; |
| 615 | } |
| 616 | |
| 617 | .xfaTextfield:focus, |
| 618 | .xfaSelect:focus { |
| 619 | background-image: none; |
| 620 | background-color: transparent; |
| 621 | outline: var(--xfa-focus-outline); |
| 622 | outline-offset: -1px; |
| 623 | } |
| 624 | |
| 625 | .xfaCheckbox:focus, |
| 626 | .xfaRadio:focus { |
| 627 | outline: var(--xfa-focus-outline); |
| 628 | } |
| 629 | |
| 630 | .xfaTextfield, |
| 631 | .xfaSelect { |
| 632 | height: 100%; |
| 633 | width: 100%; |
| 634 | flex: 1 1 auto; |
| 635 | border: none; |
| 636 | resize: none; |
| 637 | background-image: var(--xfa-unfocused-field-background); |
| 638 | } |
| 639 | |
| 640 | .xfaSelect { |
| 641 | padding-left: 2px; |
| 642 | padding-right: 2px; |
| 643 | padding-inline: 2px; |
| 644 | } |
| 645 | |
| 646 | .xfaTop>.xfaTextfield, |
| 647 | .xfaTop>.xfaSelect, |
| 648 | .xfaBottom>.xfaTextfield, |
| 649 | .xfaBottom>.xfaSelect { |
| 650 | flex: 0 1 auto; |
| 651 | } |
| 652 | |
| 653 | .xfaButton { |
| 654 | cursor: pointer; |
| 655 | width: 100%; |
| 656 | height: 100%; |
| 657 | border: none; |
| 658 | text-align: center; |
| 659 | } |
| 660 | |
| 661 | .xfaLink { |
| 662 | width: 100%; |
| 663 | height: 100%; |
| 664 | position: absolute; |
| 665 | top: 0; |
| 666 | left: 0; |
| 667 | } |
| 668 | |
| 669 | .xfaCheckbox, |
| 670 | .xfaRadio { |
| 671 | width: 100%; |
| 672 | height: 100%; |
| 673 | flex: 0 0 auto; |
| 674 | border: none; |
| 675 | } |
| 676 | |
| 677 | .xfaRich { |
| 678 | white-space: pre-wrap; |
| 679 | width: 100%; |
| 680 | height: 100%; |
| 681 | } |
| 682 | |
| 683 | .xfaImage { |
| 684 | -o-object-position: left top; |
| 685 | object-position: left top; |
| 686 | -o-object-fit: contain; |
| 687 | object-fit: contain; |
| 688 | width: 100%; |
| 689 | height: 100%; |
| 690 | } |
| 691 | |
| 692 | .xfaLrTb, |
| 693 | .xfaRlTb, |
| 694 | .xfaTb { |
| 695 | display: flex; |
| 696 | flex-direction: column; |
| 697 | align-items: stretch; |
| 698 | } |
| 699 | |
| 700 | .xfaLr { |
| 701 | display: flex; |
| 702 | flex-direction: row; |
| 703 | align-items: stretch; |
| 704 | } |
| 705 | |
| 706 | .xfaRl { |
| 707 | display: flex; |
| 708 | flex-direction: row-reverse; |
| 709 | align-items: stretch; |
| 710 | } |
| 711 | |
| 712 | .xfaTb>div { |
| 713 | justify-content: left; |
| 714 | } |
| 715 | |
| 716 | .xfaPosition { |
| 717 | position: relative; |
| 718 | } |
| 719 | |
| 720 | .xfaArea { |
| 721 | position: relative; |
| 722 | } |
| 723 | |
| 724 | .xfaValignMiddle { |
| 725 | display: flex; |
| 726 | align-items: center; |
| 727 | } |
| 728 | |
| 729 | .xfaTable { |
| 730 | display: flex; |
| 731 | flex-direction: column; |
| 732 | align-items: stretch; |
| 733 | } |
| 734 | |
| 735 | .xfaTable .xfaRow { |
| 736 | display: flex; |
| 737 | flex-direction: row; |
| 738 | align-items: stretch; |
| 739 | } |
| 740 | |
| 741 | .xfaTable .xfaRlRow { |
| 742 | display: flex; |
| 743 | flex-direction: row-reverse; |
| 744 | align-items: stretch; |
| 745 | flex: 1; |
| 746 | } |
| 747 | |
| 748 | .xfaTable .xfaRlRow>div { |
| 749 | flex: 1; |
| 750 | } |
| 751 | |
| 752 | .xfaNonInteractive input, |
| 753 | .xfaNonInteractive textarea, |
| 754 | .xfaDisabled input, |
| 755 | .xfaDisabled textarea, |
| 756 | .xfaReadOnly input, |
| 757 | .xfaReadOnly textarea { |
| 758 | background: initial; |
| 759 | } |
| 760 | |
| 761 | @media print { |
| 762 | |
| 763 | .xfaTextfield, |
| 764 | .xfaSelect { |
| 765 | background: transparent; |
| 766 | } |
| 767 | |
| 768 | .xfaSelect { |
| 769 | -webkit-appearance: none; |
| 770 | -moz-appearance: none; |
| 771 | appearance: none; |
| 772 | text-indent: 1px; |
| 773 | text-overflow: ""; |
| 774 | } |
| 775 | } |
| 776 | |
| 777 | |
| 778 | :root { |
| 779 | --focus-outline: solid 2px blue; |
| 780 | --hover-outline: dashed 2px blue; |
| 781 | --freetext-line-height: 1.35; |
| 782 | --freetext-padding: 2px; |
| 783 | --editorFreeText-editing-cursor: text; |
| 784 | --editorInk-editing-cursor: url(images/cursor-editorInk.svg) 0 16, pointer; |
| 785 | } |
| 786 | |
| 787 | @media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 1.1dppx) { |
| 788 | :root { |
| 789 | --editorFreeText-editing-cursor: url(images/cursor-editorFreeText.svg) 0 16, |
| 790 | text; |
| 791 | } |
| 792 | } |
| 793 | |
| 794 | @media screen and (forced-colors: active) { |
| 795 | :root { |
| 796 | --focus-outline: solid 3px ButtonText; |
| 797 | --hover-outline: dashed 3px ButtonText; |
| 798 | } |
| 799 | } |
| 800 | |
| 801 | [data-editor-rotation="90"] { |
| 802 | transform: rotate(90deg); |
| 803 | } |
| 804 | |
| 805 | [data-editor-rotation="180"] { |
| 806 | transform: rotate(180deg); |
| 807 | } |
| 808 | |
| 809 | [data-editor-rotation="270"] { |
| 810 | transform: rotate(270deg); |
| 811 | } |
| 812 | |
| 813 | .annotationEditorLayer { |
| 814 | background: transparent; |
| 815 | position: absolute; |
| 816 | top: 0; |
| 817 | left: 0; |
| 818 | font-size: calc(100px * var(--scale-factor)); |
| 819 | transform-origin: 0 0; |
| 820 | cursor: auto; |
| 821 | z-index: 4; |
| 822 | } |
| 823 | |
| 824 | .annotationEditorLayer.freeTextEditing { |
| 825 | cursor: var(--editorFreeText-editing-cursor); |
| 826 | } |
| 827 | |
| 828 | .annotationEditorLayer.inkEditing { |
| 829 | cursor: var(--editorInk-editing-cursor); |
| 830 | } |
| 831 | |
| 832 | .annotationEditorLayer .selectedEditor { |
| 833 | outline: var(--focus-outline); |
| 834 | resize: none; |
| 835 | } |
| 836 | |
| 837 | .annotationEditorLayer .freeTextEditor { |
| 838 | position: absolute; |
| 839 | background: transparent; |
| 840 | border-radius: 3px; |
| 841 | padding: calc(var(--freetext-padding) * var(--scale-factor)); |
| 842 | resize: none; |
| 843 | width: auto; |
| 844 | height: auto; |
| 845 | z-index: 1; |
| 846 | transform-origin: 0 0; |
| 847 | touch-action: none; |
| 848 | cursor: auto; |
| 849 | } |
| 850 | |
| 851 | .annotationEditorLayer .freeTextEditor .internal { |
| 852 | background: transparent; |
| 853 | border: none; |
| 854 | top: 0; |
| 855 | left: 0; |
| 856 | overflow: visible; |
| 857 | white-space: nowrap; |
| 858 | resize: none; |
| 859 | font: 10px sans-serif; |
| 860 | line-height: var(--freetext-line-height); |
| 861 | } |
| 862 | |
| 863 | .annotationEditorLayer .freeTextEditor .overlay { |
| 864 | position: absolute; |
| 865 | display: none; |
| 866 | background: transparent; |
| 867 | top: 0; |
| 868 | left: 0; |
| 869 | width: 100%; |
| 870 | height: 100%; |
| 871 | } |
| 872 | |
| 873 | .annotationEditorLayer .freeTextEditor .overlay.enabled { |
| 874 | display: block; |
| 875 | } |
| 876 | |
| 877 | .annotationEditorLayer .freeTextEditor .internal:empty::before { |
| 878 | content: attr(default-content); |
| 879 | color: gray; |
| 880 | } |
| 881 | |
| 882 | .annotationEditorLayer .freeTextEditor .internal:focus { |
| 883 | outline: none; |
| 884 | } |
| 885 | |
| 886 | .annotationEditorLayer .inkEditor.disabled { |
| 887 | resize: none; |
| 888 | } |
| 889 | |
| 890 | .annotationEditorLayer .inkEditor.disabled.selectedEditor { |
| 891 | resize: horizontal; |
| 892 | } |
| 893 | |
| 894 | .annotationEditorLayer .freeTextEditor:hover:not(.selectedEditor), |
| 895 | .annotationEditorLayer .inkEditor:hover:not(.selectedEditor) { |
| 896 | outline: var(--hover-outline); |
| 897 | } |
| 898 | |
| 899 | .annotationEditorLayer .inkEditor { |
| 900 | position: absolute; |
| 901 | background: transparent; |
| 902 | border-radius: 3px; |
| 903 | overflow: auto; |
| 904 | width: 100%; |
| 905 | height: 100%; |
| 906 | z-index: 1; |
| 907 | transform-origin: 0 0; |
| 908 | cursor: auto; |
| 909 | } |
| 910 | |
| 911 | .annotationEditorLayer .inkEditor.editing { |
| 912 | resize: none; |
| 913 | cursor: inherit; |
| 914 | } |
| 915 | |
| 916 | .annotationEditorLayer .inkEditor .inkEditorCanvas { |
| 917 | position: absolute; |
| 918 | top: 0; |
| 919 | left: 0; |
| 920 | width: 100%; |
| 921 | height: 100%; |
| 922 | touch-action: none; |
| 923 | } |
| 924 | |
| 925 | :root { |
| 926 | --viewer-container-height: 0; |
| 927 | --pdfViewer-padding-bottom: 0; |
| 928 | --page-margin: 1px auto -8px; |
| 929 | --page-border: 9px solid transparent; |
| 930 | --spreadHorizontalWrapped-margin-LR: -3.5px; |
| 931 | --loading-icon-delay: 400ms; |
| 932 | } |
| 933 | |
| 934 | @media screen and (forced-colors: active) { |
| 935 | :root { |
| 936 | --pdfViewer-padding-bottom: 9px; |
| 937 | --page-margin: 8px auto -1px; |
| 938 | --page-border: 1px solid CanvasText; |
| 939 | --spreadHorizontalWrapped-margin-LR: 3.5px; |
| 940 | } |
| 941 | } |
| 942 | |
| 943 | [data-main-rotation="90"] { |
| 944 | transform: rotate(90deg) translateY(-100%); |
| 945 | } |
| 946 | |
| 947 | [data-main-rotation="180"] { |
| 948 | transform: rotate(180deg) translate(-100%, -100%); |
| 949 | } |
| 950 | |
| 951 | [data-main-rotation="270"] { |
| 952 | transform: rotate(270deg) translateX(-100%); |
| 953 | } |
| 954 | |
| 955 | .pdfViewer { |
| 956 | /* Define this variable here and not in :root to avoid to reflow all the UI |
| 957 | when scaling (see #15929). */ |
| 958 | --scale-factor: 1; |
| 959 | |
| 960 | padding-bottom: var(--pdfViewer-padding-bottom); |
| 961 | } |
| 962 | |
| 963 | .pdfViewer .canvasWrapper { |
| 964 | overflow: hidden; |
| 965 | width: 100%; |
| 966 | height: 100%; |
| 967 | z-index: 1; |
| 968 | } |
| 969 | |
| 970 | .pdfViewer .page { |
| 971 | direction: ltr; |
| 972 | width: 816px; |
| 973 | height: 1056px; |
| 974 | margin: var(--page-margin); |
| 975 | position: relative; |
| 976 | overflow: visible; |
| 977 | border: var(--page-border); |
| 978 | background-clip: content-box; |
| 979 | background-color: rgba(255, 255, 255, 1); |
| 980 | } |
| 981 | |
| 982 | .pdfViewer .dummyPage { |
| 983 | position: relative; |
| 984 | width: 0; |
| 985 | height: var(--viewer-container-height); |
| 986 | } |
| 987 | |
| 988 | .pdfViewer.removePageBorders .page { |
| 989 | margin: 0 auto 10px; |
| 990 | border: none; |
| 991 | } |
| 992 | |
| 993 | .pdfViewer.singlePageView { |
| 994 | display: inline-block; |
| 995 | } |
| 996 | |
| 997 | .pdfViewer.singlePageView .page { |
| 998 | margin: 0; |
| 999 | border: none; |
| 1000 | } |
| 1001 | |
| 1002 | .pdfViewer.scrollHorizontal, |
| 1003 | .pdfViewer.scrollWrapped, |
| 1004 | .spread { |
| 1005 | margin-left: 3.5px; |
| 1006 | margin-right: 3.5px; |
| 1007 | text-align: center; |
| 1008 | } |
| 1009 | |
| 1010 | .pdfViewer.scrollHorizontal, |
| 1011 | .spread { |
| 1012 | white-space: nowrap; |
| 1013 | } |
| 1014 | |
| 1015 | .pdfViewer.removePageBorders, |
| 1016 | .pdfViewer.scrollHorizontal .spread, |
| 1017 | .pdfViewer.scrollWrapped .spread { |
| 1018 | margin-left: 0; |
| 1019 | margin-right: 0; |
| 1020 | } |
| 1021 | |
| 1022 | .spread .page, |
| 1023 | .spread .dummyPage, |
| 1024 | .pdfViewer.scrollHorizontal .page, |
| 1025 | .pdfViewer.scrollWrapped .page, |
| 1026 | .pdfViewer.scrollHorizontal .spread, |
| 1027 | .pdfViewer.scrollWrapped .spread { |
| 1028 | display: inline-block; |
| 1029 | vertical-align: middle; |
| 1030 | } |
| 1031 | |
| 1032 | .spread .page, |
| 1033 | .pdfViewer.scrollHorizontal .page, |
| 1034 | .pdfViewer.scrollWrapped .page { |
| 1035 | margin-left: var(--spreadHorizontalWrapped-margin-LR); |
| 1036 | margin-right: var(--spreadHorizontalWrapped-margin-LR); |
| 1037 | } |
| 1038 | |
| 1039 | .pdfViewer.removePageBorders .spread .page, |
| 1040 | .pdfViewer.removePageBorders.scrollHorizontal .page, |
| 1041 | .pdfViewer.removePageBorders.scrollWrapped .page { |
| 1042 | margin-left: 5px; |
| 1043 | margin-right: 5px; |
| 1044 | } |
| 1045 | |
| 1046 | .pdfViewer .page canvas { |
| 1047 | margin: 0; |
| 1048 | display: block; |
| 1049 | } |
| 1050 | |
| 1051 | .pdfViewer .page canvas[hidden] { |
| 1052 | display: none; |
| 1053 | } |
| 1054 | |
| 1055 | .pdfViewer .page canvas[zooming] { |
| 1056 | width: 100%; |
| 1057 | height: 100%; |
| 1058 | } |
| 1059 | |
| 1060 | .pdfViewer .page .loadingIcon { |
| 1061 | position: absolute; |
| 1062 | display: block; |
| 1063 | left: 0; |
| 1064 | top: 0; |
| 1065 | right: 0; |
| 1066 | bottom: 0; |
| 1067 | background: url("images/loading-icon.gif") center no-repeat; |
| 1068 | visibility: visible; |
| 1069 | /* Using a delay with background-image doesn't work, |
| 1070 | consequently we use the visibility. */ |
| 1071 | transition-property: visibility; |
| 1072 | transition-delay: var(--loading-icon-delay); |
| 1073 | z-index: 5; |
| 1074 | } |
| 1075 | |
| 1076 | .pdfViewer .page .loadingIcon.notVisible { |
| 1077 | transition-property: none; |
| 1078 | visibility: hidden; |
| 1079 | } |
| 1080 | |
| 1081 | .pdfViewer.enablePermissions .textLayer span { |
| 1082 | -webkit-user-select: none !important; |
| 1083 | -moz-user-select: none !important; |
| 1084 | user-select: none !important; |
| 1085 | cursor: not-allowed; |
| 1086 | } |
| 1087 | |
| 1088 | .pdfPresentationMode .pdfViewer { |
| 1089 | padding-bottom: 0; |
| 1090 | } |
| 1091 | |
| 1092 | .pdfPresentationMode .spread { |
| 1093 | margin: 0; |
| 1094 | } |
| 1095 | |
| 1096 | .pdfPresentationMode .pdfViewer .page { |
| 1097 | margin: 0 auto; |
| 1098 | border: 2px solid transparent; |
| 1099 | } |
| 1100 | |
| 1101 | :root { |
| 1102 | --dir-factor: 1; |
| 1103 | --sidebar-width: 200px; |
| 1104 | --sidebar-transition-duration: 200ms; |
| 1105 | --sidebar-transition-timing-function: ease; |
| 1106 | --scale-select-width: 140px; |
| 1107 | |
| 1108 | --toolbar-icon-opacity: 0.7; |
| 1109 | --doorhanger-icon-opacity: 0.9; |
| 1110 | |
| 1111 | --main-color: rgba(12, 12, 13, 1); |
| 1112 | --body-bg-color: rgba(212, 212, 215, 1); |
| 1113 | --progressBar-color: rgba(10, 132, 255, 1); |
| 1114 | --progressBar-bg-color: rgba(221, 221, 222, 1); |
| 1115 | --progressBar-blend-color: rgba(116, 177, 239, 1); |
| 1116 | --scrollbar-color: auto; |
| 1117 | --scrollbar-bg-color: auto; |
| 1118 | --toolbar-icon-bg-color: rgba(0, 0, 0, 1); |
| 1119 | --toolbar-icon-hover-bg-color: rgba(0, 0, 0, 1); |
| 1120 | |
| 1121 | --sidebar-narrow-bg-color: rgba(212, 212, 215, 0.9); |
| 1122 | --sidebar-toolbar-bg-color: rgba(245, 246, 247, 1); |
| 1123 | --toolbar-bg-color: rgba(249, 249, 250, 1); |
| 1124 | --toolbar-border-color: rgba(184, 184, 184, 1); |
| 1125 | --toolbar-box-shadow: 0 1px 0 var(--toolbar-border-color); |
| 1126 | --toolbar-border-bottom: none; |
| 1127 | --toolbarSidebar-box-shadow: inset calc(-1px * var(--dir-factor)) 0 0 rgba(0, 0, 0, 0.25), |
| 1128 | 0 1px 0 rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.1); |
| 1129 | --toolbarSidebar-border-bottom: none; |
| 1130 | --button-hover-color: rgba(221, 222, 223, 1); |
| 1131 | --toggled-btn-color: rgba(0, 0, 0, 1); |
| 1132 | --toggled-btn-bg-color: rgba(0, 0, 0, 0.3); |
| 1133 | --toggled-hover-active-btn-color: rgba(0, 0, 0, 0.4); |
| 1134 | --dropdown-btn-bg-color: rgba(215, 215, 219, 1); |
| 1135 | --dropdown-btn-border: none; |
| 1136 | --separator-color: rgba(0, 0, 0, 0.3); |
| 1137 | --field-color: rgba(6, 6, 6, 1); |
| 1138 | --field-bg-color: rgba(255, 255, 255, 1); |
| 1139 | --field-border-color: rgba(187, 187, 188, 1); |
| 1140 | --treeitem-color: rgba(0, 0, 0, 0.8); |
| 1141 | --treeitem-hover-color: rgba(0, 0, 0, 0.9); |
| 1142 | --treeitem-selected-color: rgba(0, 0, 0, 0.9); |
| 1143 | --treeitem-selected-bg-color: rgba(0, 0, 0, 0.25); |
| 1144 | --sidebaritem-bg-color: rgba(0, 0, 0, 0.15); |
| 1145 | --doorhanger-bg-color: rgba(255, 255, 255, 1); |
| 1146 | --doorhanger-border-color: rgba(12, 12, 13, 0.2); |
| 1147 | --doorhanger-hover-color: rgba(12, 12, 13, 1); |
| 1148 | --doorhanger-hover-bg-color: rgba(237, 237, 237, 1); |
| 1149 | --doorhanger-separator-color: rgba(222, 222, 222, 1); |
| 1150 | --dialog-button-border: none; |
| 1151 | --dialog-button-bg-color: rgba(12, 12, 13, 0.1); |
| 1152 | --dialog-button-hover-bg-color: rgba(12, 12, 13, 0.3); |
| 1153 | |
| 1154 | --loading-icon: url(images/loading.svg); |
| 1155 | --treeitem-expanded-icon: url(images/treeitem-expanded.svg); |
| 1156 | --treeitem-collapsed-icon: url(images/treeitem-collapsed.svg); |
| 1157 | --toolbarButton-editorFreeText-icon: url(images/toolbarButton-editorFreeText.svg); |
| 1158 | --toolbarButton-editorInk-icon: url(images/toolbarButton-editorInk.svg); |
| 1159 | --toolbarButton-menuArrow-icon: url(images/toolbarButton-menuArrow.svg); |
| 1160 | --toolbarButton-sidebarToggle-icon: url(images/toolbarButton-sidebarToggle.svg); |
| 1161 | --toolbarButton-secondaryToolbarToggle-icon: url(images/toolbarButton-secondaryToolbarToggle.svg); |
| 1162 | --toolbarButton-pageUp-icon: url(images/toolbarButton-pageUp.svg); |
| 1163 | --toolbarButton-pageDown-icon: url(images/toolbarButton-pageDown.svg); |
| 1164 | --toolbarButton-zoomOut-icon: url(images/toolbarButton-zoomOut.svg); |
| 1165 | --toolbarButton-zoomIn-icon: url(images/toolbarButton-zoomIn.svg); |
| 1166 | --toolbarButton-presentationMode-icon: url(images/toolbarButton-presentationMode.svg); |
| 1167 | --toolbarButton-print-icon: url(images/toolbarButton-print.svg); |
| 1168 | --toolbarButton-openFile-icon: url(images/toolbarButton-openFile.svg); |
| 1169 | --toolbarButton-download-icon: url(images/toolbarButton-download.svg); |
| 1170 | --toolbarButton-bookmark-icon: url(images/toolbarButton-bookmark.svg); |
| 1171 | --toolbarButton-viewThumbnail-icon: url(images/toolbarButton-viewThumbnail.svg); |
| 1172 | --toolbarButton-viewOutline-icon: url(images/toolbarButton-viewOutline.svg); |
| 1173 | --toolbarButton-viewAttachments-icon: url(images/toolbarButton-viewAttachments.svg); |
| 1174 | --toolbarButton-viewLayers-icon: url(images/toolbarButton-viewLayers.svg); |
| 1175 | --toolbarButton-currentOutlineItem-icon: url(images/toolbarButton-currentOutlineItem.svg); |
| 1176 | --toolbarButton-search-icon: url(images/toolbarButton-search.svg); |
| 1177 | --findbarButton-previous-icon: url(images/findbarButton-previous.svg); |
| 1178 | --findbarButton-next-icon: url(images/findbarButton-next.svg); |
| 1179 | --secondaryToolbarButton-firstPage-icon: url(images/secondaryToolbarButton-firstPage.svg); |
| 1180 | --secondaryToolbarButton-lastPage-icon: url(images/secondaryToolbarButton-lastPage.svg); |
| 1181 | --secondaryToolbarButton-rotateCcw-icon: url(images/secondaryToolbarButton-rotateCcw.svg); |
| 1182 | --secondaryToolbarButton-rotateCw-icon: url(images/secondaryToolbarButton-rotateCw.svg); |
| 1183 | --secondaryToolbarButton-selectTool-icon: url(images/secondaryToolbarButton-selectTool.svg); |
| 1184 | --secondaryToolbarButton-handTool-icon: url(images/secondaryToolbarButton-handTool.svg); |
| 1185 | --secondaryToolbarButton-scrollPage-icon: url(images/secondaryToolbarButton-scrollPage.svg); |
| 1186 | --secondaryToolbarButton-scrollVertical-icon: url(images/secondaryToolbarButton-scrollVertical.svg); |
| 1187 | --secondaryToolbarButton-scrollHorizontal-icon: url(images/secondaryToolbarButton-scrollHorizontal.svg); |
| 1188 | --secondaryToolbarButton-scrollWrapped-icon: url(images/secondaryToolbarButton-scrollWrapped.svg); |
| 1189 | --secondaryToolbarButton-spreadNone-icon: url(images/secondaryToolbarButton-spreadNone.svg); |
| 1190 | --secondaryToolbarButton-spreadOdd-icon: url(images/secondaryToolbarButton-spreadOdd.svg); |
| 1191 | --secondaryToolbarButton-spreadEven-icon: url(images/secondaryToolbarButton-spreadEven.svg); |
| 1192 | --secondaryToolbarButton-documentProperties-icon: url(images/secondaryToolbarButton-documentProperties.svg); |
| 1193 | } |
| 1194 | |
| 1195 | [dir="rtl"]:root { |
| 1196 | --dir-factor: -1; |
| 1197 | } |
| 1198 | |
| 1199 | @media (prefers-color-scheme: dark) { |
| 1200 | :root { |
| 1201 | --main-color: rgba(249, 249, 250, 1); |
| 1202 | --body-bg-color: rgba(42, 42, 46, 1); |
| 1203 | --progressBar-color: rgba(0, 96, 223, 1); |
| 1204 | --progressBar-bg-color: rgba(40, 40, 43, 1); |
| 1205 | --progressBar-blend-color: rgba(20, 68, 133, 1); |
| 1206 | --scrollbar-color: rgba(121, 121, 123, 1); |
| 1207 | --scrollbar-bg-color: rgba(35, 35, 39, 1); |
| 1208 | --toolbar-icon-bg-color: rgba(255, 255, 255, 1); |
| 1209 | --toolbar-icon-hover-bg-color: rgba(255, 255, 255, 1); |
| 1210 | |
| 1211 | --sidebar-narrow-bg-color: rgba(42, 42, 46, 0.9); |
| 1212 | --sidebar-toolbar-bg-color: rgba(50, 50, 52, 1); |
| 1213 | --toolbar-bg-color: rgba(56, 56, 61, 1); |
| 1214 | --toolbar-border-color: rgba(12, 12, 13, 1); |
| 1215 | --button-hover-color: rgba(102, 102, 103, 1); |
| 1216 | --toggled-btn-color: rgba(255, 255, 255, 1); |
| 1217 | --toggled-btn-bg-color: rgba(0, 0, 0, 0.3); |
| 1218 | --toggled-hover-active-btn-color: rgba(0, 0, 0, 0.4); |
| 1219 | --dropdown-btn-bg-color: rgba(74, 74, 79, 1); |
| 1220 | --separator-color: rgba(0, 0, 0, 0.3); |
| 1221 | --field-color: rgba(250, 250, 250, 1); |
| 1222 | --field-bg-color: rgba(64, 64, 68, 1); |
| 1223 | --field-border-color: rgba(115, 115, 115, 1); |
| 1224 | --treeitem-color: rgba(255, 255, 255, 0.8); |
| 1225 | --treeitem-hover-color: rgba(255, 255, 255, 0.9); |
| 1226 | --treeitem-selected-color: rgba(255, 255, 255, 0.9); |
| 1227 | --treeitem-selected-bg-color: rgba(255, 255, 255, 0.25); |
| 1228 | --sidebaritem-bg-color: rgba(255, 255, 255, 0.15); |
| 1229 | --doorhanger-bg-color: rgba(74, 74, 79, 1); |
| 1230 | --doorhanger-border-color: rgba(39, 39, 43, 1); |
| 1231 | --doorhanger-hover-color: rgba(249, 249, 250, 1); |
| 1232 | --doorhanger-hover-bg-color: rgba(93, 94, 98, 1); |
| 1233 | --doorhanger-separator-color: rgba(92, 92, 97, 1); |
| 1234 | --dialog-button-bg-color: rgba(92, 92, 97, 1); |
| 1235 | --dialog-button-hover-bg-color: rgba(115, 115, 115, 1); |
| 1236 | |
| 1237 | /* This image is used in <input> elements, which unfortunately means that |
| 1238 | * the `mask-image` approach used with all of the other images doesn't work |
| 1239 | * here; hence why we still have two versions of this particular image. */ |
| 1240 | --loading-icon: url(images/loading-dark.svg); |
| 1241 | } |
| 1242 | } |
| 1243 | |
| 1244 | @media screen and (forced-colors: active) { |
| 1245 | :root { |
| 1246 | --button-hover-color: Highlight; |
| 1247 | --doorhanger-hover-bg-color: Highlight; |
| 1248 | --toolbar-icon-opacity: 1; |
| 1249 | --toolbar-icon-bg-color: ButtonText; |
| 1250 | --toolbar-icon-hover-bg-color: ButtonFace; |
| 1251 | --toolbar-border-color: CanvasText; |
| 1252 | --toolbar-border-bottom: 1px solid var(--toolbar-border-color); |
| 1253 | --toolbar-box-shadow: none; |
| 1254 | --toggled-btn-color: HighlightText; |
| 1255 | --toggled-btn-bg-color: LinkText; |
| 1256 | --doorhanger-hover-color: ButtonFace; |
| 1257 | --doorhanger-border-color-whcm: 1px solid ButtonText; |
| 1258 | --doorhanger-triangle-opacity-whcm: 0; |
| 1259 | --dialog-button-border: 1px solid Highlight; |
| 1260 | --dialog-button-hover-bg-color: Highlight; |
| 1261 | --dialog-button-hover-color: ButtonFace; |
| 1262 | --dropdown-btn-border: 1px solid ButtonText; |
| 1263 | --field-border-color: ButtonText; |
| 1264 | --main-color: CanvasText; |
| 1265 | --separator-color: GrayText; |
| 1266 | --doorhanger-separator-color: GrayText; |
| 1267 | --toolbarSidebar-box-shadow: none; |
| 1268 | --toolbarSidebar-border-bottom: 1px solid var(--toolbar-border-color); |
| 1269 | } |
| 1270 | } |
| 1271 | |
| 1272 | * { |
| 1273 | padding: 0; |
| 1274 | margin: 0; |
| 1275 | } |
| 1276 | |
| 1277 | html, |
| 1278 | body { |
| 1279 | height: 100%; |
| 1280 | width: 100%; |
| 1281 | } |
| 1282 | |
| 1283 | body { |
| 1284 | background-color: var(--body-bg-color); |
| 1285 | scrollbar-color: var(--scrollbar-color) var(--scrollbar-bg-color); |
| 1286 | } |
| 1287 | |
| 1288 | .hidden, |
| 1289 | [hidden] { |
| 1290 | display: none !important; |
| 1291 | } |
| 1292 | |
| 1293 | #viewerContainer.pdfPresentationMode:-webkit-full-screen { |
| 1294 | top: 0; |
| 1295 | background-color: rgba(0, 0, 0, 1); |
| 1296 | width: 100%; |
| 1297 | height: 100%; |
| 1298 | overflow: hidden; |
| 1299 | cursor: none; |
| 1300 | -webkit-user-select: none; |
| 1301 | user-select: none; |
| 1302 | } |
| 1303 | |
| 1304 | #viewerContainer.pdfPresentationMode:fullscreen { |
| 1305 | top: 0; |
| 1306 | background-color: rgba(0, 0, 0, 1); |
| 1307 | width: 100%; |
| 1308 | height: 100%; |
| 1309 | overflow: hidden; |
| 1310 | cursor: none; |
| 1311 | -webkit-user-select: none; |
| 1312 | -moz-user-select: none; |
| 1313 | user-select: none; |
| 1314 | } |
| 1315 | |
| 1316 | .pdfPresentationMode:-webkit-full-screen section:not([data-internal-link]) { |
| 1317 | pointer-events: none; |
| 1318 | } |
| 1319 | |
| 1320 | .pdfPresentationMode:fullscreen section:not([data-internal-link]) { |
| 1321 | pointer-events: none; |
| 1322 | } |
| 1323 | |
| 1324 | .pdfPresentationMode:-webkit-full-screen .textLayer span { |
| 1325 | cursor: none; |
| 1326 | } |
| 1327 | |
| 1328 | .pdfPresentationMode:fullscreen .textLayer span { |
| 1329 | cursor: none; |
| 1330 | } |
| 1331 | |
| 1332 | .pdfPresentationMode.pdfPresentationModeControls>*, |
| 1333 | .pdfPresentationMode.pdfPresentationModeControls .textLayer span { |
| 1334 | cursor: default; |
| 1335 | } |
| 1336 | |
| 1337 | #outerContainer { |
| 1338 | width: 100%; |
| 1339 | height: 100%; |
| 1340 | position: relative; |
| 1341 | } |
| 1342 | |
| 1343 | [dir="ltr"] #sidebarContainer { |
| 1344 | left: calc(-1 * var(--sidebar-width)); |
| 1345 | } |
| 1346 | |
| 1347 | [dir="rtl"] #sidebarContainer { |
| 1348 | right: calc(-1 * var(--sidebar-width)); |
| 1349 | } |
| 1350 | |
| 1351 | [dir="ltr"] #sidebarContainer { |
| 1352 | border-right: var(--doorhanger-border-color-whcm); |
| 1353 | } |
| 1354 | |
| 1355 | [dir="rtl"] #sidebarContainer { |
| 1356 | border-left: var(--doorhanger-border-color-whcm); |
| 1357 | } |
| 1358 | |
| 1359 | [dir="ltr"] #sidebarContainer { |
| 1360 | transition-property: left; |
| 1361 | } |
| 1362 | |
| 1363 | [dir="rtl"] #sidebarContainer { |
| 1364 | transition-property: right; |
| 1365 | } |
| 1366 | |
| 1367 | #sidebarContainer { |
| 1368 | position: absolute; |
| 1369 | top: 32px; |
| 1370 | bottom: 0; |
| 1371 | inset-inline-start: calc(-1 * var(--sidebar-width)); |
| 1372 | width: var(--sidebar-width); |
| 1373 | visibility: hidden; |
| 1374 | z-index: 100; |
| 1375 | font: message-box; |
| 1376 | border-top: 1px solid rgba(51, 51, 51, 1); |
| 1377 | -webkit-border-end: var(--doorhanger-border-color-whcm); |
| 1378 | border-inline-end: var(--doorhanger-border-color-whcm); |
| 1379 | transition-property: inset-inline-start; |
| 1380 | transition-duration: var(--sidebar-transition-duration); |
| 1381 | transition-timing-function: var(--sidebar-transition-timing-function); |
| 1382 | } |
| 1383 | |
| 1384 | #outerContainer.sidebarMoving #sidebarContainer, |
| 1385 | #outerContainer.sidebarOpen #sidebarContainer { |
| 1386 | visibility: visible; |
| 1387 | } |
| 1388 | |
| 1389 | [dir="ltr"] #outerContainer.sidebarOpen #sidebarContainer { |
| 1390 | left: 0; |
| 1391 | } |
| 1392 | |
| 1393 | [dir="rtl"] #outerContainer.sidebarOpen #sidebarContainer { |
| 1394 | right: 0; |
| 1395 | } |
| 1396 | |
| 1397 | #outerContainer.sidebarOpen #sidebarContainer { |
| 1398 | inset-inline-start: 0; |
| 1399 | } |
| 1400 | |
| 1401 | #mainContainer { |
| 1402 | position: absolute; |
| 1403 | top: 0; |
| 1404 | right: 0; |
| 1405 | bottom: 0; |
| 1406 | left: 0; |
| 1407 | min-width: 350px; |
| 1408 | } |
| 1409 | |
| 1410 | [dir="ltr"] #sidebarContent { |
| 1411 | left: 0; |
| 1412 | } |
| 1413 | |
| 1414 | [dir="rtl"] #sidebarContent { |
| 1415 | right: 0; |
| 1416 | } |
| 1417 | |
| 1418 | #sidebarContent { |
| 1419 | top: 32px; |
| 1420 | bottom: 0; |
| 1421 | inset-inline-start: 0; |
| 1422 | overflow: auto; |
| 1423 | position: absolute; |
| 1424 | width: 100%; |
| 1425 | box-shadow: inset calc(-1px * var(--dir-factor)) 0 0 rgba(0, 0, 0, 0.25); |
| 1426 | } |
| 1427 | |
| 1428 | #viewerContainer { |
| 1429 | overflow: auto; |
| 1430 | position: absolute; |
| 1431 | top: 32px; |
| 1432 | right: 0; |
| 1433 | bottom: 0; |
| 1434 | left: 0; |
| 1435 | outline: none; |
| 1436 | } |
| 1437 | |
| 1438 | #viewerContainer:not(.pdfPresentationMode) { |
| 1439 | transition-duration: var(--sidebar-transition-duration); |
| 1440 | transition-timing-function: var(--sidebar-transition-timing-function); |
| 1441 | } |
| 1442 | |
| 1443 | [dir="ltr"] #outerContainer.sidebarOpen #viewerContainer:not(.pdfPresentationMode) { |
| 1444 | left: var(--sidebar-width); |
| 1445 | } |
| 1446 | |
| 1447 | [dir="rtl"] #outerContainer.sidebarOpen #viewerContainer:not(.pdfPresentationMode) { |
| 1448 | right: var(--sidebar-width); |
| 1449 | } |
| 1450 | |
| 1451 | [dir="ltr"] #outerContainer.sidebarOpen #viewerContainer:not(.pdfPresentationMode) { |
| 1452 | transition-property: left; |
| 1453 | } |
| 1454 | |
| 1455 | [dir="rtl"] #outerContainer.sidebarOpen #viewerContainer:not(.pdfPresentationMode) { |
| 1456 | transition-property: right; |
| 1457 | } |
| 1458 | |
| 1459 | #outerContainer.sidebarOpen #viewerContainer:not(.pdfPresentationMode) { |
| 1460 | inset-inline-start: var(--sidebar-width); |
| 1461 | transition-property: inset-inline-start; |
| 1462 | } |
| 1463 | |
| 1464 | .toolbar { |
| 1465 | position: relative; |
| 1466 | left: 0; |
| 1467 | right: 0; |
| 1468 | z-index: 9999; |
| 1469 | cursor: default; |
| 1470 | font: message-box; |
| 1471 | } |
| 1472 | |
| 1473 | .toolbar input, |
| 1474 | .toolbar button, |
| 1475 | .toolbar select, |
| 1476 | .secondaryToolbar input, |
| 1477 | .secondaryToolbar button, |
| 1478 | .secondaryToolbar a, |
| 1479 | .secondaryToolbar select, |
| 1480 | .editorParamsToolbar input, |
| 1481 | .editorParamsToolbar button, |
| 1482 | .editorParamsToolbar select, |
| 1483 | .findbar input, |
| 1484 | .findbar button, |
| 1485 | .findbar select, |
| 1486 | #sidebarContainer input, |
| 1487 | #sidebarContainer button, |
| 1488 | #sidebarContainer select { |
| 1489 | outline: none; |
| 1490 | font: message-box; |
| 1491 | } |
| 1492 | |
| 1493 | #toolbarContainer { |
| 1494 | width: 100%; |
| 1495 | } |
| 1496 | |
| 1497 | #toolbarSidebar { |
| 1498 | width: 100%; |
| 1499 | height: 32px; |
| 1500 | background-color: var(--sidebar-toolbar-bg-color); |
| 1501 | box-shadow: var(--toolbarSidebar-box-shadow); |
| 1502 | border-bottom: var(--toolbarSidebar-border-bottom); |
| 1503 | } |
| 1504 | |
| 1505 | [dir="ltr"] #sidebarResizer { |
| 1506 | right: -6px; |
| 1507 | } |
| 1508 | |
| 1509 | [dir="rtl"] #sidebarResizer { |
| 1510 | left: -6px; |
| 1511 | } |
| 1512 | |
| 1513 | #sidebarResizer { |
| 1514 | position: absolute; |
| 1515 | top: 0; |
| 1516 | bottom: 0; |
| 1517 | inset-inline-end: -6px; |
| 1518 | width: 6px; |
| 1519 | z-index: 200; |
| 1520 | cursor: ew-resize; |
| 1521 | } |
| 1522 | |
| 1523 | #toolbarContainer, |
| 1524 | .findbar, |
| 1525 | .secondaryToolbar, |
| 1526 | .editorParamsToolbar { |
| 1527 | position: relative; |
| 1528 | height: 32px; |
| 1529 | background-color: var(--toolbar-bg-color); |
| 1530 | box-shadow: var(--toolbar-box-shadow); |
| 1531 | border-bottom: var(--toolbar-border-bottom); |
| 1532 | } |
| 1533 | |
| 1534 | #toolbarViewer { |
| 1535 | height: 32px; |
| 1536 | } |
| 1537 | |
| 1538 | [dir="ltr"] #loadingBar { |
| 1539 | left: 0; |
| 1540 | right: var(--progressBar-end-offset); |
| 1541 | } |
| 1542 | |
| 1543 | [dir="rtl"] #loadingBar { |
| 1544 | right: 0; |
| 1545 | left: var(--progressBar-end-offset); |
| 1546 | } |
| 1547 | |
| 1548 | [dir="ltr"] #loadingBar { |
| 1549 | transition-property: left; |
| 1550 | } |
| 1551 | |
| 1552 | [dir="rtl"] #loadingBar { |
| 1553 | transition-property: right; |
| 1554 | } |
| 1555 | |
| 1556 | #loadingBar { |
| 1557 | /* Define these variables here, and not in :root, to avoid reflowing the |
| 1558 | entire viewer when updating progress (see issue 15958). */ |
| 1559 | --progressBar-percent: 0%; |
| 1560 | --progressBar-end-offset: 0; |
| 1561 | |
| 1562 | position: absolute; |
| 1563 | inset-inline: 0 var(--progressBar-end-offset); |
| 1564 | height: 4px; |
| 1565 | background-color: var(--progressBar-bg-color); |
| 1566 | border-bottom: 1px solid var(--toolbar-border-color); |
| 1567 | transition-property: inset-inline-start; |
| 1568 | transition-duration: var(--sidebar-transition-duration); |
| 1569 | transition-timing-function: var(--sidebar-transition-timing-function); |
| 1570 | } |
| 1571 | |
| 1572 | [dir="ltr"] #outerContainer.sidebarOpen #loadingBar { |
| 1573 | left: var(--sidebar-width); |
| 1574 | } |
| 1575 | |
| 1576 | [dir="rtl"] #outerContainer.sidebarOpen #loadingBar { |
| 1577 | right: var(--sidebar-width); |
| 1578 | } |
| 1579 | |
| 1580 | #outerContainer.sidebarOpen #loadingBar { |
| 1581 | inset-inline-start: var(--sidebar-width); |
| 1582 | } |
| 1583 | |
| 1584 | #loadingBar .progress { |
| 1585 | position: absolute; |
| 1586 | top: 0; |
| 1587 | left: 0; |
| 1588 | width: 100%; |
| 1589 | transform: scaleX(var(--progressBar-percent)); |
| 1590 | transform-origin: 0 0; |
| 1591 | height: 100%; |
| 1592 | background-color: var(--progressBar-color); |
| 1593 | overflow: hidden; |
| 1594 | transition: transform 200ms; |
| 1595 | } |
| 1596 | |
| 1597 | @keyframes progressIndeterminate { |
| 1598 | 0% { |
| 1599 | transform: translateX(-142px); |
| 1600 | } |
| 1601 | |
| 1602 | 100% { |
| 1603 | transform: translateX(0); |
| 1604 | } |
| 1605 | } |
| 1606 | |
| 1607 | #loadingBar.indeterminate .progress { |
| 1608 | transform: none; |
| 1609 | background-color: var(--progressBar-bg-color); |
| 1610 | transition: none; |
| 1611 | } |
| 1612 | |
| 1613 | #loadingBar.indeterminate .progress .glimmer { |
| 1614 | position: absolute; |
| 1615 | top: 0; |
| 1616 | left: 0; |
| 1617 | height: 100%; |
| 1618 | width: calc(100% + 150px); |
| 1619 | background: repeating-linear-gradient(135deg, |
| 1620 | var(--progressBar-blend-color) 0, |
| 1621 | var(--progressBar-bg-color) 5px, |
| 1622 | var(--progressBar-bg-color) 45px, |
| 1623 | var(--progressBar-color) 55px, |
| 1624 | var(--progressBar-color) 95px, |
| 1625 | var(--progressBar-blend-color) 100px); |
| 1626 | animation: progressIndeterminate 1s linear infinite; |
| 1627 | } |
| 1628 | |
| 1629 | #outerContainer.sidebarResizing #sidebarContainer, |
| 1630 | #outerContainer.sidebarResizing #viewerContainer, |
| 1631 | #outerContainer.sidebarResizing #loadingBar { |
| 1632 | /* Improve responsiveness and avoid visual glitches when the sidebar is resized. */ |
| 1633 | transition-duration: 0s; |
| 1634 | } |
| 1635 | |
| 1636 | .findbar, |
| 1637 | .secondaryToolbar, |
| 1638 | .editorParamsToolbar { |
| 1639 | top: 32px; |
| 1640 | position: absolute; |
| 1641 | z-index: 30000; |
| 1642 | height: auto; |
| 1643 | padding: 0 4px; |
| 1644 | margin: 4px 2px; |
| 1645 | font: message-box; |
| 1646 | font-size: 12px; |
| 1647 | line-height: 14px; |
| 1648 | text-align: left; |
| 1649 | cursor: default; |
| 1650 | } |
| 1651 | |
| 1652 | [dir="ltr"] .findbar { |
| 1653 | left: 64px; |
| 1654 | } |
| 1655 | |
| 1656 | [dir="rtl"] .findbar { |
| 1657 | right: 64px; |
| 1658 | } |
| 1659 | |
| 1660 | .findbar { |
| 1661 | inset-inline-start: 64px; |
| 1662 | min-width: 300px; |
| 1663 | background-color: var(--toolbar-bg-color); |
| 1664 | } |
| 1665 | |
| 1666 | .findbar>div { |
| 1667 | height: 32px; |
| 1668 | } |
| 1669 | |
| 1670 | [dir="ltr"] .findbar>div#findbarInputContainer { |
| 1671 | margin-right: 4px; |
| 1672 | } |
| 1673 | |
| 1674 | [dir="rtl"] .findbar>div#findbarInputContainer { |
| 1675 | margin-left: 4px; |
| 1676 | } |
| 1677 | |
| 1678 | .findbar>div#findbarInputContainer { |
| 1679 | -webkit-margin-end: 4px; |
| 1680 | margin-inline-end: 4px; |
| 1681 | } |
| 1682 | |
| 1683 | .findbar.wrapContainers>div, |
| 1684 | .findbar.wrapContainers>div#findbarMessageContainer>* { |
| 1685 | clear: both; |
| 1686 | } |
| 1687 | |
| 1688 | .findbar.wrapContainers>div#findbarMessageContainer { |
| 1689 | height: auto; |
| 1690 | } |
| 1691 | |
| 1692 | .findbar input[type="checkbox"] { |
| 1693 | pointer-events: none; |
| 1694 | } |
| 1695 | |
| 1696 | .findbar label { |
| 1697 | -webkit-user-select: none; |
| 1698 | -moz-user-select: none; |
| 1699 | user-select: none; |
| 1700 | } |
| 1701 | |
| 1702 | .findbar label:hover, |
| 1703 | .findbar input:focus-visible+label { |
| 1704 | color: var(--toggled-btn-color); |
| 1705 | background-color: var(--button-hover-color); |
| 1706 | } |
| 1707 | |
| 1708 | .findbar .toolbarField[type="checkbox"]:checked+.toolbarLabel { |
| 1709 | background-color: var(--toggled-btn-bg-color) !important; |
| 1710 | color: var(--toggled-btn-color); |
| 1711 | } |
| 1712 | |
| 1713 | #findInput { |
| 1714 | width: 200px; |
| 1715 | } |
| 1716 | |
| 1717 | #findInput::-moz-placeholder { |
| 1718 | font-style: normal; |
| 1719 | } |
| 1720 | |
| 1721 | #findInput::placeholder { |
| 1722 | font-style: normal; |
| 1723 | } |
| 1724 | |
| 1725 | #findInput[data-status="pending"] { |
| 1726 | background-image: var(--loading-icon); |
| 1727 | background-repeat: no-repeat; |
| 1728 | background-position: calc(50% + 48% * var(--dir-factor)); |
| 1729 | } |
| 1730 | |
| 1731 | #findInput[data-status="notFound"] { |
| 1732 | background-color: rgba(255, 102, 102, 1); |
| 1733 | } |
| 1734 | |
| 1735 | [dir="ltr"] .secondaryToolbar, [dir="ltr"] .editorParamsToolbar { |
| 1736 | right: 4px; |
| 1737 | } |
| 1738 | |
| 1739 | [dir="rtl"] .secondaryToolbar, [dir="rtl"] .editorParamsToolbar { |
| 1740 | left: 4px; |
| 1741 | } |
| 1742 | |
| 1743 | .secondaryToolbar, |
| 1744 | .editorParamsToolbar { |
| 1745 | padding: 6px 0 10px; |
| 1746 | inset-inline-end: 4px; |
| 1747 | height: auto; |
| 1748 | background-color: var(--doorhanger-bg-color); |
| 1749 | } |
| 1750 | |
| 1751 | .editorParamsToolbarContainer { |
| 1752 | width: 220px; |
| 1753 | margin-bottom: -4px; |
| 1754 | } |
| 1755 | |
| 1756 | .editorParamsToolbarContainer>.editorParamsSetter { |
| 1757 | min-height: 26px; |
| 1758 | display: flex; |
| 1759 | align-items: center; |
| 1760 | justify-content: space-between; |
| 1761 | padding-left: 10px; |
| 1762 | padding-right: 10px; |
| 1763 | padding-inline: 10px; |
| 1764 | } |
| 1765 | |
| 1766 | [dir="ltr"] .editorParamsToolbarContainer .editorParamsLabel { |
| 1767 | padding-right: 10px; |
| 1768 | } |
| 1769 | |
| 1770 | [dir="rtl"] .editorParamsToolbarContainer .editorParamsLabel { |
| 1771 | padding-left: 10px; |
| 1772 | } |
| 1773 | |
| 1774 | .editorParamsToolbarContainer .editorParamsLabel { |
| 1775 | -webkit-padding-end: 10px; |
| 1776 | padding-inline-end: 10px; |
| 1777 | flex: none; |
| 1778 | color: var(--main-color); |
| 1779 | } |
| 1780 | |
| 1781 | .editorParamsToolbarContainer .editorParamsColor { |
| 1782 | width: 32px; |
| 1783 | height: 32px; |
| 1784 | flex: none; |
| 1785 | } |
| 1786 | |
| 1787 | .editorParamsToolbarContainer .editorParamsSlider { |
| 1788 | background-color: transparent; |
| 1789 | width: 90px; |
| 1790 | flex: 0 1 0; |
| 1791 | } |
| 1792 | |
| 1793 | .editorParamsToolbarContainer .editorParamsSlider::-moz-range-progress { |
| 1794 | background-color: black; |
| 1795 | } |
| 1796 | |
| 1797 | .editorParamsToolbarContainer .editorParamsSlider::-webkit-slider-runnable-track, |
| 1798 | .editorParamsToolbarContainer .editorParamsSlider::-moz-range-track { |
| 1799 | background-color: black; |
| 1800 | } |
| 1801 | |
| 1802 | .editorParamsToolbarContainer .editorParamsSlider::-webkit-slider-thumb, |
| 1803 | .editorParamsToolbarContainer .editorParamsSlider::-moz-range-thumb { |
| 1804 | background-color: white; |
| 1805 | } |
| 1806 | |
| 1807 | #secondaryToolbarButtonContainer { |
| 1808 | max-width: 220px; |
| 1809 | min-height: 26px; |
| 1810 | max-height: calc(var(--viewer-container-height) - 40px); |
| 1811 | overflow-y: auto; |
| 1812 | margin-bottom: -4px; |
| 1813 | } |
| 1814 | |
| 1815 | [dir="ltr"] #editorInkParamsToolbar { |
| 1816 | right: 40px; |
| 1817 | } |
| 1818 | |
| 1819 | [dir="rtl"] #editorInkParamsToolbar { |
| 1820 | left: 40px; |
| 1821 | } |
| 1822 | |
| 1823 | #editorInkParamsToolbar { |
| 1824 | inset-inline-end: 40px; |
| 1825 | background-color: var(--toolbar-bg-color); |
| 1826 | } |
| 1827 | |
| 1828 | [dir="ltr"] #editorFreeTextParamsToolbar { |
| 1829 | right: 68px; |
| 1830 | } |
| 1831 | |
| 1832 | [dir="rtl"] #editorFreeTextParamsToolbar { |
| 1833 | left: 68px; |
| 1834 | } |
| 1835 | |
| 1836 | #editorFreeTextParamsToolbar { |
| 1837 | inset-inline-end: 68px; |
| 1838 | background-color: var(--toolbar-bg-color); |
| 1839 | } |
| 1840 | |
| 1841 | .doorHanger, |
| 1842 | .doorHangerRight { |
| 1843 | border-radius: 2px; |
| 1844 | box-shadow: 0 1px 5px var(--doorhanger-border-color), |
| 1845 | 0 0 0 1px var(--doorhanger-border-color); |
| 1846 | border: var(--doorhanger-border-color-whcm); |
| 1847 | } |
| 1848 | |
| 1849 | .doorHanger:after, |
| 1850 | .doorHanger:before, |
| 1851 | .doorHangerRight:after, |
| 1852 | .doorHangerRight:before { |
| 1853 | bottom: 100%; |
| 1854 | border: 8px solid rgba(0, 0, 0, 0); |
| 1855 | content: " "; |
| 1856 | height: 0; |
| 1857 | width: 0; |
| 1858 | position: absolute; |
| 1859 | pointer-events: none; |
| 1860 | opacity: var(--doorhanger-triangle-opacity-whcm); |
| 1861 | } |
| 1862 | |
| 1863 | [dir="ltr"] .doorHanger:after { |
| 1864 | left: 10px; |
| 1865 | } |
| 1866 | |
| 1867 | [dir="rtl"] .doorHanger:after { |
| 1868 | right: 10px; |
| 1869 | } |
| 1870 | |
| 1871 | [dir="ltr"] .doorHanger:after { |
| 1872 | margin-left: -8px; |
| 1873 | } |
| 1874 | |
| 1875 | [dir="rtl"] .doorHanger:after { |
| 1876 | margin-right: -8px; |
| 1877 | } |
| 1878 | |
| 1879 | .doorHanger:after { |
| 1880 | inset-inline-start: 10px; |
| 1881 | -webkit-margin-start: -8px; |
| 1882 | margin-inline-start: -8px; |
| 1883 | border-bottom-color: var(--toolbar-bg-color); |
| 1884 | } |
| 1885 | |
| 1886 | [dir="ltr"] .doorHangerRight:after { |
| 1887 | right: 10px; |
| 1888 | } |
| 1889 | |
| 1890 | [dir="rtl"] .doorHangerRight:after { |
| 1891 | left: 10px; |
| 1892 | } |
| 1893 | |
| 1894 | [dir="ltr"] .doorHangerRight:after { |
| 1895 | margin-right: -8px; |
| 1896 | } |
| 1897 | |
| 1898 | [dir="rtl"] .doorHangerRight:after { |
| 1899 | margin-left: -8px; |
| 1900 | } |
| 1901 | |
| 1902 | .doorHangerRight:after { |
| 1903 | inset-inline-end: 10px; |
| 1904 | -webkit-margin-end: -8px; |
| 1905 | margin-inline-end: -8px; |
| 1906 | border-bottom-color: var(--doorhanger-bg-color); |
| 1907 | } |
| 1908 | |
| 1909 | .doorHanger:before, |
| 1910 | .doorHangerRight:before { |
| 1911 | border-bottom-color: var(--doorhanger-border-color); |
| 1912 | border-width: 9px; |
| 1913 | } |
| 1914 | |
| 1915 | [dir="ltr"] .doorHanger:before { |
| 1916 | left: 10px; |
| 1917 | } |
| 1918 | |
| 1919 | [dir="rtl"] .doorHanger:before { |
| 1920 | right: 10px; |
| 1921 | } |
| 1922 | |
| 1923 | [dir="ltr"] .doorHanger:before { |
| 1924 | margin-left: -9px; |
| 1925 | } |
| 1926 | |
| 1927 | [dir="rtl"] .doorHanger:before { |
| 1928 | margin-right: -9px; |
| 1929 | } |
| 1930 | |
| 1931 | .doorHanger:before { |
| 1932 | inset-inline-start: 10px; |
| 1933 | -webkit-margin-start: -9px; |
| 1934 | margin-inline-start: -9px; |
| 1935 | } |
| 1936 | |
| 1937 | [dir="ltr"] .doorHangerRight:before { |
| 1938 | right: 10px; |
| 1939 | } |
| 1940 | |
| 1941 | [dir="rtl"] .doorHangerRight:before { |
| 1942 | left: 10px; |
| 1943 | } |
| 1944 | |
| 1945 | [dir="ltr"] .doorHangerRight:before { |
| 1946 | margin-right: -9px; |
| 1947 | } |
| 1948 | |
| 1949 | [dir="rtl"] .doorHangerRight:before { |
| 1950 | margin-left: -9px; |
| 1951 | } |
| 1952 | |
| 1953 | .doorHangerRight:before { |
| 1954 | inset-inline-end: 10px; |
| 1955 | -webkit-margin-end: -9px; |
| 1956 | margin-inline-end: -9px; |
| 1957 | } |
| 1958 | |
| 1959 | #findResultsCount { |
| 1960 | background-color: rgba(217, 217, 217, 1); |
| 1961 | color: rgba(82, 82, 82, 1); |
| 1962 | text-align: center; |
| 1963 | padding: 4px 5px; |
| 1964 | margin: 5px; |
| 1965 | } |
| 1966 | |
| 1967 | #findMsg { |
| 1968 | color: rgba(251, 0, 0, 1); |
| 1969 | } |
| 1970 | |
| 1971 | #findResultsCount:empty, |
| 1972 | #findMsg:empty { |
| 1973 | display: none; |
| 1974 | } |
| 1975 | |
| 1976 | #toolbarViewerMiddle { |
| 1977 | position: absolute; |
| 1978 | left: 50%; |
| 1979 | transform: translateX(-50%); |
| 1980 | } |
| 1981 | |
| 1982 | [dir="ltr"] #toolbarViewerLeft, [dir="ltr"] #toolbarSidebarLeft { |
| 1983 | float: left; |
| 1984 | } |
| 1985 | |
| 1986 | [dir="rtl"] #toolbarViewerLeft, [dir="rtl"] #toolbarSidebarLeft { |
| 1987 | float: right; |
| 1988 | } |
| 1989 | |
| 1990 | #toolbarViewerLeft, |
| 1991 | #toolbarSidebarLeft { |
| 1992 | float: inline-start; |
| 1993 | } |
| 1994 | |
| 1995 | [dir="ltr"] #toolbarViewerRight, [dir="ltr"] #toolbarSidebarRight { |
| 1996 | float: right; |
| 1997 | } |
| 1998 | |
| 1999 | [dir="rtl"] #toolbarViewerRight, [dir="rtl"] #toolbarSidebarRight { |
| 2000 | float: left; |
| 2001 | } |
| 2002 | |
| 2003 | #toolbarViewerRight, |
| 2004 | #toolbarSidebarRight { |
| 2005 | float: inline-end; |
| 2006 | } |
| 2007 | |
| 2008 | [dir="ltr"] #toolbarViewerLeft>*, [dir="ltr"] #toolbarViewerMiddle>*, [dir="ltr"] #toolbarViewerRight>*, [dir="ltr"] #toolbarSidebarLeft *, [dir="ltr"] #toolbarSidebarRight *, [dir="ltr"] .findbar * { |
| 2009 | float: left; |
| 2010 | } |
| 2011 | |
| 2012 | [dir="rtl"] #toolbarViewerLeft>*, [dir="rtl"] #toolbarViewerMiddle>*, [dir="rtl"] #toolbarViewerRight>*, [dir="rtl"] #toolbarSidebarLeft *, [dir="rtl"] #toolbarSidebarRight *, [dir="rtl"] .findbar * { |
| 2013 | float: right; |
| 2014 | } |
| 2015 | |
| 2016 | #toolbarViewerLeft>*, |
| 2017 | #toolbarViewerMiddle>*, |
| 2018 | #toolbarViewerRight>*, |
| 2019 | #toolbarSidebarLeft *, |
| 2020 | #toolbarSidebarRight *, |
| 2021 | .findbar * { |
| 2022 | position: relative; |
| 2023 | float: inline-start; |
| 2024 | } |
| 2025 | |
| 2026 | [dir="ltr"] #toolbarViewerLeft { |
| 2027 | padding-left: 1px; |
| 2028 | } |
| 2029 | |
| 2030 | [dir="rtl"] #toolbarViewerLeft { |
| 2031 | padding-right: 1px; |
| 2032 | } |
| 2033 | |
| 2034 | #toolbarViewerLeft { |
| 2035 | -webkit-padding-start: 1px; |
| 2036 | padding-inline-start: 1px; |
| 2037 | display: flex; /* added by ep developer */ |
| 2038 | align-items: center; /* added by ep developer */ |
| 2039 | } |
| 2040 | |
| 2041 | [dir="ltr"] #toolbarViewerRight { |
| 2042 | padding-right: 1px; |
| 2043 | } |
| 2044 | |
| 2045 | [dir="rtl"] #toolbarViewerRight { |
| 2046 | padding-left: 1px; |
| 2047 | } |
| 2048 | |
| 2049 | #toolbarViewerRight { |
| 2050 | -webkit-padding-end: 1px; |
| 2051 | padding-inline-end: 1px; |
| 2052 | } |
| 2053 | |
| 2054 | [dir="ltr"] #toolbarSidebarRight { |
| 2055 | padding-right: 2px; |
| 2056 | } |
| 2057 | |
| 2058 | [dir="rtl"] #toolbarSidebarRight { |
| 2059 | padding-left: 2px; |
| 2060 | } |
| 2061 | |
| 2062 | #toolbarSidebarRight { |
| 2063 | -webkit-padding-end: 2px; |
| 2064 | padding-inline-end: 2px; |
| 2065 | } |
| 2066 | |
| 2067 | .splitToolbarButton { |
| 2068 | margin: 2px; |
| 2069 | display: inline-block; |
| 2070 | } |
| 2071 | |
| 2072 | [dir="ltr"] .splitToolbarButton>.toolbarButton { |
| 2073 | float: left; |
| 2074 | } |
| 2075 | |
| 2076 | [dir="rtl"] .splitToolbarButton>.toolbarButton { |
| 2077 | float: right; |
| 2078 | } |
| 2079 | |
| 2080 | .splitToolbarButton>.toolbarButton { |
| 2081 | float: inline-start; |
| 2082 | } |
| 2083 | |
| 2084 | .toolbarButton, |
| 2085 | .secondaryToolbarButton, |
| 2086 | .dialogButton { |
| 2087 | border: none; |
| 2088 | background: none; |
| 2089 | width: 28px; |
| 2090 | height: 28px; |
| 2091 | outline: none; |
| 2092 | } |
| 2093 | |
| 2094 | .dialogButton:hover, |
| 2095 | .dialogButton:focus-visible { |
| 2096 | background-color: var(--dialog-button-hover-bg-color); |
| 2097 | } |
| 2098 | |
| 2099 | .dialogButton:hover>span, |
| 2100 | .dialogButton:focus-visible>span { |
| 2101 | color: var(--dialog-button-hover-color); |
| 2102 | } |
| 2103 | |
| 2104 | .toolbarButton>span { |
| 2105 | display: inline-block; |
| 2106 | width: 0; |
| 2107 | height: 0; |
| 2108 | overflow: hidden; |
| 2109 | } |
| 2110 | |
| 2111 | .toolbarButton[disabled], |
| 2112 | .secondaryToolbarButton[disabled], |
| 2113 | .dialogButton[disabled] { |
| 2114 | opacity: 0.5; |
| 2115 | } |
| 2116 | |
| 2117 | .splitToolbarButton>.toolbarButton:hover, |
| 2118 | .splitToolbarButton>.toolbarButton:focus-visible, |
| 2119 | .dropdownToolbarButton:hover { |
| 2120 | background-color: var(--button-hover-color); |
| 2121 | } |
| 2122 | |
| 2123 | .splitToolbarButton>.toolbarButton { |
| 2124 | position: relative; |
| 2125 | margin: 0; |
| 2126 | } |
| 2127 | |
| 2128 | [dir="ltr"] #toolbarSidebar .splitToolbarButton>.toolbarButton { |
| 2129 | margin-right: 2px; |
| 2130 | } |
| 2131 | |
| 2132 | [dir="rtl"] #toolbarSidebar .splitToolbarButton>.toolbarButton { |
| 2133 | margin-left: 2px; |
| 2134 | } |
| 2135 | |
| 2136 | #toolbarSidebar .splitToolbarButton>.toolbarButton { |
| 2137 | -webkit-margin-end: 2px; |
| 2138 | margin-inline-end: 2px; |
| 2139 | } |
| 2140 | |
| 2141 | [dir="ltr"] .splitToolbarButtonSeparator { |
| 2142 | float: left; |
| 2143 | } |
| 2144 | |
| 2145 | [dir="rtl"] .splitToolbarButtonSeparator { |
| 2146 | float: right; |
| 2147 | } |
| 2148 | |
| 2149 | .splitToolbarButtonSeparator { |
| 2150 | float: inline-start; |
| 2151 | margin: 4px 0; |
| 2152 | width: 1px; |
| 2153 | height: 20px; |
| 2154 | background-color: var(--separator-color); |
| 2155 | } |
| 2156 | |
| 2157 | .toolbarButton, |
| 2158 | .dropdownToolbarButton, |
| 2159 | .secondaryToolbarButton, |
| 2160 | .dialogButton { |
| 2161 | min-width: 16px; |
| 2162 | margin: 2px 1px; |
| 2163 | padding: 2px 6px 0; |
| 2164 | border: none; |
| 2165 | border-radius: 2px; |
| 2166 | color: var(--main-color); |
| 2167 | font-size: 12px; |
| 2168 | line-height: 14px; |
| 2169 | -webkit-user-select: none; |
| 2170 | -moz-user-select: none; |
| 2171 | user-select: none; |
| 2172 | cursor: default; |
| 2173 | box-sizing: border-box; |
| 2174 | } |
| 2175 | |
| 2176 | .toolbarButton:hover, |
| 2177 | .toolbarButton:focus-visible { |
| 2178 | background-color: var(--button-hover-color); |
| 2179 | } |
| 2180 | |
| 2181 | .secondaryToolbarButton:hover, |
| 2182 | .secondaryToolbarButton:focus-visible { |
| 2183 | background-color: var(--doorhanger-hover-bg-color); |
| 2184 | color: var(--doorhanger-hover-color); |
| 2185 | } |
| 2186 | |
| 2187 | .toolbarButton.toggled, |
| 2188 | .splitToolbarButton.toggled>.toolbarButton.toggled, |
| 2189 | .secondaryToolbarButton.toggled { |
| 2190 | background-color: var(--toggled-btn-bg-color); |
| 2191 | color: var(--toggled-btn-color); |
| 2192 | } |
| 2193 | |
| 2194 | .toolbarButton.toggled::before, |
| 2195 | .secondaryToolbarButton.toggled::before { |
| 2196 | background-color: var(--toggled-btn-color); |
| 2197 | } |
| 2198 | |
| 2199 | .toolbarButton.toggled:hover:active, |
| 2200 | .splitToolbarButton.toggled>.toolbarButton.toggled:hover:active, |
| 2201 | .secondaryToolbarButton.toggled:hover:active { |
| 2202 | background-color: var(--toggled-hover-active-btn-color); |
| 2203 | } |
| 2204 | |
| 2205 | .dropdownToolbarButton { |
| 2206 | width: var(--scale-select-width); |
| 2207 | padding: 0; |
| 2208 | background-color: var(--dropdown-btn-bg-color); |
| 2209 | border: var(--dropdown-btn-border); |
| 2210 | } |
| 2211 | |
| 2212 | [dir="ltr"] .dropdownToolbarButton::after { |
| 2213 | right: 6px; |
| 2214 | } |
| 2215 | |
| 2216 | [dir="rtl"] .dropdownToolbarButton::after { |
| 2217 | left: 6px; |
| 2218 | } |
| 2219 | |
| 2220 | .dropdownToolbarButton::after { |
| 2221 | top: 6px; |
| 2222 | inset-inline-end: 6px; |
| 2223 | pointer-events: none; |
| 2224 | -webkit-mask-image: var(--toolbarButton-menuArrow-icon); |
| 2225 | mask-image: var(--toolbarButton-menuArrow-icon); |
| 2226 | } |
| 2227 | |
| 2228 | [dir="ltr"] .dropdownToolbarButton>select { |
| 2229 | padding-left: 6px; |
| 2230 | } |
| 2231 | |
| 2232 | [dir="rtl"] .dropdownToolbarButton>select { |
| 2233 | padding-right: 6px; |
| 2234 | } |
| 2235 | |
| 2236 | .dropdownToolbarButton>select { |
| 2237 | -webkit-appearance: none; |
| 2238 | -moz-appearance: none; |
| 2239 | appearance: none; |
| 2240 | width: inherit; |
| 2241 | height: 28px; |
| 2242 | font-size: 12px; |
| 2243 | color: var(--main-color); |
| 2244 | margin: 0; |
| 2245 | padding: 1px 0 2px; |
| 2246 | -webkit-padding-start: 6px; |
| 2247 | padding-inline-start: 6px; |
| 2248 | border: none; |
| 2249 | background-color: var(--dropdown-btn-bg-color); |
| 2250 | border-radius: 2px; |
| 2251 | } |
| 2252 | |
| 2253 | .dropdownToolbarButton>select:hover, |
| 2254 | .dropdownToolbarButton>select:focus-visible { |
| 2255 | background-color: var(--button-hover-color); |
| 2256 | color: var(--toggled-btn-color); |
| 2257 | } |
| 2258 | |
| 2259 | .dropdownToolbarButton>select>option { |
| 2260 | background: var(--doorhanger-bg-color); |
| 2261 | color: var(--main-color); |
| 2262 | } |
| 2263 | |
| 2264 | .toolbarButtonSpacer { |
| 2265 | width: 30px; |
| 2266 | display: inline-block; |
| 2267 | height: 1px; |
| 2268 | } |
| 2269 | |
| 2270 | .toolbarButton::before, |
| 2271 | .secondaryToolbarButton::before, |
| 2272 | .dropdownToolbarButton::after, |
| 2273 | .treeItemToggler::before { |
| 2274 | /* All matching images have a size of 16x16 |
| 2275 | * All relevant containers have a size of 28x28 */ |
| 2276 | position: absolute; |
| 2277 | display: inline-block; |
| 2278 | width: 16px; |
| 2279 | height: 16px; |
| 2280 | |
| 2281 | content: ""; |
| 2282 | background-color: var(--toolbar-icon-bg-color); |
| 2283 | -webkit-mask-size: cover; |
| 2284 | mask-size: cover; |
| 2285 | } |
| 2286 | |
| 2287 | .dropdownToolbarButton:hover::after, |
| 2288 | .dropdownToolbarButton:focus-visible::after, |
| 2289 | .dropdownToolbarButton:active::after { |
| 2290 | background-color: var(--toolbar-icon-hover-bg-color); |
| 2291 | } |
| 2292 | |
| 2293 | .toolbarButton::before { |
| 2294 | opacity: var(--toolbar-icon-opacity); |
| 2295 | top: 6px; |
| 2296 | left: 6px; |
| 2297 | } |
| 2298 | |
| 2299 | .toolbarButton:hover::before, |
| 2300 | .toolbarButton:focus-visible::before, |
| 2301 | .secondaryToolbarButton:hover::before, |
| 2302 | .secondaryToolbarButton:focus-visible::before { |
| 2303 | background-color: var(--toolbar-icon-hover-bg-color); |
| 2304 | } |
| 2305 | |
| 2306 | [dir="ltr"] .secondaryToolbarButton::before { |
| 2307 | left: 12px; |
| 2308 | } |
| 2309 | |
| 2310 | [dir="rtl"] .secondaryToolbarButton::before { |
| 2311 | right: 12px; |
| 2312 | } |
| 2313 | |
| 2314 | .secondaryToolbarButton::before { |
| 2315 | opacity: var(--doorhanger-icon-opacity); |
| 2316 | top: 5px; |
| 2317 | inset-inline-start: 12px; |
| 2318 | } |
| 2319 | |
| 2320 | #sidebarToggle::before { |
| 2321 | -webkit-mask-image: var(--toolbarButton-sidebarToggle-icon); |
| 2322 | mask-image: var(--toolbarButton-sidebarToggle-icon); |
| 2323 | transform: scaleX(var(--dir-factor)); |
| 2324 | } |
| 2325 | |
| 2326 | #secondaryToolbarToggle::before { |
| 2327 | -webkit-mask-image: var(--toolbarButton-secondaryToolbarToggle-icon); |
| 2328 | mask-image: var(--toolbarButton-secondaryToolbarToggle-icon); |
| 2329 | transform: scaleX(var(--dir-factor)); |
| 2330 | } |
| 2331 | |
| 2332 | #findPrevious::before { |
| 2333 | -webkit-mask-image: var(--findbarButton-previous-icon); |
| 2334 | mask-image: var(--findbarButton-previous-icon); |
| 2335 | } |
| 2336 | |
| 2337 | #findNext::before { |
| 2338 | -webkit-mask-image: var(--findbarButton-next-icon); |
| 2339 | mask-image: var(--findbarButton-next-icon); |
| 2340 | } |
| 2341 | |
| 2342 | #previous::before { |
| 2343 | -webkit-mask-image: var(--toolbarButton-pageUp-icon); |
| 2344 | mask-image: var(--toolbarButton-pageUp-icon); |
| 2345 | } |
| 2346 | |
| 2347 | #next::before { |
| 2348 | -webkit-mask-image: var(--toolbarButton-pageDown-icon); |
| 2349 | mask-image: var(--toolbarButton-pageDown-icon); |
| 2350 | } |
| 2351 | |
| 2352 | #zoomOut::before { |
| 2353 | -webkit-mask-image: var(--toolbarButton-zoomOut-icon); |
| 2354 | mask-image: var(--toolbarButton-zoomOut-icon); |
| 2355 | } |
| 2356 | |
| 2357 | #zoomIn::before { |
| 2358 | -webkit-mask-image: var(--toolbarButton-zoomIn-icon); |
| 2359 | mask-image: var(--toolbarButton-zoomIn-icon); |
| 2360 | } |
| 2361 | |
| 2362 | #presentationMode::before { |
| 2363 | -webkit-mask-image: var(--toolbarButton-presentationMode-icon); |
| 2364 | mask-image: var(--toolbarButton-presentationMode-icon); |
| 2365 | } |
| 2366 | |
| 2367 | #editorFreeText::before { |
| 2368 | -webkit-mask-image: var(--toolbarButton-editorFreeText-icon); |
| 2369 | mask-image: var(--toolbarButton-editorFreeText-icon); |
| 2370 | } |
| 2371 | |
| 2372 | #editorInk::before { |
| 2373 | -webkit-mask-image: var(--toolbarButton-editorInk-icon); |
| 2374 | mask-image: var(--toolbarButton-editorInk-icon); |
| 2375 | } |
| 2376 | |
| 2377 | #print::before, |
| 2378 | #secondaryPrint::before { |
| 2379 | -webkit-mask-image: var(--toolbarButton-print-icon); |
| 2380 | mask-image: var(--toolbarButton-print-icon); |
| 2381 | } |
| 2382 | |
| 2383 | #openFile::before, |
| 2384 | #secondaryOpenFile::before { |
| 2385 | -webkit-mask-image: var(--toolbarButton-openFile-icon); |
| 2386 | mask-image: var(--toolbarButton-openFile-icon); |
| 2387 | } |
| 2388 | |
| 2389 | #download::before, |
| 2390 | #secondaryDownload::before { |
| 2391 | -webkit-mask-image: var(--toolbarButton-download-icon); |
| 2392 | mask-image: var(--toolbarButton-download-icon); |
| 2393 | } |
| 2394 | |
| 2395 | a.secondaryToolbarButton { |
| 2396 | /* padding-top: 5px; */ /* added by ep developer */ |
| 2397 | text-decoration: none; |
| 2398 | display: flex; /* added by ep developer */ |
| 2399 | align-items: center; /* added by ep developer */ |
| 2400 | } |
| 2401 | |
| 2402 | a.toolbarButton[href="#"], |
| 2403 | a.secondaryToolbarButton[href="#"] { |
| 2404 | opacity: 0.5; |
| 2405 | pointer-events: none; |
| 2406 | } |
| 2407 | |
| 2408 | #viewBookmark::before { |
| 2409 | -webkit-mask-image: var(--toolbarButton-bookmark-icon); |
| 2410 | mask-image: var(--toolbarButton-bookmark-icon); |
| 2411 | } |
| 2412 | |
| 2413 | #viewThumbnail::before { |
| 2414 | -webkit-mask-image: var(--toolbarButton-viewThumbnail-icon); |
| 2415 | mask-image: var(--toolbarButton-viewThumbnail-icon); |
| 2416 | } |
| 2417 | |
| 2418 | #viewOutline::before { |
| 2419 | -webkit-mask-image: var(--toolbarButton-viewOutline-icon); |
| 2420 | mask-image: var(--toolbarButton-viewOutline-icon); |
| 2421 | transform: scaleX(var(--dir-factor)); |
| 2422 | } |
| 2423 | |
| 2424 | #viewAttachments::before { |
| 2425 | -webkit-mask-image: var(--toolbarButton-viewAttachments-icon); |
| 2426 | mask-image: var(--toolbarButton-viewAttachments-icon); |
| 2427 | } |
| 2428 | |
| 2429 | #viewLayers::before { |
| 2430 | -webkit-mask-image: var(--toolbarButton-viewLayers-icon); |
| 2431 | mask-image: var(--toolbarButton-viewLayers-icon); |
| 2432 | } |
| 2433 | |
| 2434 | #currentOutlineItem::before { |
| 2435 | -webkit-mask-image: var(--toolbarButton-currentOutlineItem-icon); |
| 2436 | mask-image: var(--toolbarButton-currentOutlineItem-icon); |
| 2437 | transform: scaleX(var(--dir-factor)); |
| 2438 | } |
| 2439 | |
| 2440 | #viewFind::before { |
| 2441 | -webkit-mask-image: var(--toolbarButton-search-icon); |
| 2442 | mask-image: var(--toolbarButton-search-icon); |
| 2443 | } |
| 2444 | |
| 2445 | [dir="ltr"] .pdfSidebarNotification::after { |
| 2446 | right: 2px; |
| 2447 | } |
| 2448 | |
| 2449 | [dir="rtl"] .pdfSidebarNotification::after { |
| 2450 | left: 2px; |
| 2451 | } |
| 2452 | |
| 2453 | .pdfSidebarNotification::after { |
| 2454 | position: absolute; |
| 2455 | display: inline-block; |
| 2456 | top: 2px; |
| 2457 | inset-inline-end: 2px; |
| 2458 | /* Create a filled circle, with a diameter of 9 pixels, using only CSS: */ |
| 2459 | content: ""; |
| 2460 | background-color: rgba(112, 219, 85, 1); |
| 2461 | height: 9px; |
| 2462 | width: 9px; |
| 2463 | border-radius: 50%; |
| 2464 | } |
| 2465 | |
| 2466 | [dir="ltr"] .secondaryToolbarButton { |
| 2467 | padding-left: 36px; |
| 2468 | } |
| 2469 | |
| 2470 | [dir="rtl"] .secondaryToolbarButton { |
| 2471 | padding-right: 36px; |
| 2472 | } |
| 2473 | |
| 2474 | [dir="ltr"] .secondaryToolbarButton { |
| 2475 | text-align: left; |
| 2476 | } |
| 2477 | |
| 2478 | [dir="rtl"] .secondaryToolbarButton { |
| 2479 | text-align: right; |
| 2480 | } |
| 2481 | |
| 2482 | .secondaryToolbarButton { |
| 2483 | position: relative; |
| 2484 | margin: 0; |
| 2485 | padding: 0 0 1px; |
| 2486 | -webkit-padding-start: 36px; |
| 2487 | padding-inline-start: 36px; |
| 2488 | height: auto; |
| 2489 | min-height: 26px; |
| 2490 | width: auto; |
| 2491 | min-width: 100%; |
| 2492 | text-align: start; |
| 2493 | white-space: normal; |
| 2494 | border-radius: 0; |
| 2495 | box-sizing: border-box; |
| 2496 | display: inline-block; |
| 2497 | } |
| 2498 | |
| 2499 | [dir="ltr"] .secondaryToolbarButton>span { |
| 2500 | padding-right: 4px; |
| 2501 | } |
| 2502 | |
| 2503 | [dir="rtl"] .secondaryToolbarButton>span { |
| 2504 | padding-left: 4px; |
| 2505 | } |
| 2506 | |
| 2507 | .secondaryToolbarButton>span { |
| 2508 | -webkit-padding-end: 4px; |
| 2509 | padding-inline-end: 4px; |
| 2510 | font-size: 12px; /*Added by ep developer */ |
| 2511 | } |
| 2512 | |
| 2513 | #firstPage::before { |
| 2514 | -webkit-mask-image: var(--secondaryToolbarButton-firstPage-icon); |
| 2515 | mask-image: var(--secondaryToolbarButton-firstPage-icon); |
| 2516 | } |
| 2517 | |
| 2518 | #lastPage::before { |
| 2519 | -webkit-mask-image: var(--secondaryToolbarButton-lastPage-icon); |
| 2520 | mask-image: var(--secondaryToolbarButton-lastPage-icon); |
| 2521 | } |
| 2522 | |
| 2523 | #pageRotateCcw::before { |
| 2524 | -webkit-mask-image: var(--secondaryToolbarButton-rotateCcw-icon); |
| 2525 | mask-image: var(--secondaryToolbarButton-rotateCcw-icon); |
| 2526 | } |
| 2527 | |
| 2528 | #pageRotateCw::before { |
| 2529 | -webkit-mask-image: var(--secondaryToolbarButton-rotateCw-icon); |
| 2530 | mask-image: var(--secondaryToolbarButton-rotateCw-icon); |
| 2531 | } |
| 2532 | |
| 2533 | #cursorSelectTool::before { |
| 2534 | -webkit-mask-image: var(--secondaryToolbarButton-selectTool-icon); |
| 2535 | mask-image: var(--secondaryToolbarButton-selectTool-icon); |
| 2536 | } |
| 2537 | |
| 2538 | #cursorHandTool::before { |
| 2539 | -webkit-mask-image: var(--secondaryToolbarButton-handTool-icon); |
| 2540 | mask-image: var(--secondaryToolbarButton-handTool-icon); |
| 2541 | } |
| 2542 | |
| 2543 | #scrollPage::before { |
| 2544 | -webkit-mask-image: var(--secondaryToolbarButton-scrollPage-icon); |
| 2545 | mask-image: var(--secondaryToolbarButton-scrollPage-icon); |
| 2546 | } |
| 2547 | |
| 2548 | #scrollVertical::before { |
| 2549 | -webkit-mask-image: var(--secondaryToolbarButton-scrollVertical-icon); |
| 2550 | mask-image: var(--secondaryToolbarButton-scrollVertical-icon); |
| 2551 | } |
| 2552 | |
| 2553 | #scrollHorizontal::before { |
| 2554 | -webkit-mask-image: var(--secondaryToolbarButton-scrollHorizontal-icon); |
| 2555 | mask-image: var(--secondaryToolbarButton-scrollHorizontal-icon); |
| 2556 | } |
| 2557 | |
| 2558 | #scrollWrapped::before { |
| 2559 | -webkit-mask-image: var(--secondaryToolbarButton-scrollWrapped-icon); |
| 2560 | mask-image: var(--secondaryToolbarButton-scrollWrapped-icon); |
| 2561 | } |
| 2562 | |
| 2563 | #spreadNone::before { |
| 2564 | -webkit-mask-image: var(--secondaryToolbarButton-spreadNone-icon); |
| 2565 | mask-image: var(--secondaryToolbarButton-spreadNone-icon); |
| 2566 | } |
| 2567 | |
| 2568 | #spreadOdd::before { |
| 2569 | -webkit-mask-image: var(--secondaryToolbarButton-spreadOdd-icon); |
| 2570 | mask-image: var(--secondaryToolbarButton-spreadOdd-icon); |
| 2571 | } |
| 2572 | |
| 2573 | #spreadEven::before { |
| 2574 | -webkit-mask-image: var(--secondaryToolbarButton-spreadEven-icon); |
| 2575 | mask-image: var(--secondaryToolbarButton-spreadEven-icon); |
| 2576 | } |
| 2577 | |
| 2578 | #documentProperties::before { |
| 2579 | -webkit-mask-image: var(--secondaryToolbarButton-documentProperties-icon); |
| 2580 | mask-image: var(--secondaryToolbarButton-documentProperties-icon); |
| 2581 | } |
| 2582 | |
| 2583 | .verticalToolbarSeparator { |
| 2584 | display: block; |
| 2585 | margin: 5px 2px; |
| 2586 | width: 1px; |
| 2587 | height: 22px; |
| 2588 | background-color: var(--separator-color); |
| 2589 | } |
| 2590 | |
| 2591 | .horizontalToolbarSeparator { |
| 2592 | display: block; |
| 2593 | margin: 6px 0; |
| 2594 | height: 1px; |
| 2595 | width: 100%; |
| 2596 | background-color: var(--doorhanger-separator-color); |
| 2597 | } |
| 2598 | |
| 2599 | .toolbarField { |
| 2600 | padding: 4px 7px; |
| 2601 | margin: 3px 0; |
| 2602 | border-radius: 2px; |
| 2603 | background-color: var(--field-bg-color); |
| 2604 | background-clip: padding-box; |
| 2605 | border: 1px solid var(--field-border-color); |
| 2606 | box-shadow: none; |
| 2607 | color: var(--field-color); |
| 2608 | font-size: 12px; |
| 2609 | line-height: 16px; |
| 2610 | outline: none; |
| 2611 | } |
| 2612 | |
| 2613 | [dir="ltr"] .toolbarField[type="checkbox"] { |
| 2614 | margin-left: 7px; |
| 2615 | } |
| 2616 | |
| 2617 | [dir="rtl"] .toolbarField[type="checkbox"] { |
| 2618 | margin-right: 7px; |
| 2619 | } |
| 2620 | |
| 2621 | .toolbarField[type="checkbox"] { |
| 2622 | opacity: 0; |
| 2623 | position: absolute !important; |
| 2624 | left: 0; |
| 2625 | margin: 10px 0 3px; |
| 2626 | -webkit-margin-start: 7px; |
| 2627 | margin-inline-start: 7px; |
| 2628 | } |
| 2629 | |
| 2630 | #pageNumber { |
| 2631 | -moz-appearance: textfield; |
| 2632 | /* hides the spinner in moz */ |
| 2633 | text-align: right; |
| 2634 | width: 40px; |
| 2635 | background-size: 0 0; |
| 2636 | transition-property: none; |
| 2637 | border: none; /* added by ep developer */ |
| 2638 | font-size: 12px; /* added by ep developer */ |
| 2639 | } |
| 2640 | |
| 2641 | #pageNumber.visiblePageIsLoading { |
| 2642 | background-image: var(--loading-icon); |
| 2643 | background-repeat: no-repeat; |
| 2644 | background-position: 3px; |
| 2645 | background-size: 16px 16px; |
| 2646 | /* Using a delay with background-image doesn't work, |
| 2647 | consequently we use background-size. */ |
| 2648 | transition-property: background-size; |
| 2649 | transition-delay: var(--loading-icon-delay); |
| 2650 | } |
| 2651 | |
| 2652 | #pageNumber::-webkit-inner-spin-button { |
| 2653 | -webkit-appearance: none; |
| 2654 | } |
| 2655 | |
| 2656 | .toolbarField:focus { |
| 2657 | border-color: #0a84ff; |
| 2658 | } |
| 2659 | |
| 2660 | .toolbarLabel { |
| 2661 | min-width: 16px; |
| 2662 | padding: 7px; |
| 2663 | margin: 2px; |
| 2664 | border-radius: 2px; |
| 2665 | color: var(--main-color); |
| 2666 | font-size: 12px; |
| 2667 | line-height: 14px; |
| 2668 | text-align: left; |
| 2669 | -webkit-user-select: none; |
| 2670 | -moz-user-select: none; |
| 2671 | user-select: none; |
| 2672 | cursor: default; |
| 2673 | } |
| 2674 | |
| 2675 | [dir="ltr"] #numPages.toolbarLabel { |
| 2676 | padding-left: 3px; |
| 2677 | } |
| 2678 | |
| 2679 | [dir="rtl"] #numPages.toolbarLabel { |
| 2680 | padding-right: 3px; |
| 2681 | } |
| 2682 | |
| 2683 | #numPages.toolbarLabel { |
| 2684 | -webkit-padding-start: 3px; |
| 2685 | padding-inline-start: 3px; |
| 2686 | } |
| 2687 | |
| 2688 | #thumbnailView, |
| 2689 | #outlineView, |
| 2690 | #attachmentsView, |
| 2691 | #layersView { |
| 2692 | position: absolute; |
| 2693 | width: calc(100% - 8px); |
| 2694 | top: 0; |
| 2695 | bottom: 0; |
| 2696 | padding: 4px 4px 0; |
| 2697 | overflow: auto; |
| 2698 | -webkit-user-select: none; |
| 2699 | -moz-user-select: none; |
| 2700 | user-select: none; |
| 2701 | } |
| 2702 | |
| 2703 | #thumbnailView { |
| 2704 | width: calc(100% - 60px); |
| 2705 | padding: 10px 30px 0; |
| 2706 | } |
| 2707 | |
| 2708 | #thumbnailView>a:active, |
| 2709 | #thumbnailView>a:focus { |
| 2710 | outline: 0; |
| 2711 | } |
| 2712 | |
| 2713 | [dir="ltr"] .thumbnail { |
| 2714 | float: left; |
| 2715 | } |
| 2716 | |
| 2717 | [dir="rtl"] .thumbnail { |
| 2718 | float: right; |
| 2719 | } |
| 2720 | |
| 2721 | .thumbnail { |
| 2722 | float: inline-start; |
| 2723 | margin: 0 10px 5px; |
| 2724 | } |
| 2725 | |
| 2726 | #thumbnailView>a:last-of-type>.thumbnail { |
| 2727 | margin-bottom: 10px; |
| 2728 | } |
| 2729 | |
| 2730 | #thumbnailView>a:last-of-type>.thumbnail:not([data-loaded]) { |
| 2731 | margin-bottom: 9px; |
| 2732 | } |
| 2733 | |
| 2734 | .thumbnail:not([data-loaded]) { |
| 2735 | border: 1px dashed rgba(132, 132, 132, 1); |
| 2736 | margin: -1px 9px 4px; |
| 2737 | } |
| 2738 | |
| 2739 | .thumbnailImage { |
| 2740 | border: 1px solid rgba(0, 0, 0, 0); |
| 2741 | box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.3); |
| 2742 | opacity: 0.8; |
| 2743 | z-index: 99; |
| 2744 | background-color: rgba(255, 255, 255, 1); |
| 2745 | background-clip: content-box; |
| 2746 | } |
| 2747 | |
| 2748 | .thumbnailSelectionRing { |
| 2749 | border-radius: 2px; |
| 2750 | padding: 7px; |
| 2751 | } |
| 2752 | |
| 2753 | a:focus>.thumbnail>.thumbnailSelectionRing>.thumbnailImage, |
| 2754 | .thumbnail:hover>.thumbnailSelectionRing>.thumbnailImage { |
| 2755 | opacity: 0.9; |
| 2756 | } |
| 2757 | |
| 2758 | a:focus>.thumbnail>.thumbnailSelectionRing, |
| 2759 | .thumbnail:hover>.thumbnailSelectionRing { |
| 2760 | background-color: var(--sidebaritem-bg-color); |
| 2761 | background-clip: padding-box; |
| 2762 | color: rgba(255, 255, 255, 0.9); |
| 2763 | } |
| 2764 | |
| 2765 | .thumbnail.selected>.thumbnailSelectionRing>.thumbnailImage { |
| 2766 | opacity: 1; |
| 2767 | } |
| 2768 | |
| 2769 | .thumbnail.selected>.thumbnailSelectionRing { |
| 2770 | background-color: var(--sidebaritem-bg-color); |
| 2771 | background-clip: padding-box; |
| 2772 | color: rgba(255, 255, 255, 1); |
| 2773 | } |
| 2774 | |
| 2775 | [dir="ltr"] .treeWithDeepNesting>.treeItem, [dir="ltr"] .treeItem>.treeItems { |
| 2776 | margin-left: 20px; |
| 2777 | } |
| 2778 | |
| 2779 | [dir="rtl"] .treeWithDeepNesting>.treeItem, [dir="rtl"] .treeItem>.treeItems { |
| 2780 | margin-right: 20px; |
| 2781 | } |
| 2782 | |
| 2783 | .treeWithDeepNesting>.treeItem, |
| 2784 | .treeItem>.treeItems { |
| 2785 | -webkit-margin-start: 20px; |
| 2786 | margin-inline-start: 20px; |
| 2787 | } |
| 2788 | |
| 2789 | [dir="ltr"] .treeItem>a { |
| 2790 | padding-left: 4px; |
| 2791 | } |
| 2792 | |
| 2793 | [dir="rtl"] .treeItem>a { |
| 2794 | padding-right: 4px; |
| 2795 | } |
| 2796 | |
| 2797 | .treeItem>a { |
| 2798 | text-decoration: none; |
| 2799 | display: inline-block; |
| 2800 | /* Subtract the right padding (left, in RTL mode) of the container: */ |
| 2801 | min-width: calc(100% - 4px); |
| 2802 | height: auto; |
| 2803 | margin-bottom: 1px; |
| 2804 | padding: 2px 0 5px; |
| 2805 | -webkit-padding-start: 4px; |
| 2806 | padding-inline-start: 4px; |
| 2807 | border-radius: 2px; |
| 2808 | color: var(--treeitem-color); |
| 2809 | font-size: 13px; |
| 2810 | line-height: 15px; |
| 2811 | -webkit-user-select: none; |
| 2812 | -moz-user-select: none; |
| 2813 | user-select: none; |
| 2814 | white-space: normal; |
| 2815 | cursor: pointer; |
| 2816 | } |
| 2817 | |
| 2818 | #layersView .treeItem>a * { |
| 2819 | cursor: pointer; |
| 2820 | } |
| 2821 | |
| 2822 | [dir="ltr"] #layersView .treeItem>a>label { |
| 2823 | padding-left: 4px; |
| 2824 | } |
| 2825 | |
| 2826 | [dir="rtl"] #layersView .treeItem>a>label { |
| 2827 | padding-right: 4px; |
| 2828 | } |
| 2829 | |
| 2830 | #layersView .treeItem>a>label { |
| 2831 | -webkit-padding-start: 4px; |
| 2832 | padding-inline-start: 4px; |
| 2833 | } |
| 2834 | |
| 2835 | [dir="ltr"] #layersView .treeItem>a>label>input { |
| 2836 | float: left; |
| 2837 | } |
| 2838 | |
| 2839 | [dir="rtl"] #layersView .treeItem>a>label>input { |
| 2840 | float: right; |
| 2841 | } |
| 2842 | |
| 2843 | #layersView .treeItem>a>label>input { |
| 2844 | float: inline-start; |
| 2845 | margin-top: 1px; |
| 2846 | } |
| 2847 | |
| 2848 | [dir="ltr"] .treeItemToggler { |
| 2849 | float: left; |
| 2850 | } |
| 2851 | |
| 2852 | [dir="rtl"] .treeItemToggler { |
| 2853 | float: right; |
| 2854 | } |
| 2855 | |
| 2856 | .treeItemToggler { |
| 2857 | position: relative; |
| 2858 | float: inline-start; |
| 2859 | height: 0; |
| 2860 | width: 0; |
| 2861 | color: rgba(255, 255, 255, 0.5); |
| 2862 | } |
| 2863 | |
| 2864 | [dir="ltr"] .treeItemToggler::before { |
| 2865 | right: 4px; |
| 2866 | } |
| 2867 | |
| 2868 | [dir="rtl"] .treeItemToggler::before { |
| 2869 | left: 4px; |
| 2870 | } |
| 2871 | |
| 2872 | .treeItemToggler::before { |
| 2873 | inset-inline-end: 4px; |
| 2874 | -webkit-mask-image: var(--treeitem-expanded-icon); |
| 2875 | mask-image: var(--treeitem-expanded-icon); |
| 2876 | } |
| 2877 | |
| 2878 | .treeItemToggler.treeItemsHidden::before { |
| 2879 | -webkit-mask-image: var(--treeitem-collapsed-icon); |
| 2880 | mask-image: var(--treeitem-collapsed-icon); |
| 2881 | transform: scaleX(var(--dir-factor)); |
| 2882 | } |
| 2883 | |
| 2884 | .treeItemToggler.treeItemsHidden~.treeItems { |
| 2885 | display: none; |
| 2886 | } |
| 2887 | |
| 2888 | .treeItem.selected>a { |
| 2889 | background-color: var(--treeitem-selected-bg-color); |
| 2890 | color: var(--treeitem-selected-color); |
| 2891 | } |
| 2892 | |
| 2893 | .treeItemToggler:hover, |
| 2894 | .treeItemToggler:hover+a, |
| 2895 | .treeItemToggler:hover~.treeItems, |
| 2896 | .treeItem>a:hover { |
| 2897 | background-color: var(--sidebaritem-bg-color); |
| 2898 | background-clip: padding-box; |
| 2899 | border-radius: 2px; |
| 2900 | color: var(--treeitem-hover-color); |
| 2901 | } |
| 2902 | |
| 2903 | .dialogButton { |
| 2904 | width: auto; |
| 2905 | margin: 3px 4px 2px !important; |
| 2906 | padding: 2px 11px; |
| 2907 | color: var(--main-color); |
| 2908 | background-color: var(--dialog-button-bg-color); |
| 2909 | border: var(--dialog-button-border) !important; |
| 2910 | } |
| 2911 | |
| 2912 | dialog { |
| 2913 | margin: auto; |
| 2914 | padding: 15px; |
| 2915 | border-spacing: 4px; |
| 2916 | color: var(--main-color); |
| 2917 | font: message-box; |
| 2918 | font-size: 12px; |
| 2919 | line-height: 14px; |
| 2920 | background-color: var(--doorhanger-bg-color); |
| 2921 | border: 1px solid rgba(0, 0, 0, 0.5); |
| 2922 | border-radius: 4px; |
| 2923 | box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3); |
| 2924 | } |
| 2925 | |
| 2926 | dialog::-webkit-backdrop { |
| 2927 | background-color: rgba(0, 0, 0, 0.2); |
| 2928 | } |
| 2929 | |
| 2930 | dialog::backdrop { |
| 2931 | background-color: rgba(0, 0, 0, 0.2); |
| 2932 | } |
| 2933 | |
| 2934 | dialog>.row { |
| 2935 | display: table-row; |
| 2936 | } |
| 2937 | |
| 2938 | dialog>.row>* { |
| 2939 | display: table-cell; |
| 2940 | } |
| 2941 | |
| 2942 | dialog .toolbarField { |
| 2943 | margin: 5px 0; |
| 2944 | } |
| 2945 | |
| 2946 | dialog .separator { |
| 2947 | display: block; |
| 2948 | margin: 4px 0; |
| 2949 | height: 1px; |
| 2950 | width: 100%; |
| 2951 | background-color: var(--separator-color); |
| 2952 | } |
| 2953 | |
| 2954 | dialog .buttonRow { |
| 2955 | text-align: center; |
| 2956 | vertical-align: middle; |
| 2957 | } |
| 2958 | |
| 2959 | dialog :link { |
| 2960 | color: rgba(255, 255, 255, 1); |
| 2961 | } |
| 2962 | |
| 2963 | #passwordDialog { |
| 2964 | text-align: center; |
| 2965 | } |
| 2966 | |
| 2967 | #passwordDialog .toolbarField { |
| 2968 | width: 200px; |
| 2969 | } |
| 2970 | |
| 2971 | #documentPropertiesDialog { |
| 2972 | text-align: left; |
| 2973 | } |
| 2974 | |
| 2975 | [dir="ltr"] #documentPropertiesDialog .row>* { |
| 2976 | text-align: left; |
| 2977 | } |
| 2978 | |
| 2979 | [dir="rtl"] #documentPropertiesDialog .row>* { |
| 2980 | text-align: right; |
| 2981 | } |
| 2982 | |
| 2983 | #documentPropertiesDialog .row>* { |
| 2984 | min-width: 100px; |
| 2985 | text-align: start; |
| 2986 | } |
| 2987 | |
| 2988 | #documentPropertiesDialog .row>span { |
| 2989 | width: 125px; |
| 2990 | word-wrap: break-word; |
| 2991 | } |
| 2992 | |
| 2993 | #documentPropertiesDialog .row>p { |
| 2994 | max-width: 225px; |
| 2995 | word-wrap: break-word; |
| 2996 | } |
| 2997 | |
| 2998 | #documentPropertiesDialog .buttonRow { |
| 2999 | margin-top: 10px; |
| 3000 | } |
| 3001 | |
| 3002 | .grab-to-pan-grab { |
| 3003 | cursor: grab !important; |
| 3004 | } |
| 3005 | |
| 3006 | .grab-to-pan-grab *:not(input):not(textarea):not(button):not(select):not(:link) { |
| 3007 | cursor: inherit !important; |
| 3008 | } |
| 3009 | |
| 3010 | .grab-to-pan-grab:active, |
| 3011 | .grab-to-pan-grabbing { |
| 3012 | cursor: grabbing !important; |
| 3013 | position: fixed; |
| 3014 | background: rgba(0, 0, 0, 0); |
| 3015 | display: block; |
| 3016 | top: 0; |
| 3017 | left: 0; |
| 3018 | right: 0; |
| 3019 | bottom: 0; |
| 3020 | overflow: hidden; |
| 3021 | z-index: 50000; |
| 3022 | /* should be higher than anything else in PDF.js! */ |
| 3023 | } |
| 3024 | |
| 3025 | @page { { |
| 3026 | margin: 0; |
| 3027 | } |
| 3028 | |
| 3029 | #printContainer { |
| 3030 | display: none; |
| 3031 | } |
| 3032 | |
| 3033 | @media print { |
| 3034 | body { |
| 3035 | background: rgba(0, 0, 0, 0) none; |
| 3036 | } |
| 3037 | |
| 3038 | body[data-pdfjsprinting] #outerContainer { |
| 3039 | display: none; |
| 3040 | } |
| 3041 | |
| 3042 | body[data-pdfjsprinting] #printContainer { |
| 3043 | display: block; |
| 3044 | } |
| 3045 | |
| 3046 | #printContainer { |
| 3047 | height: 100%; |
| 3048 | } |
| 3049 | |
| 3050 | /* wrapper around (scaled) print canvas elements */ |
| 3051 | #printContainer>.printedPage { |
| 3052 | page-break-after: always; |
| 3053 | page-break-inside: avoid; |
| 3054 | |
| 3055 | /* The wrapper always cover the whole page. */ |
| 3056 | height: 100%; |
| 3057 | width: 100%; |
| 3058 | |
| 3059 | display: flex; |
| 3060 | flex-direction: column; |
| 3061 | justify-content: center; |
| 3062 | align-items: center; |
| 3063 | } |
| 3064 | |
| 3065 | #printContainer>.xfaPrintedPage .xfaPage { |
| 3066 | position: absolute; |
| 3067 | } |
| 3068 | |
| 3069 | #printContainer>.xfaPrintedPage { |
| 3070 | page-break-after: always; |
| 3071 | page-break-inside: avoid; |
| 3072 | width: 100%; |
| 3073 | height: 100%; |
| 3074 | position: relative; |
| 3075 | } |
| 3076 | |
| 3077 | #printContainer>.printedPage canvas, |
| 3078 | #printContainer>.printedPage img { |
| 3079 | /* The intrinsic canvas / image size will make sure that we fit the page. */ |
| 3080 | max-width: 100%; |
| 3081 | max-height: 100%; |
| 3082 | |
| 3083 | direction: ltr; |
| 3084 | display: block; |
| 3085 | } |
| 3086 | } |
| 3087 | |
| 3088 | .visibleLargeView, |
| 3089 | .visibleMediumView { |
| 3090 | display: none; |
| 3091 | } |
| 3092 | |
| 3093 | @media all and (max-width: 900px) { |
| 3094 | #toolbarViewerMiddle { |
| 3095 | display: table; |
| 3096 | margin: auto; |
| 3097 | left: auto; |
| 3098 | position: inherit; |
| 3099 | transform: none; |
| 3100 | } |
| 3101 | } |
| 3102 | |
| 3103 | @media all and (max-width: 840px) { |
| 3104 | #sidebarContainer { |
| 3105 | background-color: var(--sidebar-narrow-bg-color); |
| 3106 | } |
| 3107 | |
| 3108 | [dir="ltr"] #outerContainer.sidebarOpen #viewerContainer { |
| 3109 | left: 0 !important; |
| 3110 | } |
| 3111 | |
| 3112 | [dir="rtl"] #outerContainer.sidebarOpen #viewerContainer { |
| 3113 | right: 0 !important; |
| 3114 | } |
| 3115 | |
| 3116 | #outerContainer.sidebarOpen #viewerContainer { |
| 3117 | inset-inline-start: 0 !important; |
| 3118 | } |
| 3119 | } |
| 3120 | |
| 3121 | @media all and (max-width: 820px) { |
| 3122 | #outerContainer .hiddenLargeView { |
| 3123 | display: none; |
| 3124 | } |
| 3125 | |
| 3126 | #outerContainer .visibleLargeView { |
| 3127 | display: inherit; |
| 3128 | } |
| 3129 | } |
| 3130 | |
| 3131 | @media all and (max-width: 750px) { |
| 3132 | #outerContainer .hiddenMediumView { |
| 3133 | display: none; |
| 3134 | } |
| 3135 | |
| 3136 | #outerContainer .visibleMediumView { |
| 3137 | display: inherit; |
| 3138 | } |
| 3139 | } |
| 3140 | |
| 3141 | @media all and (max-width: 690px) { |
| 3142 | |
| 3143 | .hiddenSmallView, |
| 3144 | .hiddenSmallView * { |
| 3145 | display: none; |
| 3146 | } |
| 3147 | |
| 3148 | .toolbarButtonSpacer { |
| 3149 | width: 0; |
| 3150 | } |
| 3151 | |
| 3152 | [dir="ltr"] .findbar { |
| 3153 | left: 34px; |
| 3154 | } |
| 3155 | |
| 3156 | [dir="rtl"] .findbar { |
| 3157 | right: 34px; |
| 3158 | } |
| 3159 | |
| 3160 | .findbar { |
| 3161 | inset-inline-start: 34px; |
| 3162 | } |
| 3163 | } |
| 3164 | |
| 3165 | @media all and (max-width: 560px) { |
| 3166 | #scaleSelectContainer { |
| 3167 | display: none; |
| 3168 | } |
| 3169 | } |
| 3170 | |
| 3171 | |
| 3172 | /* This css code added EP developer */ |
| 3173 | |
| 3174 | /* define for system light */ |
| 3175 | :root { |
| 3176 | --sidebar-width: 200px; |
| 3177 | --sidebar-transition-duration: 200ms; |
| 3178 | --sidebar-transition-timing-function: ease; |
| 3179 | --loadingBar-end-offset: 0; |
| 3180 | |
| 3181 | --toolbar-icon-opacity: 0.7; |
| 3182 | --doorhanger-icon-opacity: 0.9; |
| 3183 | |
| 3184 | --main-color: rgba(12, 12, 13, 1); |
| 3185 | --body-bg-color: rgba(237, 237, 240, 1); |
| 3186 | --errorWrapper-bg-color: rgba(255, 110, 110, 1); |
| 3187 | --progressBar-color: rgba(10, 132, 255, 1); |
| 3188 | --progressBar-indeterminate-bg-color: rgba(221, 221, 222, 1); |
| 3189 | --progressBar-indeterminate-blend-color: rgba(116, 177, 239, 1); |
| 3190 | --scrollbar-color: auto; |
| 3191 | --scrollbar-bg-color: auto; |
| 3192 | --toolbar-icon-bg-color: rgba(0, 0, 0, 1); |
| 3193 | --toolbar-icon-hover-bg-color: rgba(0, 0, 0, 1); |
| 3194 | |
| 3195 | --sidebar-narrow-bg-color: rgba(237, 237, 240, 0.9); |
| 3196 | --sidebar-toolbar-bg-color: rgba(245, 246, 247, 1); |
| 3197 | --toolbar-bg-color: rgba(249, 249, 250, 1); |
| 3198 | --toolbar-border-color: rgba(204, 204, 204, 1); |
| 3199 | --button-hover-color: rgba(221, 222, 223, 1); |
| 3200 | --toggled-btn-color: rgba(0, 0, 0, 1); |
| 3201 | --toggled-btn-bg-color: rgba(0, 0, 0, 0.3); |
| 3202 | --toggled-hover-active-btn-color: rgba(0, 0, 0, 0.4); |
| 3203 | --dropdown-btn-bg-color: rgba(215, 215, 219, 1); |
| 3204 | --separator-color: rgba(0, 0, 0, 0.3); |
| 3205 | --field-color: rgba(6, 6, 6, 1); |
| 3206 | --field-bg-color: rgba(255, 255, 255, 1); |
| 3207 | --field-border-color: rgba(187, 187, 188, 1); |
| 3208 | --findbar-nextprevious-btn-bg-color: rgba(227, 228, 230, 1); |
| 3209 | --treeitem-color: rgba(0, 0, 0, 0.8); |
| 3210 | --treeitem-hover-color: rgba(0, 0, 0, 0.9); |
| 3211 | --treeitem-selected-color: rgba(0, 0, 0, 0.9); |
| 3212 | --treeitem-selected-bg-color: rgba(0, 0, 0, 0.25); |
| 3213 | --sidebaritem-bg-color: rgba(0, 0, 0, 0.15); |
| 3214 | --doorhanger-bg-color: rgba(255, 255, 255, 1); |
| 3215 | --doorhanger-border-color: rgba(12, 12, 13, 0.2); |
| 3216 | --doorhanger-hover-color: rgba(12, 12, 13, 1); |
| 3217 | --doorhanger-hover-bg-color: rgba(237, 237, 237, 1); |
| 3218 | --doorhanger-separator-color: rgba(222, 222, 222, 1); |
| 3219 | --overlay-button-border: 0 none; |
| 3220 | --overlay-button-bg-color: rgba(12, 12, 13, 0.1); |
| 3221 | --overlay-button-hover-bg-color: rgba(12, 12, 13, 0.3); |
| 3222 | |
| 3223 | --loading-icon: url(images/loading.svg); |
| 3224 | --treeitem-expanded-icon: url(images/treeitem-expanded.svg); |
| 3225 | --treeitem-collapsed-icon: url(images/treeitem-collapsed.svg); |
| 3226 | --toolbarButton-menuArrow-icon: url(images/toolbarButton-menuArrow.svg); |
| 3227 | --toolbarButton-sidebarToggle-icon: url(images/toolbarButton-sidebarToggle.svg); |
| 3228 | --toolbarButton-secondaryToolbarToggle-icon: url(images/toolbarButton-secondaryToolbarToggle.svg); |
| 3229 | --toolbarButton-pageUp-icon: url(images/toolbarButton-pageUp.svg); |
| 3230 | --toolbarButton-pageDown-icon: url(images/toolbarButton-pageDown.svg); |
| 3231 | --toolbarButton-zoomOut-icon: url(images/toolbarButton-zoomOut.svg); |
| 3232 | --toolbarButton-zoomIn-icon: url(images/toolbarButton-zoomIn.svg); |
| 3233 | --toolbarButton-presentationMode-icon: url(images/toolbarButton-presentationMode.svg); |
| 3234 | --toolbarButton-print-icon: url(images/toolbarButton-print.svg); |
| 3235 | --toolbarButton-openFile-icon: url(images/toolbarButton-openFile.svg); |
| 3236 | --toolbarButton-download-icon: url(images/toolbarButton-download.svg); |
| 3237 | --toolbarButton-bookmark-icon: url(images/toolbarButton-bookmark.svg); |
| 3238 | --toolbarButton-viewThumbnail-icon: url(images/toolbarButton-viewThumbnail.svg); |
| 3239 | --toolbarButton-viewOutline-icon: url(images/toolbarButton-viewOutline.svg); |
| 3240 | --toolbarButton-viewAttachments-icon: url(images/toolbarButton-viewAttachments.svg); |
| 3241 | --toolbarButton-viewLayers-icon: url(images/toolbarButton-viewLayers.svg); |
| 3242 | --toolbarButton-currentOutlineItem-icon: url(images/toolbarButton-currentOutlineItem.svg); |
| 3243 | --toolbarButton-search-icon: url(images/toolbarButton-search.svg); |
| 3244 | --findbarButton-previous-icon: url(images/findbarButton-previous.svg); |
| 3245 | --findbarButton-next-icon: url(images/findbarButton-next.svg); |
| 3246 | --secondaryToolbarButton-firstPage-icon: url(images/secondaryToolbarButton-firstPage.svg); |
| 3247 | --secondaryToolbarButton-lastPage-icon: url(images/secondaryToolbarButton-lastPage.svg); |
| 3248 | --secondaryToolbarButton-rotateCcw-icon: url(images/secondaryToolbarButton-rotateCcw.svg); |
| 3249 | --secondaryToolbarButton-rotateCw-icon: url(images/secondaryToolbarButton-rotateCw.svg); |
| 3250 | --secondaryToolbarButton-selectTool-icon: url(images/secondaryToolbarButton-selectTool.svg); |
| 3251 | --secondaryToolbarButton-handTool-icon: url(images/secondaryToolbarButton-handTool.svg); |
| 3252 | --secondaryToolbarButton-scrollVertical-icon: url(images/secondaryToolbarButton-scrollVertical.svg); |
| 3253 | --secondaryToolbarButton-scrollHorizontal-icon: url(images/secondaryToolbarButton-scrollHorizontal.svg); |
| 3254 | --secondaryToolbarButton-scrollWrapped-icon: url(images/secondaryToolbarButton-scrollWrapped.svg); |
| 3255 | --secondaryToolbarButton-spreadNone-icon: url(images/secondaryToolbarButton-spreadNone.svg); |
| 3256 | --secondaryToolbarButton-spreadOdd-icon: url(images/secondaryToolbarButton-spreadOdd.svg); |
| 3257 | --secondaryToolbarButton-spreadEven-icon: url(images/secondaryToolbarButton-spreadEven.svg); |
| 3258 | --secondaryToolbarButton-documentProperties-icon: url(images/secondaryToolbarButton-documentProperties.svg); |
| 3259 | } |
| 3260 | |
| 3261 | /* define for system dark */ |
| 3262 | @media (prefers-color-scheme: dark) { |
| 3263 | :root { |
| 3264 | --main-color: rgba(249, 249, 250, 1); |
| 3265 | --body-bg-color: rgba(42, 42, 46, 1); |
| 3266 | --errorWrapper-bg-color: rgba(169, 14, 14, 1); |
| 3267 | --progressBar-color: rgba(0, 96, 223, 1); |
| 3268 | --progressBar-indeterminate-bg-color: rgba(40, 40, 43, 1); |
| 3269 | --progressBar-indeterminate-blend-color: rgba(20, 68, 133, 1); |
| 3270 | --scrollbar-color: rgba(121, 121, 123, 1); |
| 3271 | --scrollbar-bg-color: rgba(35, 35, 39, 1); |
| 3272 | --toolbar-icon-bg-color: rgba(255, 255, 255, 1); |
| 3273 | --toolbar-icon-hover-bg-color: rgba(255, 255, 255, 1); |
| 3274 | |
| 3275 | --sidebar-narrow-bg-color: rgba(42, 42, 46, 0.9); |
| 3276 | --sidebar-toolbar-bg-color: rgba(50, 50, 52, 1); |
| 3277 | --toolbar-bg-color: rgba(56, 56, 61, 1); |
| 3278 | --toolbar-border-color: rgba(12, 12, 13, 1); |
| 3279 | --button-hover-color: rgba(102, 102, 103, 1); |
| 3280 | --toggled-btn-color: rgba(255, 255, 255, 1); |
| 3281 | --toggled-btn-bg-color: rgba(0, 0, 0, 0.3); |
| 3282 | --toggled-hover-active-btn-color: rgba(0, 0, 0, 0.4); |
| 3283 | --dropdown-btn-bg-color: rgba(74, 74, 79, 1); |
| 3284 | --separator-color: rgba(0, 0, 0, 0.3); |
| 3285 | --field-color: rgba(250, 250, 250, 1); |
| 3286 | --field-bg-color: rgba(64, 64, 68, 1); |
| 3287 | --field-border-color: rgba(115, 115, 115, 1); |
| 3288 | --findbar-nextprevious-btn-bg-color: rgba(89, 89, 89, 1); |
| 3289 | --treeitem-color: rgba(255, 255, 255, 0.8); |
| 3290 | --treeitem-hover-color: rgba(255, 255, 255, 0.9); |
| 3291 | --treeitem-selected-color: rgba(255, 255, 255, 0.9); |
| 3292 | --treeitem-selected-bg-color: rgba(255, 255, 255, 0.25); |
| 3293 | --sidebaritem-bg-color: rgba(255, 255, 255, 0.15); |
| 3294 | --doorhanger-bg-color: rgba(74, 74, 79, 1); |
| 3295 | --doorhanger-border-color: rgba(39, 39, 43, 1); |
| 3296 | --doorhanger-hover-color: rgba(249, 249, 250, 1); |
| 3297 | --doorhanger-hover-bg-color: rgba(93, 94, 98, 1); |
| 3298 | --doorhanger-separator-color: rgba(92, 92, 97, 1); |
| 3299 | --overlay-button-bg-color: rgba(92, 92, 97, 1); |
| 3300 | --overlay-button-hover-bg-color: rgba(115, 115, 115, 1); |
| 3301 | |
| 3302 | /* This image is used in <input> elements, which unfortunately means that |
| 3303 | * the `mask-image` approach used with all of the other images doesn't work |
| 3304 | * here; hence why we still have two versions of this particular image. */ |
| 3305 | --loading-icon: url(images/loading-dark.svg); |
| 3306 | } |
| 3307 | } |
| 3308 | |
| 3309 | [ep-data-theme="light"] { |
| 3310 | --sidebar-width: 200px; |
| 3311 | --sidebar-transition-duration: 200ms; |
| 3312 | --sidebar-transition-timing-function: ease; |
| 3313 | --loadingBar-end-offset: 0; |
| 3314 | |
| 3315 | --toolbar-icon-opacity: 0.7; |
| 3316 | --doorhanger-icon-opacity: 0.9; |
| 3317 | |
| 3318 | --main-color: rgba(12, 12, 13, 1); |
| 3319 | --body-bg-color: rgba(237, 237, 240, 1); |
| 3320 | --errorWrapper-bg-color: rgba(255, 110, 110, 1); |
| 3321 | --progressBar-color: rgba(10, 132, 255, 1); |
| 3322 | --progressBar-indeterminate-bg-color: rgba(221, 221, 222, 1); |
| 3323 | --progressBar-indeterminate-blend-color: rgba(116, 177, 239, 1); |
| 3324 | --scrollbar-color: auto; |
| 3325 | --scrollbar-bg-color: auto; |
| 3326 | --toolbar-icon-bg-color: rgba(0, 0, 0, 1); |
| 3327 | --toolbar-icon-hover-bg-color: rgba(0, 0, 0, 1); |
| 3328 | |
| 3329 | --sidebar-narrow-bg-color: rgba(237, 237, 240, 0.9); |
| 3330 | --sidebar-toolbar-bg-color: rgba(245, 246, 247, 1); |
| 3331 | --toolbar-bg-color: rgba(249, 249, 250, 1); |
| 3332 | --toolbar-border-color: rgba(204, 204, 204, 1); |
| 3333 | --button-hover-color: rgba(221, 222, 223, 1); |
| 3334 | --toggled-btn-color: rgba(0, 0, 0, 1); |
| 3335 | --toggled-btn-bg-color: rgba(0, 0, 0, 0.3); |
| 3336 | --toggled-hover-active-btn-color: rgba(0, 0, 0, 0.4); |
| 3337 | --dropdown-btn-bg-color: rgba(215, 215, 219, 1); |
| 3338 | --separator-color: rgba(0, 0, 0, 0.3); |
| 3339 | --field-color: rgba(6, 6, 6, 1); |
| 3340 | --field-bg-color: rgba(255, 255, 255, 1); |
| 3341 | --field-border-color: rgba(187, 187, 188, 1); |
| 3342 | --findbar-nextprevious-btn-bg-color: rgba(227, 228, 230, 1); |
| 3343 | --treeitem-color: rgba(0, 0, 0, 0.8); |
| 3344 | --treeitem-hover-color: rgba(0, 0, 0, 0.9); |
| 3345 | --treeitem-selected-color: rgba(0, 0, 0, 0.9); |
| 3346 | --treeitem-selected-bg-color: rgba(0, 0, 0, 0.25); |
| 3347 | --sidebaritem-bg-color: rgba(0, 0, 0, 0.15); |
| 3348 | --doorhanger-bg-color: rgba(255, 255, 255, 1); |
| 3349 | --doorhanger-border-color: rgba(12, 12, 13, 0.2); |
| 3350 | --doorhanger-hover-color: rgba(12, 12, 13, 1); |
| 3351 | --doorhanger-hover-bg-color: rgba(237, 237, 237, 1); |
| 3352 | --doorhanger-separator-color: rgba(222, 222, 222, 1); |
| 3353 | --overlay-button-border: 0 none; |
| 3354 | --overlay-button-bg-color: rgba(12, 12, 13, 0.1); |
| 3355 | --overlay-button-hover-bg-color: rgba(12, 12, 13, 0.3); |
| 3356 | |
| 3357 | --loading-icon: url(images/loading.svg); |
| 3358 | --treeitem-expanded-icon: url(images/treeitem-expanded.svg); |
| 3359 | --treeitem-collapsed-icon: url(images/treeitem-collapsed.svg); |
| 3360 | --toolbarButton-menuArrow-icon: url(images/toolbarButton-menuArrow.svg); |
| 3361 | --toolbarButton-sidebarToggle-icon: url(images/toolbarButton-sidebarToggle.svg); |
| 3362 | --toolbarButton-secondaryToolbarToggle-icon: url(images/toolbarButton-secondaryToolbarToggle.svg); |
| 3363 | --toolbarButton-pageUp-icon: url(images/toolbarButton-pageUp.svg); |
| 3364 | --toolbarButton-pageDown-icon: url(images/toolbarButton-pageDown.svg); |
| 3365 | --toolbarButton-zoomOut-icon: url(images/toolbarButton-zoomOut.svg); |
| 3366 | --toolbarButton-zoomIn-icon: url(images/toolbarButton-zoomIn.svg); |
| 3367 | --toolbarButton-presentationMode-icon: url(images/toolbarButton-presentationMode.svg); |
| 3368 | --toolbarButton-print-icon: url(images/toolbarButton-print.svg); |
| 3369 | --toolbarButton-openFile-icon: url(images/toolbarButton-openFile.svg); |
| 3370 | --toolbarButton-download-icon: url(images/toolbarButton-download.svg); |
| 3371 | --toolbarButton-bookmark-icon: url(images/toolbarButton-bookmark.svg); |
| 3372 | --toolbarButton-viewThumbnail-icon: url(images/toolbarButton-viewThumbnail.svg); |
| 3373 | --toolbarButton-viewOutline-icon: url(images/toolbarButton-viewOutline.svg); |
| 3374 | --toolbarButton-viewAttachments-icon: url(images/toolbarButton-viewAttachments.svg); |
| 3375 | --toolbarButton-viewLayers-icon: url(images/toolbarButton-viewLayers.svg); |
| 3376 | --toolbarButton-currentOutlineItem-icon: url(images/toolbarButton-currentOutlineItem.svg); |
| 3377 | --toolbarButton-search-icon: url(images/toolbarButton-search.svg); |
| 3378 | --findbarButton-previous-icon: url(images/findbarButton-previous.svg); |
| 3379 | --findbarButton-next-icon: url(images/findbarButton-next.svg); |
| 3380 | --secondaryToolbarButton-firstPage-icon: url(images/secondaryToolbarButton-firstPage.svg); |
| 3381 | --secondaryToolbarButton-lastPage-icon: url(images/secondaryToolbarButton-lastPage.svg); |
| 3382 | --secondaryToolbarButton-rotateCcw-icon: url(images/secondaryToolbarButton-rotateCcw.svg); |
| 3383 | --secondaryToolbarButton-rotateCw-icon: url(images/secondaryToolbarButton-rotateCw.svg); |
| 3384 | --secondaryToolbarButton-selectTool-icon: url(images/secondaryToolbarButton-selectTool.svg); |
| 3385 | --secondaryToolbarButton-handTool-icon: url(images/secondaryToolbarButton-handTool.svg); |
| 3386 | --secondaryToolbarButton-scrollVertical-icon: url(images/secondaryToolbarButton-scrollVertical.svg); |
| 3387 | --secondaryToolbarButton-scrollHorizontal-icon: url(images/secondaryToolbarButton-scrollHorizontal.svg); |
| 3388 | --secondaryToolbarButton-scrollWrapped-icon: url(images/secondaryToolbarButton-scrollWrapped.svg); |
| 3389 | --secondaryToolbarButton-spreadNone-icon: url(images/secondaryToolbarButton-spreadNone.svg); |
| 3390 | --secondaryToolbarButton-spreadOdd-icon: url(images/secondaryToolbarButton-spreadOdd.svg); |
| 3391 | --secondaryToolbarButton-spreadEven-icon: url(images/secondaryToolbarButton-spreadEven.svg); |
| 3392 | --secondaryToolbarButton-documentProperties-icon: url(images/secondaryToolbarButton-documentProperties.svg); |
| 3393 | } |
| 3394 | |
| 3395 | [ep-data-theme="dark"] { |
| 3396 | --main-color: rgba(249, 249, 250, 1); |
| 3397 | --body-bg-color: rgba(42, 42, 46, 1); |
| 3398 | --errorWrapper-bg-color: rgba(169, 14, 14, 1); |
| 3399 | --progressBar-color: rgba(0, 96, 223, 1); |
| 3400 | --progressBar-indeterminate-bg-color: rgba(40, 40, 43, 1); |
| 3401 | --progressBar-indeterminate-blend-color: rgba(20, 68, 133, 1); |
| 3402 | --scrollbar-color: rgba(121, 121, 123, 1); |
| 3403 | --scrollbar-bg-color: rgba(35, 35, 39, 1); |
| 3404 | --toolbar-icon-bg-color: rgba(255, 255, 255, 1); |
| 3405 | --toolbar-icon-hover-bg-color: rgba(255, 255, 255, 1); |
| 3406 | |
| 3407 | --sidebar-narrow-bg-color: rgba(42, 42, 46, 0.9); |
| 3408 | --sidebar-toolbar-bg-color: rgba(50, 50, 52, 1); |
| 3409 | --toolbar-bg-color: rgba(56, 56, 61, 1); |
| 3410 | --toolbar-border-color: rgba(12, 12, 13, 1); |
| 3411 | --button-hover-color: rgba(102, 102, 103, 1); |
| 3412 | --toggled-btn-color: rgba(255, 255, 255, 1); |
| 3413 | --toggled-btn-bg-color: rgba(0, 0, 0, 0.3); |
| 3414 | --toggled-hover-active-btn-color: rgba(0, 0, 0, 0.4); |
| 3415 | --dropdown-btn-bg-color: rgba(74, 74, 79, 1); |
| 3416 | --separator-color: rgba(0, 0, 0, 0.3); |
| 3417 | --field-color: rgba(250, 250, 250, 1); |
| 3418 | --field-bg-color: rgba(64, 64, 68, 1); |
| 3419 | --field-border-color: rgba(115, 115, 115, 1); |
| 3420 | --findbar-nextprevious-btn-bg-color: rgba(89, 89, 89, 1); |
| 3421 | --treeitem-color: rgba(255, 255, 255, 0.8); |
| 3422 | --treeitem-hover-color: rgba(255, 255, 255, 0.9); |
| 3423 | --treeitem-selected-color: rgba(255, 255, 255, 0.9); |
| 3424 | --treeitem-selected-bg-color: rgba(255, 255, 255, 0.25); |
| 3425 | --sidebaritem-bg-color: rgba(255, 255, 255, 0.15); |
| 3426 | --doorhanger-bg-color: rgba(74, 74, 79, 1); |
| 3427 | --doorhanger-border-color: rgba(39, 39, 43, 1); |
| 3428 | --doorhanger-hover-color: rgba(249, 249, 250, 1); |
| 3429 | --doorhanger-hover-bg-color: rgba(93, 94, 98, 1); |
| 3430 | --doorhanger-separator-color: rgba(92, 92, 97, 1); |
| 3431 | --overlay-button-bg-color: rgba(92, 92, 97, 1); |
| 3432 | --overlay-button-hover-bg-color: rgba(115, 115, 115, 1); |
| 3433 | |
| 3434 | /* This image is used in <input> elements, which unfortunately means that |
| 3435 | * the `mask-image` approach used with all of the other images doesn't work |
| 3436 | * here; hence why we still have two versions of this particular image. */ |
| 3437 | --loading-icon: url(images/loading-dark.svg); |
| 3438 | } |
| 3439 | |
| 3440 | |
| 3441 | [ep-data-theme="custom"] { |
| 3442 | --main-color: rgba(249, 249, 250, 1); |
| 3443 | --errorWrapper-bg-color: rgba(169, 14, 14, 1); |
| 3444 | --progressBar-color: rgba(0, 96, 223, 1); |
| 3445 | --progressBar-indeterminate-bg-color: rgba(40, 40, 43, 1); |
| 3446 | --progressBar-indeterminate-blend-color: rgba(20, 68, 133, 1); |
| 3447 | --scrollbar-color: rgba(121, 121, 123, 1); |
| 3448 | --scrollbar-bg-color: rgba(35, 35, 39, 1); |
| 3449 | --toolbar-icon-bg-color: rgba(255, 255, 255, 1); |
| 3450 | --toolbar-icon-hover-bg-color: rgba(255, 255, 255, 1); |
| 3451 | |
| 3452 | --sidebar-narrow-bg-color: rgba(42, 42, 46, 0.9); |
| 3453 | --sidebar-toolbar-bg-color: rgba(50, 50, 52, 1); |
| 3454 | --toolbar-bg-color: rgba(56, 56, 61, 1); |
| 3455 | --toolbar-border-color: rgba(12, 12, 13, 1); |
| 3456 | --toggled-btn-color: rgba(255, 255, 255, 1); |
| 3457 | --toggled-btn-bg-color: rgba(0, 0, 0, 0.3); |
| 3458 | --toggled-hover-active-btn-color: rgba(0, 0, 0, 0.4); |
| 3459 | --dropdown-btn-bg-color: rgba(74, 74, 79, 1); |
| 3460 | --separator-color: rgba(0, 0, 0, 0.3); |
| 3461 | --field-color: rgba(250, 250, 250, 1); |
| 3462 | --field-border-color: rgba(115, 115, 115, 1); |
| 3463 | --findbar-nextprevious-btn-bg-color: rgba(89, 89, 89, 1); |
| 3464 | --treeitem-color: rgba(255, 255, 255, 0.8); |
| 3465 | --treeitem-hover-color: rgba(255, 255, 255, 0.9); |
| 3466 | --treeitem-selected-color: rgba(255, 255, 255, 0.9); |
| 3467 | --treeitem-selected-bg-color: rgba(255, 255, 255, 0.25); |
| 3468 | --sidebaritem-bg-color: rgba(255, 255, 255, 0.15); |
| 3469 | --doorhanger-border-color: rgba(39, 39, 43, 1); |
| 3470 | --doorhanger-hover-color: rgba(249, 249, 250, 1); |
| 3471 | --doorhanger-hover-bg-color: rgba(93, 94, 98, 1); |
| 3472 | --doorhanger-separator-color: rgba(92, 92, 97, 1); |
| 3473 | --overlay-button-bg-color: rgba(92, 92, 97, 1); |
| 3474 | --overlay-button-hover-bg-color: rgba(115, 115, 115, 1); |
| 3475 | |
| 3476 | --body-bg-color: rgba(255, 0, 0, 1); |
| 3477 | --toolbar-bg-color: rgba(255, 0, 0, 1); |
| 3478 | --doorhanger-bg-color: rgba(255, 0, 0, 1); |
| 3479 | --field-bg-color: rgba(255, 0, 0, 1); |
| 3480 | --dropdown-btn-bg-color: rgba(255, 0, 0, 1); |
| 3481 | --button-hover-color: hsl(255, 100%, 20%); |
| 3482 | |
| 3483 | } |