mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 20:05:49 +00:00
Cleaned up results pane of address book. Added select entire line code.
This commit is contained in:
parent
234b7f2ac4
commit
f9ddc9171f
@ -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>
|
||||
|
@ -55,3 +55,8 @@ spring[class="PromptEditSpacing"] {
|
||||
width: 5px;
|
||||
}
|
||||
|
||||
treeitem[selected="true"] {
|
||||
color: white;
|
||||
background-color: #666699;
|
||||
}
|
||||
|
||||
|
@ -32,7 +32,8 @@ treecell {
|
||||
}
|
||||
|
||||
treecell[selectedcell] {
|
||||
background-color: blue;
|
||||
color: white;
|
||||
background-color: #666699;
|
||||
}
|
||||
|
||||
treehead treeitem treecell {
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user