2011-12-19 14:14:58 +00:00
|
|
|
/* vim:set ts=2 sw=2 sts=2 et: */
|
|
|
|
/* ***** BEGIN LICENSE BLOCK *****
|
|
|
|
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
|
|
|
*
|
|
|
|
* The contents of this file are subject to the Mozilla Public License Version
|
|
|
|
* 1.1 (the "License"); you may not use this file except in compliance with
|
|
|
|
* the License. You may obtain a copy of the License at
|
|
|
|
* http://www.mozilla.org/MPL/
|
|
|
|
*
|
|
|
|
* Software distributed under the License is distributed on an "AS IS" basis,
|
|
|
|
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
|
|
|
* for the specific language governing rights and limitations under the
|
|
|
|
* License.
|
|
|
|
*
|
|
|
|
* The Original Code is DevTools code.
|
|
|
|
*
|
|
|
|
* The Initial Developer of the Original Code is Mozilla Foundation.
|
|
|
|
* Portions created by the Initial Developer are Copyright (C) 2011
|
|
|
|
* the Initial Developer. All Rights Reserved.
|
|
|
|
*
|
|
|
|
* Contributor(s):
|
|
|
|
* Paul Rouget <paul@mozilla.com> (original author)
|
|
|
|
*
|
|
|
|
* Alternatively, the contents of this file may be used under the terms of
|
|
|
|
* either the GNU General Public License Version 2 or later (the "GPL"), or
|
|
|
|
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
|
|
|
* in which case the provisions of the GPL or the LGPL are applicable instead
|
|
|
|
* of those above. If you wish to allow use of your version of this file only
|
|
|
|
* under the terms of either the GPL or the LGPL, and not to allow others to
|
|
|
|
* use your version of this file under the terms of the MPL, indicate your
|
|
|
|
* decision by deleting the provisions above and replace them with the notice
|
|
|
|
* and other provisions required by the GPL or the LGPL. If you do not delete
|
|
|
|
* the provisions above, a recipient may use your version of this file under
|
|
|
|
* the terms of any one of the MPL, the GPL or the LGPL.
|
|
|
|
*
|
|
|
|
* ***** END LICENSE BLOCK ***** */
|
|
|
|
|
|
|
|
%include ../shared.inc
|
|
|
|
|
|
|
|
/* Toolbar and Toolbar items */
|
|
|
|
|
|
|
|
.devtools-toolbar {
|
|
|
|
-moz-appearance: none;
|
|
|
|
padding: 4px 3px;
|
|
|
|
box-shadow: 0 1px 0 0 hsla(210, 16%, 76%, .2) inset;
|
2011-12-21 16:07:30 +00:00
|
|
|
background-image: url(background-noise-toolbar.png), -moz-linear-gradient(top, hsl(210,11%,36%), hsl(210,11%,18%));
|
2012-05-07 13:29:45 +00:00
|
|
|
color: hsl(210,30%,85%);
|
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;
|
|
|
|
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@;
|
|
|
|
background: -moz-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);
|
2012-05-07 13:29:45 +00:00
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
|
|
|
}
|
|
|
|
|
2011-12-19 14:14:58 +00:00
|
|
|
.devtools-toolbarbutton:not([checked]):hover:active {
|
|
|
|
border-color: hsla(210,8%,5%,.6);
|
|
|
|
background: -moz-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);
|
|
|
|
}
|
|
|
|
|
2012-05-07 13:29:45 +00:00
|
|
|
.devtools-menulist[open=true],
|
2011-12-19 14:14:58 +00:00
|
|
|
.devtools-toolbarbutton[checked] {
|
|
|
|
color: hsl(208,100%,60%) !important;
|
|
|
|
border-color: hsla(210,8%,5%,.6);
|
|
|
|
background: -moz-linear-gradient(hsla(220,6%,10%,.6), hsla(210,11%,18%,.45) 75%, hsla(210,11%,30%,.4));
|
|
|
|
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);
|
|
|
|
}
|
|
|
|
|
|
|
|
.devtools-toolbarbutton[checked]:hover:active {
|
|
|
|
background-color: hsla(210,8%,5%,.2);
|
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
2011-12-19 14:14:58 +00:00
|
|
|
/* Search input */
|
|
|
|
|
|
|
|
.devtools-searchinput {
|
|
|
|
-moz-appearance: none;
|
|
|
|
margin: 0 3px;
|
|
|
|
background-color: transparent;
|
|
|
|
border: 1px solid hsla(210,8%,5%,.6);
|
|
|
|
border-radius: 20px;
|
|
|
|
background-image: url(magnifying-glass.png), -moz-linear-gradient(hsla(210,16%,76%,.15), hsla(210,16%,76%,.35));
|
|
|
|
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;
|
|
|
|
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);
|
2012-05-07 13:29:45 +00:00
|
|
|
color: inherit;
|
2011-12-19 14:14:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.devtools-searchinput:-moz-locale-dir(rtl) {
|
|
|
|
background-position: -moz-calc(100% - 4px) 3px, top left, top left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.devtools-searchinput > .textbox-input-box > .textbox-search-icons {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.devtools-searchinput > .textbox-input-box > .textbox-input:-moz-placeholder {
|
|
|
|
color: hsl(208,10%,66%);
|
|
|
|
}
|
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);
|
|
|
|
}
|