update both themes for toolkit winstripe changes up to 2011-01-09
[themes.git] / LCARStrek / global / button.css
index 6b1d7b87a416406f3709ddd482bec063cce12814..34fc8ae7b57a0de35efdaa730f4acd6559930e79 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 {
-  -moz-border-radius: 3px;
+  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-radius: 3px;
   border: 1px solid transparent;
   padding-top: 1px;
   padding-bottom: 2px;
@@ -66,17 +65,14 @@ button {
 }
 
 .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;
 }
 
@@ -107,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;
 }
@@ -152,18 +148,16 @@ button[disabled="true"] > .button-box {
 /* ::::: menu/menu-button buttons ::::: */
 
 button[type="menu-button"] {
-  -moz-box-align: center;
-  -moz-box-pack: center;
   margin: 0px;
   border: none;
 }
 
 .button-menu-dropmarker,
 .button-menubutton-dropmarker {
-  -moz-border-radius: 3px;
+  border-radius: 3px;
   margin: 1px;
-  min-width: 11px;
-  min-height: 11px;
+  width: 11px;
+  height: 11px;
 }
 
 /* ::::: plain buttons ::::: */
@@ -186,3 +180,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;
+}