mirror of
https://github.com/zotero/zotero.git
synced 2026-10-03 02:21:49 +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.
85 lines
No EOL
1.2 KiB
SCSS
85 lines
No EOL
1.2 KiB
SCSS
attachment-box {
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
&[hidden] {
|
|
display: none;
|
|
}
|
|
|
|
&:not([data-use-preview]) {
|
|
attachment-preview {
|
|
visibility: hidden;
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
}
|
|
|
|
.metadata-table {
|
|
@include meta-table;
|
|
|
|
#index-status {
|
|
flex: 1 1 auto;
|
|
padding-inline: var(--editable-text-padding-inline);
|
|
margin-top: 2px;
|
|
|
|
@include comfortable {
|
|
margin-top: 3px;
|
|
}
|
|
}
|
|
|
|
#reindex
|
|
{
|
|
height: 22px;
|
|
width: 22px;
|
|
padding: 4px;
|
|
margin-left: 4px;
|
|
@include svgicon-menu("sync", "universal", "16");
|
|
&:not([disabled]) {
|
|
color: var(--fill-secondary);
|
|
}
|
|
}
|
|
|
|
#rename-from-parent {
|
|
height: 22px;
|
|
width: 22px;
|
|
padding: 4px;
|
|
margin-left: 4px;
|
|
@include svgicon-menu("rename-from-parent", "universal", "16");
|
|
&:not([disabled]) {
|
|
color: var(--fill-secondary);
|
|
}
|
|
}
|
|
}
|
|
|
|
#url
|
|
{
|
|
padding: 1px 0;
|
|
}
|
|
|
|
#note-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex: 1;
|
|
overflow: hidden;
|
|
margin: 4px 0;
|
|
|
|
&[hidden] {
|
|
display: none;
|
|
}
|
|
|
|
#attachment-note-editor {
|
|
margin: 4px 0;
|
|
display: flex;
|
|
height: 300px;
|
|
|
|
&[hidden] {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
} |