// Ported from legacy henza_admin/src/assets/scss/ara/farsi.scss // Converted .scss -> .less (no Sass features were used; this file is plain CSS). // // CSS bugs fixed here (approved departure from byte-faithful porting — see // docs/ADMIN-PORT-PLAN.md rule 2; listed rather than silently applied): // 1. FIXED: the bold/700 @font-face blocks pointed at the SAME // iran-yekan-400.woff2 file even though iran-yekan-700.woff2 exists, so // bold text rendered in the regular weight. They now load the 700 file. // There is no source file for weight 300 (only 400/700 exist on disk), // so that face is dropped rather than mapped to another weight. // 2. FIXED: `format("woff")` was declared for a .woff2 file (wrong format // hint). Corrected to format("woff2"). // 3. FIXED: the `body, *` reset set `font-weight: inherit`, which flattened // every heading's weight (h1..h6 rendered at their parent's weight // instead of bold). Removed; browsers' default heading weights apply. @font-face { font-family: 'p-yek'; src: url("../fonts/yekan/iran-yekan-400.woff2") format("woff2"); font-weight: normal; font-style: normal; } @font-face { font-family: 'p-yek'; src: url("../fonts/yekan/iran-yekan-700.woff2") format("woff2"); font-weight: bold; } @font-face { font-family: 'p-yek'; src: url("../fonts/yekan/iran-yekan-700.woff2") format("woff2"); font-weight: 700; } @font-face { font-family: 'p-yek'; src: url("../fonts/yekan/iran-yekan-400.woff2") format("woff2"); font-weight: 400; } // IRANSans — same font family user-app-v2 ships (assets/fonts/iransans/*, // copied byte-for-byte from apps/user-app-v2/src/assets/styles/fonts/iransans). // Installed as the panel's primary typeface; 'p-yek' (above) stays loaded as // the fallback in the body rule below rather than being removed, in case // anything still depends on its metrics. @font-face { font-family: 'iransans'; font-style: normal; font-weight: 200; src: url('../fonts/iransans/IRANSansWeb_FaNum_UltraLight.woff2') format('woff2'), url('../fonts/iransans/IRANSansWeb_FaNum_UltraLight.woff') format('woff'); } @font-face { font-family: 'iransans'; font-style: normal; font-weight: 300; src: url('../fonts/iransans/IRANSansWeb_FaNum_Light.woff2') format('woff2'), url('../fonts/iransans/IRANSansWeb_FaNum_Light.woff') format('woff'); } @font-face { font-family: 'iransans'; font-style: normal; font-weight: normal; src: url('../fonts/iransans/IRANSansWeb_FaNum.woff2') format('woff2'), url('../fonts/iransans/IRANSansWeb_FaNum.woff') format('woff'); } @font-face { font-family: 'iransans'; font-style: normal; font-weight: 500; src: url('../fonts/iransans/IRANSansWeb_FaNum_Medium.woff2') format('woff2'), url('../fonts/iransans/IRANSansWeb_FaNum_Medium.woff') format('woff'); } @font-face { font-family: 'iransans'; font-style: normal; font-weight: bold; src: url('../fonts/iransans/IRANSansWeb_FaNum_Bold.woff2') format('woff2'), url('../fonts/iransans/IRANSansWeb_FaNum_Bold.woff') format('woff'); } @font-face { font-family: 'iransans'; font-style: normal; font-weight: 900; src: url('../fonts/iransans/IRANSansWeb_FaNum_Black.woff2') format('woff2'), url('../fonts/iransans/IRANSansWeb_FaNum_Black.woff') format('woff'); } body, * { font-family: iransans, p-yek, sans-serif, tahoma; letter-spacing: 0px !important; font-size: inherit; line-height: inherit; } .ara-icon-button { width: 35px; height: 35px; border-radius: 50%; }