improve mail header positioning, style net error buttons
[themes.git] / LCARStrek / global / button.css
index 66b2007a431c906781e02781c739cb667dad6f0a..801281e151b4de5479677dfce75654a1da3a7ed6 100644 (file)
  * ***** 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 {
@@ -105,19 +103,19 @@ button[default="true"][disabled="true"] > .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;
 }
@@ -184,3 +182,10 @@ button[type="disclosure"] {
 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;
+}