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 hovered */
25 .autorepeatbutton-up[orient="horizontal"]:hover,
26 .autorepeatbutton-down:-moz-locale-dir(rtl)[orient="horizontal"]:hover,
27 .scrollbutton-up[orient="horizontal"]:hover,
28 .scrollbutton-down:-moz-locale-dir(rtl)[orient="horizontal"]:hover {
29 list-style-image: url("chrome://global/skin/arrow/arrow-left-hover.gif");
32 .autorepeatbutton-down[orient="horizontal"]:hover,
33 .autorepeatbutton-up:-moz-locale-dir(rtl)[orient="horizontal"]:hover,
34 .scrollbutton-down[orient="horizontal"]:hover,
35 .scrollbutton-up:-moz-locale-dir(rtl)[orient="horizontal"]:hover {
36 list-style-image: url("chrome://global/skin/arrow/arrow-right-hover.gif");
39 /* Horizontal disabled */
40 .autorepeatbutton-up[orient="horizontal"][disabled="true"],
41 .autorepeatbutton-down:-moz-locale-dir(rtl)[orient="horizontal"][disabled="true"],
42 .scrollbutton-up[orient="horizontal"][disabled="true"],
43 .scrollbutton-down:-moz-locale-dir(rtl)[orient="horizontal"][disabled="true"] {
44 list-style-image: url("chrome://global/skin/arrow/arrow-left-disabled.gif");
47 .autorepeatbutton-down[orient="horizontal"][disabled="true"],
48 .autorepeatbutton-up:-moz-locale-dir(rtl)[orient="horizontal"][disabled="true"],
49 .scrollbutton-down[orient="horizontal"][disabled="true"],
50 .scrollbutton-up:-moz-locale-dir(rtl)[orient="horizontal"][disabled="true"] {
51 list-style-image: url("chrome://global/skin/arrow/arrow-right-disabled.gif");
54 /* Vertical enabled */
57 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
60 .autorepeatbutton-down,
62 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
65 /* Vertical hovered */
66 .autorepeatbutton-up:hover,
67 .scrollbutton-up:hover {
68 list-style-image: url("chrome://global/skin/arrow/arrow-up-hover.gif");
71 .autorepeatbutton-down:hover,
72 .scrollbutton-down:hover {
73 list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
76 /* Vertical disabled */
77 .autorepeatbutton-up[disabled="true"],
78 .scrollbutton-up[disabled="true"] {
79 list-style-image: url("chrome://global/skin/arrow/arrow-up-disabled.gif");
82 .autorepeatbutton-down[disabled="true"],
83 .scrollbutton-down[disabled="true"] {
84 list-style-image: url("chrome://global/skin/arrow/arrow-down-disabled.gif");
87 .scrollbutton-up > .toolbarbutton-text,
88 .scrollbutton-down > .toolbarbutton-text {
95 -moz-box-align: center;
96 -moz-box-pack: center;
99 -moz-margin-start: 1px;
100 -moz-margin-end: 2px;
104 border: 1px solid transparent;
108 autorepeatbutton:not([disabled="true"]):hover,
109 autorepeatbutton:not([disabled="true"]):hover:active {
110 background-color: #FFCF00;
112 border: 1px inset #000000;
115 -moz-padding-start: 2px;
116 -moz-padding-end: 1px;