You are here

commerce_cart.theme.css in Commerce Cart API 8

Default theme implementation for Commerce Cart components

Provides some sensible defaults when used with Bartik.

File

tests/modules/commerce_cart_reactjs/css/commerce_cart.theme.css
View source
  1. /**
  2. * @file
  3. * Default theme implementation for Commerce Cart components
  4. *
  5. * Provides some sensible defaults when used with Bartik.
  6. */
  7. .cart-block--contents {
  8. width: 400px;
  9. background: white;
  10. color: black;
  11. }
  12. .cart-block--contents__inner {
  13. padding: 10px;
  14. }
  15. .cart-block--contents .cart-block--contents__links a {
  16. color: inherit;
  17. }
  18. .cart-block--summary,
  19. .cart-block--summary__icon img,
  20. .cart-block--summary__count {
  21. vertical-align: middle;
  22. }
  23. .cart--cart-block li.cart-block--contents__item {
  24. clear: both;
  25. margin-bottom: 10px;
  26. border-bottom: 1px #eaeaea solid;
  27. }
  28. .cart-block--contents__quantity {
  29. float: left;
  30. }
  31. .cart-block--contents__price {
  32. float: right;
  33. }