Styling for shopping cart buttons and spinner

This commit is contained in:
summerscope
2015-01-16 13:27:34 +11:00
parent 51687b5c2c
commit 8334ff736b

View File

@@ -1,4 +1,5 @@
@import mixins
@import animations
@import variables
@import branding
@import big-input
@@ -25,6 +26,21 @@
.add_to_cart
margin-top: 2rem
form
input.small.button.primary.right.add_to_cart
&.dirty
padding-right: 3.2rem
i.cart-spinner
position: absolute
top: 14px
right: 38px
color: white
font-size: 1.2em
// Necessary to be below Z index of cart popover:
z-index: 98
-webkit-animation: spin 2s infinite linear
animation: spin 2s infinite linear
product
@include csstrans
border-bottom: 1px solid #e5e5e5