From 4794da6b8e5db05762534df75e52ca038836a4e1 Mon Sep 17 00:00:00 2001 From: Mohamed Eltayar <152964073+maltayyar2@users.noreply.github.com> Date: Mon, 1 Sep 2025 00:55:45 +0300 Subject: [PATCH] =?UTF-8?q?=D8=A5=D8=B6=D8=A7=D9=81=D8=A9=20@font-face=20?= =?UTF-8?q?=D9=84=D8=AE=D8=B7=D9=88=D8=B7=20bukra=20=D9=88=D8=AA=D8=B7?= =?UTF-8?q?=D8=A8=D9=8A=D9=82=20=D8=A7=D9=84=D8=AE=D8=B7=20=D8=B9=D9=84?= =?UTF-8?q?=D9=89=20=D8=A7=D9=84=D9=86=D8=B8=D8=A7=D9=85=20=D9=83=D8=A7?= =?UTF-8?q?=D9=85=D9=84=D8=A7=D9=8B=20=D9=85=D8=B9=20=D8=B1=D9=85=D8=B2=20?= =?UTF-8?q?=D8=A7=D9=84=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 | 57 ++++++++++++------- 1 file changed, 36 insertions(+), 21 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 d3965c3c6..bc6c950ad 100644 --- a/odex25_base/msr_sar_symbol/static/src/css/style.css +++ b/odex25_base/msr_sar_symbol/static/src/css/style.css @@ -21,8 +21,22 @@ font-display: block; } -/* استخدام خط bukra من الثيم بدلاً من JannaLT */ -/* تم حذف @font-face للـ JannaLT لتوفير المساحة */ +/* إضافة خطوط bukra */ +@font-face { + font-family: "bukra"; + font-style: normal; + font-weight: 400; + src: url(../fonts/29ltbukraregular.otf) format("opentype"), + url(../fonts/29ltbukralight.ttf) format("truetype"); +} + +@font-face { + font-family: "bukra"; + font-style: normal; + font-weight: 700; + src: url(../fonts/29ltbukrabold.otf) format("opentype"), + url(../fonts/alfont_com_خط-بكرا-عريض.ttf) format("truetype"); +} /* Base Styles */ *, *::before, *::after { @@ -31,13 +45,18 @@ padding: 0; } -/* Gradient background for the body */ +/* تطبيق خط bukra على النظام كاملاً */ body { background: linear-gradient(135deg, var(--primary-light), var(--primary-color)); min-height: 100vh; margin: 0; padding: 0; - font-family: inherit; /* يرث من الثيم */ + font-family: "bukra", 'saudi_riyal', serif !important; +} + +/* تطبيق الخط على جميع العناصر */ +*:not(.fa):not(.oi) { + font-family: "bukra", 'saudi_riyal', serif !important; } /* Icon styling */ @@ -62,13 +81,13 @@ body { } .text-bold { - font-family: 'bukra', 'saudi_riyal', serif !important; + font-family: "bukra", 'saudi_riyal', serif !important; font-weight: bold; } -/* Layout Components - استخدام bukra بدلاً من JannaLT */ +/* Layout Components */ .page, .header, .footer { - font-family: 'bukra', 'saudi_riyal', serif !important; + font-family: "bukra", 'saudi_riyal', serif !important; padding: var(--container-padding); } @@ -80,21 +99,17 @@ body { .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; -} */ - -/* الاحتفاظ فقط بدعم العناصر النقدية */ +span[t-field-options*="currency"], .o_form_field_monetary, .o_list_monetary, .currency_symbol { - font-family: 'bukra', 'saudi_riyal', serif !important; + font-family: "bukra", 'saudi_riyal', serif !important; +} + +/* RTL Support */ +.rtl *:not(.fa), +.o_rtl *:not(.fa) { + font-family: "bukra", 'saudi_riyal', serif !important; } /* Responsive Typography */ @@ -110,13 +125,13 @@ span[t-field-options*="currency"] { .page { margin: 0; padding: 0; - font-family: 'bukra', 'saudi_riyal', serif !important; + font-family: "bukra", 'saudi_riyal', serif !important; } .header, .footer { position: fixed; width: 100%; - font-family: 'bukra', 'saudi_riyal', serif !important; + font-family: "bukra", 'saudi_riyal', serif !important; } .header {