toolkit/themes/windows/global/spinbuttons.css

branch
TOR_BUG_9701
changeset 15
b8a032363ba2
equal deleted inserted replaced
-1:000000000000 0:e814ebce86f3
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 -moz-appearance: spinner;
9 cursor: default;
10 }
11
12 .spinbuttons-button {
13 min-width: 13px;
14 min-height: 11px;
15 margin: 0 !important;
16 border: 2px solid;
17 -moz-border-top-colors: ThreeDHighlight ThreeDLightShadow;
18 -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow;
19 -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow;
20 -moz-border-left-colors: ThreeDHighlight ThreeDLightShadow;
21 background-color: ThreeDFace;
22 }
23
24 .spinbuttons-button > .button-box {
25 border: 0;
26 }
27
28 .spinbuttons-button:hover:active
29 {
30 border: 2px solid;
31 -moz-border-top-colors: ThreeDDarkShadow ThreeDShadow;
32 -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow;
33 -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow;
34 -moz-border-left-colors: ThreeDDarkShadow ThreeDShadow;
35 }
36
37 .spinbuttons-button[disabled="true"] {
38 border: 2px solid;
39 -moz-border-top-colors: ThreeDHighlight ThreeDLightShadow !important;
40 -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow !important;
41 -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow !important;
42 -moz-border-left-colors: ThreeDHighlight ThreeDLightShadow !important;
43 }
44
45 .spinbuttons-up {
46 -moz-appearance: spinner-upbutton;
47 background-image: url("chrome://global/skin/arrow/arrow-up.gif");
48 background-position: center center;
49 background-repeat: no-repeat;
50 }
51
52 .spinbuttons-up[disabled="true"] {
53 background-image: url("chrome://global/skin/arrow/arrow-up-dis.gif");
54 }
55
56 .spinbuttons-down {
57 -moz-appearance: spinner-downbutton;
58 background-image: url("chrome://global/skin/arrow/arrow-dn.gif");
59 background-position: center center;
60 background-repeat: no-repeat;
61 }
62
63 .spinbuttons-down[disabled="true"] {
64 background-image: url("chrome://global/skin/arrow/arrow-dn-dis.gif");
65 }

mercurial