1
0
mirror of https://github.com/upscayl/upscayl.git synced 2024-12-21 11:55:53 +01:00
upscayl/renderer/styles/globals.css

218 lines
4.9 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
2022-08-18 11:53:23 +02:00
::-webkit-scrollbar {
@apply w-3;
}
::-webkit-scrollbar-track {
2023-05-01 08:34:45 +02:00
@apply rounded-full bg-base-300/80;
2022-08-18 11:53:23 +02:00
}
::-webkit-scrollbar-thumb {
2023-05-01 08:16:09 +02:00
@apply rounded-full bg-base-content/20;
2022-08-18 11:53:23 +02:00
}
::-webkit-scrollbar-thumb:hover {
2023-05-01 08:16:09 +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-11-11 22:32:24 +01:00
/* .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-11 22:32:24 +01:00
@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 15:26:10 +02:00
@apply bg-gradient-to-br from-green-500 to-lime-300 hover:from-lime-300 hover:to-green-500;
}
2022-09-19 01:54:45 +02:00
.bg-gradient-blue {
@apply bg-gradient-to-br from-blue-500 to-sky-400 hover:from-sky-400 hover:to-blue-500;
2022-11-11 22:32:24 +01:00
} */
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 {
2022-11-15 15:42:20 +01:00
@apply rounded-btn h-12 cursor-pointer !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 {
2023-08-11 11:56:15 +02:00
@apply bg-primary-focus 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 {
@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 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 {
2023-08-11 11:56:15 +02:00
@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 17:07:39 +01:00
}
.react-select-container .react-select__option--is-selected {
2023-08-11 11:56:15 +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 {
2023-10-21 16:14:42 +02:00
@apply font-medium normal-case !min-h-min h-10 py-2 px-3;
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 {
2023-10-21 16:14:42 +02:00
@apply rounded-btn h-10 cursor-pointer !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 {
@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 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;
}
@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);
}
}