Elastic: draw box around attachments list

pull/6842/head
Thomas Bruederli 5 years ago
parent c1344643a1
commit cf862fbd6f

@ -93,6 +93,9 @@
@color-list-icon: fadeout(@color-list-secondary, 25%); @color-list-icon: fadeout(@color-list-secondary, 25%);
@color-list-unread-status: @color-warning; @color-list-unread-status: @color-warning;
@color-attachmentlist-border: #f4f4f4;
@color-attachmentlist-background: #fcfcfc;
// Drag-n-drop layer // Drag-n-drop layer
@color-drag-layer: #fff; @color-drag-layer: #fff;
@color-drag-layer-background: @color-taskmenu-background; @color-drag-layer-background: @color-taskmenu-background;

@ -871,6 +871,7 @@ html.ms .propform {
position: relative; position: relative;
display: flex; display: flex;
padding-right: 1.5em; padding-right: 1.5em;
margin: 0.15em 0;
a.filename { a.filename {
flex: 1; flex: 1;
@ -879,7 +880,7 @@ html.ms .propform {
a.delete, a.delete,
a.cancelupload { a.cancelupload {
position: absolute; position: absolute;
right: 0; right: 0.25em;
width: auto; // fix button width if the widget is in a .popupmenu width: auto; // fix button width if the widget is in a .popupmenu
&:before { &:before {

@ -807,11 +807,20 @@ html.touch {
padding: 0; padding: 0;
margin: 0; margin: 0;
background-color: @color-attachmentlist-background;
border: 1px solid @color-attachmentlist-border;
&:empty {
padding: 0;
border: 0;
}
li { li {
list-style: none; list-style: none;
display: inline-flex; display: inline-flex;
white-space: nowrap; white-space: nowrap;
line-height: @attachmentslist-item-height; line-height: @attachmentslist-item-height;
padding: 0 .25em;
max-width: 100%; max-width: 100%;
&:before { &:before {

Loading…
Cancel
Save