@syncfusion/ej2-calendars 19.4.54 → 20.1.47

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (168) hide show
  1. package/dist/ej2-calendars.umd.min.js +2 -2
  2. package/dist/ej2-calendars.umd.min.js.map +1 -1
  3. package/dist/es6/ej2-calendars.es2015.js +1 -1
  4. package/dist/es6/ej2-calendars.es2015.js.map +1 -1
  5. package/dist/es6/ej2-calendars.es5.js +1 -1
  6. package/dist/es6/ej2-calendars.es5.js.map +1 -1
  7. package/dist/global/ej2-calendars.min.js +2 -2
  8. package/dist/global/ej2-calendars.min.js.map +1 -1
  9. package/dist/global/index.d.ts +1 -1
  10. package/package.json +10 -10
  11. package/src/datepicker/datepicker.js +1 -1
  12. package/src/timepicker/timepicker.d.ts +4 -4
  13. package/styles/bootstrap-dark.css +82 -31
  14. package/styles/bootstrap.css +82 -31
  15. package/styles/bootstrap4.css +82 -31
  16. package/styles/bootstrap5-dark.css +140 -45
  17. package/styles/bootstrap5.css +134 -39
  18. package/styles/calendar/_bootstrap-dark-definition.scss +9 -4
  19. package/styles/calendar/_bootstrap-definition.scss +9 -4
  20. package/styles/calendar/_bootstrap4-definition.scss +9 -5
  21. package/styles/calendar/_bootstrap5-definition.scss +29 -19
  22. package/styles/calendar/_fabric-dark-definition.scss +8 -1
  23. package/styles/calendar/_fabric-definition.scss +8 -1
  24. package/styles/calendar/_fluent-dark-definition.scss +1 -0
  25. package/styles/calendar/_fluent-definition.scss +49 -37
  26. package/styles/calendar/_highcontrast-definition.scss +8 -1
  27. package/styles/calendar/_highcontrast-light-definition.scss +9 -1
  28. package/styles/calendar/_layout.scss +174 -5
  29. package/styles/calendar/_material-dark-definition.scss +9 -0
  30. package/styles/calendar/_material-definition.scss +9 -0
  31. package/styles/calendar/_tailwind-definition.scss +61 -25
  32. package/styles/calendar/_theme.scss +189 -13
  33. package/styles/calendar/bootstrap-dark.css +9 -5
  34. package/styles/calendar/bootstrap.css +9 -5
  35. package/styles/calendar/bootstrap4.css +9 -5
  36. package/styles/calendar/bootstrap5-dark.css +62 -14
  37. package/styles/calendar/bootstrap5.css +58 -10
  38. package/styles/calendar/fabric-dark.css +4 -0
  39. package/styles/calendar/fabric.css +4 -0
  40. package/styles/calendar/fluent-dark.css +1189 -0
  41. package/styles/calendar/fluent-dark.scss +5 -0
  42. package/styles/calendar/fluent.css +1189 -0
  43. package/styles/calendar/fluent.scss +5 -0
  44. package/styles/calendar/highcontrast-light.css +4 -0
  45. package/styles/calendar/highcontrast.css +4 -0
  46. package/styles/calendar/icons/_fluent-dark.scss +1 -0
  47. package/styles/calendar/icons/_fluent.scss +2 -2
  48. package/styles/calendar/icons/_tailwind.scss +4 -5
  49. package/styles/calendar/material-dark.css +4 -0
  50. package/styles/calendar/material.css +4 -0
  51. package/styles/calendar/tailwind-dark.css +158 -34
  52. package/styles/calendar/tailwind.css +158 -34
  53. package/styles/datepicker/_bootstrap-dark-definition.scss +6 -0
  54. package/styles/datepicker/_bootstrap-definition.scss +6 -0
  55. package/styles/datepicker/_bootstrap4-definition.scss +6 -0
  56. package/styles/datepicker/_bootstrap5-definition.scss +6 -0
  57. package/styles/datepicker/_fabric-dark-definition.scss +6 -0
  58. package/styles/datepicker/_fabric-definition.scss +6 -0
  59. package/styles/datepicker/_fluent-dark-definition.scss +1 -0
  60. package/styles/datepicker/_fluent-definition.scss +9 -2
  61. package/styles/datepicker/_highcontrast-definition.scss +6 -0
  62. package/styles/datepicker/_highcontrast-light-definition.scss +6 -0
  63. package/styles/datepicker/_layout.scss +6 -6
  64. package/styles/datepicker/_material-dark-definition.scss +6 -0
  65. package/styles/datepicker/_material-definition.scss +6 -0
  66. package/styles/datepicker/_tailwind-definition.scss +7 -1
  67. package/styles/datepicker/_theme.scss +6 -1
  68. package/styles/datepicker/bootstrap-dark.css +12 -2
  69. package/styles/datepicker/bootstrap.css +12 -2
  70. package/styles/datepicker/bootstrap4.css +12 -2
  71. package/styles/datepicker/bootstrap5-dark.css +12 -2
  72. package/styles/datepicker/bootstrap5.css +12 -2
  73. package/styles/datepicker/fabric-dark.css +12 -2
  74. package/styles/datepicker/fabric.css +12 -2
  75. package/styles/datepicker/fluent-dark.css +189 -0
  76. package/styles/datepicker/fluent-dark.scss +7 -0
  77. package/styles/datepicker/fluent.css +189 -0
  78. package/styles/datepicker/fluent.scss +7 -0
  79. package/styles/datepicker/highcontrast-light.css +12 -2
  80. package/styles/datepicker/highcontrast.css +12 -2
  81. package/styles/datepicker/icons/_fluent-dark.scss +1 -0
  82. package/styles/datepicker/icons/_fluent.scss +2 -2
  83. package/styles/datepicker/icons/_tailwind.scss +2 -2
  84. package/styles/datepicker/material-dark.css +12 -2
  85. package/styles/datepicker/material.css +12 -2
  86. package/styles/datepicker/tailwind-dark.css +15 -5
  87. package/styles/datepicker/tailwind.css +15 -5
  88. package/styles/daterangepicker/_bootstrap-dark-definition.scss +1 -0
  89. package/styles/daterangepicker/_bootstrap-definition.scss +1 -0
  90. package/styles/daterangepicker/_bootstrap4-definition.scss +1 -0
  91. package/styles/daterangepicker/_bootstrap5-definition.scss +4 -3
  92. package/styles/daterangepicker/_fabric-dark-definition.scss +1 -0
  93. package/styles/daterangepicker/_fabric-definition.scss +1 -0
  94. package/styles/daterangepicker/_fluent-dark-definition.scss +1 -0
  95. package/styles/daterangepicker/_fluent-definition.scss +13 -6
  96. package/styles/daterangepicker/_highcontrast-definition.scss +1 -0
  97. package/styles/daterangepicker/_highcontrast-light-definition.scss +1 -0
  98. package/styles/daterangepicker/_layout.scss +99 -18
  99. package/styles/daterangepicker/_material-dark-definition.scss +1 -0
  100. package/styles/daterangepicker/_material-definition.scss +1 -0
  101. package/styles/daterangepicker/_tailwind-definition.scss +45 -23
  102. package/styles/daterangepicker/_theme.scss +104 -18
  103. package/styles/daterangepicker/bootstrap-dark.css +60 -24
  104. package/styles/daterangepicker/bootstrap.css +60 -24
  105. package/styles/daterangepicker/bootstrap4.css +60 -24
  106. package/styles/daterangepicker/bootstrap5-dark.css +65 -29
  107. package/styles/daterangepicker/bootstrap5.css +63 -27
  108. package/styles/daterangepicker/fabric-dark.css +60 -24
  109. package/styles/daterangepicker/fabric.css +60 -24
  110. package/styles/daterangepicker/fluent-dark.css +1055 -0
  111. package/styles/daterangepicker/fluent-dark.scss +7 -0
  112. package/styles/daterangepicker/fluent.css +1055 -0
  113. package/styles/daterangepicker/fluent.scss +7 -0
  114. package/styles/daterangepicker/highcontrast-light.css +60 -24
  115. package/styles/daterangepicker/highcontrast.css +60 -24
  116. package/styles/daterangepicker/icons/_fluent-dark.scss +1 -0
  117. package/styles/daterangepicker/icons/_fluent.scss +7 -7
  118. package/styles/daterangepicker/icons/_tailwind.scss +13 -9
  119. package/styles/daterangepicker/material-dark.css +60 -24
  120. package/styles/daterangepicker/material.css +60 -24
  121. package/styles/daterangepicker/tailwind-dark.css +138 -94
  122. package/styles/daterangepicker/tailwind.css +139 -95
  123. package/styles/datetimepicker/_fluent-dark-definition.scss +1 -0
  124. package/styles/datetimepicker/fluent-dark.css +205 -0
  125. package/styles/datetimepicker/fluent-dark.scss +8 -0
  126. package/styles/datetimepicker/fluent.css +205 -0
  127. package/styles/datetimepicker/fluent.scss +8 -0
  128. package/styles/datetimepicker/icons/_fluent-dark.scss +1 -0
  129. package/styles/datetimepicker/icons/_fluent.scss +1 -1
  130. package/styles/datetimepicker/icons/_tailwind.scss +2 -1
  131. package/styles/datetimepicker/tailwind-dark.css +1 -1
  132. package/styles/datetimepicker/tailwind.css +1 -1
  133. package/styles/fabric-dark.css +77 -26
  134. package/styles/fabric.css +77 -26
  135. package/styles/fluent-dark.css +2864 -0
  136. package/styles/fluent-dark.scss +5 -0
  137. package/styles/fluent.css +2864 -0
  138. package/styles/fluent.scss +5 -0
  139. package/styles/highcontrast-light.css +77 -26
  140. package/styles/highcontrast.css +77 -26
  141. package/styles/material-dark.css +77 -26
  142. package/styles/material.css +77 -26
  143. package/styles/tailwind-dark.css +317 -138
  144. package/styles/tailwind.css +318 -139
  145. package/styles/timepicker/_fluent-dark-definition.scss +1 -0
  146. package/styles/timepicker/_fluent-definition.scss +3 -3
  147. package/styles/timepicker/_tailwind-definition.scss +3 -3
  148. package/styles/timepicker/_theme.scss +1 -0
  149. package/styles/timepicker/bootstrap-dark.css +1 -0
  150. package/styles/timepicker/bootstrap.css +1 -0
  151. package/styles/timepicker/bootstrap4.css +1 -0
  152. package/styles/timepicker/bootstrap5-dark.css +1 -0
  153. package/styles/timepicker/bootstrap5.css +1 -0
  154. package/styles/timepicker/fabric-dark.css +1 -0
  155. package/styles/timepicker/fabric.css +1 -0
  156. package/styles/timepicker/fluent-dark.css +222 -0
  157. package/styles/timepicker/fluent-dark.scss +6 -0
  158. package/styles/timepicker/fluent.css +222 -0
  159. package/styles/timepicker/fluent.scss +6 -0
  160. package/styles/timepicker/highcontrast-light.css +1 -0
  161. package/styles/timepicker/highcontrast.css +1 -0
  162. package/styles/timepicker/icons/_fluent-dark.scss +1 -0
  163. package/styles/timepicker/icons/_fluent.scss +1 -1
  164. package/styles/timepicker/icons/_tailwind.scss +2 -1
  165. package/styles/timepicker/material-dark.css +1 -0
  166. package/styles/timepicker/material.css +1 -0
  167. package/styles/timepicker/tailwind-dark.css +5 -4
  168. package/styles/timepicker/tailwind.css +5 -4
@@ -89,6 +89,12 @@
89
89
  background: $calendar-focused-date-bg-style;
90
90
  border: $calendar-focus-border-color;
91
91
  border-radius: $calendar-border-radius;
92
+ box-shadow: $calendar-focus-box-shadow;
93
+ @if ($skin-name == 'FluentUI') {
94
+ background: none;
95
+ border-radius: $calendar-focused-state-border-radius;
96
+ box-shadow: $calendar-focused-state-box-shadow;
97
+ }
92
98
  }#{if(&, '&', '*')} td.e-focused-date:hover span.e-day {
93
99
  background-color: $calendar-hover-color;
94
100
  border: $calendar-hover-border-color;
@@ -99,10 +105,15 @@
99
105
  background: $calendar-today-bg-style;
100
106
  border: $calendar-today-border-color;
101
107
  border-radius: $calendar-border-radius;
108
+ box-shadow: $calendar-today-box-shadow;
102
109
  color: $calendar-today-color;
110
+ @if ($skin-name == 'FluentUI') {
111
+ border-radius: $calendar-border-selected-radius;
112
+ }
103
113
  }#{if(&, '&', '*')} td.e-focused-date.e-today span.e-day {
104
114
  background: $calendar-focused-today-bg-style;
105
115
  border: $calendar-focused-today-border-style;
116
+ box-shadow: $calendar-focused-today-box-shadow;
106
117
  color: $calendar-today-focused-font-color;
107
118
  }#{if(&, '&', '*')} td.e-today:focus span.e-day,
108
119
  #{if(&, '&', '*')} td.e-focused-date.e-today:focus span.e-day {
@@ -110,22 +121,40 @@
110
121
  border: $calendar-focus-border-color;
111
122
  border-radius: $calendar-border-radius;
112
123
  color: $calendar-today-focus-color;
124
+ @if ($skin-name == 'FluentUI') {
125
+ background-color: $calendar-focused-today-bg-style;
126
+ border-radius: $calendar-border-selected-radius;
127
+ }
113
128
  }#{if(&, '&', '*')} td.e-today:hover span.e-day,
114
129
  #{if(&, '&', '*')} td.e-focused-date.e-today:hover span.e-day,
115
130
  #{if(&, '&', '*')} td.e-focused-date.e-today:focus span.e-day {
116
131
  background-color: $calendar-hover-color;
117
132
  border: $calendar-today-border-color;
118
133
  color: $calendar-today-focus-color;
134
+ @if ($skin-name == 'FluentUI') {
135
+ background-color: $calendar-today-bg-style;
136
+ border-radius: $calendar-border-selected-radius;
137
+ }
119
138
  }#{if(&, '&', '*')} td.e-today.e-selected span.e-day {
120
139
  background-color: $calendar-active-bg-color;
121
140
  border: $calendar-active-bg-border-color;
122
- box-shadow: $calendar-selected-box-shadow;
141
+ @if ($skin-name == 'material' or $skin-name == 'material-dark') {
142
+ box-shadow: $calendar-selected-box-shadow;
143
+ }
144
+ @else {
145
+ box-shadow: $calendar-active-bg-box-shadow;
146
+ }
123
147
  color: $calendar-active-today-font-color;
124
148
  }#{if(&, '&', '*')} td.e-today.e-selected:hover span.e-day,
125
149
  #{if(&, '&', '*')} td.e-selected:hover span.e-day,
126
150
  #{if(&, '&', '*')} td.e-selected.e-focused-date span.e-day {
127
151
  background-color: $calendar-active-hover-bg-color;
128
152
  color: $calendar-active-today-hover-font-color;
153
+ @if ($skin-name == 'FluentUI') {
154
+ background-color: $calendar-focused-today-bg-style;
155
+ border-radius: $calendar-border-selected-radius;
156
+ color: $calendar-today-color;
157
+ }
129
158
  }#{if(&, '&', '*')} span {
130
159
  color: $calendar-text-color;
131
160
  }#{if(&, '&', '*')} .e-disabled span.e-day:hover {
@@ -142,6 +171,13 @@
142
171
  }#{if(&, '&', '*')} .e-other-month.e-today:hover span.e-day {
143
172
  background-color: $calendar-hover-color;
144
173
  color: $calendar-other-month-date;
174
+ @if ($skin-name == 'FluentUI') {
175
+ background: $calendar-today-bg-style;
176
+ border: $calendar-today-border-color;
177
+ border-radius: $calendar-border-selected-radius;
178
+ box-shadow: $calendar-today-box-shadow;
179
+ color: $calendar-today-color;
180
+ }
145
181
  }#{if(&, '&', '*')} thead {
146
182
  background: $calendar-week-header-bg-style;
147
183
  border-bottom: 0;
@@ -156,20 +192,104 @@
156
192
  border: $calendar-focus-border-color;
157
193
  border-radius: $calendar-border-radius;
158
194
  color: $calendar-text-color;
195
+ @if ($skin-name == 'FluentUI') {
196
+ border-radius: $calendar-border-selected-radius;
197
+ }
159
198
  }#{if(&, '&', '*')} td.e-disabled span.e-day,
160
199
  #{if(&, '&', '*')} td.e-disabled:hover span.e-day,
161
200
  #{if(&, '&', '*')} td.e-disabled:focus span.e-day {
162
201
  background: $calendar-none-style;
163
202
  border: $calendar-none-style;
164
203
  color: $calendar-disable-font-color;
204
+ }#{if(&, '&', '*')} td.e-today.e-disabled.e-overlay span.e-day,
205
+ #{if(&, '&', '*')} td.e-today.e-disabled.e-overlay:hover span.e-day,
206
+ #{if(&, '&', '*')} td.e-today.e-disabled.e-overlay:focus span.e-day {
207
+ @if ($skin-name == 'FluentUI') {
208
+ background-color: $calendar-focused-today-bg-style;
209
+ border-radius: $calendar-border-selected-radius;
210
+ color: $calendar-today-color;
211
+ }
165
212
  }#{if(&, '&', '*')} td.e-selected span.e-day {
166
213
  background-color: $calendar-active-bg-color;
167
214
  border: $calendar-selected-border-color;
168
215
  border-radius: $calendar-border-radius;
169
216
  color: $calendar-active-font-color;
217
+ }#{if(&, '&', '*')} td.e-selected:not(.e-focused-date) span.e-day {
218
+ @if ($skin-name == 'FluentUI') {
219
+ box-shadow: $calendar-selected-box-shadow;
220
+ }
170
221
  }#{if(&, '&', '*')} .e-footer {
171
222
  color: $calendar-active-bg-color;
223
+ }#{if(&, '&', '*')} td.e-today.e-selected.e-focused-date span.e-day,
224
+ #{if(&, '&', '*')} td.e-today.e-selected:hover span.e-day,
225
+ #{if(&, '&', '*')} td.e-today.e-selected span.e-day {
226
+ @if ($skin-name == 'FluentUI') {
227
+ background-color: $calendar-focused-today-bg-style;
228
+ border-radius: $calendar-border-selected-radius;
229
+ color: $calendar-today-color;
230
+ }
231
+ }#{if(&, '&', '*')} td.e-today.e-selected.e-focused-date {
232
+ @if ($skin-name == 'FluentUI') {
233
+ background-color: $calendar-active-bg-color;
234
+ border-radius: $calendar-focused-state-border-radius;
235
+ box-shadow: $calendar-focused-state-box-shadow;
236
+ }
237
+ }#{if(&, '&', '*')} td.e-today.e-selected {
238
+ @if ($skin-name == 'FluentUI') {
239
+ background-color: $calendar-active-bg-color;
240
+ border-radius: $calendar-wrapper-border-radius;
241
+ box-shadow: $calendar-selected-box-shadow;
242
+ }
243
+ }#{if(&, '&', '*')} td.e-selected:hover span.e-day {
244
+ @if ($skin-name == 'FluentUI') {
245
+ background-color: $calendar-active-bg-color;
246
+ border: $calendar-selected-border-color;
247
+ border-radius: $calendar-border-radius;
248
+ color: $calendar-active-font-color;
249
+ }
250
+ }#{if(&, '&', '*')} td.e-selected.e-focused-date span.e-day {
251
+ @if ($skin-name == 'FluentUI') {
252
+ background-color: $calendar-active-bg-color;
253
+ border: $calendar-selected-border-color;
254
+ border-radius: $calendar-focused-state-border-radius;
255
+ color: $calendar-active-font-color;
256
+ }
257
+ }#{if(&, '&', '*')}.e-month td.e-today span.e-day {
258
+ @if ($skin-name == 'FluentUI') {
259
+ color: $calendar-today-focused-font-color;
260
+ }
261
+ }#{if(&, '&', '*')}.e-year td.e-selected > span.e-day,
262
+ #{if(&, '&', '*')}.e-decade td.e-selected > span.e-day,
263
+ #{if(&, '&', '*')}.e-year td.e-selected:hover > span.e-day,
264
+ #{if(&, '&', '*')}.e-decade td.e-selected:hover > span.e-day {
265
+ @if ($skin-name == 'FluentUI') {
266
+ background-color: $calendar-selected-month-bg-color;
267
+ color: $calendar-week-header-font-color;
268
+ }
269
+ }#{if(&, '&', '*')}.e-year td.e-focused-date > span.e-day,
270
+ #{if(&, '&', '*')}.e-decade td.e-focused-date > span.e-day {
271
+ @if ($skin-name == 'FluentUI') {
272
+ background: $calendar-none-style;
273
+ border-radius: 0;
274
+ box-shadow: $calendar-focused-state-month-box-shadow;
275
+ }
276
+ }#{if(&, '&', '*')} td.e-focused-date.e-today {
277
+ @if ($skin-name == 'FluentUI') {
278
+ border-radius: $calendar-focused-state-border-radius;
279
+ box-shadow: $calendar-focused-state-box-shadow;
280
+ }
281
+ }#{if(&, '&', '*')} td.e-focused-date:hover span.e-day {
282
+ @if ($skin-name == 'FluentUI') {
283
+ border-radius: $calendar-focused-state-border-radius;
284
+ }
285
+ }#{if(&, '&', '*')}.e-year td.e-focused-date:hover > span.e-day,
286
+ #{if(&, '&', '*')}.e-decade td.e-focused-date:hover > span.e-day {
287
+ @if ($skin-name == 'FluentUI') {
288
+ background: $calendar-hover-color;
289
+ border-radius: 0;
290
+ box-shadow: $calendar-focused-state-month-box-shadow;
172
291
  }
292
+ }
173
293
  }
174
294
  }#{if(&, '&', '*')}.e-device {
175
295
  #{if(&, '&', '*')} .e-prev:hover,
@@ -184,6 +304,28 @@
184
304
  color: $calendar-header-icon-color;
185
305
  }
186
306
  }
307
+
308
+ #{if(&, '&', '*')} .e-footer-container {
309
+ #{if(&, '&', '*')} .e-btn.e-today.e-flat.e-primary:not(:hover) {
310
+ @if $skin-name == 'tailwind' {
311
+ // sass-lint:disable no-vendor-prefixes
312
+ -webkit-tap-highlight-color: transparent;
313
+ background-color: $calendar-today-btn-primary-bgcolor;
314
+ border-color: $calendar-today-btn-primary-border-color;
315
+ color: $calendar-today-btn-primary-color;
316
+ }
317
+ }
318
+
319
+ #{if(&, '&', '*')} .e-btn.e-today.e-flat.e-primary.e-disabled {
320
+ @if $skin-name == 'tailwind' {
321
+ // sass-lint:disable no-vendor-prefixes
322
+ -webkit-tap-highlight-color: transparent;
323
+ background-color: $calendar-today-btn-primary-disabled-bgcolor;
324
+ border-color: $calendar-today-btn-primary-disabled-border-color;
325
+ color: $calendar-today-btn-primary-disabled-color;
326
+ }
327
+ }
328
+ }
187
329
  }
188
330
 
189
331
  .e-small#{&}.e-calendar,
@@ -195,6 +337,20 @@
195
337
  }
196
338
  }
197
339
 
340
+ #{&}.e-calendar.e-disabled {
341
+ #{if(&, '&', '*')} .e-footer-container {
342
+ #{if(&, '&', '*')} .e-btn.e-today.e-flat.e-primary {
343
+ @if $skin-name == 'tailwind' {
344
+ // sass-lint:disable no-vendor-prefixes
345
+ -webkit-tap-highlight-color: transparent;
346
+ background-color: $calendar-today-btn-primary-disabled-bgcolor;
347
+ border-color: $calendar-today-btn-primary-disabled-border-color;
348
+ color: $calendar-today-btn-primary-disabled-color;
349
+ }
350
+ }
351
+ }
352
+ }
353
+
198
354
  .e-zoomin {
199
355
  animation: animatezoom .3s;
200
356
  }
@@ -211,19 +367,20 @@
211
367
 
212
368
  .e-calendar .e-btn.e-today.e-flat.e-primary,
213
369
  .e-calendar .e-css.e-btn.e-today.e-flat.e-primary {
214
- @if $skin-name == 'bootstrap5' {
215
- background-color: $today-buuton-bg;
216
- border-color: $today-buuton-bg-border-color;
217
- color: $today-buuton-text-color;
370
+ @if $skin-name == 'bootstrap5' or $skin-name == 'FluentUI' {
371
+ background-color: $today-button-bg;
372
+ border: 0;
373
+ border-color: $today-button-bg-border-color;
374
+ color: $today-button-text-color;
218
375
  }
219
376
  }
220
377
 
221
378
  .e-calendar .e-btn.e-today.e-flat.e-primary:hover,
222
379
  .e-calendar .e-css.e-btn.e-today.e-flat.e-primary:hover {
223
- @if $skin-name == 'bootstrap5' {
224
- background-color: $today-buuton-hover-bg;
225
- border-color: $today-buuton-bg-border-hover-color;
226
- color: $today-buuton-text-hover-color;
380
+ @if $skin-name == 'bootstrap5' or $skin-name == 'FluentUI' {
381
+ background-color: $today-button-hover-bg;
382
+ border-color: $today-button-bg-border-hover-color;
383
+ color: $today-button-text-hover-color;
227
384
  }
228
385
  }
229
386
 
@@ -231,10 +388,27 @@
231
388
  .e-calendar .e-btn.e-today.e-flat.e-primary.e-active,
232
389
  .e-calendar .e-css.e-btn.e-today.e-flat.e-primary:active,
233
390
  .e-calendar .e-css.e-btn.e-today.e-flat.e-primary.e-active {
234
- @if $skin-name == 'bootstrap5' {
235
- background-color: $today-buuton-active-bg;
236
- border-color: $today-buuton-bg-border-active-color;
237
- color: $today-buuton-text-active-color;
391
+ @if $skin-name == 'bootstrap5' or $skin-name == 'FluentUI' {
392
+ background-color: $today-button-active-bg;
393
+ border-color: $today-button-bg-border-active-color;
394
+ color: $today-button-text-active-color;
395
+ }
396
+ @if $skin-name == 'FluentUI' {
397
+ border: $calendar-none-style;
398
+ outline: $calendar-none-style;
399
+ }
400
+ }
401
+
402
+ .e-calendar .e-btn.e-today.e-flat.e-primary:focus,
403
+ .e-calendar .e-btn.e-today.e-flat.e-primary.e-focus,
404
+ .e-calendar .e-css.e-btn.e-today.e-flat.e-primary:focus,
405
+ .e-calendar .e-css.e-btn.e-today.e-flat.e-primary.e-focus {
406
+ @if $skin-name == 'FluentUI' {
407
+ background-color: $today-button-active-bg;
408
+ border: $calendar-none-style;
409
+ border-color: $today-button-bg-border-active-color;
410
+ color: $today-button-text-active-color;
411
+ outline: $calendar-none-style;
238
412
  }
239
413
  }
240
414
 
@@ -245,6 +419,8 @@
245
419
  @if $skin-name == 'bootstrap5' {
246
420
  background-color: $calendar-today-disabled-background-style;
247
421
  border-color: $calendar-today-disabled-border-style;
422
+ }
423
+ @if $skin-name == 'bootstrap5' or $skin-name == 'FluentUI' {
248
424
  color: $calendar-today-disabled-color;
249
425
  }
250
426
  }
@@ -287,6 +287,7 @@ ejs-calendar {
287
287
 
288
288
  .e-calendar,
289
289
  .e-bigger.e-small .e-calendar {
290
+ border-spacing: 0;
290
291
  max-width: 262px;
291
292
  min-width: 256px;
292
293
  padding: 12px;
@@ -820,6 +821,7 @@ ejs-calendar {
820
821
  background: #484848;
821
822
  border: none;
822
823
  border-radius: 4px;
824
+ box-shadow: none;
823
825
  }
824
826
 
825
827
  .e-calendar .e-content td.e-focused-date:hover span.e-day,
@@ -835,15 +837,17 @@ ejs-calendar {
835
837
  .e-bigger.e-small .e-calendar .e-content td.e-today span.e-day,
836
838
  .e-bigger.e-small .e-calendar .e-content td.e-focused-date.e-today span.e-day {
837
839
  background: none;
838
- border: 1px solid #0070f0;
840
+ border: none;
839
841
  border-radius: 4px;
842
+ box-shadow: inset 1px 0 #0070f0, inset 0 1px #0070f0, inset -1px 0 #0070f0, inset 0 -1px #0070f0;
840
843
  color: #fff;
841
844
  }
842
845
 
843
846
  .e-calendar .e-content td.e-focused-date.e-today span.e-day,
844
847
  .e-bigger.e-small .e-calendar .e-content td.e-focused-date.e-today span.e-day {
845
848
  background: #313131;
846
- border: 1px solid #0070f0;
849
+ border: none;
850
+ box-shadow: inset 1px 0 #0070f0, inset 0 1px #0070f0, inset -1px 0 #0070f0, inset 0 -1px #0070f0;
847
851
  color: #f0f0f0;
848
852
  }
849
853
 
@@ -864,15 +868,15 @@ ejs-calendar {
864
868
  .e-bigger.e-small .e-calendar .e-content td.e-focused-date.e-today:hover span.e-day,
865
869
  .e-bigger.e-small .e-calendar .e-content td.e-focused-date.e-today:focus span.e-day {
866
870
  background-color: #484848;
867
- border: 1px solid #0070f0;
871
+ border: none;
868
872
  color: #fff;
869
873
  }
870
874
 
871
875
  .e-calendar .e-content td.e-today.e-selected span.e-day,
872
876
  .e-bigger.e-small .e-calendar .e-content td.e-today.e-selected span.e-day {
873
877
  background-color: #0070f0;
874
- border: 1px solid #0070f0;
875
- box-shadow: none;
878
+ border: none;
879
+ box-shadow: inset 1px 0 #0070f0, inset 0 1px #0070f0, inset -1px 0 #0070f0, inset 0 -1px #0070f0;
876
880
  color: #fff;
877
881
  }
878
882
 
@@ -288,6 +288,7 @@ ejs-calendar {
288
288
 
289
289
  .e-calendar,
290
290
  .e-bigger.e-small .e-calendar {
291
+ border-spacing: 0;
291
292
  max-width: 262px;
292
293
  min-width: 256px;
293
294
  padding: 12px;
@@ -821,6 +822,7 @@ ejs-calendar {
821
822
  background: #e6e6e6;
822
823
  border: none;
823
824
  border-radius: 4px;
825
+ box-shadow: none;
824
826
  }
825
827
 
826
828
  .e-calendar .e-content td.e-focused-date:hover span.e-day,
@@ -836,15 +838,17 @@ ejs-calendar {
836
838
  .e-bigger.e-small .e-calendar .e-content td.e-today span.e-day,
837
839
  .e-bigger.e-small .e-calendar .e-content td.e-focused-date.e-today span.e-day {
838
840
  background: none;
839
- border: 1px solid #317ab9;
841
+ border: none;
840
842
  border-radius: 4px;
843
+ box-shadow: inset 1px 0 #317ab9, inset 0 1px #317ab9, inset -1px 0 #317ab9, inset 0 -1px #317ab9;
841
844
  color: #333;
842
845
  }
843
846
 
844
847
  .e-calendar .e-content td.e-focused-date.e-today span.e-day,
845
848
  .e-bigger.e-small .e-calendar .e-content td.e-focused-date.e-today span.e-day {
846
849
  background: #e6e6e6;
847
- border: 1px solid #317ab9;
850
+ border: none;
851
+ box-shadow: inset 1px 0 #317ab9, inset 0 1px #317ab9, inset -1px 0 #317ab9, inset 0 -1px #317ab9;
848
852
  color: #333;
849
853
  }
850
854
 
@@ -865,15 +869,15 @@ ejs-calendar {
865
869
  .e-bigger.e-small .e-calendar .e-content td.e-focused-date.e-today:hover span.e-day,
866
870
  .e-bigger.e-small .e-calendar .e-content td.e-focused-date.e-today:focus span.e-day {
867
871
  background-color: #e6e6e6;
868
- border: 1px solid #317ab9;
872
+ border: none;
869
873
  color: #333;
870
874
  }
871
875
 
872
876
  .e-calendar .e-content td.e-today.e-selected span.e-day,
873
877
  .e-bigger.e-small .e-calendar .e-content td.e-today.e-selected span.e-day {
874
878
  background-color: #317ab9;
875
- border: 1px solid #317ab9;
876
- box-shadow: none;
879
+ border: none;
880
+ box-shadow: inset 1px 0 #317ab9, inset 0 1px #317ab9, inset -1px 0 #317ab9, inset 0 -1px #317ab9;
877
881
  color: #fff;
878
882
  }
879
883
 
@@ -288,6 +288,7 @@ ejs-calendar {
288
288
 
289
289
  .e-calendar,
290
290
  .e-bigger.e-small .e-calendar {
291
+ border-spacing: 0;
291
292
  max-width: 262px;
292
293
  min-width: 256px;
293
294
  padding: 0;
@@ -821,6 +822,7 @@ ejs-calendar {
821
822
  background: #f2f4f6;
822
823
  border: none;
823
824
  border-radius: 4px;
825
+ box-shadow: none;
824
826
  }
825
827
 
826
828
  .e-calendar .e-content td.e-focused-date:hover span.e-day,
@@ -836,15 +838,17 @@ ejs-calendar {
836
838
  .e-bigger.e-small .e-calendar .e-content td.e-today span.e-day,
837
839
  .e-bigger.e-small .e-calendar .e-content td.e-focused-date.e-today span.e-day {
838
840
  background: #fff;
839
- border: 1px solid #007bff;
841
+ border: none;
840
842
  border-radius: 4px;
843
+ box-shadow: inset 1px 0 #007bff, inset 0 1px #007bff, inset -1px 0 #007bff, inset 0 -1px #007bff;
841
844
  color: #212529;
842
845
  }
843
846
 
844
847
  .e-calendar .e-content td.e-focused-date.e-today span.e-day,
845
848
  .e-bigger.e-small .e-calendar .e-content td.e-focused-date.e-today span.e-day {
846
849
  background: #f2f4f6;
847
- border: 1px solid #007bff;
850
+ border: none;
851
+ box-shadow: inset 1px 0 #007bff, inset 0 1px #007bff, inset -1px 0 #007bff, inset 0 -1px #007bff;
848
852
  color: #212529;
849
853
  }
850
854
 
@@ -865,15 +869,15 @@ ejs-calendar {
865
869
  .e-bigger.e-small .e-calendar .e-content td.e-focused-date.e-today:hover span.e-day,
866
870
  .e-bigger.e-small .e-calendar .e-content td.e-focused-date.e-today:focus span.e-day {
867
871
  background-color: #f2f4f6;
868
- border: 1px solid #007bff;
872
+ border: none;
869
873
  color: #212529;
870
874
  }
871
875
 
872
876
  .e-calendar .e-content td.e-today.e-selected span.e-day,
873
877
  .e-bigger.e-small .e-calendar .e-content td.e-today.e-selected span.e-day {
874
878
  background-color: #007bff;
875
- border: 1px solid #007bff;
876
- box-shadow: none;
879
+ border: none;
880
+ box-shadow: inset 1px 0 #007bff, inset 0 1px #007bff, inset -1px 0 #007bff, inset 0 -1px #007bff;
877
881
  color: #fff;
878
882
  }
879
883
 
@@ -245,7 +245,7 @@ ejs-calendar {
245
245
 
246
246
  .e-calendar .e-header .e-title,
247
247
  .e-bigger.e-small .e-calendar .e-header .e-title {
248
- margin-left: 8px;
248
+ margin-left: 2px;
249
249
  }
250
250
 
251
251
  .e-calendar .e-header .e-prev:hover,
@@ -288,6 +288,7 @@ ejs-calendar {
288
288
 
289
289
  .e-calendar,
290
290
  .e-bigger.e-small .e-calendar {
291
+ border-spacing: 0;
291
292
  max-width: 242px;
292
293
  min-width: 240px;
293
294
  padding: 0;
@@ -318,7 +319,7 @@ ejs-calendar {
318
319
  .e-calendar.e-rtl .e-header .e-title,
319
320
  .e-bigger.e-small .e-calendar.e-rtl .e-header .e-title {
320
321
  text-align: right;
321
- text-indent: 4px;
322
+ text-indent: 12px;
322
323
  }
323
324
 
324
325
  .e-calendar .e-header,
@@ -363,7 +364,7 @@ ejs-calendar {
363
364
 
364
365
  .e-calendar .e-content.e-month td.e-today span.e-day,
365
366
  .e-bigger.e-small .e-calendar .e-content.e-month td.e-today span.e-day {
366
- line-height: 26px;
367
+ line-height: 32px;
367
368
  }
368
369
 
369
370
  .e-calendar .e-content.e-year table,
@@ -427,6 +428,11 @@ ejs-calendar {
427
428
  width: 100%;
428
429
  }
429
430
 
431
+ .e-calendar.e-rtl .e-header .e-title,
432
+ .e-bigger.e-small .e-calendar.e-rtl .e-header .e-title {
433
+ text-indent: 12px;
434
+ }
435
+
430
436
  .e-small.e-bigger.e-calendar .e-content.e-year span.e-day,
431
437
  .e-small.e-bigger .e-calendar .e-content.e-year span.e-day {
432
438
  font-size: 14px;
@@ -437,6 +443,17 @@ ejs-calendar {
437
443
  padding: 0 12px 12px 12px;
438
444
  }
439
445
 
446
+ .e-small.e-bigger.e-calendar .e-content span.e-day,
447
+ .e-small.e-bigger .e-calendar .e-content span.e-day {
448
+ height: 34px;
449
+ width: 34px;
450
+ }
451
+
452
+ .e-small.e-bigger.e-calendar .e-header .e-title,
453
+ .e-small.e-bigger .e-calendar .e-header .e-title {
454
+ margin-left: 5px;
455
+ }
456
+
440
457
  .e-bigger.e-calendar,
441
458
  *.e-bigger .e-calendar {
442
459
  max-width: 292px;
@@ -539,7 +556,7 @@ ejs-calendar {
539
556
 
540
557
  .e-bigger.e-calendar .e-content.e-month td.e-today span.e-day,
541
558
  *.e-bigger .e-calendar .e-content.e-month td.e-today span.e-day {
542
- line-height: 32px;
559
+ line-height: 38px;
543
560
  }
544
561
 
545
562
  .e-bigger.e-calendar .e-content.e-month td,
@@ -579,6 +596,16 @@ ejs-calendar {
579
596
  padding: 16px;
580
597
  }
581
598
 
599
+ .e-bigger.e-calendar .e-header .e-title,
600
+ *.e-bigger .e-calendar .e-header .e-title {
601
+ margin-left: 5px;
602
+ }
603
+
604
+ .e-bigger.e-calendar.e-rtl .e-header .e-title,
605
+ *.e-bigger .e-calendar.e-rtl .e-header .e-title {
606
+ text-indent: 15px;
607
+ }
608
+
582
609
  .e-small.e-calendar,
583
610
  .e-small .e-calendar {
584
611
  max-width: 200px;
@@ -602,7 +629,7 @@ ejs-calendar {
602
629
 
603
630
  .e-small.e-calendar .e-content.e-month td.e-today span.e-day,
604
631
  .e-small .e-calendar .e-content.e-month td.e-today span.e-day {
605
- line-height: 20px;
632
+ line-height: 26px;
606
633
  }
607
634
 
608
635
  .e-small.e-calendar .e-content.e-month td,
@@ -627,6 +654,11 @@ ejs-calendar {
627
654
  line-height: 22px;
628
655
  }
629
656
 
657
+ .e-small.e-calendar.e-rtl .e-header .e-title,
658
+ .e-small .e-calendar.e-rtl .e-header .e-title {
659
+ text-indent: 12px;
660
+ }
661
+
630
662
  .e-small.e-calendar .e-header .e-icon-container .e-prev,
631
663
  .e-small.e-calendar .e-header .e-icon-container .e-next,
632
664
  .e-small .e-calendar .e-header .e-icon-container .e-prev,
@@ -641,6 +673,18 @@ ejs-calendar {
641
673
  height: 24px;
642
674
  }
643
675
 
676
+ .e-small.e-calendar .e-header .e-title,
677
+ .e-small .e-calendar .e-header .e-title {
678
+ margin-left: 0;
679
+ }
680
+
681
+ .e-small.e-calendar .e-content.e-year td > span.e-day,
682
+ .e-small.e-calendar .e-content.e-decade td > span.e-day,
683
+ .e-small .e-calendar .e-content.e-year td > span.e-day,
684
+ .e-small .e-calendar .e-content.e-decade td > span.e-day {
685
+ width: 46px;
686
+ }
687
+
644
688
  .e-calendar .e-btn.e-today.e-flat.e-disabled,
645
689
  .e-calendar .e-btn.e-today.e-flat.e-disabled:hover,
646
690
  .e-calendar .e-btn.e-today.e-flat.e-disabled:active,
@@ -821,11 +865,12 @@ ejs-calendar {
821
865
  background: #31373d;
822
866
  border: none;
823
867
  border-radius: 4px;
868
+ box-shadow: none;
824
869
  }
825
870
 
826
871
  .e-calendar .e-content td.e-focused-date:hover span.e-day,
827
872
  .e-bigger.e-small .e-calendar .e-content td.e-focused-date:hover span.e-day {
828
- background-color: #31373d;
873
+ background-color: #444c54;
829
874
  border: none;
830
875
  border-radius: 4px;
831
876
  color: #fff;
@@ -836,15 +881,17 @@ ejs-calendar {
836
881
  .e-bigger.e-small .e-calendar .e-content td.e-today span.e-day,
837
882
  .e-bigger.e-small .e-calendar .e-content td.e-focused-date.e-today span.e-day {
838
883
  background: none;
839
- border: 2px solid #0d6efd;
884
+ border: none;
840
885
  border-radius: 4px;
886
+ box-shadow: inset 2px 0 #0d6efd, inset 0 2px #0d6efd, inset -2px 0 #0d6efd, inset 0 -2px #0d6efd;
841
887
  color: #0d6efd;
842
888
  }
843
889
 
844
890
  .e-calendar .e-content td.e-focused-date.e-today span.e-day,
845
891
  .e-bigger.e-small .e-calendar .e-content td.e-focused-date.e-today span.e-day {
846
892
  background: #31373d;
847
- border: 1px solid #0d6efd;
893
+ border: none;
894
+ box-shadow: inset 1px 0 #0d6efd, inset 0 1px #0d6efd, inset -1px 0 #0d6efd, inset 0 -1px #0d6efd;
848
895
  color: #e9ecef;
849
896
  }
850
897
 
@@ -864,16 +911,16 @@ ejs-calendar {
864
911
  .e-bigger.e-small .e-calendar .e-content td.e-today:hover span.e-day,
865
912
  .e-bigger.e-small .e-calendar .e-content td.e-focused-date.e-today:hover span.e-day,
866
913
  .e-bigger.e-small .e-calendar .e-content td.e-focused-date.e-today:focus span.e-day {
867
- background-color: #31373d;
868
- border: 2px solid #0d6efd;
914
+ background-color: #444c54;
915
+ border: none;
869
916
  color: #e9ecef;
870
917
  }
871
918
 
872
919
  .e-calendar .e-content td.e-today.e-selected span.e-day,
873
920
  .e-bigger.e-small .e-calendar .e-content td.e-today.e-selected span.e-day {
874
921
  background-color: #0d6efd;
875
- border: 1px solid #0d6efd;
876
- box-shadow: none;
922
+ border: none;
923
+ box-shadow: inset 1px 0 #0d6efd, inset 0 1px #0d6efd, inset -1px 0 #0d6efd, inset 0 -1px #0d6efd;
877
924
  color: #fff;
878
925
  }
879
926
 
@@ -913,7 +960,7 @@ ejs-calendar {
913
960
 
914
961
  .e-calendar .e-content .e-other-month.e-today:hover span.e-day,
915
962
  .e-bigger.e-small .e-calendar .e-content .e-other-month.e-today:hover span.e-day {
916
- background-color: #31373d;
963
+ background-color: #444c54;
917
964
  color: #7b848d;
918
965
  }
919
966
 
@@ -927,7 +974,7 @@ ejs-calendar {
927
974
  .e-calendar .e-content td:focus span.e-day,
928
975
  .e-bigger.e-small .e-calendar .e-content td:hover span.e-day,
929
976
  .e-bigger.e-small .e-calendar .e-content td:focus span.e-day {
930
- background-color: #31373d;
977
+ background-color: #444c54;
931
978
  border: none;
932
979
  border-radius: 4px;
933
980
  color: #fff;
@@ -1008,6 +1055,7 @@ ejs-calendar {
1008
1055
  .e-calendar .e-btn.e-today.e-flat.e-primary,
1009
1056
  .e-calendar .e-css.e-btn.e-today.e-flat.e-primary {
1010
1057
  background-color: #0d6efd;
1058
+ border: 0;
1011
1059
  border-color: #0d6efd;
1012
1060
  color: #fff;
1013
1061
  }