Spaces:
Running
on
L4
Running
on
L4
| @tailwind base; | |
| @tailwind components; | |
| @tailwind utilities; | |
| @layer base { | |
| :root { | |
| --background: 240 20% 99%; /* 1 */ | |
| --foreground: 210 13% 13%; /* 12 */ | |
| --card: 240 20% 99%; /* 1 */ | |
| --card-foreground: 210 13% 13%; /* 12 */ | |
| --popover: 240 20% 99%; /* 1 */ | |
| --popover-foreground: 210 13% 13%; /* 12 */ | |
| --primary: 210 13% 13%; /* 12 */ | |
| --primary-foreground: 240 20% 98%; /* 2 */ | |
| --secondary: 240 11% 95%; /* 3 */ | |
| --secondary-foreground: 210 13% 13%; /* 12 */ | |
| --muted: 240 11% 95%; /* 3 */ | |
| --muted-foreground: 220 6% 40%; /* 11 */ | |
| --accent: 240 11% 95%; /* 3 */ | |
| --accent-foreground: 210 13% 13%; /* 12 */ | |
| --destructive: 358 75% 59%; /* 9 - red */ | |
| --destructive-foreground: 240 20% 98%; /* 2 */ | |
| --border: 240 10% 86%; /* 6 */ | |
| --input: 240 10% 86%; /* 6 */ | |
| --ring: 210 13% 13%; /* 12 */ | |
| --chart-1: 10 78% 54%; /* 9 - tomato */ | |
| --chart-2: 173 80% 36%; /* 9 - teal */ | |
| --chart-3: 206 100% 50%; /* 9 - blue */ | |
| --chart-4: 42 100% 62%; /* 9 - amber */ | |
| --chart-5: 23 93% 53%; /* 9 - orange */ | |
| } | |
| .dark { | |
| --background: 240 6% 7%; /* 1 */ | |
| --foreground: 220 9% 94%; /* 12 */ | |
| --card: 240 6% 7%; /* 1 */ | |
| --card-foreground: 220 9% 94%; /* 12 */ | |
| --popover: 240 6% 7%; /* 1 */ | |
| --popover-foreground: 220 9% 94%; /* 12 */ | |
| --primary: 220 9% 94%; /* 12 */ | |
| --primary-foreground: 220 6% 10%; /* 2 */ | |
| --secondary: 225 6% 14%; /* 3 */ | |
| --secondary-foreground: 220 9% 94%; /* 12 */ | |
| --muted: 225 6% 14%; /* 3 */ | |
| --muted-foreground: 216 7% 71%; /* 11 */ | |
| --accent: 225 6% 14%; /* 3 */ | |
| --accent-foreground: 220 9% 94%; /* 12 */ | |
| --destructive: 358 75% 59%; /* 9 - red */ | |
| --destructive-foreground: 220 9% 94%; /* 12 */ | |
| --border: 213 8% 23%; /* 6 */ | |
| --input: 213 8% 23%; /* 6 */ | |
| --ring: 220 9% 94%; /* 12 */ | |
| --chart-1: 10 78% 54%; /* 9 - tomato */ | |
| --chart-2: 173 80% 36%; /* 9 - teal */ | |
| --chart-3: 206 100% 50%; /* 9 - blue */ | |
| --chart-4: 42 100% 62%; /* 9 - amber */ | |
| --chart-5: 23 93% 53%; /* 9 - orange */ | |
| } | |
| } | |
| @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 { | |
| /* Hide scrollbar for Chrome, Safari and Opera */ | |
| .no-scrollbar::-webkit-scrollbar { | |
| display: none; | |
| } | |
| /* Hide scrollbar for IE, Edge and Firefox */ | |
| .no-scrollbar { | |
| -webkit-overflow-scrolling: touch; | |
| -ms-overflow-style: none; | |
| /* IE and Edge */ | |
| scrollbar-width: none; | |
| /* Firefox */ | |
| } | |
| } | |
| @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; | |
| } | |