تحسين msr_sar_symbol: استخدام خط bukra بدلاً من JannaLT مع الاحتفاظ برمز الريال

This commit is contained in:
Mohamed Eltayar 2025-09-01 00:44:42 +03:00
parent 227a77904b
commit a052848acb
1 changed files with 36 additions and 18 deletions

View File

@ -7,6 +7,7 @@
--spacing-unit: 8px;
--container-padding: calc(var(--spacing-unit) * 2);
}
/* Font Faces */
@font-face {
font-family: 'saudi_riyal';
@ -20,15 +21,8 @@
font-display: block;
}
@font-face {
font-family: 'JannaLTRegular';
src: url('../fonts/ArbFONTS-ArbFONTS-Janna-LT-Regular.ttf') format('truetype');
}
@font-face {
font-family: 'JannaLTBold';
src: url('../fonts/ArbFONTS-ArbFONTS-Janna-LT-Bold.ttf') format('truetype');
}
/* استخدام خط bukra من الثيم بدلاً من JannaLT */
/* تم حذف @font-face للـ JannaLT لتوفير المساحة */
/* Base Styles */
*, *::before, *::after {
@ -43,8 +37,9 @@ body {
min-height: 100vh;
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
}
font-family: inherit; /* يرث من الثيم */
}
/* Icon styling */
[class^="icon-"], [class*=" icon-"] {
font-family: 'saudi_riyal' !important;
@ -54,7 +49,7 @@ body {
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
}
.icon-saudi_riyal:before {
content: "\e900";
@ -67,18 +62,39 @@ body {
}
.text-bold {
font-family: 'JannaLTBold', 'saudi_riyal', sans-serif !important;
font-family: 'bukra', 'saudi_riyal', serif !important;
font-weight: bold;
}
/* Layout Components */
/* Layout Components - استخدام bukra بدلاً من JannaLT */
.page, .header, .footer {
font-family: 'JannaLTRegular', 'saudi_riyal', sans-serif !important;
font-family: 'bukra', 'saudi_riyal', serif !important;
padding: var(--container-padding);
}
/* Global Font Exception */
*:not(.fa):not(.oi) {
/* دعم رمز الريال في الحقول النقدية */
.oe_currency_value,
.o_account_report_column_value,
.o_account_report_summary_value,
[data-currency="SAR"],
.o_monetary_field,
.o_field_monetary,
.currency_field,
span[t-field-options*="currency"] {
font-family: 'bukra', 'saudi_riyal', serif !important;
}
/* إزالة التأثير العام على النظام - السماح لخط الثيم بالعمل */
/* تم تعليق هذا السطر لإزالة التعارض */
/* *:not(.fa):not(.oi) {
font-family: 'JannaLTRegular', 'saudi_riyal', sans-serif !important;
} */
/* الاحتفاظ فقط بدعم العناصر النقدية */
.o_form_field_monetary,
.o_list_monetary,
.currency_symbol {
font-family: 'bukra', 'saudi_riyal', serif !important;
}
/* Responsive Typography */
@ -94,11 +110,13 @@ body {
.page {
margin: 0;
padding: 0;
font-family: 'bukra', 'saudi_riyal', serif !important;
}
.header, .footer {
position: fixed;
width: 100%;
font-family: 'bukra', 'saudi_riyal', serif !important;
}
.header {