From 7dd731b34db5665b8b197e913cedf8b105a17d4f Mon Sep 17 00:00:00 2001 From: Pkpedram Date: Wed, 16 Feb 2022 16:48:38 +0330 Subject: [PATCH] Font Bugs Fixed --- .../Calendar/CalendarComponents/dateBox.css | 16 ++++++++-------- src/components/Calendar/index.css | 14 +++++++------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/components/Calendar/CalendarComponents/dateBox.css b/src/components/Calendar/CalendarComponents/dateBox.css index dfd8ad7..00a7471 100644 --- a/src/components/Calendar/CalendarComponents/dateBox.css +++ b/src/components/Calendar/CalendarComponents/dateBox.css @@ -7,7 +7,7 @@ font-family: IRANSans; src: url(../../../assets/font/IRANSans/IRANSans.ttf); } */ -@font-face { +/* @font-face { font-family: IRANSansX-Bold; src: url(../../../assets/font/IRANSansX/Webfonts/fonts/woff2/IRANSansX-Bold.woff2) format("woff2"), url(../../../assets/font/IRANSansX/Webfonts/fonts/woff/IRANSansX-Bold.woff) format("woff"); @@ -28,7 +28,7 @@ font-family: IRANSansXFaNum-Bold; src: url(../../../assets/font/IRANSansX/Farsi-numerals/IRANSansXFaNum-Bold.ttf) format("woff2"), url(../../../assets/font/IRANSansX/Farsi-numerals/Webfonts/Woff/IRANSansXFaNum-Bold.woff) format("woff"); - } + } */ *{ margin: 0; @@ -60,7 +60,7 @@ display: flex; align-items: center; /* font-family: IRANSansBold; */ - font-family: IRANSansX-Bold; + /* font-family: IRANSansX-Bold; */ font-size: 19px; color: #df1452; } @@ -73,14 +73,14 @@ .dbp1-year{ margin-right: 2px; color: #df1452; - font-family: IRANSansXFaNum-Bold; + /* font-family: IRANSansXFaNum-Bold; */ } .date-box-p1-time{ display: flex; align-items: center; /* font-family: IRANSans; */ - font-family: IRANSansX-Regular; + /* font-family: IRANSansX-Regular; */ font-size: 9px; border-radius: 10px; padding: 1.5px 6px; @@ -108,7 +108,7 @@ .dbp2i-dayname{ font-size: 11px; /* font-family: IRANSans; */ - font-family: IRANSansX-Regular; + /* font-family: IRANSansX-Regular; */ color: #A2B4CB; } @@ -117,7 +117,7 @@ margin-top: 10px; padding: 2px; color: #A9BACF; - font-family: IRANSansXFaNum-Regular; + /* font-family: IRANSansXFaNum-Regular; */ } .date-box-p2-item:nth-child(7) .dbp2i-dayname{ @@ -140,7 +140,7 @@ width: 90%; margin: 0 auto; margin-top: 18px; - font-family: IRANSansX-Regular; + /* font-family: IRANSansX-Regular; */ font-size: 13px; color: #013273; } diff --git a/src/components/Calendar/index.css b/src/components/Calendar/index.css index 80bf162..2f6a530 100644 --- a/src/components/Calendar/index.css +++ b/src/components/Calendar/index.css @@ -1,5 +1,5 @@ .Calendar *{ - font-family: 'iranSans'; + /* font-family: 'iranSans'; */ } .DatePicker { @@ -12,7 +12,7 @@ background: #fff; border: 1px solid rgba(0, 0, 0, 0.4); padding: 0.6em 1.2em; - font-family:'iranSans'; + /* font-family:'iranSans'; */ text-align: center; font-size: 12px; border-radius: 7px; @@ -85,7 +85,7 @@ --cl-color-black: #444444; --cl-color-disabled: #d4d4d4; --cl-color-error: #ff2929; - font-family:'iranSans'; + /* font-family:'iranSans'; */ font-size: 10px; background: rgba(245, 245, 245, 0.53); border:1px solid #DBDBDB; @@ -105,7 +105,7 @@ --cl-color-black: #444444; --cl-color-disabled: #d4d4d4; --cl-color-error: #ff2929; - font-family:'iranSans'; + /* font-family:'iranSans'; */ font-size: 10px; background: rgba(255, 255, 255, 1); border:1px solid #EDF2FB; @@ -727,7 +727,7 @@ flex-direction: column; align-items: center; font-size: 12px; - font-family: 'IranSans'; + /* font-family: 'IranSans'; */ padding: 3px; } .Calendar__footer .footer__Events.dashboard{ @@ -736,7 +736,7 @@ width: 100%; align-items: flex-start; font-size: 12px; - font-family: 'IranSans'; + /* font-family: 'IranSans'; */ margin-top: 10px; padding: 1em 2em; border-top: 1px solid #EDF2FB; @@ -773,7 +773,7 @@ padding: 7.5px; font-size: 12px; color:white; - font-family: 'iranSans'; + /* font-family: 'iranSans'; */ border-radius: 50%; float: left; margin: 15px;