mirror of
https://github.com/zotero/zotero.git
synced 2026-12-02 00:47:18 +00:00
Bug 2008041 made disabled, checked, hidden, collapsed, and selected boolean attributes, so their value is empty and [disabled="true"] no longer matches. Nothing sets any of them to "false", so matching on presence alone is equivalent.
47 lines
No EOL
1.1 KiB
SCSS
47 lines
No EOL
1.1 KiB
SCSS
// Override/enhance mozilla <wizard> styles. See customElements.js
|
|
@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;
|
|
}
|
|
|
|
:not(.specificity) {
|
|
.wizard-header-box-1 {
|
|
background: var(--material-sidepane);
|
|
}
|
|
|
|
.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;
|
|
padding-bottom: 0;
|
|
|
|
button {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
button:nth-child(1 of :not([hidden])) {
|
|
margin-left: 0;
|
|
}
|
|
|
|
button:nth-last-child(1 of :not([hidden])) {
|
|
margin-right: 0;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
html|*.wizard-page-box:not(.specificity) {
|
|
padding: 16px 0;
|
|
} |