Ship site UI checklist, move admin to /mstcontroller, and add safe taxonomy label migration.
Deploy edu.mstaut.ir / deploy (push) Has been cancelled
Deploy edu.mstaut.ir / deploy (push) Has been cancelled
Production already has migrations through 008; 009 only updates four seed labels by id. Faculty sync remains upsert-by-email/name and does not wipe curated data. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
3eea1c35a6
commit
2b0db26a93
171 files changed
+1477
-807
No files matched your search
+78
-67
@@ -53,68 +53,77 @@
|
||||
}
|
||||
|
||||
:root {
|
||||
/* AUT red + gold mapped into standard shadcn tokens */
|
||||
--background: #ffffff;
|
||||
--foreground: #1a1a1a;
|
||||
/*
|
||||
AUT Open Education — pixel palette (navy + white + cool gray)
|
||||
primary #1E3358 · accent #0C2461 · bg #F5F6F8 · surface #FFF · border #E3E7EE · soft #EEF2F8
|
||||
Map surface → card; surface-soft → secondary/muted. No --surface* parallel tokens.
|
||||
*/
|
||||
--background: #f5f6f8;
|
||||
--foreground: #1e3358;
|
||||
--card: #ffffff;
|
||||
--card-foreground: #1a1a1a;
|
||||
--card-foreground: #1e3358;
|
||||
--popover: #ffffff;
|
||||
--popover-foreground: #1a1a1a;
|
||||
--primary: #a31f34;
|
||||
--popover-foreground: #1e3358;
|
||||
--primary: #1e3358;
|
||||
--primary-foreground: #ffffff;
|
||||
--secondary: #f0efeb;
|
||||
--secondary-foreground: #1a1a1a;
|
||||
--muted: #f7f6f3;
|
||||
--muted-foreground: #5c5c5c;
|
||||
--accent: #d9dee5;
|
||||
--accent-foreground: #16202c;
|
||||
--secondary: #eef2f8;
|
||||
--secondary-foreground: #1e3358;
|
||||
--muted: #eef2f8;
|
||||
--muted-foreground: #5c677a;
|
||||
--accent: #0c2461;
|
||||
--accent-foreground: #ffffff;
|
||||
--destructive: oklch(0.577 0.245 27.325);
|
||||
--border: #ebe9e4;
|
||||
--input: #ebe9e4;
|
||||
--ring: #a31f34;
|
||||
--border: #e3e7ee;
|
||||
--input: #e3e7ee;
|
||||
--ring: #0c2461;
|
||||
--radius: 0.625rem;
|
||||
|
||||
--chart-1: #a31f34;
|
||||
--chart-2: #0c2d5a;
|
||||
--chart-3: #061525;
|
||||
--chart-4: #9aa5b1;
|
||||
--chart-5: #5c5c5c;
|
||||
--chart-1: #0c2461;
|
||||
--chart-2: #1e3358;
|
||||
--chart-3: #1e3358;
|
||||
--chart-4: #5c677a;
|
||||
--chart-5: #9aa3b2;
|
||||
--sidebar: #ffffff;
|
||||
--sidebar-foreground: #1a1a1a;
|
||||
--sidebar-primary: #a31f34;
|
||||
--sidebar-foreground: #1e3358;
|
||||
--sidebar-primary: #1e3358;
|
||||
--sidebar-primary-foreground: #ffffff;
|
||||
--sidebar-accent: #f0efeb;
|
||||
--sidebar-accent-foreground: #1a1a1a;
|
||||
--sidebar-border: #e2e0db;
|
||||
--sidebar-ring: #a31f34;
|
||||
--sidebar-accent: #eef2f8;
|
||||
--sidebar-accent-foreground: #1e3358;
|
||||
--sidebar-border: #e3e7ee;
|
||||
--sidebar-ring: #0c2461;
|
||||
}
|
||||
|
||||
.dark {
|
||||
--background: #0a0a0a;
|
||||
--foreground: #f7f6f3;
|
||||
--card: #141414;
|
||||
--card-foreground: #f7f6f3;
|
||||
--popover: #141414;
|
||||
--popover-foreground: #f7f6f3;
|
||||
--primary: #c43a4e;
|
||||
--primary-foreground: #ffffff;
|
||||
--secondary: #1f1f1f;
|
||||
--secondary-foreground: #f7f6f3;
|
||||
--muted: #1a1a1a;
|
||||
--muted-foreground: #a3a3a3;
|
||||
--accent: #c7ced8;
|
||||
--accent-foreground: #111827;
|
||||
--border: #2a2a2a;
|
||||
--input: #2a2a2a;
|
||||
--ring: #c43a4e;
|
||||
--sidebar: #141414;
|
||||
--sidebar-foreground: #f7f6f3;
|
||||
--sidebar-primary: #c43a4e;
|
||||
--sidebar-primary-foreground: #ffffff;
|
||||
--sidebar-accent: #1f1f1f;
|
||||
--sidebar-accent-foreground: #f7f6f3;
|
||||
--sidebar-border: #2a2a2a;
|
||||
--sidebar-ring: #c43a4e;
|
||||
--background: #0c2461;
|
||||
--foreground: #f5f6f8;
|
||||
--card: #1e3358;
|
||||
--card-foreground: #f5f6f8;
|
||||
--popover: #1e3358;
|
||||
--popover-foreground: #f5f6f8;
|
||||
--primary: #eef2f8;
|
||||
--primary-foreground: #1e3358;
|
||||
--secondary: #243a5c;
|
||||
--secondary-foreground: #f5f6f8;
|
||||
--muted: #243a5c;
|
||||
--muted-foreground: #9aa3b2;
|
||||
--accent: #e3e7ee;
|
||||
--accent-foreground: #0c2461;
|
||||
--border: #2a4060;
|
||||
--input: #2a4060;
|
||||
--ring: #eef2f8;
|
||||
--chart-1: #eef2f8;
|
||||
--chart-2: #1e3358;
|
||||
--chart-3: #0c2461;
|
||||
--chart-4: #9aa3b2;
|
||||
--chart-5: #5c677a;
|
||||
--sidebar: #1e3358;
|
||||
--sidebar-foreground: #f5f6f8;
|
||||
--sidebar-primary: #eef2f8;
|
||||
--sidebar-primary-foreground: #1e3358;
|
||||
--sidebar-accent: #243a5c;
|
||||
--sidebar-accent-foreground: #f5f6f8;
|
||||
--sidebar-border: #2a4060;
|
||||
--sidebar-ring: #eef2f8;
|
||||
}
|
||||
|
||||
@layer base {
|
||||
@@ -129,10 +138,20 @@
|
||||
}
|
||||
body {
|
||||
@apply bg-background text-foreground antialiased;
|
||||
font-size: 16px;
|
||||
line-height: 1.65;
|
||||
/* Vazirmatn reads best ~16px with a slightly open Persian line-height */
|
||||
font-size: 1rem;
|
||||
line-height: 1.75;
|
||||
text-align: start;
|
||||
}
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
font-family: var(--font-heading), var(--font-sans), ui-sans-serif, system-ui,
|
||||
sans-serif;
|
||||
}
|
||||
html,
|
||||
body {
|
||||
width: 100%;
|
||||
@@ -197,7 +216,7 @@
|
||||
height: 0.3rem;
|
||||
border-radius: 999px;
|
||||
content: "";
|
||||
background: var(--primary);
|
||||
background: var(--accent);
|
||||
opacity: 0;
|
||||
transform: translateX(50%) scale(0);
|
||||
transition: opacity 200ms ease, transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
|
||||
@@ -216,21 +235,13 @@
|
||||
|
||||
.motion-section[data-tone="dark"] {
|
||||
background-image:
|
||||
radial-gradient(circle at 10% 20%, color-mix(in oklab, var(--primary) 30%, transparent), transparent 28%),
|
||||
radial-gradient(circle at 90% 80%, color-mix(in oklab, var(--accent) 10%, transparent), transparent 25%);
|
||||
radial-gradient(circle at 10% 20%, color-mix(in oklab, var(--primary-foreground) 12%, transparent), transparent 28%),
|
||||
radial-gradient(circle at 90% 80%, color-mix(in oklab, var(--secondary) 18%, transparent), transparent 25%);
|
||||
}
|
||||
|
||||
/* Neural-field signal pulse along active synapses (MetamorphField) */
|
||||
@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
|
||||
@keyframes metamorph-pulse {
|
||||
to {
|
||||
stroke-dashoffset: -126;
|
||||
}
|
||||
}
|
||||
|
||||
.metamorph-pulse {
|
||||
animation: metamorph-pulse 2.8s linear infinite;
|
||||
}
|
||||
.motion-section[data-tone="accent"] {
|
||||
background-image:
|
||||
radial-gradient(circle at 85% 15%, color-mix(in oklab, var(--accent-foreground) 10%, transparent), transparent 30%);
|
||||
}
|
||||
|
||||
/* Scroll-driven reveals: desktop only — expensive while scrolling on phones */
|
||||
|
||||
Reference in new issue
Block a user