*
* ***** END LICENSE BLOCK ***** */
-@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
-
/* ===== button.css =====================================================
- == Styles used by the XUL button element.
+ == Styles used by the XUL (and XHTML in netError.xhtml) button element.
======================================================================= */
/* :::::::::: button :::::::::: */
-/* outer frame */
button {
- -moz-border-radius: 3px;
- margin: 0px 4px 1px 4px;
+ border-radius: 3px;
+ margin: 1px 2px;
min-width: 6.3em;
border: none;
background-color: #000000;
color: #FFCF00;
+ text-shadow: none;
}
-
+
.button-box {
- -moz-border-radius: 3px;
-/* border: 1px solid transparent; */
- padding: 1px 4px 2px 3px;
+ border-radius: 3px;
+ border: 1px solid transparent;
+ padding-top: 1px;
+ padding-bottom: 2px;
+ -moz-padding-start: 3px;
+ -moz-padding-end: 4px;
+}
+
+.button-icon {
+ -moz-margin-end: 2px;
}
.button-text {
- -moz-border-radius: 3px;
+ border-radius: 3px;
margin: 0px !important;
text-align: center;
}
/* .......... focused state .......... */
-button:focus {
-}
-
-button:focus > .button-box {
-/* border: 1px dotted #FF9F00; */
+button:-moz-focusring > .button-box {
+ border: 1px dotted #008484;
}
/* .......... default state .......... */
font-weight: bold;
list-style-image: url("chrome://global/skin/icons/return.gif");
-moz-box-direction: reverse;
- padding-right: 7px;
+}
+
+button[default="true"] > .button-box > .button-icon {
+ -moz-margin-end: 0px;
+ -moz-margin-start: 2px;
}
button[default="true"]:hover > .button-box,
button:hover,
button:hover:active {
- border : none;
+ border: none;
background-color: #FFCF00;
color: #000000;
}
button[open="true"] {
- border : none;
+ border: none;
background-color: #FF9F00;
color: #000000;
}
-button[checked="true"] {
- border : none;
+button[checked="true"]:not(:hover) {
+ border: none;
background-color: #008484;
color: #000000;
}
button:hover:active > .button-box,
button[open="true"] > .button-box,
button[checked="true"] > .button-box {
- padding: 2px 3px 1px 4px;
+ padding-top: 2px;
+ padding-bottom: 1px;
+ -moz-padding-start: 4px;
+ -moz-padding-end: 3px;
}
/* .......... disabled state .......... */
-button[disabled="true"] {
+button[disabled="true"],
+button[disabled="true"]:hover:active {
border: none;
background-color: #000000 !important;
color: #8050B0 !important;
}
button[disabled="true"] > .button-box {
- padding: 1px 4px 2px 3px !important;
+ padding-top: 1px !important;
+ padding-bottom: 2px !important;
+ -moz-padding-start: 3px !important;
+ -moz-padding-end: 4px !important;
}
/* ::::: menu/menu-button buttons ::::: */
.button-menu-dropmarker,
.button-menubutton-dropmarker {
- -moz-border-radius: 3px;
+ border-radius: 3px;
margin: 1px;
- list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
+ width: 11px;
+ height: 11px;
}
-.button-menu-dropmarker:hover,
-.button-menubutton-dropmarker:hover {
- list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
+/* ::::: plain buttons ::::: */
+
+button.plain {
+ border: 0px !important;
+ margin: 0px !important;
+ padding: 0px !important;
}
-.button-menu-dropmarker[disabled="true"],
-.button-menubutton-dropmarker[disabled="true"] {
- list-style-image: url("chrome://global/skin/arrow/arrow-down-disabled.gif") !important;
+button[type="disclosure"] {
+ border: 0px !important;
+ margin: 0px !important;
+ padding: 0px !important;
+ list-style-image: url("chrome://global/skin/tree/twisty-closed.gif");
+ min-width: 0px !important;
+ background-color: transparent;
}
-.button-menubutton-dropmarker[open="true"] {
- margin: 2px 0px 0px 2px;
+button[type="disclosure"][open="true"] {
+ list-style-image: url("chrome://global/skin/tree/twisty-open.gif");
}
-/* ::::: plain buttons ::::: */
+/* ::::: xhtml buttons ::::: */
-button.plain {
- border: 0px !important;
- margin: 0px !important;
- padding: 0px !important;
+button::-moz-focus-inner {
+ padding: 0px;
+ border: 0px none;
}