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 ::::: */
16 border: 1px inset #CCD0DD;
17 background-color: #FFFFFF;
21 listbox[disabled="true"] {
25 /* ::::: listitem ::::: */
28 border: 1px solid transparent;
31 listbox:-moz-focusring > listitem[current="true"] {
32 border: 1px dotted #9999CC;
35 listbox:-moz-focusring > listitem[current="true"][selected="true"] {
36 border: 1px dotted #666699;
39 listitem[selected="true"] {
40 background-color: #808080;
44 listbox:focus > listitem[selected="true"] {
45 background-color: #336699;
49 /* ::::: listheader ::::: */
52 -moz-box-align: center;
53 border: 1px outset #CCD0DD;
54 background-color: #CCD0DD;
59 listheader[sortable="true"]:hover:active {
60 border: 1px outset #CCD0DD;
63 -moz-padding-start: 5px;
64 -moz-padding-end: 4px;
72 margin: 0px !important;
75 /* ..... sort direction icon ..... */
77 .listheader-sortdirection {
78 list-style-image: none;
81 .listheader-sortdirection[sortDirection="ascending"] {
82 list-style-image: url("chrome://global/skin/tree/sort-asc.gif");
85 .listheader-sortdirection[sortDirection="descending"] {
86 list-style-image: url("chrome://global/skin/tree/sort-desc.gif");
89 /* ::::: listcell ::::: */
92 margin: 0px !important;
95 -moz-padding-start: 4px;
96 -moz-padding-end: 0px;
101 -moz-margin-end: 2px;
104 .listcell-label[disabled="true"] {
108 /* ::::: listcell checkbox ::::: */
111 -moz-box-align: center;
113 border: 1px solid #CCD0DD;
117 background: #FFFFFF no-repeat 50% 50%;
120 .listcell-check[checked="true"] {
121 background-image: url("chrome://global/skin/checkbox/cbox-check.gif");