Cleaned up results pane of address book. Added select entire line code.

This commit is contained in:
hangas%netscape.com 1999-06-08 20:21:53 +00:00
parent 234b7f2ac4
commit f9ddc9171f
4 changed files with 31 additions and 17 deletions

View File

@ -19,13 +19,14 @@
<html:script language="javascript" src="chrome://addressbook/content/addressbook.js"/>
<tree rdf:datasources="rdf:addressdirectory rdf:addresscard" id="resultTree" onclick="DisplayCardViewPane(event.target.parentNode)">
<treecol id="NameColumn" rdf:resource="http://home.netscape.com/NC-rdf#PersonName"/>
<treecol id="EmailColumn" rdf:resource="http://home.netscape.com/NC-rdf#Email"/>
<treecol id="WorkPhoneColumn" rdf:resource="http://home.netscape.com/NC-rdf#WorkPhone"/>
<treecol id="OrganizationColumn" rdf:resource="http://home.netscape.com/NC-rdf#Organization"/>
<treecol id="NicknameColumn" rdf:resource="http://home.netscape.com/NC-rdf#Nickname"/>
<treecol id="CityColumn" rdf:resource="http://home.netscape.com/NC-rdf#City"/>
<tree rdf:datasources="rdf:addressdirectory rdf:addresscard" id="resultTree"
onclick="DisplayCardViewPane(event.target.parentNode)">
<treecol style="width:13%" id="NameColumn" rdf:resource="http://home.netscape.com/NC-rdf#PersonName"/>
<treecol style="width:21%" id="EmailColumn" rdf:resource="http://home.netscape.com/NC-rdf#Email"/>
<treecol style="width:13%" id="WorkPhoneColumn" rdf:resource="http://home.netscape.com/NC-rdf#WorkPhone"/>
<treecol style="width:20%" id="OrganizationColumn" rdf:resource="http://home.netscape.com/NC-rdf#Organization"/>
<treecol style="width:13%" id="NicknameColumn" rdf:resource="http://home.netscape.com/NC-rdf#Nickname"/>
<treecol style="width:20%" id="CityColumn" rdf:resource="http://home.netscape.com/NC-rdf#City"/>
<treehead>
<treeitem>
<treecell>&nameColumn.label;</treecell>

View File

@ -55,3 +55,8 @@ spring[class="PromptEditSpacing"] {
width: 5px;
}
treeitem[selected="true"] {
color: white;
background-color: #666699;
}

View File

@ -32,7 +32,8 @@ treecell {
}
treecell[selectedcell] {
background-color: blue;
color: white;
background-color: #666699;
}
treehead treeitem treecell {

View File

@ -10,6 +10,7 @@ tree {
border-spacing: 0px;
//border-collapse: collapse;
width: 100%;
table-layout: fixed;
}
treeitem {
@ -24,21 +25,23 @@ treebody {
display: table-row-group;
}
treeitem[selected="true"] {
color: white;
background-color: #666699;
}
treeitem[selected="false"] {
color: green;
}
treecell {
display: table-cell;
color: black;
//color: black;
font-family: Verdana;
font-size: 10pt;
white-space: nowrap;
}
treecell[selectedcell] {
background-color: blue;
}
treeitem[Status="new"] {
font-weight: bold;
}
treehead treeitem treecell {
font-size: 8pt;
background-color: #a0a0a0;
@ -53,3 +56,7 @@ treeitem > treecell > titledbutton {
list-style-image: url("chrome://addressbook/skin/person.gif");
}
treecol {
display: table-column;
}