diff --git a/themes/modern/global/tree.css b/themes/modern/global/tree.css index d96bf43a525..695a7049e6f 100644 --- a/themes/modern/global/tree.css +++ b/themes/modern/global/tree.css @@ -73,10 +73,17 @@ treechildren::-moz-tree-row { height: 1.3em; } +/* ::::: alternating background ::::: */ +treechildren[alternatingbackground="true"]::-moz-tree-row(odd) { + background-color: #f3f3f3; +} + +treechildren[alternatingbackground="true"]::-moz-tree-row(odd, selected), treechildren::-moz-tree-row(selected) { background-color: #C7D0D9; } +treechildren[alternatingbackground="true"]::-moz-tree-row(odd, selected, focus), treechildren::-moz-tree-row(selected, focus) { background-color: #424F63; } @@ -304,25 +311,3 @@ treechildren.gridlines::-moz-tree-cell { treechildren.gridlines::-moz-tree-row { border: none; } - -/* ::::: alternating background ::::: */ - -treechildren[alternatingbackground="true"]::-moz-tree-row(odd) { - background-color: #f3f3f3; -} - -treechildren[alternatingbackground="true"]::-moz-tree-row(odd, selected) { - background-color: -moz-Dialog; -} - -treechildren[alternatingbackground="true"]::-moz-tree-cell-text(odd, selected) { - color: -moz-DialogText; -} - -treechildren[alternatingbackground="true"]::-moz-tree-row(odd, selected, focus) { - background-color: Highlight; -} - -treechildren[alternatingbackground="true"]::-moz-tree-cell-text(odd, selected, focus) { - color: HighlightText; -}