New style sheet for laying out the tree widget....

This commit is contained in:
mscott%netscape.com 1999-02-18 19:22:33 +00:00
parent 0b92919321
commit 60380822ff

View File

@ -1,49 +1,49 @@
window { window {
display: block; display: block;
width: 100%; width: 100%;
background-color: black; background-color: black;
} }
tree { tree {
display: table; display: table;
background-color: #000000; background-color: #000000;
border: none; border: none;
border-spacing: 0px; border-spacing: 0px;
border-collapse: collapse; //border-collapse: collapse;
width: 100%; width: 100%;
} }
treerow { treeitem {
display: table-row; display: table-row;
} }
treehead { treehead {
display: table-header-group; display: table-header-group;
} }
treebody { treebody {
display: table-row-group; display: table-row-group;
} }
treecell { treecell {
display: table-cell; display: table-cell;
color: white; color: white;
font-family: Verdana; font-family: Verdana;
font-size: 10pt; font-size: 10pt;
} }
treehead treerow treecell { treehead treeitem treecell {
background-color: #a0a0a0; background-color: #a0a0a0;
border: thin black solid; border: thin black solid;
color: black; color: black;
} }
icon { icon {
display: list-item; display: list-item;
list-style-image: url(http://www.shadowland.org/client/images/ClosedRead.gif); list-style-image: url(http://www.shadowland.org/client/images/ClosedRead.gif);
} }
:TREE-SELECTION { treecell[selected] {
background-color: #000080; background-color: #000080;
} }