nouveau-theatre-de-besancon/assets/css/src/ticket.css

61 lines
832 B
CSS
Raw Normal View History

2024-07-31 12:09:03 +02:00
@keyframes vibrate {
0%,
100% {
scale: 1;
transform: rotate(0deg);
}
20%,
40%,
60%,
80% {
transform: rotate(5deg);
}
20% {
scale: 0.95;
}
50% {
scale: 1.05;
}
80% {
scale: 0.95;
}
10%,
30%,
50%,
70%,
90% {
transform: rotate(-5deg);
}
}
.ticket {
display: inline-flex;
}
a:not([disabled]):hover .ticket svg,
2024-07-31 12:09:03 +02:00
.ticket:hover svg {
animation: vibrate 0.5s forwards;
}
2024-08-27 15:01:37 +02:00
.ticket:hover svg path:not(.dot),
a:not([disabled]):hover .ticket svg path:not(.dot) {
2024-07-31 12:09:03 +02:00
fill: var(--color-salmon);
stroke: var(--color-salmon);
}
2024-08-27 15:01:37 +02:00
a.to-blank:hover .ticket svg path:not(.dot) {
2024-07-31 12:09:03 +02:00
fill: #fff;
stroke: #fff;
}
2024-08-27 15:01:37 +02:00
.ticket:hover svg path.dot,
a:not([disabled]):hover .ticket svg path.dot {
2024-07-31 12:09:03 +02:00
fill: #fff;
}
2024-08-27 15:01:37 +02:00
a.to-blank:hover .ticket svg path.dot {
2024-07-31 12:09:03 +02:00
fill: var(--color-salmon);
}