Add default styles for alternating backgrounds on treerows to the theme.
r=ben sr=jst
This commit is contained in:
caillon%redhat.com 2007-09-06 22:03:25 +00:00
Родитель 80314f583b
Коммит d52e0f13af
1 изменённых файлов: 22 добавлений и 0 удалений

Просмотреть файл

@ -304,3 +304,25 @@ treechildren.gridlines::-moz-tree-cell {
treechildren.gridlines::-moz-tree-row { treechildren.gridlines::-moz-tree-row {
border: none; 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;
}