|
|
@tailwind base; |
|
|
@tailwind components; |
|
|
@tailwind utilities; |
|
|
|
|
|
|
|
|
@layer base { |
|
|
:root { |
|
|
--background: 240 20% 99%; |
|
|
--foreground: 210 13% 13%; |
|
|
--card: 240 20% 99%; |
|
|
--card-foreground: 210 13% 13%; |
|
|
--popover: 240 20% 99%; |
|
|
--popover-foreground: 210 13% 13%; |
|
|
--primary: 210 13% 13%; |
|
|
--primary-foreground: 240 20% 98%; |
|
|
--secondary: 240 11% 95%; |
|
|
--secondary-foreground: 210 13% 13%; |
|
|
--muted: 240 11% 95%; |
|
|
--muted-foreground: 220 6% 40%; |
|
|
--accent: 240 11% 95%; |
|
|
--accent-foreground: 210 13% 13%; |
|
|
--destructive: 358 75% 59%; |
|
|
--destructive-foreground: 240 20% 98%; |
|
|
--border: 240 10% 86%; |
|
|
--input: 240 10% 86%; |
|
|
--ring: 210 13% 13%; |
|
|
--chart-1: 10 78% 54%; |
|
|
--chart-2: 173 80% 36%; |
|
|
--chart-3: 206 100% 50%; |
|
|
--chart-4: 42 100% 62%; |
|
|
--chart-5: 23 93% 53%; |
|
|
} |
|
|
|
|
|
.dark { |
|
|
--background: 240 6% 7%; |
|
|
--foreground: 220 9% 94%; |
|
|
--card: 240 6% 7%; |
|
|
--card-foreground: 220 9% 94%; |
|
|
--popover: 240 6% 7%; |
|
|
--popover-foreground: 220 9% 94%; |
|
|
--primary: 220 9% 94%; |
|
|
--primary-foreground: 220 6% 10%; |
|
|
--secondary: 225 6% 14%; |
|
|
--secondary-foreground: 220 9% 94%; |
|
|
--muted: 225 6% 14%; |
|
|
--muted-foreground: 216 7% 71%; |
|
|
--accent: 225 6% 14%; |
|
|
--accent-foreground: 220 9% 94%; |
|
|
--destructive: 358 75% 59%; |
|
|
--destructive-foreground: 220 9% 94%; |
|
|
--border: 213 8% 23%; |
|
|
--input: 213 8% 23%; |
|
|
--ring: 220 9% 94%; |
|
|
--chart-1: 10 78% 54%; |
|
|
--chart-2: 173 80% 36%; |
|
|
--chart-3: 206 100% 50%; |
|
|
--chart-4: 42 100% 62%; |
|
|
--chart-5: 23 93% 53%; |
|
|
} |
|
|
} |
|
|
|
|
|
@layer base { |
|
|
:root:has(.no-bg-scroll) { |
|
|
overflow: hidden; |
|
|
} |
|
|
|
|
|
* { |
|
|
@apply border-border; |
|
|
} |
|
|
|
|
|
body { |
|
|
@apply bg-background text-foreground antialiased min-h-screen; |
|
|
font-feature-settings: "rlig" 1, "calt" 1; |
|
|
} |
|
|
} |
|
|
|
|
|
@layer utilities { |
|
|
|
|
|
|
|
|
.no-scrollbar::-webkit-scrollbar { |
|
|
display: none; |
|
|
} |
|
|
|
|
|
|
|
|
.no-scrollbar { |
|
|
-webkit-overflow-scrolling: touch; |
|
|
-ms-overflow-style: none; |
|
|
|
|
|
scrollbar-width: none; |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
@keyframes slideInFromTop { |
|
|
from { |
|
|
transform: translateY(-100%); |
|
|
} |
|
|
|
|
|
to { |
|
|
transform: translateY(0); |
|
|
} |
|
|
} |
|
|
|
|
|
@keyframes slideInFromBottom { |
|
|
from { |
|
|
transform: translateY(100%); |
|
|
} |
|
|
|
|
|
to { |
|
|
transform: translateY(0); |
|
|
} |
|
|
} |
|
|
|
|
|
.toast { |
|
|
animation-duration: 0.2s; |
|
|
animation-fill-mode: forwards; |
|
|
} |
|
|
|
|
|
@media (max-width: 640px) { |
|
|
.toast { |
|
|
animation-name: slideInFromTop; |
|
|
} |
|
|
} |
|
|
|
|
|
@media (min-width: 641px) { |
|
|
.toast { |
|
|
animation-name: slideInFromBottom; |
|
|
} |
|
|
} |
|
|
|
|
|
@keyframes fade-in { |
|
|
from { |
|
|
opacity: 0; |
|
|
} |
|
|
to { |
|
|
opacity: 1; |
|
|
} |
|
|
} |
|
|
|
|
|
@keyframes slide-up { |
|
|
from { |
|
|
transform: translateY(20px); |
|
|
opacity: 0; |
|
|
} |
|
|
to { |
|
|
transform: translateY(0); |
|
|
opacity: 1; |
|
|
} |
|
|
} |
|
|
|
|
|
.animate-fade-in { |
|
|
animation: fade-in 1s ease-out forwards; |
|
|
} |
|
|
|
|
|
.animate-slide-up { |
|
|
animation: slide-up 1s ease-out forwards; |
|
|
} |
|
|
|
|
|
.sim-map-button.active { |
|
|
background-color: #61D790; |
|
|
color: #2E2F27; |
|
|
|
|
|
&:hover { |
|
|
background-color: #61D790; |
|
|
} |
|
|
} |
|
|
|
|
|
.text-highlight strong { |
|
|
color: black; |
|
|
|
|
|
.dark & { |
|
|
color: white; |
|
|
} |
|
|
} |
|
|
|
|
|
.tokens-button { |
|
|
background-color: #B7E2F1; |
|
|
color: #2E2F27; |
|
|
} |
|
|
|
|
|
.overlay-image { |
|
|
opacity: 0.5; |
|
|
position: absolute; |
|
|
top: 0; |
|
|
left: 0; |
|
|
width: 100%; |
|
|
height: 100%; |
|
|
z-index: 10; |
|
|
} |
|
|
|
|
|
header { |
|
|
grid-column: 1/-1; |
|
|
} |
|
|
|
|
|
body { |
|
|
&[data-is-home="true"] { |
|
|
background: radial-gradient(circle at 50% 100%, #fcfcfd, #fcfcfd, #fdfdfe, #fdfdfe, #fefefe, #fefefe, #ffffff, #ffffff); |
|
|
|
|
|
.dark & { |
|
|
background: radial-gradient(circle at 50% 50%, #272a2d, #242629, #212326, #1e1f22, #1b1c1e, #18181b, #151517, #111113); |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
main { |
|
|
overflow: auto; |
|
|
} |
|
|
|
|
|
aside { |
|
|
overflow: auto; |
|
|
} |
|
|
|
|
|
.scroll-container { |
|
|
padding-right: 10px; |
|
|
} |
|
|
|
|
|
.question-message { |
|
|
background-color: #61D790; |
|
|
color: #2E2F27; |
|
|
} |
|
|
|
|
|
.grid-image-text-columns { |
|
|
@apply md:grid-cols-2 md:col-span-2 |
|
|
} |
|
|
|
|
|
.grid-image-column { |
|
|
@apply grid grid-rows-subgrid row-span-2 content-start; |
|
|
} |
|
|
|
|
|
.md-grid-text-column { |
|
|
@apply md:grid md:grid-rows-subgrid md:row-span-2 md:content-start; |
|
|
} |
|
|
|
|
|
#search-input[aria-expanded="true"] { |
|
|
border-top: 1px solid hsl(var(--input)); |
|
|
border-left: 1px solid hsl(var(--input)); |
|
|
border-right: 1px solid hsl(var(--input)); |
|
|
border-bottom: none; |
|
|
border-bottom-left-radius: 0; |
|
|
border-bottom-right-radius: 0; |
|
|
} |
|
|
|
|
|
.awesomplete { |
|
|
width: 100%; |
|
|
} |
|
|
|
|
|
.awesomplete > ul { |
|
|
@apply text-sm space-y-1; |
|
|
margin: 0; |
|
|
border-top: none; |
|
|
border-left: 1px solid hsl(var(--input)); |
|
|
border-right: 1px solid hsl(var(--input)); |
|
|
border-bottom: 1px solid hsl(var(--input)); |
|
|
border-radius: 0 0 calc(var(--radius) - 2px) calc(var(--radius) - 2px); |
|
|
background: white; |
|
|
|
|
|
.dark & { |
|
|
background: hsl(var(--background)); |
|
|
} |
|
|
|
|
|
box-shadow: none; |
|
|
text-shadow: none; |
|
|
} |
|
|
|
|
|
.awesomplete > ul:before { |
|
|
display: none; |
|
|
} |
|
|
|
|
|
.awesomplete > ul > li:hover { |
|
|
background-color: #B7E2F1; |
|
|
color: #2E2F27; |
|
|
} |
|
|
|
|
|
.awesomplete > ul > li[aria-selected="true"] { |
|
|
background-color: #B7E2F1; |
|
|
color: #2E2F27; |
|
|
} |
|
|
|
|
|
.awesomplete mark { |
|
|
background-color: #61D790; |
|
|
color: #2E2F27; |
|
|
} |
|
|
|
|
|
.awesomplete li:hover mark { |
|
|
background-color: #61D790; |
|
|
color: #2E2F27; |
|
|
} |
|
|
|
|
|
.awesomplete li[aria-selected="true"] mark { |
|
|
background-color: #61D790; |
|
|
color: #2E2F27; |
|
|
} |
|
|
|
|
|
|