make LCARStrek work with Mozilla 1.6 chatzilla; provide really good dark and default...
[themes.git] / LCARStrek / global / listbox.css
CommitLineData
b1eaa419 1/*
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/
6 *
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.
11 *
12 * The Original Code is Mozilla Communicator client code, released
13 * March 31, 1998.
14 *
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
18 * Rights Reserved.
19 *
20 * Contributor(s):
21 * Joe Hewitt (hewitt@netscape.com)
dc8e1207 22 * Dean Tessman (dean_tessman@hotmail.com)
b1eaa419 23 * Robert Kaiser <KaiRo@KaiRo.at>
24 */
25
26@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
27
28/* ===== listbox.css =======================================================
29 == Styles used by XUL listbox-related elements.
30 ======================================================================= */
31
32/* ::::: listbox ::::: */
33
34listbox {
35 -moz-border-radius: 5px;
7aa65558 36 margin: 1px 2px;
37 padding: 0px;
b1eaa419 38 border: 1px solid #9C9CFF;
39 background-color: #000000;
40 color: #FF9F00;
41}
42
b1eaa419 43/* ::::: listitem ::::: */
44
45listitem {
46 border: 1px solid transparent;
47}
48
dc8e1207 49listbox:focus > listitem[current="true"] {
50 border: 1px dotted #FF9F00;
51}
52
53listbox:focus > listitem[current="true"][selected="true"] {
b1eaa419 54 border: 1px dotted #FF9F00;
55}
56
57listitem[selected="true"] {
58 background-color: #008484;
59 color: #000000;
60}
61
62listbox:focus > listitem[selected="true"] {
63 background-color: #008484;
64 color: #FFCF00;
65}
66
67/* ::::: listheader ::::: */
68
69listheader {
70 -moz-box-align: center;
71 border: 1px solid #FFCF00;
72 background-color: #9C9CFF;
73 color: #000000;
74 padding: 0 4px;
75}
76
77listheader[sortable="true"]:hover:active {
78 border: 1px solid #FFCF00;
79 padding: 1px 4px 0 5px;
80}
81
82.listheader-icon {
83 margin-right: 2px;
84}
85
86.listheader-label {
87 margin: 0px !important;
88}
89
90/* ..... sort direction icon ..... */
91
92.listheader-sortdirection {
93 list-style-image: none;
94}
95
7aa65558 96.listheader-sortdirection[sortDirection="ascending"] {
b1eaa419 97 list-style-image: url("chrome://global/skin/tree/sort-asc.gif");
98}
99
7aa65558 100.listheader-sortdirection[sortDirection="descending"] {
b1eaa419 101 list-style-image: url("chrome://global/skin/tree/sort-desc.gif");
102}
103
104/* ::::: listcell ::::: */
105
106.listcell-label {
107 margin: 0px !important;
108 padding: 0px 0px 1px 4px;
109 white-space: nowrap;
110}
80916bc4 111
112.listcell-icon {
113 margin-right: 2px;
114}
115
7aa65558 116.listcell-label[disabled="true"] {
117 color: #8050B0;
118}
119
80916bc4 120/* ::::: listcell checkbox ::::: */
121
122.listcell-check {
7aa65558 123 -moz-box-align: center;
80916bc4 124 margin: 0px 2px;
125 border: 1px solid #FF9F00;
126 padding: 2px;
7aa65558 127 min-width: 12px;
128 min-height: 12px;
129 background: #000000 no-repeat 50% 50%;
80916bc4 130}
131
132.listcell-check[checked="true"] {
7aa65558 133 background-image: url("chrome://global/skin/checkbox/cbox-check.gif");
134}
135
136.listcell-check[disabled="true"] {
137 border-color: #8050B0;
138 background-image: url("chrome://global/skin/checkbox/cbox-disabled.gif");
139}
140
141.listcell-check[disabled="true"][checked="true"] {
142 background-image: url("chrome://global/skin/checkbox/cbox-check-disabled.gif");
80916bc4 143}