Single click behavior for What's Related panel. Now it is consistent with the Search panel. bug 41609. r=mcafee

git-svn-id: svn://10.0.0.236/trunk@234286 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
slamm%netscape.com
2007-09-06 21:50:11 +00:00
parent b985506b1d
commit 32f73c7ede
2 changed files with 111 additions and 59 deletions

View File

@@ -27,47 +27,73 @@
*/
#Tree, .tree-container-treerows
{
border : none;
}
{
border: none;
}
treeitem > treerow.relatedresult > treecell
{
color: black;
text-decoration: none;
}
treeitem > treerow.relatedresult > treecell:hover
{
color: blue;
text-decoration: underline;
}
treeitem > treerow.relatedresult > treecell > titledbutton:active
{
color: red;
text-decoration: underline;
}
treeitem[container="true"][open="true"][loading="true"] > treerow > .treecell-indent
{
list-style-image : url("chrome://global/skin/loading.gif") ! important ;
list-style-image: url("chrome://global/skin/loading.gif") ! important ;
}
treeitem[container="true"][open="true"] > treerow > .treecell-indent
{
list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
}
{
list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
}
/* Uncomment if double-click model is needed
treeitem[container="true"][open="true"][selected="true"] > treerow > .treecell-indent
{
list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-folder-open-sel.gif");
}
{
list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open-sel.gif");
}
*/
treeitem[container="true"] > treerow > .treecell-indent
{
list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
}
{
list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
}
/* Uncomment if double-click model is needed
treeitem[container="true"][selected="true"] > treerow > .treecell-indent
{
list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-folder-closed-sel.gif");
}
{
list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed-sel.gif");
}
*/
treeitem[container="true"][id="NC:SiteMapRoot"] > treerow > .treecell-indent
{
list-style-image : url("chrome://communicator/skin/related/sitemap.gif");
}
{
list-style-image: url("chrome://communicator/skin/related/sitemap.gif");
}
treeitem[container="true"][open="true"][id="NC:SiteMapRoot"] > treerow > .treecell-indent
{
list-style-image : url("chrome://communicator/skin/related/sitemap.gif");
}
{
list-style-image: url("chrome://communicator/skin/related/sitemap.gif");
}
/* Single click model, so undo regular search tree selection look. */
treeitem[selected="true"] > treerow.relatedseparator,
treeitem[selected="true"] > treerow.relatedresult
{
background-color: transparent;
}
.treecell-indent
{
list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
}
{
list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
}

View File

@@ -26,48 +26,74 @@
*/
treeitem[container="true"][open="true"][loading="true"] > treerow > .treecell-indent
treeitem > treerow.relatedresult > treecell
{
list-style-image : url("chrome://global/skin/loading.gif") ! important ;
color: black;
text-decoration: none;
}
treeitem > treerow.relatedresult > treecell:hover
{
color: blue;
text-decoration: underline;
}
treeitem > treerow.relatedresult > treecell > titledbutton:active
{
color: red;
text-decoration: underline;
}
treeitem[container="true"][open="true"] > treerow > .treecell-indent
{
list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
}
treeitem[container="true"][open="true"][loading="true"] > treerow.relatedresult > .treecell-indent
{
list-style-image: url("chrome://global/skin/loading.gif") ! important ;
}
treeitem[container="true"][open="true"][selected="true"] > treerow > .treecell-indent
{
list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-folder-open-sel.gif");
}
treeitem[container="true"][open="true"] > treerow.relatedresult > .treecell-indent
{
list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
}
treeitem[container="true"] > treerow > .treecell-indent
{
list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
}
/* Uncomment if double-click model is needed
treeitem[container="true"][open="true"][selected="true"] > treerow.relatedresult > .treecell-indent
{
list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open-sel.gif");
}
*/
treeitem[container="true"][selected="true"] > treerow > .treecell-indent
{
list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-folder-closed-sel.gif");
}
treeitem[container="true"] > treerow.relatedresult > .treecell-indent
{
list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
}
treeitem[container="true"][id="NC:SiteMapRoot"] > treerow > .treecell-indent
{
list-style-image : url("chrome://communicator/skin/related/sitemap.gif");
}
/* Uncomment if double-click model is needed
treeitem[container="true"][selected="true"] > treerow.relatedresult > .treecell-indent
{
list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed-sel.gif");
}
*/
treeitem[container="true"][open="true"][id="NC:SiteMapRoot"] > treerow > .treecell-indent
{
list-style-image : url("chrome://communicator/skin/related/sitemap.gif");
}
treeitem[container="true"][id="NC:SiteMapRoot"] > treerow.relatedresult > .treecell-indent
{
list-style-image: url("chrome://communicator/skin/related/sitemap.gif");
}
treeitem[container="true"][open="true"][id="NC:SiteMapRoot"] > treerow.relatedresult > .treecell-indent
{
list-style-image: url("chrome://communicator/skin/related/sitemap.gif");
}
/* Single click model, so undo regular search tree selection look. */
treeitem[selected="true"] > treerow.relatedseparator,
treeitem[selected="true"] > treerow.relatedresult
{
background-color: transparent;
}
.treecell-indent
{
list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
}
{
list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
}
.tree-cell-twisty
{
display : none;
}
{
display: none;
}