Font Bugs Fixed

main
Pedram Keshavarzi 3 years ago
parent 4dab1fe765
commit 7dd731b34d
  1. 16
      src/components/Calendar/CalendarComponents/dateBox.css
  2. 14
      src/components/Calendar/index.css

@ -7,7 +7,7 @@
font-family: IRANSans; font-family: IRANSans;
src: url(../../../assets/font/IRANSans/IRANSans.ttf); src: url(../../../assets/font/IRANSans/IRANSans.ttf);
} */ } */
@font-face { /* @font-face {
font-family: IRANSansX-Bold; font-family: IRANSansX-Bold;
src: url(../../../assets/font/IRANSansX/Webfonts/fonts/woff2/IRANSansX-Bold.woff2) format("woff2"), 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"); url(../../../assets/font/IRANSansX/Webfonts/fonts/woff/IRANSansX-Bold.woff) format("woff");
@ -28,7 +28,7 @@
font-family: IRANSansXFaNum-Bold; font-family: IRANSansXFaNum-Bold;
src: url(../../../assets/font/IRANSansX/Farsi-numerals/IRANSansXFaNum-Bold.ttf) format("woff2"), 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"); url(../../../assets/font/IRANSansX/Farsi-numerals/Webfonts/Woff/IRANSansXFaNum-Bold.woff) format("woff");
} } */
*{ *{
margin: 0; margin: 0;
@ -60,7 +60,7 @@
display: flex; display: flex;
align-items: center; align-items: center;
/* font-family: IRANSansBold; */ /* font-family: IRANSansBold; */
font-family: IRANSansX-Bold; /* font-family: IRANSansX-Bold; */
font-size: 19px; font-size: 19px;
color: #df1452; color: #df1452;
} }
@ -73,14 +73,14 @@
.dbp1-year{ .dbp1-year{
margin-right: 2px; margin-right: 2px;
color: #df1452; color: #df1452;
font-family: IRANSansXFaNum-Bold; /* font-family: IRANSansXFaNum-Bold; */
} }
.date-box-p1-time{ .date-box-p1-time{
display: flex; display: flex;
align-items: center; align-items: center;
/* font-family: IRANSans; */ /* font-family: IRANSans; */
font-family: IRANSansX-Regular; /* font-family: IRANSansX-Regular; */
font-size: 9px; font-size: 9px;
border-radius: 10px; border-radius: 10px;
padding: 1.5px 6px; padding: 1.5px 6px;
@ -108,7 +108,7 @@
.dbp2i-dayname{ .dbp2i-dayname{
font-size: 11px; font-size: 11px;
/* font-family: IRANSans; */ /* font-family: IRANSans; */
font-family: IRANSansX-Regular; /* font-family: IRANSansX-Regular; */
color: #A2B4CB; color: #A2B4CB;
} }
@ -117,7 +117,7 @@
margin-top: 10px; margin-top: 10px;
padding: 2px; padding: 2px;
color: #A9BACF; color: #A9BACF;
font-family: IRANSansXFaNum-Regular; /* font-family: IRANSansXFaNum-Regular; */
} }
.date-box-p2-item:nth-child(7) .dbp2i-dayname{ .date-box-p2-item:nth-child(7) .dbp2i-dayname{
@ -140,7 +140,7 @@
width: 90%; width: 90%;
margin: 0 auto; margin: 0 auto;
margin-top: 18px; margin-top: 18px;
font-family: IRANSansX-Regular; /* font-family: IRANSansX-Regular; */
font-size: 13px; font-size: 13px;
color: #013273; color: #013273;
} }

@ -1,5 +1,5 @@
.Calendar *{ .Calendar *{
font-family: 'iranSans'; /* font-family: 'iranSans'; */
} }
.DatePicker { .DatePicker {
@ -12,7 +12,7 @@
background: #fff; background: #fff;
border: 1px solid rgba(0, 0, 0, 0.4); border: 1px solid rgba(0, 0, 0, 0.4);
padding: 0.6em 1.2em; padding: 0.6em 1.2em;
font-family:'iranSans'; /* font-family:'iranSans'; */
text-align: center; text-align: center;
font-size: 12px; font-size: 12px;
border-radius: 7px; border-radius: 7px;
@ -85,7 +85,7 @@
--cl-color-black: #444444; --cl-color-black: #444444;
--cl-color-disabled: #d4d4d4; --cl-color-disabled: #d4d4d4;
--cl-color-error: #ff2929; --cl-color-error: #ff2929;
font-family:'iranSans'; /* font-family:'iranSans'; */
font-size: 10px; font-size: 10px;
background: rgba(245, 245, 245, 0.53); background: rgba(245, 245, 245, 0.53);
border:1px solid #DBDBDB; border:1px solid #DBDBDB;
@ -105,7 +105,7 @@
--cl-color-black: #444444; --cl-color-black: #444444;
--cl-color-disabled: #d4d4d4; --cl-color-disabled: #d4d4d4;
--cl-color-error: #ff2929; --cl-color-error: #ff2929;
font-family:'iranSans'; /* font-family:'iranSans'; */
font-size: 10px; font-size: 10px;
background: rgba(255, 255, 255, 1); background: rgba(255, 255, 255, 1);
border:1px solid #EDF2FB; border:1px solid #EDF2FB;
@ -727,7 +727,7 @@
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
font-size: 12px; font-size: 12px;
font-family: 'IranSans'; /* font-family: 'IranSans'; */
padding: 3px; padding: 3px;
} }
.Calendar__footer .footer__Events.dashboard{ .Calendar__footer .footer__Events.dashboard{
@ -736,7 +736,7 @@
width: 100%; width: 100%;
align-items: flex-start; align-items: flex-start;
font-size: 12px; font-size: 12px;
font-family: 'IranSans'; /* font-family: 'IranSans'; */
margin-top: 10px; margin-top: 10px;
padding: 1em 2em; padding: 1em 2em;
border-top: 1px solid #EDF2FB; border-top: 1px solid #EDF2FB;
@ -773,7 +773,7 @@
padding: 7.5px; padding: 7.5px;
font-size: 12px; font-size: 12px;
color:white; color:white;
font-family: 'iranSans'; /* font-family: 'iranSans'; */
border-radius: 50%; border-radius: 50%;
float: left; float: left;
margin: 15px; margin: 15px;

Loading…
Cancel
Save