2001-03-16 05:56:38 +03:00
|
|
|
/*
|
|
|
|
* The contents of this file are subject to the Netscape Public
|
|
|
|
* License Version 1.1 (the "License"); you may not use this file
|
|
|
|
* except in compliance with the License. You may obtain a copy of
|
|
|
|
* the License at http://www.mozilla.org/NPL/
|
|
|
|
*
|
|
|
|
* Software distributed under the License is distributed on an "AS
|
|
|
|
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
|
|
|
* implied. See the License for the specific language governing
|
|
|
|
* rights and limitations under the License.
|
|
|
|
*
|
|
|
|
* The Original Code is Mozilla Communicator client code, released
|
|
|
|
* March 31, 1998.
|
|
|
|
*
|
|
|
|
* The Initial Developer of the Original Code is Netscape
|
|
|
|
* Communications Corporation. Portions created by Netscape are
|
|
|
|
* Copyright (C) 1998-2001 Netscape Communications Corporation. All
|
|
|
|
* Rights Reserved.
|
|
|
|
*
|
|
|
|
* Contributor(s):
|
|
|
|
* Joe Hewitt (hewitt@netscape.com)
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* ===== scrollbars.css =================================================
|
|
|
|
== Styles used by XUL scrollbar-related elements.
|
|
|
|
======================================================================= */
|
|
|
|
|
|
|
|
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
|
|
|
|
|
|
|
/* ::::: scrollbar ::::: */
|
2000-05-02 03:36:58 +04:00
|
|
|
|
|
|
|
scrollbar {
|
2001-05-19 02:29:52 +04:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/scrollbar.xml#scrollbar");
|
2001-06-14 01:33:19 +04:00
|
|
|
cursor: default;
|
2000-05-02 03:36:58 +04:00
|
|
|
}
|
|
|
|
|
2001-03-16 05:56:38 +03:00
|
|
|
/* ::::: slider ::::: */
|
|
|
|
|
2000-09-13 14:47:38 +04:00
|
|
|
slider {
|
2001-04-30 22:58:08 +04:00
|
|
|
height: 14px;
|
2001-06-28 13:15:38 +04:00
|
|
|
background: url("chrome://global/skin/scrollbar/slider-hrz-mid.gif") repeat-x;
|
2000-09-13 14:47:38 +04:00
|
|
|
}
|
|
|
|
|
2001-08-04 10:21:59 +04:00
|
|
|
slider[orient="vertical"] {
|
2001-04-30 22:58:08 +04:00
|
|
|
border-top: 0px;
|
|
|
|
border-bottom: 0px;
|
2001-03-16 05:56:38 +03:00
|
|
|
width: 14px;
|
2001-06-28 13:15:38 +04:00
|
|
|
background: url("chrome://global/skin/scrollbar/slider-vrt-mid.gif") repeat-y;
|
2000-09-13 14:47:38 +04:00
|
|
|
}
|
|
|
|
|
2001-03-16 05:56:38 +03:00
|
|
|
/* ::::: thumb (horizontal) ::::: */
|
2000-05-02 03:36:58 +04:00
|
|
|
|
|
|
|
thumb {
|
2001-03-16 05:56:38 +03:00
|
|
|
-moz-binding: url("chrome://global/skin/globalBindings.xml#thumb-horizontal");
|
2001-06-28 13:15:38 +04:00
|
|
|
height: 14px;
|
2000-09-13 14:47:38 +04:00
|
|
|
}
|
|
|
|
|
2001-09-19 01:47:32 +04:00
|
|
|
.thumb-horz-spacer-left {
|
2000-10-06 01:44:48 +04:00
|
|
|
width: 3px;
|
2001-03-16 05:56:38 +03:00
|
|
|
background: url("chrome://global/skin/scrollbar/thumb-hrz-lft.gif") no-repeat;
|
2000-09-13 14:47:38 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
.thumb-horz-box-middle {
|
2001-03-16 05:56:38 +03:00
|
|
|
background: url("chrome://global/skin/scrollbar/thumb-hrz-mid.gif") repeat-x;
|
2000-09-13 14:47:38 +04:00
|
|
|
}
|
|
|
|
|
2001-09-19 01:47:32 +04:00
|
|
|
.thumb-horz-spacer-right {
|
2000-10-06 01:44:48 +04:00
|
|
|
width: 3px;
|
2001-03-16 05:56:38 +03:00
|
|
|
background: url("chrome://global/skin/scrollbar/thumb-hrz-rit.gif") no-repeat;
|
2000-09-13 14:47:38 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
.thumb-horz-grippy {
|
2001-06-28 13:15:38 +04:00
|
|
|
margin-left: 1px;
|
|
|
|
width: 10px;
|
|
|
|
background: url("chrome://global/skin/scrollbar/thumb-hrz-grip.gif") no-repeat;
|
2000-09-13 14:47:38 +04:00
|
|
|
}
|
|
|
|
|
2001-03-16 05:56:38 +03:00
|
|
|
/* ..... active state ..... */
|
2000-09-13 14:47:38 +04:00
|
|
|
|
2001-09-19 01:47:32 +04:00
|
|
|
thumb:active > .thumb-horz-spacer-left {
|
2001-06-28 13:15:38 +04:00
|
|
|
background: url("chrome://global/skin/scrollbar/thumb-hrz-act-lft-act.gif") no-repeat;
|
2000-05-02 03:36:58 +04:00
|
|
|
}
|
|
|
|
|
2000-09-13 14:47:38 +04:00
|
|
|
thumb:active > .thumb-horz-box-middle {
|
2001-06-28 13:15:38 +04:00
|
|
|
background: url("chrome://global/skin/scrollbar/thumb-hrz-mid-act.gif") repeat-x;
|
2000-05-02 03:36:58 +04:00
|
|
|
}
|
|
|
|
|
2001-09-19 01:47:32 +04:00
|
|
|
thumb:active > .thumb-horz-spacer-right {
|
2001-06-28 13:15:38 +04:00
|
|
|
background: url("chrome://global/skin/scrollbar/thumb-hrz-rit-act.gif") no-repeat;
|
2000-09-13 14:47:38 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
thumb:active > .thumb-horz-box-middle > .thumb-horz-grippy {
|
2001-06-28 13:15:38 +04:00
|
|
|
background-image: url("chrome://global/skin/scrollbar/thumb-hrz-grip-act.gif");
|
2000-09-13 14:47:38 +04:00
|
|
|
}
|
|
|
|
|
2001-03-16 05:56:38 +03:00
|
|
|
/* ::::: thumb (vertical) ::::: */
|
2000-09-13 14:47:38 +04:00
|
|
|
|
2001-08-04 10:21:59 +04:00
|
|
|
thumb[orient="vertical"] {
|
2001-03-16 05:56:38 +03:00
|
|
|
-moz-binding: url("chrome://global/skin/globalBindings.xml#thumb-vertical");
|
2000-05-02 03:36:58 +04:00
|
|
|
}
|
|
|
|
|
2001-09-19 01:47:32 +04:00
|
|
|
.thumb-vert-spacer-top {
|
2001-03-16 05:56:38 +03:00
|
|
|
background: url("chrome://global/skin/scrollbar/thumb-vrt-top.gif") no-repeat;
|
2001-04-30 22:58:08 +04:00
|
|
|
height: 3px;
|
|
|
|
width: 14px;
|
2000-09-13 14:47:38 +04:00
|
|
|
}
|
2000-05-02 03:36:58 +04:00
|
|
|
|
2000-09-13 14:47:38 +04:00
|
|
|
.thumb-vert-box-middle {
|
2001-03-16 05:56:38 +03:00
|
|
|
background: url("chrome://global/skin/scrollbar/thumb-vrt-mid.gif") repeat-y;
|
2001-04-30 22:58:08 +04:00
|
|
|
width: 14px;
|
2000-09-13 14:47:38 +04:00
|
|
|
}
|
|
|
|
|
2001-09-19 01:47:32 +04:00
|
|
|
.thumb-vert-spacer-bottom {
|
2001-03-16 05:56:38 +03:00
|
|
|
background: url("chrome://global/skin/scrollbar/thumb-vrt-btm.gif") no-repeat;
|
2001-04-30 22:58:08 +04:00
|
|
|
height: 3px;
|
|
|
|
width: 14px;
|
2000-09-13 14:47:38 +04:00
|
|
|
}
|
2000-05-02 03:36:58 +04:00
|
|
|
|
2000-09-13 14:47:38 +04:00
|
|
|
.thumb-vert-grippy {
|
2001-06-28 13:15:38 +04:00
|
|
|
margin-top: 1px;
|
|
|
|
height: 10px;
|
|
|
|
background: url("chrome://global/skin/scrollbar/thumb-vrt-grip.gif") no-repeat;
|
2000-05-02 03:36:58 +04:00
|
|
|
}
|
|
|
|
|
2001-03-16 05:56:38 +03:00
|
|
|
/* ..... active state ..... */
|
2000-09-13 14:47:38 +04:00
|
|
|
|
2001-09-19 01:47:32 +04:00
|
|
|
thumb:active > .thumb-vert-spacer-top {
|
2001-06-28 13:15:38 +04:00
|
|
|
background: url("chrome://global/skin/scrollbar/thumb-vrt-top-act.gif") no-repeat;
|
2000-09-13 14:47:38 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
thumb:active > .thumb-vert-box-middle {
|
2001-06-28 13:15:38 +04:00
|
|
|
background: url("chrome://global/skin/scrollbar/thumb-vrt-mid-act.gif") repeat-y;
|
2000-09-13 14:47:38 +04:00
|
|
|
}
|
2000-05-02 03:36:58 +04:00
|
|
|
|
2001-09-19 01:47:32 +04:00
|
|
|
thumb:active > .thumb-vert-spacer-bottom {
|
2001-06-28 13:15:38 +04:00
|
|
|
background: url("chrome://global/skin/scrollbar/thumb-vrt-btm-act.gif") no-repeat;
|
2000-09-13 14:47:38 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
thumb:active > .thumb-vert-box-middle > .thumb-vert-grippy {
|
2001-06-28 13:15:38 +04:00
|
|
|
background-image: url("chrome://global/skin/scrollbar/thumb-vrt-grip-act.gif");
|
2000-09-13 14:47:38 +04:00
|
|
|
}
|
|
|
|
|
2001-03-16 05:56:38 +03:00
|
|
|
/* ::::: scrollbar button ::::: */
|
2000-09-13 14:47:38 +04:00
|
|
|
|
|
|
|
scrollbarbutton {
|
2001-05-12 09:02:09 +04:00
|
|
|
-moz-binding: url("chrome://global/content/bindings/scrollbar.xml#scrollbarbutton");
|
2001-06-28 13:15:38 +04:00
|
|
|
cursor: default;
|
2001-08-02 04:09:27 +04:00
|
|
|
-moz-box-align: end;
|
2000-05-02 03:36:58 +04:00
|
|
|
}
|
|
|
|
|
2001-03-16 05:56:38 +03:00
|
|
|
/* ..... increment .... */
|
2000-05-02 03:36:58 +04:00
|
|
|
|
|
|
|
scrollbarbutton[type="increment"] {
|
2001-04-30 22:58:08 +04:00
|
|
|
list-style-image: url("chrome://global/skin/scrollbar/btn-rit.gif")
|
2000-05-02 03:36:58 +04:00
|
|
|
}
|
|
|
|
|
2000-09-13 14:47:38 +04:00
|
|
|
scrollbarbutton[type="increment"]:hover:active {
|
2001-04-30 22:58:08 +04:00
|
|
|
list-style-image: url("chrome://global/skin/scrollbar/btn-rit-act.gif")
|
2000-09-13 14:47:38 +04:00
|
|
|
}
|
2000-05-02 03:36:58 +04:00
|
|
|
|
2001-08-04 10:21:59 +04:00
|
|
|
scrollbar[orient="vertical"] > scrollbarbutton[type="increment"] {
|
2001-04-30 22:58:08 +04:00
|
|
|
list-style-image: url("chrome://global/skin/scrollbar/btn-dn.gif")
|
2000-05-02 03:36:58 +04:00
|
|
|
}
|
|
|
|
|
2001-08-04 10:21:59 +04:00
|
|
|
scrollbar[orient="vertical"] > scrollbarbutton[type="increment"]:hover:active {
|
2001-04-30 22:58:08 +04:00
|
|
|
list-style-image: url("chrome://global/skin/scrollbar/btn-dn-act.gif")
|
2000-05-02 03:36:58 +04:00
|
|
|
}
|
|
|
|
|
2001-03-16 05:56:38 +03:00
|
|
|
/* ..... decrement .... */
|
2000-05-02 03:36:58 +04:00
|
|
|
|
2001-03-16 05:56:38 +03:00
|
|
|
scrollbarbutton[type="decrement"] {
|
2001-04-30 22:58:08 +04:00
|
|
|
list-style-image: url("chrome://global/skin/scrollbar/btn-lft.gif")
|
2000-05-02 03:36:58 +04:00
|
|
|
}
|
|
|
|
|
2001-03-16 05:56:38 +03:00
|
|
|
scrollbarbutton[type="decrement"]:hover:active {
|
2001-04-30 22:58:08 +04:00
|
|
|
list-style-image: url("chrome://global/skin/scrollbar/btn-lft-act.gif")
|
2000-05-02 03:36:58 +04:00
|
|
|
}
|
|
|
|
|
2001-08-04 10:21:59 +04:00
|
|
|
scrollbar[orient="vertical"] > scrollbarbutton[type="decrement"] {
|
2001-04-30 22:58:08 +04:00
|
|
|
list-style-image: url("chrome://global/skin/scrollbar/btn-up.gif")
|
2000-05-02 03:36:58 +04:00
|
|
|
}
|
|
|
|
|
2001-08-04 10:21:59 +04:00
|
|
|
scrollbar[orient="vertical"] > scrollbarbutton[type="decrement"]:hover:active {
|
2001-04-30 22:58:08 +04:00
|
|
|
list-style-image: url("chrome://global/skin/scrollbar/btn-up-act.gif")
|
2000-05-02 03:36:58 +04:00
|
|
|
}
|