*
* Contributor(s):
* Robert Kaiser <KaiRo@KaiRo.at>
- * Joe Hewitt (hewitt@netscape.com)
+ * Joe Hewitt (hewitt@netscape.com)
* Dean Tessman (dean_tessman@hotmail.com)
*
* Alternatively, the contents of this file may be used under the terms of
/* ::::: tree ::::: */
tree {
- border-spacing: 0px;
+ border-spacing: 0px;
border: 1px inset #CCD0DD;
background-color: #FFFFFF;
- color: #000000;
+ color: #000000;
}
/* ::::: tree focusring ::::: */
}
tree[selstyle="primary"] > treechildren::-moz-tree-cell-text(primary) {
- border: 2px solid transparent;
+ border: 1px solid transparent;
padding: 0px 1px 1px 1px;
}
/* ::::: tree separator ::::: */
treechildren::-moz-tree-separator {
+ margin-top: 1px;
border: 1px outset #CCD0DD;
+ height: 2px;
}
/* ::::: drop feedback ::::: */
background-color: #FFFFFF;
}
+/* ::::: tree checkbox ::::: */
+
+treechildren::-moz-tree-checkbox {
+ list-style-image: url("chrome://global/skin/tree/checkbox.gif");
+}
+
+treechildren::-moz-tree-checkbox(checked) {
+ list-style-image: url("chrome://global/skin/tree/checkbox-checked.gif");
+}
+
/* ::::: tree progress meter ::::: */
treechildren::-moz-tree-progressmeter {
/* ::::: tree columns ::::: */
-treecol {
+treecol {
-moz-box-align: center;
-moz-box-pack: center;
border: 1px outset #CCD0DD;
padding: 1px 4px;
}
-treecolpicker {
+treecolpicker {
-moz-box-align: center;
-moz-box-pack: center;
border: 1px solid transparent;
.treecol-image {
padding: 1px;
}
-
+
.treecol-text {
margin: 0px !important;
padding: 0px !important;
.treecol-sortdirection {
list-style-image: none;
+ width: 8px; /* The image's width is 7 pixels */
}
-.sortDirectionIndicator[sortDirection="ascending"] .treecol-sortdirection {
+.treecol-sortdirection[sortDirection="ascending"] {
list-style-image: url("chrome://global/skin/tree/sort-asc.gif");
}
-.sortDirectionIndicator[sortDirection="descending"] .treecol-sortdirection {
- list-style-image: url("chrome://global/skin/tree/sort-desc.gif");
+.treecol-sortdirection[sortDirection="descending"] {
+ list-style-image: url("chrome://global/skin/tree/sort-dsc.gif");
}
/* ::::: column picker ::::: */
width: 11px; /* The image's width is 11 pixels */
list-style-image: url("chrome://global/skin/tree/twisty-closed.gif");
}
-
+
treechildren::-moz-tree-twisty(open) {
width: 11px; /* The image's width is 11 pixels */
list-style-image: url("chrome://global/skin/tree/twisty-open.gif");
treechildren.gridlines::-moz-tree-row {
border: none;
}
+
+/* ::::: alternating background ::::: */
+
+treechildren[alternatingbackground="true"]::-moz-tree-row(odd) {
+ background-color: #F5F7FF;
+}
+
+treechildren[alternatingbackground="true"]::-moz-tree-row(odd, selected) {
+ background-color: #A0A0A0;
+}
+
+treechildren[alternatingbackground="true"]::-moz-tree-row(odd, selected, focus) {
+ background-color: #6699CC;
+}