gecko/toolkit/themes/pinstripe/global/scrollbox.css

88 lines
2.6 KiB
CSS
Raw Normal View History

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/*
* Scroll arrows
*/
/* Horizontal enabled */
.autorepeatbutton-up[orient="horizontal"],
2009-06-29 10:03:45 -07:00
.scrollbutton-up[orient="horizontal"] {
list-style-image: url("chrome://global/skin/arrow/arrow-lft-sharp.gif");
-moz-image-region: auto; /* cut off inheritance */
2009-06-29 10:03:45 -07:00
}
.autorepeatbutton-down[orient="horizontal"],
2009-06-29 10:03:45 -07:00
.scrollbutton-down[orient="horizontal"] {
list-style-image: url("chrome://global/skin/arrow/arrow-rit-sharp.gif");
-moz-image-region: auto; /* cut off inheritance */
2009-06-29 10:03:45 -07:00
}
/* Horizontal disabled */
.autorepeatbutton-up[orient="horizontal"][disabled="true"],
2009-06-29 10:03:45 -07:00
.scrollbutton-up[orient="horizontal"][disabled="true"] {
list-style-image: url("chrome://global/skin/arrow/arrow-lft-dis.gif");
-moz-image-region: auto; /* cut off inheritance */
2009-06-29 10:03:45 -07:00
}
.autorepeatbutton-down[orient="horizontal"][disabled="true"],
2009-06-29 10:03:45 -07:00
.scrollbutton-down[orient="horizontal"][disabled="true"] {
list-style-image: url("chrome://global/skin/arrow/arrow-rit-dis.gif");
-moz-image-region: auto; /* cut off inheritance */
2009-06-29 10:03:45 -07:00
}
/* Vertical enabled */
2009-06-29 10:03:45 -07:00
.autorepeatbutton-up {
list-style-image: url("chrome://global/skin/scrollbox/autorepeat-arrow-up.gif");
-moz-image-region: auto; /* cut off inheritance */
2009-06-29 10:03:45 -07:00
padding-bottom: 5px;
}
2009-06-29 10:03:45 -07:00
.autorepeatbutton-down {
list-style-image: url("chrome://global/skin/scrollbox/autorepeat-arrow-dn.gif");
-moz-image-region: auto; /* cut off inheritance */
2009-06-29 10:03:45 -07:00
padding-top: 5px;
}
2009-06-29 10:03:45 -07:00
.scrollbutton-up {
list-style-image: url("chrome://global/skin/arrow/arrow-up-sharp.gif");
-moz-image-region: auto; /* cut off inheritance */
2009-06-29 10:03:45 -07:00
}
2009-06-29 10:03:45 -07:00
.scrollbutton-down {
list-style-image: url("chrome://global/skin/arrow/arrow-dn-sharp.gif");
-moz-image-region: auto; /* cut off inheritance */
2009-06-29 10:03:45 -07:00
}
/* Vertical disabled */
2009-06-29 10:03:45 -07:00
.autorepeatbutton-up[disabled="true"] {
list-style-image: url("chrome://global/skin/scrollbox/autorepeat-arrow-up-dis.gif");
-moz-image-region: auto; /* cut off inheritance */
2009-06-29 10:03:45 -07:00
}
2009-06-29 10:03:45 -07:00
.autorepeatbutton-down[disabled="true"] {
list-style-image: url("chrome://global/skin/scrollbox/autorepeat-arrow-dn-dis.gif");
-moz-image-region: auto; /* cut off inheritance */
2009-06-29 10:03:45 -07:00
}
2009-06-29 10:03:45 -07:00
.scrollbutton-up[disabled="true"] {
list-style-image: url("chrome://global/skin/arrow/arrow-up-dis.gif");
-moz-image-region: auto; /* cut off inheritance */
2009-06-29 10:03:45 -07:00
}
2009-06-29 10:03:45 -07:00
.scrollbutton-down[disabled="true"] {
list-style-image: url("chrome://global/skin/arrow/arrow-dn-dis.gif");
-moz-image-region: auto; /* cut off inheritance */
2009-06-29 10:03:45 -07:00
}
.scrollbutton-up > .toolbarbutton-text,
.scrollbutton-down > .toolbarbutton-text {
display: none;
}
2009-06-29 10:03:45 -07:00
autorepeatbutton {
-moz-box-align: center;
-moz-box-pack: center;
padding: 1px;
margin: 1px 2px;
}