mirror of
https://github.com/supabase/supabase.git
synced 2026-10-09 03:15:06 +03:00
* First * Fix the parsing of SQL. * Get thread data action * Remove old page * Wait for data to complete * SSR everywhere * Remove unused * Add monaco settings * update loaders * Add sorting * supress hydration warnings * Fix profile layout * more server action action * fixes * Update page.tsx * Update actions.ts * Update AssistantChatForm.tsx * init * add polling * Update actions.ts * redirect to message id * init * Update SchemaFlow.tsx * Add latest message to thread record * Fix object object on new thread load * Fix build * Prettier * Fix type errors for build * Add proper loaders * Remove badger --------- Co-authored-by: Terry Sutton <saltcod@gmail.com> Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
191 lines
4.7 KiB
CSS
191 lines
4.7 KiB
CSS
@tailwind base;
|
|
@tailwind components;
|
|
@tailwind utilities;
|
|
|
|
@import '~ui/build/css/source/global.css';
|
|
@import '~ui/build/css/themes/dark.css';
|
|
@import '~ui/build/css/themes/light.css';
|
|
|
|
@font-face {
|
|
font-family: 'circular';
|
|
src: url(/fonts/custom/CustomFont-Book.woff2) format('woff2'),
|
|
url(/fonts/custom/CustomFont-Book.woff) format('woff');
|
|
font-weight: 400;
|
|
font-style: normal;
|
|
}
|
|
@font-face {
|
|
font-family: 'circular';
|
|
src: url(/fonts/custom/CustomFont-BookItalic.woff2) format('woff2'),
|
|
url(/fonts/custom/CustomFont-BookItalic.woff) format('woff');
|
|
font-weight: 400;
|
|
font-style: italic;
|
|
}
|
|
@font-face {
|
|
font-family: 'circular';
|
|
src: url(/fonts/custom/CustomFont-Medium.woff2) format('woff2'),
|
|
url(/fonts/custom/CustomFont-Medium.woff) format('woff');
|
|
font-weight: 500;
|
|
font-style: normal;
|
|
}
|
|
@font-face {
|
|
font-family: 'circular';
|
|
src: url(/fonts/custom/CustomFont-MediumItalic.woff2) format('woff2'),
|
|
url(/fonts/custom/CustomFont-MediumItalic.woff) format('woff');
|
|
font-weight: 500;
|
|
font-style: italic;
|
|
}
|
|
@font-face {
|
|
font-family: 'circular';
|
|
src: url(/fonts/custom/CustomFont-Bold.woff2) format('woff2'),
|
|
url(/fonts/custom/CustomFont-Bold.woff) format('woff');
|
|
font-weight: 700;
|
|
font-style: 600;
|
|
}
|
|
@font-face {
|
|
font-family: 'circular';
|
|
src: url(/fonts/custom/CustomFont-BoldItalic.woff2) format('woff2'),
|
|
url(/fonts/custom/CustomFont-BoldItalic.woff) format('woff');
|
|
font-style: 600;
|
|
font-style: italic;
|
|
}
|
|
@font-face {
|
|
font-family: 'circular';
|
|
src: url(/fonts/custom/CustomFont-Black.woff2) format('woff2'),
|
|
url(/fonts/custom/CustomFont-Black.woff) format('woff');
|
|
font-weight: 800;
|
|
font-style: normal;
|
|
}
|
|
@font-face {
|
|
font-family: 'circular';
|
|
src: url(/fonts/custom/CustomFont-BlackItalic.woff2) format('woff2'),
|
|
url(/fonts/custom/CustomFont-BlackItalic.woff) format('woff');
|
|
font-weight: 800;
|
|
font-style: italic;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'source code pro';
|
|
src: url('/fonts/source-code-pro/SourceCodePro-Regular.eot');
|
|
src: url('/fonts/source-code-pro/SourceCodePro-Regular.woff2') format('woff2'),
|
|
url('/fonts/source-code-pro/SourceCodePro-Regular.woff') format('woff'),
|
|
url('/fonts/source-code-pro/SourceCodePro-Regular.ttf') format('truetype'),
|
|
url('/fonts/source-code-pro/SourceCodePro-Regular.svg#SourceCodePro-Regular') format('svg');
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
|
|
html,
|
|
body,
|
|
main {
|
|
/* @apply bg-background;
|
|
@apply text-foreground;
|
|
height: 100%;
|
|
width: 100%; */
|
|
padding: 0;
|
|
margin: 0;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
|
|
.chat-shimmering-loader {
|
|
animation: shimmer 1.5s infinite linear;
|
|
background: linear-gradient(
|
|
to right,
|
|
hsl(var(--background-default)) 0%,
|
|
hsl(var(--brand-default)) 25%,
|
|
hsl(var(--brand-300)) 35%,
|
|
hsl(var(--background-default)) 45%,
|
|
hsl(var(--background-surface-100)) 75%
|
|
);
|
|
background-size: 3000px 100%;
|
|
}
|
|
|
|
.shimmering-loader {
|
|
animation: shimmer 2s infinite linear;
|
|
background: linear-gradient(
|
|
to right,
|
|
hsl(var(--border-default)) 4%,
|
|
hsl(var(--background-surface-200)) 25%,
|
|
hsl(var(--border-default)) 36%
|
|
);
|
|
background-size: 1000px 100%;
|
|
}
|
|
|
|
.dark .shimmering-loader {
|
|
animation: shimmer 2s infinite linear;
|
|
background: linear-gradient(
|
|
to right,
|
|
hsl(var(--border-default)) 4%,
|
|
hsl(var(--border-control)) 25%,
|
|
hsl(var(--border-default)) 36%
|
|
);
|
|
background-size: 1000px 100%;
|
|
}
|
|
|
|
@keyframes shimmer {
|
|
0% {
|
|
background-position: -1000px 0;
|
|
}
|
|
100% {
|
|
background-position: 1000px 0;
|
|
}
|
|
}
|
|
|
|
.monaco-editor,
|
|
.monaco-diff-editor {
|
|
--vscode-editor-background: hsl(var(--background-alternative)) !important;
|
|
--vscode-editorGutter-background: hsl(var(--background-alternative)) !important;
|
|
padding-top: 12px;
|
|
}
|
|
|
|
/* .monaco-editor .overflow-guard */
|
|
|
|
.shimmering-loader {
|
|
animation: shimmer 2s infinite linear;
|
|
background: linear-gradient(
|
|
to right,
|
|
hsl(var(--border-default)) 4%,
|
|
hsl(var(--background-surface-100)) 25%,
|
|
hsl(var(--border-default)) 36%
|
|
);
|
|
background-size: 1000px 100%;
|
|
}
|
|
|
|
.dark .shimmering-loader {
|
|
animation: shimmer 2s infinite linear;
|
|
background: linear-gradient(
|
|
to right,
|
|
hsl(var(--background-surface-100)) 4%,
|
|
hsl(var(--border-default)) 25%,
|
|
hsl(var(--background-surface-100)) 36%
|
|
);
|
|
background-size: 1000px 100%;
|
|
}
|
|
|
|
@keyframes shimmer {
|
|
0% {
|
|
background-position: -1000px 0;
|
|
}
|
|
100% {
|
|
background-position: 1000px 0;
|
|
}
|
|
}
|
|
|
|
.fade-in {
|
|
opacity: 0;
|
|
animation-name: fadeIn;
|
|
animation-duration: 500ms;
|
|
animation-timing-function: ease-in-out;
|
|
animation-fill-mode: forwards;
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|