gecko/browser/themes/pinstripe/devtools/splitview.css

171 lines
5.0 KiB
CSS

/* 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 Style Editor 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):
* Cedric Vivier <cedricv@neonux.com> (original author)
* Paul Rouget <paul@mozilla.com>
*
* 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 ***** */
.splitview-nav-container {
background-color: hsl(208,11%,27%);
color: white;
}
.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,16%,76%,.1);
box-shadow: inset 0 -1px 0 hsla(210,8%,5%,.25);
-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;
-moz-box-back: center;
text-align: center;
}
.splitview-nav > li.splitview-active {
background-image: url(itemArrow-ltr.png),
-moz-linear-gradient(left, black, black),
-moz-linear-gradient(hsl(206,61%,40%), hsl(206,61%,31%));
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),
-moz-linear-gradient(left, black, black),
-moz-linear-gradient(hsl(206,61%,40%), hsl(206,61%,31%));
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: 1px solid hsla(210,8%,5%,.5);
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-resizer {
-moz-appearance: none;
width: 7px;
background-image: -moz-linear-gradient(left, black 1px, rgba(255,255,255,0.2) 1px);
background-size: 2px 10px;
background-clip: padding-box;
background-repeat: repeat-x;
border-width: 1px;
border-style: solid;
border-color: rgba(255, 255, 255, 0.05);
margin: 5px 0;
-moz-transform: translateX(-7px);
}
.splitview-landscape-resizer:-moz-locale-dir(rtl) {
-moz-transform: translateX(7px);
}
.splitview-portrait-resizer {
-moz-appearance: none;
background: -moz-linear-gradient(top, black 1px, rgba(255,255,255,0.2) 1px),
-moz-linear-gradient(top, hsl(210,11%,36%), hsl(210,11%,18%));
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);
}
/* limited width mode (hide search unless it has focus [search-on-type]) */
@media (max-width: 250px) {
.splitview-filter {
max-width: none;
position: fixed;
margin: 0;
bottom: -4em;
}
.splitview-filter[focused="true"] {
bottom: 0;
}
}