bring LCARStrek up to SeaMonkey 2.0a1, part 1
[themes.git] / LCARStrek / global / button.css
index c41cc2a3a214605ec2f92f04c908dd2c30b4d2b9..0bb53b25e0b83b9391fa7967e0b3916d972b8e3a 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.
   ======================================================================= */
 
+@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
+
 /* :::::::::: button :::::::::: */
 
-/* outer frame */
 button {
   -moz-border-radius: 3px;
   margin: 1px 2px;
@@ -59,6 +58,10 @@ button {
   padding: 1px 4px 2px 3px;
 }
 
+.button-icon {
+  margin-right: 2px;
+}
+
 .button-text {
   -moz-border-radius: 3px;
   margin: 0px !important;
@@ -80,7 +83,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: 7px;
+}
+
+button[default="true"] > .button-box > .button-icon {
+  margin-right: 0px;
+  margin-left: 2px;
 }
 
 button[default="true"]:hover > .button-box,
@@ -157,3 +164,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");
+}