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/. */
5 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
7 /* ::::: Scroll arrows ::::: */
9 /* Horizontal enabled */
10 .autorepeatbutton-up[orient="horizontal"],
11 .autorepeatbutton-down:-moz-locale-dir(rtl)[orient="horizontal"],
12 .scrollbutton-up[orient="horizontal"],
13 .scrollbutton-down:-moz-locale-dir(rtl)[orient="horizontal"] {
14 list-style-image: url("chrome://global/skin/arrow/arrow-left.gif");
17 .autorepeatbutton-down[orient="horizontal"],
18 .autorepeatbutton-up:-moz-locale-dir(rtl)[orient="horizontal"],
19 .scrollbutton-down[orient="horizontal"],
20 .scrollbutton-up:-moz-locale-dir(rtl)[orient="horizontal"] {
21 list-style-image: url("chrome://global/skin/arrow/arrow-right.gif");
24 /* Horizontal disabled */
25 .autorepeatbutton-up[orient="horizontal"][disabled="true"],
26 .autorepeatbutton-down:-moz-locale-dir(rtl)[orient="horizontal"][disabled="true"],
27 .scrollbutton-up[orient="horizontal"][disabled="true"],
28 .scrollbutton-down:-moz-locale-dir(rtl)[orient="horizontal"][disabled="true"] {
29 list-style-image: url("chrome://global/skin/arrow/arrow-left-disabled.gif");
32 .autorepeatbutton-down[orient="horizontal"][disabled="true"],
33 .autorepeatbutton-up:-moz-locale-dir(rtl)[orient="horizontal"][disabled="true"],
34 .scrollbutton-down[orient="horizontal"][disabled="true"],
35 .scrollbutton-up:-moz-locale-dir(rtl)[orient="horizontal"][disabled="true"] {
36 list-style-image: url("chrome://global/skin/arrow/arrow-right-disabled.gif");
39 /* Vertical enabled */
42 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
45 .autorepeatbutton-down,
47 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
50 /* Vertical disabled */
51 .autorepeatbutton-up[disabled="true"],
52 .scrollbutton-up[disabled="true"] {
53 list-style-image: url("chrome://global/skin/arrow/arrow-up-disabled.gif");
56 .autorepeatbutton-down[disabled="true"],
57 .scrollbutton-down[disabled="true"] {
58 list-style-image: url("chrome://global/skin/arrow/arrow-down-disabled.gif");
61 .scrollbutton-up > .toolbarbutton-text,
62 .scrollbutton-down > .toolbarbutton-text {
69 -moz-box-align: center;
70 -moz-box-pack: center;
73 -moz-margin-start: 1px;
78 border: 1px solid transparent;
82 autorepeatbutton:not([disabled="true"]):hover,
83 autorepeatbutton:not([disabled="true"]):hover:active {
84 background-color: #336699;
86 border: 1px inset #CCD0DD;
89 -moz-padding-start: 2px;
90 -moz-padding-end: 1px;