@syncfusion/ej2-calendars 25.2.7-30676 → 26.1.35-7502

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