2012-05-21 04:12:37 -07:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2009-04-22 21:40:53 -07:00
|
|
|
|
|
|
|
/* ===== button.css =====================================================
|
|
|
|
== Styles used by the XUL button element.
|
|
|
|
======================================================================= */
|
|
|
|
|
|
|
|
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
|
|
|
|
|
|
|
/* :::::::::: button :::::::::: */
|
|
|
|
|
|
|
|
button {
|
|
|
|
/*-moz-appearance: button;*/
|
|
|
|
margin: 3px 7px 3px 7px;
|
|
|
|
min-width: 6.3em;
|
|
|
|
border: 1px solid;
|
|
|
|
border-color: #555555;
|
|
|
|
background-color: #eeeeee;
|
|
|
|
color: black;
|
2010-09-09 08:21:47 -07:00
|
|
|
border-radius: 3px 3px;
|
2009-04-22 21:40:53 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.button-box {
|
|
|
|
border: 1px solid transparent;
|
|
|
|
padding-top: 1px;
|
|
|
|
padding-bottom: 2px;
|
|
|
|
-moz-padding-start: 3px;
|
|
|
|
-moz-padding-end: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.button-text {
|
|
|
|
margin: 0 !important;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* .......... focused state .......... */
|
|
|
|
|
|
|
|
button:focus {
|
|
|
|
}
|
|
|
|
|
|
|
|
button:focus > .button-box {
|
|
|
|
border: 1px dotted black;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* .......... default state .......... */
|
|
|
|
|
|
|
|
button[default="true"] {
|
|
|
|
margin: 1px 5px 1px 5px;
|
|
|
|
border-width: 2px;
|
2010-09-09 08:21:47 -07:00
|
|
|
border-radius: 3px 3px;
|
2009-04-22 21:40:53 -07:00
|
|
|
border-color: black;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* .......... active/open/checked state .......... */
|
|
|
|
|
|
|
|
button:hover:active,
|
|
|
|
button[open="true"],
|
|
|
|
button[checked="true"] {
|
|
|
|
border-color: black;
|
|
|
|
background: #777777;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* .......... disabled state .......... */
|
|
|
|
|
|
|
|
button[disabled="true"] {
|
|
|
|
border-color: #dddddd;
|
|
|
|
color: gray;
|
|
|
|
}
|
|
|
|
|
|
|
|
button[disabled="true"] > .button-box {
|
|
|
|
padding-top: 1px !important;
|
|
|
|
padding-bottom: 2px !important;
|
|
|
|
-moz-padding-start: 3px !important;
|
|
|
|
-moz-padding-end: 4px !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ::::: menu/menu-button buttons ::::: */
|
|
|
|
|
|
|
|
button[type="menu-button"] {
|
|
|
|
-moz-box-align: center;
|
|
|
|
-moz-box-pack: center;
|
|
|
|
margin: 0;
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.button-menu-dropmarker,
|
|
|
|
.button-menubutton-dropmarker {
|
|
|
|
-moz-appearance: none !important;
|
|
|
|
margin: 1px;
|
|
|
|
background-color: transparent !important;
|
|
|
|
border: none !important;
|
|
|
|
min-width:11px;
|
|
|
|
min-height:11px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.button-menubutton-dropmarker[open="true"] {
|
|
|
|
margin-top: 2px;
|
|
|
|
margin-bottom: 0px;
|
|
|
|
-moz-margin-start: 2px;
|
|
|
|
-moz-margin-end: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ::::: plain buttons ::::: */
|
|
|
|
|
|
|
|
button.plain {
|
|
|
|
border: 0px !important;
|
|
|
|
margin: 0px !important;
|
|
|
|
padding: 0px !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
button[type="disclosure"] {
|
|
|
|
border: 0px !important;
|
|
|
|
margin: 0px !important;
|
|
|
|
padding: 0px !important;
|
|
|
|
list-style-image: url("chrome://global/skin/tree/twisty-clsd.png");
|
|
|
|
min-width: 0px !important;
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
button[type="disclosure"][open="true"] {
|
|
|
|
list-style-image: url("chrome://global/skin/tree/twisty-open.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
|