2024-03-02 07:51:55 +00:00
|
|
|
@mixin zotero-window {
|
|
|
|
background: var(--material-sidepane);
|
|
|
|
--color-form-element-base-background: var(--material-sidepane);
|
2024-01-17 11:10:11 +00:00
|
|
|
}
|
|
|
|
|
2024-03-02 07:51:55 +00:00
|
|
|
@mixin zotero-dialog {
|
|
|
|
background: var(--material-background);
|
|
|
|
--color-form-element-base-background: var(--material-background);
|
|
|
|
}
|
|
|
|
|
|
|
|
window:root,
|
|
|
|
window:root > wizard,
|
|
|
|
body {
|
|
|
|
@include zotero-window();
|
|
|
|
}
|
|
|
|
|
|
|
|
window:root > dialog {
|
|
|
|
@include zotero-dialog();
|
|
|
|
}
|
|
|
|
|
|
|
|
// Can overwrite default style
|
|
|
|
window:root .zotero-window {
|
|
|
|
@include zotero-window();
|
|
|
|
}
|
|
|
|
|
|
|
|
window:root .zotero-dialog {
|
|
|
|
@include zotero-dialog();
|
2024-01-17 11:10:11 +00:00
|
|
|
}
|
2024-07-01 04:24:35 +00:00
|
|
|
|
|
|
|
// Dialogs (e.g. the integration doc prefs window) has 20px padding on MacOS
|
|
|
|
window:root dialog.zotero-dialog-window {
|
|
|
|
@media (-moz-platform: macos) {
|
|
|
|
padding: 20px;
|
|
|
|
}
|
|
|
|
}
|
2024-08-07 07:01:59 +00:00
|
|
|
|
|
|
|
window:root[tabsintitlebar] {
|
|
|
|
@media (-moz-platform: linux) {
|
|
|
|
// Fix background overflow on Linux when no native titlebar
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
}
|