zotero/scss/elements/_attachmentRow.scss
windingwind 6af4605bd0 Implement attachment preview
- Implement attachment preview
- Implement attachment-box redesign
- Make filename editable
- Use new reindex icon
- Update attachment note layout
- Fix reader.js eslint errors
- Add fallback attachment icon and use redesign
- Use attachment preview for regular items
- Fix pinned pane not exists error
- Double click preview to open to page
- Fix itemPane pin bug
- Preload preview iframe
- Fix item pane scroll
- Add media preview support
- Fix item pane scroll bar on macos
- Fix reader sidebar with standalone attachment
- Fix attributeChangedCallback
- Add attachmentBox _updateAttachmentIDs
- Make attachment notes readonly and simplify note window script
- Implement convert attachment note to new note
- Support preview dragging
- Annotations box redesign
- Support custom buttons in the collapsible-section
- Add preview toggle button
- Fix collapsible section attribute listener
- Make attachment box notify sync to fix errors in test
2024-01-24 23:32:15 -05:00

48 lines
670 B
SCSS

attachment-row {
display: flex;
flex-direction: column;
gap: 2px;
&[hidden] {
display: none;
}
& > .head {
display: flex;
align-items: baseline;
gap: 4px;
.clicky-item {
@include clicky-item;
flex: 1;
gap: 4px;
padding-inline: 4px;
}
.annotation-btn {
flex-grow: 0;
flex-basis: content;
&[hidden] {
display: none;
}
.icon {
width: 12px;
height: 12px;
@include svgicon("annotation-12", "universal", "16");
color: var(--fill-secondary);
padding-block: 4px;
}
.label {
padding-block: 2px;
line-height: 16px;
width: 100%;
color: var(--fill-secondary);
}
}
}
}