Files
supabase/apps/studio/styles/react-data-grid-logs.css
Ivan Vasilov 56de26fe22 chore: Migrate the monorepo to use Tailwind v4 (#45318)
This PR migrates the whole monorepo to use Tailwind v4:
- Removed `@tailwindcss/container-queries` plugin since it's included by
default in v4,
- Bump all instances of Tailwind to v4. Made minimal changes to the
shared config to remove non-supported features (`alpha` mentions),
- Migrate all apps to be compatible with v4 configs,
- Fix the `typography.css` import in 3 apps,
- Add missing rules which were included by default in v3,
- Run `pnpm dlx @tailwindcss/upgrade` on all apps, which renames a lot
of classes
- Rename all misnamed classes according to
https://tailwindcss.com/docs/upgrade-guide#renamed-utilities in all
apps.

---------

Co-authored-by: Jordi Enric <[email protected]>
2026-04-30 10:53:24 +00:00

124 lines
2.2 KiB
CSS

@reference "./main.css";
.data-grid--simple-logs {
.rdg {
overflow-x: auto;
min-width: 0;
}
.rdg-cell,
.rdg-cell span {
@apply text-foreground-light font-normal;
border-left: none;
border-right: none;
overflow: visible;
text-overflow: clip;
}
.rdg-cell {
display: flex;
align-items: center;
}
.rdg-cell:first-child {
@apply pl-5;
}
.rdg-cell:last-child {
@apply pr-5;
}
.rdg-row {
&.rdg-row--focused {
@apply border-r border-brand;
border-right-width: 4px;
}
&.rdg-row--focused .rdg-cell,
&.rdg-row--focused .rdg-cell span {
@apply !text-foreground;
}
}
}
.data-grid--logs-explorer {
@apply pb-12;
.rdg {
overflow-x: auto;
min-width: 0;
}
.rdg-cell,
.rdg-cell span {
@apply !text-foreground-light !font-normal;
border-left: none;
border-right: none;
overflow: visible;
text-overflow: clip;
}
.rdg-cell {
display: flex;
align-items: center;
}
.rdg-cell:first-child {
@apply pl-5;
}
.rdg-cell:last-child {
@apply pr-5;
}
.rdg-row {
&.rdg-row--focused {
@apply border-r border-brand;
border-right-width: 4px;
}
&.rdg-row--focused .rdg-cell,
&.rdg-row--focused .rdg-cell span {
@apply !text-foreground-light !font-semibold;
}
}
}
.syntax-highlight {
counter-reset: line-numbering;
font-family: Menlo, Monaco, monospace;
color: hsl(var(--foreground-lighter));
word-break: break-word;
}
.syntax-highlight .line::before {
content: counter(line-numbering);
counter-increment: line-numbering;
padding-right: 0px;
display: inline-block;
color: hsl(var(--border-stronger));
/* space after numbers */
width: 2rem;
text-align: left;
}
.logs-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%;
}
@keyframes logsShimmer {
0% {
background-position: -1000px 0;
}
50% {
background-position: 1000px 0;
}
}