mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 647540 - Get rid of the toolbar-primary class. r=enn
--HG-- extra : rebase_source : 3b1bf2598d73f7242945e4296df947f66dbeaf0a
This commit is contained in:
parent
a90df75828
commit
4ca84d76cc
@ -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);
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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);
|
||||
|
@ -22,10 +22,6 @@ menubar {
|
||||
min-width: 1px;
|
||||
}
|
||||
|
||||
.toolbar-primary {
|
||||
min-height: 24px;
|
||||
}
|
||||
|
||||
toolbarseparator {
|
||||
-moz-appearance: none;
|
||||
margin: 3px 4px;
|
||||
|
Loading…
Reference in New Issue
Block a user