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

62 lines
980 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);
}
}
2024-09-20 10:14:43 +02:00
.ticket,
.ticket-link {
display: inline-flex !important;
2024-07-31 12:09:03 +02:00
}
2024-08-28 19:11:58 +02:00
a:not([disabled]):hover > .ticket svg,
.ticket:not(a[disabled] .ticket):hover svg {
2024-07-31 12:09:03 +02:00
animation: vibrate 0.5s forwards;
}
2024-09-20 09:40:30 +02:00
.ticket:not(a[disabled] .ticket, .to-blank .ticket):hover svg path:not(.dot),
2024-08-28 19:11:58 +02:00
a:not([disabled]):hover > .ticket svg path:not(.dot) {
fill: var(--color-season);
stroke: var(--color-season);
2024-07-31 12:09:03 +02:00
}
2024-08-28 19:11:58 +02:00
a.to-blank:hover > .ticket svg path:not(.dot) {
2024-07-31 12:09:03 +02:00
fill: #fff;
stroke: #fff;
}
2024-09-20 09:40:30 +02:00
.ticket:not(a[disabled] .ticket, .to-blank .ticket):hover svg path.dot,
2024-08-28 19:11:58 +02:00
a:not([disabled]):hover > .ticket svg path.dot {
2024-07-31 12:09:03 +02:00
fill: #fff;
}
2024-08-28 19:11:58 +02:00
a.to-blank:hover > .ticket svg path.dot {
fill: var(--color-season);
2024-07-31 12:09:03 +02:00
}