/
AlexPrime
/
mpt
Обзор
Документация
Войти
/
AlexPrime
/
mpt
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
client/src/index.css
376 строк
11 KB
AlexPrime
upload files
04 дек 2025, 08:13
04 дек 2025, 08:13
b3c018d
Код
Авторство
О чём код?
@tailwind base; @tailwind components; @tailwind utilities; :root { --button-outline: rgba(0,0,0, .10); --badge-outline: rgba(0,0,0, .05); --opaque-button-border-intensity: -8; --elevate-1: rgba(0,0,0, .03); --elevate-2: rgba(0,0,0, .08); --background: 210 17% 97%; --foreground: 210 29% 24%; --border: 210 14% 89%; --card: 0 0% 100%; --card-foreground: 210 29% 24%; --card-border: 210 14% 89%; --sidebar: 210 29% 24%; --sidebar-foreground: 0 0% 98%; --sidebar-border: 210 25% 30%; --sidebar-primary: 204 70% 53%; --sidebar-primary-foreground: 0 0% 100%; --sidebar-accent: 210 20% 32%; --sidebar-accent-foreground: 0 0% 98%; --sidebar-ring: 204 70% 53%; --popover: 0 0% 100%; --popover-foreground: 210 29% 24%; --popover-border: 210 14% 89%; --primary: 204 70% 53%; --primary-foreground: 0 0% 100%; --secondary: 210 14% 93%; --secondary-foreground: 210 29% 24%; --muted: 210 14% 93%; --muted-foreground: 210 11% 45%; --accent: 204 20% 94%; --accent-foreground: 204 70% 35%; --destructive: 0 84% 45%; --destructive-foreground: 0 0% 100%; --success: 145 63% 42%; --success-foreground: 0 0% 100%; --warning: 28 87% 51%; --warning-foreground: 0 0% 100%; --input: 210 14% 83%; --ring: 204 70% 53%; --chart-1: 204 70% 45%; --chart-2: 145 63% 42%; --chart-3: 28 87% 51%; --chart-4: 271 70% 45%; --chart-5: 340 75% 45%; --font-sans: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; --font-serif: Georgia, serif; --font-mono: Menlo, monospace; --radius: .5rem; --shadow-2xs: 0px 2px 0px 0px hsl(0 0% 0% / 0.00); --shadow-xs: 0px 2px 0px 0px hsl(0 0% 0% / 0.00); --shadow-sm: 0px 1px 3px 0px hsl(0 0% 0% / 0.08), 0px 1px 2px -1px hsl(0 0% 0% / 0.05); --shadow: 0px 2px 4px 0px hsl(0 0% 0% / 0.08), 0px 1px 2px -1px hsl(0 0% 0% / 0.05); --shadow-md: 0px 4px 6px 0px hsl(0 0% 0% / 0.08), 0px 2px 4px -1px hsl(0 0% 0% / 0.05); --shadow-lg: 0px 8px 15px 0px hsl(0 0% 0% / 0.10), 0px 4px 6px -1px hsl(0 0% 0% / 0.05); --shadow-xl: 0px 12px 25px 0px hsl(0 0% 0% / 0.12), 0px 8px 10px -1px hsl(0 0% 0% / 0.05); --shadow-2xl: 0px 20px 35px 0px hsl(0 0% 0% / 0.15); --tracking-normal: 0em; --spacing: 0.25rem; --sidebar-primary-border: hsl(var(--sidebar-primary)); --sidebar-primary-border: hsl(from hsl(var(--sidebar-primary)) h s calc(l + var(--opaque-button-border-intensity)) / alpha); --sidebar-accent-border: hsl(var(--sidebar-accent)); --sidebar-accent-border: hsl(from hsl(var(--sidebar-accent)) h s calc(l + var(--opaque-button-border-intensity)) / alpha); --primary-border: hsl(var(--primary)); --primary-border: hsl(from hsl(var(--primary)) h s calc(l + var(--opaque-button-border-intensity)) / alpha); --secondary-border: hsl(var(--secondary)); --secondary-border: hsl(from hsl(var(--secondary)) h s calc(l + var(--opaque-button-border-intensity)) / alpha); --muted-border: hsl(var(--muted)); --muted-border: hsl(from hsl(var(--muted)) h s calc(l + var(--opaque-button-border-intensity)) / alpha); --accent-border: hsl(var(--accent)); --accent-border: hsl(from hsl(var(--accent)) h s calc(l + var(--opaque-button-border-intensity)) / alpha); --destructive-border: hsl(var(--destructive)); --destructive-border: hsl(from hsl(var(--destructive)) h s calc(l + var(--opaque-button-border-intensity)) / alpha); } .dark { --button-outline: rgba(255,255,255, .10); --badge-outline: rgba(255,255,255, .05); --opaque-button-border-intensity: 9; --elevate-1: rgba(255,255,255, .04); --elevate-2: rgba(255,255,255, .09); --background: 210 15% 10%; --foreground: 210 10% 92%; --border: 210 12% 20%; --card: 210 15% 13%; --card-foreground: 210 10% 92%; --card-border: 210 12% 18%; --sidebar: 210 20% 14%; --sidebar-foreground: 0 0% 92%; --sidebar-border: 210 15% 20%; --sidebar-primary: 204 70% 53%; --sidebar-primary-foreground: 0 0% 100%; --sidebar-accent: 210 15% 22%; --sidebar-accent-foreground: 0 0% 95%; --sidebar-ring: 204 70% 53%; --popover: 210 15% 15%; --popover-foreground: 210 10% 92%; --popover-border: 210 12% 20%; --primary: 204 70% 53%; --primary-foreground: 0 0% 100%; --secondary: 210 12% 22%; --secondary-foreground: 210 10% 92%; --muted: 210 12% 20%; --muted-foreground: 210 10% 60%; --accent: 204 20% 18%; --accent-foreground: 204 70% 70%; --destructive: 0 84% 45%; --destructive-foreground: 0 0% 100%; --success: 145 63% 42%; --success-foreground: 0 0% 100%; --warning: 28 87% 51%; --warning-foreground: 0 0% 100%; --input: 210 12% 28%; --ring: 204 70% 53%; --chart-1: 204 70% 60%; --chart-2: 145 63% 55%; --chart-3: 28 87% 60%; --chart-4: 271 70% 60%; --chart-5: 340 75% 60%; --shadow-2xs: 0px 2px 0px 0px hsl(0 0% 0% / 0.00); --shadow-xs: 0px 2px 0px 0px hsl(0 0% 0% / 0.00); --shadow-sm: 0px 1px 3px 0px hsl(0 0% 0% / 0.15), 0px 1px 2px -1px hsl(0 0% 0% / 0.08); --shadow: 0px 2px 4px 0px hsl(0 0% 0% / 0.15), 0px 1px 2px -1px hsl(0 0% 0% / 0.08); --shadow-md: 0px 4px 6px 0px hsl(0 0% 0% / 0.15), 0px 2px 4px -1px hsl(0 0% 0% / 0.08); --shadow-lg: 0px 8px 15px 0px hsl(0 0% 0% / 0.18), 0px 4px 6px -1px hsl(0 0% 0% / 0.08); --shadow-xl: 0px 12px 25px 0px hsl(0 0% 0% / 0.20), 0px 8px 10px -1px hsl(0 0% 0% / 0.08); --shadow-2xl: 0px 20px 35px 0px hsl(0 0% 0% / 0.25); --sidebar-primary-border: hsl(var(--sidebar-primary)); --sidebar-primary-border: hsl(from hsl(var(--sidebar-primary)) h s calc(l + var(--opaque-button-border-intensity)) / alpha); --sidebar-accent-border: hsl(var(--sidebar-accent)); --sidebar-accent-border: hsl(from hsl(var(--sidebar-accent)) h s calc(l + var(--opaque-button-border-intensity)) / alpha); --primary-border: hsl(var(--primary)); --primary-border: hsl(from hsl(var(--primary)) h s calc(l + var(--opaque-button-border-intensity)) / alpha); --secondary-border: hsl(var(--secondary)); --secondary-border: hsl(from hsl(var(--secondary)) h s calc(l + var(--opaque-button-border-intensity)) / alpha); --muted-border: hsl(var(--muted)); --muted-border: hsl(from hsl(var(--muted)) h s calc(l + var(--opaque-button-border-intensity)) / alpha); --accent-border: hsl(var(--accent)); --accent-border: hsl(from hsl(var(--accent)) h s calc(l + var(--opaque-button-border-intensity)) / alpha); --destructive-border: hsl(var(--destructive)); --destructive-border: hsl(from hsl(var(--destructive)) h s calc(l + var(--opaque-button-border-intensity)) / alpha); } @layer base { * { @apply border-border; } body { @apply font-sans antialiased bg-background text-foreground; line-height: 1.6; } } @layer utilities { input[type="search"]::-webkit-search-cancel-button { @apply hidden; } [contenteditable][data-placeholder]:empty::before { content: attr(data-placeholder); color: hsl(var(--muted-foreground)); pointer-events: none; } .no-default-hover-elevate {} .no-default-active-elevate {} .toggle-elevate::before, .toggle-elevate-2::before { content: ""; pointer-events: none; position: absolute; inset: 0px; border-radius: inherit; z-index: -1; } .toggle-elevate.toggle-elevated::before { background-color: var(--elevate-2); } .border.toggle-elevate::before { inset: -1px; } .hover-elevate:not(.no-default-hover-elevate), .active-elevate:not(.no-default-active-elevate), .hover-elevate-2:not(.no-default-hover-elevate), .active-elevate-2:not(.no-default-active-elevate) { position: relative; z-index: 0; } .hover-elevate:not(.no-default-hover-elevate)::after, .active-elevate:not(.no-default-active-elevate)::after, .hover-elevate-2:not(.no-default-hover-elevate)::after, .active-elevate-2:not(.no-default-active-elevate)::after { content: ""; pointer-events: none; position: absolute; inset: 0px; border-radius: inherit; z-index: 999; } .hover-elevate:hover:not(.no-default-hover-elevate)::after, .active-elevate:active:not(.no-default-active-elevate)::after { background-color: var(--elevate-1); } .hover-elevate-2:hover:not(.no-default-hover-elevate)::after, .active-elevate-2:active:not(.no-default-active-elevate)::after { background-color: var(--elevate-2); } .border.hover-elevate:not(.no-hover-interaction-elevate)::after, .border.active-elevate:not(.no-active-interaction-elevate)::after, .border.hover-elevate-2:not(.no-hover-interaction-elevate)::after, .border.active-elevate-2:not(.no-active-interaction-elevate)::after, .border.hover-elevate:not(.no-hover-interaction-elevate)::after { inset: -1px; } .script-content { @apply leading-relaxed; } .script-content h2 { @apply text-lg font-semibold mt-6 mb-3 text-foreground border-b border-border pb-2; } .script-content p { @apply mb-3; } .block-question { @apply bg-primary/5 border-l-4 border-primary p-4 my-4 rounded-r-md; } .block-instruction { @apply bg-accent border-l-4 border-accent-foreground/30 p-4 my-4 rounded-r-md; } .block-note { @apply bg-warning/10 border-l-4 border-warning p-4 my-4 rounded-r-md; } .block-theory { @apply bg-secondary p-4 my-4 rounded-md border border-border; } .block-practice { @apply bg-success/10 border-l-4 border-success p-4 my-4 rounded-r-md; } .block-step { @apply bg-muted p-4 my-3 rounded-md border border-border; } @media print { .no-print { display: none !important; } .print-only { display: block !important; } html, body { background: white !important; font-size: 12pt; margin: 0 !important; padding: 0 !important; overflow: visible !important; height: auto !important; color: #000 !important; } * { overflow: visible !important; height: auto !important; color: #000 !important; } div[class*="max-w-"] { max-width: 100% !important; } .p-6 { padding: 0.5in !important; } .script-content { overflow: visible !important; height: auto !important; width: 100% !important; color: #000 !important; } .script-content h2 { page-break-after: avoid; orphans: 3; widows: 3; color: #000 !important; font-weight: bold; } .script-content p { color: #000 !important; } .block-question, .block-instruction, .block-note, .block-theory, .block-practice, .block-step { break-inside: avoid; page-break-inside: avoid; orphans: 2; widows: 2; background: white !important; color: #000 !important; border-color: #333 !important; } .block-question p, .block-instruction p, .block-note p, .block-theory p, .block-practice p, .block-step p { color: #000 !important; } /* Ensure content flows naturally across pages */ p { orphans: 2; widows: 2; color: #000 !important; } /* Darker text for all text elements */ h1, h2, h3, h4, h5, h6 { color: #000 !important; } ul, ol, li { color: #000 !important; } span { color: #000 !important; } } }