diff --git a/.eslintrc b/.eslintrc index 3bd6085705..0a9a253ce1 100644 --- a/.eslintrc +++ b/.eslintrc @@ -18,6 +18,7 @@ "MozXULElement": false, "PluralForm": false, "Services": false, + "windowUtils": false, "XPCOMUtils": false, "XRegExp": false, "XULElement": false, diff --git a/app/scripts/fetch_xulrunner b/app/scripts/fetch_xulrunner index 8b3d918fd0..1285e84118 100755 --- a/app/scripts/fetch_xulrunner +++ b/app/scripts/fetch_xulrunner @@ -297,6 +297,20 @@ function modify_omni { replace_line 'window.sizeToContent\(\);' 'if (ui.infoIcon.complete) window.sizeToContent();' chrome/toolkit/content/global/commonDialog.js replace_line 'ui.infoIcon.addEventListener' 'if (!ui.infoIcon.complete) ui.infoIcon.addEventListener' chrome/toolkit/content/global/commonDialog.js + # Import style into built-in dialogs + replace_line '' \ + '<\?xml-stylesheet href=\"chrome:\/\/global\/skin\/commonDialog.css\" type=\"text\/css\"\?> + <\?xml-stylesheet href=\"chrome:\/\/zotero-platform\/content\/zotero.css\" type=\"text\/css\"\?>' \ + chrome/toolkit/content/global/commonDialog.xhtml + replace_line ' @@ -148,201 +155,236 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + - + + + + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/chrome/content/zotero-platform/mac/tab.css b/chrome/content/zotero-platform/mac/tab.css deleted file mode 100644 index 9d6de9b3a6..0000000000 --- a/chrome/content/zotero-platform/mac/tab.css +++ /dev/null @@ -1,4 +0,0 @@ -#zotero-toolbar { - -moz-appearance: none !important; - background: url("chrome://zotero/skin/mac/toolbar-background.png") left center repeat-x; -} \ No newline at end of file diff --git a/chrome/content/zotero/about.xhtml b/chrome/content/zotero/about.xhtml index 41f4d049c3..515aea4a2e 100644 --- a/chrome/content/zotero/about.xhtml +++ b/chrome/content/zotero/about.xhtml @@ -8,8 +8,12 @@ + inwindowmenu="false"> + - - + diff --git a/chrome/content/zotero/longTagFixer.xhtml b/chrome/content/zotero/longTagFixer.xhtml index 9d7efc6c2a..0ece8650ad 100644 --- a/chrome/content/zotero/longTagFixer.xhtml +++ b/chrome/content/zotero/longTagFixer.xhtml @@ -14,7 +14,6 @@ onload="Zotero_Long_Tag_Fixer.init()"> diff --git a/chrome/content/zotero/newCollectionDialog.xhtml b/chrome/content/zotero/newCollectionDialog.xhtml index 3916d4a94b..09fc49ea17 100644 --- a/chrome/content/zotero/newCollectionDialog.xhtml +++ b/chrome/content/zotero/newCollectionDialog.xhtml @@ -53,7 +53,6 @@ @@ -22,7 +21,7 @@ Services.scriptloader.loadSubScript("chrome://zotero/content/customElements.js", this); - +
diff --git a/chrome/content/zotero/runJS.html b/chrome/content/zotero/runJS.html index 7945818b18..5dc6935ab9 100644 --- a/chrome/content/zotero/runJS.html +++ b/chrome/content/zotero/runJS.html @@ -3,7 +3,7 @@ Run JavaScript - +