1- @import url (" https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&display=swap" );
1+ @import url (' https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&display=swap' );
22/* LIGHT MODE + GENERAL */
33
44.react-calendar {
5- border : unset ;
6- background-color : transparent;
7- font-family : " DM Sans" , sans-serif;
5+ border : 0 px solid !important ;
6+ background-color : transparent;
7+ font-family : ' DM Sans' , sans-serif;
88}
99.react-calendar__navigation__prev2-button {
10- display : none;
10+ display : none;
1111}
1212.react-calendar__navigation__next2-button {
13- display : none;
13+ display : none;
1414}
1515.react-calendar__navigation {
16- align-items : center;
16+ align-items : center;
1717}
1818abbr [title ] {
19- border-bottom : none;
20- -webkit-text-decoration : unset;
21- text-decoration : unset;
22- -webkit-text-decoration : unset;
23- -webkit-text-decoration : unset;
24- text-decoration : unset !important ;
19+ border-bottom : none;
20+ -webkit-text-decoration : unset;
21+ text-decoration : unset;
22+ -webkit-text-decoration : unset;
23+ -webkit-text-decoration : unset;
24+ text-decoration : unset !important ;
2525}
2626.react-calendar__navigation__prev-button {
27- background-color : # 4318ff !important ;
28- border-radius : 10px ;
29- min-width : 34px !important ;
30- height : 34px !important ;
31- color : white;
27+ background-color : # 4318ff !important ;
28+ border-radius : 10px ;
29+ min-width : 34px !important ;
30+ height : 34px !important ;
31+ color : white;
3232}
3333.react-calendar__navigation__next-button {
34- background-color : # 4318ff !important ;
35- border-radius : 10px ;
36- min-width : 34px !important ;
37- width : 34px !important ;
38- height : 34px !important ;
39- color : white;
34+ background-color : # 4318ff !important ;
35+ border-radius : 10px ;
36+ min-width : 34px !important ;
37+ width : 34px !important ;
38+ height : 34px !important ;
39+ color : white;
4040}
4141.react-calendar__navigation__label {
42- font-weight : 700 !important ;
43- font-size : 18px ;
42+ font-weight : 700 !important ;
43+ font-size : 18px ;
4444}
4545.react-calendar__navigation__label : hover ,
4646.react-calendar__navigation__label : focus {
47- background-color : unset !important ;
48- border-radius : 10px ;
47+ background-color : unset !important ;
48+ border-radius : 10px ;
4949}
5050.react-calendar__tile {
51- font-size : 12px ;
52- display : flex;
53- align-items : center;
54- justify-content : center;
55- padding : 0px !important ;
56- height : 34px !important ;
57- color : # 1b2559 ;
51+ font-size : 12px ;
52+ display : flex;
53+ align-items : center;
54+ justify-content : center;
55+ padding : 0px !important ;
56+ height : 34px !important ;
57+ color : # 1b2559 ;
5858}
5959.react-calendar__month-view__weekdays {
60- background-color : # f4f7fe ;
61- border-radius : 10px ;
62- margin-bottom : 6px ;
60+ background-color : # f4f7fe ;
61+ border-radius : 10px ;
62+ margin-bottom : 6px ;
6363}
6464.react-calendar__tile--now ,
6565.react-calendar__tile--now : enabled : hover ,
6666.react-calendar__tile--now : enabled : focus {
67- background-color : # f4f7fe ;
68- border-radius : 10px ;
67+ background-color : # f4f7fe ;
68+ border-radius : 10px ;
6969}
7070.react-calendar__month-view__days__day--neighboringMonth {
71- color : # b0bbd5 ;
71+ color : # b0bbd5 ;
7272}
7373.react-calendar__tile--active ,
7474.react-calendar__tile--active : enabled : hover ,
7575.react-calendar__tile--active : enabled : focus {
76- background : # 4318ff ;
77- border-radius : 10px ;
78- color : white;
76+ background : # 4318ff ;
77+ border-radius : 10px ;
78+ color : white;
7979}
8080.react-calendar__tile--range ,
8181.react-calendar__tile--range : enabled : hover ,
8282.react-calendar__tile--range : enabled : focus {
83- background : # f4f7fe ;
84- color : # 4318ff ;
85- border-radius : 0px ;
83+ background : # f4f7fe ;
84+ color : # 4318ff ;
85+ border-radius : 0px ;
8686}
8787.react-calendar__tile--rangeStart ,
8888.react-calendar__tile--rangeStart : enabled : hover ,
8989.react-calendar__tile--rangeStart : enabled : focus {
90- background : # 4318ff ;
91- border-top-left-radius : 10px ;
92- border-bottom-left-radius : 10px ;
93- color : white;
90+ background : # 4318ff ;
91+ border-top-left-radius : 10px ;
92+ border-bottom-left-radius : 10px ;
93+ color : white;
9494}
9595.react-calendar__tile--rangeEnd ,
9696.react-calendar__tile--rangeEnd : enabled : hover ,
9797.react-calendar__tile--rangeEnd : enabled : focus {
98- background : # 4318ff ;
99- border-top-right-radius : 10px ;
100- border-bottom-right-radius : 10px ;
101- color : white;
98+ background : # 4318ff ;
99+ border-top-right-radius : 10px ;
100+ border-bottom-right-radius : 10px ;
101+ color : white;
102102}
103103
104104/* DARK MODE */
105105
106106body .dark .react-calendar {
107- border-radius : 30px ;
107+ border-radius : 30px ;
108108}
109109body .dark .react-calendar__navigation__prev-button {
110- background-color : # 7551ff !important ;
110+ background-color : # 7551ff !important ;
111111}
112112body .dark .react-calendar__navigation__next-button {
113- background-color : # 7551ff !important ;
114- color : white;
113+ background-color : # 7551ff !important ;
114+ color : white;
115115}
116116body .dark .react-calendar__tile {
117- color : white;
117+ color : white;
118118}
119119body .dark .react-calendar__tile : enabled : hover ,
120120body .dark .react-calendar__tile : enabled : focus {
121- background-color : rgba (255 , 255 , 255 , 0.1 );
121+ background-color : rgba (255 , 255 , 255 , 0.1 );
122122}
123123body .dark .react-calendar__month-view__weekdays {
124- background-color : rgba (255 , 255 , 255 , 0.1 );
124+ background-color : rgba (255 , 255 , 255 , 0.1 );
125125}
126126body .dark .react-calendar__tile--now ,
127127body .dark .react-calendar__tile--now : enabled : hover ,
128128body .dark .react-calendar__tile--now : enabled : focus {
129- background-color : rgba (255 , 255 , 255 , 0.1 );
129+ background-color : rgba (255 , 255 , 255 , 0.1 );
130130}
131131body .dark .react-calendar__month-view__days__day--neighboringMonth {
132- color : # b0bbd5 ;
132+ color : # b0bbd5 ;
133133}
134134body .dark .react-calendar__tile--active ,
135135body .dark .react-calendar__tile--active : enabled : hover ,
136136body .dark .react-calendar__tile--active : enabled : focus {
137- background : # 7551ff ;
138- color : white;
137+ background : # 7551ff ;
138+ color : white;
139139}
140140body .dark .react-calendar__tile--range ,
141141body .dark .react-calendar__tile--range : enabled : hover ,
142142body .dark .react-calendar__tile--range : enabled : focus {
143- background : rgba (255 , 255 , 255 , 0.1 );
144- color : # 7551ff ;
143+ background : rgba (255 , 255 , 255 , 0.1 );
144+ color : # 7551ff ;
145145}
146146body .dark .react-calendar__tile--rangeStart ,
147147body .dark .react-calendar__tile--rangeStart : enabled : hover ,
148148body .dark .react-calendar__tile--rangeStart : enabled : focus {
149- background : # 7551ff ;
150- color : white;
149+ background : # 7551ff ;
150+ color : white;
151151}
152152body .dark .react-calendar__tile--rangeEnd ,
153153body .dark .react-calendar__tile--rangeEnd : enabled : hover ,
154154body .dark .react-calendar__tile--rangeEnd : enabled : focus {
155- background : # 7551ff ;
156- color : white;
157- }
155+ background : # 7551ff ;
156+ color : white;
157+ }
0 commit comments