do not animate ticket if stock is empty
This commit is contained in:
parent
ccd35c2b92
commit
303ccf5bce
4 changed files with 17 additions and 8 deletions
|
|
@ -36,13 +36,13 @@
|
|||
display: inline-flex;
|
||||
}
|
||||
|
||||
a:hover .ticket svg,
|
||||
a:not([disabled]):hover .ticket svg,
|
||||
.ticket:hover svg {
|
||||
animation: vibrate 0.5s forwards;
|
||||
}
|
||||
|
||||
.ticket:hover svg path:not(.dot),
|
||||
a:hover .ticket svg path:not(.dot) {
|
||||
a:not([disabled]):hover .ticket svg path:not(.dot) {
|
||||
fill: var(--color-salmon);
|
||||
stroke: var(--color-salmon);
|
||||
}
|
||||
|
|
@ -52,7 +52,7 @@ a.to-blank:hover .ticket svg path:not(.dot) {
|
|||
}
|
||||
|
||||
.ticket:hover svg path.dot,
|
||||
a:hover .ticket svg path.dot {
|
||||
a:not([disabled]):hover .ticket svg path.dot {
|
||||
fill: #fff;
|
||||
}
|
||||
a.to-blank:hover .ticket svg path.dot {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue