2001-03-09 03:01:55 +03:00
|
|
|
/*
|
|
|
|
* 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
|
2001-04-30 22:58:08 +04:00
|
|
|
* Copyright (C) 1998-1999 Netscape Communications Corporation. All
|
2001-03-09 03:01:55 +03:00
|
|
|
* Rights Reserved.
|
|
|
|
*
|
|
|
|
* Contributor(s):
|
2001-04-30 22:58:08 +04:00
|
|
|
*
|
2001-03-09 03:01:55 +03:00
|
|
|
*/
|
|
|
|
|
|
|
|
/* ==== button.css ==========================================================
|
|
|
|
== Styles for special buttons in the Communicator suite.
|
|
|
|
========================================================================== */
|
|
|
|
|
|
|
|
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
|
|
|
|
|
|
|
/* ::::: standard toolbar buttons ::::: */
|
2001-04-30 22:58:08 +04:00
|
|
|
|
2001-03-09 03:01:55 +03:00
|
|
|
.button-toolbar {
|
2001-05-12 09:02:09 +04:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/button.xml#buttonleft");
|
2001-03-13 09:48:49 +03:00
|
|
|
-moz-user-focus: ignore;
|
2001-04-30 22:58:08 +04:00
|
|
|
margin: 0px;
|
|
|
|
border: 1px solid transparent;
|
2001-03-09 03:01:55 +03:00
|
|
|
min-width: 0px;
|
|
|
|
max-width: 10em;
|
2001-04-30 22:58:08 +04:00
|
|
|
height: 0px;
|
|
|
|
color: inherit;
|
2001-03-09 03:01:55 +03:00
|
|
|
font: message-box;
|
|
|
|
}
|
2001-04-30 22:58:08 +04:00
|
|
|
|
|
|
|
.button-internal-box {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
.button-toolbar > .button-internal-box > .button-icon {
|
|
|
|
margin: 0px;
|
|
|
|
padding: 0px 2px 0px 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.button-toolbar > .button-internal-box > .button-text-container,
|
|
|
|
.button-toolbar > .button-internal-box > .button-text-container > .button-text {
|
|
|
|
margin: 0px;
|
|
|
|
padding: 0px;
|
|
|
|
}
|
2001-03-09 03:01:55 +03:00
|
|
|
|
|
|
|
.button-toolbar > .button-internal-box,
|
2001-04-30 22:58:08 +04:00
|
|
|
.button-toolbar:hover > .button-internal-box,
|
|
|
|
.button-toolbar[disabled="true"] > .button-internal-box,
|
|
|
|
.button-toolbar[disabled="true"]:hover > .button-internal-box,
|
2001-03-09 03:01:55 +03:00
|
|
|
.button-toolbar[disabled="true"]:hover:active > .button-internal-box,
|
2001-04-30 22:58:08 +04:00
|
|
|
.button-toolbar:hover:active[home-dragover="true"] > .button-internal-box {
|
2001-03-09 03:01:55 +03:00
|
|
|
padding: 1px 2px 1px 2px;
|
2001-04-30 22:58:08 +04:00
|
|
|
border: none;
|
2001-03-09 03:01:55 +03:00
|
|
|
}
|
2001-04-30 22:58:08 +04:00
|
|
|
|
2001-03-09 03:01:55 +03:00
|
|
|
.button-toolbar:hover:active,
|
2001-04-30 22:58:08 +04:00
|
|
|
.button-toolbar[open="true"],
|
|
|
|
.button-toolbar[toggled="true"],
|
|
|
|
.button-toolbar[toggled="true"]:hover,
|
|
|
|
.button-toolbar[toggled="true"]:hover:active {
|
|
|
|
color: inherit;
|
2001-03-09 03:01:55 +03:00
|
|
|
}
|
|
|
|
|
2001-05-20 10:40:12 +04:00
|
|
|
.button-toolbar:hover {
|
|
|
|
border: 1px outset #C7D0D9;
|
|
|
|
}
|
|
|
|
|
|
|
|
.button-toolbar:hover:active {
|
|
|
|
border-style: inset;
|
|
|
|
}
|
|
|
|
|
2001-03-09 03:01:55 +03:00
|
|
|
.button-toolbar:hover:active > .button-internal-box {
|
|
|
|
padding: 2px 1px 0px 3px;
|
|
|
|
}
|
|
|
|
|
2001-04-30 22:58:08 +04:00
|
|
|
.button-toolbar[home-dragover="true"] {
|
|
|
|
border: 1px solid #ffffff;
|
2001-03-09 03:01:55 +03:00
|
|
|
}
|
2001-04-30 22:58:08 +04:00
|
|
|
|
2001-03-09 03:01:55 +03:00
|
|
|
.button-toolbar[disabled="true"],
|
|
|
|
.button-toolbar[disabled="true"]:hover,
|
|
|
|
.button-toolbar[disabled="true"]:hover:active {
|
2001-04-30 22:58:08 +04:00
|
|
|
color: #999999;
|
2001-03-09 03:01:55 +03:00
|
|
|
}
|
|
|
|
|
2001-03-16 05:56:38 +03:00
|
|
|
/* ..... toggled state ..... */
|
|
|
|
|
2001-03-09 03:01:55 +03:00
|
|
|
.button-toolbar[toggled="true"],
|
|
|
|
.button-toolbar[toggled="true"]:hover,
|
|
|
|
.button-toolbar[toggled="true"]:hover:active {
|
2001-05-20 10:40:12 +04:00
|
|
|
background-color: #8998AA;
|
|
|
|
color: #FFFFFF;
|
2001-03-09 03:01:55 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
/* ::::: the largest type of toolbar buttons ::::: */
|
|
|
|
|
|
|
|
.button-toolbar-1 {
|
2001-05-12 09:02:09 +04:00
|
|
|
-moz-binding: url("chrome://communicator/skin/widgetBindings.xml#button-toolbar-2");
|
2001-03-09 03:01:55 +03:00
|
|
|
-moz-user-focus: ignore;
|
|
|
|
margin: 3px 2px 0px 2px;
|
|
|
|
border: none;
|
|
|
|
min-width: 0px;
|
2001-04-30 22:58:08 +04:00
|
|
|
font: message-box;
|
2001-03-09 03:01:55 +03:00
|
|
|
font-size: smaller;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2001-04-30 22:58:08 +04:00
|
|
|
|
2001-03-09 03:01:55 +03:00
|
|
|
.button-toolbar-1,
|
2001-04-30 22:58:08 +04:00
|
|
|
.button-toolbar-1:hover:active {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
2001-03-09 03:01:55 +03:00
|
|
|
.button-toolbar-1[disabled="true"],
|
|
|
|
.button-toolbar-1[disabled="true"]:hover:active {
|
2001-04-30 22:58:08 +04:00
|
|
|
color: #5A5E5F;
|
2001-03-09 03:01:55 +03:00
|
|
|
}
|
2001-04-30 22:58:08 +04:00
|
|
|
|
2001-03-09 03:01:55 +03:00
|
|
|
/* :::::
|
|
|
|
:: Styles for the standard 'large' toolbar button, these buttons are used for
|
|
|
|
:: toolbar buttons that are the most commonly used elements on a toolbar, e.g.
|
|
|
|
:: 'GetMsg' in Mailnews or 'Send' in Mail/Compose.
|
|
|
|
::::: */
|
|
|
|
|
|
|
|
.button-toolbar-2 {
|
2001-04-30 22:58:08 +04:00
|
|
|
-moz-binding: url("chrome://communicator/skin/widgetBindings.xml#button-toolbar-2");
|
2001-03-09 03:01:55 +03:00
|
|
|
-moz-user-focus: ignore;
|
2001-04-30 22:58:08 +04:00
|
|
|
margin: 0px;
|
2001-03-09 03:01:55 +03:00
|
|
|
border: none;
|
2001-04-30 22:58:08 +04:00
|
|
|
min-width: 0px;
|
2001-05-12 09:02:09 +04:00
|
|
|
color: #323642;
|
2001-04-30 22:58:08 +04:00
|
|
|
font: message-box;
|
2001-03-09 03:01:55 +03:00
|
|
|
font-size: smaller;
|
2001-04-30 22:58:08 +04:00
|
|
|
}
|
2001-05-12 09:02:09 +04:00
|
|
|
|
2001-04-30 22:58:08 +04:00
|
|
|
.button-toolbar-2:hover:active {
|
2001-05-12 09:02:09 +04:00
|
|
|
color: #FFFFFF;
|
2001-04-30 22:58:08 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
.button-toolbar-2 > .button-internal-box > .button-icon-box {
|
2001-03-09 03:01:55 +03:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.button-toolbar-2[disabled="true"],
|
|
|
|
.button-toolbar-2[disabled="true"]:hover,
|
|
|
|
.button-toolbar-2[disabled="true"]:hover:active {
|
2001-04-30 22:58:08 +04:00
|
|
|
color: #9399AB;
|
2001-03-09 03:01:55 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
/* :::::
|
|
|
|
:: Buttons that look like normal buttons but are meant to sit in a toolbar
|
|
|
|
::::: */
|
|
|
|
|
|
|
|
.button-toolbar-3 {
|
2001-05-12 09:02:09 +04:00
|
|
|
-moz-binding: url("chrome://global/skin/globalBindings.xml#button");
|
2001-04-30 22:58:08 +04:00
|
|
|
-moz-user-focus: ignore !important;
|
|
|
|
margin: 0px;
|
2001-03-09 03:01:55 +03:00
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ::::: button styles for taskbar, sidebar headers, etc. ::::: */
|
|
|
|
|
|
|
|
.button-toolbar-4 {
|
2001-05-12 09:02:09 +04:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/button.xml#buttonleft");
|
2001-04-30 22:58:08 +04:00
|
|
|
-moz-user-focus: ignore !important;
|
2001-03-09 03:01:55 +03:00
|
|
|
margin: 0px;
|
2001-04-30 22:58:08 +04:00
|
|
|
border: 0px;
|
2001-03-09 03:01:55 +03:00
|
|
|
padding: 1px;
|
|
|
|
min-width: 0px;
|
2001-04-30 22:58:08 +04:00
|
|
|
background: transparent;
|
|
|
|
color: inherit;
|
|
|
|
font: message-box;
|
2001-03-09 03:01:55 +03:00
|
|
|
}
|
|
|
|
|
2001-04-30 22:58:08 +04:00
|
|
|
.button-toolbar-4 > .button-internal-box,
|
|
|
|
.button-toolbar-4 > .menubutton-internal-box {
|
|
|
|
border: 0px !important;
|
|
|
|
padding: 0px !important;
|
|
|
|
}
|
|
|
|
|
2001-03-09 03:01:55 +03:00
|
|
|
.button-toolbar-4:hover:active {
|
2001-04-30 22:58:08 +04:00
|
|
|
color: #808080;
|
2001-03-09 03:01:55 +03:00
|
|
|
}
|
|
|
|
|
2001-04-30 22:58:08 +04:00
|
|
|
/* :::::::::: menubutton variation :::::::::: */
|
|
|
|
|
|
|
|
menubutton.button-toolbar-4 {
|
2001-05-12 09:02:09 +04:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/menubutton.xml#menubutton-single-right") !important;
|
2001-04-30 22:58:08 +04:00
|
|
|
margin: 0px 6px;
|
|
|
|
min-width: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.button-toolbar-4 > .menubutton-internal-box > .menubutton-single-icon {
|
|
|
|
list-style-image: url("chrome://communicator/skin/toolbar/mb-single-arrow.gif");
|
2001-03-09 03:01:55 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
/* ::::: shared text wrapping frame ::::: */
|
|
|
|
|
|
|
|
.button-text-container {
|
|
|
|
text-align: center;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
2001-04-30 22:58:08 +04:00
|
|
|
.button-text {
|
|
|
|
padding: 0px 2px 0px 2px;
|
|
|
|
}
|
|
|
|
|
2001-03-09 03:01:55 +03:00
|
|
|
/* ::::: ok/cancel buttons in dialogs ::::: */
|
|
|
|
|
|
|
|
.exit-dialog {
|
|
|
|
font: menu;
|
|
|
|
}
|
2000-05-02 03:48:47 +04:00
|
|
|
|