salix/front/salix/styles/order-product.scss

99 lines
2.6 KiB
SCSS

@import "./variables";
.catalog-list {
align-items: flex-start;
flex-wrap: wrap;
justify-content: center;
& > .product {
flex: initial;
box-sizing: border-box;
padding: $spacing-sm;
width: 448px;
overflow: hidden;
& > vn-card {
display: flex;
height: 192px;
.image {
width: 192px;
height: 192px;
img {
width: 100%;
height: 100%;
}
}
.description {
flex: 1;
display: flex;
flex-direction: column;
box-sizing: border-box;
height: 100%;
width: 100%;
overflow: hidden;
padding: 12px;
& > h3 {
font-family: vn-font;
margin: 0;
margin-bottom: 4px;
font-weight: normal;
line-height: initial;
font-size: 1rem;
max-height: 38px;
overflow: hidden;
}
& > h4 {
color: $color-font-secondary;
text-transform: uppercase;
margin-bottom: 4px;
line-height: initial;
font-size: 1rem;
flex: 1;
}
& > .tags {
height: 48px;
& > vn-label-value {
font-size: .75rem;
}
}
vn-rating vn-icon {
font-size: 1rem
}
}
.footer {
font-size: .8rem;
& > .price {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
display: flex;
align-items: center;
justify-content: space-between;
& > span {
flex: 1;
&:first-child,
&:last-child {
font-size: 1.375rem;
}
}
& > vn-icon-button {
padding: 0;
}
}
& > .priceKg {
color: $color-font-secondary;
font-size: .75rem;
}
}
}
}
}