@tailwind base;
@tailwind components;
@tailwind utilities;
:root {
--background: 240 5% 6%;
--foreground: 60 5% 90%;
--primary: 240 0% 90%;
--primary-foreground: 60 0% 0%;
--secondary: 240 4% 15%;
--secondary-foreground: 60 5% 85%;
--accent: 240 0% 13%;
--accent-foreground: 60 0% 100%;
--destructive: 0 60% 50%;
--destructive-foreground: 0 0% 98%;
--muted: 240 5% 25%;
--muted-foreground: 60 5% 75%;
--card: #212121;
--card-foreground: #ffffff;
--popover: 240 5% 15%;
--popover-foreground: 60 5% 85%;
--border: #ffffff14;
--input: 240 6% 20%;
--ring: 240 5% 90%;
--radius: 0.5rem;
--bg-color: #242424;
--color-muted: #ffffff88;
--color: var(--color4);
--color1: #ed6a5a;
--color1-5: #ed6a5a55;
--color2: #f4f1bb;
--color2-5: #f4f1bb55;
--color3: #7b9a95;
--color3-5: #7b9a9555;
--color4: #e6ebe0;
--color4-5: #e6ebe055;
--color5: #5da59c;
--color5-5: #5da59c55;
--color6: #c97847;
--color6-5: #c9784755;
--color7: #5da55e;
--color7-5: #5da55e55;
--color8: #bb6cde;
--color8-5: #bb6cde55;
--separator: 0,0%,100%,0.10;
--modal-bg: #09090b;
}
*, *::before, *::after {
box-sizing: border-box;
}
* {
margin: 0;
}
body {
line-height: 1.5;
-webkit-font-smoothing: antialiased;
color:var(--color);
background-color: var(--bg-color);
background-position: center;
background-size: cover;
background-repeat: no-repeat;
min-height:100dvh;
transition: padding-left 0.25s;
font-family: "Ubuntu", sans-serif;
--menu-item-bg-active: 0 0% 24%;
--accent-text: var(--color2);
}
body.light {
--bg-color: #ffffff;
--card: #efefef;
--border: #00000014;
--card-foreground: #000000;
--menu-item-bg-active: 0 0% 60%;
--muted-foreground: 0 0% 35%;
--accent-text: var(--color6);
--color: #000;
--color-muted: #00000088;
--modal-bg: #fff;
}
.flip-box {
background-color: transparent;
perspective: 1000px;
}
.flip-box-inner {
transition: transform 0.8s;
transform-style: preserve-3d;
}
.flip-box.flipped .flip-box-inner {
transform: rotateY(180deg);
}
.flip-box-front, .flip-box-back {
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.flip-box-back {
transform: rotateY(180deg);
}
.inner-content {
background-color: var(--bg-color);
margin-bottom:200px;
padding-left: 0px;
padding-right: 0px;
padding-top:60px;
min-height: 100dvh;
@media screen and (min-width: 900px) {
padding-left:320px;
padding-right:20px;
}
}
.checkbox-container {
transition: all .2s;
cursor:pointer;
user-select: none;
display:flex;
align-items:center;
justify-content:space-between;
border:1px solid #ffffff24;
padding:5px 10px;
width:max-content;
gap:10px;
border-radius:5px;
}
.checkbox-container:hover {
background: #ffffff08;
}
img, picture, video, canvas, svg {
display: block;
max-width: 100%;
}
input, button, textarea, select {
font: inherit;
}
p, h1, h2, h3, h4, h5, h6 {
overflow-wrap: break-word;
}
#root, #__next {
isolation: isolate;
}
.settings-item {
display: flex;
justify-content: space-between;
align-items: center;
gap:20px;
user-select: none;
}
.settings-section {
display: flex;
flex-direction: column;
gap: 20px;
margin-top:20px;
margin-bottom:20px;
}
@media (max-width: 768px) {
.settings-item:not(.row-only) {
align-items: stretch;
flex-direction: column;
gap:10px;
}
}
.env-var-item {
position: relative;
cursor: pointer;
height:32px;
}
.env-var-item:before {
content: '';
position: absolute;
inset: 0;
background: var(--color4);
opacity: 0;
}
.env-var-item:nth-child(odd)::before {
opacity: 0.3;
}
.env-var-item:hover {
color: #fff;
}
.env-var-item:hover::before {
background: #000000;
opacity: 0.5;
}
.styled-button {
background: var(--color3);
color:white;
border:0;
outline:0;
min-height: 32px;
padding:6px 8px;
border-radius:4px;
cursor:pointer;
text-transform: uppercase;
font-size: .8rem;
position: relative;
transition: all .2s;
width:100%;
font-weight: bold;
}
.styled-button.danger {
background: var(--color1);
}
.styled-button.secondary {
background: transparent;
color: var(--color4);
border: 1px solid var(--color4);
}
.styled-button.dropdown {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
.button-dropdown-part {
border-radius: 0;
display: grid;
place-content:center;
width:32px;
border:0;
background: var(--color3);
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
position: relative;
cursor:pointer;
border-left: 1px solid #ffffff88;
padding: 6px 8px;
transition: all .2s;
}
.button-dropdown-part:before {
content:'';
position:absolute;
inset:0;
background:currentColor;
transition: opacity .2s ease-out;
opacity: 0;
}
.styled-button.disabled {
opacity: .5;
background: gray;
color: #fff;
cursor: not-allowed;
}
.styled-button:before {
content:'';
position:absolute;
inset:0;
background:currentColor;
transition: opacity .2s ease-out;
opacity: 0;
}
.styled-button:hover:before {
opacity: .20;
}
.button-dropdown-part:hover:before {
opacity: .20;
}
.button-dropdown-option {
border:0;
outline:0;
background:transparent;
cursor: pointer;
padding:4px 10px;
display:flex;
align-items: center;
font-size: .9rem;
}
.button-dropdown-option:hover {
background: #00000011;
}
.hide-when-small {
@media screen and (max-width: 768px) {
display:none;
}
}
@layer base {
:root {
--background: 0 0% 100%;
--foreground: 0 0% 3.9%;
--card: 0 0% 100%;
--card-foreground: 0 0% 3.9%;
--popover: 0 0% 100%;
--popover-foreground: 0 0% 3.9%;
--primary: 0 0% 9%;
--primary-foreground: 0 0% 98%;
--secondary: 0 0% 96.1%;
--secondary-foreground: 0 0% 9%;
--muted: 0 0% 96.1%;
--muted-foreground: 0 0% 45.1%;
--accent: 0 0% 96.1%;
--accent-foreground: 0 0% 9%;
--destructive: 0 84.2% 60.2%;
--destructive-foreground: 0 0% 98%;
--border: 0 0% 89.8%;
--input: 0 0% 89.8%;
--ring: 0 0% 3.9%;
--chart-1: 12 76% 61%;
--chart-2: 173 58% 39%;
--chart-3: 197 37% 24%;
--chart-4: 43 74% 66%;
--chart-5: 27 87% 67%;
--radius: 0.5rem;
}
.dark {
--background: 0 0% 3.9%;
--foreground: 0 0% 98%;
--card: 0 0% 3.9%;
--card-foreground: 0 0% 98%;
--popover: 0 0% 3.9%;
--popover-foreground: 0 0% 98%;
--primary: 0 0% 98%;
--primary-foreground: 0 0% 9%;
--secondary: 0 0% 14.9%;
--secondary-foreground: 0 0% 98%;
--muted: 0 0% 14.9%;
--muted-foreground: 0 0% 63.9%;
--accent: 0 0% 14.9%;
--accent-foreground: 0 0% 98%;
--destructive: 0 62.8% 30.6%;
--destructive-foreground: 0 0% 98%;
--border: 0 0% 14.9%;
--input: 0 0% 14.9%;
--ring: 0 0% 83.1%;
--chart-1: 220 70% 50%;
--chart-2: 160 60% 45%;
--chart-3: 30 80% 55%;
--chart-4: 280 65% 60%;
--chart-5: 340 75% 55%;
}
}
@layer base {
* {
@apply border-border;
}
body {
@apply bg-background text-foreground;
}
}