| 1 | /* vim:set ts=2 sw=2 sts=2 et: */ |
| 2 | /* This Source Code Form is subject to the terms of the Mozilla Public |
| 3 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
| 4 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
| 5 | |
| 6 | @import url(common.css); |
| 7 | |
| 8 | /* Colors are taken from: |
| 9 | * https://developer.mozilla.org/en-US/docs/Tools/DevToolsColors. |
| 10 | * Changes should be kept in sync with commandline.css and commandline.inc.css. |
| 11 | */ |
| 12 | :root { |
| 13 | --theme-body-background: #000000; |
| 14 | --theme-sidebar-background: #000000; |
| 15 | --theme-contrast-background: #402800; |
| 16 | --theme-contrast-border: #A09090; |
| 17 | --theme-contrast-background2: #795900; |
| 18 | |
| 19 | --theme-tab-toolbar-background: #402800; |
| 20 | --theme-toolbar-background: #000000; |
| 21 | --theme-hover-background: #FFCF00; |
| 22 | --theme-hover-color: #000000; |
| 23 | --theme-active-background: #FFCF00; |
| 24 | --theme-active-color: #000000; |
| 25 | --theme-selection-background: #008484; |
| 26 | --theme-selection-color: #000000; |
| 27 | --theme-selection-background2: #004242; |
| 28 | --theme-selection-color2: #FF9F00; |
| 29 | --theme-selection-background-semitransparent: rgba(0, 132, 132, .5); |
| 30 | --theme-splitter-color: #9C9CFF; |
| 31 | --theme-comment: #A09090; |
| 32 | |
| 33 | --theme-sidebar-background: #000000; |
| 34 | --theme-contrastsidebar-background: #A09090; |
| 35 | --theme-contrastsidebar-color: #000000; |
| 36 | --theme-contrastsidebar-bordercolor: #000000; |
| 37 | |
| 38 | --theme-body-color: #FF9F00; |
| 39 | --theme-body-color-alt: #A09090; |
| 40 | --theme-content-color1: #FF9F00; |
| 41 | --theme-content-color2: #A09090; |
| 42 | --theme-content-color3: #FF9F00; |
| 43 | --theme-content-color4: #9C9CFF; |
| 44 | --theme-content-disabled: #8050B0; |
| 45 | |
| 46 | --theme-text-blue: #3333FF; |
| 47 | --theme-highlight-green: #008484; |
| 48 | --theme-highlight-blue: #9C9CFF; |
| 49 | --theme-highlight-bluegrey: #A09090; |
| 50 | --theme-highlight-purple: #C09070; |
| 51 | --theme-highlight-darkpurple: #6000CF; |
| 52 | --theme-highlight-lightorange: #FFCF00; |
| 53 | --theme-highlight-orange: #FF9F00; |
| 54 | --theme-highlight-red: #FF0000; |
| 55 | --theme-highlight-pink: #E7ADE7; |
| 56 | |
| 57 | /* Colors used in Graphs, like performance tools. Mostly similar to some "highlight-*" colors. */ |
| 58 | --theme-graphs-green: #008484; |
| 59 | --theme-graphs-blue: #9C9CFF; |
| 60 | --theme-graphs-bluegrey: #C09070; |
| 61 | --theme-graphs-purple: #C09070; |
| 62 | --theme-graphs-yellow: #FFCF00; |
| 63 | --theme-graphs-red: #FF0000; |
| 64 | --theme-graphs-grey: #A09090; |
| 65 | |
| 66 | /* Images */ |
| 67 | --theme-pane-collapse-image: url(chrome://devtools/skin/images/pane-collapse.svg); |
| 68 | --theme-pane-expand-image: url(chrome://devtools/skin/images/pane-expand.svg); |
| 69 | } |
| 70 | |
| 71 | body, html { |
| 72 | padding: 0; |
| 73 | margin: 0; |
| 74 | } |
| 75 | |
| 76 | .theme-body { |
| 77 | background: var(--theme-body-background); |
| 78 | color: var(--theme-body-color); |
| 79 | } |
| 80 | |
| 81 | .theme-sidebar { |
| 82 | background: var(--theme-sidebar-background); |
| 83 | color: var(--theme-content-color1); |
| 84 | } |
| 85 | |
| 86 | ::-moz-selection { |
| 87 | background-color: var(--theme-selection-background); |
| 88 | color: var(--theme-selection-color); |
| 89 | } |
| 90 | |
| 91 | .theme-bg-darker { |
| 92 | background: var(--theme-selection-background-semitransparent); |
| 93 | } |
| 94 | |
| 95 | .theme-selected, |
| 96 | .CodeMirror-hint-active { |
| 97 | background-color: var(--theme-selection-background2); |
| 98 | color: var(--theme-selection-color2); |
| 99 | } |
| 100 | |
| 101 | .theme-bg-contrast, |
| 102 | .variable-or-property:not([overridden])[changed] { |
| 103 | background: var(--theme-contrast-background); |
| 104 | } |
| 105 | |
| 106 | .theme-link, |
| 107 | .cm-s-mozilla .cm-link { /* original: blue */ |
| 108 | color: var(--theme-text-blue); |
| 109 | } |
| 110 | |
| 111 | /* |
| 112 | * FIXME: http://bugzil.la/575675 CSS links without :visited set cause assertion |
| 113 | * failures in debug builds. |
| 114 | */ |
| 115 | .theme-link:visited, |
| 116 | .cm-s-mozilla .cm-link:visited, |
| 117 | .CodeMirror-Tern-type { |
| 118 | color: var(--theme-text-blue); |
| 119 | } |
| 120 | |
| 121 | .theme-comment, |
| 122 | .cm-s-mozilla .cm-meta, |
| 123 | .cm-s-mozilla .cm-hr, |
| 124 | .cm-s-mozilla .cm-comment, |
| 125 | .variable-or-property .token-undefined, |
| 126 | .variable-or-property .token-null, |
| 127 | .CodeMirror-Tern-completion-unknown:before { |
| 128 | color: var(--theme-comment); |
| 129 | } |
| 130 | |
| 131 | .theme-gutter { |
| 132 | background-color: #000000; |
| 133 | color: var(--theme-content-color3); |
| 134 | border-color: #9C9CFF; |
| 135 | } |
| 136 | |
| 137 | .theme-separator { /* original: grey */ |
| 138 | border-color: #8050B0; |
| 139 | } |
| 140 | |
| 141 | .theme-fg-color1, |
| 142 | .cm-s-mozilla .cm-number, |
| 143 | .variable-or-property .token-number, |
| 144 | .variable-or-property[return] > .title > .name, |
| 145 | .variable-or-property[scope] > .title > .name { |
| 146 | color: var(--theme-highlight-green); |
| 147 | } |
| 148 | |
| 149 | .CodeMirror-Tern-completion-number:before { |
| 150 | background-color: #008484; |
| 151 | } |
| 152 | |
| 153 | .theme-fg-color2, |
| 154 | .cm-s-mozilla .cm-attribute, |
| 155 | .cm-s-mozilla .cm-variable, |
| 156 | .cm-s-mozilla .cm-def, |
| 157 | .cm-s-mozilla .cm-property, |
| 158 | .cm-s-mozilla .cm-qualifier, |
| 159 | .variables-view-variable > .title > .name { |
| 160 | color: var(--theme-highlight-blue); |
| 161 | } |
| 162 | |
| 163 | .CodeMirror-Tern-completion-object:before { |
| 164 | background-color: #9C9CFF; |
| 165 | } |
| 166 | |
| 167 | .cm-s-mozilla .cm-unused-line { |
| 168 | text-decoration: line-through; |
| 169 | text-decoration-color: #8050B0; |
| 170 | } |
| 171 | |
| 172 | .cm-s-mozilla .cm-executed-line { |
| 173 | background-color: #404000; |
| 174 | } |
| 175 | |
| 176 | .theme-fg-color3, |
| 177 | .cm-s-mozilla .cm-builtin, |
| 178 | .cm-s-mozilla .cm-tag, |
| 179 | .cm-s-mozilla .cm-header, |
| 180 | .cm-s-mozilla .cm-bracket, |
| 181 | .variables-view-property > .title > .name, |
| 182 | .variable-or-property[safe-getter] > .title > .name { |
| 183 | color: var(--theme-highlight-pink); |
| 184 | } |
| 185 | |
| 186 | .CodeMirror-Tern-completion-array:before { |
| 187 | color: var(--theme-highlight-pink); /* var(--theme-highlight-bluegrey) */ |
| 188 | } |
| 189 | |
| 190 | .theme-fg-color4 { |
| 191 | color: var(--theme-highlight-purple); |
| 192 | } |
| 193 | |
| 194 | .theme-fg-color5, |
| 195 | .cm-s-mozilla .cm-keyword { |
| 196 | color: var(--theme-highlight-lightorange); |
| 197 | } |
| 198 | |
| 199 | .theme-fg-color6, |
| 200 | .cm-s-mozilla .cm-string, |
| 201 | .cm-s-mozilla .cm-string-2, |
| 202 | .variable-or-property .token-string, |
| 203 | .CodeMirror-Tern-farg { |
| 204 | color: var(--theme-highlight-pink); /* -orange? */ |
| 205 | } |
| 206 | |
| 207 | .CodeMirror-Tern-completion-string:before, |
| 208 | .CodeMirror-Tern-completion-fn:before { |
| 209 | background-color: #E7ADE7; |
| 210 | } |
| 211 | |
| 212 | .theme-fg-color7, |
| 213 | .cm-s-mozilla .cm-atom, |
| 214 | .cm-s-mozilla .cm-quote, |
| 215 | .cm-s-mozilla .cm-error, |
| 216 | .variable-or-property .token-boolean, |
| 217 | .variable-or-property .token-domnode, |
| 218 | .variable-or-property[exception] > .title > .name { |
| 219 | color: var(--theme-highlight-red); |
| 220 | } |
| 221 | |
| 222 | .CodeMirror-Tern-completion-bool:before { |
| 223 | background-color: #FF0000; |
| 224 | } |
| 225 | |
| 226 | .variable-or-property .token-domnode { |
| 227 | font-weight: bold; |
| 228 | } |
| 229 | |
| 230 | .theme-toolbar, |
| 231 | .devtools-toolbar, |
| 232 | .devtools-sidebar-tabs tabs, |
| 233 | .devtools-sidebar-alltabs, |
| 234 | .CodeMirror-dialog { /* General toolbar styling */ |
| 235 | /* color: var(--theme-body-color-alt); |
| 236 | background-color: var(--theme-toolbar-background);*/ |
| 237 | } |
| 238 | |
| 239 | |
| 240 | .theme-fg-contrast { /* To be used for text on theme-bg-contrast */ |
| 241 | color: #FFCF00; |
| 242 | } |
| 243 | |
| 244 | .ruleview-colorswatch, |
| 245 | .computedview-colorswatch, |
| 246 | .ruleview-bezierswatch { |
| 247 | /* box-shadow: 0 0 0 1px #818181; */ |
| 248 | } |
| 249 | |
| 250 | .variables-view-scope:focus > .title, |
| 251 | .variable-or-property:focus > .title { |
| 252 | background-color: #008484; /* fg-color2 */ |
| 253 | color: #000000; |
| 254 | } |
| 255 | |
| 256 | /* CodeMirror specific styles. |
| 257 | * Best effort to match the existing theme, some of the colors |
| 258 | * are duplicated here to prevent weirdness in the main theme. */ |
| 259 | |
| 260 | .CodeMirror, |
| 261 | .CodeMirror.cm-s-mozilla { /* Inherit platform specific font sizing and styles */ |
| 262 | font-family: inherit; |
| 263 | font-size: inherit; |
| 264 | background: transparent; |
| 265 | } |
| 266 | |
| 267 | .CodeMirror pre, |
| 268 | .cm-s-mozilla .cm-variable-2, |
| 269 | .cm-s-mozilla .cm-variable-3, |
| 270 | .cm-s-mozilla .cm-operator, |
| 271 | .cm-s-mozilla .cm-special { |
| 272 | color: var(--theme-content-color1); |
| 273 | } |
| 274 | |
| 275 | .cm-s-mozilla .CodeMirror-lines .CodeMirror-cursor { |
| 276 | border-left: solid 1px #FF9F00; |
| 277 | } |
| 278 | |
| 279 | .cm-s-mozilla.CodeMirror-focused .CodeMirror-selected { /* selected text (focused) */ |
| 280 | background: #008484; |
| 281 | color: #FFCF00; |
| 282 | } |
| 283 | |
| 284 | .cm-s-mozilla .CodeMirror-selected { /* selected text (unfocused) */ |
| 285 | background: #008484; |
| 286 | color: #000000; |
| 287 | } |
| 288 | |
| 289 | .cm-s-mozilla .CodeMirror-activeline-background { /* selected color with alpha */ |
| 290 | background: rgba(0, 132, 132, .25); |
| 291 | } |
| 292 | |
| 293 | div.cm-s-mozilla span.CodeMirror-matchingbracket { /* highlight brackets */ |
| 294 | outline: solid 1px rgba(0, 132, 132, .4); |
| 295 | color: #FFCF00; |
| 296 | } |
| 297 | |
| 298 | /* Highlight for a line that contains an error. */ |
| 299 | div.CodeMirror div.error-line { |
| 300 | background: rgba(255, 0, 0, 0.2); |
| 301 | } |
| 302 | |
| 303 | /* Highlight for a line that represents a stack frame's location. */ |
| 304 | div.CodeMirror div.debug-line { |
| 305 | background: rgba(156, 156, 255, 0.2); |
| 306 | } |
| 307 | |
| 308 | /* Generic highlighted text */ |
| 309 | div.CodeMirror span.marked-text { |
| 310 | background: rgba(255,207,0,0.2); |
| 311 | border: 1px dashed rgba(156, 156, 255, 0.6); |
| 312 | -moz-margin-start: -1px; |
| 313 | -moz-margin-end: -1px; |
| 314 | } |
| 315 | |
| 316 | /* Highlight for evaluating current statement. */ |
| 317 | div.CodeMirror span.eval-text { |
| 318 | background-color: #403800; |
| 319 | } |
| 320 | |
| 321 | .cm-s-mozilla .CodeMirror-linenumber { /* line number text */ |
| 322 | color: var(--theme-content-color2); |
| 323 | } |
| 324 | |
| 325 | .cm-s-mozilla .CodeMirror-gutters { /* vertical line next to line numbers */ |
| 326 | border-right-color: var(--theme-contrast-border); |
| 327 | background-color: var(--theme-contrast-background); |
| 328 | } |
| 329 | |
| 330 | .cm-s-markup-view pre { |
| 331 | line-height: 1.4em; |
| 332 | min-height: 1.4em; |
| 333 | } |
| 334 | |
| 335 | /* Twisty and checkbox controls */ |
| 336 | .theme-twisty, .theme-checkbox { |
| 337 | width: 14px; |
| 338 | height: 14px; |
| 339 | background-repeat: no-repeat; |
| 340 | background-image: url("chrome://devtools/skin/controls.png"); |
| 341 | background-size: 28px 28px; |
| 342 | } |
| 343 | |
| 344 | .theme-twisty { |
| 345 | cursor: pointer; |
| 346 | background-position: -0px -14px; |
| 347 | } |
| 348 | |
| 349 | .theme-twisty:-moz-focusring { |
| 350 | outline-style: none; |
| 351 | } |
| 352 | |
| 353 | .theme-twisty[open] { |
| 354 | background-position: -14px -14px; |
| 355 | } |
| 356 | |
| 357 | .theme-twisty[invisible] { |
| 358 | visibility: hidden; |
| 359 | } |
| 360 | |
| 361 | .theme-checkbox { |
| 362 | display: inline-block; |
| 363 | border: 0; |
| 364 | padding: 0; |
| 365 | outline: none; |
| 366 | background-position: 0 0; |
| 367 | } |
| 368 | |
| 369 | .theme-checkbox[checked] { |
| 370 | background-position: -14px 0; |
| 371 | } |
| 372 | |
| 373 | @media (min-resolution: 1.1dppx) { |
| 374 | .theme-twisty, .theme-checkbox { |
| 375 | background-image: url("chrome://devtools/skin/controls@2x.png"); |
| 376 | } |
| 377 | } |
| 378 | |
| 379 | /* XUL panel styling (see browser/devtools/shared/widgets/Tooltip.js) */ |
| 380 | |
| 381 | .theme-tooltip-panel .panel-arrowcontent { |
| 382 | /* padding: 5px; */ |
| 383 | background: rgba(0, 0, 0, .9); |
| 384 | /* border-radius: 5px; |
| 385 | box-shadow: none; |
| 386 | border: 3px solid #9C9CFF; */ |
| 387 | } |
| 388 | |
| 389 | /* Overring panel arrow images to fit with our light and dark themes */ |
| 390 | /* |
| 391 | .theme-tooltip-panel .panel-arrow[side="top"] { |
| 392 | list-style-image: url("chrome://devtools/skin/tooltip/arrow-vertical-dark.png"); |
| 393 | margin-bottom: -4px; |
| 394 | } |
| 395 | |
| 396 | .theme-tooltip-panel .panel-arrow[side="bottom"] { |
| 397 | list-style-image: url("chrome://devtools/skin/tooltip/arrow-vertical-dark.png"); |
| 398 | margin-top: -4px; |
| 399 | } |
| 400 | |
| 401 | .theme-tooltip-panel .panel-arrow[side="left"] { |
| 402 | list-style-image: url("chrome://devtools/skin/tooltip/arrow-horizontal-dark.png"); |
| 403 | margin-right: -4px; |
| 404 | } |
| 405 | |
| 406 | .theme-tooltip-panel .panel-arrow[side="right"] { |
| 407 | list-style-image: url("chrome://devtools/skin/tooltip/arrow-horizontal-dark.png"); |
| 408 | margin-left: -4px; |
| 409 | } |
| 410 | |
| 411 | @media (min-resolution: 1.1dppx) { |
| 412 | .theme-tooltip-panel .panel-arrow[side="top"], |
| 413 | .theme-tooltip-panel .panel-arrow[side="bottom"] { |
| 414 | list-style-image: url("chrome://devtools/skin/tooltip/arrow-vertical-dark@2x.png"); |
| 415 | } |
| 416 | |
| 417 | .theme-tooltip-panel .panel-arrow[side="left"], |
| 418 | .theme-tooltip-panel .panel-arrow[side="right"] { |
| 419 | list-style-image: url("chrome://devtools/skin/tooltip/arrow-horizontal-dark@2x.png"); |
| 420 | } |
| 421 | } |
| 422 | */ |
| 423 | .theme-tooltip-panel .devtools-tooltip-simple-text { |
| 424 | /* color: white; */ |
| 425 | border-bottom: 1px solid #A09090; |
| 426 | } |
| 427 | |
| 428 | .theme-tooltip-panel .devtools-tooltip-simple-text:last-child { |
| 429 | border-bottom: 0; |
| 430 | } |
| 431 | |
| 432 | .devtools-textinput, |
| 433 | .devtools-searchinput { |
| 434 | background-color: #000000; |
| 435 | color: #E7ADE7; |
| 436 | border: 1px solid #9C9CFF; |
| 437 | } |
| 438 | |
| 439 | .devtools-textinput:focus, |
| 440 | .devtools-searchinput:focus { |
| 441 | border-color: #008484; |
| 442 | } |
| 443 | |
| 444 | .CodeMirror-Tern-fname { |
| 445 | color: #A09090; |
| 446 | } |
| 447 | |
| 448 | .CodeMirror-hints, |
| 449 | .CodeMirror-Tern-tooltip { |
| 450 | background-color: #000000; |
| 451 | color: var(--theme-body-color); |
| 452 | } |
| 453 | |
| 454 | /* === BEGIN toolbars.inc.css === */ |
| 455 | |
| 456 | /* CSS Variables specific to the devtools toolbar that aren't defined by the themes */ |
| 457 | .theme-light, |
| 458 | .theme-dark { |
| 459 | --searchbox-background-color: #000000; |
| 460 | --searchbox-border-color: #9C9CFF; |
| 461 | --searcbox-no-match-background-color: #400000; |
| 462 | --searcbox-no-match-border-color: #FF0000; |
| 463 | } |
| 464 | |
| 465 | /* Toolbars */ |
| 466 | .devtools-toolbar, |
| 467 | .devtools-sidebar-tabs tabs { |
| 468 | } |
| 469 | |
| 470 | .devtools-toolbar { |
| 471 | } |
| 472 | |
| 473 | .devtools-toolbar checkbox { |
| 474 | /* LCARStrek checkbox colors don't work well against toolbar background */ |
| 475 | background-color: var(--theme-toolbar-background); |
| 476 | padding: 2px; |
| 477 | line-height: -moz-block-height; |
| 478 | } |
| 479 | .devtools-toolbar checkbox .checkbox-check { |
| 480 | } |
| 481 | .devtools-toolbar checkbox .checkbox-label-box { |
| 482 | } |
| 483 | .devtools-toolbar checkbox .checkbox-label-box .checkbox-label { |
| 484 | } |
| 485 | |
| 486 | /* Toolbar buttons */ |
| 487 | .devtools-menulist, |
| 488 | .devtools-toolbarbutton { |
| 489 | /* transition: background 0.05s ease-in-out; */ |
| 490 | } |
| 491 | |
| 492 | .devtools-menulist:-moz-focusring, |
| 493 | .devtools-toolbarbutton:-moz-focusring { |
| 494 | outline: 1px dotted var(--theme-selection-color); |
| 495 | } |
| 496 | |
| 497 | .devtools-toolbarbutton[standalone] { |
| 498 | } |
| 499 | .devtools-toolbarbutton[label][standalone] { |
| 500 | } |
| 501 | |
| 502 | .devtools-toolbarbutton:not([label]), |
| 503 | .devtools-toolbarbutton[text-as-image] { |
| 504 | min-width: 20px; |
| 505 | } |
| 506 | |
| 507 | #toolbox-buttons .devtools-toolbarbutton[text-as-image] { |
| 508 | -moz-padding-start: 5px; |
| 509 | -moz-padding-end: 5px; |
| 510 | min-width: inherit; |
| 511 | } |
| 512 | |
| 513 | /* Command buttons with menupopups should be styled slightly differently - |
| 514 | no background color and a bit more narrow */ |
| 515 | #toolbox-buttons .devtools-toolbarbutton:not([text-as-image]):not(:hover):not([open=true]) { |
| 516 | /* background: transparent; */ |
| 517 | } |
| 518 | #toolbox-buttons .devtools-toolbarbutton[type=menu] > .toolbarbutton-menu-dropmarker { |
| 519 | padding: 0 2px; |
| 520 | } |
| 521 | |
| 522 | .devtools-toolbarbutton:not([label]) > .toolbarbutton-text { |
| 523 | display: none; |
| 524 | } |
| 525 | |
| 526 | .devtools-toolbar .devtools-toolbarbutton { |
| 527 | -moz-margin-start: 2px; |
| 528 | } |
| 529 | |
| 530 | .devtools-toolbarbutton > .toolbarbutton-icon { |
| 531 | } |
| 532 | |
| 533 | .devtools-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-button { |
| 534 | /* -moz-box-orient: horizontal; */ |
| 535 | } |
| 536 | |
| 537 | .devtools-toolbarbutton[type=menu-button] { |
| 538 | } |
| 539 | |
| 540 | .devtools-toolbarbutton > .toolbarbutton-menubutton-button > .toolbarbutton-icon { |
| 541 | } |
| 542 | |
| 543 | .devtools-menulist > .menulist-dropmarker { |
| 544 | } |
| 545 | |
| 546 | .devtools-toolbarbutton[type=menu] > .toolbarbutton-menu-dropmarker, |
| 547 | .devtools-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-dropmarker { |
| 548 | } |
| 549 | |
| 550 | .devtools-menulist, |
| 551 | .devtools-toolbarbutton { |
| 552 | } |
| 553 | |
| 554 | /* Text-only buttons */ |
| 555 | .devtools-toolbarbutton[label]:not([text-as-image]):not([type=menu-button]), |
| 556 | #toolbox-buttons .devtools-toolbarbutton[text-as-image] { |
| 557 | /* background-color: rgba(0, 0, 0, .2); / Splitter */ |
| 558 | } |
| 559 | |
| 560 | /* Button States */ |
| 561 | .devtools-toolbarbutton:not([disabled]):hover, |
| 562 | #toolbox-buttons .devtools-toolbarbutton:not([disabled])[text-as-image]:hover, |
| 563 | .devtools-toolbarbutton:not([disabled])[label]:not([text-as-image]):not([type=menu-button]):hover { |
| 564 | /* background: rgba(0, 0, 0, .3); / Splitters */ |
| 565 | } |
| 566 | |
| 567 | .devtools-toolbarbutton:not([disabled]):hover:active, |
| 568 | #toolbox-buttons .devtools-toolbarbutton:not([disabled])[text-as-image]:hover:active, |
| 569 | .devtools-toolbarbutton:not([disabled])[label]:not([text-as-image]):not([type=menu-button]):hover:active { |
| 570 | /* background: rgba(0, 0, 0, .4); / Splitters */ |
| 571 | } |
| 572 | |
| 573 | /* Menu type buttons and checked states */ |
| 574 | .devtools-toolbarbutton[checked=true], |
| 575 | #toolbox-buttons .devtools-toolbarbutton[text-as-image][checked] { |
| 576 | /* background: rgba(29, 79, 115, .7); / Select highlight blue / |
| 577 | color: var(--theme-selection-color); */ |
| 578 | } |
| 579 | |
| 580 | .devtools-menulist[open=true], |
| 581 | .devtools-toolbarbutton[open=true], |
| 582 | .devtools-toolbarbutton[open=true]:hover, |
| 583 | .devtools-toolbarbutton[open=true]:hover:active, |
| 584 | .devtools-toolbarbutton[checked=true], |
| 585 | .devtools-toolbarbutton[checked=true]:hover, |
| 586 | #toolbox-buttons .devtools-toolbarbutton[text-as-image][checked] { |
| 587 | /* background: rgba(29, 79, 115, .8); / Select highlight blue / |
| 588 | color: var(--theme-selection-color); */ |
| 589 | } |
| 590 | |
| 591 | .devtools-toolbarbutton[checked=true]:hover { |
| 592 | } |
| 593 | |
| 594 | .devtools-option-toolbarbutton { |
| 595 | list-style-image: url("chrome://devtools/skin/tool-options-tbutton.svg"); |
| 596 | /* background: none; |
| 597 | border: none; */ |
| 598 | } |
| 599 | |
| 600 | .devtools-option-toolbarbutton:hover, |
| 601 | .devtools-option-toolbarbutton[open=true] { |
| 602 | list-style-image: url("chrome://devtools/skin/tool-options.svg"); |
| 603 | } |
| 604 | |
| 605 | /* Toolbar button groups */ |
| 606 | .devtools-toolbarbutton-group > .devtools-toolbarbutton { |
| 607 | } |
| 608 | |
| 609 | .devtools-toolbarbutton-group > .devtools-toolbarbutton:last-child { |
| 610 | } |
| 611 | |
| 612 | .devtools-toolbarbutton-group + .devtools-toolbarbutton { |
| 613 | } |
| 614 | |
| 615 | .devtools-separator + .devtools-toolbarbutton { |
| 616 | } |
| 617 | |
| 618 | /* HTML buttons, similar to toolbar buttons, but work in HTML documents */ |
| 619 | |
| 620 | .devtools-button { |
| 621 | border: 0 solid var(--theme-splitter-color); |
| 622 | background: var(--theme-toolbar-background); |
| 623 | color: var(--theme-body-color); |
| 624 | margin: 0 1px; |
| 625 | padding: 0 6px; |
| 626 | min-width: 16px; |
| 627 | min-height: 18px; |
| 628 | /* The icon is absolutely positioned in the button using ::before */ |
| 629 | position: relative; |
| 630 | } |
| 631 | |
| 632 | .devtools-button[standalone] { |
| 633 | min-height: 32px; |
| 634 | border-width: 1px; |
| 635 | } |
| 636 | |
| 637 | /* Button States */ |
| 638 | .devtools-button:not([disabled]):hover { |
| 639 | background: var(--theme-hover-background); |
| 640 | color: var(--theme-hover-color); |
| 641 | } |
| 642 | |
| 643 | .devtools-button:not([disabled]):hover:active { |
| 644 | background: var(--theme-active-background); |
| 645 | color: var(--theme-active-color); |
| 646 | } |
| 647 | |
| 648 | /* Menu type buttons and checked states */ |
| 649 | .devtools-button[checked] { |
| 650 | background: var(--theme-selection-background); |
| 651 | color: var(--theme-selection-color); |
| 652 | } |
| 653 | |
| 654 | .devtools-button::before { |
| 655 | content: ""; |
| 656 | display: block; |
| 657 | width: 16px; |
| 658 | height: 16px; |
| 659 | position: absolute; |
| 660 | left: 50%; |
| 661 | top: 50%; |
| 662 | margin: -8px 0 0 -8px; |
| 663 | background-repeat: no-repeat; |
| 664 | } |
| 665 | |
| 666 | .devtools-button[disabled]::before, |
| 667 | .devtools-button:disabled::before { |
| 668 | opacity: 0.5; |
| 669 | } |
| 670 | |
| 671 | @media (min-resolution: 1.1dppx) { |
| 672 | .devtools-button::before { |
| 673 | background-size: 32px; |
| 674 | } |
| 675 | } |
| 676 | |
| 677 | :root { |
| 678 | --clear-icon-url: url("chrome://devtools/skin/images/clear.svg"); |
| 679 | } |
| 680 | |
| 681 | .devtools-button.devtools-clear-icon::before { |
| 682 | background-image: var(--clear-icon-url); |
| 683 | } |
| 684 | |
| 685 | .devtools-toolbarbutton.devtools-clear-icon { |
| 686 | list-style-image: var(--clear-icon-url); |
| 687 | } |
| 688 | |
| 689 | /* Text input */ |
| 690 | |
| 691 | .devtools-textinput, |
| 692 | .devtools-searchinput { |
| 693 | /* -moz-appearance: none; |
| 694 | margin: 0 3px; |
| 695 | border: 1px solid rgb(88, 94, 101); |
| 696 | border-radius: 2px; |
| 697 | background-color: rgba(24, 29, 32, 1); |
| 698 | padding: 4px 6px; |
| 699 | color: rgba(184, 200, 217, 1);*/ |
| 700 | } |
| 701 | |
| 702 | .devtools-searchinput { |
| 703 | /* margin-top: 1px; |
| 704 | margin-bottom: 1px; |
| 705 | padding: 0;*/ |
| 706 | -moz-padding-start: 22px; |
| 707 | -moz-padding-end: 4px; |
| 708 | background-position: 8px center; |
| 709 | background-size: 11px 11px; |
| 710 | background-repeat: no-repeat; |
| 711 | font-size: inherit; |
| 712 | |
| 713 | background-image: url("magnifying-glass.png"); |
| 714 | } |
| 715 | |
| 716 | .devtools-searchinput:-moz-locale-dir(rtl) { |
| 717 | background-position: calc(100% - 8px) center; |
| 718 | } |
| 719 | |
| 720 | .devtools-searchinput > .textbox-input-box > .textbox-search-icons > .textbox-search-icon { |
| 721 | visibility: hidden; |
| 722 | } |
| 723 | |
| 724 | /* Searchbox is a div container element for a search input element */ |
| 725 | .devtools-searchbox { |
| 726 | display: flex; |
| 727 | flex: 1; |
| 728 | position: relative; |
| 729 | } |
| 730 | |
| 731 | .devtools-rule-searchbox { |
| 732 | -moz-box-flex: 1; |
| 733 | padding-right: 23px; |
| 734 | width: 100%; |
| 735 | font: inherit; |
| 736 | } |
| 737 | |
| 738 | .devtools-rule-searchbox[filled] { |
| 739 | background-color: var(--searchbox-background-color); |
| 740 | border-color: var(--searchbox-border-color); |
| 741 | } |
| 742 | |
| 743 | .devtools-style-searchbox-no-match { |
| 744 | background-color: var(--searcbox-no-match-background-color) !important; |
| 745 | border-color: var(--searcbox-no-match-border-color) !important; |
| 746 | } |
| 747 | |
| 748 | .devtools-no-search-result { |
| 749 | border-color: var(--theme-highlight-red) !important; |
| 750 | } |
| 751 | |
| 752 | .devtools-searchinput-clear { |
| 753 | position: absolute; |
| 754 | top: 3.5px; |
| 755 | right: 7px; |
| 756 | padding: 0; |
| 757 | border: 0; |
| 758 | width: 16px; |
| 759 | height: 16px; |
| 760 | background-position: 0 0; |
| 761 | background-repeat: no-repeat; |
| 762 | background-color: transparent; |
| 763 | } |
| 764 | |
| 765 | .devtools-searchinput-clear { |
| 766 | background-image: url("chrome://devtools/skin/search-clear.svg"); |
| 767 | } |
| 768 | |
| 769 | .devtools-style-searchbox-no-match + .devtools-searchinput-clear { |
| 770 | background-image: url("chrome://devtools/skin/search-clear-failed.svg") !important; |
| 771 | } |
| 772 | |
| 773 | .devtools-searchinput-clear:hover { |
| 774 | background-position: -16px 0; |
| 775 | } |
| 776 | |
| 777 | .devtools-searchinput > .textbox-input-box > .textbox-search-icons > .textbox-search-clear { |
| 778 | list-style-image: url("chrome://devtools/skin/search-clear.svg"); |
| 779 | -moz-image-region: rect(0, 16px, 16px, 0); |
| 780 | } |
| 781 | |
| 782 | .devtools-searchinput > .textbox-input-box > .textbox-search-icons > .textbox-search-clear:hover { |
| 783 | -moz-image-region: rect(0, 32px, 16px, 16px); |
| 784 | } |
| 785 | |
| 786 | @media (min-resolution: 1.1dppx) { |
| 787 | .devtools-searchinput { |
| 788 | background-image: url("magnifying-glass@2x.png"); |
| 789 | } |
| 790 | } |
| 791 | |
| 792 | /* Close button */ |
| 793 | |
| 794 | .devtools-closebutton { |
| 795 | min-width: 16px; |
| 796 | width: 16px; |
| 797 | } |
| 798 | |
| 799 | .devtools-closebutton > image { |
| 800 | width: 16px; |
| 801 | height: 16px; |
| 802 | -moz-appearance: none; |
| 803 | background-size: 32px 16px; |
| 804 | background-image: url("chrome://devtools/skin/close@2x.png"); |
| 805 | background-position: 0 center; |
| 806 | background-repeat: no-repeat; |
| 807 | } |
| 808 | |
| 809 | .devtools-closebutton:hover > image, |
| 810 | .devtools-closebutton:hover:active > image { |
| 811 | background-position: -16px center; |
| 812 | } |
| 813 | |
| 814 | .devtools-closebutton > .toolbarbutton-text { |
| 815 | display: none; |
| 816 | } |
| 817 | |
| 818 | #toolbox-close::before { |
| 819 | background-image: url("chrome://devtools/skin/close@2x.png"); |
| 820 | } |
| 821 | |
| 822 | /* In-tools sidebar */ |
| 823 | |
| 824 | .devtools-sidebar-tabs { |
| 825 | } |
| 826 | |
| 827 | .devtools-sidebar-tabs > tabpanels { |
| 828 | padding: 0; |
| 829 | border: 0; |
| 830 | } |
| 831 | |
| 832 | .devtools-sidebar-tabs tabs { |
| 833 | position: static; |
| 834 | overflow: hidden; |
| 835 | } |
| 836 | |
| 837 | .devtools-sidebar-alltabs { |
| 838 | /* height: 24px; |
| 839 | line-height: 24px; |
| 840 | padding: 0 4px; |
| 841 | margin: 0; |
| 842 | border-width: 0 0 1px 0; |
| 843 | -moz-border-start-width: 1px; |
| 844 | border-style: solid;*/ |
| 845 | } |
| 846 | |
| 847 | .devtools-sidebar-alltabs .toolbarbutton-icon { |
| 848 | display: none; |
| 849 | } |
| 850 | |
| 851 | .devtools-sidebar-tabs tabs > .tabs-right, |
| 852 | .devtools-sidebar-tabs tabs > .tabs-left { |
| 853 | display: none; |
| 854 | } |
| 855 | |
| 856 | .devtools-sidebar-tabs tabs > tab { |
| 857 | min-width: 78px; |
| 858 | text-align: center; |
| 859 | -moz-box-flex: 1; |
| 860 | position: static; |
| 861 | margin-top: 0; |
| 862 | } |
| 863 | |
| 864 | .devtools-sidebar-tabs tabs > tab:-moz-focusring { |
| 865 | position: static; |
| 866 | } |
| 867 | |
| 868 | .devtools-sidebar-tabs tabs > tab:first-of-type { |
| 869 | -moz-margin-start: 0; |
| 870 | } |
| 871 | |
| 872 | .devtools-sidebar-tabs tabs > tab:last-of-type { |
| 873 | -moz-border-end-width: 0; |
| 874 | } |
| 875 | |
| 876 | .devtools-sidebar-tabs tabs > tab { |
| 877 | } |
| 878 | |
| 879 | .devtools-sidebar-tabs tabs > tab[selected], |
| 880 | .devtools-sidebar-tabs tabs > tab[selected] + tab { |
| 881 | } |
| 882 | |
| 883 | .devtools-sidebar-tabs tabs > tab:first-child { |
| 884 | } |
| 885 | |
| 886 | .devtools-sidebar-tabs tabs > tab:hover { |
| 887 | } |
| 888 | |
| 889 | .devtools-sidebar-tabs tabs > tab:hover:active { |
| 890 | } |
| 891 | |
| 892 | .devtools-sidebar-tabs tabs > tab[selected] + tab:hover { |
| 893 | } |
| 894 | |
| 895 | .devtools-sidebar-tabs tabs > tab[selected] + tab:hover:active { |
| 896 | } |
| 897 | |
| 898 | .devtools-sidebar-tabs tabs > tab[selected], |
| 899 | .devtools-sidebar-tabs tabs > tab[selected]:hover:active { |
| 900 | } |
| 901 | |
| 902 | /* Toolbox - moved from toolbox.css. |
| 903 | * Rules that apply to the global toolbox like command buttons, |
| 904 | * devtools tabs, docking buttons, etc. */ |
| 905 | |
| 906 | #toolbox-controls > toolbarbutton, |
| 907 | #toolbox-dock-buttons > toolbarbutton { |
| 908 | min-width: 16px; |
| 909 | /* padding: 1px 3px; */ |
| 910 | } |
| 911 | |
| 912 | #toolbox-dock-buttons > toolbarbutton > image { |
| 913 | width: 16px; |
| 914 | height: 16px; |
| 915 | background-size: 32px 16px; |
| 916 | background-position: 0 center; |
| 917 | background-repeat: no-repeat; |
| 918 | } |
| 919 | |
| 920 | #toolbox-dock-buttons > toolbarbutton:hover > image { |
| 921 | background-position: -16px center; |
| 922 | } |
| 923 | |
| 924 | #toolbox-dock-bottom::before, |
| 925 | #toolbox-dock-bottom > image { |
| 926 | background-image: url("chrome://devtools/skin/dock-bottom@2x.png"); |
| 927 | } |
| 928 | |
| 929 | #toolbox-dock-side::before, |
| 930 | #toolbox-dock-side > image { |
| 931 | background-image: url("chrome://devtools/skin/dock-side@2x.png"); |
| 932 | } |
| 933 | |
| 934 | #toolbox-dock-window::before, |
| 935 | #toolbox-dock-window > image { |
| 936 | background-image: url("chrome://devtools/skin/undock@2x.png"); |
| 937 | } |
| 938 | |
| 939 | #toolbox-dock-bottom-minimize { |
| 940 | /* Bug 1177463 - The minimize button is currently hidden until we agree on |
| 941 | the UI for it, and until bug 1173849 is fixed too. */ |
| 942 | display: none; |
| 943 | } |
| 944 | |
| 945 | #toolbox-dock-bottom-minimize > image { |
| 946 | background-image: url("chrome://devtools/skin/dock-bottom-minimize@2x.png"); |
| 947 | } |
| 948 | |
| 949 | #toolbox-dock-bottom-minimize.minimized > image { |
| 950 | background-image: url("chrome://devtools/skin/dock-bottom-maximize@2x.png"); |
| 951 | } |
| 952 | |
| 953 | #toolbox-dock-window, |
| 954 | #toolbox-dock-bottom, |
| 955 | #toolbox-dock-side { |
| 956 | } |
| 957 | |
| 958 | #toolbox-dock-window:hover, |
| 959 | #toolbox-dock-bottom:hover, |
| 960 | #toolbox-dock-side:hover { |
| 961 | } |
| 962 | |
| 963 | .devtools-separator { |
| 964 | margin: 0 2px; |
| 965 | width: 2px; |
| 966 | } |
| 967 | |
| 968 | #toolbox-buttons:empty + .devtools-separator, |
| 969 | .devtools-separator[invisible] { |
| 970 | visibility: hidden; |
| 971 | } |
| 972 | |
| 973 | #toolbox-controls-separator { |
| 974 | margin: 0; |
| 975 | width: 1px; |
| 976 | } |
| 977 | |
| 978 | /* Command buttons */ |
| 979 | |
| 980 | .command-button { |
| 981 | /* padding: 1px 4px; */ |
| 982 | min-width: 16px; |
| 983 | } |
| 984 | |
| 985 | .command-button:hover { |
| 986 | } |
| 987 | .command-button:hover:active { |
| 988 | } |
| 989 | |
| 990 | #toolbox-close::before, |
| 991 | .toolbox-dock-button::before, |
| 992 | .command-button::before, |
| 993 | .command-button > image { |
| 994 | width: 16px; |
| 995 | height: 16px; |
| 996 | background-size: 32px 16px; |
| 997 | background-position: 0 center; |
| 998 | background-repeat: no-repeat; |
| 999 | } |
| 1000 | |
| 1001 | #toolbox-close:hover::before, |
| 1002 | #toolbox-close:hover:active::before, |
| 1003 | .toolbox-dock-button:hover::before, |
| 1004 | .toolbox-dock-button:hover:active::before, |
| 1005 | .command-button:hover::before, |
| 1006 | .command-button:hover:active::before, |
| 1007 | .command-button[checked=true]::before, |
| 1008 | .command-button[open=true]::before, |
| 1009 | .command-button:hover > image, |
| 1010 | .command-button:hover:active > image, |
| 1011 | .command-button[checked=true] > image, |
| 1012 | .command-button[open=true] > image { |
| 1013 | background-position: -16px center; |
| 1014 | } |
| 1015 | |
| 1016 | #command-button-paintflashing::before, |
| 1017 | #command-button-paintflashing > image { |
| 1018 | background-image: url("chrome://devtools/skin/command-paintflashing.png"); |
| 1019 | } |
| 1020 | |
| 1021 | #command-button-screenshot::before, |
| 1022 | #command-button-screenshot > image { |
| 1023 | background-image: url("chrome://devtools/skin/command-screenshot.png"); |
| 1024 | } |
| 1025 | |
| 1026 | #command-button-responsive::before, |
| 1027 | #command-button-responsive > image { |
| 1028 | background-image: url("chrome://devtools/skin/command-responsivemode.png"); |
| 1029 | } |
| 1030 | |
| 1031 | #command-button-tilt::before, |
| 1032 | #command-button-tilt > image { |
| 1033 | background-image: url("chrome://devtools/skin/command-tilt.png"); |
| 1034 | } |
| 1035 | |
| 1036 | #command-button-scratchpad::before, |
| 1037 | #command-button-scratchpad > image { |
| 1038 | background-image: url("chrome://devtools/skin/command-scratchpad.png"); |
| 1039 | } |
| 1040 | |
| 1041 | #command-button-pick::before, |
| 1042 | #command-button-pick > image { |
| 1043 | background-image: url("chrome://devtools/skin/command-pick.png"); |
| 1044 | } |
| 1045 | |
| 1046 | #command-button-frames::before, |
| 1047 | #command-button-frames > image { |
| 1048 | background-image: url("chrome://devtools/skin/command-frames.png"); |
| 1049 | } |
| 1050 | |
| 1051 | #command-button-splitconsole::before, |
| 1052 | #command-button-splitconsole > image { |
| 1053 | background-image: url("chrome://devtools/skin/command-console.png"); |
| 1054 | } |
| 1055 | |
| 1056 | #command-button-eyedropper::before, |
| 1057 | #command-button-eyedropper > image { |
| 1058 | background-image: url("chrome://devtools/skin/command-eyedropper.png"); |
| 1059 | } |
| 1060 | |
| 1061 | #command-button-rulers::before, |
| 1062 | #command-button-rulers > image { |
| 1063 | background-image: url("chrome://devtools/skin/command-rulers.png"); |
| 1064 | } |
| 1065 | |
| 1066 | #command-button-measure::before, |
| 1067 | #command-button-measure > image { |
| 1068 | background-image: url("chrome://devtools/skin/images/command-measure.png"); |
| 1069 | } |
| 1070 | |
| 1071 | @media (min-resolution: 1.1dppx) { |
| 1072 | #command-button-paintflashing > image { |
| 1073 | background-image: url("chrome://devtools/skin/command-paintflashing@2x.png"); |
| 1074 | } |
| 1075 | |
| 1076 | #command-button-screenshot > image { |
| 1077 | background-image: url("chrome://devtools/skin/command-screenshot@2x.png"); |
| 1078 | } |
| 1079 | |
| 1080 | #command-button-responsive > image { |
| 1081 | background-image: url("chrome://devtools/skin/command-responsivemode@2x.png"); |
| 1082 | } |
| 1083 | |
| 1084 | #command-button-tilt > image { |
| 1085 | background-image: url("chrome://devtools/skin/command-tilt@2x.png"); |
| 1086 | } |
| 1087 | |
| 1088 | #command-button-scratchpad > image { |
| 1089 | background-image: url("chrome://devtools/skin/command-scratchpad@2x.png"); |
| 1090 | } |
| 1091 | |
| 1092 | #command-button-pick > image { |
| 1093 | background-image: url("chrome://devtools/skin/command-pick@2x.png"); |
| 1094 | } |
| 1095 | |
| 1096 | #command-button-frames > image { |
| 1097 | background-image: url("chrome://devtools/skin/command-frames@2x.png"); |
| 1098 | } |
| 1099 | |
| 1100 | #command-button-splitconsole > image { |
| 1101 | background-image: url("chrome://devtools/skin/command-console@2x.png"); |
| 1102 | } |
| 1103 | |
| 1104 | #command-button-eyedropper > image { |
| 1105 | background-image: url("chrome://devtools/skin/command-eyedropper@2x.png"); |
| 1106 | } |
| 1107 | |
| 1108 | #command-button-rulers > image { |
| 1109 | background-image: url("chrome://devtools/skin/command-rulers@2x.png"); |
| 1110 | } |
| 1111 | |
| 1112 | #command-button-measure > image { |
| 1113 | background-image: url("chrome://devtools/skin/images/command-measure@2x.png"); |
| 1114 | } |
| 1115 | } |
| 1116 | |
| 1117 | /* Tabs */ |
| 1118 | |
| 1119 | .devtools-tabbar { |
| 1120 | } |
| 1121 | |
| 1122 | #toolbox-tabs { |
| 1123 | padding-inline-start: 3px; |
| 1124 | margin-inline-start: 2px; /* this is only needed for the old button design */ |
| 1125 | margin-inline-end: 3px; /* this is for the new ::before-based button design */ |
| 1126 | background-color: #000000; |
| 1127 | color: #FFCF00; |
| 1128 | } |
| 1129 | |
| 1130 | .toolbox-panel { |
| 1131 | display: -moz-box; |
| 1132 | -moz-box-flex: 1; |
| 1133 | visibility: collapse; |
| 1134 | } |
| 1135 | |
| 1136 | #toolbox-deck[selectedIndex] > .toolbox-panel, /* workaround for Firefox 47 and older */ |
| 1137 | .toolbox-panel[selected] { |
| 1138 | visibility: visible; |
| 1139 | } |
| 1140 | |
| 1141 | .devtools-tab { |
| 1142 | min-width: 32px; |
| 1143 | max-width: 110px; |
| 1144 | color: #000000; |
| 1145 | margin: 0; |
| 1146 | -moz-margin-end: 3px; |
| 1147 | padding: 1px; |
| 1148 | -moz-padding-start: 3px; |
| 1149 | background-color: #C09070; |
| 1150 | border-radius: 8px 8px 0 0; |
| 1151 | } |
| 1152 | |
| 1153 | .devtools-tab > image { |
| 1154 | -moz-margin-end: 0px; |
| 1155 | /* -moz-margin-start: 4px; */ |
| 1156 | max-height: 16px; |
| 1157 | width: 16px; /* Prevents collapse during theme switching */ |
| 1158 | } |
| 1159 | |
| 1160 | .devtools-tab:hover > image { |
| 1161 | } |
| 1162 | |
| 1163 | .devtools-tab:active > image, |
| 1164 | .devtools-tab[selected] > image { |
| 1165 | } |
| 1166 | |
| 1167 | .devtools-tab:hover, |
| 1168 | .devtools-tab:hover:active { |
| 1169 | background-color: var(--theme-hover-background); |
| 1170 | color: var(--theme-hover-color); |
| 1171 | } |
| 1172 | |
| 1173 | .devtools-tab[selected] { |
| 1174 | background-color: var(--theme-selection-background); |
| 1175 | color: var(--theme-selection-color); |
| 1176 | } |
| 1177 | |
| 1178 | .devtools-tab > spacer { |
| 1179 | max-width: 0; |
| 1180 | -moz-box-flex: 0; |
| 1181 | } |
| 1182 | |
| 1183 | .devtools-tab > image { |
| 1184 | -moz-margin-end: 0; |
| 1185 | -moz-margin-start: 0; |
| 1186 | } |
| 1187 | |
| 1188 | #toolbox-picker-container { |
| 1189 | margin-inline-start: 1px; |
| 1190 | } |
| 1191 | |
| 1192 | #toolbox-option-container { |
| 1193 | background-color: #000000; |
| 1194 | padding-inline-start: 3px; |
| 1195 | margin-inline-end: 1px; |
| 1196 | } |
| 1197 | |
| 1198 | #toolbox-tab-options { |
| 1199 | min-width: 20px; |
| 1200 | } |
| 1201 | |
| 1202 | #toolbox-tab-options > image { |
| 1203 | -moz-margin-end: 3px; |
| 1204 | } |
| 1205 | |
| 1206 | .devtools-tab:not([highlighted]) > .highlighted-icon, |
| 1207 | .devtools-tab[selected] > .highlighted-icon, |
| 1208 | .devtools-tab:not([selected])[highlighted] > .default-icon { |
| 1209 | visibility: collapse; |
| 1210 | } |
| 1211 | |
| 1212 | .devtools-tab:not([selected])[highlighted] { |
| 1213 | } |
| 1214 | |
| 1215 | .devtools-tab:not([selected])[highlighted] { |
| 1216 | color: #FFCF00; |
| 1217 | } |
| 1218 | |
| 1219 | .devtools-tab:not([highlighted]) > .highlighted-icon, |
| 1220 | .devtools-tab[selected] > .highlighted-icon, |
| 1221 | .devtools-tab:not([selected])[highlighted] > .default-icon { |
| 1222 | visibility: collapse; |
| 1223 | } |
| 1224 | |
| 1225 | /* The options tab is special - it doesn't have the same parent |
| 1226 | as the other tabs (toolbox-option-container vs toolbox-tabs) */ |
| 1227 | #toolbox-option-container .devtools-tab:not([selected]) { |
| 1228 | /* background-color: transparent;*/ |
| 1229 | } |
| 1230 | #toolbox-option-container .devtools-tab { |
| 1231 | /* border-color: transparent; |
| 1232 | border-width: 0; |
| 1233 | -moz-padding-start: 1px;*/ |
| 1234 | } |
| 1235 | #toolbox-tab-options > image { |
| 1236 | /* margin: 0 8px;*/ |
| 1237 | } |
| 1238 | |
| 1239 | .hidden-labels-box:not(.visible) > label, |
| 1240 | .hidden-labels-box.visible ~ .hidden-labels-box > label:last-child { |
| 1241 | display: none; |
| 1242 | } |
| 1243 | |
| 1244 | .devtools-horizontal-splitter { |
| 1245 | /* border-bottom: 1px solid var(--theme-splitter-color); */ |
| 1246 | } |
| 1247 | |
| 1248 | .devtools-side-splitter { |
| 1249 | /* -moz-border-end: 1px solid var(--theme-splitter-color); |
| 1250 | border-color: var(--theme-splitter-color); / Needed for responsive container at low width. */ |
| 1251 | } |
| 1252 | /* Throbbers */ |
| 1253 | |
| 1254 | .devtools-throbber::before { |
| 1255 | content: ""; |
| 1256 | display: inline-block; |
| 1257 | vertical-align: bottom; |
| 1258 | -moz-margin-end: 0.5em; |
| 1259 | width: 1em; |
| 1260 | height: 1em; |
| 1261 | border: 2px solid currentColor; |
| 1262 | border-right-color: transparent; |
| 1263 | border-radius: 50%; |
| 1264 | animation: 1.1s linear throbber-spin infinite; |
| 1265 | } |
| 1266 | |
| 1267 | @keyframes throbber-spin { |
| 1268 | from { |
| 1269 | transform: none; |
| 1270 | } |
| 1271 | to { |
| 1272 | transform: rotate(360deg); |
| 1273 | } |
| 1274 | } |
| 1275 | |
| 1276 | /* === END toolbars.inc.css === */ |