mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Styling for shopping cart buttons and spinner
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user