_e_commerce.scss 780 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /*
  2. * Pages: E-commerce
  3. * -----------------
  4. */
  5. // product image
  6. .product-image {
  7. @include img-fluid;
  8. width: 100%;
  9. }
  10. // product image thumbnails list
  11. .product-image-thumbs {
  12. display: flex;
  13. align-items: stretch;
  14. margin-top: 2rem;
  15. }
  16. // product image thumbnail
  17. .product-image-thumb {
  18. @include box-shadow($thumbnail-box-shadow);
  19. @include border-radius($thumbnail-border-radius);
  20. background-color: $thumbnail-bg;
  21. border: $thumbnail-border-width solid $thumbnail-border-color;
  22. display: flex;
  23. margin-right: 1rem;
  24. max-width: 6.5rem + ($thumbnail-padding * 2);
  25. padding: $thumbnail-padding * 2;
  26. img {
  27. @include img-fluid;
  28. align-self: center;
  29. }
  30. &:hover {
  31. opacity: 0.5;
  32. }
  33. }
  34. // product share
  35. .product-share a {
  36. margin-right: 0.5rem;
  37. }