_cart.scss 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. /**
  2. * Cart page
  3. */
  4. body[class*="woocommerce"] #page { // adding #page here to override default wc styles without !important
  5. table.shop_table td.product-remove {
  6. border-width: 0;
  7. @include media(desktop) {
  8. height: map-deep-get($config-global, "font", "size", "lg");
  9. width: map-deep-get($config-global, "font", "size", "lg");
  10. }
  11. }
  12. td.product-thumbnail {
  13. width: #{6 * map-deep-get($config-global, "spacing", "horizontal")};
  14. img {
  15. width: inherit;
  16. }
  17. }
  18. td.product-name {
  19. @include font-family( map-deep-get($config-global, "font", "family", "primary") );
  20. font-weight: 700;
  21. a {
  22. max-width: 50%;
  23. }
  24. dl.variation,
  25. .wc-item-meta {
  26. dt,
  27. .wc-item-meta-label {
  28. margin-right: #{0.5 * map-deep-get($config-global, "spacing", "unit")};
  29. }
  30. }
  31. p.backorder_notification {
  32. font-size: map-deep-get($config-global, "font", "size", "sm");
  33. }
  34. }
  35. td.product-quantity {
  36. min-width: #{5 * map-deep-get($config-global, "spacing", "unit")};
  37. }
  38. table.cart td.actions .input-text {
  39. width: inherit;
  40. float: inherit;
  41. padding: map-deep-get($config-global, "spacing", "unit");
  42. }
  43. }