X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fglobal%2Ftree.css;h=381dcd3ddb656dc6b3acde5c1985c968dd45a3d8;hp=b7d6f42706f1ee1a671c5575b4cdfef2c8c46726;hb=3fbbd47a07f495829babeea435d3a3d15590c698;hpb=03f6f39c58668f7003fb4baba2da0e0e0f1e5f00 diff --git a/LCARStrek/global/tree.css b/LCARStrek/global/tree.css index b7d6f427..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; @@ -109,37 +109,35 @@ treechildren::-moz-tree-cell-text { } 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 ::::: */ @@ -161,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 ::::: */ @@ -183,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 { @@ -203,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; @@ -212,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; @@ -240,7 +250,7 @@ treecol:hover:active { border: 1px solid #FFCF00; padding: 2px 3px 0px 5px; } - + treecolpicker:hover { background-color: #FFCF00; } @@ -282,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 ::::: */ @@ -311,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"); @@ -331,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; +}