إضافة @font-face لخطوط bukra وتطبيق الخط على النظام كاملاً مع رمز الريال
This commit is contained in:
parent
470f0067f6
commit
4794da6b8e
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue