Bug 647540 - Get rid of the toolbar-primary class. r=enn

--HG--
extra : rebase_source : 3b1bf2598d73f7242945e4296df947f66dbeaf0a
This commit is contained in:
Dão Gottwald 2014-12-18 23:31:39 +01:00
parent a90df75828
commit 4ca84d76cc
5 changed files with 3 additions and 9 deletions

View File

@ -96,7 +96,7 @@ const addView = curry((options, {document}) => {
view.setAttribute("mode", "icons");
view.setAttribute("iconsize", "small");
view.setAttribute("context", "toolbar-context-menu");
view.setAttribute("class", "toolbar-primary chromeclass-toolbar");
view.setAttribute("class", "chromeclass-toolbar");
let label = document.createElementNS(XUL_NS, "label");
label.setAttribute("value", options.title);

View File

@ -571,7 +571,7 @@ window[sizemode="maximized"] #content .notification-inner {
/* Hide extension toolbars that neglected to set the proper class */
window[chromehidden~="location"][chromehidden~="toolbar"] toolbar:not(.chromeclass-menubar),
window[chromehidden~="toolbar"] toolbar:not(.toolbar-primary):not(.chromeclass-menubar) {
window[chromehidden~="toolbar"] toolbar:not(#nav-bar):not(#TabsToolbar):not(#print-preview-toolbar):not(.chromeclass-menubar) {
display: none;
}

View File

@ -634,7 +634,6 @@
</toolbar>
<toolbar id="TabsToolbar"
class="toolbar-primary"
fullscreentoolbar="true"
customizable="true"
mode="icons"
@ -720,7 +719,7 @@
to the default placements of buttons in CustomizableUI.jsm, so the
customization code doesn't get confused.
-->
<toolbar id="nav-bar" class="toolbar-primary chromeclass-toolbar"
<toolbar id="nav-bar"
aria-label="&navbarCmd.label;"
fullscreentoolbar="true" mode="icons" customizable="true"
iconsize="small"

View File

@ -474,7 +474,6 @@ var PrintUtils = {
printPreviewTB = document.createElementNS(XUL_NS, "toolbar");
printPreviewTB.setAttribute("printpreview", true);
printPreviewTB.id = "print-preview-toolbar";
printPreviewTB.className = "toolbar-primary";
let navToolbox = this._listener.getNavToolbox();
navToolbox.parentNode.insertBefore(printPreviewTB, navToolbox);

View File

@ -22,10 +22,6 @@ menubar {
min-width: 1px;
}
.toolbar-primary {
min-height: 24px;
}
toolbarseparator {
-moz-appearance: none;
margin: 3px 4px;