tweaks for making devtools look nicer
[themes.git] / LCARStrek / 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   border-radius: 3px;
13   min-width: 9px;
14   min-height: 9px;
15   margin: 0 !important;
16   border: none;
17   background-color: #000000;
18 }
19
20 .spinbuttons-button > .button-box {
21   border-radius: 3px;
22   border: 0;
23   padding: 0;
24   margin: 0;
25 }
26
27 .spinbuttons-button[disabled="true"] > .button-box {
28   padding: 0 !important;
29 }
30
31 .spinbuttons-button:hover,
32 .spinbuttons-button:hover:active {
33   background-color: #FFCF00;
34 }
35
36 .spinbuttons-button[disabled="true"] {
37   background-color: #000000 !important;
38 }
39
40 .spinbuttons-up {
41   background-image: url("chrome://global/skin/arrow/arrow-up.gif");
42   background-position: center center;
43   background-repeat: no-repeat;
44 }
45
46 .spinbuttons-up:hover,
47 .spinbuttons-up:hover:active {
48   background-image: url("chrome://global/skin/arrow/arrow-up-hover.gif");
49 }
50
51 .spinbuttons-up[disabled="true"] {
52   background-image: url("chrome://global/skin/arrow/arrow-up-disabled.gif");
53 }
54
55 .spinbuttons-down {
56   background-image: url("chrome://global/skin/arrow/arrow-down.gif");
57   background-position: center center;
58   background-repeat: no-repeat;
59 }
60
61 .spinbuttons-down:hover,
62 .spinbuttons-down:hover:active {
63   background-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
64 }
65
66 .spinbuttons-down[disabled="true"] {
67   background-image: url("chrome://global/skin/arrow/arrow-down-disabled.gif");
68 }