first steps on synching EarlyBlue with trunk *stripe (global files starting with...
[themes.git] / EarlyBlue / global / button.css
index b74c7a825b69e33dd780c539b9da72e637c2898a..59c8b48eae13a4582e2295caf6daa555b9d16a1f 100644 (file)
  *
  * ***** END LICENSE BLOCK ***** */
 
-@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
-
 /* ===== button.css =====================================================
   == Styles used by the XUL button element.
   ======================================================================= */
 
-/* :::::::::: button :::::::::: */
+@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
 
-/* outer frame */
+/* :::::::::: button :::::::::: */
 
 button {
-  margin: 1px 5px 2px 5px;
+  margin: 2px 3px;
   min-width: 6.3em;
   border: 1px outset #CCD0DD;
   background-color: #CCD0DD;
@@ -57,7 +55,11 @@ button {
   border: 1px solid transparent;
   padding: 0px 3px 1px 2px;
 }
-  
+
+.button-icon {
+  margin-right: 2px;
+}
+
 .button-text {
   margin: 0px !important;
   text-align: center;
@@ -78,7 +80,11 @@ button[default="true"] > .button-box {
   font-weight: bold;
   list-style-image: url("chrome://global/skin/icons/return.gif");
   -moz-box-direction: reverse;
-  padding-right: 6px;
+}
+
+button[default="true"] > .button-box > .button-icon {
+  margin-right: 0px;
+  margin-left: 2px;
 }
 
 button[default="true"][disabled="true"] > .button-box {
@@ -97,12 +103,13 @@ button[checked="true"] {
 button:hover:active > .button-box,
 button[open="true"] > .button-box,
 button[checked="true"] > .button-box {
-  padding: 1px 2px 0px 3px; 
+  padding: 1px 2px 0px 3px;
 }
 
 /* .......... disabled state .......... */
 
-button[disabled="true"] {
+button[disabled="true"],
+button[disabled="true"]:hover:active {
   border: 1px outset #CCD0DD;
   color: #999999;
 }
@@ -123,12 +130,10 @@ button[type="menu-button"] {
 .button-menu-dropmarker,
 .button-menubutton-dropmarker {
   margin: 1px;
-  list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
-}
-
-.button-menu-dropmarker[disabled="true"],
-.button-menubutton-dropmarker[disabled="true"] {
-  list-style-image: url("chrome://global/skin/arrow/arrow-down-disabled.gif");
+  min-width: 11px;
+  min-height: 11px;
+  background-color: transparent;
+  border: none;
 }
 
 .button-menubutton-dropmarker[open="true"] {
@@ -143,3 +148,16 @@ button.plain {
   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-closed.gif");
+  min-width: 0px !important;
+  background-color: transparent;
+}
+
+button[type="disclosure"][open="true"] {
+  list-style-image: url("chrome://global/skin/tree/twisty-open.gif");
+}