morya-ui 0.4.2 → 0.4.4

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 (357) hide show
  1. package/CHANGELOG.md +780 -755
  2. package/LICENSE +21 -21
  3. package/README.md +156 -150
  4. package/README.zh-CN.md +156 -150
  5. package/dist/{Button-BaYLh91a.js → Button-Bjsth0ct.js} +3 -3
  6. package/dist/{Card-B1CB9Trm.js → Card-Ct5vJmoV.js} +1 -1
  7. package/dist/{Checkbox-LxCFF19I.js → Checkbox-Bo26OGHP.js} +1 -1
  8. package/dist/{DatePicker-DGPNukEW.js → DatePicker-CsMGzCqY.js} +4 -4
  9. package/dist/{Empty-2_f_FgyK.js → Empty-rMhOPi79.js} +2 -2
  10. package/dist/{FlyoutSubmenu-Da6AcoM4.js → FlyoutSubmenu-C0id6-Sb.js} +1 -1
  11. package/dist/{Icon-od9Ob-Ay.js → Icon-CmHjx7W8.js} +1 -1
  12. package/dist/{Input-NspPDc2R.js → Input-CxSTVp9E.js} +3 -3
  13. package/dist/{Loading-BK4dQPCS.js → Loading-D_qRwfKv.js} +4 -4
  14. package/dist/{Pagination-tdrlaZ3u.js → Pagination-CnGOpp0m.js} +3 -3
  15. package/dist/{Popover-BumMfUpV.js → Popover-D1uZ1N9Z.js} +2 -2
  16. package/dist/{ProgressSpinner-BQ1tLioO.js → ProgressSpinner-hmR23xpi.js} +2 -2
  17. package/dist/{Radio-BCn2OVCF.js → Radio-CZAyelC_.js} +1 -1
  18. package/dist/{Segmented-ppmDmku5.js → Segmented-BpdO7arR.js} +2 -2
  19. package/dist/{Select-CN1tM76U.js → Select-CySmusHs.js} +4 -4
  20. package/dist/{Textarea-Ch1KCXEv.js → Textarea-DskjTCcz.js} +3 -3
  21. package/dist/{Tooltip-DKsXxU_B.js → Tooltip-DSfkflHp.js} +2 -2
  22. package/dist/accordion/style.css +1205 -1205
  23. package/dist/affix/style.css +1205 -1205
  24. package/dist/alert/index.js +15 -15
  25. package/dist/alert/style.css +1206 -1206
  26. package/dist/anchor/style.css +1205 -1205
  27. package/dist/auto-complete/index.js +4 -4
  28. package/dist/auto-complete/style.css +1749 -1749
  29. package/dist/avatar/index.js +1 -1
  30. package/dist/avatar/style.css +1318 -1318
  31. package/dist/badge/index.js +24 -24
  32. package/dist/badge/style.css +1371 -1372
  33. package/dist/block-ui/index.js +1 -1
  34. package/dist/block-ui/style.css +1205 -1205
  35. package/dist/breadcrumb/index.js +1 -1
  36. package/dist/breadcrumb/style.css +1205 -1205
  37. package/dist/button/index.js +1 -1
  38. package/dist/button/style.css +1909 -1909
  39. package/dist/calendar/index.js +3 -3
  40. package/dist/calendar/style.css +1880 -1880
  41. package/dist/card/index.js +1 -1
  42. package/dist/card/style.css +1205 -1205
  43. package/dist/carousel/index.js +2 -2
  44. package/dist/carousel/style.css +2208 -2208
  45. package/dist/cascade-select/index.js +4 -4
  46. package/dist/cascade-select/style.css +1909 -1909
  47. package/dist/checkbox/index.js +1 -1
  48. package/dist/checkbox/style.css +1205 -1205
  49. package/dist/chip/index.js +35 -35
  50. package/dist/chip/style.css +1349 -1349
  51. package/dist/command-menu/index.js +5 -5
  52. package/dist/command-menu/style.css +1438 -1438
  53. package/dist/components/Alert/Alert.vue.d.ts +2 -2
  54. package/dist/components/Alert/Alert.vue.d.ts.map +1 -1
  55. package/dist/components/Alert/index.d.ts +1 -1
  56. package/dist/components/Alert/index.d.ts.map +1 -1
  57. package/dist/components/Alert/styles.css +1 -1
  58. package/dist/components/Alert/types.d.ts +3 -3
  59. package/dist/components/Alert/types.d.ts.map +1 -1
  60. package/dist/components/AutoComplete/styles.css +209 -209
  61. package/dist/components/Avatar/styles.css +113 -113
  62. package/dist/components/Badge/Badge.vue.d.ts +2 -2
  63. package/dist/components/Badge/index.d.ts +1 -1
  64. package/dist/components/Badge/index.d.ts.map +1 -1
  65. package/dist/components/Badge/styles.css +164 -165
  66. package/dist/components/Badge/types.d.ts +3 -4
  67. package/dist/components/Badge/types.d.ts.map +1 -1
  68. package/dist/components/Button/styles.css +698 -698
  69. package/dist/components/Button/types.d.ts +1 -5
  70. package/dist/components/Button/types.d.ts.map +1 -1
  71. package/dist/components/Carousel/styles.css +302 -302
  72. package/dist/components/CascadeSelect/styles.css +168 -168
  73. package/dist/components/Chip/index.d.ts +1 -1
  74. package/dist/components/Chip/index.d.ts.map +1 -1
  75. package/dist/components/Chip/styles.css +144 -144
  76. package/dist/components/Chip/types.d.ts +3 -3
  77. package/dist/components/Chip/types.d.ts.map +1 -1
  78. package/dist/components/CommandMenu/styles.css +102 -102
  79. package/dist/components/ConfigProvider/styles.css +6 -6
  80. package/dist/components/ConfirmDialog/ConfirmDialog.vue.d.ts.map +1 -1
  81. package/dist/components/ConfirmDialog/styles.css +24 -24
  82. package/dist/components/ConfirmDialog/types.d.ts +1 -1
  83. package/dist/components/ConfirmDialog/types.d.ts.map +1 -1
  84. package/dist/components/ConfirmPopup/styles.css +35 -35
  85. package/dist/components/ContextMenu/styles.css +138 -138
  86. package/dist/components/DatePicker/styles.css +453 -453
  87. package/dist/components/Dialog/Dialog.vue.d.ts.map +1 -1
  88. package/dist/components/Dialog/styles.css +420 -421
  89. package/dist/components/Dialog/types.d.ts +1 -2
  90. package/dist/components/Dialog/types.d.ts.map +1 -1
  91. package/dist/components/Dock/styles.css +84 -84
  92. package/dist/components/Drawer/styles.css +346 -346
  93. package/dist/components/Dropdown/styles.css +135 -135
  94. package/dist/components/Empty/styles.css +146 -146
  95. package/dist/components/FileUpload/styles.css +359 -359
  96. package/dist/components/Form/Form.vue.d.ts.map +1 -1
  97. package/dist/components/Form/styles.css +125 -125
  98. package/dist/components/Gallery/styles.css +100 -100
  99. package/dist/components/Input/styles.css +392 -392
  100. package/dist/components/InputColor/styles.css +139 -139
  101. package/dist/components/InputNumber/styles.css +262 -262
  102. package/dist/components/InputPassword/styles.css +189 -189
  103. package/dist/components/InputTags/styles.css +121 -121
  104. package/dist/components/Layout/styles.css +433 -433
  105. package/dist/components/List/styles.css +229 -229
  106. package/dist/components/Listbox/styles.css +130 -130
  107. package/dist/components/Loading/styles.css +378 -378
  108. package/dist/components/MegaMenu/styles.css +97 -97
  109. package/dist/components/Menu/styles.css +565 -565
  110. package/dist/components/Menubar/styles.css +144 -144
  111. package/dist/components/Message/Message.vue.d.ts.map +1 -1
  112. package/dist/components/Message/index.d.ts +1 -1
  113. package/dist/components/Message/index.d.ts.map +1 -1
  114. package/dist/components/Message/message.d.ts +4 -0
  115. package/dist/components/Message/message.d.ts.map +1 -1
  116. package/dist/components/Message/styles.css +248 -252
  117. package/dist/components/Message/types.d.ts +4 -4
  118. package/dist/components/Message/types.d.ts.map +1 -1
  119. package/dist/components/MeterGroup/styles.css +49 -49
  120. package/dist/components/Page/PageFilters.vue.d.ts.map +1 -1
  121. package/dist/components/Page/PageStat.vue.d.ts +2 -2
  122. package/dist/components/Page/index.d.ts +1 -1
  123. package/dist/components/Page/index.d.ts.map +1 -1
  124. package/dist/components/Page/styles.css +430 -430
  125. package/dist/components/Page/types.d.ts +2 -2
  126. package/dist/components/Page/types.d.ts.map +1 -1
  127. package/dist/components/Pagination/styles.css +124 -124
  128. package/dist/components/Popover/styles.css +92 -92
  129. package/dist/components/ProgressBar/ProgressBar.vue.d.ts.map +1 -1
  130. package/dist/components/ProgressBar/styles.css +1 -1
  131. package/dist/components/ProgressBar/types.d.ts +2 -7
  132. package/dist/components/ProgressBar/types.d.ts.map +1 -1
  133. package/dist/components/Result/styles.css +146 -146
  134. package/dist/components/Scrollbar/styles.css +131 -131
  135. package/dist/components/Select/styles.css +222 -222
  136. package/dist/components/SelectButton/styles.css +107 -107
  137. package/dist/components/Sidebar/styles.css +74 -74
  138. package/dist/components/Slider/styles.css +211 -211
  139. package/dist/components/SplitButton/styles.css +216 -216
  140. package/dist/components/Status/Status.vue.d.ts +2 -2
  141. package/dist/components/Status/Status.vue.d.ts.map +1 -1
  142. package/dist/components/Status/index.d.ts +1 -1
  143. package/dist/components/Status/index.d.ts.map +1 -1
  144. package/dist/components/Status/styles.css +190 -191
  145. package/dist/components/Status/types.d.ts +4 -5
  146. package/dist/components/Status/types.d.ts.map +1 -1
  147. package/dist/components/Stepper/styles.css +152 -152
  148. package/dist/components/Switch/styles.css +129 -129
  149. package/dist/components/Tabs/styles.css +165 -165
  150. package/dist/components/Tag/Tag.vue.d.ts +2 -2
  151. package/dist/components/Tag/index.d.ts +1 -1
  152. package/dist/components/Tag/index.d.ts.map +1 -1
  153. package/dist/components/Tag/styles.css +0 -1
  154. package/dist/components/Tag/types.d.ts +4 -5
  155. package/dist/components/Tag/types.d.ts.map +1 -1
  156. package/dist/components/Terminal/styles.css +75 -75
  157. package/dist/components/Textarea/styles.css +146 -146
  158. package/dist/components/TieredMenu/styles.css +125 -125
  159. package/dist/components/Timeline/Timeline.vue.d.ts.map +1 -1
  160. package/dist/components/Timeline/index.d.ts +1 -1
  161. package/dist/components/Timeline/index.d.ts.map +1 -1
  162. package/dist/components/Timeline/styles.css +157 -159
  163. package/dist/components/Timeline/types.d.ts +3 -3
  164. package/dist/components/Timeline/types.d.ts.map +1 -1
  165. package/dist/components/Toast/Toast.vue.d.ts.map +1 -1
  166. package/dist/components/Toast/index.d.ts +1 -1
  167. package/dist/components/Toast/index.d.ts.map +1 -1
  168. package/dist/components/Toast/styles.css +1 -3
  169. package/dist/components/Toast/toast.d.ts +4 -0
  170. package/dist/components/Toast/toast.d.ts.map +1 -1
  171. package/dist/components/Toast/types.d.ts +5 -5
  172. package/dist/components/Toast/types.d.ts.map +1 -1
  173. package/dist/components/Toast/useNotification.d.ts +3 -2
  174. package/dist/components/Toast/useNotification.d.ts.map +1 -1
  175. package/dist/components/TreeSelect/styles.css +172 -172
  176. package/dist/components/VirtualScroller/styles.css +27 -27
  177. package/dist/{config-CB_TiIvg.js → config-BEpyhJi3.js} +1 -1
  178. package/dist/config-provider/index.js +1 -1
  179. package/dist/config-provider/style.css +2301 -2301
  180. package/dist/confirm-dialog/index.js +54 -57
  181. package/dist/confirm-dialog/style.css +2347 -2348
  182. package/dist/confirm-popup/index.js +5 -5
  183. package/dist/confirm-popup/style.css +1938 -1938
  184. package/dist/context-menu/index.js +5 -5
  185. package/dist/context-menu/style.css +1474 -1474
  186. package/dist/data-view/index.js +3 -3
  187. package/dist/data-view/style.css +1707 -1707
  188. package/dist/date-picker/index.js +1 -1
  189. package/dist/date-picker/style.css +1658 -1658
  190. package/dist/descriptions/index.js +1 -1
  191. package/dist/descriptions/style.css +1205 -1205
  192. package/dist/dialog/index.js +95 -98
  193. package/dist/dialog/style.css +2323 -2324
  194. package/dist/divider/style.css +1205 -1205
  195. package/dist/dock/index.js +2 -2
  196. package/dist/dock/style.css +1289 -1289
  197. package/dist/drawer/index.js +4 -4
  198. package/dist/drawer/style.css +1551 -1551
  199. package/dist/dropdown/index.js +6 -6
  200. package/dist/dropdown/style.css +1471 -1471
  201. package/dist/empty/index.js +1 -1
  202. package/dist/empty/style.css +1351 -1351
  203. package/dist/fieldset/index.js +1 -1
  204. package/dist/fieldset/style.css +1205 -1205
  205. package/dist/file-upload/index.js +2 -2
  206. package/dist/file-upload/style.css +1564 -1564
  207. package/dist/flex/index.js +1 -1
  208. package/dist/flex/style.css +1205 -1205
  209. package/dist/float-label/style.css +1205 -1205
  210. package/dist/fluid/style.css +1205 -1205
  211. package/dist/form/index.js +2 -2
  212. package/dist/form/style.css +1332 -1332
  213. package/dist/gallery/index.js +2 -2
  214. package/dist/gallery/style.css +1436 -1436
  215. package/dist/grid/style.css +1205 -1205
  216. package/dist/icon/index.js +1 -1
  217. package/dist/icon/style.css +1205 -1205
  218. package/dist/{icon-COrt_N8A.js → icon-H8prbteT.js} +1 -1
  219. package/dist/icon-field/style.css +1597 -1597
  220. package/dist/image/index.js +2 -2
  221. package/dist/image/style.css +1205 -1205
  222. package/dist/index.d.ts +11 -11
  223. package/dist/index.d.ts.map +1 -1
  224. package/dist/index.js +3013 -3025
  225. package/dist/inplace/style.css +1205 -1205
  226. package/dist/input/index.js +1 -1
  227. package/dist/input/style.css +1722 -1722
  228. package/dist/input-color/index.js +2 -2
  229. package/dist/input-color/style.css +1346 -1346
  230. package/dist/input-group/style.css +1205 -1205
  231. package/dist/input-number/index.js +3 -3
  232. package/dist/input-number/style.css +1467 -1467
  233. package/dist/input-otp/index.js +2 -2
  234. package/dist/input-otp/style.css +1205 -1205
  235. package/dist/input-password/index.js +4 -4
  236. package/dist/input-password/style.css +1519 -1519
  237. package/dist/input-tags/index.js +3 -3
  238. package/dist/input-tags/style.css +1326 -1326
  239. package/dist/knob/style.css +1205 -1205
  240. package/dist/label/style.css +1205 -1205
  241. package/dist/layout/index.js +2 -2
  242. package/dist/layout/style.css +1769 -1769
  243. package/dist/list/index.js +4 -4
  244. package/dist/list/style.css +2087 -2087
  245. package/dist/listbox/index.js +2 -2
  246. package/dist/listbox/style.css +1497 -1497
  247. package/dist/loading/index.js +1 -1
  248. package/dist/loading/style.css +1585 -1585
  249. package/dist/{locale-CR2PIaxt.js → locale-CZddM-tH.js} +1 -1
  250. package/dist/mega-menu/index.js +5 -5
  251. package/dist/mega-menu/style.css +1302 -1302
  252. package/dist/mentions/index.js +4 -4
  253. package/dist/mentions/style.css +1330 -1330
  254. package/dist/menu/index.js +6 -6
  255. package/dist/menu/style.css +2059 -2059
  256. package/dist/menubar/index.js +5 -5
  257. package/dist/menubar/style.css +1480 -1480
  258. package/dist/message/index.js +116 -117
  259. package/dist/message/style.css +1453 -1457
  260. package/dist/meter-group/style.css +1256 -1256
  261. package/dist/order-list/index.js +2 -2
  262. package/dist/order-list/style.css +1205 -1205
  263. package/dist/page/index.js +8 -7
  264. package/dist/page/style.css +2597 -2597
  265. package/dist/pagination/index.js +1 -1
  266. package/dist/pagination/style.css +1551 -1551
  267. package/dist/panel/index.js +3 -3
  268. package/dist/panel/style.css +1205 -1205
  269. package/dist/pick-list/index.js +2 -2
  270. package/dist/pick-list/style.css +1205 -1205
  271. package/dist/popover/index.js +1 -1
  272. package/dist/popover/style.css +1299 -1299
  273. package/dist/progress-bar/index.js +33 -34
  274. package/dist/progress-bar/style.css +1206 -1206
  275. package/dist/progress-spinner/index.js +1 -1
  276. package/dist/progress-spinner/style.css +1205 -1205
  277. package/dist/qr-code/index.js +4 -4
  278. package/dist/qr-code/style.css +1903 -1903
  279. package/dist/radio/index.js +1 -1
  280. package/dist/radio/style.css +1205 -1205
  281. package/dist/rating/index.js +3 -3
  282. package/dist/rating/style.css +1205 -1205
  283. package/dist/result/index.js +2 -2
  284. package/dist/result/style.css +1351 -1351
  285. package/dist/scroll-top/index.js +3 -3
  286. package/dist/scroll-top/style.css +1336 -1336
  287. package/dist/scrollbar/style.css +1338 -1338
  288. package/dist/segmented/index.js +1 -1
  289. package/dist/segmented/style.css +1205 -1205
  290. package/dist/select/index.js +1 -1
  291. package/dist/select/style.css +2115 -2115
  292. package/dist/select-button/index.js +1 -1
  293. package/dist/select-button/style.css +1314 -1314
  294. package/dist/shared/styles/control-affix-icon.css +110 -110
  295. package/dist/shared/styles/control-suffix.css +118 -118
  296. package/dist/shared/styles/select-overlay.css +177 -177
  297. package/dist/shared/types.d.ts +7 -20
  298. package/dist/shared/types.d.ts.map +1 -1
  299. package/dist/sidebar/index.js +3 -3
  300. package/dist/sidebar/style.css +1279 -1279
  301. package/dist/skeleton/style.css +1205 -1205
  302. package/dist/slider/index.js +2 -2
  303. package/dist/slider/style.css +1418 -1418
  304. package/dist/space/index.js +1 -1
  305. package/dist/space/style.css +1205 -1205
  306. package/dist/speed-dial/index.js +5 -5
  307. package/dist/speed-dial/style.css +1205 -1205
  308. package/dist/split-button/index.js +5 -5
  309. package/dist/split-button/style.css +2119 -2119
  310. package/dist/splitter/index.js +1 -1
  311. package/dist/splitter/style.css +1205 -1205
  312. package/dist/statistic/style.css +1205 -1205
  313. package/dist/status/index.js +30 -31
  314. package/dist/status/style.css +1395 -1396
  315. package/dist/stepper/index.js +1 -1
  316. package/dist/stepper/style.css +1357 -1357
  317. package/dist/styles/base.css +804 -804
  318. package/dist/styles.css +1 -1
  319. package/dist/switch/index.js +1 -1
  320. package/dist/switch/style.css +1336 -1336
  321. package/dist/table/index.js +11 -11
  322. package/dist/table/style.css +1840 -1840
  323. package/dist/tabs/index.js +2 -2
  324. package/dist/tabs/style.css +1501 -1501
  325. package/dist/tag/index.js +52 -52
  326. package/dist/tag/style.css +1205 -1206
  327. package/dist/terminal/index.js +1 -1
  328. package/dist/terminal/style.css +1282 -1282
  329. package/dist/textarea/index.js +1 -1
  330. package/dist/textarea/style.css +1476 -1476
  331. package/dist/theme/styles.css +401 -401
  332. package/dist/tiered-menu/index.js +4 -4
  333. package/dist/tiered-menu/style.css +1461 -1461
  334. package/dist/time-picker/index.js +1 -1
  335. package/dist/time-picker/style.css +1660 -1660
  336. package/dist/timeline/index.js +67 -72
  337. package/dist/timeline/style.css +1493 -1495
  338. package/dist/toast/index.js +135 -136
  339. package/dist/toast/style.css +1904 -1906
  340. package/dist/toggle-button/index.js +3 -3
  341. package/dist/toggle-button/style.css +1205 -1205
  342. package/dist/toolbar/style.css +1205 -1205
  343. package/dist/tooltip/index.js +1 -1
  344. package/dist/tooltip/style.css +1205 -1205
  345. package/dist/tour/index.js +4 -4
  346. package/dist/tour/style.css +1903 -1903
  347. package/dist/tree/index.js +3 -3
  348. package/dist/tree/style.css +1205 -1205
  349. package/dist/tree-select/index.js +5 -5
  350. package/dist/tree-select/style.css +1913 -1913
  351. package/dist/{types-DGuu4Eg4.js → types-DBQfGctj.js} +1 -4
  352. package/dist/typography/index.js +3 -3
  353. package/dist/typography/style.css +1351 -1351
  354. package/dist/{useMotionTransition-D8JOR3ih.js → useMotionTransition-DqL_SEML.js} +1 -1
  355. package/dist/virtual-scroller/style.css +1366 -1366
  356. package/dist/watermark/style.css +1205 -1205
  357. package/package.json +2 -1
@@ -1,1209 +1,1209 @@
1
- :root {
2
- /* Default morya palette (--m-* token names) */
3
- --m-color-primary: #1677ff;
4
- --m-color-primary-hover: #4096ff;
5
- --m-color-primary-active: #0958d9;
6
- --m-color-surface: #ffffff;
7
- --m-color-text: rgba(0, 0, 0, 0.88);
8
- --m-color-text-muted: rgba(0, 0, 0, 0.45);
9
- --m-color-border: #d9d9d9;
10
- --m-color-split: #f0f0f0;
11
- --m-color-focus-ring: #1677ff;
12
- /* Soft translucent control-outline ring (primary bg composited over container) */
13
- --m-color-control-outline: rgba(5, 145, 255, 0.1);
14
- --m-color-control-outline-danger: rgba(255, 38, 5, 0.06);
15
- --m-color-control-outline-warning: rgba(255, 215, 5, 0.1);
16
- /* Control sizing: medium control height 32px */
17
- --m-control-height-small: 24px;
18
- --m-control-height-medium: 32px;
19
- --m-control-height-large: 40px;
20
- --m-control-font-small: 14px;
21
- --m-control-font-medium: 14px;
22
- --m-control-font-large: 15px;
23
- --m-control-padding-x-small: 10px;
24
- --m-control-padding-x-medium: 15px;
25
- --m-control-padding-x-large: 16px;
26
-
27
- --m-radius-control: 6px;
28
- --m-border-width: 1px;
29
- --m-focus-outline-width: 2px;
30
- --m-focus-shadow: 0 0 0 var(--m-focus-outline-width) var(--m-color-control-outline);
31
- --m-focus-shadow-danger: 0 0 0 var(--m-focus-outline-width)
32
- var(--m-color-control-outline-danger);
33
- --m-focus-shadow-warning: 0 0 0 var(--m-focus-outline-width)
34
- var(--m-color-control-outline-warning);
35
- --m-color-success: #52c41a;
36
- --m-color-info: #1677ff;
37
- --m-color-warning: #faad14;
38
- --m-color-warn: var(--m-color-warning);
39
- --m-color-help: #9333ea;
40
- --m-color-danger: #ff4d4f;
41
- --m-color-contrast: rgba(0, 0, 0, 0.88);
42
- --m-color-contrast-fg: #ffffff;
43
- --m-color-contrast-hover: #1f1f1f;
44
- --m-color-contrast-active: #141414;
45
- --m-color-on-emphasis: #ffffff;
46
- --m-color-on-primary: var(--m-color-on-emphasis);
47
- --m-overlay-scrim: rgb(0 0 0 / 0.45);
48
- --m-shadow-sm:
49
- 0 1px 2px 0 rgb(0 0 0 / 0.03), 0 1px 6px -1px rgb(0 0 0 / 0.02),
50
- 0 2px 4px 0 rgb(0 0 0 / 0.02);
51
- --m-shadow-md:
52
- 0 6px 16px 0 rgb(0 0 0 / 0.08), 0 3px 6px -4px rgb(0 0 0 / 0.12),
53
- 0 9px 28px 8px rgb(0 0 0 / 0.05);
54
- --m-shadow-lg:
55
- 0 6px 16px 0 rgb(0 0 0 / 0.08), 0 3px 6px -4px rgb(0 0 0 / 0.12),
56
- 0 9px 28px 8px rgb(0 0 0 / 0.05);
57
- --m-shadow-raised:
58
- 0 1px 2px -2px rgb(0 0 0 / 0.16), 0 3px 6px 0 rgb(0 0 0 / 0.12),
59
- 0 5px 12px 4px rgb(0 0 0 / 0.09);
60
- --m-shadow-sticky: 6px 0 16px -8px rgb(0 0 0 / 0.08);
61
- --m-shadow-sticky-end: -6px 0 16px -8px rgb(0 0 0 / 0.08);
62
-
63
- /* Typography scale (component text, not control-height fonts) */
64
- --m-font-size-xs: 0.75rem;
65
- --m-font-size-sm: 0.8125rem;
66
- --m-font-size-md: 0.875rem;
67
- --m-font-size-lg: 1.125rem;
68
- --m-line-height-sm: 1.6667;
69
- --m-line-height-md: 1.5714;
70
- --m-line-height-lg: 1.5;
71
- /* Display scale (page titles, KPI figures) */
72
- --m-font-size-xl: 1.25rem;
73
- --m-font-size-2xl: 1.5rem;
74
- --m-font-size-3xl: 1.75rem;
75
- --m-opacity-disabled: 0.55;
76
- --m-color-text-disabled: rgba(0, 0, 0, 0.25);
77
- --m-color-bg-disabled: rgba(0, 0, 0, 0.04);
78
- --m-font-weight: 400;
79
- --m-font-weight-medium: 500;
80
- --m-font-weight-strong: 600;
81
- /* Layering: override --m-z-base via ConfigProvider / createMoryaUI */
82
- --m-z-base: 1000;
83
- --m-z-overlay: var(--m-z-base);
84
- --m-z-overlay-raised: calc(var(--m-z-base) + 1);
85
- --m-z-dropdown: calc(var(--m-z-base) + 50);
86
- --m-z-tooltip: calc(var(--m-z-base) + 60);
87
- --m-z-toast: calc(var(--m-z-base) + 100);
88
- --m-z-popper: 40;
89
- --m-z-sticky: 10;
90
-
91
- /* Affix hitbox tracks control height so small/compact shells do not overflow */
92
- --m-control-affix-size: calc(
93
- var(--m-control-height-medium) - 2 * var(--m-border-width)
94
- );
95
- --m-control-affix-gap: 2.35rem;
96
- --m-control-affix-padding: 2.5rem;
97
- --m-meter-track-height: var(--m-space-5);
98
- --m-tree-toggler-size: var(--m-checkbox-control-size);
99
- --m-nav-rail-width: 12.5rem;
100
- --m-nav-rail-collapsed-width: 5rem;
101
- --m-layout-header-height: calc(
102
- var(--m-control-height-medium) + 2 * var(--m-space-3)
103
- );
104
- --m-layout-footer-height: calc(
105
- var(--m-control-height-medium) + 2 * var(--m-space-2)
106
- );
107
- --m-space-1: 0.25rem;
108
- --m-space-2: 0.5rem;
109
- --m-space-3: 0.75rem;
110
- --m-space-4: 1rem;
111
- --m-space-5: 1.25rem;
112
- --m-space-6: 1.5rem;
113
- --m-space-8: 2rem;
114
- --m-radius-sm: 0.25rem;
115
- --m-radius-md: 0.5rem;
116
- --m-radius-lg: 0.5rem;
117
- --m-radius-full: 9999px;
118
- --m-radius-pill: var(--m-radius-full);
119
- --m-font-sans:
120
- -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
121
- Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
122
- "Segoe UI Symbol", "Noto Color Emoji";
123
- --m-motion-fast: 150ms;
124
- --m-motion-normal: 250ms;
125
- --m-motion-ease: cubic-bezier(0.215, 0.61, 0.355, 1);
126
- --m-motion-enter: 200ms;
127
- --m-motion-exit: 150ms;
128
- --m-motion-distance: 0.5rem;
129
- --m-motion-spin: 1s;
130
- --m-motion-spin-dash: 1.5s;
131
- --m-motion-spin-fast: 0.8s;
132
- --m-motion-spin-medium: 0.7s;
133
- --m-motion-skeleton: 1.4s;
134
- --m-motion-pulse: 1.2s;
135
- --m-motion-scrollbar-show: 340ms;
136
- --m-motion-scrollbar-hide: 120ms;
137
- --m-motion-loading-aurora: 3s;
138
- --m-motion-loading-bounce: 0.6s;
139
- --m-motion-loading-pulse: 1.8s;
140
- --m-motion-loading-stardust: 1.6s;
141
- --m-motion-loading-circular-rotate: 2s;
142
- --m-dataview-grid-min: 10rem;
143
- --m-tree-indent: 0.7rem;
144
- --m-tree-indent-padding: var(--m-space-3);
145
- --m-layout-trigger-bar-height: 4.5rem;
146
- --m-layout-trigger-bar-offset: 1.75rem;
147
- --m-layout-trigger-bar-width: 2rem;
148
- --m-layout-trigger-bar-top: 2.25rem;
149
- --m-timeline-event-min-height: 4rem;
150
- --m-timeline-marker-size: 1.5rem;
151
- --m-tag-font-size-small: var(--m-font-size-xs);
152
- --m-slider-tooltip-offset: 1.5rem;
153
- --m-slider-tooltip-padding-block: 0.15rem;
154
- --m-slider-tooltip-padding-inline: 0.4rem;
155
- --m-rating-star-size-small: 1rem;
156
- --m-rating-star-size-medium: 1.25rem;
157
- --m-rating-star-size-large: 1.5rem;
158
- --m-rating-star-padding: 0.15rem;
159
- --m-slider-marks-inset: 0.9rem;
160
- --m-slider-marks-side: 0.5rem;
161
- --m-stepper-connector-color: var(--m-color-border);
162
-
163
- /* Table */
164
- --m-color-fill-light: color-mix(in srgb, var(--m-color-text) 6%, var(--m-color-surface));
165
- --m-color-fill-lighter: color-mix(in srgb, var(--m-color-text) 3.5%, var(--m-color-surface));
166
- --m-table-border-color: var(--m-color-split);
167
- --m-table-header-bg: var(--m-color-fill-light);
168
- --m-table-header-text: var(--m-color-text);
169
- --m-table-text: var(--m-color-text);
170
- --m-table-row-bg: var(--m-color-surface);
171
- --m-table-row-hover-bg: var(--m-color-fill-light);
172
- --m-table-row-striped-bg: var(--m-color-fill-lighter);
173
- --m-table-row-current-bg: color-mix(in srgb, var(--m-color-primary) 10%, var(--m-color-surface));
174
- --m-table-row-selected-bg: color-mix(in srgb, var(--m-color-primary) 14%, var(--m-color-surface));
175
- --m-table-expanded-bg: var(--m-color-fill-lighter);
176
- --m-table-font-size: var(--m-font-size-md);
177
- --m-table-row-height: 40px;
178
- --m-table-cell-line-height: 23px;
179
- --m-table-cell-padding-inline: 12px;
180
- }
181
-
182
- :root[data-m-motion="reduced"] {
183
- --m-motion-fast: 80ms;
184
- --m-motion-normal: 120ms;
185
- --m-motion-enter: 100ms;
186
- --m-motion-exit: 80ms;
187
- --m-motion-distance: 0;
188
- /* Looping indicators: keep a short pulse so state is still perceptible */
189
- --m-motion-spin: 0ms;
190
- --m-motion-spin-dash: 0ms;
191
- --m-motion-spin-fast: 0ms;
192
- --m-motion-spin-medium: 0ms;
193
- --m-motion-skeleton: 0ms;
194
- --m-motion-pulse: 0ms;
195
- --m-motion-scrollbar-show: 160ms;
196
- --m-motion-scrollbar-hide: 80ms;
197
- --m-motion-loading-aurora: 0ms;
198
- --m-motion-loading-bounce: 0ms;
199
- --m-motion-loading-pulse: 0ms;
200
- --m-motion-loading-stardust: 0ms;
201
- --m-motion-loading-circular-rotate: 0ms;
202
- }
203
-
204
- :root[data-m-motion="none"] {
205
- --m-motion-fast: 0ms;
206
- --m-motion-normal: 0ms;
207
- --m-motion-enter: 0ms;
208
- --m-motion-exit: 0ms;
209
- --m-motion-distance: 0;
210
- --m-motion-spin: 0ms;
211
- --m-motion-spin-dash: 0ms;
212
- --m-motion-spin-fast: 0ms;
213
- --m-motion-spin-medium: 0ms;
214
- --m-motion-skeleton: 0ms;
215
- --m-motion-pulse: 0ms;
216
- --m-motion-scrollbar-show: 0ms;
217
- --m-motion-scrollbar-hide: 0ms;
218
- --m-motion-loading-aurora: 0ms;
219
- --m-motion-loading-bounce: 0ms;
220
- --m-motion-loading-pulse: 0ms;
221
- --m-motion-loading-stardust: 0ms;
222
- --m-motion-loading-circular-rotate: 0ms;
223
- }
224
-
225
- /*
226
- * Global motion policy (complements per-component rules):
227
- * - `reduced`: keep short paint transitions; stop loops
228
- * and layout/transform size animation.
229
- * - `none`: zero all transition/animation durations.
230
- */
231
-
232
- [data-m-motion="reduced"] *,
233
- [data-m-motion="reduced"] *::before,
234
- [data-m-motion="reduced"] *::after {
235
- animation-duration: 0.01ms !important;
236
- animation-iteration-count: 1 !important;
237
- transition-property: background-color, border-color, color, opacity, box-shadow, outline,
238
- fill, stroke, stroke-dashoffset !important;
239
- }
240
-
241
- [data-m-motion="none"] *,
242
- [data-m-motion="none"] *::before,
243
- [data-m-motion="none"] *::after {
244
- animation-duration: 0.01ms !important;
245
- animation-iteration-count: 1 !important;
246
- transition-duration: 0.01ms !important;
247
- scroll-behavior: auto !important;
248
- }
249
-
250
- /* Off-screen looping indicators (usePauseOffscreen → data-m-anim-paused) */
251
- [data-m-anim-paused],
252
- [data-m-anim-paused]::before,
253
- [data-m-anim-paused]::after,
254
- [data-m-anim-paused] *,
255
- [data-m-anim-paused] *::before,
256
- [data-m-anim-paused] *::after {
257
- animation-play-state: paused !important;
258
- }
259
-
260
- /* Global density: scales spacing + control heights (WD tokens) */
261
- :root,
262
- [data-m-density="comfortable"] {
263
- --m-density-scale: 1;
264
- --m-menu-item-height: calc(var(--m-control-height-medium) + var(--m-space-2));
265
- --m-checkbox-control-size: 1.125rem;
266
- }
267
-
268
- [data-m-density="compact"] {
269
- --m-menu-item-height: calc(var(--m-control-height-medium) + var(--m-space-1));
270
- --m-control-affix-padding: 2.15rem;
271
- --m-control-affix-gap: 2rem;
272
- --m-checkbox-control-size: 1rem;
273
- --m-nav-rail-width: 15rem;
274
- --m-nav-rail-collapsed-width: 4rem;
275
- --m-space-1: 0.2rem;
276
- --m-space-2: 0.4rem;
277
- --m-space-3: 0.6rem;
278
- --m-space-4: 0.85rem;
279
- --m-space-5: 1.05rem;
280
- --m-space-6: 1.25rem;
281
- --m-space-8: 1.7rem;
282
- --m-control-height-small: 24px;
283
- --m-control-height-medium: 28px;
284
- --m-control-height-large: 34px;
285
- --m-control-font-small: 13px;
286
- --m-control-font-medium: 13px;
287
- --m-control-font-large: 14px;
288
- --m-control-padding-x-small: 8px;
289
- --m-control-padding-x-medium: 10px;
290
- --m-control-padding-x-large: 12px;
291
- --m-table-row-height: 36px;
292
- --m-table-cell-line-height: 20px;
293
- --m-table-cell-padding-inline: 10px;
294
- --m-table-font-size: var(--m-font-size-sm);
295
- }
296
-
297
- [data-m-density="spacious"] {
298
- --m-menu-item-height: calc(var(--m-control-height-medium) + var(--m-space-3));
299
- --m-control-affix-padding: 2.85rem;
300
- --m-control-affix-gap: 2.65rem;
301
- --m-checkbox-control-size: 1.25rem;
302
- --m-nav-rail-width: 18rem;
303
- --m-nav-rail-collapsed-width: 5.5rem;
304
- --m-space-1: 0.3rem;
305
- --m-space-2: 0.6rem;
306
- --m-space-3: 0.9rem;
307
- --m-space-4: 1.15rem;
308
- --m-space-5: 1.45rem;
309
- --m-space-6: 1.75rem;
310
- --m-space-8: 2.35rem;
311
- --m-control-height-small: 32px;
312
- --m-control-height-medium: 40px;
313
- --m-control-height-large: 46px;
314
- --m-control-font-small: 14px;
315
- --m-control-font-medium: 15px;
316
- --m-control-font-large: 16px;
317
- --m-control-padding-x-small: 12px;
318
- --m-control-padding-x-medium: 14px;
319
- --m-control-padding-x-large: 16px;
320
- --m-table-row-height: 48px;
321
- --m-table-cell-line-height: 26px;
322
- --m-table-cell-padding-inline: 16px;
323
- --m-table-font-size: 1rem;
324
- }
325
-
326
- [data-m-density="compact"] .m-layout-header {
327
- --m-layout-header-height: 3rem;
328
- }
329
-
330
- [data-m-density="compact"] .m-layout-footer {
331
- --m-layout-footer-height: 2.5rem;
332
- }
333
-
334
- [data-m-density="spacious"] .m-layout-header {
335
- --m-layout-header-height: 4rem;
336
- }
337
-
338
- [data-m-density="spacious"] .m-layout-footer {
339
- --m-layout-footer-height: 3.5rem;
340
- }
341
-
342
- [data-theme="dark"] {
343
- /* Dark theme solids on dark surfaces (readable mid tones) */
344
- --m-color-primary: #1668dc;
345
- --m-color-primary-hover: #3c89e8;
346
- --m-color-primary-active: #1554ad;
347
- --m-color-surface: #141414;
348
- --m-color-text: rgba(255, 255, 255, 0.85);
349
- --m-color-text-muted: rgba(255, 255, 255, 0.45);
350
- --m-color-text-disabled: rgba(255, 255, 255, 0.3);
351
- --m-color-bg-disabled: rgba(255, 255, 255, 0.08);
352
- --m-color-border: #424242;
353
- --m-color-split: #303030;
354
- --m-color-focus-ring: #3c89e8;
355
- /* Dark: getAlphaColor(color*Bg, colorBgContainer) */
356
- --m-color-control-outline: rgba(23, 117, 249, 0.31);
357
- --m-color-control-outline-danger: rgba(249, 75, 78, 0.31);
358
- --m-color-control-outline-warning: rgba(250, 173, 20, 0.3);
359
- --m-focus-shadow: 0 0 0 var(--m-focus-outline-width) var(--m-color-control-outline);
360
- --m-focus-shadow-danger: 0 0 0 var(--m-focus-outline-width)
361
- var(--m-color-control-outline-danger);
362
- --m-focus-shadow-warning: 0 0 0 var(--m-focus-outline-width)
363
- var(--m-color-control-outline-warning);
364
- /* Mid solids: keep ≥~4.5:1 with --m-color-on-emphasis on dark surfaces */
365
- --m-color-success: #49aa19;
366
- --m-color-info: #1668dc;
367
- --m-color-warning: #d89614;
368
- --m-color-warn: var(--m-color-warning);
369
- --m-color-help: #7e22ce;
370
- --m-color-danger: #dc4446;
371
- --m-color-contrast: rgba(255, 255, 255, 0.85);
372
- --m-color-contrast-fg: #141414;
373
- --m-color-contrast-hover: #f5f5f5;
374
- --m-color-contrast-active: #d9d9d9;
375
- --m-overlay-scrim: rgb(0 0 0 / 0.65);
376
- --m-shadow-sm:
377
- 0 1px 2px 0 rgb(0 0 0 / 0.16), 0 1px 6px -1px rgb(0 0 0 / 0.12),
378
- 0 2px 4px 0 rgb(0 0 0 / 0.08);
379
- --m-shadow-md:
380
- 0 6px 16px 0 rgb(0 0 0 / 0.32), 0 3px 6px -4px rgb(0 0 0 / 0.48),
381
- 0 9px 28px 8px rgb(0 0 0 / 0.2);
382
- --m-shadow-lg:
383
- 0 6px 16px 0 rgb(0 0 0 / 0.32), 0 3px 6px -4px rgb(0 0 0 / 0.48),
384
- 0 9px 28px 8px rgb(0 0 0 / 0.2);
385
- --m-shadow-raised:
386
- 0 1px 2px -2px rgb(0 0 0 / 0.64), 0 3px 6px 0 rgb(0 0 0 / 0.48),
387
- 0 5px 12px 4px rgb(0 0 0 / 0.36);
388
- --m-shadow-sticky: 6px 0 16px -8px rgb(0 0 0 / 0.45);
389
- --m-shadow-sticky-end: -6px 0 16px -8px rgb(0 0 0 / 0.45);
390
-
391
- --m-table-border-color: var(--m-color-split);
392
- --m-color-fill-light: color-mix(in srgb, var(--m-color-text) 10%, var(--m-color-surface));
393
- --m-color-fill-lighter: color-mix(in srgb, var(--m-color-text) 6%, var(--m-color-surface));
394
- --m-table-header-bg: var(--m-color-fill-light);
395
- --m-table-row-bg: var(--m-color-surface);
396
- --m-table-row-hover-bg: color-mix(in srgb, var(--m-color-text) 8%, var(--m-color-surface));
397
- --m-table-row-striped-bg: var(--m-color-fill-lighter);
398
- --m-table-row-current-bg: color-mix(in srgb, var(--m-color-primary) 16%, var(--m-color-surface));
399
- --m-table-row-selected-bg: color-mix(in srgb, var(--m-color-primary) 20%, var(--m-color-surface));
400
- --m-table-expanded-bg: var(--m-color-fill-lighter);
401
- }
402
-
403
- /* Shared tokens consumption, type, focus, and mixed selectors. */
404
-
405
- :root {
406
- /* Shared minimum width for menu-like panels (select/orderlist/picklist) */
407
- --m-menu-min-width: 12rem;
408
- }
409
-
410
- .m-button,
411
- .m-input,
412
- .m-card,
413
- .m-dialog,
414
- .m-drawer,
415
- .m-popover,
416
- .m-accordion,
417
- .m-scrollbar,
418
- .m-panel,
419
- .m-fieldset,
420
- .m-flex,
421
- .m-space,
422
- .m-grid,
423
- .m-layout,
424
- .m-layout-header,
425
- .m-layout-footer,
426
- .m-layout-sider,
427
- .m-splitter,
428
- .m-stepper,
429
- .m-toolbar,
430
- .m-page-content,
431
- .m-page-header,
432
- .m-page-toolbar,
433
- .m-menu,
434
- .m-menubar,
435
- .m-contextmenu,
436
- .m-tieredmenu,
437
- .m-dropdown,
438
- .m-breadcrumb,
439
- .m-tabs,
440
- .m-datepicker,
441
- .m-listbox,
442
- .m-togglebutton,
443
- .m-select,
444
- .m-textarea,
445
- .m-selectbutton,
446
- .m-inputotp,
447
- .m-knob,
448
- .m-autocomplete,
449
- .m-splitbutton,
450
- .m-tree,
451
- .m-timeline,
452
- .m-dataview,
453
- .m-confirmpopup,
454
- .m-scrolltop,
455
- .m-blockui,
456
- .m-inplace,
457
- .m-message,
458
- .m-toast,
459
- .m-tooltip,
460
- .m-empty,
461
- .m-result,
462
- .m-progress-spinner,
463
- .m-cascadeselect,
464
- .m-treeselect,
465
- .m-inputcolor,
466
- .m-inputtags,
467
- .m-label,
468
- .m-speeddial,
469
- .m-orderlist,
470
- .m-picklist,
471
- .m-virtualscroller,
472
- .m-megamenu,
473
- .m-dock,
474
- .m-sidebar,
475
- .m-commandmenu,
476
- .m-fileupload,
477
- .m-carousel,
478
- .m-gallery,
479
- .m-metergroup,
480
- .m-fluid,
481
- .m-terminal {
482
- font-family: var(--m-font-sans);
483
- box-sizing: border-box;
484
- }
485
-
486
- .m-input:disabled,
487
- .m-textarea:disabled,
488
- .m-password__input:disabled,
489
- .m-inputnumber__input:disabled,
490
- .m-inputotp__input:disabled,
491
- .m-inputcolor__text:disabled,
492
- .m-inputcolor__swatch:disabled,
493
- .m-inputtags--disabled {
494
- background-color: var(--m-color-bg-disabled);
495
- color: var(--m-color-text-disabled);
496
- cursor: not-allowed;
497
- opacity: 1;
498
- }
499
-
500
- .m-input-field__control--prefixed .m-input:disabled,
501
- .m-input-field__control--suffixed .m-input:disabled,
502
- .m-input-field__control--clearable .m-input:disabled,
503
- .m-password--disabled .m-password__input,
504
- .m-inputnumber--disabled .m-inputnumber__input,
505
- .m-datepicker--disabled .m-datepicker__input,
506
- .m-icon-field--anchored .m-input:disabled,
507
- .m-icon-field--anchored .m-textarea:disabled {
508
- opacity: 1;
509
- }
510
-
511
- .m-input::placeholder,
512
- .m-textarea::placeholder,
513
- .m-password__input::placeholder,
514
- .m-inputnumber__input::placeholder,
515
- .m-inputtags__input::placeholder,
516
- .m-inputcolor__text::placeholder {
517
- color: var(--m-color-text-muted);
518
- opacity: 1;
519
- }
520
-
521
- .m-input-field__meta,
522
- .m-textarea-field__meta,
523
- .m-password-field__meta {
524
- align-items: baseline;
525
- display: flex;
526
- gap: var(--m-space-2);
527
- justify-content: space-between;
528
- }
529
-
530
- .m-input-field__meta:not(:has(.m-input-field__help)),
531
- .m-textarea-field__meta:not(:has(.m-textarea-field__help)),
532
- .m-password-field__meta:not(:has(.m-password__feedback)) {
533
- justify-content: flex-end;
534
- }
535
-
536
- .m-input-field__count,
537
- .m-textarea-field__count,
538
- .m-password-field__count {
539
- color: var(--m-color-text-muted);
540
- flex: 0 0 auto;
541
- font-size: var(--m-font-size-xs);
542
- margin-left: auto;
543
- }
544
-
545
- .m-dropdown__item--parent {
546
- align-items: center;
547
- display: flex;
548
- justify-content: space-between;
549
- width: 100%;
550
- }
551
-
552
- .m-dropdown__icon,
553
- .m-dropdown__caret,
554
- .m-menu__icon,
555
- .m-menubar__icon {
556
- flex-shrink: 0;
557
- }
558
-
559
- .m-dropdown__submenu-wrap {
560
- position: relative;
561
- }
562
-
563
- .m-dropdown__submenu {
564
- --m-dropdown-submenu-max-height: min(18rem, 45vh);
565
- background: var(--m-color-surface);
566
- border: var(--m-border-width) solid var(--m-color-border);
567
- border-radius: var(--m-radius-md);
568
- box-shadow: var(--m-shadow-md);
569
- max-height: var(--m-dropdown-submenu-max-height);
570
- max-width: calc(100vw - 2 * var(--m-space-4));
571
- min-width: 10rem;
572
- overflow: hidden;
573
- padding: var(--m-space-1);
574
- /* Same as .m-dropdown__menu: size to content instead of being clamped
575
- by the space left of the anchor in the viewport. */
576
- width: max-content;
577
- }
578
-
579
- .m-dropdown__submenu--teleported {
580
- position: fixed;
581
- z-index: var(--m-z-dropdown);
582
- }
583
-
584
- .m-dropdown__submenu-scroll {
585
- max-height: calc(var(--m-dropdown-submenu-max-height) - var(--m-space-2));
586
- min-height: 0;
587
- }
588
-
589
- .m-dropdown__submenu-view {
590
- display: grid;
591
- gap: var(--m-space-1);
592
- }
593
-
594
- .m-fade-enter-active,
595
- .m-fade-leave-active {
596
- transition: opacity var(--m-motion-exit) var(--m-motion-ease);
597
- }
598
-
599
- .m-fade-enter-from,
600
- .m-fade-leave-to {
601
- opacity: 0;
602
- }
603
-
604
- .m-scale-fade-enter-active {
605
- transition:
606
- opacity var(--m-motion-enter) var(--m-motion-ease),
607
- transform var(--m-motion-enter) var(--m-motion-ease);
608
- }
609
-
610
- .m-scale-fade-leave-active {
611
- transition:
612
- opacity var(--m-motion-exit) var(--m-motion-ease),
613
- transform var(--m-motion-exit) var(--m-motion-ease);
614
- }
615
-
616
- .m-scale-fade-enter-from,
617
- .m-scale-fade-leave-to {
618
- opacity: 0;
619
- transform: translateY(calc(var(--m-motion-distance) * -1)) scale(0.96);
620
- }
621
-
622
- .m-slide-fade-enter-active {
623
- transition:
624
- opacity var(--m-motion-enter) var(--m-motion-ease),
625
- transform var(--m-motion-enter) var(--m-motion-ease);
626
- }
627
-
628
- .m-slide-fade-leave-active {
629
- transition:
630
- opacity var(--m-motion-exit) var(--m-motion-ease),
631
- transform var(--m-motion-exit) var(--m-motion-ease);
632
- }
633
-
634
- .m-slide-fade-enter-from,
635
- .m-slide-fade-leave-to {
636
- opacity: 0;
637
- transform: translateY(calc(var(--m-motion-distance) * -1));
638
- }
639
-
640
- /* Generic center zoom (opacity + scale on the transitioning root) */
641
- .m-zoom-enter-active {
642
- transition:
643
- opacity var(--m-motion-enter) var(--m-motion-ease),
644
- transform var(--m-motion-enter) var(--m-motion-ease);
645
- }
646
-
647
- .m-zoom-leave-active {
648
- transition:
649
- opacity var(--m-motion-exit) var(--m-motion-ease),
650
- transform var(--m-motion-exit) var(--m-motion-ease);
651
- }
652
-
653
- .m-zoom-enter-from,
654
- .m-zoom-leave-to {
655
- opacity: 0;
656
- transform: scale(0.95);
657
- }
658
-
659
- .m-slide-up-enter-active,
660
- .m-slide-down-enter-active,
661
- .m-slide-left-enter-active,
662
- .m-slide-right-enter-active {
663
- transition:
664
- opacity var(--m-motion-enter) var(--m-motion-ease),
665
- transform var(--m-motion-enter) var(--m-motion-ease);
666
- }
667
-
668
- .m-slide-up-leave-active,
669
- .m-slide-down-leave-active,
670
- .m-slide-left-leave-active,
671
- .m-slide-right-leave-active {
672
- transition:
673
- opacity var(--m-motion-exit) var(--m-motion-ease),
674
- transform var(--m-motion-exit) var(--m-motion-ease);
675
- }
676
-
677
- .m-slide-up-enter-from,
678
- .m-slide-up-leave-to {
679
- opacity: 0;
680
- transform: translateY(var(--m-motion-distance));
681
- }
682
-
683
- .m-slide-down-enter-from,
684
- .m-slide-down-leave-to {
685
- opacity: 0;
686
- transform: translateY(calc(var(--m-motion-distance) * -1));
687
- }
688
-
689
- .m-slide-left-enter-from,
690
- .m-slide-left-leave-to {
691
- opacity: 0;
692
- transform: translateX(var(--m-motion-distance));
693
- }
694
-
695
- .m-slide-right-enter-from,
696
- .m-slide-right-leave-to {
697
- opacity: 0;
698
- transform: translateX(calc(var(--m-motion-distance) * -1));
699
- }
700
-
701
- [data-m-motion="reduced"] .m-fade-enter-active,
702
- [data-m-motion="reduced"] .m-fade-leave-active,
703
- [data-m-motion="reduced"] .m-scale-fade-enter-active,
704
- [data-m-motion="reduced"] .m-scale-fade-leave-active,
705
- [data-m-motion="reduced"] .m-slide-fade-enter-active,
706
- [data-m-motion="reduced"] .m-slide-fade-leave-active,
707
- [data-m-motion="reduced"] .m-zoom-enter-active,
708
- [data-m-motion="reduced"] .m-zoom-leave-active,
709
- [data-m-motion="reduced"] .m-slide-up-enter-active,
710
- [data-m-motion="reduced"] .m-slide-up-leave-active,
711
- [data-m-motion="reduced"] .m-slide-down-enter-active,
712
- [data-m-motion="reduced"] .m-slide-down-leave-active,
713
- [data-m-motion="reduced"] .m-slide-left-enter-active,
714
- [data-m-motion="reduced"] .m-slide-left-leave-active,
715
- [data-m-motion="reduced"] .m-slide-right-enter-active,
716
- [data-m-motion="reduced"] .m-slide-right-leave-active,
717
- [data-m-motion="none"] .m-fade-enter-active,
718
- [data-m-motion="none"] .m-fade-leave-active,
719
- [data-m-motion="none"] .m-scale-fade-enter-active,
720
- [data-m-motion="none"] .m-scale-fade-leave-active,
721
- [data-m-motion="none"] .m-slide-fade-enter-active,
722
- [data-m-motion="none"] .m-slide-fade-leave-active,
723
- [data-m-motion="none"] .m-zoom-enter-active,
724
- [data-m-motion="none"] .m-zoom-leave-active,
725
- [data-m-motion="none"] .m-slide-up-enter-active,
726
- [data-m-motion="none"] .m-slide-up-leave-active,
727
- [data-m-motion="none"] .m-slide-down-enter-active,
728
- [data-m-motion="none"] .m-slide-down-leave-active,
729
- [data-m-motion="none"] .m-slide-left-enter-active,
730
- [data-m-motion="none"] .m-slide-left-leave-active,
731
- [data-m-motion="none"] .m-slide-right-enter-active,
732
- [data-m-motion="none"] .m-slide-right-leave-active {
733
- transition: none;
734
- }
735
-
736
- [data-m-motion="reduced"] .m-scale-fade-enter-from,
737
- [data-m-motion="reduced"] .m-scale-fade-leave-to,
738
- [data-m-motion="reduced"] .m-slide-fade-enter-from,
739
- [data-m-motion="reduced"] .m-slide-fade-leave-to,
740
- [data-m-motion="reduced"] .m-zoom-enter-from,
741
- [data-m-motion="reduced"] .m-zoom-leave-to,
742
- [data-m-motion="reduced"] .m-slide-up-enter-from,
743
- [data-m-motion="reduced"] .m-slide-up-leave-to,
744
- [data-m-motion="reduced"] .m-slide-down-enter-from,
745
- [data-m-motion="reduced"] .m-slide-down-leave-to,
746
- [data-m-motion="reduced"] .m-slide-left-enter-from,
747
- [data-m-motion="reduced"] .m-slide-left-leave-to,
748
- [data-m-motion="reduced"] .m-slide-right-enter-from,
749
- [data-m-motion="reduced"] .m-slide-right-leave-to,
750
- [data-m-motion="none"] .m-scale-fade-enter-from,
751
- [data-m-motion="none"] .m-scale-fade-leave-to,
752
- [data-m-motion="none"] .m-slide-fade-enter-from,
753
- [data-m-motion="none"] .m-slide-fade-leave-to,
754
- [data-m-motion="none"] .m-zoom-enter-from,
755
- [data-m-motion="none"] .m-zoom-leave-to,
756
- [data-m-motion="none"] .m-slide-up-enter-from,
757
- [data-m-motion="none"] .m-slide-up-leave-to,
758
- [data-m-motion="none"] .m-slide-down-enter-from,
759
- [data-m-motion="none"] .m-slide-down-leave-to,
760
- [data-m-motion="none"] .m-slide-left-enter-from,
761
- [data-m-motion="none"] .m-slide-left-leave-to,
762
- [data-m-motion="none"] .m-slide-right-enter-from,
763
- [data-m-motion="none"] .m-slide-right-leave-to {
764
- transform: none;
765
- }
766
-
767
- /* Shared loading spinner rotation (ProgressSpinner, Switch, ProgressBar, AutoComplete) */
768
- @keyframes m-progress-spinner-rotate {
769
- 100% {
770
- transform: rotate(360deg);
771
- }
772
- }
773
-
774
- .m-checkbox,
775
- .m-radio,
776
- .m-switch {
777
- align-items: center;
778
- color: var(--m-color-text);
779
- cursor: pointer;
780
- display: inline-flex;
781
- font-family: var(--m-font-sans);
782
- gap: var(--m-space-2);
783
- /* 与输入框圆角保持一致,配合 MScrollbar 使用 */
784
- position: relative;
785
- }
786
-
787
- .m-checkbox--disabled,
788
- .m-radio--disabled,
789
- .m-switch--disabled {
790
- color: var(--m-color-text-disabled);
791
- cursor: not-allowed;
792
- opacity: 1;
793
- }
794
-
795
- .m-checkbox--invalid .m-checkbox__control,
796
- .m-radio--invalid .m-radio__control {
797
- border-color: var(--m-color-danger);
798
- }
799
-
800
- .m-checkbox__input,
801
- .m-radio__input,
802
- .m-switch__input {
803
- clip: rect(0, 0, 0, 0);
804
- clip-path: inset(50%);
805
- height: 1px;
806
- margin: -1px;
807
- overflow: hidden;
808
- opacity: 0;
809
- position: absolute;
810
- white-space: nowrap;
811
- width: 1px;
812
- }
813
-
814
- .m-checkbox__control,
815
- .m-radio__control {
816
- align-items: center;
817
- background: var(--m-color-surface);
818
- border: var(--m-border-width) solid var(--m-color-border);
819
- display: inline-flex;
820
- flex: 0 0 auto;
821
- height: var(--m-checkbox-control-size, 1.125rem);
822
- justify-content: center;
823
- transition:
824
- background-color var(--m-motion-fast) var(--m-motion-ease),
825
- border-color var(--m-motion-fast) var(--m-motion-ease),
826
- box-shadow var(--m-motion-fast) var(--m-motion-ease);
827
- width: var(--m-checkbox-control-size, 1.125rem);
828
- }
829
-
830
- .m-checkbox__input:checked + .m-checkbox__control,
831
- .m-radio__input:checked + .m-radio__control {
832
- background: var(--m-color-primary);
833
- border-color: var(--m-color-primary);
834
- }
835
-
836
- .m-checkbox:not(.m-checkbox--disabled):hover .m-checkbox__control,
837
- .m-radio:not(.m-radio--disabled):hover .m-radio__control {
838
- border-color: color-mix(in srgb, var(--m-color-primary) 45%, var(--m-color-border));
839
- }
840
-
841
- .m-checkbox__input:focus-visible + .m-checkbox__control,
842
- .m-radio__input:focus-visible + .m-radio__control,
843
- .m-switch__input:focus-visible + .m-switch__track {
844
- box-shadow: var(--m-focus-shadow);
845
- outline: none;
846
- }
847
-
848
- .m-checkbox__label,
849
- .m-radio__label,
850
- .m-switch__label {
851
- font-size: var(--m-font-size-md);
852
- }
853
-
854
- .m-textarea-field,
855
- .m-select-field {
856
- display: grid;
857
- font-family: var(--m-font-sans);
858
- gap: var(--m-space-2);
859
- max-width: 100%;
860
- min-width: var(--m-menu-min-width);
861
- position: relative;
862
- width: fit-content;
863
- }
864
-
865
- .m-textarea-field--fluid,
866
- .m-select-field--fluid {
867
- width: 100%;
868
- }
869
-
870
- .m-textarea-field__label,
871
- .m-select-field__label {
872
- color: var(--m-color-text);
873
- font-family: var(--m-font-sans);
874
- font-size: var(--m-font-size-md);
875
- font-weight: 500;
876
- }
877
-
878
- .m-textarea-field__help,
879
- .m-select-field__help {
880
- color: var(--m-color-text-muted);
881
- font-size: var(--m-font-size-xs);
882
- }
883
-
884
- .m-textarea-field__help--invalid,
885
- .m-select-field__help--invalid {
886
- color: var(--m-color-danger);
887
- }
888
-
889
- .m-textarea,
890
- .m-select {
891
- background: var(--m-color-surface);
892
- border: var(--m-border-width) solid var(--m-color-border);
893
- border-radius: var(--m-radius-control);
894
- color: var(--m-color-text);
895
- font: inherit;
896
- transition:
897
- border-color var(--m-motion-fast) var(--m-motion-ease),
898
- box-shadow var(--m-motion-fast) var(--m-motion-ease),
899
- background-color var(--m-motion-fast) var(--m-motion-ease);
900
- width: 100%;
901
- }
902
-
903
- .m-textarea--invalid:focus,
904
- .m-textarea--invalid:focus-visible,
905
- .m-select--invalid.m-select--open,
906
- .m-select--invalid:focus,
907
- .m-select--invalid:focus-visible {
908
- border-color: var(--m-color-danger);
909
- box-shadow: var(--m-focus-shadow-danger);
910
- }
911
-
912
- .m-textarea:disabled,
913
- .m-select:disabled,
914
- .m-select--disabled {
915
- background-color: var(--m-color-bg-disabled);
916
- color: var(--m-color-text-disabled);
917
- cursor: not-allowed;
918
- opacity: 1;
919
- }
920
-
921
- .m-inputgroup > .m-input,
922
- .m-inputgroup > .m-input-field,
923
- .m-inputgroup > .m-password-field,
924
- .m-inputgroup > .m-inputnumber-field {
925
- flex: 1 1 auto;
926
- min-width: 0;
927
- }
928
-
929
- .m-inputgroup > .m-input-field,
930
- .m-inputgroup > .m-password-field,
931
- .m-inputgroup > .m-inputnumber-field {
932
- display: flex;
933
- flex-direction: column;
934
- gap: 0;
935
- }
936
-
937
- .m-inputgroup > .m-input,
938
- .m-inputgroup .m-input,
939
- .m-inputgroup .m-password,
940
- .m-inputgroup .m-inputnumber__input-wrap,
941
- .m-inputgroup .m-input-field__control--prefixed,
942
- .m-inputgroup .m-input-field__control--suffixed,
943
- .m-inputgroup .m-input-field__control--clearable {
944
- border-radius: 0;
945
- width: 100%;
946
- }
947
-
948
- .m-inputgroup > :first-child.m-input,
949
- .m-inputgroup > :first-child .m-input,
950
- .m-inputgroup > :first-child .m-password,
951
- .m-inputgroup > :first-child .m-inputnumber__input-wrap,
952
- .m-inputgroup > :first-child .m-input-field__control--prefixed,
953
- .m-inputgroup > :first-child .m-input-field__control--suffixed,
954
- .m-inputgroup > :first-child .m-input-field__control--clearable,
955
- .m-inputgroup > :first-child.m-inputgroup-addon {
956
- border-bottom-left-radius: var(--m-radius-control);
957
- border-top-left-radius: var(--m-radius-control);
958
- }
959
-
960
- .m-inputgroup > :last-child.m-input,
961
- .m-inputgroup > :last-child .m-input,
962
- .m-inputgroup > :last-child .m-password,
963
- .m-inputgroup > :last-child .m-inputnumber__input-wrap,
964
- .m-inputgroup > :last-child .m-input-field__control--prefixed,
965
- .m-inputgroup > :last-child .m-input-field__control--suffixed,
966
- .m-inputgroup > :last-child .m-input-field__control--clearable,
967
- .m-inputgroup > :last-child.m-inputgroup-addon {
968
- border-bottom-right-radius: var(--m-radius-control);
969
- border-top-right-radius: var(--m-radius-control);
970
- }
971
-
972
- .m-inputgroup > .m-inputgroup-addon + .m-input,
973
- .m-inputgroup > .m-inputgroup-addon + .m-input-field .m-input,
974
- .m-inputgroup > .m-input + .m-inputgroup-addon,
975
- .m-inputgroup > .m-input-field + .m-inputgroup-addon {
976
- margin-left: calc(var(--m-border-width) * -1);
977
- }
978
-
979
- .m-layout__scrollbar > .m-scrollbar__wrap {
980
- height: 100%;
981
- overflow-x: hidden;
982
- }
983
-
984
- .m-layout-sider__scrollbar > .m-scrollbar__wrap {
985
- height: 100%;
986
- overflow-x: hidden;
987
- }
988
-
989
- .m-terminal__scrollbar > .m-scrollbar__wrap {
990
- height: 100%;
991
- overflow-x: hidden;
992
- }
993
-
994
- .m-scroll-body.m-scrollbar {
995
- min-height: 0;
996
- min-width: 0;
997
- }
998
-
999
- /* fit-content scroll wrappers: grow with content; max-height only clips when set on the wrapper */
1000
- .m-scrollbar--fit-content.m-scrollbar--fill:not(.m-layout__scrollbar):not(.m-layout-sider__scrollbar):not(.m-scroll-body) {
1001
- width: 100%;
1002
- }
1003
-
1004
- .m-scrollbar--fit-content.m-scrollbar--fill:not(.m-layout__scrollbar):not(.m-layout-sider__scrollbar):not(.m-scroll-body) .m-scrollbar__wrap {
1005
- overflow: auto;
1006
- }
1007
-
1008
- .m-orderlist__btn,
1009
- .m-picklist__btn {
1010
- align-items: center;
1011
- background: var(--m-color-surface);
1012
- border: var(--m-border-width) solid var(--m-color-border);
1013
- border-radius: var(--m-radius-sm);
1014
- color: var(--m-color-text);
1015
- cursor: pointer;
1016
- display: inline-flex;
1017
- font: inherit;
1018
- gap: 0;
1019
- justify-content: center;
1020
- min-height: var(--m-control-height-small, 1.75rem);
1021
- min-width: var(--m-control-affix-size);
1022
- padding: var(--m-space-1) var(--m-space-2);
1023
- }
1024
-
1025
- .m-orderlist__btn:hover:not(:disabled),
1026
- .m-picklist__btn:hover:not(:disabled) {
1027
- border-color: var(--m-color-primary);
1028
- color: var(--m-color-primary);
1029
- }
1030
-
1031
- .m-orderlist__btn:disabled,
1032
- .m-picklist__btn:disabled {
1033
- cursor: not-allowed;
1034
- opacity: var(--m-opacity-disabled);
1035
- }
1036
-
1037
- .m-orderlist__btn:focus-visible,
1038
- .m-picklist__btn:focus-visible {
1039
- border-color: var(--m-color-primary);
1040
- box-shadow: var(--m-focus-shadow);
1041
- outline: none;
1042
- }
1043
-
1044
- .m-picklist__btn .m-icon + .m-icon {
1045
- margin-left: -0.35rem;
1046
- }
1047
-
1048
- .m-orderlist__scrollbar,
1049
- .m-picklist__scrollbar {
1050
- flex: 1;
1051
- max-height: 16rem;
1052
- min-height: 12rem;
1053
- min-width: var(--m-menu-min-width);
1054
- }
1055
-
1056
- .m-orderlist__list,
1057
- .m-picklist__list {
1058
- background: var(--m-color-surface);
1059
- border: var(--m-border-width) solid var(--m-color-border);
1060
- border-radius: var(--m-radius-md);
1061
- padding: var(--m-space-1);
1062
- }
1063
-
1064
- .m-orderlist__options,
1065
- .m-picklist__options {
1066
- list-style: none;
1067
- margin: 0;
1068
- padding: 0;
1069
- }
1070
-
1071
- .m-orderlist__item,
1072
- .m-picklist__item {
1073
- border-radius: var(--m-radius-sm);
1074
- cursor: pointer;
1075
- padding: var(--m-space-2) var(--m-space-3);
1076
- }
1077
-
1078
- .m-orderlist__item:hover,
1079
- .m-picklist__item:hover {
1080
- background: color-mix(in srgb, var(--m-color-primary) 8%, var(--m-color-surface));
1081
- }
1082
-
1083
- .m-orderlist__item:focus-visible,
1084
- .m-picklist__item:focus-visible {
1085
- box-shadow: var(--m-focus-shadow);
1086
- outline: none;
1087
- }
1088
-
1089
- .m-orderlist__item--selected,
1090
- .m-picklist__item--selected {
1091
- background: color-mix(in srgb, var(--m-color-primary) 14%, var(--m-color-surface));
1092
- color: var(--m-color-primary);
1093
- font-weight: 500;
1094
- }
1095
-
1096
- .m-carousel__nav,
1097
- .m-gallery__nav {
1098
- background: var(--m-color-surface);
1099
- border: var(--m-border-width) solid var(--m-color-border);
1100
- border-radius: var(--m-radius-full, 999px);
1101
- color: var(--m-color-text);
1102
- cursor: pointer;
1103
- flex: 0 0 auto;
1104
- font: inherit;
1105
- height: var(--m-control-affix-size);
1106
- width: var(--m-control-affix-size);
1107
- }
1108
-
1109
- .m-carousel__nav:disabled,
1110
- .m-gallery__nav:disabled {
1111
- cursor: not-allowed;
1112
- opacity: var(--m-opacity-disabled);
1113
- }
1114
-
1115
- /* Shared hover/focus for remaining form triggers */
1116
- .m-inputotp__input:hover:not(:disabled):not(:focus),
1117
- .m-cascadeselect:not(.m-cascadeselect--open)
1118
- .m-cascadeselect__trigger:hover:not(:disabled):not(:focus):not(:focus-visible),
1119
- .m-treeselect:not(.m-treeselect--open)
1120
- .m-treeselect__trigger:hover:not(:disabled):not(:focus):not(:focus-visible),
1121
- .m-inputcolor__text:hover:not(:disabled):not(:focus),
1122
- .m-inputtags:hover:not(.m-inputtags--disabled):not(:focus-within),
1123
- .m-togglebutton:hover:not(:disabled):not(.m-togglebutton--checked):not(:focus-visible),
1124
- .m-inplace__display:hover:not(:focus-visible) {
1125
- border-color: var(--m-color-primary-hover);
1126
- }
1127
-
1128
- .m-inputotp__input:focus,
1129
- .m-inputotp__input:focus-visible,
1130
- .m-cascadeselect--open .m-cascadeselect__trigger,
1131
- .m-cascadeselect__trigger:focus,
1132
- .m-cascadeselect__trigger:focus-visible,
1133
- .m-treeselect--open .m-treeselect__trigger,
1134
- .m-treeselect__trigger:focus,
1135
- .m-treeselect__trigger:focus-visible,
1136
- .m-inputcolor__text:focus,
1137
- .m-inputcolor__text:focus-visible,
1138
- .m-inputtags:focus-within,
1139
- .m-togglebutton:focus-visible,
1140
- .m-selectbutton__button:focus-visible,
1141
- .m-splitbutton__main:focus-visible,
1142
- .m-splitbutton__trigger:focus-visible,
1143
- .m-inplace__display:focus-visible,
1144
- .m-pagination__button:focus-visible {
1145
- border-color: var(--m-color-primary);
1146
- box-shadow: var(--m-focus-shadow);
1147
- outline: none;
1148
- }
1149
-
1150
- .m-inputotp--invalid .m-inputotp__input:focus,
1151
- .m-inputotp--invalid .m-inputotp__input:focus-visible,
1152
- .m-inputtags--invalid:focus-within,
1153
- .m-inputcolor--invalid .m-inputcolor__text:focus,
1154
- .m-inputcolor--invalid .m-inputcolor__text:focus-visible {
1155
- border-color: var(--m-color-danger);
1156
- box-shadow: var(--m-focus-shadow-danger);
1157
- }
1158
-
1159
- .m-checkbox-group,
1160
- .m-radio-group {
1161
- display: flex;
1162
- flex-wrap: wrap;
1163
- gap: var(--m-space-3);
1164
- }
1165
-
1166
- .m-checkbox--small .m-checkbox__control,
1167
- .m-radio--small .m-radio__control {
1168
- height: 0.95rem;
1169
- width: 0.95rem;
1170
- }
1171
-
1172
- .m-checkbox--large .m-checkbox__control,
1173
- .m-radio--large .m-radio__control {
1174
- height: 1.35rem;
1175
- width: 1.35rem;
1176
- }
1177
-
1178
- .m-inputnumber__clear,
1179
- .m-autocomplete__clear {
1180
- background: transparent;
1181
- border: 0;
1182
- color: var(--m-color-text-muted);
1183
- cursor: pointer;
1184
- font: inherit;
1185
- line-height: 1;
1186
- }
1187
-
1188
- [data-m-motion="none"] *,
1189
- [data-m-motion="none"] *::before,
1190
- [data-m-motion="none"] *::after {
1191
- animation-duration: 0.01ms !important;
1192
- animation-iteration-count: 1 !important;
1193
- scroll-behavior: auto !important;
1194
- transition-duration: 0.01ms !important;
1195
- }
1
+ :root {
2
+ /* Default morya palette (--m-* token names) */
3
+ --m-color-primary: #1677ff;
4
+ --m-color-primary-hover: #4096ff;
5
+ --m-color-primary-active: #0958d9;
6
+ --m-color-surface: #ffffff;
7
+ --m-color-text: rgba(0, 0, 0, 0.88);
8
+ --m-color-text-muted: rgba(0, 0, 0, 0.45);
9
+ --m-color-border: #d9d9d9;
10
+ --m-color-split: #f0f0f0;
11
+ --m-color-focus-ring: #1677ff;
12
+ /* Soft translucent control-outline ring (primary bg composited over container) */
13
+ --m-color-control-outline: rgba(5, 145, 255, 0.1);
14
+ --m-color-control-outline-danger: rgba(255, 38, 5, 0.06);
15
+ --m-color-control-outline-warning: rgba(255, 215, 5, 0.1);
16
+ /* Control sizing: medium control height 32px */
17
+ --m-control-height-small: 24px;
18
+ --m-control-height-medium: 32px;
19
+ --m-control-height-large: 40px;
20
+ --m-control-font-small: 14px;
21
+ --m-control-font-medium: 14px;
22
+ --m-control-font-large: 15px;
23
+ --m-control-padding-x-small: 10px;
24
+ --m-control-padding-x-medium: 15px;
25
+ --m-control-padding-x-large: 16px;
26
+
27
+ --m-radius-control: 6px;
28
+ --m-border-width: 1px;
29
+ --m-focus-outline-width: 2px;
30
+ --m-focus-shadow: 0 0 0 var(--m-focus-outline-width) var(--m-color-control-outline);
31
+ --m-focus-shadow-danger: 0 0 0 var(--m-focus-outline-width)
32
+ var(--m-color-control-outline-danger);
33
+ --m-focus-shadow-warning: 0 0 0 var(--m-focus-outline-width)
34
+ var(--m-color-control-outline-warning);
35
+ --m-color-success: #52c41a;
36
+ --m-color-info: #1677ff;
37
+ --m-color-warning: #faad14;
38
+ --m-color-warn: var(--m-color-warning);
39
+ --m-color-help: #9333ea;
40
+ --m-color-danger: #ff4d4f;
41
+ --m-color-contrast: rgba(0, 0, 0, 0.88);
42
+ --m-color-contrast-fg: #ffffff;
43
+ --m-color-contrast-hover: #1f1f1f;
44
+ --m-color-contrast-active: #141414;
45
+ --m-color-on-emphasis: #ffffff;
46
+ --m-color-on-primary: var(--m-color-on-emphasis);
47
+ --m-overlay-scrim: rgb(0 0 0 / 0.45);
48
+ --m-shadow-sm:
49
+ 0 1px 2px 0 rgb(0 0 0 / 0.03), 0 1px 6px -1px rgb(0 0 0 / 0.02),
50
+ 0 2px 4px 0 rgb(0 0 0 / 0.02);
51
+ --m-shadow-md:
52
+ 0 6px 16px 0 rgb(0 0 0 / 0.08), 0 3px 6px -4px rgb(0 0 0 / 0.12),
53
+ 0 9px 28px 8px rgb(0 0 0 / 0.05);
54
+ --m-shadow-lg:
55
+ 0 6px 16px 0 rgb(0 0 0 / 0.08), 0 3px 6px -4px rgb(0 0 0 / 0.12),
56
+ 0 9px 28px 8px rgb(0 0 0 / 0.05);
57
+ --m-shadow-raised:
58
+ 0 1px 2px -2px rgb(0 0 0 / 0.16), 0 3px 6px 0 rgb(0 0 0 / 0.12),
59
+ 0 5px 12px 4px rgb(0 0 0 / 0.09);
60
+ --m-shadow-sticky: 6px 0 16px -8px rgb(0 0 0 / 0.08);
61
+ --m-shadow-sticky-end: -6px 0 16px -8px rgb(0 0 0 / 0.08);
62
+
63
+ /* Typography scale (component text, not control-height fonts) */
64
+ --m-font-size-xs: 0.75rem;
65
+ --m-font-size-sm: 0.8125rem;
66
+ --m-font-size-md: 0.875rem;
67
+ --m-font-size-lg: 1.125rem;
68
+ --m-line-height-sm: 1.6667;
69
+ --m-line-height-md: 1.5714;
70
+ --m-line-height-lg: 1.5;
71
+ /* Display scale (page titles, KPI figures) */
72
+ --m-font-size-xl: 1.25rem;
73
+ --m-font-size-2xl: 1.5rem;
74
+ --m-font-size-3xl: 1.75rem;
75
+ --m-opacity-disabled: 0.55;
76
+ --m-color-text-disabled: rgba(0, 0, 0, 0.25);
77
+ --m-color-bg-disabled: rgba(0, 0, 0, 0.04);
78
+ --m-font-weight: 400;
79
+ --m-font-weight-medium: 500;
80
+ --m-font-weight-strong: 600;
81
+ /* Layering: override --m-z-base via ConfigProvider / createMoryaUI */
82
+ --m-z-base: 1000;
83
+ --m-z-overlay: var(--m-z-base);
84
+ --m-z-overlay-raised: calc(var(--m-z-base) + 1);
85
+ --m-z-dropdown: calc(var(--m-z-base) + 50);
86
+ --m-z-tooltip: calc(var(--m-z-base) + 60);
87
+ --m-z-toast: calc(var(--m-z-base) + 100);
88
+ --m-z-popper: 40;
89
+ --m-z-sticky: 10;
90
+
91
+ /* Affix hitbox tracks control height so small/compact shells do not overflow */
92
+ --m-control-affix-size: calc(
93
+ var(--m-control-height-medium) - 2 * var(--m-border-width)
94
+ );
95
+ --m-control-affix-gap: 2.35rem;
96
+ --m-control-affix-padding: 2.5rem;
97
+ --m-meter-track-height: var(--m-space-5);
98
+ --m-tree-toggler-size: var(--m-checkbox-control-size);
99
+ --m-nav-rail-width: 12.5rem;
100
+ --m-nav-rail-collapsed-width: 5rem;
101
+ --m-layout-header-height: calc(
102
+ var(--m-control-height-medium) + 2 * var(--m-space-3)
103
+ );
104
+ --m-layout-footer-height: calc(
105
+ var(--m-control-height-medium) + 2 * var(--m-space-2)
106
+ );
107
+ --m-space-1: 0.25rem;
108
+ --m-space-2: 0.5rem;
109
+ --m-space-3: 0.75rem;
110
+ --m-space-4: 1rem;
111
+ --m-space-5: 1.25rem;
112
+ --m-space-6: 1.5rem;
113
+ --m-space-8: 2rem;
114
+ --m-radius-sm: 0.25rem;
115
+ --m-radius-md: 0.5rem;
116
+ --m-radius-lg: 0.5rem;
117
+ --m-radius-full: 9999px;
118
+ --m-radius-pill: var(--m-radius-full);
119
+ --m-font-sans:
120
+ -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
121
+ Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
122
+ "Segoe UI Symbol", "Noto Color Emoji";
123
+ --m-motion-fast: 150ms;
124
+ --m-motion-normal: 250ms;
125
+ --m-motion-ease: cubic-bezier(0.215, 0.61, 0.355, 1);
126
+ --m-motion-enter: 200ms;
127
+ --m-motion-exit: 150ms;
128
+ --m-motion-distance: 0.5rem;
129
+ --m-motion-spin: 1s;
130
+ --m-motion-spin-dash: 1.5s;
131
+ --m-motion-spin-fast: 0.8s;
132
+ --m-motion-spin-medium: 0.7s;
133
+ --m-motion-skeleton: 1.4s;
134
+ --m-motion-pulse: 1.2s;
135
+ --m-motion-scrollbar-show: 340ms;
136
+ --m-motion-scrollbar-hide: 120ms;
137
+ --m-motion-loading-aurora: 3s;
138
+ --m-motion-loading-bounce: 0.6s;
139
+ --m-motion-loading-pulse: 1.8s;
140
+ --m-motion-loading-stardust: 1.6s;
141
+ --m-motion-loading-circular-rotate: 2s;
142
+ --m-dataview-grid-min: 10rem;
143
+ --m-tree-indent: 0.7rem;
144
+ --m-tree-indent-padding: var(--m-space-3);
145
+ --m-layout-trigger-bar-height: 4.5rem;
146
+ --m-layout-trigger-bar-offset: 1.75rem;
147
+ --m-layout-trigger-bar-width: 2rem;
148
+ --m-layout-trigger-bar-top: 2.25rem;
149
+ --m-timeline-event-min-height: 4rem;
150
+ --m-timeline-marker-size: 1.5rem;
151
+ --m-tag-font-size-small: var(--m-font-size-xs);
152
+ --m-slider-tooltip-offset: 1.5rem;
153
+ --m-slider-tooltip-padding-block: 0.15rem;
154
+ --m-slider-tooltip-padding-inline: 0.4rem;
155
+ --m-rating-star-size-small: 1rem;
156
+ --m-rating-star-size-medium: 1.25rem;
157
+ --m-rating-star-size-large: 1.5rem;
158
+ --m-rating-star-padding: 0.15rem;
159
+ --m-slider-marks-inset: 0.9rem;
160
+ --m-slider-marks-side: 0.5rem;
161
+ --m-stepper-connector-color: var(--m-color-border);
162
+
163
+ /* Table */
164
+ --m-color-fill-light: color-mix(in srgb, var(--m-color-text) 6%, var(--m-color-surface));
165
+ --m-color-fill-lighter: color-mix(in srgb, var(--m-color-text) 3.5%, var(--m-color-surface));
166
+ --m-table-border-color: var(--m-color-split);
167
+ --m-table-header-bg: var(--m-color-fill-light);
168
+ --m-table-header-text: var(--m-color-text);
169
+ --m-table-text: var(--m-color-text);
170
+ --m-table-row-bg: var(--m-color-surface);
171
+ --m-table-row-hover-bg: var(--m-color-fill-light);
172
+ --m-table-row-striped-bg: var(--m-color-fill-lighter);
173
+ --m-table-row-current-bg: color-mix(in srgb, var(--m-color-primary) 10%, var(--m-color-surface));
174
+ --m-table-row-selected-bg: color-mix(in srgb, var(--m-color-primary) 14%, var(--m-color-surface));
175
+ --m-table-expanded-bg: var(--m-color-fill-lighter);
176
+ --m-table-font-size: var(--m-font-size-md);
177
+ --m-table-row-height: 40px;
178
+ --m-table-cell-line-height: 23px;
179
+ --m-table-cell-padding-inline: 12px;
180
+ }
181
+
182
+ :root[data-m-motion="reduced"] {
183
+ --m-motion-fast: 80ms;
184
+ --m-motion-normal: 120ms;
185
+ --m-motion-enter: 100ms;
186
+ --m-motion-exit: 80ms;
187
+ --m-motion-distance: 0;
188
+ /* Looping indicators: keep a short pulse so state is still perceptible */
189
+ --m-motion-spin: 0ms;
190
+ --m-motion-spin-dash: 0ms;
191
+ --m-motion-spin-fast: 0ms;
192
+ --m-motion-spin-medium: 0ms;
193
+ --m-motion-skeleton: 0ms;
194
+ --m-motion-pulse: 0ms;
195
+ --m-motion-scrollbar-show: 160ms;
196
+ --m-motion-scrollbar-hide: 80ms;
197
+ --m-motion-loading-aurora: 0ms;
198
+ --m-motion-loading-bounce: 0ms;
199
+ --m-motion-loading-pulse: 0ms;
200
+ --m-motion-loading-stardust: 0ms;
201
+ --m-motion-loading-circular-rotate: 0ms;
202
+ }
203
+
204
+ :root[data-m-motion="none"] {
205
+ --m-motion-fast: 0ms;
206
+ --m-motion-normal: 0ms;
207
+ --m-motion-enter: 0ms;
208
+ --m-motion-exit: 0ms;
209
+ --m-motion-distance: 0;
210
+ --m-motion-spin: 0ms;
211
+ --m-motion-spin-dash: 0ms;
212
+ --m-motion-spin-fast: 0ms;
213
+ --m-motion-spin-medium: 0ms;
214
+ --m-motion-skeleton: 0ms;
215
+ --m-motion-pulse: 0ms;
216
+ --m-motion-scrollbar-show: 0ms;
217
+ --m-motion-scrollbar-hide: 0ms;
218
+ --m-motion-loading-aurora: 0ms;
219
+ --m-motion-loading-bounce: 0ms;
220
+ --m-motion-loading-pulse: 0ms;
221
+ --m-motion-loading-stardust: 0ms;
222
+ --m-motion-loading-circular-rotate: 0ms;
223
+ }
224
+
225
+ /*
226
+ * Global motion policy (complements per-component rules):
227
+ * - `reduced`: keep short paint transitions; stop loops
228
+ * and layout/transform size animation.
229
+ * - `none`: zero all transition/animation durations.
230
+ */
231
+
232
+ [data-m-motion="reduced"] *,
233
+ [data-m-motion="reduced"] *::before,
234
+ [data-m-motion="reduced"] *::after {
235
+ animation-duration: 0.01ms !important;
236
+ animation-iteration-count: 1 !important;
237
+ transition-property: background-color, border-color, color, opacity, box-shadow, outline,
238
+ fill, stroke, stroke-dashoffset !important;
239
+ }
240
+
241
+ [data-m-motion="none"] *,
242
+ [data-m-motion="none"] *::before,
243
+ [data-m-motion="none"] *::after {
244
+ animation-duration: 0.01ms !important;
245
+ animation-iteration-count: 1 !important;
246
+ transition-duration: 0.01ms !important;
247
+ scroll-behavior: auto !important;
248
+ }
249
+
250
+ /* Off-screen looping indicators (usePauseOffscreen → data-m-anim-paused) */
251
+ [data-m-anim-paused],
252
+ [data-m-anim-paused]::before,
253
+ [data-m-anim-paused]::after,
254
+ [data-m-anim-paused] *,
255
+ [data-m-anim-paused] *::before,
256
+ [data-m-anim-paused] *::after {
257
+ animation-play-state: paused !important;
258
+ }
259
+
260
+ /* Global density: scales spacing + control heights (WD tokens) */
261
+ :root,
262
+ [data-m-density="comfortable"] {
263
+ --m-density-scale: 1;
264
+ --m-menu-item-height: calc(var(--m-control-height-medium) + var(--m-space-2));
265
+ --m-checkbox-control-size: 1.125rem;
266
+ }
267
+
268
+ [data-m-density="compact"] {
269
+ --m-menu-item-height: calc(var(--m-control-height-medium) + var(--m-space-1));
270
+ --m-control-affix-padding: 2.15rem;
271
+ --m-control-affix-gap: 2rem;
272
+ --m-checkbox-control-size: 1rem;
273
+ --m-nav-rail-width: 15rem;
274
+ --m-nav-rail-collapsed-width: 4rem;
275
+ --m-space-1: 0.2rem;
276
+ --m-space-2: 0.4rem;
277
+ --m-space-3: 0.6rem;
278
+ --m-space-4: 0.85rem;
279
+ --m-space-5: 1.05rem;
280
+ --m-space-6: 1.25rem;
281
+ --m-space-8: 1.7rem;
282
+ --m-control-height-small: 24px;
283
+ --m-control-height-medium: 28px;
284
+ --m-control-height-large: 34px;
285
+ --m-control-font-small: 13px;
286
+ --m-control-font-medium: 13px;
287
+ --m-control-font-large: 14px;
288
+ --m-control-padding-x-small: 8px;
289
+ --m-control-padding-x-medium: 10px;
290
+ --m-control-padding-x-large: 12px;
291
+ --m-table-row-height: 36px;
292
+ --m-table-cell-line-height: 20px;
293
+ --m-table-cell-padding-inline: 10px;
294
+ --m-table-font-size: var(--m-font-size-sm);
295
+ }
296
+
297
+ [data-m-density="spacious"] {
298
+ --m-menu-item-height: calc(var(--m-control-height-medium) + var(--m-space-3));
299
+ --m-control-affix-padding: 2.85rem;
300
+ --m-control-affix-gap: 2.65rem;
301
+ --m-checkbox-control-size: 1.25rem;
302
+ --m-nav-rail-width: 18rem;
303
+ --m-nav-rail-collapsed-width: 5.5rem;
304
+ --m-space-1: 0.3rem;
305
+ --m-space-2: 0.6rem;
306
+ --m-space-3: 0.9rem;
307
+ --m-space-4: 1.15rem;
308
+ --m-space-5: 1.45rem;
309
+ --m-space-6: 1.75rem;
310
+ --m-space-8: 2.35rem;
311
+ --m-control-height-small: 32px;
312
+ --m-control-height-medium: 40px;
313
+ --m-control-height-large: 46px;
314
+ --m-control-font-small: 14px;
315
+ --m-control-font-medium: 15px;
316
+ --m-control-font-large: 16px;
317
+ --m-control-padding-x-small: 12px;
318
+ --m-control-padding-x-medium: 14px;
319
+ --m-control-padding-x-large: 16px;
320
+ --m-table-row-height: 48px;
321
+ --m-table-cell-line-height: 26px;
322
+ --m-table-cell-padding-inline: 16px;
323
+ --m-table-font-size: 1rem;
324
+ }
325
+
326
+ [data-m-density="compact"] .m-layout-header {
327
+ --m-layout-header-height: 3rem;
328
+ }
329
+
330
+ [data-m-density="compact"] .m-layout-footer {
331
+ --m-layout-footer-height: 2.5rem;
332
+ }
333
+
334
+ [data-m-density="spacious"] .m-layout-header {
335
+ --m-layout-header-height: 4rem;
336
+ }
337
+
338
+ [data-m-density="spacious"] .m-layout-footer {
339
+ --m-layout-footer-height: 3.5rem;
340
+ }
341
+
342
+ [data-theme="dark"] {
343
+ /* Dark theme solids on dark surfaces (readable mid tones) */
344
+ --m-color-primary: #1668dc;
345
+ --m-color-primary-hover: #3c89e8;
346
+ --m-color-primary-active: #1554ad;
347
+ --m-color-surface: #141414;
348
+ --m-color-text: rgba(255, 255, 255, 0.85);
349
+ --m-color-text-muted: rgba(255, 255, 255, 0.45);
350
+ --m-color-text-disabled: rgba(255, 255, 255, 0.3);
351
+ --m-color-bg-disabled: rgba(255, 255, 255, 0.08);
352
+ --m-color-border: #424242;
353
+ --m-color-split: #303030;
354
+ --m-color-focus-ring: #3c89e8;
355
+ /* Dark: getAlphaColor(color*Bg, colorBgContainer) */
356
+ --m-color-control-outline: rgba(23, 117, 249, 0.31);
357
+ --m-color-control-outline-danger: rgba(249, 75, 78, 0.31);
358
+ --m-color-control-outline-warning: rgba(250, 173, 20, 0.3);
359
+ --m-focus-shadow: 0 0 0 var(--m-focus-outline-width) var(--m-color-control-outline);
360
+ --m-focus-shadow-danger: 0 0 0 var(--m-focus-outline-width)
361
+ var(--m-color-control-outline-danger);
362
+ --m-focus-shadow-warning: 0 0 0 var(--m-focus-outline-width)
363
+ var(--m-color-control-outline-warning);
364
+ /* Mid solids: keep ≥~4.5:1 with --m-color-on-emphasis on dark surfaces */
365
+ --m-color-success: #49aa19;
366
+ --m-color-info: #1668dc;
367
+ --m-color-warning: #d89614;
368
+ --m-color-warn: var(--m-color-warning);
369
+ --m-color-help: #7e22ce;
370
+ --m-color-danger: #dc4446;
371
+ --m-color-contrast: rgba(255, 255, 255, 0.85);
372
+ --m-color-contrast-fg: #141414;
373
+ --m-color-contrast-hover: #f5f5f5;
374
+ --m-color-contrast-active: #d9d9d9;
375
+ --m-overlay-scrim: rgb(0 0 0 / 0.65);
376
+ --m-shadow-sm:
377
+ 0 1px 2px 0 rgb(0 0 0 / 0.16), 0 1px 6px -1px rgb(0 0 0 / 0.12),
378
+ 0 2px 4px 0 rgb(0 0 0 / 0.08);
379
+ --m-shadow-md:
380
+ 0 6px 16px 0 rgb(0 0 0 / 0.32), 0 3px 6px -4px rgb(0 0 0 / 0.48),
381
+ 0 9px 28px 8px rgb(0 0 0 / 0.2);
382
+ --m-shadow-lg:
383
+ 0 6px 16px 0 rgb(0 0 0 / 0.32), 0 3px 6px -4px rgb(0 0 0 / 0.48),
384
+ 0 9px 28px 8px rgb(0 0 0 / 0.2);
385
+ --m-shadow-raised:
386
+ 0 1px 2px -2px rgb(0 0 0 / 0.64), 0 3px 6px 0 rgb(0 0 0 / 0.48),
387
+ 0 5px 12px 4px rgb(0 0 0 / 0.36);
388
+ --m-shadow-sticky: 6px 0 16px -8px rgb(0 0 0 / 0.45);
389
+ --m-shadow-sticky-end: -6px 0 16px -8px rgb(0 0 0 / 0.45);
390
+
391
+ --m-table-border-color: var(--m-color-split);
392
+ --m-color-fill-light: color-mix(in srgb, var(--m-color-text) 10%, var(--m-color-surface));
393
+ --m-color-fill-lighter: color-mix(in srgb, var(--m-color-text) 6%, var(--m-color-surface));
394
+ --m-table-header-bg: var(--m-color-fill-light);
395
+ --m-table-row-bg: var(--m-color-surface);
396
+ --m-table-row-hover-bg: color-mix(in srgb, var(--m-color-text) 8%, var(--m-color-surface));
397
+ --m-table-row-striped-bg: var(--m-color-fill-lighter);
398
+ --m-table-row-current-bg: color-mix(in srgb, var(--m-color-primary) 16%, var(--m-color-surface));
399
+ --m-table-row-selected-bg: color-mix(in srgb, var(--m-color-primary) 20%, var(--m-color-surface));
400
+ --m-table-expanded-bg: var(--m-color-fill-lighter);
401
+ }
1196
402
 
1197
- [data-m-motion="reduced"] .m-progress-spinner,
1198
- [data-m-motion="reduced"] .m-progress-spinner__circle,
1199
- [data-m-motion="reduced"] .m-skeleton,
1200
- [data-m-motion="reduced"] .m-badge--processing,
1201
- [data-m-motion="reduced"] .m-icon--spin,
1202
- [data-m-motion="reduced"] .m-button__spinner,
1203
- [data-m-motion="reduced"] .m-select__loading-icon,
1204
- [data-m-motion="reduced"] .m-switch__loading-icon {
1205
- animation: none !important;
1206
- }
403
+ /* Shared tokens consumption, type, focus, and mixed selectors. */
404
+
405
+ :root {
406
+ /* Shared minimum width for menu-like panels (select/orderlist/picklist) */
407
+ --m-menu-min-width: 12rem;
408
+ }
409
+
410
+ .m-button,
411
+ .m-input,
412
+ .m-card,
413
+ .m-dialog,
414
+ .m-drawer,
415
+ .m-popover,
416
+ .m-accordion,
417
+ .m-scrollbar,
418
+ .m-panel,
419
+ .m-fieldset,
420
+ .m-flex,
421
+ .m-space,
422
+ .m-grid,
423
+ .m-layout,
424
+ .m-layout-header,
425
+ .m-layout-footer,
426
+ .m-layout-sider,
427
+ .m-splitter,
428
+ .m-stepper,
429
+ .m-toolbar,
430
+ .m-page-content,
431
+ .m-page-header,
432
+ .m-page-toolbar,
433
+ .m-menu,
434
+ .m-menubar,
435
+ .m-contextmenu,
436
+ .m-tieredmenu,
437
+ .m-dropdown,
438
+ .m-breadcrumb,
439
+ .m-tabs,
440
+ .m-datepicker,
441
+ .m-listbox,
442
+ .m-togglebutton,
443
+ .m-select,
444
+ .m-textarea,
445
+ .m-selectbutton,
446
+ .m-inputotp,
447
+ .m-knob,
448
+ .m-autocomplete,
449
+ .m-splitbutton,
450
+ .m-tree,
451
+ .m-timeline,
452
+ .m-dataview,
453
+ .m-confirmpopup,
454
+ .m-scrolltop,
455
+ .m-blockui,
456
+ .m-inplace,
457
+ .m-message,
458
+ .m-toast,
459
+ .m-tooltip,
460
+ .m-empty,
461
+ .m-result,
462
+ .m-progress-spinner,
463
+ .m-cascadeselect,
464
+ .m-treeselect,
465
+ .m-inputcolor,
466
+ .m-inputtags,
467
+ .m-label,
468
+ .m-speeddial,
469
+ .m-orderlist,
470
+ .m-picklist,
471
+ .m-virtualscroller,
472
+ .m-megamenu,
473
+ .m-dock,
474
+ .m-sidebar,
475
+ .m-commandmenu,
476
+ .m-fileupload,
477
+ .m-carousel,
478
+ .m-gallery,
479
+ .m-metergroup,
480
+ .m-fluid,
481
+ .m-terminal {
482
+ font-family: var(--m-font-sans);
483
+ box-sizing: border-box;
484
+ }
485
+
486
+ .m-input:disabled,
487
+ .m-textarea:disabled,
488
+ .m-password__input:disabled,
489
+ .m-inputnumber__input:disabled,
490
+ .m-inputotp__input:disabled,
491
+ .m-inputcolor__text:disabled,
492
+ .m-inputcolor__swatch:disabled,
493
+ .m-inputtags--disabled {
494
+ background-color: var(--m-color-bg-disabled);
495
+ color: var(--m-color-text-disabled);
496
+ cursor: not-allowed;
497
+ opacity: 1;
498
+ }
499
+
500
+ .m-input-field__control--prefixed .m-input:disabled,
501
+ .m-input-field__control--suffixed .m-input:disabled,
502
+ .m-input-field__control--clearable .m-input:disabled,
503
+ .m-password--disabled .m-password__input,
504
+ .m-inputnumber--disabled .m-inputnumber__input,
505
+ .m-datepicker--disabled .m-datepicker__input,
506
+ .m-icon-field--anchored .m-input:disabled,
507
+ .m-icon-field--anchored .m-textarea:disabled {
508
+ opacity: 1;
509
+ }
510
+
511
+ .m-input::placeholder,
512
+ .m-textarea::placeholder,
513
+ .m-password__input::placeholder,
514
+ .m-inputnumber__input::placeholder,
515
+ .m-inputtags__input::placeholder,
516
+ .m-inputcolor__text::placeholder {
517
+ color: var(--m-color-text-muted);
518
+ opacity: 1;
519
+ }
520
+
521
+ .m-input-field__meta,
522
+ .m-textarea-field__meta,
523
+ .m-password-field__meta {
524
+ align-items: baseline;
525
+ display: flex;
526
+ gap: var(--m-space-2);
527
+ justify-content: space-between;
528
+ }
529
+
530
+ .m-input-field__meta:not(:has(.m-input-field__help)),
531
+ .m-textarea-field__meta:not(:has(.m-textarea-field__help)),
532
+ .m-password-field__meta:not(:has(.m-password__feedback)) {
533
+ justify-content: flex-end;
534
+ }
535
+
536
+ .m-input-field__count,
537
+ .m-textarea-field__count,
538
+ .m-password-field__count {
539
+ color: var(--m-color-text-muted);
540
+ flex: 0 0 auto;
541
+ font-size: var(--m-font-size-xs);
542
+ margin-left: auto;
543
+ }
544
+
545
+ .m-dropdown__item--parent {
546
+ align-items: center;
547
+ display: flex;
548
+ justify-content: space-between;
549
+ width: 100%;
550
+ }
551
+
552
+ .m-dropdown__icon,
553
+ .m-dropdown__caret,
554
+ .m-menu__icon,
555
+ .m-menubar__icon {
556
+ flex-shrink: 0;
557
+ }
558
+
559
+ .m-dropdown__submenu-wrap {
560
+ position: relative;
561
+ }
562
+
563
+ .m-dropdown__submenu {
564
+ --m-dropdown-submenu-max-height: min(18rem, 45vh);
565
+ background: var(--m-color-surface);
566
+ border: var(--m-border-width) solid var(--m-color-border);
567
+ border-radius: var(--m-radius-md);
568
+ box-shadow: var(--m-shadow-md);
569
+ max-height: var(--m-dropdown-submenu-max-height);
570
+ max-width: calc(100vw - 2 * var(--m-space-4));
571
+ min-width: 10rem;
572
+ overflow: hidden;
573
+ padding: var(--m-space-1);
574
+ /* Same as .m-dropdown__menu: size to content instead of being clamped
575
+ by the space left of the anchor in the viewport. */
576
+ width: max-content;
577
+ }
578
+
579
+ .m-dropdown__submenu--teleported {
580
+ position: fixed;
581
+ z-index: var(--m-z-dropdown);
582
+ }
583
+
584
+ .m-dropdown__submenu-scroll {
585
+ max-height: calc(var(--m-dropdown-submenu-max-height) - var(--m-space-2));
586
+ min-height: 0;
587
+ }
588
+
589
+ .m-dropdown__submenu-view {
590
+ display: grid;
591
+ gap: var(--m-space-1);
592
+ }
593
+
594
+ .m-fade-enter-active,
595
+ .m-fade-leave-active {
596
+ transition: opacity var(--m-motion-exit) var(--m-motion-ease);
597
+ }
598
+
599
+ .m-fade-enter-from,
600
+ .m-fade-leave-to {
601
+ opacity: 0;
602
+ }
603
+
604
+ .m-scale-fade-enter-active {
605
+ transition:
606
+ opacity var(--m-motion-enter) var(--m-motion-ease),
607
+ transform var(--m-motion-enter) var(--m-motion-ease);
608
+ }
609
+
610
+ .m-scale-fade-leave-active {
611
+ transition:
612
+ opacity var(--m-motion-exit) var(--m-motion-ease),
613
+ transform var(--m-motion-exit) var(--m-motion-ease);
614
+ }
615
+
616
+ .m-scale-fade-enter-from,
617
+ .m-scale-fade-leave-to {
618
+ opacity: 0;
619
+ transform: translateY(calc(var(--m-motion-distance) * -1)) scale(0.96);
620
+ }
621
+
622
+ .m-slide-fade-enter-active {
623
+ transition:
624
+ opacity var(--m-motion-enter) var(--m-motion-ease),
625
+ transform var(--m-motion-enter) var(--m-motion-ease);
626
+ }
627
+
628
+ .m-slide-fade-leave-active {
629
+ transition:
630
+ opacity var(--m-motion-exit) var(--m-motion-ease),
631
+ transform var(--m-motion-exit) var(--m-motion-ease);
632
+ }
633
+
634
+ .m-slide-fade-enter-from,
635
+ .m-slide-fade-leave-to {
636
+ opacity: 0;
637
+ transform: translateY(calc(var(--m-motion-distance) * -1));
638
+ }
639
+
640
+ /* Generic center zoom (opacity + scale on the transitioning root) */
641
+ .m-zoom-enter-active {
642
+ transition:
643
+ opacity var(--m-motion-enter) var(--m-motion-ease),
644
+ transform var(--m-motion-enter) var(--m-motion-ease);
645
+ }
646
+
647
+ .m-zoom-leave-active {
648
+ transition:
649
+ opacity var(--m-motion-exit) var(--m-motion-ease),
650
+ transform var(--m-motion-exit) var(--m-motion-ease);
651
+ }
652
+
653
+ .m-zoom-enter-from,
654
+ .m-zoom-leave-to {
655
+ opacity: 0;
656
+ transform: scale(0.95);
657
+ }
658
+
659
+ .m-slide-up-enter-active,
660
+ .m-slide-down-enter-active,
661
+ .m-slide-left-enter-active,
662
+ .m-slide-right-enter-active {
663
+ transition:
664
+ opacity var(--m-motion-enter) var(--m-motion-ease),
665
+ transform var(--m-motion-enter) var(--m-motion-ease);
666
+ }
667
+
668
+ .m-slide-up-leave-active,
669
+ .m-slide-down-leave-active,
670
+ .m-slide-left-leave-active,
671
+ .m-slide-right-leave-active {
672
+ transition:
673
+ opacity var(--m-motion-exit) var(--m-motion-ease),
674
+ transform var(--m-motion-exit) var(--m-motion-ease);
675
+ }
676
+
677
+ .m-slide-up-enter-from,
678
+ .m-slide-up-leave-to {
679
+ opacity: 0;
680
+ transform: translateY(var(--m-motion-distance));
681
+ }
682
+
683
+ .m-slide-down-enter-from,
684
+ .m-slide-down-leave-to {
685
+ opacity: 0;
686
+ transform: translateY(calc(var(--m-motion-distance) * -1));
687
+ }
688
+
689
+ .m-slide-left-enter-from,
690
+ .m-slide-left-leave-to {
691
+ opacity: 0;
692
+ transform: translateX(var(--m-motion-distance));
693
+ }
694
+
695
+ .m-slide-right-enter-from,
696
+ .m-slide-right-leave-to {
697
+ opacity: 0;
698
+ transform: translateX(calc(var(--m-motion-distance) * -1));
699
+ }
700
+
701
+ [data-m-motion="reduced"] .m-fade-enter-active,
702
+ [data-m-motion="reduced"] .m-fade-leave-active,
703
+ [data-m-motion="reduced"] .m-scale-fade-enter-active,
704
+ [data-m-motion="reduced"] .m-scale-fade-leave-active,
705
+ [data-m-motion="reduced"] .m-slide-fade-enter-active,
706
+ [data-m-motion="reduced"] .m-slide-fade-leave-active,
707
+ [data-m-motion="reduced"] .m-zoom-enter-active,
708
+ [data-m-motion="reduced"] .m-zoom-leave-active,
709
+ [data-m-motion="reduced"] .m-slide-up-enter-active,
710
+ [data-m-motion="reduced"] .m-slide-up-leave-active,
711
+ [data-m-motion="reduced"] .m-slide-down-enter-active,
712
+ [data-m-motion="reduced"] .m-slide-down-leave-active,
713
+ [data-m-motion="reduced"] .m-slide-left-enter-active,
714
+ [data-m-motion="reduced"] .m-slide-left-leave-active,
715
+ [data-m-motion="reduced"] .m-slide-right-enter-active,
716
+ [data-m-motion="reduced"] .m-slide-right-leave-active,
717
+ [data-m-motion="none"] .m-fade-enter-active,
718
+ [data-m-motion="none"] .m-fade-leave-active,
719
+ [data-m-motion="none"] .m-scale-fade-enter-active,
720
+ [data-m-motion="none"] .m-scale-fade-leave-active,
721
+ [data-m-motion="none"] .m-slide-fade-enter-active,
722
+ [data-m-motion="none"] .m-slide-fade-leave-active,
723
+ [data-m-motion="none"] .m-zoom-enter-active,
724
+ [data-m-motion="none"] .m-zoom-leave-active,
725
+ [data-m-motion="none"] .m-slide-up-enter-active,
726
+ [data-m-motion="none"] .m-slide-up-leave-active,
727
+ [data-m-motion="none"] .m-slide-down-enter-active,
728
+ [data-m-motion="none"] .m-slide-down-leave-active,
729
+ [data-m-motion="none"] .m-slide-left-enter-active,
730
+ [data-m-motion="none"] .m-slide-left-leave-active,
731
+ [data-m-motion="none"] .m-slide-right-enter-active,
732
+ [data-m-motion="none"] .m-slide-right-leave-active {
733
+ transition: none;
734
+ }
735
+
736
+ [data-m-motion="reduced"] .m-scale-fade-enter-from,
737
+ [data-m-motion="reduced"] .m-scale-fade-leave-to,
738
+ [data-m-motion="reduced"] .m-slide-fade-enter-from,
739
+ [data-m-motion="reduced"] .m-slide-fade-leave-to,
740
+ [data-m-motion="reduced"] .m-zoom-enter-from,
741
+ [data-m-motion="reduced"] .m-zoom-leave-to,
742
+ [data-m-motion="reduced"] .m-slide-up-enter-from,
743
+ [data-m-motion="reduced"] .m-slide-up-leave-to,
744
+ [data-m-motion="reduced"] .m-slide-down-enter-from,
745
+ [data-m-motion="reduced"] .m-slide-down-leave-to,
746
+ [data-m-motion="reduced"] .m-slide-left-enter-from,
747
+ [data-m-motion="reduced"] .m-slide-left-leave-to,
748
+ [data-m-motion="reduced"] .m-slide-right-enter-from,
749
+ [data-m-motion="reduced"] .m-slide-right-leave-to,
750
+ [data-m-motion="none"] .m-scale-fade-enter-from,
751
+ [data-m-motion="none"] .m-scale-fade-leave-to,
752
+ [data-m-motion="none"] .m-slide-fade-enter-from,
753
+ [data-m-motion="none"] .m-slide-fade-leave-to,
754
+ [data-m-motion="none"] .m-zoom-enter-from,
755
+ [data-m-motion="none"] .m-zoom-leave-to,
756
+ [data-m-motion="none"] .m-slide-up-enter-from,
757
+ [data-m-motion="none"] .m-slide-up-leave-to,
758
+ [data-m-motion="none"] .m-slide-down-enter-from,
759
+ [data-m-motion="none"] .m-slide-down-leave-to,
760
+ [data-m-motion="none"] .m-slide-left-enter-from,
761
+ [data-m-motion="none"] .m-slide-left-leave-to,
762
+ [data-m-motion="none"] .m-slide-right-enter-from,
763
+ [data-m-motion="none"] .m-slide-right-leave-to {
764
+ transform: none;
765
+ }
766
+
767
+ /* Shared loading spinner rotation (ProgressSpinner, Switch, ProgressBar, AutoComplete) */
768
+ @keyframes m-progress-spinner-rotate {
769
+ 100% {
770
+ transform: rotate(360deg);
771
+ }
772
+ }
773
+
774
+ .m-checkbox,
775
+ .m-radio,
776
+ .m-switch {
777
+ align-items: center;
778
+ color: var(--m-color-text);
779
+ cursor: pointer;
780
+ display: inline-flex;
781
+ font-family: var(--m-font-sans);
782
+ gap: var(--m-space-2);
783
+ /* 与输入框圆角保持一致,配合 MScrollbar 使用 */
784
+ position: relative;
785
+ }
786
+
787
+ .m-checkbox--disabled,
788
+ .m-radio--disabled,
789
+ .m-switch--disabled {
790
+ color: var(--m-color-text-disabled);
791
+ cursor: not-allowed;
792
+ opacity: 1;
793
+ }
794
+
795
+ .m-checkbox--invalid .m-checkbox__control,
796
+ .m-radio--invalid .m-radio__control {
797
+ border-color: var(--m-color-danger);
798
+ }
799
+
800
+ .m-checkbox__input,
801
+ .m-radio__input,
802
+ .m-switch__input {
803
+ clip: rect(0, 0, 0, 0);
804
+ clip-path: inset(50%);
805
+ height: 1px;
806
+ margin: -1px;
807
+ overflow: hidden;
808
+ opacity: 0;
809
+ position: absolute;
810
+ white-space: nowrap;
811
+ width: 1px;
812
+ }
813
+
814
+ .m-checkbox__control,
815
+ .m-radio__control {
816
+ align-items: center;
817
+ background: var(--m-color-surface);
818
+ border: var(--m-border-width) solid var(--m-color-border);
819
+ display: inline-flex;
820
+ flex: 0 0 auto;
821
+ height: var(--m-checkbox-control-size, 1.125rem);
822
+ justify-content: center;
823
+ transition:
824
+ background-color var(--m-motion-fast) var(--m-motion-ease),
825
+ border-color var(--m-motion-fast) var(--m-motion-ease),
826
+ box-shadow var(--m-motion-fast) var(--m-motion-ease);
827
+ width: var(--m-checkbox-control-size, 1.125rem);
828
+ }
829
+
830
+ .m-checkbox__input:checked + .m-checkbox__control,
831
+ .m-radio__input:checked + .m-radio__control {
832
+ background: var(--m-color-primary);
833
+ border-color: var(--m-color-primary);
834
+ }
835
+
836
+ .m-checkbox:not(.m-checkbox--disabled):hover .m-checkbox__control,
837
+ .m-radio:not(.m-radio--disabled):hover .m-radio__control {
838
+ border-color: color-mix(in srgb, var(--m-color-primary) 45%, var(--m-color-border));
839
+ }
840
+
841
+ .m-checkbox__input:focus-visible + .m-checkbox__control,
842
+ .m-radio__input:focus-visible + .m-radio__control,
843
+ .m-switch__input:focus-visible + .m-switch__track {
844
+ box-shadow: var(--m-focus-shadow);
845
+ outline: none;
846
+ }
847
+
848
+ .m-checkbox__label,
849
+ .m-radio__label,
850
+ .m-switch__label {
851
+ font-size: var(--m-font-size-md);
852
+ }
853
+
854
+ .m-textarea-field,
855
+ .m-select-field {
856
+ display: grid;
857
+ font-family: var(--m-font-sans);
858
+ gap: var(--m-space-2);
859
+ max-width: 100%;
860
+ min-width: var(--m-menu-min-width);
861
+ position: relative;
862
+ width: fit-content;
863
+ }
864
+
865
+ .m-textarea-field--fluid,
866
+ .m-select-field--fluid {
867
+ width: 100%;
868
+ }
869
+
870
+ .m-textarea-field__label,
871
+ .m-select-field__label {
872
+ color: var(--m-color-text);
873
+ font-family: var(--m-font-sans);
874
+ font-size: var(--m-font-size-md);
875
+ font-weight: 500;
876
+ }
877
+
878
+ .m-textarea-field__help,
879
+ .m-select-field__help {
880
+ color: var(--m-color-text-muted);
881
+ font-size: var(--m-font-size-xs);
882
+ }
883
+
884
+ .m-textarea-field__help--invalid,
885
+ .m-select-field__help--invalid {
886
+ color: var(--m-color-danger);
887
+ }
888
+
889
+ .m-textarea,
890
+ .m-select {
891
+ background: var(--m-color-surface);
892
+ border: var(--m-border-width) solid var(--m-color-border);
893
+ border-radius: var(--m-radius-control);
894
+ color: var(--m-color-text);
895
+ font: inherit;
896
+ transition:
897
+ border-color var(--m-motion-fast) var(--m-motion-ease),
898
+ box-shadow var(--m-motion-fast) var(--m-motion-ease),
899
+ background-color var(--m-motion-fast) var(--m-motion-ease);
900
+ width: 100%;
901
+ }
902
+
903
+ .m-textarea--invalid:focus,
904
+ .m-textarea--invalid:focus-visible,
905
+ .m-select--invalid.m-select--open,
906
+ .m-select--invalid:focus,
907
+ .m-select--invalid:focus-visible {
908
+ border-color: var(--m-color-danger);
909
+ box-shadow: var(--m-focus-shadow-danger);
910
+ }
911
+
912
+ .m-textarea:disabled,
913
+ .m-select:disabled,
914
+ .m-select--disabled {
915
+ background-color: var(--m-color-bg-disabled);
916
+ color: var(--m-color-text-disabled);
917
+ cursor: not-allowed;
918
+ opacity: 1;
919
+ }
920
+
921
+ .m-inputgroup > .m-input,
922
+ .m-inputgroup > .m-input-field,
923
+ .m-inputgroup > .m-password-field,
924
+ .m-inputgroup > .m-inputnumber-field {
925
+ flex: 1 1 auto;
926
+ min-width: 0;
927
+ }
928
+
929
+ .m-inputgroup > .m-input-field,
930
+ .m-inputgroup > .m-password-field,
931
+ .m-inputgroup > .m-inputnumber-field {
932
+ display: flex;
933
+ flex-direction: column;
934
+ gap: 0;
935
+ }
936
+
937
+ .m-inputgroup > .m-input,
938
+ .m-inputgroup .m-input,
939
+ .m-inputgroup .m-password,
940
+ .m-inputgroup .m-inputnumber__input-wrap,
941
+ .m-inputgroup .m-input-field__control--prefixed,
942
+ .m-inputgroup .m-input-field__control--suffixed,
943
+ .m-inputgroup .m-input-field__control--clearable {
944
+ border-radius: 0;
945
+ width: 100%;
946
+ }
947
+
948
+ .m-inputgroup > :first-child.m-input,
949
+ .m-inputgroup > :first-child .m-input,
950
+ .m-inputgroup > :first-child .m-password,
951
+ .m-inputgroup > :first-child .m-inputnumber__input-wrap,
952
+ .m-inputgroup > :first-child .m-input-field__control--prefixed,
953
+ .m-inputgroup > :first-child .m-input-field__control--suffixed,
954
+ .m-inputgroup > :first-child .m-input-field__control--clearable,
955
+ .m-inputgroup > :first-child.m-inputgroup-addon {
956
+ border-bottom-left-radius: var(--m-radius-control);
957
+ border-top-left-radius: var(--m-radius-control);
958
+ }
959
+
960
+ .m-inputgroup > :last-child.m-input,
961
+ .m-inputgroup > :last-child .m-input,
962
+ .m-inputgroup > :last-child .m-password,
963
+ .m-inputgroup > :last-child .m-inputnumber__input-wrap,
964
+ .m-inputgroup > :last-child .m-input-field__control--prefixed,
965
+ .m-inputgroup > :last-child .m-input-field__control--suffixed,
966
+ .m-inputgroup > :last-child .m-input-field__control--clearable,
967
+ .m-inputgroup > :last-child.m-inputgroup-addon {
968
+ border-bottom-right-radius: var(--m-radius-control);
969
+ border-top-right-radius: var(--m-radius-control);
970
+ }
971
+
972
+ .m-inputgroup > .m-inputgroup-addon + .m-input,
973
+ .m-inputgroup > .m-inputgroup-addon + .m-input-field .m-input,
974
+ .m-inputgroup > .m-input + .m-inputgroup-addon,
975
+ .m-inputgroup > .m-input-field + .m-inputgroup-addon {
976
+ margin-left: calc(var(--m-border-width) * -1);
977
+ }
978
+
979
+ .m-layout__scrollbar > .m-scrollbar__wrap {
980
+ height: 100%;
981
+ overflow-x: hidden;
982
+ }
983
+
984
+ .m-layout-sider__scrollbar > .m-scrollbar__wrap {
985
+ height: 100%;
986
+ overflow-x: hidden;
987
+ }
988
+
989
+ .m-terminal__scrollbar > .m-scrollbar__wrap {
990
+ height: 100%;
991
+ overflow-x: hidden;
992
+ }
993
+
994
+ .m-scroll-body.m-scrollbar {
995
+ min-height: 0;
996
+ min-width: 0;
997
+ }
998
+
999
+ /* fit-content scroll wrappers: grow with content; max-height only clips when set on the wrapper */
1000
+ .m-scrollbar--fit-content.m-scrollbar--fill:not(.m-layout__scrollbar):not(.m-layout-sider__scrollbar):not(.m-scroll-body) {
1001
+ width: 100%;
1002
+ }
1003
+
1004
+ .m-scrollbar--fit-content.m-scrollbar--fill:not(.m-layout__scrollbar):not(.m-layout-sider__scrollbar):not(.m-scroll-body) .m-scrollbar__wrap {
1005
+ overflow: auto;
1006
+ }
1007
+
1008
+ .m-orderlist__btn,
1009
+ .m-picklist__btn {
1010
+ align-items: center;
1011
+ background: var(--m-color-surface);
1012
+ border: var(--m-border-width) solid var(--m-color-border);
1013
+ border-radius: var(--m-radius-sm);
1014
+ color: var(--m-color-text);
1015
+ cursor: pointer;
1016
+ display: inline-flex;
1017
+ font: inherit;
1018
+ gap: 0;
1019
+ justify-content: center;
1020
+ min-height: var(--m-control-height-small, 1.75rem);
1021
+ min-width: var(--m-control-affix-size);
1022
+ padding: var(--m-space-1) var(--m-space-2);
1023
+ }
1024
+
1025
+ .m-orderlist__btn:hover:not(:disabled),
1026
+ .m-picklist__btn:hover:not(:disabled) {
1027
+ border-color: var(--m-color-primary);
1028
+ color: var(--m-color-primary);
1029
+ }
1030
+
1031
+ .m-orderlist__btn:disabled,
1032
+ .m-picklist__btn:disabled {
1033
+ cursor: not-allowed;
1034
+ opacity: var(--m-opacity-disabled);
1035
+ }
1036
+
1037
+ .m-orderlist__btn:focus-visible,
1038
+ .m-picklist__btn:focus-visible {
1039
+ border-color: var(--m-color-primary);
1040
+ box-shadow: var(--m-focus-shadow);
1041
+ outline: none;
1042
+ }
1043
+
1044
+ .m-picklist__btn .m-icon + .m-icon {
1045
+ margin-left: -0.35rem;
1046
+ }
1047
+
1048
+ .m-orderlist__scrollbar,
1049
+ .m-picklist__scrollbar {
1050
+ flex: 1;
1051
+ max-height: 16rem;
1052
+ min-height: 12rem;
1053
+ min-width: var(--m-menu-min-width);
1054
+ }
1055
+
1056
+ .m-orderlist__list,
1057
+ .m-picklist__list {
1058
+ background: var(--m-color-surface);
1059
+ border: var(--m-border-width) solid var(--m-color-border);
1060
+ border-radius: var(--m-radius-md);
1061
+ padding: var(--m-space-1);
1062
+ }
1063
+
1064
+ .m-orderlist__options,
1065
+ .m-picklist__options {
1066
+ list-style: none;
1067
+ margin: 0;
1068
+ padding: 0;
1069
+ }
1070
+
1071
+ .m-orderlist__item,
1072
+ .m-picklist__item {
1073
+ border-radius: var(--m-radius-sm);
1074
+ cursor: pointer;
1075
+ padding: var(--m-space-2) var(--m-space-3);
1076
+ }
1077
+
1078
+ .m-orderlist__item:hover,
1079
+ .m-picklist__item:hover {
1080
+ background: color-mix(in srgb, var(--m-color-primary) 8%, var(--m-color-surface));
1081
+ }
1082
+
1083
+ .m-orderlist__item:focus-visible,
1084
+ .m-picklist__item:focus-visible {
1085
+ box-shadow: var(--m-focus-shadow);
1086
+ outline: none;
1087
+ }
1088
+
1089
+ .m-orderlist__item--selected,
1090
+ .m-picklist__item--selected {
1091
+ background: color-mix(in srgb, var(--m-color-primary) 14%, var(--m-color-surface));
1092
+ color: var(--m-color-primary);
1093
+ font-weight: 500;
1094
+ }
1095
+
1096
+ .m-carousel__nav,
1097
+ .m-gallery__nav {
1098
+ background: var(--m-color-surface);
1099
+ border: var(--m-border-width) solid var(--m-color-border);
1100
+ border-radius: var(--m-radius-full, 999px);
1101
+ color: var(--m-color-text);
1102
+ cursor: pointer;
1103
+ flex: 0 0 auto;
1104
+ font: inherit;
1105
+ height: var(--m-control-affix-size);
1106
+ width: var(--m-control-affix-size);
1107
+ }
1108
+
1109
+ .m-carousel__nav:disabled,
1110
+ .m-gallery__nav:disabled {
1111
+ cursor: not-allowed;
1112
+ opacity: var(--m-opacity-disabled);
1113
+ }
1114
+
1115
+ /* Shared hover/focus for remaining form triggers */
1116
+ .m-inputotp__input:hover:not(:disabled):not(:focus),
1117
+ .m-cascadeselect:not(.m-cascadeselect--open)
1118
+ .m-cascadeselect__trigger:hover:not(:disabled):not(:focus):not(:focus-visible),
1119
+ .m-treeselect:not(.m-treeselect--open)
1120
+ .m-treeselect__trigger:hover:not(:disabled):not(:focus):not(:focus-visible),
1121
+ .m-inputcolor__text:hover:not(:disabled):not(:focus),
1122
+ .m-inputtags:hover:not(.m-inputtags--disabled):not(:focus-within),
1123
+ .m-togglebutton:hover:not(:disabled):not(.m-togglebutton--checked):not(:focus-visible),
1124
+ .m-inplace__display:hover:not(:focus-visible) {
1125
+ border-color: var(--m-color-primary-hover);
1126
+ }
1127
+
1128
+ .m-inputotp__input:focus,
1129
+ .m-inputotp__input:focus-visible,
1130
+ .m-cascadeselect--open .m-cascadeselect__trigger,
1131
+ .m-cascadeselect__trigger:focus,
1132
+ .m-cascadeselect__trigger:focus-visible,
1133
+ .m-treeselect--open .m-treeselect__trigger,
1134
+ .m-treeselect__trigger:focus,
1135
+ .m-treeselect__trigger:focus-visible,
1136
+ .m-inputcolor__text:focus,
1137
+ .m-inputcolor__text:focus-visible,
1138
+ .m-inputtags:focus-within,
1139
+ .m-togglebutton:focus-visible,
1140
+ .m-selectbutton__button:focus-visible,
1141
+ .m-splitbutton__main:focus-visible,
1142
+ .m-splitbutton__trigger:focus-visible,
1143
+ .m-inplace__display:focus-visible,
1144
+ .m-pagination__button:focus-visible {
1145
+ border-color: var(--m-color-primary);
1146
+ box-shadow: var(--m-focus-shadow);
1147
+ outline: none;
1148
+ }
1149
+
1150
+ .m-inputotp--invalid .m-inputotp__input:focus,
1151
+ .m-inputotp--invalid .m-inputotp__input:focus-visible,
1152
+ .m-inputtags--invalid:focus-within,
1153
+ .m-inputcolor--invalid .m-inputcolor__text:focus,
1154
+ .m-inputcolor--invalid .m-inputcolor__text:focus-visible {
1155
+ border-color: var(--m-color-danger);
1156
+ box-shadow: var(--m-focus-shadow-danger);
1157
+ }
1158
+
1159
+ .m-checkbox-group,
1160
+ .m-radio-group {
1161
+ display: flex;
1162
+ flex-wrap: wrap;
1163
+ gap: var(--m-space-3);
1164
+ }
1165
+
1166
+ .m-checkbox--small .m-checkbox__control,
1167
+ .m-radio--small .m-radio__control {
1168
+ height: 0.95rem;
1169
+ width: 0.95rem;
1170
+ }
1171
+
1172
+ .m-checkbox--large .m-checkbox__control,
1173
+ .m-radio--large .m-radio__control {
1174
+ height: 1.35rem;
1175
+ width: 1.35rem;
1176
+ }
1177
+
1178
+ .m-inputnumber__clear,
1179
+ .m-autocomplete__clear {
1180
+ background: transparent;
1181
+ border: 0;
1182
+ color: var(--m-color-text-muted);
1183
+ cursor: pointer;
1184
+ font: inherit;
1185
+ line-height: 1;
1186
+ }
1187
+
1188
+ [data-m-motion="none"] *,
1189
+ [data-m-motion="none"] *::before,
1190
+ [data-m-motion="none"] *::after {
1191
+ animation-duration: 0.01ms !important;
1192
+ animation-iteration-count: 1 !important;
1193
+ scroll-behavior: auto !important;
1194
+ transition-duration: 0.01ms !important;
1195
+ }
1196
+
1197
+ [data-m-motion="reduced"] .m-progress-spinner,
1198
+ [data-m-motion="reduced"] .m-progress-spinner__circle,
1199
+ [data-m-motion="reduced"] .m-skeleton,
1200
+ [data-m-motion="reduced"] .m-badge--processing,
1201
+ [data-m-motion="reduced"] .m-icon--spin,
1202
+ [data-m-motion="reduced"] .m-button__spinner,
1203
+ [data-m-motion="reduced"] .m-select__loading-icon,
1204
+ [data-m-motion="reduced"] .m-switch__loading-icon {
1205
+ animation: none !important;
1206
+ }
1207
1207
 
1208
1208
  .m-progressbar {
1209
1209
  --m-progressbar-height: var(--m-meter-track-height);
@@ -1296,7 +1296,7 @@
1296
1296
  --m-progressbar-fill: var(--m-color-info);
1297
1297
  }
1298
1298
 
1299
- .m-progressbar--warn {
1299
+ .m-progressbar--warning {
1300
1300
  --m-progressbar-fill: var(--m-color-warn);
1301
1301
  }
1302
1302