Get rid of some console warnings
And some other unused CSS
This commit is contained in:
parent
b98efe0b67
commit
4b7a1e8607
3 changed files with 3 additions and 36 deletions
|
@ -249,7 +249,7 @@ function modify_omni {
|
|||
cp "$APP_ROOT_DIR/assets/multilocale.txt" res/multilocale.txt
|
||||
|
||||
# Use Zotero URL opening in Mozilla dialogs (e.g., app update dialog)
|
||||
replace_line 'function openURL\(aURL\) \{' 'function openURL(aURL) {let {Zotero} = ChromeUtils.import("chrome:\/\/zotero\/content\/include.jsm"); Zotero.launchURL(aURL); return;' chrome/toolkit/content/global/contentAreaUtils.js
|
||||
replace_line 'function openURL\(aURL\) \{' 'function openURL(aURL) {let {Zotero} = ChromeUtils.import("chrome:\/\/zotero\/content\/include.jsm"); Zotero.launchURL(aURL); if (true) { return; }' chrome/toolkit/content/global/contentAreaUtils.js
|
||||
|
||||
#
|
||||
# Modify Add-ons window
|
||||
|
|
|
@ -65,22 +65,10 @@
|
|||
-moz-box-pack: center;
|
||||
}
|
||||
|
||||
#personal-bookmarks {
|
||||
-moz-window-dragging: inherit;
|
||||
}
|
||||
|
||||
toolbarpaletteitem {
|
||||
-moz-window-dragging: no-drag;
|
||||
-moz-box-pack: start;
|
||||
}
|
||||
|
||||
.titlebar-buttonbox-container {
|
||||
-moz-box-ordinal-group: 1000;
|
||||
}
|
||||
|
||||
#titlebar-fullscreen-button {
|
||||
-moz-appearance: -moz-mac-fullscreen-button;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
@ -118,39 +106,19 @@
|
|||
margin-left: 12px;
|
||||
}
|
||||
|
||||
.titlebar-placeholder[type="fullscreen-button"],
|
||||
#titlebar-fullscreen-button {
|
||||
margin-right: 7px;
|
||||
margin-left: 7px;
|
||||
}
|
||||
|
||||
#titlebar-fullscreen-button {
|
||||
-moz-appearance: -moz-mac-fullscreen-button;
|
||||
}
|
||||
|
||||
#titlebar-buttonbox {
|
||||
-moz-appearance: -moz-window-button-box;
|
||||
}
|
||||
|
||||
/* Fullscreen and caption buttons don't move with RTL on OS X so override the automatic ordering. */
|
||||
#titlebar-fullscreen-button:-moz-locale-dir(ltr),
|
||||
#titlebar-buttonbox-container:-moz-locale-dir(rtl),
|
||||
.titlebar-placeholder[type="fullscreen-button"]:-moz-locale-dir(ltr),
|
||||
.titlebar-placeholder[type="caption-buttons"]:-moz-locale-dir(rtl) {
|
||||
#titlebar-buttonbox-container:-moz-locale-dir(rtl) {
|
||||
-moz-box-ordinal-group: 1000;
|
||||
}
|
||||
|
||||
#titlebar-fullscreen-button:-moz-locale-dir(rtl),
|
||||
#titlebar-buttonbox-container:-moz-locale-dir(ltr),
|
||||
.titlebar-placeholder[type="caption-buttons"]:-moz-locale-dir(ltr),
|
||||
.titlebar-placeholder[type="fullscreen-button"]:-moz-locale-dir(rtl) {
|
||||
#titlebar-buttonbox-container:-moz-locale-dir(ltr) {
|
||||
-moz-box-ordinal-group: 0;
|
||||
}
|
||||
|
||||
&[sizemode="fullscreen"] .titlebar-placeholder[type="fullscreen-button"],
|
||||
&[sizemode="fullscreen"] .titlebar-placeholder[type="caption-buttons"] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -166,7 +166,6 @@ item-box {
|
|||
|
||||
.creator-type-label, .creator-type-value {
|
||||
-moz-box-align: center;
|
||||
-moz-box-pack: right;
|
||||
}
|
||||
|
||||
.creator-name-box {
|
||||
|
|
Loading…
Add table
Reference in a new issue