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.cssView source
- /**
- * @file
- * Reusable layout styling for Commerce Cart components
- */
-
- .cart-block--summary a {
- display: block;
- }
- .cart-block--contents {
- display: none;
- position: absolute;
- overflow: hidden;
- z-index: 300;
- }
- .cart-block--contents__items {
- overflow-x: hidden;
- overflow-y: scroll;
- max-height: 300px;
- }
- .cart-block--contents.is-outside-horizontal {
- right: 0;
- }
- .cart-block--contents__expanded {
- overflow: visible;
- }