| @@ -12,2215 +12,6708 @@ | ||
| 12 | 12 | * See the License for the specific language governing permissions and |
| 13 | 13 | * limitations under the License. |
| 14 | 14 | */ |
| 15 | 15 | |
| 16 | -.textLayer { | |
| 17 | - position: absolute; | |
| 18 | - left: 0; | |
| 19 | - top: 0; | |
| 20 | - right: 0; | |
| 21 | - bottom: 0; | |
| 22 | - overflow: hidden; | |
| 23 | - opacity: 0.2; | |
| 24 | - line-height: 1.0; | |
| 16 | +.messageBar{ | |
| 17 | + --closing-button-icon:url(images/messageBar_closingButton.svg); | |
| 18 | + --message-bar-close-button-color:var(--text-primary-color); | |
| 19 | + --message-bar-close-button-color-hover:var(--text-primary-color); | |
| 20 | + --message-bar-close-button-border-radius:4px; | |
| 21 | + --message-bar-close-button-border:none; | |
| 22 | + --csstools-light-dark-toggle--31:var(--csstools-color-scheme--light) rgb(251 251 254 / 0.14); | |
| 23 | + --message-bar-close-button-hover-bg-color:var(--csstools-light-dark-toggle--31, rgb(21 20 26 / 0.14)); | |
| 24 | + --csstools-light-dark-toggle--32:var(--csstools-color-scheme--light) rgb(251 251 254 / 0.21); | |
| 25 | + --message-bar-close-button-active-bg-color:var(--csstools-light-dark-toggle--32, rgb(21 20 26 / 0.21)); | |
| 26 | + --csstools-light-dark-toggle--33:var(--csstools-color-scheme--light) rgb(251 251 254 / 0.07); | |
| 27 | + --message-bar-close-button-focus-bg-color:var(--csstools-light-dark-toggle--33, rgb(21 20 26 / 0.07)); | |
| 25 | 28 | } |
| 26 | 29 | |
| 27 | -.textLayer > div { | |
| 28 | - color: transparent; | |
| 29 | - position: absolute; | |
| 30 | - white-space: pre; | |
| 31 | - cursor: text; | |
| 32 | - -webkit-transform-origin: 0% 0%; | |
| 33 | - -moz-transform-origin: 0% 0%; | |
| 34 | - -o-transform-origin: 0% 0%; | |
| 35 | - -ms-transform-origin: 0% 0%; | |
| 36 | - transform-origin: 0% 0%; | |
| 30 | +@supports (color: light-dark(red, red)) and (color: rgb(0 0 0 / 0)){ | |
| 31 | + .messageBar{ | |
| 32 | + --message-bar-close-button-hover-bg-color:light-dark( | |
| 33 | + rgb(21 20 26 / 0.14), | |
| 34 | + rgb(251 251 254 / 0.14) | |
| 35 | + ); | |
| 36 | + --message-bar-close-button-active-bg-color:light-dark( | |
| 37 | + rgb(21 20 26 / 0.21), | |
| 38 | + rgb(251 251 254 / 0.21) | |
| 39 | + ); | |
| 40 | + --message-bar-close-button-focus-bg-color:light-dark( | |
| 41 | + rgb(21 20 26 / 0.07), | |
| 42 | + rgb(251 251 254 / 0.07) | |
| 43 | + ); | |
| 44 | + } | |
| 37 | 45 | } |
| 38 | 46 | |
| 39 | -.textLayer .highlight { | |
| 40 | - margin: -1px; | |
| 41 | - padding: 1px; | |
| 47 | +@supports not (color: light-dark(tan, tan)){ | |
| 42 | 48 | |
| 43 | - background-color: rgb(180, 0, 170); | |
| 44 | - border-radius: 4px; | |
| 49 | + .messageBar *{ | |
| 50 | + --csstools-light-dark-toggle--31:var(--csstools-color-scheme--light) rgb(251 251 254 / 0.14); | |
| 51 | + --message-bar-close-button-hover-bg-color:var(--csstools-light-dark-toggle--31, rgb(21 20 26 / 0.14)); | |
| 52 | + --csstools-light-dark-toggle--32:var(--csstools-color-scheme--light) rgb(251 251 254 / 0.21); | |
| 53 | + --message-bar-close-button-active-bg-color:var(--csstools-light-dark-toggle--32, rgb(21 20 26 / 0.21)); | |
| 54 | + --csstools-light-dark-toggle--33:var(--csstools-color-scheme--light) rgb(251 251 254 / 0.07); | |
| 55 | + --message-bar-close-button-focus-bg-color:var(--csstools-light-dark-toggle--33, rgb(21 20 26 / 0.07)); | |
| 56 | + } | |
| 45 | 57 | } |
| 46 | 58 | |
| 47 | -.textLayer .highlight.begin { | |
| 48 | - border-radius: 4px 0px 0px 4px; | |
| 59 | +@media screen and (forced-colors: active){ | |
| 60 | + | |
| 61 | + .messageBar{ | |
| 62 | + --message-bar-close-button-color:ButtonText; | |
| 63 | + --message-bar-close-button-border:1px solid ButtonText; | |
| 64 | + --message-bar-close-button-hover-bg-color:ButtonText; | |
| 65 | + --message-bar-close-button-active-bg-color:ButtonText; | |
| 66 | + --message-bar-close-button-focus-bg-color:ButtonText; | |
| 67 | + --message-bar-close-button-color-hover:HighlightText; | |
| 68 | + } | |
| 49 | 69 | } |
| 50 | 70 | |
| 51 | -.textLayer .highlight.end { | |
| 52 | - border-radius: 0px 4px 4px 0px; | |
| 71 | +.messageBar{ | |
| 72 | + | |
| 73 | + display:flex; | |
| 74 | + position:relative; | |
| 75 | + padding:8px 8px 8px 16px; | |
| 76 | + flex-direction:column; | |
| 77 | + justify-content:center; | |
| 78 | + align-items:center; | |
| 79 | + gap:8px; | |
| 80 | + -webkit-user-select:none; | |
| 81 | + -moz-user-select:none; | |
| 82 | + user-select:none; | |
| 83 | + | |
| 84 | + border-radius:4px; | |
| 85 | + | |
| 86 | + border:1px solid var(--message-bar-border-color); | |
| 87 | + background:var(--message-bar-bg-color); | |
| 88 | + color:var(--message-bar-fg-color); | |
| 53 | 89 | } |
| 54 | 90 | |
| 55 | -.textLayer .highlight.middle { | |
| 56 | - border-radius: 0px; | |
| 91 | +.messageBar > div{ | |
| 92 | + display:flex; | |
| 93 | + align-items:flex-start; | |
| 94 | + gap:8px; | |
| 95 | + align-self:stretch; | |
| 57 | 96 | } |
| 58 | 97 | |
| 59 | -.textLayer .highlight.selected { | |
| 60 | - background-color: rgb(0, 100, 0); | |
| 98 | +:is(.messageBar > div)::before{ | |
| 99 | + content:""; | |
| 100 | + display:inline-block; | |
| 101 | + width:16px; | |
| 102 | + height:16px; | |
| 103 | + -webkit-mask-image:var(--message-bar-icon); | |
| 104 | + mask-image:var(--message-bar-icon); | |
| 105 | + -webkit-mask-size:cover; | |
| 106 | + mask-size:cover; | |
| 107 | + background-color:var(--message-bar-icon-color); | |
| 108 | + flex-shrink:0; | |
| 61 | 109 | } |
| 62 | 110 | |
| 63 | -.textLayer ::selection { background: rgb(0,0,255); } | |
| 64 | -.textLayer ::-moz-selection { background: rgb(0,0,255); } | |
| 111 | +.messageBar button{ | |
| 112 | + cursor:pointer; | |
| 113 | +} | |
| 65 | 114 | |
| 66 | -.textLayer .endOfContent { | |
| 67 | - display: block; | |
| 68 | - position: absolute; | |
| 69 | - left: 0px; | |
| 70 | - top: 100%; | |
| 71 | - right: 0px; | |
| 72 | - bottom: 0px; | |
| 73 | - z-index: -1; | |
| 74 | - cursor: default; | |
| 75 | - -webkit-user-select: none; | |
| 76 | - -ms-user-select: none; | |
| 77 | - -moz-user-select: none; | |
| 115 | +:is(.messageBar button):focus-visible{ | |
| 116 | + outline:var(--focus-ring-outline); | |
| 117 | + outline-offset:2px; | |
| 78 | 118 | } |
| 79 | 119 | |
| 80 | -.textLayer .endOfContent.active { | |
| 81 | - top: 0px; | |
| 120 | +.messageBar .closeButton{ | |
| 121 | + width:32px; | |
| 122 | + height:32px; | |
| 123 | + background:none; | |
| 124 | + border-radius:var(--message-bar-close-button-border-radius); | |
| 125 | + border:var(--message-bar-close-button-border); | |
| 126 | + | |
| 127 | + display:flex; | |
| 128 | + align-items:center; | |
| 129 | + justify-content:center; | |
| 82 | 130 | } |
| 83 | 131 | |
| 132 | +:is(.messageBar .closeButton)::before{ | |
| 133 | + content:""; | |
| 134 | + display:inline-block; | |
| 135 | + width:16px; | |
| 136 | + height:16px; | |
| 137 | + -webkit-mask-image:var(--closing-button-icon); | |
| 138 | + mask-image:var(--closing-button-icon); | |
| 139 | + -webkit-mask-size:cover; | |
| 140 | + mask-size:cover; | |
| 141 | + background-color:var(--message-bar-close-button-color); | |
| 142 | +} | |
| 84 | 143 | |
| 85 | -.annotationLayer section { | |
| 86 | - position: absolute; | |
| 144 | +:is(.messageBar .closeButton):is(:hover,:active,:focus)::before{ | |
| 145 | + background-color:var(--message-bar-close-button-color-hover); | |
| 87 | 146 | } |
| 88 | 147 | |
| 89 | -.annotationLayer .linkAnnotation > a { | |
| 90 | - position: absolute; | |
| 91 | - font-size: 1em; | |
| 92 | - top: 0; | |
| 93 | - left: 0; | |
| 94 | - width: 100%; | |
| 95 | - height: 100%; | |
| 148 | +:is(.messageBar .closeButton):hover{ | |
| 149 | + background-color:var(--message-bar-close-button-hover-bg-color); | |
| 96 | 150 | } |
| 97 | 151 | |
| 98 | -.annotationLayer .linkAnnotation > a /* -ms-a */ { | |
| 99 | - background: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7") 0 0 repeat; | |
| 152 | +:is(.messageBar .closeButton):active{ | |
| 153 | + background-color:var(--message-bar-close-button-active-bg-color); | |
| 100 | 154 | } |
| 101 | 155 | |
| 102 | -.annotationLayer .linkAnnotation > a:hover { | |
| 103 | - opacity: 0.2; | |
| 104 | - background: #ff0; | |
| 105 | - box-shadow: 0px 2px 10px #ff0; | |
| 156 | +:is(.messageBar .closeButton):focus{ | |
| 157 | + background-color:var(--message-bar-close-button-focus-bg-color); | |
| 106 | 158 | } |
| 107 | 159 | |
| 108 | -.annotationLayer .textAnnotation img { | |
| 109 | - position: absolute; | |
| 110 | - cursor: pointer; | |
| 160 | +:is(.messageBar .closeButton) > span{ | |
| 161 | + display:inline-block; | |
| 162 | + width:0; | |
| 163 | + height:0; | |
| 164 | + overflow:hidden; | |
| 111 | 165 | } |
| 112 | 166 | |
| 113 | -.annotationLayer .textWidgetAnnotation input, | |
| 114 | -.annotationLayer .textWidgetAnnotation textarea, | |
| 115 | -.annotationLayer .choiceWidgetAnnotation select, | |
| 116 | -.annotationLayer .buttonWidgetAnnotation.checkBox input, | |
| 117 | -.annotationLayer .buttonWidgetAnnotation.radioButton input { | |
| 118 | - background-color: rgba(0, 54, 255, 0.13); | |
| 119 | - border: 1px solid transparent; | |
| 120 | - box-sizing: border-box; | |
| 121 | - font-size: 9px; | |
| 122 | - height: 100%; | |
| 123 | - padding: 0 3px; | |
| 124 | - vertical-align: top; | |
| 125 | - width: 100%; | |
| 167 | +#editorUndoBar{ | |
| 168 | + --csstools-light-dark-toggle--34:var(--csstools-color-scheme--light) #fbfbfe; | |
| 169 | + --text-primary-color:var(--csstools-light-dark-toggle--34, #15141a); | |
| 170 | + | |
| 171 | + --message-bar-icon:url(images/messageBar_info.svg); | |
| 172 | + --csstools-light-dark-toggle--35:var(--csstools-color-scheme--light) #73a7f3; | |
| 173 | + --message-bar-icon-color:var(--csstools-light-dark-toggle--35, #0060df); | |
| 174 | + --csstools-light-dark-toggle--36:var(--csstools-color-scheme--light) #003070; | |
| 175 | + --message-bar-bg-color:var(--csstools-light-dark-toggle--36, #deeafc); | |
| 176 | + --message-bar-fg-color:var(--text-primary-color); | |
| 177 | + --csstools-light-dark-toggle--37:var(--csstools-color-scheme--light) rgb(255 255 255 / 0.08); | |
| 178 | + --message-bar-border-color:var(--csstools-light-dark-toggle--37, rgb(0 0 0 / 0.08)); | |
| 179 | + | |
| 180 | + --csstools-light-dark-toggle--38:var(--csstools-color-scheme--light) rgb(255 255 255 / 0.08); | |
| 181 | + | |
| 182 | + --undo-button-bg-color:var(--csstools-light-dark-toggle--38, rgb(21 20 26 / 0.07)); | |
| 183 | + --csstools-light-dark-toggle--39:var(--csstools-color-scheme--light) rgb(255 255 255 / 0.14); | |
| 184 | + --undo-button-bg-color-hover:var(--csstools-light-dark-toggle--39, rgb(21 20 26 / 0.14)); | |
| 185 | + --csstools-light-dark-toggle--40:var(--csstools-color-scheme--light) rgb(255 255 255 / 0.21); | |
| 186 | + --undo-button-bg-color-active:var(--csstools-light-dark-toggle--40, rgb(21 20 26 / 0.21)); | |
| 187 | + | |
| 188 | + --csstools-light-dark-toggle--41:var(--csstools-color-scheme--light) #0df; | |
| 189 | + | |
| 190 | + --undo-button-border:1px solid var(--csstools-light-dark-toggle--41, #0060df); | |
| 191 | + | |
| 192 | + --undo-button-fg-color:var(--message-bar-fg-color); | |
| 193 | + --undo-button-fg-color-hover:var(--undo-button-fg-color); | |
| 194 | + --undo-button-fg-color-active:var(--undo-button-fg-color); | |
| 126 | 195 | } |
| 127 | 196 | |
| 128 | -.annotationLayer .textWidgetAnnotation textarea { | |
| 129 | - font: message-box; | |
| 130 | - font-size: 9px; | |
| 131 | - resize: none; | |
| 197 | +@supports (color: light-dark(red, red)){ | |
| 198 | + #editorUndoBar{ | |
| 199 | + --text-primary-color:light-dark(#15141a, #fbfbfe); | |
| 200 | + --message-bar-icon-color:light-dark(#0060df, #73a7f3); | |
| 201 | + --message-bar-bg-color:light-dark(#deeafc, #003070); | |
| 202 | + } | |
| 132 | 203 | } |
| 133 | 204 | |
| 134 | -.annotationLayer .textWidgetAnnotation input[disabled], | |
| 135 | -.annotationLayer .textWidgetAnnotation textarea[disabled], | |
| 136 | -.annotationLayer .choiceWidgetAnnotation select[disabled], | |
| 137 | -.annotationLayer .buttonWidgetAnnotation.checkBox input[disabled], | |
| 138 | -.annotationLayer .buttonWidgetAnnotation.radioButton input[disabled] { | |
| 139 | - background: none; | |
| 140 | - border: 1px solid transparent; | |
| 141 | - cursor: not-allowed; | |
| 205 | +@supports (color: light-dark(red, red)) and (color: rgb(0 0 0 / 0)){ | |
| 206 | + #editorUndoBar{ | |
| 207 | + --message-bar-border-color:light-dark( | |
| 208 | + rgb(0 0 0 / 0.08), | |
| 209 | + rgb(255 255 255 / 0.08) | |
| 210 | + ); | |
| 211 | + | |
| 212 | + --undo-button-bg-color:light-dark( | |
| 213 | + rgb(21 20 26 / 0.07), | |
| 214 | + rgb(255 255 255 / 0.08) | |
| 215 | + ); | |
| 216 | + --undo-button-bg-color-hover:light-dark( | |
| 217 | + rgb(21 20 26 / 0.14), | |
| 218 | + rgb(255 255 255 / 0.14) | |
| 219 | + ); | |
| 220 | + --undo-button-bg-color-active:light-dark( | |
| 221 | + rgb(21 20 26 / 0.21), | |
| 222 | + rgb(255 255 255 / 0.21) | |
| 223 | + ); | |
| 224 | + } | |
| 142 | 225 | } |
| 143 | 226 | |
| 144 | -.annotationLayer .textWidgetAnnotation input:hover, | |
| 145 | -.annotationLayer .textWidgetAnnotation textarea:hover, | |
| 146 | -.annotationLayer .choiceWidgetAnnotation select:hover, | |
| 147 | -.annotationLayer .buttonWidgetAnnotation.checkBox input:hover, | |
| 148 | -.annotationLayer .buttonWidgetAnnotation.radioButton input:hover { | |
| 149 | - border: 1px solid #000; | |
| 227 | +@supports (color: light-dark(red, red)){ | |
| 228 | + #editorUndoBar{ | |
| 229 | + | |
| 230 | + --undo-button-border:1px solid light-dark(#0060df, #0df); | |
| 231 | + } | |
| 150 | 232 | } |
| 151 | 233 | |
| 152 | -.annotationLayer .textWidgetAnnotation input:focus, | |
| 153 | -.annotationLayer .textWidgetAnnotation textarea:focus, | |
| 154 | -.annotationLayer .choiceWidgetAnnotation select:focus { | |
| 155 | - background: none; | |
| 156 | - border: 1px solid transparent; | |
| 234 | +@supports not (color: light-dark(tan, tan)){ | |
| 235 | + | |
| 236 | + #editorUndoBar *{ | |
| 237 | + --csstools-light-dark-toggle--34:var(--csstools-color-scheme--light) #fbfbfe; | |
| 238 | + --text-primary-color:var(--csstools-light-dark-toggle--34, #15141a); | |
| 239 | + --csstools-light-dark-toggle--35:var(--csstools-color-scheme--light) #73a7f3; | |
| 240 | + --message-bar-icon-color:var(--csstools-light-dark-toggle--35, #0060df); | |
| 241 | + --csstools-light-dark-toggle--36:var(--csstools-color-scheme--light) #003070; | |
| 242 | + --message-bar-bg-color:var(--csstools-light-dark-toggle--36, #deeafc); | |
| 243 | + --csstools-light-dark-toggle--37:var(--csstools-color-scheme--light) rgb(255 255 255 / 0.08); | |
| 244 | + --message-bar-border-color:var(--csstools-light-dark-toggle--37, rgb(0 0 0 / 0.08)); | |
| 245 | + | |
| 246 | + --csstools-light-dark-toggle--38:var(--csstools-color-scheme--light) rgb(255 255 255 / 0.08); | |
| 247 | + | |
| 248 | + --undo-button-bg-color:var(--csstools-light-dark-toggle--38, rgb(21 20 26 / 0.07)); | |
| 249 | + --csstools-light-dark-toggle--39:var(--csstools-color-scheme--light) rgb(255 255 255 / 0.14); | |
| 250 | + --undo-button-bg-color-hover:var(--csstools-light-dark-toggle--39, rgb(21 20 26 / 0.14)); | |
| 251 | + --csstools-light-dark-toggle--40:var(--csstools-color-scheme--light) rgb(255 255 255 / 0.21); | |
| 252 | + --undo-button-bg-color-active:var(--csstools-light-dark-toggle--40, rgb(21 20 26 / 0.21)); | |
| 253 | + | |
| 254 | + --csstools-light-dark-toggle--41:var(--csstools-color-scheme--light) #0df; | |
| 255 | + | |
| 256 | + --undo-button-border:1px solid var(--csstools-light-dark-toggle--41, #0060df); | |
| 257 | + } | |
| 157 | 258 | } |
| 158 | 259 | |
| 159 | -.annotationLayer .textWidgetAnnotation input.comb { | |
| 160 | - font-family: monospace; | |
| 161 | - padding-left: 2px; | |
| 162 | - padding-right: 0; | |
| 260 | +@media screen and (forced-colors: active){ | |
| 261 | + | |
| 262 | + #editorUndoBar{ | |
| 263 | + --text-primary-color:CanvasText; | |
| 264 | + | |
| 265 | + --message-bar-icon-color:CanvasText; | |
| 266 | + --message-bar-bg-color:Canvas; | |
| 267 | + --message-bar-border-color:CanvasText; | |
| 268 | + | |
| 269 | + --undo-button-bg-color:ButtonText; | |
| 270 | + --undo-button-bg-color-hover:SelectedItem; | |
| 271 | + --undo-button-bg-color-active:SelectedItem; | |
| 272 | + | |
| 273 | + --undo-button-fg-color:ButtonFace; | |
| 274 | + --undo-button-fg-color-hover:SelectedItemText; | |
| 275 | + --undo-button-fg-color-active:SelectedItemText; | |
| 276 | + | |
| 277 | + --undo-button-border:none; | |
| 278 | + } | |
| 163 | 279 | } |
| 164 | 280 | |
| 165 | -.annotationLayer .textWidgetAnnotation input.comb:focus { | |
| 166 | - /* | |
| 167 | - * Letter spacing is placed on the right side of each character. Hence, the | |
| 168 | - * letter spacing of the last character may be placed outside the visible | |
| 169 | - * area, causing horizontal scrolling. We avoid this by extending the width | |
| 170 | - * when the element has focus and revert this when it loses focus. | |
| 171 | - */ | |
| 172 | - width: 115%; | |
| 281 | +#editorUndoBar{ | |
| 282 | + | |
| 283 | + position:fixed; | |
| 284 | + top:50px; | |
| 285 | + left:50%; | |
| 286 | + transform:translateX(-50%); | |
| 287 | + z-index:10; | |
| 288 | + | |
| 289 | + padding-block:8px; | |
| 290 | + padding-inline:16px 8px; | |
| 291 | + | |
| 292 | + font:menu; | |
| 293 | + font-size:15px; | |
| 294 | + | |
| 295 | + cursor:default; | |
| 173 | 296 | } |
| 174 | 297 | |
| 175 | -.annotationLayer .buttonWidgetAnnotation.checkBox input, | |
| 176 | -.annotationLayer .buttonWidgetAnnotation.radioButton input { | |
| 177 | - -webkit-appearance: none; | |
| 178 | - -moz-appearance: none; | |
| 179 | - -ms-appearance: none; | |
| 180 | - appearance: none; | |
| 298 | +#editorUndoBar button{ | |
| 299 | + cursor:pointer; | |
| 181 | 300 | } |
| 182 | 301 | |
| 183 | -.annotationLayer .popupWrapper { | |
| 184 | - position: absolute; | |
| 185 | - width: 20em; | |
| 302 | +#editorUndoBar #editorUndoBarUndoButton{ | |
| 303 | + border-radius:4px; | |
| 304 | + font-weight:590; | |
| 305 | + line-height:19.5px; | |
| 306 | + color:var(--undo-button-fg-color); | |
| 307 | + border:var(--undo-button-border); | |
| 308 | + padding:4px 16px; | |
| 309 | + margin-inline-start:8px; | |
| 310 | + height:32px; | |
| 311 | + | |
| 312 | + background-color:var(--undo-button-bg-color); | |
| 186 | 313 | } |
| 187 | 314 | |
| 188 | -.annotationLayer .popup { | |
| 189 | - position: absolute; | |
| 190 | - z-index: 200; | |
| 191 | - max-width: 20em; | |
| 192 | - background-color: #FFFF99; | |
| 193 | - box-shadow: 0px 2px 5px #333; | |
| 194 | - border-radius: 2px; | |
| 195 | - padding: 0.6em; | |
| 196 | - margin-left: 5px; | |
| 197 | - cursor: pointer; | |
| 198 | - word-wrap: break-word; | |
| 315 | +:is(#editorUndoBar #editorUndoBarUndoButton):hover{ | |
| 316 | + background-color:var(--undo-button-bg-color-hover); | |
| 317 | + color:var(--undo-button-fg-color-hover); | |
| 199 | 318 | } |
| 200 | 319 | |
| 201 | -.annotationLayer .popup h1 { | |
| 202 | - font-size: 1em; | |
| 203 | - border-bottom: 1px solid #000000; | |
| 204 | - padding-bottom: 0.2em; | |
| 320 | +:is(#editorUndoBar #editorUndoBarUndoButton):active{ | |
| 321 | + background-color:var(--undo-button-bg-color-active); | |
| 322 | + color:var(--undo-button-fg-color-active); | |
| 205 | 323 | } |
| 206 | 324 | |
| 207 | -.annotationLayer .popup p { | |
| 208 | - padding-top: 0.2em; | |
| 325 | +#editorUndoBar > div{ | |
| 326 | + align-items:center; | |
| 209 | 327 | } |
| 210 | 328 | |
| 211 | -.annotationLayer .highlightAnnotation, | |
| 212 | -.annotationLayer .underlineAnnotation, | |
| 213 | -.annotationLayer .squigglyAnnotation, | |
| 214 | -.annotationLayer .strikeoutAnnotation, | |
| 215 | -.annotationLayer .lineAnnotation svg line, | |
| 216 | -.annotationLayer .fileAttachmentAnnotation { | |
| 217 | - cursor: pointer; | |
| 329 | +.dialog{ | |
| 330 | + --csstools-light-dark-toggle--42:var(--csstools-color-scheme--light) #1c1b22; | |
| 331 | + --dialog-bg-color:var(--csstools-light-dark-toggle--42, white); | |
| 332 | + --csstools-light-dark-toggle--43:var(--csstools-color-scheme--light) #1c1b22; | |
| 333 | + --dialog-border-color:var(--csstools-light-dark-toggle--43, white); | |
| 334 | + --csstools-light-dark-toggle--44:var(--csstools-color-scheme--light) #15141a; | |
| 335 | + --dialog-shadow:0 2px 14px 0 var(--csstools-light-dark-toggle--44, rgb(58 57 68 / 0.2)); | |
| 336 | + --csstools-light-dark-toggle--45:var(--csstools-color-scheme--light) #fbfbfe; | |
| 337 | + --text-primary-color:var(--csstools-light-dark-toggle--45, #15141a); | |
| 338 | + --csstools-light-dark-toggle--46:var(--csstools-color-scheme--light) #cfcfd8; | |
| 339 | + --text-secondary-color:var(--csstools-light-dark-toggle--46, #5b5b66); | |
| 340 | + --hover-filter:brightness(0.9); | |
| 341 | + --csstools-light-dark-toggle--47:var(--csstools-color-scheme--light) #0df; | |
| 342 | + --link-fg-color:var(--csstools-light-dark-toggle--47, #0060df); | |
| 343 | + --csstools-light-dark-toggle--48:var(--csstools-color-scheme--light) #80ebff; | |
| 344 | + --link-hover-fg-color:var(--csstools-light-dark-toggle--48, #0250bb); | |
| 345 | + --csstools-light-dark-toggle--49:var(--csstools-color-scheme--light) #52525e; | |
| 346 | + --separator-color:var(--csstools-light-dark-toggle--49, #f0f0f4); | |
| 347 | + | |
| 348 | + --textarea-border-color:#8f8f9d; | |
| 349 | + --csstools-light-dark-toggle--50:var(--csstools-color-scheme--light) #42414d; | |
| 350 | + --textarea-bg-color:var(--csstools-light-dark-toggle--50, white); | |
| 351 | + --textarea-fg-color:var(--text-secondary-color); | |
| 352 | + | |
| 353 | + --csstools-light-dark-toggle--51:var(--csstools-color-scheme--light) #2b2a33; | |
| 354 | + | |
| 355 | + --radio-bg-color:var(--csstools-light-dark-toggle--51, #f0f0f4); | |
| 356 | + --csstools-light-dark-toggle--52:var(--csstools-color-scheme--light) #15141a; | |
| 357 | + --radio-checked-bg-color:var(--csstools-light-dark-toggle--52, #fbfbfe); | |
| 358 | + --radio-border-color:#8f8f9d; | |
| 359 | + --csstools-light-dark-toggle--53:var(--csstools-color-scheme--light) #0df; | |
| 360 | + --radio-checked-border-color:var(--csstools-light-dark-toggle--53, #0060df); | |
| 361 | + | |
| 362 | + --csstools-light-dark-toggle--54:var(--csstools-color-scheme--light) rgb(251 251 254 / 0.07); | |
| 363 | + | |
| 364 | + --button-secondary-bg-color:var(--csstools-light-dark-toggle--54, rgb(21 20 26 / 0.07)); | |
| 365 | + --button-secondary-fg-color:var(--text-primary-color); | |
| 366 | + --button-secondary-border-color:var(--button-secondary-bg-color); | |
| 367 | + --csstools-light-dark-toggle--55:var(--csstools-color-scheme--light) rgb(251 251 254 / 0.21); | |
| 368 | + --button-secondary-active-bg-color:var(--csstools-light-dark-toggle--55, rgb(21 20 26 / 0.21)); | |
| 369 | + --button-secondary-active-fg-color:var(--button-secondary-fg-color); | |
| 370 | + --button-secondary-active-border-color:var(--button-secondary-bg-color); | |
| 371 | + --csstools-light-dark-toggle--56:var(--csstools-color-scheme--light) rgb(251 251 254 / 0.14); | |
| 372 | + --button-secondary-hover-bg-color:var(--csstools-light-dark-toggle--56, rgb(21 20 26 / 0.14)); | |
| 373 | + --button-secondary-hover-fg-color:var(--button-secondary-fg-color); | |
| 374 | + --button-secondary-hover-border-color:var(--button-secondary-hover-bg-color); | |
| 375 | + --button-secondary-disabled-bg-color:var(--button-secondary-bg-color); | |
| 376 | + --button-secondary-disabled-border-color:var( | |
| 377 | + --button-secondary-border-color | |
| 378 | + ); | |
| 379 | + --button-secondary-disabled-fg-color:var(--button-secondary-fg-color); | |
| 380 | + | |
| 381 | + --csstools-light-dark-toggle--57:var(--csstools-color-scheme--light) #0df; | |
| 382 | + | |
| 383 | + --button-primary-bg-color:var(--csstools-light-dark-toggle--57, #0060df); | |
| 384 | + --csstools-light-dark-toggle--58:var(--csstools-color-scheme--light) #15141a; | |
| 385 | + --button-primary-fg-color:var(--csstools-light-dark-toggle--58, #fbfbfe); | |
| 386 | + --button-primary-border-color:var(--button-primary-bg-color); | |
| 387 | + --csstools-light-dark-toggle--59:var(--csstools-color-scheme--light) #aaf2ff; | |
| 388 | + --button-primary-active-bg-color:var(--csstools-light-dark-toggle--59, #054096); | |
| 389 | + --button-primary-active-fg-color:var(--button-primary-fg-color); | |
| 390 | + --button-primary-active-border-color:var(--button-primary-active-bg-color); | |
| 391 | + --csstools-light-dark-toggle--60:var(--csstools-color-scheme--light) #80ebff; | |
| 392 | + --button-primary-hover-bg-color:var(--csstools-light-dark-toggle--60, #0250bb); | |
| 393 | + --button-primary-hover-fg-color:var(--button-primary-fg-color); | |
| 394 | + --button-primary-hover-border-color:var(--button-primary-hover-bg-color); | |
| 395 | + --button-primary-disabled-bg-color:var(--button-primary-bg-color); | |
| 396 | + --button-primary-disabled-border-color:var(--button-primary-border-color); | |
| 397 | + --button-primary-disabled-fg-color:var(--button-primary-fg-color); | |
| 398 | + --button-disabled-opacity:0.4; | |
| 399 | + | |
| 400 | + --csstools-light-dark-toggle--61:var(--csstools-color-scheme--light) #42414d; | |
| 401 | + | |
| 402 | + --input-text-bg-color:var(--csstools-light-dark-toggle--61, white); | |
| 403 | + --input-text-fg-color:var(--text-primary-color); | |
| 218 | 404 | } |
| 219 | 405 | |
| 220 | -.pdfViewer .canvasWrapper { | |
| 221 | - overflow: hidden; | |
| 406 | +@supports (color: light-dark(red, red)){ | |
| 407 | + .dialog{ | |
| 408 | + --dialog-bg-color:light-dark(white, #1c1b22); | |
| 409 | + --dialog-border-color:light-dark(white, #1c1b22); | |
| 410 | + } | |
| 222 | 411 | } |
| 223 | 412 | |
| 224 | -.pdfViewer .page { | |
| 225 | - direction: ltr; | |
| 226 | - width: 816px; | |
| 227 | - height: 1056px; | |
| 228 | - margin: 1px auto -8px auto; | |
| 229 | - position: relative; | |
| 230 | - overflow: visible; | |
| 231 | - border: 9px solid transparent; | |
| 232 | - background-clip: content-box; | |
| 233 | - border-image: url(images/shadow.png) 9 9 repeat; | |
| 234 | - background-color: white; | |
| 413 | +@supports (color: light-dark(red, red)) and (color: rgb(0 0 0 / 0)){ | |
| 414 | + .dialog{ | |
| 415 | + --dialog-shadow:0 2px 14px 0 light-dark(rgb(58 57 68 / 0.2), #15141a); | |
| 416 | + } | |
| 235 | 417 | } |
| 236 | 418 | |
| 237 | -.pdfViewer.removePageBorders .page { | |
| 238 | - margin: 0px auto 10px auto; | |
| 239 | - border: none; | |
| 419 | +@supports (color: light-dark(red, red)){ | |
| 420 | + .dialog{ | |
| 421 | + --text-primary-color:light-dark(#15141a, #fbfbfe); | |
| 422 | + --text-secondary-color:light-dark(#5b5b66, #cfcfd8); | |
| 423 | + --link-fg-color:light-dark(#0060df, #0df); | |
| 424 | + --link-hover-fg-color:light-dark(#0250bb, #80ebff); | |
| 425 | + --separator-color:light-dark(#f0f0f4, #52525e); | |
| 426 | + --textarea-bg-color:light-dark(white, #42414d); | |
| 427 | + | |
| 428 | + --radio-bg-color:light-dark(#f0f0f4, #2b2a33); | |
| 429 | + --radio-checked-bg-color:light-dark(#fbfbfe, #15141a); | |
| 430 | + --radio-checked-border-color:light-dark(#0060df, #0df); | |
| 431 | + } | |
| 240 | 432 | } |
| 241 | 433 | |
| 242 | -.pdfViewer.singlePageView { | |
| 243 | - display: inline-block; | |
| 434 | +@supports (color: light-dark(red, red)) and (color: rgb(0 0 0 / 0)){ | |
| 435 | + .dialog{ | |
| 436 | + | |
| 437 | + --button-secondary-bg-color:light-dark( | |
| 438 | + rgb(21 20 26 / 0.07), | |
| 439 | + rgb(251 251 254 / 0.07) | |
| 440 | + ); | |
| 441 | + --button-secondary-active-bg-color:light-dark( | |
| 442 | + rgb(21 20 26 / 0.21), | |
| 443 | + rgb(251 251 254 / 0.21) | |
| 444 | + ); | |
| 445 | + --button-secondary-hover-bg-color:light-dark( | |
| 446 | + rgb(21 20 26 / 0.14), | |
| 447 | + rgb(251 251 254 / 0.14) | |
| 448 | + ); | |
| 449 | + } | |
| 244 | 450 | } |
| 245 | 451 | |
| 246 | -.pdfViewer.singlePageView .page { | |
| 247 | - margin: 0; | |
| 248 | - border: none; | |
| 452 | +@supports (color: light-dark(red, red)){ | |
| 453 | + .dialog{ | |
| 454 | + | |
| 455 | + --button-primary-bg-color:light-dark(#0060df, #0df); | |
| 456 | + --button-primary-fg-color:light-dark(#fbfbfe, #15141a); | |
| 457 | + --button-primary-active-bg-color:light-dark(#054096, #aaf2ff); | |
| 458 | + --button-primary-hover-bg-color:light-dark(#0250bb, #80ebff); | |
| 459 | + | |
| 460 | + --input-text-bg-color:light-dark(white, #42414d); | |
| 461 | + } | |
| 249 | 462 | } |
| 250 | 463 | |
| 251 | -.pdfViewer .page canvas { | |
| 252 | - margin: 0; | |
| 253 | - display: block; | |
| 464 | +@supports not (color: light-dark(tan, tan)){ | |
| 465 | + | |
| 466 | + .dialog *{ | |
| 467 | + --csstools-light-dark-toggle--42:var(--csstools-color-scheme--light) #1c1b22; | |
| 468 | + --dialog-bg-color:var(--csstools-light-dark-toggle--42, white); | |
| 469 | + --csstools-light-dark-toggle--43:var(--csstools-color-scheme--light) #1c1b22; | |
| 470 | + --dialog-border-color:var(--csstools-light-dark-toggle--43, white); | |
| 471 | + --csstools-light-dark-toggle--44:var(--csstools-color-scheme--light) #15141a; | |
| 472 | + --dialog-shadow:0 2px 14px 0 var(--csstools-light-dark-toggle--44, rgb(58 57 68 / 0.2)); | |
| 473 | + --csstools-light-dark-toggle--45:var(--csstools-color-scheme--light) #fbfbfe; | |
| 474 | + --text-primary-color:var(--csstools-light-dark-toggle--45, #15141a); | |
| 475 | + --csstools-light-dark-toggle--46:var(--csstools-color-scheme--light) #cfcfd8; | |
| 476 | + --text-secondary-color:var(--csstools-light-dark-toggle--46, #5b5b66); | |
| 477 | + --csstools-light-dark-toggle--47:var(--csstools-color-scheme--light) #0df; | |
| 478 | + --link-fg-color:var(--csstools-light-dark-toggle--47, #0060df); | |
| 479 | + --csstools-light-dark-toggle--48:var(--csstools-color-scheme--light) #80ebff; | |
| 480 | + --link-hover-fg-color:var(--csstools-light-dark-toggle--48, #0250bb); | |
| 481 | + --csstools-light-dark-toggle--49:var(--csstools-color-scheme--light) #52525e; | |
| 482 | + --separator-color:var(--csstools-light-dark-toggle--49, #f0f0f4); | |
| 483 | + --csstools-light-dark-toggle--50:var(--csstools-color-scheme--light) #42414d; | |
| 484 | + --textarea-bg-color:var(--csstools-light-dark-toggle--50, white); | |
| 485 | + | |
| 486 | + --csstools-light-dark-toggle--51:var(--csstools-color-scheme--light) #2b2a33; | |
| 487 | + | |
| 488 | + --radio-bg-color:var(--csstools-light-dark-toggle--51, #f0f0f4); | |
| 489 | + --csstools-light-dark-toggle--52:var(--csstools-color-scheme--light) #15141a; | |
| 490 | + --radio-checked-bg-color:var(--csstools-light-dark-toggle--52, #fbfbfe); | |
| 491 | + --csstools-light-dark-toggle--53:var(--csstools-color-scheme--light) #0df; | |
| 492 | + --radio-checked-border-color:var(--csstools-light-dark-toggle--53, #0060df); | |
| 493 | + | |
| 494 | + --csstools-light-dark-toggle--54:var(--csstools-color-scheme--light) rgb(251 251 254 / 0.07); | |
| 495 | + | |
| 496 | + --button-secondary-bg-color:var(--csstools-light-dark-toggle--54, rgb(21 20 26 / 0.07)); | |
| 497 | + --csstools-light-dark-toggle--55:var(--csstools-color-scheme--light) rgb(251 251 254 / 0.21); | |
| 498 | + --button-secondary-active-bg-color:var(--csstools-light-dark-toggle--55, rgb(21 20 26 / 0.21)); | |
| 499 | + --csstools-light-dark-toggle--56:var(--csstools-color-scheme--light) rgb(251 251 254 / 0.14); | |
| 500 | + --button-secondary-hover-bg-color:var(--csstools-light-dark-toggle--56, rgb(21 20 26 / 0.14)); | |
| 501 | + | |
| 502 | + --csstools-light-dark-toggle--57:var(--csstools-color-scheme--light) #0df; | |
| 503 | + | |
| 504 | + --button-primary-bg-color:var(--csstools-light-dark-toggle--57, #0060df); | |
| 505 | + --csstools-light-dark-toggle--58:var(--csstools-color-scheme--light) #15141a; | |
| 506 | + --button-primary-fg-color:var(--csstools-light-dark-toggle--58, #fbfbfe); | |
| 507 | + --csstools-light-dark-toggle--59:var(--csstools-color-scheme--light) #aaf2ff; | |
| 508 | + --button-primary-active-bg-color:var(--csstools-light-dark-toggle--59, #054096); | |
| 509 | + --csstools-light-dark-toggle--60:var(--csstools-color-scheme--light) #80ebff; | |
| 510 | + --button-primary-hover-bg-color:var(--csstools-light-dark-toggle--60, #0250bb); | |
| 511 | + | |
| 512 | + --csstools-light-dark-toggle--61:var(--csstools-color-scheme--light) #42414d; | |
| 513 | + | |
| 514 | + --input-text-bg-color:var(--csstools-light-dark-toggle--61, white); | |
| 515 | + } | |
| 254 | 516 | } |
| 255 | 517 | |
| 256 | -.pdfViewer .page canvas[hidden] { | |
| 257 | - display: none; | |
| 518 | +@media (prefers-color-scheme: dark){ | |
| 519 | + | |
| 520 | + .dialog{ | |
| 521 | + --hover-filter:brightness(1.4); | |
| 522 | + --button-disabled-opacity:0.6; | |
| 523 | + } | |
| 258 | 524 | } |
| 259 | 525 | |
| 260 | -.pdfViewer .page .loadingIcon { | |
| 261 | - position: absolute; | |
| 262 | - display: block; | |
| 263 | - left: 0; | |
| 264 | - top: 0; | |
| 265 | - right: 0; | |
| 266 | - bottom: 0; | |
| 267 | - background: url('images/loading-icon.gif') center no-repeat; | |
| 526 | +@media screen and (forced-colors: active){ | |
| 527 | + | |
| 528 | + .dialog{ | |
| 529 | + --dialog-bg-color:Canvas; | |
| 530 | + --dialog-border-color:CanvasText; | |
| 531 | + --dialog-shadow:none; | |
| 532 | + --text-primary-color:CanvasText; | |
| 533 | + --text-secondary-color:CanvasText; | |
| 534 | + --hover-filter:none; | |
| 535 | + --link-fg-color:LinkText; | |
| 536 | + --link-hover-fg-color:LinkText; | |
| 537 | + --separator-color:CanvasText; | |
| 538 | + | |
| 539 | + --textarea-border-color:ButtonBorder; | |
| 540 | + --textarea-bg-color:Field; | |
| 541 | + --textarea-fg-color:ButtonText; | |
| 542 | + | |
| 543 | + --radio-bg-color:ButtonFace; | |
| 544 | + --radio-checked-bg-color:ButtonFace; | |
| 545 | + --radio-border-color:ButtonText; | |
| 546 | + --radio-checked-border-color:ButtonText; | |
| 547 | + | |
| 548 | + --button-secondary-bg-color:HighlightText; | |
| 549 | + --button-secondary-fg-color:ButtonText; | |
| 550 | + --button-secondary-border-color:ButtonText; | |
| 551 | + --button-secondary-active-bg-color:HighlightText; | |
| 552 | + --button-secondary-active-fg-color:SelectedItem; | |
| 553 | + --button-secondary-active-border-color:ButtonText; | |
| 554 | + --button-secondary-hover-bg-color:HighlightText; | |
| 555 | + --button-secondary-hover-fg-color:SelectedItem; | |
| 556 | + --button-secondary-hover-border-color:SelectedItem; | |
| 557 | + --button-secondary-disabled-fg-color:GrayText; | |
| 558 | + --button-secondary-disabled-border-color:GrayText; | |
| 559 | + | |
| 560 | + --button-primary-bg-color:ButtonText; | |
| 561 | + --button-primary-fg-color:HighlightText; | |
| 562 | + --button-primary-border-color:ButtonText; | |
| 563 | + --button-primary-active-bg-color:SelectedItem; | |
| 564 | + --button-primary-active-fg-color:HighlightText; | |
| 565 | + --button-primary-active-border-color:ButtonText; | |
| 566 | + --button-primary-hover-bg-color:SelectedItem; | |
| 567 | + --button-primary-hover-fg-color:HighlightText; | |
| 568 | + --button-primary-hover-border-color:SelectedItem; | |
| 569 | + --button-primary-disabled-bg-color:GrayText; | |
| 570 | + --button-primary-disabled-fg-color:ButtonFace; | |
| 571 | + --button-primary-disabled-border-color:GrayText; | |
| 572 | + --button-disabled-opacity:1; | |
| 573 | + | |
| 574 | + --input-text-bg-color:HighlightText; | |
| 575 | + --input-text-fg-color:FieldText; | |
| 576 | + } | |
| 268 | 577 | } |
| 269 | 578 | |
| 270 | -.pdfPresentationMode:-webkit-full-screen .pdfViewer .page { | |
| 271 | - margin-bottom: 100%; | |
| 272 | - border: 0; | |
| 579 | +.dialog{ | |
| 580 | + | |
| 581 | + font:message-box; | |
| 582 | + font-size:13px; | |
| 583 | + font-weight:400; | |
| 584 | + line-height:150%; | |
| 585 | + border-radius:4px; | |
| 586 | + padding:12px 16px; | |
| 587 | + border:1px solid var(--dialog-border-color); | |
| 588 | + background:var(--dialog-bg-color); | |
| 589 | + color:var(--text-primary-color); | |
| 590 | + box-shadow:var(--dialog-shadow); | |
| 273 | 591 | } |
| 274 | 592 | |
| 275 | -.pdfPresentationMode:-moz-full-screen .pdfViewer .page { | |
| 276 | - margin-bottom: 100%; | |
| 277 | - border: 0; | |
| 593 | +:is(.dialog .mainContainer) *:focus-visible{ | |
| 594 | + outline:var(--focus-ring-outline); | |
| 595 | + outline-offset:2px; | |
| 278 | 596 | } |
| 279 | 597 | |
| 280 | -.pdfPresentationMode:-ms-fullscreen .pdfViewer .page { | |
| 281 | - margin-bottom: 100% !important; | |
| 282 | - border: 0; | |
| 598 | +:is(.dialog .mainContainer) .title{ | |
| 599 | + display:flex; | |
| 600 | + width:auto; | |
| 601 | + flex-direction:column; | |
| 602 | + justify-content:flex-end; | |
| 603 | + align-items:flex-start; | |
| 604 | + gap:12px; | |
| 283 | 605 | } |
| 284 | 606 | |
| 285 | -.pdfPresentationMode:fullscreen .pdfViewer .page { | |
| 286 | - margin-bottom: 100%; | |
| 287 | - border: 0; | |
| 607 | +:is(:is(.dialog .mainContainer) .title) > span{ | |
| 608 | + font-size:13px; | |
| 609 | + font-style:normal; | |
| 610 | + font-weight:590; | |
| 611 | + line-height:150%; | |
| 288 | 612 | } |
| 289 | 613 | |
| 290 | -* { | |
| 291 | - padding: 0; | |
| 292 | - margin: 0; | |
| 614 | +:is(.dialog .mainContainer) .dialogSeparator{ | |
| 615 | + width:100%; | |
| 616 | + height:0; | |
| 617 | + margin-block:4px; | |
| 618 | + border-top:1px solid var(--separator-color); | |
| 619 | + border-bottom:none; | |
| 293 | 620 | } |
| 294 | 621 | |
| 295 | -html { | |
| 296 | - height: 100%; | |
| 297 | - width: 100%; | |
| 298 | - /* Font size is needed to make the activity bar the correct size. */ | |
| 299 | - font-size: 10px; | |
| 622 | +:is(.dialog .mainContainer) .dialogButtonsGroup{ | |
| 623 | + display:flex; | |
| 624 | + gap:12px; | |
| 625 | + align-self:flex-end; | |
| 300 | 626 | } |
| 301 | 627 | |
| 302 | -body { | |
| 303 | - height: 100%; | |
| 304 | - width: 100%; | |
| 305 | - background-color: #404040; | |
| 306 | - background-image: url(images/texture.png); | |
| 628 | +:is(.dialog .mainContainer) .radio{ | |
| 629 | + display:flex; | |
| 630 | + flex-direction:column; | |
| 631 | + align-items:flex-start; | |
| 632 | + gap:4px; | |
| 307 | 633 | } |
| 308 | 634 | |
| 309 | -body, | |
| 310 | -input, | |
| 311 | -button, | |
| 312 | -select { | |
| 313 | - font: message-box; | |
| 314 | - outline: none; | |
| 635 | +:is(:is(.dialog .mainContainer) .radio) > .radioButton{ | |
| 636 | + display:flex; | |
| 637 | + gap:8px; | |
| 638 | + align-self:stretch; | |
| 639 | + align-items:center; | |
| 315 | 640 | } |
| 316 | 641 | |
| 317 | -.hidden { | |
| 318 | - display: none !important; | |
| 642 | +:is(:is(:is(.dialog .mainContainer) .radio) > .radioButton) input{ | |
| 643 | + -webkit-appearance:none; | |
| 644 | + -moz-appearance:none; | |
| 645 | + appearance:none; | |
| 646 | + box-sizing:border-box; | |
| 647 | + width:16px; | |
| 648 | + height:16px; | |
| 649 | + border-radius:50%; | |
| 650 | + background-color:var(--radio-bg-color); | |
| 651 | + border:1px solid var(--radio-border-color); | |
| 319 | 652 | } |
| 320 | -[hidden] { | |
| 321 | - display: none !important; | |
| 653 | + | |
| 654 | +:is(:is(:is(:is(.dialog .mainContainer) .radio) > .radioButton) input):hover{ | |
| 655 | + filter:var(--hover-filter); | |
| 322 | 656 | } |
| 323 | 657 | |
| 324 | -#viewerContainer.pdfPresentationMode:-webkit-full-screen { | |
| 325 | - top: 0px; | |
| 326 | - border-top: 2px solid transparent; | |
| 327 | - background-color: #000; | |
| 328 | - width: 100%; | |
| 329 | - height: 100%; | |
| 330 | - overflow: hidden; | |
| 331 | - cursor: none; | |
| 332 | - -webkit-user-select: none; | |
| 658 | +:is(:is(:is(:is(.dialog .mainContainer) .radio) > .radioButton) input):checked{ | |
| 659 | + background-color:var(--radio-checked-bg-color); | |
| 660 | + border:4px solid var(--radio-checked-border-color); | |
| 333 | 661 | } |
| 334 | 662 | |
| 335 | -#viewerContainer.pdfPresentationMode:-moz-full-screen { | |
| 336 | - top: 0px; | |
| 337 | - border-top: 2px solid transparent; | |
| 338 | - background-color: #000; | |
| 339 | - width: 100%; | |
| 340 | - height: 100%; | |
| 341 | - overflow: hidden; | |
| 342 | - cursor: none; | |
| 343 | - -moz-user-select: none; | |
| 663 | +:is(:is(.dialog .mainContainer) .radio) > .radioLabel{ | |
| 664 | + display:flex; | |
| 665 | + padding-inline-start:24px; | |
| 666 | + align-items:flex-start; | |
| 667 | + gap:10px; | |
| 668 | + align-self:stretch; | |
| 344 | 669 | } |
| 345 | 670 | |
| 346 | -#viewerContainer.pdfPresentationMode:-ms-fullscreen { | |
| 347 | - top: 0px !important; | |
| 348 | - border-top: 2px solid transparent; | |
| 349 | - width: 100%; | |
| 350 | - height: 100%; | |
| 351 | - overflow: hidden !important; | |
| 352 | - cursor: none; | |
| 353 | - -ms-user-select: none; | |
| 671 | +:is(:is(:is(.dialog .mainContainer) .radio) > .radioLabel) > span{ | |
| 672 | + flex:1 0 0; | |
| 673 | + font-size:11px; | |
| 674 | + color:var(--text-secondary-color); | |
| 354 | 675 | } |
| 355 | 676 | |
| 356 | -#viewerContainer.pdfPresentationMode:-ms-fullscreen::-ms-backdrop { | |
| 357 | - background-color: #000; | |
| 677 | +:is(.dialog .mainContainer) button:not(:is(.toggle-button,.closeButton,.clearInputButton)){ | |
| 678 | + border-radius:4px; | |
| 679 | + border:1px solid; | |
| 680 | + font:menu; | |
| 681 | + font-weight:590; | |
| 682 | + font-size:13px; | |
| 683 | + padding:4px 16px; | |
| 684 | + width:auto; | |
| 685 | + height:32px; | |
| 358 | 686 | } |
| 359 | 687 | |
| 360 | -#viewerContainer.pdfPresentationMode:fullscreen { | |
| 361 | - top: 0px; | |
| 362 | - border-top: 2px solid transparent; | |
| 363 | - background-color: #000; | |
| 364 | - width: 100%; | |
| 365 | - height: 100%; | |
| 366 | - overflow: hidden; | |
| 367 | - cursor: none; | |
| 368 | - -webkit-user-select: none; | |
| 369 | - -moz-user-select: none; | |
| 370 | - -ms-user-select: none; | |
| 688 | +:is(:is(.dialog .mainContainer) button:not(:is(.toggle-button,.closeButton,.clearInputButton))):hover{ | |
| 689 | + cursor:pointer; | |
| 690 | + filter:var(--hover-filter); | |
| 371 | 691 | } |
| 372 | 692 | |
| 373 | -.pdfPresentationMode:-webkit-full-screen a:not(.internalLink) { | |
| 374 | - display: none; | |
| 693 | +:is(:is(.dialog .mainContainer) button:not(:is(.toggle-button,.closeButton,.clearInputButton))) > span{ | |
| 694 | + color:inherit; | |
| 695 | + font:inherit; | |
| 375 | 696 | } |
| 376 | 697 | |
| 377 | -.pdfPresentationMode:-moz-full-screen a:not(.internalLink) { | |
| 378 | - display: none; | |
| 698 | +.secondaryButton:is(:is(.dialog .mainContainer) button:not(:is(.toggle-button,.closeButton,.clearInputButton))){ | |
| 699 | + color:var(--button-secondary-fg-color); | |
| 700 | + background-color:var(--button-secondary-bg-color); | |
| 701 | + border-color:var(--button-secondary-border-color); | |
| 379 | 702 | } |
| 380 | 703 | |
| 381 | -.pdfPresentationMode:-ms-fullscreen a:not(.internalLink) { | |
| 382 | - display: none !important; | |
| 704 | +.secondaryButton:is(:is(.dialog .mainContainer) button:not(:is(.toggle-button,.closeButton,.clearInputButton))):hover{ | |
| 705 | + color:var(--button-secondary-hover-fg-color); | |
| 706 | + background-color:var(--button-secondary-hover-bg-color); | |
| 707 | + border-color:var(--button-secondary-hover-border-color); | |
| 383 | 708 | } |
| 384 | 709 | |
| 385 | -.pdfPresentationMode:fullscreen a:not(.internalLink) { | |
| 386 | - display: none; | |
| 710 | +.secondaryButton:is(:is(.dialog .mainContainer) button:not(:is(.toggle-button,.closeButton,.clearInputButton))):active{ | |
| 711 | + color:var(--button-secondary-active-fg-color); | |
| 712 | + background-color:var(--button-secondary-active-bg-color); | |
| 713 | + border-color:var(--button-secondary-active-border-color); | |
| 387 | 714 | } |
| 388 | 715 | |
| 389 | -.pdfPresentationMode:-webkit-full-screen .textLayer > div { | |
| 390 | - cursor: none; | |
| 716 | +.secondaryButton:is(:is(.dialog .mainContainer) button:not(:is(.toggle-button,.closeButton,.clearInputButton))):disabled{ | |
| 717 | + background-color:var(--button-secondary-disabled-bg-color); | |
| 718 | + border-color:var(--button-secondary-disabled-border-color); | |
| 719 | + color:var(--button-secondary-disabled-fg-color); | |
| 720 | + opacity:var(--button-disabled-opacity); | |
| 391 | 721 | } |
| 392 | 722 | |
| 393 | -.pdfPresentationMode:-moz-full-screen .textLayer > div { | |
| 394 | - cursor: none; | |
| 723 | +.primaryButton:is(:is(.dialog .mainContainer) button:not(:is(.toggle-button,.closeButton,.clearInputButton))){ | |
| 724 | + color:var(--button-primary-fg-color); | |
| 725 | + background-color:var(--button-primary-bg-color); | |
| 726 | + border-color:var(--button-primary-border-color); | |
| 727 | + opacity:1; | |
| 395 | 728 | } |
| 396 | 729 | |
| 397 | -.pdfPresentationMode:-ms-fullscreen .textLayer > div { | |
| 398 | - cursor: none; | |
| 730 | +.primaryButton:is(:is(.dialog .mainContainer) button:not(:is(.toggle-button,.closeButton,.clearInputButton))):hover{ | |
| 731 | + color:var(--button-primary-hover-fg-color); | |
| 732 | + background-color:var(--button-primary-hover-bg-color); | |
| 733 | + border-color:var(--button-primary-hover-border-color); | |
| 399 | 734 | } |
| 400 | 735 | |
| 401 | -.pdfPresentationMode:fullscreen .textLayer > div { | |
| 402 | - cursor: none; | |
| 736 | +.primaryButton:is(:is(.dialog .mainContainer) button:not(:is(.toggle-button,.closeButton,.clearInputButton))):active{ | |
| 737 | + color:var(--button-primary-active-fg-color); | |
| 738 | + background-color:var(--button-primary-active-bg-color); | |
| 739 | + border-color:var(--button-primary-active-border-color); | |
| 403 | 740 | } |
| 404 | 741 | |
| 405 | -.pdfPresentationMode.pdfPresentationModeControls > *, | |
| 406 | -.pdfPresentationMode.pdfPresentationModeControls .textLayer > div { | |
| 407 | - cursor: default; | |
| 742 | +.primaryButton:is(:is(.dialog .mainContainer) button:not(:is(.toggle-button,.closeButton,.clearInputButton))):disabled{ | |
| 743 | + background-color:var(--button-primary-disabled-bg-color); | |
| 744 | + border-color:var(--button-primary-disabled-border-color); | |
| 745 | + color:var(--button-primary-disabled-fg-color); | |
| 746 | + opacity:var(--button-disabled-opacity); | |
| 408 | 747 | } |
| 409 | 748 | |
| 410 | -#outerContainer { | |
| 411 | - width: 100%; | |
| 412 | - height: 100%; | |
| 413 | - position: relative; | |
| 749 | +:is(:is(.dialog .mainContainer) button:not(:is(.toggle-button,.closeButton,.clearInputButton))):disabled{ | |
| 750 | + pointer-events:none; | |
| 414 | 751 | } |
| 415 | 752 | |
| 416 | -#sidebarContainer { | |
| 417 | - position: absolute; | |
| 418 | - top: 0; | |
| 419 | - bottom: 0; | |
| 420 | - width: 200px; | |
| 421 | - visibility: hidden; | |
| 422 | - -webkit-transition-duration: 200ms; | |
| 423 | - -webkit-transition-timing-function: ease; | |
| 424 | - transition-duration: 200ms; | |
| 425 | - transition-timing-function: ease; | |
| 753 | +:is(.dialog .mainContainer) a{ | |
| 754 | + color:var(--link-fg-color); | |
| 755 | +} | |
| 426 | 756 | |
| 757 | +:is(:is(.dialog .mainContainer) a):hover{ | |
| 758 | + color:var(--link-hover-fg-color); | |
| 427 | 759 | } |
| 428 | -html[dir='ltr'] #sidebarContainer { | |
| 429 | - -webkit-transition-property: left; | |
| 430 | - transition-property: left; | |
| 431 | - left: -200px; | |
| 760 | + | |
| 761 | +:is(.dialog .mainContainer) textarea{ | |
| 762 | + font:inherit; | |
| 763 | + padding:8px; | |
| 764 | + resize:none; | |
| 765 | + margin:0; | |
| 766 | + box-sizing:border-box; | |
| 767 | + border-radius:4px; | |
| 768 | + border:1px solid var(--textarea-border-color); | |
| 769 | + background:var(--textarea-bg-color); | |
| 770 | + color:var(--textarea-fg-color); | |
| 432 | 771 | } |
| 433 | -html[dir='rtl'] #sidebarContainer { | |
| 434 | - -webkit-transition-property: right; | |
| 435 | - transition-property: right; | |
| 436 | - right: -200px; | |
| 772 | + | |
| 773 | +:is(:is(.dialog .mainContainer) textarea):focus{ | |
| 774 | + outline-offset:0; | |
| 775 | + border-color:transparent; | |
| 437 | 776 | } |
| 438 | 777 | |
| 439 | -#outerContainer.sidebarMoving > #sidebarContainer, | |
| 440 | -#outerContainer.sidebarOpen > #sidebarContainer { | |
| 441 | - visibility: visible; | |
| 778 | +:is(:is(.dialog .mainContainer) textarea):disabled{ | |
| 779 | + pointer-events:none; | |
| 780 | + opacity:0.4; | |
| 442 | 781 | } |
| 443 | -html[dir='ltr'] #outerContainer.sidebarOpen > #sidebarContainer { | |
| 444 | - left: 0px; | |
| 782 | + | |
| 783 | +:is(.dialog .mainContainer) input[type="text"]{ | |
| 784 | + background-color:var(--input-text-bg-color); | |
| 785 | + color:var(--input-text-fg-color); | |
| 445 | 786 | } |
| 446 | -html[dir='rtl'] #outerContainer.sidebarOpen > #sidebarContainer { | |
| 447 | - right: 0px; | |
| 787 | + | |
| 788 | +:is(.dialog .mainContainer) .messageBar{ | |
| 789 | + --csstools-light-dark-toggle--62:var(--csstools-color-scheme--light) #5a3100; | |
| 790 | + --message-bar-bg-color:var(--csstools-light-dark-toggle--62, #ffebcd); | |
| 791 | + --csstools-light-dark-toggle--63:var(--csstools-color-scheme--light) #fbfbfe; | |
| 792 | + --message-bar-fg-color:var(--csstools-light-dark-toggle--63, #15141a); | |
| 793 | + --csstools-light-dark-toggle--64:var(--csstools-color-scheme--light) rgb(255 255 255 / 0.08); | |
| 794 | + --message-bar-border-color:var(--csstools-light-dark-toggle--64, rgb(0 0 0 / 0.08)); | |
| 795 | + --message-bar-icon:url(images/messageBar_warning.svg); | |
| 796 | + --csstools-light-dark-toggle--65:var(--csstools-color-scheme--light) #e49c49; | |
| 797 | + --message-bar-icon-color:var(--csstools-light-dark-toggle--65, #cd411e); | |
| 448 | 798 | } |
| 449 | 799 | |
| 450 | -#mainContainer { | |
| 451 | - position: absolute; | |
| 452 | - top: 0; | |
| 453 | - right: 0; | |
| 454 | - bottom: 0; | |
| 455 | - left: 0; | |
| 456 | - min-width: 320px; | |
| 457 | - -webkit-transition-duration: 200ms; | |
| 458 | - -webkit-transition-timing-function: ease; | |
| 459 | - transition-duration: 200ms; | |
| 460 | - transition-timing-function: ease; | |
| 800 | +@supports (color: light-dark(red, red)){ | |
| 801 | + :is(.dialog .mainContainer) .messageBar{ | |
| 802 | + --message-bar-bg-color:light-dark(#ffebcd, #5a3100); | |
| 803 | + --message-bar-fg-color:light-dark(#15141a, #fbfbfe); | |
| 804 | + } | |
| 461 | 805 | } |
| 462 | -html[dir='ltr'] #outerContainer.sidebarOpen > #mainContainer { | |
| 463 | - -webkit-transition-property: left; | |
| 464 | - transition-property: left; | |
| 465 | - left: 200px; | |
| 806 | + | |
| 807 | +@supports (color: light-dark(red, red)) and (color: rgb(0 0 0 / 0)){ | |
| 808 | + :is(.dialog .mainContainer) .messageBar{ | |
| 809 | + --message-bar-border-color:light-dark( | |
| 810 | + rgb(0 0 0 / 0.08), | |
| 811 | + rgb(255 255 255 / 0.08) | |
| 812 | + ); | |
| 813 | + } | |
| 466 | 814 | } |
| 467 | -html[dir='rtl'] #outerContainer.sidebarOpen > #mainContainer { | |
| 468 | - -webkit-transition-property: right; | |
| 469 | - transition-property: right; | |
| 470 | - right: 200px; | |
| 815 | + | |
| 816 | +@supports (color: light-dark(red, red)){ | |
| 817 | + :is(.dialog .mainContainer) .messageBar{ | |
| 818 | + --message-bar-icon-color:light-dark(#cd411e, #e49c49); | |
| 819 | + } | |
| 471 | 820 | } |
| 472 | 821 | |
| 473 | -#sidebarContent { | |
| 474 | - top: 32px; | |
| 475 | - bottom: 0; | |
| 476 | - overflow: auto; | |
| 477 | - -webkit-overflow-scrolling: touch; | |
| 478 | - position: absolute; | |
| 479 | - width: 200px; | |
| 480 | - background-color: hsla(0,0%,0%,.1); | |
| 822 | +@supports not (color: light-dark(tan, tan)){ | |
| 823 | + | |
| 824 | + :is(:is(.dialog .mainContainer) .messageBar) *{ | |
| 825 | + --csstools-light-dark-toggle--62:var(--csstools-color-scheme--light) #5a3100; | |
| 826 | + --message-bar-bg-color:var(--csstools-light-dark-toggle--62, #ffebcd); | |
| 827 | + --csstools-light-dark-toggle--63:var(--csstools-color-scheme--light) #fbfbfe; | |
| 828 | + --message-bar-fg-color:var(--csstools-light-dark-toggle--63, #15141a); | |
| 829 | + --csstools-light-dark-toggle--64:var(--csstools-color-scheme--light) rgb(255 255 255 / 0.08); | |
| 830 | + --message-bar-border-color:var(--csstools-light-dark-toggle--64, rgb(0 0 0 / 0.08)); | |
| 831 | + --csstools-light-dark-toggle--65:var(--csstools-color-scheme--light) #e49c49; | |
| 832 | + --message-bar-icon-color:var(--csstools-light-dark-toggle--65, #cd411e); | |
| 833 | + } | |
| 481 | 834 | } |
| 482 | -html[dir='ltr'] #sidebarContent { | |
| 483 | - left: 0; | |
| 484 | - box-shadow: inset -1px 0 0 hsla(0,0%,0%,.25); | |
| 835 | + | |
| 836 | +@media screen and (forced-colors: active){ | |
| 837 | + | |
| 838 | + :is(.dialog .mainContainer) .messageBar{ | |
| 839 | + --message-bar-bg-color:HighlightText; | |
| 840 | + --message-bar-fg-color:CanvasText; | |
| 841 | + --message-bar-border-color:CanvasText; | |
| 842 | + --message-bar-icon-color:CanvasText; | |
| 843 | + } | |
| 485 | 844 | } |
| 486 | -html[dir='rtl'] #sidebarContent { | |
| 487 | - right: 0; | |
| 488 | - box-shadow: inset 1px 0 0 hsla(0,0%,0%,.25); | |
| 845 | + | |
| 846 | +:is(.dialog .mainContainer) .messageBar{ | |
| 847 | + | |
| 848 | + align-self:stretch; | |
| 489 | 849 | } |
| 490 | 850 | |
| 491 | -#viewerContainer { | |
| 492 | - overflow: auto; | |
| 493 | - -webkit-overflow-scrolling: touch; | |
| 494 | - position: absolute; | |
| 495 | - top: 32px; | |
| 496 | - right: 0; | |
| 497 | - bottom: 0; | |
| 498 | - left: 0; | |
| 499 | - outline: none; | |
| 851 | +:is(:is(:is(.dialog .mainContainer) .messageBar) > div)::before,:is(:is(:is(.dialog .mainContainer) .messageBar) > div) > div{ | |
| 852 | + margin-block:4px; | |
| 500 | 853 | } |
| 501 | -html[dir='ltr'] #viewerContainer { | |
| 502 | - box-shadow: inset 1px 0 0 hsla(0,0%,100%,.05); | |
| 854 | + | |
| 855 | +:is(:is(:is(.dialog .mainContainer) .messageBar) > div) > div{ | |
| 856 | + display:flex; | |
| 857 | + flex-direction:column; | |
| 858 | + align-items:flex-start; | |
| 859 | + gap:8px; | |
| 860 | + flex:1 0 0; | |
| 503 | 861 | } |
| 504 | -html[dir='rtl'] #viewerContainer { | |
| 505 | - box-shadow: inset -1px 0 0 hsla(0,0%,100%,.05); | |
| 862 | + | |
| 863 | +:is(:is(:is(:is(.dialog .mainContainer) .messageBar) > div) > div) .title{ | |
| 864 | + font-size:13px; | |
| 865 | + font-weight:590; | |
| 506 | 866 | } |
| 507 | 867 | |
| 508 | -.toolbar { | |
| 509 | - position: relative; | |
| 510 | - left: 0; | |
| 511 | - right: 0; | |
| 512 | - z-index: 9999; | |
| 513 | - cursor: default; | |
| 868 | +:is(:is(:is(:is(.dialog .mainContainer) .messageBar) > div) > div) .description{ | |
| 869 | + font-size:13px; | |
| 514 | 870 | } |
| 515 | 871 | |
| 516 | -#toolbarContainer { | |
| 517 | - width: 100%; | |
| 872 | +:is(.dialog .mainContainer) .toggler{ | |
| 873 | + display:flex; | |
| 874 | + align-items:center; | |
| 875 | + gap:8px; | |
| 876 | + align-self:stretch; | |
| 518 | 877 | } |
| 519 | 878 | |
| 520 | -#toolbarSidebar { | |
| 521 | - width: 200px; | |
| 522 | - height: 32px; | |
| 523 | - background-color: #424242; /* fallback */ | |
| 524 | - background-image: url(images/texture.png), | |
| 525 | - linear-gradient(hsla(0,0%,30%,.99), hsla(0,0%,25%,.95)); | |
| 879 | +:is(:is(.dialog .mainContainer) .toggler) > .togglerLabel{ | |
| 880 | + -webkit-user-select:none; | |
| 881 | + -moz-user-select:none; | |
| 882 | + user-select:none; | |
| 526 | 883 | } |
| 527 | -html[dir='ltr'] #toolbarSidebar { | |
| 528 | - box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.25), | |
| 529 | - inset 0 -1px 0 hsla(0,0%,100%,.05), | |
| 530 | - 0 1px 0 hsla(0,0%,0%,.15), | |
| 531 | - 0 0 1px hsla(0,0%,0%,.1); | |
| 884 | + | |
| 885 | +.textLayer{ | |
| 886 | + position:absolute; | |
| 887 | + text-align:initial; | |
| 888 | + inset:0; | |
| 889 | + overflow:clip; | |
| 890 | + opacity:1; | |
| 891 | + line-height:1; | |
| 892 | + -webkit-text-size-adjust:none; | |
| 893 | + -moz-text-size-adjust:none; | |
| 894 | + text-size-adjust:none; | |
| 895 | + forced-color-adjust:none; | |
| 896 | + transform-origin:0 0; | |
| 897 | + caret-color:CanvasText; | |
| 898 | + z-index:0; | |
| 532 | 899 | } |
| 533 | -html[dir='rtl'] #toolbarSidebar { | |
| 534 | - box-shadow: inset 1px 0 0 rgba(0, 0, 0, 0.25), | |
| 535 | - inset 0 1px 0 hsla(0,0%,100%,.05), | |
| 536 | - 0 1px 0 hsla(0,0%,0%,.15), | |
| 537 | - 0 0 1px hsla(0,0%,0%,.1); | |
| 900 | + | |
| 901 | +.textLayer.highlighting{ | |
| 902 | + touch-action:none; | |
| 538 | 903 | } |
| 539 | 904 | |
| 540 | -#toolbarContainer, .findbar, .secondaryToolbar { | |
| 541 | - position: relative; | |
| 542 | - height: 32px; | |
| 543 | - background-color: #474747; /* fallback */ | |
| 544 | - background-image: url(images/texture.png), | |
| 545 | - linear-gradient(hsla(0,0%,32%,.99), hsla(0,0%,27%,.95)); | |
| 905 | +.textLayer :is(span,br){ | |
| 906 | + color:transparent; | |
| 907 | + position:absolute; | |
| 908 | + white-space:pre; | |
| 909 | + cursor:text; | |
| 910 | + transform-origin:0% 0%; | |
| 546 | 911 | } |
| 547 | -html[dir='ltr'] #toolbarContainer, .findbar, .secondaryToolbar { | |
| 548 | - box-shadow: inset 1px 0 0 hsla(0,0%,100%,.08), | |
| 549 | - inset 0 1px 1px hsla(0,0%,0%,.15), | |
| 550 | - inset 0 -1px 0 hsla(0,0%,100%,.05), | |
| 551 | - 0 1px 0 hsla(0,0%,0%,.15), | |
| 552 | - 0 1px 1px hsla(0,0%,0%,.1); | |
| 912 | + | |
| 913 | +.textLayer > :not(.markedContent),.textLayer .markedContent span:not(.markedContent){ | |
| 914 | + z-index:1; | |
| 553 | 915 | } |
| 554 | -html[dir='rtl'] #toolbarContainer, .findbar, .secondaryToolbar { | |
| 555 | - box-shadow: inset -1px 0 0 hsla(0,0%,100%,.08), | |
| 556 | - inset 0 1px 1px hsla(0,0%,0%,.15), | |
| 557 | - inset 0 -1px 0 hsla(0,0%,100%,.05), | |
| 558 | - 0 1px 0 hsla(0,0%,0%,.15), | |
| 559 | - 0 1px 1px hsla(0,0%,0%,.1); | |
| 916 | + | |
| 917 | +.textLayer span.markedContent{ | |
| 918 | + top:0; | |
| 919 | + height:0; | |
| 560 | 920 | } |
| 561 | 921 | |
| 562 | -#toolbarViewer { | |
| 563 | - height: 32px; | |
| 922 | +.textLayer span[role="img"]{ | |
| 923 | + -webkit-user-select:none; | |
| 924 | + -moz-user-select:none; | |
| 925 | + user-select:none; | |
| 926 | + cursor:default; | |
| 564 | 927 | } |
| 565 | 928 | |
| 566 | -#loadingBar { | |
| 567 | - position: relative; | |
| 568 | - width: 100%; | |
| 569 | - height: 4px; | |
| 570 | - background-color: #333; | |
| 571 | - border-bottom: 1px solid #333; | |
| 929 | +.textLayer .highlight{ | |
| 930 | + --highlight-bg-color:rgb(180 0 170 / 0.25); | |
| 931 | + --highlight-selected-bg-color:rgb(0 100 0 / 0.25); | |
| 932 | + --highlight-backdrop-filter:none; | |
| 933 | + --highlight-selected-backdrop-filter:none; | |
| 572 | 934 | } |
| 573 | 935 | |
| 574 | -#loadingBar .progress { | |
| 575 | - position: absolute; | |
| 576 | - top: 0; | |
| 577 | - left: 0; | |
| 578 | - width: 0%; | |
| 579 | - height: 100%; | |
| 580 | - background-color: #ddd; | |
| 581 | - overflow: hidden; | |
| 582 | - -webkit-transition: width 200ms; | |
| 583 | - transition: width 200ms; | |
| 936 | +@media screen and (forced-colors: active){ | |
| 937 | + | |
| 938 | + .textLayer .highlight{ | |
| 939 | + --highlight-bg-color:transparent; | |
| 940 | + --highlight-selected-bg-color:transparent; | |
| 941 | + --highlight-backdrop-filter:var(--hcm-highlight-filter); | |
| 942 | + --highlight-selected-backdrop-filter:var( | |
| 943 | + --hcm-highlight-selected-filter | |
| 944 | + ); | |
| 945 | + } | |
| 584 | 946 | } |
| 585 | 947 | |
| 586 | -@-webkit-keyframes progressIndeterminate { | |
| 587 | - 0% { left: -142px; } | |
| 588 | - 100% { left: 0; } | |
| 948 | +.textLayer .highlight{ | |
| 949 | + | |
| 950 | + margin:-1px; | |
| 951 | + padding:1px; | |
| 952 | + background-color:var(--highlight-bg-color); | |
| 953 | + -webkit-backdrop-filter:var(--highlight-backdrop-filter); | |
| 954 | + backdrop-filter:var(--highlight-backdrop-filter); | |
| 955 | + border-radius:4px; | |
| 589 | 956 | } |
| 590 | 957 | |
| 591 | -@keyframes progressIndeterminate { | |
| 592 | - 0% { left: -142px; } | |
| 593 | - 100% { left: 0; } | |
| 958 | +.appended:is(.textLayer .highlight){ | |
| 959 | + position:initial; | |
| 594 | 960 | } |
| 595 | 961 | |
| 596 | -#loadingBar .progress.indeterminate { | |
| 597 | - background-color: #999; | |
| 598 | - -webkit-transition: none; | |
| 599 | - transition: none; | |
| 962 | +.begin:is(.textLayer .highlight){ | |
| 963 | + border-radius:4px 0 0 4px; | |
| 600 | 964 | } |
| 601 | 965 | |
| 602 | -#loadingBar .progress.indeterminate .glimmer { | |
| 603 | - position: absolute; | |
| 604 | - top: 0; | |
| 605 | - left: 0; | |
| 606 | - height: 100%; | |
| 607 | - width: calc(100% + 150px); | |
| 966 | +.end:is(.textLayer .highlight){ | |
| 967 | + border-radius:0 4px 4px 0; | |
| 968 | +} | |
| 608 | 969 | |
| 609 | - background: repeating-linear-gradient(135deg, | |
| 610 | - #bbb 0, #999 5px, | |
| 611 | - #999 45px, #ddd 55px, | |
| 612 | - #ddd 95px, #bbb 100px); | |
| 970 | +.middle:is(.textLayer .highlight){ | |
| 971 | + border-radius:0; | |
| 972 | +} | |
| 613 | 973 | |
| 614 | - -webkit-animation: progressIndeterminate 950ms linear infinite; | |
| 615 | - animation: progressIndeterminate 950ms linear infinite; | |
| 974 | +.selected:is(.textLayer .highlight){ | |
| 975 | + background-color:var(--highlight-selected-bg-color); | |
| 976 | + -webkit-backdrop-filter:var(--highlight-selected-backdrop-filter); | |
| 977 | + backdrop-filter:var(--highlight-selected-backdrop-filter); | |
| 616 | 978 | } |
| 617 | 979 | |
| 618 | -.findbar, .secondaryToolbar { | |
| 619 | - top: 32px; | |
| 620 | - position: absolute; | |
| 621 | - z-index: 10000; | |
| 622 | - height: auto; | |
| 623 | - min-width: 16px; | |
| 624 | - padding: 0px 6px 0px 6px; | |
| 625 | - margin: 4px 2px 4px 2px; | |
| 626 | - color: hsl(0,0%,85%); | |
| 627 | - font-size: 12px; | |
| 628 | - line-height: 14px; | |
| 629 | - text-align: left; | |
| 630 | - cursor: default; | |
| 980 | +.textLayer ::-moz-selection{ | |
| 981 | + background:rgba(0 0 255 / 0.25); | |
| 982 | + background:color-mix(in srgb, AccentColor, transparent 75%); | |
| 631 | 983 | } |
| 632 | 984 | |
| 633 | -.findbar { | |
| 634 | - min-width: 300px; | |
| 985 | +.textLayer ::selection{ | |
| 986 | + background:rgba(0 0 255 / 0.25); | |
| 987 | + background:color-mix(in srgb, AccentColor, transparent 75%); | |
| 635 | 988 | } |
| 636 | -.findbar > div { | |
| 637 | - height: 32px; | |
| 989 | + | |
| 990 | +.textLayer br::-moz-selection{ | |
| 991 | + background:transparent; | |
| 638 | 992 | } |
| 639 | -.findbar.wrapContainers > div { | |
| 640 | - clear: both; | |
| 993 | + | |
| 994 | +.textLayer br::selection{ | |
| 995 | + background:transparent; | |
| 641 | 996 | } |
| 642 | -.findbar.wrapContainers > div#findbarMessageContainer { | |
| 643 | - height: auto; | |
| 997 | + | |
| 998 | +.textLayer .endOfContent{ | |
| 999 | + display:block; | |
| 1000 | + position:absolute; | |
| 1001 | + inset:100% 0 0; | |
| 1002 | + z-index:0; | |
| 1003 | + cursor:default; | |
| 1004 | + -webkit-user-select:none; | |
| 1005 | + -moz-user-select:none; | |
| 1006 | + user-select:none; | |
| 644 | 1007 | } |
| 645 | -html[dir='ltr'] .findbar { | |
| 646 | - left: 68px; | |
| 1008 | + | |
| 1009 | +.textLayer.selecting .endOfContent{ | |
| 1010 | + top:0; | |
| 647 | 1011 | } |
| 648 | -html[dir='rtl'] .findbar { | |
| 649 | - right: 68px; | |
| 1012 | + | |
| 1013 | +.annotationLayer{ | |
| 1014 | + --csstools-color-scheme--light:initial; | |
| 1015 | + color-scheme:only light; | |
| 1016 | + | |
| 1017 | + --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>"); | |
| 1018 | + --input-focus-border-color:Highlight; | |
| 1019 | + --input-focus-outline:1px solid Canvas; | |
| 1020 | + --input-unfocused-border-color:transparent; | |
| 1021 | + --input-disabled-border-color:transparent; | |
| 1022 | + --input-hover-border-color:black; | |
| 1023 | + --link-outline:none; | |
| 650 | 1024 | } |
| 651 | 1025 | |
| 652 | -.findbar label { | |
| 653 | - -webkit-user-select: none; | |
| 654 | - -moz-user-select: none; | |
| 1026 | +@media screen and (forced-colors: active){ | |
| 1027 | + | |
| 1028 | + .annotationLayer{ | |
| 1029 | + --input-focus-border-color:CanvasText; | |
| 1030 | + --input-unfocused-border-color:ActiveText; | |
| 1031 | + --input-disabled-border-color:GrayText; | |
| 1032 | + --input-hover-border-color:Highlight; | |
| 1033 | + --link-outline:1.5px solid LinkText; | |
| 1034 | + } | |
| 1035 | + | |
| 1036 | + .annotationLayer .textWidgetAnnotation :is(input,textarea):required,.annotationLayer .choiceWidgetAnnotation select:required,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:required{ | |
| 1037 | + outline:1.5px solid selectedItem; | |
| 1038 | + } | |
| 1039 | + | |
| 1040 | + .annotationLayer .linkAnnotation{ | |
| 1041 | + outline:var(--link-outline); | |
| 1042 | + } | |
| 1043 | + | |
| 1044 | + :is(.annotationLayer .linkAnnotation):hover{ | |
| 1045 | + -webkit-backdrop-filter:var(--hcm-highlight-filter); | |
| 1046 | + backdrop-filter:var(--hcm-highlight-filter); | |
| 1047 | + } | |
| 1048 | + | |
| 1049 | + :is(.annotationLayer .linkAnnotation) > a:hover{ | |
| 1050 | + opacity:0 !important; | |
| 1051 | + background:none !important; | |
| 1052 | + box-shadow:none; | |
| 1053 | + } | |
| 1054 | + | |
| 1055 | + .annotationLayer .popupAnnotation .popup{ | |
| 1056 | + outline:calc(1.5px * var(--total-scale-factor)) solid CanvasText !important; | |
| 1057 | + background-color:ButtonFace !important; | |
| 1058 | + color:ButtonText !important; | |
| 1059 | + } | |
| 1060 | + | |
| 1061 | + .annotationLayer .highlightArea:hover::after{ | |
| 1062 | + position:absolute; | |
| 1063 | + top:0; | |
| 1064 | + left:0; | |
| 1065 | + width:100%; | |
| 1066 | + height:100%; | |
| 1067 | + -webkit-backdrop-filter:var(--hcm-highlight-filter); | |
| 1068 | + backdrop-filter:var(--hcm-highlight-filter); | |
| 1069 | + content:""; | |
| 1070 | + pointer-events:none; | |
| 1071 | + } | |
| 1072 | + | |
| 1073 | + .annotationLayer .popupAnnotation.focused .popup{ | |
| 1074 | + outline:calc(3px * var(--total-scale-factor)) solid Highlight !important; | |
| 1075 | + } | |
| 655 | 1076 | } |
| 656 | 1077 | |
| 657 | -#findInput { | |
| 658 | - width: 200px; | |
| 1078 | +.annotationLayer{ | |
| 1079 | + | |
| 1080 | + position:absolute; | |
| 1081 | + top:0; | |
| 1082 | + left:0; | |
| 1083 | + pointer-events:none; | |
| 1084 | + transform-origin:0 0; | |
| 659 | 1085 | } |
| 660 | -#findInput::-webkit-input-placeholder { | |
| 661 | - font-style: italic; | |
| 1086 | + | |
| 1087 | +.annotationLayer[data-main-rotation="90"] .norotate{ | |
| 1088 | + transform:rotate(270deg) translateX(-100%); | |
| 662 | 1089 | } |
| 663 | -#findInput::-moz-placeholder { | |
| 664 | - font-style: italic; | |
| 1090 | + | |
| 1091 | +.annotationLayer[data-main-rotation="180"] .norotate{ | |
| 1092 | + transform:rotate(180deg) translate(-100%, -100%); | |
| 665 | 1093 | } |
| 666 | -#findInput:-ms-input-placeholder { | |
| 667 | - font-style: italic; | |
| 1094 | + | |
| 1095 | +.annotationLayer[data-main-rotation="270"] .norotate{ | |
| 1096 | + transform:rotate(90deg) translateY(-100%); | |
| 668 | 1097 | } |
| 669 | -#findInput::placeholder { | |
| 670 | - font-style: italic; | |
| 1098 | + | |
| 1099 | +.annotationLayer.disabled section,.annotationLayer.disabled .popup{ | |
| 1100 | + pointer-events:none; | |
| 671 | 1101 | } |
| 672 | -#findInput[data-status="pending"] { | |
| 673 | - background-image: url(images/loading-small.png); | |
| 674 | - background-repeat: no-repeat; | |
| 675 | - background-position: right; | |
| 1102 | + | |
| 1103 | +.annotationLayer .annotationContent{ | |
| 1104 | + position:absolute; | |
| 1105 | + width:100%; | |
| 1106 | + height:100%; | |
| 1107 | + pointer-events:none; | |
| 676 | 1108 | } |
| 677 | -html[dir='rtl'] #findInput[data-status="pending"] { | |
| 678 | - background-position: left; | |
| 1109 | + | |
| 1110 | +.freetext:is(.annotationLayer .annotationContent){ | |
| 1111 | + background:transparent; | |
| 1112 | + border:none; | |
| 1113 | + inset:0; | |
| 1114 | + overflow:visible; | |
| 1115 | + white-space:nowrap; | |
| 1116 | + font:10px sans-serif; | |
| 1117 | + line-height:1.35; | |
| 679 | 1118 | } |
| 680 | 1119 | |
| 681 | -.secondaryToolbar { | |
| 682 | - padding: 6px; | |
| 683 | - height: auto; | |
| 684 | - z-index: 30000; | |
| 1120 | +.annotationLayer section{ | |
| 1121 | + position:absolute; | |
| 1122 | + text-align:initial; | |
| 1123 | + pointer-events:auto; | |
| 1124 | + box-sizing:border-box; | |
| 1125 | + transform-origin:0 0; | |
| 1126 | + -webkit-user-select:none; | |
| 1127 | + -moz-user-select:none; | |
| 1128 | + user-select:none; | |
| 685 | 1129 | } |
| 686 | -html[dir='ltr'] .secondaryToolbar { | |
| 687 | - right: 4px; | |
| 1130 | + | |
| 1131 | +:is(.annotationLayer section):has(div.annotationContent) canvas.annotationContent{ | |
| 1132 | + display:none; | |
| 688 | 1133 | } |
| 689 | -html[dir='rtl'] .secondaryToolbar { | |
| 690 | - left: 4px; | |
| 1134 | + | |
| 1135 | +.textLayer.selecting ~ .annotationLayer section{ | |
| 1136 | + pointer-events:none; | |
| 691 | 1137 | } |
| 692 | 1138 | |
| 693 | -#secondaryToolbarButtonContainer { | |
| 694 | - max-width: 200px; | |
| 695 | - max-height: 400px; | |
| 696 | - overflow-y: auto; | |
| 697 | - -webkit-overflow-scrolling: touch; | |
| 698 | - margin-bottom: -4px; | |
| 1139 | +.annotationLayer :is(.linkAnnotation,.buttonWidgetAnnotation.pushButton) > a{ | |
| 1140 | + position:absolute; | |
| 1141 | + font-size:1em; | |
| 1142 | + top:0; | |
| 1143 | + left:0; | |
| 1144 | + width:100%; | |
| 1145 | + height:100%; | |
| 699 | 1146 | } |
| 700 | 1147 | |
| 701 | -.doorHanger, | |
| 702 | -.doorHangerRight { | |
| 703 | - border: 1px solid hsla(0,0%,0%,.5); | |
| 704 | - border-radius: 2px; | |
| 705 | - box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3); | |
| 1148 | +.annotationLayer :is(.linkAnnotation,.buttonWidgetAnnotation.pushButton):not(.hasBorder) > a:hover{ | |
| 1149 | + opacity:0.2; | |
| 1150 | + background-color:rgb(255 255 0); | |
| 1151 | + box-shadow:0 2px 10px rgb(255 255 0); | |
| 706 | 1152 | } |
| 707 | -.doorHanger:after, .doorHanger:before, | |
| 708 | -.doorHangerRight:after, .doorHangerRight:before { | |
| 709 | - bottom: 100%; | |
| 710 | - border: solid transparent; | |
| 711 | - content: " "; | |
| 712 | - height: 0; | |
| 713 | - width: 0; | |
| 714 | - position: absolute; | |
| 715 | - pointer-events: none; | |
| 1153 | + | |
| 1154 | +.annotationLayer .linkAnnotation.hasBorder:hover{ | |
| 1155 | + background-color:rgb(255 255 0 / 0.2); | |
| 716 | 1156 | } |
| 717 | -.doorHanger:after, | |
| 718 | -.doorHangerRight:after { | |
| 719 | - border-bottom-color: hsla(0,0%,32%,.99); | |
| 720 | - border-width: 8px; | |
| 1157 | + | |
| 1158 | +.annotationLayer .hasBorder{ | |
| 1159 | + background-size:100% 100%; | |
| 721 | 1160 | } |
| 722 | -.doorHanger:before, | |
| 723 | -.doorHangerRight:before { | |
| 724 | - border-bottom-color: hsla(0,0%,0%,.5); | |
| 725 | - border-width: 9px; | |
| 1161 | + | |
| 1162 | +.annotationLayer .textAnnotation img{ | |
| 1163 | + position:absolute; | |
| 1164 | + cursor:pointer; | |
| 1165 | + width:100%; | |
| 1166 | + height:100%; | |
| 1167 | + top:0; | |
| 1168 | + left:0; | |
| 726 | 1169 | } |
| 727 | 1170 | |
| 728 | -html[dir='ltr'] .doorHanger:after, | |
| 729 | -html[dir='rtl'] .doorHangerRight:after { | |
| 730 | - left: 13px; | |
| 731 | - margin-left: -8px; | |
| 1171 | +.annotationLayer .textWidgetAnnotation :is(input,textarea),.annotationLayer .choiceWidgetAnnotation select,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input{ | |
| 1172 | + background-image:var(--annotation-unfocused-field-background); | |
| 1173 | + border:2px solid var(--input-unfocused-border-color); | |
| 1174 | + box-sizing:border-box; | |
| 1175 | + font:calc(9px * var(--total-scale-factor)) sans-serif; | |
| 1176 | + height:100%; | |
| 1177 | + margin:0; | |
| 1178 | + vertical-align:top; | |
| 1179 | + width:100%; | |
| 732 | 1180 | } |
| 733 | 1181 | |
| 734 | -html[dir='ltr'] .doorHanger:before, | |
| 735 | -html[dir='rtl'] .doorHangerRight:before { | |
| 736 | - left: 13px; | |
| 737 | - margin-left: -9px; | |
| 1182 | +.annotationLayer .textWidgetAnnotation :is(input,textarea):required,.annotationLayer .choiceWidgetAnnotation select:required,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:required{ | |
| 1183 | + outline:1.5px solid red; | |
| 738 | 1184 | } |
| 739 | 1185 | |
| 740 | -html[dir='rtl'] .doorHanger:after, | |
| 741 | -html[dir='ltr'] .doorHangerRight:after { | |
| 742 | - right: 13px; | |
| 743 | - margin-right: -8px; | |
| 1186 | +.annotationLayer .choiceWidgetAnnotation select option{ | |
| 1187 | + padding:0; | |
| 744 | 1188 | } |
| 745 | 1189 | |
| 746 | -html[dir='rtl'] .doorHanger:before, | |
| 747 | -html[dir='ltr'] .doorHangerRight:before { | |
| 748 | - right: 13px; | |
| 749 | - margin-right: -9px; | |
| 1190 | +.annotationLayer .buttonWidgetAnnotation.radioButton input{ | |
| 1191 | + border-radius:50%; | |
| 750 | 1192 | } |
| 751 | 1193 | |
| 752 | -#findResultsCount { | |
| 753 | - background-color: hsl(0, 0%, 85%); | |
| 754 | - color: hsl(0, 0%, 32%); | |
| 755 | - text-align: center; | |
| 756 | - padding: 3px 4px; | |
| 1194 | +.annotationLayer .textWidgetAnnotation textarea{ | |
| 1195 | + resize:none; | |
| 757 | 1196 | } |
| 758 | 1197 | |
| 759 | -#findMsg { | |
| 760 | - font-style: italic; | |
| 761 | - color: #A6B7D0; | |
| 1198 | +.annotationLayer .textWidgetAnnotation [disabled]:is(input,textarea),.annotationLayer .choiceWidgetAnnotation select[disabled],.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input[disabled]{ | |
| 1199 | + background:none; | |
| 1200 | + border:2px solid var(--input-disabled-border-color); | |
| 1201 | + cursor:not-allowed; | |
| 762 | 1202 | } |
| 763 | -#findMsg:empty { | |
| 764 | - display: none; | |
| 1203 | + | |
| 1204 | +.annotationLayer .textWidgetAnnotation :is(input,textarea):hover,.annotationLayer .choiceWidgetAnnotation select:hover,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:hover{ | |
| 1205 | + border:2px solid var(--input-hover-border-color); | |
| 765 | 1206 | } |
| 766 | 1207 | |
| 767 | -#findInput.notFound { | |
| 768 | - background-color: rgb(255, 102, 102); | |
| 1208 | +.annotationLayer .textWidgetAnnotation :is(input,textarea):hover,.annotationLayer .choiceWidgetAnnotation select:hover,.annotationLayer .buttonWidgetAnnotation.checkBox input:hover{ | |
| 1209 | + border-radius:2px; | |
| 769 | 1210 | } |
| 770 | 1211 | |
| 771 | -#toolbarViewerMiddle { | |
| 772 | - position: absolute; | |
| 773 | - left: 50%; | |
| 774 | - transform: translateX(-50%); | |
| 1212 | +.annotationLayer .textWidgetAnnotation :is(input,textarea):focus,.annotationLayer .choiceWidgetAnnotation select:focus{ | |
| 1213 | + background:none; | |
| 1214 | + border:2px solid var(--input-focus-border-color); | |
| 1215 | + border-radius:2px; | |
| 1216 | + outline:var(--input-focus-outline); | |
| 775 | 1217 | } |
| 776 | 1218 | |
| 777 | -html[dir='ltr'] #toolbarViewerLeft, | |
| 778 | -html[dir='rtl'] #toolbarViewerRight { | |
| 779 | - float: left; | |
| 1219 | +.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) :focus{ | |
| 1220 | + background-image:none; | |
| 1221 | + background-color:transparent; | |
| 780 | 1222 | } |
| 781 | -html[dir='ltr'] #toolbarViewerRight, | |
| 782 | -html[dir='rtl'] #toolbarViewerLeft { | |
| 783 | - float: right; | |
| 1223 | + | |
| 1224 | +.annotationLayer .buttonWidgetAnnotation.checkBox :focus{ | |
| 1225 | + border:2px solid var(--input-focus-border-color); | |
| 1226 | + border-radius:2px; | |
| 1227 | + outline:var(--input-focus-outline); | |
| 784 | 1228 | } |
| 785 | -html[dir='ltr'] #toolbarViewerLeft > *, | |
| 786 | -html[dir='ltr'] #toolbarViewerMiddle > *, | |
| 787 | -html[dir='ltr'] #toolbarViewerRight > *, | |
| 788 | -html[dir='ltr'] .findbar * { | |
| 789 | - position: relative; | |
| 790 | - float: left; | |
| 1229 | + | |
| 1230 | +.annotationLayer .buttonWidgetAnnotation.radioButton :focus{ | |
| 1231 | + border:2px solid var(--input-focus-border-color); | |
| 1232 | + outline:var(--input-focus-outline); | |
| 791 | 1233 | } |
| 792 | -html[dir='rtl'] #toolbarViewerLeft > *, | |
| 793 | -html[dir='rtl'] #toolbarViewerMiddle > *, | |
| 794 | -html[dir='rtl'] #toolbarViewerRight > *, | |
| 795 | -html[dir='rtl'] .findbar * { | |
| 796 | - position: relative; | |
| 797 | - float: right; | |
| 1234 | + | |
| 1235 | +.annotationLayer .buttonWidgetAnnotation.checkBox input:checked::before,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked::after,.annotationLayer .buttonWidgetAnnotation.radioButton input:checked::before{ | |
| 1236 | + background-color:CanvasText; | |
| 1237 | + content:""; | |
| 1238 | + display:block; | |
| 1239 | + position:absolute; | |
| 798 | 1240 | } |
| 799 | 1241 | |
| 800 | -html[dir='ltr'] .splitToolbarButton { | |
| 801 | - margin: 3px 2px 4px 0; | |
| 802 | - display: inline-block; | |
| 1242 | +.annotationLayer .buttonWidgetAnnotation.checkBox input:checked::before,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked::after{ | |
| 1243 | + height:80%; | |
| 1244 | + left:45%; | |
| 1245 | + width:1px; | |
| 803 | 1246 | } |
| 804 | -html[dir='rtl'] .splitToolbarButton { | |
| 805 | - margin: 3px 0 4px 2px; | |
| 806 | - display: inline-block; | |
| 1247 | + | |
| 1248 | +.annotationLayer .buttonWidgetAnnotation.checkBox input:checked::before{ | |
| 1249 | + transform:rotate(45deg); | |
| 807 | 1250 | } |
| 808 | -html[dir='ltr'] .splitToolbarButton > .toolbarButton { | |
| 809 | - border-radius: 0; | |
| 810 | - float: left; | |
| 1251 | + | |
| 1252 | +.annotationLayer .buttonWidgetAnnotation.checkBox input:checked::after{ | |
| 1253 | + transform:rotate(-45deg); | |
| 811 | 1254 | } |
| 812 | -html[dir='rtl'] .splitToolbarButton > .toolbarButton { | |
| 813 | - border-radius: 0; | |
| 814 | - float: right; | |
| 1255 | + | |
| 1256 | +.annotationLayer .buttonWidgetAnnotation.radioButton input:checked::before{ | |
| 1257 | + border-radius:50%; | |
| 1258 | + height:50%; | |
| 1259 | + left:25%; | |
| 1260 | + top:25%; | |
| 1261 | + width:50%; | |
| 815 | 1262 | } |
| 816 | 1263 | |
| 817 | -.toolbarButton, | |
| 818 | -.secondaryToolbarButton, | |
| 819 | -.overlayButton { | |
| 820 | - border: 0 none; | |
| 821 | - background: none; | |
| 822 | - width: 32px; | |
| 823 | - height: 25px; | |
| 1264 | +.annotationLayer .textWidgetAnnotation input.comb{ | |
| 1265 | + font-family:monospace; | |
| 1266 | + padding-left:2px; | |
| 1267 | + padding-right:0; | |
| 824 | 1268 | } |
| 825 | 1269 | |
| 826 | -.toolbarButton > span { | |
| 827 | - display: inline-block; | |
| 828 | - width: 0; | |
| 829 | - height: 0; | |
| 830 | - overflow: hidden; | |
| 1270 | +.annotationLayer .textWidgetAnnotation input.comb:focus{ | |
| 1271 | + width:103%; | |
| 831 | 1272 | } |
| 832 | 1273 | |
| 833 | -.toolbarButton[disabled], | |
| 834 | -.secondaryToolbarButton[disabled], | |
| 835 | -.overlayButton[disabled] { | |
| 836 | - opacity: .5; | |
| 1274 | +.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input{ | |
| 1275 | + -webkit-appearance:none; | |
| 1276 | + -moz-appearance:none; | |
| 1277 | + appearance:none; | |
| 837 | 1278 | } |
| 838 | 1279 | |
| 839 | -.splitToolbarButton.toggled .toolbarButton { | |
| 840 | - margin: 0; | |
| 1280 | +.annotationLayer .fileAttachmentAnnotation .popupTriggerArea{ | |
| 1281 | + height:100%; | |
| 1282 | + width:100%; | |
| 841 | 1283 | } |
| 842 | 1284 | |
| 843 | -.splitToolbarButton:hover > .toolbarButton, | |
| 844 | -.splitToolbarButton:focus > .toolbarButton, | |
| 845 | -.splitToolbarButton.toggled > .toolbarButton, | |
| 846 | -.toolbarButton.textButton { | |
| 847 | - background-color: hsla(0,0%,0%,.12); | |
| 848 | - background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0)); | |
| 849 | - background-clip: padding-box; | |
| 850 | - border: 1px solid hsla(0,0%,0%,.35); | |
| 851 | - border-color: hsla(0,0%,0%,.32) hsla(0,0%,0%,.38) hsla(0,0%,0%,.42); | |
| 852 | - box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset, | |
| 853 | - 0 0 1px hsla(0,0%,100%,.15) inset, | |
| 854 | - 0 1px 0 hsla(0,0%,100%,.05); | |
| 855 | - -webkit-transition-property: background-color, border-color, box-shadow; | |
| 856 | - -webkit-transition-duration: 150ms; | |
| 857 | - -webkit-transition-timing-function: ease; | |
| 858 | - transition-property: background-color, border-color, box-shadow; | |
| 859 | - transition-duration: 150ms; | |
| 860 | - transition-timing-function: ease; | |
| 1285 | +.annotationLayer .popupAnnotation{ | |
| 1286 | + position:absolute; | |
| 1287 | + font-size:calc(9px * var(--total-scale-factor)); | |
| 1288 | + pointer-events:none; | |
| 1289 | + width:-moz-max-content; | |
| 1290 | + width:max-content; | |
| 1291 | + max-width:45%; | |
| 1292 | + height:auto; | |
| 1293 | +} | |
| 861 | 1294 | |
| 1295 | +.annotationLayer .popup{ | |
| 1296 | + background-color:rgb(255 255 153); | |
| 1297 | + color:black; | |
| 1298 | + box-shadow:0 calc(2px * var(--total-scale-factor)) calc(5px * var(--total-scale-factor)) rgb(136 136 136); | |
| 1299 | + border-radius:calc(2px * var(--total-scale-factor)); | |
| 1300 | + outline:1.5px solid rgb(255 255 74); | |
| 1301 | + padding:calc(6px * var(--total-scale-factor)); | |
| 1302 | + cursor:pointer; | |
| 1303 | + font:message-box; | |
| 1304 | + white-space:normal; | |
| 1305 | + word-wrap:break-word; | |
| 1306 | + pointer-events:auto; | |
| 1307 | + -webkit-user-select:text; | |
| 1308 | + -moz-user-select:text; | |
| 1309 | + user-select:text; | |
| 862 | 1310 | } |
| 863 | -.splitToolbarButton > .toolbarButton:hover, | |
| 864 | -.splitToolbarButton > .toolbarButton:focus, | |
| 865 | -.dropdownToolbarButton:hover, | |
| 866 | -.overlayButton:hover, | |
| 867 | -.overlayButton:focus, | |
| 868 | -.toolbarButton.textButton:hover, | |
| 869 | -.toolbarButton.textButton:focus { | |
| 870 | - background-color: hsla(0,0%,0%,.2); | |
| 871 | - box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset, | |
| 872 | - 0 0 1px hsla(0,0%,100%,.15) inset, | |
| 873 | - 0 0 1px hsla(0,0%,0%,.05); | |
| 874 | - z-index: 199; | |
| 1311 | + | |
| 1312 | +.annotationLayer .popupAnnotation.focused .popup{ | |
| 1313 | + outline-width:3px; | |
| 875 | 1314 | } |
| 876 | -.splitToolbarButton > .toolbarButton { | |
| 877 | - position: relative; | |
| 1315 | + | |
| 1316 | +.annotationLayer .popup *{ | |
| 1317 | + font-size:calc(9px * var(--total-scale-factor)); | |
| 878 | 1318 | } |
| 879 | -html[dir='ltr'] .splitToolbarButton > .toolbarButton:first-child, | |
| 880 | -html[dir='rtl'] .splitToolbarButton > .toolbarButton:last-child { | |
| 881 | - position: relative; | |
| 882 | - margin: 0; | |
| 883 | - margin-right: -1px; | |
| 884 | - border-top-left-radius: 2px; | |
| 885 | - border-bottom-left-radius: 2px; | |
| 886 | - border-right-color: transparent; | |
| 1319 | + | |
| 1320 | +.annotationLayer .popup > .header{ | |
| 1321 | + display:inline-block; | |
| 887 | 1322 | } |
| 888 | -html[dir='ltr'] .splitToolbarButton > .toolbarButton:last-child, | |
| 889 | -html[dir='rtl'] .splitToolbarButton > .toolbarButton:first-child { | |
| 890 | - position: relative; | |
| 891 | - margin: 0; | |
| 892 | - margin-left: -1px; | |
| 893 | - border-top-right-radius: 2px; | |
| 894 | - border-bottom-right-radius: 2px; | |
| 895 | - border-left-color: transparent; | |
| 1323 | + | |
| 1324 | +.annotationLayer .popup > .header h1{ | |
| 1325 | + display:inline; | |
| 896 | 1326 | } |
| 897 | -.splitToolbarButtonSeparator { | |
| 898 | - padding: 8px 0; | |
| 899 | - width: 1px; | |
| 900 | - background-color: hsla(0,0%,0%,.5); | |
| 901 | - z-index: 99; | |
| 902 | - box-shadow: 0 0 0 1px hsla(0,0%,100%,.08); | |
| 903 | - display: inline-block; | |
| 904 | - margin: 5px 0; | |
| 1327 | + | |
| 1328 | +.annotationLayer .popup > .header .popupDate{ | |
| 1329 | + display:inline-block; | |
| 1330 | + margin-left:calc(5px * var(--total-scale-factor)); | |
| 1331 | + width:-moz-fit-content; | |
| 1332 | + width:fit-content; | |
| 905 | 1333 | } |
| 906 | -html[dir='ltr'] .splitToolbarButtonSeparator { | |
| 907 | - float: left; | |
| 1334 | + | |
| 1335 | +.annotationLayer .popupContent{ | |
| 1336 | + border-top:1px solid rgb(51 51 51); | |
| 1337 | + margin-top:calc(2px * var(--total-scale-factor)); | |
| 1338 | + padding-top:calc(2px * var(--total-scale-factor)); | |
| 908 | 1339 | } |
| 909 | -html[dir='rtl'] .splitToolbarButtonSeparator { | |
| 910 | - float: right; | |
| 1340 | + | |
| 1341 | +.annotationLayer .richText > *{ | |
| 1342 | + white-space:pre-wrap; | |
| 1343 | + font-size:calc(9px * var(--total-scale-factor)); | |
| 911 | 1344 | } |
| 912 | -.splitToolbarButton:hover > .splitToolbarButtonSeparator, | |
| 913 | -.splitToolbarButton.toggled > .splitToolbarButtonSeparator { | |
| 914 | - padding: 12px 0; | |
| 915 | - margin: 1px 0; | |
| 916 | - box-shadow: 0 0 0 1px hsla(0,0%,100%,.03); | |
| 917 | - -webkit-transition-property: padding; | |
| 918 | - -webkit-transition-duration: 10ms; | |
| 919 | - -webkit-transition-timing-function: ease; | |
| 920 | - transition-property: padding; | |
| 921 | - transition-duration: 10ms; | |
| 922 | - transition-timing-function: ease; | |
| 1345 | + | |
| 1346 | +.annotationLayer .popupTriggerArea{ | |
| 1347 | + cursor:pointer; | |
| 923 | 1348 | } |
| 924 | 1349 | |
| 925 | -.toolbarButton, | |
| 926 | -.dropdownToolbarButton, | |
| 927 | -.secondaryToolbarButton, | |
| 928 | -.overlayButton { | |
| 929 | - min-width: 16px; | |
| 930 | - padding: 2px 6px 0; | |
| 931 | - border: 1px solid transparent; | |
| 932 | - border-radius: 2px; | |
| 933 | - color: hsla(0,0%,100%,.8); | |
| 934 | - font-size: 12px; | |
| 935 | - line-height: 14px; | |
| 936 | - -webkit-user-select: none; | |
| 937 | - -moz-user-select: none; | |
| 938 | - -ms-user-select: none; | |
| 939 | - /* Opera does not support user-select, use <... unselectable="on"> instead */ | |
| 940 | - cursor: default; | |
| 941 | - -webkit-transition-property: background-color, border-color, box-shadow; | |
| 942 | - -webkit-transition-duration: 150ms; | |
| 943 | - -webkit-transition-timing-function: ease; | |
| 944 | - transition-property: background-color, border-color, box-shadow; | |
| 945 | - transition-duration: 150ms; | |
| 946 | - transition-timing-function: ease; | |
| 1350 | +.annotationLayer section svg{ | |
| 1351 | + position:absolute; | |
| 1352 | + width:100%; | |
| 1353 | + height:100%; | |
| 1354 | + top:0; | |
| 1355 | + left:0; | |
| 947 | 1356 | } |
| 948 | 1357 | |
| 949 | -html[dir='ltr'] .toolbarButton, | |
| 950 | -html[dir='ltr'] .overlayButton, | |
| 951 | -html[dir='ltr'] .dropdownToolbarButton { | |
| 952 | - margin: 3px 2px 4px 0; | |
| 1358 | +.annotationLayer .annotationTextContent{ | |
| 1359 | + position:absolute; | |
| 1360 | + width:100%; | |
| 1361 | + height:100%; | |
| 1362 | + opacity:0; | |
| 1363 | + color:transparent; | |
| 1364 | + -webkit-user-select:none; | |
| 1365 | + -moz-user-select:none; | |
| 1366 | + user-select:none; | |
| 1367 | + pointer-events:none; | |
| 953 | 1368 | } |
| 954 | -html[dir='rtl'] .toolbarButton, | |
| 955 | -html[dir='rtl'] .overlayButton, | |
| 956 | -html[dir='rtl'] .dropdownToolbarButton { | |
| 957 | - margin: 3px 0 4px 2px; | |
| 1369 | + | |
| 1370 | +:is(.annotationLayer .annotationTextContent) span{ | |
| 1371 | + width:100%; | |
| 1372 | + display:inline-block; | |
| 958 | 1373 | } |
| 959 | 1374 | |
| 960 | -.toolbarButton:hover, | |
| 961 | -.toolbarButton:focus, | |
| 962 | -.dropdownToolbarButton, | |
| 963 | -.overlayButton, | |
| 964 | -.secondaryToolbarButton:hover, | |
| 965 | -.secondaryToolbarButton:focus { | |
| 966 | - background-color: hsla(0,0%,0%,.12); | |
| 967 | - background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0)); | |
| 968 | - background-clip: padding-box; | |
| 969 | - border: 1px solid hsla(0,0%,0%,.35); | |
| 970 | - border-color: hsla(0,0%,0%,.32) hsla(0,0%,0%,.38) hsla(0,0%,0%,.42); | |
| 971 | - box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset, | |
| 972 | - 0 0 1px hsla(0,0%,100%,.15) inset, | |
| 973 | - 0 1px 0 hsla(0,0%,100%,.05); | |
| 1375 | +.annotationLayer svg.quadrilateralsContainer{ | |
| 1376 | + contain:strict; | |
| 1377 | + width:0; | |
| 1378 | + height:0; | |
| 1379 | + position:absolute; | |
| 1380 | + top:0; | |
| 1381 | + left:0; | |
| 1382 | + z-index:-1; | |
| 974 | 1383 | } |
| 975 | 1384 | |
| 976 | -.toolbarButton:hover:active, | |
| 977 | -.overlayButton:hover:active, | |
| 978 | -.dropdownToolbarButton:hover:active, | |
| 979 | -.secondaryToolbarButton:hover:active { | |
| 980 | - background-color: hsla(0,0%,0%,.2); | |
| 981 | - background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0)); | |
| 982 | - border-color: hsla(0,0%,0%,.35) hsla(0,0%,0%,.4) hsla(0,0%,0%,.45); | |
| 983 | - box-shadow: 0 1px 1px hsla(0,0%,0%,.1) inset, | |
| 984 | - 0 0 1px hsla(0,0%,0%,.2) inset, | |
| 985 | - 0 1px 0 hsla(0,0%,100%,.05); | |
| 986 | - -webkit-transition-property: background-color, border-color, box-shadow; | |
| 987 | - -webkit-transition-duration: 10ms; | |
| 988 | - -webkit-transition-timing-function: linear; | |
| 989 | - transition-property: background-color, border-color, box-shadow; | |
| 990 | - transition-duration: 10ms; | |
| 991 | - transition-timing-function: linear; | |
| 1385 | +:root{ | |
| 1386 | + --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>"); | |
| 1387 | + --xfa-focus-outline:auto; | |
| 992 | 1388 | } |
| 993 | 1389 | |
| 994 | -.toolbarButton.toggled, | |
| 995 | -.splitToolbarButton.toggled > .toolbarButton.toggled, | |
| 996 | -.secondaryToolbarButton.toggled { | |
| 997 | - background-color: hsla(0,0%,0%,.3); | |
| 998 | - background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0)); | |
| 999 | - border-color: hsla(0,0%,0%,.4) hsla(0,0%,0%,.45) hsla(0,0%,0%,.5); | |
| 1000 | - box-shadow: 0 1px 1px hsla(0,0%,0%,.1) inset, | |
| 1001 | - 0 0 1px hsla(0,0%,0%,.2) inset, | |
| 1002 | - 0 1px 0 hsla(0,0%,100%,.05); | |
| 1003 | - -webkit-transition-property: background-color, border-color, box-shadow; | |
| 1004 | - -webkit-transition-duration: 10ms; | |
| 1005 | - -webkit-transition-timing-function: linear; | |
| 1006 | - transition-property: background-color, border-color, box-shadow; | |
| 1007 | - transition-duration: 10ms; | |
| 1008 | - transition-timing-function: linear; | |
| 1390 | +@media screen and (forced-colors: active){ | |
| 1391 | + :root{ | |
| 1392 | + --xfa-focus-outline:2px solid CanvasText; | |
| 1393 | + } | |
| 1394 | + .xfaLayer *:required{ | |
| 1395 | + outline:1.5px solid selectedItem; | |
| 1396 | + } | |
| 1009 | 1397 | } |
| 1010 | 1398 | |
| 1011 | -.toolbarButton.toggled:hover:active, | |
| 1012 | -.splitToolbarButton.toggled > .toolbarButton.toggled:hover:active, | |
| 1013 | -.secondaryToolbarButton.toggled:hover:active { | |
| 1014 | - background-color: hsla(0,0%,0%,.4); | |
| 1015 | - border-color: hsla(0,0%,0%,.4) hsla(0,0%,0%,.5) hsla(0,0%,0%,.55); | |
| 1016 | - box-shadow: 0 1px 1px hsla(0,0%,0%,.2) inset, | |
| 1017 | - 0 0 1px hsla(0,0%,0%,.3) inset, | |
| 1018 | - 0 1px 0 hsla(0,0%,100%,.05); | |
| 1399 | +.xfaLayer{ | |
| 1400 | + --csstools-color-scheme--light:initial; | |
| 1401 | + color-scheme:only light; | |
| 1402 | + | |
| 1403 | + background-color:transparent; | |
| 1019 | 1404 | } |
| 1020 | 1405 | |
| 1021 | -.dropdownToolbarButton { | |
| 1022 | - width: 120px; | |
| 1023 | - max-width: 120px; | |
| 1024 | - padding: 0; | |
| 1025 | - overflow: hidden; | |
| 1026 | - background: url(images/toolbarButton-menuArrows.png) no-repeat; | |
| 1406 | +.xfaLayer .highlight{ | |
| 1407 | + margin:-1px; | |
| 1408 | + padding:1px; | |
| 1409 | + background-color:rgb(239 203 237); | |
| 1410 | + border-radius:4px; | |
| 1027 | 1411 | } |
| 1028 | -html[dir='ltr'] .dropdownToolbarButton { | |
| 1029 | - background-position: 95%; | |
| 1412 | + | |
| 1413 | +.xfaLayer .highlight.appended{ | |
| 1414 | + position:initial; | |
| 1030 | 1415 | } |
| 1031 | -html[dir='rtl'] .dropdownToolbarButton { | |
| 1032 | - background-position: 5%; | |
| 1416 | + | |
| 1417 | +.xfaLayer .highlight.begin{ | |
| 1418 | + border-radius:4px 0 0 4px; | |
| 1033 | 1419 | } |
| 1034 | 1420 | |
| 1035 | -.dropdownToolbarButton > select { | |
| 1036 | - min-width: 140px; | |
| 1037 | - font-size: 12px; | |
| 1038 | - color: hsl(0,0%,95%); | |
| 1039 | - margin: 0; | |
| 1040 | - padding: 3px 2px 2px; | |
| 1041 | - border: none; | |
| 1042 | - background: rgba(0,0,0,0); /* Opera does not support 'transparent' <select> background */ | |
| 1421 | +.xfaLayer .highlight.end{ | |
| 1422 | + border-radius:0 4px 4px 0; | |
| 1043 | 1423 | } |
| 1044 | 1424 | |
| 1045 | -.dropdownToolbarButton > select > option { | |
| 1046 | - background: hsl(0,0%,24%); | |
| 1425 | +.xfaLayer .highlight.middle{ | |
| 1426 | + border-radius:0; | |
| 1047 | 1427 | } |
| 1048 | 1428 | |
| 1049 | -#customScaleOption { | |
| 1050 | - display: none; | |
| 1429 | +.xfaLayer .highlight.selected{ | |
| 1430 | + background-color:rgb(203 223 203); | |
| 1051 | 1431 | } |
| 1052 | 1432 | |
| 1053 | -#pageWidthOption { | |
| 1054 | - border-bottom: 1px rgba(255, 255, 255, .5) solid; | |
| 1433 | +.xfaPage{ | |
| 1434 | + overflow:hidden; | |
| 1435 | + position:relative; | |
| 1055 | 1436 | } |
| 1056 | 1437 | |
| 1057 | -html[dir='ltr'] .splitToolbarButton:first-child, | |
| 1058 | -html[dir='ltr'] .toolbarButton:first-child, | |
| 1059 | -html[dir='rtl'] .splitToolbarButton:last-child, | |
| 1060 | -html[dir='rtl'] .toolbarButton:last-child { | |
| 1061 | - margin-left: 4px; | |
| 1438 | +.xfaContentarea{ | |
| 1439 | + position:absolute; | |
| 1062 | 1440 | } |
| 1063 | -html[dir='ltr'] .splitToolbarButton:last-child, | |
| 1064 | -html[dir='ltr'] .toolbarButton:last-child, | |
| 1065 | -html[dir='rtl'] .splitToolbarButton:first-child, | |
| 1066 | -html[dir='rtl'] .toolbarButton:first-child { | |
| 1067 | - margin-right: 4px; | |
| 1441 | + | |
| 1442 | +.xfaPrintOnly{ | |
| 1443 | + display:none; | |
| 1068 | 1444 | } |
| 1069 | 1445 | |
| 1070 | -.toolbarButtonSpacer { | |
| 1071 | - width: 30px; | |
| 1072 | - display: inline-block; | |
| 1073 | - height: 1px; | |
| 1446 | +.xfaLayer{ | |
| 1447 | + position:absolute; | |
| 1448 | + text-align:initial; | |
| 1449 | + top:0; | |
| 1450 | + left:0; | |
| 1451 | + transform-origin:0 0; | |
| 1452 | + line-height:1.2; | |
| 1074 | 1453 | } |
| 1075 | 1454 | |
| 1076 | -html[dir='ltr'] #findPrevious { | |
| 1077 | - margin-left: 3px; | |
| 1455 | +.xfaLayer *{ | |
| 1456 | + color:inherit; | |
| 1457 | + font:inherit; | |
| 1458 | + font-style:inherit; | |
| 1459 | + font-weight:inherit; | |
| 1460 | + font-kerning:inherit; | |
| 1461 | + letter-spacing:-0.01px; | |
| 1462 | + text-align:inherit; | |
| 1463 | + text-decoration:inherit; | |
| 1464 | + box-sizing:border-box; | |
| 1465 | + background-color:transparent; | |
| 1466 | + padding:0; | |
| 1467 | + margin:0; | |
| 1468 | + pointer-events:auto; | |
| 1469 | + line-height:inherit; | |
| 1078 | 1470 | } |
| 1079 | -html[dir='ltr'] #findNext { | |
| 1080 | - margin-right: 3px; | |
| 1471 | + | |
| 1472 | +.xfaLayer *:required{ | |
| 1473 | + outline:1.5px solid red; | |
| 1081 | 1474 | } |
| 1082 | 1475 | |
| 1083 | -html[dir='rtl'] #findPrevious { | |
| 1084 | - margin-right: 3px; | |
| 1476 | +.xfaLayer div, | |
| 1477 | +.xfaLayer svg, | |
| 1478 | +.xfaLayer svg *{ | |
| 1479 | + pointer-events:none; | |
| 1085 | 1480 | } |
| 1086 | -html[dir='rtl'] #findNext { | |
| 1087 | - margin-left: 3px; | |
| 1481 | + | |
| 1482 | +.xfaLayer a{ | |
| 1483 | + color:blue; | |
| 1088 | 1484 | } |
| 1089 | 1485 | |
| 1090 | -.toolbarButton::before, | |
| 1091 | -.secondaryToolbarButton::before { | |
| 1092 | - /* All matching images have a size of 16x16 | |
| 1093 | - * All relevant containers have a size of 32x25 */ | |
| 1094 | - position: absolute; | |
| 1095 | - display: inline-block; | |
| 1096 | - top: 4px; | |
| 1097 | - left: 7px; | |
| 1486 | +.xfaRich li{ | |
| 1487 | + margin-left:3em; | |
| 1098 | 1488 | } |
| 1099 | 1489 | |
| 1100 | -html[dir="ltr"] .secondaryToolbarButton::before { | |
| 1101 | - left: 4px; | |
| 1490 | +.xfaFont{ | |
| 1491 | + color:black; | |
| 1492 | + font-weight:normal; | |
| 1493 | + font-kerning:none; | |
| 1494 | + font-size:10px; | |
| 1495 | + font-style:normal; | |
| 1496 | + letter-spacing:0; | |
| 1497 | + text-decoration:none; | |
| 1498 | + vertical-align:0; | |
| 1102 | 1499 | } |
| 1103 | -html[dir="rtl"] .secondaryToolbarButton::before { | |
| 1104 | - right: 4px; | |
| 1500 | + | |
| 1501 | +.xfaCaption{ | |
| 1502 | + overflow:hidden; | |
| 1503 | + flex:0 0 auto; | |
| 1105 | 1504 | } |
| 1106 | 1505 | |
| 1107 | -html[dir='ltr'] .toolbarButton#sidebarToggle::before { | |
| 1108 | - content: url(images/toolbarButton-sidebarToggle.png); | |
| 1506 | +.xfaCaptionForCheckButton{ | |
| 1507 | + overflow:hidden; | |
| 1508 | + flex:1 1 auto; | |
| 1109 | 1509 | } |
| 1110 | -html[dir='rtl'] .toolbarButton#sidebarToggle::before { | |
| 1111 | - content: url(images/toolbarButton-sidebarToggle-rtl.png); | |
| 1510 | + | |
| 1511 | +.xfaLabel{ | |
| 1512 | + height:100%; | |
| 1513 | + width:100%; | |
| 1112 | 1514 | } |
| 1113 | 1515 | |
| 1114 | -html[dir='ltr'] .toolbarButton#secondaryToolbarToggle::before { | |
| 1115 | - content: url(images/toolbarButton-secondaryToolbarToggle.png); | |
| 1516 | +.xfaLeft{ | |
| 1517 | + display:flex; | |
| 1518 | + flex-direction:row; | |
| 1519 | + align-items:center; | |
| 1116 | 1520 | } |
| 1117 | -html[dir='rtl'] .toolbarButton#secondaryToolbarToggle::before { | |
| 1118 | - content: url(images/toolbarButton-secondaryToolbarToggle-rtl.png); | |
| 1521 | + | |
| 1522 | +.xfaRight{ | |
| 1523 | + display:flex; | |
| 1524 | + flex-direction:row-reverse; | |
| 1525 | + align-items:center; | |
| 1119 | 1526 | } |
| 1120 | 1527 | |
| 1121 | -html[dir='ltr'] .toolbarButton.findPrevious::before { | |
| 1122 | - content: url(images/findbarButton-previous.png); | |
| 1528 | +:is(.xfaLeft, .xfaRight) > :is(.xfaCaption, .xfaCaptionForCheckButton){ | |
| 1529 | + max-height:100%; | |
| 1123 | 1530 | } |
| 1124 | -html[dir='rtl'] .toolbarButton.findPrevious::before { | |
| 1125 | - content: url(images/findbarButton-previous-rtl.png); | |
| 1531 | + | |
| 1532 | +.xfaTop{ | |
| 1533 | + display:flex; | |
| 1534 | + flex-direction:column; | |
| 1535 | + align-items:flex-start; | |
| 1126 | 1536 | } |
| 1127 | 1537 | |
| 1128 | -html[dir='ltr'] .toolbarButton.findNext::before { | |
| 1129 | - content: url(images/findbarButton-next.png); | |
| 1538 | +.xfaBottom{ | |
| 1539 | + display:flex; | |
| 1540 | + flex-direction:column-reverse; | |
| 1541 | + align-items:flex-start; | |
| 1130 | 1542 | } |
| 1131 | -html[dir='rtl'] .toolbarButton.findNext::before { | |
| 1132 | - content: url(images/findbarButton-next-rtl.png); | |
| 1543 | + | |
| 1544 | +:is(.xfaTop, .xfaBottom) > :is(.xfaCaption, .xfaCaptionForCheckButton){ | |
| 1545 | + width:100%; | |
| 1133 | 1546 | } |
| 1134 | 1547 | |
| 1135 | -html[dir='ltr'] .toolbarButton.pageUp::before { | |
| 1136 | - content: url(images/toolbarButton-pageUp.png); | |
| 1548 | +.xfaBorder{ | |
| 1549 | + background-color:transparent; | |
| 1550 | + position:absolute; | |
| 1551 | + pointer-events:none; | |
| 1137 | 1552 | } |
| 1138 | -html[dir='rtl'] .toolbarButton.pageUp::before { | |
| 1139 | - content: url(images/toolbarButton-pageUp-rtl.png); | |
| 1553 | + | |
| 1554 | +.xfaWrapped{ | |
| 1555 | + width:100%; | |
| 1556 | + height:100%; | |
| 1140 | 1557 | } |
| 1141 | 1558 | |
| 1142 | -html[dir='ltr'] .toolbarButton.pageDown::before { | |
| 1143 | - content: url(images/toolbarButton-pageDown.png); | |
| 1559 | +:is(.xfaTextfield, .xfaSelect):focus{ | |
| 1560 | + background-image:none; | |
| 1561 | + background-color:transparent; | |
| 1562 | + outline:var(--xfa-focus-outline); | |
| 1563 | + outline-offset:-1px; | |
| 1144 | 1564 | } |
| 1145 | -html[dir='rtl'] .toolbarButton.pageDown::before { | |
| 1146 | - content: url(images/toolbarButton-pageDown-rtl.png); | |
| 1565 | + | |
| 1566 | +:is(.xfaCheckbox, .xfaRadio):focus{ | |
| 1567 | + outline:var(--xfa-focus-outline); | |
| 1147 | 1568 | } |
| 1148 | 1569 | |
| 1149 | -.toolbarButton.zoomOut::before { | |
| 1150 | - content: url(images/toolbarButton-zoomOut.png); | |
| 1570 | +.xfaTextfield, | |
| 1571 | +.xfaSelect{ | |
| 1572 | + height:100%; | |
| 1573 | + width:100%; | |
| 1574 | + flex:1 1 auto; | |
| 1575 | + border:none; | |
| 1576 | + resize:none; | |
| 1577 | + background-image:var(--xfa-unfocused-field-background); | |
| 1151 | 1578 | } |
| 1152 | 1579 | |
| 1153 | -.toolbarButton.zoomIn::before { | |
| 1154 | - content: url(images/toolbarButton-zoomIn.png); | |
| 1580 | +.xfaSelect{ | |
| 1581 | + padding-inline:2px; | |
| 1155 | 1582 | } |
| 1156 | 1583 | |
| 1157 | -.toolbarButton.presentationMode::before, | |
| 1158 | -.secondaryToolbarButton.presentationMode::before { | |
| 1159 | - content: url(images/toolbarButton-presentationMode.png); | |
| 1584 | +:is(.xfaTop, .xfaBottom) > :is(.xfaTextfield, .xfaSelect){ | |
| 1585 | + flex:0 1 auto; | |
| 1160 | 1586 | } |
| 1161 | 1587 | |
| 1162 | -.toolbarButton.print::before, | |
| 1163 | -.secondaryToolbarButton.print::before { | |
| 1164 | - content: url(images/toolbarButton-print.png); | |
| 1588 | +.xfaButton{ | |
| 1589 | + cursor:pointer; | |
| 1590 | + width:100%; | |
| 1591 | + height:100%; | |
| 1592 | + border:none; | |
| 1593 | + text-align:center; | |
| 1165 | 1594 | } |
| 1166 | 1595 | |
| 1167 | -.toolbarButton.openFile::before, | |
| 1168 | -.secondaryToolbarButton.openFile::before { | |
| 1169 | - content: url(images/toolbarButton-openFile.png); | |
| 1596 | +.xfaLink{ | |
| 1597 | + width:100%; | |
| 1598 | + height:100%; | |
| 1599 | + position:absolute; | |
| 1600 | + top:0; | |
| 1601 | + left:0; | |
| 1170 | 1602 | } |
| 1171 | 1603 | |
| 1172 | -.toolbarButton.download::before, | |
| 1173 | -.secondaryToolbarButton.download::before { | |
| 1174 | - content: url(images/toolbarButton-download.png); | |
| 1604 | +.xfaCheckbox, | |
| 1605 | +.xfaRadio{ | |
| 1606 | + width:100%; | |
| 1607 | + height:100%; | |
| 1608 | + flex:0 0 auto; | |
| 1609 | + border:none; | |
| 1175 | 1610 | } |
| 1176 | 1611 | |
| 1177 | -.toolbarButton.bookmark, | |
| 1178 | -.secondaryToolbarButton.bookmark { | |
| 1179 | - -webkit-box-sizing: border-box; | |
| 1180 | - -moz-box-sizing: border-box; | |
| 1181 | - box-sizing: border-box; | |
| 1182 | - outline: none; | |
| 1183 | - padding-top: 4px; | |
| 1184 | - text-decoration: none; | |
| 1612 | +.xfaRich{ | |
| 1613 | + white-space:pre-wrap; | |
| 1614 | + width:100%; | |
| 1615 | + height:100%; | |
| 1185 | 1616 | } |
| 1186 | -.secondaryToolbarButton.bookmark { | |
| 1187 | - padding-top: 5px; | |
| 1617 | + | |
| 1618 | +.xfaImage{ | |
| 1619 | + -o-object-position:left top; | |
| 1620 | + object-position:left top; | |
| 1621 | + -o-object-fit:contain; | |
| 1622 | + object-fit:contain; | |
| 1623 | + width:100%; | |
| 1624 | + height:100%; | |
| 1188 | 1625 | } |
| 1189 | 1626 | |
| 1190 | -.bookmark[href='#'] { | |
| 1191 | - opacity: .5; | |
| 1192 | - pointer-events: none; | |
| 1627 | +.xfaLrTb, | |
| 1628 | +.xfaRlTb, | |
| 1629 | +.xfaTb{ | |
| 1630 | + display:flex; | |
| 1631 | + flex-direction:column; | |
| 1632 | + align-items:stretch; | |
| 1193 | 1633 | } |
| 1194 | 1634 | |
| 1195 | -.toolbarButton.bookmark::before, | |
| 1196 | -.secondaryToolbarButton.bookmark::before { | |
| 1197 | - content: url(images/toolbarButton-bookmark.png); | |
| 1635 | +.xfaLr{ | |
| 1636 | + display:flex; | |
| 1637 | + flex-direction:row; | |
| 1638 | + align-items:stretch; | |
| 1198 | 1639 | } |
| 1199 | 1640 | |
| 1200 | -#viewThumbnail.toolbarButton::before { | |
| 1201 | - content: url(images/toolbarButton-viewThumbnail.png); | |
| 1641 | +.xfaRl{ | |
| 1642 | + display:flex; | |
| 1643 | + flex-direction:row-reverse; | |
| 1644 | + align-items:stretch; | |
| 1202 | 1645 | } |
| 1203 | 1646 | |
| 1204 | -html[dir="ltr"] #viewOutline.toolbarButton::before { | |
| 1205 | - content: url(images/toolbarButton-viewOutline.png); | |
| 1647 | +.xfaTb > div{ | |
| 1648 | + justify-content:left; | |
| 1206 | 1649 | } |
| 1207 | -html[dir="rtl"] #viewOutline.toolbarButton::before { | |
| 1208 | - content: url(images/toolbarButton-viewOutline-rtl.png); | |
| 1650 | + | |
| 1651 | +.xfaPosition{ | |
| 1652 | + position:relative; | |
| 1209 | 1653 | } |
| 1210 | 1654 | |
| 1211 | -#viewAttachments.toolbarButton::before { | |
| 1212 | - content: url(images/toolbarButton-viewAttachments.png); | |
| 1655 | +.xfaArea{ | |
| 1656 | + position:relative; | |
| 1213 | 1657 | } |
| 1214 | 1658 | |
| 1215 | -#viewFind.toolbarButton::before { | |
| 1216 | - content: url(images/toolbarButton-search.png); | |
| 1659 | +.xfaValignMiddle{ | |
| 1660 | + display:flex; | |
| 1661 | + align-items:center; | |
| 1217 | 1662 | } |
| 1218 | 1663 | |
| 1219 | -.toolbarButton.pdfSidebarNotification::after { | |
| 1220 | - position: absolute; | |
| 1221 | - display: inline-block; | |
| 1222 | - top: 1px; | |
| 1223 | - /* Create a filled circle, with a diameter of 9 pixels, using only CSS: */ | |
| 1224 | - content: ''; | |
| 1225 | - background-color: #70DB55; | |
| 1226 | - height: 9px; | |
| 1227 | - width: 9px; | |
| 1228 | - border-radius: 50%; | |
| 1664 | +.xfaTable{ | |
| 1665 | + display:flex; | |
| 1666 | + flex-direction:column; | |
| 1667 | + align-items:stretch; | |
| 1229 | 1668 | } |
| 1230 | -html[dir='ltr'] .toolbarButton.pdfSidebarNotification::after { | |
| 1231 | - left: 17px; | |
| 1669 | + | |
| 1670 | +.xfaTable .xfaRow{ | |
| 1671 | + display:flex; | |
| 1672 | + flex-direction:row; | |
| 1673 | + align-items:stretch; | |
| 1232 | 1674 | } |
| 1233 | -html[dir='rtl'] .toolbarButton.pdfSidebarNotification::after { | |
| 1234 | - right: 17px; | |
| 1675 | + | |
| 1676 | +.xfaTable .xfaRlRow{ | |
| 1677 | + display:flex; | |
| 1678 | + flex-direction:row-reverse; | |
| 1679 | + align-items:stretch; | |
| 1680 | + flex:1; | |
| 1235 | 1681 | } |
| 1236 | 1682 | |
| 1237 | -.secondaryToolbarButton { | |
| 1238 | - position: relative; | |
| 1239 | - margin: 0 0 4px 0; | |
| 1240 | - padding: 3px 0 1px 0; | |
| 1241 | - height: auto; | |
| 1242 | - min-height: 25px; | |
| 1243 | - width: auto; | |
| 1244 | - min-width: 100%; | |
| 1245 | - white-space: normal; | |
| 1683 | +.xfaTable .xfaRlRow > div{ | |
| 1684 | + flex:1; | |
| 1246 | 1685 | } |
| 1247 | -html[dir="ltr"] .secondaryToolbarButton { | |
| 1248 | - padding-left: 24px; | |
| 1249 | - text-align: left; | |
| 1686 | + | |
| 1687 | +:is(.xfaNonInteractive, .xfaDisabled, .xfaReadOnly) :is(input, textarea){ | |
| 1688 | + background:initial; | |
| 1250 | 1689 | } |
| 1251 | -html[dir="rtl"] .secondaryToolbarButton { | |
| 1252 | - padding-right: 24px; | |
| 1253 | - text-align: right; | |
| 1690 | + | |
| 1691 | +@media print{ | |
| 1692 | + .xfaTextfield, | |
| 1693 | + .xfaSelect{ | |
| 1694 | + background:transparent; | |
| 1695 | + } | |
| 1696 | + | |
| 1697 | + .xfaSelect{ | |
| 1698 | + -webkit-appearance:none; | |
| 1699 | + -moz-appearance:none; | |
| 1700 | + appearance:none; | |
| 1701 | + text-indent:1px; | |
| 1702 | + text-overflow:""; | |
| 1703 | + } | |
| 1254 | 1704 | } |
| 1255 | -html[dir="ltr"] .secondaryToolbarButton.bookmark { | |
| 1256 | - padding-left: 27px; | |
| 1705 | + | |
| 1706 | +.canvasWrapper svg{ | |
| 1707 | + transform:none; | |
| 1257 | 1708 | } |
| 1258 | -html[dir="rtl"] .secondaryToolbarButton.bookmark { | |
| 1259 | - padding-right: 27px; | |
| 1709 | + | |
| 1710 | +.moving:is(.canvasWrapper svg){ | |
| 1711 | + z-index:100000; | |
| 1260 | 1712 | } |
| 1261 | 1713 | |
| 1262 | -html[dir="ltr"] .secondaryToolbarButton > span { | |
| 1263 | - padding-right: 4px; | |
| 1714 | +[data-main-rotation="90"]:is(.highlight:is(.canvasWrapper svg),.highlightOutline:is(.canvasWrapper svg)) mask,[data-main-rotation="90"]:is(.highlight:is(.canvasWrapper svg),.highlightOutline:is(.canvasWrapper svg)) use:not(.clip,.mask){ | |
| 1715 | + transform:matrix(0, 1, -1, 0, 1, 0); | |
| 1264 | 1716 | } |
| 1265 | -html[dir="rtl"] .secondaryToolbarButton > span { | |
| 1266 | - padding-left: 4px; | |
| 1717 | + | |
| 1718 | +[data-main-rotation="180"]:is(.highlight:is(.canvasWrapper svg),.highlightOutline:is(.canvasWrapper svg)) mask,[data-main-rotation="180"]:is(.highlight:is(.canvasWrapper svg),.highlightOutline:is(.canvasWrapper svg)) use:not(.clip,.mask){ | |
| 1719 | + transform:matrix(-1, 0, 0, -1, 1, 1); | |
| 1267 | 1720 | } |
| 1268 | 1721 | |
| 1269 | -.secondaryToolbarButton.firstPage::before { | |
| 1270 | - content: url(images/secondaryToolbarButton-firstPage.png); | |
| 1722 | +[data-main-rotation="270"]:is(.highlight:is(.canvasWrapper svg),.highlightOutline:is(.canvasWrapper svg)) mask,[data-main-rotation="270"]:is(.highlight:is(.canvasWrapper svg),.highlightOutline:is(.canvasWrapper svg)) use:not(.clip,.mask){ | |
| 1723 | + transform:matrix(0, -1, 1, 0, 0, 1); | |
| 1271 | 1724 | } |
| 1272 | 1725 | |
| 1273 | -.secondaryToolbarButton.lastPage::before { | |
| 1274 | - content: url(images/secondaryToolbarButton-lastPage.png); | |
| 1726 | +.draw:is(.canvasWrapper svg){ | |
| 1727 | + position:absolute; | |
| 1728 | + mix-blend-mode:normal; | |
| 1275 | 1729 | } |
| 1276 | 1730 | |
| 1277 | -.secondaryToolbarButton.rotateCcw::before { | |
| 1278 | - content: url(images/secondaryToolbarButton-rotateCcw.png); | |
| 1731 | +.draw[data-draw-rotation="90"]:is(.canvasWrapper svg){ | |
| 1732 | + transform:rotate(90deg); | |
| 1279 | 1733 | } |
| 1280 | 1734 | |
| 1281 | -.secondaryToolbarButton.rotateCw::before { | |
| 1282 | - content: url(images/secondaryToolbarButton-rotateCw.png); | |
| 1735 | +.draw[data-draw-rotation="180"]:is(.canvasWrapper svg){ | |
| 1736 | + transform:rotate(180deg); | |
| 1283 | 1737 | } |
| 1284 | 1738 | |
| 1285 | -.secondaryToolbarButton.selectTool::before { | |
| 1286 | - content: url(images/secondaryToolbarButton-selectTool.png); | |
| 1739 | +.draw[data-draw-rotation="270"]:is(.canvasWrapper svg){ | |
| 1740 | + transform:rotate(270deg); | |
| 1287 | 1741 | } |
| 1288 | 1742 | |
| 1289 | -.secondaryToolbarButton.handTool::before { | |
| 1290 | - content: url(images/secondaryToolbarButton-handTool.png); | |
| 1743 | +.highlight:is(.canvasWrapper svg){ | |
| 1744 | + --blend-mode:multiply; | |
| 1291 | 1745 | } |
| 1292 | 1746 | |
| 1293 | -.secondaryToolbarButton.documentProperties::before { | |
| 1294 | - content: url(images/secondaryToolbarButton-documentProperties.png); | |
| 1747 | +@media screen and (forced-colors: active){ | |
| 1748 | + | |
| 1749 | + .highlight:is(.canvasWrapper svg){ | |
| 1750 | + --blend-mode:difference; | |
| 1751 | + } | |
| 1295 | 1752 | } |
| 1296 | 1753 | |
| 1297 | -.verticalToolbarSeparator { | |
| 1298 | - display: block; | |
| 1299 | - padding: 8px 0; | |
| 1300 | - margin: 8px 4px; | |
| 1301 | - width: 1px; | |
| 1302 | - background-color: hsla(0,0%,0%,.5); | |
| 1303 | - box-shadow: 0 0 0 1px hsla(0,0%,100%,.08); | |
| 1754 | +.highlight:is(.canvasWrapper svg){ | |
| 1755 | + | |
| 1756 | + position:absolute; | |
| 1757 | + mix-blend-mode:var(--blend-mode); | |
| 1304 | 1758 | } |
| 1305 | -html[dir='ltr'] .verticalToolbarSeparator { | |
| 1306 | - margin-left: 2px; | |
| 1759 | + | |
| 1760 | +.highlight:is(.canvasWrapper svg):not(.free){ | |
| 1761 | + fill-rule:evenodd; | |
| 1307 | 1762 | } |
| 1308 | -html[dir='rtl'] .verticalToolbarSeparator { | |
| 1309 | - margin-right: 2px; | |
| 1763 | + | |
| 1764 | +.highlightOutline:is(.canvasWrapper svg){ | |
| 1765 | + position:absolute; | |
| 1766 | + mix-blend-mode:normal; | |
| 1767 | + fill-rule:evenodd; | |
| 1768 | + fill:none; | |
| 1310 | 1769 | } |
| 1311 | 1770 | |
| 1312 | -.horizontalToolbarSeparator { | |
| 1313 | - display: block; | |
| 1314 | - margin: 0 0 4px 0; | |
| 1315 | - height: 1px; | |
| 1316 | - width: 100%; | |
| 1317 | - background-color: hsla(0,0%,0%,.5); | |
| 1318 | - box-shadow: 0 0 0 1px hsla(0,0%,100%,.08); | |
| 1771 | +.highlightOutline.hovered:is(.canvasWrapper svg):not(.free):not(.selected){ | |
| 1772 | + stroke:var(--hover-outline-color); | |
| 1773 | + stroke-width:var(--outline-width); | |
| 1319 | 1774 | } |
| 1320 | 1775 | |
| 1321 | -.toolbarField { | |
| 1322 | - padding: 3px 6px; | |
| 1323 | - margin: 4px 0 4px 0; | |
| 1324 | - border: 1px solid transparent; | |
| 1325 | - border-radius: 2px; | |
| 1326 | - background-color: hsla(0,0%,100%,.09); | |
| 1327 | - background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0)); | |
| 1328 | - background-clip: padding-box; | |
| 1329 | - border: 1px solid hsla(0,0%,0%,.35); | |
| 1330 | - border-color: hsla(0,0%,0%,.32) hsla(0,0%,0%,.38) hsla(0,0%,0%,.42); | |
| 1331 | - box-shadow: 0 1px 0 hsla(0,0%,0%,.05) inset, | |
| 1332 | - 0 1px 0 hsla(0,0%,100%,.05); | |
| 1333 | - color: hsl(0,0%,95%); | |
| 1334 | - font-size: 12px; | |
| 1335 | - line-height: 14px; | |
| 1336 | - outline-style: none; | |
| 1337 | - transition-property: background-color, border-color, box-shadow; | |
| 1338 | - transition-duration: 150ms; | |
| 1339 | - transition-timing-function: ease; | |
| 1776 | +.highlightOutline.selected:is(.canvasWrapper svg):not(.free) .mainOutline{ | |
| 1777 | + stroke:var(--outline-around-color); | |
| 1778 | + stroke-width:calc( | |
| 1779 | + var(--outline-width) + 2 * var(--outline-around-width) | |
| 1780 | + ); | |
| 1340 | 1781 | } |
| 1341 | 1782 | |
| 1342 | -.toolbarField[type=checkbox] { | |
| 1343 | - display: inline-block; | |
| 1344 | - margin: 8px 0px; | |
| 1783 | +.highlightOutline.selected:is(.canvasWrapper svg):not(.free) .secondaryOutline{ | |
| 1784 | + stroke:var(--outline-color); | |
| 1785 | + stroke-width:var(--outline-width); | |
| 1345 | 1786 | } |
| 1346 | 1787 | |
| 1347 | -.toolbarField.pageNumber { | |
| 1348 | - -moz-appearance: textfield; /* hides the spinner in moz */ | |
| 1349 | - min-width: 16px; | |
| 1350 | - text-align: right; | |
| 1351 | - width: 40px; | |
| 1788 | +.highlightOutline.free.hovered:is(.canvasWrapper svg):not(.selected){ | |
| 1789 | + stroke:var(--hover-outline-color); | |
| 1790 | + stroke-width:calc(2 * var(--outline-width)); | |
| 1352 | 1791 | } |
| 1353 | 1792 | |
| 1354 | -.toolbarField.pageNumber.visiblePageIsLoading { | |
| 1355 | - background-image: url(images/loading-small.png); | |
| 1356 | - background-repeat: no-repeat; | |
| 1357 | - background-position: 1px; | |
| 1793 | +.highlightOutline.free.selected:is(.canvasWrapper svg) .mainOutline{ | |
| 1794 | + stroke:var(--outline-around-color); | |
| 1795 | + stroke-width:calc( | |
| 1796 | + 2 * (var(--outline-width) + var(--outline-around-width)) | |
| 1797 | + ); | |
| 1358 | 1798 | } |
| 1359 | 1799 | |
| 1360 | -.toolbarField.pageNumber::-webkit-inner-spin-button, | |
| 1361 | -.toolbarField.pageNumber::-webkit-outer-spin-button { | |
| 1362 | - -webkit-appearance: none; | |
| 1363 | - margin: 0; | |
| 1800 | +.highlightOutline.free.selected:is(.canvasWrapper svg) .secondaryOutline{ | |
| 1801 | + stroke:var(--outline-color); | |
| 1802 | + stroke-width:calc(2 * var(--outline-width)); | |
| 1364 | 1803 | } |
| 1365 | 1804 | |
| 1366 | -.toolbarField:hover { | |
| 1367 | - background-color: hsla(0,0%,100%,.11); | |
| 1368 | - border-color: hsla(0,0%,0%,.4) hsla(0,0%,0%,.43) hsla(0,0%,0%,.45); | |
| 1805 | +.toggle-button{ | |
| 1806 | + --button-background-color:color-mix(in srgb, currentColor 7%, transparent); | |
| 1807 | + --button-background-color-hover:color-mix( | |
| 1808 | + in srgb, | |
| 1809 | + currentColor 14%, | |
| 1810 | + transparent | |
| 1811 | + ); | |
| 1812 | + --button-background-color-active:color-mix( | |
| 1813 | + in srgb, | |
| 1814 | + currentColor 21%, | |
| 1815 | + transparent | |
| 1816 | + ); | |
| 1817 | + --csstools-light-dark-toggle--66:var(--csstools-color-scheme--light) #0df; | |
| 1818 | + --color-accent-primary:var(--csstools-light-dark-toggle--66, #0060df); | |
| 1819 | + --csstools-light-dark-toggle--67:var(--csstools-color-scheme--light) #80ebff; | |
| 1820 | + --color-accent-primary-hover:var(--csstools-light-dark-toggle--67, #0250bb); | |
| 1821 | + --csstools-light-dark-toggle--68:var(--csstools-color-scheme--light) #aaf2ff; | |
| 1822 | + --color-accent-primary-active:var(--csstools-light-dark-toggle--68, #054096); | |
| 1823 | + --border-radius-circle:9999px; | |
| 1824 | + --border-width:1px; | |
| 1825 | + --size-item-small:16px; | |
| 1826 | + --size-item-large:32px; | |
| 1827 | + --csstools-light-dark-toggle--69:var(--csstools-color-scheme--light) #1c1b22; | |
| 1828 | + --color-canvas:var(--csstools-light-dark-toggle--69, white); | |
| 1829 | + --background-color-canvas:var(--color-canvas); | |
| 1830 | + --csstools-light-dark-toggle--70:var(--csstools-color-scheme--light) #f9f9fa; | |
| 1831 | + --border-color-interactive:var(--csstools-light-dark-toggle--70, #8f8f9d); | |
| 1832 | + --border-color-interactive-hover:var(--border-color-interactive); | |
| 1833 | + --border-color-interactive-active:var(--border-color-interactive); | |
| 1369 | 1834 | } |
| 1370 | 1835 | |
| 1371 | -.toolbarField:focus { | |
| 1372 | - background-color: hsla(0,0%,100%,.15); | |
| 1373 | - border-color: hsla(204,100%,65%,.8) hsla(204,100%,65%,.85) hsla(204,100%,65%,.9); | |
| 1836 | +@supports (color: light-dark(red, red)){ | |
| 1837 | + .toggle-button{ | |
| 1838 | + --color-accent-primary:light-dark(#0060df, #0df); | |
| 1839 | + --color-accent-primary-hover:light-dark(#0250bb, #80ebff); | |
| 1840 | + --color-accent-primary-active:light-dark(#054096, #aaf2ff); | |
| 1841 | + --color-canvas:light-dark(white, #1c1b22); | |
| 1842 | + --border-color-interactive:light-dark(#8f8f9d, #f9f9fa); | |
| 1843 | + } | |
| 1374 | 1844 | } |
| 1375 | 1845 | |
| 1376 | -.toolbarLabel { | |
| 1377 | - min-width: 16px; | |
| 1378 | - padding: 3px 6px 3px 2px; | |
| 1379 | - margin: 4px 2px 4px 0; | |
| 1380 | - border: 1px solid transparent; | |
| 1381 | - border-radius: 2px; | |
| 1382 | - color: hsl(0,0%,85%); | |
| 1383 | - font-size: 12px; | |
| 1384 | - line-height: 14px; | |
| 1385 | - text-align: left; | |
| 1386 | - -webkit-user-select: none; | |
| 1387 | - -moz-user-select: none; | |
| 1388 | - cursor: default; | |
| 1846 | +@supports not (color: light-dark(tan, tan)){ | |
| 1847 | + | |
| 1848 | + .toggle-button *{ | |
| 1849 | + --csstools-light-dark-toggle--66:var(--csstools-color-scheme--light) #0df; | |
| 1850 | + --color-accent-primary:var(--csstools-light-dark-toggle--66, #0060df); | |
| 1851 | + --csstools-light-dark-toggle--67:var(--csstools-color-scheme--light) #80ebff; | |
| 1852 | + --color-accent-primary-hover:var(--csstools-light-dark-toggle--67, #0250bb); | |
| 1853 | + --csstools-light-dark-toggle--68:var(--csstools-color-scheme--light) #aaf2ff; | |
| 1854 | + --color-accent-primary-active:var(--csstools-light-dark-toggle--68, #054096); | |
| 1855 | + --csstools-light-dark-toggle--69:var(--csstools-color-scheme--light) #1c1b22; | |
| 1856 | + --color-canvas:var(--csstools-light-dark-toggle--69, white); | |
| 1857 | + --csstools-light-dark-toggle--70:var(--csstools-color-scheme--light) #f9f9fa; | |
| 1858 | + --border-color-interactive:var(--csstools-light-dark-toggle--70, #8f8f9d); | |
| 1859 | + } | |
| 1389 | 1860 | } |
| 1390 | 1861 | |
| 1391 | -#thumbnailView { | |
| 1392 | - position: absolute; | |
| 1393 | - width: 120px; | |
| 1394 | - top: 0; | |
| 1395 | - bottom: 0; | |
| 1396 | - padding: 10px 40px 0; | |
| 1397 | - overflow: auto; | |
| 1398 | - -webkit-overflow-scrolling: touch; | |
| 1862 | +@media (forced-colors: active){ | |
| 1863 | + | |
| 1864 | + .toggle-button{ | |
| 1865 | + --color-accent-primary:ButtonText; | |
| 1866 | + --color-accent-primary-hover:SelectedItem; | |
| 1867 | + --color-accent-primary-active:SelectedItem; | |
| 1868 | + --button-background-color:ButtonFace; | |
| 1869 | + --border-color-interactive:ButtonText; | |
| 1870 | + --border-color-interactive-hover:SelectedItem; | |
| 1871 | + --border-color-interactive-active:ButtonText; | |
| 1872 | + --color-canvas:ButtonText; | |
| 1873 | + --background-color-canvas:Canvas; | |
| 1874 | + } | |
| 1399 | 1875 | } |
| 1400 | 1876 | |
| 1401 | -.thumbnail { | |
| 1402 | - float: left; | |
| 1403 | - margin-bottom: 5px; | |
| 1877 | +.toggle-button{ | |
| 1878 | + --toggle-background-color:var(--button-background-color); | |
| 1879 | + --toggle-background-color-hover:var(--button-background-color-hover); | |
| 1880 | + --toggle-background-color-active:var(--button-background-color-active); | |
| 1881 | + --toggle-background-color-pressed:var(--color-accent-primary); | |
| 1882 | + --toggle-background-color-pressed-hover:var(--color-accent-primary-hover); | |
| 1883 | + --toggle-background-color-pressed-active:var(--color-accent-primary-active); | |
| 1884 | + --toggle-border-color:var(--border-color-interactive); | |
| 1885 | + --toggle-border-color-hover:var(--toggle-border-color); | |
| 1886 | + --toggle-border-color-active:var(--toggle-border-color); | |
| 1887 | + --toggle-border-radius:var(--border-radius-circle); | |
| 1888 | + --toggle-border-width:var(--border-width); | |
| 1889 | + --toggle-height:var(--size-item-small); | |
| 1890 | + --toggle-width:var(--size-item-large); | |
| 1891 | + --toggle-dot-background-color:var(--toggle-border-color); | |
| 1892 | + --toggle-dot-background-color-hover:var(--toggle-dot-background-color); | |
| 1893 | + --toggle-dot-background-color-active:var(--toggle-dot-background-color); | |
| 1894 | + --toggle-dot-background-color-on-pressed:var(--background-color-canvas); | |
| 1895 | + --toggle-dot-margin:1px; | |
| 1896 | + --toggle-dot-height:calc( | |
| 1897 | + var(--toggle-height) - 2 * var(--toggle-dot-margin) - 2 * | |
| 1898 | + var(--toggle-border-width) | |
| 1899 | + ); | |
| 1900 | + --toggle-dot-width:var(--toggle-dot-height); | |
| 1901 | + --toggle-dot-transform-x:calc( | |
| 1902 | + var(--toggle-width) - 4 * var(--toggle-dot-margin) - var(--toggle-dot-width) | |
| 1903 | + ); | |
| 1904 | + --input-width:var(--toggle-width); | |
| 1905 | + | |
| 1906 | + -webkit-appearance:none; | |
| 1907 | + | |
| 1908 | + -moz-appearance:none; | |
| 1909 | + | |
| 1910 | + appearance:none; | |
| 1911 | + padding:0; | |
| 1912 | + border:var(--toggle-border-width) solid var(--toggle-border-color); | |
| 1913 | + height:var(--toggle-height); | |
| 1914 | + width:var(--toggle-width); | |
| 1915 | + border-radius:var(--toggle-border-radius); | |
| 1916 | + background-color:var(--toggle-background-color); | |
| 1917 | + box-sizing:border-box; | |
| 1404 | 1918 | } |
| 1405 | 1919 | |
| 1406 | -#thumbnailView > a:last-of-type > .thumbnail { | |
| 1407 | - margin-bottom: 10px; | |
| 1920 | +.toggle-button:focus-visible{ | |
| 1921 | + outline:var(--focus-outline); | |
| 1922 | + outline-offset:var(--focus-outline-offset); | |
| 1408 | 1923 | } |
| 1409 | 1924 | |
| 1410 | -#thumbnailView > a:last-of-type > .thumbnail:not([data-loaded]) { | |
| 1411 | - margin-bottom: 9px; | |
| 1925 | +.toggle-button:enabled:hover{ | |
| 1926 | + background-color:var(--toggle-background-color-hover); | |
| 1927 | + border-color:var(--toggle-border-color); | |
| 1412 | 1928 | } |
| 1413 | 1929 | |
| 1414 | -.thumbnail:not([data-loaded]) { | |
| 1415 | - border: 1px dashed rgba(255, 255, 255, 0.5); | |
| 1416 | - margin: -1px -1px 4px -1px; | |
| 1930 | +.toggle-button:enabled:hover:active{ | |
| 1931 | + background-color:var(--toggle-background-color-active); | |
| 1932 | + border-color:var(--toggle-border-color); | |
| 1417 | 1933 | } |
| 1418 | 1934 | |
| 1419 | -.thumbnailImage { | |
| 1420 | - border: 1px solid transparent; | |
| 1421 | - box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.3); | |
| 1422 | - opacity: 0.8; | |
| 1423 | - z-index: 99; | |
| 1424 | - background-color: white; | |
| 1425 | - background-clip: content-box; | |
| 1935 | +.toggle-button::before{ | |
| 1936 | + display:block; | |
| 1937 | + content:""; | |
| 1938 | + background-color:var(--toggle-dot-background-color); | |
| 1939 | + height:var(--toggle-dot-height); | |
| 1940 | + width:var(--toggle-dot-width); | |
| 1941 | + margin:var(--toggle-dot-margin); | |
| 1942 | + border-radius:var(--toggle-border-radius); | |
| 1943 | + translate:0; | |
| 1426 | 1944 | } |
| 1427 | 1945 | |
| 1428 | -.thumbnailSelectionRing { | |
| 1429 | - border-radius: 2px; | |
| 1430 | - padding: 7px; | |
| 1946 | +.toggle-button[aria-pressed="true"]{ | |
| 1947 | + background-color:var(--toggle-background-color-pressed); | |
| 1948 | + border-color:transparent; | |
| 1431 | 1949 | } |
| 1432 | 1950 | |
| 1433 | -a:focus > .thumbnail > .thumbnailSelectionRing > .thumbnailImage, | |
| 1434 | -.thumbnail:hover > .thumbnailSelectionRing > .thumbnailImage { | |
| 1435 | - opacity: .9; | |
| 1951 | +.toggle-button[aria-pressed="true"]:enabled:hover{ | |
| 1952 | + background-color:var(--toggle-background-color-pressed-hover); | |
| 1953 | + border-color:transparent; | |
| 1436 | 1954 | } |
| 1437 | 1955 | |
| 1438 | -a:focus > .thumbnail > .thumbnailSelectionRing, | |
| 1439 | -.thumbnail:hover > .thumbnailSelectionRing { | |
| 1440 | - background-color: hsla(0,0%,100%,.15); | |
| 1441 | - background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0)); | |
| 1442 | - background-clip: padding-box; | |
| 1443 | - box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset, | |
| 1444 | - 0 0 1px hsla(0,0%,100%,.2) inset, | |
| 1445 | - 0 0 1px hsla(0,0%,0%,.2); | |
| 1446 | - color: hsla(0,0%,100%,.9); | |
| 1956 | +.toggle-button[aria-pressed="true"]:enabled:hover:active{ | |
| 1957 | + background-color:var(--toggle-background-color-pressed-active); | |
| 1958 | + border-color:transparent; | |
| 1447 | 1959 | } |
| 1448 | 1960 | |
| 1449 | -.thumbnail.selected > .thumbnailSelectionRing > .thumbnailImage { | |
| 1450 | - box-shadow: 0 0 0 1px hsla(0,0%,0%,.5); | |
| 1451 | - opacity: 1; | |
| 1961 | +.toggle-button[aria-pressed="true"]::before{ | |
| 1962 | + translate:var(--toggle-dot-transform-x); | |
| 1963 | + background-color:var(--toggle-dot-background-color-on-pressed); | |
| 1452 | 1964 | } |
| 1453 | 1965 | |
| 1454 | -.thumbnail.selected > .thumbnailSelectionRing { | |
| 1455 | - background-color: hsla(0,0%,100%,.3); | |
| 1456 | - background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0)); | |
| 1457 | - background-clip: padding-box; | |
| 1458 | - box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset, | |
| 1459 | - 0 0 1px hsla(0,0%,100%,.1) inset, | |
| 1460 | - 0 0 1px hsla(0,0%,0%,.2); | |
| 1461 | - color: hsla(0,0%,100%,1); | |
| 1966 | +.toggle-button[aria-pressed="true"]:enabled:hover::before,.toggle-button[aria-pressed="true"]:enabled:hover:active::before{ | |
| 1967 | + background-color:var(--toggle-dot-background-color-on-pressed); | |
| 1462 | 1968 | } |
| 1463 | 1969 | |
| 1970 | +.toggle-button[aria-pressed="true"]:-moz-locale-dir(rtl)::before,[dir="rtl"] .toggle-button[aria-pressed="true"]::before{ | |
| 1971 | + translate:calc(-1 * var(--toggle-dot-transform-x)); | |
| 1972 | +} | |
| 1973 | + | |
| 1974 | +@media (prefers-reduced-motion: no-preference){ | |
| 1975 | + .toggle-button::before{ | |
| 1976 | + transition:translate 100ms; | |
| 1977 | + } | |
| 1978 | +} | |
| 1979 | + | |
| 1980 | +@media (prefers-contrast){ | |
| 1981 | + .toggle-button:enabled:hover{ | |
| 1982 | + border-color:var(--toggle-border-color-hover); | |
| 1983 | + } | |
| 1984 | + | |
| 1985 | + .toggle-button:enabled:hover:active{ | |
| 1986 | + border-color:var(--toggle-border-color-active); | |
| 1987 | + } | |
| 1988 | + | |
| 1989 | + .toggle-button[aria-pressed="true"]:enabled{ | |
| 1990 | + border-color:var(--toggle-border-color); | |
| 1991 | + position:relative; | |
| 1992 | + } | |
| 1993 | + | |
| 1994 | + .toggle-button[aria-pressed="true"]:enabled:hover{ | |
| 1995 | + border-color:var(--toggle-border-color-hover); | |
| 1996 | + } | |
| 1997 | + | |
| 1998 | + .toggle-button[aria-pressed="true"]:enabled:hover:active{ | |
| 1999 | + background-color:var(--toggle-dot-background-color-active); | |
| 2000 | + border-color:var(--toggle-dot-background-color-hover); | |
| 2001 | + } | |
| 2002 | + | |
| 2003 | + .toggle-button:enabled:hover::before, | |
| 2004 | + .toggle-button:enabled:hover:active::before{ | |
| 2005 | + background-color:var(--toggle-dot-background-color-hover); | |
| 2006 | + } | |
| 2007 | +} | |
| 2008 | + | |
| 2009 | +@media (forced-colors){ | |
| 2010 | + .toggle-button{ | |
| 2011 | + --toggle-dot-background-color:var(--color-accent-primary); | |
| 2012 | + --toggle-dot-background-color-hover:var(--color-accent-primary-hover); | |
| 2013 | + --toggle-dot-background-color-active:var(--color-accent-primary-active); | |
| 2014 | + --toggle-dot-background-color-on-pressed:var(--button-background-color); | |
| 2015 | + --toggle-border-color-hover:var(--border-color-interactive-hover); | |
| 2016 | + --toggle-border-color-active:var(--border-color-interactive-active); | |
| 2017 | + } | |
| 2018 | + | |
| 2019 | + .toggle-button[aria-pressed="true"]:enabled::after{ | |
| 2020 | + border:1px solid var(--button-background-color); | |
| 2021 | + content:""; | |
| 2022 | + position:absolute; | |
| 2023 | + height:var(--toggle-height); | |
| 2024 | + width:var(--toggle-width); | |
| 2025 | + display:block; | |
| 2026 | + border-radius:var(--toggle-border-radius); | |
| 2027 | + inset:-2px; | |
| 2028 | + } | |
| 2029 | + | |
| 2030 | + .toggle-button[aria-pressed="true"]:enabled:hover:active::after{ | |
| 2031 | + border-color:var(--toggle-border-color-active); | |
| 2032 | + } | |
| 2033 | +} | |
| 2034 | + | |
| 2035 | +:root{ | |
| 2036 | + --clear-signature-button-icon:url(images/editor-toolbar-delete.svg); | |
| 2037 | + --csstools-light-dark-toggle--71:var(--csstools-color-scheme--light) #2b2a33; | |
| 2038 | + --signature-bg:var(--csstools-light-dark-toggle--71, #f9f9fb); | |
| 2039 | + --csstools-light-dark-toggle--72:var(--csstools-color-scheme--light) var(--signature-bg); | |
| 2040 | + --signature-hover-bg:var(--csstools-light-dark-toggle--72, #f0f0f4); | |
| 2041 | + --button-signature-bg:transparent; | |
| 2042 | + --button-signature-color:var(--main-color); | |
| 2043 | + --csstools-light-dark-toggle--73:var(--csstools-color-scheme--light) #5b5b66; | |
| 2044 | + --button-signature-active-bg:var(--csstools-light-dark-toggle--73, #cfcfd8); | |
| 2045 | + --button-signature-active-border:none; | |
| 2046 | + --button-signature-active-color:var(--button-signature-color); | |
| 2047 | + --button-signature-border:none; | |
| 2048 | + --csstools-light-dark-toggle--74:var(--csstools-color-scheme--light) #52525e; | |
| 2049 | + --button-signature-hover-bg:var(--csstools-light-dark-toggle--74, #e0e0e6); | |
| 2050 | + --button-signature-hover-color:var(--button-signature-color); | |
| 2051 | +} | |
| 2052 | + | |
| 2053 | +@supports (color: light-dark(red, red)){ | |
| 2054 | + :root{ | |
| 2055 | + --signature-bg:light-dark(#f9f9fb, #2b2a33); | |
| 2056 | + --signature-hover-bg:light-dark(#f0f0f4, var(--signature-bg)); | |
| 2057 | + --button-signature-active-bg:light-dark(#cfcfd8, #5b5b66); | |
| 2058 | + --button-signature-hover-bg:light-dark(#e0e0e6, #52525e); | |
| 2059 | + } | |
| 2060 | +} | |
| 2061 | + | |
| 2062 | +@supports not (color: light-dark(tan, tan)){ | |
| 2063 | + | |
| 2064 | + :root *{ | |
| 2065 | + --csstools-light-dark-toggle--71:var(--csstools-color-scheme--light) #2b2a33; | |
| 2066 | + --signature-bg:var(--csstools-light-dark-toggle--71, #f9f9fb); | |
| 2067 | + --csstools-light-dark-toggle--72:var(--csstools-color-scheme--light) var(--signature-bg); | |
| 2068 | + --signature-hover-bg:var(--csstools-light-dark-toggle--72, #f0f0f4); | |
| 2069 | + --csstools-light-dark-toggle--73:var(--csstools-color-scheme--light) #5b5b66; | |
| 2070 | + --button-signature-active-bg:var(--csstools-light-dark-toggle--73, #cfcfd8); | |
| 2071 | + --csstools-light-dark-toggle--74:var(--csstools-color-scheme--light) #52525e; | |
| 2072 | + --button-signature-hover-bg:var(--csstools-light-dark-toggle--74, #e0e0e6); | |
| 2073 | + } | |
| 2074 | +} | |
| 2075 | + | |
| 2076 | +@media screen and (forced-colors: active){ | |
| 2077 | + | |
| 2078 | + :root{ | |
| 2079 | + --signature-bg:HighlightText; | |
| 2080 | + --signature-hover-bg:var(--signature-bg); | |
| 2081 | + --button-signature-bg:HighlightText; | |
| 2082 | + --button-signature-color:ButtonText; | |
| 2083 | + --button-signature-active-bg:ButtonText; | |
| 2084 | + --button-signature-active-color:HighlightText; | |
| 2085 | + --button-signature-border:1px solid ButtonText; | |
| 2086 | + --button-signature-hover-bg:Highlight; | |
| 2087 | + --button-signature-hover-color:HighlightText; | |
| 2088 | + } | |
| 2089 | +} | |
| 2090 | + | |
| 2091 | +.signatureDialog{ | |
| 2092 | + --primary-color:var(--text-primary-color); | |
| 2093 | + --border-color:#8f8f9d; | |
| 2094 | + --open-link-fg:var(--link-fg-color); | |
| 2095 | + --open-link-hover-fg:var(--link-hover-fg-color); | |
| 2096 | +} | |
| 2097 | + | |
| 2098 | +@media screen and (forced-colors: active){ | |
| 2099 | + | |
| 2100 | + .signatureDialog{ | |
| 2101 | + --primary-color:ButtonText; | |
| 2102 | + --border-color:ButtonText; | |
| 2103 | + --open-link-fg:ButtonText; | |
| 2104 | + --open-link-hover-fg:ButtonText; | |
| 2105 | + } | |
| 2106 | +} | |
| 2107 | + | |
| 2108 | +.signatureDialog{ | |
| 2109 | + | |
| 2110 | + width:570px; | |
| 2111 | + max-width:100%; | |
| 2112 | + min-width:300px; | |
| 2113 | + padding:16px 0; | |
| 2114 | +} | |
| 2115 | + | |
| 2116 | +.signatureDialog .mainContainer{ | |
| 2117 | + width:100%; | |
| 2118 | + display:flex; | |
| 2119 | + flex-direction:column; | |
| 2120 | + align-items:flex-start; | |
| 2121 | + gap:12px; | |
| 2122 | +} | |
| 2123 | + | |
| 2124 | +:is(.signatureDialog .mainContainer) span:not([role="sectionhead"]){ | |
| 2125 | + font-size:13px; | |
| 2126 | + font-style:normal; | |
| 2127 | + font-weight:400; | |
| 2128 | + line-height:normal; | |
| 2129 | +} | |
| 2130 | + | |
| 2131 | +:is(.signatureDialog .mainContainer) .title{ | |
| 2132 | + margin-inline-start:16px; | |
| 2133 | +} | |
| 2134 | + | |
| 2135 | +.signatureDialog .inputWithClearButton{ | |
| 2136 | + --button-dimension:24px; | |
| 2137 | + --clear-button-icon:url(images/messageBar_closingButton.svg); | |
| 2138 | + | |
| 2139 | + width:100%; | |
| 2140 | + position:relative; | |
| 2141 | + display:flex; | |
| 2142 | + align-items:center; | |
| 2143 | + justify-content:center; | |
| 2144 | +} | |
| 2145 | + | |
| 2146 | +:is(.signatureDialog .inputWithClearButton) > input{ | |
| 2147 | + width:100%; | |
| 2148 | + height:32px; | |
| 2149 | + padding-inline:8px calc(4px + var(--button-dimension)); | |
| 2150 | + box-sizing:border-box; | |
| 2151 | + border-radius:4px; | |
| 2152 | + border:1px solid var(--border-color); | |
| 2153 | +} | |
| 2154 | + | |
| 2155 | +:is(.signatureDialog .inputWithClearButton) .clearInputButton{ | |
| 2156 | + position:absolute; | |
| 2157 | + inset-block-start:4px; | |
| 2158 | + inset-inline-end:4px; | |
| 2159 | + display:inline-block; | |
| 2160 | + width:var(--button-dimension); | |
| 2161 | + height:var(--button-dimension); | |
| 2162 | + background-color:var(--input-text-fg-color); | |
| 2163 | + -webkit-mask-size:cover; | |
| 2164 | + mask-size:cover; | |
| 2165 | + -webkit-mask-image:var(--clear-button-icon); | |
| 2166 | + mask-image:var(--clear-button-icon); | |
| 2167 | + padding:0; | |
| 2168 | + border:0; | |
| 2169 | +} | |
| 2170 | + | |
| 2171 | +#addSignatureDialog{ | |
| 2172 | + --secondary-color:var(--text-secondary-color); | |
| 2173 | + --bg-hover:#e0e0e6; | |
| 2174 | + --tab-top-line-active-color:#0060df; | |
| 2175 | + --tab-top-line-active-hover-color:var(--tab-text-hover-color); | |
| 2176 | + --tab-top-line-hover-color:#8f8f9d; | |
| 2177 | + --tab-top-line-inactive-color:#cfcfd8; | |
| 2178 | + --tab-bottom-line-active-color:var(--tab-top-line-inactive-color); | |
| 2179 | + --tab-bottom-line-hover-color:var(--tab-top-line-inactive-color); | |
| 2180 | + --tab-bottom-line-inactive-color:var(--tab-top-line-inactive-color); | |
| 2181 | + --tab-bg:var(--dialog-bg-color); | |
| 2182 | + --tab-bg-active-color:var(--tab-bg); | |
| 2183 | + --tab-bg-active-hover-color:var(--bg-hover); | |
| 2184 | + --tab-bg-hover:var(--bg-hover); | |
| 2185 | + --tab-panel-border:none; | |
| 2186 | + --tab-panel-border-radius:4px; | |
| 2187 | + --tab-text-color:var(--primary-color); | |
| 2188 | + --tab-text-active-color:var(--tab-top-line-active-color); | |
| 2189 | + --tab-text-active-hover-color:var(--tab-text-hover-color); | |
| 2190 | + --tab-text-hover-color:var(--tab-text-color); | |
| 2191 | + --signature-placeholder-color:var(--secondary-color); | |
| 2192 | + --signature-draw-placeholder-color:var(--primary-color); | |
| 2193 | + --signature-color:var(--primary-color); | |
| 2194 | + --clear-signature-button-border-width:0; | |
| 2195 | + --clear-signature-button-border-style:solid; | |
| 2196 | + --clear-signature-button-border-color:transparent; | |
| 2197 | + --clear-signature-button-border-disabled-color:transparent; | |
| 2198 | + --clear-signature-button-color:var(--primary-color); | |
| 2199 | + --clear-signature-button-hover-color:var(--clear-signature-button-color); | |
| 2200 | + --clear-signature-button-active-color:var(--clear-signature-button-color); | |
| 2201 | + --clear-signature-button-disabled-color:var(--clear-signature-button-color); | |
| 2202 | + --clear-signature-button-focus-color:var(--clear-signature-button-color); | |
| 2203 | + --clear-signature-button-bg:var(--dialog-bg-color); | |
| 2204 | + --clear-signature-button-bg-hover:var(--bg-hover); | |
| 2205 | + --clear-signature-button-bg-active:#cfcfd8; | |
| 2206 | + --clear-signature-button-bg-focus:#f0f0f4; | |
| 2207 | + --clear-signature-button-bg-disabled:color-mix( | |
| 2208 | + in srgb, | |
| 2209 | + #f0f0f4, | |
| 2210 | + transparent 40% | |
| 2211 | + ); | |
| 2212 | + --save-warning-color:var(--secondary-color); | |
| 2213 | + --thickness-bg:var(--dialog-bg-color); | |
| 2214 | + --thickness-label-color:var(--primary-color); | |
| 2215 | + --thickness-slider-color:var(--primary-color); | |
| 2216 | + --thickness-border:none; | |
| 2217 | + --draw-cursor:url(images/cursor-editorInk.svg) 0 16, pointer; | |
| 2218 | +} | |
| 2219 | + | |
| 2220 | +@media (prefers-color-scheme: dark){ | |
| 2221 | + | |
| 2222 | + #addSignatureDialog{ | |
| 2223 | + --dialog-bg-color:#42414d; | |
| 2224 | + --bg-hover:#52525e; | |
| 2225 | + --primary-color:#fbfbfe; | |
| 2226 | + --secondary-color:#cfcfd8; | |
| 2227 | + --tab-top-line-active-color:#0df; | |
| 2228 | + --tab-top-line-inactive-color:#8f8f9d; | |
| 2229 | + --clear-signature-button-bg-active:#5b5b66; | |
| 2230 | + --clear-signature-button-bg-focus:#2b2a33; | |
| 2231 | + --clear-signature-button-bg-disabled:color-mix( | |
| 2232 | + in srgb, | |
| 2233 | + #2b2a33, | |
| 2234 | + transparent 40% | |
| 2235 | + ); | |
| 2236 | + } | |
| 2237 | +} | |
| 2238 | + | |
| 2239 | +@media screen and (forced-colors: active){ | |
| 2240 | + | |
| 2241 | + #addSignatureDialog{ | |
| 2242 | + --secondary-color:ButtonText; | |
| 2243 | + --bg:HighlightText; | |
| 2244 | + --bg-hover:var(--bg); | |
| 2245 | + --tab-top-line-active-color:ButtonText; | |
| 2246 | + --tab-top-line-active-hover-color:HighlightText; | |
| 2247 | + --tab-top-line-hover-color:SelectedItem; | |
| 2248 | + --tab-top-line-inactive-color:ButtonText; | |
| 2249 | + --tab-bottom-line-active-color:var(--tab-top-line-active-color); | |
| 2250 | + --tab-bottom-line-hover-color:var(--tab-top-line-hover-color); | |
| 2251 | + --tab-bg:var(--bg); | |
| 2252 | + --tab-bg-active-color:SelectedItem; | |
| 2253 | + --tab-bg-active-hover-color:SelectedItem; | |
| 2254 | + --tab-panel-border:1px solid ButtonText; | |
| 2255 | + --tab-panel-border-radius:8px; | |
| 2256 | + --tab-text-color:ButtonText; | |
| 2257 | + --tab-text-active-color:HighlightText; | |
| 2258 | + --tab-text-active-hover-color:HighlightText; | |
| 2259 | + --tab-text-hover-color:SelectedItem; | |
| 2260 | + --signature-color:ButtonText; | |
| 2261 | + --clear-signature-button-border-width:1px; | |
| 2262 | + --clear-signature-button-border-style:solid; | |
| 2263 | + --clear-signature-button-border-color:ButtonText; | |
| 2264 | + --clear-signature-button-border-disabled-color:GrayText; | |
| 2265 | + --clear-signature-button-color:ButtonText; | |
| 2266 | + --clear-signature-button-hover-color:HighlightText; | |
| 2267 | + --clear-signature-button-active-color:SelectedItem; | |
| 2268 | + --clear-signature-button-focus-color:CanvasText; | |
| 2269 | + --clear-signature-button-disabled-color:GrayText; | |
| 2270 | + --clear-signature-button-bg:var(--bg); | |
| 2271 | + --clear-signature-button-bg-hover:SelectedItem; | |
| 2272 | + --clear-signature-button-bg-active:var(--bg); | |
| 2273 | + --clear-signature-button-bg-focus:var(--bg); | |
| 2274 | + --clear-signature-button-bg-disabled:var(--bg); | |
| 2275 | + --thickness-bg:Canvas; | |
| 2276 | + --thickness-label-color:CanvasText; | |
| 2277 | + --thickness-slider-color:ButtonText; | |
| 2278 | + --thickness-border:1px solid var(--border-color); | |
| 2279 | + } | |
| 2280 | +} | |
| 2281 | + | |
| 2282 | +#addSignatureDialog #addSignatureDialogLabel{ | |
| 2283 | + overflow:hidden; | |
| 2284 | + position:absolute; | |
| 2285 | + inset:0; | |
| 2286 | + width:0; | |
| 2287 | + height:0; | |
| 2288 | +} | |
| 2289 | + | |
| 2290 | +#addSignatureDialog.waiting::after{ | |
| 2291 | + content:""; | |
| 2292 | + cursor:wait; | |
| 2293 | + position:absolute; | |
| 2294 | + inset:0; | |
| 2295 | + width:100%; | |
| 2296 | + height:100%; | |
| 2297 | +} | |
| 2298 | + | |
| 2299 | +:is(#addSignatureDialog .mainContainer) [role="tablist"]{ | |
| 2300 | + width:100%; | |
| 2301 | + display:flex; | |
| 2302 | + align-items:flex-start; | |
| 2303 | + gap:0; | |
| 2304 | +} | |
| 2305 | + | |
| 2306 | +:is(:is(#addSignatureDialog .mainContainer) [role="tablist"]) > [role="tab"]{ | |
| 2307 | + flex:1 0 0; | |
| 2308 | + align-self:stretch; | |
| 2309 | + background-color:var(--tab-bg); | |
| 2310 | + padding-inline:0; | |
| 2311 | + cursor:default; | |
| 2312 | + | |
| 2313 | + border-inline:0; | |
| 2314 | + border-block-width:1px; | |
| 2315 | + border-block-style:solid; | |
| 2316 | + border-block-start-color:var(--tab-top-line-inactive-color); | |
| 2317 | + border-block-end-color:var(--tab-bottom-line-inactive-color); | |
| 2318 | + border-radius:0; | |
| 2319 | + | |
| 2320 | + font:menu; | |
| 2321 | + font-size:13px; | |
| 2322 | + font-style:normal; | |
| 2323 | + line-height:normal; | |
| 2324 | + font-weight:400; | |
| 2325 | + color:var(--tab-text-color); | |
| 2326 | +} | |
| 2327 | + | |
| 2328 | +:is(:is(:is(#addSignatureDialog .mainContainer) [role="tablist"]) > [role="tab"]):hover{ | |
| 2329 | + border-block-start-width:2px; | |
| 2330 | + border-block-start-color:var(--tab-top-line-hover-color); | |
| 2331 | + border-block-end-color:var(--tab-bottom-line-hover-color); | |
| 2332 | + background-color:var(--tab-bg-hover); | |
| 2333 | + color:var(--tab-text-hover-color); | |
| 2334 | +} | |
| 2335 | + | |
| 2336 | +:is(:is(:is(#addSignatureDialog .mainContainer) [role="tablist"]) > [role="tab"]):focus-visible{ | |
| 2337 | + outline:2px solid var(--tab-top-line-active-color); | |
| 2338 | + outline-offset:-2px; | |
| 2339 | +} | |
| 2340 | + | |
| 2341 | +[aria-selected="true"]:is(:is(:is(#addSignatureDialog .mainContainer) [role="tablist"]) > [role="tab"]){ | |
| 2342 | + border-block-start-width:2px; | |
| 2343 | + border-block-start-color:var(--tab-top-line-active-color); | |
| 2344 | + border-block-end-color:var(--tab-bottom-line-active-color); | |
| 2345 | + background-color:var(--tab-bg-active-color); | |
| 2346 | + font-weight:590; | |
| 2347 | + color:var(--tab-text-active-color); | |
| 2348 | +} | |
| 2349 | + | |
| 2350 | +[aria-selected="true"]:is(:is(:is(#addSignatureDialog .mainContainer) [role="tablist"]) > [role="tab"]):hover{ | |
| 2351 | + border-block-start-color:var(--tab-top-line-active-hover-color); | |
| 2352 | + background-color:var(--tab-bg-active-hover-color); | |
| 2353 | + color:var(--tab-text-active-hover-color); | |
| 2354 | +} | |
| 2355 | + | |
| 2356 | +:is(#addSignatureDialog .mainContainer) #addSignatureActionContainer{ | |
| 2357 | + width:100%; | |
| 2358 | + height:auto; | |
| 2359 | + display:flex; | |
| 2360 | + flex-direction:column; | |
| 2361 | + align-items:flex-end; | |
| 2362 | + align-self:stretch; | |
| 2363 | + gap:12px; | |
| 2364 | + padding-inline:16px; | |
| 2365 | + box-sizing:border-box; | |
| 2366 | +} | |
| 2367 | + | |
| 2368 | +:is(:is(#addSignatureDialog .mainContainer) #addSignatureActionContainer) > [role="tabpanel"]{ | |
| 2369 | + position:relative; | |
| 2370 | + width:100%; | |
| 2371 | + height:220px; | |
| 2372 | + background-color:var(--signature-bg); | |
| 2373 | + border:var(--tab-panel-border); | |
| 2374 | + border-radius:var(--tab-panel-border-radius); | |
| 2375 | +} | |
| 2376 | + | |
| 2377 | +:is(:is(:is(#addSignatureDialog .mainContainer) #addSignatureActionContainer) > [role="tabpanel"]) > svg{ | |
| 2378 | + position:absolute; | |
| 2379 | + inset:0; | |
| 2380 | + width:100%; | |
| 2381 | + height:100%; | |
| 2382 | + background-color:transparent; | |
| 2383 | +} | |
| 2384 | + | |
| 2385 | +#addSignatureTypeContainer:is(:is(:is(#addSignatureDialog .mainContainer) #addSignatureActionContainer) > [role="tabpanel"]){ | |
| 2386 | + display:none; | |
| 2387 | +} | |
| 2388 | + | |
| 2389 | +#addSignatureTypeContainer:is(:is(:is(#addSignatureDialog .mainContainer) #addSignatureActionContainer) > [role="tabpanel"]) #addSignatureTypeInput{ | |
| 2390 | + position:absolute; | |
| 2391 | + inset:0; | |
| 2392 | + width:100%; | |
| 2393 | + height:100%; | |
| 2394 | + border:0; | |
| 2395 | + padding:0; | |
| 2396 | + text-align:center; | |
| 2397 | + color:var(--signature-color); | |
| 2398 | + background-color:transparent; | |
| 2399 | + border-radius:var(--tab-panel-border-radius); | |
| 2400 | + | |
| 2401 | + font-family:"Brush script", "Apple Chancery", "Segoe script", "Freestyle Script", "Palace Script MT", "Brush Script MT", TK, cursive, serif; | |
| 2402 | + font-size:44px; | |
| 2403 | + font-style:italic; | |
| 2404 | + font-weight:400; | |
| 2405 | +} | |
| 2406 | + | |
| 2407 | +:is(#addSignatureTypeContainer:is(:is(:is(#addSignatureDialog .mainContainer) #addSignatureActionContainer) > [role="tabpanel"]) #addSignatureTypeInput)::-moz-placeholder{ | |
| 2408 | + color:var(--signature-placeholder-color); | |
| 2409 | + text-align:center; | |
| 2410 | + | |
| 2411 | + font:menu; | |
| 2412 | + font-style:normal; | |
| 2413 | + font-weight:274; | |
| 2414 | + font-size:44px; | |
| 2415 | + line-height:normal; | |
| 2416 | +} | |
| 2417 | + | |
| 2418 | +:is(#addSignatureTypeContainer:is(:is(:is(#addSignatureDialog .mainContainer) #addSignatureActionContainer) > [role="tabpanel"]) #addSignatureTypeInput)::placeholder{ | |
| 2419 | + color:var(--signature-placeholder-color); | |
| 2420 | + text-align:center; | |
| 2421 | + | |
| 2422 | + font:menu; | |
| 2423 | + font-style:normal; | |
| 2424 | + font-weight:274; | |
| 2425 | + font-size:44px; | |
| 2426 | + line-height:normal; | |
| 2427 | +} | |
| 2428 | + | |
| 2429 | +#addSignatureDrawContainer:is(:is(:is(#addSignatureDialog .mainContainer) #addSignatureActionContainer) > [role="tabpanel"]){ | |
| 2430 | + display:none; | |
| 2431 | +} | |
| 2432 | + | |
| 2433 | +#addSignatureDrawContainer:is(:is(:is(#addSignatureDialog .mainContainer) #addSignatureActionContainer) > [role="tabpanel"]) > span{ | |
| 2434 | + position:absolute; | |
| 2435 | + top:0; | |
| 2436 | + left:0; | |
| 2437 | + width:100%; | |
| 2438 | + height:100%; | |
| 2439 | + display:grid; | |
| 2440 | + align-items:center; | |
| 2441 | + justify-content:center; | |
| 2442 | + | |
| 2443 | + background-color:transparent; | |
| 2444 | + color:var(--signature-placeholder-color); | |
| 2445 | + -webkit-user-select:none; | |
| 2446 | + -moz-user-select:none; | |
| 2447 | + user-select:none; | |
| 2448 | +} | |
| 2449 | + | |
| 2450 | +#addSignatureDrawContainer:is(:is(:is(#addSignatureDialog .mainContainer) #addSignatureActionContainer) > [role="tabpanel"]) > svg{ | |
| 2451 | + stroke:var(--signature-color); | |
| 2452 | + fill:none; | |
| 2453 | + stroke-opacity:1; | |
| 2454 | + stroke-linecap:round; | |
| 2455 | + stroke-linejoin:round; | |
| 2456 | + stroke-miterlimit:10; | |
| 2457 | +} | |
| 2458 | + | |
| 2459 | +:is(#addSignatureDrawContainer:is(:is(:is(#addSignatureDialog .mainContainer) #addSignatureActionContainer) > [role="tabpanel"]) > svg):hover{ | |
| 2460 | + cursor:var(--draw-cursor); | |
| 2461 | +} | |
| 2462 | + | |
| 2463 | +#addSignatureDrawContainer:is(:is(:is(#addSignatureDialog .mainContainer) #addSignatureActionContainer) > [role="tabpanel"]) #thickness{ | |
| 2464 | + position:absolute; | |
| 2465 | + width:100%; | |
| 2466 | + inset-block-end:0; | |
| 2467 | + display:grid; | |
| 2468 | + align-items:center; | |
| 2469 | + justify-content:center; | |
| 2470 | + pointer-events:none; | |
| 2471 | +} | |
| 2472 | + | |
| 2473 | +:is(#addSignatureDrawContainer:is(:is(:is(#addSignatureDialog .mainContainer) #addSignatureActionContainer) > [role="tabpanel"]) #thickness) > span{ | |
| 2474 | + color:var(--signature-draw-placeholder-color); | |
| 2475 | +} | |
| 2476 | + | |
| 2477 | +:is(#addSignatureDrawContainer:is(:is(:is(#addSignatureDialog .mainContainer) #addSignatureActionContainer) > [role="tabpanel"]) #thickness) > div{ | |
| 2478 | + width:auto; | |
| 2479 | + height:auto; | |
| 2480 | + display:flex; | |
| 2481 | + align-items:center; | |
| 2482 | + justify-content:center; | |
| 2483 | + gap:8px; | |
| 2484 | + padding:6px 8px 7px; | |
| 2485 | + margin:0; | |
| 2486 | + background-color:var(--thickness-bg); | |
| 2487 | + border-radius:4px 4px 0 0; | |
| 2488 | + border-inline:var(--thickness-border); | |
| 2489 | + border-top:var(--thickness-border); | |
| 2490 | + pointer-events:auto; | |
| 2491 | + position:relative; | |
| 2492 | + top:1px; | |
| 2493 | +} | |
| 2494 | + | |
| 2495 | +:is(:is(#addSignatureDrawContainer:is(:is(:is(#addSignatureDialog .mainContainer) #addSignatureActionContainer) > [role="tabpanel"]) #thickness) > div) > label{ | |
| 2496 | + color:var(--thickness-label-color); | |
| 2497 | +} | |
| 2498 | + | |
| 2499 | +:is(:is(#addSignatureDrawContainer:is(:is(:is(#addSignatureDialog .mainContainer) #addSignatureActionContainer) > [role="tabpanel"]) #thickness) > div) > input{ | |
| 2500 | + width:100px; | |
| 2501 | + height:14px; | |
| 2502 | + background-color:transparent; | |
| 2503 | +} | |
| 2504 | + | |
| 2505 | +:is(:is(:is(#addSignatureDrawContainer:is(:is(:is(#addSignatureDialog .mainContainer) #addSignatureActionContainer) > [role="tabpanel"]) #thickness) > div) > input)::-webkit-slider-runnable-track,:is(:is(:is(#addSignatureDrawContainer:is(:is(:is(#addSignatureDialog .mainContainer) #addSignatureActionContainer) > [role="tabpanel"]) #thickness) > div) > input)::-moz-range-track,:is(:is(:is(#addSignatureDrawContainer:is(:is(:is(#addSignatureDialog .mainContainer) #addSignatureActionContainer) > [role="tabpanel"]) #thickness) > div) > input)::-moz-range-progress{ | |
| 2506 | + background-color:var(--thickness-slider-color); | |
| 2507 | +} | |
| 2508 | + | |
| 2509 | +:is(:is(:is(#addSignatureDrawContainer:is(:is(:is(#addSignatureDialog .mainContainer) #addSignatureActionContainer) > [role="tabpanel"]) #thickness) > div) > input)::-webkit-slider-thumb,:is(:is(:is(#addSignatureDrawContainer:is(:is(:is(#addSignatureDialog .mainContainer) #addSignatureActionContainer) > [role="tabpanel"]) #thickness) > div) > input)::-moz-range-thumb{ | |
| 2510 | + background-color:var(--thickness-bg); | |
| 2511 | +} | |
| 2512 | + | |
| 2513 | +:is(:is(#addSignatureDrawContainer:is(:is(:is(#addSignatureDialog .mainContainer) #addSignatureActionContainer) > [role="tabpanel"]) #thickness) > div) > input{ | |
| 2514 | + | |
| 2515 | + border-radius:4.5px; | |
| 2516 | + border:0; | |
| 2517 | + color:var(--signature-color); | |
| 2518 | +} | |
| 2519 | + | |
| 2520 | +#addSignatureImageContainer:is(:is(:is(#addSignatureDialog .mainContainer) #addSignatureActionContainer) > [role="tabpanel"]){ | |
| 2521 | + display:none; | |
| 2522 | +} | |
| 2523 | + | |
| 2524 | +#addSignatureImageContainer:is(:is(:is(#addSignatureDialog .mainContainer) #addSignatureActionContainer) > [role="tabpanel"]) > svg{ | |
| 2525 | + stroke:none; | |
| 2526 | + stroke-width:0; | |
| 2527 | + fill:var(--signature-color); | |
| 2528 | + fill-opacity:1; | |
| 2529 | +} | |
| 2530 | + | |
| 2531 | +#addSignatureImageContainer:is(:is(:is(#addSignatureDialog .mainContainer) #addSignatureActionContainer) > [role="tabpanel"]) #addSignatureImagePlaceholder{ | |
| 2532 | + position:absolute; | |
| 2533 | + top:0; | |
| 2534 | + left:0; | |
| 2535 | + width:100%; | |
| 2536 | + height:100%; | |
| 2537 | + background-color:transparent; | |
| 2538 | + display:flex; | |
| 2539 | + flex-direction:column; | |
| 2540 | + align-items:center; | |
| 2541 | + justify-content:center; | |
| 2542 | +} | |
| 2543 | + | |
| 2544 | +:is(#addSignatureImageContainer:is(:is(:is(#addSignatureDialog .mainContainer) #addSignatureActionContainer) > [role="tabpanel"]) #addSignatureImagePlaceholder) span{ | |
| 2545 | + color:var(--signature-placeholder-color); | |
| 2546 | +} | |
| 2547 | + | |
| 2548 | +:is(#addSignatureImageContainer:is(:is(:is(#addSignatureDialog .mainContainer) #addSignatureActionContainer) > [role="tabpanel"]) #addSignatureImagePlaceholder) a{ | |
| 2549 | + color:var(--open-link-fg); | |
| 2550 | + text-decoration:underline; | |
| 2551 | + cursor:pointer; | |
| 2552 | +} | |
| 2553 | + | |
| 2554 | +:is(:is(#addSignatureImageContainer:is(:is(:is(#addSignatureDialog .mainContainer) #addSignatureActionContainer) > [role="tabpanel"]) #addSignatureImagePlaceholder) a):hover{ | |
| 2555 | + color:var(--open-link-hover-fg); | |
| 2556 | +} | |
| 2557 | + | |
| 2558 | +#addSignatureImageContainer:is(:is(:is(#addSignatureDialog .mainContainer) #addSignatureActionContainer) > [role="tabpanel"]) #addSignatureFilePicker{ | |
| 2559 | + visibility:hidden; | |
| 2560 | + position:relative; | |
| 2561 | + width:0; | |
| 2562 | + height:0; | |
| 2563 | +} | |
| 2564 | + | |
| 2565 | +[data-selected="type"]:is(:is(#addSignatureDialog .mainContainer) #addSignatureActionContainer) > #addSignatureTypeContainer,[data-selected="draw"]:is(:is(#addSignatureDialog .mainContainer) #addSignatureActionContainer) > #addSignatureDrawContainer,[data-selected="image"]:is(:is(#addSignatureDialog .mainContainer) #addSignatureActionContainer) > #addSignatureImageContainer{ | |
| 2566 | + display:block; | |
| 2567 | +} | |
| 2568 | + | |
| 2569 | +:is(:is(#addSignatureDialog .mainContainer) #addSignatureActionContainer) #addSignatureControls{ | |
| 2570 | + display:flex; | |
| 2571 | + flex-direction:column; | |
| 2572 | + justify-content:center; | |
| 2573 | + align-items:flex-start; | |
| 2574 | + gap:12px; | |
| 2575 | + align-self:stretch; | |
| 2576 | +} | |
| 2577 | + | |
| 2578 | +:is(:is(:is(#addSignatureDialog .mainContainer) #addSignatureActionContainer) #addSignatureControls) #horizontalContainer{ | |
| 2579 | + display:flex; | |
| 2580 | + align-items:flex-end; | |
| 2581 | + gap:16px; | |
| 2582 | + align-self:stretch; | |
| 2583 | +} | |
| 2584 | + | |
| 2585 | +:is(:is(:is(:is(#addSignatureDialog .mainContainer) #addSignatureActionContainer) #addSignatureControls) #horizontalContainer) #addSignatureDescriptionContainer{ | |
| 2586 | + display:flex; | |
| 2587 | + flex-direction:column; | |
| 2588 | + align-items:flex-start; | |
| 2589 | + gap:4px; | |
| 2590 | + flex:1 0 0; | |
| 2591 | +} | |
| 2592 | + | |
| 2593 | +:is(:is(:is(:is(:is(#addSignatureDialog .mainContainer) #addSignatureActionContainer) #addSignatureControls) #horizontalContainer) #addSignatureDescriptionContainer):has(input:disabled) > label{ | |
| 2594 | + opacity:0.4; | |
| 2595 | +} | |
| 2596 | + | |
| 2597 | +:is(:is(:is(:is(:is(#addSignatureDialog .mainContainer) #addSignatureActionContainer) #addSignatureControls) #horizontalContainer) #addSignatureDescriptionContainer) > label{ | |
| 2598 | + width:auto; | |
| 2599 | +} | |
| 2600 | + | |
| 2601 | +:is(:is(:is(:is(#addSignatureDialog .mainContainer) #addSignatureActionContainer) #addSignatureControls) #horizontalContainer) #clearSignatureButton{ | |
| 2602 | + display:flex; | |
| 2603 | + height:32px; | |
| 2604 | + padding:4px 8px; | |
| 2605 | + align-items:center; | |
| 2606 | + background-color:var(--clear-signature-button-bg); | |
| 2607 | + border-width:var(--clear-signature-button-border-width); | |
| 2608 | + border-style:var(--clear-signature-button-border-style); | |
| 2609 | + border-color:var(--clear-signature-button-border-color); | |
| 2610 | + border-radius:4px; | |
| 2611 | +} | |
| 2612 | + | |
| 2613 | +:is(:is(:is(:is(:is(#addSignatureDialog .mainContainer) #addSignatureActionContainer) #addSignatureControls) #horizontalContainer) #clearSignatureButton) > span{ | |
| 2614 | + display:flex; | |
| 2615 | + height:24px; | |
| 2616 | + align-items:center; | |
| 2617 | + gap:4px; | |
| 2618 | + flex-shrink:0; | |
| 2619 | + | |
| 2620 | + color:var(--clear-signature-button-color); | |
| 2621 | +} | |
| 2622 | + | |
| 2623 | +:is(:is(:is(:is(:is(:is(#addSignatureDialog .mainContainer) #addSignatureActionContainer) #addSignatureControls) #horizontalContainer) #clearSignatureButton) > span)::after{ | |
| 2624 | + content:""; | |
| 2625 | + display:inline-block; | |
| 2626 | + width:16px; | |
| 2627 | + height:16px; | |
| 2628 | + -webkit-mask-image:var(--clear-signature-button-icon); | |
| 2629 | + mask-image:var(--clear-signature-button-icon); | |
| 2630 | + -webkit-mask-size:cover; | |
| 2631 | + mask-size:cover; | |
| 2632 | + background-color:var(--clear-signature-button-color); | |
| 2633 | + flex-shrink:0; | |
| 2634 | +} | |
| 2635 | + | |
| 2636 | +:is(:is(:is(:is(:is(#addSignatureDialog .mainContainer) #addSignatureActionContainer) #addSignatureControls) #horizontalContainer) #clearSignatureButton):hover{ | |
| 2637 | + background-color:var(--clear-signature-button-bg-hover); | |
| 2638 | +} | |
| 2639 | + | |
| 2640 | +:is(:is(:is(:is(:is(#addSignatureDialog .mainContainer) #addSignatureActionContainer) #addSignatureControls) #horizontalContainer) #clearSignatureButton):hover > span{ | |
| 2641 | + color:var(--clear-signature-button-hover-color); | |
| 2642 | +} | |
| 2643 | + | |
| 2644 | +:is(:is(:is(:is(:is(:is(#addSignatureDialog .mainContainer) #addSignatureActionContainer) #addSignatureControls) #horizontalContainer) #clearSignatureButton):hover > span)::after{ | |
| 2645 | + background-color:var(--clear-signature-button-hover-color); | |
| 2646 | +} | |
| 2647 | + | |
| 2648 | +:is(:is(:is(:is(:is(#addSignatureDialog .mainContainer) #addSignatureActionContainer) #addSignatureControls) #horizontalContainer) #clearSignatureButton):active{ | |
| 2649 | + background-color:var(--clear-signature-button-bg-active); | |
| 2650 | +} | |
| 2651 | + | |
| 2652 | +:is(:is(:is(:is(:is(#addSignatureDialog .mainContainer) #addSignatureActionContainer) #addSignatureControls) #horizontalContainer) #clearSignatureButton):active > span{ | |
| 2653 | + color:var(--clear-signature-button-active-color); | |
| 2654 | +} | |
| 2655 | + | |
| 2656 | +:is(:is(:is(:is(:is(:is(#addSignatureDialog .mainContainer) #addSignatureActionContainer) #addSignatureControls) #horizontalContainer) #clearSignatureButton):active > span)::after{ | |
| 2657 | + background-color:var(--clear-signature-button-active-color); | |
| 2658 | +} | |
| 2659 | + | |
| 2660 | +:is(:is(:is(:is(:is(#addSignatureDialog .mainContainer) #addSignatureActionContainer) #addSignatureControls) #horizontalContainer) #clearSignatureButton):focus-visible{ | |
| 2661 | + background-color:var(--clear-signature-button-bg-focus); | |
| 2662 | +} | |
| 2663 | + | |
| 2664 | +:is(:is(:is(:is(:is(#addSignatureDialog .mainContainer) #addSignatureActionContainer) #addSignatureControls) #horizontalContainer) #clearSignatureButton):focus-visible > span{ | |
| 2665 | + color:var(--clear-signature-button-focus-color); | |
| 2666 | +} | |
| 2667 | + | |
| 2668 | +:is(:is(:is(:is(:is(:is(#addSignatureDialog .mainContainer) #addSignatureActionContainer) #addSignatureControls) #horizontalContainer) #clearSignatureButton):focus-visible > span)::after{ | |
| 2669 | + background-color:var(--clear-signature-button-focus-color); | |
| 2670 | +} | |
| 2671 | + | |
| 2672 | +:is(:is(:is(:is(:is(#addSignatureDialog .mainContainer) #addSignatureActionContainer) #addSignatureControls) #horizontalContainer) #clearSignatureButton):disabled{ | |
| 2673 | + background-color:var(--clear-signature-button-bg-disabled); | |
| 2674 | + border-color:var(--clear-signature-button-border-disabled-color); | |
| 2675 | +} | |
| 2676 | + | |
| 2677 | +:is(:is(:is(:is(:is(#addSignatureDialog .mainContainer) #addSignatureActionContainer) #addSignatureControls) #horizontalContainer) #clearSignatureButton):disabled > span{ | |
| 2678 | + color:var(--clear-signature-button-disabled-color); | |
| 2679 | +} | |
| 2680 | + | |
| 2681 | +:is(:is(:is(:is(:is(:is(#addSignatureDialog .mainContainer) #addSignatureActionContainer) #addSignatureControls) #horizontalContainer) #clearSignatureButton):disabled > span)::after{ | |
| 2682 | + background-color:var( | |
| 2683 | + --clear-signature-button-disabled-color | |
| 2684 | + ); | |
| 2685 | +} | |
| 2686 | + | |
| 2687 | +:is(:is(:is(#addSignatureDialog .mainContainer) #addSignatureActionContainer) #addSignatureControls) #addSignatureSaveContainer{ | |
| 2688 | + display:grid; | |
| 2689 | + grid-template-columns:max-content auto; | |
| 2690 | + gap:4px; | |
| 2691 | + width:100%; | |
| 2692 | +} | |
| 2693 | + | |
| 2694 | +:is(:is(:is(:is(#addSignatureDialog .mainContainer) #addSignatureActionContainer) #addSignatureControls) #addSignatureSaveContainer) > input{ | |
| 2695 | + margin:0; | |
| 2696 | +} | |
| 2697 | + | |
| 2698 | +:is(:is(:is(:is(:is(#addSignatureDialog .mainContainer) #addSignatureActionContainer) #addSignatureControls) #addSignatureSaveContainer) > input):disabled + label{ | |
| 2699 | + opacity:0.4; | |
| 2700 | +} | |
| 2701 | + | |
| 2702 | +:is(:is(:is(:is(#addSignatureDialog .mainContainer) #addSignatureActionContainer) #addSignatureControls) #addSignatureSaveContainer) > label{ | |
| 2703 | + -webkit-user-select:none; | |
| 2704 | + -moz-user-select:none; | |
| 2705 | + user-select:none; | |
| 2706 | +} | |
| 2707 | + | |
| 2708 | +:is(:is(:is(:is(#addSignatureDialog .mainContainer) #addSignatureActionContainer) #addSignatureControls) #addSignatureSaveContainer):not(.fullStorage) #addSignatureSaveWarning{ | |
| 2709 | + display:none; | |
| 2710 | +} | |
| 2711 | + | |
| 2712 | +.fullStorage:is(:is(:is(:is(#addSignatureDialog .mainContainer) #addSignatureActionContainer) #addSignatureControls) #addSignatureSaveContainer) #addSignatureSaveWarning{ | |
| 2713 | + display:block; | |
| 2714 | + opacity:1; | |
| 2715 | + color:var(--save-warning-color); | |
| 2716 | + font-size:11px; | |
| 2717 | +} | |
| 2718 | + | |
| 2719 | +#editSignatureDescriptionDialog .mainContainer{ | |
| 2720 | + padding-inline:16px; | |
| 2721 | + box-sizing:border-box; | |
| 2722 | +} | |
| 2723 | + | |
| 2724 | +:is(#editSignatureDescriptionDialog .mainContainer) .title{ | |
| 2725 | + margin-inline-start:0; | |
| 2726 | +} | |
| 2727 | + | |
| 2728 | +:is(#editSignatureDescriptionDialog .mainContainer) #editSignatureDescriptionAndView{ | |
| 2729 | + width:auto; | |
| 2730 | + display:flex; | |
| 2731 | + justify-content:flex-end; | |
| 2732 | + align-items:flex-start; | |
| 2733 | + gap:12px; | |
| 2734 | + align-self:stretch; | |
| 2735 | +} | |
| 2736 | + | |
| 2737 | +:is(:is(#editSignatureDescriptionDialog .mainContainer) #editSignatureDescriptionAndView) #editSignatureDescriptionContainer{ | |
| 2738 | + display:flex; | |
| 2739 | + flex-direction:column; | |
| 2740 | + align-items:flex-start; | |
| 2741 | + gap:4px; | |
| 2742 | + flex:1 1 auto; | |
| 2743 | +} | |
| 2744 | + | |
| 2745 | +:is(:is(#editSignatureDescriptionDialog .mainContainer) #editSignatureDescriptionAndView) > svg{ | |
| 2746 | + width:210px; | |
| 2747 | + height:180px; | |
| 2748 | + padding:8px; | |
| 2749 | + background-color:var(--signature-bg); | |
| 2750 | +} | |
| 2751 | + | |
| 2752 | +:is(:is(:is(#editSignatureDescriptionDialog .mainContainer) #editSignatureDescriptionAndView) > svg) > path{ | |
| 2753 | + stroke:var(--button-signature-color); | |
| 2754 | + stroke-width:1px; | |
| 2755 | + stroke-linecap:round; | |
| 2756 | + stroke-linejoin:round; | |
| 2757 | + stroke-miterlimit:10; | |
| 2758 | + vector-effect:non-scaling-stroke; | |
| 2759 | + fill:none; | |
| 2760 | +} | |
| 2761 | + | |
| 2762 | +.contours:is(:is(:is(:is(#editSignatureDescriptionDialog .mainContainer) #editSignatureDescriptionAndView) > svg) > path){ | |
| 2763 | + fill:var(--button-signature-color); | |
| 2764 | + stroke-width:0.5px; | |
| 2765 | +} | |
| 2766 | + | |
| 2767 | +#editorSignatureParamsToolbar{ | |
| 2768 | + padding:8px; | |
| 2769 | +} | |
| 2770 | + | |
| 2771 | +#editorSignatureParamsToolbar #addSignatureDoorHanger{ | |
| 2772 | + gap:8px; | |
| 2773 | + padding:2px; | |
| 2774 | +} | |
| 2775 | + | |
| 2776 | +:is(#editorSignatureParamsToolbar #addSignatureDoorHanger) .toolbarAddSignatureButtonContainer{ | |
| 2777 | + height:32px; | |
| 2778 | + display:flex; | |
| 2779 | + justify-content:space-between; | |
| 2780 | + align-items:center; | |
| 2781 | + align-self:stretch; | |
| 2782 | + gap:8px; | |
| 2783 | +} | |
| 2784 | + | |
| 2785 | +:is(:is(#editorSignatureParamsToolbar #addSignatureDoorHanger) .toolbarAddSignatureButtonContainer) button{ | |
| 2786 | + border:var(--button-signature-border); | |
| 2787 | + border-radius:4px; | |
| 2788 | + background-color:var(--button-signature-bg); | |
| 2789 | + color:var(--button-signature-color); | |
| 2790 | +} | |
| 2791 | + | |
| 2792 | +:is(:is(:is(#editorSignatureParamsToolbar #addSignatureDoorHanger) .toolbarAddSignatureButtonContainer) button):hover{ | |
| 2793 | + background-color:var(--button-signature-hover-bg); | |
| 2794 | +} | |
| 2795 | + | |
| 2796 | +:is(:is(:is(#editorSignatureParamsToolbar #addSignatureDoorHanger) .toolbarAddSignatureButtonContainer) button):active{ | |
| 2797 | + border:var(--button-signature-active-border); | |
| 2798 | + background-color:var(--button-signature-active-bg); | |
| 2799 | + color:var(--button-signature-active-color); | |
| 2800 | +} | |
| 2801 | + | |
| 2802 | +:is(:is(:is(#editorSignatureParamsToolbar #addSignatureDoorHanger) .toolbarAddSignatureButtonContainer) button):active::before{ | |
| 2803 | + background-color:var(--button-signature-active-color); | |
| 2804 | +} | |
| 2805 | + | |
| 2806 | +:is(:is(:is(#editorSignatureParamsToolbar #addSignatureDoorHanger) .toolbarAddSignatureButtonContainer) button):focus-visible{ | |
| 2807 | + outline:var(--focus-ring-outline); | |
| 2808 | +} | |
| 2809 | + | |
| 2810 | +:is(:is(:is(#editorSignatureParamsToolbar #addSignatureDoorHanger) .toolbarAddSignatureButtonContainer) button):focus-visible::before{ | |
| 2811 | + background-color:var(--button-signature-color); | |
| 2812 | +} | |
| 2813 | + | |
| 2814 | +:is(:is(:is(#editorSignatureParamsToolbar #addSignatureDoorHanger) .toolbarAddSignatureButtonContainer) .deleteButton)::before{ | |
| 2815 | + -webkit-mask-image:var(--clear-signature-button-icon); | |
| 2816 | + mask-image:var(--clear-signature-button-icon); | |
| 2817 | +} | |
| 2818 | + | |
| 2819 | +:is(:is(#editorSignatureParamsToolbar #addSignatureDoorHanger) .toolbarAddSignatureButtonContainer) .toolbarAddSignatureButton{ | |
| 2820 | + width:auto; | |
| 2821 | + height:100%; | |
| 2822 | + min-height:var(--menuitem-height); | |
| 2823 | + aspect-ratio:unset; | |
| 2824 | + display:flex; | |
| 2825 | + align-items:center; | |
| 2826 | + justify-content:flex-start; | |
| 2827 | + outline:none; | |
| 2828 | + border-radius:4px; | |
| 2829 | + box-sizing:border-box; | |
| 2830 | + font:message-box; | |
| 2831 | + position:relative; | |
| 2832 | + flex:1 1 auto; | |
| 2833 | + padding:0; | |
| 2834 | + gap:8px; | |
| 2835 | + text-align:start; | |
| 2836 | + white-space:normal; | |
| 2837 | + cursor:default; | |
| 2838 | + overflow:hidden; | |
| 2839 | +} | |
| 2840 | + | |
| 2841 | +:is(:is(:is(#editorSignatureParamsToolbar #addSignatureDoorHanger) .toolbarAddSignatureButtonContainer) .toolbarAddSignatureButton) > svg{ | |
| 2842 | + display:inline-block; | |
| 2843 | + height:100%; | |
| 2844 | + aspect-ratio:1; | |
| 2845 | + background-color:var(--signature-bg); | |
| 2846 | + flex:none; | |
| 2847 | + padding:4px; | |
| 2848 | + box-sizing:border-box; | |
| 2849 | + border:none; | |
| 2850 | + border-radius:4px; | |
| 2851 | +} | |
| 2852 | + | |
| 2853 | +:is(:is(:is(:is(#editorSignatureParamsToolbar #addSignatureDoorHanger) .toolbarAddSignatureButtonContainer) .toolbarAddSignatureButton) > svg) > path{ | |
| 2854 | + stroke:var(--button-signature-color); | |
| 2855 | + stroke-width:1px; | |
| 2856 | + stroke-linecap:round; | |
| 2857 | + stroke-linejoin:round; | |
| 2858 | + stroke-miterlimit:10; | |
| 2859 | + vector-effect:non-scaling-stroke; | |
| 2860 | + fill:none; | |
| 2861 | +} | |
| 2862 | + | |
| 2863 | +.contours:is(:is(:is(:is(:is(#editorSignatureParamsToolbar #addSignatureDoorHanger) .toolbarAddSignatureButtonContainer) .toolbarAddSignatureButton) > svg) > path){ | |
| 2864 | + fill:var(--button-signature-color); | |
| 2865 | + stroke-width:0.5px; | |
| 2866 | +} | |
| 2867 | + | |
| 2868 | +:is(:is(:is(#editorSignatureParamsToolbar #addSignatureDoorHanger) .toolbarAddSignatureButtonContainer) .toolbarAddSignatureButton):is(:hover,:active) > svg{ | |
| 2869 | + border-radius:4px 0 0 4px; | |
| 2870 | + background-color:var(--signature-hover-bg); | |
| 2871 | +} | |
| 2872 | + | |
| 2873 | +:is(:is(:is(#editorSignatureParamsToolbar #addSignatureDoorHanger) .toolbarAddSignatureButtonContainer) .toolbarAddSignatureButton):hover > span{ | |
| 2874 | + color:var(--button-signature-hover-color); | |
| 2875 | +} | |
| 2876 | + | |
| 2877 | +:is(:is(:is(#editorSignatureParamsToolbar #addSignatureDoorHanger) .toolbarAddSignatureButtonContainer) .toolbarAddSignatureButton):active{ | |
| 2878 | + background-color:var(--button-signature-active-bg); | |
| 2879 | +} | |
| 2880 | + | |
| 2881 | +:is(:is(:is(#editorSignatureParamsToolbar #addSignatureDoorHanger) .toolbarAddSignatureButtonContainer) .toolbarAddSignatureButton):is([disabled="disabled"],[disabled]){ | |
| 2882 | + opacity:0.5; | |
| 2883 | + pointer-events:none; | |
| 2884 | +} | |
| 2885 | + | |
| 2886 | +:is(:is(:is(#editorSignatureParamsToolbar #addSignatureDoorHanger) .toolbarAddSignatureButtonContainer) .toolbarAddSignatureButton) > span{ | |
| 2887 | + height:auto; | |
| 2888 | + text-overflow:ellipsis; | |
| 2889 | + white-space:nowrap; | |
| 2890 | + flex:1 1 auto; | |
| 2891 | + font:menu; | |
| 2892 | + font-size:13px; | |
| 2893 | + font-style:normal; | |
| 2894 | + font-weight:400; | |
| 2895 | + line-height:normal; | |
| 2896 | + overflow:hidden; | |
| 2897 | +} | |
| 2898 | + | |
| 2899 | +.editDescription.altText{ | |
| 2900 | + --alt-text-add-image:url(images/editor-toolbar-edit.svg) !important; | |
| 2901 | +} | |
| 2902 | + | |
| 2903 | +.editDescription.altText::before{ | |
| 2904 | + width:16px !important; | |
| 2905 | + height:16px !important; | |
| 2906 | +} | |
| 2907 | + | |
| 2908 | +:root{ | |
| 2909 | + --outline-width:2px; | |
| 2910 | + --outline-color:#0060df; | |
| 2911 | + --outline-around-width:1px; | |
| 2912 | + --outline-around-color:#f0f0f4; | |
| 2913 | + --hover-outline-around-color:var(--outline-around-color); | |
| 2914 | + --focus-outline:solid var(--outline-width) var(--outline-color); | |
| 2915 | + --unfocus-outline:solid var(--outline-width) transparent; | |
| 2916 | + --focus-outline-around:solid var(--outline-around-width) var(--outline-around-color); | |
| 2917 | + --hover-outline-color:#8f8f9d; | |
| 2918 | + --hover-outline:solid var(--outline-width) var(--hover-outline-color); | |
| 2919 | + --hover-outline-around:solid var(--outline-around-width) var(--hover-outline-around-color); | |
| 2920 | + --freetext-line-height:1.35; | |
| 2921 | + --freetext-padding:2px; | |
| 2922 | + --resizer-bg-color:var(--outline-color); | |
| 2923 | + --resizer-size:6px; | |
| 2924 | + --resizer-shift:calc( | |
| 2925 | + 0px - (var(--outline-width) + var(--resizer-size)) / 2 - | |
| 2926 | + var(--outline-around-width) | |
| 2927 | + ); | |
| 2928 | + --editorFreeText-editing-cursor:text; | |
| 2929 | + --editorInk-editing-cursor:url(images/cursor-editorInk.svg) 0 16, pointer; | |
| 2930 | + --editorHighlight-editing-cursor:url(images/cursor-editorTextHighlight.svg) 24 24, text; | |
| 2931 | + --editorFreeHighlight-editing-cursor:url(images/cursor-editorFreeHighlight.svg) 1 18, pointer; | |
| 2932 | + | |
| 2933 | + --new-alt-text-warning-image:url(images/altText_warning.svg); | |
| 2934 | +} | |
| 2935 | +.visuallyHidden{ | |
| 2936 | + position:absolute; | |
| 2937 | + top:0; | |
| 2938 | + left:0; | |
| 2939 | + border:0; | |
| 2940 | + margin:0; | |
| 2941 | + padding:0; | |
| 2942 | + width:0; | |
| 2943 | + height:0; | |
| 2944 | + overflow:hidden; | |
| 2945 | + white-space:nowrap; | |
| 2946 | + font-size:0; | |
| 2947 | +} | |
| 2948 | + | |
| 2949 | +.textLayer.highlighting{ | |
| 2950 | + cursor:var(--editorFreeHighlight-editing-cursor); | |
| 2951 | +} | |
| 2952 | + | |
| 2953 | +.textLayer.highlighting:not(.free) span{ | |
| 2954 | + cursor:var(--editorHighlight-editing-cursor); | |
| 2955 | +} | |
| 2956 | + | |
| 2957 | +[role="img"]:is(.textLayer.highlighting:not(.free) span){ | |
| 2958 | + cursor:var(--editorFreeHighlight-editing-cursor); | |
| 2959 | +} | |
| 2960 | + | |
| 2961 | +.textLayer.highlighting.free span{ | |
| 2962 | + cursor:var(--editorFreeHighlight-editing-cursor); | |
| 2963 | +} | |
| 2964 | + | |
| 2965 | +:is(#viewerContainer.pdfPresentationMode:fullscreen,.annotationEditorLayer.disabled) .noAltTextBadge{ | |
| 2966 | + display:none !important; | |
| 2967 | +} | |
| 2968 | + | |
| 2969 | +@media (min-resolution: 1.1dppx){ | |
| 2970 | + :root{ | |
| 2971 | + --editorFreeText-editing-cursor:url(images/cursor-editorFreeText.svg) 0 16, text; | |
| 2972 | + } | |
| 2973 | +} | |
| 2974 | + | |
| 2975 | +@media screen and (forced-colors: active){ | |
| 2976 | + :root{ | |
| 2977 | + --outline-color:CanvasText; | |
| 2978 | + --outline-around-color:ButtonFace; | |
| 2979 | + --resizer-bg-color:ButtonText; | |
| 2980 | + --hover-outline-color:Highlight; | |
| 2981 | + --hover-outline-around-color:SelectedItemText; | |
| 2982 | + } | |
| 2983 | +} | |
| 2984 | + | |
| 2985 | +[data-editor-rotation="90"]{ | |
| 2986 | + transform:rotate(90deg); | |
| 2987 | +} | |
| 2988 | + | |
| 2989 | +[data-editor-rotation="180"]{ | |
| 2990 | + transform:rotate(180deg); | |
| 2991 | +} | |
| 2992 | + | |
| 2993 | +[data-editor-rotation="270"]{ | |
| 2994 | + transform:rotate(270deg); | |
| 2995 | +} | |
| 2996 | + | |
| 2997 | +.annotationEditorLayer{ | |
| 2998 | + background:transparent; | |
| 2999 | + position:absolute; | |
| 3000 | + inset:0; | |
| 3001 | + font-size:calc(100px * var(--total-scale-factor)); | |
| 3002 | + transform-origin:0 0; | |
| 3003 | + cursor:auto; | |
| 3004 | +} | |
| 3005 | + | |
| 3006 | +.annotationEditorLayer .selectedEditor{ | |
| 3007 | + z-index:100000 !important; | |
| 3008 | +} | |
| 3009 | + | |
| 3010 | +.annotationEditorLayer.drawing *{ | |
| 3011 | + pointer-events:none !important; | |
| 3012 | +} | |
| 3013 | + | |
| 3014 | +.annotationEditorLayer.waiting{ | |
| 3015 | + content:""; | |
| 3016 | + cursor:wait; | |
| 3017 | + position:absolute; | |
| 3018 | + inset:0; | |
| 3019 | + width:100%; | |
| 3020 | + height:100%; | |
| 3021 | +} | |
| 3022 | + | |
| 3023 | +.annotationEditorLayer.disabled{ | |
| 3024 | + pointer-events:none; | |
| 3025 | +} | |
| 3026 | + | |
| 3027 | +.annotationEditorLayer.disabled.highlightEditing :is(.freeTextEditor,.inkEditor,.stampEditor,.signatureEditor){ | |
| 3028 | + pointer-events:auto; | |
| 3029 | +} | |
| 3030 | + | |
| 3031 | +.annotationEditorLayer.freetextEditing{ | |
| 3032 | + cursor:var(--editorFreeText-editing-cursor); | |
| 3033 | +} | |
| 3034 | + | |
| 3035 | +.annotationEditorLayer.inkEditing{ | |
| 3036 | + cursor:var(--editorInk-editing-cursor); | |
| 3037 | +} | |
| 3038 | + | |
| 3039 | +.annotationEditorLayer .draw{ | |
| 3040 | + box-sizing:border-box; | |
| 3041 | +} | |
| 3042 | + | |
| 3043 | +.annotationEditorLayer | |
| 3044 | +:is(.freeTextEditor, .inkEditor, .stampEditor, .signatureEditor){ | |
| 3045 | + position:absolute; | |
| 3046 | + background:transparent; | |
| 3047 | + z-index:1; | |
| 3048 | + transform-origin:0 0; | |
| 3049 | + cursor:auto; | |
| 3050 | + max-width:100%; | |
| 3051 | + max-height:100%; | |
| 3052 | + border:var(--unfocus-outline); | |
| 3053 | +} | |
| 3054 | + | |
| 3055 | +.draggable.selectedEditor:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.signatureEditor)){ | |
| 3056 | + cursor:move; | |
| 3057 | +} | |
| 3058 | + | |
| 3059 | +.selectedEditor:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.signatureEditor)){ | |
| 3060 | + border:var(--focus-outline); | |
| 3061 | + outline:var(--focus-outline-around); | |
| 3062 | +} | |
| 3063 | + | |
| 3064 | +.selectedEditor:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.signatureEditor))::before{ | |
| 3065 | + content:""; | |
| 3066 | + position:absolute; | |
| 3067 | + inset:0; | |
| 3068 | + border:var(--focus-outline-around); | |
| 3069 | + pointer-events:none; | |
| 3070 | +} | |
| 3071 | + | |
| 3072 | +:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.signatureEditor)):hover:not(.selectedEditor){ | |
| 3073 | + border:var(--hover-outline); | |
| 3074 | + outline:var(--hover-outline-around); | |
| 3075 | +} | |
| 3076 | + | |
| 3077 | +:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.signatureEditor)):hover:not(.selectedEditor)::before{ | |
| 3078 | + content:""; | |
| 3079 | + position:absolute; | |
| 3080 | + inset:0; | |
| 3081 | + border:var(--focus-outline-around); | |
| 3082 | +} | |
| 3083 | + | |
| 3084 | +:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor,.signatureEditor),.textLayer) .editToolbar{ | |
| 3085 | + --editor-toolbar-delete-image:url(images/editor-toolbar-delete.svg); | |
| 3086 | + --csstools-light-dark-toggle--75:var(--csstools-color-scheme--light) #2b2a33; | |
| 3087 | + --editor-toolbar-bg-color:var(--csstools-light-dark-toggle--75, #f0f0f4); | |
| 3088 | + --editor-toolbar-highlight-image:url(images/toolbarButton-editorHighlight.svg); | |
| 3089 | + --csstools-light-dark-toggle--76:var(--csstools-color-scheme--light) #fbfbfe; | |
| 3090 | + --editor-toolbar-fg-color:var(--csstools-light-dark-toggle--76, #2e2e56); | |
| 3091 | + --editor-toolbar-border-color:#8f8f9d; | |
| 3092 | + --editor-toolbar-hover-border-color:var(--editor-toolbar-border-color); | |
| 3093 | + --csstools-light-dark-toggle--77:var(--csstools-color-scheme--light) #52525e; | |
| 3094 | + --editor-toolbar-hover-bg-color:var(--csstools-light-dark-toggle--77, #e0e0e6); | |
| 3095 | + --editor-toolbar-hover-fg-color:var(--editor-toolbar-fg-color); | |
| 3096 | + --editor-toolbar-hover-outline:none; | |
| 3097 | + --csstools-light-dark-toggle--78:var(--csstools-color-scheme--light) #0df; | |
| 3098 | + --editor-toolbar-focus-outline-color:var(--csstools-light-dark-toggle--78, #0060df); | |
| 3099 | + --editor-toolbar-shadow:0 2px 6px 0 rgb(58 57 68 / 0.2); | |
| 3100 | + --editor-toolbar-vert-offset:6px; | |
| 3101 | + --editor-toolbar-height:28px; | |
| 3102 | + --editor-toolbar-padding:2px; | |
| 3103 | + --csstools-light-dark-toggle--79:var(--csstools-color-scheme--light) #54ffbd; | |
| 3104 | + --alt-text-done-color:var(--csstools-light-dark-toggle--79, #2ac3a2); | |
| 3105 | + --csstools-light-dark-toggle--80:var(--csstools-color-scheme--light) #80ebff; | |
| 3106 | + --alt-text-warning-color:var(--csstools-light-dark-toggle--80, #0090ed); | |
| 3107 | + --alt-text-hover-done-color:var(--alt-text-done-color); | |
| 3108 | + --alt-text-hover-warning-color:var(--alt-text-warning-color); | |
| 3109 | +} | |
| 3110 | + | |
| 3111 | +@supports (color: light-dark(red, red)){ | |
| 3112 | + :is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor,.signatureEditor),.textLayer) .editToolbar{ | |
| 3113 | + --editor-toolbar-bg-color:light-dark(#f0f0f4, #2b2a33); | |
| 3114 | + --editor-toolbar-fg-color:light-dark(#2e2e56, #fbfbfe); | |
| 3115 | + --editor-toolbar-hover-bg-color:light-dark(#e0e0e6, #52525e); | |
| 3116 | + --editor-toolbar-focus-outline-color:light-dark(#0060df, #0df); | |
| 3117 | + --alt-text-done-color:light-dark(#2ac3a2, #54ffbd); | |
| 3118 | + --alt-text-warning-color:light-dark(#0090ed, #80ebff); | |
| 3119 | + } | |
| 3120 | +} | |
| 3121 | + | |
| 3122 | +@supports not (color: light-dark(tan, tan)){ | |
| 3123 | + | |
| 3124 | + :is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor,.signatureEditor),.textLayer) .editToolbar) *{ | |
| 3125 | + --csstools-light-dark-toggle--75:var(--csstools-color-scheme--light) #2b2a33; | |
| 3126 | + --editor-toolbar-bg-color:var(--csstools-light-dark-toggle--75, #f0f0f4); | |
| 3127 | + --csstools-light-dark-toggle--76:var(--csstools-color-scheme--light) #fbfbfe; | |
| 3128 | + --editor-toolbar-fg-color:var(--csstools-light-dark-toggle--76, #2e2e56); | |
| 3129 | + --csstools-light-dark-toggle--77:var(--csstools-color-scheme--light) #52525e; | |
| 3130 | + --editor-toolbar-hover-bg-color:var(--csstools-light-dark-toggle--77, #e0e0e6); | |
| 3131 | + --csstools-light-dark-toggle--78:var(--csstools-color-scheme--light) #0df; | |
| 3132 | + --editor-toolbar-focus-outline-color:var(--csstools-light-dark-toggle--78, #0060df); | |
| 3133 | + --csstools-light-dark-toggle--79:var(--csstools-color-scheme--light) #54ffbd; | |
| 3134 | + --alt-text-done-color:var(--csstools-light-dark-toggle--79, #2ac3a2); | |
| 3135 | + --csstools-light-dark-toggle--80:var(--csstools-color-scheme--light) #80ebff; | |
| 3136 | + --alt-text-warning-color:var(--csstools-light-dark-toggle--80, #0090ed); | |
| 3137 | + } | |
| 3138 | +} | |
| 3139 | + | |
| 3140 | +@media screen and (forced-colors: active){ | |
| 3141 | + | |
| 3142 | + :is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor,.signatureEditor),.textLayer) .editToolbar{ | |
| 3143 | + --editor-toolbar-bg-color:ButtonFace; | |
| 3144 | + --editor-toolbar-fg-color:ButtonText; | |
| 3145 | + --editor-toolbar-border-color:ButtonText; | |
| 3146 | + --editor-toolbar-hover-border-color:AccentColor; | |
| 3147 | + --editor-toolbar-hover-bg-color:ButtonFace; | |
| 3148 | + --editor-toolbar-hover-fg-color:AccentColor; | |
| 3149 | + --editor-toolbar-hover-outline:2px solid var(--editor-toolbar-hover-border-color); | |
| 3150 | + --editor-toolbar-focus-outline-color:ButtonBorder; | |
| 3151 | + --editor-toolbar-shadow:none; | |
| 3152 | + --alt-text-done-color:var(--editor-toolbar-fg-color); | |
| 3153 | + --alt-text-warning-color:var(--editor-toolbar-fg-color); | |
| 3154 | + --alt-text-hover-done-color:var(--editor-toolbar-hover-fg-color); | |
| 3155 | + --alt-text-hover-warning-color:var(--editor-toolbar-hover-fg-color); | |
| 3156 | + } | |
| 3157 | +} | |
| 3158 | + | |
| 3159 | +:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor,.signatureEditor),.textLayer) .editToolbar{ | |
| 3160 | + | |
| 3161 | + display:flex; | |
| 3162 | + width:-moz-fit-content; | |
| 3163 | + width:fit-content; | |
| 3164 | + height:var(--editor-toolbar-height); | |
| 3165 | + flex-direction:column; | |
| 3166 | + justify-content:center; | |
| 3167 | + align-items:center; | |
| 3168 | + cursor:default; | |
| 3169 | + pointer-events:auto; | |
| 3170 | + box-sizing:content-box; | |
| 3171 | + padding:var(--editor-toolbar-padding); | |
| 3172 | + | |
| 3173 | + position:absolute; | |
| 3174 | + inset-inline-end:0; | |
| 3175 | + inset-block-start:calc(100% + var(--editor-toolbar-vert-offset)); | |
| 3176 | + | |
| 3177 | + border-radius:6px; | |
| 3178 | + background-color:var(--editor-toolbar-bg-color); | |
| 3179 | + border:1px solid var(--editor-toolbar-border-color); | |
| 3180 | + box-shadow:var(--editor-toolbar-shadow); | |
| 3181 | +} | |
| 3182 | + | |
| 3183 | +.hidden:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor,.signatureEditor),.textLayer) .editToolbar){ | |
| 3184 | + display:none; | |
| 3185 | +} | |
| 3186 | + | |
| 3187 | +:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor,.signatureEditor),.textLayer) .editToolbar):has(:focus-visible){ | |
| 3188 | + border-color:transparent; | |
| 3189 | +} | |
| 3190 | + | |
| 3191 | +[dir="ltr"] :is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor,.signatureEditor),.textLayer) .editToolbar){ | |
| 3192 | + transform-origin:100% 0; | |
| 3193 | +} | |
| 3194 | + | |
| 3195 | +[dir="rtl"] :is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor,.signatureEditor),.textLayer) .editToolbar){ | |
| 3196 | + transform-origin:0 0; | |
| 3197 | +} | |
| 3198 | + | |
| 3199 | +:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor,.signatureEditor),.textLayer) .editToolbar) .buttons{ | |
| 3200 | + display:flex; | |
| 3201 | + justify-content:center; | |
| 3202 | + align-items:center; | |
| 3203 | + gap:0; | |
| 3204 | + height:100%; | |
| 3205 | +} | |
| 3206 | + | |
| 3207 | +:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor,.signatureEditor),.textLayer) .editToolbar) .buttons) button{ | |
| 3208 | + padding:0; | |
| 3209 | +} | |
| 3210 | + | |
| 3211 | +:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor,.signatureEditor),.textLayer) .editToolbar) .buttons) .divider{ | |
| 3212 | + width:0; | |
| 3213 | + height:calc( | |
| 3214 | + 2 * var(--editor-toolbar-padding) + var(--editor-toolbar-height) | |
| 3215 | + ); | |
| 3216 | + border-left:1px solid var(--editor-toolbar-border-color); | |
| 3217 | + border-right:none; | |
| 3218 | + display:inline-block; | |
| 3219 | + margin-inline:2px; | |
| 3220 | +} | |
| 3221 | + | |
| 3222 | +:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor,.signatureEditor),.textLayer) .editToolbar) .buttons) .highlightButton{ | |
| 3223 | + width:var(--editor-toolbar-height); | |
| 3224 | +} | |
| 3225 | + | |
| 3226 | +:is(:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor,.signatureEditor),.textLayer) .editToolbar) .buttons) .highlightButton)::before{ | |
| 3227 | + content:""; | |
| 3228 | + -webkit-mask-image:var(--editor-toolbar-highlight-image); | |
| 3229 | + mask-image:var(--editor-toolbar-highlight-image); | |
| 3230 | + -webkit-mask-repeat:no-repeat; | |
| 3231 | + mask-repeat:no-repeat; | |
| 3232 | + -webkit-mask-position:center; | |
| 3233 | + mask-position:center; | |
| 3234 | + display:inline-block; | |
| 3235 | + background-color:var(--editor-toolbar-fg-color); | |
| 3236 | + width:100%; | |
| 3237 | + height:100%; | |
| 3238 | +} | |
| 3239 | + | |
| 3240 | +:is(:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor,.signatureEditor),.textLayer) .editToolbar) .buttons) .highlightButton):hover::before{ | |
| 3241 | + background-color:var(--editor-toolbar-hover-fg-color); | |
| 3242 | +} | |
| 3243 | + | |
| 3244 | +:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor,.signatureEditor),.textLayer) .editToolbar) .buttons) .delete{ | |
| 3245 | + width:var(--editor-toolbar-height); | |
| 3246 | +} | |
| 3247 | + | |
| 3248 | +:is(:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor,.signatureEditor),.textLayer) .editToolbar) .buttons) .delete)::before{ | |
| 3249 | + content:""; | |
| 3250 | + -webkit-mask-image:var(--editor-toolbar-delete-image); | |
| 3251 | + mask-image:var(--editor-toolbar-delete-image); | |
| 3252 | + -webkit-mask-repeat:no-repeat; | |
| 3253 | + mask-repeat:no-repeat; | |
| 3254 | + -webkit-mask-position:center; | |
| 3255 | + mask-position:center; | |
| 3256 | + display:inline-block; | |
| 3257 | + background-color:var(--editor-toolbar-fg-color); | |
| 3258 | + width:100%; | |
| 3259 | + height:100%; | |
| 3260 | +} | |
| 3261 | + | |
| 3262 | +:is(:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor,.signatureEditor),.textLayer) .editToolbar) .buttons) .delete):hover::before{ | |
| 3263 | + background-color:var(--editor-toolbar-hover-fg-color); | |
| 3264 | +} | |
| 3265 | + | |
| 3266 | +:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor,.signatureEditor),.textLayer) .editToolbar) .buttons) > *{ | |
| 3267 | + height:var(--editor-toolbar-height); | |
| 3268 | +} | |
| 3269 | + | |
| 3270 | +:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor,.signatureEditor),.textLayer) .editToolbar) .buttons) > :not(.divider){ | |
| 3271 | + border:none; | |
| 3272 | + background-color:transparent; | |
| 3273 | + cursor:pointer; | |
| 3274 | +} | |
| 3275 | + | |
| 3276 | +:is(:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor,.signatureEditor),.textLayer) .editToolbar) .buttons) > :not(.divider)):hover{ | |
| 3277 | + border-radius:2px; | |
| 3278 | + background-color:var(--editor-toolbar-hover-bg-color); | |
| 3279 | + color:var(--editor-toolbar-hover-fg-color); | |
| 3280 | + outline:var(--editor-toolbar-hover-outline); | |
| 3281 | + outline-offset:1px; | |
| 3282 | +} | |
| 3283 | + | |
| 3284 | +:is(:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor,.signatureEditor),.textLayer) .editToolbar) .buttons) > :not(.divider)):hover:active{ | |
| 3285 | + outline:none; | |
| 3286 | +} | |
| 3287 | + | |
| 3288 | +:is(:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor,.signatureEditor),.textLayer) .editToolbar) .buttons) > :not(.divider)):focus-visible{ | |
| 3289 | + border-radius:2px; | |
| 3290 | + outline:2px solid var(--editor-toolbar-focus-outline-color); | |
| 3291 | +} | |
| 3292 | + | |
| 3293 | +:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor,.signatureEditor),.textLayer) .editToolbar) .buttons) .altText{ | |
| 3294 | + --alt-text-add-image:url(images/altText_add.svg); | |
| 3295 | + --alt-text-done-image:url(images/altText_done.svg); | |
| 3296 | + | |
| 3297 | + display:flex; | |
| 3298 | + align-items:center; | |
| 3299 | + justify-content:center; | |
| 3300 | + width:-moz-max-content; | |
| 3301 | + width:max-content; | |
| 3302 | + padding-inline:8px; | |
| 3303 | + pointer-events:all; | |
| 3304 | + font:menu; | |
| 3305 | + font-weight:590; | |
| 3306 | + font-size:12px; | |
| 3307 | + color:var(--editor-toolbar-fg-color); | |
| 3308 | +} | |
| 3309 | + | |
| 3310 | +:is(:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor,.signatureEditor),.textLayer) .editToolbar) .buttons) .altText):disabled{ | |
| 3311 | + pointer-events:none; | |
| 3312 | +} | |
| 3313 | + | |
| 3314 | +:is(:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor,.signatureEditor),.textLayer) .editToolbar) .buttons) .altText)::before{ | |
| 3315 | + content:""; | |
| 3316 | + -webkit-mask-image:var(--alt-text-add-image); | |
| 3317 | + mask-image:var(--alt-text-add-image); | |
| 3318 | + -webkit-mask-repeat:no-repeat; | |
| 3319 | + mask-repeat:no-repeat; | |
| 3320 | + -webkit-mask-position:center; | |
| 3321 | + mask-position:center; | |
| 3322 | + display:inline-block; | |
| 3323 | + width:12px; | |
| 3324 | + height:13px; | |
| 3325 | + background-color:var(--editor-toolbar-fg-color); | |
| 3326 | + margin-inline-end:4px; | |
| 3327 | +} | |
| 3328 | + | |
| 3329 | +:is(:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor,.signatureEditor),.textLayer) .editToolbar) .buttons) .altText):hover::before{ | |
| 3330 | + background-color:var(--editor-toolbar-hover-fg-color); | |
| 3331 | +} | |
| 3332 | + | |
| 3333 | +.done:is(:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor,.signatureEditor),.textLayer) .editToolbar) .buttons) .altText)::before{ | |
| 3334 | + -webkit-mask-image:var(--alt-text-done-image); | |
| 3335 | + mask-image:var(--alt-text-done-image); | |
| 3336 | +} | |
| 3337 | + | |
| 3338 | +.new:is(:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor,.signatureEditor),.textLayer) .editToolbar) .buttons) .altText)::before{ | |
| 3339 | + width:16px; | |
| 3340 | + height:16px; | |
| 3341 | + -webkit-mask-image:var(--new-alt-text-warning-image); | |
| 3342 | + mask-image:var(--new-alt-text-warning-image); | |
| 3343 | + background-color:var(--alt-text-warning-color); | |
| 3344 | + -webkit-mask-size:cover; | |
| 3345 | + mask-size:cover; | |
| 3346 | +} | |
| 3347 | + | |
| 3348 | +.new:is(:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor,.signatureEditor),.textLayer) .editToolbar) .buttons) .altText):hover::before{ | |
| 3349 | + background-color:var(--alt-text-hover-warning-color); | |
| 3350 | +} | |
| 3351 | + | |
| 3352 | +.new.done:is(:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor,.signatureEditor),.textLayer) .editToolbar) .buttons) .altText)::before{ | |
| 3353 | + -webkit-mask-image:var(--alt-text-done-image); | |
| 3354 | + mask-image:var(--alt-text-done-image); | |
| 3355 | + background-color:var(--alt-text-done-color); | |
| 3356 | +} | |
| 3357 | + | |
| 3358 | +.new.done:is(:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor,.signatureEditor),.textLayer) .editToolbar) .buttons) .altText):hover::before{ | |
| 3359 | + background-color:var(--alt-text-hover-done-color); | |
| 3360 | +} | |
| 3361 | + | |
| 3362 | +:is(:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor,.signatureEditor),.textLayer) .editToolbar) .buttons) .altText) .tooltip{ | |
| 3363 | + display:none; | |
| 3364 | + word-wrap:anywhere; | |
| 3365 | +} | |
| 3366 | + | |
| 3367 | +.show:is(:is(:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor,.signatureEditor),.textLayer) .editToolbar) .buttons) .altText) .tooltip){ | |
| 3368 | + --csstools-light-dark-toggle--81:var(--csstools-color-scheme--light) #1c1b22; | |
| 3369 | + --alt-text-tooltip-bg:var(--csstools-light-dark-toggle--81, #f0f0f4); | |
| 3370 | + --csstools-light-dark-toggle--82:var(--csstools-color-scheme--light) #fbfbfe; | |
| 3371 | + --alt-text-tooltip-fg:var(--csstools-light-dark-toggle--82, #15141a); | |
| 3372 | + --alt-text-tooltip-border:#8f8f9d; | |
| 3373 | + --csstools-light-dark-toggle--83:var(--csstools-color-scheme--light) #15141a; | |
| 3374 | + --alt-text-tooltip-shadow:0px 2px 6px 0px var(--csstools-light-dark-toggle--83, rgb(58 57 68 / 0.2)); | |
| 3375 | +} | |
| 3376 | + | |
| 3377 | +@supports (color: light-dark(red, red)){ | |
| 3378 | + .show:is(:is(:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor,.signatureEditor),.textLayer) .editToolbar) .buttons) .altText) .tooltip){ | |
| 3379 | + --alt-text-tooltip-bg:light-dark(#f0f0f4, #1c1b22); | |
| 3380 | + --alt-text-tooltip-fg:light-dark(#15141a, #fbfbfe); | |
| 3381 | + } | |
| 3382 | +} | |
| 3383 | + | |
| 3384 | +@supports (color: light-dark(red, red)) and (color: rgb(0 0 0 / 0)){ | |
| 3385 | + .show:is(:is(:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor,.signatureEditor),.textLayer) .editToolbar) .buttons) .altText) .tooltip){ | |
| 3386 | + --alt-text-tooltip-shadow:0px 2px 6px 0px light-dark(rgb(58 57 68 / 0.2), #15141a); | |
| 3387 | + } | |
| 3388 | +} | |
| 3389 | + | |
| 3390 | +@supports not (color: light-dark(tan, tan)){ | |
| 3391 | + | |
| 3392 | + .show:is(:is(:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor,.signatureEditor),.textLayer) .editToolbar) .buttons) .altText) .tooltip) *{ | |
| 3393 | + --csstools-light-dark-toggle--81:var(--csstools-color-scheme--light) #1c1b22; | |
| 3394 | + --alt-text-tooltip-bg:var(--csstools-light-dark-toggle--81, #f0f0f4); | |
| 3395 | + --csstools-light-dark-toggle--82:var(--csstools-color-scheme--light) #fbfbfe; | |
| 3396 | + --alt-text-tooltip-fg:var(--csstools-light-dark-toggle--82, #15141a); | |
| 3397 | + --csstools-light-dark-toggle--83:var(--csstools-color-scheme--light) #15141a; | |
| 3398 | + --alt-text-tooltip-shadow:0px 2px 6px 0px var(--csstools-light-dark-toggle--83, rgb(58 57 68 / 0.2)); | |
| 3399 | + } | |
| 3400 | +} | |
| 3401 | + | |
| 3402 | +@media screen and (forced-colors: active){ | |
| 3403 | + | |
| 3404 | + .show:is(:is(:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor,.signatureEditor),.textLayer) .editToolbar) .buttons) .altText) .tooltip){ | |
| 3405 | + --alt-text-tooltip-bg:Canvas; | |
| 3406 | + --alt-text-tooltip-fg:CanvasText; | |
| 3407 | + --alt-text-tooltip-border:CanvasText; | |
| 3408 | + --alt-text-tooltip-shadow:none; | |
| 3409 | + } | |
| 3410 | +} | |
| 3411 | + | |
| 3412 | +.show:is(:is(:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.highlightEditor,.signatureEditor),.textLayer) .editToolbar) .buttons) .altText) .tooltip){ | |
| 3413 | + | |
| 3414 | + display:inline-flex; | |
| 3415 | + flex-direction:column; | |
| 3416 | + align-items:center; | |
| 3417 | + justify-content:center; | |
| 3418 | + position:absolute; | |
| 3419 | + top:calc(100% + 2px); | |
| 3420 | + inset-inline-start:0; | |
| 3421 | + padding-block:2px 3px; | |
| 3422 | + padding-inline:3px; | |
| 3423 | + max-width:300px; | |
| 3424 | + width:-moz-max-content; | |
| 3425 | + width:max-content; | |
| 3426 | + height:auto; | |
| 3427 | + font-size:12px; | |
| 3428 | + | |
| 3429 | + border:0.5px solid var(--alt-text-tooltip-border); | |
| 3430 | + background:var(--alt-text-tooltip-bg); | |
| 3431 | + box-shadow:var(--alt-text-tooltip-shadow); | |
| 3432 | + color:var(--alt-text-tooltip-fg); | |
| 3433 | + | |
| 3434 | + pointer-events:none; | |
| 3435 | +} | |
| 3436 | + | |
| 3437 | +.annotationEditorLayer .freeTextEditor{ | |
| 3438 | + padding:calc(var(--freetext-padding) * var(--total-scale-factor)); | |
| 3439 | + width:auto; | |
| 3440 | + height:auto; | |
| 3441 | + touch-action:none; | |
| 3442 | +} | |
| 3443 | + | |
| 3444 | +.annotationEditorLayer .freeTextEditor .internal{ | |
| 3445 | + background:transparent; | |
| 3446 | + border:none; | |
| 3447 | + inset:0; | |
| 3448 | + overflow:visible; | |
| 3449 | + white-space:nowrap; | |
| 3450 | + font:10px sans-serif; | |
| 3451 | + line-height:var(--freetext-line-height); | |
| 3452 | + -webkit-user-select:none; | |
| 3453 | + -moz-user-select:none; | |
| 3454 | + user-select:none; | |
| 3455 | +} | |
| 3456 | + | |
| 3457 | +.annotationEditorLayer .freeTextEditor .overlay{ | |
| 3458 | + position:absolute; | |
| 3459 | + display:none; | |
| 3460 | + background:transparent; | |
| 3461 | + inset:0; | |
| 3462 | + width:100%; | |
| 3463 | + height:100%; | |
| 3464 | +} | |
| 3465 | + | |
| 3466 | +.annotationEditorLayer freeTextEditor .overlay.enabled{ | |
| 3467 | + display:block; | |
| 3468 | +} | |
| 3469 | + | |
| 3470 | +.annotationEditorLayer .freeTextEditor .internal:empty::before{ | |
| 3471 | + content:attr(default-content); | |
| 3472 | + color:gray; | |
| 3473 | +} | |
| 3474 | + | |
| 3475 | +.annotationEditorLayer .freeTextEditor .internal:focus{ | |
| 3476 | + outline:none; | |
| 3477 | + -webkit-user-select:auto; | |
| 3478 | + -moz-user-select:auto; | |
| 3479 | + user-select:auto; | |
| 3480 | +} | |
| 3481 | + | |
| 3482 | +.annotationEditorLayer .inkEditor{ | |
| 3483 | + width:100%; | |
| 3484 | + height:100%; | |
| 3485 | +} | |
| 3486 | + | |
| 3487 | +.annotationEditorLayer .inkEditor.editing{ | |
| 3488 | + cursor:inherit; | |
| 3489 | +} | |
| 3490 | + | |
| 3491 | +.annotationEditorLayer .inkEditor .inkEditorCanvas{ | |
| 3492 | + position:absolute; | |
| 3493 | + inset:0; | |
| 3494 | + width:100%; | |
| 3495 | + height:100%; | |
| 3496 | + touch-action:none; | |
| 3497 | +} | |
| 3498 | + | |
| 3499 | +.annotationEditorLayer .stampEditor{ | |
| 3500 | + width:auto; | |
| 3501 | + height:auto; | |
| 3502 | +} | |
| 3503 | + | |
| 3504 | +:is(.annotationEditorLayer .stampEditor) canvas{ | |
| 3505 | + position:absolute; | |
| 3506 | + width:100%; | |
| 3507 | + height:100%; | |
| 3508 | + margin:0; | |
| 3509 | + top:0; | |
| 3510 | + left:0; | |
| 3511 | +} | |
| 3512 | + | |
| 3513 | +:is(.annotationEditorLayer .stampEditor) .noAltTextBadge{ | |
| 3514 | + --csstools-light-dark-toggle--84:var(--csstools-color-scheme--light) #52525e; | |
| 3515 | + --no-alt-text-badge-border-color:var(--csstools-light-dark-toggle--84, #f0f0f4); | |
| 3516 | + --csstools-light-dark-toggle--85:var(--csstools-color-scheme--light) #fbfbfe; | |
| 3517 | + --no-alt-text-badge-bg-color:var(--csstools-light-dark-toggle--85, #cfcfd8); | |
| 3518 | + --csstools-light-dark-toggle--86:var(--csstools-color-scheme--light) #15141a; | |
| 3519 | + --no-alt-text-badge-fg-color:var(--csstools-light-dark-toggle--86, #5b5b66); | |
| 3520 | +} | |
| 3521 | + | |
| 3522 | +@supports (color: light-dark(red, red)){ | |
| 3523 | + :is(.annotationEditorLayer .stampEditor) .noAltTextBadge{ | |
| 3524 | + --no-alt-text-badge-border-color:light-dark(#f0f0f4, #52525e); | |
| 3525 | + --no-alt-text-badge-bg-color:light-dark(#cfcfd8, #fbfbfe); | |
| 3526 | + --no-alt-text-badge-fg-color:light-dark(#5b5b66, #15141a); | |
| 3527 | + } | |
| 3528 | +} | |
| 3529 | + | |
| 3530 | +@supports not (color: light-dark(tan, tan)){ | |
| 3531 | + | |
| 3532 | + :is(:is(.annotationEditorLayer .stampEditor) .noAltTextBadge) *{ | |
| 3533 | + --csstools-light-dark-toggle--84:var(--csstools-color-scheme--light) #52525e; | |
| 3534 | + --no-alt-text-badge-border-color:var(--csstools-light-dark-toggle--84, #f0f0f4); | |
| 3535 | + --csstools-light-dark-toggle--85:var(--csstools-color-scheme--light) #fbfbfe; | |
| 3536 | + --no-alt-text-badge-bg-color:var(--csstools-light-dark-toggle--85, #cfcfd8); | |
| 3537 | + --csstools-light-dark-toggle--86:var(--csstools-color-scheme--light) #15141a; | |
| 3538 | + --no-alt-text-badge-fg-color:var(--csstools-light-dark-toggle--86, #5b5b66); | |
| 3539 | + } | |
| 3540 | +} | |
| 3541 | + | |
| 3542 | +@media screen and (forced-colors: active){ | |
| 3543 | + | |
| 3544 | + :is(.annotationEditorLayer .stampEditor) .noAltTextBadge{ | |
| 3545 | + --no-alt-text-badge-border-color:ButtonText; | |
| 3546 | + --no-alt-text-badge-bg-color:ButtonFace; | |
| 3547 | + --no-alt-text-badge-fg-color:ButtonText; | |
| 3548 | + } | |
| 3549 | +} | |
| 3550 | + | |
| 3551 | +:is(.annotationEditorLayer .stampEditor) .noAltTextBadge{ | |
| 3552 | + | |
| 3553 | + position:absolute; | |
| 3554 | + inset-inline-end:5px; | |
| 3555 | + inset-block-end:5px; | |
| 3556 | + display:inline-flex; | |
| 3557 | + width:32px; | |
| 3558 | + height:32px; | |
| 3559 | + padding:3px; | |
| 3560 | + justify-content:center; | |
| 3561 | + align-items:center; | |
| 3562 | + pointer-events:none; | |
| 3563 | + z-index:1; | |
| 3564 | + | |
| 3565 | + border-radius:2px; | |
| 3566 | + border:1px solid var(--no-alt-text-badge-border-color); | |
| 3567 | + background:var(--no-alt-text-badge-bg-color); | |
| 3568 | +} | |
| 3569 | + | |
| 3570 | +:is(:is(.annotationEditorLayer .stampEditor) .noAltTextBadge)::before{ | |
| 3571 | + content:""; | |
| 3572 | + display:inline-block; | |
| 3573 | + width:16px; | |
| 3574 | + height:16px; | |
| 3575 | + -webkit-mask-image:var(--new-alt-text-warning-image); | |
| 3576 | + mask-image:var(--new-alt-text-warning-image); | |
| 3577 | + -webkit-mask-size:cover; | |
| 3578 | + mask-size:cover; | |
| 3579 | + background-color:var(--no-alt-text-badge-fg-color); | |
| 3580 | +} | |
| 3581 | + | |
| 3582 | +:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.signatureEditor)) > .resizers{ | |
| 3583 | + position:absolute; | |
| 3584 | + inset:0; | |
| 3585 | +} | |
| 3586 | + | |
| 3587 | +.hidden:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.signatureEditor)) > .resizers){ | |
| 3588 | + display:none; | |
| 3589 | +} | |
| 3590 | + | |
| 3591 | +:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.signatureEditor)) > .resizers) > .resizer{ | |
| 3592 | + width:var(--resizer-size); | |
| 3593 | + height:var(--resizer-size); | |
| 3594 | + background:content-box var(--resizer-bg-color); | |
| 3595 | + border:var(--focus-outline-around); | |
| 3596 | + border-radius:2px; | |
| 3597 | + position:absolute; | |
| 3598 | +} | |
| 3599 | + | |
| 3600 | +.topLeft:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.signatureEditor)) > .resizers) > .resizer){ | |
| 3601 | + top:var(--resizer-shift); | |
| 3602 | + left:var(--resizer-shift); | |
| 3603 | +} | |
| 3604 | + | |
| 3605 | +.topMiddle:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.signatureEditor)) > .resizers) > .resizer){ | |
| 3606 | + top:var(--resizer-shift); | |
| 3607 | + left:calc(50% + var(--resizer-shift)); | |
| 3608 | +} | |
| 3609 | + | |
| 3610 | +.topRight:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.signatureEditor)) > .resizers) > .resizer){ | |
| 3611 | + top:var(--resizer-shift); | |
| 3612 | + right:var(--resizer-shift); | |
| 3613 | +} | |
| 3614 | + | |
| 3615 | +.middleRight:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.signatureEditor)) > .resizers) > .resizer){ | |
| 3616 | + top:calc(50% + var(--resizer-shift)); | |
| 3617 | + right:var(--resizer-shift); | |
| 3618 | +} | |
| 3619 | + | |
| 3620 | +.bottomRight:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.signatureEditor)) > .resizers) > .resizer){ | |
| 3621 | + bottom:var(--resizer-shift); | |
| 3622 | + right:var(--resizer-shift); | |
| 3623 | +} | |
| 3624 | + | |
| 3625 | +.bottomMiddle:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.signatureEditor)) > .resizers) > .resizer){ | |
| 3626 | + bottom:var(--resizer-shift); | |
| 3627 | + left:calc(50% + var(--resizer-shift)); | |
| 3628 | +} | |
| 3629 | + | |
| 3630 | +.bottomLeft:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.signatureEditor)) > .resizers) > .resizer){ | |
| 3631 | + bottom:var(--resizer-shift); | |
| 3632 | + left:var(--resizer-shift); | |
| 3633 | +} | |
| 3634 | + | |
| 3635 | +.middleLeft:is(:is(:is(.annotationEditorLayer :is(.freeTextEditor,.inkEditor,.stampEditor,.signatureEditor)) > .resizers) > .resizer){ | |
| 3636 | + top:calc(50% + var(--resizer-shift)); | |
| 3637 | + left:var(--resizer-shift); | |
| 3638 | +} | |
| 3639 | + | |
| 3640 | +.topLeft:is(:is(.annotationEditorLayer[data-main-rotation="0"] :is([data-editor-rotation="0"],[data-editor-rotation="180"]),.annotationEditorLayer[data-main-rotation="90"] :is([data-editor-rotation="270"],[data-editor-rotation="90"]),.annotationEditorLayer[data-main-rotation="180"] :is([data-editor-rotation="180"],[data-editor-rotation="0"]),.annotationEditorLayer[data-main-rotation="270"] :is([data-editor-rotation="90"],[data-editor-rotation="270"])) > .resizers > .resizer),.bottomRight:is(:is(.annotationEditorLayer[data-main-rotation="0"] :is([data-editor-rotation="0"],[data-editor-rotation="180"]),.annotationEditorLayer[data-main-rotation="90"] :is([data-editor-rotation="270"],[data-editor-rotation="90"]),.annotationEditorLayer[data-main-rotation="180"] :is([data-editor-rotation="180"],[data-editor-rotation="0"]),.annotationEditorLayer[data-main-rotation="270"] :is([data-editor-rotation="90"],[data-editor-rotation="270"])) > .resizers > .resizer){ | |
| 3641 | + cursor:nwse-resize; | |
| 3642 | +} | |
| 3643 | + | |
| 3644 | +.topMiddle:is(:is(.annotationEditorLayer[data-main-rotation="0"] :is([data-editor-rotation="0"],[data-editor-rotation="180"]),.annotationEditorLayer[data-main-rotation="90"] :is([data-editor-rotation="270"],[data-editor-rotation="90"]),.annotationEditorLayer[data-main-rotation="180"] :is([data-editor-rotation="180"],[data-editor-rotation="0"]),.annotationEditorLayer[data-main-rotation="270"] :is([data-editor-rotation="90"],[data-editor-rotation="270"])) > .resizers > .resizer),.bottomMiddle:is(:is(.annotationEditorLayer[data-main-rotation="0"] :is([data-editor-rotation="0"],[data-editor-rotation="180"]),.annotationEditorLayer[data-main-rotation="90"] :is([data-editor-rotation="270"],[data-editor-rotation="90"]),.annotationEditorLayer[data-main-rotation="180"] :is([data-editor-rotation="180"],[data-editor-rotation="0"]),.annotationEditorLayer[data-main-rotation="270"] :is([data-editor-rotation="90"],[data-editor-rotation="270"])) > .resizers > .resizer){ | |
| 3645 | + cursor:ns-resize; | |
| 3646 | +} | |
| 3647 | + | |
| 3648 | +.topRight:is(:is(.annotationEditorLayer[data-main-rotation="0"] :is([data-editor-rotation="0"],[data-editor-rotation="180"]),.annotationEditorLayer[data-main-rotation="90"] :is([data-editor-rotation="270"],[data-editor-rotation="90"]),.annotationEditorLayer[data-main-rotation="180"] :is([data-editor-rotation="180"],[data-editor-rotation="0"]),.annotationEditorLayer[data-main-rotation="270"] :is([data-editor-rotation="90"],[data-editor-rotation="270"])) > .resizers > .resizer),.bottomLeft:is(:is(.annotationEditorLayer[data-main-rotation="0"] :is([data-editor-rotation="0"],[data-editor-rotation="180"]),.annotationEditorLayer[data-main-rotation="90"] :is([data-editor-rotation="270"],[data-editor-rotation="90"]),.annotationEditorLayer[data-main-rotation="180"] :is([data-editor-rotation="180"],[data-editor-rotation="0"]),.annotationEditorLayer[data-main-rotation="270"] :is([data-editor-rotation="90"],[data-editor-rotation="270"])) > .resizers > .resizer){ | |
| 3649 | + cursor:nesw-resize; | |
| 3650 | +} | |
| 3651 | + | |
| 3652 | +.middleRight:is(:is(.annotationEditorLayer[data-main-rotation="0"] :is([data-editor-rotation="0"],[data-editor-rotation="180"]),.annotationEditorLayer[data-main-rotation="90"] :is([data-editor-rotation="270"],[data-editor-rotation="90"]),.annotationEditorLayer[data-main-rotation="180"] :is([data-editor-rotation="180"],[data-editor-rotation="0"]),.annotationEditorLayer[data-main-rotation="270"] :is([data-editor-rotation="90"],[data-editor-rotation="270"])) > .resizers > .resizer),.middleLeft:is(:is(.annotationEditorLayer[data-main-rotation="0"] :is([data-editor-rotation="0"],[data-editor-rotation="180"]),.annotationEditorLayer[data-main-rotation="90"] :is([data-editor-rotation="270"],[data-editor-rotation="90"]),.annotationEditorLayer[data-main-rotation="180"] :is([data-editor-rotation="180"],[data-editor-rotation="0"]),.annotationEditorLayer[data-main-rotation="270"] :is([data-editor-rotation="90"],[data-editor-rotation="270"])) > .resizers > .resizer){ | |
| 3653 | + cursor:ew-resize; | |
| 3654 | +} | |
| 3655 | + | |
| 3656 | +.topLeft:is(:is(.annotationEditorLayer[data-main-rotation="0"] :is([data-editor-rotation="90"],[data-editor-rotation="270"]),.annotationEditorLayer[data-main-rotation="90"] :is([data-editor-rotation="0"],[data-editor-rotation="180"]),.annotationEditorLayer[data-main-rotation="180"] :is([data-editor-rotation="270"],[data-editor-rotation="90"]),.annotationEditorLayer[data-main-rotation="270"] :is([data-editor-rotation="180"],[data-editor-rotation="0"])) > .resizers > .resizer),.bottomRight:is(:is(.annotationEditorLayer[data-main-rotation="0"] :is([data-editor-rotation="90"],[data-editor-rotation="270"]),.annotationEditorLayer[data-main-rotation="90"] :is([data-editor-rotation="0"],[data-editor-rotation="180"]),.annotationEditorLayer[data-main-rotation="180"] :is([data-editor-rotation="270"],[data-editor-rotation="90"]),.annotationEditorLayer[data-main-rotation="270"] :is([data-editor-rotation="180"],[data-editor-rotation="0"])) > .resizers > .resizer){ | |
| 3657 | + cursor:nesw-resize; | |
| 3658 | +} | |
| 3659 | + | |
| 3660 | +.topMiddle:is(:is(.annotationEditorLayer[data-main-rotation="0"] :is([data-editor-rotation="90"],[data-editor-rotation="270"]),.annotationEditorLayer[data-main-rotation="90"] :is([data-editor-rotation="0"],[data-editor-rotation="180"]),.annotationEditorLayer[data-main-rotation="180"] :is([data-editor-rotation="270"],[data-editor-rotation="90"]),.annotationEditorLayer[data-main-rotation="270"] :is([data-editor-rotation="180"],[data-editor-rotation="0"])) > .resizers > .resizer),.bottomMiddle:is(:is(.annotationEditorLayer[data-main-rotation="0"] :is([data-editor-rotation="90"],[data-editor-rotation="270"]),.annotationEditorLayer[data-main-rotation="90"] :is([data-editor-rotation="0"],[data-editor-rotation="180"]),.annotationEditorLayer[data-main-rotation="180"] :is([data-editor-rotation="270"],[data-editor-rotation="90"]),.annotationEditorLayer[data-main-rotation="270"] :is([data-editor-rotation="180"],[data-editor-rotation="0"])) > .resizers > .resizer){ | |
| 3661 | + cursor:ew-resize; | |
| 3662 | +} | |
| 3663 | + | |
| 3664 | +.topRight:is(:is(.annotationEditorLayer[data-main-rotation="0"] :is([data-editor-rotation="90"],[data-editor-rotation="270"]),.annotationEditorLayer[data-main-rotation="90"] :is([data-editor-rotation="0"],[data-editor-rotation="180"]),.annotationEditorLayer[data-main-rotation="180"] :is([data-editor-rotation="270"],[data-editor-rotation="90"]),.annotationEditorLayer[data-main-rotation="270"] :is([data-editor-rotation="180"],[data-editor-rotation="0"])) > .resizers > .resizer),.bottomLeft:is(:is(.annotationEditorLayer[data-main-rotation="0"] :is([data-editor-rotation="90"],[data-editor-rotation="270"]),.annotationEditorLayer[data-main-rotation="90"] :is([data-editor-rotation="0"],[data-editor-rotation="180"]),.annotationEditorLayer[data-main-rotation="180"] :is([data-editor-rotation="270"],[data-editor-rotation="90"]),.annotationEditorLayer[data-main-rotation="270"] :is([data-editor-rotation="180"],[data-editor-rotation="0"])) > .resizers > .resizer){ | |
| 3665 | + cursor:nwse-resize; | |
| 3666 | +} | |
| 3667 | + | |
| 3668 | +.middleRight:is(:is(.annotationEditorLayer[data-main-rotation="0"] :is([data-editor-rotation="90"],[data-editor-rotation="270"]),.annotationEditorLayer[data-main-rotation="90"] :is([data-editor-rotation="0"],[data-editor-rotation="180"]),.annotationEditorLayer[data-main-rotation="180"] :is([data-editor-rotation="270"],[data-editor-rotation="90"]),.annotationEditorLayer[data-main-rotation="270"] :is([data-editor-rotation="180"],[data-editor-rotation="0"])) > .resizers > .resizer),.middleLeft:is(:is(.annotationEditorLayer[data-main-rotation="0"] :is([data-editor-rotation="90"],[data-editor-rotation="270"]),.annotationEditorLayer[data-main-rotation="90"] :is([data-editor-rotation="0"],[data-editor-rotation="180"]),.annotationEditorLayer[data-main-rotation="180"] :is([data-editor-rotation="270"],[data-editor-rotation="90"]),.annotationEditorLayer[data-main-rotation="270"] :is([data-editor-rotation="180"],[data-editor-rotation="0"])) > .resizers > .resizer){ | |
| 3669 | + cursor:ns-resize; | |
| 3670 | +} | |
| 3671 | + | |
| 3672 | +:is(.annotationEditorLayer :is([data-main-rotation="0"] [data-editor-rotation="90"],[data-main-rotation="90"] [data-editor-rotation="0"],[data-main-rotation="180"] [data-editor-rotation="270"],[data-main-rotation="270"] [data-editor-rotation="180"])) .editToolbar{ | |
| 3673 | + rotate:270deg; | |
| 3674 | +} | |
| 3675 | + | |
| 3676 | +[dir="ltr"] :is(:is(.annotationEditorLayer :is([data-main-rotation="0"] [data-editor-rotation="90"],[data-main-rotation="90"] [data-editor-rotation="0"],[data-main-rotation="180"] [data-editor-rotation="270"],[data-main-rotation="270"] [data-editor-rotation="180"])) .editToolbar){ | |
| 3677 | + inset-inline-end:calc(0px - var(--editor-toolbar-vert-offset)); | |
| 3678 | + inset-block-start:0; | |
| 3679 | +} | |
| 3680 | + | |
| 3681 | +[dir="rtl"] :is(:is(.annotationEditorLayer :is([data-main-rotation="0"] [data-editor-rotation="90"],[data-main-rotation="90"] [data-editor-rotation="0"],[data-main-rotation="180"] [data-editor-rotation="270"],[data-main-rotation="270"] [data-editor-rotation="180"])) .editToolbar){ | |
| 3682 | + inset-inline-end:calc(100% + var(--editor-toolbar-vert-offset)); | |
| 3683 | + inset-block-start:0; | |
| 3684 | +} | |
| 3685 | + | |
| 3686 | +:is(.annotationEditorLayer :is([data-main-rotation="0"] [data-editor-rotation="180"],[data-main-rotation="90"] [data-editor-rotation="90"],[data-main-rotation="180"] [data-editor-rotation="0"],[data-main-rotation="270"] [data-editor-rotation="270"])) .editToolbar{ | |
| 3687 | + rotate:180deg; | |
| 3688 | + inset-inline-end:100%; | |
| 3689 | + inset-block-start:calc(0pc - var(--editor-toolbar-vert-offset)); | |
| 3690 | +} | |
| 3691 | + | |
| 3692 | +:is(.annotationEditorLayer :is([data-main-rotation="0"] [data-editor-rotation="270"],[data-main-rotation="90"] [data-editor-rotation="180"],[data-main-rotation="180"] [data-editor-rotation="90"],[data-main-rotation="270"] [data-editor-rotation="0"])) .editToolbar{ | |
| 3693 | + rotate:90deg; | |
| 3694 | +} | |
| 3695 | + | |
| 3696 | +[dir="ltr"] :is(:is(.annotationEditorLayer :is([data-main-rotation="0"] [data-editor-rotation="270"],[data-main-rotation="90"] [data-editor-rotation="180"],[data-main-rotation="180"] [data-editor-rotation="90"],[data-main-rotation="270"] [data-editor-rotation="0"])) .editToolbar){ | |
| 3697 | + inset-inline-end:calc(100% + var(--editor-toolbar-vert-offset)); | |
| 3698 | + inset-block-start:100%; | |
| 3699 | +} | |
| 3700 | + | |
| 3701 | +[dir="rtl"] :is(:is(.annotationEditorLayer :is([data-main-rotation="0"] [data-editor-rotation="270"],[data-main-rotation="90"] [data-editor-rotation="180"],[data-main-rotation="180"] [data-editor-rotation="90"],[data-main-rotation="270"] [data-editor-rotation="0"])) .editToolbar){ | |
| 3702 | + inset-inline-start:calc(0px - var(--editor-toolbar-vert-offset)); | |
| 3703 | + inset-block-start:0; | |
| 3704 | +} | |
| 3705 | + | |
| 3706 | +.dialog.altText::backdrop{ | |
| 3707 | + -webkit-mask:url(#alttext-manager-mask); | |
| 3708 | + mask:url(#alttext-manager-mask); | |
| 3709 | +} | |
| 3710 | + | |
| 3711 | +.dialog.altText.positioned{ | |
| 3712 | + margin:0; | |
| 3713 | +} | |
| 3714 | + | |
| 3715 | +.dialog.altText #altTextContainer{ | |
| 3716 | + width:300px; | |
| 3717 | + height:-moz-fit-content; | |
| 3718 | + height:fit-content; | |
| 3719 | + display:inline-flex; | |
| 3720 | + flex-direction:column; | |
| 3721 | + align-items:flex-start; | |
| 3722 | + gap:16px; | |
| 3723 | +} | |
| 3724 | + | |
| 3725 | +:is(.dialog.altText #altTextContainer) #overallDescription{ | |
| 3726 | + display:flex; | |
| 3727 | + flex-direction:column; | |
| 3728 | + align-items:flex-start; | |
| 3729 | + gap:4px; | |
| 3730 | + align-self:stretch; | |
| 3731 | +} | |
| 3732 | + | |
| 3733 | +:is(:is(.dialog.altText #altTextContainer) #overallDescription) span{ | |
| 3734 | + align-self:stretch; | |
| 3735 | +} | |
| 3736 | + | |
| 3737 | +:is(:is(.dialog.altText #altTextContainer) #overallDescription) .title{ | |
| 3738 | + font-size:13px; | |
| 3739 | + font-style:normal; | |
| 3740 | + font-weight:590; | |
| 3741 | +} | |
| 3742 | + | |
| 3743 | +:is(.dialog.altText #altTextContainer) #addDescription{ | |
| 3744 | + display:flex; | |
| 3745 | + flex-direction:column; | |
| 3746 | + align-items:stretch; | |
| 3747 | + gap:8px; | |
| 3748 | +} | |
| 3749 | + | |
| 3750 | +:is(:is(.dialog.altText #altTextContainer) #addDescription) .descriptionArea{ | |
| 3751 | + flex:1; | |
| 3752 | + padding-inline:24px 10px; | |
| 3753 | +} | |
| 3754 | + | |
| 3755 | +:is(:is(:is(.dialog.altText #altTextContainer) #addDescription) .descriptionArea) textarea{ | |
| 3756 | + width:100%; | |
| 3757 | + min-height:75px; | |
| 3758 | +} | |
| 3759 | + | |
| 3760 | +:is(.dialog.altText #altTextContainer) #buttons{ | |
| 3761 | + display:flex; | |
| 3762 | + justify-content:flex-end; | |
| 3763 | + align-items:flex-start; | |
| 3764 | + gap:8px; | |
| 3765 | + align-self:stretch; | |
| 3766 | +} | |
| 3767 | + | |
| 3768 | +.dialog.newAltText{ | |
| 3769 | + --new-alt-text-ai-disclaimer-icon:url(images/altText_disclaimer.svg); | |
| 3770 | + --new-alt-text-spinner-icon:url(images/altText_spinner.svg); | |
| 3771 | + --csstools-light-dark-toggle--87:var(--csstools-color-scheme--light) #2b2a33; | |
| 3772 | + --preview-image-bg-color:var(--csstools-light-dark-toggle--87, #f0f0f4); | |
| 3773 | + --preview-image-border:none; | |
| 3774 | +} | |
| 3775 | + | |
| 3776 | +@supports (color: light-dark(red, red)){ | |
| 3777 | + .dialog.newAltText{ | |
| 3778 | + --preview-image-bg-color:light-dark(#f0f0f4, #2b2a33); | |
| 3779 | + } | |
| 3780 | +} | |
| 3781 | + | |
| 3782 | +@supports not (color: light-dark(tan, tan)){ | |
| 3783 | + | |
| 3784 | + .dialog.newAltText *{ | |
| 3785 | + --csstools-light-dark-toggle--87:var(--csstools-color-scheme--light) #2b2a33; | |
| 3786 | + --preview-image-bg-color:var(--csstools-light-dark-toggle--87, #f0f0f4); | |
| 3787 | + } | |
| 3788 | +} | |
| 3789 | + | |
| 3790 | +@media screen and (forced-colors: active){ | |
| 3791 | + | |
| 3792 | + .dialog.newAltText{ | |
| 3793 | + --preview-image-bg-color:ButtonFace; | |
| 3794 | + --preview-image-border:1px solid ButtonText; | |
| 3795 | + } | |
| 3796 | +} | |
| 3797 | + | |
| 3798 | +.dialog.newAltText{ | |
| 3799 | + | |
| 3800 | + width:80%; | |
| 3801 | + max-width:570px; | |
| 3802 | + min-width:300px; | |
| 3803 | + padding:0; | |
| 3804 | +} | |
| 3805 | + | |
| 3806 | +.dialog.newAltText.noAi #newAltTextDisclaimer,.dialog.newAltText.noAi #newAltTextCreateAutomatically{ | |
| 3807 | + display:none !important; | |
| 3808 | +} | |
| 3809 | + | |
| 3810 | +.dialog.newAltText.aiInstalling #newAltTextCreateAutomatically{ | |
| 3811 | + display:none !important; | |
| 3812 | +} | |
| 3813 | + | |
| 3814 | +.dialog.newAltText.aiInstalling #newAltTextDownloadModel{ | |
| 3815 | + display:flex !important; | |
| 3816 | +} | |
| 3817 | + | |
| 3818 | +.dialog.newAltText.error #newAltTextNotNow{ | |
| 3819 | + display:none !important; | |
| 3820 | +} | |
| 3821 | + | |
| 3822 | +.dialog.newAltText.error #newAltTextCancel{ | |
| 3823 | + display:inline-block !important; | |
| 3824 | +} | |
| 3825 | + | |
| 3826 | +.dialog.newAltText:not(.error) #newAltTextError{ | |
| 3827 | + display:none !important; | |
| 3828 | +} | |
| 3829 | + | |
| 3830 | +.dialog.newAltText #newAltTextContainer{ | |
| 3831 | + display:flex; | |
| 3832 | + width:auto; | |
| 3833 | + padding:16px; | |
| 3834 | + flex-direction:column; | |
| 3835 | + justify-content:flex-end; | |
| 3836 | + align-items:flex-start; | |
| 3837 | + gap:12px; | |
| 3838 | + flex:0 1 auto; | |
| 3839 | + line-height:normal; | |
| 3840 | +} | |
| 3841 | + | |
| 3842 | +:is(.dialog.newAltText #newAltTextContainer) #mainContent{ | |
| 3843 | + display:flex; | |
| 3844 | + justify-content:flex-end; | |
| 3845 | + align-items:flex-start; | |
| 3846 | + gap:12px; | |
| 3847 | + align-self:stretch; | |
| 3848 | + flex:1 1 auto; | |
| 3849 | +} | |
| 3850 | + | |
| 3851 | +:is(:is(.dialog.newAltText #newAltTextContainer) #mainContent) #descriptionAndSettings{ | |
| 3852 | + display:flex; | |
| 3853 | + flex-direction:column; | |
| 3854 | + align-items:flex-start; | |
| 3855 | + gap:16px; | |
| 3856 | + flex:1 0 0; | |
| 3857 | + align-self:stretch; | |
| 3858 | +} | |
| 3859 | + | |
| 3860 | +:is(:is(.dialog.newAltText #newAltTextContainer) #mainContent) #descriptionInstruction{ | |
| 3861 | + display:flex; | |
| 3862 | + flex-direction:column; | |
| 3863 | + align-items:flex-start; | |
| 3864 | + gap:8px; | |
| 3865 | + align-self:stretch; | |
| 3866 | + flex:1 1 auto; | |
| 3867 | +} | |
| 3868 | + | |
| 3869 | +:is(:is(:is(.dialog.newAltText #newAltTextContainer) #mainContent) #descriptionInstruction) #newAltTextDescriptionContainer{ | |
| 3870 | + width:100%; | |
| 3871 | + height:70px; | |
| 3872 | + position:relative; | |
| 3873 | +} | |
| 3874 | + | |
| 3875 | +:is(:is(:is(:is(.dialog.newAltText #newAltTextContainer) #mainContent) #descriptionInstruction) #newAltTextDescriptionContainer) textarea{ | |
| 3876 | + width:100%; | |
| 3877 | + height:100%; | |
| 3878 | + padding:8px; | |
| 3879 | +} | |
| 3880 | + | |
| 3881 | +:is(:is(:is(:is(:is(.dialog.newAltText #newAltTextContainer) #mainContent) #descriptionInstruction) #newAltTextDescriptionContainer) textarea)::-moz-placeholder{ | |
| 3882 | + color:var(--text-secondary-color); | |
| 3883 | +} | |
| 3884 | + | |
| 3885 | +:is(:is(:is(:is(:is(.dialog.newAltText #newAltTextContainer) #mainContent) #descriptionInstruction) #newAltTextDescriptionContainer) textarea)::placeholder{ | |
| 3886 | + color:var(--text-secondary-color); | |
| 3887 | +} | |
| 3888 | + | |
| 3889 | +:is(:is(:is(:is(.dialog.newAltText #newAltTextContainer) #mainContent) #descriptionInstruction) #newAltTextDescriptionContainer) .altTextSpinner{ | |
| 3890 | + display:none; | |
| 3891 | + position:absolute; | |
| 3892 | + width:16px; | |
| 3893 | + height:16px; | |
| 3894 | + inset-inline-start:8px; | |
| 3895 | + inset-block-start:8px; | |
| 3896 | + -webkit-mask-size:cover; | |
| 3897 | + mask-size:cover; | |
| 3898 | + background-color:var(--text-secondary-color); | |
| 3899 | + pointer-events:none; | |
| 3900 | +} | |
| 3901 | + | |
| 3902 | +.loading:is(:is(:is(:is(.dialog.newAltText #newAltTextContainer) #mainContent) #descriptionInstruction) #newAltTextDescriptionContainer) textarea::-moz-placeholder{ | |
| 3903 | + color:transparent; | |
| 3904 | +} | |
| 3905 | + | |
| 3906 | +.loading:is(:is(:is(:is(.dialog.newAltText #newAltTextContainer) #mainContent) #descriptionInstruction) #newAltTextDescriptionContainer) textarea::placeholder{ | |
| 3907 | + color:transparent; | |
| 3908 | +} | |
| 3909 | + | |
| 3910 | +.loading:is(:is(:is(:is(.dialog.newAltText #newAltTextContainer) #mainContent) #descriptionInstruction) #newAltTextDescriptionContainer) .altTextSpinner{ | |
| 3911 | + display:inline-block; | |
| 3912 | + -webkit-mask-image:var(--new-alt-text-spinner-icon); | |
| 3913 | + mask-image:var(--new-alt-text-spinner-icon); | |
| 3914 | +} | |
| 3915 | + | |
| 3916 | +:is(:is(:is(.dialog.newAltText #newAltTextContainer) #mainContent) #descriptionInstruction) #newAltTextDescription{ | |
| 3917 | + font-size:11px; | |
| 3918 | +} | |
| 3919 | + | |
| 3920 | +:is(:is(:is(.dialog.newAltText #newAltTextContainer) #mainContent) #descriptionInstruction) #newAltTextDisclaimer{ | |
| 3921 | + display:flex; | |
| 3922 | + flex-direction:row; | |
| 3923 | + align-items:flex-start; | |
| 3924 | + gap:4px; | |
| 3925 | + font-size:11px; | |
| 3926 | +} | |
| 3927 | + | |
| 3928 | +:is(:is(:is(:is(.dialog.newAltText #newAltTextContainer) #mainContent) #descriptionInstruction) #newAltTextDisclaimer)::before{ | |
| 3929 | + content:""; | |
| 3930 | + display:inline-block; | |
| 3931 | + width:17px; | |
| 3932 | + height:16px; | |
| 3933 | + -webkit-mask-image:var(--new-alt-text-ai-disclaimer-icon); | |
| 3934 | + mask-image:var(--new-alt-text-ai-disclaimer-icon); | |
| 3935 | + -webkit-mask-size:cover; | |
| 3936 | + mask-size:cover; | |
| 3937 | + background-color:var(--text-secondary-color); | |
| 3938 | + flex:1 0 auto; | |
| 3939 | +} | |
| 3940 | + | |
| 3941 | +:is(:is(.dialog.newAltText #newAltTextContainer) #mainContent) #newAltTextDownloadModel{ | |
| 3942 | + display:flex; | |
| 3943 | + align-items:center; | |
| 3944 | + gap:4px; | |
| 3945 | + align-self:stretch; | |
| 3946 | +} | |
| 3947 | + | |
| 3948 | +:is(:is(:is(.dialog.newAltText #newAltTextContainer) #mainContent) #newAltTextDownloadModel)::before{ | |
| 3949 | + content:""; | |
| 3950 | + display:inline-block; | |
| 3951 | + width:16px; | |
| 3952 | + height:16px; | |
| 3953 | + -webkit-mask-image:var(--new-alt-text-spinner-icon); | |
| 3954 | + mask-image:var(--new-alt-text-spinner-icon); | |
| 3955 | + -webkit-mask-size:cover; | |
| 3956 | + mask-size:cover; | |
| 3957 | + background-color:var(--text-secondary-color); | |
| 3958 | +} | |
| 3959 | + | |
| 3960 | +:is(:is(.dialog.newAltText #newAltTextContainer) #mainContent) #newAltTextImagePreview{ | |
| 3961 | + width:180px; | |
| 3962 | + aspect-ratio:1; | |
| 3963 | + display:flex; | |
| 3964 | + justify-content:center; | |
| 3965 | + align-items:center; | |
| 3966 | + flex:0 0 auto; | |
| 3967 | + background-color:var(--preview-image-bg-color); | |
| 3968 | + border:var(--preview-image-border); | |
| 3969 | +} | |
| 3970 | + | |
| 3971 | +:is(:is(:is(.dialog.newAltText #newAltTextContainer) #mainContent) #newAltTextImagePreview) > canvas{ | |
| 3972 | + max-width:100%; | |
| 3973 | + max-height:100%; | |
| 3974 | +} | |
| 3975 | + | |
| 3976 | +.colorPicker{ | |
| 3977 | + --csstools-light-dark-toggle--88:var(--csstools-color-scheme--light) #80ebff; | |
| 3978 | + --hover-outline-color:var(--csstools-light-dark-toggle--88, #0250bb); | |
| 3979 | + --csstools-light-dark-toggle--89:var(--csstools-color-scheme--light) #aaf2ff; | |
| 3980 | + --selected-outline-color:var(--csstools-light-dark-toggle--89, #0060df); | |
| 3981 | + --csstools-light-dark-toggle--90:var(--csstools-color-scheme--light) #52525e; | |
| 3982 | + --swatch-border-color:var(--csstools-light-dark-toggle--90, #cfcfd8); | |
| 3983 | +} | |
| 3984 | + | |
| 3985 | +@supports (color: light-dark(red, red)){ | |
| 3986 | + .colorPicker{ | |
| 3987 | + --hover-outline-color:light-dark(#0250bb, #80ebff); | |
| 3988 | + --selected-outline-color:light-dark(#0060df, #aaf2ff); | |
| 3989 | + --swatch-border-color:light-dark(#cfcfd8, #52525e); | |
| 3990 | + } | |
| 3991 | +} | |
| 3992 | + | |
| 3993 | +@supports not (color: light-dark(tan, tan)){ | |
| 3994 | + | |
| 3995 | + .colorPicker *{ | |
| 3996 | + --csstools-light-dark-toggle--88:var(--csstools-color-scheme--light) #80ebff; | |
| 3997 | + --hover-outline-color:var(--csstools-light-dark-toggle--88, #0250bb); | |
| 3998 | + --csstools-light-dark-toggle--89:var(--csstools-color-scheme--light) #aaf2ff; | |
| 3999 | + --selected-outline-color:var(--csstools-light-dark-toggle--89, #0060df); | |
| 4000 | + --csstools-light-dark-toggle--90:var(--csstools-color-scheme--light) #52525e; | |
| 4001 | + --swatch-border-color:var(--csstools-light-dark-toggle--90, #cfcfd8); | |
| 4002 | + } | |
| 4003 | +} | |
| 4004 | + | |
| 4005 | +@media screen and (forced-colors: active){ | |
| 4006 | + | |
| 4007 | + .colorPicker{ | |
| 4008 | + --hover-outline-color:Highlight; | |
| 4009 | + --selected-outline-color:var(--hover-outline-color); | |
| 4010 | + --swatch-border-color:ButtonText; | |
| 4011 | + } | |
| 4012 | +} | |
| 4013 | + | |
| 4014 | +.colorPicker .swatch{ | |
| 4015 | + width:16px; | |
| 4016 | + height:16px; | |
| 4017 | + border:1px solid var(--swatch-border-color); | |
| 4018 | + border-radius:100%; | |
| 4019 | + outline-offset:2px; | |
| 4020 | + box-sizing:border-box; | |
| 4021 | + forced-color-adjust:none; | |
| 4022 | +} | |
| 4023 | + | |
| 4024 | +.colorPicker button:is(:hover,.selected) > .swatch{ | |
| 4025 | + border:none; | |
| 4026 | +} | |
| 4027 | + | |
| 4028 | +.annotationEditorLayer[data-main-rotation="0"] .highlightEditor:not(.free) > .editToolbar{ | |
| 4029 | + rotate:0deg; | |
| 4030 | +} | |
| 4031 | + | |
| 4032 | +.annotationEditorLayer[data-main-rotation="90"] .highlightEditor:not(.free) > .editToolbar{ | |
| 4033 | + rotate:270deg; | |
| 4034 | +} | |
| 4035 | + | |
| 4036 | +.annotationEditorLayer[data-main-rotation="180"] .highlightEditor:not(.free) > .editToolbar{ | |
| 4037 | + rotate:180deg; | |
| 4038 | +} | |
| 4039 | + | |
| 4040 | +.annotationEditorLayer[data-main-rotation="270"] .highlightEditor:not(.free) > .editToolbar{ | |
| 4041 | + rotate:90deg; | |
| 4042 | +} | |
| 4043 | + | |
| 4044 | +.annotationEditorLayer .highlightEditor{ | |
| 4045 | + position:absolute; | |
| 4046 | + background:transparent; | |
| 4047 | + z-index:1; | |
| 4048 | + cursor:auto; | |
| 4049 | + max-width:100%; | |
| 4050 | + max-height:100%; | |
| 4051 | + border:none; | |
| 4052 | + outline:none; | |
| 4053 | + pointer-events:none; | |
| 4054 | + transform-origin:0 0; | |
| 4055 | +} | |
| 4056 | + | |
| 4057 | +:is(.annotationEditorLayer .highlightEditor):not(.free){ | |
| 4058 | + transform:none; | |
| 4059 | +} | |
| 4060 | + | |
| 4061 | +:is(.annotationEditorLayer .highlightEditor) .internal{ | |
| 4062 | + position:absolute; | |
| 4063 | + top:0; | |
| 4064 | + left:0; | |
| 4065 | + width:100%; | |
| 4066 | + height:100%; | |
| 4067 | + pointer-events:auto; | |
| 4068 | +} | |
| 4069 | + | |
| 4070 | +.disabled:is(.annotationEditorLayer .highlightEditor) .internal{ | |
| 4071 | + pointer-events:none; | |
| 4072 | +} | |
| 4073 | + | |
| 4074 | +.selectedEditor:is(.annotationEditorLayer .highlightEditor) .internal{ | |
| 4075 | + cursor:pointer; | |
| 4076 | +} | |
| 4077 | + | |
| 4078 | +:is(.annotationEditorLayer .highlightEditor) .editToolbar{ | |
| 4079 | + --editor-toolbar-colorpicker-arrow-image:url(images/toolbarButton-menuArrow.svg); | |
| 4080 | + | |
| 4081 | + transform-origin:center !important; | |
| 4082 | +} | |
| 4083 | + | |
| 4084 | +:is(:is(:is(.annotationEditorLayer .highlightEditor) .editToolbar) .buttons) .colorPicker{ | |
| 4085 | + position:relative; | |
| 4086 | + width:auto; | |
| 4087 | + display:flex; | |
| 4088 | + justify-content:center; | |
| 4089 | + align-items:center; | |
| 4090 | + gap:4px; | |
| 4091 | + padding:4px; | |
| 4092 | +} | |
| 4093 | + | |
| 4094 | +:is(:is(:is(:is(.annotationEditorLayer .highlightEditor) .editToolbar) .buttons) .colorPicker)::after{ | |
| 4095 | + content:""; | |
| 4096 | + -webkit-mask-image:var(--editor-toolbar-colorpicker-arrow-image); | |
| 4097 | + mask-image:var(--editor-toolbar-colorpicker-arrow-image); | |
| 4098 | + -webkit-mask-repeat:no-repeat; | |
| 4099 | + mask-repeat:no-repeat; | |
| 4100 | + -webkit-mask-position:center; | |
| 4101 | + mask-position:center; | |
| 4102 | + display:inline-block; | |
| 4103 | + background-color:var(--editor-toolbar-fg-color); | |
| 4104 | + width:12px; | |
| 4105 | + height:12px; | |
| 4106 | +} | |
| 4107 | + | |
| 4108 | +:is(:is(:is(:is(.annotationEditorLayer .highlightEditor) .editToolbar) .buttons) .colorPicker):hover::after{ | |
| 4109 | + background-color:var(--editor-toolbar-hover-fg-color); | |
| 4110 | +} | |
| 4111 | + | |
| 4112 | +:is(:is(:is(:is(.annotationEditorLayer .highlightEditor) .editToolbar) .buttons) .colorPicker):has(.dropdown:not(.hidden)){ | |
| 4113 | + background-color:var(--editor-toolbar-hover-bg-color); | |
| 4114 | +} | |
| 4115 | + | |
| 4116 | +:is(:is(:is(:is(.annotationEditorLayer .highlightEditor) .editToolbar) .buttons) .colorPicker):has(.dropdown:not(.hidden))::after{ | |
| 4117 | + scale:-1; | |
| 4118 | +} | |
| 4119 | + | |
| 4120 | +:is(:is(:is(:is(.annotationEditorLayer .highlightEditor) .editToolbar) .buttons) .colorPicker) .dropdown{ | |
| 4121 | + position:absolute; | |
| 4122 | + display:flex; | |
| 4123 | + justify-content:center; | |
| 4124 | + align-items:center; | |
| 4125 | + flex-direction:column; | |
| 4126 | + gap:11px; | |
| 4127 | + padding-block:8px; | |
| 4128 | + border-radius:6px; | |
| 4129 | + background-color:var(--editor-toolbar-bg-color); | |
| 4130 | + border:1px solid var(--editor-toolbar-border-color); | |
| 4131 | + box-shadow:var(--editor-toolbar-shadow); | |
| 4132 | + inset-block-start:calc(100% + 4px); | |
| 4133 | + width:calc(100% + 2 * var(--editor-toolbar-padding)); | |
| 4134 | +} | |
| 4135 | + | |
| 4136 | +:is(:is(:is(:is(:is(.annotationEditorLayer .highlightEditor) .editToolbar) .buttons) .colorPicker) .dropdown) button{ | |
| 4137 | + width:100%; | |
| 4138 | + height:auto; | |
| 4139 | + border:none; | |
| 4140 | + cursor:pointer; | |
| 4141 | + display:flex; | |
| 4142 | + justify-content:center; | |
| 4143 | + align-items:center; | |
| 4144 | + background:none; | |
| 4145 | +} | |
| 4146 | + | |
| 4147 | +:is(:is(:is(:is(:is(:is(.annotationEditorLayer .highlightEditor) .editToolbar) .buttons) .colorPicker) .dropdown) button):is(:active,:focus-visible){ | |
| 4148 | + outline:none; | |
| 4149 | +} | |
| 4150 | + | |
| 4151 | +:is(:is(:is(:is(:is(:is(.annotationEditorLayer .highlightEditor) .editToolbar) .buttons) .colorPicker) .dropdown) button) > .swatch{ | |
| 4152 | + outline-offset:2px; | |
| 4153 | +} | |
| 4154 | + | |
| 4155 | +[aria-selected="true"]:is(:is(:is(:is(:is(:is(.annotationEditorLayer .highlightEditor) .editToolbar) .buttons) .colorPicker) .dropdown) button) > .swatch{ | |
| 4156 | + outline:2px solid var(--selected-outline-color); | |
| 4157 | +} | |
| 4158 | + | |
| 4159 | +:is(:is(:is(:is(:is(:is(.annotationEditorLayer .highlightEditor) .editToolbar) .buttons) .colorPicker) .dropdown) button):is(:hover,:active,:focus-visible) > .swatch{ | |
| 4160 | + outline:2px solid var(--hover-outline-color); | |
| 4161 | +} | |
| 4162 | + | |
| 4163 | +.editorParamsToolbar:has(#highlightParamsToolbarContainer){ | |
| 4164 | + padding:unset; | |
| 4165 | +} | |
| 4166 | + | |
| 4167 | +#highlightParamsToolbarContainer{ | |
| 4168 | + gap:16px; | |
| 4169 | + padding-inline:10px; | |
| 4170 | + padding-block-end:12px; | |
| 4171 | +} | |
| 4172 | + | |
| 4173 | +#highlightParamsToolbarContainer .colorPicker{ | |
| 4174 | + display:flex; | |
| 4175 | + flex-direction:column; | |
| 4176 | + gap:8px; | |
| 4177 | +} | |
| 4178 | + | |
| 4179 | +:is(#highlightParamsToolbarContainer .colorPicker) .dropdown{ | |
| 4180 | + display:flex; | |
| 4181 | + justify-content:space-between; | |
| 4182 | + align-items:center; | |
| 4183 | + flex-direction:row; | |
| 4184 | + height:auto; | |
| 4185 | +} | |
| 4186 | + | |
| 4187 | +:is(:is(#highlightParamsToolbarContainer .colorPicker) .dropdown) button{ | |
| 4188 | + width:auto; | |
| 4189 | + height:auto; | |
| 4190 | + border:none; | |
| 4191 | + cursor:pointer; | |
| 4192 | + display:flex; | |
| 4193 | + justify-content:center; | |
| 4194 | + align-items:center; | |
| 4195 | + background:none; | |
| 4196 | + flex:0 0 auto; | |
| 4197 | + padding:0; | |
| 4198 | +} | |
| 4199 | + | |
| 4200 | +:is(:is(:is(#highlightParamsToolbarContainer .colorPicker) .dropdown) button) .swatch{ | |
| 4201 | + width:24px; | |
| 4202 | + height:24px; | |
| 4203 | +} | |
| 4204 | + | |
| 4205 | +:is(:is(:is(#highlightParamsToolbarContainer .colorPicker) .dropdown) button):is(:active,:focus-visible){ | |
| 4206 | + outline:none; | |
| 4207 | +} | |
| 4208 | + | |
| 4209 | +[aria-selected="true"]:is(:is(:is(#highlightParamsToolbarContainer .colorPicker) .dropdown) button) > .swatch{ | |
| 4210 | + outline:2px solid var(--selected-outline-color); | |
| 4211 | +} | |
| 4212 | + | |
| 4213 | +:is(:is(:is(#highlightParamsToolbarContainer .colorPicker) .dropdown) button):is(:hover,:active,:focus-visible) > .swatch{ | |
| 4214 | + outline:2px solid var(--hover-outline-color); | |
| 4215 | +} | |
| 4216 | + | |
| 4217 | +#highlightParamsToolbarContainer #editorHighlightThickness{ | |
| 4218 | + display:flex; | |
| 4219 | + flex-direction:column; | |
| 4220 | + align-items:center; | |
| 4221 | + gap:4px; | |
| 4222 | + align-self:stretch; | |
| 4223 | +} | |
| 4224 | + | |
| 4225 | +:is(#highlightParamsToolbarContainer #editorHighlightThickness) .editorParamsLabel{ | |
| 4226 | + height:auto; | |
| 4227 | + align-self:stretch; | |
| 4228 | +} | |
| 4229 | + | |
| 4230 | +:is(#highlightParamsToolbarContainer #editorHighlightThickness) .thicknessPicker{ | |
| 4231 | + display:flex; | |
| 4232 | + justify-content:space-between; | |
| 4233 | + align-items:center; | |
| 4234 | + align-self:stretch; | |
| 4235 | + | |
| 4236 | + --csstools-light-dark-toggle--91:var(--csstools-color-scheme--light) #80808e; | |
| 4237 | + | |
| 4238 | + --example-color:var(--csstools-light-dark-toggle--91, #bfbfc9); | |
| 4239 | +} | |
| 4240 | + | |
| 4241 | +@supports (color: light-dark(red, red)){ | |
| 4242 | + :is(#highlightParamsToolbarContainer #editorHighlightThickness) .thicknessPicker{ | |
| 4243 | + | |
| 4244 | + --example-color:light-dark(#bfbfc9, #80808e); | |
| 4245 | + } | |
| 4246 | +} | |
| 4247 | + | |
| 4248 | +@supports not (color: light-dark(tan, tan)){ | |
| 4249 | + | |
| 4250 | + :is(:is(#highlightParamsToolbarContainer #editorHighlightThickness) .thicknessPicker) *{ | |
| 4251 | + | |
| 4252 | + --csstools-light-dark-toggle--91:var(--csstools-color-scheme--light) #80808e; | |
| 4253 | + | |
| 4254 | + --example-color:var(--csstools-light-dark-toggle--91, #bfbfc9); | |
| 4255 | + } | |
| 4256 | +} | |
| 4257 | + | |
| 4258 | +@media screen and (forced-colors: active){ | |
| 4259 | + | |
| 4260 | + :is(#highlightParamsToolbarContainer #editorHighlightThickness) .thicknessPicker{ | |
| 4261 | + --example-color:CanvasText; | |
| 4262 | + } | |
| 4263 | +} | |
| 4264 | + | |
| 4265 | +:is(:is(:is(#highlightParamsToolbarContainer #editorHighlightThickness) .thicknessPicker) > .editorParamsSlider[disabled]){ | |
| 4266 | + opacity:0.4; | |
| 4267 | +} | |
| 4268 | + | |
| 4269 | +:is(:is(#highlightParamsToolbarContainer #editorHighlightThickness) .thicknessPicker)::before,:is(:is(#highlightParamsToolbarContainer #editorHighlightThickness) .thicknessPicker)::after{ | |
| 4270 | + content:""; | |
| 4271 | + width:8px; | |
| 4272 | + aspect-ratio:1; | |
| 4273 | + display:block; | |
| 4274 | + border-radius:100%; | |
| 4275 | + background-color:var(--example-color); | |
| 4276 | +} | |
| 4277 | + | |
| 4278 | +:is(:is(#highlightParamsToolbarContainer #editorHighlightThickness) .thicknessPicker)::after{ | |
| 4279 | + width:24px; | |
| 4280 | +} | |
| 4281 | + | |
| 4282 | +:is(:is(#highlightParamsToolbarContainer #editorHighlightThickness) .thicknessPicker) .editorParamsSlider{ | |
| 4283 | + width:unset; | |
| 4284 | + height:14px; | |
| 4285 | +} | |
| 4286 | + | |
| 4287 | +#highlightParamsToolbarContainer #editorHighlightVisibility{ | |
| 4288 | + display:flex; | |
| 4289 | + flex-direction:column; | |
| 4290 | + align-items:flex-start; | |
| 4291 | + gap:8px; | |
| 4292 | + align-self:stretch; | |
| 4293 | +} | |
| 4294 | + | |
| 4295 | +:is(#highlightParamsToolbarContainer #editorHighlightVisibility) .divider{ | |
| 4296 | + --csstools-light-dark-toggle--92:var(--csstools-color-scheme--light) #8f8f9d; | |
| 4297 | + --divider-color:var(--csstools-light-dark-toggle--92, #d7d7db); | |
| 4298 | +} | |
| 4299 | + | |
| 4300 | +@supports (color: light-dark(red, red)){ | |
| 4301 | + :is(#highlightParamsToolbarContainer #editorHighlightVisibility) .divider{ | |
| 4302 | + --divider-color:light-dark(#d7d7db, #8f8f9d); | |
| 4303 | + } | |
| 4304 | +} | |
| 4305 | + | |
| 4306 | +@supports not (color: light-dark(tan, tan)){ | |
| 4307 | + | |
| 4308 | + :is(:is(#highlightParamsToolbarContainer #editorHighlightVisibility) .divider) *{ | |
| 4309 | + --csstools-light-dark-toggle--92:var(--csstools-color-scheme--light) #8f8f9d; | |
| 4310 | + --divider-color:var(--csstools-light-dark-toggle--92, #d7d7db); | |
| 4311 | + } | |
| 4312 | +} | |
| 4313 | + | |
| 4314 | +@media screen and (forced-colors: active){ | |
| 4315 | + | |
| 4316 | + :is(#highlightParamsToolbarContainer #editorHighlightVisibility) .divider{ | |
| 4317 | + --divider-color:CanvasText; | |
| 4318 | + } | |
| 4319 | +} | |
| 4320 | + | |
| 4321 | +:is(#highlightParamsToolbarContainer #editorHighlightVisibility) .divider{ | |
| 4322 | + | |
| 4323 | + margin-block:4px; | |
| 4324 | + width:100%; | |
| 4325 | + height:1px; | |
| 4326 | + background-color:var(--divider-color); | |
| 4327 | +} | |
| 4328 | + | |
| 4329 | +:is(#highlightParamsToolbarContainer #editorHighlightVisibility) .toggler{ | |
| 4330 | + display:flex; | |
| 4331 | + justify-content:space-between; | |
| 4332 | + align-items:center; | |
| 4333 | + align-self:stretch; | |
| 4334 | +} | |
| 4335 | + | |
| 4336 | +#altTextSettingsDialog{ | |
| 4337 | + padding:16px; | |
| 4338 | +} | |
| 4339 | + | |
| 4340 | +#altTextSettingsDialog #altTextSettingsContainer{ | |
| 4341 | + display:flex; | |
| 4342 | + width:573px; | |
| 4343 | + flex-direction:column; | |
| 4344 | + gap:16px; | |
| 4345 | +} | |
| 4346 | + | |
| 4347 | +:is(#altTextSettingsDialog #altTextSettingsContainer) .mainContainer{ | |
| 4348 | + gap:16px; | |
| 4349 | +} | |
| 4350 | + | |
| 4351 | +:is(#altTextSettingsDialog #altTextSettingsContainer) .description{ | |
| 4352 | + color:var(--text-secondary-color); | |
| 4353 | +} | |
| 4354 | + | |
| 4355 | +:is(#altTextSettingsDialog #altTextSettingsContainer) #aiModelSettings{ | |
| 4356 | + display:flex; | |
| 4357 | + flex-direction:column; | |
| 4358 | + gap:12px; | |
| 4359 | +} | |
| 4360 | + | |
| 4361 | +:is(:is(#altTextSettingsDialog #altTextSettingsContainer) #aiModelSettings) button{ | |
| 4362 | + width:-moz-fit-content; | |
| 4363 | + width:fit-content; | |
| 4364 | +} | |
| 4365 | + | |
| 4366 | +.download:is(:is(#altTextSettingsDialog #altTextSettingsContainer) #aiModelSettings) #deleteModelButton{ | |
| 4367 | + display:none; | |
| 4368 | +} | |
| 4369 | + | |
| 4370 | +:is(:is(#altTextSettingsDialog #altTextSettingsContainer) #aiModelSettings):not(.download) #downloadModelButton{ | |
| 4371 | + display:none; | |
| 4372 | +} | |
| 4373 | + | |
| 4374 | +:is(#altTextSettingsDialog #altTextSettingsContainer) #automaticAltText,:is(#altTextSettingsDialog #altTextSettingsContainer) #altTextEditor{ | |
| 4375 | + display:flex; | |
| 4376 | + flex-direction:column; | |
| 4377 | + gap:8px; | |
| 4378 | +} | |
| 4379 | + | |
| 4380 | +:is(#altTextSettingsDialog #altTextSettingsContainer) #createModelDescription,:is(#altTextSettingsDialog #altTextSettingsContainer) #aiModelSettings,:is(#altTextSettingsDialog #altTextSettingsContainer) #showAltTextDialogDescription{ | |
| 4381 | + padding-inline-start:40px; | |
| 4382 | +} | |
| 4383 | + | |
| 4384 | +:is(#altTextSettingsDialog #altTextSettingsContainer) #automaticSettings{ | |
| 4385 | + display:flex; | |
| 4386 | + flex-direction:column; | |
| 4387 | + gap:16px; | |
| 4388 | +} | |
| 4389 | + | |
| 4390 | +:root{ | |
| 4391 | + --csstools-color-scheme--light:initial; | |
| 4392 | + color-scheme:light dark; | |
| 4393 | + | |
| 4394 | + --viewer-container-height:0; | |
| 4395 | + --pdfViewer-padding-bottom:0; | |
| 4396 | + --page-margin:1px auto -8px; | |
| 4397 | + --page-border:9px solid transparent; | |
| 4398 | + --spreadHorizontalWrapped-margin-LR:-3.5px; | |
| 4399 | + --loading-icon-delay:400ms; | |
| 4400 | + --csstools-light-dark-toggle--93:var(--csstools-color-scheme--light) #0df; | |
| 4401 | + --focus-ring-color:var(--csstools-light-dark-toggle--93, #0060df); | |
| 4402 | + --focus-ring-outline:2px solid var(--focus-ring-color); | |
| 4403 | +} | |
| 4404 | + | |
| 4405 | +@supports (color: light-dark(red, red)){ | |
| 4406 | + :root{ | |
| 4407 | + --focus-ring-color:light-dark(#0060df, #0df); | |
| 4408 | + } | |
| 4409 | +} | |
| 4410 | + | |
| 4411 | +@supports not (color: light-dark(tan, tan)){ | |
| 4412 | + | |
| 4413 | + :root *{ | |
| 4414 | + --csstools-light-dark-toggle--93:var(--csstools-color-scheme--light) #0df; | |
| 4415 | + --focus-ring-color:var(--csstools-light-dark-toggle--93, #0060df); | |
| 4416 | + } | |
| 4417 | +} | |
| 4418 | + | |
| 4419 | +@media (prefers-color-scheme: dark){ | |
| 4420 | + | |
| 4421 | + :root{ | |
| 4422 | + --csstools-color-scheme--light:; | |
| 4423 | + } | |
| 4424 | +} | |
| 4425 | + | |
| 4426 | +@media screen and (forced-colors: active){ | |
| 4427 | + | |
| 4428 | + :root{ | |
| 4429 | + --pdfViewer-padding-bottom:9px; | |
| 4430 | + --page-margin:8px auto -1px; | |
| 4431 | + --page-border:1px solid CanvasText; | |
| 4432 | + --spreadHorizontalWrapped-margin-LR:3.5px; | |
| 4433 | + --focus-ring-color:CanvasText; | |
| 4434 | + } | |
| 4435 | +} | |
| 4436 | + | |
| 4437 | +[data-main-rotation="90"]{ | |
| 4438 | + transform:rotate(90deg) translateY(-100%); | |
| 4439 | +} | |
| 4440 | +[data-main-rotation="180"]{ | |
| 4441 | + transform:rotate(180deg) translate(-100%, -100%); | |
| 4442 | +} | |
| 4443 | +[data-main-rotation="270"]{ | |
| 4444 | + transform:rotate(270deg) translateX(-100%); | |
| 4445 | +} | |
| 4446 | + | |
| 4447 | +#hiddenCopyElement, | |
| 4448 | +.hiddenCanvasElement{ | |
| 4449 | + position:absolute; | |
| 4450 | + top:0; | |
| 4451 | + left:0; | |
| 4452 | + width:0; | |
| 4453 | + height:0; | |
| 4454 | + display:none; | |
| 4455 | +} | |
| 4456 | + | |
| 4457 | +.pdfViewer{ | |
| 4458 | + --scale-factor:1; | |
| 4459 | + --page-bg-color:unset; | |
| 4460 | + | |
| 4461 | + padding-bottom:var(--pdfViewer-padding-bottom); | |
| 4462 | + | |
| 4463 | + --hcm-highlight-filter:none; | |
| 4464 | + --hcm-highlight-selected-filter:none; | |
| 4465 | +} | |
| 4466 | + | |
| 4467 | +@media screen and (forced-colors: active){ | |
| 4468 | + | |
| 4469 | + .pdfViewer{ | |
| 4470 | + --hcm-highlight-filter:invert(100%); | |
| 4471 | + } | |
| 4472 | +} | |
| 4473 | + | |
| 4474 | +.pdfViewer.copyAll{ | |
| 4475 | + cursor:wait; | |
| 4476 | +} | |
| 4477 | + | |
| 4478 | +.pdfViewer .canvasWrapper{ | |
| 4479 | + overflow:hidden; | |
| 4480 | + width:100%; | |
| 4481 | + height:100%; | |
| 4482 | +} | |
| 4483 | + | |
| 4484 | +:is(.pdfViewer .canvasWrapper) canvas{ | |
| 4485 | + position:absolute; | |
| 4486 | + top:0; | |
| 4487 | + left:0; | |
| 4488 | + margin:0; | |
| 4489 | + display:block; | |
| 4490 | + width:100%; | |
| 4491 | + height:100%; | |
| 4492 | + contain:content; | |
| 4493 | +} | |
| 4494 | + | |
| 4495 | +:is(:is(.pdfViewer .canvasWrapper) canvas) .structTree{ | |
| 4496 | + contain:strict; | |
| 4497 | +} | |
| 4498 | + | |
| 4499 | +.pdfViewer .page{ | |
| 4500 | + --user-unit:1; | |
| 4501 | + --total-scale-factor:calc(var(--scale-factor) * var(--user-unit)); | |
| 4502 | + --scale-round-x:1px; | |
| 4503 | + --scale-round-y:1px; | |
| 4504 | + | |
| 4505 | + direction:ltr; | |
| 4506 | + width:816px; | |
| 4507 | + height:1056px; | |
| 4508 | + margin:var(--page-margin); | |
| 4509 | + position:relative; | |
| 4510 | + overflow:visible; | |
| 4511 | + border:var(--page-border); | |
| 4512 | + background-clip:content-box; | |
| 4513 | + background-color:var(--page-bg-color, rgb(255 255 255)); | |
| 4514 | +} | |
| 4515 | + | |
| 4516 | +.pdfViewer .dummyPage{ | |
| 4517 | + position:relative; | |
| 4518 | + width:0; | |
| 4519 | + height:var(--viewer-container-height); | |
| 4520 | +} | |
| 4521 | + | |
| 4522 | +.pdfViewer.noUserSelect{ | |
| 4523 | + -webkit-user-select:none; | |
| 4524 | + -moz-user-select:none; | |
| 4525 | + user-select:none; | |
| 4526 | +} | |
| 4527 | + | |
| 4528 | +.pdfViewer.removePageBorders .page{ | |
| 4529 | + margin:0 auto 10px; | |
| 4530 | + border:none; | |
| 4531 | +} | |
| 4532 | + | |
| 4533 | +.pdfViewer:is(.scrollHorizontal, .scrollWrapped), | |
| 4534 | +.spread{ | |
| 4535 | + margin-inline:3.5px; | |
| 4536 | + text-align:center; | |
| 4537 | +} | |
| 4538 | + | |
| 4539 | +.pdfViewer.scrollHorizontal, | |
| 4540 | +.spread{ | |
| 4541 | + white-space:nowrap; | |
| 4542 | +} | |
| 4543 | + | |
| 4544 | +.pdfViewer.removePageBorders, | |
| 4545 | +.pdfViewer:is(.scrollHorizontal, .scrollWrapped) .spread{ | |
| 4546 | + margin-inline:0; | |
| 4547 | +} | |
| 4548 | + | |
| 4549 | +.spread :is(.page, .dummyPage), | |
| 4550 | +.pdfViewer:is(.scrollHorizontal, .scrollWrapped) :is(.page, .spread){ | |
| 4551 | + display:inline-block; | |
| 4552 | + vertical-align:middle; | |
| 4553 | +} | |
| 4554 | + | |
| 4555 | +.spread .page, | |
| 4556 | +.pdfViewer:is(.scrollHorizontal, .scrollWrapped) .page{ | |
| 4557 | + margin-inline:var(--spreadHorizontalWrapped-margin-LR); | |
| 4558 | +} | |
| 4559 | + | |
| 4560 | +.pdfViewer.removePageBorders .spread .page, | |
| 4561 | +.pdfViewer.removePageBorders:is(.scrollHorizontal, .scrollWrapped) .page{ | |
| 4562 | + margin-inline:5px; | |
| 4563 | +} | |
| 4564 | + | |
| 4565 | +.pdfViewer .page.loadingIcon::after{ | |
| 4566 | + position:absolute; | |
| 4567 | + top:0; | |
| 4568 | + left:0; | |
| 4569 | + content:""; | |
| 4570 | + width:100%; | |
| 4571 | + height:100%; | |
| 4572 | + background:url("images/loading-icon.gif") center no-repeat; | |
| 4573 | + display:none; | |
| 4574 | + transition-property:display; | |
| 4575 | + transition-delay:var(--loading-icon-delay); | |
| 4576 | + z-index:5; | |
| 4577 | + contain:strict; | |
| 4578 | +} | |
| 4579 | + | |
| 4580 | +.pdfViewer .page.loading::after{ | |
| 4581 | + display:block; | |
| 4582 | +} | |
| 4583 | + | |
| 4584 | +.pdfViewer .page:not(.loading)::after{ | |
| 4585 | + transition-property:none; | |
| 4586 | + display:none; | |
| 4587 | +} | |
| 4588 | + | |
| 4589 | +.pdfPresentationMode .pdfViewer{ | |
| 4590 | + padding-bottom:0; | |
| 4591 | +} | |
| 4592 | + | |
| 4593 | +.pdfPresentationMode .spread{ | |
| 4594 | + margin:0; | |
| 4595 | +} | |
| 4596 | + | |
| 4597 | +.pdfPresentationMode .pdfViewer .page{ | |
| 4598 | + margin:0 auto; | |
| 4599 | + border:2px solid transparent; | |
| 4600 | +} | |
| 4601 | + | |
| 4602 | +:root{ | |
| 4603 | + --dir-factor:1; | |
| 4604 | + --inline-start:left; | |
| 4605 | + --inline-end:right; | |
| 4606 | + | |
| 4607 | + --sidebar-width:200px; | |
| 4608 | + --sidebar-transition-duration:200ms; | |
| 4609 | + --sidebar-transition-timing-function:ease; | |
| 4610 | + | |
| 4611 | + --toolbar-height:32px; | |
| 4612 | + --toolbar-horizontal-padding:1px; | |
| 4613 | + --toolbar-vertical-padding:2px; | |
| 4614 | + --icon-size:16px; | |
| 4615 | + | |
| 4616 | + --toolbar-icon-opacity:0.7; | |
| 4617 | + --doorhanger-icon-opacity:0.9; | |
| 4618 | + --doorhanger-height:8px; | |
| 4619 | + | |
| 4620 | + --csstools-light-dark-toggle--0:var(--csstools-color-scheme--light) rgb(249 249 250); | |
| 4621 | + | |
| 4622 | + --main-color:var(--csstools-light-dark-toggle--0, rgb(12 12 13)); | |
| 4623 | + --csstools-light-dark-toggle--1:var(--csstools-color-scheme--light) rgb(42 42 46); | |
| 4624 | + --body-bg-color:var(--csstools-light-dark-toggle--1, rgb(212 212 215)); | |
| 4625 | + --csstools-light-dark-toggle--2:var(--csstools-color-scheme--light) rgb(0 96 223); | |
| 4626 | + --progressBar-color:var(--csstools-light-dark-toggle--2, rgb(10 132 255)); | |
| 4627 | + --csstools-light-dark-toggle--3:var(--csstools-color-scheme--light) rgb(40 40 43); | |
| 4628 | + --progressBar-bg-color:var(--csstools-light-dark-toggle--3, rgb(221 221 222)); | |
| 4629 | + --csstools-light-dark-toggle--4:var(--csstools-color-scheme--light) rgb(20 68 133); | |
| 4630 | + --progressBar-blend-color:var(--csstools-light-dark-toggle--4, rgb(116 177 239)); | |
| 4631 | + --csstools-light-dark-toggle--5:var(--csstools-color-scheme--light) rgb(121 121 123); | |
| 4632 | + --scrollbar-color:var(--csstools-light-dark-toggle--5, auto); | |
| 4633 | + --csstools-light-dark-toggle--6:var(--csstools-color-scheme--light) rgb(35 35 39); | |
| 4634 | + --scrollbar-bg-color:var(--csstools-light-dark-toggle--6, auto); | |
| 4635 | + --csstools-light-dark-toggle--7:var(--csstools-color-scheme--light) rgb(255 255 255); | |
| 4636 | + --toolbar-icon-bg-color:var(--csstools-light-dark-toggle--7, rgb(0 0 0)); | |
| 4637 | + --csstools-light-dark-toggle--8:var(--csstools-color-scheme--light) rgb(255 255 255); | |
| 4638 | + --toolbar-icon-hover-bg-color:var(--csstools-light-dark-toggle--8, rgb(0 0 0)); | |
| 4639 | + | |
| 4640 | + --csstools-light-dark-toggle--9:var(--csstools-color-scheme--light) rgb(42 42 46 / 0.9); | |
| 4641 | + | |
| 4642 | + --sidebar-narrow-bg-color:var(--csstools-light-dark-toggle--9, rgb(212 212 215 / 0.9)); | |
| 4643 | + --csstools-light-dark-toggle--10:var(--csstools-color-scheme--light) rgb(50 50 52); | |
| 4644 | + --sidebar-toolbar-bg-color:var(--csstools-light-dark-toggle--10, rgb(245 246 247)); | |
| 4645 | + --csstools-light-dark-toggle--11:var(--csstools-color-scheme--light) rgb(56 56 61); | |
| 4646 | + --toolbar-bg-color:var(--csstools-light-dark-toggle--11, rgb(249 249 250)); | |
| 4647 | + --csstools-light-dark-toggle--12:var(--csstools-color-scheme--light) rgb(12 12 13); | |
| 4648 | + --toolbar-border-color:var(--csstools-light-dark-toggle--12, rgb(184 184 184)); | |
| 4649 | + --toolbar-box-shadow:0 1px 0 var(--toolbar-border-color); | |
| 4650 | + --toolbar-border-bottom:none; | |
| 4651 | + --toolbarSidebar-box-shadow:inset calc(-1px * var(--dir-factor)) 0 0 rgb(0 0 0 / 0.25), 0 1px 0 rgb(0 0 0 / 0.15), 0 0 1px rgb(0 0 0 / 0.1); | |
| 4652 | + --toolbarSidebar-border-bottom:none; | |
| 4653 | + --button-hover-color:color-mix(in srgb, currentColor 17%, transparent); | |
| 4654 | + --csstools-light-dark-toggle--13:var(--csstools-color-scheme--light) rgb(255 255 255); | |
| 4655 | + --toggled-btn-color:var(--csstools-light-dark-toggle--13, rgb(0 0 0)); | |
| 4656 | + --toggled-btn-bg-color:rgb(0 0 0 / 0.3); | |
| 4657 | + --toggled-hover-active-btn-color:rgb(0 0 0 / 0.4); | |
| 4658 | + --toggled-hover-btn-outline:none; | |
| 4659 | + --csstools-light-dark-toggle--14:var(--csstools-color-scheme--light) rgb(74 74 79); | |
| 4660 | + --dropdown-btn-bg-color:var(--csstools-light-dark-toggle--14, rgb(215 215 219)); | |
| 4661 | + --dropdown-btn-border:none; | |
| 4662 | + --separator-color:rgb(0 0 0 / 0.3); | |
| 4663 | + --csstools-light-dark-toggle--15:var(--csstools-color-scheme--light) rgb(250 250 250); | |
| 4664 | + --field-color:var(--csstools-light-dark-toggle--15, rgb(6 6 6)); | |
| 4665 | + --csstools-light-dark-toggle--16:var(--csstools-color-scheme--light) rgb(64 64 68); | |
| 4666 | + --field-bg-color:var(--csstools-light-dark-toggle--16, rgb(255 255 255)); | |
| 4667 | + --csstools-light-dark-toggle--17:var(--csstools-color-scheme--light) rgb(115 115 115); | |
| 4668 | + --field-border-color:var(--csstools-light-dark-toggle--17, rgb(187 187 188)); | |
| 4669 | + --csstools-light-dark-toggle--18:var(--csstools-color-scheme--light) rgb(255 255 255 / 0.8); | |
| 4670 | + --treeitem-color:var(--csstools-light-dark-toggle--18, rgb(0 0 0 / 0.8)); | |
| 4671 | + --csstools-light-dark-toggle--19:var(--csstools-color-scheme--light) rgb(255 255 255 / 0.15); | |
| 4672 | + --treeitem-bg-color:var(--csstools-light-dark-toggle--19, rgb(0 0 0 / 0.15)); | |
| 4673 | + --csstools-light-dark-toggle--20:var(--csstools-color-scheme--light) rgb(255 255 255 / 0.9); | |
| 4674 | + --treeitem-hover-color:var(--csstools-light-dark-toggle--20, rgb(0 0 0 / 0.9)); | |
| 4675 | + --csstools-light-dark-toggle--21:var(--csstools-color-scheme--light) rgb(255 255 255 / 0.9); | |
| 4676 | + --treeitem-selected-color:var(--csstools-light-dark-toggle--21, rgb(0 0 0 / 0.9)); | |
| 4677 | + --csstools-light-dark-toggle--22:var(--csstools-color-scheme--light) rgb(255 255 255 / 0.25); | |
| 4678 | + --treeitem-selected-bg-color:var(--csstools-light-dark-toggle--22, rgb(0 0 0 / 0.25)); | |
| 4679 | + --csstools-light-dark-toggle--23:var(--csstools-color-scheme--light) rgb(255 255 255 / 0.1); | |
| 4680 | + --thumbnail-hover-color:var(--csstools-light-dark-toggle--23, rgb(0 0 0 / 0.1)); | |
| 4681 | + --csstools-light-dark-toggle--24:var(--csstools-color-scheme--light) rgb(255 255 255 / 0.2); | |
| 4682 | + --thumbnail-selected-color:var(--csstools-light-dark-toggle--24, rgb(0 0 0 / 0.2)); | |
| 4683 | + --csstools-light-dark-toggle--25:var(--csstools-color-scheme--light) #42414d; | |
| 4684 | + --doorhanger-bg-color:var(--csstools-light-dark-toggle--25, rgb(255 255 255)); | |
| 4685 | + --csstools-light-dark-toggle--26:var(--csstools-color-scheme--light) rgb(39 39 43); | |
| 4686 | + --doorhanger-border-color:var(--csstools-light-dark-toggle--26, rgb(12 12 13 / 0.2)); | |
| 4687 | + --csstools-light-dark-toggle--27:var(--csstools-color-scheme--light) rgb(249 249 250); | |
| 4688 | + --doorhanger-hover-color:var(--csstools-light-dark-toggle--27, rgb(12 12 13)); | |
| 4689 | + --csstools-light-dark-toggle--28:var(--csstools-color-scheme--light) rgb(92 92 97); | |
| 4690 | + --doorhanger-separator-color:var(--csstools-light-dark-toggle--28, rgb(222 222 222)); | |
| 4691 | + --dialog-button-border:none; | |
| 4692 | + --csstools-light-dark-toggle--29:var(--csstools-color-scheme--light) rgb(92 92 97); | |
| 4693 | + --dialog-button-bg-color:var(--csstools-light-dark-toggle--29, rgb(12 12 13 / 0.1)); | |
| 4694 | + --csstools-light-dark-toggle--30:var(--csstools-color-scheme--light) rgb(115 115 115); | |
| 4695 | + --dialog-button-hover-bg-color:var(--csstools-light-dark-toggle--30, rgb(12 12 13 / 0.3)); | |
| 4696 | + | |
| 4697 | + --loading-icon:url(images/loading.svg); | |
| 4698 | + --treeitem-expanded-icon:url(images/treeitem-expanded.svg); | |
| 4699 | + --treeitem-collapsed-icon:url(images/treeitem-collapsed.svg); | |
| 4700 | + --toolbarButton-editorFreeText-icon:url(images/toolbarButton-editorFreeText.svg); | |
| 4701 | + --toolbarButton-editorHighlight-icon:url(images/toolbarButton-editorHighlight.svg); | |
| 4702 | + --toolbarButton-editorInk-icon:url(images/toolbarButton-editorInk.svg); | |
| 4703 | + --toolbarButton-editorStamp-icon:url(images/toolbarButton-editorStamp.svg); | |
| 4704 | + --toolbarButton-editorSignature-icon:url(images/toolbarButton-editorSignature.svg); | |
| 4705 | + --toolbarButton-menuArrow-icon:url(images/toolbarButton-menuArrow.svg); | |
| 4706 | + --toolbarButton-sidebarToggle-icon:url(images/toolbarButton-sidebarToggle.svg); | |
| 4707 | + --toolbarButton-secondaryToolbarToggle-icon:url(images/toolbarButton-secondaryToolbarToggle.svg); | |
| 4708 | + --toolbarButton-pageUp-icon:url(images/toolbarButton-pageUp.svg); | |
| 4709 | + --toolbarButton-pageDown-icon:url(images/toolbarButton-pageDown.svg); | |
| 4710 | + --toolbarButton-zoomOut-icon:url(images/toolbarButton-zoomOut.svg); | |
| 4711 | + --toolbarButton-zoomIn-icon:url(images/toolbarButton-zoomIn.svg); | |
| 4712 | + --toolbarButton-presentationMode-icon:url(images/toolbarButton-presentationMode.svg); | |
| 4713 | + --toolbarButton-print-icon:url(images/toolbarButton-print.svg); | |
| 4714 | + --toolbarButton-openFile-icon:url(images/toolbarButton-openFile.svg); | |
| 4715 | + --toolbarButton-download-icon:url(images/toolbarButton-download.svg); | |
| 4716 | + --toolbarButton-bookmark-icon:url(images/toolbarButton-bookmark.svg); | |
| 4717 | + --toolbarButton-viewThumbnail-icon:url(images/toolbarButton-viewThumbnail.svg); | |
| 4718 | + --toolbarButton-viewOutline-icon:url(images/toolbarButton-viewOutline.svg); | |
| 4719 | + --toolbarButton-viewAttachments-icon:url(images/toolbarButton-viewAttachments.svg); | |
| 4720 | + --toolbarButton-viewLayers-icon:url(images/toolbarButton-viewLayers.svg); | |
| 4721 | + --toolbarButton-currentOutlineItem-icon:url(images/toolbarButton-currentOutlineItem.svg); | |
| 4722 | + --toolbarButton-search-icon:url(images/toolbarButton-search.svg); | |
| 4723 | + --findbarButton-previous-icon:url(images/findbarButton-previous.svg); | |
| 4724 | + --findbarButton-next-icon:url(images/findbarButton-next.svg); | |
| 4725 | + --secondaryToolbarButton-firstPage-icon:url(images/secondaryToolbarButton-firstPage.svg); | |
| 4726 | + --secondaryToolbarButton-lastPage-icon:url(images/secondaryToolbarButton-lastPage.svg); | |
| 4727 | + --secondaryToolbarButton-rotateCcw-icon:url(images/secondaryToolbarButton-rotateCcw.svg); | |
| 4728 | + --secondaryToolbarButton-rotateCw-icon:url(images/secondaryToolbarButton-rotateCw.svg); | |
| 4729 | + --secondaryToolbarButton-selectTool-icon:url(images/secondaryToolbarButton-selectTool.svg); | |
| 4730 | + --secondaryToolbarButton-handTool-icon:url(images/secondaryToolbarButton-handTool.svg); | |
| 4731 | + --secondaryToolbarButton-scrollPage-icon:url(images/secondaryToolbarButton-scrollPage.svg); | |
| 4732 | + --secondaryToolbarButton-scrollVertical-icon:url(images/secondaryToolbarButton-scrollVertical.svg); | |
| 4733 | + --secondaryToolbarButton-scrollHorizontal-icon:url(images/secondaryToolbarButton-scrollHorizontal.svg); | |
| 4734 | + --secondaryToolbarButton-scrollWrapped-icon:url(images/secondaryToolbarButton-scrollWrapped.svg); | |
| 4735 | + --secondaryToolbarButton-spreadNone-icon:url(images/secondaryToolbarButton-spreadNone.svg); | |
| 4736 | + --secondaryToolbarButton-spreadOdd-icon:url(images/secondaryToolbarButton-spreadOdd.svg); | |
| 4737 | + --secondaryToolbarButton-spreadEven-icon:url(images/secondaryToolbarButton-spreadEven.svg); | |
| 4738 | + --secondaryToolbarButton-imageAltTextSettings-icon:var( | |
| 4739 | + --toolbarButton-editorStamp-icon | |
| 4740 | + ); | |
| 4741 | + --secondaryToolbarButton-documentProperties-icon:url(images/secondaryToolbarButton-documentProperties.svg); | |
| 4742 | + --editorParams-stampAddImage-icon:url(images/toolbarButton-zoomIn.svg); | |
| 4743 | +} | |
| 4744 | + | |
| 4745 | +@supports (color: light-dark(red, red)) and (color: rgb(0 0 0 / 0)){ | |
| 4746 | + :root{ | |
| 4747 | + | |
| 4748 | + --main-color:light-dark(rgb(12 12 13), rgb(249 249 250)); | |
| 4749 | + --body-bg-color:light-dark(rgb(212 212 215), rgb(42 42 46)); | |
| 4750 | + --progressBar-color:light-dark(rgb(10 132 255), rgb(0 96 223)); | |
| 4751 | + --progressBar-bg-color:light-dark(rgb(221 221 222), rgb(40 40 43)); | |
| 4752 | + --progressBar-blend-color:light-dark(rgb(116 177 239), rgb(20 68 133)); | |
| 4753 | + --scrollbar-color:light-dark(auto, rgb(121 121 123)); | |
| 4754 | + --scrollbar-bg-color:light-dark(auto, rgb(35 35 39)); | |
| 4755 | + --toolbar-icon-bg-color:light-dark(rgb(0 0 0), rgb(255 255 255)); | |
| 4756 | + --toolbar-icon-hover-bg-color:light-dark(rgb(0 0 0), rgb(255 255 255)); | |
| 4757 | + | |
| 4758 | + --sidebar-narrow-bg-color:light-dark( | |
| 4759 | + rgb(212 212 215 / 0.9), | |
| 4760 | + rgb(42 42 46 / 0.9) | |
| 4761 | + ); | |
| 4762 | + --sidebar-toolbar-bg-color:light-dark(rgb(245 246 247), rgb(50 50 52)); | |
| 4763 | + --toolbar-bg-color:light-dark(rgb(249 249 250), rgb(56 56 61)); | |
| 4764 | + --toolbar-border-color:light-dark(rgb(184 184 184), rgb(12 12 13)); | |
| 4765 | + --toggled-btn-color:light-dark(rgb(0 0 0), rgb(255 255 255)); | |
| 4766 | + --dropdown-btn-bg-color:light-dark(rgb(215 215 219), rgb(74 74 79)); | |
| 4767 | + --field-color:light-dark(rgb(6 6 6), rgb(250 250 250)); | |
| 4768 | + --field-bg-color:light-dark(rgb(255 255 255), rgb(64 64 68)); | |
| 4769 | + --field-border-color:light-dark(rgb(187 187 188), rgb(115 115 115)); | |
| 4770 | + --treeitem-color:light-dark(rgb(0 0 0 / 0.8), rgb(255 255 255 / 0.8)); | |
| 4771 | + --treeitem-bg-color:light-dark(rgb(0 0 0 / 0.15), rgb(255 255 255 / 0.15)); | |
| 4772 | + --treeitem-hover-color:light-dark(rgb(0 0 0 / 0.9), rgb(255 255 255 / 0.9)); | |
| 4773 | + --treeitem-selected-color:light-dark( | |
| 4774 | + rgb(0 0 0 / 0.9), | |
| 4775 | + rgb(255 255 255 / 0.9) | |
| 4776 | + ); | |
| 4777 | + --treeitem-selected-bg-color:light-dark( | |
| 4778 | + rgb(0 0 0 / 0.25), | |
| 4779 | + rgb(255 255 255 / 0.25) | |
| 4780 | + ); | |
| 4781 | + --thumbnail-hover-color:light-dark(rgb(0 0 0 / 0.1), rgb(255 255 255 / 0.1)); | |
| 4782 | + --thumbnail-selected-color:light-dark( | |
| 4783 | + rgb(0 0 0 / 0.2), | |
| 4784 | + rgb(255 255 255 / 0.2) | |
| 4785 | + ); | |
| 4786 | + --doorhanger-bg-color:light-dark(rgb(255 255 255), #42414d); | |
| 4787 | + --doorhanger-border-color:light-dark(rgb(12 12 13 / 0.2), rgb(39 39 43)); | |
| 4788 | + --doorhanger-hover-color:light-dark(rgb(12 12 13), rgb(249 249 250)); | |
| 4789 | + --doorhanger-separator-color:light-dark(rgb(222 222 222), rgb(92 92 97)); | |
| 4790 | + --dialog-button-bg-color:light-dark(rgb(12 12 13 / 0.1), rgb(92 92 97)); | |
| 4791 | + --dialog-button-hover-bg-color:light-dark( | |
| 4792 | + rgb(12 12 13 / 0.3), | |
| 4793 | + rgb(115 115 115) | |
| 4794 | + ); | |
| 4795 | + } | |
| 4796 | +} | |
| 4797 | + | |
| 4798 | +@supports not (color: light-dark(tan, tan)){ | |
| 4799 | + | |
| 4800 | + :root *{ | |
| 4801 | + | |
| 4802 | + --csstools-light-dark-toggle--0:var(--csstools-color-scheme--light) rgb(249 249 250); | |
| 4803 | + | |
| 4804 | + --main-color:var(--csstools-light-dark-toggle--0, rgb(12 12 13)); | |
| 4805 | + --csstools-light-dark-toggle--1:var(--csstools-color-scheme--light) rgb(42 42 46); | |
| 4806 | + --body-bg-color:var(--csstools-light-dark-toggle--1, rgb(212 212 215)); | |
| 4807 | + --csstools-light-dark-toggle--2:var(--csstools-color-scheme--light) rgb(0 96 223); | |
| 4808 | + --progressBar-color:var(--csstools-light-dark-toggle--2, rgb(10 132 255)); | |
| 4809 | + --csstools-light-dark-toggle--3:var(--csstools-color-scheme--light) rgb(40 40 43); | |
| 4810 | + --progressBar-bg-color:var(--csstools-light-dark-toggle--3, rgb(221 221 222)); | |
| 4811 | + --csstools-light-dark-toggle--4:var(--csstools-color-scheme--light) rgb(20 68 133); | |
| 4812 | + --progressBar-blend-color:var(--csstools-light-dark-toggle--4, rgb(116 177 239)); | |
| 4813 | + --csstools-light-dark-toggle--5:var(--csstools-color-scheme--light) rgb(121 121 123); | |
| 4814 | + --scrollbar-color:var(--csstools-light-dark-toggle--5, auto); | |
| 4815 | + --csstools-light-dark-toggle--6:var(--csstools-color-scheme--light) rgb(35 35 39); | |
| 4816 | + --scrollbar-bg-color:var(--csstools-light-dark-toggle--6, auto); | |
| 4817 | + --csstools-light-dark-toggle--7:var(--csstools-color-scheme--light) rgb(255 255 255); | |
| 4818 | + --toolbar-icon-bg-color:var(--csstools-light-dark-toggle--7, rgb(0 0 0)); | |
| 4819 | + --csstools-light-dark-toggle--8:var(--csstools-color-scheme--light) rgb(255 255 255); | |
| 4820 | + --toolbar-icon-hover-bg-color:var(--csstools-light-dark-toggle--8, rgb(0 0 0)); | |
| 4821 | + | |
| 4822 | + --csstools-light-dark-toggle--9:var(--csstools-color-scheme--light) rgb(42 42 46 / 0.9); | |
| 4823 | + | |
| 4824 | + --sidebar-narrow-bg-color:var(--csstools-light-dark-toggle--9, rgb(212 212 215 / 0.9)); | |
| 4825 | + --csstools-light-dark-toggle--10:var(--csstools-color-scheme--light) rgb(50 50 52); | |
| 4826 | + --sidebar-toolbar-bg-color:var(--csstools-light-dark-toggle--10, rgb(245 246 247)); | |
| 4827 | + --csstools-light-dark-toggle--11:var(--csstools-color-scheme--light) rgb(56 56 61); | |
| 4828 | + --toolbar-bg-color:var(--csstools-light-dark-toggle--11, rgb(249 249 250)); | |
| 4829 | + --csstools-light-dark-toggle--12:var(--csstools-color-scheme--light) rgb(12 12 13); | |
| 4830 | + --toolbar-border-color:var(--csstools-light-dark-toggle--12, rgb(184 184 184)); | |
| 4831 | + --csstools-light-dark-toggle--13:var(--csstools-color-scheme--light) rgb(255 255 255); | |
| 4832 | + --toggled-btn-color:var(--csstools-light-dark-toggle--13, rgb(0 0 0)); | |
| 4833 | + --csstools-light-dark-toggle--14:var(--csstools-color-scheme--light) rgb(74 74 79); | |
| 4834 | + --dropdown-btn-bg-color:var(--csstools-light-dark-toggle--14, rgb(215 215 219)); | |
| 4835 | + --csstools-light-dark-toggle--15:var(--csstools-color-scheme--light) rgb(250 250 250); | |
| 4836 | + --field-color:var(--csstools-light-dark-toggle--15, rgb(6 6 6)); | |
| 4837 | + --csstools-light-dark-toggle--16:var(--csstools-color-scheme--light) rgb(64 64 68); | |
| 4838 | + --field-bg-color:var(--csstools-light-dark-toggle--16, rgb(255 255 255)); | |
| 4839 | + --csstools-light-dark-toggle--17:var(--csstools-color-scheme--light) rgb(115 115 115); | |
| 4840 | + --field-border-color:var(--csstools-light-dark-toggle--17, rgb(187 187 188)); | |
| 4841 | + --csstools-light-dark-toggle--18:var(--csstools-color-scheme--light) rgb(255 255 255 / 0.8); | |
| 4842 | + --treeitem-color:var(--csstools-light-dark-toggle--18, rgb(0 0 0 / 0.8)); | |
| 4843 | + --csstools-light-dark-toggle--19:var(--csstools-color-scheme--light) rgb(255 255 255 / 0.15); | |
| 4844 | + --treeitem-bg-color:var(--csstools-light-dark-toggle--19, rgb(0 0 0 / 0.15)); | |
| 4845 | + --csstools-light-dark-toggle--20:var(--csstools-color-scheme--light) rgb(255 255 255 / 0.9); | |
| 4846 | + --treeitem-hover-color:var(--csstools-light-dark-toggle--20, rgb(0 0 0 / 0.9)); | |
| 4847 | + --csstools-light-dark-toggle--21:var(--csstools-color-scheme--light) rgb(255 255 255 / 0.9); | |
| 4848 | + --treeitem-selected-color:var(--csstools-light-dark-toggle--21, rgb(0 0 0 / 0.9)); | |
| 4849 | + --csstools-light-dark-toggle--22:var(--csstools-color-scheme--light) rgb(255 255 255 / 0.25); | |
| 4850 | + --treeitem-selected-bg-color:var(--csstools-light-dark-toggle--22, rgb(0 0 0 / 0.25)); | |
| 4851 | + --csstools-light-dark-toggle--23:var(--csstools-color-scheme--light) rgb(255 255 255 / 0.1); | |
| 4852 | + --thumbnail-hover-color:var(--csstools-light-dark-toggle--23, rgb(0 0 0 / 0.1)); | |
| 4853 | + --csstools-light-dark-toggle--24:var(--csstools-color-scheme--light) rgb(255 255 255 / 0.2); | |
| 4854 | + --thumbnail-selected-color:var(--csstools-light-dark-toggle--24, rgb(0 0 0 / 0.2)); | |
| 4855 | + --csstools-light-dark-toggle--25:var(--csstools-color-scheme--light) #42414d; | |
| 4856 | + --doorhanger-bg-color:var(--csstools-light-dark-toggle--25, rgb(255 255 255)); | |
| 4857 | + --csstools-light-dark-toggle--26:var(--csstools-color-scheme--light) rgb(39 39 43); | |
| 4858 | + --doorhanger-border-color:var(--csstools-light-dark-toggle--26, rgb(12 12 13 / 0.2)); | |
| 4859 | + --csstools-light-dark-toggle--27:var(--csstools-color-scheme--light) rgb(249 249 250); | |
| 4860 | + --doorhanger-hover-color:var(--csstools-light-dark-toggle--27, rgb(12 12 13)); | |
| 4861 | + --csstools-light-dark-toggle--28:var(--csstools-color-scheme--light) rgb(92 92 97); | |
| 4862 | + --doorhanger-separator-color:var(--csstools-light-dark-toggle--28, rgb(222 222 222)); | |
| 4863 | + --csstools-light-dark-toggle--29:var(--csstools-color-scheme--light) rgb(92 92 97); | |
| 4864 | + --dialog-button-bg-color:var(--csstools-light-dark-toggle--29, rgb(12 12 13 / 0.1)); | |
| 4865 | + --csstools-light-dark-toggle--30:var(--csstools-color-scheme--light) rgb(115 115 115); | |
| 4866 | + --dialog-button-hover-bg-color:var(--csstools-light-dark-toggle--30, rgb(12 12 13 / 0.3)); | |
| 4867 | + } | |
| 4868 | +} | |
| 4869 | + | |
| 4870 | +[dir="rtl"]:root{ | |
| 4871 | + --dir-factor:-1; | |
| 4872 | + --inline-start:right; | |
| 4873 | + --inline-end:left; | |
| 4874 | +} | |
| 4875 | + | |
| 4876 | +@media screen and (forced-colors: active){ | |
| 4877 | + :root{ | |
| 4878 | + --button-hover-color:Highlight; | |
| 4879 | + --toolbar-icon-opacity:1; | |
| 4880 | + --toolbar-icon-bg-color:ButtonText; | |
| 4881 | + --toolbar-icon-hover-bg-color:ButtonFace; | |
| 4882 | + --toggled-hover-active-btn-color:ButtonText; | |
| 4883 | + --toggled-hover-btn-outline:2px solid ButtonBorder; | |
| 4884 | + --toolbar-border-color:CanvasText; | |
| 4885 | + --toolbar-border-bottom:1px solid var(--toolbar-border-color); | |
| 4886 | + --toolbar-box-shadow:none; | |
| 4887 | + --toggled-btn-color:HighlightText; | |
| 4888 | + --toggled-btn-bg-color:LinkText; | |
| 4889 | + --doorhanger-hover-color:ButtonFace; | |
| 4890 | + --doorhanger-border-color-whcm:1px solid ButtonText; | |
| 4891 | + --doorhanger-triangle-opacity-whcm:0; | |
| 4892 | + --dialog-button-border:1px solid Highlight; | |
| 4893 | + --dialog-button-hover-bg-color:Highlight; | |
| 4894 | + --dialog-button-hover-color:ButtonFace; | |
| 4895 | + --dropdown-btn-border:1px solid ButtonText; | |
| 4896 | + --field-border-color:ButtonText; | |
| 4897 | + --main-color:CanvasText; | |
| 4898 | + --separator-color:GrayText; | |
| 4899 | + --doorhanger-separator-color:GrayText; | |
| 4900 | + --toolbarSidebar-box-shadow:none; | |
| 4901 | + --toolbarSidebar-border-bottom:1px solid var(--toolbar-border-color); | |
| 4902 | + } | |
| 4903 | +} | |
| 4904 | + | |
| 4905 | +@media screen and (prefers-reduced-motion: reduce){ | |
| 4906 | + :root{ | |
| 4907 | + --sidebar-transition-duration:0; | |
| 4908 | + } | |
| 4909 | +} | |
| 4910 | + | |
| 4911 | +@keyframes progressIndeterminate{ | |
| 4912 | + 0%{ | |
| 4913 | + transform:translateX(calc(-142px * var(--dir-factor))); | |
| 4914 | + } | |
| 4915 | + | |
| 4916 | + 100%{ | |
| 4917 | + transform:translateX(0); | |
| 4918 | + } | |
| 4919 | +} | |
| 4920 | + | |
| 4921 | +html[data-toolbar-density="compact"]{ | |
| 4922 | + --toolbar-height:30px; | |
| 4923 | +} | |
| 4924 | + | |
| 4925 | +html[data-toolbar-density="touch"]{ | |
| 4926 | + --toolbar-height:44px; | |
| 4927 | +} | |
| 4928 | + | |
| 4929 | +html, | |
| 4930 | +body{ | |
| 4931 | + height:100%; | |
| 4932 | + width:100%; | |
| 4933 | +} | |
| 4934 | + | |
| 4935 | +body{ | |
| 4936 | + margin:0; | |
| 4937 | + background-color:var(--body-bg-color); | |
| 4938 | + scrollbar-color:var(--scrollbar-color) var(--scrollbar-bg-color); | |
| 4939 | +} | |
| 4940 | + | |
| 4941 | +body.wait::before{ | |
| 4942 | + content:""; | |
| 4943 | + position:fixed; | |
| 4944 | + width:100%; | |
| 4945 | + height:100%; | |
| 4946 | + z-index:100000; | |
| 4947 | + cursor:wait; | |
| 4948 | +} | |
| 4949 | + | |
| 4950 | +.hidden, | |
| 4951 | +[hidden]{ | |
| 4952 | + display:none !important; | |
| 4953 | +} | |
| 4954 | + | |
| 4955 | +#viewerContainer.pdfPresentationMode:fullscreen{ | |
| 4956 | + top:0; | |
| 4957 | + background-color:rgb(0 0 0); | |
| 4958 | + width:100%; | |
| 4959 | + height:100%; | |
| 4960 | + overflow:hidden; | |
| 4961 | + cursor:none; | |
| 4962 | + -webkit-user-select:none; | |
| 4963 | + -moz-user-select:none; | |
| 4964 | + user-select:none; | |
| 4965 | +} | |
| 4966 | + | |
| 4967 | +.pdfPresentationMode:fullscreen section:not([data-internal-link]){ | |
| 4968 | + pointer-events:none; | |
| 4969 | +} | |
| 4970 | + | |
| 4971 | +.pdfPresentationMode:fullscreen .textLayer span{ | |
| 4972 | + cursor:none; | |
| 4973 | +} | |
| 4974 | + | |
| 4975 | +.pdfPresentationMode.pdfPresentationModeControls > *, | |
| 4976 | +.pdfPresentationMode.pdfPresentationModeControls .textLayer span{ | |
| 4977 | + cursor:default; | |
| 4978 | +} | |
| 4979 | + | |
| 4980 | +#outerContainer{ | |
| 4981 | + width:100%; | |
| 4982 | + height:100%; | |
| 4983 | + position:relative; | |
| 4984 | + margin:0; | |
| 4985 | +} | |
| 4986 | + | |
| 4987 | +#sidebarContainer{ | |
| 4988 | + position:absolute; | |
| 4989 | + inset-block:var(--toolbar-height) 0; | |
| 4990 | + inset-inline-start:calc(-1 * var(--sidebar-width)); | |
| 4991 | + width:var(--sidebar-width); | |
| 4992 | + visibility:hidden; | |
| 4993 | + z-index:1; | |
| 4994 | + font:message-box; | |
| 4995 | + border-top:1px solid transparent; | |
| 4996 | + border-inline-end:var(--doorhanger-border-color-whcm); | |
| 4997 | + transition-property:inset-inline-start; | |
| 4998 | + transition-duration:var(--sidebar-transition-duration); | |
| 4999 | + transition-timing-function:var(--sidebar-transition-timing-function); | |
| 5000 | +} | |
| 5001 | + | |
| 5002 | +#outerContainer:is(.sidebarMoving, .sidebarOpen) #sidebarContainer{ | |
| 5003 | + visibility:visible; | |
| 5004 | +} | |
| 5005 | + | |
| 5006 | +#outerContainer.sidebarOpen #sidebarContainer{ | |
| 5007 | + inset-inline-start:0; | |
| 5008 | +} | |
| 5009 | + | |
| 5010 | +#mainContainer{ | |
| 5011 | + position:absolute; | |
| 5012 | + inset:0; | |
| 5013 | + min-width:350px; | |
| 5014 | + margin:0; | |
| 5015 | + display:flex; | |
| 5016 | + flex-direction:column; | |
| 5017 | +} | |
| 5018 | + | |
| 5019 | +#sidebarContent{ | |
| 5020 | + inset-block:var(--toolbar-height) 0; | |
| 5021 | + inset-inline-start:0; | |
| 5022 | + overflow:auto; | |
| 5023 | + position:absolute; | |
| 5024 | + width:100%; | |
| 5025 | + box-shadow:inset calc(-1px * var(--dir-factor)) 0 0 rgb(0 0 0 / 0.25); | |
| 5026 | +} | |
| 5027 | + | |
| 5028 | +#viewerContainer{ | |
| 5029 | + overflow:auto; | |
| 5030 | + position:absolute; | |
| 5031 | + inset:var(--toolbar-height) 0 0; | |
| 5032 | + outline:none; | |
| 5033 | + z-index:0; | |
| 5034 | +} | |
| 5035 | + | |
| 5036 | +#viewerContainer:not(.pdfPresentationMode){ | |
| 5037 | + transition-duration:var(--sidebar-transition-duration); | |
| 5038 | + transition-timing-function:var(--sidebar-transition-timing-function); | |
| 5039 | +} | |
| 5040 | + | |
| 5041 | +#outerContainer.sidebarOpen #viewerContainer:not(.pdfPresentationMode){ | |
| 5042 | + inset-inline-start:var(--sidebar-width); | |
| 5043 | + transition-property:inset-inline-start; | |
| 5044 | +} | |
| 5045 | + | |
| 5046 | +#sidebarContainer :is(input, button, select){ | |
| 5047 | + font:message-box; | |
| 5048 | +} | |
| 5049 | + | |
| 5050 | +.toolbar{ | |
| 5051 | + z-index:2; | |
| 5052 | +} | |
| 5053 | + | |
| 5054 | +#toolbarSidebar{ | |
| 5055 | + width:100%; | |
| 5056 | + height:var(--toolbar-height); | |
| 5057 | + background-color:var(--sidebar-toolbar-bg-color); | |
| 5058 | + box-shadow:var(--toolbarSidebar-box-shadow); | |
| 5059 | + border-bottom:var(--toolbarSidebar-border-bottom); | |
| 5060 | + padding:var(--toolbar-vertical-padding) var(--toolbar-horizontal-padding); | |
| 5061 | + justify-content:space-between; | |
| 5062 | +} | |
| 5063 | + | |
| 5064 | +#toolbarSidebar #toolbarSidebarLeft{ | |
| 5065 | + width:auto; | |
| 5066 | + height:100%; | |
| 5067 | +} | |
| 5068 | + | |
| 5069 | +:is(#toolbarSidebar #toolbarSidebarLeft) #viewThumbnail::before{ | |
| 5070 | + -webkit-mask-image:var(--toolbarButton-viewThumbnail-icon); | |
| 5071 | + mask-image:var(--toolbarButton-viewThumbnail-icon); | |
| 5072 | +} | |
| 5073 | + | |
| 5074 | +:is(#toolbarSidebar #toolbarSidebarLeft) #viewOutline::before{ | |
| 5075 | + -webkit-mask-image:var(--toolbarButton-viewOutline-icon); | |
| 5076 | + mask-image:var(--toolbarButton-viewOutline-icon); | |
| 5077 | + transform:scaleX(var(--dir-factor)); | |
| 5078 | +} | |
| 5079 | + | |
| 5080 | +:is(#toolbarSidebar #toolbarSidebarLeft) #viewAttachments::before{ | |
| 5081 | + -webkit-mask-image:var(--toolbarButton-viewAttachments-icon); | |
| 5082 | + mask-image:var(--toolbarButton-viewAttachments-icon); | |
| 5083 | +} | |
| 5084 | + | |
| 5085 | +:is(#toolbarSidebar #toolbarSidebarLeft) #viewLayers::before{ | |
| 5086 | + -webkit-mask-image:var(--toolbarButton-viewLayers-icon); | |
| 5087 | + mask-image:var(--toolbarButton-viewLayers-icon); | |
| 5088 | +} | |
| 5089 | + | |
| 5090 | +#toolbarSidebar #toolbarSidebarRight{ | |
| 5091 | + width:auto; | |
| 5092 | + height:100%; | |
| 5093 | + padding-inline-end:2px; | |
| 5094 | +} | |
| 5095 | + | |
| 5096 | +#sidebarResizer{ | |
| 5097 | + position:absolute; | |
| 5098 | + inset-block:0; | |
| 5099 | + inset-inline-end:-6px; | |
| 5100 | + width:6px; | |
| 5101 | + z-index:200; | |
| 5102 | + cursor:ew-resize; | |
| 5103 | +} | |
| 5104 | + | |
| 5105 | +#outerContainer.sidebarOpen #loadingBar{ | |
| 5106 | + inset-inline-start:var(--sidebar-width); | |
| 5107 | +} | |
| 5108 | + | |
| 5109 | +#outerContainer.sidebarResizing | |
| 5110 | +:is(#sidebarContainer, #viewerContainer, #loadingBar){ | |
| 5111 | + transition-duration:0s; | |
| 5112 | +} | |
| 5113 | + | |
| 5114 | +.doorHanger, | |
| 5115 | +.doorHangerRight{ | |
| 5116 | + border-radius:2px; | |
| 5117 | + box-shadow:0 1px 5px var(--doorhanger-border-color), 0 0 0 1px var(--doorhanger-border-color); | |
| 5118 | + border:var(--doorhanger-border-color-whcm); | |
| 5119 | + background-color:var(--doorhanger-bg-color); | |
| 5120 | + inset-block-start:calc(100% + var(--doorhanger-height) - 2px); | |
| 5121 | +} | |
| 5122 | + | |
| 5123 | +:is(.doorHanger,.doorHangerRight)::after,:is(.doorHanger,.doorHangerRight)::before{ | |
| 5124 | + bottom:100%; | |
| 5125 | + border-style:solid; | |
| 5126 | + border-color:transparent; | |
| 5127 | + content:""; | |
| 5128 | + height:0; | |
| 5129 | + width:0; | |
| 5130 | + position:absolute; | |
| 5131 | + pointer-events:none; | |
| 5132 | + opacity:var(--doorhanger-triangle-opacity-whcm); | |
| 5133 | +} | |
| 5134 | + | |
| 5135 | +:is(.doorHanger,.doorHangerRight)::before{ | |
| 5136 | + border-width:calc(var(--doorhanger-height) + 2px); | |
| 5137 | + border-bottom-color:var(--doorhanger-border-color); | |
| 5138 | +} | |
| 5139 | + | |
| 5140 | +:is(.doorHanger,.doorHangerRight)::after{ | |
| 5141 | + border-width:var(--doorhanger-height); | |
| 5142 | +} | |
| 5143 | + | |
| 5144 | +.doorHangerRight{ | |
| 5145 | + inset-inline-end:calc(50% - var(--doorhanger-height) - 1px); | |
| 5146 | +} | |
| 5147 | + | |
| 5148 | +.doorHangerRight::before{ | |
| 5149 | + inset-inline-end:-1px; | |
| 5150 | +} | |
| 5151 | + | |
| 5152 | +.doorHangerRight::after{ | |
| 5153 | + border-bottom-color:var(--doorhanger-bg-color); | |
| 5154 | + inset-inline-end:1px; | |
| 5155 | +} | |
| 5156 | + | |
| 5157 | +.doorHanger{ | |
| 5158 | + inset-inline-start:calc(50% - var(--doorhanger-height) - 1px); | |
| 5159 | +} | |
| 5160 | + | |
| 5161 | +.doorHanger::before{ | |
| 5162 | + inset-inline-start:-1px; | |
| 5163 | +} | |
| 5164 | + | |
| 5165 | +.doorHanger::after{ | |
| 5166 | + border-bottom-color:var(--toolbar-bg-color); | |
| 5167 | + inset-inline-start:1px; | |
| 5168 | +} | |
| 5169 | + | |
| 5170 | +.dialogButton{ | |
| 5171 | + border:none; | |
| 5172 | + background:none; | |
| 5173 | + width:28px; | |
| 5174 | + height:28px; | |
| 5175 | + outline:none; | |
| 5176 | +} | |
| 5177 | + | |
| 5178 | +.dialogButton:is(:hover, :focus-visible){ | |
| 5179 | + background-color:var(--dialog-button-hover-bg-color); | |
| 5180 | +} | |
| 5181 | + | |
| 5182 | +.dialogButton:is(:hover, :focus-visible) > span{ | |
| 5183 | + color:var(--dialog-button-hover-color); | |
| 5184 | +} | |
| 5185 | + | |
| 5186 | +.splitToolbarButtonSeparator{ | |
| 5187 | + float:var(--inline-start); | |
| 5188 | + width:0; | |
| 5189 | + height:62%; | |
| 5190 | + border-left:1px solid var(--separator-color); | |
| 5191 | + border-right:none; | |
| 5192 | +} | |
| 5193 | + | |
| 5194 | +.dialogButton{ | |
| 5195 | + min-width:16px; | |
| 5196 | + margin:2px 1px; | |
| 5197 | + padding:2px 6px 0; | |
| 5198 | + border:none; | |
| 5199 | + border-radius:2px; | |
| 5200 | + color:var(--main-color); | |
| 5201 | + font-size:12px; | |
| 5202 | + line-height:14px; | |
| 5203 | + -webkit-user-select:none; | |
| 5204 | + -moz-user-select:none; | |
| 5205 | + user-select:none; | |
| 5206 | + cursor:default; | |
| 5207 | + box-sizing:border-box; | |
| 5208 | +} | |
| 5209 | + | |
| 5210 | +.treeItemToggler::before{ | |
| 5211 | + position:absolute; | |
| 5212 | + display:inline-block; | |
| 5213 | + width:16px; | |
| 5214 | + height:16px; | |
| 5215 | + | |
| 5216 | + content:""; | |
| 5217 | + background-color:var(--toolbar-icon-bg-color); | |
| 5218 | + -webkit-mask-size:cover; | |
| 5219 | + mask-size:cover; | |
| 5220 | +} | |
| 5221 | + | |
| 5222 | +#sidebarToggleButton::before{ | |
| 5223 | + -webkit-mask-image:var(--toolbarButton-sidebarToggle-icon); | |
| 5224 | + mask-image:var(--toolbarButton-sidebarToggle-icon); | |
| 5225 | + transform:scaleX(var(--dir-factor)); | |
| 5226 | +} | |
| 5227 | + | |
| 5228 | +#secondaryToolbarToggleButton::before{ | |
| 5229 | + -webkit-mask-image:var(--toolbarButton-secondaryToolbarToggle-icon); | |
| 5230 | + mask-image:var(--toolbarButton-secondaryToolbarToggle-icon); | |
| 5231 | + transform:scaleX(var(--dir-factor)); | |
| 5232 | +} | |
| 5233 | + | |
| 5234 | +#previous::before{ | |
| 5235 | + -webkit-mask-image:var(--toolbarButton-pageUp-icon); | |
| 5236 | + mask-image:var(--toolbarButton-pageUp-icon); | |
| 5237 | +} | |
| 5238 | + | |
| 5239 | +#next::before{ | |
| 5240 | + -webkit-mask-image:var(--toolbarButton-pageDown-icon); | |
| 5241 | + mask-image:var(--toolbarButton-pageDown-icon); | |
| 5242 | +} | |
| 5243 | + | |
| 5244 | +#zoomOutButton::before{ | |
| 5245 | + -webkit-mask-image:var(--toolbarButton-zoomOut-icon); | |
| 5246 | + mask-image:var(--toolbarButton-zoomOut-icon); | |
| 5247 | +} | |
| 5248 | + | |
| 5249 | +#zoomInButton::before{ | |
| 5250 | + -webkit-mask-image:var(--toolbarButton-zoomIn-icon); | |
| 5251 | + mask-image:var(--toolbarButton-zoomIn-icon); | |
| 5252 | +} | |
| 5253 | + | |
| 5254 | +#editorFreeTextButton::before{ | |
| 5255 | + -webkit-mask-image:var(--toolbarButton-editorFreeText-icon); | |
| 5256 | + mask-image:var(--toolbarButton-editorFreeText-icon); | |
| 5257 | +} | |
| 5258 | + | |
| 5259 | +#editorHighlightButton::before{ | |
| 5260 | + -webkit-mask-image:var(--toolbarButton-editorHighlight-icon); | |
| 5261 | + mask-image:var(--toolbarButton-editorHighlight-icon); | |
| 5262 | +} | |
| 5263 | + | |
| 5264 | +#editorInkButton::before{ | |
| 5265 | + -webkit-mask-image:var(--toolbarButton-editorInk-icon); | |
| 5266 | + mask-image:var(--toolbarButton-editorInk-icon); | |
| 5267 | +} | |
| 5268 | + | |
| 5269 | +#editorStampButton::before{ | |
| 5270 | + -webkit-mask-image:var(--toolbarButton-editorStamp-icon); | |
| 5271 | + mask-image:var(--toolbarButton-editorStamp-icon); | |
| 5272 | +} | |
| 5273 | + | |
| 5274 | +#editorSignatureButton::before{ | |
| 5275 | + -webkit-mask-image:var(--toolbarButton-editorSignature-icon); | |
| 5276 | + mask-image:var(--toolbarButton-editorSignature-icon); | |
| 5277 | +} | |
| 5278 | + | |
| 5279 | +#printButton::before{ | |
| 5280 | + -webkit-mask-image:var(--toolbarButton-print-icon); | |
| 5281 | + mask-image:var(--toolbarButton-print-icon); | |
| 5282 | +} | |
| 5283 | + | |
| 5284 | +#downloadButton::before{ | |
| 5285 | + -webkit-mask-image:var(--toolbarButton-download-icon); | |
| 5286 | + mask-image:var(--toolbarButton-download-icon); | |
| 5287 | +} | |
| 5288 | + | |
| 5289 | +#currentOutlineItem::before{ | |
| 5290 | + -webkit-mask-image:var(--toolbarButton-currentOutlineItem-icon); | |
| 5291 | + mask-image:var(--toolbarButton-currentOutlineItem-icon); | |
| 5292 | + transform:scaleX(var(--dir-factor)); | |
| 5293 | +} | |
| 5294 | + | |
| 5295 | +#viewFindButton::before{ | |
| 5296 | + -webkit-mask-image:var(--toolbarButton-search-icon); | |
| 5297 | + mask-image:var(--toolbarButton-search-icon); | |
| 5298 | +} | |
| 5299 | + | |
| 5300 | +.pdfSidebarNotification::after{ | |
| 5301 | + position:absolute; | |
| 5302 | + display:inline-block; | |
| 5303 | + top:2px; | |
| 5304 | + inset-inline-end:2px; | |
| 5305 | + content:""; | |
| 5306 | + background-color:rgb(112 219 85); | |
| 5307 | + height:9px; | |
| 5308 | + width:9px; | |
| 5309 | + border-radius:50%; | |
| 5310 | +} | |
| 5311 | + | |
| 5312 | +.verticalToolbarSeparator{ | |
| 5313 | + display:block; | |
| 5314 | + margin-inline:2px; | |
| 5315 | + width:0; | |
| 5316 | + height:80%; | |
| 5317 | + border-left:1px solid var(--separator-color); | |
| 5318 | + border-right:none; | |
| 5319 | + box-sizing:border-box; | |
| 5320 | +} | |
| 5321 | + | |
| 5322 | +.horizontalToolbarSeparator{ | |
| 5323 | + display:block; | |
| 5324 | + margin:6px 0; | |
| 5325 | + border-top:1px solid var(--doorhanger-separator-color); | |
| 5326 | + border-bottom:none; | |
| 5327 | + height:0; | |
| 5328 | + width:100%; | |
| 5329 | +} | |
| 5330 | + | |
| 5331 | +.toggleButton{ | |
| 5332 | + display:inline; | |
| 5333 | +} | |
| 5334 | + | |
| 5335 | +.toggleButton:has( > input:checked){ | |
| 5336 | + color:var(--toggled-btn-color); | |
| 5337 | + background-color:var(--toggled-btn-bg-color); | |
| 5338 | +} | |
| 5339 | + | |
| 5340 | +.toggleButton:is(:hover,:has( > input:focus-visible)){ | |
| 5341 | + color:var(--toggled-btn-color); | |
| 5342 | + background-color:var(--button-hover-color); | |
| 5343 | +} | |
| 5344 | + | |
| 5345 | +.toggleButton > input{ | |
| 5346 | + position:absolute; | |
| 5347 | + top:50%; | |
| 5348 | + left:50%; | |
| 5349 | + opacity:0; | |
| 5350 | + width:0; | |
| 5351 | + height:0; | |
| 5352 | +} | |
| 5353 | + | |
| 5354 | +.toolbarField{ | |
| 5355 | + padding:4px 7px; | |
| 5356 | + margin:3px 0; | |
| 5357 | + border-radius:2px; | |
| 5358 | + background-color:var(--field-bg-color); | |
| 5359 | + background-clip:padding-box; | |
| 5360 | + border:1px solid var(--field-border-color); | |
| 5361 | + box-shadow:none; | |
| 5362 | + color:var(--field-color); | |
| 5363 | + font-size:12px; | |
| 5364 | + line-height:16px; | |
| 5365 | + outline:none; | |
| 5366 | +} | |
| 5367 | + | |
| 5368 | +.toolbarField:focus{ | |
| 5369 | + border-color:#0a84ff; | |
| 5370 | +} | |
| 5371 | + | |
| 5372 | +#pageNumber{ | |
| 5373 | + -moz-appearance:textfield; | |
| 5374 | + text-align:end; | |
| 5375 | + width:40px; | |
| 5376 | + background-size:0 0; | |
| 5377 | + transition-property:none; | |
| 5378 | +} | |
| 5379 | + | |
| 5380 | +#pageNumber::-webkit-inner-spin-button{ | |
| 5381 | + -webkit-appearance:none; | |
| 5382 | +} | |
| 5383 | + | |
| 5384 | +.loadingInput:has( > .loading:is(#pageNumber))::after{ | |
| 5385 | + display:inline; | |
| 5386 | + visibility:visible; | |
| 5387 | + | |
| 5388 | + transition-property:visibility; | |
| 5389 | + transition-delay:var(--loading-icon-delay); | |
| 5390 | +} | |
| 5391 | + | |
| 5392 | +.loadingInput{ | |
| 5393 | + position:relative; | |
| 5394 | +} | |
| 5395 | + | |
| 5396 | +.loadingInput::after{ | |
| 5397 | + position:absolute; | |
| 5398 | + visibility:hidden; | |
| 5399 | + display:none; | |
| 5400 | + width:var(--icon-size); | |
| 5401 | + height:var(--icon-size); | |
| 5402 | + | |
| 5403 | + content:""; | |
| 5404 | + background-color:var(--toolbar-icon-bg-color); | |
| 5405 | + -webkit-mask-size:cover; | |
| 5406 | + mask-size:cover; | |
| 5407 | + -webkit-mask-image:var(--loading-icon); | |
| 5408 | + mask-image:var(--loading-icon); | |
| 5409 | +} | |
| 5410 | + | |
| 5411 | +.loadingInput.start::after{ | |
| 5412 | + inset-inline-start:4px; | |
| 5413 | +} | |
| 5414 | + | |
| 5415 | +.loadingInput.end::after{ | |
| 5416 | + inset-inline-end:4px; | |
| 5417 | +} | |
| 5418 | + | |
| 5419 | +#thumbnailView, | |
| 1464 | 5420 | #outlineView, |
| 1465 | -#attachmentsView { | |
| 1466 | - position: absolute; | |
| 1467 | - width: 192px; | |
| 1468 | - top: 0; | |
| 1469 | - bottom: 0; | |
| 1470 | - overflow: auto; | |
| 1471 | - -webkit-overflow-scrolling: touch; | |
| 1472 | - -webkit-user-select: none; | |
| 1473 | - -moz-user-select: none; | |
| 5421 | +#attachmentsView, | |
| 5422 | +#layersView{ | |
| 5423 | + position:absolute; | |
| 5424 | + width:calc(100% - 8px); | |
| 5425 | + inset-block:0; | |
| 5426 | + padding:4px 4px 0; | |
| 5427 | + overflow:auto; | |
| 5428 | + -webkit-user-select:none; | |
| 5429 | + -moz-user-select:none; | |
| 5430 | + user-select:none; | |
| 1474 | 5431 | } |
| 1475 | 5432 | |
| 1476 | -#outlineView { | |
| 1477 | - padding: 4px 4px 0; | |
| 5433 | +#thumbnailView{ | |
| 5434 | + width:calc(100% - 60px); | |
| 5435 | + padding:10px 30px 0; | |
| 1478 | 5436 | } |
| 1479 | -#attachmentsView { | |
| 1480 | - padding: 3px 4px 0; | |
| 5437 | + | |
| 5438 | +#thumbnailView > a:is(:active, :focus){ | |
| 5439 | + outline:0; | |
| 1481 | 5440 | } |
| 1482 | 5441 | |
| 1483 | -html[dir='ltr'] .outlineWithDeepNesting > .outlineItem, | |
| 1484 | -html[dir='ltr'] .outlineItem > .outlineItems { | |
| 1485 | - margin-left: 20px; | |
| 5442 | +.thumbnail{ | |
| 5443 | + --thumbnail-width:0; | |
| 5444 | + --thumbnail-height:0; | |
| 5445 | + | |
| 5446 | + float:var(--inline-start); | |
| 5447 | + width:var(--thumbnail-width); | |
| 5448 | + height:var(--thumbnail-height); | |
| 5449 | + margin:0 10px 5px; | |
| 5450 | + padding:1px; | |
| 5451 | + border:7px solid transparent; | |
| 5452 | + border-radius:2px; | |
| 1486 | 5453 | } |
| 1487 | 5454 | |
| 1488 | -html[dir='rtl'] .outlineWithDeepNesting > .outlineItem, | |
| 1489 | -html[dir='rtl'] .outlineItem > .outlineItems { | |
| 1490 | - margin-right: 20px; | |
| 5455 | +#thumbnailView > a:last-of-type > .thumbnail{ | |
| 5456 | + margin-bottom:10px; | |
| 1491 | 5457 | } |
| 1492 | 5458 | |
| 1493 | -.outlineItem > a, | |
| 1494 | -.attachmentsItem > button { | |
| 1495 | - text-decoration: none; | |
| 1496 | - display: inline-block; | |
| 1497 | - min-width: 95%; | |
| 1498 | - min-width: calc(100% - 4px); /* Subtract the right padding (left, in RTL mode) | |
| 1499 | - of the container. */ | |
| 1500 | - height: auto; | |
| 1501 | - margin-bottom: 1px; | |
| 1502 | - border-radius: 2px; | |
| 1503 | - color: hsla(0,0%,100%,.8); | |
| 1504 | - font-size: 13px; | |
| 1505 | - line-height: 15px; | |
| 1506 | - -moz-user-select: none; | |
| 1507 | - white-space: normal; | |
| 5459 | +a:focus > .thumbnail, | |
| 5460 | +.thumbnail:hover{ | |
| 5461 | + border-color:var(--thumbnail-hover-color); | |
| 1508 | 5462 | } |
| 1509 | 5463 | |
| 1510 | -.attachmentsItem > button { | |
| 1511 | - border: 0 none; | |
| 1512 | - background: none; | |
| 1513 | - cursor: pointer; | |
| 1514 | - width: 100%; | |
| 5464 | +.thumbnail.selected{ | |
| 5465 | + border-color:var(--thumbnail-selected-color) !important; | |
| 1515 | 5466 | } |
| 1516 | 5467 | |
| 1517 | -html[dir='ltr'] .outlineItem > a { | |
| 1518 | - padding: 2px 0 5px 4px; | |
| 5468 | +.thumbnailImage{ | |
| 5469 | + width:var(--thumbnail-width); | |
| 5470 | + height:var(--thumbnail-height); | |
| 5471 | + opacity:0.9; | |
| 1519 | 5472 | } |
| 1520 | -html[dir='ltr'] .attachmentsItem > button { | |
| 1521 | - padding: 2px 0 3px 7px; | |
| 1522 | - text-align: left; | |
| 5473 | + | |
| 5474 | +a:focus > .thumbnail > .thumbnailImage, | |
| 5475 | +.thumbnail:hover > .thumbnailImage{ | |
| 5476 | + opacity:0.95; | |
| 1523 | 5477 | } |
| 1524 | 5478 | |
| 1525 | -html[dir='rtl'] .outlineItem > a { | |
| 1526 | - padding: 2px 4px 5px 0; | |
| 5479 | +.thumbnail.selected > .thumbnailImage{ | |
| 5480 | + opacity:1 !important; | |
| 1527 | 5481 | } |
| 1528 | -html[dir='rtl'] .attachmentsItem > button { | |
| 1529 | - padding: 2px 7px 3px 0; | |
| 1530 | - text-align: right; | |
| 5482 | + | |
| 5483 | +.thumbnail:not([data-loaded]) > .thumbnailImage{ | |
| 5484 | + width:calc(var(--thumbnail-width) - 2px); | |
| 5485 | + height:calc(var(--thumbnail-height) - 2px); | |
| 5486 | + border:1px dashed rgb(132 132 132); | |
| 1531 | 5487 | } |
| 1532 | 5488 | |
| 1533 | -.outlineItemToggler { | |
| 1534 | - position: relative; | |
| 1535 | - height: 0; | |
| 1536 | - width: 0; | |
| 1537 | - color: hsla(0,0%,100%,.5); | |
| 5489 | +.treeWithDeepNesting > .treeItem, | |
| 5490 | +.treeItem > .treeItems{ | |
| 5491 | + margin-inline-start:20px; | |
| 1538 | 5492 | } |
| 1539 | -.outlineItemToggler::before { | |
| 1540 | - content: url(images/treeitem-expanded.png); | |
| 1541 | - display: inline-block; | |
| 1542 | - position: absolute; | |
| 5493 | + | |
| 5494 | +.treeItem > a{ | |
| 5495 | + text-decoration:none; | |
| 5496 | + display:inline-block; | |
| 5497 | + min-width:calc(100% - 4px); | |
| 5498 | + height:auto; | |
| 5499 | + margin-bottom:1px; | |
| 5500 | + padding:2px 0 5px; | |
| 5501 | + padding-inline-start:4px; | |
| 5502 | + border-radius:2px; | |
| 5503 | + color:var(--treeitem-color); | |
| 5504 | + font-size:13px; | |
| 5505 | + line-height:15px; | |
| 5506 | + -webkit-user-select:none; | |
| 5507 | + -moz-user-select:none; | |
| 5508 | + user-select:none; | |
| 5509 | + white-space:normal; | |
| 5510 | + cursor:pointer; | |
| 1543 | 5511 | } |
| 1544 | -html[dir='ltr'] .outlineItemToggler.outlineItemsHidden::before { | |
| 1545 | - content: url(images/treeitem-collapsed.png); | |
| 5512 | + | |
| 5513 | +#layersView .treeItem > a *{ | |
| 5514 | + cursor:pointer; | |
| 1546 | 5515 | } |
| 1547 | -html[dir='rtl'] .outlineItemToggler.outlineItemsHidden::before { | |
| 1548 | - content: url(images/treeitem-collapsed-rtl.png); | |
| 5516 | + | |
| 5517 | +#layersView .treeItem > a > label{ | |
| 5518 | + padding-inline-start:4px; | |
| 1549 | 5519 | } |
| 1550 | -.outlineItemToggler.outlineItemsHidden ~ .outlineItems { | |
| 1551 | - display: none; | |
| 5520 | + | |
| 5521 | +#layersView .treeItem > a > label > input{ | |
| 5522 | + float:var(--inline-start); | |
| 5523 | + margin-top:1px; | |
| 1552 | 5524 | } |
| 1553 | -html[dir='ltr'] .outlineItemToggler { | |
| 1554 | - float: left; | |
| 5525 | + | |
| 5526 | +.treeItemToggler{ | |
| 5527 | + position:relative; | |
| 5528 | + float:var(--inline-start); | |
| 5529 | + height:0; | |
| 5530 | + width:0; | |
| 5531 | + color:rgb(255 255 255 / 0.5); | |
| 1555 | 5532 | } |
| 1556 | -html[dir='rtl'] .outlineItemToggler { | |
| 1557 | - float: right; | |
| 5533 | + | |
| 5534 | +.treeItemToggler::before{ | |
| 5535 | + inset-inline-end:4px; | |
| 5536 | + -webkit-mask-image:var(--treeitem-expanded-icon); | |
| 5537 | + mask-image:var(--treeitem-expanded-icon); | |
| 1558 | 5538 | } |
| 1559 | -html[dir='ltr'] .outlineItemToggler::before { | |
| 1560 | - right: 4px; | |
| 5539 | + | |
| 5540 | +.treeItemToggler.treeItemsHidden::before{ | |
| 5541 | + -webkit-mask-image:var(--treeitem-collapsed-icon); | |
| 5542 | + mask-image:var(--treeitem-collapsed-icon); | |
| 5543 | + transform:scaleX(var(--dir-factor)); | |
| 1561 | 5544 | } |
| 1562 | -html[dir='rtl'] .outlineItemToggler::before { | |
| 1563 | - left: 4px; | |
| 5545 | + | |
| 5546 | +.treeItemToggler.treeItemsHidden ~ .treeItems{ | |
| 5547 | + display:none; | |
| 1564 | 5548 | } |
| 1565 | 5549 | |
| 1566 | -.outlineItemToggler:hover, | |
| 1567 | -.outlineItemToggler:hover + a, | |
| 1568 | -.outlineItemToggler:hover ~ .outlineItems, | |
| 1569 | -.outlineItem > a:hover, | |
| 1570 | -.attachmentsItem > button:hover { | |
| 1571 | - background-color: hsla(0,0%,100%,.02); | |
| 1572 | - background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0)); | |
| 1573 | - background-clip: padding-box; | |
| 1574 | - box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset, | |
| 1575 | - 0 0 1px hsla(0,0%,100%,.2) inset, | |
| 1576 | - 0 0 1px hsla(0,0%,0%,.2); | |
| 1577 | - border-radius: 2px; | |
| 1578 | - color: hsla(0,0%,100%,.9); | |
| 5550 | +.treeItem.selected > a{ | |
| 5551 | + background-color:var(--treeitem-selected-bg-color); | |
| 5552 | + color:var(--treeitem-selected-color); | |
| 1579 | 5553 | } |
| 1580 | 5554 | |
| 1581 | -.outlineItem.selected { | |
| 1582 | - background-color: hsla(0,0%,100%,.08); | |
| 1583 | - background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0)); | |
| 1584 | - background-clip: padding-box; | |
| 1585 | - box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset, | |
| 1586 | - 0 0 1px hsla(0,0%,100%,.1) inset, | |
| 1587 | - 0 0 1px hsla(0,0%,0%,.2); | |
| 1588 | - color: hsla(0,0%,100%,1); | |
| 5555 | +.treeItemToggler:hover, | |
| 5556 | +.treeItemToggler:hover + a, | |
| 5557 | +.treeItemToggler:hover ~ .treeItems, | |
| 5558 | +.treeItem > a:hover{ | |
| 5559 | + background-color:var(--treeitem-bg-color); | |
| 5560 | + background-clip:padding-box; | |
| 5561 | + border-radius:2px; | |
| 5562 | + color:var(--treeitem-hover-color); | |
| 1589 | 5563 | } |
| 1590 | 5564 | |
| 1591 | -.noResults { | |
| 1592 | - font-size: 12px; | |
| 1593 | - color: hsla(0,0%,100%,.8); | |
| 1594 | - font-style: italic; | |
| 1595 | - cursor: default; | |
| 5565 | +#outlineOptionsContainer{ | |
| 5566 | + display:none; | |
| 1596 | 5567 | } |
| 1597 | 5568 | |
| 1598 | -/* TODO: file FF bug to support ::-moz-selection:window-inactive | |
| 1599 | - so we can override the opaque grey background when the window is inactive; | |
| 1600 | - see https://bugzilla.mozilla.org/show_bug.cgi?id=706209 */ | |
| 1601 | -::selection { background: rgba(0,0,255,0.3); } | |
| 1602 | -::-moz-selection { background: rgba(0,0,255,0.3); } | |
| 5569 | +#sidebarContainer:has(#outlineView:not(.hidden)) #outlineOptionsContainer{ | |
| 5570 | + display:inline flex; | |
| 5571 | +} | |
| 1603 | 5572 | |
| 1604 | -#errorWrapper { | |
| 1605 | - background: none repeat scroll 0 0 #FF5555; | |
| 1606 | - color: white; | |
| 1607 | - left: 0; | |
| 1608 | - position: absolute; | |
| 1609 | - right: 0; | |
| 1610 | - z-index: 1000; | |
| 1611 | - padding: 3px; | |
| 1612 | - font-size: 0.8em; | |
| 5573 | +.dialogButton{ | |
| 5574 | + width:auto; | |
| 5575 | + margin:3px 4px 2px !important; | |
| 5576 | + padding:2px 11px; | |
| 5577 | + color:var(--main-color); | |
| 5578 | + background-color:var(--dialog-button-bg-color); | |
| 5579 | + border:var(--dialog-button-border) !important; | |
| 1613 | 5580 | } |
| 1614 | -.loadingInProgress #errorWrapper { | |
| 1615 | - top: 37px; | |
| 5581 | + | |
| 5582 | +dialog{ | |
| 5583 | + margin:auto; | |
| 5584 | + padding:15px; | |
| 5585 | + border-spacing:4px; | |
| 5586 | + color:var(--main-color); | |
| 5587 | + font:message-box; | |
| 5588 | + font-size:12px; | |
| 5589 | + line-height:14px; | |
| 5590 | + background-color:var(--doorhanger-bg-color); | |
| 5591 | + border:1px solid rgb(0 0 0 / 0.5); | |
| 5592 | + border-radius:4px; | |
| 5593 | + box-shadow:0 1px 4px rgb(0 0 0 / 0.3); | |
| 1616 | 5594 | } |
| 1617 | 5595 | |
| 1618 | -#errorMessageLeft { | |
| 1619 | - float: left; | |
| 5596 | +dialog::backdrop{ | |
| 5597 | + background-color:rgb(0 0 0 / 0.2); | |
| 1620 | 5598 | } |
| 1621 | 5599 | |
| 1622 | -#errorMessageRight { | |
| 1623 | - float: right; | |
| 5600 | +dialog > .row{ | |
| 5601 | + display:table-row; | |
| 1624 | 5602 | } |
| 1625 | 5603 | |
| 1626 | -#errorMoreInfo { | |
| 1627 | - background-color: #FFFFFF; | |
| 1628 | - color: black; | |
| 1629 | - padding: 3px; | |
| 1630 | - margin: 3px; | |
| 1631 | - width: 98%; | |
| 5604 | +dialog > .row > *{ | |
| 5605 | + display:table-cell; | |
| 1632 | 5606 | } |
| 1633 | 5607 | |
| 1634 | -.overlayButton { | |
| 1635 | - width: auto; | |
| 1636 | - margin: 3px 4px 2px 4px !important; | |
| 1637 | - padding: 2px 6px 3px 6px; | |
| 5608 | +dialog .toolbarField{ | |
| 5609 | + margin:5px 0; | |
| 1638 | 5610 | } |
| 1639 | 5611 | |
| 1640 | -#overlayContainer { | |
| 1641 | - display: table; | |
| 1642 | - position: absolute; | |
| 1643 | - width: 100%; | |
| 1644 | - height: 100%; | |
| 1645 | - background-color: hsla(0,0%,0%,.2); | |
| 1646 | - z-index: 40000; | |
| 5612 | +dialog .separator{ | |
| 5613 | + display:block; | |
| 5614 | + margin:4px 0; | |
| 5615 | + height:0; | |
| 5616 | + width:100%; | |
| 5617 | + border-top:1px solid var(--separator-color); | |
| 5618 | + border-bottom:none; | |
| 1647 | 5619 | } |
| 1648 | -#overlayContainer > * { | |
| 1649 | - overflow: auto; | |
| 1650 | - -webkit-overflow-scrolling: touch; | |
| 5620 | + | |
| 5621 | +dialog .buttonRow{ | |
| 5622 | + text-align:center; | |
| 5623 | + vertical-align:middle; | |
| 1651 | 5624 | } |
| 1652 | 5625 | |
| 1653 | -#overlayContainer > .container { | |
| 1654 | - display: table-cell; | |
| 1655 | - vertical-align: middle; | |
| 1656 | - text-align: center; | |
| 5626 | +dialog :link{ | |
| 5627 | + color:rgb(255 255 255); | |
| 1657 | 5628 | } |
| 1658 | 5629 | |
| 1659 | -#overlayContainer > .container > .dialog { | |
| 1660 | - display: inline-block; | |
| 1661 | - padding: 15px; | |
| 1662 | - border-spacing: 4px; | |
| 1663 | - color: hsl(0,0%,85%); | |
| 1664 | - font-size: 12px; | |
| 1665 | - line-height: 14px; | |
| 1666 | - background-color: #474747; /* fallback */ | |
| 1667 | - background-image: url(images/texture.png), | |
| 1668 | - linear-gradient(hsla(0,0%,32%,.99), hsla(0,0%,27%,.95)); | |
| 1669 | - box-shadow: inset 1px 0 0 hsla(0,0%,100%,.08), | |
| 1670 | - inset 0 1px 1px hsla(0,0%,0%,.15), | |
| 1671 | - inset 0 -1px 0 hsla(0,0%,100%,.05), | |
| 1672 | - 0 1px 0 hsla(0,0%,0%,.15), | |
| 1673 | - 0 1px 1px hsla(0,0%,0%,.1); | |
| 1674 | - border: 1px solid hsla(0,0%,0%,.5); | |
| 1675 | - border-radius: 4px; | |
| 1676 | - box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3); | |
| 5630 | +#passwordDialog{ | |
| 5631 | + text-align:center; | |
| 1677 | 5632 | } |
| 1678 | 5633 | |
| 1679 | -.dialog > .row { | |
| 1680 | - display: table-row; | |
| 5634 | +#passwordDialog .toolbarField{ | |
| 5635 | + width:200px; | |
| 1681 | 5636 | } |
| 1682 | 5637 | |
| 1683 | -.dialog > .row > * { | |
| 1684 | - display: table-cell; | |
| 5638 | +#documentPropertiesDialog{ | |
| 5639 | + text-align:left; | |
| 1685 | 5640 | } |
| 1686 | 5641 | |
| 1687 | -.dialog .toolbarField { | |
| 1688 | - margin: 5px 0; | |
| 5642 | +#documentPropertiesDialog .row > *{ | |
| 5643 | + min-width:100px; | |
| 5644 | + text-align:start; | |
| 1689 | 5645 | } |
| 1690 | 5646 | |
| 1691 | -.dialog .separator { | |
| 1692 | - display: block; | |
| 1693 | - margin: 4px 0 4px 0; | |
| 1694 | - height: 1px; | |
| 1695 | - width: 100%; | |
| 1696 | - background-color: hsla(0,0%,0%,.5); | |
| 1697 | - box-shadow: 0 0 0 1px hsla(0,0%,100%,.08); | |
| 5647 | +#documentPropertiesDialog .row > span{ | |
| 5648 | + width:125px; | |
| 5649 | + word-wrap:break-word; | |
| 1698 | 5650 | } |
| 1699 | 5651 | |
| 1700 | -.dialog .buttonRow { | |
| 1701 | - text-align: center; | |
| 1702 | - vertical-align: middle; | |
| 5652 | +#documentPropertiesDialog .row > p{ | |
| 5653 | + max-width:225px; | |
| 5654 | + word-wrap:break-word; | |
| 1703 | 5655 | } |
| 1704 | 5656 | |
| 1705 | -.dialog :link { | |
| 1706 | - color: white; | |
| 5657 | +#documentPropertiesDialog .buttonRow{ | |
| 5658 | + margin-top:10px; | |
| 1707 | 5659 | } |
| 1708 | 5660 | |
| 1709 | -#passwordOverlay > .dialog { | |
| 1710 | - text-align: center; | |
| 5661 | +.grab-to-pan-grab{ | |
| 5662 | + cursor:grab !important; | |
| 1711 | 5663 | } |
| 1712 | -#passwordOverlay .toolbarField { | |
| 1713 | - width: 200px; | |
| 5664 | + | |
| 5665 | +.grab-to-pan-grab | |
| 5666 | +*:not(input):not(textarea):not(button):not(select):not(:link){ | |
| 5667 | + cursor:inherit !important; | |
| 1714 | 5668 | } |
| 1715 | 5669 | |
| 1716 | -#documentPropertiesOverlay > .dialog { | |
| 1717 | - text-align: left; | |
| 5670 | +.grab-to-pan-grab:active, | |
| 5671 | +.grab-to-pan-grabbing{ | |
| 5672 | + cursor:grabbing !important; | |
| 1718 | 5673 | } |
| 1719 | -#documentPropertiesOverlay .row > * { | |
| 1720 | - min-width: 100px; | |
| 5674 | + | |
| 5675 | +.grab-to-pan-grabbing{ | |
| 5676 | + position:fixed; | |
| 5677 | + background:rgb(0 0 0 / 0); | |
| 5678 | + display:block; | |
| 5679 | + inset:0; | |
| 5680 | + overflow:hidden; | |
| 5681 | + z-index:50000; | |
| 1721 | 5682 | } |
| 1722 | -html[dir='ltr'] #documentPropertiesOverlay .row > * { | |
| 1723 | - text-align: left; | |
| 5683 | + | |
| 5684 | +.toolbarButton{ | |
| 5685 | + height:100%; | |
| 5686 | + aspect-ratio:1; | |
| 5687 | + display:flex; | |
| 5688 | + align-items:center; | |
| 5689 | + justify-content:center; | |
| 5690 | + background:none; | |
| 5691 | + border:none; | |
| 5692 | + color:var(--main-color); | |
| 5693 | + outline:none; | |
| 5694 | + border-radius:2px; | |
| 5695 | + box-sizing:border-box; | |
| 5696 | + font:message-box; | |
| 5697 | + flex:none; | |
| 5698 | + position:relative; | |
| 5699 | + padding:0; | |
| 1724 | 5700 | } |
| 1725 | -html[dir='rtl'] #documentPropertiesOverlay .row > * { | |
| 1726 | - text-align: right; | |
| 5701 | + | |
| 5702 | +.toolbarButton > span{ | |
| 5703 | + display:inline-block; | |
| 5704 | + width:0; | |
| 5705 | + height:0; | |
| 5706 | + overflow:hidden; | |
| 1727 | 5707 | } |
| 1728 | -#documentPropertiesOverlay .row > span { | |
| 1729 | - width: 125px; | |
| 1730 | - word-wrap: break-word; | |
| 5708 | + | |
| 5709 | +.toolbarButton::before{ | |
| 5710 | + opacity:var(--toolbar-icon-opacity); | |
| 5711 | + display:inline-block; | |
| 5712 | + width:var(--icon-size); | |
| 5713 | + height:var(--icon-size); | |
| 5714 | + content:""; | |
| 5715 | + background-color:var(--toolbar-icon-bg-color); | |
| 5716 | + -webkit-mask-size:cover; | |
| 5717 | + mask-size:cover; | |
| 5718 | + -webkit-mask-position:center; | |
| 5719 | + mask-position:center; | |
| 1731 | 5720 | } |
| 1732 | -#documentPropertiesOverlay .row > p { | |
| 1733 | - max-width: 225px; | |
| 1734 | - word-wrap: break-word; | |
| 5721 | + | |
| 5722 | +.toolbarButton.toggled{ | |
| 5723 | + background-color:var(--toggled-btn-bg-color); | |
| 5724 | + color:var(--toggled-btn-color); | |
| 1735 | 5725 | } |
| 1736 | -#documentPropertiesOverlay .buttonRow { | |
| 1737 | - margin-top: 10px; | |
| 5726 | + | |
| 5727 | +.toolbarButton.toggled::before{ | |
| 5728 | + background-color:var(--toggled-btn-color); | |
| 1738 | 5729 | } |
| 1739 | 5730 | |
| 1740 | -.clearBoth { | |
| 1741 | - clear: both; | |
| 5731 | +.toolbarButton.toggled:hover{ | |
| 5732 | + outline:var(--toggled-hover-btn-outline) !important; | |
| 1742 | 5733 | } |
| 1743 | 5734 | |
| 1744 | -.fileInput { | |
| 1745 | - background: white; | |
| 1746 | - color: black; | |
| 1747 | - margin-top: 5px; | |
| 1748 | - visibility: hidden; | |
| 1749 | - position: fixed; | |
| 1750 | - right: 0; | |
| 1751 | - top: 0; | |
| 5735 | +.toolbarButton.toggled:hover:active{ | |
| 5736 | + background-color:var(--toggled-hover-active-btn-color); | |
| 1752 | 5737 | } |
| 1753 | 5738 | |
| 1754 | -#PDFBug { | |
| 1755 | - background: none repeat scroll 0 0 white; | |
| 1756 | - border: 1px solid #666666; | |
| 1757 | - position: fixed; | |
| 1758 | - top: 32px; | |
| 1759 | - right: 0; | |
| 1760 | - bottom: 0; | |
| 1761 | - font-size: 10px; | |
| 1762 | - padding: 0; | |
| 1763 | - width: 300px; | |
| 5739 | +.toolbarButton:is(:hover,:focus-visible){ | |
| 5740 | + background-color:var(--button-hover-color); | |
| 1764 | 5741 | } |
| 1765 | -#PDFBug .controls { | |
| 1766 | - background:#EEEEEE; | |
| 1767 | - border-bottom: 1px solid #666666; | |
| 1768 | - padding: 3px; | |
| 5742 | + | |
| 5743 | +.toolbarButton:is(:hover,:focus-visible)::before{ | |
| 5744 | + background-color:var(--toolbar-icon-hover-bg-color); | |
| 1769 | 5745 | } |
| 1770 | -#PDFBug .panels { | |
| 1771 | - bottom: 0; | |
| 1772 | - left: 0; | |
| 1773 | - overflow: auto; | |
| 1774 | - -webkit-overflow-scrolling: touch; | |
| 1775 | - position: absolute; | |
| 1776 | - right: 0; | |
| 1777 | - top: 27px; | |
| 5746 | + | |
| 5747 | +.toolbarButton:is([disabled="disabled"],[disabled]){ | |
| 5748 | + opacity:0.5; | |
| 5749 | + pointer-events:none; | |
| 1778 | 5750 | } |
| 1779 | -#PDFBug button.active { | |
| 1780 | - font-weight: bold; | |
| 5751 | + | |
| 5752 | +.toolbarButton.labeled{ | |
| 5753 | + width:100%; | |
| 5754 | + min-height:var(--menuitem-height); | |
| 5755 | + justify-content:flex-start; | |
| 5756 | + gap:8px; | |
| 5757 | + padding-inline-start:12px; | |
| 5758 | + aspect-ratio:unset; | |
| 5759 | + text-align:start; | |
| 5760 | + white-space:normal; | |
| 5761 | + cursor:default; | |
| 1781 | 5762 | } |
| 1782 | -.debuggerShowText { | |
| 1783 | - background: none repeat scroll 0 0 yellow; | |
| 1784 | - color: blue; | |
| 5763 | + | |
| 5764 | +.toolbarButton.labeled:is(a){ | |
| 5765 | + text-decoration:none; | |
| 1785 | 5766 | } |
| 1786 | -.debuggerHideText:hover { | |
| 1787 | - background: none repeat scroll 0 0 yellow; | |
| 5767 | + | |
| 5768 | +.toolbarButton.labeled[href="#"]:is(a){ | |
| 5769 | + opacity:0.5; | |
| 5770 | + pointer-events:none; | |
| 1788 | 5771 | } |
| 1789 | -#PDFBug .stats { | |
| 1790 | - font-family: courier; | |
| 1791 | - font-size: 10px; | |
| 1792 | - white-space: pre; | |
| 5772 | + | |
| 5773 | +.toolbarButton.labeled::before{ | |
| 5774 | + opacity:var(--doorhanger-icon-opacity); | |
| 1793 | 5775 | } |
| 1794 | -#PDFBug .stats .title { | |
| 1795 | - font-weight: bold; | |
| 5776 | + | |
| 5777 | +.toolbarButton.labeled:is(:hover,:focus-visible){ | |
| 5778 | + color:var(--doorhanger-hover-color); | |
| 1796 | 5779 | } |
| 1797 | -#PDFBug table { | |
| 1798 | - font-size: 10px; | |
| 5780 | + | |
| 5781 | +.toolbarButton.labeled > span{ | |
| 5782 | + display:inline-block; | |
| 5783 | + width:-moz-max-content; | |
| 5784 | + width:max-content; | |
| 5785 | + height:auto; | |
| 1799 | 5786 | } |
| 1800 | 5787 | |
| 1801 | -#viewer.textLayer-visible .textLayer { | |
| 1802 | - opacity: 1.0; | |
| 5788 | +.toolbarButtonWithContainer{ | |
| 5789 | + height:100%; | |
| 5790 | + aspect-ratio:1; | |
| 5791 | + display:inline-block; | |
| 5792 | + position:relative; | |
| 5793 | + flex:none; | |
| 1803 | 5794 | } |
| 1804 | 5795 | |
| 1805 | -#viewer.textLayer-visible .canvasWrapper { | |
| 1806 | - background-color: rgb(128,255,128); | |
| 5796 | +.toolbarButtonWithContainer > .toolbarButton{ | |
| 5797 | + width:100%; | |
| 5798 | + height:100%; | |
| 1807 | 5799 | } |
| 1808 | 5800 | |
| 1809 | -#viewer.textLayer-visible .canvasWrapper canvas { | |
| 1810 | - mix-blend-mode: screen; | |
| 5801 | +.toolbarButtonWithContainer .menu{ | |
| 5802 | + padding-block:5px; | |
| 1811 | 5803 | } |
| 1812 | 5804 | |
| 1813 | -#viewer.textLayer-visible .textLayer > div { | |
| 1814 | - background-color: rgba(255, 255, 0, 0.1); | |
| 1815 | - color: black; | |
| 1816 | - border: solid 1px rgba(255, 0, 0, 0.5); | |
| 1817 | - -webkit-box-sizing: border-box; | |
| 1818 | - -moz-box-sizing: border-box; | |
| 1819 | - box-sizing: border-box; | |
| 5805 | +.toolbarButtonWithContainer .menuContainer{ | |
| 5806 | + width:100%; | |
| 5807 | + height:auto; | |
| 5808 | + max-height:calc( | |
| 5809 | + var(--viewer-container-height) - var(--toolbar-height) - | |
| 5810 | + var(--doorhanger-height) | |
| 5811 | + ); | |
| 5812 | + display:flex; | |
| 5813 | + flex-direction:column; | |
| 5814 | + box-sizing:border-box; | |
| 5815 | + overflow-y:auto; | |
| 1820 | 5816 | } |
| 1821 | 5817 | |
| 1822 | -#viewer.textLayer-hover .textLayer > div:hover { | |
| 1823 | - background-color: white; | |
| 1824 | - color: black; | |
| 5818 | +.toolbarButtonWithContainer .editorParamsToolbar{ | |
| 5819 | + height:auto; | |
| 5820 | + width:220px; | |
| 5821 | + position:absolute; | |
| 5822 | + z-index:30000; | |
| 5823 | + cursor:default; | |
| 1825 | 5824 | } |
| 1826 | 5825 | |
| 1827 | -#viewer.textLayer-shadow .textLayer > div { | |
| 1828 | - background-color: rgba(255,255,255, .6); | |
| 1829 | - color: black; | |
| 5826 | +:is(.toolbarButtonWithContainer .editorParamsToolbar) :is(#editorStampAddImage,#editorSignatureAddSignature)::before{ | |
| 5827 | + -webkit-mask-image:var(--editorParams-stampAddImage-icon); | |
| 5828 | + mask-image:var(--editorParams-stampAddImage-icon); | |
| 1830 | 5829 | } |
| 1831 | 5830 | |
| 1832 | -.grab-to-pan-grab { | |
| 1833 | - cursor: url("images/grab.cur"), move !important; | |
| 1834 | - cursor: -webkit-grab !important; | |
| 1835 | - cursor: -moz-grab !important; | |
| 1836 | - cursor: grab !important; | |
| 5831 | +:is(.toolbarButtonWithContainer .editorParamsToolbar) .editorParamsLabel{ | |
| 5832 | + flex:none; | |
| 5833 | + font:menu; | |
| 5834 | + font-size:13px; | |
| 5835 | + font-style:normal; | |
| 5836 | + font-weight:400; | |
| 5837 | + line-height:150%; | |
| 5838 | + width:-moz-fit-content; | |
| 5839 | + width:fit-content; | |
| 5840 | + inset-inline-start:0; | |
| 5841 | + color:var(--main-color); | |
| 1837 | 5842 | } |
| 1838 | -.grab-to-pan-grab *:not(input):not(textarea):not(button):not(select):not(:link) { | |
| 1839 | - cursor: inherit !important; | |
| 5843 | + | |
| 5844 | +:is(.toolbarButtonWithContainer .editorParamsToolbar) button:is(:hover,:focus-visible) .editorParamsLabel{ | |
| 5845 | + color:var(--doorhanger-hover-color); | |
| 1840 | 5846 | } |
| 1841 | -.grab-to-pan-grab:active, | |
| 1842 | -.grab-to-pan-grabbing { | |
| 1843 | - cursor: url("images/grabbing.cur"), move !important; | |
| 1844 | - cursor: -webkit-grabbing !important; | |
| 1845 | - cursor: -moz-grabbing !important; | |
| 1846 | - cursor: grabbing !important; | |
| 1847 | 5847 | |
| 1848 | - position: fixed; | |
| 1849 | - background: transparent; | |
| 1850 | - display: block; | |
| 1851 | - top: 0; | |
| 1852 | - left: 0; | |
| 1853 | - right: 0; | |
| 1854 | - bottom: 0; | |
| 1855 | - overflow: hidden; | |
| 1856 | - z-index: 50000; /* should be higher than anything else in PDF.js! */ | |
| 5848 | +:is(.toolbarButtonWithContainer .editorParamsToolbar) .editorParamsToolbarContainer{ | |
| 5849 | + width:100%; | |
| 5850 | + height:auto; | |
| 5851 | + display:flex; | |
| 5852 | + flex-direction:column; | |
| 5853 | + box-sizing:border-box; | |
| 5854 | + padding-inline:10px; | |
| 5855 | + padding-block:10px; | |
| 1857 | 5856 | } |
| 1858 | 5857 | |
| 1859 | -@page { | |
| 1860 | - margin: 0; | |
| 5858 | +:is(:is(.toolbarButtonWithContainer .editorParamsToolbar) .editorParamsToolbarContainer) > .editorParamsSetter{ | |
| 5859 | + min-height:26px; | |
| 5860 | + display:flex; | |
| 5861 | + align-items:center; | |
| 5862 | + justify-content:space-between; | |
| 1861 | 5863 | } |
| 1862 | 5864 | |
| 1863 | -#printContainer { | |
| 1864 | - display: none; | |
| 5865 | +:is(:is(.toolbarButtonWithContainer .editorParamsToolbar) .editorParamsToolbarContainer) .editorParamsColor{ | |
| 5866 | + width:32px; | |
| 5867 | + height:32px; | |
| 5868 | + flex:none; | |
| 5869 | + padding:0; | |
| 1865 | 5870 | } |
| 1866 | 5871 | |
| 1867 | -@media screen and (min-resolution: 2dppx) { | |
| 1868 | - /* Rules for Retina screens */ | |
| 1869 | - .toolbarButton::before { | |
| 1870 | - -webkit-transform: scale(0.5); | |
| 1871 | - transform: scale(0.5); | |
| 1872 | - top: -5px; | |
| 1873 | - } | |
| 5872 | +:is(:is(.toolbarButtonWithContainer .editorParamsToolbar) .editorParamsToolbarContainer) .editorParamsSlider{ | |
| 5873 | + background-color:transparent; | |
| 5874 | + width:90px; | |
| 5875 | + flex:0 1 0; | |
| 5876 | + font:message-box; | |
| 5877 | +} | |
| 1874 | 5878 | |
| 1875 | - .secondaryToolbarButton::before { | |
| 1876 | - -webkit-transform: scale(0.5); | |
| 1877 | - transform: scale(0.5); | |
| 1878 | - top: -4px; | |
| 1879 | - } | |
| 5879 | +:is(:is(:is(.toolbarButtonWithContainer .editorParamsToolbar) .editorParamsToolbarContainer) .editorParamsSlider)::-moz-range-progress{ | |
| 5880 | + background-color:black; | |
| 5881 | +} | |
| 1880 | 5882 | |
| 1881 | - html[dir='ltr'] .toolbarButton::before, | |
| 1882 | - html[dir='rtl'] .toolbarButton::before { | |
| 1883 | - left: -1px; | |
| 1884 | - } | |
| 5883 | +:is(:is(:is(.toolbarButtonWithContainer .editorParamsToolbar) .editorParamsToolbarContainer) .editorParamsSlider)::-webkit-slider-runnable-track,:is(:is(:is(.toolbarButtonWithContainer .editorParamsToolbar) .editorParamsToolbarContainer) .editorParamsSlider)::-moz-range-track{ | |
| 5884 | + background-color:black; | |
| 5885 | +} | |
| 1885 | 5886 | |
| 1886 | - html[dir='ltr'] .secondaryToolbarButton::before { | |
| 1887 | - left: -2px; | |
| 1888 | - } | |
| 1889 | - html[dir='rtl'] .secondaryToolbarButton::before { | |
| 1890 | - left: 186px; | |
| 1891 | - } | |
| 5887 | +:is(:is(:is(.toolbarButtonWithContainer .editorParamsToolbar) .editorParamsToolbarContainer) .editorParamsSlider)::-webkit-slider-thumb,:is(:is(:is(.toolbarButtonWithContainer .editorParamsToolbar) .editorParamsToolbarContainer) .editorParamsSlider)::-moz-range-thumb{ | |
| 5888 | + background-color:white; | |
| 5889 | +} | |
| 1892 | 5890 | |
| 1893 | - .toolbarField.pageNumber.visiblePageIsLoading, | |
| 1894 | - #findInput[data-status="pending"] { | |
| 1895 | - background-image: url(images/loading-small@2x.png); | |
| 1896 | - background-size: 16px 17px; | |
| 1897 | - } | |
| 5891 | +#secondaryToolbar{ | |
| 5892 | + height:auto; | |
| 5893 | + width:220px; | |
| 5894 | + position:absolute; | |
| 5895 | + z-index:30000; | |
| 5896 | + cursor:default; | |
| 5897 | + min-height:26px; | |
| 5898 | + max-height:calc(var(--viewer-container-height) - 40px); | |
| 5899 | +} | |
| 1898 | 5900 | |
| 1899 | - .dropdownToolbarButton { | |
| 1900 | - background: url(images/toolbarButton-menuArrows@2x.png) no-repeat; | |
| 1901 | - background-size: 7px 16px; | |
| 1902 | - } | |
| 5901 | +:is(#secondaryToolbar #secondaryToolbarButtonContainer) #secondaryOpenFile::before{ | |
| 5902 | + -webkit-mask-image:var(--toolbarButton-openFile-icon); | |
| 5903 | + mask-image:var(--toolbarButton-openFile-icon); | |
| 5904 | +} | |
| 1903 | 5905 | |
| 1904 | - html[dir='ltr'] .toolbarButton#sidebarToggle::before { | |
| 1905 | - content: url(images/toolbarButton-sidebarToggle@2x.png); | |
| 1906 | - } | |
| 1907 | - html[dir='rtl'] .toolbarButton#sidebarToggle::before { | |
| 1908 | - content: url(images/toolbarButton-sidebarToggle-rtl@2x.png); | |
| 1909 | - } | |
| 5906 | +:is(#secondaryToolbar #secondaryToolbarButtonContainer) #secondaryPrint::before{ | |
| 5907 | + -webkit-mask-image:var(--toolbarButton-print-icon); | |
| 5908 | + mask-image:var(--toolbarButton-print-icon); | |
| 5909 | +} | |
| 1910 | 5910 | |
| 1911 | - html[dir='ltr'] .toolbarButton#secondaryToolbarToggle::before { | |
| 1912 | - content: url(images/toolbarButton-secondaryToolbarToggle@2x.png); | |
| 1913 | - } | |
| 1914 | - html[dir='rtl'] .toolbarButton#secondaryToolbarToggle::before { | |
| 1915 | - content: url(images/toolbarButton-secondaryToolbarToggle-rtl@2x.png); | |
| 1916 | - } | |
| 5911 | +:is(#secondaryToolbar #secondaryToolbarButtonContainer) #secondaryDownload::before{ | |
| 5912 | + -webkit-mask-image:var(--toolbarButton-download-icon); | |
| 5913 | + mask-image:var(--toolbarButton-download-icon); | |
| 5914 | +} | |
| 1917 | 5915 | |
| 1918 | - html[dir='ltr'] .toolbarButton.findPrevious::before { | |
| 1919 | - content: url(images/findbarButton-previous@2x.png); | |
| 1920 | - } | |
| 1921 | - html[dir='rtl'] .toolbarButton.findPrevious::before { | |
| 1922 | - content: url(images/findbarButton-previous-rtl@2x.png); | |
| 1923 | - } | |
| 5916 | +:is(#secondaryToolbar #secondaryToolbarButtonContainer) #presentationMode::before{ | |
| 5917 | + -webkit-mask-image:var(--toolbarButton-presentationMode-icon); | |
| 5918 | + mask-image:var(--toolbarButton-presentationMode-icon); | |
| 5919 | +} | |
| 1924 | 5920 | |
| 1925 | - html[dir='ltr'] .toolbarButton.findNext::before { | |
| 1926 | - content: url(images/findbarButton-next@2x.png); | |
| 1927 | - } | |
| 1928 | - html[dir='rtl'] .toolbarButton.findNext::before { | |
| 1929 | - content: url(images/findbarButton-next-rtl@2x.png); | |
| 1930 | - } | |
| 5921 | +:is(#secondaryToolbar #secondaryToolbarButtonContainer) #viewBookmark::before{ | |
| 5922 | + -webkit-mask-image:var(--toolbarButton-bookmark-icon); | |
| 5923 | + mask-image:var(--toolbarButton-bookmark-icon); | |
| 5924 | +} | |
| 1931 | 5925 | |
| 1932 | - html[dir='ltr'] .toolbarButton.pageUp::before { | |
| 1933 | - content: url(images/toolbarButton-pageUp@2x.png); | |
| 1934 | - } | |
| 1935 | - html[dir='rtl'] .toolbarButton.pageUp::before { | |
| 1936 | - content: url(images/toolbarButton-pageUp-rtl@2x.png); | |
| 1937 | - } | |
| 5926 | +:is(#secondaryToolbar #secondaryToolbarButtonContainer) #firstPage::before{ | |
| 5927 | + -webkit-mask-image:var(--secondaryToolbarButton-firstPage-icon); | |
| 5928 | + mask-image:var(--secondaryToolbarButton-firstPage-icon); | |
| 5929 | +} | |
| 1938 | 5930 | |
| 1939 | - html[dir='ltr'] .toolbarButton.pageDown::before { | |
| 1940 | - content: url(images/toolbarButton-pageDown@2x.png); | |
| 1941 | - } | |
| 1942 | - html[dir='rtl'] .toolbarButton.pageDown::before { | |
| 1943 | - content: url(images/toolbarButton-pageDown-rtl@2x.png); | |
| 1944 | - } | |
| 5931 | +:is(#secondaryToolbar #secondaryToolbarButtonContainer) #lastPage::before{ | |
| 5932 | + -webkit-mask-image:var(--secondaryToolbarButton-lastPage-icon); | |
| 5933 | + mask-image:var(--secondaryToolbarButton-lastPage-icon); | |
| 5934 | +} | |
| 1945 | 5935 | |
| 1946 | - .toolbarButton.zoomIn::before { | |
| 1947 | - content: url(images/toolbarButton-zoomIn@2x.png); | |
| 1948 | - } | |
| 5936 | +:is(#secondaryToolbar #secondaryToolbarButtonContainer) #pageRotateCcw::before{ | |
| 5937 | + -webkit-mask-image:var(--secondaryToolbarButton-rotateCcw-icon); | |
| 5938 | + mask-image:var(--secondaryToolbarButton-rotateCcw-icon); | |
| 5939 | +} | |
| 1949 | 5940 | |
| 1950 | - .toolbarButton.zoomOut::before { | |
| 1951 | - content: url(images/toolbarButton-zoomOut@2x.png); | |
| 1952 | - } | |
| 5941 | +:is(#secondaryToolbar #secondaryToolbarButtonContainer) #pageRotateCw::before{ | |
| 5942 | + -webkit-mask-image:var(--secondaryToolbarButton-rotateCw-icon); | |
| 5943 | + mask-image:var(--secondaryToolbarButton-rotateCw-icon); | |
| 5944 | +} | |
| 1953 | 5945 | |
| 1954 | - .toolbarButton.presentationMode::before, | |
| 1955 | - .secondaryToolbarButton.presentationMode::before { | |
| 1956 | - content: url(images/toolbarButton-presentationMode@2x.png); | |
| 1957 | - } | |
| 5946 | +:is(#secondaryToolbar #secondaryToolbarButtonContainer) #cursorSelectTool::before{ | |
| 5947 | + -webkit-mask-image:var(--secondaryToolbarButton-selectTool-icon); | |
| 5948 | + mask-image:var(--secondaryToolbarButton-selectTool-icon); | |
| 5949 | +} | |
| 1958 | 5950 | |
| 1959 | - .toolbarButton.print::before, | |
| 1960 | - .secondaryToolbarButton.print::before { | |
| 1961 | - content: url(images/toolbarButton-print@2x.png); | |
| 1962 | - } | |
| 5951 | +:is(#secondaryToolbar #secondaryToolbarButtonContainer) #cursorHandTool::before{ | |
| 5952 | + -webkit-mask-image:var(--secondaryToolbarButton-handTool-icon); | |
| 5953 | + mask-image:var(--secondaryToolbarButton-handTool-icon); | |
| 5954 | +} | |
| 1963 | 5955 | |
| 1964 | - .toolbarButton.openFile::before, | |
| 1965 | - .secondaryToolbarButton.openFile::before { | |
| 1966 | - content: url(images/toolbarButton-openFile@2x.png); | |
| 1967 | - } | |
| 5956 | +:is(#secondaryToolbar #secondaryToolbarButtonContainer) #scrollPage::before{ | |
| 5957 | + -webkit-mask-image:var(--secondaryToolbarButton-scrollPage-icon); | |
| 5958 | + mask-image:var(--secondaryToolbarButton-scrollPage-icon); | |
| 5959 | +} | |
| 1968 | 5960 | |
| 1969 | - .toolbarButton.download::before, | |
| 1970 | - .secondaryToolbarButton.download::before { | |
| 1971 | - content: url(images/toolbarButton-download@2x.png); | |
| 1972 | - } | |
| 5961 | +:is(#secondaryToolbar #secondaryToolbarButtonContainer) #scrollVertical::before{ | |
| 5962 | + -webkit-mask-image:var(--secondaryToolbarButton-scrollVertical-icon); | |
| 5963 | + mask-image:var(--secondaryToolbarButton-scrollVertical-icon); | |
| 5964 | +} | |
| 1973 | 5965 | |
| 1974 | - .toolbarButton.bookmark::before, | |
| 1975 | - .secondaryToolbarButton.bookmark::before { | |
| 1976 | - content: url(images/toolbarButton-bookmark@2x.png); | |
| 1977 | - } | |
| 5966 | +:is(#secondaryToolbar #secondaryToolbarButtonContainer) #scrollHorizontal::before{ | |
| 5967 | + -webkit-mask-image:var(--secondaryToolbarButton-scrollHorizontal-icon); | |
| 5968 | + mask-image:var(--secondaryToolbarButton-scrollHorizontal-icon); | |
| 5969 | +} | |
| 1978 | 5970 | |
| 1979 | - #viewThumbnail.toolbarButton::before { | |
| 1980 | - content: url(images/toolbarButton-viewThumbnail@2x.png); | |
| 1981 | - } | |
| 5971 | +:is(#secondaryToolbar #secondaryToolbarButtonContainer) #scrollWrapped::before{ | |
| 5972 | + -webkit-mask-image:var(--secondaryToolbarButton-scrollWrapped-icon); | |
| 5973 | + mask-image:var(--secondaryToolbarButton-scrollWrapped-icon); | |
| 5974 | +} | |
| 1982 | 5975 | |
| 1983 | - html[dir="ltr"] #viewOutline.toolbarButton::before { | |
| 1984 | - content: url(images/toolbarButton-viewOutline@2x.png); | |
| 1985 | - } | |
| 1986 | - html[dir="rtl"] #viewOutline.toolbarButton::before { | |
| 1987 | - content: url(images/toolbarButton-viewOutline-rtl@2x.png); | |
| 1988 | - } | |
| 5976 | +:is(#secondaryToolbar #secondaryToolbarButtonContainer) #spreadNone::before{ | |
| 5977 | + -webkit-mask-image:var(--secondaryToolbarButton-spreadNone-icon); | |
| 5978 | + mask-image:var(--secondaryToolbarButton-spreadNone-icon); | |
| 5979 | +} | |
| 1989 | 5980 | |
| 1990 | - #viewAttachments.toolbarButton::before { | |
| 1991 | - content: url(images/toolbarButton-viewAttachments@2x.png); | |
| 1992 | - } | |
| 5981 | +:is(#secondaryToolbar #secondaryToolbarButtonContainer) #spreadOdd::before{ | |
| 5982 | + -webkit-mask-image:var(--secondaryToolbarButton-spreadOdd-icon); | |
| 5983 | + mask-image:var(--secondaryToolbarButton-spreadOdd-icon); | |
| 5984 | +} | |
| 1993 | 5985 | |
| 1994 | - #viewFind.toolbarButton::before { | |
| 1995 | - content: url(images/toolbarButton-search@2x.png); | |
| 1996 | - } | |
| 5986 | +:is(#secondaryToolbar #secondaryToolbarButtonContainer) #spreadEven::before{ | |
| 5987 | + -webkit-mask-image:var(--secondaryToolbarButton-spreadEven-icon); | |
| 5988 | + mask-image:var(--secondaryToolbarButton-spreadEven-icon); | |
| 5989 | +} | |
| 1997 | 5990 | |
| 1998 | - .secondaryToolbarButton.firstPage::before { | |
| 1999 | - content: url(images/secondaryToolbarButton-firstPage@2x.png); | |
| 2000 | - } | |
| 5991 | +:is(#secondaryToolbar #secondaryToolbarButtonContainer) #imageAltTextSettings::before{ | |
| 5992 | + -webkit-mask-image:var(--secondaryToolbarButton-imageAltTextSettings-icon); | |
| 5993 | + mask-image:var(--secondaryToolbarButton-imageAltTextSettings-icon); | |
| 5994 | +} | |
| 2001 | 5995 | |
| 2002 | - .secondaryToolbarButton.lastPage::before { | |
| 2003 | - content: url(images/secondaryToolbarButton-lastPage@2x.png); | |
| 2004 | - } | |
| 5996 | +:is(#secondaryToolbar #secondaryToolbarButtonContainer) #documentProperties::before{ | |
| 5997 | + -webkit-mask-image:var(--secondaryToolbarButton-documentProperties-icon); | |
| 5998 | + mask-image:var(--secondaryToolbarButton-documentProperties-icon); | |
| 5999 | +} | |
| 2005 | 6000 | |
| 2006 | - .secondaryToolbarButton.rotateCcw::before { | |
| 2007 | - content: url(images/secondaryToolbarButton-rotateCcw@2x.png); | |
| 2008 | - } | |
| 6001 | +#findbar{ | |
| 6002 | + --input-horizontal-padding:4px; | |
| 6003 | + --findbar-padding:2px; | |
| 2009 | 6004 | |
| 2010 | - .secondaryToolbarButton.rotateCw::before { | |
| 2011 | - content: url(images/secondaryToolbarButton-rotateCw@2x.png); | |
| 2012 | - } | |
| 6005 | + width:-moz-max-content; | |
| 2013 | 6006 | |
| 2014 | - .secondaryToolbarButton.selectTool::before { | |
| 2015 | - content: url(images/secondaryToolbarButton-selectTool@2x.png); | |
| 2016 | - } | |
| 6007 | + width:max-content; | |
| 6008 | + max-width:90vw; | |
| 6009 | + min-height:var(--toolbar-height); | |
| 6010 | + height:auto; | |
| 6011 | + position:absolute; | |
| 6012 | + z-index:30000; | |
| 6013 | + cursor:default; | |
| 6014 | + padding:0; | |
| 6015 | + min-width:300px; | |
| 6016 | + background-color:var(--toolbar-bg-color); | |
| 6017 | + box-sizing:border-box; | |
| 6018 | + flex-wrap:wrap; | |
| 6019 | + justify-content:flex-start; | |
| 6020 | +} | |
| 2017 | 6021 | |
| 2018 | - .secondaryToolbarButton.handTool::before { | |
| 2019 | - content: url(images/secondaryToolbarButton-handTool@2x.png); | |
| 2020 | - } | |
| 6022 | +#findbar > *{ | |
| 6023 | + height:var(--toolbar-height); | |
| 6024 | + padding:var(--findbar-padding); | |
| 6025 | +} | |
| 2021 | 6026 | |
| 2022 | - .secondaryToolbarButton.documentProperties::before { | |
| 2023 | - content: url(images/secondaryToolbarButton-documentProperties@2x.png); | |
| 2024 | - } | |
| 6027 | +#findbar #findInputContainer{ | |
| 6028 | + margin-inline-start:2px; | |
| 6029 | +} | |
| 2025 | 6030 | |
| 2026 | - .outlineItemToggler::before { | |
| 2027 | - -webkit-transform: scale(0.5); | |
| 2028 | - transform: scale(0.5); | |
| 2029 | - top: -1px; | |
| 2030 | - content: url(images/treeitem-expanded@2x.png); | |
| 2031 | - } | |
| 2032 | - html[dir='ltr'] .outlineItemToggler.outlineItemsHidden::before { | |
| 2033 | - content: url(images/treeitem-collapsed@2x.png); | |
| 2034 | - } | |
| 2035 | - html[dir='rtl'] .outlineItemToggler.outlineItemsHidden::before { | |
| 2036 | - content: url(images/treeitem-collapsed-rtl@2x.png); | |
| 2037 | - } | |
| 2038 | - html[dir='ltr'] .outlineItemToggler::before { | |
| 2039 | - right: 0; | |
| 2040 | - } | |
| 2041 | - html[dir='rtl'] .outlineItemToggler::before { | |
| 2042 | - left: 0; | |
| 2043 | - } | |
| 6031 | +:is(#findbar #findInputContainer) #findPreviousButton::before{ | |
| 6032 | + -webkit-mask-image:var(--findbarButton-previous-icon); | |
| 6033 | + mask-image:var(--findbarButton-previous-icon); | |
| 2044 | 6034 | } |
| 2045 | 6035 | |
| 2046 | -@media print { | |
| 2047 | - /* General rules for printing. */ | |
| 2048 | - body { | |
| 2049 | - background: transparent none; | |
| 2050 | - } | |
| 6036 | +:is(#findbar #findInputContainer) #findNextButton::before{ | |
| 6037 | + -webkit-mask-image:var(--findbarButton-next-icon); | |
| 6038 | + mask-image:var(--findbarButton-next-icon); | |
| 6039 | +} | |
| 2051 | 6040 | |
| 2052 | - /* Rules for browsers that don't support mozPrintCallback. */ | |
| 2053 | - #sidebarContainer, #secondaryToolbar, .toolbar, #loadingBox, #errorWrapper, .textLayer { | |
| 6041 | +:is(#findbar #findInputContainer) #findInput{ | |
| 6042 | + width:200px; | |
| 6043 | + padding:5px var(--input-horizontal-padding); | |
| 6044 | +} | |
| 6045 | + | |
| 6046 | +:is(:is(#findbar #findInputContainer) #findInput)::-moz-placeholder{ | |
| 6047 | + font-style:normal; | |
| 6048 | +} | |
| 6049 | + | |
| 6050 | +:is(:is(#findbar #findInputContainer) #findInput)::placeholder{ | |
| 6051 | + font-style:normal; | |
| 6052 | +} | |
| 6053 | + | |
| 6054 | +.loadingInput:has( > [data-status="pending"]:is(:is(#findbar #findInputContainer) #findInput))::after{ | |
| 6055 | + display:inline; | |
| 6056 | + visibility:visible; | |
| 6057 | + inset-inline-end:calc(var(--input-horizontal-padding) + 1px); | |
| 6058 | +} | |
| 6059 | + | |
| 6060 | +[data-status="notFound"]:is(:is(#findbar #findInputContainer) #findInput){ | |
| 6061 | + background-color:rgb(255 102 102); | |
| 6062 | +} | |
| 6063 | + | |
| 6064 | +#findbar #findbarMessageContainer{ | |
| 6065 | + display:none; | |
| 6066 | + gap:4px; | |
| 6067 | +} | |
| 6068 | + | |
| 6069 | +:is(#findbar #findbarMessageContainer):has( > :is(#findResultsCount,#findMsg):not(:empty)){ | |
| 6070 | + display:inline flex; | |
| 6071 | +} | |
| 6072 | + | |
| 6073 | +:is(#findbar #findbarMessageContainer) #findResultsCount{ | |
| 6074 | + background-color:rgb(217 217 217); | |
| 6075 | + color:rgb(82 82 82); | |
| 6076 | + padding-block:4px; | |
| 6077 | +} | |
| 6078 | + | |
| 6079 | +:is(:is(#findbar #findbarMessageContainer) #findResultsCount):empty{ | |
| 6080 | + display:none; | |
| 6081 | +} | |
| 6082 | + | |
| 6083 | +[data-status="notFound"]:is(:is(#findbar #findbarMessageContainer) #findMsg){ | |
| 6084 | + font-weight:bold; | |
| 6085 | +} | |
| 6086 | + | |
| 6087 | +:is(:is(#findbar #findbarMessageContainer) #findMsg):empty{ | |
| 6088 | + display:none; | |
| 6089 | +} | |
| 6090 | + | |
| 6091 | +#findbar.wrapContainers{ | |
| 6092 | + flex-direction:column; | |
| 6093 | + align-items:flex-start; | |
| 6094 | + height:-moz-max-content; | |
| 6095 | + height:max-content; | |
| 6096 | +} | |
| 6097 | + | |
| 6098 | +#findbar.wrapContainers .toolbarLabel{ | |
| 6099 | + margin:0 4px; | |
| 6100 | +} | |
| 6101 | + | |
| 6102 | +#findbar.wrapContainers #findbarMessageContainer{ | |
| 6103 | + flex-wrap:wrap; | |
| 6104 | + flex-flow:column nowrap; | |
| 6105 | + align-items:flex-start; | |
| 6106 | + height:-moz-max-content; | |
| 6107 | + height:max-content; | |
| 6108 | +} | |
| 6109 | + | |
| 6110 | +:is(#findbar.wrapContainers #findbarMessageContainer) #findResultsCount{ | |
| 6111 | + height:calc(var(--toolbar-height) - 2 * var(--findbar-padding)); | |
| 6112 | +} | |
| 6113 | + | |
| 6114 | +:is(#findbar.wrapContainers #findbarMessageContainer) #findMsg{ | |
| 6115 | + min-height:var(--toolbar-height); | |
| 6116 | +} | |
| 6117 | + | |
| 6118 | +@page{ | |
| 6119 | + margin:0; | |
| 6120 | +} | |
| 6121 | + | |
| 6122 | +#printContainer{ | |
| 6123 | + display:none; | |
| 6124 | +} | |
| 6125 | + | |
| 6126 | +@media print{ | |
| 6127 | + body{ | |
| 6128 | + background:rgb(0 0 0 / 0) none; | |
| 6129 | + } | |
| 6130 | + | |
| 6131 | + body[data-pdfjsprinting] #outerContainer{ | |
| 6132 | + display:none; | |
| 6133 | + } | |
| 6134 | + | |
| 6135 | + body[data-pdfjsprinting] #printContainer{ | |
| 6136 | + display:block; | |
| 6137 | + } | |
| 6138 | + | |
| 6139 | + #printContainer{ | |
| 6140 | + height:100%; | |
| 6141 | + } | |
| 6142 | + #printContainer > .printedPage{ | |
| 6143 | + page-break-after:always; | |
| 6144 | + page-break-inside:avoid; | |
| 6145 | + height:100%; | |
| 6146 | + width:100%; | |
| 6147 | + | |
| 6148 | + display:flex; | |
| 6149 | + flex-direction:column; | |
| 6150 | + justify-content:center; | |
| 6151 | + align-items:center; | |
| 6152 | + } | |
| 6153 | + | |
| 6154 | + #printContainer > .xfaPrintedPage .xfaPage{ | |
| 6155 | + position:absolute; | |
| 6156 | + } | |
| 6157 | + | |
| 6158 | + #printContainer > .xfaPrintedPage{ | |
| 6159 | + page-break-after:always; | |
| 6160 | + page-break-inside:avoid; | |
| 6161 | + width:100%; | |
| 6162 | + height:100%; | |
| 6163 | + position:relative; | |
| 6164 | + } | |
| 6165 | + | |
| 6166 | + #printContainer > .printedPage :is(canvas, img){ | |
| 6167 | + max-width:100%; | |
| 6168 | + max-height:100%; | |
| 6169 | + | |
| 6170 | + direction:ltr; | |
| 6171 | + display:block; | |
| 6172 | + } | |
| 6173 | +} | |
| 6174 | + | |
| 6175 | +.visibleMediumView{ | |
| 6176 | + display:none !important; | |
| 6177 | +} | |
| 6178 | + | |
| 6179 | +.toolbarLabel{ | |
| 6180 | + width:-moz-max-content; | |
| 6181 | + width:max-content; | |
| 6182 | + min-width:16px; | |
| 6183 | + height:100%; | |
| 6184 | + padding-inline:4px; | |
| 6185 | + margin:2px; | |
| 6186 | + border-radius:2px; | |
| 6187 | + color:var(--main-color); | |
| 6188 | + font-size:12px; | |
| 6189 | + line-height:14px; | |
| 6190 | + text-align:left; | |
| 6191 | + -webkit-user-select:none; | |
| 6192 | + -moz-user-select:none; | |
| 6193 | + user-select:none; | |
| 6194 | + cursor:default; | |
| 6195 | + box-sizing:border-box; | |
| 6196 | + | |
| 6197 | + display:inline flex; | |
| 6198 | + flex-direction:column; | |
| 6199 | + align-items:center; | |
| 6200 | + justify-content:center; | |
| 6201 | +} | |
| 6202 | + | |
| 6203 | +.toolbarLabel > label{ | |
| 6204 | + width:100%; | |
| 6205 | +} | |
| 6206 | + | |
| 6207 | +.toolbarHorizontalGroup{ | |
| 6208 | + height:100%; | |
| 6209 | + display:inline flex; | |
| 6210 | + flex-direction:row; | |
| 6211 | + align-items:center; | |
| 6212 | + justify-content:space-between; | |
| 6213 | + gap:1px; | |
| 6214 | + box-sizing:border-box; | |
| 6215 | +} | |
| 6216 | + | |
| 6217 | +.dropdownToolbarButton{ | |
| 6218 | + display:inline flex; | |
| 6219 | + flex-direction:row; | |
| 6220 | + align-items:center; | |
| 6221 | + justify-content:center; | |
| 6222 | + position:relative; | |
| 6223 | + | |
| 6224 | + width:-moz-fit-content; | |
| 6225 | + | |
| 6226 | + width:fit-content; | |
| 6227 | + min-width:140px; | |
| 6228 | + padding:0; | |
| 6229 | + background-color:var(--dropdown-btn-bg-color); | |
| 6230 | + border:var(--dropdown-btn-border); | |
| 6231 | + border-radius:2px; | |
| 6232 | + color:var(--main-color); | |
| 6233 | + font-size:12px; | |
| 6234 | + line-height:14px; | |
| 6235 | + -webkit-user-select:none; | |
| 6236 | + -moz-user-select:none; | |
| 6237 | + user-select:none; | |
| 6238 | + cursor:default; | |
| 6239 | + box-sizing:border-box; | |
| 6240 | + outline:none; | |
| 6241 | +} | |
| 6242 | + | |
| 6243 | +.dropdownToolbarButton:hover{ | |
| 6244 | + background-color:var(--button-hover-color); | |
| 6245 | +} | |
| 6246 | + | |
| 6247 | +.dropdownToolbarButton > select{ | |
| 6248 | + -webkit-appearance:none; | |
| 6249 | + -moz-appearance:none; | |
| 6250 | + appearance:none; | |
| 6251 | + width:inherit; | |
| 6252 | + min-width:inherit; | |
| 6253 | + height:28px; | |
| 6254 | + font:message-box; | |
| 6255 | + font-size:12px; | |
| 6256 | + color:var(--main-color); | |
| 6257 | + margin:0; | |
| 6258 | + padding-block:1px 2px; | |
| 6259 | + padding-inline:6px 38px; | |
| 6260 | + border:none; | |
| 6261 | + outline:none; | |
| 6262 | + background-color:var(--dropdown-btn-bg-color); | |
| 6263 | +} | |
| 6264 | + | |
| 6265 | +:is(.dropdownToolbarButton > select) > option{ | |
| 6266 | + background:var(--doorhanger-bg-color); | |
| 6267 | + color:var(--main-color); | |
| 6268 | +} | |
| 6269 | + | |
| 6270 | +:is(.dropdownToolbarButton > select):is(:hover,:focus-visible){ | |
| 6271 | + background-color:var(--button-hover-color); | |
| 6272 | + color:var(--toggled-btn-color); | |
| 6273 | +} | |
| 6274 | + | |
| 6275 | +.dropdownToolbarButton::after{ | |
| 6276 | + position:absolute; | |
| 6277 | + display:inline; | |
| 6278 | + width:var(--icon-size); | |
| 6279 | + height:var(--icon-size); | |
| 6280 | + | |
| 6281 | + content:""; | |
| 6282 | + background-color:var(--toolbar-icon-bg-color); | |
| 6283 | + -webkit-mask-size:cover; | |
| 6284 | + mask-size:cover; | |
| 6285 | + | |
| 6286 | + inset-inline-end:4px; | |
| 6287 | + pointer-events:none; | |
| 6288 | + -webkit-mask-image:var(--toolbarButton-menuArrow-icon); | |
| 6289 | + mask-image:var(--toolbarButton-menuArrow-icon); | |
| 6290 | +} | |
| 6291 | + | |
| 6292 | +.dropdownToolbarButton:is(:hover,:focus-visible,:active)::after{ | |
| 6293 | + background-color:var(--toolbar-icon-hover-bg-color); | |
| 6294 | +} | |
| 6295 | + | |
| 6296 | +#toolbarContainer{ | |
| 6297 | + --menuitem-height:calc(var(--toolbar-height) - 6px); | |
| 6298 | + | |
| 6299 | + width:100%; | |
| 6300 | + height:var(--toolbar-height); | |
| 6301 | + padding:var(--toolbar-vertical-padding) var(--toolbar-horizontal-padding); | |
| 6302 | + position:relative; | |
| 6303 | + box-sizing:border-box; | |
| 6304 | + font:message-box; | |
| 6305 | + background-color:var(--toolbar-bg-color); | |
| 6306 | + box-shadow:var(--toolbar-box-shadow); | |
| 6307 | + border-bottom:var(--toolbar-border-bottom); | |
| 6308 | +} | |
| 6309 | + | |
| 6310 | +#toolbarContainer #toolbarViewer{ | |
| 6311 | + width:100%; | |
| 6312 | + height:100%; | |
| 6313 | + justify-content:space-between; | |
| 6314 | +} | |
| 6315 | + | |
| 6316 | +:is(#toolbarContainer #toolbarViewer) > *{ | |
| 6317 | + flex:none; | |
| 6318 | +} | |
| 6319 | + | |
| 6320 | +:is(#toolbarContainer #toolbarViewer) input{ | |
| 6321 | + font:message-box; | |
| 6322 | +} | |
| 6323 | + | |
| 6324 | +:is(#toolbarContainer #toolbarViewer) .toolbarButtonSpacer{ | |
| 6325 | + width:30px; | |
| 6326 | + display:block; | |
| 6327 | + height:1px; | |
| 6328 | +} | |
| 6329 | + | |
| 6330 | +:is(#toolbarContainer #toolbarViewer) #toolbarViewerLeft #numPages.toolbarLabel{ | |
| 6331 | + padding-inline-start:3px; | |
| 6332 | + flex:none; | |
| 6333 | +} | |
| 6334 | + | |
| 6335 | +#toolbarContainer #loadingBar{ | |
| 6336 | + --progressBar-percent:0%; | |
| 6337 | + --progressBar-end-offset:0; | |
| 6338 | + | |
| 6339 | + position:absolute; | |
| 6340 | + top:var(--toolbar-height); | |
| 6341 | + inset-inline:0 var(--progressBar-end-offset); | |
| 6342 | + height:4px; | |
| 6343 | + background-color:var(--progressBar-bg-color); | |
| 6344 | + border-bottom:1px solid var(--toolbar-border-color); | |
| 6345 | + transition-property:inset-inline-start; | |
| 6346 | + transition-duration:var(--sidebar-transition-duration); | |
| 6347 | + transition-timing-function:var(--sidebar-transition-timing-function); | |
| 6348 | +} | |
| 6349 | + | |
| 6350 | +:is(#toolbarContainer #loadingBar) .progress{ | |
| 6351 | + position:absolute; | |
| 6352 | + top:0; | |
| 6353 | + inset-inline-start:0; | |
| 6354 | + width:100%; | |
| 6355 | + transform:scaleX(var(--progressBar-percent)); | |
| 6356 | + transform-origin:calc(50% - 50% * var(--dir-factor)) 0; | |
| 6357 | + height:100%; | |
| 6358 | + background-color:var(--progressBar-color); | |
| 6359 | + overflow:hidden; | |
| 6360 | + transition:transform 200ms; | |
| 6361 | +} | |
| 6362 | + | |
| 6363 | +.indeterminate:is(#toolbarContainer #loadingBar) .progress{ | |
| 6364 | + transform:none; | |
| 6365 | + background-color:var(--progressBar-bg-color); | |
| 6366 | + transition:none; | |
| 6367 | +} | |
| 6368 | + | |
| 6369 | +:is(.indeterminate:is(#toolbarContainer #loadingBar) .progress) .glimmer{ | |
| 6370 | + position:absolute; | |
| 6371 | + top:0; | |
| 6372 | + inset-inline-start:0; | |
| 6373 | + height:100%; | |
| 6374 | + width:calc(100% + 150px); | |
| 6375 | + background:repeating-linear-gradient( | |
| 6376 | + 135deg, | |
| 6377 | + var(--progressBar-blend-color) 0, | |
| 6378 | + var(--progressBar-bg-color) 5px, | |
| 6379 | + var(--progressBar-bg-color) 45px, | |
| 6380 | + var(--progressBar-color) 55px, | |
| 6381 | + var(--progressBar-color) 95px, | |
| 6382 | + var(--progressBar-blend-color) 100px | |
| 6383 | + ); | |
| 6384 | + animation:progressIndeterminate 1s linear infinite; | |
| 6385 | +} | |
| 6386 | + | |
| 6387 | +@media all and (max-width: 840px){ | |
| 6388 | + #sidebarContainer{ | |
| 6389 | + background-color:var(--sidebar-narrow-bg-color); | |
| 6390 | + } | |
| 6391 | + #outerContainer.sidebarOpen #viewerContainer{ | |
| 6392 | + inset-inline-start:0 !important; | |
| 6393 | + } | |
| 6394 | +} | |
| 6395 | + | |
| 6396 | +@media all and (max-width: 750px){ | |
| 6397 | + #outerContainer .hiddenMediumView{ | |
| 6398 | + display:none !important; | |
| 6399 | + } | |
| 6400 | + #outerContainer .visibleMediumView:not(.hidden, [hidden]){ | |
| 6401 | + display:inline-block !important; | |
| 6402 | + } | |
| 6403 | +} | |
| 6404 | + | |
| 6405 | +@media all and (max-width: 690px){ | |
| 6406 | + .hiddenSmallView, | |
| 6407 | + .hiddenSmallView *{ | |
| 6408 | + display:none !important; | |
| 6409 | + } | |
| 6410 | + | |
| 6411 | + #toolbarContainer #toolbarViewer .toolbarButtonSpacer{ | |
| 6412 | + width:0; | |
| 6413 | + } | |
| 6414 | +} | |
| 6415 | + | |
| 6416 | +@media all and (max-width: 560px){ | |
| 6417 | + #scaleSelectContainer{ | |
| 6418 | + display:none; | |
| 6419 | + } | |
| 6420 | +} | |
| 6421 | + | |
| 6422 | + | |
| 6423 | +html.e2pdf-responsive, | |
| 6424 | +html.e2pdf-responsive #viewerContainer{ | |
| 6425 | + overflow-y:hidden; | |
| 6426 | +} | |
| 6427 | + | |
| 6428 | +html.e2pdf-responsive.e2pdf-responsive-page, | |
| 6429 | +html.e2pdf-responsive.e2pdf-responsive-page #viewerContainer{ | |
| 6430 | + overflow: auto; | |
| 6431 | +} | |
| 6432 | + | |
| 6433 | +html.e2pdf-hide-background body { | |
| 6434 | + background: none; | |
| 6435 | +} | |
| 6436 | + | |
| 6437 | +html.e2pdf-hide-toolbar .toolbar { | |
| 2054 | 6438 | display: none; |
| 2055 | - } | |
| 2056 | - #viewerContainer { | |
| 2057 | - overflow: visible; | |
| 2058 | - } | |
| 6439 | +} | |
| 2059 | 6440 | |
| 2060 | - #mainContainer, #viewerContainer, .page, .page canvas { | |
| 2061 | - position: static; | |
| 2062 | - padding: 0; | |
| 2063 | - margin: 0; | |
| 2064 | - } | |
| 6441 | +html.e2pdf-hide-toolbar #viewerContainer { | |
| 6442 | + top: 0; | |
| 6443 | +} | |
| 2065 | 6444 | |
| 2066 | - .page { | |
| 2067 | - float: left; | |
| 6445 | +html.e2pdf-hide-secondary-toolbar #outerContainer .hiddenMediumView, | |
| 6446 | +html.e2pdf-hide-secondary-toolbar #outerContainer .hiddenLargeView { | |
| 6447 | + display: inherit; | |
| 6448 | +} | |
| 6449 | + | |
| 6450 | +@media all and (max-width: 560px) { | |
| 6451 | + html.e2pdf-hide-secondary-toolbar #pageNumber { | |
| 6452 | + width: 20px; | |
| 6453 | + } | |
| 6454 | +} | |
| 6455 | + | |
| 6456 | +@media all and (max-width: 900px) { | |
| 6457 | + #toolbarViewerMiddle { | |
| 6458 | + position: absolute; | |
| 6459 | + left: 50%; | |
| 6460 | + transform: translateX(-50%); | |
| 6461 | + } | |
| 6462 | +} | |
| 6463 | + | |
| 6464 | + | |
| 6465 | +.e2pdf-dark-theme { | |
| 6466 | + color-scheme: dark; | |
| 6467 | +} | |
| 6468 | + | |
| 6469 | +html.e2pdf-hide-secondary-toolbar #secondaryToolbar, | |
| 6470 | +html.e2pdf-hide-secondary-toolbar #secondaryToolbarToggle, | |
| 6471 | +html.e2pdf-hide-secondary-toolbar #secondaryToolbarToggle .verticalToolbarSeparator, | |
| 6472 | +html.e2pdf-hide-secondary-toolbar #toolbarViewerRight #editorModeSeparator { | |
| 2068 | 6473 | display: none; |
| 2069 | - border: none; | |
| 2070 | - box-shadow: none; | |
| 2071 | - background-clip: content-box; | |
| 2072 | - background-color: white; | |
| 2073 | - } | |
| 6474 | +} | |
| 2074 | 6475 | |
| 2075 | - .page[data-loaded] { | |
| 2076 | - display: block; | |
| 2077 | - } | |
| 6476 | +html.e2pdf-hide-left-toolbar #toolbarViewerLeft { | |
| 6477 | + display: none; | |
| 6478 | +} | |
| 2078 | 6479 | |
| 2079 | - .fileInput { | |
| 6480 | +html.e2pdf-hide-middle-toolbar #toolbarViewerMiddle { | |
| 2080 | 6481 | display: none; |
| 2081 | - } | |
| 6482 | +} | |
| 2082 | 6483 | |
| 2083 | - /* Rules for browsers that support PDF.js printing */ | |
| 2084 | - body[data-pdfjsprinting] #outerContainer { | |
| 6484 | +html.e2pdf-hide-right-toolbar #toolbarViewerRight { | |
| 2085 | 6485 | display: none; |
| 2086 | - } | |
| 2087 | - body[data-pdfjsprinting] #printContainer { | |
| 2088 | - display: block; | |
| 2089 | - } | |
| 2090 | - #printContainer { | |
| 2091 | - height: 100%; | |
| 2092 | - } | |
| 2093 | - /* wrapper around (scaled) print canvas elements */ | |
| 2094 | - #printContainer > div { | |
| 2095 | - position: relative; | |
| 2096 | - top: 0; | |
| 2097 | - left: 0; | |
| 2098 | - width: 1px; | |
| 2099 | - height: 1px; | |
| 2100 | - overflow: visible; | |
| 2101 | - page-break-after: always; | |
| 2102 | - page-break-inside: avoid; | |
| 2103 | - } | |
| 2104 | - #printContainer canvas, | |
| 2105 | - #printContainer img { | |
| 2106 | - display: block; | |
| 2107 | - } | |
| 2108 | 6486 | } |
| 2109 | 6487 | |
| 2110 | -.visibleLargeView, | |
| 2111 | -.visibleMediumView, | |
| 2112 | -.visibleSmallView { | |
| 2113 | - display: none; | |
| 6488 | +html.e2pdf-hide-sidebar #sidebarToggle, | |
| 6489 | +html.e2pdf-hide-sidebar #toolbarViewerLeft .toolbarButtonSpacer { | |
| 6490 | + display: none; | |
| 2114 | 6491 | } |
| 2115 | 6492 | |
| 2116 | -@media all and (max-width: 1040px) { | |
| 2117 | - #outerContainer.sidebarMoving #toolbarViewerMiddle, | |
| 2118 | - #outerContainer.sidebarOpen #toolbarViewerMiddle { | |
| 2119 | - display: table; | |
| 2120 | - margin: auto; | |
| 2121 | - left: auto; | |
| 2122 | - position: inherit; | |
| 2123 | - transform: none; | |
| 2124 | - } | |
| 6493 | +html.e2pdf-hide-search #viewFind { | |
| 6494 | + display: none; | |
| 2125 | 6495 | } |
| 2126 | 6496 | |
| 2127 | -@media all and (max-width: 980px) { | |
| 2128 | - .sidebarMoving .hiddenLargeView, | |
| 2129 | - .sidebarOpen .hiddenLargeView { | |
| 6497 | +html.e2pdf-hide-pageupdown #toolbarViewerLeft .splitToolbarButton { | |
| 2130 | 6498 | display: none; |
| 2131 | - } | |
| 2132 | - .sidebarMoving .visibleLargeView, | |
| 2133 | - .sidebarOpen .visibleLargeView { | |
| 2134 | - display: inherit; | |
| 2135 | - } | |
| 2136 | 6499 | } |
| 2137 | 6500 | |
| 2138 | -@media all and (max-width: 900px) { | |
| 2139 | - #toolbarViewerMiddle { | |
| 2140 | - display: table; | |
| 2141 | - margin: auto; | |
| 2142 | - left: auto; | |
| 2143 | - position: inherit; | |
| 2144 | - transform: none; | |
| 2145 | - } | |
| 2146 | - .sidebarMoving .hiddenMediumView, | |
| 2147 | - .sidebarOpen .hiddenMediumView { | |
| 6501 | + | |
| 6502 | +html.e2pdf-hide-sidebar.e2pdf-hide-search.e2pdf-hide-pageupdown #pageNumber { | |
| 6503 | + margin-left: 5px; | |
| 6504 | +} | |
| 6505 | + | |
| 6506 | +html.e2pdf-hide-pagenumber #pageNumber, | |
| 6507 | +html.e2pdf-hide-pagenumber #numPages { | |
| 2148 | 6508 | display: none; |
| 2149 | - } | |
| 2150 | - .sidebarMoving .visibleMediumView, | |
| 2151 | - .sidebarOpen .visibleMediumView { | |
| 2152 | - display: inherit; | |
| 2153 | - } | |
| 2154 | 6509 | } |
| 2155 | 6510 | |
| 2156 | -@media all and (max-width: 840px) { | |
| 2157 | - #sidebarContainer { | |
| 2158 | - top: 32px; | |
| 2159 | - z-index: 100; | |
| 2160 | - } | |
| 2161 | - .loadingInProgress #sidebarContainer { | |
| 2162 | - top: 37px; | |
| 2163 | - } | |
| 2164 | - #sidebarContent { | |
| 2165 | - top: 32px; | |
| 2166 | - background-color: hsla(0,0%,0%,.7); | |
| 2167 | - } | |
| 6511 | +html.e2pdf-hide-zoom #toolbarViewerMiddle .splitToolbarButton { | |
| 6512 | + display: none; | |
| 6513 | +} | |
| 2168 | 6514 | |
| 2169 | - html[dir='ltr'] #outerContainer.sidebarOpen > #mainContainer { | |
| 2170 | - left: 0px; | |
| 2171 | - } | |
| 2172 | - html[dir='rtl'] #outerContainer.sidebarOpen > #mainContainer { | |
| 2173 | - right: 0px; | |
| 2174 | - } | |
| 6515 | +html.e2pdf-hide-scale #scaleSelectContainer { | |
| 6516 | + display: none; | |
| 6517 | +} | |
| 2175 | 6518 | |
| 2176 | - #outerContainer .hiddenLargeView, | |
| 2177 | - #outerContainer .hiddenMediumView { | |
| 2178 | - display: inherit; | |
| 2179 | - } | |
| 2180 | - #outerContainer .visibleLargeView, | |
| 2181 | - #outerContainer .visibleMediumView { | |
| 6519 | +html.e2pdf-hide-presentation #presentationMode, | |
| 6520 | +html.e2pdf-hide-presentation #secondaryPresentationMode { | |
| 6521 | + display: none !important; | |
| 6522 | +} | |
| 6523 | + | |
| 6524 | +html.e2pdf-hide-openfile #openFile, | |
| 6525 | +html.e2pdf-hide-openfile #secondaryOpenFile { | |
| 6526 | + display: none !important; | |
| 6527 | +} | |
| 6528 | + | |
| 6529 | +html.e2pdf-hide-print #print, | |
| 6530 | +html.e2pdf-hide-print #secondaryPrint { | |
| 6531 | + display: none !important; | |
| 6532 | +} | |
| 6533 | + | |
| 6534 | +html.e2pdf-hide-download #download, | |
| 6535 | +html.e2pdf-hide-download #secondaryDownload { | |
| 6536 | + display: none !important; | |
| 6537 | +} | |
| 6538 | + | |
| 6539 | +html.e2pdf-hide-bookmark #viewBookmark, | |
| 6540 | +html.e2pdf-hide-bookmark #secondaryViewBookmark, | |
| 6541 | +html.e2pdf-hide-bookmark #secondaryViewBookmark + .horizontalToolbarSeparator { | |
| 2182 | 6542 | display: none; |
| 2183 | - } | |
| 2184 | 6543 | } |
| 2185 | 6544 | |
| 2186 | -@media all and (max-width: 770px) { | |
| 2187 | - #outerContainer .hiddenLargeView { | |
| 6545 | + | |
| 6546 | +html.e2pdf-hide-firstlastpage #firstPage, | |
| 6547 | +html.e2pdf-hide-firstlastpage #lastPage, | |
| 6548 | +html.e2pdf-hide-firstlastpage #lastPage + .horizontalToolbarSeparator { | |
| 2188 | 6549 | display: none; |
| 2189 | - } | |
| 2190 | - #outerContainer .visibleLargeView { | |
| 2191 | - display: inherit; | |
| 2192 | - } | |
| 2193 | 6550 | } |
| 2194 | 6551 | |
| 2195 | -@media all and (max-width: 700px) { | |
| 2196 | - #outerContainer .hiddenMediumView { | |
| 6552 | +html.e2pdf-hide-rotate #pageRotateCw, | |
| 6553 | +html.e2pdf-hide-rotate #pageRotateCcw, | |
| 6554 | +html.e2pdf-hide-rotate #pageRotateCcw + .horizontalToolbarSeparator { | |
| 2197 | 6555 | display: none; |
| 2198 | - } | |
| 2199 | - #outerContainer .visibleMediumView { | |
| 2200 | - display: inherit; | |
| 2201 | - } | |
| 2202 | 6556 | } |
| 2203 | 6557 | |
| 2204 | -@media all and (max-width: 640px) { | |
| 2205 | - .hiddenSmallView, .hiddenSmallView * { | |
| 6558 | +html.e2pdf-hide-cursor #cursorSelectTool, | |
| 6559 | +html.e2pdf-hide-cursor #cursorHandTool, | |
| 6560 | +html.e2pdf-hide-cursor #cursorHandTool + .horizontalToolbarSeparator { | |
| 2206 | 6561 | display: none; |
| 2207 | - } | |
| 2208 | - .visibleSmallView { | |
| 2209 | - display: inherit; | |
| 2210 | - } | |
| 2211 | - .toolbarButtonSpacer { | |
| 2212 | - width: 0; | |
| 2213 | - } | |
| 2214 | - html[dir='ltr'] .findbar { | |
| 2215 | - left: 38px; | |
| 2216 | - } | |
| 2217 | - html[dir='rtl'] .findbar { | |
| 2218 | - right: 38px; | |
| 2219 | - } | |
| 2220 | 6562 | } |
| 2221 | 6563 | |
| 2222 | -@media all and (max-width: 535px) { | |
| 2223 | - #scaleSelectContainer { | |
| 6564 | +html.e2pdf-hide-scroll #scrollVertical, | |
| 6565 | +html.e2pdf-hide-scroll #scrollHorizontal, | |
| 6566 | +html.e2pdf-hide-scroll #scrollWrapped, | |
| 6567 | +html.e2pdf-hide-scroll #scrollWrapped + .horizontalToolbarSeparator { | |
| 2224 | 6568 | display: none; |
| 2225 | - } | |
| 2226 | 6569 | } |
| 6570 | + | |
| 6571 | +html.e2pdf-hide-spread #spreadNone, | |
| 6572 | +html.e2pdf-hide-spread #spreadOdd, | |
| 6573 | +html.e2pdf-hide-spread #spreadEven, | |
| 6574 | +html.e2pdf-hide-spread #spreadEven + .horizontalToolbarSeparator { | |
| 6575 | + display: none; | |
| 6576 | +} | |
| 6577 | + | |
| 6578 | +html.e2pdf-hide-properties #documentProperties { | |
| 6579 | + display: none; | |
| 6580 | +} | |
| 6581 | + | |
| 6582 | +#e2pdfViewerLoader { | |
| 6583 | + display: block; | |
| 6584 | + width: 100%; | |
| 6585 | + color: #fff; | |
| 6586 | + position: absolute; | |
| 6587 | + transform: translateY(-50%); | |
| 6588 | + top: 50%; | |
| 6589 | + text-align: center; | |
| 6590 | + z-index: -1; | |
| 6591 | +} | |
| 6592 | + | |
| 6593 | +html.e2pdf-hide-loader #e2pdfViewerLoader { | |
| 6594 | + display: none; | |
| 6595 | +} | |
| 6596 | + | |
| 6597 | +.e2pdf-pages-loaded #e2pdfViewerLoader, .e2pdf-viewer-error #e2pdfViewerLoader { | |
| 6598 | + display: none; | |
| 6599 | +} | |
| 6600 | + | |
| 6601 | +#e2pdfViewerLoadError { | |
| 6602 | + display: none; | |
| 6603 | + width: 100%; | |
| 6604 | + color: #fff; | |
| 6605 | + position: absolute; | |
| 6606 | + transform: translateY(-50%); | |
| 6607 | + top: 50%; | |
| 6608 | + text-align: center; | |
| 6609 | + z-index: -1; | |
| 6610 | +} | |
| 6611 | + | |
| 6612 | +.e2pdf-viewer-error #e2pdfViewerLoadError { | |
| 6613 | + display: block; | |
| 6614 | + z-index: 1; | |
| 6615 | +} | |
| 6616 | + | |
| 6617 | +#e2pdfViewerLoadError, #e2pdfViewerLoadError a { | |
| 6618 | + color: #2a2a2e; | |
| 6619 | +} | |
| 6620 | + | |
| 6621 | +.e2pdf-dark-theme #e2pdfViewerLoadError, | |
| 6622 | +.e2pdf-dark-theme #e2pdfViewerLoadError a { | |
| 6623 | + color: #fff; | |
| 6624 | +} | |
| 6625 | + | |
| 6626 | +.e2pdf-viewer-loader-text { | |
| 6627 | + color: rgba(42, 42, 46, 1); | |
| 6628 | + display: inline-block; | |
| 6629 | + margin-left: 10px; | |
| 6630 | + font-size: 14px; | |
| 6631 | +} | |
| 6632 | + | |
| 6633 | +.e2pdf-dark-theme .e2pdf-viewer-loader-text { | |
| 6634 | + color: #fff; | |
| 6635 | +} | |
| 6636 | + | |
| 6637 | +.e2pdf-viewer-loader-text:after { | |
| 6638 | + content: "Please wait, PDF is loading..."; | |
| 6639 | +} | |
| 6640 | + | |
| 6641 | +.e2pdf-viewer-loader-icon { | |
| 6642 | + width: 48px; | |
| 6643 | + height: 48px; | |
| 6644 | + background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0OCIgaGVpZ2h0PSI0OCIgdmlld0JveD0iMCAwIDI0IDI0Ij48ZyBzdHJva2U9ImJsYWNrIj48Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSI5LjUiIGZpbGw9Im5vbmUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIzIj48YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJzdHJva2UtZGFzaGFycmF5IiBjYWxjTW9kZT0ic3BsaW5lIiBkdXI9IjEuNXMiIGtleVNwbGluZXM9IjAuNDIsMCwwLjU4LDE7MC40MiwwLDAuNTgsMTswLjQyLDAsMC41OCwxIiBrZXlUaW1lcz0iMDswLjQ3NTswLjk1OzEiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiB2YWx1ZXM9IjAgMTUwOzQyIDE1MDs0MiAxNTA7NDIgMTUwIi8+PGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ic3Ryb2tlLWRhc2hvZmZzZXQiIGNhbGNNb2RlPSJzcGxpbmUiIGR1cj0iMS41cyIga2V5U3BsaW5lcz0iMC40MiwwLDAuNTgsMTswLjQyLDAsMC41OCwxOzAuNDIsMCwwLjU4LDEiIGtleVRpbWVzPSIwOzAuNDc1OzAuOTU7MSIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIHZhbHVlcz0iMDstMTY7LTU5Oy01OSIvPjwvY2lyY2xlPjxhbmltYXRlVHJhbnNmb3JtIGF0dHJpYnV0ZU5hbWU9InRyYW5zZm9ybSIgZHVyPSIycyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIHR5cGU9InJvdGF0ZSIgdmFsdWVzPSIwIDEyIDEyOzM2MCAxMiAxMiIvPjwvZz48L3N2Zz4=') no-repeat center center; | |
| 6645 | + margin: 0 auto; | |
| 6646 | + animation:l20-1 0.8s infinite linear alternate,l20-2 1.6s infinite linear; | |
| 6647 | + margin-bottom: 8px; | |
| 6648 | +} | |
| 6649 | + | |
| 6650 | +.e2pdf-dark-theme .e2pdf-viewer-loader-icon { | |
| 6651 | + background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0OCIgaGVpZ2h0PSI0OCIgdmlld0JveD0iMCAwIDI0IDI0Ij48ZyBzdHJva2U9IndoaXRlIj48Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSI5LjUiIGZpbGw9Im5vbmUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIzIj48YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJzdHJva2UtZGFzaGFycmF5IiBjYWxjTW9kZT0ic3BsaW5lIiBkdXI9IjEuNXMiIGtleVNwbGluZXM9IjAuNDIsMCwwLjU4LDE7MC40MiwwLDAuNTgsMTswLjQyLDAsMC41OCwxIiBrZXlUaW1lcz0iMDswLjQ3NTswLjk1OzEiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiB2YWx1ZXM9IjAgMTUwOzQyIDE1MDs0MiAxNTA7NDIgMTUwIi8+PGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ic3Ryb2tlLWRhc2hvZmZzZXQiIGNhbGNNb2RlPSJzcGxpbmUiIGR1cj0iMS41cyIga2V5U3BsaW5lcz0iMC40MiwwLDAuNTgsMTswLjQyLDAsMC41OCwxOzAuNDIsMCwwLjU4LDEiIGtleVRpbWVzPSIwOzAuNDc1OzAuOTU7MSIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIHZhbHVlcz0iMDstMTY7LTU5Oy01OSIvPjwvY2lyY2xlPjxhbmltYXRlVHJhbnNmb3JtIGF0dHJpYnV0ZU5hbWU9InRyYW5zZm9ybSIgZHVyPSIycyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIHR5cGU9InJvdGF0ZSIgdmFsdWVzPSIwIDEyIDEyOzM2MCAxMiAxMiIvPjwvZz48L3N2Zz4=') no-repeat center center; | |
| 6652 | +} | |
| 6653 | + | |
| 6654 | +html.e2pdf-hide-secondary-toolbar #editorStampParamsToolbar { | |
| 6655 | + inset-inline-end: 11px; | |
| 6656 | +} | |
| 6657 | + | |
| 6658 | +html.e2pdf-hide-secondary-toolbar #editorInkParamsToolbar { | |
| 6659 | + inset-inline-end: 39px; | |
| 6660 | +} | |
| 6661 | + | |
| 6662 | +html.e2pdf-hide-secondary-toolbar #editorFreeTextParamsToolbar { | |
| 6663 | + inset-inline-end: 67px; | |
| 6664 | +} | |
| 6665 | + | |
| 6666 | +html.e2pdf-hide-freetext #editorFreeText, | |
| 6667 | +html.e2pdf-hide-ink #editorInk, | |
| 6668 | +html.e2pdf-hide-stamp #editorStamp, | |
| 6669 | +html.e2pdf-hide-highlight #editorHighlight { | |
| 6670 | + display: none; | |
| 6671 | +} | |
| 6672 | + | |
| 6673 | +#toolBarRefresh { | |
| 6674 | + float: right; | |
| 6675 | + display: none; | |
| 6676 | +} | |
| 6677 | + | |
| 6678 | +html.e2pdf-preview #toolBarRefresh { | |
| 6679 | + display: block; | |
| 6680 | +} | |
| 6681 | + | |
| 6682 | +#documentRefresh { | |
| 6683 | + position: relative; | |
| 6684 | +} | |
| 6685 | + | |
| 6686 | +#documentRefresh::before { | |
| 6687 | + -webkit-mask-image: url(images/secondaryToolbarButton-refreshCw.svg); | |
| 6688 | + mask-image: url(images/secondaryToolbarButton-refreshCw.svg); | |
| 6689 | +} | |
| 6690 | + | |
| 6691 | +html.e2pdf-hide-editor #editorModeButtons, | |
| 6692 | +html.e2pdf-hide-editor #editorModeSeparator, | |
| 6693 | +html.e2pdf-hide-editor.e2pdf-hide-secondary-toolbar #toolbarViewerRight .verticalToolbarSeparator | |
| 6694 | +{ | |
| 6695 | + display: none; | |
| 6696 | +} | |
| 6697 | + | |
| 6698 | +#mainContainer { | |
| 6699 | + min-width: 200px; | |
| 6700 | +} | |
| 6701 | + | |
| 6702 | +@media all and (max-width: 350px) { | |
| 6703 | + #toolbarViewerMiddle { | |
| 6704 | + display: none; | |
| 6705 | + } | |
| 6706 | +} | |
| 6707 | + | |
| 6708 | +@media all and (max-width: 750px) { | |
| 6709 | + html.e2pdf-hide-secondary-toolbar #outerContainer .hiddenMediumView { | |
| 6710 | + display: inherit !important; | |
| 6711 | + } | |
| 6712 | +} | |
| 6713 | + | |
| 6714 | +@media all and (max-width: 820px) { | |
| 6715 | + html.e2pdf-hide-secondary-toolbar #outerContainer .hiddenLargeView { | |
| 6716 | + display: inherit !important; | |
| 6717 | + } | |
| 6718 | +} | |
| 6719 | + | |