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:
parent
360f65e8c2
commit
ba0475810c
19 changed files with 81 additions and 76 deletions
|
@ -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 }) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue