2023-11-28 10:58:59 +00:00
|
|
|
attachments-box {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2023-12-25 05:51:53 +00:00
|
|
|
|
|
|
|
&[hidden] {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.head {
|
|
|
|
.togglePreview {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
.togglePreview {
|
|
|
|
display: unset;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&[data-use-preview] {
|
|
|
|
.togglePreview {
|
|
|
|
@include svgicon-menu('preview-hide', 'universal', '16');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:not([data-use-preview]) {
|
|
|
|
attachment-preview {
|
|
|
|
visibility: hidden;
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.togglePreview {
|
|
|
|
@include svgicon-menu('preview-show', 'universal', '16');
|
|
|
|
}
|
|
|
|
}
|
2023-11-28 10:58:59 +00:00
|
|
|
|
|
|
|
& > collapsible-section > .body {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2023-12-25 05:51:53 +00:00
|
|
|
|
|
|
|
attachment-preview {
|
|
|
|
opacity: 1;
|
|
|
|
|
|
|
|
&[data-preview-status=fail] {
|
|
|
|
display: none;
|
|
|
|
opacity: 0;
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&[data-preview-status=loading] {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.attachments-container {
|
2024-01-13 02:31:54 +00:00
|
|
|
padding-left: 12px;
|
2024-01-16 15:06:53 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
@include comfortable {
|
|
|
|
gap: 4px;
|
|
|
|
}
|
2023-12-25 05:51:53 +00:00
|
|
|
}
|
2023-11-28 10:58:59 +00:00
|
|
|
}
|
|
|
|
}
|