commerce_cart_blocks.button.layout.css in Commerce Cart Blocks 8
Reusable layout styling for Commerce Cart components
File
css/commerce_cart_blocks.button.layout.cssView source
- /**
- * @file
- * Reusable layout styling for Commerce Cart components
- */
-
- .commerce-cart-block--type-button .commerce-cart-block--summary a {
- display: block;
- }
- .commerce-cart-block--type-button .commerce-cart-block--contents {
- display: none;
- position: absolute;
- overflow: hidden;
- z-index: 300;
- }
- .commerce-cart-block--type-button .commerce-cart-block--contents__items {
- overflow-x: hidden;
- overflow-y: scroll;
- max-height: 300px;
- }
- .commerce-cart-block--type-button .commerce-cart-block--contents.is-outside-horizontal {
- right: 0;
- }
- .commerce-cart-block--type-button .commerce-cart-block--contents__expanded {
- overflow: visible;
- }