_cart-collaterals.scss 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /**
  2. * Cart Collaterals
  3. */
  4. body[class*="woocommerce"] #page { // adding #page here to override default wc styles without !important
  5. .cart-collaterals,
  6. #add_payment_method .cart-collaterals {
  7. .cart_totals,
  8. .cross-sells {
  9. tr td,
  10. tr th {
  11. border-top-color: map-deep-get($config-woocommerce, "table", "border", "color");
  12. }
  13. & > h2 {
  14. font-size: map-deep-get($config-global, "font", "size", "lg");
  15. }
  16. }
  17. .cart_totals {
  18. p small {
  19. color: map-deep-get($config-global, "color", "foreground", "light");
  20. font-size: map-deep-get($config-global, "font", "size", "sm");
  21. }
  22. table {
  23. margin: 0 0 (0.5 * map-deep-get($config-woocommerce, "table", "padding"));
  24. td,
  25. th {
  26. line-height: map-deep-get($config-global, "font", "line-height", "body");
  27. }
  28. small {
  29. color: map-deep-get($config-global, "color", "foreground", "light");
  30. }
  31. }
  32. .discount td {
  33. color: map-deep-get($config-global, "color", "alert", "warning");
  34. }
  35. }
  36. .shipping-calculator-button,
  37. .shipping-calculator-form {
  38. margin-top: map-deep-get($config-woocommerce, "table", "padding");
  39. }
  40. }
  41. }