diff --git a/src/shop-button.html b/src/shop-button.html index 56b399d4..9f1754b7 100644 --- a/src/shop-button.html +++ b/src/shop-button.html @@ -23,22 +23,53 @@ box-sizing: border-box; border: 2px solid #000; background-color: #FFF; - font-weight: 500; font-size: 14px; + font-weight: 500; color: var(--app-primary-color); + margin: 0; padding: 8px 44px; text-align: center; text-decoration: none; text-transform: uppercase; border-radius: 0; + outline: none; -webkit-appearance: none; } + shop-button > *:focus { + background-color: #c5cad3; + } + shop-button > *:active { background-color: #000; color: #FFF; } + @media (max-width: 767px) { + + /* Responsive buttons are used in shop-detail, shop-cart and shop-checkout */ + shop-button[responsive] { + @apply(--layout-fixed-bottom); + height: 64px; + z-index: 1; + } + + shop-button[responsive] > * { + background-color: var(--app-accent-color); + border: none; + color: white; + padding: 20px; + width: 100%; + height: 100%; + font-size: 15px; + } + + shop-button[responsive] > *:focus { + background-color: var(--app-accent-color); + } + + } + diff --git a/src/shop-cart.html b/src/shop-cart.html index a9f9508e..c92bba7a 100644 --- a/src/shop-cart.html +++ b/src/shop-cart.html @@ -66,7 +66,7 @@

Your Cart

Total: [[_formatTotal(total)]] - + Checkout
diff --git a/src/shop-checkout.html b/src/shop-checkout.html index 91883fe0..cec426a4 100644 --- a/src/shop-checkout.html +++ b/src/shop-checkout.html @@ -382,7 +382,7 @@

Order Summary

Total
[[_formatPrice(total)]]
- + @@ -394,7 +394,7 @@

Order Summary

Thanks for your purchase!

[[response.successMessage]]

- + Finish
@@ -403,7 +403,7 @@

Thanks for your purchase!

We couldn´t process your order

[[response.errorMessage]]

- + Try again
diff --git a/src/shop-common-styles.html b/src/shop-common-styles.html index e396a855..4f536e92 100644 --- a/src/shop-common-styles.html +++ b/src/shop-common-styles.html @@ -34,7 +34,7 @@ font-size: 12px; } - header > .action-btn { + header > kart-button[responsive] { margin-top: 20px; } @@ -44,23 +44,6 @@ font-size: 1.1em; } - /* Action Buttons are used in shop-detail, shop-cart and shop-checkout */ - .action-btn { - @apply(--layout-fixed-bottom); - height: 64px; - z-index: 1; - } - - .action-btn > * { - background-color: var(--app-accent-color); - border: none; - color: white; - padding: 20px; - width: 100%; - height: 100%; - font-size: 15px; - } - } diff --git a/src/shop-detail.html b/src/shop-detail.html index 90ccb671..4ddf722e 100644 --- a/src/shop-detail.html +++ b/src/shop-detail.html @@ -190,7 +190,7 @@

[[item.title]]

Description

- +