_cart.scss 1011 B

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