admin user and ui panel
This commit is contained in:
@@ -39,8 +39,61 @@
|
||||
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: p-yek, sans-serif, tahoma;
|
||||
font-family: iransans, p-yek, sans-serif, tahoma;
|
||||
letter-spacing: 0px !important;
|
||||
font-size: inherit;
|
||||
line-height: inherit;
|
||||
|
||||
@@ -21,11 +21,11 @@
|
||||
z-index: 2500000;
|
||||
}
|
||||
|
||||
/* Deliberate: keep the tab strip itself LTR-ordered while each tab's content
|
||||
stays RTL, matching legacy's reading order for horizontal tab rows. */
|
||||
.ant-tabs-nav {
|
||||
direction: ltr;
|
||||
}
|
||||
.ant-tabs-nav .ant-tabs-tab {
|
||||
direction: rtl;
|
||||
}
|
||||
/* REMOVED: an `.ant-tabs-nav { direction: ltr }` override used to live here,
|
||||
forcing the tab strip itself to lay out left-to-right while each tab's
|
||||
content stayed RTL. That fought ADV4's own RTL handling (ConfigProvider's
|
||||
`direction="rtl"` in App.vue) instead of matching it: the first-defined tab
|
||||
pane (e.g. "برند ها" in manage/Const.vue) rendered at the visual LEFT edge
|
||||
instead of the RIGHT edge a Farsi reader expects tab order to start from.
|
||||
ADV4 already reorders tabs correctly for RTL on its own — this override was
|
||||
silently undoing that, so it is simply deleted rather than fixed. */
|
||||
|
||||
Reference in New Issue
Block a user