X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fglobal%2Ftree.css;h=381dcd3ddb656dc6b3acde5c1985c968dd45a3d8;hp=6c43d0f8b6c0543b397cbf5fbba92e50b22e3a44;hb=3fbbd47a07f495829babeea435d3a3d15590c698;hpb=0c7f928db227e5dcf900830c3cf317205c2acd33 diff --git a/LCARStrek/global/tree.css b/LCARStrek/global/tree.css index 6c43d0f8..381dcd3d 100644 --- a/LCARStrek/global/tree.css +++ b/LCARStrek/global/tree.css @@ -20,7 +20,7 @@ * * Contributor(s): * Robert Kaiser - * 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 @@ -47,7 +47,7 @@ tree { -moz-border-radius: 5px; - border-spacing: 0px; + border-spacing: 0px; border: 1px solid #9C9CFF; background-color: #000000; color: #FF9F00; @@ -159,7 +159,9 @@ treechildren::-moz-tree-line(selected) { /* ::::: tree separator ::::: */ treechildren::-moz-tree-separator { + margin-top: 1px; border: 1px solid #9C9CFF; + height: 2px; } /* ::::: drop feedback ::::: */ @@ -181,6 +183,16 @@ treechildren::-moz-tree-drop-feedback(selected) { 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 { @@ -201,7 +213,7 @@ treechildren::-moz-tree-cell-text(progressmeter) { /* ::::: tree columns ::::: */ -treecol { +treecol { -moz-box-align: center; -moz-box-pack: center; border: 1px solid #FF9F00; @@ -210,13 +222,13 @@ treecol { 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; @@ -238,7 +250,7 @@ treecol:hover:active { border: 1px solid #FFCF00; padding: 2px 3px 0px 5px; } - + treecolpicker:hover { background-color: #FFCF00; } @@ -280,14 +292,15 @@ treechildren::-moz-tree-column(insertafter) { .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 ::::: */ @@ -309,7 +322,7 @@ treechildren::-moz-tree-twisty { 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"); @@ -329,3 +342,17 @@ treechildren.gridlines::-moz-tree-cell { 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; +}