From a052848acb0ea2a4b4f0659b45d1792255a4cfd8 Mon Sep 17 00:00:00 2001 From: Mohamed Eltayar <152964073+maltayyar2@users.noreply.github.com> Date: Mon, 1 Sep 2025 00:44:42 +0300 Subject: [PATCH] =?UTF-8?q?=D8=AA=D8=AD=D8=B3=D9=8A=D9=86=20msr=5Fsar=5Fsy?= =?UTF-8?q?mbol:=20=D8=A7=D8=B3=D8=AA=D8=AE=D8=AF=D8=A7=D9=85=20=D8=AE?= =?UTF-8?q?=D8=B7=20bukra=20=D8=A8=D8=AF=D9=84=D8=A7=D9=8B=20=D9=85=D9=86?= =?UTF-8?q?=20JannaLT=20=D9=85=D8=B9=20=D8=A7=D9=84=D8=A7=D8=AD=D8=AA?= =?UTF-8?q?=D9=81=D8=A7=D8=B8=20=D8=A8=D8=B1=D9=85=D8=B2=20=D8=A7=D9=84?= =?UTF-8?q?=D8=B1=D9=8A=D8=A7=D9=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../msr_sar_symbol/static/src/css/style.css | 54 ++++++++++++------- 1 file changed, 36 insertions(+), 18 deletions(-) diff --git a/odex25_base/msr_sar_symbol/static/src/css/style.css b/odex25_base/msr_sar_symbol/static/src/css/style.css index 7d104bd3b..d3965c3c6 100644 --- a/odex25_base/msr_sar_symbol/static/src/css/style.css +++ b/odex25_base/msr_sar_symbol/static/src/css/style.css @@ -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 { @@ -118,4 +136,4 @@ body { .fade-in { animation: fadeIn 0.3s ease-in-out; -} +} \ No newline at end of file