2012-05-21 15:12:37 +04:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
|
2004-06-19 01:06:45 +04:00
|
|
|
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
2006-07-04 23:01:19 +04:00
|
|
|
|
|
|
|
/* Horizontal enabled */
|
|
|
|
.autorepeatbutton-up[orient="horizontal"],
|
2009-06-29 21:03:45 +04:00
|
|
|
.scrollbutton-up[orient="horizontal"] {
|
|
|
|
list-style-image: url("chrome://global/skin/arrow/arrow-lft-sharp.gif");
|
2009-06-29 20:20:04 +04:00
|
|
|
-moz-image-region: auto; /* cut off inheritance */
|
2009-06-29 21:03:45 +04:00
|
|
|
}
|
2004-06-19 01:06:45 +04:00
|
|
|
|
2006-07-04 23:01:19 +04:00
|
|
|
.autorepeatbutton-down[orient="horizontal"],
|
2009-06-29 21:03:45 +04:00
|
|
|
.scrollbutton-down[orient="horizontal"] {
|
|
|
|
list-style-image: url("chrome://global/skin/arrow/arrow-rit-sharp.gif");
|
2009-06-29 20:20:04 +04:00
|
|
|
-moz-image-region: auto; /* cut off inheritance */
|
2009-06-29 21:03:45 +04:00
|
|
|
}
|
2006-06-27 02:35:08 +04:00
|
|
|
|
2006-07-04 23:01:19 +04:00
|
|
|
/* Horizontal disabled */
|
|
|
|
.autorepeatbutton-up[orient="horizontal"][disabled="true"],
|
2009-06-29 21:03:45 +04:00
|
|
|
.scrollbutton-up[orient="horizontal"][disabled="true"] {
|
|
|
|
list-style-image: url("chrome://global/skin/arrow/arrow-lft-dis.gif");
|
2009-06-29 20:20:04 +04:00
|
|
|
-moz-image-region: auto; /* cut off inheritance */
|
2009-06-29 21:03:45 +04:00
|
|
|
}
|
2006-07-04 23:01:19 +04:00
|
|
|
|
|
|
|
.autorepeatbutton-down[orient="horizontal"][disabled="true"],
|
2009-06-29 21:03:45 +04:00
|
|
|
.scrollbutton-down[orient="horizontal"][disabled="true"] {
|
|
|
|
list-style-image: url("chrome://global/skin/arrow/arrow-rit-dis.gif");
|
2009-06-29 20:20:04 +04:00
|
|
|
-moz-image-region: auto; /* cut off inheritance */
|
2009-06-29 21:03:45 +04:00
|
|
|
}
|
2006-07-04 23:01:19 +04:00
|
|
|
|
|
|
|
/* Vertical enabled */
|
2010-01-06 20:58:45 +03:00
|
|
|
.autorepeatbutton-up:not([orient="horizontal"]) {
|
2009-06-29 21:03:45 +04:00
|
|
|
padding-bottom: 5px;
|
|
|
|
}
|
2006-07-19 08:03:19 +04:00
|
|
|
|
2010-01-06 20:58:45 +03:00
|
|
|
.autorepeatbutton-down:not([orient="horizontal"]) {
|
2009-06-29 21:03:45 +04:00
|
|
|
padding-top: 5px;
|
|
|
|
}
|
2006-07-19 08:03:19 +04:00
|
|
|
|
2010-02-04 22:30:18 +03:00
|
|
|
.autorepeatbutton-up:not([orient="horizontal"]) > .autorepeatbutton-icon {
|
|
|
|
-moz-transform: rotate(-90deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
.autorepeatbutton-down:not([orient="horizontal"]) > .autorepeatbutton-icon {
|
|
|
|
-moz-transform: rotate(90deg);
|
|
|
|
}
|
|
|
|
|
2009-06-29 21:03:45 +04:00
|
|
|
.scrollbutton-up {
|
|
|
|
list-style-image: url("chrome://global/skin/arrow/arrow-up-sharp.gif");
|
2009-06-29 20:20:04 +04:00
|
|
|
-moz-image-region: auto; /* cut off inheritance */
|
2009-06-29 21:03:45 +04:00
|
|
|
}
|
2006-07-19 08:03:19 +04:00
|
|
|
|
2009-06-29 21:03:45 +04:00
|
|
|
.scrollbutton-down {
|
|
|
|
list-style-image: url("chrome://global/skin/arrow/arrow-dn-sharp.gif");
|
2009-06-29 20:20:04 +04:00
|
|
|
-moz-image-region: auto; /* cut off inheritance */
|
2009-06-29 21:03:45 +04:00
|
|
|
}
|
2004-06-19 01:06:45 +04:00
|
|
|
|
2006-07-04 23:01:19 +04:00
|
|
|
/* Vertical disabled */
|
2010-02-04 22:30:18 +03:00
|
|
|
.autorepeatbutton-up[disabled="true"]:not([orient="horizontal"]),
|
|
|
|
.autorepeatbutton-down[disabled="true"]:not([orient="horizontal"]) {
|
|
|
|
-moz-image-region: rect(0, 24px, 10px, 16px);
|
2009-06-29 21:03:45 +04:00
|
|
|
}
|
2006-07-19 08:03:19 +04:00
|
|
|
|
2009-06-29 21:03:45 +04:00
|
|
|
.scrollbutton-up[disabled="true"] {
|
|
|
|
list-style-image: url("chrome://global/skin/arrow/arrow-up-dis.gif");
|
2009-06-29 20:20:04 +04:00
|
|
|
-moz-image-region: auto; /* cut off inheritance */
|
2009-06-29 21:03:45 +04:00
|
|
|
}
|
2006-07-19 08:03:19 +04:00
|
|
|
|
2009-06-29 21:03:45 +04:00
|
|
|
.scrollbutton-down[disabled="true"] {
|
|
|
|
list-style-image: url("chrome://global/skin/arrow/arrow-dn-dis.gif");
|
2009-06-29 20:20:04 +04:00
|
|
|
-moz-image-region: auto; /* cut off inheritance */
|
2009-06-29 21:03:45 +04:00
|
|
|
}
|
2006-07-04 23:01:19 +04:00
|
|
|
|
2006-09-22 04:47:18 +04:00
|
|
|
.scrollbutton-up > .toolbarbutton-text,
|
|
|
|
.scrollbutton-down > .toolbarbutton-text {
|
|
|
|
display: none;
|
|
|
|
}
|
2006-07-04 23:01:19 +04:00
|
|
|
|
2009-06-29 21:03:45 +04:00
|
|
|
autorepeatbutton {
|
2010-02-04 22:30:18 +03:00
|
|
|
list-style-image: url("chrome://global/skin/menu/menu-arrow.png");
|
|
|
|
-moz-image-region: rect(0, 8px, 10px, 0);
|
2009-06-29 21:03:45 +04:00
|
|
|
-moz-box-align: center;
|
|
|
|
-moz-box-pack: center;
|
|
|
|
padding: 1px;
|
|
|
|
}
|