Fix transition for left flipping flaps

main
Isaiah Odhner 2021-11-29 23:17:44 -05:00
parent 684d11a76d
commit a40705c881
1 changed files with 4 additions and 2 deletions

View File

@ -50,7 +50,7 @@
transform: rotateY(calc(130deg * var(--side))) skewY(calc(20deg * var(--side)));
}
.tool.selected .tool-icon::before {
background-position: 0% 0%;
background-position: 0% 0% !important; /* !important to override .tool:nth-child(2n+1) .tool-icon::before */
}
.tool:nth-child(2n) .tool-icon::before,
@ -59,7 +59,9 @@
transform-origin: right;
--gradient-direction: to right;
}
.tool:nth-child(2n+1) .tool-icon::before {
background-position: -20px 0; /* opposite for transition to work right */
}
.menus * {
font-family: 'Princess Sofia', cursive;