diff options
Diffstat (limited to 'browser/themes/windows/devtools')
97 files changed, 3682 insertions, 0 deletions
diff --git a/browser/themes/windows/devtools/alerticon-warning.png b/browser/themes/windows/devtools/alerticon-warning.png Binary files differnew file mode 100644 index 000000000..5c5d0aec5 --- /dev/null +++ b/browser/themes/windows/devtools/alerticon-warning.png diff --git a/browser/themes/windows/devtools/arrow-e.png b/browser/themes/windows/devtools/arrow-e.png Binary files differnew file mode 100644 index 000000000..09691bc5e --- /dev/null +++ b/browser/themes/windows/devtools/arrow-e.png diff --git a/browser/themes/windows/devtools/background-noise-toolbar.png b/browser/themes/windows/devtools/background-noise-toolbar.png Binary files differnew file mode 100644 index 000000000..d09ba9daf --- /dev/null +++ b/browser/themes/windows/devtools/background-noise-toolbar.png diff --git a/browser/themes/windows/devtools/breadcrumbs-scrollbutton.png b/browser/themes/windows/devtools/breadcrumbs-scrollbutton.png Binary files differnew file mode 100644 index 000000000..722438060 --- /dev/null +++ b/browser/themes/windows/devtools/breadcrumbs-scrollbutton.png diff --git a/browser/themes/windows/devtools/breadcrumbs/ltr-end-pressed.png b/browser/themes/windows/devtools/breadcrumbs/ltr-end-pressed.png Binary files differnew file mode 100644 index 000000000..80c1f3a26 --- /dev/null +++ b/browser/themes/windows/devtools/breadcrumbs/ltr-end-pressed.png diff --git a/browser/themes/windows/devtools/breadcrumbs/ltr-end-selected-pressed.png b/browser/themes/windows/devtools/breadcrumbs/ltr-end-selected-pressed.png Binary files differnew file mode 100644 index 000000000..87808778c --- /dev/null +++ b/browser/themes/windows/devtools/breadcrumbs/ltr-end-selected-pressed.png diff --git a/browser/themes/windows/devtools/breadcrumbs/ltr-end-selected.png b/browser/themes/windows/devtools/breadcrumbs/ltr-end-selected.png Binary files differnew file mode 100644 index 000000000..dbb728411 --- /dev/null +++ b/browser/themes/windows/devtools/breadcrumbs/ltr-end-selected.png diff --git a/browser/themes/windows/devtools/breadcrumbs/ltr-end.png b/browser/themes/windows/devtools/breadcrumbs/ltr-end.png Binary files differnew file mode 100644 index 000000000..ee96024f1 --- /dev/null +++ b/browser/themes/windows/devtools/breadcrumbs/ltr-end.png diff --git a/browser/themes/windows/devtools/breadcrumbs/ltr-middle-pressed.png b/browser/themes/windows/devtools/breadcrumbs/ltr-middle-pressed.png Binary files differnew file mode 100644 index 000000000..57abb3ffb --- /dev/null +++ b/browser/themes/windows/devtools/breadcrumbs/ltr-middle-pressed.png diff --git a/browser/themes/windows/devtools/breadcrumbs/ltr-middle-selected-pressed.png b/browser/themes/windows/devtools/breadcrumbs/ltr-middle-selected-pressed.png Binary files differnew file mode 100644 index 000000000..3898ba3ac --- /dev/null +++ b/browser/themes/windows/devtools/breadcrumbs/ltr-middle-selected-pressed.png diff --git a/browser/themes/windows/devtools/breadcrumbs/ltr-middle-selected.png b/browser/themes/windows/devtools/breadcrumbs/ltr-middle-selected.png Binary files differnew file mode 100644 index 000000000..c0d13e3ef --- /dev/null +++ b/browser/themes/windows/devtools/breadcrumbs/ltr-middle-selected.png diff --git a/browser/themes/windows/devtools/breadcrumbs/ltr-middle.png b/browser/themes/windows/devtools/breadcrumbs/ltr-middle.png Binary files differnew file mode 100644 index 000000000..eb65fffd5 --- /dev/null +++ b/browser/themes/windows/devtools/breadcrumbs/ltr-middle.png diff --git a/browser/themes/windows/devtools/breadcrumbs/ltr-start-pressed.png b/browser/themes/windows/devtools/breadcrumbs/ltr-start-pressed.png Binary files differnew file mode 100644 index 000000000..c1a946525 --- /dev/null +++ b/browser/themes/windows/devtools/breadcrumbs/ltr-start-pressed.png diff --git a/browser/themes/windows/devtools/breadcrumbs/ltr-start-selected-pressed.png b/browser/themes/windows/devtools/breadcrumbs/ltr-start-selected-pressed.png Binary files differnew file mode 100644 index 000000000..77d63d1b1 --- /dev/null +++ b/browser/themes/windows/devtools/breadcrumbs/ltr-start-selected-pressed.png diff --git a/browser/themes/windows/devtools/breadcrumbs/ltr-start-selected.png b/browser/themes/windows/devtools/breadcrumbs/ltr-start-selected.png Binary files differnew file mode 100644 index 000000000..6529b71ab --- /dev/null +++ b/browser/themes/windows/devtools/breadcrumbs/ltr-start-selected.png diff --git a/browser/themes/windows/devtools/breadcrumbs/ltr-start.png b/browser/themes/windows/devtools/breadcrumbs/ltr-start.png Binary files differnew file mode 100644 index 000000000..a4ca85860 --- /dev/null +++ b/browser/themes/windows/devtools/breadcrumbs/ltr-start.png diff --git a/browser/themes/windows/devtools/breadcrumbs/rtl-end-pressed.png b/browser/themes/windows/devtools/breadcrumbs/rtl-end-pressed.png Binary files differnew file mode 100644 index 000000000..1077cfb7b --- /dev/null +++ b/browser/themes/windows/devtools/breadcrumbs/rtl-end-pressed.png diff --git a/browser/themes/windows/devtools/breadcrumbs/rtl-end-selected-pressed.png b/browser/themes/windows/devtools/breadcrumbs/rtl-end-selected-pressed.png Binary files differnew file mode 100644 index 000000000..ab1040ba8 --- /dev/null +++ b/browser/themes/windows/devtools/breadcrumbs/rtl-end-selected-pressed.png diff --git a/browser/themes/windows/devtools/breadcrumbs/rtl-end-selected.png b/browser/themes/windows/devtools/breadcrumbs/rtl-end-selected.png Binary files differnew file mode 100644 index 000000000..8b0905d0f --- /dev/null +++ b/browser/themes/windows/devtools/breadcrumbs/rtl-end-selected.png diff --git a/browser/themes/windows/devtools/breadcrumbs/rtl-end.png b/browser/themes/windows/devtools/breadcrumbs/rtl-end.png Binary files differnew file mode 100644 index 000000000..88cc61b0b --- /dev/null +++ b/browser/themes/windows/devtools/breadcrumbs/rtl-end.png diff --git a/browser/themes/windows/devtools/breadcrumbs/rtl-middle-pressed.png b/browser/themes/windows/devtools/breadcrumbs/rtl-middle-pressed.png Binary files differnew file mode 100644 index 000000000..f4a3a5bee --- /dev/null +++ b/browser/themes/windows/devtools/breadcrumbs/rtl-middle-pressed.png diff --git a/browser/themes/windows/devtools/breadcrumbs/rtl-middle-selected-pressed.png b/browser/themes/windows/devtools/breadcrumbs/rtl-middle-selected-pressed.png Binary files differnew file mode 100644 index 000000000..d66acb42e --- /dev/null +++ b/browser/themes/windows/devtools/breadcrumbs/rtl-middle-selected-pressed.png diff --git a/browser/themes/windows/devtools/breadcrumbs/rtl-middle-selected.png b/browser/themes/windows/devtools/breadcrumbs/rtl-middle-selected.png Binary files differnew file mode 100644 index 000000000..9b77579e9 --- /dev/null +++ b/browser/themes/windows/devtools/breadcrumbs/rtl-middle-selected.png diff --git a/browser/themes/windows/devtools/breadcrumbs/rtl-middle.png b/browser/themes/windows/devtools/breadcrumbs/rtl-middle.png Binary files differnew file mode 100644 index 000000000..63b620154 --- /dev/null +++ b/browser/themes/windows/devtools/breadcrumbs/rtl-middle.png diff --git a/browser/themes/windows/devtools/breadcrumbs/rtl-start-pressed.png b/browser/themes/windows/devtools/breadcrumbs/rtl-start-pressed.png Binary files differnew file mode 100644 index 000000000..bfff8e95d --- /dev/null +++ b/browser/themes/windows/devtools/breadcrumbs/rtl-start-pressed.png diff --git a/browser/themes/windows/devtools/breadcrumbs/rtl-start-selected-pressed.png b/browser/themes/windows/devtools/breadcrumbs/rtl-start-selected-pressed.png Binary files differnew file mode 100644 index 000000000..2ce094819 --- /dev/null +++ b/browser/themes/windows/devtools/breadcrumbs/rtl-start-selected-pressed.png diff --git a/browser/themes/windows/devtools/breadcrumbs/rtl-start-selected.png b/browser/themes/windows/devtools/breadcrumbs/rtl-start-selected.png Binary files differnew file mode 100644 index 000000000..e7c848ac3 --- /dev/null +++ b/browser/themes/windows/devtools/breadcrumbs/rtl-start-selected.png diff --git a/browser/themes/windows/devtools/breadcrumbs/rtl-start.png b/browser/themes/windows/devtools/breadcrumbs/rtl-start.png Binary files differnew file mode 100644 index 000000000..b8f67974c --- /dev/null +++ b/browser/themes/windows/devtools/breadcrumbs/rtl-start.png diff --git a/browser/themes/windows/devtools/checkbox-dark.png b/browser/themes/windows/devtools/checkbox-dark.png Binary files differnew file mode 100644 index 000000000..e937b600b --- /dev/null +++ b/browser/themes/windows/devtools/checkbox-dark.png diff --git a/browser/themes/windows/devtools/checkbox-light.png b/browser/themes/windows/devtools/checkbox-light.png Binary files differnew file mode 100644 index 000000000..00d6d450c --- /dev/null +++ b/browser/themes/windows/devtools/checkbox-light.png diff --git a/browser/themes/windows/devtools/close.png b/browser/themes/windows/devtools/close.png Binary files differnew file mode 100644 index 000000000..b53941253 --- /dev/null +++ b/browser/themes/windows/devtools/close.png diff --git a/browser/themes/windows/devtools/command-paintflashing.png b/browser/themes/windows/devtools/command-paintflashing.png Binary files differnew file mode 100644 index 000000000..b785131a2 --- /dev/null +++ b/browser/themes/windows/devtools/command-paintflashing.png diff --git a/browser/themes/windows/devtools/command-responsivemode.png b/browser/themes/windows/devtools/command-responsivemode.png Binary files differnew file mode 100644 index 000000000..cbfa59904 --- /dev/null +++ b/browser/themes/windows/devtools/command-responsivemode.png diff --git a/browser/themes/windows/devtools/command-scratchpad.png b/browser/themes/windows/devtools/command-scratchpad.png Binary files differnew file mode 100644 index 000000000..5131ca5cb --- /dev/null +++ b/browser/themes/windows/devtools/command-scratchpad.png diff --git a/browser/themes/windows/devtools/command-tilt.png b/browser/themes/windows/devtools/command-tilt.png Binary files differnew file mode 100644 index 000000000..f816bba59 --- /dev/null +++ b/browser/themes/windows/devtools/command-tilt.png diff --git a/browser/themes/windows/devtools/commandline-icon.png b/browser/themes/windows/devtools/commandline-icon.png Binary files differnew file mode 100644 index 000000000..e120a3926 --- /dev/null +++ b/browser/themes/windows/devtools/commandline-icon.png diff --git a/browser/themes/windows/devtools/commandline.css b/browser/themes/windows/devtools/commandline.css new file mode 100644 index 000000000..7eee7eb5c --- /dev/null +++ b/browser/themes/windows/devtools/commandline.css @@ -0,0 +1,153 @@ +/* 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/. */ + +.gcli-body { + margin: 0; + font: message-box; + color: hsl(210,30%,85%); +} + +#gcli-output-root, +#gcli-tooltip-root { + border: 1px solid hsl(206,37%,4%); + box-shadow: 0 1px 0 hsla(209,29%,72%,.25) inset; + background-image: linear-gradient(hsla(209,18%,18%,0.9), hsl(209,23%,18%)); + border-radius: 3px; +} + +#gcli-output-root { + padding: 5px 10px; + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; + border-bottom: 0; +} + +#gcli-tooltip-root { + padding: 5px 0px; +} + +#gcli-tooltip-connector { + margin-top: -1px; + margin-left: 8px; + width: 20px; + height: 10px; + border-left: 1px solid hsl(206,37%,4%); + border-right: 1px solid hsl(206,37%,4%); + background-color: hsl(209,23%,18%); +} + +.gcli-tt-description, +.gcli-tt-error { + padding: 0 10px; +} + +.gcli-row-out { + padding: 0 5px; + line-height: 1.2em; + border-top: none; + border-bottom: none; + color: hsl(210,30%,85%); +} + +.gcli-row-out p, +.gcli-row-out h1, +.gcli-row-out h2, +.gcli-row-out h3 { + margin: 5px 0; +} + +.gcli-row-out h1, +.gcli-row-out h2, +.gcli-row-out h3, +.gcli-row-out h4, +.gcli-row-out h5, +.gcli-row-out th, +.gcli-row-out strong, +.gcli-row-out pre { + color: hsl(210,30%,95%); +} + +.gcli-row-out pre { + font-size: 80%; +} + +.gcli-row-out td { + white-space: nowrap; +} + +.gcli-out-shortcut, +.gcli-help-synopsis { + padding: 0 3px; + margin: 0 4px; + font-weight: normal; + font-size: 90%; + border-radius: 3px; + background-color: hsl(209,23%,18%); + border: 1px solid hsl(206,37%,4%); +} + +.gcli-out-shortcut:before, +.gcli-help-synopsis:before { + color: hsl(210,30%,85%); + -moz-padding-end: 2px; +} + +.gcli-help-arrow { + color: #666; +} + +.gcli-help-description { + margin: 0 20px; + padding: 0; +} + +.gcli-help-parameter { + margin: 0 30px; + padding: 0; +} + +.gcli-help-header { + margin: 10px 0 6px; +} + +.gcli-menu-name { + -moz-padding-start: 8px; +} + +.gcli-menu-desc { + -moz-padding-end: 8px; + color: hsl(210,30%,75%); +} + +.gcli-menu-option:hover { + background-color: hsla(0,0%,0%,.3); +} + +.gcli-menu-highlight, +.gcli-menu-highlight.gcli-menu-option:hover { + background-color: hsla(0,100%,100%,.1); +} + +.gcli-menu-typed { + color: hsl(25,78%,50%); +} + +.gcli-menu-more { + font-size: 80%; + text-align: right; + -moz-padding-end: 8px; +} + +.gcli-addon-disabled { + opacity: 0.6; + text-decoration: line-through; +} + +.gcli-breakpoint-label { + font-weight: bold; +} + +.gcli-breakpoint-lineText { + font-family: monospace; +} diff --git a/browser/themes/windows/devtools/commandline.png b/browser/themes/windows/devtools/commandline.png Binary files differnew file mode 100644 index 000000000..6726f2820 --- /dev/null +++ b/browser/themes/windows/devtools/commandline.png diff --git a/browser/themes/windows/devtools/common.css b/browser/themes/windows/devtools/common.css new file mode 100644 index 000000000..2e13f4eae --- /dev/null +++ b/browser/themes/windows/devtools/common.css @@ -0,0 +1,369 @@ +/* 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/. */ + +/* Font for code */ + +:root { + font: message-box; +} + +.devtools-monospace { + font-family: monospace; +} + +/* Toolbar and Toolbar items */ + +.devtools-toolbar { + -moz-appearance: none; + padding: 4px 3px; + color: hsl(210,30%,85%); + background-image: url(background-noise-toolbar.png), linear-gradient(#3e4750, #3e4750); + border-bottom: 1px solid #060a0d; + box-shadow: 0 1px 0 hsla(204,45%,98%,.05) inset, -1px 0 0 hsla(204,45%,98%,.05) inset, 0 -1px 0 hsla(204,45%,98%,.05) inset; +} + +.devtools-menulist, +.devtools-toolbarbutton { + -moz-appearance: none; + -moz-box-align: center; + min-width: 78px; + min-height: 22px; + text-shadow: 0 -1px 0 hsla(210,8%,5%,.45); + border: 1px solid hsla(211,68%,6%,.5); + border-radius: 3px; + background: linear-gradient(hsla(209,13%,54%,.35), hsla(209,13%,54%,.1) 85%, hsla(209,13%,54%,.2)) padding-box; + box-shadow: 0 1px 0 hsla(209,29%,72%,.15) inset, 0 0 0 1px hsla(209,29%,72%,.1) inset, 0 0 0 1px hsla(209,29%,72%,.1), 0 1px 0 hsla(210,16%,76%,.1); + margin: 0; + -moz-margin-end: 3px; + color: inherit; +} + +.devtools-toolbarbutton > .toolbarbutton-menubutton-button { + -moz-box-orient: horizontal; +} + +.devtools-menulist:-moz-focusring, +.devtools-toolbarbutton:-moz-focusring { + outline: 1px dotted hsla(210,30%,85%,0.7); + outline-offset: -4px; +} + +.devtools-toolbarbutton > .toolbarbutton-icon { + margin: 0; +} + +.devtools-toolbarbutton:not([label]) { + min-width: 32px; +} + +.devtools-toolbarbutton:not([label]) > .toolbarbutton-text { + display: none; +} + +.devtools-toolbarbutton:not([checked=true]):hover:active { + background-color: hsla(210,18%,9%,.1); + background-image: linear-gradient(hsla(209,13%,54%,.35), hsla(209,13%,54%,.1) 85%, hsla(209,13%,54%,.2)); + box-shadow: 0 1px 3px hsla(211,68%,6%,.5) inset, 0 0 0 1px hsla(209,29%,72%,.1), 0 1px 0 hsla(210,16%,76%,.1); +} + +.devtools-menulist[open=true], +.devtools-toolbarbutton[open=true], +.devtools-toolbarbutton[checked=true] { + border-color: hsla(211,68%,6%,.6); + background: linear-gradient(hsla(211,68%,6%,.1), hsla(211,68%,6%,.2)); + box-shadow: 0 1px 3px hsla(211,68%,6%,.5) inset, 0 0 0 1px hsla(209,29%,72%,.1), 0 1px 0 hsla(210,16%,76%,.1); +} + +.devtools-toolbarbutton[checked=true] { + color: hsl(200,100%,60%) !important; +} + +.devtools-toolbarbutton[checked=true]:hover:active { + background-color: hsla(211,68%,6%,.2); +} + +.devtools-option-toolbarbutton { + -moz-appearance: none; + list-style-image: url("chrome://browser/skin/devtools/option-icon.png"); + -moz-image-region: rect(0px 16px 16px 0px); + background: none; + border: none; +} + +.devtools-option-toolbarbutton[open=true] { + -moz-image-region: rect(0px 32px 16px 16px); +} + +.devtools-menulist > .menulist-label-box { + text-align: center; +} + +.devtools-menulist > .menulist-dropmarker { + -moz-appearance: none; + list-style-image: url("chrome://browser/skin/devtools/dropmarker.png"); + border-width: 0; + background-color: transparent; +} + +.devtools-menulist:focus:not([open="true"]):not(.menulist-compact) > .menulist-label-box { + color: hsl(210,30%,85%) !important; + background-color: transparent; +} + +.devtools-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-button { + -moz-appearance: none; + color: inherit; + border-width: 0; + -moz-border-end: 1px solid hsla(210,8%,5%,.45); + box-shadow: -1px 0 0 hsla(210,16%,76%,.15) inset, 1px 0 0 hsla(210,16%,76%,.15); +} + +.devtools-toolbarbutton[type=menu-button]:-moz-locale-dir(rtl) > .toolbarbutton-menubutton-button { + box-shadow: 1px 0 0 hsla(210,16%,76%,.15) inset, -1px 0 0 hsla(210,16%,76%,.15); +} + +.devtools-toolbarbutton[type=menu-button] { + padding: 0 1px; + -moz-box-align: stretch; +} + +.devtools-toolbarbutton[type=menu] > .toolbarbutton-menu-dropmarker, +.devtools-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-dropmarker { + -moz-appearance: none !important; + list-style-image: url("chrome://browser/skin/devtools/dropmarker.png"); + -moz-box-align: center; +} + +/* Text input */ + +.devtools-textinput, +.devtools-searchinput { + -moz-appearance: none; + margin: 0 3px; + min-height: 22px; + border: 1px solid hsla(211,68%,6%,.6); + box-shadow: inset 0 1px 0 hsla(211,68%,6%,.05), 0 0 0 1px hsla(210,40%,83%,.1); + border-radius: 2px; + background-color: transparent; + background-image: linear-gradient(hsla(210,16%,76%,.15), hsla(210,16%,76%,.35)); + padding: 3px; + transition-property: background-color, border-color, box-shadow; + transition-duration: 150ms; + transition-timing-function: ease; + color: inherit; +} + +.devtools-searchinput { + background-image: url(magnifying-glass.png), linear-gradient(hsla(210,16%,76%,.15), hsla(210,16%,76%,.35)); + background-repeat: no-repeat; + background-position: 4px center, top left, top left; + padding-top: 0; + padding-bottom: 0; + -moz-padding-start: 18px; + -moz-padding-end: 12px; + font-size: inherit; +} + +.devtools-searchinput[focused] { + border-color: hsl(200,70%,40%) hsl(200,75%,37%) hsl(200,80%,35%); + background-origin: padding-box; + background-clip: padding-box; + box-shadow: inset 0 0 0 1px hsla(211,68%,6%,.1); +} + +.devtools-searchinput:-moz-locale-dir(rtl) { + background-position: calc(100% - 4px) center, top left, top left; +} + +.devtools-searchinput > .textbox-input-box > .textbox-search-icons { + display: none; +} + +.devtools-searchinput > .textbox-input-box > .textbox-input::-moz-placeholder { + opacity: 1.0; + color: hsl(208,10%,66%); +} + +.devtools-no-search-result { + box-shadow: inset 0 0 0 1px hsla(0,68%,6%,.35); + border-color: hsl(10,70%,40%) hsl(10,75%,37%) hsl(10,80%,35%) !important; + background-image: url(magnifying-glass.png), linear-gradient(hsla(1,16%,76%,.45), hsla(1,16%,76%,.75)); +} + +/* Close button */ + +.devtools-closebutton { + list-style-image: url("chrome://browser/skin/devtools/close.png"); + -moz-appearance: none; + border: none; + margin: 0 4px; + min-width: 16px; + width: 16px; + opacity: 0.6; +} + +.devtools-closebutton > .toolbarbutton-text { + display: none; +} + +.devtools-closebutton:hover { + opacity: 0.8; +} + +.devtools-closebutton:hover:active { + opacity: 1; +} + +/* Splitters */ + +.devtools-horizontal-splitter { + -moz-appearance: none; + border-width: 1px 0 0 0; + -moz-border-top-colors: black; + background-color: transparent; + min-height: 3px; + height: 3px; + margin-bottom: -3px; + position: relative; +} + +.devtools-side-splitter { + border: 0; + -moz-border-start: 1px solid #242b33; + min-width: 0; + width: 3px; + background-color: transparent; + -moz-margin-end: -3px; + position: relative; + cursor: e-resize; +} + +/* In-tools sidebar */ + +.devtools-toolbox-side-iframe { + min-width: 465px; +} + +.devtools-sidebar-tabs { + -moz-appearance: none; + margin: 0; +} + +.devtools-sidebar-tabs > tabpanels { + -moz-appearance: none; + padding: 0; + border: 0; +} + +.devtools-sidebar-tabs > tabs { + -moz-appearance: none; + position: static; + color: hsl(210,30%,85%); + margin-bottom: 0; + padding: 0; + background-image: url(background-noise-toolbar.png), linear-gradient(#3e4750, #3e4750); + box-shadow: 0 1px 0 hsla(204,45%,98%,.05) inset, -1px 0 0 hsla(204,45%,98%,.05) inset, 0 -1px 0 hsla(204,45%,98%,.05) inset; + border-width: 0 0 1px 0; + border-color: hsla(210,8%,5%,.6); + border-style: solid; + overflow: hidden; +} + +.devtools-sidebar-tabs > tabs > .tabs-right, +.devtools-sidebar-tabs > tabs > .tabs-left { + display: none; +} + +.devtools-sidebar-tabs > tabs > tab { + -moz-appearance: none; + /* We want to match the height of a toolbar with a toolbarbutton + * First, we need to replicated the padding of toolbar (4px), + * then, the padding of the button itself from toolbarbutton.css (3px), + * Also, we need to take the border of the buttons into accout (1px). + * Padding-bottom is one pixel shorter because we need to include the + * black border. + */ + padding: 8px 3px 7px; + -moz-padding-start: 6px; + margin: 0; + min-width: 78px; + text-shadow: 0 -1px 0 hsla(210,8%,5%,.45); + text-align: center; + color: inherit; + -moz-box-flex: 1; + border-width: 0; + background: transparent; + border-radius: 0; + position: static; + -moz-margin-start: -1px; +} + +.devtools-sidebar-tabs > tabs > tab:-moz-focusring { + position: static; +} + +.devtools-sidebar-tabs > tabs > tab:last-of-type { + -moz-border-end-width: 0; +} + +.devtools-sidebar-tabs > tabs > tab:first-of-type { + -moz-margin-start: -3px; +} + +.devtools-sidebar-tabs > tabs > tab { + background-size: 100% 100%, 1px 100%, 1px 100%, 1px 100%; + background-repeat: no-repeat; + background-position: 2px, 0, 1px, 2px; +} + +.devtools-sidebar-tabs:-moz-locale-dir(rtl) > tabs > tab { + background-position: calc(100% - 3px), 100%, calc(100% - 1px), calc(100% - 2px); +} + +%filter substitution +%define smallSeparator linear-gradient(hsla(204,45%,98%,0), hsla(204,45%,98%,.1), hsla(204,45%,98%,0)), linear-gradient(hsla(206,37%,4%,0), hsla(206,37%,4%,.6), hsla(206,37%,4%,0)), linear-gradient(hsla(204,45%,98%,0), hsla(204,45%,98%,.1), hsla(204,45%,98%,0)) +%define solidSeparator linear-gradient(transparent, transparent), linear-gradient(hsla(206,37%,4%,.6), hsla(206,37%,4%,.7)), linear-gradient(hsla(204,45%,98%,.1), hsla(204,45%,98%,.1)) + +.devtools-sidebar-tabs > tabs > tab { + background-image: linear-gradient(transparent, transparent), @smallSeparator@; +} + +.devtools-sidebar-tabs > tabs > tab:hover { + background-image: linear-gradient(hsla(206,37%,4%,.2), hsla(206,37%,4%,.2)), @smallSeparator@; +} + +.devtools-sidebar-tabs > tabs > tab:hover:active { + background-image: linear-gradient(hsla(206,37%,4%,.4), hsla(206,37%,4%,.4)), @smallSeparator@; +} + +.devtools-sidebar-tabs > tabs > tab[selected=true] + tab { + background-image: linear-gradient(transparent, transparent), @solidSeparator@; +} + +.devtools-sidebar-tabs > tabs > tab[selected=true] + tab:hover { + background-image: linear-gradient(hsla(206,37%,4%,.2), hsla(206,37%,4%,.2)), @solidSeparator@; +} + +.devtools-sidebar-tabs > tabs > tab[selected=true] + tab:hover:active { + background-image: linear-gradient(hsla(206,37%,4%,.4), hsla(206,37%,4%,.4)), @solidSeparator@; +} + +.devtools-sidebar-tabs > tabs > tab[selected=true] { + color: #f5f7fa; + background-image: linear-gradient(#2f607b, #294d68), @solidSeparator@; + box-shadow: 0 1px 0 hsla(0,0%,100%,.1) inset, 0 -2px 0 hsla(206,37%,4%,.05) inset, 0 -1px 1px hsla(206,37%,4%,.1) inset; +} + +.devtools-sidebar-tabs > tabs > tab[selected=true]:hover { + background-image: linear-gradient(#274f64, #224056), @solidSeparator@; + box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset, 0 -2px 0 hsla(206,37%,4%,.05) inset, 0 -1px 1px hsla(206,37%,4%,.1) inset; +} + +.devtools-sidebar-tabs > tabs > tab[selected=true]:hover:active { + background-image: linear-gradient(#1f3e4f, #1b3243), @solidSeparator@; + box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset, 0 -2px 0 hsla(206,37%,4%,.05) inset, 0 -1px 1px hsla(206,37%,4%,.1) inset; +} + +%include ../../shared/devtools/common.inc.css diff --git a/browser/themes/windows/devtools/computedview.css b/browser/themes/windows/devtools/computedview.css new file mode 100644 index 000000000..4f6c05b67 --- /dev/null +++ b/browser/themes/windows/devtools/computedview.css @@ -0,0 +1,169 @@ +/* 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/. */ + +/* Take away these two :visited rules to get a core dumper */ +/* See https://bugzilla.mozilla.org/show_bug.cgi?id=575675#c30 */ +.link, +.link:visited { + color: #0091ff; +} +.link, +.helplink, +.link:visited, +.helplink:visited { + text-decoration: none; +} +.link:hover { + text-decoration: underline; +} + +/* From content */ + +* { + -moz-box-sizing: border-box; +} + +:root { + height: 100%; +} + +body { + margin: 0; + display : flex; + flex-direction: column; + height: 100%; +} + +#propertyContainer { + -moz-user-select: text; + overflow: auto; + min-height: 0; + flex: 1; +} + +.property-view-hidden, +.property-content-hidden { + display: none; +} + +.property-view { + clear: both; + padding: 2px 0 2px 17px; +} + +.property-view > * { + display: inline-block; + vertical-align: middle; +} + +.property-name { + width: 50%; + overflow-x: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} + +.property-value { + width: 50%; + max-width: 100%; + overflow-x: hidden; + text-overflow: ellipsis; + white-space: nowrap; + background-image: url(arrow-e.png); + background-repeat: no-repeat; + background-size: 5px 8px; + background-position: 2px center; + padding-left: 10px; +} + +.other-property-value { + background-image: url(arrow-e.png); + background-repeat: no-repeat; + background-size: 5px 8px; + background-position: left center; + padding-left: 8px; +} + +@media (min-width: 400px) { + .property-name { + width: 200px; + } + .property-value { + width: auto; + } +} + +.property-content { + padding-left: 17px; +} + +/* From skin */ +.expander { + visibility: hidden; + margin-left: -12px!important; +} + +.expander[open] { + margin-left: -17px!important; +} + +.expandable { + visibility: visible; +} + +.match { + visibility: hidden; +} + +.matchedselectors > p { + clear: both; + margin: 0 2px 0 0; + padding: 2px; + overflow-x: hidden; + border-style: dotted; + border-color: rgba(128,128,128,0.4); + border-width: 1px 1px 0 1px; +} + +.matchedselectors > p:last-of-type { + border-bottom-width: 1px; +} + +/* This rule is necessary because Templater.jsm breaks LTR TDs in RTL docs */ +.rule-text { + direction: ltr; +} + +.matched { + text-decoration: line-through; +} + +.parentmatch { + opacity: 0.5; +} + +#noResults { + font-size: 110%; + margin: 5px; + text-align: center; +} + +.onlyuserstyles { + cursor: pointer; +} + +.legendKey { + margin: 0 5px; +} + +.devtools-toolbar { + width: 100%; +} + +.link { + padding: 0 3px; + cursor: pointer; + float: right; +} diff --git a/browser/themes/windows/devtools/dark-theme.css b/browser/themes/windows/devtools/dark-theme.css new file mode 100644 index 000000000..97189572d --- /dev/null +++ b/browser/themes/windows/devtools/dark-theme.css @@ -0,0 +1,104 @@ +/* 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/. */ + +/* According to: + * https://bugzilla.mozilla.org/show_bug.cgi?id=715472#c17 + */ +.theme-body { + background: #131c26; + color: #8fa1b2 +} + +.theme-twisty { + cursor: pointer; + margin-right: 5px; +} + +.theme-twisty:-moz-focusring { + outline-style: none; +} + +.theme-twisty:not([open]) { + width: 0; + height: 0; + border-top: 5px solid transparent; + border-bottom: 5px solid transparent; + border-left: 5px solid rgba(255,255,255,0.5); + margin-left: 5px; +} + +.theme-twisty[open] { + width: 10px; + height: 10px; + background-image: linear-gradient(to bottom right, transparent 68%, rgba(255,255,255,0.5) 68%); +} + +.theme-checkbox { + display: inline-block; + border: 0; + width: 14px; + height: 14px; + padding: 0; + outline: none; + background: url("chrome://browser/skin/devtools/checkbox-dark.png") no-repeat; +} + +.theme-checkbox[checked] { + background: url("chrome://browser/skin/devtools/checkbox-dark.png") 14px 0; +} + +.theme-selected { + background: #26384E; +} + +.theme-bg-darker { + background-color: rgba(0,0,0,0.1); +} + +.theme-link { /* blue */ + color: #3689b2; +} + +.theme-comment { /* grey */ + color: #5c6773; +} + +.theme-gutter { + background-color: #0f171f; + color: #667380; + border-color: #303b47; +} + +.theme-separator { /* grey */ + border-color: #303b47; +} + +.theme-fg-color1 { /* green */ + color: #5c9966; +} + +.theme-fg-color2 { /* blue */ + color: #3689b2; +} + +.theme-fg-color3 { /* pink/lavender */ + color: #a673bf; +} + +.theme-fg-color4 { /* purple/violet */ + color: #6270b2; +} + +.theme-fg-color5 { /* Yellow */ + color: #a18650; +} + +.theme-fg-color6 { /* Orange */ + color: #b26b47; +} + +.theme-fg-color7 { /* Red */ + color: #bf5656; +} diff --git a/browser/themes/windows/devtools/debugger-collapse.png b/browser/themes/windows/devtools/debugger-collapse.png Binary files differnew file mode 100644 index 000000000..242e19c56 --- /dev/null +++ b/browser/themes/windows/devtools/debugger-collapse.png diff --git a/browser/themes/windows/devtools/debugger-expand.png b/browser/themes/windows/devtools/debugger-expand.png Binary files differnew file mode 100644 index 000000000..af453e316 --- /dev/null +++ b/browser/themes/windows/devtools/debugger-expand.png diff --git a/browser/themes/windows/devtools/debugger-pause.png b/browser/themes/windows/devtools/debugger-pause.png Binary files differnew file mode 100644 index 000000000..7f908bf8b --- /dev/null +++ b/browser/themes/windows/devtools/debugger-pause.png diff --git a/browser/themes/windows/devtools/debugger-play.png b/browser/themes/windows/devtools/debugger-play.png Binary files differnew file mode 100644 index 000000000..91719826a --- /dev/null +++ b/browser/themes/windows/devtools/debugger-play.png diff --git a/browser/themes/windows/devtools/debugger-step-in.png b/browser/themes/windows/devtools/debugger-step-in.png Binary files differnew file mode 100644 index 000000000..c80ee72a2 --- /dev/null +++ b/browser/themes/windows/devtools/debugger-step-in.png diff --git a/browser/themes/windows/devtools/debugger-step-out.png b/browser/themes/windows/devtools/debugger-step-out.png Binary files differnew file mode 100644 index 000000000..1a7145a98 --- /dev/null +++ b/browser/themes/windows/devtools/debugger-step-out.png diff --git a/browser/themes/windows/devtools/debugger-step-over.png b/browser/themes/windows/devtools/debugger-step-over.png Binary files differnew file mode 100644 index 000000000..7c9b82ad4 --- /dev/null +++ b/browser/themes/windows/devtools/debugger-step-over.png diff --git a/browser/themes/windows/devtools/debugger.css b/browser/themes/windows/devtools/debugger.css new file mode 100644 index 000000000..9eeaf2eba --- /dev/null +++ b/browser/themes/windows/devtools/debugger.css @@ -0,0 +1,321 @@ +/* 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/. */ + +#body { + background: #fff; +} + +/* Sources and breakpoints pane */ + +#sources-pane { + min-width: 50px; +} + +#sources-pane + .devtools-side-splitter { + -moz-border-start-color: transparent; +} + +/* ListWidget items */ + +.list-widget-item { + padding: 2px; +} + +.list-widget-item:not(.selected):not(.empty):hover { + background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.85)), Highlight; +} + +.list-widget-item.selected.light { + background: linear-gradient(rgba(255,255,255,0.85), rgba(255,255,255,0.8)), Highlight; + color: #000; +} + +.list-widget-item.selected { + background: Highlight; + color: HighlightText; +} + +.list-widget-item.empty { + color: GrayText; + padding: 2px; +} + +/* Stack frames view */ + +.dbg-stackframe-details { + -moz-padding-start: 4px; +} + +.dbg-stackframe-menuitem[checked] { + margin-top: 3px; + margin-bottom: 3px; + outline: 1px solid #eee; + font-weight: 600; +} + +.dbg-stackframe-menuitem-details { + -moz-padding-start: 16px; +} + +/* Sources and breakpoints view */ + +.dbg-breakpoint { + font-family: monospace; +} + +.dbg-breakpoint-line { + font-weight: 600; +} + +.dbg-breakpoint-text { + -moz-margin-start: 10px !important; + font-style: italic; +} + +/* Watch expressions view */ + +#expressions { + min-height: 10px; + max-height: 125px; +} + +.dbg-expression { + height: 20px; +} + +.dbg-expression-arrow { + width: 16px; + height: auto; + background: -moz-image-rect(url("chrome://browser/skin/devtools/commandline-icon.png"), 0, 32, 16, 16); +} + +.dbg-expression-input { + -moz-padding-start: 2px !important; + font-family: Menlo, Monaco, monospace; +} + +/* Searchbox and the search operations help panel */ + +.devtools-searchinput { + min-width: 220px; + -moz-margin-start: 1px; +} + +#searchbox-panel-description { + margin-top: 0; + margin-bottom: 8px; + -moz-margin-start: 2px; +} + +.searchbox-panel-operator-button { + min-width: 26px; + margin-top: 0; + margin-bottom: 0; + -moz-margin-start: 2px; + -moz-margin-end: 6px; + text-align: center; + font-family: Menlo, Monaco, monospace; +} + +.searchbox-panel-operator-label { + padding-bottom: 2px; +} + +/* Searchbox results panel */ + +.results-panel { + padding: 4px; + opacity: 0.9; +} + +.results-panel-item { + background: #f4f4f4; + border: 1px solid #ddd; + border-top-color: #fff; + padding: 5px; + cursor: pointer; +} + +.results-panel-item:first-of-type { + border-top-color: #ddd; + border-radius: 4px 4px 0 0; +} + +.results-panel-item:last-of-type { + border-radius: 0 0 4px 4px; +} + +.results-panel-item:only-of-type { + border-radius: 4px; +} + +.results-panel-item:not(.selected):not(:hover) { + text-shadow: 0 1px #fff; +} + +.results-panel-item-pre { + -moz-margin-end: 5px !important; + color: #444; + cursor: inherit; +} + +.results-panel-item-name { + color: #111; + font-weight: 600; + cursor: inherit; +} + +.results-panel-item-details { + color: #7f7f7f; + cursor: inherit; +} + +/* Sources search view */ + +#globalsearch { + min-height: 10px; + box-shadow: inset 0 -4px 8px #eee; + background: url(background-noise-toolbar.png); +} + +#globalsearch > vbox:not(:empty) { + min-height: 10px; + max-height: 125px; +} + +#globalsearch + .devtools-horizontal-splitter { + -moz-border-top-colors: #bfbfbf; +} + +.dbg-source-results { + padding: 0; + background: none !important; +} + +.dbg-results-header { + -moz-padding-start: 6px; +} + +.dbg-results-header-location { + font-weight: 600; +} + +.dbg-results-header-match-count { + -moz-padding-start: 6px; + color: GrayText; +} + +.dbg-results-line-number { + background: #e2e2e2; + min-width: 40px; + -moz-border-end: 1px solid #b4c4d3; + -moz-padding-end: 4px; + padding-top: 2px; + text-align: end; + font-family: monospace; + color: #8c8c8c; +} + +.dbg-results-line-contents { + -moz-padding-start: 4px; + padding-top: 1px; + padding-bottom: 1px; + font-family: monospace; +} + +.dbg-results-line-contents-string { + padding: 1px; +} + +.dbg-results-line-contents-string[match=true] { + background: rgba(255,255,0,0.5); + padding: 0; + border: 1px solid #aaa; + border-radius: 4px; + cursor: pointer; +} + +.dbg-results-line-contents-string[match=true][focusing] { + transition: transform 0.3s ease-in-out; +} + +.dbg-results-line-contents-string[match=true][focused] { + transition-duration: 0.1s; + transform: scale(1.75, 1.75); +} + +/* Toolbar Controls */ + +#resumption-panel-desc { + width: 200px; +} + +#resumption-order-panel { + -moz-margin-start: -8px; +} + +#resume { + list-style-image: url("chrome://browser/skin/devtools/debugger-play.png"); + -moz-image-region: rect(0px,16px,16px,0px); +} + +#resume[checked] { + -moz-image-region: rect(0px,32px,16px,16px); +} + +#step-over { + list-style-image: url("chrome://browser/skin/devtools/debugger-step-over.png"); +} + +#step-in { + list-style-image: url("chrome://browser/skin/devtools/debugger-step-in.png"); +} + +#step-out { + list-style-image: url("chrome://browser/skin/devtools/debugger-step-out.png"); +} + +#debugger-controls > toolbarbutton { + margin: 0; + box-shadow: none; + border-radius: 0; + border-width: 0; + -moz-border-end-width: 1px; + outline-offset: -3px; +} + +#debugger-controls > toolbarbutton:last-of-type { + -moz-border-end-width: 0; +} + +#debugger-controls { + box-shadow: 0 1px 0 hsla(209,29%,72%,.15) inset, + 0 0 0 1px hsla(209,29%,72%,.1) inset, + 0 0 0 1px hsla(209,29%,72%,.1), + 0 1px 0 hsla(210,16%,76%,.1); + border: 1px solid hsla(210,8%,5%,.45); + border-radius: 3px; + margin: 0 3px; +} + +#instruments-pane-toggle { + background: none; + box-shadow: none; + border: none; + list-style-image: url("chrome://browser/skin/devtools/debugger-collapse.png"); + -moz-image-region: rect(0px,16px,16px,0px); +} + +#instruments-pane-toggle[pane-collapsed] { + list-style-image: url("chrome://browser/skin/devtools/debugger-expand.png"); +} + +#instruments-pane-toggle:hover { + -moz-image-region: rect(0px,32px,16px,16px); +} + +#instruments-pane-toggle:hover:active { + -moz-image-region: rect(0px,48px,16px,32px); +} diff --git a/browser/themes/windows/devtools/dock-bottom.png b/browser/themes/windows/devtools/dock-bottom.png Binary files differnew file mode 100644 index 000000000..8fa9c932b --- /dev/null +++ b/browser/themes/windows/devtools/dock-bottom.png diff --git a/browser/themes/windows/devtools/dock-side.png b/browser/themes/windows/devtools/dock-side.png Binary files differnew file mode 100644 index 000000000..1c1235513 --- /dev/null +++ b/browser/themes/windows/devtools/dock-side.png diff --git a/browser/themes/windows/devtools/dropmarker.png b/browser/themes/windows/devtools/dropmarker.png Binary files differnew file mode 100644 index 000000000..7e91860fb --- /dev/null +++ b/browser/themes/windows/devtools/dropmarker.png diff --git a/browser/themes/windows/devtools/floating-scrollbars-light.css b/browser/themes/windows/devtools/floating-scrollbars-light.css new file mode 100644 index 000000000..7e38611f6 --- /dev/null +++ b/browser/themes/windows/devtools/floating-scrollbars-light.css @@ -0,0 +1,10 @@ +/* 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/. */ + +@import url("floating-scrollbars.css"); + +scrollbar thumb { + background-color: rgba(170,170,170,0.2) !important; +} diff --git a/browser/themes/windows/devtools/floating-scrollbars.css b/browser/themes/windows/devtools/floating-scrollbars.css new file mode 100644 index 000000000..ff70d646f --- /dev/null +++ b/browser/themes/windows/devtools/floating-scrollbars.css @@ -0,0 +1,33 @@ +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +scrollbar { + -moz-appearance: none !important; + position: relative; + background-color: transparent; + background-image: none; + z-index: 2147483647; + padding: 2px; +} + +scrollbar[orient="vertical"] { + -moz-margin-start: -10px; + min-width: 10px; + max-width: 10px; +} + +scrollbar[orient="horizontal"] { + margin-top: -10px; + min-height: 10px; + max-height: 10px; +} + +scrollbar thumb { + -moz-appearance: none !important; + border-width: 0px !important; + background-color: rgba(170,170,170,0.2) !important; + border-radius: 3px !important; +} + +scrollbar scrollbarbutton, scrollbar gripper { + display: none; +} diff --git a/browser/themes/windows/devtools/font-inspector.css b/browser/themes/windows/devtools/font-inspector.css new file mode 100644 index 000000000..df8fb3ef6 --- /dev/null +++ b/browser/themes/windows/devtools/font-inspector.css @@ -0,0 +1,80 @@ +* { + -moz-box-sizing: border-box; +} + +body { + margin: 0; + padding-bottom: 20px; +} + +#all-fonts { + padding: 0 5px; + margin: 0; +} + +#showall { + border-radius: 0; + border: 1px solid black; + margin: 3px; + cursor: pointer; + position: fixed; + bottom: 0; + right: 0; +} + +.font { + padding: 10px 5px; + font-size: 0; +} + +.theme-dark .font { + border-bottom: 1px solid #444; +} + +.theme-light .font { + border-bottom: 1px solid #DDD; +} + +.font:last-of-type { + border-bottom: 0; +} + +.theme-light .font:nth-child(even) { + background: #F4F4F4; +} + +.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 #CCC; + background: white; +} + +.theme-dark .font-css-code, +.theme-dark .font-url { + border: 1px solid #333; + background: black; + color: white; +} diff --git a/browser/themes/windows/devtools/inspect-button.png b/browser/themes/windows/devtools/inspect-button.png Binary files differnew file mode 100644 index 000000000..ebfd9586d --- /dev/null +++ b/browser/themes/windows/devtools/inspect-button.png diff --git a/browser/themes/windows/devtools/inspector.css b/browser/themes/windows/devtools/inspector.css new file mode 100644 index 000000000..62e70b798 --- /dev/null +++ b/browser/themes/windows/devtools/inspector.css @@ -0,0 +1,35 @@ +/* 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/. */ + +#inspector-inspect-toolbutton { + list-style-image: url("chrome://browser/skin/devtools/inspect-button.png"); + -moz-image-region: rect(0px 16px 16px 0px); +} + +#inspector-inspect-toolbutton[checked=true] { + -moz-image-region: rect(0px 32px 16px 16px); +} + +#inspector-searchbox { + transition-property: max-width, -moz-padding-end, -moz-padding-start; + transition-duration: 250ms; + transition-timing-function: ease; +} + +#inspector-searchbox:not([focused]):not([filled]) > .textbox-input-box { + overflow: hidden; +} + +#inspector-searchbox:not([focused]):not([filled]) { + max-width: 20px !important; + -moz-padding-end: 6px; + -moz-padding-start: 22px; + background-position: 8px center, top left, top left; +} + +#inspector-searchbox[focused], +#inspector-searchbox[filled] { + max-width: 200px !important; +} diff --git a/browser/themes/windows/devtools/itemArrow-ltr.png b/browser/themes/windows/devtools/itemArrow-ltr.png Binary files differnew file mode 100644 index 000000000..6cc3e984b --- /dev/null +++ b/browser/themes/windows/devtools/itemArrow-ltr.png diff --git a/browser/themes/windows/devtools/itemArrow-rtl.png b/browser/themes/windows/devtools/itemArrow-rtl.png Binary files differnew file mode 100644 index 000000000..0f8f4b1b0 --- /dev/null +++ b/browser/themes/windows/devtools/itemArrow-rtl.png diff --git a/browser/themes/windows/devtools/itemToggle.png b/browser/themes/windows/devtools/itemToggle.png Binary files differnew file mode 100644 index 000000000..cf70394e6 --- /dev/null +++ b/browser/themes/windows/devtools/itemToggle.png diff --git a/browser/themes/windows/devtools/layout-background-grid.png b/browser/themes/windows/devtools/layout-background-grid.png Binary files differnew file mode 100644 index 000000000..87b0b855d --- /dev/null +++ b/browser/themes/windows/devtools/layout-background-grid.png diff --git a/browser/themes/windows/devtools/layoutview.css b/browser/themes/windows/devtools/layoutview.css new file mode 100644 index 000000000..49420db11 --- /dev/null +++ b/browser/themes/windows/devtools/layoutview.css @@ -0,0 +1,46 @@ +/* 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/. */ + +.theme-dark .theme-body { + background-image: url(layout-background-grid.png); +} + +.theme-light .theme-body { + background-image: url(layout-background-grid.png), radial-gradient(circle at 50% 70%, hsl(210,53%,45%) 0%, hsl(210,54%,33%) 100%); +} + +.theme-body { + color: hsl(210,100%,85%); + -moz-box-sizing: border-box; +} + +#main { + border-color: hsla(210,100%,85%,0.7); + border-style: dotted; +} + +#main > .border { + color: hsl(210,53%,45%); +} + +.border > span { + background-color: hsl(210,100%,85%); + border-radius: 2px; + padding: 0 4px; +} + +#content { + border-color: hsla(210,100%,85%,0.7); + border-style: dotted +} + +#padding { + border-color: hsla(210,100%,85%,0.2); + border-style: solid; +} + +#borders { + border-style: solid; + border-color: hsl(210,100%,85%); +} diff --git a/browser/themes/windows/devtools/light-theme.css b/browser/themes/windows/devtools/light-theme.css new file mode 100644 index 000000000..a867df614 --- /dev/null +++ b/browser/themes/windows/devtools/light-theme.css @@ -0,0 +1,104 @@ +/* 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/. */ + +/* According to: + * https://bugzilla.mozilla.org/show_bug.cgi?id=715472#c17 + */ +.theme-body { + background: white; + color: black; +} + +.theme-twisty { + cursor: pointer; + margin-right: 5px; +} + +.theme-twisty:-moz-focusring { + outline-style: none; +} + +.theme-twisty:not([open]) { + width: 0; + height: 0; + border-top: 5px solid transparent; + border-bottom: 5px solid transparent; + border-left: 5px solid rgba(0,0,0,0.5); + margin-left: 5px; +} + +.theme-twisty[open] { + width: 10px; + height: 10px; + background-image: linear-gradient(to bottom right, transparent 68%, rgba(0,0,0,0.5) 68%); +} + +.theme-checkbox { + display: inline-block; + border: 0; + width: 14px; + height: 14px; + padding: 0; + outline: none; + background: url("chrome://browser/skin/devtools/checkbox-light.png") no-repeat; +} + +.theme-checkbox[checked] { + background: url("chrome://browser/skin/devtools/checkbox-light.png") 14px 0; +} + +.theme-selected { + background-color: hsl(0,0%,90%); +} + +.theme-bg-darker { + background: #F9F9F9; +} + +.theme-link { /* blue */ + color: hsl(208,56%,40%); +} + +.theme-comment { /* grey */ + color: hsl(90,2%,46%); +} + +.theme-gutter { + background-color: hsl(0,0%,90%); + color: #667380; + border-color: hsl(0,0%,65%); +} + +.theme-separator { /* grey */ + border-color: #cddae5; +} + +.theme-fg-color1 { /* green */ + color: hsl(72,100%,27%); +} + +.theme-fg-color2 { /* blue */ + color: hsl(208,56%,40%); +} + +.theme-fg-color3 { /* dark blue */ + color: hsl(208,81%,21%) +} + +.theme-fg-color4 { /* Orange */ + color: hsl(24,85%,39%); +} + +.theme-fg-color5 { /* Yellow */ + color: #a18650; +} + +.theme-fg-color6 { /* Orange */ + color: hsl(24,85%,39%); +} + +.theme-fg-color7 { /* Red */ + color: #bf5656; +} diff --git a/browser/themes/windows/devtools/magnifying-glass.png b/browser/themes/windows/devtools/magnifying-glass.png Binary files differnew file mode 100644 index 000000000..236d93d49 --- /dev/null +++ b/browser/themes/windows/devtools/magnifying-glass.png diff --git a/browser/themes/windows/devtools/markup-view.css b/browser/themes/windows/devtools/markup-view.css new file mode 100644 index 000000000..4651a4314 --- /dev/null +++ b/browser/themes/windows/devtools/markup-view.css @@ -0,0 +1,44 @@ +/* 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/. */ + +* { + padding: 0; + margin: 0; +} + +.newattr { + cursor: pointer; +} + +.selected { + background-color: hsl(0,0%,90%); +} + +/* Give some padding to focusable elements to match the editor input + * that will replace them. */ +span[tabindex] { + display: inline-block; + padding: 1px 0; +} + +li.container { + position: relative; + padding: 2px 0 0 2px; +} + +.codebox { + padding-left: 14px; +} + +.expander { + position: absolute; +} + +.more-nodes { + padding-left: 16px; +} + +.styleinspector-propertyeditor { + border: 1px solid #CCC; +} diff --git a/browser/themes/windows/devtools/netmonitor.css b/browser/themes/windows/devtools/netmonitor.css new file mode 100644 index 000000000..ee72aa607 --- /dev/null +++ b/browser/themes/windows/devtools/netmonitor.css @@ -0,0 +1,531 @@ +/* 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/. */ + +#body { + background: url(background-noise-toolbar.png), hsl(208,11%,27%); +} + +/* Network requests table */ + +#requests-menu-empty-notice { + background: url(background-noise-toolbar.png), hsl(208,11%,27%); + padding: 12px; + font-size: 110%; + color: #fff; +} + +#requests-menu-toolbar { + height: 33px; + padding: 0; +} + +.requests-menu-header:first-child { + -moz-padding-start: 4px; +} + +.requests-menu-subitem { + padding: 4px; +} + +.requests-menu-header:not(:last-child):-moz-locale-dir(ltr), +.requests-menu-subitem:not(:last-child):-moz-locale-dir(ltr) { + -moz-border-end: 1px solid hsla(210,8%,5%,.25); + box-shadow: 1px 0 0 hsla(210,16%,76%,.1); +} + +.requests-menu-header:not(:last-child):-moz-locale-dir(rtl), +.requests-menu-subitem:not(:last-child):-moz-locale-dir(rtl) { + -moz-border-end: 1px solid hsla(210,8%,5%,.25); + box-shadow: -1px 0 0 hsla(210,16%,76%,.1); +} + +.requests-menu-header-button { + -moz-appearance: none; + background: none; + min-width: 20px; + min-height: 32px; /* Remaining 1px comes from border of the toolbar. */ + margin: 0; + border: none; + padding: 0; + color: inherit; + font-weight: inherit !important; + transition: background-color 0.1s ease-in-out; +} + +.requests-menu-header-button:hover { + background: rgba(0,0,0,0.10); +} + +.requests-menu-header-button:hover:active { + background: rgba(0,0,0,0.25); +} + +.requests-menu-header-button:not(:active)[sorted] { + background: rgba(0,0,0,0.15); +} + +.requests-menu-header-button:not(:active)[sorted=ascending] { + background-image: radial-gradient(farthest-side at center top, hsla(200,100%,70%,.7), hsla(200,100%,70%,0.3)); + background-size: 100% 1px; + background-repeat: no-repeat; +} + +.requests-menu-header-button:not(:active)[sorted=descending] { + background-image: radial-gradient(farthest-side at center bottom, hsla(200,100%,70%,.7), hsla(200,100%,70%,0.3)); + background-size: 100% 1px; + background-repeat: no-repeat; + background-position: bottom; +} + +/* Network requests table: specific column dimensions */ + +.requests-menu-status-and-method { + width: 8em; +} + +.requests-menu-status { + width: 10px; + height: 10px; +} + +.requests-menu-method { + text-align: center; + font-weight: 600; +} + +.requests-menu-file { + width: 20vw; + min-width: 4em; +} + +.requests-menu-domain { + width: 14vw; + min-width: 10em; +} + +.requests-menu-type { + text-align: center; + width: 4em; +} + +.requests-menu-size { + text-align: center; + width: 8em; +} + +/* Network requests table: status codes */ + +box.requests-menu-status { + background: #fff; + -moz-margin-start: 5px; + -moz-margin-end: 5px; + border-radius: 20px; + box-shadow: + 0 0 0 1px rgba(255,255,255,0.4) inset, + 0 -6px 4px 0 rgba(32,32,32,1.0) inset, + 0 0 8px 0 rgba(32,0,0,0.4); + transition: box-shadow 0.5s ease-in-out; +} + +box.requests-menu-status[code^="1"] { + box-shadow: + 0 0 2px 1px rgba(255,255,255,0.8) inset, + 0 -6px 4px 0 rgba(0,0,64,1.0) inset, + 0 0 8px 0 rgba(0,0,128,1.0); +} + +box.requests-menu-status[code^="2"] { + box-shadow: + 0 0 2px 1px rgba(255,255,255,0.8) inset, + 0 -6px 4px 0 rgba(0,64,0,1.0) inset, + 0 0 8px 0 rgba(0,128,0,1.0); +} + +box.requests-menu-status[code^="3"] { + box-shadow: + 0 0 2px 1px rgba(255,255,255,0.8) inset, + 0 -6px 4px 0 rgba(64,32,0,1.0) inset, + 0 0 8px 0 rgba(128,128,0,1.0); +} + +box.requests-menu-status[code^="4"] { + box-shadow: + 0 0 2px 1px rgba(255,255,255,0.8) inset, + 0 -6px 4px 0 rgba(64,0,0,1.0) inset, + 0 0 8px 0 rgba(128,0,0,1.0); +} + +box.requests-menu-status[code^="5"] { + box-shadow: + 0 0 2px 1px rgba(255,255,255,0.8) inset, + 0 -6px 4px 0 rgba(64,0,64,1.0) inset, + 0 0 8px 0 rgba(128,0,128,1.0); +} + +/* Network requests table: waterfall header */ + +#requests-menu-waterfall-label { + -moz-padding-start: 8px; + -moz-padding-end: 8px; +} + +.requests-menu-timings-division { + width: 100px; + padding-top: 1px; + -moz-padding-start: 4px; + -moz-border-start: 1px dotted #999; + font-size: 90%; + pointer-events: none; +} + +.requests-menu-timings-division:not(:first-child) { + -moz-margin-start: -100px !important; /* Don't affect layout. */ +} + +.requests-menu-timings-division:-moz-locale-dir(ltr) { + transform-origin: left center; +} + +.requests-menu-timings-division:-moz-locale-dir(rtl) { + transform-origin: right center; +} + +/* Network requests table: waterfall items */ + +.requests-menu-subitem.requests-menu-waterfall { + -moz-padding-start: 4px; + -moz-padding-end: 4px; + background-repeat: repeat-y; /* Background created on a <canvas> in js. */ + margin-top: -1px; /* Compensate borders. */ + margin-bottom: -1px; +} + +.requests-menu-subitem.requests-menu-waterfall:-moz-locale-dir(rtl) { + background-position: right center; +} + +.requests-menu-timings:-moz-locale-dir(ltr) { + transform-origin: left center; +} + +.requests-menu-timings:-moz-locale-dir(rtl) { + transform-origin: right center; +} + +.requests-menu-timings-total:-moz-locale-dir(ltr) { + transform-origin: left center; +} + +.requests-menu-timings-total:-moz-locale-dir(rtl) { + transform-origin: right center; +} + +.requests-menu-timings-total { + -moz-padding-start: 8px; + font-size: 85%; + font-weight: 600; +} + +.requests-menu-timings-cap { + width: 4px; + height: 10px; + border: 1px solid #fff; +} + +.requests-menu-timings-cap.start { + -moz-border-end: none; +} + +.requests-menu-timings-cap.end { + -moz-border-start: none; +} + +.requests-menu-timings-cap.start:-moz-locale-dir(ltr) { + border-radius: 4px 0 0 4px; + transform-origin: right center; +} + +.requests-menu-timings-cap.start:-moz-locale-dir(rtl) { + border-radius: 0 4px 4px 0; + transform-origin: left center; +} + +.requests-menu-timings-cap.end:-moz-locale-dir(ltr) { + border-radius: 0 4px 4px 0; + transform-origin: left center; +} + +.requests-menu-timings-cap.end:-moz-locale-dir(rtl) { + border-radius: 4px 0 0 4px; + transform-origin: right center; +} + +.requests-menu-timings-box { + height: 10px; + border-top: 1px solid #fff; + border-bottom: 1px solid #fff; +} + +.requests-menu-timings-box.blocked, +.requests-menu-timings-cap.blocked { + background-color: rgba(255,32,32,0.8); + box-shadow: 0 0 8px 0 rgba(128,32,32,0.8), + 0 0 4px 0 rgba(255,255,255,1.0) inset; +} + +.requests-menu-timings-box.dns, +.requests-menu-timings-cap.dns { + background-color: rgba(255,128,255,0.6); + box-shadow: 0 0 8px 0 rgba(128,128,255,1.0), + 0 0 4px 0 rgba(255,255,255,1.0) inset; +} + +.requests-menu-timings-box.connect, +.requests-menu-timings-cap.connect { + background-color: rgba(255,128,16,0.4); + box-shadow: 0 0 8px 0 rgba(128,128,16,0.8), + 0 0 4px 0 rgba(255,255,255,1.0) inset; +} + +.requests-menu-timings-box.send, +.requests-menu-timings-cap.send { + background-color: rgba(255,255,128,0.4); + box-shadow: 0 0 8px 0 rgba(128,255,128,0.8), + 0 0 4px 0 rgba(255,255,255,1.0) inset; +} + +.requests-menu-timings-box.wait, +.requests-menu-timings-cap.wait { + background-color: rgba(255,255,255,0.2); + box-shadow: 0 0 8px 0 rgba(128,255,255,0.4), + 0 0 4px 0 rgba(255,255,255,1.0) inset; +} + +.requests-menu-timings-box.receive, +.requests-menu-timings-cap.receive { + background-color: rgba(255,255,255,1.0); + box-shadow: 0 0 8px 0 rgba(128,255,255,1.0), + 0 0 4px 0 rgba(255,255,255,1.0) inset; +} + +/* SideMenuWidget */ + +.side-menu-widget-item[odd] { + background: rgba(255,255,255,0.05); +} + +.side-menu-widget-item-contents { + padding: 0; +} + +/* Network request details */ + +#details-pane { + background: hsl(208,11%,27%); + max-width: 500px; +} + +#details-pane-toggle { + background: none; + box-shadow: none; + border-color: transparent; + 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:active { + -moz-image-region: rect(0px,32px,16px,16px); +} + +/* Network request details tabpanels */ + +.tabpanel-content { + background: url(background-noise-toolbar.png), #3e4750; + box-shadow: 0 1px 0 hsla(204,45%,98%,.05) inset; + color: #fff; +} + +.tabpanel-summary-container { + padding: 1px; +} + +.tabpanel-summary-label { + -moz-padding-start: 4px; + -moz-padding-end: 3px; + font-weight: 600; + text-shadow: 0 1px 0 #000; + color: hsl(210,30%,85%); +} + +.tabpanel-summary-value { + -moz-padding-start: 3px; + font-family: Menlo, Monaco, monospace; +} + +.variable-or-property:not(:focus) > .title > .token-string { + color: #10c !important; +} + +/* Headers tabpanel */ + +#headers-summary-status, +#headers-summary-version { + padding-bottom: 2px; +} + +#headers-summary-size { + padding-top: 2px; +} + +/* Response tabpanel */ + +#response-content-info-header { + background: + url(background-noise-toolbar.png), + linear-gradient(hsl(0,61%,40%), hsl(0,61%,31%)) repeat-x top left; + box-shadow: + inset 0 1px 0 hsla(210,40%,83%,.15), + inset 0 -1px 0 hsla(210,40%,83%,.05); + margin: 0; + padding: 5px 8px; +} + +#response-content-image-box { + padding-top: 10px; + padding-bottom: 10px; +} + +#response-content-image { + background: #fff; + border: 1px dashed GrayText; + 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; +} + +/* Footer */ + +#requests-menu-footer { + box-shadow: inset 0 1px 16px hsla(210,8%,5%,.3); +} + +.requests-menu-footer-button, +.requests-menu-footer-label { + min-width: 1em; + margin: 0; + border: none; + padding: 0px 1.5vw; + color: #fff; +} + +.requests-menu-footer-spacer { + min-width: 2px; +} + +.requests-menu-footer-spacer, +.requests-menu-footer-button { + -moz-border-end: 1px solid hsla(210,8%,5%,.25); + box-shadow: 1px 0 0 hsla(210,16%,76%,.1); +} + +.requests-menu-footer-button { + -moz-appearance: none; + background: rgba(0,0,0,0.025); +} + +.requests-menu-footer-button:hover { + background: rgba(0,0,0,0.20); +} + +.requests-menu-footer-button:hover:active { + background: rgba(0,0,0,0.35); +} + +.requests-menu-footer-button:not(:active)[checked] { + background-color: rgba(0,0,0,0.25); + background-image: radial-gradient(farthest-side at center top, hsla(200,100%,70%,.7), hsla(200,100%,70%,0.3)); + background-size: 100% 1px; + background-repeat: no-repeat; +} + +.requests-menu-footer-label { + font-weight: 600; +} + +/* Responsive sidebar */ +@media (max-width: 700px) { + #requests-menu-toolbar { + height: 24px; + } + + .requests-menu-header-button { + min-height: 23px; /* Remaining 1px comes from border of the toolbar. */ + } + + .requests-menu-footer-button, + .requests-menu-footer-label { + padding: 0px 2vw; + } + + #details-pane { + max-width: none; + margin: 0 !important; + /* To prevent all the margin hacks to hide the sidebar. */ + } + + .requests-menu-status-and-method { + width: 16vw; + } + + .requests-menu-file, + .requests-menu-domain { + width: 30vw; + } + + .requests-menu-type { + width: 8vw; + } + + .requests-menu-size { + width: 16vw; + border-width: 0 !important; + box-shadow: none !important; + /* The "Timeline" header is not visible anymore, and thus the + right border and box-shadow of "Size" column should be hidden. */ + } +} + +@media (min-width: 701px) { + #network-table[type-overflows] .requests-menu-domain { + border-width: 0 !important; + box-shadow: none !important; + /* The "Type" header is not visible anymore, and thus the + right border and box-shadow of "Domain" column should be hidden. */ + } + + #network-table[domain-overflows] .requests-menu-file { + border-width: 0 !important; + box-shadow: none !important; + /* The "Domain" header is not visible anymore, and thus the + right border and box-shadow of "File" column should be hidden. */ + } +} diff --git a/browser/themes/windows/devtools/option-icon.png b/browser/themes/windows/devtools/option-icon.png Binary files differnew file mode 100644 index 000000000..9fd78175d --- /dev/null +++ b/browser/themes/windows/devtools/option-icon.png diff --git a/browser/themes/windows/devtools/orion-breakpoint.png b/browser/themes/windows/devtools/orion-breakpoint.png Binary files differnew file mode 100644 index 000000000..ddd344eee --- /dev/null +++ b/browser/themes/windows/devtools/orion-breakpoint.png diff --git a/browser/themes/windows/devtools/orion-container.css b/browser/themes/windows/devtools/orion-container.css new file mode 100644 index 000000000..cf3568a94 --- /dev/null +++ b/browser/themes/windows/devtools/orion-container.css @@ -0,0 +1,39 @@ +/* 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/. */ + +.viewTooltip { + display: none; /* TODO: add tooltips support, see bug 721752 */ + font-family: monospace; + font-size: 13px; + background-color: InfoBackground; + color: InfoText; + padding: 2px; + border-radius: 4px; + border: 1px solid black; + z-index: 100; + position: fixed; + overflow: hidden; + white-space: pre; +} + +.viewTooltip em { + font-style: normal; + font-weight: bold; +} + +.annotationHTML { + cursor: pointer; + width: 16px; + height: 16px; + display: inline-block; + vertical-align: middle; + background-position: center; + background-repeat: no-repeat; +} +.annotationHTML.task { + background-image: url("chrome://browser/skin/devtools/orion-task.png"); +} +.annotationHTML.breakpoint { + background-image: url("chrome://browser/skin/devtools/orion-breakpoint.png"); +} diff --git a/browser/themes/windows/devtools/orion-debug-location.png b/browser/themes/windows/devtools/orion-debug-location.png Binary files differnew file mode 100644 index 000000000..a00649b77 --- /dev/null +++ b/browser/themes/windows/devtools/orion-debug-location.png diff --git a/browser/themes/windows/devtools/orion-task.png b/browser/themes/windows/devtools/orion-task.png Binary files differnew file mode 100644 index 000000000..42dbc00b6 --- /dev/null +++ b/browser/themes/windows/devtools/orion-task.png diff --git a/browser/themes/windows/devtools/orion.css b/browser/themes/windows/devtools/orion.css new file mode 100644 index 000000000..f51ecceeb --- /dev/null +++ b/browser/themes/windows/devtools/orion.css @@ -0,0 +1,199 @@ +/* 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/. */ + +.viewContainer { + background: hsl(0,0%,89%); /* This will be seen as the continuation of the ruler */ + font-family: monospace; + font-size: inherit; /* inherit browser's default monospace font size */ +} + +.view { + color: black; /* Default text color */ + background: white; /* Background of the editor */ + padding-left: 4px; +} + +.readonly > .view { + background: #fdfefd; /* super light green */ +} + +.ruler { + background: hsl(0,0%,89%); + color: hsl(0,0%,55%); +} +.ruler.annotations { + width: 16px; + padding-left: 4px; +} +.ruler.lines { + border-right: 1px solid #b4c4d3; + min-width: 1.4em; + padding-left: 4px; + padding-right: 4px; + text-align: end; +} + +.ruler.linesWithAnnotations { + min-width: 0; + padding-left: 0; +} + +.ruler.overview { + border-left: 1px solid #b4c4d3; + width: 14px; + text-align: start; +} + +/* Styles for the annotation ruler (first line) */ +.annotationHTML { + cursor: pointer; + width: 16px; + height: 16px; + display: inline-block; + vertical-align: middle; + background-position: center; + background-repeat: no-repeat; +} +.annotation.task .annotationHTML { + background-image: url("chrome://browser/skin/devtools/orion-task.png"); +} +.annotation.breakpoint .annotationHTML { + background-image: url("chrome://browser/skin/devtools/orion-breakpoint.png"); +} +.annotation.debugLocation .annotationHTML { + background-image: url("chrome://browser/skin/devtools/orion-debug-location.png"); +} +.annotation.breakpoint.debugLocation .annotationHTML, +.annotation.task.debugLocation .annotationHTML { + background-position: center, center; + background-repeat: no-repeat, no-repeat; + background-size: 75%, 100%; +} +.annotation.breakpoint.debugLocation .annotationHTML { + background-image: url("chrome://browser/skin/devtools/orion-debug-location.png"), + url("chrome://browser/skin/devtools/orion-breakpoint.png"); +} + +.annotation.task.debugLocation .annotationHTML { + background-image: url("chrome://browser/skin/devtools/orion-debug-location.png"), + url("chrome://browser/skin/devtools/orion-task.png"); +} + +/* Styles for the overview ruler */ +.annotationOverview { + cursor: pointer; + border-radius: 2px; + left: 2px; + width: 8px; +} +.annotationOverview.task { + background-color: lightgreen; + border: 1px solid green; +} +.annotationOverview.breakpoint { + background-color: lightblue; + border: 1px solid blue; +} +.annotationOverview.debugLocation { + background-color: white; + border: 1px solid green; +} +.annotationOverview.currentBracket { + background-color: lightgray; + border: 1px solid red; +} +.annotationOverview.matchingBracket { + background-color: lightgray; + border: 1px solid red; +} + +/* Styles for text range */ +.annotationRange { + background-repeat: repeat-x; + background-position: left bottom; +} +.annotationRange.task { + outline: 1px dashed rgba(0, 255, 0, 0.5); +} +.annotationRange.matchingBracket { + outline: 1px solid grey; +} + +.token_singleline_comment, +.token_multiline_comment, +.token_doc_comment { + color: hsl(90,2%,50%); /* grey */ +} + +.token_doc_html_markup { + color: #dd0058; /* purple */ +} + +.token_doc_tag { + color: #dd0058; /* purple */ +} + +.token_task_tag { /* "TODO" */ + color: black; + background: yellow; +} + +.token_string { + color: hsl(72,100%,27%); /* green */ + font-style: italic; +} + +.token_keyword { + color: hsl(276,44%,45%); /* purple */ +} + +.token_space { + /* images/white_space.png */ + background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAIAAABv85FHAAAABnRSTlMA/wAAAACkwsAdAAAAIUlEQVR4nGP4z8CAC+GUIEXuABhgkTuABEiRw2cmae4EAH05X7xDolNRAAAAAElFTkSuQmCC"); + background-repeat: no-repeat; + background-position: center center; +} + +.token_tab { + /* images/white_tab.png */ + background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAJCAIAAACJ2loDAAAABnRSTlMA/wD/AP83WBt9AAAAMklEQVR4nGP4TwRgoK6i52c3bz5w6zMSA6tJn28d2Lx589nnCAYu63AaSLxJRLoJPwAAeNk0aG4opfMAAAAASUVORK5CYII="); + background-repeat: no-repeat; + background-position: left center; +} + +.line_caret, +.annotationLine.currentLine { /* Current line */ + background: hsl(208, 93%, 94%); +} + +.readonly .line_caret, +.readonly .annotationLine.currentLine { + background: hsl(208, 80%, 90%); +} + +/* Styling for html syntax highlighting */ +.entity-name-tag { + color: hsl(208,48%,40%); /* blue */ +} + +.entity-other-attribute-name { + color: hsl(208,48%,40%); /* blue */ +} + +.punctuation-definition-comment { + color: hsl(90,2%,50%); /* grey */ +} + +.comment { + color: hsl(90,2%,50%); /* grey */ +} + +.string-quoted { + color: hsl(24,85%,39%); /* orange */ +} + +.invalid { + color: red; + font-weight: bold; +} diff --git a/browser/themes/windows/devtools/profiler.css b/browser/themes/windows/devtools/profiler.css new file mode 100644 index 000000000..152678396 --- /dev/null +++ b/browser/themes/windows/devtools/profiler.css @@ -0,0 +1,5 @@ +/* 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/. */ + +%include ../../shared/devtools/profiler.inc.css
\ No newline at end of file diff --git a/browser/themes/windows/devtools/responsive-background.png b/browser/themes/windows/devtools/responsive-background.png Binary files differnew file mode 100644 index 000000000..271dd5ebc --- /dev/null +++ b/browser/themes/windows/devtools/responsive-background.png diff --git a/browser/themes/windows/devtools/responsive-se-resizer.png b/browser/themes/windows/devtools/responsive-se-resizer.png Binary files differnew file mode 100644 index 000000000..bdc03ee24 --- /dev/null +++ b/browser/themes/windows/devtools/responsive-se-resizer.png diff --git a/browser/themes/windows/devtools/responsive-vertical-resizer.png b/browser/themes/windows/devtools/responsive-vertical-resizer.png Binary files differnew file mode 100644 index 000000000..1bb622dd3 --- /dev/null +++ b/browser/themes/windows/devtools/responsive-vertical-resizer.png diff --git a/browser/themes/windows/devtools/ruleview.css b/browser/themes/windows/devtools/ruleview.css new file mode 100644 index 000000000..b0ddd80e6 --- /dev/null +++ b/browser/themes/windows/devtools/ruleview.css @@ -0,0 +1,131 @@ +/* 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/. */ + +.ruleview { + height: 100%; +} + +.ruleview-rule-source { + -moz-padding-start: 5px; + cursor: pointer; + text-align: right; + float: right; + -moz-user-select: none; +} + +.ruleview-rule-inheritance { + border-top-width: 1px; + border-bottom-width: 1px; + border-top-style: solid; + border-bottom-style: solid; + padding: 1px 4px; + margin-top: 4px; + -moz-user-select: none; +} + +.ruleview-rule-source:hover { + text-decoration: underline; +} + +.ruleview-rule, +#noResults { + padding: 2px 4px; +} + +#noResults { + font: message-box; + color: GrayText; +} + +.ruleview-rule + .ruleview-rule { + border-top-width: 1px; + border-top-style: dotted; +} + +.ruleview-warning { + background: url("chrome://browser/skin/devtools/alerticon-warning.png"); + -moz-margin-start: 5px; + vertical-align: middle; + width: 13px; + height: 12px; +} + +.ruleview-ruleopen { + -moz-padding-end: 5px; +} + +.ruleview-ruleclose { + cursor: text; + padding-right: 20px; +} + +.ruleview-propertylist { + list-style: none; + padding: 0; + margin: 0; +} + +.ruleview-rule:not(:hover) .ruleview-enableproperty { + visibility: hidden; +} + +.ruleview-expander { + display: inline-block; +} + +.ruleview-newproperty { + /* (enable checkbox width: 12px) + (expander width: 15px) */ + -moz-margin-start: 27px; +} + +.ruleview-namecontainer, +.ruleview-propertycontainer, +.ruleview-propertyname, +.ruleview-propertyvalue { + text-decoration: inherit; +} + +.ruleview-computedlist { + list-style: none; + padding: 0; +} + +.ruleview-computed { + -moz-margin-start: 35px; +} + +.ruleview-overridden { + text-decoration: line-through; +} + +.styleinspector-propertyeditor { + border: 1px solid #CCC; + padding: 0; +} + +.ruleview-property { + border-left: 2px solid transparent; +} + +.ruleview-property > * { + vertical-align: middle; +} + +.ruleview-property[dirty] { + border-left-color: #68E268; +} + +.ruleview-namecontainer > .ruleview-propertyname, +.ruleview-propertycontainer > .ruleview-propertyvalue { + border-bottom: 1px dashed transparent; +} + +.ruleview-namecontainer:hover > .ruleview-propertyname, +.ruleview-propertycontainer:hover > .ruleview-propertyvalue { + border-bottom-color: hsl(0,0%,50%); +} + +.ruleview-selector-separator, .ruleview-selector-unmatched { + color: #888; +} diff --git a/browser/themes/windows/devtools/scratchpad.css b/browser/themes/windows/devtools/scratchpad.css new file mode 100644 index 000000000..86b4b167b --- /dev/null +++ b/browser/themes/windows/devtools/scratchpad.css @@ -0,0 +1,5 @@ +/* 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/. */
+
+%include ../../shared/devtools/scratchpad.inc.css
\ No newline at end of file diff --git a/browser/themes/windows/devtools/splitview.css b/browser/themes/windows/devtools/splitview.css new file mode 100644 index 000000000..549f4cdaa --- /dev/null +++ b/browser/themes/windows/devtools/splitview.css @@ -0,0 +1,115 @@ +/* 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/. */ + +.splitview-nav-container { + background-color: hsl(211,21%,26%); + color: white; +} + +.loading .splitview-nav-container { + background-image: url(chrome://global/skin/icons/loading_16.png); + background-repeat: no-repeat; + background-position: center center; +} + +.splitview-nav { + -moz-appearance: none; + margin: 0; + box-shadow: inset -1px 0 0 #222426; +} + +.splitview-nav > li { + color: white; + background-clip: padding-box; + border-bottom: 1px solid hsla(210,40%,83%,.1); + box-shadow: inset 0 -1px 0 hsla(211,68%,6%,.3); + -moz-padding-end: 8px; + -moz-box-align: center; +} + +.splitview-nav { + list-style-image: none; + list-style: none; + padding: 0; + margin: 0; +} + +.splitview-nav > li { + outline: 0; + vertical-align: bottom; +} + +.placeholder { + -moz-box-flex: 1; + text-align: center; +} + +.splitview-nav > li.splitview-active { + background-image: url(itemArrow-ltr.png), + linear-gradient(to right, black, black), + linear-gradient(hsl(200,100%,33%), hsl(200,100%,25%)); + background-repeat: no-repeat, no-repeat, repeat-x; + background-position: center right, top right, top left; + background-size: auto, 1px 100%, auto; + border-bottom: 1px solid hsla(210,8%,5%,.25); + box-shadow: inset 0 1px 0 hsla(210,40%,83%,.15), + inset 0 -1px 0 hsla(210,40%,83%,.05); +} + +.splitview-nav > li.splitview-active:-moz-locale-dir(rtl) { + background-image: url(itemArrow-rtl.png), + linear-gradient(to right, black, black), + linear-gradient(hsl(200,100%,33%), hsl(200,100%,25%)); + background-repeat: no-repeat, no-repeat, repeat-x; + background-position: center left, top left, top right; +} + +/* Toolbars */ + +.devtools-toolbar { + height: 26px; + background-origin: border-box; + background-clip: border-box; + border-top-width: 0; + border-bottom: 1px solid hsla(210,8%,5%,.65); + padding: 3px; +} + +.splitview-main > toolbar:-moz-locale-dir(ltr) { + border-right: 1px solid hsla(210,8%,5%,.5); +} + +.splitview-main > toolbar:-moz-locale-dir(rtl) { + border-left: 1px solid hsla(210,8%,5%,.5); +} + +.devtools-toolbarbutton { + font-size: 11px; + padding: 0 8px; + width: auto; + min-width: 48px; + min-height: 0; +} + + +/* Resizers */ + +.splitview-landscape-splitter { + -moz-border-start-color: transparent; +} + +.splitview-portrait-resizer { + -moz-appearance: none; + background: linear-gradient(black 1px, rgba(255,255,255,0.2) 1px), + linear-gradient(hsl(209,18%,34%), hsl(210,24%,16%)); + height: 12px; + background-size: 10px 2px, 100% 12px; + background-clip: content-box, border-box; + background-repeat: repeat-y, no-repeat; + background-position: center center; + padding: 2px 0; + border-top: 1px solid hsla(210,8%,5%,.5); + border-bottom: 1px solid hsla(210,8%,5%,.5); +} diff --git a/browser/themes/windows/devtools/styleeditor.css b/browser/themes/windows/devtools/styleeditor.css new file mode 100644 index 000000000..8b10c25f9 --- /dev/null +++ b/browser/themes/windows/devtools/styleeditor.css @@ -0,0 +1,131 @@ +/* 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/. */ + +#style-editor-chrome { + background-color: hsl(211,21%,26%); +} + +.stylesheet-title, +.stylesheet-name { + text-decoration: none; + color: hsl(210,30%,85%); +} + +.stylesheet-name { + font-size: 13px; +} + +.stylesheet-rule-count, +.stylesheet-saveButton { + color: hsl(210,16%,53%); +} + +.stylesheet-saveButton { + text-decoration: underline; + cursor: pointer; +} + +.splitview-active .stylesheet-title, +.splitview-active .stylesheet-name { + color: hsl(0,0%,100%); +} + +.splitview-active .stylesheet-rule-count, +.splitview-active .stylesheet-saveButton { + color: hsl(205,50%,70%); +} + +.splitview-nav:focus { + outline: 0; /* focus ring is on the stylesheet name */ +} + +.splitview-nav > li.unsaved > hgroup .stylesheet-name { + font-style: italic; +} + +.splitview-nav:-moz-locale-dir(ltr) > li.unsaved > hgroup .stylesheet-name:before, +.splitview-nav:-moz-locale-dir(rtl) > li.unsaved > hgroup .stylesheet-name:after { + font-style: italic; +} + +.splitview-nav.empty > p { + padding: 0 10px; +} + +.stylesheet-enabled { + padding: 8px 0; + margin: 0 8px; + background-image: url(itemToggle.png); + background-repeat: no-repeat; + background-clip: content-box; + background-position: 0 8px; + width: 24px; + height: 40px; +} + +.disabled > .stylesheet-enabled { + background-position: -24px 8px; +} + +.splitview-nav > li > .stylesheet-enabled:focus, +.splitview-nav > li:hover > .stylesheet-enabled { + outline: 0; +} + +.stylesheet-error-message { + color: red; +} + +.stylesheet-more > h3 { + font-size: 11px; + -moz-margin-end: 2px; +} + +.devtools-searchinput { + max-width: 25ex; + font-size: 11px; +} + +.placeholder { + color: white; +} + +.placeholder a { + text-decoration: underline; +} + +h1, +h2, +h3 { + font-size: inherit; + font-weight: normal; + margin: 0; + padding: 0; +} + +/* portrait mode */ +@media (max-width: 550px) { + .splitview-nav { + box-shadow: none; + } + + .splitview-nav > li.splitview-active { + background-size: 0 0, 0 0, auto; + } + + .stylesheet-enabled { + padding: 0; + background-position: 0 0; + height: 24px; + } + + .disabled > .stylesheet-enabled { + background-position: -24px 0; + } + + .splitview-nav > li > hgroup.stylesheet-info { + -moz-box-align: baseline; + } +} diff --git a/browser/themes/windows/devtools/toggle-tools.png b/browser/themes/windows/devtools/toggle-tools.png Binary files differnew file mode 100644 index 000000000..8a40d0d11 --- /dev/null +++ b/browser/themes/windows/devtools/toggle-tools.png diff --git a/browser/themes/windows/devtools/tool-debugger-paused.png b/browser/themes/windows/devtools/tool-debugger-paused.png Binary files differnew file mode 100644 index 000000000..4c968f542 --- /dev/null +++ b/browser/themes/windows/devtools/tool-debugger-paused.png diff --git a/browser/themes/windows/devtools/tool-debugger.png b/browser/themes/windows/devtools/tool-debugger.png Binary files differnew file mode 100644 index 000000000..af4dbc0e0 --- /dev/null +++ b/browser/themes/windows/devtools/tool-debugger.png diff --git a/browser/themes/windows/devtools/tool-inspector.png b/browser/themes/windows/devtools/tool-inspector.png Binary files differnew file mode 100644 index 000000000..8c1e7f308 --- /dev/null +++ b/browser/themes/windows/devtools/tool-inspector.png diff --git a/browser/themes/windows/devtools/tool-network.png b/browser/themes/windows/devtools/tool-network.png Binary files differnew file mode 100644 index 000000000..01f23203f --- /dev/null +++ b/browser/themes/windows/devtools/tool-network.png diff --git a/browser/themes/windows/devtools/tool-options.png b/browser/themes/windows/devtools/tool-options.png Binary files differnew file mode 100644 index 000000000..7079a1752 --- /dev/null +++ b/browser/themes/windows/devtools/tool-options.png diff --git a/browser/themes/windows/devtools/tool-profiler.png b/browser/themes/windows/devtools/tool-profiler.png Binary files differnew file mode 100644 index 000000000..8f30f12a9 --- /dev/null +++ b/browser/themes/windows/devtools/tool-profiler.png diff --git a/browser/themes/windows/devtools/tool-styleeditor.png b/browser/themes/windows/devtools/tool-styleeditor.png Binary files differnew file mode 100644 index 000000000..83765d9f6 --- /dev/null +++ b/browser/themes/windows/devtools/tool-styleeditor.png diff --git a/browser/themes/windows/devtools/tool-webconsole.png b/browser/themes/windows/devtools/tool-webconsole.png Binary files differnew file mode 100644 index 000000000..86633249a --- /dev/null +++ b/browser/themes/windows/devtools/tool-webconsole.png diff --git a/browser/themes/windows/devtools/toolbox.css b/browser/themes/windows/devtools/toolbox.css new file mode 100644 index 000000000..ef71b811a --- /dev/null +++ b/browser/themes/windows/devtools/toolbox.css @@ -0,0 +1,282 @@ +/* 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/. */ + +#toolbox-controls { + margin: 0 4px; +} + +#toolbox-controls > toolbarbutton, +#toolbox-dock-buttons > toolbarbutton { + -moz-appearance: none; + border: none; + margin: 0 4px; + min-width: 16px; + width: 16px; +} + +#toolbox-dock-bottom { + list-style-image: url("chrome://browser/skin/devtools/dock-bottom.png"); +} + +#toolbox-dock-side { + list-style-image: url("chrome://browser/skin/devtools/dock-side.png"); +} + +#toolbox-dock-window { + list-style-image: url("chrome://browser/skin/devtools/undock.png"); +} + +#toolbox-dock-window, +#toolbox-dock-bottom, +#toolbox-dock-side { + opacity: 0.6; +} + +#toolbox-dock-window:hover, +#toolbox-dock-bottom:hover, +#toolbox-dock-side:hover { + opacity: 1; +} + +#toolbox-controls-separator { + width: 3px; + background-image: linear-gradient(hsla(204,45%,98%,0), hsla(204,45%,98%,.1), hsla(204,45%,98%,0)), + linear-gradient(hsla(206,37%,4%,0), hsla(206,37%,4%,.6), hsla(206,37%,4%,0)), + linear-gradient(hsla(204,45%,98%,0), hsla(204,45%,98%,.1), hsla(204,45%,98%,0)); + background-size: 1px 100%; + background-repeat: no-repeat; + background-position: 0, 1px, 2px; + -moz-margin-start: 8px; +} + + +/* Command buttons */ + +.command-button { + -moz-appearance: none; + border: none; + margin: 0; + padding: 0 8px; + width: 16px; +} + +.command-button:hover { + background-color: hsla(206,37%,4%,.2); +} +.command-button:hover:active, .command-button[checked=true]:not(:hover) { + background-color: hsla(206,37%,4%,.4); +} + +#command-button-paintflashing { + list-style-image: url("chrome://browser/skin/devtools/command-paintflashing.png"); + -moz-image-region: rect(0px, 16px, 16px, 0px); +} +#command-button-paintflashing:hover { + -moz-image-region: rect(0px, 32px, 16px, 16px); +} +#command-button-paintflashing:hover:active { + -moz-image-region: rect(0px, 48px, 16px, 32px); +} +#command-button-paintflashing[checked=true] { + -moz-image-region: rect(0px, 64px, 16px, 48px); +} + +#command-button-responsive { + list-style-image: url("chrome://browser/skin/devtools/command-responsivemode.png"); + -moz-image-region: rect(0px, 16px, 16px, 0px); +} +#command-button-responsive:hover { + -moz-image-region: rect(0px, 32px, 16px, 16px); +} +#command-button-responsive:hover:active { + -moz-image-region: rect(0px, 48px, 16px, 32px); +} +#command-button-responsive[checked=true] { + -moz-image-region: rect(0px, 64px, 16px, 48px); +} + +#command-button-tilt { + list-style-image: url("chrome://browser/skin/devtools/command-tilt.png"); + -moz-image-region: rect(0px, 16px, 16px, 0px); +} +#command-button-tilt:hover { + -moz-image-region: rect(0px, 32px, 16px, 16px); +} + +#command-button-tilt:hover:active { + -moz-image-region: rect(0px, 48px, 16px, 32px); +} + +#command-button-tilt[checked=true] { + -moz-image-region: rect(0px, 64px, 16px, 48px); +} + +#command-button-scratchpad { + list-style-image: url("chrome://browser/skin/devtools/command-scratchpad.png"); + -moz-image-region: rect(0px, 16px, 16px, 0px); +} + +#command-button-scratchpad:hover { + -moz-image-region: rect(0px, 32px, 16px, 16px); +} + +#command-button-scratchpad:hover:active { + -moz-image-region: rect(0px, 48px, 16px, 32px); +} + +/* Tabs */ + +.devtools-tabbar { + -moz-appearance: none; + background-image: url("background-noise-toolbar.png"), + linear-gradient(#303840, #2d3640); + border-bottom: 1px solid #060a0d; + box-shadow: 0 1px 0 hsla(204,45%,98%,.05) inset, + 0 -1px 0 hsla(206,37%,4%,.1) inset; + min-height: 32px; + padding: 0; +} + +#toolbox-tabs { + margin: 0; +} + +.devtools-tab { + -moz-appearance: none; + min-width: 32px; + min-height: 32px; + max-width: 110px; + color: #b6babf; + margin: 0; + padding: 0; + background-image: linear-gradient(hsla(204,45%,98%,.05), hsla(204,45%,98%,.1)), + linear-gradient(hsla(204,45%,98%,.05), hsla(204,45%,98%,.1)); + background-size: 1px 100%; + background-repeat: no-repeat; + background-position: left, right; + border-top: 1px solid #060a0d; + border-right: 1px solid hsla(206,37%,4%,.45); +} + +.devtools-tab > image { + -moz-margin-end: 0; + -moz-margin-start: 4px; + opacity: 0.6; +} + +#toolbox-tab-options > image { + margin: 0 8px; +} + +.devtools-tab:hover > image { + opacity: 0.8; +} + +.devtools-tab:active > image, +.devtools-tab[selected=true] > image { + opacity: 1; +} + +.devtools-tab:hover { + background-image: linear-gradient(hsla(204,45%,98%,.05), hsla(204,45%,98%,.1)), + linear-gradient(hsla(204,45%,98%,.05), hsla(204,45%,98%,.1)), + linear-gradient(hsla(206,37%,4%,.1), hsla(206,37%,4%,.2)); + background-size: 1px 100%, + 1px 100%, + 100%; + background-repeat: no-repeat, + no-repeat, + repeat-x; + background-position: left, right; + color: #ced3d9; +} +.devtools-tab:hover:active { + background-color: hsla(206,37%,4%,.2); + color: #f5f7fa; +} + +.devtools-tab[selected=true] { + color: #f5f7fa; + background-image: radial-gradient(farthest-corner at center top, #9fdfff, hsla(200,100%,70%,.3)), + radial-gradient(farthest-side at center top, hsla(200,100%,70%,.4), hsla(200,100%,70%,0)), + linear-gradient(hsla(204,45%,98%,.05), hsla(204,45%,98%,.1)), + linear-gradient(hsla(204,45%,98%,.02), hsla(204,45%,98%,.04)), + linear-gradient(hsla(206,37%,4%,.2), hsla(206,37%,4%,.3)); + background-size: 100% 1px, + 100% 5px, + 1px 100%, + 1px 100%, + 100%; + background-repeat: no-repeat, + no-repeat, + no-repeat, + no-repeat, + repeat-x; + background-position: top right, top left, left, right; + box-shadow: 1px -1px 0 hsla(206,37%,4%,.2) inset; +} + +.devtools-tab:not([selected=true]).highlighted { + color: #f5f7fa; + background-image: radial-gradient(farthest-corner at center top, #c0ff40, hsla(80,100%,63%,.5) 70%, hsla(80,100%,63%,.3) 97%), + radial-gradient(farthest-side at center top, hsla(80,100%,35%,.5), hsla(80,100%,35%,0)), + linear-gradient(hsla(204,45%,98%,.05), hsla(204,45%,98%,.1)), + linear-gradient(hsla(204,45%,98%,.05), hsla(204,45%,98%,.1)), + linear-gradient(hsla(99,100%,14%,.2), hsla(99,100%,14%,.2)); + background-size: 100% 1px, + 100% 5px, + 1px 100%, + 1px 100%, + 100%; + background-repeat: no-repeat, + no-repeat, + no-repeat, + no-repeat, + repeat-x; + background-position: top right, top left, left, right; +} + +.devtools-tab:not(.highlighted) > .highlighted-icon, +.devtools-tab[selected=true] > .highlighted-icon, +.devtools-tab:not([selected=true]).highlighted > .default-icon { + visibility: collapse; +} + +#options-panel { + background-image: url("chrome://browser/skin/newtab/noise.png"); +} + +.options-vertical-pane { + margin: 15px; + width: calc(50% - 30px); + min-width: 400px; + -moz-padding-start: 5px; +} + +.options-vertical-pane > label { + padding: 5px 0; + font-size: 1.4rem; +} + +.options-groupbox { + -moz-margin-start: 15px; + padding: 4px; +} + +.options-groupbox > * { + padding: 2px; +} + +.options-citation-label { + font-size: 1rem !important; + /* !important is required otherwise font-size will still be 1.4rem */ + font-style: italic; + padding: 4px 0 0; /* To align it with the checkbox */ + color: #444; +} + +.options-citation-label + label { + padding: 3px 0 0 !important; /* To align it with the checkbox */ + font-style: italic; +} diff --git a/browser/themes/windows/devtools/undock.png b/browser/themes/windows/devtools/undock.png Binary files differnew file mode 100644 index 000000000..4e62b2cee --- /dev/null +++ b/browser/themes/windows/devtools/undock.png diff --git a/browser/themes/windows/devtools/vview-delete.png b/browser/themes/windows/devtools/vview-delete.png Binary files differnew file mode 100644 index 000000000..9604653c0 --- /dev/null +++ b/browser/themes/windows/devtools/vview-delete.png diff --git a/browser/themes/windows/devtools/vview-edit.png b/browser/themes/windows/devtools/vview-edit.png Binary files differnew file mode 100644 index 000000000..af42a28df --- /dev/null +++ b/browser/themes/windows/devtools/vview-edit.png diff --git a/browser/themes/windows/devtools/webconsole.css b/browser/themes/windows/devtools/webconsole.css new file mode 100644 index 000000000..3daf77ca7 --- /dev/null +++ b/browser/themes/windows/devtools/webconsole.css @@ -0,0 +1,21 @@ +/* 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/. */ + +%include ../../shared/devtools/webconsole.inc.css + +.webconsole-timestamp, +.webconsole-msg-body, +.jsterm-input-node, +.jsterm-complete-node { + font-family: Consolas, Lucida Console, monospace; +} + +/* + * This hardcoded width likely due to a toolkit Windows specific bug. + * See http://hg.mozilla.org/mozilla-central/annotate/f38d6df93cad/toolkit/themes/winstripe/global/textbox-aero.css#l7 + */ + +.hud-filter-box { + width: 200px; +} diff --git a/browser/themes/windows/devtools/webconsole.png b/browser/themes/windows/devtools/webconsole.png Binary files differnew file mode 100644 index 000000000..8aee79015 --- /dev/null +++ b/browser/themes/windows/devtools/webconsole.png diff --git a/browser/themes/windows/devtools/webconsole_networkpanel.css b/browser/themes/windows/devtools/webconsole_networkpanel.css new file mode 100644 index 000000000..d66232fe9 --- /dev/null +++ b/browser/themes/windows/devtools/webconsole_networkpanel.css @@ -0,0 +1,100 @@ +/* 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/. */ + +body { + font-family: sans-serif; + font-size: 11px; + background: #EEE; + color: #000; +} + +#header { + padding: 5px; + overflow-x: auto; + display: block; +} + +h1 { + font-size: 13px; + line-height: 15px; + padding: 3px 10px; + vertical-align: bottom; + margin: 0px; + background: linear-gradient(#BBB, #999); + border-radius: 2px; + text-shadow: #FFF 0px 1px 0px; +} + +h1 .info { + font-size: 11px; + line-height: 15px; + vertical-align: bottom; + float: right; + color: #333; + padding-right: 3px; +} + +.property-table { + padding: 2px 5px; + background: linear-gradient(#FFF, #F8F8F8); + color: #333; + width: 100%; + max-height: 330px; + overflow: auto; + display: block; +} + +.property-table-header { + font-size: 11px; + font-weight: bold; + padding-right: 4px; + color: #000; + white-space: nowrap; + text-align: right; + vertical-align: top; + width: 10%; +} + +.property-table-value { + padding-right: 5px; + font-size: 11px; + word-wrap: break-word; + width: 90%; +} + +div.group { + margin-top: 10px; +} + +div.group, +#header { + background: #FFF; + border-color: #E1E1E1; + border-style: solid; + border-width: 1px; + box-shadow: 0 1px 1.5px rgba(0, 0, 0, 0.2); + border-radius: 4px 4px 4px 4px; +} + +img#responseImageNode { + box-shadow: rgba(0,0,0,0.2) 0px 3px 3.5px; + max-width: 100%; +} + +#responseImageNodeDiv { + padding: 5px; +} + +#responseBodyFetchLink, #requestBodyFetchLink { + padding: 5px; + margin: 0; + cursor: pointer; + font-weight: bold; + font-size: 1.1em; + text-decoration: underline; +} + +.longStringEllipsis { + margin-left: 0.6em; +} diff --git a/browser/themes/windows/devtools/widgets.css b/browser/themes/windows/devtools/widgets.css new file mode 100644 index 000000000..0422b68d1 --- /dev/null +++ b/browser/themes/windows/devtools/widgets.css @@ -0,0 +1,655 @@ +/* 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 { + -moz-appearance: none; + background: linear-gradient(hsla(212,7%,57%,.35), hsla(212,7%,57%,.1)) padding-box; + box-shadow: 0 1px 0 hsla(210,16%,76%,.15) inset, + 0 0 0 1px hsla(210,16%,76%,.15) inset, + 0 1px 0 hsla(210,16%,76%,.15); + border: 1px solid hsla(210,8%,5%,.45); + margin: 1px 0 1px; +} + +.scrollbutton-up:not([disabled]):active:hover, +.scrollbutton-down:not([disabled]):active:hover { + background: linear-gradient(hsla(220,6%,10%,.3), hsla(212,7%,57%,.15) 65%, hsla(212,7%,57%,.3)); + box-shadow: 0 0 3px hsla(210,8%,5%,.25) inset, + 0 1px 3px hsla(210,8%,5%,.25) inset, + 0 1px 0 hsla(210,16%,76%,.15); + border-color: hsla(210,8%,5%,.6); +} + +.scrollbutton-up > .toolbarbutton-icon, +.scrollbutton-down > .toolbarbutton-icon { + -moz-appearance: none; + list-style-image: url("breadcrumbs-scrollbutton.png"); + -moz-image-region: rect(0px,7px,16px,0px); + margin: 0 5px; +} + +.scrollbutton-up:not([disabled]):active:hover > .toolbarbutton-icon, +.scrollbutton-down:not([disabled]):active:hover > .toolbarbutton-icon { + -moz-image-region: rect(0px,14px,16px,7px); +} + +.scrollbutton-up[disabled] > .toolbarbutton-icon, +.scrollbutton-down[disabled] > .toolbarbutton-icon { + opacity: 0.5; +} + +.scrollbutton-up > .toolbarbutton-icon:-moz-locale-dir(rtl), +.scrollbutton-down > .toolbarbutton-icon:-moz-locale-dir(ltr) { + transform: scaleX(-1); +} + +.breadcrumbs-widget-item { + background-color: transparent; + -moz-appearance: none; + overflow: hidden; + min-width: 85px; + max-width: 250px; + min-height: 25px; + border-style: solid; + border-width: 2px 13px; + margin: 0 -11px 0 0; + padding: 0 9px; + outline: none; + color: hsl(210,30%,85%); +} + +.breadcrumbs-widget-item:-moz-focusring > label { + border-bottom: 1px dotted hsla(210,30%,85%,0.4); +} + +.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: hsl(20,100%,70%); +} + +.breadcrumbs-widget-item-id, +.breadcrumbs-widget-item-classes { + color: #8d99a6; +} + +.breadcrumbs-widget-item-pseudo-classes { + color: hsl(20,100%,85%); +} + +/* 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) { + border-left-width: 0; +} + +.breadcrumbs-widget-container[overflows] > .breadcrumbs-widget-item:last-of-type:-moz-locale-dir(ltr) { + border-right-width: 0; +} + +/* 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) { + border-right-width: 0; +} + +.breadcrumbs-widget-container[overflows] > .breadcrumbs-widget-item:last-of-type:-moz-locale-dir(rtl) { + border-left-width: 0; +} + +/* SideMenuWidget */ + +.side-menu-widget-container { + background: url(background-noise-toolbar.png), hsl(208,11%,27%); + color: #fff; +} + +.side-menu-widget-container[with-arrow=true]:-moz-locale-dir(ltr), +.side-menu-widget-group[with-arrow=true]:-moz-locale-dir(ltr), +.side-menu-widget-item[with-arrow=true]:-moz-locale-dir(ltr) { + box-shadow: inset -1px 0 0 #222426; +} + +.side-menu-widget-container[with-arrow=true]:-moz-locale-dir(rtl), +.side-menu-widget-group[with-arrow=true]:-moz-locale-dir(rtl), +.side-menu-widget-item[with-arrow=true]:-moz-locale-dir(rtl) { + box-shadow: inset 1px 0 0 #222426; +} + +.side-menu-widget-group-title { + background-image: linear-gradient(#1f3e4f, #1b3243); + box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset, + 0 -2px 0 hsla(206,37%,4%,.05) inset, + 0 -1px 1px hsla(206,37%,4%,.1) inset; + text-shadow: 0 -1px 0 hsla(210,8%,5%,.45); + padding: 4px; + color: #f5f7fa; + transition-property: color, text-shadow; + transition-duration: 0.3s; +} + +.side-menu-widget-group:hover > .side-menu-widget-group-title { + text-shadow: 0 0 1px #cfcfcf; + color: #fff; +} + +.side-menu-widget-item { + border-top: 1px solid hsla(210,16%,76%,.1); + border-bottom: 1px solid hsla(210,8%,5%,.25); + cursor: pointer; +} + +.side-menu-widget-item:last-of-type { + box-shadow: 0 1px 0 hsla(210,16%,76%,.1); +} + +.side-menu-widget-item.selected { + background: linear-gradient(hsl(206,61%,40%), hsl(206,61%,31%)) repeat-x top left !important; + box-shadow: inset 0 1px 0 hsla(210,40%,83%,.15), + inset 0 -1px 0 hsla(210,40%,83%,.05); +} + +.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, black, black); + 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, black, black); + 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: url(background-noise-toolbar.png), hsla(208,11%,27%, 0.65); + margin: 0 -4px; + -moz-padding-start: 5px; +} + +.side-menu-widget-item-other.selected { + background: url(background-noise-toolbar.png), hsla(208,11%,27%, 0.15); + box-shadow: inset 0 1px 0 hsla(210,40%,83%,.07), + inset 0 -1px 0 hsla(210,40%,83%,.07); +} + +.side-menu-widget-item.selected .side-menu-widget-item-other:first-of-type { + border-top: 1px dotted #333; + 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 > label { + color: #f5f7fa; +} + +.side-menu-widget-empty-notice-container { + background: url(background-noise-toolbar.png), hsl(208,11%,27%); + padding: 12px; + color: #fff; + font-weight: 600; +} + +/* VariablesView */ + +.variables-view-container { + background: #fff; +} + +.variables-view-empty-notice { + color: GrayText; + padding: 2px; +} + +.variables-view-scope > .title { + color: #fff; +} + +.variables-view-scope:focus > .title { + background: Highlight; + color: HighlightText; +} + +.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 #ddd; +} + +/* Generic traits applied to both variables and properties */ + +.variable-or-property { + transition: background 1s ease-in-out; + color: #000; +} + +.variable-or-property[changed] { + background: rgba(255,255,0,0.65); + transition-duration: 0.4s; +} + +.variable-or-property > .title > .value { + -moz-padding-start: 6px; + -moz-padding-end: 4px; +} + +.variable-or-property:focus > .title { + background: Highlight; + color: HighlightText; + border-radius: 4px; +} + +.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 #eee; +} + +.variables-view-variable > .title > .name { + font-weight: 600; +} + +.variables-view-variable:not(:focus) > .title > .name { + color: #048; +} + +.variables-view-property:not(:focus) > .title > .name { + color: #881090; +} + +/* Token value colors */ + +.variable-or-property:not(:focus) > .title > .token-undefined { + color: #bbb; +} + +.variable-or-property:not(:focus) > .title > .token-null { + color: #999; +} + +.variable-or-property:not(:focus) > .title > .token-boolean { + color: #10c; +} + +.variable-or-property:not(:focus) > .title > .token-number { + color: #c00; +} + +.variable-or-property:not(:focus) > .title > .token-string { + color: #282; +} + +.variable-or-property:not(:focus) > .title > .token-other { + color: #333; +} + +/* Custom configurable/enumerable/writable or frozen/sealed/extensible + * variables and properties */ + +.variable-or-property[non-enumerable]:not([self]):not([exception]):not([return]) > .title > .name { + opacity: 0.5; +} + +.variable-or-property[non-configurable] > .title > .name { + border-bottom: 1px dashed #99f; +} + +.variable-or-property[non-writable] > .title > .name { + border-bottom: 1px dashed #f99; +} + +.variable-or-property-non-writable-icon { + 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-icon { + background-image: url("chrome://browser/skin/identity-icons-https@2x.png"); + background-size: 32px; + } +} + +.variable-or-property-frozen-label, +.variable-or-property-sealed-label, +.variable-or-property-non-extensible-label { + -moz-padding-end: 4px; +} + +.variable-or-property:not(:focus) > .title > .variable-or-property-frozen-label, +.variable-or-property:not(:focus) > .title > .variable-or-property-sealed-label, +.variable-or-property:not(:focus) > .title > .variable-or-property-non-extensible-label { + color: #666; +} + +/* Special variables and properties */ + +.variable-or-property[safe-getter] > .title > .name { + border-bottom: 1px dashed #8b0; +} + +.variable-or-property[exception]:not(:focus) > .title > .name { + color: #a00; + text-shadow: 0 0 8px #fcc; +} + +.variable-or-property[return]:not(:focus) > .title > .name { + color: #0a0; + text-shadow: 0 0 8px #cfc; +} + +/* 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], +.variable-or-property[non-extensible] > tooltip > label[value=extensible] { + color: #800; + text-decoration: line-through; +} + +.variable-or-property[safe-getter] > tooltip > label[value=WebIDL] { + -moz-padding-start: 4px; + -moz-border-start: 1px dotted #000; + color: #080; +} + +/* Variables and properties editing */ + +.variables-view-delete { + list-style-image: url("chrome://browser/skin/devtools/vview-delete.png"); + -moz-image-region: rect(0,16px,16px,0); +} + +.variables-view-delete:hover { + -moz-image-region: rect(0,32px,16px,16px); +} + +.variables-view-delete:active { + -moz-image-region: rect(0,48px,16px,32px); +} + +*:not(:hover) .variables-view-delete { + display: none; +} + +.variables-view-delete > .toolbarbutton-text { + display: none; +} + +.variables-view-edit { + background: url("chrome://browser/skin/devtools/vview-edit.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: #048; + font-weight: 600; +} + +.element-value-input, +.element-name-input { + border: 1px solid #999 !important; + box-shadow: 1px 2px 4px #aaa; +} + +/* 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; +} + +.arrow[open] { + background-image: url("chrome://global/skin/tree/twisty-open.png"); +} + +.arrow[invisible] { + visibility: hidden; +} |