Persist workspace tabs in the app shell with Ant Design styling aligned to the desktop top bar, and fix tab bar layout flicker on select. Add shared PageHeader components, query helpers, and missing header state across CRM views; improve mobile shell layout and Vite HMR stability on Windows. Co-authored-by: Cursor <cursoragent@cursor.com>
88 lines
2.7 KiB
CSS
88 lines
2.7 KiB
CSS
/* IRANSans (FaNum) — local self-hosted */
|
|
@font-face {
|
|
font-family: "IRANSans";
|
|
src:
|
|
url("../assets/fonts/iranSans/woff2/IRANSansWeb(FaNum)_UltraLight.woff2") format("woff2"),
|
|
url("../assets/fonts/iranSans/woff/IRANSansWeb(FaNum)_UltraLight.woff") format("woff");
|
|
font-weight: 200;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "IRANSans";
|
|
src:
|
|
url("../assets/fonts/iranSans/woff2/IRANSansWeb(FaNum)_Light.woff2") format("woff2"),
|
|
url("../assets/fonts/iranSans/woff/IRANSansWeb(FaNum)_Light.woff") format("woff");
|
|
font-weight: 300;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "IRANSans";
|
|
src:
|
|
url("../assets/fonts/iranSans/woff2/IRANSansWeb(FaNum).woff2") format("woff2"),
|
|
url("../assets/fonts/iranSans/woff/IRANSansWeb(FaNum).woff") format("woff");
|
|
font-weight: 400;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "IRANSans";
|
|
src:
|
|
url("../assets/fonts/iranSans/woff2/IRANSansWeb(FaNum)_Medium.woff2") format("woff2"),
|
|
url("../assets/fonts/iranSans/woff/IRANSansWeb(FaNum)_Medium.woff") format("woff");
|
|
font-weight: 500;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "IRANSans";
|
|
src:
|
|
url("../assets/fonts/iranSans/woff2/IRANSansWeb(FaNum)_Bold.woff2") format("woff2"),
|
|
url("../assets/fonts/iranSans/woff/IRANSansWeb(FaNum)_Bold.woff") format("woff");
|
|
font-weight: 700;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
|
|
/* 900 → Bold too: Black is a display cut and reads as shouting in UI chrome */
|
|
@font-face {
|
|
font-family: "IRANSans";
|
|
src:
|
|
url("../assets/fonts/iranSans/woff2/IRANSansWeb(FaNum)_Bold.woff2") format("woff2"),
|
|
url("../assets/fonts/iranSans/woff/IRANSansWeb(FaNum)_Bold.woff") format("woff");
|
|
font-weight: 900;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
|
|
/*
|
|
* IRANSans has no semibold cut. 600 is Ant's fontWeightStrong (table heads,
|
|
* titles, <strong>, active items) and the most used weight in the app, so it
|
|
* maps to Medium; mapping it to Bold made the whole UI look heavy.
|
|
*/
|
|
@font-face {
|
|
font-family: "IRANSans";
|
|
src:
|
|
url("../assets/fonts/iranSans/woff2/IRANSansWeb(FaNum)_Medium.woff2") format("woff2"),
|
|
url("../assets/fonts/iranSans/woff/IRANSansWeb(FaNum)_Medium.woff") format("woff");
|
|
font-weight: 600;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
|
|
/* map 800 → Bold (avoid oversized heavy Black in UI) */
|
|
@font-face {
|
|
font-family: "IRANSans";
|
|
src:
|
|
url("../assets/fonts/iranSans/woff2/IRANSansWeb(FaNum)_Bold.woff2") format("woff2"),
|
|
url("../assets/fonts/iranSans/woff/IRANSansWeb(FaNum)_Bold.woff") format("woff");
|
|
font-weight: 800;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|