michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); michael@0: michael@0: /* ::::: scale ::::: */ michael@0: michael@0: .scale-slider { michael@0: -moz-appearance: scale-horizontal; michael@0: background: url("chrome://global/skin/scale/scale-tray-horiz.gif") 0% 50% repeat-x; michael@0: margin: 2px 4px; michael@0: width: 100px; michael@0: } michael@0: michael@0: .scale-slider[orient="vertical"] michael@0: { michael@0: -moz-appearance: scale-vertical; michael@0: background: url("chrome://global/skin/scale/scale-tray-vert.gif") 50% 0% repeat-y; michael@0: margin: 4px 2px; michael@0: width: auto; michael@0: height: 100px; michael@0: } michael@0: michael@0: /* ::::: scale thumb ::::: */ michael@0: michael@0: .scale-thumb { michael@0: -moz-appearance: scalethumb-horizontal; michael@0: border: 2px solid; michael@0: -moz-border-top-colors: ThreeDLightShadow ThreeDHighlight; michael@0: -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow; michael@0: -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow; michael@0: -moz-border-left-colors: ThreeDLightShadow ThreeDHighlight; michael@0: background-color: -moz-Dialog; michael@0: min-width: 30px; michael@0: min-height: 15px; michael@0: } michael@0: michael@0: .scale-thumb[orient="vertical"] { michael@0: -moz-appearance: scalethumb-vertical; michael@0: min-width: 15px; michael@0: min-height: 30px; michael@0: } michael@0: michael@0: .scale-thumb[disabled="true"] { michael@0: -moz-border-top-colors: ThreeDHighlight ThreeDLightShadow !important; michael@0: -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow !important; michael@0: -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow !important; michael@0: -moz-border-left-colors: ThreeDHighlight ThreeDLightShadow !important; michael@0: }