mirror of
https://github.com/zotero/zotero.git
synced 2026-10-08 03:08:19 +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.
48 lines
1.1 KiB
SCSS
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;
|
|
}
|
|
}
|