Merge pull request #4483 from expsa/eltayar

enhance_msr_sar_symbol
This commit is contained in:
Mohamed Eltayar 2025-09-01 00:58:04 +03:00 committed by GitHub
commit b2bd5b8fd6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 53 additions and 20 deletions

View File

@ -1,9 +1,9 @@
{
"name": "Saudi Riyal (SAR) Currency Symbol | SAR Symbol",
"version": "13.0.1.0.0",
"description": "Saudi Riyal (SAR) Currency New Symbol",
"summary": "SAR New Symbol",
"author": "MACHINSER",
"name": "Saudi Riyal (SAR) Currency Symbol | SAR Symbol - Enhanced",
"version": "13.0.1.1.0",
"description": "Saudi Riyal (SAR) Currency New Symbol - Enhanced with Theme Compatibility",
"summary": "SAR New Symbol - Compatible with bukra theme font",
"author": "MACHINSER, Enhanced by Expert SA",
"website": "https://machinser.com",
"license": "OPL-1",
"category": "Tools",
@ -18,4 +18,4 @@
"images": ["static/description/banner.gif"],
"auto_install": False,
"application": False,
}
}

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,14 +21,21 @@
font-display: block;
}
/* إضافة خطوط bukra */
@font-face {
font-family: 'JannaLTRegular';
src: url('../fonts/ArbFONTS-ArbFONTS-Janna-LT-Regular.ttf') format('truetype');
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: 'JannaLTBold';
src: url('../fonts/ArbFONTS-ArbFONTS-Janna-LT-Bold.ttf') format('truetype');
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 */
@ -37,14 +45,20 @@
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: Arial, sans-serif;
}
font-family: "bukra", 'saudi_riyal', serif !important;
}
/* تطبيق الخط على جميع العناصر */
*:not(.fa):not(.oi) {
font-family: "bukra", 'saudi_riyal', serif !important;
}
/* Icon styling */
[class^="icon-"], [class*=" icon-"] {
font-family: 'saudi_riyal' !important;
@ -54,7 +68,7 @@ body {
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
}
.icon-saudi_riyal:before {
content: "\e900";
@ -67,18 +81,35 @@ body {
}
.text-bold {
font-family: 'JannaLTBold', 'saudi_riyal', sans-serif !important;
font-family: "bukra", 'saudi_riyal', serif !important;
font-weight: bold;
}
/* Layout Components */
.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) {
font-family: 'JannaLTRegular', 'saudi_riyal', sans-serif !important;
/* دعم رمز الريال في الحقول النقدية */
.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"],
.o_form_field_monetary,
.o_list_monetary,
.currency_symbol {
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 */
@ -94,11 +125,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 +151,4 @@ body {
.fade-in {
animation: fadeIn 0.3s ease-in-out;
}
}