1
0
mirror of https://github.com/upscayl/upscayl.git synced 2025-01-24 23:13:45 +01:00
upscayl/renderer/styles/globals.css

250 lines
5.8 KiB
CSS
Raw Normal View History

2022-12-11 16:25:28 +05:30
@font-face {
font-family: "Poppins";
src: url("../fonts/poppins/Poppins-Regular.ttf");
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: "Poppins";
src: url("../fonts/poppins/Poppins-Medium.ttf");
font-weight: 500;
font-style: normal;
}
@font-face {
font-family: "Poppins";
src: url("../fonts/poppins/Poppins-SemiBold.ttf");
font-weight: 600;
font-style: normal;
}
@font-face {
font-family: "Poppins";
src: url("../fonts/poppins/Poppins-Bold.ttf");
font-weight: 700;
font-style: normal;
}
@font-face {
font-family: "Poppins";
src: url("../fonts/poppins/Poppins-ExtraBold.ttf");
font-weight: 800;
font-style: normal;
}
@font-face {
font-family: "Poppins";
src: url("../fonts/poppins/Poppins-Black.ttf");
font-weight: 900;
font-style: normal;
}
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;
2022-09-19 16:44:40 +05:30
}
2022-12-11 16:25:28 +05:30
2022-08-18 15:23:23 +05:30
::-webkit-scrollbar {
@apply w-3;
}
::-webkit-scrollbar-track {
2023-05-01 12:04:45 +05:30
@apply rounded-full bg-base-300/80;
2022-08-18 15:23:23 +05:30
}
::-webkit-scrollbar-thumb {
2023-05-01 11:46:09 +05:30
@apply rounded-full bg-base-content/20;
2022-08-18 15:23:23 +05:30
}
::-webkit-scrollbar-thumb:hover {
2023-05-01 11:46:09 +05:30
@apply rounded-full bg-base-content/50;
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
}
2023-09-11 08:59:06 +05:30
.full-width {
@apply w-full;
}
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 {
2023-08-11 15:26:15 +05:30
@apply bg-primary-focus text-primary-content;
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 {
2023-08-11 15:26:15 +05:30
@apply my-1 cursor-pointer break-all rounded-md bg-primary text-primary-content hover:bg-primary-focus hover:text-primary-content;
2022-11-14 21:37:39 +05:30
}
.react-select-container .react-select__option--is-selected {
2023-08-11 15:26:15 +05:30
@apply bg-accent text-accent-content;
2022-09-28 07:08:21 +05:30
}
2022-12-27 16:38:49 +05:30
.outline-title {
2023-08-11 15:26:15 +05:30
text-shadow:
0px 0px 10px rgba(255, 255, 255, 0.5),
2023-03-18 18:03:17 +05:30
0px 0px 10px rgba(255, 255, 255, 1);
2022-12-27 16:38:49 +05:30
}
.outline-title-none {
text-shadow: none;
}
2022-08-15 10:23:14 +05:30
}
2022-12-17 22:58:48 +05:30
.zoom-100 {
transform: scale(1);
}
2022-12-16 21:50:46 +05:30
.zoom-125 {
transform: scale(1.25);
}
2022-12-17 22:58:48 +05:30
.zoom-150 {
transform: scale(1.5);
}
.zoom-175 {
transform: scale(1.75);
}
.zoom-200 {
transform: scale(2);
}
2022-12-16 21:50:46 +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);
}
2023-08-26 12:57:15 +05:30
[data-theme="upscayl"] .btn {
2023-10-21 19:44:42 +05:30
@apply font-medium normal-case !min-h-min h-10 py-2 px-3;
2023-08-26 12:57:15 +05:30
}
[data-theme="upscayl"] input[type="range"] {
@apply rounded-full;
}
[data-theme="upscayl"] .react-select-container .react-select__control {
2023-10-21 19:44:42 +05:30
@apply rounded-btn h-10 cursor-pointer !border-0 !border-none !border-transparent bg-primary shadow-none;
2023-09-11 08:59:06 +05:30
}
[data-theme="upscayl"] .react-select-container .react-select__single-value {
@apply text-primary-content normal-case font-medium;
}
[data-theme="upscayl"] .react-select-container .react-select__input-container {
@apply text-xs text-primary-content normal-case font-medium;
}
[data-theme="upscayl"] .react-select-container .react-select__menu {
@apply rounded-lg bg-primary p-1 normal-case font-medium;
2023-08-26 12:57:15 +05:30
}
2023-08-30 10:24:16 +05:30
.mac-titlebar {
-webkit-app-region: drag;
}
2023-10-14 06:30:49 +05:30
.checkerboard {
background-color: rgba(255, 255, 255);
background-image: linear-gradient(
45deg,
#000 25%,
transparent 25%,
transparent 75%,
#000 75%,
#000
),
linear-gradient(
-45deg,
#000 25%,
transparent 25%,
transparent 75%,
#000 75%,
#000
);
background-size: 40px 40px;
background-repeat: repeat;
}
.spinner {
-webkit-animation: sk-rotateplane 2.2s infinite ease-in-out;
animation: sk-rotateplane 2.2s infinite ease-in-out;
}
@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);
}
}
@-webkit-keyframes sk-rotateplane {
0% {
-webkit-transform: perspective(120px);
}
50% {
-webkit-transform: perspective(120px) rotateY(360deg);
}
100% {
-webkit-transform: perspective(120px) rotateY(360deg) rotateX(360deg);
}
}
@keyframes sk-rotateplane {
0% {
transform: perspective(120px) rotateX(0deg) rotateY(0deg);
-webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg);
}
50% {
transform: perspective(120px) rotateX(-360.1deg) rotateY(0deg);
-webkit-transform: perspective(120px) rotateX(-360.1deg) rotateY(0deg);
}
100% {
transform: perspective(120px) rotateX(-360deg) rotateY(-179.9deg);
-webkit-transform: perspective(120px) rotateX(-360deg) rotateY(-359.9deg);
}
}