zotero/scss/elements/_attachmentBox.scss

72 lines
982 B
SCSS
Raw Normal View History

attachment-box {
display: flex;
flex-direction: column;
&[hidden] {
display: none;
}
&:not([data-use-preview]) {
attachment-preview {
visibility: hidden;
display: none;
}
}
2024-01-13 02:16:08 +00:00
.body {
display: flex;
flex-direction: column;
gap: 2px;
}
2024-01-13 02:16:08 +00:00
.metadata-table {
@include meta-table;
2024-01-13 02:16:08 +00:00
#index-status {
padding-inline: var(--editable-text-padding-inline);
2024-01-13 13:50:24 +00:00
margin-top: 2px;
@include comfortable {
margin-top: 3px;
}
2024-01-13 02:16:08 +00:00
}
2024-01-13 02:16:08 +00:00
#reindex
{
height: 22px;
width: 22px;
padding: 1px;
margin-left: 4px;
@include svgicon-menu("sync", "universal", "20");
&:not([disabled='true']) {
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;
}
}
}
}