Add loading treatment to AJAX add to cart buttons.
This commit is contained in:
parent
ef514df47d
commit
be7b1b63f1
|
@ -253,6 +253,10 @@ $tt2-gray: #f7f7f7;
|
||||||
|
|
||||||
a.add_to_cart_button {
|
a.add_to_cart_button {
|
||||||
padding: 0.8rem 2.7rem;
|
padding: 0.8rem 2.7rem;
|
||||||
|
|
||||||
|
&.loading {
|
||||||
|
opacity: 0.5;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
a.added_to_cart {
|
a.added_to_cart {
|
||||||
|
|
Loading…
Reference in New Issue