finalize the 2.0 versions of the themes
[themes.git] / EarlyBlue / global / spinbuttons.css
index 4439c705809a901db2d8715f762bb3bdc3d51730..2354176ccf43839fb8785ded22a09587b65cb5e2 100644 (file)
  * The Original Code is "Classic" theme of mozilla.org code.
  *
  * The Initial Developer of the Original Code is
- * the Mozilla Organization.
- * Portions created by the Initial Developer are Copyright (C) 1998-2001
+ * Håkan Waara
+ * Portions created by the Initial Developer are Copyright (C) 2001
  * the Initial Developer. All Rights Reserved.
  *
  * Contributor(s):
- *   Hakan Waara (Original Author) 
+ *   Håkan Waara (Original Author)
  *   Robert Kaiser <KaiRo@KaiRo.at>
  *
  * Alternatively, the contents of this file may be used under the terms of
 
 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
 
-.up {
-  list-style-image: url("chrome://global/skin/spinbutton/spinbtn-up.gif")
+spinbuttons {
+  cursor: default;
 }
 
-.up:hover:active {
-  list-style-image: url("chrome://global/skin/spinbutton/spinbtn-up-act.gif")
+.spinbuttons-button {
+  min-width: 9px;
+  min-height: 9px;
+  margin: 0 !important;
+  border: 1px outset #CCD0DD;
+  background-color: #CCD0DD;
 }
 
-.down {
-  list-style-image: url("chrome://global/skin/spinbutton/spinbtn-dn.gif")
+.spinbuttons-button > .button-box {
+  border: 0;
+  padding: 0;
+  margin: 0;
 }
 
-.down:hover:active {
-  list-style-image: url("chrome://global/skin/spinbutton/spinbtn-dn-act.gif")
+.spinbuttons-button[disabled="true"] > .button-box {
+  padding: 0 !important;
+}
+
+.spinbuttons-button:hover:active {
+  border: 1px inset #CCD0DD;
+}
+
+.spinbuttons-button[disabled="true"] {
+  border: 1px outset #CCD0DD;
+}
+
+.spinbuttons-up {
+  background-image: url("chrome://global/skin/arrow/arrow-up.gif");
+  background-position: center center;
+  background-repeat: no-repeat;
+}
+
+.spinbuttons-up[disabled="true"] {
+  background-image: url("chrome://global/skin/arrow/arrow-up-disabled.gif");
+}
+
+.spinbuttons-down {
+  background-image: url("chrome://global/skin/arrow/arrow-down.gif");
+  background-position: center center;
+  background-repeat: no-repeat;
+}
+
+.spinbuttons-down[disabled="true"] {
+  background-image: url("chrome://global/skin/arrow/arrow-down-disabled.gif");
 }