Skip to content

Commit

Permalink
Merge pull request #212 from paynl/feature/PLUG-3926
Browse files Browse the repository at this point in the history
PLUG-3926 - Update fast checkout CSS
  • Loading branch information
woutse authored Oct 29, 2024
2 parents 4ec2750 + cef6b7e commit a5efffc
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion view/frontend/templates/pay_fast_checkout_cart.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<input type="hidden" value="" name="selected_estimate_zip" id="selected_estimate_zip" />
<button type="submit"
title="Fast Checkout"
class="action tocart primary paynl-fast_checkout-btn"
class="action tocart primary paynl-fast_checkout-btn checkout"
data-mage-init='{"Paynl_Payment/js/fast-checkout-cart-view": {}}'>
<span><?= /* @escapeNotVerified */ __('Fast Checkout') ?></span>
</button>
Expand Down
2 changes: 1 addition & 1 deletion view/frontend/templates/pay_fast_checkout_fallback.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<br/>
<button type="submit"
title="Fast Checkout"
class="action tocart primary paynl-fast_checkout-btn">
class="action tocart primary paynl-fast_checkout-btn checkout">
<span><?= /* @escapeNotVerified */ __('Continue') ?></span>
</button>
</form>
Expand Down
2 changes: 1 addition & 1 deletion view/frontend/templates/pay_fast_checkout_product.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<div id="paynl_fast_checkout_product" data-mage-init='{"Paynl_Payment/js/reloadCart": {}}'>
<button type="submit"
title="Fast Checkout"
class="action primary paynl-fast-checkout-btn"
class="action primary paynl-fast-checkout-btn tocart"
data-mage-init='{"Paynl_Payment/js/fast-checkout-product-view": {}}'>
<span><?= /* @escapeNotVerified */ __('Fast Checkout') ?></span>
</button>
Expand Down
7 changes: 2 additions & 5 deletions view/frontend/web/css/payFastCheckout.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,18 @@
#top-cart-fast-checkout,
#top-cart-btn-fastcheckout {
width: 100%;
line-height: 2.2rem;
padding: 14px 17px;
font-size: 1.8rem;
margin-top: -10px;
background: #c90066;
border-color: #c90066;
background-image: url("../images/fastCheckoutIdeal.png");
background-repeat: no-repeat;
background-size: 51px;
background-size: auto 60%;
background-position: 8px center;
color: white;
}

#top-cart-btn-fastcheckout {
margin-top: 5px;
margin-top: 5px;
}

#paynl_fast_checkout_cart button:hover,
Expand Down

0 comments on commit a5efffc

Please sign in to comment.