*
* 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 {
-moz-border-radius: 5px;
- border-spacing: 0px;
+ border-spacing: 0px;
border: 1px solid #9C9CFF;
background-color: #000000;
color: #FF9F00;
}
tree[selstyle="primary"] > treechildren::-moz-tree-cell-text(primary) {
- border: 2px solid transparent;
+ border: 1px solid transparent;
padding: 0px 1px 1px 1px;
}
-/*
treechildren::-moz-tree-cell-text(selected) {
- color: #FFFFFF;
+ color: #FFCF00;
}
tree[selstyle="primary"] > treechildren::-moz-tree-cell-text(primary, selected) {
- background-color: #808080;
- color: #FFFFFF;
+ background-color: #008484;
+ color: #FFCF00;
}
treechildren::-moz-tree-cell-text(selected, focus) {
- color: #FFFFFF;
+ color: #FFCF00;
}
tree[selstyle="primary"] > treechildren::-moz-tree-cell-text(primary, selected, focus) {
- background-color: #336699;
- color: #FFFFFF;
+ background-color: #008484;
+ color: #FFCF00;
}
tree[selstyle="primary"] > treechildren::-moz-tree-cell-text(primary, current, focus) {
- border: 1px dotted #9999CC;
+ border: 1px dotted #FF9F00;
}
tree[selstyle="primary"] > treechildren::-moz-tree-cell-text(primary, selected, current, focus) {
- border: 1px dotted #666699;
+ border: 1px dotted #FF9F00;
}
-*/
/* ::::: lines connecting cells ::::: */
/* ::::: tree separator ::::: */
treechildren::-moz-tree-separator {
+ margin-top: 1px;
border: 1px solid #9C9CFF;
+ height: 2px;
}
/* ::::: drop feedback ::::: */
background-color: #FFCF00;
}
+/* ::::: 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 solid #FF9F00;
padding: 1px 4px;
}
-treecolpicker {
+treecolpicker {
-moz-box-align: center;
-moz-box-pack: center;
border: 1px solid transparent;
background-color: #000000;
padding: 1px 0px;
-}
+}
.treecol-image {
padding: 1px;
border: 1px solid #FFCF00;
padding: 2px 3px 0px 5px;
}
-
+
treecolpicker:hover {
background-color: #FFCF00;
}
.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: #6000CF;
+}
+
+treechildren[alternatingbackground="true"]::-moz-tree-row(odd, selected) {
+ background-color: #E7ADE7;
+}
+
+treechildren[alternatingbackground="true"]::-moz-tree-row(odd, selected, focus) {
+ background-color: #E7ADE7;
+}