2026-09-13 21:02:25 +03:30
|
|
|
// Ported from legacy henza_admin/src/assets/scss/ara/farsi.scss
|
|
|
|
|
// Converted .scss -> .less (no Sass features were used; this file is plain CSS).
|
|
|
|
|
//
|
2026-09-14 15:09:11 +03:30
|
|
|
// 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.
|
2026-09-13 21:02:25 +03:30
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
|
font-family: 'p-yek';
|
2026-09-14 15:09:11 +03:30
|
|
|
src: url("../fonts/yekan/iran-yekan-400.woff2") format("woff2");
|
2026-09-13 21:02:25 +03:30
|
|
|
font-weight: normal;
|
2026-09-14 15:09:11 +03:30
|
|
|
font-style: normal;
|
2026-09-13 21:02:25 +03:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
|
font-family: 'p-yek';
|
2026-09-14 15:09:11 +03:30
|
|
|
src: url("../fonts/yekan/iran-yekan-700.woff2") format("woff2");
|
2026-09-13 21:02:25 +03:30
|
|
|
font-weight: bold;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
|
font-family: 'p-yek';
|
2026-09-14 15:09:11 +03:30
|
|
|
src: url("../fonts/yekan/iran-yekan-700.woff2") format("woff2");
|
2026-09-13 21:02:25 +03:30
|
|
|
font-weight: 700;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
|
font-family: 'p-yek';
|
2026-09-14 15:09:11 +03:30
|
|
|
src: url("../fonts/yekan/iran-yekan-400.woff2") format("woff2");
|
2026-09-13 21:02:25 +03:30
|
|
|
font-weight: 400;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
body, * {
|
2026-09-14 15:09:11 +03:30
|
|
|
font-family: p-yek, sans-serif, tahoma;
|
2026-09-13 21:02:25 +03:30
|
|
|
letter-spacing: 0px !important;
|
|
|
|
|
font-size: inherit;
|
|
|
|
|
line-height: inherit;
|
|
|
|
|
}
|
|
|
|
|
|
2026-09-14 15:09:11 +03:30
|
|
|
.ara-icon-button {
|
2026-09-13 21:02:25 +03:30
|
|
|
width: 35px;
|
|
|
|
|
height: 35px;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
}
|