зеркало из https://github.com/mozilla/pjs.git
Back out earlier patches because customisable menubars suck b=403634 r=gavin bl=mconnor
This commit is contained in:
Родитель
b8ebc2ae6d
Коммит
7730123bfa
|
@ -70,11 +70,6 @@
|
|||
</binding>
|
||||
|
||||
<binding id="toolbar" extends="chrome://global/content/bindings/toolbar.xml#toolbar-base">
|
||||
<content>
|
||||
<xul:hbox flex="1">
|
||||
<children/>
|
||||
</xul:hbox>
|
||||
</content>
|
||||
<implementation implements="nsIAccessibleProvider">
|
||||
<property name="accessibleType" readonly="true">
|
||||
<getter>
|
||||
|
@ -267,11 +262,6 @@
|
|||
</binding>
|
||||
|
||||
<binding id="menubar" extends="chrome://global/content/bindings/toolbar.xml#toolbar-base" display="xul:menubar">
|
||||
<content>
|
||||
<xul:hbox flex="1">
|
||||
<children/>
|
||||
</xul:hbox>
|
||||
</content>
|
||||
<implementation implements="nsIAccessibleProvider">
|
||||
<property name="accessibleType" readonly="true">
|
||||
<getter>
|
||||
|
|
|
@ -37,6 +37,7 @@
|
|||
:: kinds of windows (not JUST browser windows) with toolbars
|
||||
::::: */
|
||||
|
||||
window[chromehidden~="menubar"] .chromeclass-menubar,
|
||||
window[chromehidden~="directories"] .chromeclass-directories,
|
||||
window[chromehidden~="status"] .chromeclass-status,
|
||||
window[chromehidden~="extrachrome"] .chromeclass-extrachrome,
|
||||
|
@ -256,20 +257,6 @@ toolbarpaletteitem[place="palette"] {
|
|||
|
||||
menubar {
|
||||
-moz-binding: url("chrome://global/content/bindings/toolbar.xml#menubar");
|
||||
-moz-box-orient: vertical;
|
||||
-moz-box-pack: end;
|
||||
}
|
||||
|
||||
window[chromehidden~="menubar"] .chromeclass-menubar,
|
||||
menubar[hidden="true"],
|
||||
menubar[moz-collapsed="true"],
|
||||
menubar[collapsed="true"] {
|
||||
min-height: 0% !important;
|
||||
max-height: 0px !important;
|
||||
display: -moz-box !important;
|
||||
visibility: visible !important;
|
||||
-moz-box-orient: vertical !important;
|
||||
-moz-box-pack: end !important;
|
||||
}
|
||||
|
||||
/********* menu ***********/
|
||||
|
|
Загрузка…
Ссылка в новой задаче