This commit is contained in:
marzban-dev
2024-12-30 19:54:40 +03:30
parent 38f9ff6148
commit 94231d8331
2 changed files with 37 additions and 11 deletions
+6 -6
View File
@@ -36,10 +36,10 @@
} }
&:disabled { &:disabled {
@apply bg-slate-50 text-slate-300; @apply bg-slate-100 text-slate-400;
svg[class~=iconify] path { svg[class~=iconify] path {
@apply stroke-slate-300; @apply stroke-slate-400;
} }
} }
} }
@@ -57,10 +57,10 @@
} }
&:disabled { &:disabled {
@apply bg-slate-100 text-slate-300; @apply bg-slate-100 text-slate-400;
svg[class~=iconify] path { svg[class~=iconify] path {
@apply stroke-slate-300; @apply stroke-slate-400;
} }
} }
} }
@@ -103,10 +103,10 @@
} }
&:disabled { &:disabled {
@apply text-slate-300; @apply text-slate-400;
svg[class~=iconify] path { svg[class~=iconify] path {
@apply stroke-slate-300; @apply stroke-slate-400;
} }
} }
} }
+31 -5
View File
@@ -120,16 +120,15 @@
--breakpoint-xs: 480px; --breakpoint-xs: 480px;
/* ANIMATIONS */ /* ANIMATIONS */
<<<<<<< HEAD
--animate-marquee: marquee 3s linear infinite; --animate-marquee: marquee 3s linear infinite;
--animate-slide-down: slideDown 300ms ease-out; --animate-slide-down: slideDown 300ms ease-out;
--animate-slide-up: slideUp 300ms ease-out; --animate-slide-up: slideUp 300ms ease-out;
--animate-overlay-show: overlayShow 150ms ease-in; --animate-overlay-show: overlayShow 150ms ease-in;
--animate-content-show: contentShow 150ms ease-in; --animate-content-show: contentShow 150ms ease-in;
=======
--animate-marquee: marquee 25s linear infinite; --animate-toast-hide: toastHide 100ms ease-in;
--animate-marquee-reverse: marquee 25s linear infinite reverse; --animate-toast-in: toastSlideIn 600ms cubic-bezier(0.16, 1, 0.3, 1);
>>>>>>> be4fa509843c81855f5ffc118150196c94a7b17b --animate-toast-out: toastSlideOut 200ms ease-out;
@keyframes marquee { @keyframes marquee {
to { to {
@@ -174,6 +173,33 @@
transform: translate(-50%, -50%) scale(1); transform: translate(-50%, -50%) scale(1);
} }
} }
@keyframes toastHide {
from { opacity: 1 }
to { opacity: 0 }
}
@keyframes toastSlideIn {
from {
opacity: 0;
transform: translateX(calc(100% + var(--viewport-padding)))
}
to {
opacity: 1;
transform: translateX(0)
}
}
@keyframes toastSlideOut {
from {
opacity: 1;
transform: translateX(var(--reka-toast-swipe-end-x))
}
to {
opacity: 0;
transform: translateX(calc(100% + var(--viewport-padding)))
}
}
} }
/* CONTAINER */ /* CONTAINER */