zotero/scss/elements/_duplicatesMergePane.scss
Dan Stillman 6fbe5e4135 fx153: Match XUL boolean attributes in selectors without a value
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.
2026-08-03 11:48:40 -04:00

48 lines
1.1 KiB
SCSS

duplicates-merge-pane {
&, #zotero-duplicates-merge-version-select, #zotero-duplicates-merge-controls {
&:not([hidden]) {
display: flex;
flex-direction: column;
gap: 8px;
scrollbar-color: var(--color-scrollbar) var(--color-scrollbar-background);
}
}
padding-top: 9px;
#zotero-duplicates-merge-controls {
flex: 0 0 auto;
}
> #zotero-duplicates-merge-controls > groupbox {
// Override default margin/padding that breaks our styles here
margin: 0;
padding: 0;
padding-inline: 8px;
min-height: 0;
> :is(description, label, button) {
margin: 0;
}
}
#zotero-duplicates-merge-view-item {
flex: 1;
min-height: 0;
padding-inline: 8px;
overflow-y: scroll;
display: flex;
flex-direction: column;
> [data-pane]:first-child {
border-top: var(--material-border-quinary);
}
}
/* Show duplicates date list item as selected even when not focused
(default behavior on other platforms) */
#zotero-duplicates-merge-original-date:not(:focus) > richlistitem[selected] {
background-color: -moz-cellhighlight;
color: -moz-cellhighlighttext;
}
}