X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fglobal%2Ftree.css;h=60e094424d5d01b55282d793d52373765596140c;hp=034bbc281a3024de04a585fb09db83d493d70960;hb=3d6dd546c97f902b849a45d2bf2fa7cc623cb2e9;hpb=01fc5c117995a5c529b237b3aeedfb7b00a335a0 diff --git a/LCARStrek/global/tree.css b/LCARStrek/global/tree.css index 034bbc28..60e09442 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; @@ -67,7 +67,6 @@ tree { /* ::::: tree rows ::::: */ -tree[selstyle="primary"] > treechildren::-moz-tree-row, treechildren::-moz-tree-row { border: 1px solid transparent; background-color: transparent; @@ -93,6 +92,11 @@ treechildren::-moz-tree-row(selected, current, focus) { border: 1px dotted #FF9F00; } +tree[selstyle="primary"] > treechildren::-moz-tree-row { + border: none; + background-color: transparent; +} + /* ::::: tree cells ::::: */ treechildren::-moz-tree-cell { @@ -102,36 +106,38 @@ treechildren::-moz-tree-cell { tree[selstyle="primary"] > treechildren::-moz-tree-cell-text, treechildren::-moz-tree-cell-text { color: inherit; - border: 2px solid transparent; } -/* +tree[selstyle="primary"] > treechildren::-moz-tree-cell-text(primary) { + 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 ::::: */ @@ -153,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 ::::: */ @@ -175,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 { @@ -195,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; @@ -204,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; @@ -232,7 +250,7 @@ treecol:hover:active { border: 1px solid #FFCF00; padding: 2px 3px 0px 5px; } - + treecolpicker:hover { background-color: #FFCF00; } @@ -274,6 +292,7 @@ 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 { @@ -303,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"); @@ -323,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; +}