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 ::::: */
37 border: 1px inset #CCD0DD;
38 background-color: #FFFFFF;
42 listbox[disabled="true"] {
46 /* ::::: listitem ::::: */
49 border: 1px solid transparent;
52 listbox:focus > listitem[current="true"] {
53 border: 1px dotted #9999CC;
56 listbox:focus > listitem[current="true"][selected="true"] {
57 border: 1px dotted #666699;
60 listitem[selected="true"] {
61 background-color: #808080;
65 listbox:focus > listitem[selected="true"] {
66 background-color: #336699;
70 /* ::::: listheader ::::: */
73 -moz-box-align: center;
74 border: 1px outset #CCD0DD;
75 background-color: #CCD0DD;
80 listheader[sortable="true"]:hover:active {
81 border: 1px outset #CCD0DD;
82 padding: 1px 4px 0 5px;
90 margin: 0px !important;
93 /* ..... sort direction icon ..... */
95 .listheader-sortdirection {
96 list-style-image: none;
99 .listheader-sortdirection[sortDirection="ascending"] {
100 list-style-image: url("chrome://global/skin/tree/sort-asc.gif");
103 .listheader-sortdirection[sortDirection="descending"] {
104 list-style-image: url("chrome://global/skin/tree/sort-desc.gif");
107 /* ::::: listcell ::::: */
110 margin: 0px !important;
111 padding: 0px 0px 1px 4px;
119 .listcell-label[disabled="true"] {
123 /* ::::: listcell checkbox ::::: */
126 -moz-box-align: center;
128 border: 1px solid #CCD0DD;
132 background: #FFFFFF no-repeat 50% 50%;
135 .listcell-check[checked="true"] {
136 background-image: url("chrome://global/skin/checkbox/cbox-check.gif");
139 .listcell-check[disabled="true"] {
140 border-color: #808080;
141 background-image: url("chrome://global/skin/checkbox/cbox-disabled.gif");
144 .listcell-check[disabled="true"][checked="true"] {
145 background-image: url("chrome://global/skin/checkbox/cbox-check-disabled.gif");