| 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 | /* ===== scale.css ================================================= |
| 6 | == Styles used by XUL scale elements. |
| 7 | ======================================================================= */ |
| 8 | |
| 9 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
| 10 | |
| 11 | /* ::::: scale ::::: */ |
| 12 | |
| 13 | .scale-slider { |
| 14 | background: url("chrome://global/skin/scale/scale-tray-horiz.gif") 0% 50% repeat-x; |
| 15 | margin: 2px 4px; |
| 16 | width: 100px; |
| 17 | height: auto; |
| 18 | } |
| 19 | |
| 20 | .scale-slider[orient="vertical"] |
| 21 | { |
| 22 | background: url("chrome://global/skin/scale/scale-tray-vert.gif") 50% 0% repeat-y; |
| 23 | margin: 4px 2px; |
| 24 | width: auto; |
| 25 | height: 100px; |
| 26 | } |
| 27 | |
| 28 | /* ::::: scale thumb ::::: */ |
| 29 | |
| 30 | .scale-thumb { |
| 31 | border: 1px solid #9C9CFF !important; |
| 32 | background-color: #000000; |
| 33 | min-width: 30px; |
| 34 | min-height: 15px; |
| 35 | } |
| 36 | |
| 37 | .scale-thumb[orient="vertical"] { |
| 38 | min-width: 15px; |
| 39 | min-height: 30px; |
| 40 | } |
| 41 | |
| 42 | .scale-thumb[disabled="true"] { |
| 43 | border: 1px solid #8050B0 !important; |
| 44 | } |