Few small tweaks to the wizards styling

* Align buttons with content on macOS
* Slightly reduce padding
* Remove font-size definition
This commit is contained in:
Tom Najdek 2024-07-04 16:53:12 +02:00 committed by Dan Stillman
parent 843300c62d
commit 9cb7e7bb92

View file

@ -3,12 +3,10 @@
@namespace html url("http://www.w3.org/1999/xhtml");
:host(:not(.specificity)) {
padding: 24px;
font-size: 12px;
padding: 20px;
}
:not(.specificity) {
.wizard-header-box-1 {
background: var(--material-sidepane);
}
@ -20,6 +18,23 @@
.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;
}
}
}
}
html|*.wizard-page-box:not(.specificity) {