zotero/scss/xulElementPatches/wizard.scss

42 lines
1,020 B
SCSS
Raw Normal View History

// Override/enhance mozilla <wizard> styles. See customElements.js
2024-01-10 15:29:22 +00:00
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
@namespace html url("http://www.w3.org/1999/xhtml");
:host(:not(.specificity)) {
padding: 20px;
2024-01-10 15:29:22 +00:00
}
:not(.specificity) {
2024-01-17 11:10:11 +00:00
.wizard-header-box-1 {
background: var(--material-sidepane);
}
2024-01-10 15:29:22 +00:00
.wizard-header-box-text {
padding: 0;
}
.wizard-header-label {
margin-inline-start: 0;
}
// on macos, align buttons with content
// https: //github.com/zotero/zotero/issues/4322#issuecomment-2207032862
@media (-moz-platform: macos) {
.wizard-buttons-btm {
padding-left: 0;
padding-right: 0;
button:nth-child(1 of :not([hidden=true])) {
margin-left: 0;
}
button:nth-last-child(1 of :not([hidden=true])) {
margin-right: 0;
}
}
}
2024-01-10 15:29:22 +00:00
}
html|*.wizard-page-box:not(.specificity) {
padding: 16px 0;
}