1
0
mirror of https://github.com/upscayl/upscayl.git synced 2025-02-17 19:19:23 +01:00
upscayl/renderer/styles/globals.css

108 lines
2.8 KiB
CSS
Raw Normal View History

2022-08-15 10:23:14 +05:30
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
2022-09-19 16:44:40 +05:30
* {
@apply select-none;
2022-11-25 12:24:30 +05:30
font-family: "Poppins", sans-serif;
src: url("/Poppins-Regular.ttf") format("truetype"),
url("/Poppins-Medium.ttf") format("truetype"),
url("/Poppins-Semibold.ttf") format("truetype"),
url("/Poppins-Bold.ttf") format("truetype"),
url("/Poppins-ExtraBold.ttf") format("truetype"),
url("/Poppins-Black.ttf") format("truetype");
2022-09-19 16:44:40 +05:30
}
2022-08-18 15:23:23 +05:30
::-webkit-scrollbar {
@apply w-3;
}
::-webkit-scrollbar-track {
2022-11-12 03:02:24 +05:30
@apply rounded-full bg-base-300;
2022-08-18 15:23:23 +05:30
}
::-webkit-scrollbar-thumb {
2022-11-12 03:02:24 +05:30
@apply rounded-full bg-base-200;
2022-08-18 15:23:23 +05:30
}
::-webkit-scrollbar-thumb:hover {
2022-11-12 03:02:24 +05:30
@apply rounded-full bg-base-content;
2022-08-18 15:23:23 +05:30
}
2022-08-15 10:23:14 +05:30
}
@layer utilities {
.animate {
@apply transition-all duration-300 ease-in-out;
}
2022-11-12 03:02:24 +05:30
/* .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 {
2022-11-12 03:02:24 +05:30
@apply to-neutral-100 hover:from-neutral-100 bg-gradient-to-br from-slate-400 hover:to-slate-400;
}
.bg-gradient-upscayl {
@apply bg-gradient-to-br from-[#7741ff] to-[#af55ff] hover:from-[#af55ff] hover:to-[#7741ff];
}
.bg-gradient {
2022-09-18 18:56:10 +05:30
@apply bg-gradient-to-br from-green-500 to-lime-300 hover:from-lime-300 hover:to-green-500;
}
2022-09-19 05:24:45 +05:30
.bg-gradient-blue {
@apply bg-gradient-to-br from-blue-500 to-sky-400 hover:from-sky-400 hover:to-blue-500;
2022-11-12 03:02:24 +05:30
} */
2022-09-19 16:44:40 +05:30
.step-heading {
2022-11-12 03:02:24 +05:30
@apply mb-2 font-semibold;
2022-09-19 16:44:40 +05:30
}
2022-11-14 21:37:39 +05:30
2022-09-28 07:08:21 +05:30
.react-select-container {
2022-11-14 21:37:39 +05:30
@apply w-40;
2022-09-28 07:08:21 +05:30
}
.react-select-container .react-select__control {
2022-11-15 20:12:20 +05:30
@apply rounded-btn h-12 cursor-pointer !border-0 !border-none !border-transparent bg-primary shadow-none;
2022-11-14 21:37:39 +05:30
}
.react-select-container .react-select__control--menu-is-open {
@apply bg-primary-focus;
2022-09-28 07:08:21 +05:30
}
2022-11-14 21:37:39 +05:30
.react-select-container .react-select__single-value {
@apply text-sm font-semibold uppercase text-primary-content;
}
.react-select-container .react-select__input-container {
@apply text-sm font-semibold uppercase text-primary-content;
}
2022-09-28 10:04:17 +05:30
.react-select-container .react-select__menu {
2022-11-15 20:12:20 +05:30
@apply rounded-lg bg-primary p-1 text-sm font-semibold uppercase;
2022-09-28 10:04:17 +05:30
}
2022-11-14 21:37:39 +05:30
2022-09-28 10:04:17 +05:30
.react-select-container .react-select__option {
2022-11-15 20:12:20 +05:30
@apply my-1 cursor-pointer rounded-md bg-primary text-slate-50 hover:bg-primary-focus;
2022-11-14 21:37:39 +05:30
}
.react-select-container .react-select__option--is-selected {
@apply bg-accent;
2022-09-28 07:08:21 +05:30
}
2022-08-15 10:23:14 +05:30
}
.animate-step-in {
2022-09-01 20:28:11 +05:30
animation: animate-step-in 0.6s cubic-bezier(0.07, 0.43, 0.02, 1);
}
@keyframes animate-step-in {
2022-09-01 20:28:11 +05:30
0% {
opacity: 0;
transform: translateY(-10px);
}
80% {
opacity: 1;
}
100% {
opacity: 1;
transform: translateY(0px);
}
}