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)
25
/* ===== listbox.css =======================================================
26
== Styles used by XUL listbox-related elements.
27
======================================================================= */
29
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
31
/* ::::: listbox ::::: */
36
-moz-border-top-colors: ThreeDShadow ThreeDDarkShadow;
37
-moz-border-right-colors: ThreeDHighlight ThreeDLightShadow;
38
-moz-border-bottom-colors: ThreeDHighlight ThreeDLightShadow;
39
-moz-border-left-colors: ThreeDShadow ThreeDDarkShadow;
40
background-color: -moz-Field;
41
color: -moz-FieldText;
42
-moz-appearance: listbox;
45
/* ::::: listitem ::::: */
48
border: 1px solid transparent;
51
listbox:focus > listitem[current="true"] {
52
border: 1px dotted #000000;
55
listbox:focus > listitem[current="true"][selected="true"] {
56
border: 1px dotted #C0C0C0;
59
listitem[selected="true"] {
60
background-color: -moz-Dialog;
61
color: -moz-DialogText;
64
listbox:focus > listitem[selected="true"] {
65
background-color: Highlight;
69
/* ::::: listheader ::::: */
72
-moz-appearance: treeheadercell;
73
-moz-box-align: center;
75
-moz-border-top-colors: ThreeDHighlight ThreeDLightShadow;
76
-moz-border-right-colors: ThreeDDarkShadow ThreeDShadow;
77
-moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow;
78
-moz-border-left-colors: ThreeDHighlight ThreeDLightShadow;
79
background-color: -moz-Dialog;
80
color: -moz-DialogText;
84
listheader[sortable="true"]:hover:active {
85
border-top: 2px solid;
86
border-right: 1px solid;
87
border-bottom: 1px solid;
88
border-left: 2px solid;
89
-moz-border-top-colors: ThreeDShadow -moz-Dialog;
90
-moz-border-right-colors: ThreeDShadow;
91
-moz-border-bottom-colors: ThreeDShadow;
92
-moz-border-left-colors: ThreeDShadow -moz-Dialog;
93
padding: 1px 4px 0 5px;
101
margin: 0px !important;
104
/* ..... sort direction icon ..... */
106
.listheader-sortdirection {
107
list-style-image: none;
110
.listheader-sortdirection[sortDirection="ascending"] {
111
list-style-image: url("chrome://global/skin/tree/sort-asc.gif");
114
.listheader-sortdirection[sortDirection="descending"] {
115
list-style-image: url("chrome://global/skin/tree/sort-dsc.gif");
118
/* ::::: listcell ::::: */
121
margin: 0px !important;
122
padding: 0px 0px 1px 4px;
130
.listcell-label[disabled="true"] {
134
/* ::::: listcell checkbox ::::: */
137
-moz-appearance: checkbox;
138
-moz-box-align: center;
140
border: 1px solid -moz-DialogText;
143
background: -moz-Field no-repeat 50% 50%;
146
.listcell-check[checked="true"] {
147
background-image: url("chrome://global/skin/checkbox/cbox-check.gif");
150
.listcell-check[disabled="true"] {
151
border-color: GrayText;
152
background-image: url("chrome://global/skin/checkbox/cbox-dis.gif");
155
.listcell-check[disabled="true"][checked="true"] {
156
background-image: url("chrome://global/skin/checkbox/cbox-check-dis.gif");
b'\\ No newline at end of file'