_products.scss 964 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. //
  2. // Component: Products
  3. //
  4. .products-list {
  5. list-style: none;
  6. margin: 0;
  7. padding: 0;
  8. > .item {
  9. @include clearfix ();
  10. @if $enable-rounded {
  11. @include border-radius($border-radius);
  12. }
  13. background-color: $white;
  14. padding: 10px 0;
  15. }
  16. .product-img {
  17. float: left;
  18. img {
  19. height: 50px;
  20. width: 50px;
  21. }
  22. }
  23. .product-info {
  24. margin-left: 60px;
  25. }
  26. .product-title {
  27. font-weight: 600;
  28. }
  29. .product-description {
  30. color: $gray-600;
  31. display: block;
  32. overflow: hidden;
  33. text-overflow: ellipsis;
  34. white-space: nowrap;
  35. }
  36. }
  37. .product-list-in-card > .item {
  38. @include border-radius(0);
  39. border-bottom: 1px solid $card-border-color;
  40. &:last-of-type {
  41. border-bottom-width: 0;
  42. }
  43. }
  44. @include dark-mode () {
  45. .products-list > .item {
  46. background-color: $dark;
  47. color: $white;
  48. border-bottom-color: $gray-600;
  49. }
  50. .product-description {
  51. color: $gray-400;
  52. }
  53. }