tweaks for making devtools look nicer
[themes.git] / LCARStrek / global / spinbuttons.css
CommitLineData
9099c61d
RK
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/. */
351107c9 4
5@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
6
a12570b9 7spinbuttons {
8 cursor: default;
351107c9 9}
10
a12570b9 11.spinbuttons-button {
569543b3 12 border-radius: 3px;
26a52ec5
RK
13 min-width: 9px;
14 min-height: 9px;
a12570b9 15 margin: 0 !important;
16 border: none;
17 background-color: #000000;
351107c9 18}
19
a12570b9 20.spinbuttons-button > .button-box {
569543b3 21 border-radius: 3px;
a12570b9 22 border: 0;
23 padding: 0;
24 margin: 0;
351107c9 25}
26
a12570b9 27.spinbuttons-button[disabled="true"] > .button-box {
28 padding: 0 !important;
29}
30
26a52ec5 31.spinbuttons-button:hover,
a12570b9 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
26a52ec5 46.spinbuttons-up:hover,
a12570b9 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
26a52ec5 61.spinbuttons-down:hover,
a12570b9 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");
351107c9 68}