Files
music_library/assets/css/app.css
T
Claudio Ortolina 55d0e656f7 Show pointer on buttons
Used to be default for Tailwind v3, gone in v4 as per
https://tailwindcss.com/docs/upgrade-guide#buttons-use-the-default-cursor
2025-03-02 07:22:09 +00:00

44 lines
982 B
CSS

@variant phx-click-loading (.phx-click-loading&, .phx-click-loading &);
@variant phx-submit-loading (.phx-submit-loading&, .phx-submit-loading &);
@variant phx-change-loading (.phx-change-loading&, .phx-change-loading &);
@plugin "./heroicons.tailwind.plugin.js";
@plugin "@tailwindcss/forms";
@import "tailwindcss";
@layer base {
button:not(:disabled),
[role="button"]:not(:disabled) {
cursor: pointer;
}
}
@theme {
--color-brand: #d4af37;
--font-sans:
"Inter", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
"Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
--animate-shake: shake 0.82s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
@keyframes shake {
10%,
90% {
transform: translate3d(-1px, 0, 0);
}
20%,
80% {
transform: translate3d(2px, 0, 0);
}
30%,
50%,
70% {
transform: translate3d(-4px, 0, 0);
}
40%,
60% {
transform: translate3d(4px, 0, 0);
}
}
}