refactor: update the styling of the buttons

pagebuilder
Dinesh Salunke 2023-12-05 16:40:26 +05:30
parent c5fd398c42
commit 79c48434bc
1 changed files with 3 additions and 3 deletions

View File

@ -29,15 +29,15 @@
{$cart.minimalPurchaseRequired} {$cart.minimalPurchaseRequired}
</div> </div>
<div class="text-sm-center"> <div class="text-sm-center">
<button type="button" class="flex-1 uppercase py-2 font-medium text-center bg-blue-900 text-gray-50" disabled>{l s='Proceed to checkout' d='Shop.Theme.Actions'}</button> <button type="button" class="flex-1 uppercase py-2 font-medium text-center bg-blue-950 text-gray-50 hover:text-gray-50 hover:bg-blue-900" disabled>{l s='Proceed to checkout' d='Shop.Theme.Actions'}</button>
</div> </div>
{elseif empty($cart.products) } {elseif empty($cart.products) }
<div class="text-sm-center"> <div class="text-sm-center">
<button type="button" class="flex-1 uppercase py-2 font-medium text-center bg-blue-900 text-gray-50" disabled>{l s='Proceed to checkout' d='Shop.Theme.Actions'}</button> <button type="button" class="flex-1 uppercase py-2 font-medium text-center bg-blue-950 text-gray-50 hover:text-gray-50 hover:bg-blue-900" disabled>{l s='Proceed to checkout' d='Shop.Theme.Actions'}</button>
</div> </div>
{else} {else}
<div class="flex"> <div class="flex">
<a href="{$urls.pages.order}" class="flex-1 uppercase py-2 font-medium text-center bg-blue-900 text-gray-50">{l s='Proceed to checkout' d='Shop.Theme.Actions'}</a> <a href="{$urls.pages.order}" class="flex-1 uppercase py-2 font-medium text-center bg-blue-950 text-gray-50 hover:text-gray-50 hover:bg-blue-900">{l s='Proceed to checkout' d='Shop.Theme.Actions'}</a>
{hook h='displayExpressCheckout'} {hook h='displayExpressCheckout'}
</div> </div>
{/if} {/if}