1
0
mirror of https://github.com/upscayl/upscayl.git synced 2024-11-28 09:20:52 +01:00
upscayl/renderer/styles/globals.css

64 lines
1.4 KiB
CSS
Raw Normal View History

2022-08-15 06:53:14 +02:00
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
* {
@apply transition-all duration-300 ease-in-out;
}
2022-08-18 11:53:23 +02:00
::-webkit-scrollbar {
@apply w-3;
}
::-webkit-scrollbar-track {
@apply rounded-full bg-neutral-700;
}
::-webkit-scrollbar-thumb {
@apply rounded-full bg-neutral-500;
}
::-webkit-scrollbar-thumb:hover {
@apply rounded-full bg-neutral-400;
}
2022-08-15 06:53:14 +02:00
}
@layer utilities {
.animate {
@apply transition-all duration-300 ease-in-out;
}
.bg-gradient-purple {
@apply bg-gradient-to-br from-[#7741ff] to-[#af55ff] hover:from-[#af55ff] hover:to-[#7741ff];
}
.bg-gradient-red {
@apply bg-gradient-to-br from-rose-600 to-red-400 hover:from-red-400 hover:to-rose-600;
}
.bg-gradient-white {
@apply bg-gradient-to-br from-slate-400 to-neutral-100 hover:from-neutral-100 hover:to-slate-400;
}
.bg-gradient-upscayl {
@apply bg-gradient-to-br from-[#7741ff] to-[#af55ff] hover:from-[#af55ff] hover:to-[#7741ff];
}
.bg-gradient {
@apply bg-gradient-to-br from-cyan-400 to-blue-500 hover:from-blue-500 hover:to-cyan-400;
}
2022-08-15 06:53:14 +02:00
}
.animate-step-in {
2022-09-01 16:58:11 +02:00
animation: animate-step-in 0.6s cubic-bezier(0.07, 0.43, 0.02, 1);
}
@keyframes animate-step-in {
2022-09-01 16:58:11 +02:00
0% {
opacity: 0;
transform: translateY(-10px);
}
80% {
opacity: 1;
}
100% {
opacity: 1;
transform: translateY(0px);
}
}