You are here

commerce_cart.layout.css in Commerce Cart API 8

Reusable layout styling for Commerce Cart components

File

tests/modules/commerce_cart_js/css/commerce_cart.layout.css
View source
  1. /**
  2. * @file
  3. * Reusable layout styling for Commerce Cart components
  4. */
  5. .cart-block--summary a {
  6. display: block;
  7. }
  8. .cart-block--contents {
  9. display: none;
  10. position: absolute;
  11. overflow: hidden;
  12. z-index: 300;
  13. }
  14. .cart-block--contents__items {
  15. overflow-x: hidden;
  16. overflow-y: scroll;
  17. max-height: 300px;
  18. }
  19. .cart-block--contents.is-outside-horizontal {
  20. right: 0;
  21. }
  22. .cart-block--contents__expanded {
  23. overflow: visible;
  24. }