134 lines
3.4 KiB
CSS
134 lines
3.4 KiB
CSS
@import "tailwindcss";
|
|
@import "@cloudflare/kumo/styles";
|
|
|
|
@custom-variant dark (&:is(.dark *));
|
|
|
|
@theme inline {
|
|
--color-background: var(--background);
|
|
--color-foreground: var(--foreground);
|
|
--color-card: var(--card);
|
|
--color-card-foreground: var(--card-foreground);
|
|
--color-popover: var(--popover);
|
|
--color-popover-foreground: var(--popover-foreground);
|
|
--color-primary: var(--primary);
|
|
--color-primary-foreground: var(--primary-foreground);
|
|
--color-secondary: var(--secondary);
|
|
--color-secondary-foreground: var(--secondary-foreground);
|
|
--color-muted: var(--muted);
|
|
--color-muted-foreground: var(--muted-foreground);
|
|
--color-accent: var(--accent);
|
|
--color-accent-foreground: var(--accent-foreground);
|
|
--color-destructive: var(--destructive);
|
|
--color-destructive-foreground: var(--destructive-foreground);
|
|
--color-border: var(--border);
|
|
--color-input: var(--input);
|
|
--color-ring: var(--ring);
|
|
--radius-sm: calc(var(--radius) - 4px);
|
|
--radius-md: calc(var(--radius) - 2px);
|
|
--radius-lg: var(--radius);
|
|
--radius-xl: calc(var(--radius) + 4px);
|
|
}
|
|
|
|
:root {
|
|
--radius: 0.5rem;
|
|
--background: oklch(0.986 0.008 151);
|
|
--foreground: oklch(0.215 0.025 157);
|
|
--card: oklch(1 0 0);
|
|
--card-foreground: oklch(0.215 0.025 157);
|
|
--popover: oklch(1 0 0);
|
|
--popover-foreground: oklch(0.215 0.025 157);
|
|
--primary: oklch(0.48 0.11 155);
|
|
--primary-foreground: oklch(0.985 0.01 150);
|
|
--secondary: oklch(0.945 0.026 152);
|
|
--secondary-foreground: oklch(0.28 0.058 156);
|
|
--muted: oklch(0.95 0.012 151);
|
|
--muted-foreground: oklch(0.47 0.025 157);
|
|
--accent: oklch(0.88 0.06 150);
|
|
--accent-foreground: oklch(0.25 0.055 155);
|
|
--destructive: oklch(0.58 0.19 25);
|
|
--destructive-foreground: oklch(0.985 0.01 150);
|
|
--border: oklch(0.89 0.016 151);
|
|
--input: oklch(0.89 0.016 151);
|
|
--ring: oklch(0.54 0.11 155);
|
|
--color-kumo-brand: var(--primary);
|
|
--color-kumo-brand-hover: oklch(0.42 0.12 155);
|
|
--color-kumo-focus: var(--ring);
|
|
--color-kumo-link: var(--primary);
|
|
--text-color-kumo-brand: var(--primary);
|
|
--text-color-kumo-link: var(--primary);
|
|
--color-kumo-success: oklch(0.52 0.13 155);
|
|
--color-kumo-success-tint: oklch(0.93 0.045 152);
|
|
--color-kumo-badge-green: oklch(0.48 0.11 155);
|
|
}
|
|
|
|
* {
|
|
border-color: var(--border);
|
|
}
|
|
|
|
html {
|
|
background: var(--background);
|
|
color: var(--foreground);
|
|
}
|
|
|
|
body {
|
|
min-height: 100svh;
|
|
background:
|
|
radial-gradient(circle at 12% 8%, color-mix(in oklch, var(--accent) 36%, transparent), transparent 30%),
|
|
linear-gradient(180deg, color-mix(in oklch, var(--background) 90%, white), var(--background));
|
|
color: var(--foreground);
|
|
font-family: Arial, Helvetica, sans-serif;
|
|
letter-spacing: 0;
|
|
}
|
|
|
|
button,
|
|
a,
|
|
[role="button"] {
|
|
-webkit-tap-highlight-color: transparent;
|
|
}
|
|
|
|
::selection {
|
|
background: color-mix(in oklch, var(--primary) 22%, transparent);
|
|
}
|
|
|
|
@keyframes page-enter {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@keyframes loading-progress {
|
|
0% {
|
|
transform: translateX(-100%);
|
|
}
|
|
55% {
|
|
transform: translateX(-18%);
|
|
}
|
|
100% {
|
|
transform: translateX(100%);
|
|
}
|
|
}
|
|
|
|
.page-enter {
|
|
animation: page-enter 180ms ease-out both;
|
|
}
|
|
|
|
.table-row-enter {
|
|
animation: page-enter 160ms ease-out both;
|
|
}
|
|
|
|
.loading-progress {
|
|
width: 55%;
|
|
animation: loading-progress 900ms ease-in-out infinite;
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.page-enter,
|
|
.table-row-enter,
|
|
.loading-progress {
|
|
animation: none;
|
|
}
|
|
}
|