From: Robert Kaiser Date: Sat, 13 Apr 2013 01:12:02 +0000 (+0200) Subject: add some additional files for dev toolbox in Nightly 23 (possibly 22 as well) X-Git-Tag: LCARStrek-2.18~4 X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=commitdiff_plain;h=cc7e70eb6f20567d466ab1f5f358190b6be7083d;hp=099c339a1800baeed6973f01b59ffb122b75c22a add some additional files for dev toolbox in Nightly 23 (possibly 22 as well) --- diff --git a/LCARStrek/browser/devtools/common.css b/LCARStrek/browser/devtools/common.css index a79b0ceb..3eb105c6 100644 --- a/LCARStrek/browser/devtools/common.css +++ b/LCARStrek/browser/devtools/common.css @@ -201,6 +201,7 @@ devtools-menulist:-moz-focusring, text-align: center; -moz-box-flex: 1; position: static; + margin-top: 0; } .devtools-sidebar-tabs > tabs > tab:-moz-focusring { diff --git a/LCARStrek/browser/devtools/font-inspector.css b/LCARStrek/browser/devtools/font-inspector.css new file mode 100644 index 00000000..5d02dca6 --- /dev/null +++ b/LCARStrek/browser/devtools/font-inspector.css @@ -0,0 +1,87 @@ +* { + -moz-box-sizing: border-box; +} + +body { + margin: 0; + padding-bottom: 20px; +} + +#all-fonts { + padding: 0; + margin: 0; +} + +#showall { + border-radius: 300px; + border: none; + background-color: #C09070; + color: #000000; + margin: 3px; + cursor: pointer; + position: fixed; + bottom: 0; + right: 0; +} + +#showall:hover, +#showall:hover:active { + background-color: #FFCF00; + color: #000000; +} + +.font { + padding: 10px 5px; + font-size: 0; +} + +.theme-dark .font { + border-bottom: 1px solid #9C9CFF; +} + +.theme-light .font { + border-bottom: 1px solid #9C9CFF; +} + +.font:last-of-type { + border-bottom: 0; +} + +.theme-light .font:nth-child(even) { + background-color: rgba(255,159,0,.2); +} + +.font-preview { + height: 60px; + width: 100%; + border: 0; + display: block; +} + +.font-info { + font-size: 1rem; + display: block; +} + +.font-name { + display: inline; +} + +.font-css-code { + max-width: 100%; + overflow: hidden; + text-overflow: ellipsis; + padding: 5px; +} + +.theme-light .font-css-code, +.theme-light .font-url { + border: 1px solid #A09090; + color: #9C9CFF; +} + +.theme-dark .font-css-code, +.theme-dark .font-url { + border: 1px solid #A09090; + color: #9C9CFF; +} diff --git a/LCARStrek/browser/devtools/inspector.css b/LCARStrek/browser/devtools/inspector.css index 15a1741b..cd6106fb 100644 --- a/LCARStrek/browser/devtools/inspector.css +++ b/LCARStrek/browser/devtools/inspector.css @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + window { padding: 0; } diff --git a/LCARStrek/browser/devtools/netmonitor.css b/LCARStrek/browser/devtools/netmonitor.css new file mode 100644 index 00000000..810cf2d2 --- /dev/null +++ b/LCARStrek/browser/devtools/netmonitor.css @@ -0,0 +1,268 @@ +/* vim:set ts=2 sw=2 sts=2 et: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +window { + padding: 0; +} + +/* Network requests table */ + +#body { + background-color: #000000; +} + +.requests-menu-empty-notice { + background-color: #A09090; + border-radius: 8px; + padding: 12px; + font-size: 110%; + color: #000000; +} + +#requests-menu-toolbar { +} + +.requests-menu-header { + text-align: center; +} + +.requests-menu-subitem { + padding: 0 4px; +} + +.requests-menu-header:not(:last-of-type), +.requests-menu-subitem:not(:last-child) { + -moz-border-end: 1px solid #9C9CFF; +} + +.requests-menu-status-and-method { + width: 8em; +} + +.requests-menu-status { + background-color: #A09090; + width: 10px; + height: 10px; + -moz-margin-start: 4px; + -moz-margin-end: 2px; + border-radius: 20px; + border: 1px solid #000000; + transition: background-color 0.5s ease-in-out; +} + +.requests-menu-status[code^="1"] { + background-color: #9C9CFF; +} + +.requests-menu-status[code^="2"] { + background-color: #008484; +} + +.requests-menu-status[code^="3"] { + background-color: #FF9F00; +} + +.requests-menu-status[code^="4"] { + background-color: #FF0000; +} + +.requests-menu-status[code^="5"] { + background-color: #6000CF; +} + +.requests-menu-method { + text-align: center; + font-weight: 600; +} + +.requests-menu-file { + width: 16em; +} + +.requests-menu-domain { + width: 16em; +} + +.requests-menu-type { + text-align: center; + width: 4em; +} + +.requests-menu-size { + text-align: center; + width: 8em; +} + +.requests-menu-header.requests-menu-waterfall { + -moz-padding-start: 8px; + -moz-padding-end: 8px; + text-align: center; +} + +/* Network request waterfall */ + +.requests-menu-subitem.requests-menu-waterfall { + -moz-padding-start: 4px; + -moz-padding-end: 4px; + background-size: 5px; + background-image: + -moz-linear-gradient(left, + transparent 25%, + rgba(156,156,255,0.1) 25%, + rgba(156,156,255,0.1) 75%, + transparent 75%); +} + +.requests-menu-timings { + transform-origin: left center; +} + +.requests-menu-timings-total { + -moz-padding-start: 8px; + font-size: 85%; + font-weight: 600; + transform-origin: left center; +} + +.requests-menu-timings-cap { + width: 4px; + height: 10px; + border: 1px solid #FFCF00; +} + +.requests-menu-timings-cap.start { + -moz-border-end: none; + border-radius: 4px 0 0 4px; + transform-origin: right center; +} + +.requests-menu-timings-cap.end { + -moz-border-start: none; + border-radius: 0 4px 4px 0; + transform-origin: left center; +} + +.requests-menu-timings-box { + height: 10px; + border-top: 1px solid #FFCF00; + border-bottom: 1px solid #FFCF00; +} + +.requests-menu-timings-box.blocked, +.requests-menu-timings-cap.blocked { + background-color: #FF0000; +} + +.requests-menu-timings-box.dns, +.requests-menu-timings-cap.dns { + background-color: #6000CF; +} + +.requests-menu-timings-box.connect, +.requests-menu-timings-cap.connect { + background-color: #FF9F00; +} + +.requests-menu-timings-box.send, +.requests-menu-timings-cap.send { + background-color: #FFCF00; +} + +.requests-menu-timings-box.wait, +.requests-menu-timings-cap.wait { + background-color: #9C9CFF; +} + +.requests-menu-timings-box.receive, +.requests-menu-timings-cap.receive { + background-color: #A09090; +} + +.side-menu-widget-item:nth-child(even) { + background: rgba(255,159,0,0.1); +} + +/* Network request details */ + +#details-pane { + background-color: #000000; + max-width: 500px; +} + +#details-pane-toggle { + list-style-image: url("chrome://browser/skin/devtools/debugger-collapse.png"); + -moz-image-region: rect(0px,16px,16px,0px); +} + +#details-pane-toggle[pane-collapsed] { + list-style-image: url("chrome://browser/skin/devtools/debugger-expand.png"); +} + +#details-pane-toggle:hover, +#details-pane-toggle:hover:active { + -moz-image-region: rect(0px,32px,16px,16px); +} + +/* Network request details tabpanels */ + +.tabpanel-content { + background-color: #000000; + color: #FF9F00; +} + +.tabpanel-summary-container { + padding: 1px; +} + +.tabpanel-summary-label { + -moz-padding-start: 4px; + -moz-padding-end: 3px; + font-weight: 600; + color: #9C9CFF; +} + +.tabpanel-summary-value { + -moz-padding-start: 3px; + font-family: "Liberation Mono", Consolas, "Courier New", monospace; +} + +/* Headers tabpanel */ + +#headers-summary-status, +#headers-summary-version { + padding-bottom: 2px; +} + +#headers-summary-size { + padding-top: 2px; +} + +/* Response tabpanel */ + +#response-content-image-box { + padding-top: 10px; + padding-bottom: 10px; +} + +#response-content-image { + background: #FFFFFF; + border: 1px dashed #A09090; + margin-bottom: 10px; +} + +/* Timings tabpanel */ + +#timings-tabpanel .tabpanel-summary-label { + width: 10em; +} + +#timings-tabpanel .requests-menu-timings-box { + transition: transform 0.2s ease-out; + min-width: 1px; +} + +#timings-tabpanel .requests-menu-timings-total { + transition: transform 0.2s ease-out; +} diff --git a/LCARStrek/browser/devtools/profiler.css b/LCARStrek/browser/devtools/profiler.css new file mode 100644 index 00000000..30bc66bc --- /dev/null +++ b/LCARStrek/browser/devtools/profiler.css @@ -0,0 +1,29 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +window { + padding: 0; +} + +.devtools-toolbar { + border-bottom: none; +} + +.profile-name { + font-size: 13px; + padding: 8px; +} + +#profiles-list > li { + width: 180px; + cursor: pointer; +} + +.splitview-nav-container button { + color: #FF9F00; + background-clip: padding-box; + border-bottom: 1px solid #A09090; + -moz-padding-end: 8px; + -moz-box-align: center; +} diff --git a/LCARStrek/browser/devtools/widgets.css b/LCARStrek/browser/devtools/widgets.css new file mode 100644 index 00000000..57ad3dd6 --- /dev/null +++ b/LCARStrek/browser/devtools/widgets.css @@ -0,0 +1,646 @@ +/* vim:set ts=2 sw=2 sts=2 et: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +/* Generic pane helpers */ + +.generic-toggled-side-pane { + min-width: 50px; + -moz-margin-start: 0px !important; + /* Unfortunately, transitions don't work properly with locale-aware properties, + so both the left and right margins are set via js, while the start margin + is always overridden here. */ +} + +.generic-toggled-side-pane[animated] { + transition: margin 0.25s ease-in-out; +} + +/* BreacrumbsWidget */ + +.breadcrumbs-widget-container { + -moz-margin-end: 3px; + /* A fake 1px-shadow is included in the border-images of the + breadcrumbs-widget-items, to match toolbar-buttons style. + This negative margin compensates the extra row of pixels created + by the shadow.*/ + margin: -1px 0; +} + +/* Preloading hack, LTR */ + +.breadcrumbs-widget-container:-moz-locale-dir(ltr)::after { + content: ''; + display: block; + background-image: + url("breadcrumbs/ltr-start.png"), + url("breadcrumbs/ltr-start-selected.png"), + url("breadcrumbs/ltr-start-pressed.png"), + url("breadcrumbs/ltr-start-selected-pressed.png"), + url("breadcrumbs/ltr-middle.png"), + url("breadcrumbs/ltr-middle-selected.png"), + url("breadcrumbs/ltr-middle-pressed.png"), + url("breadcrumbs/ltr-middle-selected-pressed.png"), + url("breadcrumbs/ltr-end.png"), + url("breadcrumbs/ltr-end-selected.png"), + url("breadcrumbs/ltr-end-pressed.png"), + url("breadcrumbs/ltr-end-selected-pressed.png"); +} + +/* Preloading hack, RTL */ + +.breadcrumbs-widget-container:-moz-locale-dir(rtl)::after { + content: ''; + display: block; + background-image: + url("breadcrumbs/rtl-start.png"), + url("breadcrumbs/rtl-start-selected.png"), + url("breadcrumbs/rtl-start-pressed.png"), + url("breadcrumbs/rtl-start-selected-pressed.png"), + url("breadcrumbs/rtl-middle.png"), + url("breadcrumbs/rtl-middle-selected.png"), + url("breadcrumbs/rtl-middle-pressed.png"), + url("breadcrumbs/rtl-middle-selected-pressed.png"), + url("breadcrumbs/rtl-end.png"), + url("breadcrumbs/rtl-end-selected.png"), + url("breadcrumbs/rtl-end-pressed.png"), + url("breadcrumbs/rtl-end-selected-pressed.png"); +} + +.scrollbutton-up, +.scrollbutton-down { + min-height: 25px; + margin-top: 0; + margin-bottom: 0; +} + +.scrollbutton-up { + -moz-margin-end: 1px; +} + +.scrollbutton-down { + -moz-margin-end: 0; +} + +.scrollbutton-up:not([disabled]):active:hover, +.scrollbutton-down:not([disabled]):active:hover { +} + +.scrollbutton-up > .toolbarbutton-icon, +.scrollbutton-down > .toolbarbutton-icon { + /* margin: 0 5px; */ +} + +.scrollbutton-up:not([disabled]):active:hover > .toolbarbutton-icon, +.scrollbutton-down:not([disabled]):active:hover > .toolbarbutton-icon { +} + +.scrollbutton-up[disabled] > .toolbarbutton-icon, +.scrollbutton-down[disabled] > .toolbarbutton-icon { +} + +.scrollbutton-up:-moz-locale-dir(ltr) { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.scrollbutton-down:-moz-locale-dir(ltr) { + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} + +.scrollbutton-up:-moz-locale-dir(rtl) { + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} + +.scrollbutton-down:-moz-locale-dir(rtl) { + border-top-right-radius: 0; + border-bottom-right-radius: 0; +} + +.scrollbutton-up > .toolbarbutton-icon:-moz-locale-dir(rtl), +.scrollbutton-down > .toolbarbutton-icon:-moz-locale-dir(ltr) { +/* transform: scaleX(-1); */ +} + +.breadcrumbs-widget-item { + background-color: #000000; + overflow: hidden; + min-width: 85px; + max-width: 250px; + min-height: 25px; + border-style: solid; + border-width: 2px 13px; + border-radius: 0; + margin: 0 -11px 0 0; + padding: 0 9px; + outline: none; + color: #FF9F00; +} + +.breadcrumbs-widget-item:hover { + background-color: #FFCF00; + color: #000000; +} + +.breadcrumbs-widget-item[checked]:not(:hover) { + background-color: #008484; + color: #000000; +} + +.breadcrumbs-widget-item[siblings-menu-open], +.breadcrumbs-widget-item:active { + background-color: #FF9F00; + color: #000000; +} + +.breadcrumbs-widget-item:-moz-focusring > label { + border-bottom: 1px dotted #008484; +} + +.breadcrumbs-widget-item:-moz-focusring > .button-box { + border-width: 0; +} + +.breadcrumbs-widget-item[checked] .breadcrumbs-widget-item-tag { + /* color: hsl(208,100%,60%); */ +} + +.breadcrumbs-widget-item[checked] .breadcrumbs-widget-item-id { + /* color: hsl(205,100%,70%); */ +} + +.breadcrumbs-widget-item[checked] .breadcrumbs-widget-item-pseudo-classes { + color: #FF9F00; +} + +.breadcrumbs-widget-item-id, +.breadcrumbs-widget-item-classes { + /* color: #8d99a6; */ +} + +.breadcrumbs-widget-item-pseudo-classes { + color: #FFCF00; +} + +/* Breadcrumbs LTR */ + +.breadcrumbs-widget-item:-moz-locale-dir(ltr) { + border-image: url("breadcrumbs/ltr-middle.png") 2 13 2 13 fill stretch; +} + +.breadcrumbs-widget-item:not([checked]):hover:active:-moz-locale-dir(ltr) { + border-image: url("breadcrumbs/ltr-middle-pressed.png") 2 13 2 13 fill stretch; +} + +.breadcrumbs-widget-item[checked]:-moz-locale-dir(ltr) { + border-image: url("breadcrumbs/ltr-middle-selected.png") 2 13 2 13 fill stretch; +} + +.breadcrumbs-widget-item[checked]:hover:active:-moz-locale-dir(ltr) { + border-image: url("breadcrumbs/ltr-middle-selected-pressed.png") 2 13 2 13 fill stretch; +} + +.breadcrumbs-widget-item:first-of-type:-moz-locale-dir(ltr) { + border-image: url("breadcrumbs/ltr-start.png") 2 13 2 13 fill stretch; +} + +.breadcrumbs-widget-item:first-of-type:not([checked]):hover:active:-moz-locale-dir(ltr) { + border-image: url("breadcrumbs/ltr-start-pressed.png") 2 13 2 13 fill stretch; +} + +.breadcrumbs-widget-item:first-of-type[checked]:-moz-locale-dir(ltr) { + border-image: url("breadcrumbs/ltr-start-selected.png") 2 13 2 13 fill stretch; +} + +.breadcrumbs-widget-item:first-of-type[checked]:hover:active:-moz-locale-dir(ltr) { + border-image: url("breadcrumbs/ltr-start-selected-pressed.png") 2 13 2 13 fill stretch; +} + +.breadcrumbs-widget-item:last-of-type:-moz-locale-dir(ltr) { + border-image: url("breadcrumbs/ltr-end.png") 2 13 2 13 fill stretch; +} + +.breadcrumbs-widget-item:last-of-type:not([checked]):hover:active:-moz-locale-dir(ltr) { + border-image: url("breadcrumbs/ltr-end-pressed.png") 2 13 2 13 fill stretch; +} + +.breadcrumbs-widget-item:last-of-type[checked]:-moz-locale-dir(ltr) { + border-image: url("breadcrumbs/ltr-end-selected.png") 2 13 2 13 fill stretch; +} + +.breadcrumbs-widget-item:last-of-type[checked]:hover:active:-moz-locale-dir(ltr) { + border-image: url("breadcrumbs/ltr-end-selected-pressed.png") 2 13 2 13 fill stretch; +} + +.breadcrumbs-widget-container[overflows] > .breadcrumbs-widget-item:first-of-type:-moz-locale-dir(ltr) { +} + +.breadcrumbs-widget-container[overflows] > .breadcrumbs-widget-item:last-of-type:-moz-locale-dir(ltr) { +} + +/* Breadcrumbs RTL */ + +.breadcrumbs-widget-item:-moz-locale-dir(rtl) { + border-image: url("breadcrumbs/rtl-middle.png") 2 13 2 13 fill stretch; +} + +.breadcrumbs-widget-item:not([checked]):hover:active:-moz-locale-dir(rtl) { + border-image: url("breadcrumbs/rtl-middle-pressed.png") 2 13 2 13 fill stretch; +} + +.breadcrumbs-widget-item[checked]:-moz-locale-dir(rtl) { + border-image: url("breadcrumbs/rtl-middle-selected.png") 2 13 2 13 fill stretch; +} + +.breadcrumbs-widget-item[checked]:hover:active:-moz-locale-dir(rtl) { + border-image: url("breadcrumbs/rtl-middle-selected-pressed.png") 2 13 2 13 fill stretch; +} + +.breadcrumbs-widget-item:first-of-type:-moz-locale-dir(rtl) { + border-image: url("breadcrumbs/rtl-start.png") 2 13 2 13 fill stretch; +} + +.breadcrumbs-widget-item:first-of-type:not([checked]):hover:active:-moz-locale-dir(rtl) { + border-image: url("breadcrumbs/rtl-start-pressed.png") 2 13 2 13 fill stretch; +} + +.breadcrumbs-widget-item:first-of-type[checked]:-moz-locale-dir(rtl) { + border-image: url("breadcrumbs/rtl-start-selected.png") 2 13 2 13 fill stretch; +} + +.breadcrumbs-widget-item:first-of-type[checked]:hover:active:-moz-locale-dir(rtl) { + border-image: url("breadcrumbs/rtl-start-selected-pressed.png") 2 13 2 13 fill stretch; +} + +.breadcrumbs-widget-item:last-of-type:-moz-locale-dir(rtl) { + border-image: url("breadcrumbs/rtl-end.png") 2 13 2 13 fill stretch; +} + +.breadcrumbs-widget-item:last-of-type:not([checked]):hover:active:-moz-locale-dir(rtl) { + border-image: url("breadcrumbs/rtl-end-pressed.png") 2 13 2 13 fill stretch; +} + +.breadcrumbs-widget-item:last-of-type[checked]:-moz-locale-dir(rtl) { + border-image: url("breadcrumbs/rtl-end-selected.png") 2 13 2 13 fill stretch; +} + +.breadcrumbs-widget-item:last-of-type[checked]:hover:active:-moz-locale-dir(rtl) { + border-image: url("breadcrumbs/rtl-end-selected-pressed.png") 2 13 2 13 fill stretch; +} + +.breadcrumbs-widget-container[overflows] > .breadcrumbs-widget-item:first-of-type:-moz-locale-dir(rtl) { +} + +.breadcrumbs-widget-container[overflows] > .breadcrumbs-widget-item:last-of-type:-moz-locale-dir(rtl) { +} + +/* SideMenuWidget */ + +.side-menu-widget-container { + background-color: #000000; + color: #FF9F00; +} + +.side-menu-widget-container[with-arrow=true]:-moz-locale-dir(ltr), +.side-menu-widget-item-or-group[with-arrow=true]:-moz-locale-dir(ltr) { +} + +.side-menu-widget-container[with-arrow=true]:-moz-locale-dir(rtl), +.side-menu-widget-item-or-group[with-arrow=true]:-moz-locale-dir(rtl) { +} + +.side-menu-widget-group-title { + background-color: #A09090; + padding: 4px; + color: #000000; + transition-property: background-color; + transition-duration: 0.3s; +} + +.side-menu-widget-group:hover > .side-menu-widget-group-title { + background-color: #FFCF00; +} + +.side-menu-widget-item { + border-top: 1px solid #9C9CFF; + cursor: pointer; +} + +.side-menu-widget-item:last-of-type { + border-bottom: 1px solid #9C9CFF; +} + +.side-menu-widget-item.selected { + background-color: #008484 !important; + color: #000000; +} + +.side-menu-widget-item.selected > .side-menu-widget-item-arrow { + background-size: auto, 1px 100%; + background-repeat: no-repeat; +} + +.side-menu-widget-item.selected > .side-menu-widget-item-arrow:-moz-locale-dir(ltr) { + background-image: url("itemArrow-ltr.png"), linear-gradient(to right, #000000, #000000); + background-position: center right, top right; +} + +.side-menu-widget-item.selected > .side-menu-widget-item-arrow:-moz-locale-dir(rtl) { + background-image: url("itemArrow-rtl.png"), linear-gradient(to right, #000000, #000000); + background-position: center left, top left; +} + +.side-menu-widget-item-arrow { + -moz-margin-start: -8px; + width: 8px; +} + +.side-menu-widget-item-contents { + padding: 4px; +} + +.side-menu-widget-item label { + cursor: inherit; +} + +.side-menu-widget-item-other { + background-color: #000000; + margin: 0 -4px; + -moz-padding-start: 5px; +} + +.side-menu-widget-item-other.selected { + background-color: #008484; + color: #000000; +} + +.side-menu-widget-item.selected .side-menu-widget-item-other:first-of-type { + border-top: 1px dotted #9C9CFF; + margin-top: 3px; +} + +.side-menu-widget-item-other:first-of-type { + margin-top: 4px; +} + +.side-menu-widget-item-other:last-of-type { + margin-bottom: -4px; +} + +.side-menu-widget-item-other:not(.selected) > label { + color: #9C9CFF; +} + +.side-menu-widget-empty-notice-container { + background-color: #000000; + padding: 12px; + color: #A09090; + font-weight: 600; +} + +/* VariablesView */ + +.variables-view-container { + background: #000000; +} + +.variables-view-empty-notice { + color: #A09090; + padding: 2px; +} + +.variables-view-scope > .title { + background-color: #A09090; + color: #000000; +} + +.variables-view-scope:focus > .title { + background-color: #008484; + color: #000000; +} + +.variables-view-scope > .variables-view-element-details:not(:empty) { + margin-top: 1px; + -moz-margin-start: 2px; + -moz-margin-end: 1px; +} + +.variables-view-scope > .variables-view-element-details.enum:not(:empty) { + border-bottom: 1px solid #9C9CFF; +} + +/* Generic traits applied to both variables and properties */ + +.variable-or-property { + transition: background 1s ease-in-out; + color: #FF9F00; +} + +.variable-or-property[changed] { + background: rgba(255, 207, 0, 0.3); + transition-duration: 0.4s; +} + +.variable-or-property > .title > .value { + -moz-padding-start: 6px; + -moz-padding-end: 4px; +} + +.variable-or-property:focus > .title { + background-color: #008484; + color: #000000; + border-radius: 5px; +} + +.variable-or-property[editable] > .title > .value { + cursor: text; +} + +.variable-or-property:not([non-header]) > .variables-view-element-details { + -moz-margin-start: 10px; +} + +/* Custom variables and properties traits */ + +.variables-view-variable { + -moz-margin-start: 1px; + -moz-margin-end: 1px; + border-bottom: 1px solid #A09090; +} + +.variables-view-variable > .title > .name { + font-weight: 600; +} + +.variables-view-variable:not(:focus) > .title > .name { + color: #FF9F00; +} + +.variables-view-property:not(:focus) > .title > .name { + color: #E7ADE7; +} + +/* Token value colors */ + +.variable-or-property:not(:focus) > .title > .token-undefined { + color: #8050B0; +} + +.variable-or-property:not(:focus) > .title > .token-null { + color: #008484; +} + +.variable-or-property:not(:focus) > .title > .token-boolean { + color: #FFCF00; +} + +.variable-or-property:not(:focus) > .title > .token-number { + color: #E7ADE7; +} + +.variable-or-property:not(:focus) > .title > .token-string { + color: #9C9CFF; +} + +.variable-or-property:not(:focus) > .title > .token-other { + color: #FF9F00; +} + +/* Non enumerable, configurable and writable variables and properties */ + +.variable-or-property[proto] > .title > .name, +.variable-or-property[non-enumerable]:not([self]):not([exception]) > .title > .name { + opacity: 0.5; +} + +.variable-or-property[non-configurable] > .title > .name { + border-bottom: 1px dashed #9C9CFF; +} + +.variable-or-property[non-configurable][non-writable] > .title > .name { + border-bottom: 1px dashed #FF0000; +} + +.variable-or-property[non-writable] > .title:after { + content: " "; + display: inline-block; + background: url("chrome://browser/skin/identity-icons-https.png") no-repeat; + width: 16px; + height: 16px; + opacity: 0.5; +} + +@media (min-resolution: 2dppx) { + .variable-or-property[non-writable] > .title:after { + background-image: url("chrome://browser/skin/identity-icons-https@2x.png"); + background-size: 32px; + } +} + +.variable-or-property[exception]:not(:focus) > .title > .name { + color: #FF0000; +} + +/* Variables and properties tooltips */ + +.variable-or-property > tooltip > label { + margin: 0 2px 0 2px; +} + +.variable-or-property[non-enumerable] > tooltip > label[value=enumerable], +.variable-or-property[non-configurable] > tooltip > label[value=configurable], +.variable-or-property[non-writable] > tooltip > label[value=writable] { + text-decoration: line-through; +} + +/* Variables and properties editing */ + +.variables-view-delete { + list-style-image: url("chrome://global/skin/icons/close.png"); + -moz-image-region: rect(0, 16px, 16px, 0); + opacity: 0; +} + +.variables-view-delete:hover { + opacity: 1; +} + +*:hover > .title > .variables-view-delete:not(:hover), +*:focus > .title > .variables-view-delete:not(:hover) { + opacity: 0.5; + transition: opacity 0.2s ease-in-out; +} + +.variables-view-delete > .toolbarbutton-text { + display: none; +} + +.variables-view-edit { + background: url("chrome://browser/skin/tabview/edit-light.png") center no-repeat; + width: 20px; + height: 16px; + cursor: pointer; +} + +.variables-view-throbber { + background: url("chrome://global/skin/icons/loading_16.png") center no-repeat; + width: 16px; + height: 16px; +} + +.element-value-input { + -moz-margin-start: 4px !important; + -moz-margin-end: 2px !important; +} + +.element-name-input { + -moz-margin-start: -2px !important; + -moz-margin-end: 2px !important; + color: #E7ADE7; + font-weight: 600; +} + +.element-value-input, +.element-name-input { + border: 1px solid #008484 !important; +} + +/* Variables and properties searching */ + +.variables-view-searchinput { + min-height: 24px; +} + +.variable-or-property[non-match] { + border: none; + margin: 0; +} + +/* Expand/collapse arrow */ + +.arrow { + background: url("chrome://global/skin/tree/twisty-clsd.png") center center no-repeat; + width: 9px; + height: 20px; + -moz-margin-start: 5px; + -moz-margin-end: 5px; +} + +.variables-view-scope > .title > .arrow { + background-image: url("chrome://global/skin/tree/twisty-closed-selected.gif"); +} + +.arrow[open] { + background-image: url("chrome://global/skin/tree/twisty-open.png"); +} + +.variables-view-scope > .title > .arrow[open] { + background-image: url("chrome://global/skin/tree/twisty-open-selected.gif"); +} + +.arrow[invisible] { + visibility: hidden; +}