diff --git a/assets/scss/tools/_aria.scss b/assets/scss/common/_aria.scss similarity index 100% rename from assets/scss/tools/_aria.scss rename to assets/scss/common/_aria.scss diff --git a/assets/scss/common/index.scss b/assets/scss/common/index.scss new file mode 100644 index 0000000000..5099662fb5 --- /dev/null +++ b/assets/scss/common/index.scss @@ -0,0 +1 @@ +@import 'aria'; diff --git a/assets/scss/components/stencil/cart/_cart.scss b/assets/scss/components/stencil/cart/_cart.scss index 7cf8dec342..dbc46de9d0 100644 --- a/assets/scss/components/stencil/cart/_cart.scss +++ b/assets/scss/components/stencil/cart/_cart.scss @@ -10,6 +10,7 @@ // ----------------------------------------------------------------------------- $cart-item-spacing: spacing("single"); +$cart-content-padding-right: 4px; $cart-thumbnail-maxWidth: remCalc(100px); $cart-thumbnail-height: remCalc(100px); @@ -217,6 +218,9 @@ $cart-item-label-offset: $cart-thumbnail-maxWidth + $cart-item-sp // Cart content // ----------------------------------------------------------------------------- +.cart-content-padding-right { + padding-right: $cart-content-padding-right; +} .cart-header-quantity, .cart-item-quantity { diff --git a/assets/scss/theme.scss b/assets/scss/theme.scss index 96360a609f..499c2f439d 100644 --- a/assets/scss/theme.scss +++ b/assets/scss/theme.scss @@ -71,6 +71,7 @@ @import "../../node_modules/@bigcommerce/citadel/dist/vendor/normalize/normalize"; // 1 @import "../../node_modules/@bigcommerce/citadel/dist/components/components"; // 2 @import "components/components"; // 3 +@import "common/index"; // Layouts diff --git a/assets/scss/tools/_tools.scss b/assets/scss/tools/_tools.scss index d360e7298d..8258581725 100644 --- a/assets/scss/tools/_tools.scss +++ b/assets/scss/tools/_tools.scss @@ -1,4 +1,3 @@ @import "list"; @import "string"; @import "image"; -@import "aria"; diff --git a/templates/pages/cart.html b/templates/pages/cart.html index 772bb1d24c..9f215a7a2a 100644 --- a/templates/pages/cart.html +++ b/templates/pages/cart.html @@ -16,16 +16,16 @@ {{#if cart.items.length}}
-
+
{{> components/cart/content}}
-
+
{{> components/cart/totals}}
{{#if cart.show_primary_checkout_button}} -
+
{{lang 'cart.checkout.button'}} {{#if cart.show_multiple_address_shipping}} @@ -34,13 +34,13 @@ {{/if}}
{{else}} -
+ {{/if}} {{#if cart.additional_checkout_buttons}} -
+
{{#each cart.additional_checkout_buttons}} {{{this}}} {{/each}}