mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-05 19:24:39 +00:00
improve shaking animation
This commit is contained in:
@@ -1,21 +1,21 @@
|
||||
@keyframes shake {
|
||||
0% {
|
||||
transform: translateX(0) rotate(0);
|
||||
transform: rotate(0);
|
||||
}
|
||||
25% {
|
||||
transform: translateX(-1px) rotate(-1deg);
|
||||
transform: rotate(-1deg);
|
||||
}
|
||||
50% {
|
||||
transform: translateX(1px) rotate(1deg);
|
||||
transform: rotate(1deg);
|
||||
}
|
||||
75% {
|
||||
transform: translateX(-1px) rotate(-1deg);
|
||||
transform: rotate(-1deg);
|
||||
}
|
||||
100% {
|
||||
transform: translateX(0) rotate(0);
|
||||
transform: rotate(0);
|
||||
}
|
||||
}
|
||||
|
||||
.animate-shake {
|
||||
animation: shake 1s linear infinite;
|
||||
animation: shake 0.5s linear infinite;
|
||||
}
|
||||
|
||||
@@ -109,7 +109,7 @@ const Themes: FC = () => {
|
||||
<h2 className="pb-2 text-lg font-bold">Images</h2>
|
||||
<div className="flex flex-wrap gap-4">
|
||||
{/* Image uploader swatch */}
|
||||
<div className="relative w-16 h-16 overflow-hidden transition rounded-xl bg-zinc-900">
|
||||
<div className="relative w-16 h-16 overflow-hidden transition rounded-xl bg-zinc-100 dark:bg-zinc-900">
|
||||
<div className="flex items-center justify-center w-full h-full text-3xl font-bold text-gray-400 transition font-IconFamily hover:text-gray-500">
|
||||
{/* Plus icon */}
|
||||
|
||||
@@ -134,7 +134,7 @@ const Themes: FC = () => {
|
||||
<h2 className="py-2 text-lg font-bold">Videos</h2>
|
||||
<div className="flex flex-wrap gap-4">
|
||||
{/* Video uploader swatch */}
|
||||
<div className="relative w-16 h-16 overflow-hidden transition rounded-xl bg-zinc-900">
|
||||
<div className="relative w-16 h-16 overflow-hidden transition rounded-xl bg-zinc-100 dark:bg-zinc-900">
|
||||
<div className="flex items-center justify-center w-full h-full text-3xl font-bold text-gray-400 transition font-IconFamily hover:text-gray-500">
|
||||
{/* Plus icon */}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user