@syncfusion/ej2-calendars 21.2.9 → 21.2.10-11964

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 (467) hide show
  1. package/CHANGELOG.md +1237 -1237
  2. package/README.md +178 -178
  3. package/dist/ej2-calendars.umd.min.js +1 -10
  4. package/dist/ej2-calendars.umd.min.js.map +1 -1
  5. package/dist/es6/ej2-calendars.es2015.js +52 -48
  6. package/dist/es6/ej2-calendars.es2015.js.map +1 -1
  7. package/dist/es6/ej2-calendars.es5.js +129 -124
  8. package/dist/es6/ej2-calendars.es5.js.map +1 -1
  9. package/helpers/e2e/calendarHelper.js +13 -13
  10. package/helpers/e2e/datepickerHelper.js +13 -13
  11. package/helpers/e2e/daterangepickerHelper.js +13 -13
  12. package/helpers/e2e/datetimepickerHelper.js +13 -13
  13. package/helpers/e2e/index.js +3 -3
  14. package/helpers/e2e/timepickerHelper.js +13 -13
  15. package/license +10 -10
  16. package/package.json +86 -86
  17. package/src/calendar/calendar-model.d.ts +277 -277
  18. package/src/calendar/calendar.d.ts +19 -20
  19. package/src/calendar/calendar.js +25 -26
  20. package/src/common/maskplaceholder-model.d.ts +36 -36
  21. package/src/common/maskplaceholder.js +19 -19
  22. package/src/datepicker/datepicker-model.d.ts +284 -284
  23. package/src/datepicker/datepicker.d.ts +11 -11
  24. package/src/datepicker/datepicker.js +35 -30
  25. package/src/daterangepicker/daterangepicker-model.d.ts +423 -423
  26. package/src/daterangepicker/daterangepicker.d.ts +1 -2
  27. package/src/daterangepicker/daterangepicker.js +22 -22
  28. package/src/datetimepicker/datetimepicker-model.d.ts +446 -446
  29. package/src/datetimepicker/datetimepicker.d.ts +1 -1
  30. package/src/datetimepicker/datetimepicker.js +20 -20
  31. package/src/maskbase/masked-date-time.d.ts +2 -0
  32. package/src/maskbase/masked-date-time.js +7 -4
  33. package/src/timepicker/timepicker-model.d.ts +329 -329
  34. package/src/timepicker/timepicker.d.ts +3 -4
  35. package/src/timepicker/timepicker.js +23 -25
  36. package/styles/bootstrap-dark.css +1000 -1052
  37. package/styles/bootstrap-dark.scss +20 -5
  38. package/styles/bootstrap.css +1002 -1055
  39. package/styles/bootstrap.scss +20 -5
  40. package/styles/bootstrap4.css +987 -1048
  41. package/styles/bootstrap4.scss +20 -5
  42. package/styles/bootstrap5-dark.css +990 -1071
  43. package/styles/bootstrap5-dark.scss +20 -5
  44. package/styles/bootstrap5.css +990 -1071
  45. package/styles/bootstrap5.scss +20 -5
  46. package/styles/calendar/_all.scss +2 -2
  47. package/styles/calendar/_bds-definition.scss +273 -0
  48. package/styles/calendar/_bigger.scss +1156 -0
  49. package/styles/calendar/_bootstrap-dark-definition.scss +238 -228
  50. package/styles/calendar/_bootstrap-definition.scss +238 -228
  51. package/styles/calendar/_bootstrap4-definition.scss +238 -228
  52. package/styles/calendar/_bootstrap5-definition.scss +258 -250
  53. package/styles/calendar/_bootstrap5.3-definition.scss +260 -0
  54. package/styles/calendar/_fabric-dark-definition.scss +202 -192
  55. package/styles/calendar/_fabric-definition.scss +200 -190
  56. package/styles/calendar/_fluent-definition.scss +264 -252
  57. package/styles/calendar/_fluent2-definition.scss +294 -0
  58. package/styles/calendar/_fusionnew-definition.scss +260 -250
  59. package/styles/calendar/_highcontrast-definition.scss +199 -189
  60. package/styles/calendar/_highcontrast-light-definition.scss +202 -192
  61. package/styles/calendar/_layout.scss +582 -741
  62. package/styles/calendar/_material-dark-definition.scss +204 -194
  63. package/styles/calendar/_material-definition.scss +199 -189
  64. package/styles/calendar/_material3-dark-definition.scss +1 -0
  65. package/styles/calendar/_material3-definition.scss +196 -0
  66. package/styles/calendar/_tailwind-definition.scss +271 -262
  67. package/styles/calendar/_tailwind4-definition.scss +262 -0
  68. package/styles/calendar/_theme.scss +721 -533
  69. package/styles/calendar/bootstrap-dark.css +120 -373
  70. package/styles/calendar/bootstrap-dark.scss +1 -1
  71. package/styles/calendar/bootstrap.css +119 -372
  72. package/styles/calendar/bootstrap.scss +1 -1
  73. package/styles/calendar/bootstrap4.css +119 -372
  74. package/styles/calendar/bootstrap4.scss +1 -1
  75. package/styles/calendar/bootstrap5-dark.css +121 -393
  76. package/styles/calendar/bootstrap5-dark.scss +1 -1
  77. package/styles/calendar/bootstrap5.css +121 -393
  78. package/styles/calendar/bootstrap5.scss +1 -1
  79. package/styles/calendar/fabric-dark.css +121 -375
  80. package/styles/calendar/fabric-dark.scss +1 -1
  81. package/styles/calendar/fabric.css +124 -379
  82. package/styles/calendar/fabric.scss +1 -1
  83. package/styles/calendar/fluent-dark.css +139 -421
  84. package/styles/calendar/fluent-dark.scss +1 -1
  85. package/styles/calendar/fluent.css +139 -421
  86. package/styles/calendar/fluent.scss +1 -1
  87. package/styles/calendar/fluent2.css +1747 -0
  88. package/styles/calendar/fluent2.scss +5 -0
  89. package/styles/calendar/highcontrast-light.css +120 -373
  90. package/styles/calendar/highcontrast-light.scss +1 -1
  91. package/styles/calendar/highcontrast.css +124 -379
  92. package/styles/calendar/highcontrast.scss +1 -1
  93. package/styles/calendar/icons/_bds.scss +13 -0
  94. package/styles/calendar/icons/_bootstrap-dark.scss +13 -13
  95. package/styles/calendar/icons/_bootstrap.scss +13 -13
  96. package/styles/calendar/icons/_bootstrap4.scss +13 -13
  97. package/styles/calendar/icons/_bootstrap5.3.scss +13 -0
  98. package/styles/calendar/icons/_bootstrap5.scss +13 -13
  99. package/styles/calendar/icons/_fabric-dark.scss +13 -13
  100. package/styles/calendar/icons/_fabric.scss +13 -13
  101. package/styles/calendar/icons/_fluent.scss +13 -13
  102. package/styles/calendar/icons/_fluent2.scss +13 -0
  103. package/styles/calendar/icons/_fusionnew.scss +13 -13
  104. package/styles/calendar/icons/_highcontrast-light.scss +13 -13
  105. package/styles/calendar/icons/_highcontrast.scss +13 -13
  106. package/styles/calendar/icons/_material-dark.scss +13 -13
  107. package/styles/calendar/icons/_material.scss +13 -13
  108. package/styles/calendar/icons/_material3-dark.scss +1 -0
  109. package/styles/calendar/icons/_material3.scss +13 -13
  110. package/styles/calendar/icons/_tailwind.scss +13 -13
  111. package/styles/calendar/icons/_tailwind4.scss +13 -0
  112. package/styles/calendar/material-dark.css +121 -377
  113. package/styles/calendar/material-dark.scss +1 -1
  114. package/styles/calendar/material.css +122 -378
  115. package/styles/calendar/material.scss +1 -1
  116. package/styles/calendar/material3-dark.css +638 -0
  117. package/styles/calendar/material3-dark.scss +6 -0
  118. package/styles/calendar/material3.css +694 -0
  119. package/styles/calendar/material3.scss +6 -0
  120. package/styles/calendar/tailwind-dark.css +122 -426
  121. package/styles/calendar/tailwind-dark.scss +1 -1
  122. package/styles/calendar/tailwind.css +122 -426
  123. package/styles/calendar/tailwind.scss +1 -1
  124. package/styles/datepicker/_all.scss +2 -2
  125. package/styles/datepicker/_bds-definition.scss +105 -0
  126. package/styles/datepicker/_bigger.scss +82 -0
  127. package/styles/datepicker/_bootstrap-dark-definition.scss +97 -37
  128. package/styles/datepicker/_bootstrap-definition.scss +96 -34
  129. package/styles/datepicker/_bootstrap4-definition.scss +101 -40
  130. package/styles/datepicker/_bootstrap5-definition.scss +107 -46
  131. package/styles/datepicker/_bootstrap5.3-definition.scss +108 -0
  132. package/styles/datepicker/_fabric-dark-definition.scss +98 -37
  133. package/styles/datepicker/_fabric-definition.scss +95 -34
  134. package/styles/datepicker/_fluent-definition.scss +107 -46
  135. package/styles/datepicker/_fluent2-definition.scss +118 -0
  136. package/styles/datepicker/_fusionnew-definition.scss +107 -46
  137. package/styles/datepicker/_highcontrast-definition.scss +96 -35
  138. package/styles/datepicker/_highcontrast-light-definition.scss +99 -38
  139. package/styles/datepicker/_layout.scss +459 -260
  140. package/styles/datepicker/_material-dark-definition.scss +103 -42
  141. package/styles/datepicker/_material-definition.scss +100 -39
  142. package/styles/datepicker/_material3-dark-definition.scss +1 -0
  143. package/styles/datepicker/_material3-definition.scss +97 -0
  144. package/styles/datepicker/_tailwind-definition.scss +105 -44
  145. package/styles/datepicker/_tailwind4-definition.scss +108 -0
  146. package/styles/datepicker/_theme.scss +48 -54
  147. package/styles/datepicker/bootstrap-dark.css +288 -45
  148. package/styles/datepicker/bootstrap-dark.scss +1 -1
  149. package/styles/datepicker/bootstrap.css +288 -45
  150. package/styles/datepicker/bootstrap.scss +1 -1
  151. package/styles/datepicker/bootstrap4.css +287 -47
  152. package/styles/datepicker/bootstrap4.scss +1 -1
  153. package/styles/datepicker/bootstrap5-dark.css +285 -44
  154. package/styles/datepicker/bootstrap5-dark.scss +1 -1
  155. package/styles/datepicker/bootstrap5.css +285 -44
  156. package/styles/datepicker/bootstrap5.scss +1 -1
  157. package/styles/datepicker/fabric-dark.css +281 -45
  158. package/styles/datepicker/fabric-dark.scss +1 -1
  159. package/styles/datepicker/fabric.css +281 -45
  160. package/styles/datepicker/fabric.scss +1 -1
  161. package/styles/datepicker/fluent-dark.css +284 -44
  162. package/styles/datepicker/fluent-dark.scss +1 -1
  163. package/styles/datepicker/fluent.css +284 -44
  164. package/styles/datepicker/fluent.scss +1 -1
  165. package/styles/datepicker/fluent2.css +1617 -0
  166. package/styles/datepicker/fluent2.scss +7 -0
  167. package/styles/datepicker/highcontrast-light.css +286 -44
  168. package/styles/datepicker/highcontrast-light.scss +1 -1
  169. package/styles/datepicker/highcontrast.css +286 -44
  170. package/styles/datepicker/highcontrast.scss +1 -1
  171. package/styles/datepicker/icons/_bds.scss +52 -0
  172. package/styles/datepicker/icons/_bootstrap-dark.scss +49 -52
  173. package/styles/datepicker/icons/_bootstrap.scss +50 -52
  174. package/styles/datepicker/icons/_bootstrap4.scss +52 -56
  175. package/styles/datepicker/icons/_bootstrap5.3.scss +52 -0
  176. package/styles/datepicker/icons/_bootstrap5.scss +52 -56
  177. package/styles/datepicker/icons/_fabric-dark.scss +43 -52
  178. package/styles/datepicker/icons/_fabric.scss +43 -52
  179. package/styles/datepicker/icons/_fluent.scss +52 -56
  180. package/styles/datepicker/icons/_fluent2.scss +52 -0
  181. package/styles/datepicker/icons/_fusionnew.scss +52 -56
  182. package/styles/datepicker/icons/_highcontrast-light.scss +50 -52
  183. package/styles/datepicker/icons/_highcontrast.scss +50 -52
  184. package/styles/datepicker/icons/_material-dark.scss +59 -86
  185. package/styles/datepicker/icons/_material.scss +59 -86
  186. package/styles/datepicker/icons/_material3-dark.scss +1 -0
  187. package/styles/datepicker/icons/_material3.scss +50 -56
  188. package/styles/datepicker/icons/_tailwind.scss +52 -56
  189. package/styles/datepicker/icons/_tailwind4.scss +52 -0
  190. package/styles/datepicker/material-dark.css +278 -60
  191. package/styles/datepicker/material-dark.scss +1 -1
  192. package/styles/datepicker/material.css +231 -96
  193. package/styles/datepicker/material.scss +1 -1
  194. package/styles/datepicker/material3-dark.css +491 -0
  195. package/styles/datepicker/material3-dark.scss +8 -0
  196. package/styles/datepicker/material3.css +547 -0
  197. package/styles/datepicker/material3.scss +8 -0
  198. package/styles/datepicker/tailwind-dark.css +284 -50
  199. package/styles/datepicker/tailwind-dark.scss +1 -1
  200. package/styles/datepicker/tailwind.css +284 -50
  201. package/styles/datepicker/tailwind.scss +1 -1
  202. package/styles/daterangepicker/_all.scss +2 -2
  203. package/styles/daterangepicker/_bds-definition.scss +294 -0
  204. package/styles/daterangepicker/_bigger.scss +971 -0
  205. package/styles/daterangepicker/_bootstrap-dark-definition.scss +258 -193
  206. package/styles/daterangepicker/_bootstrap-definition.scss +258 -193
  207. package/styles/daterangepicker/_bootstrap4-definition.scss +268 -203
  208. package/styles/daterangepicker/_bootstrap5-definition.scss +296 -231
  209. package/styles/daterangepicker/_bootstrap5.3-definition.scss +298 -0
  210. package/styles/daterangepicker/_fabric-dark-definition.scss +261 -196
  211. package/styles/daterangepicker/_fabric-definition.scss +258 -193
  212. package/styles/daterangepicker/_fluent-definition.scss +313 -240
  213. package/styles/daterangepicker/_fluent2-definition.scss +305 -0
  214. package/styles/daterangepicker/_fusionnew-definition.scss +295 -230
  215. package/styles/daterangepicker/_highcontrast-definition.scss +258 -193
  216. package/styles/daterangepicker/_highcontrast-light-definition.scss +261 -196
  217. package/styles/daterangepicker/_layout.scss +806 -821
  218. package/styles/daterangepicker/_material-dark-definition.scss +266 -201
  219. package/styles/daterangepicker/_material-definition.scss +266 -201
  220. package/styles/daterangepicker/_material3-dark-definition.scss +1 -0
  221. package/styles/daterangepicker/_material3-definition.scss +262 -0
  222. package/styles/daterangepicker/_tailwind-definition.scss +287 -222
  223. package/styles/daterangepicker/_tailwind4-definition.scss +308 -0
  224. package/styles/daterangepicker/_theme.scss +428 -435
  225. package/styles/daterangepicker/bootstrap-dark.css +387 -474
  226. package/styles/daterangepicker/bootstrap-dark.scss +1 -1
  227. package/styles/daterangepicker/bootstrap.css +387 -473
  228. package/styles/daterangepicker/bootstrap.scss +1 -1
  229. package/styles/daterangepicker/bootstrap4.css +386 -477
  230. package/styles/daterangepicker/bootstrap4.scss +1 -1
  231. package/styles/daterangepicker/bootstrap5-dark.css +392 -483
  232. package/styles/daterangepicker/bootstrap5-dark.scss +1 -1
  233. package/styles/daterangepicker/bootstrap5.css +392 -483
  234. package/styles/daterangepicker/bootstrap5.scss +1 -1
  235. package/styles/daterangepicker/fabric-dark.css +387 -468
  236. package/styles/daterangepicker/fabric-dark.scss +1 -1
  237. package/styles/daterangepicker/fabric.css +388 -469
  238. package/styles/daterangepicker/fabric.scss +1 -1
  239. package/styles/daterangepicker/fluent-dark.css +396 -504
  240. package/styles/daterangepicker/fluent-dark.scss +1 -1
  241. package/styles/daterangepicker/fluent.css +396 -504
  242. package/styles/daterangepicker/fluent.scss +1 -1
  243. package/styles/daterangepicker/fluent2.css +1998 -0
  244. package/styles/daterangepicker/fluent2.scss +7 -0
  245. package/styles/daterangepicker/highcontrast-light.css +389 -470
  246. package/styles/daterangepicker/highcontrast-light.scss +1 -1
  247. package/styles/daterangepicker/highcontrast.css +389 -470
  248. package/styles/daterangepicker/highcontrast.scss +1 -1
  249. package/styles/daterangepicker/icons/_bds.scss +74 -0
  250. package/styles/daterangepicker/icons/_bootstrap-dark.scss +61 -65
  251. package/styles/daterangepicker/icons/_bootstrap.scss +69 -65
  252. package/styles/daterangepicker/icons/_bootstrap4.scss +75 -74
  253. package/styles/daterangepicker/icons/_bootstrap5.3.scss +74 -0
  254. package/styles/daterangepicker/icons/_bootstrap5.scss +74 -72
  255. package/styles/daterangepicker/icons/_fabric-dark.scss +69 -65
  256. package/styles/daterangepicker/icons/_fabric.scss +69 -65
  257. package/styles/daterangepicker/icons/_fluent.scss +74 -72
  258. package/styles/daterangepicker/icons/_fluent2.scss +91 -0
  259. package/styles/daterangepicker/icons/_fusionnew.scss +74 -72
  260. package/styles/daterangepicker/icons/_highcontrast-light.scss +69 -65
  261. package/styles/daterangepicker/icons/_highcontrast.scss +69 -65
  262. package/styles/daterangepicker/icons/_material-dark.scss +85 -99
  263. package/styles/daterangepicker/icons/_material.scss +85 -99
  264. package/styles/daterangepicker/icons/_material3-dark.scss +1 -0
  265. package/styles/daterangepicker/icons/_material3.scss +90 -99
  266. package/styles/daterangepicker/icons/_tailwind.scss +74 -72
  267. package/styles/daterangepicker/icons/_tailwind4.scss +74 -0
  268. package/styles/daterangepicker/material-dark.css +388 -487
  269. package/styles/daterangepicker/material-dark.scss +1 -1
  270. package/styles/daterangepicker/material.css +344 -560
  271. package/styles/daterangepicker/material.scss +1 -1
  272. package/styles/daterangepicker/material3-dark.css +888 -0
  273. package/styles/daterangepicker/material3-dark.scss +8 -0
  274. package/styles/daterangepicker/material3.css +944 -0
  275. package/styles/daterangepicker/material3.scss +8 -0
  276. package/styles/daterangepicker/tailwind-dark.css +388 -476
  277. package/styles/daterangepicker/tailwind-dark.scss +1 -1
  278. package/styles/daterangepicker/tailwind.css +388 -476
  279. package/styles/daterangepicker/tailwind.scss +1 -1
  280. package/styles/datetimepicker/_all.scss +2 -2
  281. package/styles/datetimepicker/_bds-definition.scss +65 -0
  282. package/styles/datetimepicker/_bigger.scss +105 -0
  283. package/styles/datetimepicker/_bootstrap-dark-definition.scss +60 -55
  284. package/styles/datetimepicker/_bootstrap-definition.scss +59 -54
  285. package/styles/datetimepicker/_bootstrap4-definition.scss +65 -60
  286. package/styles/datetimepicker/_bootstrap5-definition.scss +65 -60
  287. package/styles/datetimepicker/_bootstrap5.3-definition.scss +65 -0
  288. package/styles/datetimepicker/_fabric-dark-definition.scss +60 -55
  289. package/styles/datetimepicker/_fabric-definition.scss +57 -52
  290. package/styles/datetimepicker/_fluent-definition.scss +65 -60
  291. package/styles/datetimepicker/_fluent2-definition.scss +65 -0
  292. package/styles/datetimepicker/_fusionnew-definition.scss +65 -60
  293. package/styles/datetimepicker/_highcontrast-definition.scss +57 -52
  294. package/styles/datetimepicker/_highcontrast-light-definition.scss +60 -55
  295. package/styles/datetimepicker/_layout.scss +179 -195
  296. package/styles/datetimepicker/_material-dark-definition.scss +64 -59
  297. package/styles/datetimepicker/_material-definition.scss +62 -57
  298. package/styles/datetimepicker/_material3-dark-definition.scss +1 -0
  299. package/styles/datetimepicker/_material3-definition.scss +61 -0
  300. package/styles/datetimepicker/_tailwind-definition.scss +65 -60
  301. package/styles/datetimepicker/_tailwind4-definition.scss +70 -0
  302. package/styles/datetimepicker/_theme.scss +95 -70
  303. package/styles/datetimepicker/bootstrap-dark.css +29 -42
  304. package/styles/datetimepicker/bootstrap-dark.scss +1 -1
  305. package/styles/datetimepicker/bootstrap.css +29 -42
  306. package/styles/datetimepicker/bootstrap.scss +1 -1
  307. package/styles/datetimepicker/bootstrap4.css +29 -42
  308. package/styles/datetimepicker/bootstrap4.scss +1 -1
  309. package/styles/datetimepicker/bootstrap5-dark.css +29 -42
  310. package/styles/datetimepicker/bootstrap5-dark.scss +1 -1
  311. package/styles/datetimepicker/bootstrap5.css +29 -42
  312. package/styles/datetimepicker/bootstrap5.scss +1 -1
  313. package/styles/datetimepicker/fabric-dark.css +29 -42
  314. package/styles/datetimepicker/fabric-dark.scss +1 -1
  315. package/styles/datetimepicker/fabric.css +29 -42
  316. package/styles/datetimepicker/fabric.scss +1 -1
  317. package/styles/datetimepicker/fluent-dark.css +29 -42
  318. package/styles/datetimepicker/fluent-dark.scss +1 -1
  319. package/styles/datetimepicker/fluent.css +29 -42
  320. package/styles/datetimepicker/fluent.scss +1 -1
  321. package/styles/datetimepicker/fluent2.css +1373 -0
  322. package/styles/datetimepicker/fluent2.scss +8 -0
  323. package/styles/datetimepicker/highcontrast-light.css +29 -42
  324. package/styles/datetimepicker/highcontrast-light.scss +1 -1
  325. package/styles/datetimepicker/highcontrast.css +29 -42
  326. package/styles/datetimepicker/highcontrast.scss +1 -1
  327. package/styles/datetimepicker/icons/_bds.scss +11 -0
  328. package/styles/datetimepicker/icons/_bootstrap-dark.scss +11 -11
  329. package/styles/datetimepicker/icons/_bootstrap.scss +11 -11
  330. package/styles/datetimepicker/icons/_bootstrap4.scss +11 -11
  331. package/styles/datetimepicker/icons/_bootstrap5.3.scss +11 -0
  332. package/styles/datetimepicker/icons/_bootstrap5.scss +11 -11
  333. package/styles/datetimepicker/icons/_fabric-dark.scss +11 -11
  334. package/styles/datetimepicker/icons/_fabric.scss +11 -11
  335. package/styles/datetimepicker/icons/_fluent.scss +11 -11
  336. package/styles/datetimepicker/icons/_fluent2.scss +11 -0
  337. package/styles/datetimepicker/icons/_fusionnew.scss +11 -11
  338. package/styles/datetimepicker/icons/_highcontrast-light.scss +11 -11
  339. package/styles/datetimepicker/icons/_highcontrast.scss +11 -11
  340. package/styles/datetimepicker/icons/_material-dark.scss +31 -53
  341. package/styles/datetimepicker/icons/_material.scss +40 -62
  342. package/styles/datetimepicker/icons/_material3-dark.scss +1 -0
  343. package/styles/datetimepicker/icons/_material3.scss +11 -11
  344. package/styles/datetimepicker/icons/_tailwind.scss +11 -11
  345. package/styles/datetimepicker/icons/_tailwind4.scss +11 -0
  346. package/styles/datetimepicker/material-dark.css +29 -67
  347. package/styles/datetimepicker/material-dark.scss +1 -1
  348. package/styles/datetimepicker/material.css +29 -67
  349. package/styles/datetimepicker/material.scss +1 -1
  350. package/styles/datetimepicker/material3-dark.css +252 -0
  351. package/styles/datetimepicker/material3-dark.scss +9 -0
  352. package/styles/datetimepicker/material3.css +308 -0
  353. package/styles/datetimepicker/material3.scss +9 -0
  354. package/styles/datetimepicker/tailwind-dark.css +29 -43
  355. package/styles/datetimepicker/tailwind-dark.scss +1 -1
  356. package/styles/datetimepicker/tailwind.css +29 -43
  357. package/styles/datetimepicker/tailwind.scss +1 -1
  358. package/styles/fabric-dark.css +1002 -1056
  359. package/styles/fabric-dark.scss +20 -5
  360. package/styles/fabric.css +1003 -1060
  361. package/styles/fabric.scss +20 -5
  362. package/styles/fluent-dark.css +1024 -1133
  363. package/styles/fluent-dark.scss +20 -5
  364. package/styles/fluent.css +1024 -1133
  365. package/styles/fluent.scss +20 -5
  366. package/styles/fluent2.css +3549 -0
  367. package/styles/fluent2.scss +20 -0
  368. package/styles/highcontrast-light.css +1010 -1057
  369. package/styles/highcontrast-light.scss +20 -5
  370. package/styles/highcontrast.css +1009 -1060
  371. package/styles/highcontrast.scss +20 -5
  372. package/styles/material-dark.css +967 -1116
  373. package/styles/material-dark.scss +20 -5
  374. package/styles/material.css +833 -1208
  375. package/styles/material.scss +20 -5
  376. package/styles/material3-dark.css +2354 -0
  377. package/styles/material3-dark.scss +22 -0
  378. package/styles/material3.css +2410 -0
  379. package/styles/material3.scss +22 -0
  380. package/styles/tailwind-dark.css +988 -1106
  381. package/styles/tailwind-dark.scss +20 -5
  382. package/styles/tailwind.css +988 -1106
  383. package/styles/tailwind.scss +20 -5
  384. package/styles/timepicker/_all.scss +2 -2
  385. package/styles/timepicker/_bds-definition.scss +84 -0
  386. package/styles/timepicker/_bigger.scss +92 -0
  387. package/styles/timepicker/_bootstrap-dark-definition.scss +80 -52
  388. package/styles/timepicker/_bootstrap-definition.scss +77 -49
  389. package/styles/timepicker/_bootstrap4-definition.scss +85 -57
  390. package/styles/timepicker/_bootstrap5-definition.scss +86 -58
  391. package/styles/timepicker/_bootstrap5.3-definition.scss +85 -0
  392. package/styles/timepicker/_fabric-dark-definition.scss +80 -52
  393. package/styles/timepicker/_fabric-definition.scss +77 -49
  394. package/styles/timepicker/_fluent-definition.scss +86 -58
  395. package/styles/timepicker/_fluent2-definition.scss +84 -0
  396. package/styles/timepicker/_fusionnew-definition.scss +86 -58
  397. package/styles/timepicker/_highcontrast-definition.scss +77 -49
  398. package/styles/timepicker/_highcontrast-light-definition.scss +80 -52
  399. package/styles/timepicker/_layout.scss +227 -202
  400. package/styles/timepicker/_material-dark-definition.scss +84 -56
  401. package/styles/timepicker/_material-definition.scss +81 -53
  402. package/styles/timepicker/_material3-dark-definition.scss +1 -0
  403. package/styles/timepicker/_material3-definition.scss +83 -0
  404. package/styles/timepicker/_tailwind-definition.scss +84 -56
  405. package/styles/timepicker/_tailwind4-definition.scss +92 -0
  406. package/styles/timepicker/_theme.scss +134 -100
  407. package/styles/timepicker/bootstrap-dark.css +102 -42
  408. package/styles/timepicker/bootstrap-dark.scss +1 -1
  409. package/styles/timepicker/bootstrap.css +102 -42
  410. package/styles/timepicker/bootstrap.scss +1 -1
  411. package/styles/timepicker/bootstrap4.css +102 -42
  412. package/styles/timepicker/bootstrap4.scss +1 -1
  413. package/styles/timepicker/bootstrap5-dark.css +102 -42
  414. package/styles/timepicker/bootstrap5-dark.scss +1 -1
  415. package/styles/timepicker/bootstrap5.css +102 -42
  416. package/styles/timepicker/bootstrap5.scss +1 -1
  417. package/styles/timepicker/fabric-dark.css +102 -42
  418. package/styles/timepicker/fabric-dark.scss +1 -1
  419. package/styles/timepicker/fabric.css +102 -42
  420. package/styles/timepicker/fabric.scss +1 -1
  421. package/styles/timepicker/fluent-dark.css +102 -42
  422. package/styles/timepicker/fluent-dark.scss +1 -1
  423. package/styles/timepicker/fluent.css +102 -42
  424. package/styles/timepicker/fluent.scss +1 -1
  425. package/styles/timepicker/fluent2.css +1470 -0
  426. package/styles/timepicker/fluent2.scss +6 -0
  427. package/styles/timepicker/highcontrast-light.css +102 -42
  428. package/styles/timepicker/highcontrast-light.scss +1 -1
  429. package/styles/timepicker/highcontrast.css +102 -42
  430. package/styles/timepicker/highcontrast.scss +1 -1
  431. package/styles/timepicker/icons/_bds.scss +24 -0
  432. package/styles/timepicker/icons/_bootstrap-dark.scss +23 -11
  433. package/styles/timepicker/icons/_bootstrap.scss +24 -12
  434. package/styles/timepicker/icons/_bootstrap4.scss +24 -12
  435. package/styles/timepicker/icons/_bootstrap5.3.scss +24 -0
  436. package/styles/timepicker/icons/_bootstrap5.scss +24 -12
  437. package/styles/timepicker/icons/_fabric-dark.scss +24 -12
  438. package/styles/timepicker/icons/_fabric.scss +24 -12
  439. package/styles/timepicker/icons/_fluent.scss +24 -12
  440. package/styles/timepicker/icons/_fluent2.scss +24 -0
  441. package/styles/timepicker/icons/_fusionnew.scss +24 -12
  442. package/styles/timepicker/icons/_highcontrast-light.scss +24 -12
  443. package/styles/timepicker/icons/_highcontrast.scss +24 -12
  444. package/styles/timepicker/icons/_material-dark.scss +37 -40
  445. package/styles/timepicker/icons/_material.scss +39 -42
  446. package/styles/timepicker/icons/_material3-dark.scss +1 -0
  447. package/styles/timepicker/icons/_material3.scss +24 -12
  448. package/styles/timepicker/icons/_tailwind.scss +24 -12
  449. package/styles/timepicker/icons/_tailwind4.scss +24 -0
  450. package/styles/timepicker/material-dark.css +100 -58
  451. package/styles/timepicker/material-dark.scss +1 -1
  452. package/styles/timepicker/material.css +100 -58
  453. package/styles/timepicker/material.scss +1 -1
  454. package/styles/timepicker/material3-dark.css +349 -0
  455. package/styles/timepicker/material3-dark.scss +7 -0
  456. package/styles/timepicker/material3.css +405 -0
  457. package/styles/timepicker/material3.scss +7 -0
  458. package/styles/timepicker/tailwind-dark.css +102 -43
  459. package/styles/timepicker/tailwind-dark.scss +1 -1
  460. package/styles/timepicker/tailwind.css +102 -43
  461. package/styles/timepicker/tailwind.scss +1 -1
  462. package/.eslintrc.json +0 -259
  463. package/dist/ej2-calendars.min.js +0 -10
  464. package/dist/global/ej2-calendars.min.js +0 -11
  465. package/dist/global/ej2-calendars.min.js.map +0 -1
  466. package/dist/global/index.d.ts +0 -14
  467. package/tslint.json +0 -111
@@ -1,533 +1,721 @@
1
- @include export-module('calendar-theme') {
2
- #{&}.e-calendar,
3
- .e-bigger.e-small #{&}.e-calendar {
4
- @if $skin-name == 'Material3' {
5
- background: $calendar-bg-color;
6
- border-radius: 8px;
7
- }
8
- @if $skin-name != 'Material3' {
9
- background-color: $calendar-bg-color;
10
- }
11
- border: $calendar-border-style;
12
- box-shadow: $calendar-box-shadow;
13
- #{if(&, '&', '*')} .e-date-icon-prev,
14
- #{if(&, '&', '*')} .e-date-icon-next {
15
- color: $calendar-header-icon-color;
16
- }
17
- #{if(&, '&', '*')} th {
18
- border-bottom: 0;
19
- color: $calendar-week-header-font-color;
20
- }
21
- @at-root {
22
- #{if(&, '&', '*')} .e-header {
23
- border-bottom: 0;
24
- #{if(&, '&', '*')} a {
25
- #{if(&, '&', '*')} span {
26
- border: $calendar-default-border-color;
27
- color: $calendar-icon-font-color;
28
- }
29
- }
30
- #{if(&, '&', '*')} .e-title {
31
- color: $calendar-title-font-color;
32
- }
33
- #{if(&, '&', '*')} .e-title:hover {
34
- color: $calendar-title-hover-color;
35
- cursor: pointer;
36
- text-decoration: $calendar-title-decoration-style;
37
- }
38
-
39
- #{if(&, '&', '*')} .e-prev:hover > span,
40
- #{if(&, '&', '*')} .e-next:hover > span {
41
- border: $calendar-icon-hover-border-color;
42
- color: $calendar-icon-hover-color;
43
- cursor: pointer;
44
- }
45
-
46
- #{if(&, '&', '*')} .e-prev:hover,
47
- #{if(&, '&', '*')} .e-next:hover {
48
- background: $calendar-icon-hover-bg-color;
49
- }
50
-
51
- #{if(&, '&', '*')} .e-prev:active,
52
- #{if(&, '&', '*')} .e-next:active {
53
- background: $calendar-active-state-icon-bg-color;
54
- color: $calendar-active-font-color;
55
- }
56
- #{if(&, '&', '*')} button.e-prev:active span,
57
- #{if(&, '&', '*')} button.e-next:active span {
58
- border: $calendar-selected-border-color;
59
- color: $calendar-active-icon-color;
60
- }
61
- #{if(&, '&', '*')}.e-decade .e-title {
62
- color: $calendar-light-font;
63
- cursor: default;
64
- }
65
- #{if(&, '&', '*')} .e-next.e-disabled span,
66
- #{if(&, '&', '*')} .e-prev.e-disabled span {
67
- color: $calendar-disable-font-color;
68
- font-weight: $calendar-disable-font-weight-style;
69
- }
70
- #{if(&, '&', '*')} .e-next.e-disabled,
71
- #{if(&, '&', '*')} .e-prev.e-disabled {
72
- opacity: $calendar-disable-opacity;
73
- }
74
- }
75
- #{if(&, '&', '*')} .e-content {
76
- #{if(&, '&', '*')}.e-decade tr:first-child .e-cell:first-child span.e-day,
77
- #{if(&, '&', '*')}.e-decade tr:last-child .e-cell:last-child span.e-day {
78
- color: $calendar-other-decade-cell-color;
79
- }
80
- #{if(&, '&', '*')}.e-decade tr:first-child .e-cell:first-child.e-selected span.e-day,
81
- #{if(&, '&', '*')}.e-decade tr:last-child .e-cell:last-child.e-selected span.e-day {
82
- color: $calendar-active-font-color;
83
- }
84
- #{if(&, '&', '*')}.e-decade tr:first-child .e-cell.e-disabled:first-child span.e-day,
85
- #{if(&, '&', '*')}.e-decade tr:last-child .e-cell.e-disabled:last-child span.e-day {
86
- color: $calendar-disable-font-color;
87
- }
88
- #{if(&, '&', '*')}.e-year td:hover span.e-day,
89
- #{if(&, '&', '*')}.e-decade td:hover span.e-day {
90
- @if $skin-name != 'Material3' {
91
- background-color: $calendar-hover-color;
92
- }
93
- @if $skin-name == 'Material3' {
94
- background: $calendar-hover-color;
95
- }
96
- }
97
- #{if(&, '&', '*')}.e-year td.e-selected:hover span.e-day,
98
- #{if(&, '&', '*')}.e-decade td.e-selected:hover span.e-day {
99
- @if $skin-name != 'Material3' {
100
- background-color: $calendar-yeardecade-selected-hover-bg;
101
- }
102
- @if $skin-name == 'Material3' {
103
- background: $calendar-yeardecade-selected-hover-bg;
104
- }
105
- }
106
-
107
- #{if(&, '&', '*')}.e-year td > span.e-day,
108
- #{if(&, '&', '*')}.e-decade td > span.e-day {
109
- background: $calendar-yeardecade-bg-color;
110
- }
111
-
112
- #{if(&, '&', '*')} .e-week-number span {
113
- color: $calendar-week-number-color-style;
114
- }
115
-
116
- #{if(&, '&', '*')} td.e-focused-date span.e-day,
117
- #{if(&, '&', '*')} td.e-focused-date:hover span.e-day,
118
- #{if(&, '&', '*')} td.e-focused-date:focus span.e-day {
119
- background: $calendar-focused-date-bg-style;
120
- border: $calendar-focus-border-color;
121
- border-radius: $calendar-border-radius;
122
- box-shadow: $calendar-focus-box-shadow;
123
- @if ($skin-name == 'FluentUI') {
124
- background: none;
125
- border-radius: $calendar-focused-state-border-radius;
126
- box-shadow: $calendar-focused-state-box-shadow;
127
- }
128
- }
129
- #{if(&, '&', '*')} td.e-focused-date:hover span.e-day {
130
- @if $skin-name != 'Material3' {
131
- background-color: $calendar-hover-color;
132
- }
133
- @if $skin-name == 'Material3' {
134
- background: $calendar-hover-color;
135
- }
136
- border: $calendar-hover-border-color;
137
- border-radius: $calendar-border-radius;
138
- color: $calendar-text-color;
139
- }
140
- #{if(&, '&', '*')} td.e-today span.e-day,
141
- #{if(&, '&', '*')} td.e-focused-date.e-today span.e-day {
142
- background: $calendar-today-bg-style;
143
- border: $calendar-today-border-color;
144
- border-radius: $calendar-border-radius;
145
- box-shadow: $calendar-today-box-shadow;
146
- color: $calendar-today-color;
147
- @if ($skin-name == 'FluentUI') {
148
- border-radius: $calendar-border-selected-radius;
149
- }
150
- }
151
- #{if(&, '&', '*')} td.e-focused-date.e-today span.e-day {
152
- background: $calendar-focused-today-bg-style;
153
- border: $calendar-focused-today-border-style;
154
- box-shadow: $calendar-focused-today-box-shadow;
155
- color: $calendar-today-focused-font-color;
156
- }
157
- #{if(&, '&', '*')} td.e-today:focus span.e-day,
158
- #{if(&, '&', '*')} td.e-focused-date.e-today:focus span.e-day {
159
- @if $skin-name != 'Material3' {
160
- background-color: $calendar-focus-bg-color;
161
- }
162
- @if $skin-name == 'Material3' {
163
- background: $calendar-focus-bg-color;
164
- }
165
- border: $calendar-focus-border-color;
166
- border-radius: $calendar-border-radius;
167
- color: $calendar-today-focus-color;
168
- @if ($skin-name == 'FluentUI') {
169
- background-color: $calendar-focused-today-bg-style;
170
- border-radius: $calendar-border-selected-radius;
171
- }
172
- }
173
- #{if(&, '&', '*')} td.e-today:hover span.e-day,
174
- #{if(&, '&', '*')} td.e-focused-date.e-today:hover span.e-day,
175
- #{if(&, '&', '*')} td.e-focused-date.e-today:focus span.e-day {
176
- @if $skin-name != 'Material3' {
177
- background-color: $calendar-hover-color;
178
- }
179
- @if $skin-name == 'Material3' {
180
- background: $calendar-hover-color;
181
- }
182
- border: $calendar-today-border-color;
183
- color: $calendar-today-focus-color;
184
- @if ($skin-name == 'FluentUI') {
185
- background-color: $calendar-today-bg-style;
186
- border-radius: $calendar-border-selected-radius;
187
- }
188
- }
189
- #{if(&, '&', '*')} td.e-today.e-selected span.e-day {
190
- @if $skin-name != 'Material3' {
191
- background-color: $calendar-active-bg-color;
192
- }
193
- @if $skin-name == 'Material3' {
194
- background: $calendar-active-bg-color;
195
- }
196
- border: $calendar-active-bg-border-color;
197
- @if ($skin-name == 'material' or $skin-name == 'material-dark' or $skin-name == 'Material3') {
198
- box-shadow: $calendar-selected-box-shadow;
199
- }
200
- @else {
201
- box-shadow: $calendar-active-bg-box-shadow;
202
- }
203
- color: $calendar-active-today-font-color;
204
- }
205
- #{if(&, '&', '*')} td.e-today.e-selected:hover span.e-day,
206
- #{if(&, '&', '*')} td.e-selected:hover span.e-day,
207
- #{if(&, '&', '*')} td.e-selected.e-focused-date span.e-day {
208
- @if $skin-name != 'Material3' {
209
- background-color: $calendar-active-hover-bg-color;
210
- }
211
- @if $skin-name == 'Material3' {
212
- background: $calendar-active-hover-bg-color;
213
- }
214
- color: $calendar-active-today-hover-font-color;
215
- @if ($skin-name == 'FluentUI') {
216
- background-color: $calendar-focused-today-bg-style;
217
- border-radius: $calendar-border-selected-radius;
218
- color: $calendar-today-color;
219
- }
220
- }
221
- #{if(&, '&', '*')} span {
222
- color: $calendar-text-color;
223
- }
224
- #{if(&, '&', '*')} .e-disabled span.e-day:hover {
225
- background: $calendar-none-style;
226
- border: 0;
227
- color: $calendar-disable-font-color;
228
- }
229
- #{if(&, '&', '*')} .e-other-month:hover span.e-day {
230
- @if ($skin-name != 'fabric-dark') {
231
- color: $calendar-other-month-date-hover-bg;
232
- }
233
- }
234
- #{if(&, '&', '*')} .e-other-month span.e-day,
235
- #{if(&, '&', '*')} .e-other-month.e-today span.e-day {
236
- color: $calendar-other-month-date;
237
- }
238
- #{if(&, '&', '*')} .e-other-month.e-today:hover span.e-day {
239
- @if $skin-name != 'Material3' {
240
- background-color: $calendar-hover-color;
241
- }
242
- @if $skin-name == 'Material3' {
243
- background: $calendar-hover-color;
244
- }
245
- color: $calendar-other-month-date;
246
- @if ($skin-name == 'FluentUI') {
247
- background: $calendar-today-bg-style;
248
- border: $calendar-today-border-color;
249
- border-radius: $calendar-border-selected-radius;
250
- box-shadow: $calendar-today-box-shadow;
251
- color: $calendar-today-color;
252
- }
253
- }
254
- #{if(&, '&', '*')} thead {
255
- background: $calendar-week-header-bg-style;
256
- border-bottom: 0;
257
- }
258
- #{if(&, '&', '*')} td:hover span.e-day,
259
- #{if(&, '&', '*')} td:focus span.e-day {
260
- @if $skin-name != 'Material3' {
261
- background-color: $calendar-hover-color;
262
- }
263
- @if $skin-name == 'Material3' {
264
- background: $calendar-hover-color;
265
- }
266
- border: $calendar-hover-border-color;
267
- border-radius: $calendar-border-radius;
268
- color: $calendar-hover-text;
269
- }
270
- #{if(&, '&', '*')} td:focus span.e-day {
271
- @if $skin-name != 'Material3' {
272
- background-color: $calendar-focus-bg-color;
273
- }
274
- @if $skin-name == 'Material3' {
275
- background: $calendar-focus-bg-color;
276
- }
277
- border: $calendar-focus-border-color;
278
- border-radius: $calendar-border-radius;
279
- color: $calendar-text-color;
280
- @if ($skin-name == 'FluentUI') {
281
- border-radius: $calendar-border-selected-radius;
282
- }
283
- }
284
- #{if(&, '&', '*')} td.e-disabled span.e-day,
285
- #{if(&, '&', '*')} td.e-disabled:hover span.e-day,
286
- #{if(&, '&', '*')} td.e-disabled:focus span.e-day {
287
- background: $calendar-none-style;
288
- border: $calendar-none-style;
289
- color: $calendar-disable-font-color;
290
- }
291
- #{if(&, '&', '*')} td.e-today.e-disabled.e-overlay span.e-day,
292
- #{if(&, '&', '*')} td.e-today.e-disabled.e-overlay:hover span.e-day,
293
- #{if(&, '&', '*')} td.e-today.e-disabled.e-overlay:focus span.e-day {
294
- @if ($skin-name == 'FluentUI') {
295
- background-color: $calendar-focused-today-bg-style;
296
- border-radius: $calendar-border-selected-radius;
297
- color: $calendar-today-color;
298
- }
299
- }
300
- #{if(&, '&', '*')} td.e-selected span.e-day {
301
- @if $skin-name != 'Material3' {
302
- background-color: $calendar-active-bg-color;
303
- }
304
- @if $skin-name == 'Material3' {
305
- background: $calendar-active-bg-color;
306
- }
307
- border: $calendar-selected-border-color;
308
- border-radius: $calendar-border-radius;
309
- color: $calendar-active-font-color;
310
- }
311
- #{if(&, '&', '*')} td.e-selected:not(.e-focused-date) span.e-day {
312
- @if ($skin-name == 'FluentUI') {
313
- box-shadow: $calendar-selected-box-shadow;
314
- }
315
- }
316
- #{if(&, '&', '*')} .e-footer {
317
- color: $calendar-active-bg-color;
318
- }
319
- #{if(&, '&', '*')} td.e-today.e-selected.e-focused-date span.e-day,
320
- #{if(&, '&', '*')} td.e-today.e-selected:hover span.e-day,
321
- #{if(&, '&', '*')} td.e-today.e-selected span.e-day {
322
- @if ($skin-name == 'FluentUI') {
323
- background-color: $calendar-focused-today-bg-style;
324
- border-radius: $calendar-border-selected-radius;
325
- color: $calendar-today-color;
326
- }
327
- }
328
- #{if(&, '&', '*')} td.e-today.e-selected.e-focused-date {
329
- @if ($skin-name == 'FluentUI') {
330
- background-color: $calendar-active-bg-color;
331
- border-radius: $calendar-focused-state-border-radius;
332
- box-shadow: $calendar-focused-state-box-shadow;
333
- }
334
- }
335
- #{if(&, '&', '*')} td.e-today.e-selected {
336
- @if ($skin-name == 'FluentUI') {
337
- background-color: $calendar-active-bg-color;
338
- border-radius: $calendar-wrapper-border-radius;
339
- box-shadow: $calendar-selected-box-shadow;
340
- }
341
- }
342
- #{if(&, '&', '*')} td.e-selected:hover span.e-day {
343
- @if ($skin-name == 'FluentUI') {
344
- background-color: $calendar-active-bg-color;
345
- border: $calendar-selected-border-color;
346
- border-radius: $calendar-border-radius;
347
- color: $calendar-active-font-color;
348
- }
349
- }
350
- #{if(&, '&', '*')} td.e-selected.e-focused-date span.e-day {
351
- @if ($skin-name == 'FluentUI') {
352
- background-color: $calendar-active-bg-color;
353
- border: $calendar-selected-border-color;
354
- border-radius: $calendar-focused-state-border-radius;
355
- color: $calendar-active-font-color;
356
- }
357
- }
358
- #{if(&, '&', '*')}.e-month td.e-today span.e-day {
359
- @if ($skin-name == 'FluentUI') {
360
- color: $calendar-today-focused-font-color;
361
- }
362
- }
363
- #{if(&, '&', '*')}.e-year td.e-selected > span.e-day,
364
- #{if(&, '&', '*')}.e-decade td.e-selected > span.e-day,
365
- #{if(&, '&', '*')}.e-year td.e-selected:hover > span.e-day,
366
- #{if(&, '&', '*')}.e-decade td.e-selected:hover > span.e-day {
367
- @if ($skin-name == 'FluentUI') {
368
- background-color: $calendar-selected-month-bg-color;
369
- color: $calendar-week-header-font-color;
370
- }
371
- }
372
- #{if(&, '&', '*')}.e-year td.e-focused-date > span.e-day,
373
- #{if(&, '&', '*')}.e-decade td.e-focused-date > span.e-day {
374
- @if ($skin-name == 'FluentUI') {
375
- background: $calendar-none-style;
376
- border-radius: 0;
377
- box-shadow: $calendar-focused-state-month-box-shadow;
378
- }
379
- }
380
- #{if(&, '&', '*')} td.e-focused-date.e-today {
381
- @if ($skin-name == 'FluentUI') {
382
- border-radius: $calendar-focused-state-border-radius;
383
- box-shadow: $calendar-focused-state-box-shadow;
384
- }
385
- }
386
- #{if(&, '&', '*')} td.e-focused-date:hover span.e-day {
387
- @if ($skin-name == 'FluentUI') {
388
- border-radius: $calendar-focused-state-border-radius;
389
- }
390
- }
391
- #{if(&, '&', '*')}.e-year td.e-focused-date:hover > span.e-day,
392
- #{if(&, '&', '*')}.e-decade td.e-focused-date:hover > span.e-day {
393
- @if ($skin-name == 'FluentUI') {
394
- background: $calendar-hover-color;
395
- border-radius: 0;
396
- box-shadow: $calendar-focused-state-month-box-shadow;
397
- }
398
- }
399
- }
400
- }
401
- #{if(&, '&', '*')}.e-device {
402
- #{if(&, '&', '*')} .e-prev:hover,
403
- #{if(&, '&', '*')} .e-next:hover,
404
- #{if(&, '&', '*')} .e-prev:active,
405
- #{if(&, '&', '*')} .e-next:active,
406
- #{if(&, '&', '*')} .e-prev:focus,
407
- #{if(&, '&', '*')} .e-next:focus {
408
- background: $calendar-device-icon-hover-bg-color;
409
- }
410
- #{if(&, '&', '*')} button.e-prev:active span,
411
- #{if(&, '&', '*')} button.e-next:active span {
412
- color: $calendar-header-icon-color;
413
- }
414
- }
415
-
416
- #{if(&, '&', '*')} .e-footer-container {
417
- #{if(&, '&', '*')} .e-btn.e-today.e-flat.e-primary:not(:hover) {
418
- @if $skin-name == 'tailwind' {
419
- /* stylelint-disable property-no-vendor-prefix */
420
- -webkit-tap-highlight-color: transparent;
421
- background-color: $calendar-today-btn-primary-bgcolor;
422
- border-color: $calendar-today-btn-primary-border-color;
423
- color: $calendar-today-btn-primary-color;
424
- }
425
- }
426
-
427
- #{if(&, '&', '*')} .e-btn.e-today.e-flat.e-primary.e-disabled {
428
- @if $skin-name == 'tailwind' {
429
- -webkit-tap-highlight-color: transparent;
430
- background-color: $calendar-today-btn-primary-disabled-bgcolor;
431
- border-color: $calendar-today-btn-primary-disabled-border-color;
432
- color: $calendar-today-btn-primary-disabled-color;
433
- }
434
- }
435
- }
436
- }
437
-
438
- .e-small#{&}.e-calendar,
439
- .e-small #{&}.e-calendar {
440
- #{if(&, '&', '*')} .e-header {
441
- #{if(&, '&', '*')} .e-title {
442
- color: $calendar-small-title-font-color;
443
- }
444
- }
445
- }
446
-
447
- #{&}.e-calendar.e-disabled {
448
- #{if(&, '&', '*')} .e-footer-container {
449
- #{if(&, '&', '*')} .e-btn.e-today.e-flat.e-primary {
450
- @if $skin-name == 'tailwind' {
451
- -webkit-tap-highlight-color: transparent;
452
- background-color: $calendar-today-btn-primary-disabled-bgcolor;
453
- border-color: $calendar-today-btn-primary-disabled-border-color;
454
- color: $calendar-today-btn-primary-disabled-color;
455
- }
456
- }
457
- }
458
- }
459
-
460
- .e-zoomin {
461
- animation: animatezoom .3s;
462
- }
463
-
464
- @keyframes animatezoom {
465
- from {
466
- transform: scale(0);
467
- }
468
-
469
- to {
470
- transform: scale(1);
471
- }
472
- }
473
-
474
- .e-calendar .e-btn.e-today.e-flat.e-primary,
475
- .e-calendar .e-css.e-btn.e-today.e-flat.e-primary {
476
- @if $skin-name == 'bootstrap5' or $skin-name == 'FluentUI' {
477
- background-color: $today-button-bg;
478
- border: 0;
479
- border-color: $today-button-bg-border-color;
480
- color: $today-button-text-color;
481
- }
482
- }
483
-
484
- .e-calendar .e-btn.e-today.e-flat.e-primary:hover,
485
- .e-calendar .e-css.e-btn.e-today.e-flat.e-primary:hover {
486
- @if $skin-name == 'bootstrap5' or $skin-name == 'FluentUI' {
487
- background-color: $today-button-hover-bg;
488
- border-color: $today-button-bg-border-hover-color;
489
- color: $today-button-text-hover-color;
490
- }
491
- }
492
-
493
- .e-calendar .e-btn.e-today.e-flat.e-primary:active,
494
- .e-calendar .e-btn.e-today.e-flat.e-primary.e-active,
495
- .e-calendar .e-css.e-btn.e-today.e-flat.e-primary:active,
496
- .e-calendar .e-css.e-btn.e-today.e-flat.e-primary.e-active {
497
- @if $skin-name == 'bootstrap5' or $skin-name == 'FluentUI' {
498
- background-color: $today-button-active-bg;
499
- border-color: $today-button-bg-border-active-color;
500
- color: $today-button-text-active-color;
501
- }
502
- @if $skin-name == 'FluentUI' {
503
- border: $calendar-none-style;
504
- outline: $calendar-none-style;
505
- }
506
- }
507
-
508
- .e-calendar .e-btn.e-today.e-flat.e-primary:focus,
509
- .e-calendar .e-btn.e-today.e-flat.e-primary.e-focus,
510
- .e-calendar .e-css.e-btn.e-today.e-flat.e-primary:focus,
511
- .e-calendar .e-css.e-btn.e-today.e-flat.e-primary.e-focus {
512
- @if $skin-name == 'FluentUI' {
513
- background-color: $today-button-active-bg;
514
- border: $calendar-none-style;
515
- border-color: $today-button-bg-border-active-color;
516
- color: $today-button-text-active-color;
517
- outline: $calendar-none-style;
518
- }
519
- }
520
-
521
- .e-calendar .e-btn.e-today.e-flat.e-primary.e-disabled,
522
- .e-calendar .e-btn.e-today.e-flat.e-primary.e-disabled,
523
- .e-calendar .e-css.e-btn.e-today.e-flat.e-primary.e-disabled,
524
- .e-calendar .e-css.e-btn.e-today.e-flat.e-primary.e-disabled {
525
- @if $skin-name == 'bootstrap5' {
526
- background-color: $calendar-today-disabled-background-style;
527
- border-color: $calendar-today-disabled-border-style;
528
- }
529
- @if $skin-name == 'bootstrap5' or $skin-name == 'FluentUI' {
530
- color: $calendar-today-disabled-color;
531
- }
532
- }
533
- }
1
+ @include export-module('calendar-theme') {
2
+ #{&}.e-calendar {
3
+ @if $skin-name == 'Material3' or $skin-name == 'fluent2' {
4
+ background: $calendar-bg-color;
5
+ border-radius: 8px;
6
+ }
7
+ @if ($skin-name != 'Material3' and $skin-name != 'fluent2') {
8
+ background-color: $calendar-bg-color;
9
+ }
10
+ border: $calendar-border-style;
11
+ box-shadow: $calendar-box-shadow;
12
+ #{if(&, '&', '*')} .e-date-icon-prev,
13
+ #{if(&, '&', '*')} .e-date-icon-next {
14
+ color: $calendar-header-icon-color;
15
+ }
16
+ #{if(&, '&', '*')} th {
17
+ border-bottom: 0;
18
+ color: $calendar-week-header-font-color;
19
+ }
20
+ @at-root {
21
+ #{if(&, '&', '*')} .e-header {
22
+ border-bottom: 0;
23
+ #{if(&, '&', '*')} a {
24
+ #{if(&, '&', '*')} span {
25
+ border: $calendar-default-border-color;
26
+ color: $calendar-icon-font-color;
27
+ }
28
+ }
29
+ #{if(&, '&', '*')} .e-title {
30
+ color: $calendar-title-font-color;
31
+ }
32
+ #{if(&, '&', '*')} .e-title:hover {
33
+ @if $skin-name != 'tailwind4' {
34
+ background: $calendar-title-hover-bg-color;
35
+ }
36
+ cursor: pointer;
37
+ text-decoration: $calendar-title-decoration-style;
38
+ @if $skin-name == 'fluent2' {
39
+ color: $calendar-title-hover-color;
40
+ }
41
+ }
42
+ #{if(&, '&', '*')} .e-title:focus {
43
+ box-shadow: $calendar-title-focus-box-shadow;
44
+ @if $skin-name != 'fluent2' and $skin-name != 'tailwind4' {
45
+ background: $calendar-title-focus-background;
46
+ }
47
+ @if $skin-name == 'highcontrast' {
48
+ text-decoration: none;
49
+ }
50
+ @else {
51
+ text-decoration: $calendar-title-decoration-style;
52
+ }
53
+ }
54
+ #{if(&, '&', '*')} .e-title:active {
55
+ @if $skin-name == 'fluent2' {
56
+ background: $calendar-title-active-background;
57
+ color: $calendar-title-active-color;
58
+ }
59
+ @else {
60
+ box-shadow: $calendar-box-shadow;
61
+ @if $skin-name != 'tailwind4' {
62
+ background: $calendar-title-active-background;
63
+ }
64
+ text-decoration: $calendar-title-decoration-style;
65
+ }
66
+ }
67
+ #{if(&, '&', '*')} .e-prev:hover > span,
68
+ #{if(&, '&', '*')} .e-next:hover > span {
69
+ border: $calendar-icon-hover-border-color;
70
+ color: $calendar-icon-hover-color;
71
+ cursor: pointer;
72
+ }
73
+
74
+ #{if(&, '&', '*')} .e-prev:hover,
75
+ #{if(&, '&', '*')} .e-next:hover {
76
+ @if $skin-name != 'tailwind4' {
77
+ background: $calendar-icon-hover-bg-color;
78
+ }
79
+ @if $skin-name == 'fluent2' {
80
+ color: $calendar-active-font-color;
81
+ }
82
+ @if $skin-name == 'tailwind4' {
83
+ color: $calendar-prev-icon-hover;
84
+ }
85
+ }
86
+ #{if(&, '&', '*')} .e-prev:focus,
87
+ #{if(&, '&', '*')} .e-next:focus {
88
+ box-shadow: $calendar-icon-focus-box-shadow;
89
+ }
90
+ #{if(&, '&', '*')} .e-prev:active,
91
+ #{if(&, '&', '*')} .e-next:active {
92
+ @if $skin-name == 'tailwind4' {
93
+ color: $icon-color-pressed;
94
+ }
95
+ @else {
96
+ background: $calendar-active-state-icon-bg-color;
97
+ color: $calendar-active-font-color;
98
+ }
99
+ }
100
+ #{if(&, '&', '*')} button.e-prev:active span,
101
+ #{if(&, '&', '*')} button.e-next:active span {
102
+ border: $calendar-selected-border-color;
103
+ color: $calendar-active-icon-color;
104
+ }
105
+ #{if(&, '&', '*')}.e-decade .e-title {
106
+ @if $skin-name != 'fluent2' {
107
+ color: $calendar-light-font;
108
+ cursor: default;
109
+ }
110
+ }
111
+ #{if(&, '&', '*')} .e-next.e-disabled span,
112
+ #{if(&, '&', '*')} .e-prev.e-disabled span {
113
+ color: $calendar-disable-font-color;
114
+ font-weight: $calendar-disable-font-weight-style;
115
+ }
116
+ #{if(&, '&', '*')} .e-next.e-disabled,
117
+ #{if(&, '&', '*')} .e-prev.e-disabled {
118
+ opacity: $calendar-disable-opacity;
119
+ }
120
+ }
121
+ #{if(&, '&', '*')} .e-content.e-year,
122
+ #{if(&, '&', '*')} .e-content.e-decade {
123
+ #{if(&, '&', '*')} td.e-selected span.e-day {
124
+ @if $skin-name == 'fluent2' {
125
+ font-weight: 600;
126
+ }
127
+ }
128
+ }
129
+ #{if(&, '&', '*')} .e-content {
130
+ #{if(&, '&', '*')} .e-selected:hover {
131
+ @if $skin-name == 'tailwind4' {
132
+ background: $flyout-bg-color-hover;
133
+ }
134
+ }
135
+ #{if(&, '&', '*')} .e-selected:active {
136
+ @if $skin-name == 'tailwind4' {
137
+ background: $flyout-bg-color-pressed;
138
+ }
139
+ }
140
+ #{if(&, '&', '*')} .e-selected:focus {
141
+ @if $skin-name == 'tailwind4' {
142
+ background: $flyout-bg-color-focus;
143
+ }
144
+ }
145
+ #{if(&, '&', '*')}.e-decade tr:first-child .e-cell:first-child span.e-day,
146
+ #{if(&, '&', '*')}.e-decade tr:last-child .e-cell:last-child span.e-day {
147
+ color: $calendar-other-decade-cell-color;
148
+ }
149
+ #{if(&, '&', '*')}.e-decade tr:first-child .e-cell:first-child.e-selected span.e-day,
150
+ #{if(&, '&', '*')}.e-decade tr:last-child .e-cell:last-child.e-selected span.e-day {
151
+ color: $calendar-active-font-color;
152
+ }
153
+ #{if(&, '&', '*')}.e-decade tr:first-child .e-cell.e-disabled:first-child span.e-day,
154
+ #{if(&, '&', '*')}.e-decade tr:last-child .e-cell.e-disabled:last-child span.e-day {
155
+ color: $calendar-disable-font-color;
156
+ }
157
+ #{if(&, '&', '*')}.e-year td:hover span.e-day,
158
+ #{if(&, '&', '*')}.e-decade td:hover span.e-day {
159
+ @if ($skin-name != 'Material3' and $skin-name == 'fluent2') {
160
+ background-color: $calendar-hover-color;
161
+ }
162
+ @if $skin-name == 'Material3' or $skin-name == 'fluent2' {
163
+ background: $calendar-hover-color;
164
+ }
165
+ }
166
+ #{if(&, '&', '*')}.e-year td.e-selected:hover span.e-day,
167
+ #{if(&, '&', '*')}.e-decade td.e-selected:hover span.e-day {
168
+ @if ($skin-name != 'Material3' and $skin-name != 'fluent2' and $skin-name != 'tailwind4') {
169
+ background-color: $calendar-yeardecade-selected-hover-bg;
170
+ }
171
+ @if $skin-name == 'Material3' or $skin-name == 'fluent2' {
172
+ background: $calendar-yeardecade-selected-hover-bg;
173
+ }
174
+ }
175
+
176
+ #{if(&, '&', '*')}.e-year td > span.e-day,
177
+ #{if(&, '&', '*')}.e-decade td > span.e-day {
178
+ background: $calendar-yeardecade-bg-color;
179
+ }
180
+
181
+ #{if(&, '&', '*')} .e-week-number span {
182
+ color: $calendar-week-number-color-style;
183
+ }
184
+
185
+ #{if(&, '&', '*')} td.e-focused-date span.e-day,
186
+ #{if(&, '&', '*')} td.e-focused-date:hover span.e-day,
187
+ #{if(&, '&', '*')} td.e-focused-date:focus span.e-day {
188
+ @if $skin-name != 'tailwind4' {
189
+ background: $calendar-focused-date-bg-style;
190
+ }
191
+ border: $calendar-focus-border-color;
192
+ border-radius: $calendar-border-radius;
193
+ box-shadow: $calendar-focus-box-shadow;
194
+ @if ($skin-name == 'FluentUI') {
195
+ background: none;
196
+ border-radius: $calendar-focused-state-border-radius;
197
+ box-shadow: $calendar-focused-state-box-shadow;
198
+ }
199
+ @if $skin-name == 'fluent2' {
200
+ font-weight: 600;
201
+ }
202
+ }
203
+ #{if(&, '&', '*')} td.e-focused-date:hover span.e-day {
204
+ @if ($skin-name != 'Material3' and $skin-name != 'fluent2') {
205
+ background-color: $calendar-hover-color;
206
+ }
207
+ @if $skin-name == 'Material3' or $skin-name == 'fluent2' {
208
+ background: $calendar-hover-color;
209
+ }
210
+ border: $calendar-hover-border-color;
211
+ border-radius: $calendar-border-radius;
212
+ color: $calendar-text-color;
213
+ }
214
+ #{if(&, '&', '*')} td.e-today span.e-day,
215
+ #{if(&, '&', '*')} td.e-focused-date.e-today span.e-day {
216
+ background: $calendar-today-bg-style;
217
+ border: $calendar-today-border-color;
218
+ @if $skin-name != 'fluent2' {
219
+ border-radius: $calendar-border-radius;
220
+ }
221
+ @else {
222
+ border-radius: $calendar-today-border-radius;
223
+ }
224
+ @if $skin-name != 'tailwind4' {
225
+ box-shadow: $calendar-today-box-shadow;
226
+ }
227
+ color: $calendar-today-color;
228
+ @if ($skin-name == 'FluentUI') {
229
+ border-radius: $calendar-border-selected-radius;
230
+ }
231
+ }
232
+ #{if(&, '&', '*')} td.e-focused-date.e-today span.e-day {
233
+ @if $skin-name != 'tailwind4' {
234
+ background: $calendar-focused-today-bg-style;
235
+ border: $calendar-focused-today-border-style;
236
+ box-shadow: $calendar-focused-today-box-shadow;
237
+ color: $calendar-today-focused-font-color;
238
+ }
239
+ }
240
+ #{if(&, '&', '*')} td.e-today:focus span.e-day,
241
+ #{if(&, '&', '*')} td.e-focused-date.e-today:focus span.e-day {
242
+ @if ($skin-name != 'Material3' and $skin-name != 'fluent2') {
243
+ background-color: $calendar-focus-bg-color;
244
+ }
245
+ @if $skin-name == 'Material3' {
246
+ background: $calendar-focus-bg-color;
247
+ }
248
+ @if $skin-name == 'fluent2' {
249
+ background: $calendar-today-focus-bg-color;
250
+ }
251
+ border: $calendar-focus-border-color;
252
+ @if $skin-name == 'fluent2' {
253
+ border-radius: $calendar-today-border-radius;
254
+ }
255
+ @else {
256
+ border-radius: $calendar-border-radius;
257
+ }
258
+ color: $calendar-today-focus-color;
259
+ @if ($skin-name == 'FluentUI') {
260
+ background-color: $calendar-focused-today-bg-style;
261
+ border-radius: $calendar-border-selected-radius;
262
+ }
263
+ }
264
+ #{if(&, '&', '*')} td.e-today:hover span.e-day,
265
+ #{if(&, '&', '*')} td.e-focused-date.e-today:hover span.e-day,
266
+ #{if(&, '&', '*')} td.e-focused-date.e-today:focus span.e-day {
267
+ @if ($skin-name != 'Material3' and $skin-name != 'fluent2') {
268
+ background-color: $calendar-hover-color;
269
+ }
270
+ @if $skin-name == 'Material3' {
271
+ background: $calendar-hover-color;
272
+ }
273
+ @if $skin-name == 'fluent2' {
274
+ background: $calendar-today-hover-color;
275
+ border-radius: $calendar-border-selected-radius;
276
+ }
277
+ border: $calendar-today-border-color;
278
+ color: $calendar-today-focus-color;
279
+ @if ($skin-name == 'FluentUI') {
280
+ background-color: $calendar-today-bg-style;
281
+ border-radius: $calendar-border-selected-radius;
282
+ }
283
+ }
284
+ #{if(&, '&', '*')} td.e-today.e-selected span.e-day {
285
+ @if ($skin-name != 'Material3' and $skin-name != 'fluent2' and $skin-name != 'tailwind4') {
286
+ background-color: $calendar-active-bg-color;
287
+ }
288
+ @if $skin-name == 'Material3' {
289
+ background: $calendar-active-bg-color;
290
+ }
291
+ @if $skin-name == 'fluent2' {
292
+ background: $calendar-focused-today-bg-style;
293
+ border-radius: $calendar-today-border-radius;
294
+ }
295
+ border: $calendar-active-bg-border-color;
296
+ @if ($skin-name == 'material' or $skin-name == 'material-dark' or $skin-name == 'Material3' or $skin-name == 'fluent2') {
297
+ box-shadow: $calendar-selected-box-shadow;
298
+ }
299
+ @else {
300
+ box-shadow: $calendar-active-bg-box-shadow;
301
+ }
302
+ @if $skin-name == 'tailwind4' {
303
+ background: $calendar-focused-date-bg-style;
304
+ }
305
+ color: $calendar-active-today-font-color;
306
+ }
307
+ #{if(&, '&', '*')} td.e-today.e-selected:hover span.e-day {
308
+ @if $skin-name == 'fluent2' {
309
+ border-radius: $calendar-today-border-radius;
310
+ }
311
+ }
312
+ #{if(&, '&', '*')} td.e-selected.e-focused-date span.e-day {
313
+ @if $skin-name == 'tailwind4' {
314
+ background: $calendar-active-bg-color;
315
+ color: $calendar-active-font-colour;
316
+ box-shadow: none;
317
+ border-radius: 40px;
318
+ }
319
+ }
320
+ #{if(&, '&', '*')} td.e-selected.e-focused-date.e-today span.e-day {
321
+ @if $skin-name == 'tailwind4' {
322
+ background: $calendar-active-hover-bg-color;
323
+ color: $calendar-active-today-hover-font-color;
324
+ border-radius: 40px;
325
+ }
326
+ }
327
+
328
+ #{if(&, '&', '*')} td.e-today.e-selected:hover span.e-day,
329
+ #{if(&, '&', '*')} td.e-selected:hover span.e-day,
330
+ #{if(&, '&', '*')} td.e-selected.e-focused-date span.e-day {
331
+ @if ($skin-name != 'Material3' and $skin-name != 'fluent2' and $skin-name != 'tailwind4') {
332
+ background: $calendar-active-hover-bg-color;
333
+ }
334
+ @if $skin-name == 'Material3' or $skin-name == 'fluent2' {
335
+ background: $calendar-active-hover-bg-color;
336
+ }
337
+ @if $skin-name != 'tailwind4' {
338
+ color: $calendar-active-today-hover-font-color;
339
+ }
340
+ @if ($skin-name == 'FluentUI') {
341
+ background-color: $calendar-focused-today-bg-style;
342
+ border-radius: $calendar-border-selected-radius;
343
+ color: $calendar-today-color;
344
+ }
345
+ }
346
+ #{if(&, '&', '*')} span {
347
+ color: $calendar-text-color;
348
+ }
349
+ #{if(&, '&', '*')} .e-disabled span.e-day:hover {
350
+ background: $calendar-none-style;
351
+ border: 0;
352
+ color: $calendar-disable-font-color;
353
+ }
354
+ #{if(&, '&', '*')} .e-other-month:hover span.e-day {
355
+ @if ($skin-name != 'fabric-dark') {
356
+ color: $calendar-other-month-date-hover-bg;
357
+ }
358
+ }
359
+ #{if(&, '&', '*')} .e-other-month span.e-day,
360
+ #{if(&, '&', '*')} .e-other-month.e-today span.e-day {
361
+ color: $calendar-other-month-date;
362
+ }
363
+ #{if(&, '&', '*')} .e-other-month.e-today:hover span.e-day {
364
+ @if ($skin-name != 'Material3' and $skin-name != 'fluent2') {
365
+ background-color: $calendar-hover-color;
366
+ }
367
+ @if $skin-name == 'Material3' or $skin-name == 'fluent2' {
368
+ background: $calendar-hover-color;
369
+ }
370
+ color: $calendar-other-month-date;
371
+ @if ($skin-name == 'FluentUI') {
372
+ background: $calendar-today-bg-style;
373
+ border: $calendar-today-border-color;
374
+ border-radius: $calendar-border-selected-radius;
375
+ box-shadow: $calendar-today-box-shadow;
376
+ color: $calendar-today-color;
377
+ }
378
+ }
379
+ #{if(&, '&', '*')} thead {
380
+ background: $calendar-week-header-bg-style;
381
+ border-bottom: 0;
382
+ }
383
+ #{if(&, '&', '*')} td:hover span.e-day,
384
+ #{if(&, '&', '*')} td:focus span.e-day {
385
+ @if ($skin-name != 'Material3' and $skin-name != 'fluent2') {
386
+ background-color: $calendar-hover-color;
387
+ }
388
+ @if $skin-name == 'Material3' or $skin-name == 'fluent2' {
389
+ background: $calendar-hover-color;
390
+ }
391
+ border: $calendar-hover-border-color;
392
+ border-radius: $calendar-border-radius;
393
+ color: $calendar-hover-text;
394
+ }
395
+ #{if(&, '&', '*')} td:focus span.e-day {
396
+ @if ($skin-name != 'Material3' and $skin-name != 'fluent2') {
397
+ background-color: $calendar-focus-bg-color;
398
+ color: $calendar-text-color;
399
+ }
400
+ @if $skin-name == 'Material3' or $skin-name == 'fluent2' {
401
+ background: $calendar-focus-bg-color;
402
+ color: $calendar-text-color-focus;
403
+ }
404
+ border: $calendar-focus-border-color;
405
+ border-radius: $calendar-border-radius;
406
+ @if ($skin-name == 'FluentUI') {
407
+ border-radius: $calendar-border-selected-radius;
408
+ }
409
+ }
410
+ #{if(&, '&', '*')} td.e-disabled span.e-day,
411
+ #{if(&, '&', '*')} td.e-disabled:hover span.e-day,
412
+ #{if(&, '&', '*')} td.e-disabled:focus span.e-day {
413
+ background: $calendar-none-style;
414
+ border: $calendar-none-style;
415
+ color: $calendar-disable-font-color;
416
+ }
417
+ #{if(&, '&', '*')} td.e-today.e-disabled.e-overlay span.e-day,
418
+ #{if(&, '&', '*')} td.e-today.e-disabled.e-overlay:hover span.e-day,
419
+ #{if(&, '&', '*')} td.e-today.e-disabled.e-overlay:focus span.e-day {
420
+ @if ($skin-name == 'FluentUI') {
421
+ background-color: $calendar-focused-today-bg-style;
422
+ border-radius: $calendar-border-selected-radius;
423
+ color: $calendar-today-color;
424
+ }
425
+ }
426
+ #{if(&, '&', '*')} td.e-selected span.e-day {
427
+ @if ($skin-name != 'Material3' and $skin-name != 'fluent2' and $skin-name != 'tailwind4') {
428
+ background-color: $calendar-active-bg-color;
429
+ }
430
+ @if $skin-name == 'Material3' {
431
+ background: $calendar-active-bg-color;
432
+ }
433
+ @if $skin-name == 'fluent2' or $skin-name == 'tailwind4' {
434
+ background: $calendar-active-bg-color;
435
+ color: $calendar-active-font-colour;
436
+ }
437
+ @else {
438
+ color: $calendar-active-font-color;
439
+ }
440
+ border: $calendar-selected-border-color;
441
+ @if $skin-name == 'tailwind4' {
442
+ border-radius: 40px;
443
+ }
444
+ @else {
445
+ border-radius: $calendar-border-radius;
446
+ }
447
+ }
448
+ #{if(&, '&', '*')} td.e-selected:not(.e-focused-date) span.e-day {
449
+ @if ($skin-name == 'FluentUI' or $skin-name == 'fluent2') {
450
+ box-shadow: $calendar-selected-box-shadow;
451
+ }
452
+ }
453
+ #{if(&, '&', '*')} .e-footer {
454
+ color: $calendar-active-bg-color;
455
+ }
456
+ #{if(&, '&', '*')} td.e-today.e-selected.e-focused-date span.e-day,
457
+ #{if(&, '&', '*')} td.e-today.e-selected:hover span.e-day,
458
+ #{if(&, '&', '*')} td.e-today.e-selected span.e-day {
459
+ @if ($skin-name == 'FluentUI' or $skin-name == 'fluent2') {
460
+ background-color: $calendar-focused-today-bg-style;
461
+ border-radius: $calendar-border-selected-radius;
462
+ color: $calendar-today-color;
463
+ }
464
+ }
465
+ #{if(&, '&', '*')} td.e-today.e-selected.e-focused-date {
466
+ @if ($skin-name == 'FluentUI' or $skin-name == 'fluent2') {
467
+ background-color: $calendar-active-bg-color;
468
+ border-radius: $calendar-focused-state-border-radius;
469
+ box-shadow: $calendar-focused-state-box-shadow;
470
+ }
471
+ }
472
+ #{if(&, '&', '*')} td.e-today.e-selected {
473
+ @if ($skin-name == 'FluentUI' or $skin-name == 'fluent2') {
474
+ background-color: $calendar-active-bg-color;
475
+ border-radius: $calendar-wrapper-border-radius;
476
+ box-shadow: $calendar-selected-box-shadow;
477
+ }
478
+ }
479
+ #{if(&, '&', '*')} td.e-selected:hover span.e-day {
480
+ @if ($skin-name == 'FluentUI' or $skin-name == 'fluent2') {
481
+ background-color: $calendar-active-bg-color;
482
+ border: $calendar-selected-border-color;
483
+ border-radius: $calendar-border-radius;
484
+ color: $calendar-active-font-colour;
485
+ }
486
+ }
487
+ #{if(&, '&', '*')} td.e-selected.e-focused-date span.e-day {
488
+ @if ($skin-name == 'FluentUI' or $skin-name == 'fluent2') {
489
+ background-color: $calendar-active-bg-color;
490
+ border: $calendar-selected-border-color;
491
+ border-radius: $calendar-focused-state-border-radius;
492
+ color: $calendar-active-font-colour;
493
+ }
494
+ }
495
+ #{if(&, '&', '*')}.e-month td.e-today span.e-day {
496
+ @if ($skin-name == 'FluentUI' or $skin-name == 'fluent2') {
497
+ color: $calendar-today-focused-font-color;
498
+ }
499
+ }
500
+ #{if(&, '&', '*')}.e-month td.e-disabled.e-today span.e-day {
501
+ @if ($skin-name == 'FluentUI' or $skin-name == 'fluent2') {
502
+ color: $calendar-today-disabled-color;
503
+ }
504
+ }
505
+ #{if(&, '&', '*')}.e-year td.e-selected > span.e-day,
506
+ #{if(&, '&', '*')}.e-decade td.e-selected > span.e-day,
507
+ #{if(&, '&', '*')}.e-year td.e-selected:hover > span.e-day,
508
+ #{if(&, '&', '*')}.e-decade td.e-selected:hover > span.e-day {
509
+ @if ($skin-name == 'FluentUI' or $skin-name == 'fluent2') {
510
+ background-color: $calendar-selected-month-bg-color;
511
+ color: $calendar-selected-month-font-color;
512
+ }
513
+ }
514
+ #{if(&, '&', '*')}.e-year td.e-focused-date > span.e-day,
515
+ #{if(&, '&', '*')}.e-decade td.e-focused-date > span.e-day {
516
+ @if ($skin-name == 'FluentUI' or $skin-name == 'fluent2') {
517
+ background: $calendar-none-style;
518
+ border-radius: 0;
519
+ box-shadow: $calendar-focused-state-month-box-shadow;
520
+ }
521
+ }
522
+ #{if(&, '&', '*')} td.e-focused-date.e-today {
523
+ @if ($skin-name == 'FluentUI' or $skin-name == 'fluent2') {
524
+ border-radius: $calendar-focused-state-border-radius;
525
+ box-shadow: $calendar-focused-state-box-shadow;
526
+ }
527
+ }
528
+ #{if(&, '&', '*')} td.e-focused-date:hover span.e-day {
529
+ @if ($skin-name == 'FluentUI' or $skin-name == 'fluent2') {
530
+ border-radius: $calendar-focused-state-border-radius;
531
+ }
532
+ }
533
+ #{if(&, '&', '*')}.e-year td.e-focused-date:hover > span.e-day,
534
+ #{if(&, '&', '*')}.e-decade td.e-focused-date:hover > span.e-day {
535
+ @if ($skin-name == 'FluentUI' or $skin-name == 'fluent2') {
536
+ background: $calendar-hover-color;
537
+ border-radius: 0;
538
+ box-shadow: $calendar-focused-state-month-box-shadow;
539
+ }
540
+ }
541
+ }
542
+ }
543
+ #{if(&, '&', '*')}.e-device {
544
+ #{if(&, '&', '*')} .e-prev:hover,
545
+ #{if(&, '&', '*')} .e-next:hover,
546
+ #{if(&, '&', '*')} .e-prev:active,
547
+ #{if(&, '&', '*')} .e-next:active,
548
+ #{if(&, '&', '*')} .e-prev:focus,
549
+ #{if(&, '&', '*')} .e-next:focus {
550
+ background: $calendar-device-icon-hover-bg-color;
551
+ }
552
+ #{if(&, '&', '*')} button.e-prev:active span,
553
+ #{if(&, '&', '*')} button.e-next:active span {
554
+ color: $calendar-header-icon-color;
555
+ }
556
+ }
557
+
558
+ #{if(&, '&', '*')} .e-footer-container {
559
+ #{if(&, '&', '*')} .e-btn.e-today.e-flat.e-primary:not(:hover) {
560
+ @if $skin-name == 'tailwind' {
561
+ -webkit-tap-highlight-color: transparent;
562
+ background-color: $calendar-today-btn-primary-bgcolor;
563
+ border-color: $calendar-today-btn-primary-border-color;
564
+ color: $calendar-today-btn-primary-color;
565
+ }
566
+ }
567
+
568
+ #{if(&, '&', '*')} .e-btn.e-today.e-flat.e-primary.e-disabled {
569
+ @if $skin-name == 'tailwind' {
570
+ -webkit-tap-highlight-color: transparent;
571
+ background-color: $calendar-today-btn-primary-disabled-bgcolor;
572
+ border-color: $calendar-today-btn-primary-disabled-border-color;
573
+ color: $calendar-today-btn-primary-disabled-color;
574
+ }
575
+ }
576
+ }
577
+ }
578
+
579
+ .e-calendar .e-content.e-month .e-selected.e-focused-date {
580
+ @if $skin-name == 'tailwind4' {
581
+ box-shadow: $calendar-active-bg-box-shadow;
582
+ }
583
+ }
584
+ .e-calendar .e-content.e-year td.e-selected span.e-day,
585
+ .e-calendar .e-content.e-decade td.e-selected span.e-day {
586
+ @if $skin-name == 'tailwind4' {
587
+ border-radius: 6px;
588
+ }
589
+ }
590
+
591
+ .e-small#{&}.e-calendar,
592
+ .e-small #{&}.e-calendar {
593
+ #{if(&, '&', '*')} .e-header {
594
+ #{if(&, '&', '*')} .e-title {
595
+ color: $calendar-small-title-font-color;
596
+ }
597
+ }
598
+ }
599
+
600
+ #{&}.e-calendar.e-disabled {
601
+ #{if(&, '&', '*')} .e-footer-container {
602
+ #{if(&, '&', '*')} .e-btn.e-today.e-flat.e-primary {
603
+ @if $skin-name == 'tailwind' {
604
+ -webkit-tap-highlight-color: transparent;
605
+ background-color: $calendar-today-btn-primary-disabled-bgcolor;
606
+ border-color: $calendar-today-btn-primary-disabled-border-color;
607
+ color: $calendar-today-btn-primary-disabled-color;
608
+ }
609
+ @if $skin-name == 'tailwind4' {
610
+ background: $calendar-today-disabled-background-style;
611
+ border-color: $calendar-today-disabled-border-style;
612
+ color: $calendar-today-disabled-color;
613
+ box-shadow: $calendar-today-disabled-box-shadow;
614
+ }
615
+ }
616
+ }
617
+ }
618
+
619
+ .e-calendar .e-zoomin {
620
+ animation: animatezoom .3s;
621
+ }
622
+
623
+ @keyframes animatezoom {
624
+ from {
625
+ transform: scale(0);
626
+ }
627
+
628
+ to {
629
+ transform: scale(1);
630
+ }
631
+ }
632
+
633
+ .e-calendar .e-btn.e-today.e-flat.e-primary,
634
+ .e-calendar .e-css.e-btn.e-today.e-flat.e-primary {
635
+ @if $skin-name == 'bootstrap5' or $skin-name == 'FluentUI' or $skin-name == 'tailwind4' {
636
+ background-color: $today-button-bg;
637
+ border: 0;
638
+ border-color: $today-button-bg-border-color;
639
+ color: $today-button-text-color;
640
+ }
641
+ @if $skin-name == 'fluent2' {
642
+ color: $today-button-font-color;
643
+ background: none;
644
+ border-color: transparent;
645
+ }
646
+ }
647
+
648
+ .e-calendar .e-btn.e-today.e-flat.e-primary:hover,
649
+ .e-calendar .e-css.e-btn.e-today.e-flat.e-primary:hover {
650
+ @if $skin-name == 'bootstrap5' or $skin-name == 'FluentUI' or $skin-name == 'tailwind4' {
651
+ background-color: $today-button-hover-bg;
652
+ border-color: $today-button-bg-border-hover-color;
653
+ color: $today-button-text-hover-color;
654
+ }
655
+ @if $skin-name == 'fluent2' {
656
+ color: $today-button-hover-font-color;
657
+ background: none;
658
+ border-color: transparent;
659
+ }
660
+ }
661
+
662
+ .e-calendar .e-btn.e-today.e-flat.e-primary:active,
663
+ .e-calendar .e-btn.e-today.e-flat.e-primary.e-active,
664
+ .e-calendar .e-css.e-btn.e-today.e-flat.e-primary:active,
665
+ .e-calendar .e-css.e-btn.e-today.e-flat.e-primary.e-active {
666
+ @if $skin-name == 'bootstrap5' or $skin-name == 'FluentUI' or $skin-name == 'tailwind4' {
667
+ background-color: $today-button-active-bg;
668
+ border-color: $today-button-bg-border-active-color;
669
+ color: $today-button-text-active-color;
670
+ }
671
+ @if $skin-name == 'FluentUI' {
672
+ border: $calendar-none-style;
673
+ outline: $calendar-none-style;
674
+ }
675
+ @if $skin-name == 'fluent2' {
676
+ color: $today-button-active-font-color;
677
+ background: none;
678
+ border-color: transparent;
679
+ }
680
+ }
681
+
682
+ .e-calendar .e-btn.e-today.e-flat.e-primary:focus,
683
+ .e-calendar .e-btn.e-today.e-flat.e-primary.e-focus,
684
+ .e-calendar .e-css.e-btn.e-today.e-flat.e-primary:focus,
685
+ .e-calendar .e-css.e-btn.e-today.e-flat.e-primary.e-focus {
686
+ @if $skin-name == 'FluentUI' or $skin-name == 'tailwind4' {
687
+ background-color: $today-button-active-bg;
688
+ border: $calendar-none-style;
689
+ border-color: $today-button-bg-border-active-color;
690
+ color: $today-button-text-active-color;
691
+ outline: $calendar-none-style;
692
+ }
693
+ @if $skin-name == 'fluent2' {
694
+ background: none;
695
+ color: $today-button-font-color;
696
+ box-shadow: $keyboard-focus;
697
+ border-color: transparent;
698
+ }
699
+ }
700
+
701
+ .e-calendar .e-btn.e-today.e-flat.e-primary.e-disabled,
702
+ .e-calendar .e-btn.e-today.e-flat.e-primary.e-disabled,
703
+ .e-calendar .e-css.e-btn.e-today.e-flat.e-primary.e-disabled,
704
+ .e-calendar .e-css.e-btn.e-today.e-flat.e-primary.e-disabled {
705
+ @if $skin-name == 'bootstrap5' or $skin-name == 'bootstrap5.3' {
706
+ background-color: $calendar-today-disabled-background-style;
707
+ border-color: $calendar-today-disabled-border-style;
708
+ }
709
+ @if $skin-name == 'bootstrap5' or $skin-name == 'bootstrap5.3' or $skin-name == 'FluentUI' {
710
+ color: $calendar-today-disabled-color;
711
+ }
712
+ @if $skin-name == 'fluent2' {
713
+ border-color: transparent;
714
+ color: $calendar-today-disabled-color;
715
+ }
716
+ }
717
+ .e-calendar .e-calendar-content-table .e-cell.e-focused-cell span.e-day {
718
+ box-shadow: $calendar-focused-cell-box-shadow;
719
+ border-radius: $calendar-border-radius;
720
+ }
721
+ }