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:
parent
843300c62d
commit
9cb7e7bb92
1 changed files with 18 additions and 3 deletions
|
@ -3,12 +3,10 @@
|
||||||
@namespace html url("http://www.w3.org/1999/xhtml");
|
@namespace html url("http://www.w3.org/1999/xhtml");
|
||||||
|
|
||||||
:host(:not(.specificity)) {
|
:host(:not(.specificity)) {
|
||||||
padding: 24px;
|
padding: 20px;
|
||||||
font-size: 12px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
:not(.specificity) {
|
:not(.specificity) {
|
||||||
|
|
||||||
.wizard-header-box-1 {
|
.wizard-header-box-1 {
|
||||||
background: var(--material-sidepane);
|
background: var(--material-sidepane);
|
||||||
}
|
}
|
||||||
|
@ -20,6 +18,23 @@
|
||||||
.wizard-header-label {
|
.wizard-header-label {
|
||||||
margin-inline-start: 0;
|
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) {
|
html|*.wizard-page-box:not(.specificity) {
|
||||||
|
|
Loading…
Reference in a new issue