AdminLTE/build/scss/_products.scss
XhmikosR 3d87e3c4cb Adhere to the Stylelint rules.
Also, re-use some of the color variables while at it.
2020-06-01 14:09:56 +03:00

55 lines
762 B
SCSS

//
// Component: Products
//
.products-list {
list-style: none;
margin: 0;
padding: 0;
> .item {
@include clearfix ();
@if $enable-rounded {
@include border-radius($border-radius);
}
background: $white;
padding: 10px 0;
}
.product-img {
float: left;
img {
height: 50px;
width: 50px;
}
}
.product-info {
margin-left: 60px;
}
.product-title {
font-weight: 600;
}
.product-description {
color: $gray-600;
display: block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
}
.product-list-in-card > .item {
@include border-radius(0);
border-bottom: 1px solid $card-border-color;
&:last-of-type {
border-bottom-width: 0;
}
}