blob: 481254616487ab7f157dc2c1f58ba2609998fa5b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
/* 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");
/* ::::: scale ::::: */
.scale-slider {
-moz-appearance: scale-horizontal;
background: url("chrome://global/skin/scale/scale-tray-horiz.gif") 0% 50% repeat-x;
margin: 2px 4px;
width: 100px;
}
.scale-slider[orient="vertical"]
{
-moz-appearance: scale-vertical;
background: url("chrome://global/skin/scale/scale-tray-vert.gif") 50% 0% repeat-y;
margin: 4px 2px;
width: auto;
height: 100px;
}
/* ::::: scale thumb ::::: */
.scale-thumb {
-moz-appearance: scalethumb-horizontal;
border: 2px solid;
-moz-border-top-colors: ThreeDLightShadow ThreeDHighlight;
-moz-border-right-colors: ThreeDDarkShadow ThreeDShadow;
-moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow;
-moz-border-left-colors: ThreeDLightShadow ThreeDHighlight;
background-color: -moz-Dialog;
min-width: 30px;
min-height: 15px;
}
.scale-thumb[orient="vertical"] {
-moz-appearance: scalethumb-vertical;
min-width: 15px;
min-height: 30px;
}
.scale-thumb[disabled="true"] {
-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;
}
|