From 701c76aa3fcdf9c5b3d8dccda4db39d3d54a6453 Mon Sep 17 00:00:00 2001 From: Tom Najdek Date: Wed, 10 Jan 2024 16:29:22 +0100 Subject: [PATCH] Redesign RTF Scan wizard --- chrome/content/zotero/components/icons.jsx | 3 -- .../zotero/elements/styleConfigurator.js | 4 +- chrome/content/zotero/rtfScan.js | 13 ++---- .../zotero/16/dark/document-accept.svg | 5 ++ .../zotero/16/dark/document-missing.svg | 5 ++ .../zotero/16/light/document-accept.svg | 8 ++++ .../zotero/16/light/document-missing.svg | 8 ++++ scss/components/_rtfScan.scss | 9 ++++ scss/elements/_styleConfigurator.scss | 46 ++++++++++++++----- scss/wizard.scss | 24 +++++++++- 10 files changed, 99 insertions(+), 26 deletions(-) create mode 100644 chrome/skin/default/zotero/16/dark/document-accept.svg create mode 100644 chrome/skin/default/zotero/16/dark/document-missing.svg create mode 100644 chrome/skin/default/zotero/16/light/document-accept.svg create mode 100644 chrome/skin/default/zotero/16/light/document-missing.svg diff --git a/chrome/content/zotero/components/icons.jsx b/chrome/content/zotero/components/icons.jsx index 76cb63ecb3..2c5743780f 100644 --- a/chrome/content/zotero/components/icons.jsx +++ b/chrome/content/zotero/components/icons.jsx @@ -114,9 +114,6 @@ i('Tick', "chrome://zotero/skin/tick.png"); i('ArrowRefresh', "chrome://zotero/skin/arrow_refresh.png"); //i('Link', "chrome://zotero/skin/link.png"); -i('RTFScanAccept', "chrome://zotero/skin/rtfscan-accept.png", false); -i('RTFScanLink', "chrome://zotero/skin/rtfscan-link.png", false); - i('Attach', "chrome://zotero/skin/attach.png"); i('BulletBlue', "chrome://zotero/skin/bullet_blue.png"); i('BulletBlueEmpty', "chrome://zotero/skin/bullet_blue_empty.png"); diff --git a/chrome/content/zotero/elements/styleConfigurator.js b/chrome/content/zotero/elements/styleConfigurator.js index c9c5e2c266..a41a869b33 100644 --- a/chrome/content/zotero/elements/styleConfigurator.js +++ b/chrome/content/zotero/elements/styleConfigurator.js @@ -96,7 +96,7 @@ } get style() { - return this.style; + return this._style; } set style(style) { @@ -159,7 +159,7 @@
-