[IMP] website_sale: improve the design of the list view of products

task-2574300

PR-73234

closes odoo/odoo#73234

Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
This commit is contained in:
Benjamin Vray
2021-08-03 14:10:58 +00:00
committed by Jeremy Kersten
parent d446898eac
commit daee4bf8d1
@@ -369,7 +369,7 @@ $o-wsale-products-layout-grid-gutter-width: min($grid-gutter-width / 2, $o-wsale
}
.oe_product_cart {
$-wsale-list-layout-height: 10rem;
$-wsale-list-layout-height: 12rem;
flex-flow: row nowrap;
min-height: $-wsale-list-layout-height;
@@ -380,6 +380,7 @@ $o-wsale-products-layout-grid-gutter-width: min($grid-gutter-width / 2, $o-wsale
max-width: 35%;
min-width: 100px;
height: auto;
padding: $spacer/2 !important;
}
.o_wsale_product_information {
position: static;
@@ -389,6 +390,18 @@ $o-wsale-products-layout-grid-gutter-width: min($grid-gutter-width / 2, $o-wsale
}
.o_wsale_product_information_text {
flex: 1 1 auto;
margin-left: $spacer*2;
margin-right: $spacer;
.o_wsale_products_item_title {
font-size: $h5-font-size;
padding-bottom: $spacer/3;
border-bottom: 1px solid gray('300');
}
.oe_subdescription {
font-size: 0.9rem;
margin-top: $spacer/2;
}
}
.o_wsale_product_btn {
flex: 0 0 auto;