зеркало из https://github.com/mozilla/gecko-dev.git
Fix for (24303), Top-level PToolbar items that are folders, that have contents, were appearing black. Reverting bmenu class rename back to bookmarkFolder. Added rules to match menu item color with toolbar. r=hyatt, a=brendan.
This commit is contained in:
Родитель
317863368b
Коммит
2621ddcf15
|
@ -228,7 +228,7 @@ Contributor(s): ______________________________________. -->
|
||||||
// - pinkerton
|
// - pinkerton
|
||||||
<menu id="PersonalMenu" datasources="rdf:bookmarks rdf:files rdf:localsearch rdf:internetsearch"
|
<menu id="PersonalMenu" datasources="rdf:bookmarks rdf:files rdf:localsearch rdf:internetsearch"
|
||||||
ref="NC:BookmarksRoot">
|
ref="NC:BookmarksRoot">
|
||||||
<titledbutton align="right" class="bmenu" container="true"
|
<titledbutton align="right" class="bookmarkFolder" container="true"
|
||||||
value="&bookmarksButton.label;" crop="right"/>
|
value="&bookmarksButton.label;" crop="right"/>
|
||||||
<template>
|
<template>
|
||||||
<!-- Recursive rules for nested folders -->
|
<!-- Recursive rules for nested folders -->
|
||||||
|
@ -272,10 +272,10 @@ Contributor(s): ______________________________________. -->
|
||||||
<template>
|
<template>
|
||||||
<!-- Rules for content hanging _directly_ off the toolbar -->
|
<!-- Rules for content hanging _directly_ off the toolbar -->
|
||||||
<rule parent="box" iscontainer="true">
|
<rule parent="box" iscontainer="true">
|
||||||
<menu uri="...">
|
<menu uri="..." class="standard">
|
||||||
<titledbutton value="rdf:http://home.netscape.com/NC-rdf#Name"
|
<titledbutton value="rdf:http://home.netscape.com/NC-rdf#Name"
|
||||||
align="right" class="bookmarkFolder"/>
|
align="right" class="bookmarkFolder"/>
|
||||||
<menupopup/>
|
<menupopup class="standard"/>
|
||||||
</menu>
|
</menu>
|
||||||
<spring uri="rdf:*" class="personaltoolbarspacer" flex="1"/>
|
<spring uri="rdf:*" class="personaltoolbarspacer" flex="1"/>
|
||||||
</rule>
|
</rule>
|
||||||
|
@ -288,21 +288,21 @@ Contributor(s): ______________________________________. -->
|
||||||
|
|
||||||
<!-- Recursive rules for nested folders -->
|
<!-- Recursive rules for nested folders -->
|
||||||
<rule iscontainer="true">
|
<rule iscontainer="true">
|
||||||
<menupopup>
|
<menupopup class="standard">
|
||||||
<menu uri="rdf:*" crop="right" flex="1" align="left"
|
<menu class="standard" uri="rdf:*" crop="right" flex="1" align="left"
|
||||||
value="rdf:http://home.netscape.com/NC-rdf#Name" >
|
value="rdf:http://home.netscape.com/NC-rdf#Name" >
|
||||||
<menupopup />
|
<menupopup class="standard"/>
|
||||||
</menu>
|
</menu>
|
||||||
</menupopup>
|
</menupopup>
|
||||||
</rule>
|
</rule>
|
||||||
<rule rdf:type="http://home.netscape.com/NC-rdf#BookmarkSeparator">
|
<rule rdf:type="http://home.netscape.com/NC-rdf#BookmarkSeparator">
|
||||||
<menupopup>
|
<menupopup>
|
||||||
<menuseparator uri="rdf:*" />
|
<menuseparator class="standard" uri="rdf:*" />
|
||||||
</menupopup>
|
</menupopup>
|
||||||
</rule>
|
</rule>
|
||||||
<rule>
|
<rule>
|
||||||
<menupopup>
|
<menupopup>
|
||||||
<menuitem align="left" uri="..."
|
<menuitem class="standard" align="left" uri="..."
|
||||||
value="rdf:http://home.netscape.com/NC-rdf#Name"
|
value="rdf:http://home.netscape.com/NC-rdf#Name"
|
||||||
oncommand="OpenBookmarkURL(event.target, document.getElementById('innermostBox').database)"/>
|
oncommand="OpenBookmarkURL(event.target, document.getElementById('innermostBox').database)"/>
|
||||||
</menupopup>
|
</menupopup>
|
||||||
|
|
|
@ -153,7 +153,7 @@ titledbutton.bookmarkbutton:active {
|
||||||
padding-bottom: 0px;
|
padding-bottom: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
titledbutton.bmenu {
|
titledbutton.bookmarkFolder {
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
border: none;
|
border: none;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче