first steps on synching EarlyBlue with trunk *stripe (global files starting with...
[themes.git] / EarlyBlue / global / button.css
index 51fa8dc6bc1cdbe213e5b272ec59f516fd990e85..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: 2px 3px;
@@ -58,6 +56,10 @@ button {
   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 {
@@ -126,8 +132,8 @@ button[type="menu-button"] {
   margin: 1px;
   min-width: 11px;
   min-height: 11px;
-  background-color: transparent !important;
-  border: none !important;
+  background-color: transparent;
+  border: none;
 }
 
 .button-menubutton-dropmarker[open="true"] {
@@ -142,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");
+}