2011-12-19 14:14:58 +00:00
|
|
|
/* vim:set ts=2 sw=2 sts=2 et: */
|
2012-05-21 11:12:37 +00:00
|
|
|
/* 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/. */
|
2011-12-19 14:14:58 +00:00
|
|
|
|
|
|
|
%include ../shared.inc
|
|
|
|
|
2012-10-22 17:25:00 +00:00
|
|
|
/* Font for code */
|
|
|
|
|
2013-02-04 10:48:24 +00:00
|
|
|
:root {
|
2012-10-22 17:25:00 +00:00
|
|
|
font: message-box;
|
2013-02-04 10:48:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.devtools-monospace {
|
2012-10-22 17:25:00 +00:00
|
|
|
font-family: monospace;
|
|
|
|
}
|
|
|
|
|
2011-12-19 14:14:58 +00:00
|
|
|
/* Toolbar and Toolbar items */
|
|
|
|
|
|
|
|
.devtools-toolbar {
|
|
|
|
-moz-appearance: none;
|
|
|
|
padding: 4px 3px;
|
2012-05-07 13:29:45 +00:00
|
|
|
color: hsl(210,30%,85%);
|
2013-01-10 07:03:00 +00:00
|
|
|
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;
|
2011-12-19 14:14:58 +00:00
|
|
|
}
|
|
|
|
|
2012-05-07 13:29:45 +00:00
|
|
|
.devtools-menulist,
|
2011-12-19 14:14:58 +00:00
|
|
|
.devtools-toolbarbutton {
|
|
|
|
-moz-appearance: none;
|
2012-08-25 12:29:20 +00:00
|
|
|
-moz-box-align: center;
|
2011-12-19 14:14:58 +00:00
|
|
|
min-width: 78px;
|
|
|
|
min-height: 22px;
|
|
|
|
text-shadow: 0 -1px 0 hsla(210,8%,5%,.45);
|
|
|
|
border: 1px solid hsla(210,8%,5%,.45);
|
|
|
|
border-radius: @toolbarbuttonCornerRadius@;
|
2013-04-08 22:44:26 +00:00
|
|
|
background: linear-gradient(hsla(212,7%,57%,.35), hsla(212,7%,57%,.1)) padding-box;
|
2011-12-19 14:14:58 +00:00
|
|
|
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);
|
2012-05-07 13:29:45 +00:00
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
2012-08-25 12:29:20 +00:00
|
|
|
.devtools-toolbarbutton > .toolbarbutton-menubutton-button {
|
|
|
|
-moz-box-orient: horizontal;
|
|
|
|
}
|
|
|
|
|
2012-05-07 13:29:45 +00:00
|
|
|
.devtools-menulist {
|
|
|
|
margin: 0 2px;
|
2011-12-19 14:14:58 +00:00
|
|
|
}
|
|
|
|
|
2012-05-07 13:29:45 +00:00
|
|
|
.devtools-menulist:-moz-focusring,
|
2012-04-04 11:13:42 +00:00
|
|
|
.devtools-toolbarbutton:-moz-focusring {
|
|
|
|
outline: 1px dotted hsla(210,30%,85%,0.4);
|
|
|
|
outline-offset: -4px;
|
|
|
|
}
|
|
|
|
|
2011-12-19 14:14:58 +00:00
|
|
|
.devtools-toolbarbutton > .toolbarbutton-text {
|
|
|
|
margin: 1px 6px;
|
|
|
|
}
|
|
|
|
|
2012-03-08 15:02:23 +00:00
|
|
|
.devtools-toolbarbutton:not([label]) {
|
|
|
|
min-width: 32px;
|
|
|
|
}
|
|
|
|
|
2012-11-30 08:07:59 +00:00
|
|
|
.devtools-toolbarbutton:not([label]) > .toolbarbutton-text {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2012-05-03 06:09:37 +00:00
|
|
|
.devtools-toolbarbutton:not([checked=true]):hover:active {
|
2011-12-19 14:14:58 +00:00
|
|
|
border-color: hsla(210,8%,5%,.6);
|
2013-04-08 22:44:26 +00:00
|
|
|
background: linear-gradient(hsla(220,6%,10%,.3), hsla(212,7%,57%,.15) 65%, hsla(212,7%,57%,.3));
|
2011-12-19 14:14:58 +00:00
|
|
|
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);
|
|
|
|
}
|
|
|
|
|
2012-05-07 13:29:45 +00:00
|
|
|
.devtools-menulist[open=true],
|
2012-08-25 12:29:20 +00:00
|
|
|
.devtools-toolbarbutton[open=true],
|
2012-05-03 06:09:37 +00:00
|
|
|
.devtools-toolbarbutton[checked=true] {
|
2011-12-19 14:14:58 +00:00
|
|
|
border-color: hsla(210,8%,5%,.6);
|
2013-04-08 22:44:26 +00:00
|
|
|
background: linear-gradient(hsla(220,6%,10%,.6), hsla(210,11%,18%,.45) 75%, hsla(210,11%,30%,.4));
|
2011-12-19 14:14:58 +00:00
|
|
|
box-shadow: 0 1px 3px hsla(210,8%,5%,.25) inset, 0 1px 3px hsla(210,8%,5%,.25) inset, 0 1px 0 hsla(210,16%,76%,.15);
|
|
|
|
}
|
|
|
|
|
2012-08-25 12:29:20 +00:00
|
|
|
.devtools-toolbarbutton[checked=true] {
|
|
|
|
color: hsl(208,100%,60%) !important;
|
|
|
|
}
|
|
|
|
|
2012-05-03 06:09:37 +00:00
|
|
|
.devtools-toolbarbutton[checked=true]:hover:active {
|
2011-12-19 14:14:58 +00:00
|
|
|
background-color: hsla(210,8%,5%,.2);
|
|
|
|
}
|
|
|
|
|
2012-10-26 20:28:54 +00:00
|
|
|
.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);
|
|
|
|
}
|
|
|
|
|
2012-05-07 13:29:45 +00:00
|
|
|
.devtools-menulist > .menulist-label-box {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.devtools-menulist > .menulist-dropmarker {
|
|
|
|
-moz-appearance: none;
|
|
|
|
background-color: transparent;
|
|
|
|
display: -moz-box;
|
|
|
|
list-style-image: url("chrome://browser/skin/devtools/dropmarker.png");
|
|
|
|
border-width: 0;
|
|
|
|
min-width: 18px;
|
|
|
|
}
|
|
|
|
|
2012-08-25 12:29:20 +00:00
|
|
|
.devtools-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-button {
|
|
|
|
-moz-appearance: none;
|
|
|
|
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);
|
|
|
|
padding: 0 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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");
|
|
|
|
margin: 0 3px;
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
2012-12-18 07:54:00 +00:00
|
|
|
/* Text input */
|
2011-12-19 14:14:58 +00:00
|
|
|
|
2012-12-18 07:54:00 +00:00
|
|
|
.devtools-textinput,
|
2011-12-19 14:14:58 +00:00
|
|
|
.devtools-searchinput {
|
|
|
|
-moz-appearance: none;
|
|
|
|
margin: 0 3px;
|
2013-03-27 22:20:38 +00:00
|
|
|
min-height: 22px;
|
2011-12-19 14:14:58 +00:00
|
|
|
background-color: transparent;
|
|
|
|
border: 1px solid hsla(210,8%,5%,.6);
|
|
|
|
border-radius: 20px;
|
2013-04-08 22:44:26 +00:00
|
|
|
background-image: linear-gradient(hsla(210,16%,76%,.15), hsla(210,16%,76%,.35));
|
2013-04-03 19:49:54 +00:00
|
|
|
padding: 3px 8px;
|
2012-12-18 07:54:00 +00:00
|
|
|
box-shadow: 0 1px 1px hsla(210,8%,5%,.3) inset,
|
|
|
|
0 0 0 1px hsla(210,16%,76%,.1) inset,
|
|
|
|
0 1px 0 hsla(210,16%,76%,.15);
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
.devtools-searchinput {
|
2013-04-08 22:44:26 +00:00
|
|
|
background-image: url(magnifying-glass.png), linear-gradient(hsla(210,16%,76%,.15), hsla(210,16%,76%,.35));
|
2011-12-19 14:14:58 +00:00
|
|
|
background-repeat: no-repeat;
|
2012-05-07 13:29:45 +00:00
|
|
|
background-position: 4px center, top left, top left;
|
2011-12-19 14:14:58 +00:00
|
|
|
padding-top: 0;
|
|
|
|
padding-bottom: 0;
|
|
|
|
-moz-padding-start: 18px;
|
|
|
|
-moz-padding-end: 12px;
|
2013-03-10 05:05:09 +00:00
|
|
|
font-size: inherit;
|
2011-12-19 14:14:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.devtools-searchinput:-moz-locale-dir(rtl) {
|
2012-08-25 12:29:20 +00:00
|
|
|
background-position: calc(100% - 4px) center, top left, top left;
|
2011-12-19 14:14:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.devtools-searchinput > .textbox-input-box > .textbox-search-icons {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2012-11-09 10:24:23 +00:00
|
|
|
.devtools-searchinput > .textbox-input-box > .textbox-input::-moz-placeholder {
|
2012-11-09 10:30:54 +00:00
|
|
|
opacity: 1.0;
|
2011-12-19 14:14:58 +00:00
|
|
|
color: hsl(208,10%,66%);
|
|
|
|
}
|
2012-05-07 13:29:45 +00:00
|
|
|
|
2013-01-17 10:59:17 +00:00
|
|
|
.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;
|
2013-04-08 22:44:26 +00:00
|
|
|
background-image: url(magnifying-glass.png), linear-gradient(hsla(1,16%,76%,.45), hsla(1,16%,76%,.75));
|
2013-01-17 10:59:17 +00:00
|
|
|
}
|
|
|
|
|
2012-05-07 13:29:45 +00:00
|
|
|
/* Close button */
|
|
|
|
|
|
|
|
.devtools-closebutton {
|
|
|
|
list-style-image: url("chrome://browser/skin/devtools/toolbarbutton-close.png");
|
|
|
|
-moz-image-region: rect(0, 16px, 16px, 0);
|
|
|
|
min-width: 16px;
|
|
|
|
width: 16px;
|
|
|
|
margin: 0 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.devtools-closebutton > .toolbarbutton-text {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.devtools-closebutton:hover {
|
|
|
|
-moz-image-region: rect(0, 32px, 16px, 16px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.devtools-closebutton:active {
|
|
|
|
-moz-image-region: rect(0, 48px, 16px, 32px);
|
|
|
|
}
|
2012-05-09 13:50:33 +00:00
|
|
|
|
2012-05-30 13:00:00 +00:00
|
|
|
/* Splitters */
|
2012-05-09 13:50:33 +00:00
|
|
|
|
|
|
|
.devtools-horizontal-splitter {
|
|
|
|
-moz-appearance: none;
|
|
|
|
background-image: none;
|
|
|
|
border-top: 1px solid black;
|
|
|
|
border-bottom-width: 0;
|
|
|
|
min-height: 3px;
|
|
|
|
height: 3px;
|
|
|
|
margin-bottom: -3px;
|
|
|
|
position: relative;
|
|
|
|
}
|
2012-05-30 13:00:00 +00:00
|
|
|
|
|
|
|
.devtools-side-splitter {
|
|
|
|
-moz-appearance: none;
|
|
|
|
background-image: none;
|
|
|
|
border: 0;
|
|
|
|
-moz-border-start: 1px solid black;
|
|
|
|
min-width: 0;
|
|
|
|
width: 3px;
|
|
|
|
-moz-margin-end: -3px;
|
|
|
|
position: relative;
|
|
|
|
}
|
2012-10-01 16:34:05 +00:00
|
|
|
|
2012-11-30 08:07:59 +00:00
|
|
|
/* In-tools sidebar */
|
|
|
|
|
2013-03-13 23:10:15 +00:00
|
|
|
.devtools-toolbox-side-iframe {
|
|
|
|
min-width: 465px;
|
|
|
|
}
|
|
|
|
|
2012-11-30 08:07:59 +00:00
|
|
|
.devtools-sidebar-tabs {
|
|
|
|
-moz-appearance: none;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.devtools-sidebar-tabs > tabpanels {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.devtools-sidebar-tabs > tabs {
|
|
|
|
-moz-appearance: none;
|
2013-01-10 07:03:00 +00:00
|
|
|
font: inherit;
|
2012-11-30 08:07:59 +00:00
|
|
|
position: static;
|
|
|
|
color: hsl(210,30%,85%);
|
|
|
|
margin-bottom: 0;
|
|
|
|
padding: 0;
|
2013-01-10 07:03:00 +00:00
|
|
|
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;
|
2012-11-30 08:07:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.devtools-sidebar-tabs > tabs > .tabs-right,
|
|
|
|
.devtools-sidebar-tabs > tabs > .tabs-left {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.devtools-sidebar-tabs > tabs > tab {
|
|
|
|
-moz-appearance: none;
|
2013-03-12 06:50:42 +00:00
|
|
|
/* We want to match the height of a toolbar with a toolbarbutton
|
2013-01-10 07:03:00 +00:00
|
|
|
* 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).
|
|
|
|
* Minus the tab-text margin (2px).
|
|
|
|
* Padding-bottom is one pixel shorter because we need to include the
|
|
|
|
* black border.
|
|
|
|
*/
|
|
|
|
padding: 6px 3px 5px !important;
|
|
|
|
-moz-padding-start: 6px;
|
2012-11-30 08:07:59 +00:00
|
|
|
padding: 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;
|
2013-01-10 07:03:00 +00:00
|
|
|
position: static;
|
|
|
|
-moz-margin-start: -1px;
|
2012-11-30 08:07:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.devtools-sidebar-tabs > tabs > tab:-moz-focusring {
|
|
|
|
position: static;
|
|
|
|
}
|
|
|
|
|
2013-01-10 07:03:00 +00:00
|
|
|
.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);
|
|
|
|
}
|
|
|
|
|
2012-11-30 08:07:59 +00:00
|
|
|
.devtools-sidebar-tabs > tabs > tab:last-of-type {
|
|
|
|
-moz-border-end-width: 0;
|
|
|
|
}
|
|
|
|
|
2013-01-10 07:03:00 +00:00
|
|
|
%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@;
|
|
|
|
}
|
|
|
|
|
2012-11-30 08:07:59 +00:00
|
|
|
.devtools-sidebar-tabs > tabs > tab[selected=true] {
|
2013-01-10 07:03:00 +00:00
|
|
|
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;
|
2012-11-30 08:07:59 +00:00
|
|
|
}
|
|
|
|
|
2013-03-14 18:04:05 +00:00
|
|
|
%include ../../shared/devtools/common.inc.css
|