pjs/themes/classic/global/win/toolbar.css

113 строки
3.1 KiB
CSS

/*
* The contents of this file are subject to the Netscape 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/NPL/
*
* 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 Mozilla Communicator client code, released
* March 31, 1998.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998-2001 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Joe Hewitt (hewitt@netscape.com)
*/
/* ===== toolbar.css ====================================================
== Styles used by XUL toolbar-related elements.
======================================================================= */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* ::::: toolbox ::::: */
toolbox {
-moz-appearance: toolbox;
background-color: -moz-Dialog;
border-left: 1px solid ThreeDShadow;
border-top: 1px solid ThreeDShadow;
border-right: 1px solid ThreeDHighlight;
}
/* ::::: toolbar & menubar ::::: */
toolbar,
menubar {
min-width: 1px; /* DON'T DELETE!
Prevents hiding of scrollbars in browser when window is made smaller.*/
}
.toolbar-holder {
border-left: 1px solid ThreeDHighlight;
border-top: 1px solid ThreeDHighlight;
border-right: 1px solid ThreeDShadow;
border-bottom: 1px solid ThreeDShadow;
}
/* ::::: toolbargrippy ::::: */
toolbargrippy {
-moz-box-orient: vertical;
-moz-box-align: center;
border-left: 1px solid ThreeDHighlight;
border-top: 1px solid ThreeDHighlight;
border-right: 1px solid ThreeDShadow;
border-bottom: 1px solid ThreeDShadow;
width: 10px;
padding: 2px 1px;
list-style-image: url("chrome://global/skin/toolbar/tbgrip-arrow.gif");
}
toolbargrippy:hover {
background-color: #CCCCFF;
}
.toolbargrippy-texture {
margin-top: 2px;
width: 6px;
background: url("chrome://global/skin/toolbar/tbgrip-texture.gif");
}
/* ::::: collapsed tray and grippies ::::: */
toolbargrippy[tbgrippy-collapsed="true"] {
-moz-box-orient: horizontal;
border-left: 1px solid ThreeDHighlight;
border-top: 1px solid ThreeDHighlight;
border-right: 1px solid ThreeDShadow;
border-bottom: 1px solid ThreeDShadow;
width: 40px;
height: 10px;
padding: 1px 2px;
list-style-image: url("chrome://global/skin/toolbar/tbgrip-arrow-clps.gif");
}
toolbargrippy[tbgrippy-collapsed="true"] > .toolbargrippy-texture {
margin-top: 0;
margin-left: 2px;
width: none;
height: 6px;
}
.collapsed-tray-spacer {
border-bottom: 1px solid ThreeDShadow;
}
/* ::::: toolbarseparator ::::: */
toolbarseparator {
margin : 2px 0.2em 2px 0.2em;
border-right : 1px solid ThreeDHighlight;
border-left : 1px solid ThreeDShadow;
width : 2px;
}