[FIX] font family issue effects on xml code editor
This commit is contained in:
parent
5fdc688817
commit
9baf6cca4a
|
|
@ -1,11 +1,6 @@
|
|||
/* Variables */
|
||||
:root {
|
||||
--primary-color: #2f704a;
|
||||
--riyals-color: #2f704a;
|
||||
--font-size-base: 16px;
|
||||
--line-height-base: 1.5;
|
||||
--spacing-unit: 8px;
|
||||
--container-padding: calc(var(--spacing-unit) * 2);
|
||||
}
|
||||
|
||||
/* Font Faces */
|
||||
|
|
@ -13,54 +8,17 @@
|
|||
font-family: 'saudi_riyal';
|
||||
src: url('../fonts/saudi_riyal.eot?bdfc4l');
|
||||
src: url('../fonts/saudi_riyal.eot?bdfc4l#iefix') format('embedded-opentype'),
|
||||
url('../fonts/saudi_riyal.ttf?bdfc4l') format('truetype'),
|
||||
url('../fonts/saudi_riyal.woff?bdfc4l') format('woff'),
|
||||
url('../fonts/saudi_riyal.svg?bdfc4l#saudi_riyal') format('svg');
|
||||
url('../fonts/saudi_riyal.ttf?bdfc4l') format('truetype'),
|
||||
url('../fonts/saudi_riyal.woff?bdfc4l') format('woff'),
|
||||
url('../fonts/saudi_riyal.svg?bdfc4l#saudi_riyal') format('svg');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
font-display: block;
|
||||
}
|
||||
|
||||
/* إضافة خطوط 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 {
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/* تطبيق خط bukra على النظام كاملاً */
|
||||
body {
|
||||
background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
|
||||
min-height: 100vh;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-family: "bukra", 'saudi_riyal', serif !important;
|
||||
}
|
||||
|
||||
/* تطبيق الخط على جميع العناصر */
|
||||
*:not(.fa):not(.oi) {
|
||||
font-family: "bukra", 'saudi_riyal', serif !important;
|
||||
}
|
||||
|
||||
/* Icon styling */
|
||||
[class^="icon-"], [class*=" icon-"] {
|
||||
[class^="icon-"],
|
||||
[class*=" icon-"] {
|
||||
font-family: 'saudi_riyal' !important;
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
|
|
@ -75,22 +33,6 @@ body {
|
|||
color: var(--riyals-color);
|
||||
}
|
||||
|
||||
/* Typography Classes */
|
||||
.text-primary {
|
||||
color: var(--primary-color);
|
||||
}
|
||||
|
||||
.text-bold {
|
||||
font-family: "bukra", 'saudi_riyal', serif !important;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* Layout Components */
|
||||
.page, .header, .footer {
|
||||
font-family: "bukra", 'saudi_riyal', serif !important;
|
||||
padding: var(--container-padding);
|
||||
}
|
||||
|
||||
/* دعم رمز الريال في الحقول النقدية */
|
||||
.oe_currency_value,
|
||||
.o_account_report_column_value,
|
||||
|
|
@ -103,52 +45,5 @@ span[t-field-options*="currency"],
|
|||
.o_form_field_monetary,
|
||||
.o_list_monetary,
|
||||
.currency_symbol {
|
||||
font-family: "bukra", 'saudi_riyal', serif !important;
|
||||
font-family: 'saudi_riyal', serif !important;
|
||||
}
|
||||
|
||||
/* RTL Support */
|
||||
.rtl *:not(.fa),
|
||||
.o_rtl *:not(.fa) {
|
||||
font-family: "bukra", 'saudi_riyal', serif !important;
|
||||
}
|
||||
|
||||
/* Responsive Typography */
|
||||
@media screen and (max-width: 768px) {
|
||||
:root {
|
||||
--font-size-base: 14px;
|
||||
--container-padding: var(--spacing-unit);
|
||||
}
|
||||
}
|
||||
|
||||
/* Print Styles */
|
||||
@media print {
|
||||
.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 {
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.footer {
|
||||
bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
/* Animations */
|
||||
@keyframes fadeIn {
|
||||
from { opacity: 0; }
|
||||
to { opacity: 1; }
|
||||
}
|
||||
|
||||
.fade-in {
|
||||
animation: fadeIn 0.3s ease-in-out;
|
||||
}
|
||||
Loading…
Reference in New Issue