123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- /**
- * Structure
- */
- /**
- * Vertical Space - 32px
- */
- body[class*="woocommerce"] #page div.summary,
- body[class*="woocommerce"] #page div.product .woocommerce-tabs .panel,
- body[class*="woocommerce"] #page .products.related,
- body[class*="woocommerce"] #page .up-sells,
- body[class*="woocommerce"] #page .woocommerce-order,
- .woocommerce-account #page .entry-content .woocommerce {
- & > *:not(:first-child) {
- margin-top: var(--global--spacing-vertical);
- }
- & > *:not(:last-child) {
- margin-bottom: var(--global--spacing-vertical);
- }
- & > *:empty + *,
- & > .form-row-last {
- margin-top: 0;
- }
- & > *:not(img):empty {
- margin: 0;
- }
- }
- /**
- * Vertical Space - 16px
- */
- #woocommerce-wrapper ul.products li.product a,
- #woocommerce-wrapper ul.products li.product-category a,
- body[class*="woocommerce"] #page ul.products li.product a,
- body[class*="woocommerce"] #page ul.products li.product-category a,
- body[class*="woocommerce"] #page .cart-collaterals .cross-sells,
- body[class*="woocommerce"] #page .cart-collaterals .cart_totals,
- body[class*="woocommerce"] #page .widget_shopping_cart,
- body[class*="woocommerce"] #page .widget_shopping_cart_content,
- body[class*="woocommerce"] #page div.product form.variations_form,
- body[class*="woocommerce"] #page div.product form.variations_form .variations,
- body[class*="woocommerce"] #page div.product form.variations_form .single_variation_wrap,
- body[class*="woocommerce"] #page .woocommerce-Reviews #comments,
- body[class*="woocommerce"] #page .woocommerce-EditAccountForm,
- body[class*="woocommerce"] #page .woocommerce-MyAccount-content,
- body[class*="woocommerce"] #page .woocommerce-MyAccount-content form,
- body[class*="woocommerce"] #page .woocommerce-Address,
- body[class*="woocommerce"] #page .woocommerce-address-fields,
- body[class*="woocommerce"] #page .woocommerce-address-fields__field-wrapper,
- body[class*="woocommerce"] #page .woocommerce-billing-fields,
- body[class*="woocommerce"] #page .woocommerce-column--billing-address,
- body[class*="woocommerce"] #page .woocommerce-shipping-fields,
- body[class*="woocommerce"] #page .woocommerce-column--shipping-address,
- body[class*="woocommerce"] #page .woocommerce-products-header,
- body[class*="woocommerce"] #page .woocommerce-checkout,
- body[class*="woocommerce"] #page .woocommerce-order-downloads,
- body[class*="woocommerce"] #page .woocommerce-order-details,
- body[class*="woocommerce"] #page .woocommerce-customer-details {
- & > *:not(:first-child) {
- margin-top: var(--global--spacing-unit);
- }
- & > *:not(:last-child),
- & > .price {
- margin-bottom: var(--global--spacing-unit);
- }
- & > *:not(img):empty + *,
- & > .form-row-last {
- margin-top: 0;
- }
- & > *:empty {
- margin: 0;
- }
- }
|