morya-ui 0.4.4 → 0.4.5

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 (322) hide show
  1. package/CHANGELOG.md +811 -775
  2. package/LICENSE +21 -21
  3. package/README.md +156 -156
  4. package/README.zh-CN.md +156 -156
  5. package/dist/{Button-Bjsth0ct.js → Button-fKkfCnYv.js} +1 -1
  6. package/dist/{Checkbox-Bo26OGHP.js → Checkbox-BXC2mLNd.js} +1 -1
  7. package/dist/DatePicker-DcVjiS5d.js +848 -0
  8. package/dist/{Empty-rMhOPi79.js → Empty-By1qe-ew.js} +1 -1
  9. package/dist/{FlyoutSubmenu-C0id6-Sb.js → FlyoutSubmenu-C1n-fr6i.js} +1 -1
  10. package/dist/{Input-CxSTVp9E.js → Input-D2bee2LU.js} +2 -2
  11. package/dist/{Loading-D_qRwfKv.js → Loading-DE9Iaiao.js} +3 -3
  12. package/dist/Pagination-DpNOb0CS.js +178 -0
  13. package/dist/{Popover-D1uZ1N9Z.js → Popover-Bnz7KNZq.js} +2 -2
  14. package/dist/{ProgressSpinner-hmR23xpi.js → ProgressSpinner-vBXGvQ92.js} +1 -1
  15. package/dist/{Radio-CZAyelC_.js → Radio-BbznzRbr.js} +1 -1
  16. package/dist/{Segmented-BpdO7arR.js → Segmented-CMP3nBAP.js} +1 -1
  17. package/dist/{Select-CySmusHs.js → Select-q4X2ff_M.js} +3 -3
  18. package/dist/{Textarea-DskjTCcz.js → Textarea-DsFOAtPd.js} +2 -2
  19. package/dist/{Tooltip-DSfkflHp.js → Tooltip-5zRVTTVs.js} +2 -2
  20. package/dist/accordion/style.css +1206 -1205
  21. package/dist/affix/style.css +1206 -1205
  22. package/dist/alert/index.js +2 -2
  23. package/dist/alert/style.css +1206 -1205
  24. package/dist/anchor/style.css +1206 -1205
  25. package/dist/auto-complete/index.js +3 -3
  26. package/dist/auto-complete/style.css +1750 -1749
  27. package/dist/avatar/style.css +1319 -1318
  28. package/dist/badge/style.css +1372 -1371
  29. package/dist/block-ui/index.js +1 -1
  30. package/dist/block-ui/style.css +1206 -1205
  31. package/dist/breadcrumb/index.js +1 -1
  32. package/dist/breadcrumb/style.css +1206 -1205
  33. package/dist/button/index.js +1 -1
  34. package/dist/button/style.css +1910 -1909
  35. package/dist/calendar/index.js +3 -3
  36. package/dist/calendar/style.css +2081 -1880
  37. package/dist/card/style.css +1206 -1205
  38. package/dist/carousel/index.js +2 -2
  39. package/dist/carousel/style.css +2209 -2208
  40. package/dist/cascade-select/index.js +3 -3
  41. package/dist/cascade-select/style.css +1910 -1909
  42. package/dist/checkbox/index.js +1 -1
  43. package/dist/checkbox/style.css +1206 -1205
  44. package/dist/chip/index.js +1 -1
  45. package/dist/chip/style.css +1350 -1349
  46. package/dist/command-menu/index.js +3 -3
  47. package/dist/command-menu/style.css +1439 -1438
  48. package/dist/components/AutoComplete/styles.css +209 -209
  49. package/dist/components/Avatar/styles.css +113 -113
  50. package/dist/components/Badge/styles.css +164 -164
  51. package/dist/components/Button/styles.css +698 -698
  52. package/dist/components/Carousel/styles.css +302 -302
  53. package/dist/components/CascadeSelect/styles.css +168 -168
  54. package/dist/components/Chip/styles.css +144 -144
  55. package/dist/components/CommandMenu/styles.css +102 -102
  56. package/dist/components/ConfigProvider/styles.css +6 -6
  57. package/dist/components/ConfirmDialog/styles.css +24 -24
  58. package/dist/components/ConfirmPopup/styles.css +35 -35
  59. package/dist/components/ContextMenu/styles.css +138 -138
  60. package/dist/components/DatePicker/DatePicker.vue.d.ts +21 -0
  61. package/dist/components/DatePicker/DatePicker.vue.d.ts.map +1 -1
  62. package/dist/components/DatePicker/styles.css +653 -453
  63. package/dist/components/DatePicker/types.d.ts +20 -2
  64. package/dist/components/DatePicker/types.d.ts.map +1 -1
  65. package/dist/components/Dialog/styles.css +420 -420
  66. package/dist/components/Dock/styles.css +84 -84
  67. package/dist/components/Drawer/styles.css +346 -346
  68. package/dist/components/Dropdown/styles.css +135 -135
  69. package/dist/components/Empty/styles.css +146 -146
  70. package/dist/components/FileUpload/styles.css +359 -359
  71. package/dist/components/Form/Form.vue.d.ts.map +1 -1
  72. package/dist/components/Form/styles.css +125 -125
  73. package/dist/components/Gallery/styles.css +100 -100
  74. package/dist/components/Input/styles.css +392 -392
  75. package/dist/components/InputColor/styles.css +139 -139
  76. package/dist/components/InputNumber/styles.css +262 -262
  77. package/dist/components/InputPassword/styles.css +189 -189
  78. package/dist/components/InputTags/styles.css +121 -121
  79. package/dist/components/Layout/styles.css +433 -433
  80. package/dist/components/List/styles.css +229 -229
  81. package/dist/components/Listbox/styles.css +130 -130
  82. package/dist/components/Loading/styles.css +378 -378
  83. package/dist/components/MegaMenu/styles.css +97 -97
  84. package/dist/components/Menu/styles.css +565 -565
  85. package/dist/components/Menubar/styles.css +144 -144
  86. package/dist/components/Message/styles.css +248 -248
  87. package/dist/components/MeterGroup/styles.css +49 -49
  88. package/dist/components/OrderList/OrderList.vue.d.ts +13 -7
  89. package/dist/components/OrderList/OrderList.vue.d.ts.map +1 -1
  90. package/dist/components/OrderList/styles.css +80 -7
  91. package/dist/components/OrderList/types.d.ts +20 -3
  92. package/dist/components/OrderList/types.d.ts.map +1 -1
  93. package/dist/components/Page/styles.css +430 -430
  94. package/dist/components/Pagination/Pagination.vue.d.ts.map +1 -1
  95. package/dist/components/Pagination/styles.css +97 -124
  96. package/dist/components/Popover/styles.css +92 -92
  97. package/dist/components/Result/styles.css +146 -146
  98. package/dist/components/Scrollbar/styles.css +131 -131
  99. package/dist/components/Select/styles.css +222 -222
  100. package/dist/components/SelectButton/styles.css +107 -107
  101. package/dist/components/Sidebar/styles.css +74 -74
  102. package/dist/components/Slider/styles.css +211 -211
  103. package/dist/components/SplitButton/styles.css +216 -216
  104. package/dist/components/Status/styles.css +190 -190
  105. package/dist/components/Stepper/styles.css +152 -152
  106. package/dist/components/Switch/styles.css +129 -129
  107. package/dist/components/Table/Table.vue.d.ts +37 -282
  108. package/dist/components/Table/Table.vue.d.ts.map +1 -1
  109. package/dist/components/Table/core/tree.d.ts +4 -0
  110. package/dist/components/Table/core/tree.d.ts.map +1 -1
  111. package/dist/components/Table/core/utils.d.ts +11 -3
  112. package/dist/components/Table/core/utils.d.ts.map +1 -1
  113. package/dist/components/Table/index.d.ts +1 -1
  114. package/dist/components/Table/index.d.ts.map +1 -1
  115. package/dist/components/Table/render/TableColumnSetting.vue.d.ts +25 -0
  116. package/dist/components/Table/render/TableColumnSetting.vue.d.ts.map +1 -0
  117. package/dist/components/Table/render/TableTbody.vue.d.ts +16 -0
  118. package/dist/components/Table/render/TableTbody.vue.d.ts.map +1 -1
  119. package/dist/components/Table/render/TableThead.vue.d.ts +8 -0
  120. package/dist/components/Table/render/TableThead.vue.d.ts.map +1 -1
  121. package/dist/components/Table/state/internal.d.ts +1 -1
  122. package/dist/components/Table/state/internal.d.ts.map +1 -1
  123. package/dist/components/Table/state/usePageItems.d.ts +1 -3
  124. package/dist/components/Table/state/usePageItems.d.ts.map +1 -1
  125. package/dist/components/Table/state/useVirtualRows.d.ts +20 -2
  126. package/dist/components/Table/state/useVirtualRows.d.ts.map +1 -1
  127. package/dist/components/Table/styles.css +95 -0
  128. package/dist/components/Table/types.d.ts +77 -12
  129. package/dist/components/Table/types.d.ts.map +1 -1
  130. package/dist/components/Tabs/styles.css +165 -165
  131. package/dist/components/Terminal/styles.css +75 -75
  132. package/dist/components/Textarea/styles.css +146 -146
  133. package/dist/components/TieredMenu/styles.css +125 -125
  134. package/dist/components/Timeline/styles.css +157 -157
  135. package/dist/components/TreeSelect/styles.css +172 -172
  136. package/dist/components/VirtualScroller/styles.css +27 -27
  137. package/dist/{config-BEpyhJi3.js → config-Cd20zAyW.js} +11 -1
  138. package/dist/config-provider/index.js +1 -1
  139. package/dist/config-provider/style.css +2302 -2301
  140. package/dist/confirm-dialog/index.js +4 -4
  141. package/dist/confirm-dialog/style.css +2348 -2347
  142. package/dist/confirm-popup/index.js +4 -4
  143. package/dist/confirm-popup/style.css +1939 -1938
  144. package/dist/context-menu/index.js +3 -3
  145. package/dist/context-menu/style.css +1475 -1474
  146. package/dist/data-view/index.js +3 -3
  147. package/dist/data-view/style.css +1681 -1707
  148. package/dist/date-picker/index.js +1 -1
  149. package/dist/date-picker/style.css +1991 -1658
  150. package/dist/date-picker/style.js +1 -0
  151. package/dist/descriptions/index.js +1 -1
  152. package/dist/descriptions/style.css +1206 -1205
  153. package/dist/dialog/index.js +4 -4
  154. package/dist/dialog/style.css +2324 -2323
  155. package/dist/divider/style.css +1206 -1205
  156. package/dist/dock/style.css +1290 -1289
  157. package/dist/drawer/index.js +3 -3
  158. package/dist/drawer/style.css +1552 -1551
  159. package/dist/dropdown/index.js +4 -4
  160. package/dist/dropdown/style.css +1472 -1471
  161. package/dist/empty/index.js +1 -1
  162. package/dist/empty/style.css +1352 -1351
  163. package/dist/fieldset/style.css +1206 -1205
  164. package/dist/file-upload/index.js +1 -1
  165. package/dist/file-upload/style.css +1565 -1564
  166. package/dist/flex/index.js +1 -1
  167. package/dist/flex/style.css +1206 -1205
  168. package/dist/float-label/style.css +1206 -1205
  169. package/dist/fluid/style.css +1206 -1205
  170. package/dist/form/index.js +1 -1
  171. package/dist/form/style.css +1333 -1332
  172. package/dist/gallery/index.js +1 -1
  173. package/dist/gallery/style.css +1437 -1436
  174. package/dist/grid/style.css +1206 -1205
  175. package/dist/icon/style.css +1206 -1205
  176. package/dist/icon-field/style.css +1598 -1597
  177. package/dist/image/index.js +1 -1
  178. package/dist/image/style.css +1206 -1205
  179. package/dist/index.d.ts +1 -1
  180. package/dist/index.d.ts.map +1 -1
  181. package/dist/index.js +4118 -3439
  182. package/dist/inplace/style.css +1206 -1205
  183. package/dist/input/index.js +1 -1
  184. package/dist/input/style.css +1723 -1722
  185. package/dist/input-color/index.js +2 -2
  186. package/dist/input-color/style.css +1347 -1346
  187. package/dist/input-group/style.css +1206 -1205
  188. package/dist/input-number/index.js +2 -2
  189. package/dist/input-number/style.css +1468 -1467
  190. package/dist/input-otp/index.js +2 -2
  191. package/dist/input-otp/style.css +1206 -1205
  192. package/dist/input-password/index.js +2 -2
  193. package/dist/input-password/style.css +1520 -1519
  194. package/dist/input-tags/index.js +2 -2
  195. package/dist/input-tags/style.css +1327 -1326
  196. package/dist/knob/style.css +1206 -1205
  197. package/dist/label/style.css +1206 -1205
  198. package/dist/layout/index.js +1 -1
  199. package/dist/layout/style.css +1770 -1769
  200. package/dist/list/index.js +4 -4
  201. package/dist/list/style.css +2061 -2087
  202. package/dist/listbox/index.js +2 -2
  203. package/dist/listbox/style.css +1498 -1497
  204. package/dist/loading/index.js +1 -1
  205. package/dist/loading/style.css +1586 -1585
  206. package/dist/locale/de-DE.d.ts.map +1 -1
  207. package/dist/locale/en-US.d.ts.map +1 -1
  208. package/dist/locale/es-ES.d.ts.map +1 -1
  209. package/dist/locale/fr-FR.d.ts.map +1 -1
  210. package/dist/locale/ja-JP.d.ts.map +1 -1
  211. package/dist/locale/ko-KR.d.ts.map +1 -1
  212. package/dist/locale/pt-BR.d.ts.map +1 -1
  213. package/dist/locale/ru-RU.d.ts.map +1 -1
  214. package/dist/locale/types.d.ts +18 -0
  215. package/dist/locale/types.d.ts.map +1 -1
  216. package/dist/locale/zh-CN.d.ts.map +1 -1
  217. package/dist/locale/zh-TW.d.ts.map +1 -1
  218. package/dist/{locale-CZddM-tH.js → locale-BcxMPufl.js} +1 -1
  219. package/dist/mega-menu/index.js +3 -3
  220. package/dist/mega-menu/style.css +1303 -1302
  221. package/dist/mentions/index.js +3 -3
  222. package/dist/mentions/style.css +1331 -1330
  223. package/dist/menu/index.js +4 -4
  224. package/dist/menu/style.css +2060 -2059
  225. package/dist/menubar/index.js +3 -3
  226. package/dist/menubar/style.css +1481 -1480
  227. package/dist/message/index.js +3 -3
  228. package/dist/message/style.css +1454 -1453
  229. package/dist/meter-group/style.css +1257 -1256
  230. package/dist/order-list/index.js +191 -101
  231. package/dist/order-list/style.css +1286 -1212
  232. package/dist/page/index.js +3 -3
  233. package/dist/page/style.css +2601 -2600
  234. package/dist/pagination/index.js +1 -1
  235. package/dist/pagination/style.css +1525 -1551
  236. package/dist/panel/index.js +1 -1
  237. package/dist/panel/style.css +1206 -1205
  238. package/dist/pick-list/index.js +1 -1
  239. package/dist/pick-list/style.css +1206 -1205
  240. package/dist/popover/index.js +1 -1
  241. package/dist/popover/style.css +1300 -1299
  242. package/dist/progress-bar/style.css +1206 -1205
  243. package/dist/progress-spinner/index.js +1 -1
  244. package/dist/progress-spinner/style.css +1206 -1205
  245. package/dist/qr-code/index.js +3 -3
  246. package/dist/qr-code/style.css +1904 -1903
  247. package/dist/radio/index.js +1 -1
  248. package/dist/radio/style.css +1206 -1205
  249. package/dist/rating/index.js +2 -2
  250. package/dist/rating/style.css +1206 -1205
  251. package/dist/result/index.js +1 -1
  252. package/dist/result/style.css +1352 -1351
  253. package/dist/scroll-top/index.js +2 -2
  254. package/dist/scroll-top/style.css +1337 -1336
  255. package/dist/scrollbar/style.css +1339 -1338
  256. package/dist/segmented/index.js +1 -1
  257. package/dist/segmented/style.css +1206 -1205
  258. package/dist/select/index.js +1 -1
  259. package/dist/select/style.css +2116 -2115
  260. package/dist/select-button/index.js +1 -1
  261. package/dist/select-button/style.css +1315 -1314
  262. package/dist/shared/styles/control-affix-icon.css +110 -110
  263. package/dist/shared/styles/control-suffix.css +118 -118
  264. package/dist/shared/styles/select-overlay.css +177 -177
  265. package/dist/sidebar/index.js +1 -1
  266. package/dist/sidebar/style.css +1280 -1279
  267. package/dist/skeleton/style.css +1206 -1205
  268. package/dist/slider/index.js +2 -2
  269. package/dist/slider/style.css +1419 -1418
  270. package/dist/space/index.js +1 -1
  271. package/dist/space/style.css +1206 -1205
  272. package/dist/speed-dial/index.js +3 -3
  273. package/dist/speed-dial/style.css +1206 -1205
  274. package/dist/split-button/index.js +3 -3
  275. package/dist/split-button/style.css +2120 -2119
  276. package/dist/splitter/index.js +1 -1
  277. package/dist/splitter/style.css +1206 -1205
  278. package/dist/statistic/style.css +1206 -1205
  279. package/dist/status/index.js +1 -1
  280. package/dist/status/style.css +1396 -1395
  281. package/dist/stepper/style.css +1358 -1357
  282. package/dist/styles/base.css +804 -804
  283. package/dist/styles.css +1 -1
  284. package/dist/switch/index.js +1 -1
  285. package/dist/switch/style.css +1337 -1336
  286. package/dist/table/index.js +975 -714
  287. package/dist/table/style.css +1908 -1839
  288. package/dist/tabs/index.js +1 -1
  289. package/dist/tabs/style.css +1502 -1501
  290. package/dist/tag/index.js +2 -2
  291. package/dist/tag/style.css +1206 -1205
  292. package/dist/terminal/index.js +1 -1
  293. package/dist/terminal/style.css +1283 -1282
  294. package/dist/textarea/index.js +1 -1
  295. package/dist/textarea/style.css +1477 -1476
  296. package/dist/theme/styles.css +402 -401
  297. package/dist/tiered-menu/index.js +3 -3
  298. package/dist/tiered-menu/style.css +1462 -1461
  299. package/dist/time-picker/index.js +5 -1
  300. package/dist/time-picker/style.css +1861 -1660
  301. package/dist/timeline/style.css +1494 -1493
  302. package/dist/toast/index.js +3 -3
  303. package/dist/toast/style.css +1904 -1903
  304. package/dist/toggle-button/index.js +1 -1
  305. package/dist/toggle-button/style.css +1206 -1205
  306. package/dist/toolbar/style.css +1206 -1205
  307. package/dist/tooltip/index.js +1 -1
  308. package/dist/tooltip/style.css +1206 -1205
  309. package/dist/tour/index.js +3 -3
  310. package/dist/tour/style.css +1904 -1903
  311. package/dist/tree/index.js +2 -2
  312. package/dist/tree/style.css +1206 -1205
  313. package/dist/tree-select/index.js +4 -4
  314. package/dist/tree-select/style.css +1914 -1913
  315. package/dist/typography/index.js +2 -2
  316. package/dist/typography/style.css +1352 -1351
  317. package/dist/{useMotionTransition-DqL_SEML.js → useMotionTransition-DohkfWRB.js} +1 -1
  318. package/dist/virtual-scroller/style.css +1367 -1366
  319. package/dist/watermark/style.css +1206 -1205
  320. package/package.json +1 -1
  321. package/dist/DatePicker-CsMGzCqY.js +0 -630
  322. package/dist/Pagination-CnGOpp0m.js +0 -171
@@ -1,2087 +1,2061 @@
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
- }
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
-
1208
- /* —— Feedback: Empty —— */
1209
- .m-empty {
1210
- --m-empty-illustration-width: 12.5rem;
1211
- --m-empty-illustration-height: 6.5rem;
1212
- --m-empty-max-width: 20rem;
1213
- --m-empty-icon-size: var(--m-space-8);
1214
- --m-empty-font-size: var(--m-font-size-md);
1215
- align-items: center;
1216
- display: flex;
1217
- flex-direction: column;
1218
- font-family: var(--m-font-sans);
1219
- gap: var(--m-space-2);
1220
- justify-content: center;
1221
- padding: calc(var(--m-space-8) + var(--m-space-1)) var(--m-space-5);
1222
- text-align: center;
1223
- }
1224
-
1225
- .m-empty__illustration {
1226
- align-items: center;
1227
- color: var(--m-color-text-muted);
1228
- display: grid;
1229
- flex-shrink: 0;
1230
- height: var(--m-empty-illustration-height);
1231
- justify-items: center;
1232
- place-items: center;
1233
- width: var(--m-empty-illustration-width);
1234
- }
1235
-
1236
- .m-empty__illustration :is(svg, .m-empty__glyph) {
1237
- display: block;
1238
- height: 100%;
1239
- width: 100%;
1240
- }
1241
-
1242
- .m-empty__icon :is(.m-icon, svg),
1243
- .m-empty__default-icon,
1244
- .m-empty__default-icon svg {
1245
- color: inherit;
1246
- display: block;
1247
- height: var(--m-empty-icon-size);
1248
- width: var(--m-empty-icon-size);
1249
- }
1250
-
1251
- .m-empty--default-icon .m-empty__illustration {
1252
- height: var(--m-empty-icon-size);
1253
- width: var(--m-empty-icon-size);
1254
- }
1255
-
1256
- .m-empty__image {
1257
- display: block;
1258
- height: auto;
1259
- max-height: 100%;
1260
- max-width: 100%;
1261
- object-fit: contain;
1262
- }
1263
-
1264
- .m-empty__illustration:has(.m-empty__image),
1265
- .m-empty__illustration:has(img) {
1266
- height: auto;
1267
- max-height: 10rem;
1268
- max-width: min(16rem, 100%);
1269
- width: auto;
1270
- }
1271
-
1272
- .m-empty__body {
1273
- align-items: center;
1274
- display: flex;
1275
- flex-direction: column;
1276
- gap: var(--m-space-1);
1277
- max-width: var(--m-empty-max-width);
1278
- }
1279
-
1280
- .m-empty__title {
1281
- color: var(--m-color-text);
1282
- font-size: var(--m-empty-font-size);
1283
- font-weight: 600;
1284
- line-height: 1.4;
1285
- margin: 0;
1286
- }
1287
-
1288
- .m-empty__description {
1289
- color: var(--m-color-text-muted);
1290
- font-size: var(--m-empty-font-size);
1291
- line-height: 1.55;
1292
- margin: 0;
1293
- }
1294
-
1295
- .m-empty__extra {
1296
- align-items: center;
1297
- display: flex;
1298
- flex-wrap: wrap;
1299
- gap: var(--m-space-2);
1300
- justify-content: center;
1301
- margin-top: var(--m-space-1);
1302
- }
1303
-
1304
- .m-empty--small {
1305
- --m-empty-illustration-width: 9.5rem;
1306
- --m-empty-illustration-height: 5rem;
1307
- --m-empty-icon-size: var(--m-space-6);
1308
- --m-empty-font-size: var(--m-font-size-sm);
1309
- padding: var(--m-space-6) var(--m-space-4);
1310
- }
1311
-
1312
- .m-empty--large {
1313
- --m-empty-illustration-width: 15rem;
1314
- --m-empty-illustration-height: 7.75rem;
1315
- --m-empty-icon-size: calc(var(--m-space-8) + var(--m-space-2));
1316
- --m-empty-font-size: var(--m-font-size-lg);
1317
- padding: calc(var(--m-space-8) + var(--m-space-2)) var(--m-space-6);
1318
- }
1319
-
1320
- .m-empty--simple {
1321
- flex-direction: row;
1322
- gap: var(--m-space-2);
1323
- justify-content: flex-start;
1324
- padding: calc(var(--m-space-3) + var(--m-space-1)) var(--m-space-3);
1325
- text-align: left;
1326
- }
1327
-
1328
- .m-empty--simple .m-empty__illustration {
1329
- height: calc(var(--m-control-height-large) + var(--m-space-1));
1330
- width: calc(var(--m-control-height-large) + var(--m-space-1));
1331
- }
1332
-
1333
- .m-empty--simple .m-empty__icon :is(.m-icon, svg),
1334
- .m-empty--simple .m-empty__default-icon,
1335
- .m-empty--simple .m-empty__default-icon svg {
1336
- height: var(--m-space-6);
1337
- width: var(--m-space-6);
1338
- }
1339
-
1340
- .m-empty--simple .m-empty__body {
1341
- align-items: flex-start;
1342
- max-width: none;
1343
- }
1344
-
1345
- .m-empty--simple .m-empty__title,
1346
- .m-empty--simple .m-empty__description {
1347
- font-size: var(--m-font-size-sm);
1348
- }
1349
-
1350
- .m-empty--simple .m-empty__extra {
1351
- justify-content: flex-start;
1352
- margin-top: 0;
1353
- }
1354
-
1355
- /* —— Feedback: Loading —— */
1356
-
1357
- .m-loading {
1358
- position: relative;
1359
- }
1360
-
1361
- .m-loading--fullscreen {
1362
- inset: 0;
1363
- position: fixed;
1364
- z-index: var(--m-loading-z-index, calc(var(--m-z-base) + 200));
1365
- }
1366
-
1367
- .m-loading__content {
1368
- position: relative;
1369
- }
1370
-
1371
- .m-loading--active .m-loading__content {
1372
- pointer-events: none;
1373
- user-select: none;
1374
- }
1375
-
1376
- .m-loading-parent--relative {
1377
- position: relative;
1378
- }
1379
-
1380
- .m-loading-mask {
1381
- --m-loading-z-index: calc(var(--m-z-base) + 200);
1382
- --m-loading-mask-bg: color-mix(in srgb, var(--m-color-surface) 80%, transparent);
1383
- align-items: center;
1384
- background: var(--m-loading-mask-bg);
1385
- display: flex;
1386
- inset: 0;
1387
- justify-content: center;
1388
- position: absolute;
1389
- z-index: 10;
1390
- }
1391
-
1392
- .m-loading-mask--fullscreen,
1393
- .m-loading-mask--body {
1394
- position: fixed;
1395
- z-index: var(--m-loading-z-index);
1396
- }
1397
-
1398
- .m-loading-mask--body {
1399
- inset: auto;
1400
- }
1401
-
1402
- .m-loading-enter-active {
1403
- transition: opacity var(--m-motion-enter) var(--m-motion-ease);
1404
- }
1405
-
1406
- .m-loading-leave-active {
1407
- transition: opacity var(--m-motion-exit) var(--m-motion-ease);
1408
- }
1409
-
1410
- .m-loading-enter-from,
1411
- .m-loading-leave-to {
1412
- opacity: 0;
1413
- }
1414
-
1415
- .m-loading-indicator {
1416
- --m-loading-c1: var(--m-color-primary);
1417
- --m-loading-c2: color-mix(in srgb, var(--m-color-primary) 62%, white);
1418
- --m-loading-c3: var(--m-color-success);
1419
- --m-loading-c4: var(--m-color-warning);
1420
- --m-loading-c5: var(--m-color-danger);
1421
- --m-loading-c6: var(--m-color-text-muted);
1422
- --m-loading-spin: var(--m-motion-spin);
1423
- --m-loading-aurora-glow: var(--m-motion-loading-aurora);
1424
- --m-loading-bounce: var(--m-motion-loading-bounce);
1425
- --m-loading-wave: var(--m-motion-spin-medium);
1426
- --m-loading-pulse: var(--m-motion-loading-pulse);
1427
- --m-loading-stardust: var(--m-motion-loading-stardust);
1428
- --m-loading-circular-rotate: var(--m-motion-loading-circular-rotate);
1429
- --m-loading-circular-dash: var(--m-motion-spin-dash);
1430
- --m-loading-scale: 1;
1431
-
1432
- align-items: center;
1433
- display: inline-flex;
1434
- flex-direction: column;
1435
- font-family: var(--m-font-sans);
1436
- gap: var(--m-space-3);
1437
- justify-content: center;
1438
- }
1439
-
1440
- .m-loading-indicator__graphic {
1441
- align-items: center;
1442
- display: inline-flex;
1443
- justify-content: center;
1444
- transform: scale(var(--m-loading-scale));
1445
- }
1446
-
1447
- .m-loading-indicator__tip {
1448
- color: var(--m-color-text-muted);
1449
- font-size: var(--m-font-size-sm);
1450
- line-height: 1;
1451
- margin: 0;
1452
- }
1453
-
1454
- .m-loading-indicator--small {
1455
- --m-loading-scale: 0.85;
1456
- }
1457
-
1458
- .m-loading-indicator--large {
1459
- --m-loading-scale: 1.15;
1460
- }
1461
-
1462
- .m-loading-aurora,
1463
- .m-loading-pulse,
1464
- .m-loading-stardust {
1465
- height: 3.75rem;
1466
- position: relative;
1467
- width: 3.75rem;
1468
- }
1469
-
1470
- .m-loading-aurora__ring {
1471
- animation: m-loading-spin var(--m-loading-spin) cubic-bezier(0.5, 0, 0.5, 1) infinite;
1472
- border: 4px solid transparent;
1473
- border-bottom-color: var(--m-loading-c2);
1474
- border-left-color: var(--m-loading-c3);
1475
- border-radius: 50%;
1476
- border-right-color: var(--m-loading-c5);
1477
- border-top-color: var(--m-loading-c1);
1478
- box-sizing: border-box;
1479
- height: 100%;
1480
- position: relative;
1481
- width: 100%;
1482
- z-index: 2;
1483
- }
1484
-
1485
- .m-loading-aurora__glow {
1486
- animation: m-loading-spin var(--m-loading-aurora-glow) linear infinite reverse;
1487
- /* Soft radial layers instead of animated blur (≤8px / no continuous filter). */
1488
- background:
1489
- radial-gradient(
1490
- circle at 30% 30%,
1491
- color-mix(in srgb, var(--m-loading-c1) 55%, transparent),
1492
- transparent 62%
1493
- ),
1494
- radial-gradient(
1495
- circle at 70% 65%,
1496
- color-mix(in srgb, var(--m-loading-c5) 45%, transparent),
1497
- transparent 58%
1498
- ),
1499
- radial-gradient(
1500
- circle at 50% 50%,
1501
- color-mix(in srgb, var(--m-loading-c2) 35%, transparent),
1502
- transparent 70%
1503
- );
1504
- border-radius: 50%;
1505
- inset: -10px;
1506
- opacity: 0.55;
1507
- position: absolute;
1508
- z-index: 1;
1509
- }
1510
-
1511
- .m-loading-bounce {
1512
- align-items: flex-end;
1513
- display: flex;
1514
- gap: var(--m-space-3);
1515
- height: 3.125rem;
1516
- }
1517
-
1518
- .m-loading-bounce__ball {
1519
- animation: m-loading-bounce var(--m-loading-bounce) cubic-bezier(0.34, 1.2, 0.64, 1) infinite alternate;
1520
- background: var(--m-loading-c1);
1521
- border-radius: 50%;
1522
- display: block;
1523
- height: 1rem;
1524
- width: 1rem;
1525
- }
1526
-
1527
- .m-loading-bounce__ball:nth-child(1) {
1528
- animation-delay: 0s;
1529
- background: var(--m-loading-c5);
1530
- }
1531
-
1532
- .m-loading-bounce__ball:nth-child(2) {
1533
- animation-delay: 0.15s;
1534
- background: var(--m-loading-c2);
1535
- }
1536
-
1537
- .m-loading-bounce__ball:nth-child(3) {
1538
- animation-delay: 0.3s;
1539
- background: var(--m-loading-c6);
1540
- }
1541
-
1542
- .m-loading-wave {
1543
- align-items: center;
1544
- display: flex;
1545
- gap: var(--m-space-1);
1546
- height: 3.125rem;
1547
- }
1548
-
1549
- .m-loading-wave__bar {
1550
- animation: m-loading-wave var(--m-loading-wave) ease-in-out infinite alternate;
1551
- background: var(--m-loading-c1);
1552
- border-radius: 0.375rem;
1553
- display: block;
1554
- height: 2.875rem;
1555
- transform-origin: center center;
1556
- width: 0.5rem;
1557
- }
1558
-
1559
- .m-loading-wave__bar:nth-child(1) {
1560
- animation-delay: 0s;
1561
- background: var(--m-loading-c1);
1562
- }
1563
-
1564
- .m-loading-wave__bar:nth-child(2) {
1565
- animation-delay: 0.09s;
1566
- background: var(--m-loading-c5);
1567
- }
1568
-
1569
- .m-loading-wave__bar:nth-child(3) {
1570
- animation-delay: 0.18s;
1571
- background: var(--m-loading-c2);
1572
- }
1573
-
1574
- .m-loading-wave__bar:nth-child(4) {
1575
- animation-delay: 0.27s;
1576
- background: var(--m-loading-c3);
1577
- }
1578
-
1579
- .m-loading-wave__bar:nth-child(5) {
1580
- animation-delay: 0.36s;
1581
- background: var(--m-loading-c6);
1582
- }
1583
-
1584
- .m-loading-pulse__ring {
1585
- animation: m-loading-pulse var(--m-loading-pulse) ease-out infinite;
1586
- border: 3px solid var(--m-loading-c2);
1587
- border-radius: 50%;
1588
- box-sizing: border-box;
1589
- inset: 0;
1590
- position: absolute;
1591
- }
1592
-
1593
- .m-loading-pulse__ring:nth-child(1) {
1594
- animation-delay: 0s;
1595
- border-color: var(--m-loading-c1);
1596
- }
1597
-
1598
- .m-loading-pulse__ring:nth-child(2) {
1599
- animation-delay: 0.45s;
1600
- border-color: var(--m-loading-c5);
1601
- }
1602
-
1603
- .m-loading-pulse__ring:nth-child(3) {
1604
- animation-delay: 0.9s;
1605
- border-color: var(--m-loading-c2);
1606
- }
1607
-
1608
- .m-loading-pulse__ring:nth-child(4) {
1609
- animation-delay: 1.35s;
1610
- border-color: var(--m-loading-c3);
1611
- }
1612
-
1613
- .m-loading-stardust__dot {
1614
- --i: 0;
1615
- animation: m-loading-stardust var(--m-loading-stardust) ease-in-out infinite;
1616
- background: var(--m-loading-c1);
1617
- border-radius: 50%;
1618
- height: 0.5rem;
1619
- left: 50%;
1620
- position: absolute;
1621
- top: 50%;
1622
- transform: translate(-50%, -50%) rotate(calc(var(--i) * 45deg)) translateX(22px);
1623
- width: 0.5rem;
1624
- }
1625
-
1626
- .m-loading-stardust__dot:nth-child(1) { animation-delay: 0s; background: var(--m-loading-c1); }
1627
- .m-loading-stardust__dot:nth-child(2) { animation-delay: 0.08s; background: var(--m-loading-c5); }
1628
- .m-loading-stardust__dot:nth-child(3) { animation-delay: 0.16s; background: var(--m-loading-c4); }
1629
- .m-loading-stardust__dot:nth-child(4) { animation-delay: 0.24s; background: var(--m-loading-c2); }
1630
- .m-loading-stardust__dot:nth-child(5) { animation-delay: 0.32s; background: var(--m-loading-c3); }
1631
- .m-loading-stardust__dot:nth-child(6) { animation-delay: 0.4s; background: var(--m-loading-c6); }
1632
- .m-loading-stardust__dot:nth-child(7) { animation-delay: 0.48s; background: color-mix(in srgb, var(--m-loading-c1) 55%, white); }
1633
- .m-loading-stardust__dot:nth-child(8) { animation-delay: 0.56s; background: var(--m-loading-c2); }
1634
-
1635
- .m-loading-circular {
1636
- align-items: center;
1637
- display: inline-flex;
1638
- justify-content: center;
1639
- }
1640
-
1641
- .m-loading-circular__svg {
1642
- animation: m-loading-circular-rotate var(--m-loading-circular-rotate) linear infinite;
1643
- display: inline-block;
1644
- height: 2.625rem;
1645
- width: 2.625rem;
1646
- }
1647
-
1648
- .m-loading-circular__path {
1649
- animation: m-loading-circular-dash var(--m-loading-circular-dash) ease-in-out infinite;
1650
- fill: none;
1651
- stroke: var(--m-loading-c1);
1652
- stroke-linecap: round;
1653
- stroke-width: 2;
1654
- }
1655
-
1656
- @keyframes m-loading-spin {
1657
- from { transform: rotate(0deg); }
1658
- to { transform: rotate(360deg); }
1659
- }
1660
-
1661
- @keyframes m-loading-bounce {
1662
- from { transform: translateY(0) scale(1); }
1663
- to { transform: translateY(-34px) scale(1.1); }
1664
- }
1665
-
1666
- @keyframes m-loading-wave {
1667
- from { transform: scaleY(0.26); }
1668
- to { transform: scaleY(1); }
1669
- }
1670
-
1671
- @keyframes m-loading-pulse {
1672
- from { opacity: 1; transform: scale(0.15); }
1673
- to { opacity: 0; transform: scale(1.6); }
1674
- }
1675
-
1676
- @keyframes m-loading-stardust {
1677
- 0%,
1678
- 100% {
1679
- opacity: 0.2;
1680
- transform: translate(-50%, -50%) rotate(calc(var(--i) * 45deg)) translateX(22px) scale(0.3);
1681
- }
1682
-
1683
- 50% {
1684
- opacity: 1;
1685
- transform: translate(-50%, -50%) rotate(calc(var(--i) * 45deg + 180deg)) translateX(28px) scale(1.2);
1686
- }
1687
- }
1688
-
1689
- @keyframes m-loading-circular-rotate {
1690
- to { transform: rotate(360deg); }
1691
- }
1692
-
1693
- @keyframes m-loading-circular-dash {
1694
- 0% {
1695
- stroke-dasharray: 1, 200;
1696
- stroke-dashoffset: 0;
1697
- }
1698
-
1699
- 50% {
1700
- stroke-dasharray: 90, 150;
1701
- stroke-dashoffset: -40px;
1702
- }
1703
-
1704
- 100% {
1705
- stroke-dasharray: 90, 150;
1706
- stroke-dashoffset: -120px;
1707
- }
1708
- }
1709
-
1710
- [data-m-motion="reduced"] .m-loading-aurora__ring,
1711
- [data-m-motion="reduced"] .m-loading-aurora__glow,
1712
- [data-m-motion="reduced"] .m-loading-bounce__ball,
1713
- [data-m-motion="reduced"] .m-loading-wave__bar,
1714
- [data-m-motion="reduced"] .m-loading-pulse__ring,
1715
- [data-m-motion="reduced"] .m-loading-stardust__dot,
1716
- [data-m-motion="reduced"] .m-loading-circular__svg,
1717
- [data-m-motion="reduced"] .m-loading-circular__path,
1718
- [data-m-motion="reduced"] .m-loading-enter-active,
1719
- [data-m-motion="reduced"] .m-loading-leave-active,
1720
- [data-m-motion="none"] .m-loading-aurora__ring,
1721
- [data-m-motion="none"] .m-loading-aurora__glow,
1722
- [data-m-motion="none"] .m-loading-bounce__ball,
1723
- [data-m-motion="none"] .m-loading-wave__bar,
1724
- [data-m-motion="none"] .m-loading-pulse__ring,
1725
- [data-m-motion="none"] .m-loading-stardust__dot,
1726
- [data-m-motion="none"] .m-loading-circular__svg,
1727
- [data-m-motion="none"] .m-loading-circular__path,
1728
- [data-m-motion="none"] .m-loading-enter-active,
1729
- [data-m-motion="none"] .m-loading-leave-active {
1730
- animation: none;
1731
- transition: none;
1732
- }
1733
-
1734
- .m-pagination {
1735
- --m-pagination-height: var(--m-control-height-medium);
1736
- --m-pagination-font: var(--m-control-font-medium);
1737
- --m-pagination-padding-x: var(--m-control-padding-x-medium);
1738
- --m-pagination-simple-width: 3.5rem;
1739
- --m-pagination-jumper-width: 5.5rem;
1740
- align-items: center;
1741
- display: flex;
1742
- font-family: var(--m-font-sans);
1743
- gap: var(--m-space-1);
1744
- }
1745
-
1746
- .m-pagination--small {
1747
- --m-pagination-height: var(--m-control-height-small);
1748
- --m-pagination-font: var(--m-control-font-small);
1749
- --m-pagination-padding-x: var(--m-control-padding-x-small);
1750
- }
1751
-
1752
- .m-pagination--large {
1753
- --m-pagination-height: var(--m-control-height-large);
1754
- --m-pagination-font: var(--m-control-font-large);
1755
- --m-pagination-padding-x: var(--m-control-padding-x-large);
1756
- }
1757
-
1758
- .m-pagination__button {
1759
- background: var(--m-color-surface);
1760
- border: var(--m-border-width) solid var(--m-color-border);
1761
- border-radius: var(--m-radius-control);
1762
- color: var(--m-color-text);
1763
- cursor: pointer;
1764
- font: inherit;
1765
- font-size: var(--m-pagination-font);
1766
- min-height: var(--m-pagination-height);
1767
- min-width: var(--m-pagination-height);
1768
- padding: 0 var(--m-pagination-padding-x);
1769
- transition:
1770
- background-color var(--m-motion-fast) var(--m-motion-ease),
1771
- border-color var(--m-motion-fast) var(--m-motion-ease),
1772
- box-shadow var(--m-motion-fast) var(--m-motion-ease);
1773
- }
1774
-
1775
- .m-pagination__button--active {
1776
- background: var(--m-color-primary);
1777
- border-color: var(--m-color-primary);
1778
- color: var(--m-color-on-emphasis);
1779
- }
1780
-
1781
- .m-pagination__button:disabled {
1782
- color: var(--m-color-text-disabled);
1783
- cursor: not-allowed;
1784
- opacity: 1;
1785
- }
1786
-
1787
- .m-pagination__button:hover:not(:disabled):not(.m-pagination__button--active) {
1788
- background: color-mix(
1789
- in srgb,
1790
- var(--m-color-primary) 10%,
1791
- var(--m-color-surface)
1792
- );
1793
- }
1794
-
1795
- .m-pagination__button:focus-visible {
1796
- box-shadow: var(--m-focus-shadow);
1797
- outline: none;
1798
- }
1799
-
1800
- .m-pagination--simple {
1801
- gap: var(--m-space-2);
1802
- }
1803
-
1804
- .m-pagination__simple {
1805
- color: var(--m-color-text);
1806
- font-size: var(--m-pagination-font);
1807
- min-width: var(--m-pagination-simple-width);
1808
- text-align: center;
1809
- }
1810
-
1811
- .m-pagination__sizer,
1812
- .m-pagination__jumper {
1813
- align-items: center;
1814
- color: var(--m-color-text-muted);
1815
- display: inline-flex;
1816
- font-size: var(--m-pagination-font);
1817
- gap: var(--m-space-1);
1818
- margin-left: var(--m-space-2);
1819
- }
1820
-
1821
- .m-pagination__select {
1822
- background: var(--m-color-surface);
1823
- border: var(--m-border-width) solid var(--m-color-border);
1824
- border-radius: var(--m-radius-control);
1825
- color: var(--m-color-text);
1826
- font-family: var(--m-font-sans);
1827
- font-size: var(--m-pagination-font);
1828
- height: var(--m-pagination-height);
1829
- padding: 0 var(--m-space-2);
1830
- transition:
1831
- border-color var(--m-motion-fast) var(--m-motion-ease),
1832
- box-shadow var(--m-motion-fast) var(--m-motion-ease),
1833
- opacity var(--m-motion-fast) var(--m-motion-ease);
1834
- }
1835
-
1836
- .m-pagination__select:hover:not(:disabled):not(:focus) {
1837
- border-color: var(--m-color-primary-hover);
1838
- }
1839
-
1840
- .m-pagination__select:focus,
1841
- .m-pagination__select:focus-visible {
1842
- border-color: var(--m-color-primary);
1843
- box-shadow: var(--m-focus-shadow);
1844
- outline: none;
1845
- }
1846
-
1847
- .m-pagination__select:disabled {
1848
- background-color: var(--m-color-bg-disabled);
1849
- color: var(--m-color-text-disabled);
1850
- cursor: not-allowed;
1851
- opacity: 1;
1852
- }
1853
-
1854
- .m-pagination__jumper-select {
1855
- min-width: var(--m-pagination-jumper-width);
1856
- width: var(--m-pagination-jumper-width);
1857
- }
1858
-
1859
- /* --- Data display: List --- */
1860
- .m-list {
1861
- --m-list-pad-y: var(--m-space-4);
1862
- --m-list-pad-x: var(--m-space-4);
1863
- --m-list-item-gap: var(--m-space-4);
1864
- --m-list-font-size: var(--m-font-size-md);
1865
- --m-list-meta-title-size: var(--m-font-size-md);
1866
- --m-list-meta-desc-color: var(--m-color-text-muted);
1867
- --m-list-grid-gutter: var(--m-space-4);
1868
- --m-list-grid-column: 1;
1869
- --m-list-grid-column-xs: var(--m-list-grid-column);
1870
- --m-list-grid-column-sm: var(--m-list-grid-column);
1871
- --m-list-grid-column-md: var(--m-list-grid-column);
1872
- --m-list-grid-column-lg: var(--m-list-grid-column);
1873
- --m-list-grid-column-xl: var(--m-list-grid-column);
1874
- box-sizing: border-box;
1875
- color: var(--m-color-text);
1876
- font-family: var(--m-font-sans);
1877
- font-size: var(--m-list-font-size);
1878
- width: 100%;
1879
- }
1880
-
1881
- .m-list--small {
1882
- --m-list-pad-y: var(--m-space-2);
1883
- --m-list-pad-x: var(--m-space-3);
1884
- --m-list-item-gap: var(--m-space-3);
1885
- --m-list-font-size: var(--m-font-size-sm);
1886
- --m-list-meta-title-size: var(--m-font-size-sm);
1887
- }
1888
-
1889
- .m-list--large {
1890
- --m-list-pad-y: var(--m-space-5);
1891
- --m-list-pad-x: var(--m-space-5);
1892
- --m-list-item-gap: var(--m-space-5);
1893
- --m-list-font-size: var(--m-font-size-lg);
1894
- --m-list-meta-title-size: var(--m-font-size-lg);
1895
- }
1896
-
1897
- .m-list--bordered {
1898
- border: var(--m-border-width) solid var(--m-color-border);
1899
- border-radius: var(--m-radius-control);
1900
- }
1901
-
1902
- .m-list__header,
1903
- .m-list__footer {
1904
- padding: var(--m-list-pad-y) var(--m-list-pad-x);
1905
- }
1906
-
1907
- .m-list__header {
1908
- border-bottom: var(--m-border-width) solid var(--m-color-split);
1909
- font-weight: 500;
1910
- }
1911
-
1912
- .m-list__footer {
1913
- border-top: var(--m-border-width) solid var(--m-color-split);
1914
- color: var(--m-color-text-muted);
1915
- }
1916
-
1917
- .m-list__pagination {
1918
- display: flex;
1919
- padding: var(--m-space-3) var(--m-list-pad-x);
1920
- }
1921
-
1922
- .m-list__pagination--start {
1923
- justify-content: flex-start;
1924
- }
1925
-
1926
- .m-list__pagination--center {
1927
- justify-content: center;
1928
- }
1929
-
1930
- .m-list__pagination--end {
1931
- justify-content: flex-end;
1932
- }
1933
-
1934
- .m-list__items {
1935
- list-style: none;
1936
- margin: 0;
1937
- padding: 0;
1938
- }
1939
-
1940
- .m-list__items--grid {
1941
- display: grid;
1942
- gap: var(--m-list-grid-gutter);
1943
- grid-template-columns: repeat(var(--m-list-grid-column, 1), minmax(0, 1fr));
1944
- padding: var(--m-list-pad-y) var(--m-list-pad-x);
1945
- }
1946
-
1947
- .m-list__items:not(.m-list__items--grid) {
1948
- padding: 0;
1949
- }
1950
-
1951
- @media (min-width: 480px) {
1952
- .m-list__items--grid[data-grid-xs] {
1953
- grid-template-columns: repeat(var(--m-list-grid-column-xs, var(--m-list-grid-column, 1)), minmax(0, 1fr));
1954
- }
1955
- }
1956
-
1957
- @media (min-width: 576px) {
1958
- .m-list__items--grid[data-grid-sm] {
1959
- grid-template-columns: repeat(var(--m-list-grid-column-sm, var(--m-list-grid-column, 1)), minmax(0, 1fr));
1960
- }
1961
- }
1962
-
1963
- @media (min-width: 768px) {
1964
- .m-list__items--grid[data-grid-md] {
1965
- grid-template-columns: repeat(var(--m-list-grid-column-md, var(--m-list-grid-column, 1)), minmax(0, 1fr));
1966
- }
1967
- }
1968
-
1969
- @media (min-width: 992px) {
1970
- .m-list__items--grid[data-grid-lg] {
1971
- grid-template-columns: repeat(var(--m-list-grid-column-lg, var(--m-list-grid-column, 1)), minmax(0, 1fr));
1972
- }
1973
- }
1974
-
1975
- @media (min-width: 1200px) {
1976
- .m-list__items--grid[data-grid-xl] {
1977
- grid-template-columns: repeat(var(--m-list-grid-column-xl, var(--m-list-grid-column, 1)), minmax(0, 1fr));
1978
- }
1979
- }
1980
-
1981
- .m-list-item {
1982
- align-items: flex-start;
1983
- display: flex;
1984
- gap: var(--m-list-item-gap);
1985
- padding: var(--m-list-pad-y) var(--m-list-pad-x);
1986
- }
1987
-
1988
- .m-list-item--split + .m-list-item--split {
1989
- border-top: var(--m-border-width) solid var(--m-color-split);
1990
- }
1991
-
1992
- .m-list--bordered .m-list-item--bordered {
1993
- padding-inline: var(--m-list-pad-x);
1994
- }
1995
-
1996
- .m-list-item--grid {
1997
- border: var(--m-border-width) solid var(--m-color-border);
1998
- border-radius: var(--m-radius-control);
1999
- padding: var(--m-list-pad-y) var(--m-list-pad-x);
2000
- }
2001
-
2002
- .m-list-item--vertical {
2003
- flex-direction: column;
2004
- }
2005
-
2006
- .m-list-item--vertical:not(.m-list-item--grid) {
2007
- align-items: stretch;
2008
- }
2009
-
2010
- .m-list-item__main {
2011
- flex: 1 1 auto;
2012
- min-width: 0;
2013
- }
2014
-
2015
- .m-list-item__extra {
2016
- flex-shrink: 0;
2017
- margin-inline-start: auto;
2018
- }
2019
-
2020
- .m-list-item--vertical .m-list-item__extra {
2021
- margin-inline-start: 0;
2022
- width: 100%;
2023
- }
2024
-
2025
- .m-list-item__actions {
2026
- align-items: center;
2027
- display: flex;
2028
- flex-shrink: 0;
2029
- gap: 0;
2030
- list-style: none;
2031
- margin: 0;
2032
- padding: 0;
2033
- }
2034
-
2035
- .m-list-item__action {
2036
- align-items: center;
2037
- display: inline-flex;
2038
- }
2039
-
2040
- .m-list-item__action:not(:last-child)::after {
2041
- color: var(--m-color-border);
2042
- content: '|';
2043
- margin-inline: var(--m-space-2);
2044
- }
2045
-
2046
- .m-list-item-meta {
2047
- align-items: flex-start;
2048
- display: flex;
2049
- gap: var(--m-space-3);
2050
- min-width: 0;
2051
- width: 100%;
2052
- }
2053
-
2054
- .m-list-item-meta__avatar {
2055
- flex-shrink: 0;
2056
- line-height: 0;
2057
- }
2058
-
2059
- .m-list-item-meta__content {
2060
- flex: 1 1 auto;
2061
- min-width: 0;
2062
- }
2063
-
2064
- .m-list-item-meta__title {
2065
- color: var(--m-color-text);
2066
- font-size: var(--m-list-meta-title-size);
2067
- font-weight: 500;
2068
- line-height: 1.5;
2069
- margin: 0 0 var(--m-space-1);
2070
- }
2071
-
2072
- .m-list-item-meta__description {
2073
- color: var(--m-list-meta-desc-color);
2074
- font-size: var(--m-list-font-size);
2075
- line-height: 1.6;
2076
- }
2077
-
2078
- .m-list__empty {
2079
- padding: var(--m-space-8) var(--m-list-pad-x);
2080
- }
2081
-
2082
- .m-list__load-more {
2083
- border-top: var(--m-border-width) solid var(--m-color-split);
2084
- padding: var(--m-space-3) var(--m-list-pad-x);
2085
- text-align: center;
2086
- }
2087
-
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
+ /* Ant Design: small/medium share 14px, large uses 16px */
21
+ --m-control-font-small: 14px;
22
+ --m-control-font-medium: 14px;
23
+ --m-control-font-large: 16px;
24
+ --m-control-padding-x-small: 8px;
25
+ --m-control-padding-x-medium: 12px;
26
+ --m-control-padding-x-large: 16px;
27
+
28
+ --m-radius-control: 6px;
29
+ --m-border-width: 1px;
30
+ --m-focus-outline-width: 2px;
31
+ --m-focus-shadow: 0 0 0 var(--m-focus-outline-width) var(--m-color-control-outline);
32
+ --m-focus-shadow-danger: 0 0 0 var(--m-focus-outline-width)
33
+ var(--m-color-control-outline-danger);
34
+ --m-focus-shadow-warning: 0 0 0 var(--m-focus-outline-width)
35
+ var(--m-color-control-outline-warning);
36
+ --m-color-success: #52c41a;
37
+ --m-color-info: #1677ff;
38
+ --m-color-warning: #faad14;
39
+ --m-color-warn: var(--m-color-warning);
40
+ --m-color-help: #9333ea;
41
+ --m-color-danger: #ff4d4f;
42
+ --m-color-contrast: rgba(0, 0, 0, 0.88);
43
+ --m-color-contrast-fg: #ffffff;
44
+ --m-color-contrast-hover: #1f1f1f;
45
+ --m-color-contrast-active: #141414;
46
+ --m-color-on-emphasis: #ffffff;
47
+ --m-color-on-primary: var(--m-color-on-emphasis);
48
+ --m-overlay-scrim: rgb(0 0 0 / 0.45);
49
+ --m-shadow-sm:
50
+ 0 1px 2px 0 rgb(0 0 0 / 0.03), 0 1px 6px -1px rgb(0 0 0 / 0.02),
51
+ 0 2px 4px 0 rgb(0 0 0 / 0.02);
52
+ --m-shadow-md:
53
+ 0 6px 16px 0 rgb(0 0 0 / 0.08), 0 3px 6px -4px rgb(0 0 0 / 0.12),
54
+ 0 9px 28px 8px rgb(0 0 0 / 0.05);
55
+ --m-shadow-lg:
56
+ 0 6px 16px 0 rgb(0 0 0 / 0.08), 0 3px 6px -4px rgb(0 0 0 / 0.12),
57
+ 0 9px 28px 8px rgb(0 0 0 / 0.05);
58
+ --m-shadow-raised:
59
+ 0 1px 2px -2px rgb(0 0 0 / 0.16), 0 3px 6px 0 rgb(0 0 0 / 0.12),
60
+ 0 5px 12px 4px rgb(0 0 0 / 0.09);
61
+ --m-shadow-sticky: 6px 0 16px -8px rgb(0 0 0 / 0.08);
62
+ --m-shadow-sticky-end: -6px 0 16px -8px rgb(0 0 0 / 0.08);
63
+
64
+ /* Typography scale (component text, not control-height fonts) */
65
+ --m-font-size-xs: 0.75rem;
66
+ --m-font-size-sm: 0.8125rem;
67
+ --m-font-size-md: 0.875rem;
68
+ --m-font-size-lg: 1.125rem;
69
+ --m-line-height-sm: 1.6667;
70
+ --m-line-height-md: 1.5714;
71
+ --m-line-height-lg: 1.5;
72
+ /* Display scale (page titles, KPI figures) */
73
+ --m-font-size-xl: 1.25rem;
74
+ --m-font-size-2xl: 1.5rem;
75
+ --m-font-size-3xl: 1.75rem;
76
+ --m-opacity-disabled: 0.55;
77
+ --m-color-text-disabled: rgba(0, 0, 0, 0.25);
78
+ --m-color-bg-disabled: rgba(0, 0, 0, 0.04);
79
+ --m-font-weight: 400;
80
+ --m-font-weight-medium: 500;
81
+ --m-font-weight-strong: 600;
82
+ /* Layering: override --m-z-base via ConfigProvider / createMoryaUI */
83
+ --m-z-base: 1000;
84
+ --m-z-overlay: var(--m-z-base);
85
+ --m-z-overlay-raised: calc(var(--m-z-base) + 1);
86
+ --m-z-dropdown: calc(var(--m-z-base) + 50);
87
+ --m-z-tooltip: calc(var(--m-z-base) + 60);
88
+ --m-z-toast: calc(var(--m-z-base) + 100);
89
+ --m-z-popper: 40;
90
+ --m-z-sticky: 10;
91
+
92
+ /* Affix hitbox tracks control height so small/compact shells do not overflow */
93
+ --m-control-affix-size: calc(
94
+ var(--m-control-height-medium) - 2 * var(--m-border-width)
95
+ );
96
+ --m-control-affix-gap: 2.35rem;
97
+ --m-control-affix-padding: 2.5rem;
98
+ --m-meter-track-height: var(--m-space-5);
99
+ --m-tree-toggler-size: var(--m-checkbox-control-size);
100
+ --m-nav-rail-width: 12.5rem;
101
+ --m-nav-rail-collapsed-width: 5rem;
102
+ --m-layout-header-height: calc(
103
+ var(--m-control-height-medium) + 2 * var(--m-space-3)
104
+ );
105
+ --m-layout-footer-height: calc(
106
+ var(--m-control-height-medium) + 2 * var(--m-space-2)
107
+ );
108
+ --m-space-1: 0.25rem;
109
+ --m-space-2: 0.5rem;
110
+ --m-space-3: 0.75rem;
111
+ --m-space-4: 1rem;
112
+ --m-space-5: 1.25rem;
113
+ --m-space-6: 1.5rem;
114
+ --m-space-8: 2rem;
115
+ --m-radius-sm: 0.25rem;
116
+ --m-radius-md: 0.5rem;
117
+ --m-radius-lg: 0.5rem;
118
+ --m-radius-full: 9999px;
119
+ --m-radius-pill: var(--m-radius-full);
120
+ --m-font-sans:
121
+ -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
122
+ Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
123
+ "Segoe UI Symbol", "Noto Color Emoji";
124
+ --m-motion-fast: 150ms;
125
+ --m-motion-normal: 250ms;
126
+ --m-motion-ease: cubic-bezier(0.215, 0.61, 0.355, 1);
127
+ --m-motion-enter: 200ms;
128
+ --m-motion-exit: 150ms;
129
+ --m-motion-distance: 0.5rem;
130
+ --m-motion-spin: 1s;
131
+ --m-motion-spin-dash: 1.5s;
132
+ --m-motion-spin-fast: 0.8s;
133
+ --m-motion-spin-medium: 0.7s;
134
+ --m-motion-skeleton: 1.4s;
135
+ --m-motion-pulse: 1.2s;
136
+ --m-motion-scrollbar-show: 340ms;
137
+ --m-motion-scrollbar-hide: 120ms;
138
+ --m-motion-loading-aurora: 3s;
139
+ --m-motion-loading-bounce: 0.6s;
140
+ --m-motion-loading-pulse: 1.8s;
141
+ --m-motion-loading-stardust: 1.6s;
142
+ --m-motion-loading-circular-rotate: 2s;
143
+ --m-dataview-grid-min: 10rem;
144
+ --m-tree-indent: 0.7rem;
145
+ --m-tree-indent-padding: var(--m-space-3);
146
+ --m-layout-trigger-bar-height: 4.5rem;
147
+ --m-layout-trigger-bar-offset: 1.75rem;
148
+ --m-layout-trigger-bar-width: 2rem;
149
+ --m-layout-trigger-bar-top: 2.25rem;
150
+ --m-timeline-event-min-height: 4rem;
151
+ --m-timeline-marker-size: 1.5rem;
152
+ --m-tag-font-size-small: var(--m-font-size-xs);
153
+ --m-slider-tooltip-offset: 1.5rem;
154
+ --m-slider-tooltip-padding-block: 0.15rem;
155
+ --m-slider-tooltip-padding-inline: 0.4rem;
156
+ --m-rating-star-size-small: 1rem;
157
+ --m-rating-star-size-medium: 1.25rem;
158
+ --m-rating-star-size-large: 1.5rem;
159
+ --m-rating-star-padding: 0.15rem;
160
+ --m-slider-marks-inset: 0.9rem;
161
+ --m-slider-marks-side: 0.5rem;
162
+ --m-stepper-connector-color: var(--m-color-border);
163
+
164
+ /* Table */
165
+ --m-color-fill-light: color-mix(in srgb, var(--m-color-text) 6%, var(--m-color-surface));
166
+ --m-color-fill-lighter: color-mix(in srgb, var(--m-color-text) 3.5%, var(--m-color-surface));
167
+ --m-table-border-color: var(--m-color-split);
168
+ --m-table-header-bg: var(--m-color-fill-light);
169
+ --m-table-header-text: var(--m-color-text);
170
+ --m-table-text: var(--m-color-text);
171
+ --m-table-row-bg: var(--m-color-surface);
172
+ --m-table-row-hover-bg: var(--m-color-fill-light);
173
+ --m-table-row-striped-bg: var(--m-color-fill-lighter);
174
+ --m-table-row-current-bg: color-mix(in srgb, var(--m-color-primary) 10%, var(--m-color-surface));
175
+ --m-table-row-selected-bg: color-mix(in srgb, var(--m-color-primary) 14%, var(--m-color-surface));
176
+ --m-table-expanded-bg: var(--m-color-fill-lighter);
177
+ --m-table-font-size: var(--m-font-size-md);
178
+ --m-table-row-height: 40px;
179
+ --m-table-cell-line-height: 23px;
180
+ --m-table-cell-padding-inline: 12px;
181
+ }
182
+
183
+ :root[data-m-motion="reduced"] {
184
+ --m-motion-fast: 80ms;
185
+ --m-motion-normal: 120ms;
186
+ --m-motion-enter: 100ms;
187
+ --m-motion-exit: 80ms;
188
+ --m-motion-distance: 0;
189
+ /* Looping indicators: keep a short pulse so state is still perceptible */
190
+ --m-motion-spin: 0ms;
191
+ --m-motion-spin-dash: 0ms;
192
+ --m-motion-spin-fast: 0ms;
193
+ --m-motion-spin-medium: 0ms;
194
+ --m-motion-skeleton: 0ms;
195
+ --m-motion-pulse: 0ms;
196
+ --m-motion-scrollbar-show: 160ms;
197
+ --m-motion-scrollbar-hide: 80ms;
198
+ --m-motion-loading-aurora: 0ms;
199
+ --m-motion-loading-bounce: 0ms;
200
+ --m-motion-loading-pulse: 0ms;
201
+ --m-motion-loading-stardust: 0ms;
202
+ --m-motion-loading-circular-rotate: 0ms;
203
+ }
204
+
205
+ :root[data-m-motion="none"] {
206
+ --m-motion-fast: 0ms;
207
+ --m-motion-normal: 0ms;
208
+ --m-motion-enter: 0ms;
209
+ --m-motion-exit: 0ms;
210
+ --m-motion-distance: 0;
211
+ --m-motion-spin: 0ms;
212
+ --m-motion-spin-dash: 0ms;
213
+ --m-motion-spin-fast: 0ms;
214
+ --m-motion-spin-medium: 0ms;
215
+ --m-motion-skeleton: 0ms;
216
+ --m-motion-pulse: 0ms;
217
+ --m-motion-scrollbar-show: 0ms;
218
+ --m-motion-scrollbar-hide: 0ms;
219
+ --m-motion-loading-aurora: 0ms;
220
+ --m-motion-loading-bounce: 0ms;
221
+ --m-motion-loading-pulse: 0ms;
222
+ --m-motion-loading-stardust: 0ms;
223
+ --m-motion-loading-circular-rotate: 0ms;
224
+ }
225
+
226
+ /*
227
+ * Global motion policy (complements per-component rules):
228
+ * - `reduced`: keep short paint transitions; stop loops
229
+ * and layout/transform size animation.
230
+ * - `none`: zero all transition/animation durations.
231
+ */
232
+
233
+ [data-m-motion="reduced"] *,
234
+ [data-m-motion="reduced"] *::before,
235
+ [data-m-motion="reduced"] *::after {
236
+ animation-duration: 0.01ms !important;
237
+ animation-iteration-count: 1 !important;
238
+ transition-property: background-color, border-color, color, opacity, box-shadow, outline,
239
+ fill, stroke, stroke-dashoffset !important;
240
+ }
241
+
242
+ [data-m-motion="none"] *,
243
+ [data-m-motion="none"] *::before,
244
+ [data-m-motion="none"] *::after {
245
+ animation-duration: 0.01ms !important;
246
+ animation-iteration-count: 1 !important;
247
+ transition-duration: 0.01ms !important;
248
+ scroll-behavior: auto !important;
249
+ }
250
+
251
+ /* Off-screen looping indicators (usePauseOffscreen → data-m-anim-paused) */
252
+ [data-m-anim-paused],
253
+ [data-m-anim-paused]::before,
254
+ [data-m-anim-paused]::after,
255
+ [data-m-anim-paused] *,
256
+ [data-m-anim-paused] *::before,
257
+ [data-m-anim-paused] *::after {
258
+ animation-play-state: paused !important;
259
+ }
260
+
261
+ /* Global density: scales spacing + control heights (WD tokens) */
262
+ :root,
263
+ [data-m-density="comfortable"] {
264
+ --m-density-scale: 1;
265
+ --m-menu-item-height: calc(var(--m-control-height-medium) + var(--m-space-2));
266
+ --m-checkbox-control-size: 1.125rem;
267
+ }
268
+
269
+ [data-m-density="compact"] {
270
+ --m-menu-item-height: calc(var(--m-control-height-medium) + var(--m-space-1));
271
+ --m-control-affix-padding: 2.15rem;
272
+ --m-control-affix-gap: 2rem;
273
+ --m-checkbox-control-size: 1rem;
274
+ --m-nav-rail-width: 15rem;
275
+ --m-nav-rail-collapsed-width: 4rem;
276
+ --m-space-1: 0.2rem;
277
+ --m-space-2: 0.4rem;
278
+ --m-space-3: 0.6rem;
279
+ --m-space-4: 0.85rem;
280
+ --m-space-5: 1.05rem;
281
+ --m-space-6: 1.25rem;
282
+ --m-space-8: 1.7rem;
283
+ --m-control-height-small: 24px;
284
+ --m-control-height-medium: 28px;
285
+ --m-control-height-large: 34px;
286
+ --m-control-font-small: 13px;
287
+ --m-control-font-medium: 13px;
288
+ --m-control-font-large: 14px;
289
+ --m-control-padding-x-small: 8px;
290
+ --m-control-padding-x-medium: 10px;
291
+ --m-control-padding-x-large: 12px;
292
+ --m-table-row-height: 36px;
293
+ --m-table-cell-line-height: 20px;
294
+ --m-table-cell-padding-inline: 10px;
295
+ --m-table-font-size: var(--m-font-size-sm);
296
+ }
297
+
298
+ [data-m-density="spacious"] {
299
+ --m-menu-item-height: calc(var(--m-control-height-medium) + var(--m-space-3));
300
+ --m-control-affix-padding: 2.85rem;
301
+ --m-control-affix-gap: 2.65rem;
302
+ --m-checkbox-control-size: 1.25rem;
303
+ --m-nav-rail-width: 18rem;
304
+ --m-nav-rail-collapsed-width: 5.5rem;
305
+ --m-space-1: 0.3rem;
306
+ --m-space-2: 0.6rem;
307
+ --m-space-3: 0.9rem;
308
+ --m-space-4: 1.15rem;
309
+ --m-space-5: 1.45rem;
310
+ --m-space-6: 1.75rem;
311
+ --m-space-8: 2.35rem;
312
+ --m-control-height-small: 32px;
313
+ --m-control-height-medium: 40px;
314
+ --m-control-height-large: 46px;
315
+ --m-control-font-small: 14px;
316
+ --m-control-font-medium: 15px;
317
+ --m-control-font-large: 16px;
318
+ --m-control-padding-x-small: 12px;
319
+ --m-control-padding-x-medium: 14px;
320
+ --m-control-padding-x-large: 16px;
321
+ --m-table-row-height: 48px;
322
+ --m-table-cell-line-height: 26px;
323
+ --m-table-cell-padding-inline: 16px;
324
+ --m-table-font-size: 1rem;
325
+ }
326
+
327
+ [data-m-density="compact"] .m-layout-header {
328
+ --m-layout-header-height: 3rem;
329
+ }
330
+
331
+ [data-m-density="compact"] .m-layout-footer {
332
+ --m-layout-footer-height: 2.5rem;
333
+ }
334
+
335
+ [data-m-density="spacious"] .m-layout-header {
336
+ --m-layout-header-height: 4rem;
337
+ }
338
+
339
+ [data-m-density="spacious"] .m-layout-footer {
340
+ --m-layout-footer-height: 3.5rem;
341
+ }
342
+
343
+ [data-theme="dark"] {
344
+ /* Dark theme solids on dark surfaces (readable mid tones) */
345
+ --m-color-primary: #1668dc;
346
+ --m-color-primary-hover: #3c89e8;
347
+ --m-color-primary-active: #1554ad;
348
+ --m-color-surface: #141414;
349
+ --m-color-text: rgba(255, 255, 255, 0.85);
350
+ --m-color-text-muted: rgba(255, 255, 255, 0.45);
351
+ --m-color-text-disabled: rgba(255, 255, 255, 0.3);
352
+ --m-color-bg-disabled: rgba(255, 255, 255, 0.08);
353
+ --m-color-border: #424242;
354
+ --m-color-split: #303030;
355
+ --m-color-focus-ring: #3c89e8;
356
+ /* Dark: getAlphaColor(color*Bg, colorBgContainer) */
357
+ --m-color-control-outline: rgba(23, 117, 249, 0.31);
358
+ --m-color-control-outline-danger: rgba(249, 75, 78, 0.31);
359
+ --m-color-control-outline-warning: rgba(250, 173, 20, 0.3);
360
+ --m-focus-shadow: 0 0 0 var(--m-focus-outline-width) var(--m-color-control-outline);
361
+ --m-focus-shadow-danger: 0 0 0 var(--m-focus-outline-width)
362
+ var(--m-color-control-outline-danger);
363
+ --m-focus-shadow-warning: 0 0 0 var(--m-focus-outline-width)
364
+ var(--m-color-control-outline-warning);
365
+ /* Mid solids: keep ≥~4.5:1 with --m-color-on-emphasis on dark surfaces */
366
+ --m-color-success: #49aa19;
367
+ --m-color-info: #1668dc;
368
+ --m-color-warning: #d89614;
369
+ --m-color-warn: var(--m-color-warning);
370
+ --m-color-help: #7e22ce;
371
+ --m-color-danger: #dc4446;
372
+ --m-color-contrast: rgba(255, 255, 255, 0.85);
373
+ --m-color-contrast-fg: #141414;
374
+ --m-color-contrast-hover: #f5f5f5;
375
+ --m-color-contrast-active: #d9d9d9;
376
+ --m-overlay-scrim: rgb(0 0 0 / 0.65);
377
+ --m-shadow-sm:
378
+ 0 1px 2px 0 rgb(0 0 0 / 0.16), 0 1px 6px -1px rgb(0 0 0 / 0.12),
379
+ 0 2px 4px 0 rgb(0 0 0 / 0.08);
380
+ --m-shadow-md:
381
+ 0 6px 16px 0 rgb(0 0 0 / 0.32), 0 3px 6px -4px rgb(0 0 0 / 0.48),
382
+ 0 9px 28px 8px rgb(0 0 0 / 0.2);
383
+ --m-shadow-lg:
384
+ 0 6px 16px 0 rgb(0 0 0 / 0.32), 0 3px 6px -4px rgb(0 0 0 / 0.48),
385
+ 0 9px 28px 8px rgb(0 0 0 / 0.2);
386
+ --m-shadow-raised:
387
+ 0 1px 2px -2px rgb(0 0 0 / 0.64), 0 3px 6px 0 rgb(0 0 0 / 0.48),
388
+ 0 5px 12px 4px rgb(0 0 0 / 0.36);
389
+ --m-shadow-sticky: 6px 0 16px -8px rgb(0 0 0 / 0.45);
390
+ --m-shadow-sticky-end: -6px 0 16px -8px rgb(0 0 0 / 0.45);
391
+
392
+ --m-table-border-color: var(--m-color-split);
393
+ --m-color-fill-light: color-mix(in srgb, var(--m-color-text) 10%, var(--m-color-surface));
394
+ --m-color-fill-lighter: color-mix(in srgb, var(--m-color-text) 6%, var(--m-color-surface));
395
+ --m-table-header-bg: var(--m-color-fill-light);
396
+ --m-table-row-bg: var(--m-color-surface);
397
+ --m-table-row-hover-bg: color-mix(in srgb, var(--m-color-text) 8%, var(--m-color-surface));
398
+ --m-table-row-striped-bg: var(--m-color-fill-lighter);
399
+ --m-table-row-current-bg: color-mix(in srgb, var(--m-color-primary) 16%, var(--m-color-surface));
400
+ --m-table-row-selected-bg: color-mix(in srgb, var(--m-color-primary) 20%, var(--m-color-surface));
401
+ --m-table-expanded-bg: var(--m-color-fill-lighter);
402
+ }
403
+
404
+ /* Shared tokens consumption, type, focus, and mixed selectors. */
405
+
406
+ :root {
407
+ /* Shared minimum width for menu-like panels (select/orderlist/picklist) */
408
+ --m-menu-min-width: 12rem;
409
+ }
410
+
411
+ .m-button,
412
+ .m-input,
413
+ .m-card,
414
+ .m-dialog,
415
+ .m-drawer,
416
+ .m-popover,
417
+ .m-accordion,
418
+ .m-scrollbar,
419
+ .m-panel,
420
+ .m-fieldset,
421
+ .m-flex,
422
+ .m-space,
423
+ .m-grid,
424
+ .m-layout,
425
+ .m-layout-header,
426
+ .m-layout-footer,
427
+ .m-layout-sider,
428
+ .m-splitter,
429
+ .m-stepper,
430
+ .m-toolbar,
431
+ .m-page-content,
432
+ .m-page-header,
433
+ .m-page-toolbar,
434
+ .m-menu,
435
+ .m-menubar,
436
+ .m-contextmenu,
437
+ .m-tieredmenu,
438
+ .m-dropdown,
439
+ .m-breadcrumb,
440
+ .m-tabs,
441
+ .m-datepicker,
442
+ .m-listbox,
443
+ .m-togglebutton,
444
+ .m-select,
445
+ .m-textarea,
446
+ .m-selectbutton,
447
+ .m-inputotp,
448
+ .m-knob,
449
+ .m-autocomplete,
450
+ .m-splitbutton,
451
+ .m-tree,
452
+ .m-timeline,
453
+ .m-dataview,
454
+ .m-confirmpopup,
455
+ .m-scrolltop,
456
+ .m-blockui,
457
+ .m-inplace,
458
+ .m-message,
459
+ .m-toast,
460
+ .m-tooltip,
461
+ .m-empty,
462
+ .m-result,
463
+ .m-progress-spinner,
464
+ .m-cascadeselect,
465
+ .m-treeselect,
466
+ .m-inputcolor,
467
+ .m-inputtags,
468
+ .m-label,
469
+ .m-speeddial,
470
+ .m-orderlist,
471
+ .m-picklist,
472
+ .m-virtualscroller,
473
+ .m-megamenu,
474
+ .m-dock,
475
+ .m-sidebar,
476
+ .m-commandmenu,
477
+ .m-fileupload,
478
+ .m-carousel,
479
+ .m-gallery,
480
+ .m-metergroup,
481
+ .m-fluid,
482
+ .m-terminal {
483
+ font-family: var(--m-font-sans);
484
+ box-sizing: border-box;
485
+ }
486
+
487
+ .m-input:disabled,
488
+ .m-textarea:disabled,
489
+ .m-password__input:disabled,
490
+ .m-inputnumber__input:disabled,
491
+ .m-inputotp__input:disabled,
492
+ .m-inputcolor__text:disabled,
493
+ .m-inputcolor__swatch:disabled,
494
+ .m-inputtags--disabled {
495
+ background-color: var(--m-color-bg-disabled);
496
+ color: var(--m-color-text-disabled);
497
+ cursor: not-allowed;
498
+ opacity: 1;
499
+ }
500
+
501
+ .m-input-field__control--prefixed .m-input:disabled,
502
+ .m-input-field__control--suffixed .m-input:disabled,
503
+ .m-input-field__control--clearable .m-input:disabled,
504
+ .m-password--disabled .m-password__input,
505
+ .m-inputnumber--disabled .m-inputnumber__input,
506
+ .m-datepicker--disabled .m-datepicker__input,
507
+ .m-icon-field--anchored .m-input:disabled,
508
+ .m-icon-field--anchored .m-textarea:disabled {
509
+ opacity: 1;
510
+ }
511
+
512
+ .m-input::placeholder,
513
+ .m-textarea::placeholder,
514
+ .m-password__input::placeholder,
515
+ .m-inputnumber__input::placeholder,
516
+ .m-inputtags__input::placeholder,
517
+ .m-inputcolor__text::placeholder {
518
+ color: var(--m-color-text-muted);
519
+ opacity: 1;
520
+ }
521
+
522
+ .m-input-field__meta,
523
+ .m-textarea-field__meta,
524
+ .m-password-field__meta {
525
+ align-items: baseline;
526
+ display: flex;
527
+ gap: var(--m-space-2);
528
+ justify-content: space-between;
529
+ }
530
+
531
+ .m-input-field__meta:not(:has(.m-input-field__help)),
532
+ .m-textarea-field__meta:not(:has(.m-textarea-field__help)),
533
+ .m-password-field__meta:not(:has(.m-password__feedback)) {
534
+ justify-content: flex-end;
535
+ }
536
+
537
+ .m-input-field__count,
538
+ .m-textarea-field__count,
539
+ .m-password-field__count {
540
+ color: var(--m-color-text-muted);
541
+ flex: 0 0 auto;
542
+ font-size: var(--m-font-size-xs);
543
+ margin-left: auto;
544
+ }
545
+
546
+ .m-dropdown__item--parent {
547
+ align-items: center;
548
+ display: flex;
549
+ justify-content: space-between;
550
+ width: 100%;
551
+ }
552
+
553
+ .m-dropdown__icon,
554
+ .m-dropdown__caret,
555
+ .m-menu__icon,
556
+ .m-menubar__icon {
557
+ flex-shrink: 0;
558
+ }
559
+
560
+ .m-dropdown__submenu-wrap {
561
+ position: relative;
562
+ }
563
+
564
+ .m-dropdown__submenu {
565
+ --m-dropdown-submenu-max-height: min(18rem, 45vh);
566
+ background: var(--m-color-surface);
567
+ border: var(--m-border-width) solid var(--m-color-border);
568
+ border-radius: var(--m-radius-md);
569
+ box-shadow: var(--m-shadow-md);
570
+ max-height: var(--m-dropdown-submenu-max-height);
571
+ max-width: calc(100vw - 2 * var(--m-space-4));
572
+ min-width: 10rem;
573
+ overflow: hidden;
574
+ padding: var(--m-space-1);
575
+ /* Same as .m-dropdown__menu: size to content instead of being clamped
576
+ by the space left of the anchor in the viewport. */
577
+ width: max-content;
578
+ }
579
+
580
+ .m-dropdown__submenu--teleported {
581
+ position: fixed;
582
+ z-index: var(--m-z-dropdown);
583
+ }
584
+
585
+ .m-dropdown__submenu-scroll {
586
+ max-height: calc(var(--m-dropdown-submenu-max-height) - var(--m-space-2));
587
+ min-height: 0;
588
+ }
589
+
590
+ .m-dropdown__submenu-view {
591
+ display: grid;
592
+ gap: var(--m-space-1);
593
+ }
594
+
595
+ .m-fade-enter-active,
596
+ .m-fade-leave-active {
597
+ transition: opacity var(--m-motion-exit) var(--m-motion-ease);
598
+ }
599
+
600
+ .m-fade-enter-from,
601
+ .m-fade-leave-to {
602
+ opacity: 0;
603
+ }
604
+
605
+ .m-scale-fade-enter-active {
606
+ transition:
607
+ opacity var(--m-motion-enter) var(--m-motion-ease),
608
+ transform var(--m-motion-enter) var(--m-motion-ease);
609
+ }
610
+
611
+ .m-scale-fade-leave-active {
612
+ transition:
613
+ opacity var(--m-motion-exit) var(--m-motion-ease),
614
+ transform var(--m-motion-exit) var(--m-motion-ease);
615
+ }
616
+
617
+ .m-scale-fade-enter-from,
618
+ .m-scale-fade-leave-to {
619
+ opacity: 0;
620
+ transform: translateY(calc(var(--m-motion-distance) * -1)) scale(0.96);
621
+ }
622
+
623
+ .m-slide-fade-enter-active {
624
+ transition:
625
+ opacity var(--m-motion-enter) var(--m-motion-ease),
626
+ transform var(--m-motion-enter) var(--m-motion-ease);
627
+ }
628
+
629
+ .m-slide-fade-leave-active {
630
+ transition:
631
+ opacity var(--m-motion-exit) var(--m-motion-ease),
632
+ transform var(--m-motion-exit) var(--m-motion-ease);
633
+ }
634
+
635
+ .m-slide-fade-enter-from,
636
+ .m-slide-fade-leave-to {
637
+ opacity: 0;
638
+ transform: translateY(calc(var(--m-motion-distance) * -1));
639
+ }
640
+
641
+ /* Generic center zoom (opacity + scale on the transitioning root) */
642
+ .m-zoom-enter-active {
643
+ transition:
644
+ opacity var(--m-motion-enter) var(--m-motion-ease),
645
+ transform var(--m-motion-enter) var(--m-motion-ease);
646
+ }
647
+
648
+ .m-zoom-leave-active {
649
+ transition:
650
+ opacity var(--m-motion-exit) var(--m-motion-ease),
651
+ transform var(--m-motion-exit) var(--m-motion-ease);
652
+ }
653
+
654
+ .m-zoom-enter-from,
655
+ .m-zoom-leave-to {
656
+ opacity: 0;
657
+ transform: scale(0.95);
658
+ }
659
+
660
+ .m-slide-up-enter-active,
661
+ .m-slide-down-enter-active,
662
+ .m-slide-left-enter-active,
663
+ .m-slide-right-enter-active {
664
+ transition:
665
+ opacity var(--m-motion-enter) var(--m-motion-ease),
666
+ transform var(--m-motion-enter) var(--m-motion-ease);
667
+ }
668
+
669
+ .m-slide-up-leave-active,
670
+ .m-slide-down-leave-active,
671
+ .m-slide-left-leave-active,
672
+ .m-slide-right-leave-active {
673
+ transition:
674
+ opacity var(--m-motion-exit) var(--m-motion-ease),
675
+ transform var(--m-motion-exit) var(--m-motion-ease);
676
+ }
677
+
678
+ .m-slide-up-enter-from,
679
+ .m-slide-up-leave-to {
680
+ opacity: 0;
681
+ transform: translateY(var(--m-motion-distance));
682
+ }
683
+
684
+ .m-slide-down-enter-from,
685
+ .m-slide-down-leave-to {
686
+ opacity: 0;
687
+ transform: translateY(calc(var(--m-motion-distance) * -1));
688
+ }
689
+
690
+ .m-slide-left-enter-from,
691
+ .m-slide-left-leave-to {
692
+ opacity: 0;
693
+ transform: translateX(var(--m-motion-distance));
694
+ }
695
+
696
+ .m-slide-right-enter-from,
697
+ .m-slide-right-leave-to {
698
+ opacity: 0;
699
+ transform: translateX(calc(var(--m-motion-distance) * -1));
700
+ }
701
+
702
+ [data-m-motion="reduced"] .m-fade-enter-active,
703
+ [data-m-motion="reduced"] .m-fade-leave-active,
704
+ [data-m-motion="reduced"] .m-scale-fade-enter-active,
705
+ [data-m-motion="reduced"] .m-scale-fade-leave-active,
706
+ [data-m-motion="reduced"] .m-slide-fade-enter-active,
707
+ [data-m-motion="reduced"] .m-slide-fade-leave-active,
708
+ [data-m-motion="reduced"] .m-zoom-enter-active,
709
+ [data-m-motion="reduced"] .m-zoom-leave-active,
710
+ [data-m-motion="reduced"] .m-slide-up-enter-active,
711
+ [data-m-motion="reduced"] .m-slide-up-leave-active,
712
+ [data-m-motion="reduced"] .m-slide-down-enter-active,
713
+ [data-m-motion="reduced"] .m-slide-down-leave-active,
714
+ [data-m-motion="reduced"] .m-slide-left-enter-active,
715
+ [data-m-motion="reduced"] .m-slide-left-leave-active,
716
+ [data-m-motion="reduced"] .m-slide-right-enter-active,
717
+ [data-m-motion="reduced"] .m-slide-right-leave-active,
718
+ [data-m-motion="none"] .m-fade-enter-active,
719
+ [data-m-motion="none"] .m-fade-leave-active,
720
+ [data-m-motion="none"] .m-scale-fade-enter-active,
721
+ [data-m-motion="none"] .m-scale-fade-leave-active,
722
+ [data-m-motion="none"] .m-slide-fade-enter-active,
723
+ [data-m-motion="none"] .m-slide-fade-leave-active,
724
+ [data-m-motion="none"] .m-zoom-enter-active,
725
+ [data-m-motion="none"] .m-zoom-leave-active,
726
+ [data-m-motion="none"] .m-slide-up-enter-active,
727
+ [data-m-motion="none"] .m-slide-up-leave-active,
728
+ [data-m-motion="none"] .m-slide-down-enter-active,
729
+ [data-m-motion="none"] .m-slide-down-leave-active,
730
+ [data-m-motion="none"] .m-slide-left-enter-active,
731
+ [data-m-motion="none"] .m-slide-left-leave-active,
732
+ [data-m-motion="none"] .m-slide-right-enter-active,
733
+ [data-m-motion="none"] .m-slide-right-leave-active {
734
+ transition: none;
735
+ }
736
+
737
+ [data-m-motion="reduced"] .m-scale-fade-enter-from,
738
+ [data-m-motion="reduced"] .m-scale-fade-leave-to,
739
+ [data-m-motion="reduced"] .m-slide-fade-enter-from,
740
+ [data-m-motion="reduced"] .m-slide-fade-leave-to,
741
+ [data-m-motion="reduced"] .m-zoom-enter-from,
742
+ [data-m-motion="reduced"] .m-zoom-leave-to,
743
+ [data-m-motion="reduced"] .m-slide-up-enter-from,
744
+ [data-m-motion="reduced"] .m-slide-up-leave-to,
745
+ [data-m-motion="reduced"] .m-slide-down-enter-from,
746
+ [data-m-motion="reduced"] .m-slide-down-leave-to,
747
+ [data-m-motion="reduced"] .m-slide-left-enter-from,
748
+ [data-m-motion="reduced"] .m-slide-left-leave-to,
749
+ [data-m-motion="reduced"] .m-slide-right-enter-from,
750
+ [data-m-motion="reduced"] .m-slide-right-leave-to,
751
+ [data-m-motion="none"] .m-scale-fade-enter-from,
752
+ [data-m-motion="none"] .m-scale-fade-leave-to,
753
+ [data-m-motion="none"] .m-slide-fade-enter-from,
754
+ [data-m-motion="none"] .m-slide-fade-leave-to,
755
+ [data-m-motion="none"] .m-zoom-enter-from,
756
+ [data-m-motion="none"] .m-zoom-leave-to,
757
+ [data-m-motion="none"] .m-slide-up-enter-from,
758
+ [data-m-motion="none"] .m-slide-up-leave-to,
759
+ [data-m-motion="none"] .m-slide-down-enter-from,
760
+ [data-m-motion="none"] .m-slide-down-leave-to,
761
+ [data-m-motion="none"] .m-slide-left-enter-from,
762
+ [data-m-motion="none"] .m-slide-left-leave-to,
763
+ [data-m-motion="none"] .m-slide-right-enter-from,
764
+ [data-m-motion="none"] .m-slide-right-leave-to {
765
+ transform: none;
766
+ }
767
+
768
+ /* Shared loading spinner rotation (ProgressSpinner, Switch, ProgressBar, AutoComplete) */
769
+ @keyframes m-progress-spinner-rotate {
770
+ 100% {
771
+ transform: rotate(360deg);
772
+ }
773
+ }
774
+
775
+ .m-checkbox,
776
+ .m-radio,
777
+ .m-switch {
778
+ align-items: center;
779
+ color: var(--m-color-text);
780
+ cursor: pointer;
781
+ display: inline-flex;
782
+ font-family: var(--m-font-sans);
783
+ gap: var(--m-space-2);
784
+ /* 与输入框圆角保持一致,配合 MScrollbar 使用 */
785
+ position: relative;
786
+ }
787
+
788
+ .m-checkbox--disabled,
789
+ .m-radio--disabled,
790
+ .m-switch--disabled {
791
+ color: var(--m-color-text-disabled);
792
+ cursor: not-allowed;
793
+ opacity: 1;
794
+ }
795
+
796
+ .m-checkbox--invalid .m-checkbox__control,
797
+ .m-radio--invalid .m-radio__control {
798
+ border-color: var(--m-color-danger);
799
+ }
800
+
801
+ .m-checkbox__input,
802
+ .m-radio__input,
803
+ .m-switch__input {
804
+ clip: rect(0, 0, 0, 0);
805
+ clip-path: inset(50%);
806
+ height: 1px;
807
+ margin: -1px;
808
+ overflow: hidden;
809
+ opacity: 0;
810
+ position: absolute;
811
+ white-space: nowrap;
812
+ width: 1px;
813
+ }
814
+
815
+ .m-checkbox__control,
816
+ .m-radio__control {
817
+ align-items: center;
818
+ background: var(--m-color-surface);
819
+ border: var(--m-border-width) solid var(--m-color-border);
820
+ display: inline-flex;
821
+ flex: 0 0 auto;
822
+ height: var(--m-checkbox-control-size, 1.125rem);
823
+ justify-content: center;
824
+ transition:
825
+ background-color var(--m-motion-fast) var(--m-motion-ease),
826
+ border-color var(--m-motion-fast) var(--m-motion-ease),
827
+ box-shadow var(--m-motion-fast) var(--m-motion-ease);
828
+ width: var(--m-checkbox-control-size, 1.125rem);
829
+ }
830
+
831
+ .m-checkbox__input:checked + .m-checkbox__control,
832
+ .m-radio__input:checked + .m-radio__control {
833
+ background: var(--m-color-primary);
834
+ border-color: var(--m-color-primary);
835
+ }
836
+
837
+ .m-checkbox:not(.m-checkbox--disabled):hover .m-checkbox__control,
838
+ .m-radio:not(.m-radio--disabled):hover .m-radio__control {
839
+ border-color: color-mix(in srgb, var(--m-color-primary) 45%, var(--m-color-border));
840
+ }
841
+
842
+ .m-checkbox__input:focus-visible + .m-checkbox__control,
843
+ .m-radio__input:focus-visible + .m-radio__control,
844
+ .m-switch__input:focus-visible + .m-switch__track {
845
+ box-shadow: var(--m-focus-shadow);
846
+ outline: none;
847
+ }
848
+
849
+ .m-checkbox__label,
850
+ .m-radio__label,
851
+ .m-switch__label {
852
+ font-size: var(--m-font-size-md);
853
+ }
854
+
855
+ .m-textarea-field,
856
+ .m-select-field {
857
+ display: grid;
858
+ font-family: var(--m-font-sans);
859
+ gap: var(--m-space-2);
860
+ max-width: 100%;
861
+ min-width: var(--m-menu-min-width);
862
+ position: relative;
863
+ width: fit-content;
864
+ }
865
+
866
+ .m-textarea-field--fluid,
867
+ .m-select-field--fluid {
868
+ width: 100%;
869
+ }
870
+
871
+ .m-textarea-field__label,
872
+ .m-select-field__label {
873
+ color: var(--m-color-text);
874
+ font-family: var(--m-font-sans);
875
+ font-size: var(--m-font-size-md);
876
+ font-weight: 500;
877
+ }
878
+
879
+ .m-textarea-field__help,
880
+ .m-select-field__help {
881
+ color: var(--m-color-text-muted);
882
+ font-size: var(--m-font-size-xs);
883
+ }
884
+
885
+ .m-textarea-field__help--invalid,
886
+ .m-select-field__help--invalid {
887
+ color: var(--m-color-danger);
888
+ }
889
+
890
+ .m-textarea,
891
+ .m-select {
892
+ background: var(--m-color-surface);
893
+ border: var(--m-border-width) solid var(--m-color-border);
894
+ border-radius: var(--m-radius-control);
895
+ color: var(--m-color-text);
896
+ font: inherit;
897
+ transition:
898
+ border-color var(--m-motion-fast) var(--m-motion-ease),
899
+ box-shadow var(--m-motion-fast) var(--m-motion-ease),
900
+ background-color var(--m-motion-fast) var(--m-motion-ease);
901
+ width: 100%;
902
+ }
903
+
904
+ .m-textarea--invalid:focus,
905
+ .m-textarea--invalid:focus-visible,
906
+ .m-select--invalid.m-select--open,
907
+ .m-select--invalid:focus,
908
+ .m-select--invalid:focus-visible {
909
+ border-color: var(--m-color-danger);
910
+ box-shadow: var(--m-focus-shadow-danger);
911
+ }
912
+
913
+ .m-textarea:disabled,
914
+ .m-select:disabled,
915
+ .m-select--disabled {
916
+ background-color: var(--m-color-bg-disabled);
917
+ color: var(--m-color-text-disabled);
918
+ cursor: not-allowed;
919
+ opacity: 1;
920
+ }
921
+
922
+ .m-inputgroup > .m-input,
923
+ .m-inputgroup > .m-input-field,
924
+ .m-inputgroup > .m-password-field,
925
+ .m-inputgroup > .m-inputnumber-field {
926
+ flex: 1 1 auto;
927
+ min-width: 0;
928
+ }
929
+
930
+ .m-inputgroup > .m-input-field,
931
+ .m-inputgroup > .m-password-field,
932
+ .m-inputgroup > .m-inputnumber-field {
933
+ display: flex;
934
+ flex-direction: column;
935
+ gap: 0;
936
+ }
937
+
938
+ .m-inputgroup > .m-input,
939
+ .m-inputgroup .m-input,
940
+ .m-inputgroup .m-password,
941
+ .m-inputgroup .m-inputnumber__input-wrap,
942
+ .m-inputgroup .m-input-field__control--prefixed,
943
+ .m-inputgroup .m-input-field__control--suffixed,
944
+ .m-inputgroup .m-input-field__control--clearable {
945
+ border-radius: 0;
946
+ width: 100%;
947
+ }
948
+
949
+ .m-inputgroup > :first-child.m-input,
950
+ .m-inputgroup > :first-child .m-input,
951
+ .m-inputgroup > :first-child .m-password,
952
+ .m-inputgroup > :first-child .m-inputnumber__input-wrap,
953
+ .m-inputgroup > :first-child .m-input-field__control--prefixed,
954
+ .m-inputgroup > :first-child .m-input-field__control--suffixed,
955
+ .m-inputgroup > :first-child .m-input-field__control--clearable,
956
+ .m-inputgroup > :first-child.m-inputgroup-addon {
957
+ border-bottom-left-radius: var(--m-radius-control);
958
+ border-top-left-radius: var(--m-radius-control);
959
+ }
960
+
961
+ .m-inputgroup > :last-child.m-input,
962
+ .m-inputgroup > :last-child .m-input,
963
+ .m-inputgroup > :last-child .m-password,
964
+ .m-inputgroup > :last-child .m-inputnumber__input-wrap,
965
+ .m-inputgroup > :last-child .m-input-field__control--prefixed,
966
+ .m-inputgroup > :last-child .m-input-field__control--suffixed,
967
+ .m-inputgroup > :last-child .m-input-field__control--clearable,
968
+ .m-inputgroup > :last-child.m-inputgroup-addon {
969
+ border-bottom-right-radius: var(--m-radius-control);
970
+ border-top-right-radius: var(--m-radius-control);
971
+ }
972
+
973
+ .m-inputgroup > .m-inputgroup-addon + .m-input,
974
+ .m-inputgroup > .m-inputgroup-addon + .m-input-field .m-input,
975
+ .m-inputgroup > .m-input + .m-inputgroup-addon,
976
+ .m-inputgroup > .m-input-field + .m-inputgroup-addon {
977
+ margin-left: calc(var(--m-border-width) * -1);
978
+ }
979
+
980
+ .m-layout__scrollbar > .m-scrollbar__wrap {
981
+ height: 100%;
982
+ overflow-x: hidden;
983
+ }
984
+
985
+ .m-layout-sider__scrollbar > .m-scrollbar__wrap {
986
+ height: 100%;
987
+ overflow-x: hidden;
988
+ }
989
+
990
+ .m-terminal__scrollbar > .m-scrollbar__wrap {
991
+ height: 100%;
992
+ overflow-x: hidden;
993
+ }
994
+
995
+ .m-scroll-body.m-scrollbar {
996
+ min-height: 0;
997
+ min-width: 0;
998
+ }
999
+
1000
+ /* fit-content scroll wrappers: grow with content; max-height only clips when set on the wrapper */
1001
+ .m-scrollbar--fit-content.m-scrollbar--fill:not(.m-layout__scrollbar):not(.m-layout-sider__scrollbar):not(.m-scroll-body) {
1002
+ width: 100%;
1003
+ }
1004
+
1005
+ .m-scrollbar--fit-content.m-scrollbar--fill:not(.m-layout__scrollbar):not(.m-layout-sider__scrollbar):not(.m-scroll-body) .m-scrollbar__wrap {
1006
+ overflow: auto;
1007
+ }
1008
+
1009
+ .m-orderlist__btn,
1010
+ .m-picklist__btn {
1011
+ align-items: center;
1012
+ background: var(--m-color-surface);
1013
+ border: var(--m-border-width) solid var(--m-color-border);
1014
+ border-radius: var(--m-radius-sm);
1015
+ color: var(--m-color-text);
1016
+ cursor: pointer;
1017
+ display: inline-flex;
1018
+ font: inherit;
1019
+ gap: 0;
1020
+ justify-content: center;
1021
+ min-height: var(--m-control-height-small, 1.75rem);
1022
+ min-width: var(--m-control-affix-size);
1023
+ padding: var(--m-space-1) var(--m-space-2);
1024
+ }
1025
+
1026
+ .m-orderlist__btn:hover:not(:disabled),
1027
+ .m-picklist__btn:hover:not(:disabled) {
1028
+ border-color: var(--m-color-primary);
1029
+ color: var(--m-color-primary);
1030
+ }
1031
+
1032
+ .m-orderlist__btn:disabled,
1033
+ .m-picklist__btn:disabled {
1034
+ cursor: not-allowed;
1035
+ opacity: var(--m-opacity-disabled);
1036
+ }
1037
+
1038
+ .m-orderlist__btn:focus-visible,
1039
+ .m-picklist__btn:focus-visible {
1040
+ border-color: var(--m-color-primary);
1041
+ box-shadow: var(--m-focus-shadow);
1042
+ outline: none;
1043
+ }
1044
+
1045
+ .m-picklist__btn .m-icon + .m-icon {
1046
+ margin-left: -0.35rem;
1047
+ }
1048
+
1049
+ .m-orderlist__scrollbar,
1050
+ .m-picklist__scrollbar {
1051
+ flex: 1;
1052
+ max-height: 16rem;
1053
+ min-height: 12rem;
1054
+ min-width: var(--m-menu-min-width);
1055
+ }
1056
+
1057
+ .m-orderlist__list,
1058
+ .m-picklist__list {
1059
+ background: var(--m-color-surface);
1060
+ border: var(--m-border-width) solid var(--m-color-border);
1061
+ border-radius: var(--m-radius-md);
1062
+ padding: var(--m-space-1);
1063
+ }
1064
+
1065
+ .m-orderlist__options,
1066
+ .m-picklist__options {
1067
+ list-style: none;
1068
+ margin: 0;
1069
+ padding: 0;
1070
+ }
1071
+
1072
+ .m-orderlist__item,
1073
+ .m-picklist__item {
1074
+ border-radius: var(--m-radius-sm);
1075
+ cursor: pointer;
1076
+ padding: var(--m-space-2) var(--m-space-3);
1077
+ }
1078
+
1079
+ .m-orderlist__item:hover,
1080
+ .m-picklist__item:hover {
1081
+ background: color-mix(in srgb, var(--m-color-primary) 8%, var(--m-color-surface));
1082
+ }
1083
+
1084
+ .m-orderlist__item:focus-visible,
1085
+ .m-picklist__item:focus-visible {
1086
+ box-shadow: var(--m-focus-shadow);
1087
+ outline: none;
1088
+ }
1089
+
1090
+ .m-orderlist__item--selected,
1091
+ .m-picklist__item--selected {
1092
+ background: color-mix(in srgb, var(--m-color-primary) 14%, var(--m-color-surface));
1093
+ color: var(--m-color-primary);
1094
+ font-weight: 500;
1095
+ }
1096
+
1097
+ .m-carousel__nav,
1098
+ .m-gallery__nav {
1099
+ background: var(--m-color-surface);
1100
+ border: var(--m-border-width) solid var(--m-color-border);
1101
+ border-radius: var(--m-radius-full, 999px);
1102
+ color: var(--m-color-text);
1103
+ cursor: pointer;
1104
+ flex: 0 0 auto;
1105
+ font: inherit;
1106
+ height: var(--m-control-affix-size);
1107
+ width: var(--m-control-affix-size);
1108
+ }
1109
+
1110
+ .m-carousel__nav:disabled,
1111
+ .m-gallery__nav:disabled {
1112
+ cursor: not-allowed;
1113
+ opacity: var(--m-opacity-disabled);
1114
+ }
1115
+
1116
+ /* Shared hover/focus for remaining form triggers */
1117
+ .m-inputotp__input:hover:not(:disabled):not(:focus),
1118
+ .m-cascadeselect:not(.m-cascadeselect--open)
1119
+ .m-cascadeselect__trigger:hover:not(:disabled):not(:focus):not(:focus-visible),
1120
+ .m-treeselect:not(.m-treeselect--open)
1121
+ .m-treeselect__trigger:hover:not(:disabled):not(:focus):not(:focus-visible),
1122
+ .m-inputcolor__text:hover:not(:disabled):not(:focus),
1123
+ .m-inputtags:hover:not(.m-inputtags--disabled):not(:focus-within),
1124
+ .m-togglebutton:hover:not(:disabled):not(.m-togglebutton--checked):not(:focus-visible),
1125
+ .m-inplace__display:hover:not(:focus-visible) {
1126
+ border-color: var(--m-color-primary-hover);
1127
+ }
1128
+
1129
+ .m-inputotp__input:focus,
1130
+ .m-inputotp__input:focus-visible,
1131
+ .m-cascadeselect--open .m-cascadeselect__trigger,
1132
+ .m-cascadeselect__trigger:focus,
1133
+ .m-cascadeselect__trigger:focus-visible,
1134
+ .m-treeselect--open .m-treeselect__trigger,
1135
+ .m-treeselect__trigger:focus,
1136
+ .m-treeselect__trigger:focus-visible,
1137
+ .m-inputcolor__text:focus,
1138
+ .m-inputcolor__text:focus-visible,
1139
+ .m-inputtags:focus-within,
1140
+ .m-togglebutton:focus-visible,
1141
+ .m-selectbutton__button:focus-visible,
1142
+ .m-splitbutton__main:focus-visible,
1143
+ .m-splitbutton__trigger:focus-visible,
1144
+ .m-inplace__display:focus-visible,
1145
+ .m-pagination__button:focus-visible {
1146
+ border-color: var(--m-color-primary);
1147
+ box-shadow: var(--m-focus-shadow);
1148
+ outline: none;
1149
+ }
1150
+
1151
+ .m-inputotp--invalid .m-inputotp__input:focus,
1152
+ .m-inputotp--invalid .m-inputotp__input:focus-visible,
1153
+ .m-inputtags--invalid:focus-within,
1154
+ .m-inputcolor--invalid .m-inputcolor__text:focus,
1155
+ .m-inputcolor--invalid .m-inputcolor__text:focus-visible {
1156
+ border-color: var(--m-color-danger);
1157
+ box-shadow: var(--m-focus-shadow-danger);
1158
+ }
1159
+
1160
+ .m-checkbox-group,
1161
+ .m-radio-group {
1162
+ display: flex;
1163
+ flex-wrap: wrap;
1164
+ gap: var(--m-space-3);
1165
+ }
1166
+
1167
+ .m-checkbox--small .m-checkbox__control,
1168
+ .m-radio--small .m-radio__control {
1169
+ height: 0.95rem;
1170
+ width: 0.95rem;
1171
+ }
1172
+
1173
+ .m-checkbox--large .m-checkbox__control,
1174
+ .m-radio--large .m-radio__control {
1175
+ height: 1.35rem;
1176
+ width: 1.35rem;
1177
+ }
1178
+
1179
+ .m-inputnumber__clear,
1180
+ .m-autocomplete__clear {
1181
+ background: transparent;
1182
+ border: 0;
1183
+ color: var(--m-color-text-muted);
1184
+ cursor: pointer;
1185
+ font: inherit;
1186
+ line-height: 1;
1187
+ }
1188
+
1189
+ [data-m-motion="none"] *,
1190
+ [data-m-motion="none"] *::before,
1191
+ [data-m-motion="none"] *::after {
1192
+ animation-duration: 0.01ms !important;
1193
+ animation-iteration-count: 1 !important;
1194
+ scroll-behavior: auto !important;
1195
+ transition-duration: 0.01ms !important;
1196
+ }
1197
+
1198
+ [data-m-motion="reduced"] .m-progress-spinner,
1199
+ [data-m-motion="reduced"] .m-progress-spinner__circle,
1200
+ [data-m-motion="reduced"] .m-skeleton,
1201
+ [data-m-motion="reduced"] .m-badge--processing,
1202
+ [data-m-motion="reduced"] .m-icon--spin,
1203
+ [data-m-motion="reduced"] .m-button__spinner,
1204
+ [data-m-motion="reduced"] .m-select__loading-icon,
1205
+ [data-m-motion="reduced"] .m-switch__loading-icon {
1206
+ animation: none !important;
1207
+ }
1208
+
1209
+ /* —— Feedback: Empty —— */
1210
+ .m-empty {
1211
+ --m-empty-illustration-width: 12.5rem;
1212
+ --m-empty-illustration-height: 6.5rem;
1213
+ --m-empty-max-width: 20rem;
1214
+ --m-empty-icon-size: var(--m-space-8);
1215
+ --m-empty-font-size: var(--m-font-size-md);
1216
+ align-items: center;
1217
+ display: flex;
1218
+ flex-direction: column;
1219
+ font-family: var(--m-font-sans);
1220
+ gap: var(--m-space-2);
1221
+ justify-content: center;
1222
+ padding: calc(var(--m-space-8) + var(--m-space-1)) var(--m-space-5);
1223
+ text-align: center;
1224
+ }
1225
+
1226
+ .m-empty__illustration {
1227
+ align-items: center;
1228
+ color: var(--m-color-text-muted);
1229
+ display: grid;
1230
+ flex-shrink: 0;
1231
+ height: var(--m-empty-illustration-height);
1232
+ justify-items: center;
1233
+ place-items: center;
1234
+ width: var(--m-empty-illustration-width);
1235
+ }
1236
+
1237
+ .m-empty__illustration :is(svg, .m-empty__glyph) {
1238
+ display: block;
1239
+ height: 100%;
1240
+ width: 100%;
1241
+ }
1242
+
1243
+ .m-empty__icon :is(.m-icon, svg),
1244
+ .m-empty__default-icon,
1245
+ .m-empty__default-icon svg {
1246
+ color: inherit;
1247
+ display: block;
1248
+ height: var(--m-empty-icon-size);
1249
+ width: var(--m-empty-icon-size);
1250
+ }
1251
+
1252
+ .m-empty--default-icon .m-empty__illustration {
1253
+ height: var(--m-empty-icon-size);
1254
+ width: var(--m-empty-icon-size);
1255
+ }
1256
+
1257
+ .m-empty__image {
1258
+ display: block;
1259
+ height: auto;
1260
+ max-height: 100%;
1261
+ max-width: 100%;
1262
+ object-fit: contain;
1263
+ }
1264
+
1265
+ .m-empty__illustration:has(.m-empty__image),
1266
+ .m-empty__illustration:has(img) {
1267
+ height: auto;
1268
+ max-height: 10rem;
1269
+ max-width: min(16rem, 100%);
1270
+ width: auto;
1271
+ }
1272
+
1273
+ .m-empty__body {
1274
+ align-items: center;
1275
+ display: flex;
1276
+ flex-direction: column;
1277
+ gap: var(--m-space-1);
1278
+ max-width: var(--m-empty-max-width);
1279
+ }
1280
+
1281
+ .m-empty__title {
1282
+ color: var(--m-color-text);
1283
+ font-size: var(--m-empty-font-size);
1284
+ font-weight: 600;
1285
+ line-height: 1.4;
1286
+ margin: 0;
1287
+ }
1288
+
1289
+ .m-empty__description {
1290
+ color: var(--m-color-text-muted);
1291
+ font-size: var(--m-empty-font-size);
1292
+ line-height: 1.55;
1293
+ margin: 0;
1294
+ }
1295
+
1296
+ .m-empty__extra {
1297
+ align-items: center;
1298
+ display: flex;
1299
+ flex-wrap: wrap;
1300
+ gap: var(--m-space-2);
1301
+ justify-content: center;
1302
+ margin-top: var(--m-space-1);
1303
+ }
1304
+
1305
+ .m-empty--small {
1306
+ --m-empty-illustration-width: 9.5rem;
1307
+ --m-empty-illustration-height: 5rem;
1308
+ --m-empty-icon-size: var(--m-space-6);
1309
+ --m-empty-font-size: var(--m-font-size-sm);
1310
+ padding: var(--m-space-6) var(--m-space-4);
1311
+ }
1312
+
1313
+ .m-empty--large {
1314
+ --m-empty-illustration-width: 15rem;
1315
+ --m-empty-illustration-height: 7.75rem;
1316
+ --m-empty-icon-size: calc(var(--m-space-8) + var(--m-space-2));
1317
+ --m-empty-font-size: var(--m-font-size-lg);
1318
+ padding: calc(var(--m-space-8) + var(--m-space-2)) var(--m-space-6);
1319
+ }
1320
+
1321
+ .m-empty--simple {
1322
+ flex-direction: row;
1323
+ gap: var(--m-space-2);
1324
+ justify-content: flex-start;
1325
+ padding: calc(var(--m-space-3) + var(--m-space-1)) var(--m-space-3);
1326
+ text-align: left;
1327
+ }
1328
+
1329
+ .m-empty--simple .m-empty__illustration {
1330
+ height: calc(var(--m-control-height-large) + var(--m-space-1));
1331
+ width: calc(var(--m-control-height-large) + var(--m-space-1));
1332
+ }
1333
+
1334
+ .m-empty--simple .m-empty__icon :is(.m-icon, svg),
1335
+ .m-empty--simple .m-empty__default-icon,
1336
+ .m-empty--simple .m-empty__default-icon svg {
1337
+ height: var(--m-space-6);
1338
+ width: var(--m-space-6);
1339
+ }
1340
+
1341
+ .m-empty--simple .m-empty__body {
1342
+ align-items: flex-start;
1343
+ max-width: none;
1344
+ }
1345
+
1346
+ .m-empty--simple .m-empty__title,
1347
+ .m-empty--simple .m-empty__description {
1348
+ font-size: var(--m-font-size-sm);
1349
+ }
1350
+
1351
+ .m-empty--simple .m-empty__extra {
1352
+ justify-content: flex-start;
1353
+ margin-top: 0;
1354
+ }
1355
+
1356
+ /* —— Feedback: Loading —— */
1357
+
1358
+ .m-loading {
1359
+ position: relative;
1360
+ }
1361
+
1362
+ .m-loading--fullscreen {
1363
+ inset: 0;
1364
+ position: fixed;
1365
+ z-index: var(--m-loading-z-index, calc(var(--m-z-base) + 200));
1366
+ }
1367
+
1368
+ .m-loading__content {
1369
+ position: relative;
1370
+ }
1371
+
1372
+ .m-loading--active .m-loading__content {
1373
+ pointer-events: none;
1374
+ user-select: none;
1375
+ }
1376
+
1377
+ .m-loading-parent--relative {
1378
+ position: relative;
1379
+ }
1380
+
1381
+ .m-loading-mask {
1382
+ --m-loading-z-index: calc(var(--m-z-base) + 200);
1383
+ --m-loading-mask-bg: color-mix(in srgb, var(--m-color-surface) 80%, transparent);
1384
+ align-items: center;
1385
+ background: var(--m-loading-mask-bg);
1386
+ display: flex;
1387
+ inset: 0;
1388
+ justify-content: center;
1389
+ position: absolute;
1390
+ z-index: 10;
1391
+ }
1392
+
1393
+ .m-loading-mask--fullscreen,
1394
+ .m-loading-mask--body {
1395
+ position: fixed;
1396
+ z-index: var(--m-loading-z-index);
1397
+ }
1398
+
1399
+ .m-loading-mask--body {
1400
+ inset: auto;
1401
+ }
1402
+
1403
+ .m-loading-enter-active {
1404
+ transition: opacity var(--m-motion-enter) var(--m-motion-ease);
1405
+ }
1406
+
1407
+ .m-loading-leave-active {
1408
+ transition: opacity var(--m-motion-exit) var(--m-motion-ease);
1409
+ }
1410
+
1411
+ .m-loading-enter-from,
1412
+ .m-loading-leave-to {
1413
+ opacity: 0;
1414
+ }
1415
+
1416
+ .m-loading-indicator {
1417
+ --m-loading-c1: var(--m-color-primary);
1418
+ --m-loading-c2: color-mix(in srgb, var(--m-color-primary) 62%, white);
1419
+ --m-loading-c3: var(--m-color-success);
1420
+ --m-loading-c4: var(--m-color-warning);
1421
+ --m-loading-c5: var(--m-color-danger);
1422
+ --m-loading-c6: var(--m-color-text-muted);
1423
+ --m-loading-spin: var(--m-motion-spin);
1424
+ --m-loading-aurora-glow: var(--m-motion-loading-aurora);
1425
+ --m-loading-bounce: var(--m-motion-loading-bounce);
1426
+ --m-loading-wave: var(--m-motion-spin-medium);
1427
+ --m-loading-pulse: var(--m-motion-loading-pulse);
1428
+ --m-loading-stardust: var(--m-motion-loading-stardust);
1429
+ --m-loading-circular-rotate: var(--m-motion-loading-circular-rotate);
1430
+ --m-loading-circular-dash: var(--m-motion-spin-dash);
1431
+ --m-loading-scale: 1;
1432
+
1433
+ align-items: center;
1434
+ display: inline-flex;
1435
+ flex-direction: column;
1436
+ font-family: var(--m-font-sans);
1437
+ gap: var(--m-space-3);
1438
+ justify-content: center;
1439
+ }
1440
+
1441
+ .m-loading-indicator__graphic {
1442
+ align-items: center;
1443
+ display: inline-flex;
1444
+ justify-content: center;
1445
+ transform: scale(var(--m-loading-scale));
1446
+ }
1447
+
1448
+ .m-loading-indicator__tip {
1449
+ color: var(--m-color-text-muted);
1450
+ font-size: var(--m-font-size-sm);
1451
+ line-height: 1;
1452
+ margin: 0;
1453
+ }
1454
+
1455
+ .m-loading-indicator--small {
1456
+ --m-loading-scale: 0.85;
1457
+ }
1458
+
1459
+ .m-loading-indicator--large {
1460
+ --m-loading-scale: 1.15;
1461
+ }
1462
+
1463
+ .m-loading-aurora,
1464
+ .m-loading-pulse,
1465
+ .m-loading-stardust {
1466
+ height: 3.75rem;
1467
+ position: relative;
1468
+ width: 3.75rem;
1469
+ }
1470
+
1471
+ .m-loading-aurora__ring {
1472
+ animation: m-loading-spin var(--m-loading-spin) cubic-bezier(0.5, 0, 0.5, 1) infinite;
1473
+ border: 4px solid transparent;
1474
+ border-bottom-color: var(--m-loading-c2);
1475
+ border-left-color: var(--m-loading-c3);
1476
+ border-radius: 50%;
1477
+ border-right-color: var(--m-loading-c5);
1478
+ border-top-color: var(--m-loading-c1);
1479
+ box-sizing: border-box;
1480
+ height: 100%;
1481
+ position: relative;
1482
+ width: 100%;
1483
+ z-index: 2;
1484
+ }
1485
+
1486
+ .m-loading-aurora__glow {
1487
+ animation: m-loading-spin var(--m-loading-aurora-glow) linear infinite reverse;
1488
+ /* Soft radial layers instead of animated blur (≤8px / no continuous filter). */
1489
+ background:
1490
+ radial-gradient(
1491
+ circle at 30% 30%,
1492
+ color-mix(in srgb, var(--m-loading-c1) 55%, transparent),
1493
+ transparent 62%
1494
+ ),
1495
+ radial-gradient(
1496
+ circle at 70% 65%,
1497
+ color-mix(in srgb, var(--m-loading-c5) 45%, transparent),
1498
+ transparent 58%
1499
+ ),
1500
+ radial-gradient(
1501
+ circle at 50% 50%,
1502
+ color-mix(in srgb, var(--m-loading-c2) 35%, transparent),
1503
+ transparent 70%
1504
+ );
1505
+ border-radius: 50%;
1506
+ inset: -10px;
1507
+ opacity: 0.55;
1508
+ position: absolute;
1509
+ z-index: 1;
1510
+ }
1511
+
1512
+ .m-loading-bounce {
1513
+ align-items: flex-end;
1514
+ display: flex;
1515
+ gap: var(--m-space-3);
1516
+ height: 3.125rem;
1517
+ }
1518
+
1519
+ .m-loading-bounce__ball {
1520
+ animation: m-loading-bounce var(--m-loading-bounce) cubic-bezier(0.34, 1.2, 0.64, 1) infinite alternate;
1521
+ background: var(--m-loading-c1);
1522
+ border-radius: 50%;
1523
+ display: block;
1524
+ height: 1rem;
1525
+ width: 1rem;
1526
+ }
1527
+
1528
+ .m-loading-bounce__ball:nth-child(1) {
1529
+ animation-delay: 0s;
1530
+ background: var(--m-loading-c5);
1531
+ }
1532
+
1533
+ .m-loading-bounce__ball:nth-child(2) {
1534
+ animation-delay: 0.15s;
1535
+ background: var(--m-loading-c2);
1536
+ }
1537
+
1538
+ .m-loading-bounce__ball:nth-child(3) {
1539
+ animation-delay: 0.3s;
1540
+ background: var(--m-loading-c6);
1541
+ }
1542
+
1543
+ .m-loading-wave {
1544
+ align-items: center;
1545
+ display: flex;
1546
+ gap: var(--m-space-1);
1547
+ height: 3.125rem;
1548
+ }
1549
+
1550
+ .m-loading-wave__bar {
1551
+ animation: m-loading-wave var(--m-loading-wave) ease-in-out infinite alternate;
1552
+ background: var(--m-loading-c1);
1553
+ border-radius: 0.375rem;
1554
+ display: block;
1555
+ height: 2.875rem;
1556
+ transform-origin: center center;
1557
+ width: 0.5rem;
1558
+ }
1559
+
1560
+ .m-loading-wave__bar:nth-child(1) {
1561
+ animation-delay: 0s;
1562
+ background: var(--m-loading-c1);
1563
+ }
1564
+
1565
+ .m-loading-wave__bar:nth-child(2) {
1566
+ animation-delay: 0.09s;
1567
+ background: var(--m-loading-c5);
1568
+ }
1569
+
1570
+ .m-loading-wave__bar:nth-child(3) {
1571
+ animation-delay: 0.18s;
1572
+ background: var(--m-loading-c2);
1573
+ }
1574
+
1575
+ .m-loading-wave__bar:nth-child(4) {
1576
+ animation-delay: 0.27s;
1577
+ background: var(--m-loading-c3);
1578
+ }
1579
+
1580
+ .m-loading-wave__bar:nth-child(5) {
1581
+ animation-delay: 0.36s;
1582
+ background: var(--m-loading-c6);
1583
+ }
1584
+
1585
+ .m-loading-pulse__ring {
1586
+ animation: m-loading-pulse var(--m-loading-pulse) ease-out infinite;
1587
+ border: 3px solid var(--m-loading-c2);
1588
+ border-radius: 50%;
1589
+ box-sizing: border-box;
1590
+ inset: 0;
1591
+ position: absolute;
1592
+ }
1593
+
1594
+ .m-loading-pulse__ring:nth-child(1) {
1595
+ animation-delay: 0s;
1596
+ border-color: var(--m-loading-c1);
1597
+ }
1598
+
1599
+ .m-loading-pulse__ring:nth-child(2) {
1600
+ animation-delay: 0.45s;
1601
+ border-color: var(--m-loading-c5);
1602
+ }
1603
+
1604
+ .m-loading-pulse__ring:nth-child(3) {
1605
+ animation-delay: 0.9s;
1606
+ border-color: var(--m-loading-c2);
1607
+ }
1608
+
1609
+ .m-loading-pulse__ring:nth-child(4) {
1610
+ animation-delay: 1.35s;
1611
+ border-color: var(--m-loading-c3);
1612
+ }
1613
+
1614
+ .m-loading-stardust__dot {
1615
+ --i: 0;
1616
+ animation: m-loading-stardust var(--m-loading-stardust) ease-in-out infinite;
1617
+ background: var(--m-loading-c1);
1618
+ border-radius: 50%;
1619
+ height: 0.5rem;
1620
+ left: 50%;
1621
+ position: absolute;
1622
+ top: 50%;
1623
+ transform: translate(-50%, -50%) rotate(calc(var(--i) * 45deg)) translateX(22px);
1624
+ width: 0.5rem;
1625
+ }
1626
+
1627
+ .m-loading-stardust__dot:nth-child(1) { animation-delay: 0s; background: var(--m-loading-c1); }
1628
+ .m-loading-stardust__dot:nth-child(2) { animation-delay: 0.08s; background: var(--m-loading-c5); }
1629
+ .m-loading-stardust__dot:nth-child(3) { animation-delay: 0.16s; background: var(--m-loading-c4); }
1630
+ .m-loading-stardust__dot:nth-child(4) { animation-delay: 0.24s; background: var(--m-loading-c2); }
1631
+ .m-loading-stardust__dot:nth-child(5) { animation-delay: 0.32s; background: var(--m-loading-c3); }
1632
+ .m-loading-stardust__dot:nth-child(6) { animation-delay: 0.4s; background: var(--m-loading-c6); }
1633
+ .m-loading-stardust__dot:nth-child(7) { animation-delay: 0.48s; background: color-mix(in srgb, var(--m-loading-c1) 55%, white); }
1634
+ .m-loading-stardust__dot:nth-child(8) { animation-delay: 0.56s; background: var(--m-loading-c2); }
1635
+
1636
+ .m-loading-circular {
1637
+ align-items: center;
1638
+ display: inline-flex;
1639
+ justify-content: center;
1640
+ }
1641
+
1642
+ .m-loading-circular__svg {
1643
+ animation: m-loading-circular-rotate var(--m-loading-circular-rotate) linear infinite;
1644
+ display: inline-block;
1645
+ height: 2.625rem;
1646
+ width: 2.625rem;
1647
+ }
1648
+
1649
+ .m-loading-circular__path {
1650
+ animation: m-loading-circular-dash var(--m-loading-circular-dash) ease-in-out infinite;
1651
+ fill: none;
1652
+ stroke: var(--m-loading-c1);
1653
+ stroke-linecap: round;
1654
+ stroke-width: 2;
1655
+ }
1656
+
1657
+ @keyframes m-loading-spin {
1658
+ from { transform: rotate(0deg); }
1659
+ to { transform: rotate(360deg); }
1660
+ }
1661
+
1662
+ @keyframes m-loading-bounce {
1663
+ from { transform: translateY(0) scale(1); }
1664
+ to { transform: translateY(-34px) scale(1.1); }
1665
+ }
1666
+
1667
+ @keyframes m-loading-wave {
1668
+ from { transform: scaleY(0.26); }
1669
+ to { transform: scaleY(1); }
1670
+ }
1671
+
1672
+ @keyframes m-loading-pulse {
1673
+ from { opacity: 1; transform: scale(0.15); }
1674
+ to { opacity: 0; transform: scale(1.6); }
1675
+ }
1676
+
1677
+ @keyframes m-loading-stardust {
1678
+ 0%,
1679
+ 100% {
1680
+ opacity: 0.2;
1681
+ transform: translate(-50%, -50%) rotate(calc(var(--i) * 45deg)) translateX(22px) scale(0.3);
1682
+ }
1683
+
1684
+ 50% {
1685
+ opacity: 1;
1686
+ transform: translate(-50%, -50%) rotate(calc(var(--i) * 45deg + 180deg)) translateX(28px) scale(1.2);
1687
+ }
1688
+ }
1689
+
1690
+ @keyframes m-loading-circular-rotate {
1691
+ to { transform: rotate(360deg); }
1692
+ }
1693
+
1694
+ @keyframes m-loading-circular-dash {
1695
+ 0% {
1696
+ stroke-dasharray: 1, 200;
1697
+ stroke-dashoffset: 0;
1698
+ }
1699
+
1700
+ 50% {
1701
+ stroke-dasharray: 90, 150;
1702
+ stroke-dashoffset: -40px;
1703
+ }
1704
+
1705
+ 100% {
1706
+ stroke-dasharray: 90, 150;
1707
+ stroke-dashoffset: -120px;
1708
+ }
1709
+ }
1710
+
1711
+ [data-m-motion="reduced"] .m-loading-aurora__ring,
1712
+ [data-m-motion="reduced"] .m-loading-aurora__glow,
1713
+ [data-m-motion="reduced"] .m-loading-bounce__ball,
1714
+ [data-m-motion="reduced"] .m-loading-wave__bar,
1715
+ [data-m-motion="reduced"] .m-loading-pulse__ring,
1716
+ [data-m-motion="reduced"] .m-loading-stardust__dot,
1717
+ [data-m-motion="reduced"] .m-loading-circular__svg,
1718
+ [data-m-motion="reduced"] .m-loading-circular__path,
1719
+ [data-m-motion="reduced"] .m-loading-enter-active,
1720
+ [data-m-motion="reduced"] .m-loading-leave-active,
1721
+ [data-m-motion="none"] .m-loading-aurora__ring,
1722
+ [data-m-motion="none"] .m-loading-aurora__glow,
1723
+ [data-m-motion="none"] .m-loading-bounce__ball,
1724
+ [data-m-motion="none"] .m-loading-wave__bar,
1725
+ [data-m-motion="none"] .m-loading-pulse__ring,
1726
+ [data-m-motion="none"] .m-loading-stardust__dot,
1727
+ [data-m-motion="none"] .m-loading-circular__svg,
1728
+ [data-m-motion="none"] .m-loading-circular__path,
1729
+ [data-m-motion="none"] .m-loading-enter-active,
1730
+ [data-m-motion="none"] .m-loading-leave-active {
1731
+ animation: none;
1732
+ transition: none;
1733
+ }
1734
+
1735
+ .m-pagination {
1736
+ --m-pagination-height: var(--m-control-height-medium);
1737
+ --m-pagination-font: var(--m-control-font-medium);
1738
+ --m-pagination-padding-x: var(--m-control-padding-x-medium);
1739
+ --m-pagination-simple-width: 3.5rem;
1740
+ --m-pagination-jumper-width: 5.5rem;
1741
+ align-items: center;
1742
+ display: flex;
1743
+ font-family: var(--m-font-sans);
1744
+ gap: var(--m-space-1);
1745
+ }
1746
+
1747
+ .m-pagination--small {
1748
+ --m-pagination-height: var(--m-control-height-small);
1749
+ --m-pagination-font: var(--m-control-font-small);
1750
+ --m-pagination-padding-x: var(--m-control-padding-x-small);
1751
+ }
1752
+
1753
+ .m-pagination--large {
1754
+ --m-pagination-height: var(--m-control-height-large);
1755
+ --m-pagination-font: var(--m-control-font-large);
1756
+ --m-pagination-padding-x: var(--m-control-padding-x-large);
1757
+ }
1758
+
1759
+ .m-pagination__button {
1760
+ background: var(--m-color-surface);
1761
+ border: var(--m-border-width) solid var(--m-color-border);
1762
+ border-radius: var(--m-radius-control);
1763
+ color: var(--m-color-text);
1764
+ cursor: pointer;
1765
+ font: inherit;
1766
+ font-size: var(--m-pagination-font);
1767
+ min-height: var(--m-pagination-height);
1768
+ min-width: var(--m-pagination-height);
1769
+ padding: 0 var(--m-pagination-padding-x);
1770
+ transition:
1771
+ background-color var(--m-motion-fast) var(--m-motion-ease),
1772
+ border-color var(--m-motion-fast) var(--m-motion-ease),
1773
+ box-shadow var(--m-motion-fast) var(--m-motion-ease);
1774
+ }
1775
+
1776
+ .m-pagination__button--active {
1777
+ background: var(--m-color-primary);
1778
+ border-color: var(--m-color-primary);
1779
+ color: var(--m-color-on-emphasis);
1780
+ }
1781
+
1782
+ .m-pagination__button:disabled {
1783
+ color: var(--m-color-text-disabled);
1784
+ cursor: not-allowed;
1785
+ opacity: 1;
1786
+ }
1787
+
1788
+ .m-pagination__button:hover:not(:disabled):not(.m-pagination__button--active) {
1789
+ background: color-mix(
1790
+ in srgb,
1791
+ var(--m-color-primary) 10%,
1792
+ var(--m-color-surface)
1793
+ );
1794
+ }
1795
+
1796
+ .m-pagination__button:focus-visible {
1797
+ box-shadow: var(--m-focus-shadow);
1798
+ outline: none;
1799
+ }
1800
+
1801
+ .m-pagination--simple {
1802
+ gap: var(--m-space-2);
1803
+ }
1804
+
1805
+ .m-pagination__simple {
1806
+ color: var(--m-color-text);
1807
+ font-size: var(--m-pagination-font);
1808
+ min-width: var(--m-pagination-simple-width);
1809
+ text-align: center;
1810
+ }
1811
+
1812
+ .m-pagination__sizer,
1813
+ .m-pagination__jumper {
1814
+ align-items: center;
1815
+ color: var(--m-color-text-muted);
1816
+ display: inline-flex;
1817
+ font-size: var(--m-pagination-font);
1818
+ gap: var(--m-space-1);
1819
+ margin-left: var(--m-space-2);
1820
+ }
1821
+
1822
+ /* Size picker now uses MSelect; constrain its width so the page size stays compact. */
1823
+ .m-pagination__select {
1824
+ min-width: 5.5rem;
1825
+ width: 5.5rem;
1826
+ }
1827
+
1828
+ .m-pagination__jumper-select {
1829
+ min-width: var(--m-pagination-jumper-width);
1830
+ width: var(--m-pagination-jumper-width);
1831
+ }
1832
+
1833
+ /* --- Data display: List --- */
1834
+ .m-list {
1835
+ --m-list-pad-y: var(--m-space-4);
1836
+ --m-list-pad-x: var(--m-space-4);
1837
+ --m-list-item-gap: var(--m-space-4);
1838
+ --m-list-font-size: var(--m-font-size-md);
1839
+ --m-list-meta-title-size: var(--m-font-size-md);
1840
+ --m-list-meta-desc-color: var(--m-color-text-muted);
1841
+ --m-list-grid-gutter: var(--m-space-4);
1842
+ --m-list-grid-column: 1;
1843
+ --m-list-grid-column-xs: var(--m-list-grid-column);
1844
+ --m-list-grid-column-sm: var(--m-list-grid-column);
1845
+ --m-list-grid-column-md: var(--m-list-grid-column);
1846
+ --m-list-grid-column-lg: var(--m-list-grid-column);
1847
+ --m-list-grid-column-xl: var(--m-list-grid-column);
1848
+ box-sizing: border-box;
1849
+ color: var(--m-color-text);
1850
+ font-family: var(--m-font-sans);
1851
+ font-size: var(--m-list-font-size);
1852
+ width: 100%;
1853
+ }
1854
+
1855
+ .m-list--small {
1856
+ --m-list-pad-y: var(--m-space-2);
1857
+ --m-list-pad-x: var(--m-space-3);
1858
+ --m-list-item-gap: var(--m-space-3);
1859
+ --m-list-font-size: var(--m-font-size-sm);
1860
+ --m-list-meta-title-size: var(--m-font-size-sm);
1861
+ }
1862
+
1863
+ .m-list--large {
1864
+ --m-list-pad-y: var(--m-space-5);
1865
+ --m-list-pad-x: var(--m-space-5);
1866
+ --m-list-item-gap: var(--m-space-5);
1867
+ --m-list-font-size: var(--m-font-size-lg);
1868
+ --m-list-meta-title-size: var(--m-font-size-lg);
1869
+ }
1870
+
1871
+ .m-list--bordered {
1872
+ border: var(--m-border-width) solid var(--m-color-border);
1873
+ border-radius: var(--m-radius-control);
1874
+ }
1875
+
1876
+ .m-list__header,
1877
+ .m-list__footer {
1878
+ padding: var(--m-list-pad-y) var(--m-list-pad-x);
1879
+ }
1880
+
1881
+ .m-list__header {
1882
+ border-bottom: var(--m-border-width) solid var(--m-color-split);
1883
+ font-weight: 500;
1884
+ }
1885
+
1886
+ .m-list__footer {
1887
+ border-top: var(--m-border-width) solid var(--m-color-split);
1888
+ color: var(--m-color-text-muted);
1889
+ }
1890
+
1891
+ .m-list__pagination {
1892
+ display: flex;
1893
+ padding: var(--m-space-3) var(--m-list-pad-x);
1894
+ }
1895
+
1896
+ .m-list__pagination--start {
1897
+ justify-content: flex-start;
1898
+ }
1899
+
1900
+ .m-list__pagination--center {
1901
+ justify-content: center;
1902
+ }
1903
+
1904
+ .m-list__pagination--end {
1905
+ justify-content: flex-end;
1906
+ }
1907
+
1908
+ .m-list__items {
1909
+ list-style: none;
1910
+ margin: 0;
1911
+ padding: 0;
1912
+ }
1913
+
1914
+ .m-list__items--grid {
1915
+ display: grid;
1916
+ gap: var(--m-list-grid-gutter);
1917
+ grid-template-columns: repeat(var(--m-list-grid-column, 1), minmax(0, 1fr));
1918
+ padding: var(--m-list-pad-y) var(--m-list-pad-x);
1919
+ }
1920
+
1921
+ .m-list__items:not(.m-list__items--grid) {
1922
+ padding: 0;
1923
+ }
1924
+
1925
+ @media (min-width: 480px) {
1926
+ .m-list__items--grid[data-grid-xs] {
1927
+ grid-template-columns: repeat(var(--m-list-grid-column-xs, var(--m-list-grid-column, 1)), minmax(0, 1fr));
1928
+ }
1929
+ }
1930
+
1931
+ @media (min-width: 576px) {
1932
+ .m-list__items--grid[data-grid-sm] {
1933
+ grid-template-columns: repeat(var(--m-list-grid-column-sm, var(--m-list-grid-column, 1)), minmax(0, 1fr));
1934
+ }
1935
+ }
1936
+
1937
+ @media (min-width: 768px) {
1938
+ .m-list__items--grid[data-grid-md] {
1939
+ grid-template-columns: repeat(var(--m-list-grid-column-md, var(--m-list-grid-column, 1)), minmax(0, 1fr));
1940
+ }
1941
+ }
1942
+
1943
+ @media (min-width: 992px) {
1944
+ .m-list__items--grid[data-grid-lg] {
1945
+ grid-template-columns: repeat(var(--m-list-grid-column-lg, var(--m-list-grid-column, 1)), minmax(0, 1fr));
1946
+ }
1947
+ }
1948
+
1949
+ @media (min-width: 1200px) {
1950
+ .m-list__items--grid[data-grid-xl] {
1951
+ grid-template-columns: repeat(var(--m-list-grid-column-xl, var(--m-list-grid-column, 1)), minmax(0, 1fr));
1952
+ }
1953
+ }
1954
+
1955
+ .m-list-item {
1956
+ align-items: flex-start;
1957
+ display: flex;
1958
+ gap: var(--m-list-item-gap);
1959
+ padding: var(--m-list-pad-y) var(--m-list-pad-x);
1960
+ }
1961
+
1962
+ .m-list-item--split + .m-list-item--split {
1963
+ border-top: var(--m-border-width) solid var(--m-color-split);
1964
+ }
1965
+
1966
+ .m-list--bordered .m-list-item--bordered {
1967
+ padding-inline: var(--m-list-pad-x);
1968
+ }
1969
+
1970
+ .m-list-item--grid {
1971
+ border: var(--m-border-width) solid var(--m-color-border);
1972
+ border-radius: var(--m-radius-control);
1973
+ padding: var(--m-list-pad-y) var(--m-list-pad-x);
1974
+ }
1975
+
1976
+ .m-list-item--vertical {
1977
+ flex-direction: column;
1978
+ }
1979
+
1980
+ .m-list-item--vertical:not(.m-list-item--grid) {
1981
+ align-items: stretch;
1982
+ }
1983
+
1984
+ .m-list-item__main {
1985
+ flex: 1 1 auto;
1986
+ min-width: 0;
1987
+ }
1988
+
1989
+ .m-list-item__extra {
1990
+ flex-shrink: 0;
1991
+ margin-inline-start: auto;
1992
+ }
1993
+
1994
+ .m-list-item--vertical .m-list-item__extra {
1995
+ margin-inline-start: 0;
1996
+ width: 100%;
1997
+ }
1998
+
1999
+ .m-list-item__actions {
2000
+ align-items: center;
2001
+ display: flex;
2002
+ flex-shrink: 0;
2003
+ gap: 0;
2004
+ list-style: none;
2005
+ margin: 0;
2006
+ padding: 0;
2007
+ }
2008
+
2009
+ .m-list-item__action {
2010
+ align-items: center;
2011
+ display: inline-flex;
2012
+ }
2013
+
2014
+ .m-list-item__action:not(:last-child)::after {
2015
+ color: var(--m-color-border);
2016
+ content: '|';
2017
+ margin-inline: var(--m-space-2);
2018
+ }
2019
+
2020
+ .m-list-item-meta {
2021
+ align-items: flex-start;
2022
+ display: flex;
2023
+ gap: var(--m-space-3);
2024
+ min-width: 0;
2025
+ width: 100%;
2026
+ }
2027
+
2028
+ .m-list-item-meta__avatar {
2029
+ flex-shrink: 0;
2030
+ line-height: 0;
2031
+ }
2032
+
2033
+ .m-list-item-meta__content {
2034
+ flex: 1 1 auto;
2035
+ min-width: 0;
2036
+ }
2037
+
2038
+ .m-list-item-meta__title {
2039
+ color: var(--m-color-text);
2040
+ font-size: var(--m-list-meta-title-size);
2041
+ font-weight: 500;
2042
+ line-height: 1.5;
2043
+ margin: 0 0 var(--m-space-1);
2044
+ }
2045
+
2046
+ .m-list-item-meta__description {
2047
+ color: var(--m-list-meta-desc-color);
2048
+ font-size: var(--m-list-font-size);
2049
+ line-height: 1.6;
2050
+ }
2051
+
2052
+ .m-list__empty {
2053
+ padding: var(--m-space-8) var(--m-list-pad-x);
2054
+ }
2055
+
2056
+ .m-list__load-more {
2057
+ border-top: var(--m-border-width) solid var(--m-color-split);
2058
+ padding: var(--m-space-3) var(--m-list-pad-x);
2059
+ text-align: center;
2060
+ }
2061
+