1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/toolkit/themes/windows/global/scrollbox.css Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,100 @@ 1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this 1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.7 + 1.8 +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); 1.9 + 1.10 +/* 1.11 + * Scroll arrows 1.12 + */ 1.13 + 1.14 +/* Horizontal enabled */ 1.15 +.autorepeatbutton-up[orient="horizontal"], 1.16 +.autorepeatbutton-down:-moz-locale-dir(rtl)[orient="horizontal"], 1.17 +.scrollbutton-up[orient="horizontal"], 1.18 +.scrollbutton-down:-moz-locale-dir(rtl)[orient="horizontal"] { 1.19 + list-style-image: url("chrome://global/skin/arrow/arrow-lft.gif"); 1.20 + -moz-image-region: auto; /* cut off inheritance */ 1.21 +} 1.22 + 1.23 +.autorepeatbutton-down[orient="horizontal"], 1.24 +.autorepeatbutton-up:-moz-locale-dir(rtl)[orient="horizontal"], 1.25 +.scrollbutton-down[orient="horizontal"], 1.26 +.scrollbutton-up:-moz-locale-dir(rtl)[orient="horizontal"] { 1.27 + list-style-image: url("chrome://global/skin/arrow/arrow-rit.gif"); 1.28 + -moz-image-region: auto; /* cut off inheritance */ 1.29 +} 1.30 + 1.31 + /* Horizontal disabled */ 1.32 +.autorepeatbutton-up[orient="horizontal"][disabled="true"], 1.33 +.autorepeatbutton-down:-moz-locale-dir(rtl)[orient="horizontal"][disabled="true"], 1.34 +.scrollbutton-up[orient="horizontal"][disabled="true"], 1.35 +.scrollbutton-down:-moz-locale-dir(rtl)[orient="horizontal"][disabled="true"] { 1.36 + list-style-image: url("chrome://global/skin/arrow/arrow-lft-dis.gif"); 1.37 + -moz-image-region: auto; /* cut off inheritance */ 1.38 +} 1.39 + 1.40 +.autorepeatbutton-down[orient="horizontal"][disabled="true"], 1.41 +.autorepeatbutton-up:-moz-locale-dir(rtl)[orient="horizontal"][disabled="true"], 1.42 +.scrollbutton-down[orient="horizontal"][disabled="true"], 1.43 +.scrollbutton-up:-moz-locale-dir(rtl)[orient="horizontal"][disabled="true"] { 1.44 + list-style-image: url("chrome://global/skin/arrow/arrow-rit-dis.gif"); 1.45 + -moz-image-region: auto; /* cut off inheritance */ 1.46 +} 1.47 + 1.48 +/* Vertical enabled */ 1.49 +.autorepeatbutton-up, 1.50 +.scrollbutton-up { 1.51 + list-style-image: url("chrome://global/skin/arrow/arrow-up.gif"); 1.52 + -moz-image-region: auto; /* cut off inheritance */ 1.53 +} 1.54 + 1.55 +.autorepeatbutton-down, 1.56 +.scrollbutton-down { 1.57 + list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif"); 1.58 + -moz-image-region: auto; /* cut off inheritance */ 1.59 +} 1.60 + 1.61 +/* Vertical disabled */ 1.62 +.autorepeatbutton-up[disabled="true"], 1.63 +.scrollbutton-up[disabled="true"] { 1.64 + list-style-image: url("chrome://global/skin/arrow/arrow-up-dis.gif"); 1.65 + -moz-image-region: auto; /* cut off inheritance */ 1.66 +} 1.67 + 1.68 +.autorepeatbutton-down[disabled="true"], 1.69 +.scrollbutton-down[disabled="true"] { 1.70 + list-style-image: url("chrome://global/skin/arrow/arrow-dn-dis.gif"); 1.71 + -moz-image-region: auto; /* cut off inheritance */ 1.72 +} 1.73 + 1.74 +.scrollbutton-up > .toolbarbutton-text, 1.75 +.scrollbutton-down > .toolbarbutton-text { 1.76 + display: none; 1.77 +} 1.78 + 1.79 +autorepeatbutton, 1.80 +.scrollbutton-up, 1.81 +.scrollbutton-down { 1.82 + -moz-box-align: center; 1.83 + -moz-box-pack: center; 1.84 + margin-top: 1px; 1.85 + margin-bottom: 2px; 1.86 + -moz-margin-start: 1px; 1.87 + -moz-margin-end: 2px; 1.88 +} 1.89 + 1.90 +autorepeatbutton { 1.91 + border: 1px solid transparent; 1.92 + padding: 1px; 1.93 +} 1.94 + 1.95 +autorepeatbutton:not([disabled="true"]):hover, 1.96 +autorepeatbutton:not([disabled="true"]):hover:active { 1.97 + margin: 1px; 1.98 + border: 1px inset ThreeDFace; 1.99 + padding-top: 2px; 1.100 + padding-bottom: 1px; 1.101 + -moz-padding-start: 2px; 1.102 + -moz-padding-end: 1px; 1.103 +}