1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 /* ===== listbox.css =======================================================
6 == Styles used by XUL listbox-related elements.
7 ======================================================================= */
9 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
11 /* ::::: listbox ::::: */
17 border: 1px solid #9C9CFF;
18 background-color: #000000;
22 listbox[disabled="true"] {
23 border: 1px solid #8050B0;
27 /* ::::: listitem ::::: */
30 border: 1px solid transparent;
33 listbox:-moz-focusring > listitem[current="true"] {
34 border: 1px dotted #FF9F00;
37 listbox:-moz-focusring > listitem[current="true"][selected="true"] {
38 border: 1px dotted #FF9F00;
41 listitem[selected="true"] {
42 background-color: #008484;
46 listbox:focus > listitem[selected="true"] {
47 background-color: #008484;
51 /* ::::: listheader ::::: */
54 -moz-box-align: center;
55 border: 1px solid #FFCF00;
56 background-color: #9C9CFF;
61 listheader[sortable="true"]:hover:active {
62 border: 1px solid #FFCF00;
65 -moz-padding-start: 5px;
66 -moz-padding-end: 4px;
74 margin: 0px !important;
77 /* ..... sort direction icon ..... */
79 .listheader-sortdirection {
80 list-style-image: none;
83 .listheader-sortdirection[sortDirection="ascending"] {
84 list-style-image: url("chrome://global/skin/tree/sort-asc.gif");
87 .listheader-sortdirection[sortDirection="descending"] {
88 list-style-image: url("chrome://global/skin/tree/sort-desc.gif");
91 /* ::::: listcell ::::: */
94 margin: 0px !important;
97 -moz-padding-start: 4px;
98 -moz-padding-end: 0px;
103 -moz-margin-end: 2px;
106 .listcell-label[disabled="true"] {
110 /* ::::: listcell checkbox ::::: */
113 -moz-box-align: center;
115 border: 1px solid #FF9F00;
119 background: #000000 no-repeat 50% 50%;
122 .listcell-check[checked="true"] {
123 background-image: url("chrome://global/skin/checkbox/cbox-check.gif");
126 listitem[type="checkbox"]:hover .listcell-check {
127 border-color: #FFCF00;
130 listitem[type="checkbox"]:hover .listcell-label {