keep up with current classic developement, make full screen mode work with EarlyBlue
[themes.git] / EarlyBlue / global / listbox.css
CommitLineData
74d14f90 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)
22 * Robert Kaiser <KaiRo@KaiRo.at>
23 */
24
25@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
26
27/* ===== listbox.css =======================================================
28 == Styles used by XUL listbox-related elements.
29 ======================================================================= */
30
31/* ::::: listbox ::::: */
32
33listbox {
34 margin: 2px 4px;
35 border: 1px inset #CCD0DD;
36 background-color: #FFFFFF;
37 color: #000000;
38}
39
40listrows {
41}
42
43/* ::::: listitem ::::: */
44
45listitem {
46 border: 1px solid transparent;
47}
48
49listbox:focus > listitem[selected="true"][current="true"] {
50 border: 1px dotted #9999CC;
51}
52
53listitem[selected="true"] {
54 background-color: #808080;
55 color: #FFFFFF;
56}
57
58listbox:focus > listitem[selected="true"] {
59 background-color: #336699;
60 color: #FFFFFF;
61}
62
63/* ::::: listheader ::::: */
64
65listheader {
66 -moz-box-align: center;
67 border: 1px outset #CCD0DD;
68 background-color: #CCD0DD;
69 color: #000000;
70 padding: 0 4px;
71}
72
73listheader[sortable="true"]:hover:active {
74 border: 1px outset #CCD0DD;
75 padding: 1px 4px 0 5px;
76}
77
78.listheader-icon {
79 margin-right: 2px;
80}
81
82.listheader-label {
83 margin: 0px !important;
84}
85
86/* ..... sort direction icon ..... */
87
88.listheader-sortdirection {
89 list-style-image: none;
90}
91
92.listheader-sortdirection[sortdirection="ascending"] {
93 list-style-image: url("chrome://global/skin/tree/sort-asc.gif");
94}
95
96.listheader-sortdirection[sortdirection="descending"] {
97 list-style-image: url("chrome://global/skin/tree/sort-desc.gif");
98}
99
100/* ::::: listcell ::::: */
101
102.listcell-label {
103 margin: 0px !important;
104 padding: 0px 0px 1px 4px;
105 white-space: nowrap;
106}
c8120ee9 107
108.listcell-icon {
109 margin-right: 2px;
110}
111
112/* ::::: listcell checkbox ::::: */
113
114.listcell-check {
115 margin: 0px 2px;
116 border: 1px solid #CCD0DD;
117 padding: 2px;
118 width: 7px;
119}
120
121.listcell-check[checked="true"] {
122 width: 0px;
123 list-style-image: url("chrome://global/skin/checkbox/cbox-check.gif");
124}