2 * The contents of this file are subject to the Netscape Public
3 * License Version 1.1 (the "License"); you may not use this file
4 * except in compliance with the License. You may obtain a copy of
5 * the License at http://www.mozilla.org/NPL/
7 * Software distributed under the License is distributed on an "AS
8 * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
9 * implied. See the License for the specific language governing
10 * rights and limitations under the License.
12 * The Original Code is Mozilla Communicator client code, released
15 * The Initial Developer of the Original Code is Netscape
16 * Communications Corporation. Portions created by Netscape are
17 * Copyright (C) 1998-2001 Netscape Communications Corporation. All
21 * Joe Hewitt (hewitt@netscape.com)
22 * Robert Kaiser <KaiRo@KaiRo.at>
25 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
27 /* ===== listbox.css =======================================================
28 == Styles used by XUL listbox-related elements.
29 ======================================================================= */
31 /* ::::: listbox ::::: */
34 -moz-border-radius: 5px;
37 border: 1px solid #9C9CFF;
38 background-color: #000000;
42 /* ::::: listitem ::::: */
45 border: 1px solid transparent;
48 listbox:focus > listitem[selected="true"][current="true"] {
49 border: 1px dotted #FF9F00;
52 listitem[selected="true"] {
53 background-color: #008484;
57 listbox:focus > listitem[selected="true"] {
58 background-color: #008484;
62 /* ::::: listheader ::::: */
65 -moz-box-align: center;
66 border: 1px solid #FFCF00;
67 background-color: #9C9CFF;
72 listheader[sortable="true"]:hover:active {
73 border: 1px solid #FFCF00;
74 padding: 1px 4px 0 5px;
82 margin: 0px !important;
85 /* ..... sort direction icon ..... */
87 .listheader-sortdirection {
88 list-style-image: none;
91 .listheader-sortdirection[sortDirection="ascending"] {
92 list-style-image: url("chrome://global/skin/tree/sort-asc.gif");
95 .listheader-sortdirection[sortDirection="descending"] {
96 list-style-image: url("chrome://global/skin/tree/sort-desc.gif");
99 /* ::::: listcell ::::: */
102 margin: 0px !important;
103 padding: 0px 0px 1px 4px;
111 .listcell-label[disabled="true"] {
115 /* ::::: listcell checkbox ::::: */
118 -moz-box-align: center;
120 border: 1px solid #FF9F00;
124 background: #000000 no-repeat 50% 50%;
127 .listcell-check[checked="true"] {
128 background-image: url("chrome://global/skin/checkbox/cbox-check.gif");
131 .listcell-check[disabled="true"] {
132 border-color: #8050B0;
133 background-image: url("chrome://global/skin/checkbox/cbox-disabled.gif");
136 .listcell-check[disabled="true"][checked="true"] {
137 background-image: url("chrome://global/skin/checkbox/cbox-check-disabled.gif");