Bug 251910 - "No hover highlighting (i.e. mouse-tracking) in Bookmarks/History sidebar" (follow-up patch) [p=dao r=sspitzer aM9=mconnor]

git-svn-id: svn://10.0.0.236/trunk@238076 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
reed%reedloden.com 2007-10-24 09:35:19 +00:00
parent 21e288be28
commit e873dc0b3b
4 changed files with 41 additions and 6 deletions

View File

@ -67,7 +67,7 @@
oncommand="searchBookmarks(this.value);"/>
</hbox>
<tree id="bookmarks-view" class="placesTree" type="places"
<tree id="bookmarks-view" class="sidebar-placesTree" type="places"
flex="1"
hidecolumnpicker="true"
place="place:folder=2&amp;queryType=1"
@ -77,6 +77,6 @@
<treecols>
<treecol id="title" flex="1" primary="true" hideheader="true"/>
</treecols>
<treechildren id="bookmarks-view-children" view="bookmarks-view" flex="1"/>
<treechildren id="bookmarks-view-children" view="bookmarks-view" class="sidebar-placesTreechildren" flex="1"/>
</tree>
</page>

View File

@ -114,6 +114,7 @@
</hbox>
<tree id="historyTree"
class="sidebar-placesTree"
flex="1"
type="places"
context="placesContext"
@ -123,6 +124,6 @@
<treecols>
<treecol id="title" flex="1" primary="true" hideheader="true"/>
</treecols>
<treechildren flex="1"/>
<treechildren class="sidebar-placesTreechildren" flex="1"/>
</tree>
</page>

View File

@ -1,3 +1,26 @@
/* Sidebars */
.sidebar-placesTree {
-moz-appearance: none;
border: 0;
margin: 0;
border-top: 1px solid ThreeDShadow;
}
.sidebar-placesTreechildren::-moz-tree-cell(leaf) ,
.sidebar-placesTreechildren::-moz-tree-image(leaf) {
cursor: pointer;
}
.sidebar-placesTreechildren::-moz-tree-cell-text(leaf, hover) {
cursor: pointer;
text-decoration: underline;
}
.sidebar-placesTreechildren::-moz-tree-cell(separator) {
cursor: default;
}
/* Toolbar */
#placesToolbar {
border-bottom: none;

View File

@ -1,15 +1,26 @@
/* Sidebars */
page > .placesTree > treechildren::-moz-tree-cell(leaf) ,
page > .placesTree > treechildren::-moz-tree-image(leaf) {
.sidebar-placesTree {
-moz-appearance: none;
border: 0;
margin: 0;
border-top: 1px solid ThreeDShadow;
}
.sidebar-placesTreechildren::-moz-tree-cell(leaf) ,
.sidebar-placesTreechildren::-moz-tree-image(leaf) {
cursor: pointer;
}
page > .placesTree > treechildren::-moz-tree-cell-text(leaf, hover) {
.sidebar-placesTreechildren::-moz-tree-cell-text(leaf, hover) {
cursor: pointer;
text-decoration: underline;
}
.sidebar-placesTreechildren::-moz-tree-cell(separator) {
cursor: default;
}
/* Toolbar */
#placesToolbar {
border: none;