Scaffold: Implement new toolbar

New icons and new scaffold.scss go into chrome://zotero/skin. The separate root
for Scaffold is mostly a historical relic, and adding special cases to build
scripts, SCSS mixins, and so on would just make things complicated.
This commit is contained in:
Abe Jellinek 2023-12-15 15:19:22 -05:00 committed by Dan Stillman
parent 360f65e8c2
commit ba0475810c
19 changed files with 81 additions and 76 deletions

View file

@ -84,13 +84,6 @@ var Scaffold = new function () {
this.onLoad = async function (e) {
if (e.target !== document) return;
_document = document;
if (!Zotero.isMac) {
// Hack to fix Windows/Linux toolbar
let toolbar = document.getElementById('zotero-toolbar');
toolbar.className = 'toolbar-scaffold-small';
}
_browser = document.getElementById('browser');
window.messageManager.addMessageListener('Scaffold:Load', ({ data }) => {