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 * Dean Tessman (dean_tessman@hotmail.com)
23 * Robert Kaiser <KaiRo@KaiRo.at>
26 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
28 /* ===== listbox.css =======================================================
29 == Styles used by XUL listbox-related elements.
30 ======================================================================= */
32 /* ::::: listbox ::::: */
35 -moz-border-radius: 5px;
38 border: 1px solid #9C9CFF;
39 background-color: #000000;
43 /* ::::: listitem ::::: */
46 border: 1px solid transparent;
49 listbox:focus > listitem[current="true"] {
50 border: 1px dotted #FF9F00;
53 listbox:focus > listitem[current="true"][selected="true"] {
54 border: 1px dotted #FF9F00;
57 listitem[selected="true"] {
58 background-color: #008484;
62 listbox:focus > listitem[selected="true"] {
63 background-color: #008484;
67 /* ::::: listheader ::::: */
70 -moz-box-align: center;
71 border: 1px solid #FFCF00;
72 background-color: #9C9CFF;
77 listheader[sortable="true"]:hover:active {
78 border: 1px solid #FFCF00;
79 padding: 1px 4px 0 5px;
87 margin: 0px !important;
90 /* ..... sort direction icon ..... */
92 .listheader-sortdirection {
93 list-style-image: none;
96 .listheader-sortdirection[sortDirection="ascending"] {
97 list-style-image: url("chrome://global/skin/tree/sort-asc.gif");
100 .listheader-sortdirection[sortDirection="descending"] {
101 list-style-image: url("chrome://global/skin/tree/sort-desc.gif");
104 /* ::::: listcell ::::: */
107 margin: 0px !important;
108 padding: 0px 0px 1px 4px;
116 .listcell-label[disabled="true"] {
120 /* ::::: listcell checkbox ::::: */
123 -moz-box-align: center;
125 border: 1px solid #FF9F00;
129 background: #000000 no-repeat 50% 50%;
132 .listcell-check[checked="true"] {
133 background-image: url("chrome://global/skin/checkbox/cbox-check.gif");
136 .listcell-check[disabled="true"] {
137 border-color: #8050B0;
138 background-image: url("chrome://global/skin/checkbox/cbox-disabled.gif");
141 .listcell-check[disabled="true"][checked="true"] {
142 background-image: url("chrome://global/skin/checkbox/cbox-check-disabled.gif");