Files
odoo_source/addons/mail/static/src/scss/kanban_view.scss
T
Romeo Fragomeli 1fcd098af5 [REF] *: BS5: migration
Automated change made by a lot of RegEx to change all think that is
possible to automate.

https://getbootstrap.com/docs/5.1/migration

Task ID: 2766483

Part-of: odoo/odoo#95450
2022-07-07 13:30:24 +02:00

68 lines
2.1 KiB
SCSS

$o-kanban-attachement-image-size: 80px;
.o_legacy_kanban_view, .o_kanban_renderer {
.o_kanban_record.o_kanban_attachment,
.o_kanban_record .o_kanban_attachment {
padding: map-get($spacers, 0);
.o_kanban_image {
width: $o-kanban-attachement-image-size;
+ div {
padding-left: $o-kanban-attachement-image-size + $o-kanban-inside-hgutter;
@include media-breakpoint-down(md) {
padding-left: $o-kanban-attachement-image-size + $o-kanban-inside-hgutter-mobile;
}
}
.o_kanban_image_wrapper {
min-height: $o-kanban-attachement-image-size;
display: flex;
align-items: center;
justify-content: center;
}
.o_attachment_image {
width: $o-kanban-attachement-image-size;
height: $o-kanban-attachement-image-size;
}
.o_image {
width: $o-kanban-attachement-image-size*0.7;
height: $o-kanban-attachement-image-size*0.7;
}
}
.o_kanban_details {
.o_kanban_details_wrapper {
display: flex;
flex-direction: column;
min-height: $o-kanban-attachement-image-size;
padding: $o-kanban-inside-vgutter $o-kanban-inside-hgutter;
.o_kanban_record_title {
margin-bottom: $o-kanban-inside-vgutter*0.5;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
width: 95%;
}
.o_kanban_record_body {
flex: 1 1 auto;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
font-size: smaller;
}
.oe_kanban_avatar {
border-radius: 4px;
border: 1px solid $component-active-color;
}
}
}
}
}