X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=EarlyBlue%2Fglobal%2Ftree.css;h=3f5fa29dfe1e7e231a8dfe941b8697cb45fd96aa;hp=becca3544353da9958d772e9d9d0bb73cc0db493;hb=3fbbd47a07f495829babeea435d3a3d15590c698;hpb=aa2773102942029101f2e1c549573cca0983a121 diff --git a/EarlyBlue/global/tree.css b/EarlyBlue/global/tree.css index becca354..3f5fa29d 100644 --- a/EarlyBlue/global/tree.css +++ b/EarlyBlue/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 @@ -46,10 +46,10 @@ /* ::::: tree ::::: */ tree { - border-spacing: 0px; + border-spacing: 0px; border: 1px inset #CCD0DD; background-color: #FFFFFF; - color: #000000; + color: #000000; } /* ::::: tree focusring ::::: */ @@ -110,7 +110,7 @@ treechildren::-moz-tree-cell-text(selected) { } tree[selstyle="primary"] > treechildren::-moz-tree-cell-text(primary) { - border: 2px solid transparent; + border: 1px solid transparent; padding: 0px 1px 1px 1px; } @@ -156,7 +156,9 @@ treechildren::-moz-tree-line(selected, focus) { /* ::::: tree separator ::::: */ treechildren::-moz-tree-separator { + margin-top: 1px; border: 1px outset #CCD0DD; + height: 2px; } /* ::::: drop feedback ::::: */ @@ -178,6 +180,16 @@ treechildren::-moz-tree-drop-feedback(selected) { 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 { @@ -198,7 +210,7 @@ treechildren::-moz-tree-cell-text(progressmeter) { /* ::::: tree columns ::::: */ -treecol { +treecol { -moz-box-align: center; -moz-box-pack: center; border: 1px outset #CCD0DD; @@ -207,7 +219,7 @@ treecol { padding: 1px 4px; } -treecolpicker { +treecolpicker { -moz-box-align: center; -moz-box-pack: center; border: 1px solid transparent; @@ -218,7 +230,7 @@ treecolpicker { .treecol-image { padding: 1px; } - + .treecol-text { margin: 0px !important; padding: 0px !important; @@ -272,14 +284,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 ::::: */ @@ -296,7 +309,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"); @@ -316,3 +329,17 @@ treechildren.gridlines::-moz-tree-cell { 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; +}