summaryrefslogtreecommitdiffstats
path: root/toolkit/themes/windows/global/spinbuttons.css
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/themes/windows/global/spinbuttons.css')
-rw-r--r--toolkit/themes/windows/global/spinbuttons.css65
1 files changed, 65 insertions, 0 deletions
diff --git a/toolkit/themes/windows/global/spinbuttons.css b/toolkit/themes/windows/global/spinbuttons.css
new file mode 100644
index 000000000..a2f2ebf49
--- /dev/null
+++ b/toolkit/themes/windows/global/spinbuttons.css
@@ -0,0 +1,65 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
+
+spinbuttons {
+ -moz-appearance: spinner;
+ cursor: default;
+}
+
+.spinbuttons-button {
+ min-width: 13px;
+ min-height: 11px;
+ margin: 0 !important;
+ border: 2px solid;
+ -moz-border-top-colors: ThreeDHighlight ThreeDLightShadow;
+ -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow;
+ -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow;
+ -moz-border-left-colors: ThreeDHighlight ThreeDLightShadow;
+ background-color: ThreeDFace;
+}
+
+.spinbuttons-button > .button-box {
+ border: 0;
+}
+
+.spinbuttons-button:hover:active
+{
+ border: 2px solid;
+ -moz-border-top-colors: ThreeDDarkShadow ThreeDShadow;
+ -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow;
+ -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow;
+ -moz-border-left-colors: ThreeDDarkShadow ThreeDShadow;
+}
+
+.spinbuttons-button[disabled="true"] {
+ border: 2px solid;
+ -moz-border-top-colors: ThreeDHighlight ThreeDLightShadow !important;
+ -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow !important;
+ -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow !important;
+ -moz-border-left-colors: ThreeDHighlight ThreeDLightShadow !important;
+}
+
+.spinbuttons-up {
+ -moz-appearance: spinner-upbutton;
+ 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-dis.gif");
+}
+
+.spinbuttons-down {
+ -moz-appearance: spinner-downbutton;
+ background-image: url("chrome://global/skin/arrow/arrow-dn.gif");
+ background-position: center center;
+ background-repeat: no-repeat;
+}
+
+.spinbuttons-down[disabled="true"] {
+ background-image: url("chrome://global/skin/arrow/arrow-dn-dis.gif");
+}