1
0
mirror of https://github.com/upscayl/upscayl.git synced 2024-12-01 02:27:16 +01:00
upscayl/renderer/styles/globals.css

318 lines
6.8 KiB
CSS
Raw Normal View History

2022-12-11 11:55:28 +01:00
@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 06:53:14 +02:00
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
2022-09-19 13:14:40 +02:00
* {
@apply select-none;
2022-11-25 07:54:30 +01:00
font-family: "Poppins", sans-serif;
2022-09-19 13:14:40 +02:00
}
2022-12-11 11:55:28 +01:00
2024-04-18 20:45:12 +02:00
.hide-scrollbar::-webkit-scrollbar-track {
@apply bg-transparent;
}
.hide-scrollbar::-webkit-scrollbar-thumb {
@apply bg-transparent;
}
2022-08-18 11:53:23 +02:00
::-webkit-scrollbar {
@apply w-3;
}
::-webkit-scrollbar-track {
2024-04-18 20:45:12 +02:00
@apply rounded-full bg-base-300/30;
2022-08-18 11:53:23 +02:00
}
::-webkit-scrollbar-thumb {
2024-04-18 20:45:12 +02:00
@apply rounded-full bg-base-content/20;
2022-08-18 11:53:23 +02:00
}
::-webkit-scrollbar-thumb:hover {
2024-04-18 20:45:12 +02:00
@apply rounded-full bg-base-content/50;
2022-08-18 11:53:23 +02:00
}
2022-08-15 06:53:14 +02:00
}
@layer utilities {
.animate {
@apply transition-all duration-300 ease-in-out;
}
2022-09-19 13:14:40 +02:00
.step-heading {
2022-11-11 22:32:24 +01:00
@apply mb-2 font-semibold;
2022-09-19 13:14:40 +02:00
}
2022-11-14 17:07:39 +01:00
2022-09-28 03:38:21 +02:00
.react-select-container {
2022-11-14 17:07:39 +01:00
@apply w-40;
2022-09-28 03:38:21 +02:00
}
2023-09-11 05:29:06 +02:00
.full-width {
@apply w-full;
}
2022-09-28 03:38:21 +02:00
.react-select-container .react-select__control {
2024-04-18 23:58:47 +02:00
@apply h-12 cursor-pointer rounded-btn !border-0 !border-none !border-transparent bg-primary shadow-none;
2022-11-14 17:07:39 +01:00
}
.react-select-container .react-select__control--menu-is-open {
2024-04-20 13:11:03 +02:00
@apply bg-primary text-primary-content;
2022-09-28 03:38:21 +02:00
}
2022-11-14 17:07:39 +01:00
.react-select-container .react-select__single-value {
2024-04-18 20:45:12 +02:00
@apply text-sm font-semibold uppercase text-primary-content;
2022-11-14 17:07:39 +01:00
}
.react-select-container .react-select__input-container {
2024-04-18 20:45:12 +02:00
@apply text-sm font-semibold uppercase text-primary-content;
2022-11-14 17:07:39 +01:00
}
2022-09-28 06:34:17 +02:00
.react-select-container .react-select__menu {
2022-11-15 15:42:20 +01:00
@apply rounded-lg bg-primary p-1 text-sm font-semibold uppercase;
2022-09-28 06:34:17 +02:00
}
2022-11-14 17:07:39 +01:00
2022-09-28 06:34:17 +02:00
.react-select-container .react-select__option {
2024-04-20 13:11:03 +02:00
@apply my-1 cursor-pointer break-all rounded-md bg-primary text-primary-content hover:bg-primary-content/20 hover:text-primary-content;
2022-11-14 17:07:39 +01:00
}
.react-select-container .react-select__option--is-selected {
2024-04-18 20:45:12 +02:00
@apply bg-accent text-accent-content;
2022-09-28 03:38:21 +02:00
}
2022-12-27 12:08:49 +01:00
.outline-title {
2023-08-11 11:56:15 +02:00
text-shadow:
0px 0px 10px rgba(255, 255, 255, 0.5),
2023-03-18 13:33:17 +01:00
0px 0px 10px rgba(255, 255, 255, 1);
2022-12-27 12:08:49 +01:00
}
.outline-title-none {
text-shadow: none;
}
2022-08-15 06:53:14 +02:00
}
2022-12-17 18:28:48 +01:00
.zoom-100 {
transform: scale(1);
}
2022-12-16 17:20:46 +01:00
.zoom-125 {
transform: scale(1.25);
}
2022-12-17 18:28:48 +01:00
.zoom-150 {
transform: scale(1.5);
}
.zoom-175 {
transform: scale(1.75);
}
.zoom-200 {
transform: scale(2);
}
2022-12-16 17:20:46 +01: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);
}
2023-08-26 09:27:15 +02:00
[data-theme="upscayl"] .btn {
2024-02-07 02:23:19 +01:00
@apply h-10 !min-h-min px-3 py-2 font-medium normal-case;
2023-08-26 09:27:15 +02:00
}
[data-theme="upscayl"] input[type="range"] {
@apply rounded-full;
}
[data-theme="upscayl"] .react-select-container .react-select__control {
2024-04-18 23:58:47 +02:00
@apply h-10 cursor-pointer rounded-btn !border-0 !border-none !border-transparent bg-primary shadow-none;
2023-09-11 05:29:06 +02:00
}
[data-theme="upscayl"] .react-select-container .react-select__single-value {
2024-04-18 20:45:12 +02:00
@apply font-medium normal-case text-primary-content;
2023-09-11 05:29:06 +02:00
}
[data-theme="upscayl"] .react-select-container .react-select__input-container {
2024-04-18 20:45:12 +02:00
@apply text-xs font-medium normal-case text-primary-content;
2023-09-11 05:29:06 +02:00
}
[data-theme="upscayl"] .react-select-container .react-select__menu {
2024-02-07 02:23:19 +01:00
@apply rounded-lg bg-primary p-1 font-medium normal-case;
2023-08-26 09:27:15 +02:00
}
2023-08-30 06:54:16 +02:00
.mac-titlebar {
-webkit-app-region: drag;
}
2023-10-14 03:00:49 +02:00
.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 16:58:11 +02:00
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);
}
}
2024-04-17 18:18:45 +02:00
/* SHADCN CHANGES */
2024-04-21 16:04:59 +02:00
@tailwind base;
@tailwind components;
@tailwind utilities;
2024-04-17 18:18:45 +02:00
2024-04-21 16:04:59 +02:00
@layer base {
:root {
--background: 0 0% 100%;
--foreground: 222.2 84% 4.9%;
2024-04-17 18:18:45 +02:00
2024-04-21 16:04:59 +02:00
--card: 0 0% 100%;
--card-foreground: 222.2 84% 4.9%;
2024-04-17 18:18:45 +02:00
2024-04-21 16:04:59 +02:00
--popover: 0 0% 100%;
--popover-foreground: 222.2 84% 4.9%;
2024-04-17 18:18:45 +02:00
2024-04-21 16:04:59 +02:00
--primary: 222.2 47.4% 11.2%;
--primary-foreground: 210 40% 98%;
2024-04-17 18:18:45 +02:00
2024-04-21 16:04:59 +02:00
--secondary: 210 40% 96.1%;
--secondary-foreground: 222.2 47.4% 11.2%;
2024-04-17 18:18:45 +02:00
2024-04-21 16:04:59 +02:00
--muted: 210 40% 96.1%;
--muted-foreground: 215.4 16.3% 46.9%;
2024-04-17 18:18:45 +02:00
2024-04-21 16:04:59 +02:00
--accent: 210 40% 96.1%;
--accent-foreground: 222.2 47.4% 11.2%;
2024-04-17 18:18:45 +02:00
2024-04-21 16:04:59 +02:00
--destructive: 0 84.2% 60.2%;
--destructive-foreground: 210 40% 98%;
2024-04-17 18:18:45 +02:00
2024-04-21 16:04:59 +02:00
--border: 214.3 31.8% 91.4%;
--input: 214.3 31.8% 91.4%;
--ring: 222.2 84% 4.9%;
2024-04-17 18:18:45 +02:00
2024-04-21 16:04:59 +02:00
--radius: 0.5rem;
}
2024-04-17 18:18:45 +02:00
2024-04-21 16:04:59 +02:00
.dark {
--background: 222.2 84% 4.9%;
--foreground: 210 40% 98%;
2024-04-17 18:18:45 +02:00
2024-04-21 16:04:59 +02:00
--card: 222.2 84% 4.9%;
--card-foreground: 210 40% 98%;
2024-04-17 18:18:45 +02:00
2024-04-21 16:04:59 +02:00
--popover: 222.2 84% 4.9%;
--popover-foreground: 210 40% 98%;
2024-04-17 18:18:45 +02:00
2024-04-21 16:04:59 +02:00
--primary: 210 40% 98%;
--primary-foreground: 222.2 47.4% 11.2%;
2024-04-17 18:18:45 +02:00
2024-04-21 16:04:59 +02:00
--secondary: 217.2 32.6% 17.5%;
--secondary-foreground: 210 40% 98%;
2024-04-17 18:18:45 +02:00
2024-04-21 16:04:59 +02:00
--muted: 217.2 32.6% 17.5%;
--muted-foreground: 215 20.2% 65.1%;
2024-04-17 18:18:45 +02:00
2024-04-21 16:04:59 +02:00
--accent: 217.2 32.6% 17.5%;
--accent-foreground: 210 40% 98%;
2024-04-17 18:18:45 +02:00
2024-04-21 16:04:59 +02:00
--destructive: 0 62.8% 30.6%;
--destructive-foreground: 210 40% 98%;
2024-04-17 18:18:45 +02:00
2024-04-21 16:04:59 +02:00
--border: 217.2 32.6% 17.5%;
--input: 217.2 32.6% 17.5%;
--ring: 212.7 26.8% 83.9%;
2024-04-17 18:18:45 +02:00
}
2024-04-21 16:04:59 +02:00
}
2024-04-17 18:18:45 +02:00
2024-04-21 16:04:59 +02:00
@layer base {
* {
@apply border-border;
}
body {
@apply bg-background text-foreground;
}
}