pjs/themes/modern/communicator/button.css

117 строки
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-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*
*/
/* ==== button.css ==========================================================
== Styles for special buttons in the Communicator suite.
========================================================================== */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* ::::: large toolbar buttons ::::: */
.toolbarbutton-1 {
-moz-box-orient: vertical;
border: none;
color: #323642;
font-size: smaller;
min-width: 50px;
}
.toolbarbutton-1 > .toolbarbutton-box,
.toolbarbutton-1 > .toolbarbutton-menubutton-stack
> .toolbarbutton-menubutton-button > .toolbarbutton-box
{
-moz-box-pack: start;
}
.toolbarbutton-1 > .toolbarbutton-box,
.toolbarbutton-1:hover:active > .toolbarbutton-box,
.toolbarbutton-1[open="true"] > .toolbarbutton-box,
.toolbarbutton-1 > .toolbarbutton-menubutton-stack
> .toolbarbutton-menubutton-button > .toolbarbutton-box,
.toolbarbutton-1:hover:active > .toolbarbutton-menubutton-stack
> .toolbarbutton-menubutton-button > .toolbarbutton-box,
.toolbarbutton-1[open="true"] > .toolbarbutton-menubutton-stack
> .toolbarbutton-menubutton-button > .toolbarbutton-box
{
padding: 0px !important;
}
.toolbarbutton-1:hover:active {
color: #FFFFFF;
}
.toolbarbutton-1[disabled="true"],
.toolbarbutton-1[disabled="true"]:hover:active {
color: #9399AB;
}
.toolbarbutton-1,
.toolbarbutton-1 > .toolbarbutton-menubutton-stack > .toolbarbutton-menubutton-button {
border: none !important;
}
.toolbarbutton-1 > .toolbarbutton-box > .toolbarbutton-icon,
.toolbarbutton-1 > .toolbarbutton-menubutton-stack > .toolbarbutton-menubutton-button
> .toolbarbutton-box > .toolbarbutton-icon {
padding: 0px;
}
.toolbarbutton-1[type="menu"] > .toolbarbutton-box > .toolbarbutton-dropmarker {
display: none;
}
/* ::::: standard toolbar buttons ::::: */
.button-toolbar {
-moz-user-focus: ignore !important;
margin: 0px;
border: none;
}
/* ::::: reorder buttons ::::: */
.reorder-up {
min-width: 0px;
list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
}
.reorder-down {
min-width: 0px;
list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif");
}
.reorder-up > .button-internal-box > .button-icon,
.reorder-down > .button-internal-box > .button-icon
{
margin: 0px;
padding: 0px;
}
/* ::::: ok/cancel buttons in dialogs ::::: */
.exit-dialog {
font: menu;
}