gecko-dev/toolkit/themes/windows/global/scale.css

51 строка
1.5 KiB
CSS
Исходник Обычный вид История

2012-05-21 15:12:37 +04:00
/* 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;
}