zotero/scss/components/_window.scss

43 lines
870 B
SCSS
Raw Normal View History

@mixin zotero-window {
background: var(--material-sidepane);
--color-form-element-base-background: var(--material-sidepane);
2024-01-17 11:10:11 +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
}
// 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;
}
}
window:root[tabsintitlebar] {
@media (-moz-platform: linux) {
// Fix background overflow on Linux when no native titlebar
background: transparent;
}
}