sync EarlyBlue theme with toolkit windows theme changes in Mozilla 40 cycle
[themes.git] / EarlyBlue / global / spinbuttons.css
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2  * License, v. 2.0. If a copy of the MPL was not distributed with this
3  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4
5 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
6
7 spinbuttons {
8   cursor: default;
9 }
10
11 .spinbuttons-button {
12   min-width: 9px;
13   min-height: 9px;
14   margin: 0 !important;
15   border: 1px outset #CCD0DD;
16   background-color: #CCD0DD;
17 }
18
19 .spinbuttons-button > .button-box {
20   border: 0;
21   padding: 0;
22   margin: 0;
23 }
24
25 .spinbuttons-button[disabled="true"] > .button-box {
26   padding: 0 !important;
27 }
28
29 .spinbuttons-button:hover:active {
30   border: 1px inset #CCD0DD;
31 }
32
33 .spinbuttons-button[disabled="true"] {
34   border: 1px outset #CCD0DD;
35 }
36
37 .spinbuttons-up {
38   background-image: url("chrome://global/skin/arrow/arrow-up.gif");
39   background-position: center center;
40   background-repeat: no-repeat;
41 }
42
43 .spinbuttons-up[disabled="true"] {
44   background-image: url("chrome://global/skin/arrow/arrow-up-disabled.gif");
45 }
46
47 .spinbuttons-down {
48   background-image: url("chrome://global/skin/arrow/arrow-down.gif");
49   background-position: center center;
50   background-repeat: no-repeat;
51 }
52
53 .spinbuttons-down[disabled="true"] {
54   background-image: url("chrome://global/skin/arrow/arrow-down-disabled.gif");
55 }