reactor: update button styles and place order text

pagebuilder
abhisheks 2024-01-04 12:20:00 +05:30
parent f35d1ac87d
commit 9efbfd3852
2 changed files with 4 additions and 4 deletions

View File

@ -123,8 +123,8 @@
<div id="payment-confirmation"> <div id="payment-confirmation">
<div class="ps-shown-by-js"> <div class="ps-shown-by-js">
<button type="submit" {if !$selected_payment_option} disabled {/if} class="uppercase font-medium py-2 text-center w-full bg-blue-950 text-gray-50 disabled:bg-gray-600"> <button type="submit" {if !$selected_payment_option} disabled {/if} class="uppercase font-medium py-2 text-center w-full bg-blue-950 hover:bg-blue-900 text-gray-50 cursor-pointer">
{l s='Order with an obligation to pay' d='Shop.Theme.Checkout'} {l s='Place order' d='Shop.Theme.Checkout'}
</button> </button>
{if $show_final_summary} {if $show_final_summary}
<article class="alert alert-danger mt-2 js-alert-payment-conditions" role="alert" data-alert="danger"> <article class="alert alert-danger mt-2 js-alert-payment-conditions" role="alert" data-alert="danger">
@ -143,7 +143,7 @@
</div> </div>
<div class="ps-hidden-by-js"> <div class="ps-hidden-by-js">
{if $selected_payment_option and $all_conditions_approved} {if $selected_payment_option and $all_conditions_approved}
<label for="pay-with-{$selected_payment_option}">{l s='Order with an obligation to pay' d='Shop.Theme.Checkout'}</label> <label for="pay-with-{$selected_payment_option}">{l s='Place order' d='Shop.Theme.Checkout'}</label>
{/if} {/if}
</div> </div>
</div> </div>

View File

@ -100,7 +100,7 @@
</div> </div>
</div> </div>
<button type="submit" class="uppercase font-medium py-2 text-center w-full bg-blue-950 text-gray-50" name="confirmDeliveryOption" value="1"> <button type="submit" class="uppercase font-medium py-2 text-center w-full bg-blue-950 hover:bg-blue-900 text-gray-50 cursor-pointer" name="confirmDeliveryOption" value="1">
{l s='Continue' d='Shop.Theme.Actions'} {l s='Continue' d='Shop.Theme.Actions'}
</button> </button>
</form> </form>