first steps on synching EarlyBlue with trunk *stripe (global files starting with...
[themes.git] / EarlyBlue / global / button.css
index 666e64642d5f5c4b58e6dbff3302f592e36445b7..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 {
@@ -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");
+}