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