forked from brooksbingham/theme-elegance
refactor: update the styling of the buttons
parent
c5fd398c42
commit
79c48434bc
|
@ -29,15 +29,15 @@
|
|||
{$cart.minimalPurchaseRequired}
|
||||
</div>
|
||||
<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>
|
||||
{elseif empty($cart.products) }
|
||||
<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>
|
||||
{else}
|
||||
<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'}
|
||||
</div>
|
||||
{/if}
|
||||
|
|
Loading…
Reference in New Issue