products.less 776 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /*
  2. * Component: Products List
  3. * ------------------------
  4. */
  5. .products-list {
  6. list-style: none;
  7. margin: 0;
  8. padding: 0;
  9. > .item {
  10. .border-radius(@box-border-radius);
  11. .box-shadow(@box-boxshadow);
  12. .clearfix();
  13. padding: 10px 0;
  14. background: #fff;
  15. }
  16. .product-img {
  17. float: left;
  18. img {
  19. width: 50px;
  20. height: 50px;
  21. }
  22. }
  23. .product-info {
  24. margin-left: 60px;
  25. }
  26. .product-title {
  27. font-weight: 600;
  28. }
  29. .product-description {
  30. display: block;
  31. color: #999;
  32. overflow: hidden;
  33. white-space: nowrap;
  34. text-overflow: ellipsis;
  35. }
  36. }
  37. .product-list-in-box > .item {
  38. .box-shadow(none);
  39. .border-radius(0);
  40. border-bottom: 1px solid @box-border-color;
  41. &:last-of-type {
  42. border-bottom-width: 0;
  43. }
  44. }