morya-ui 0.3.3 → 0.3.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.
- package/CHANGELOG.md +530 -516
- package/LICENSE +21 -21
- package/README.md +150 -150
- package/README.zh-CN.md +150 -150
- package/dist/{Button-gBiRj7wz.js → Button-3vJoiEQC.js} +1 -1
- package/dist/{Checkbox-BzbAUfyZ.js → Checkbox-B2gcDJHM.js} +1 -1
- package/dist/{Empty-C5tndBOm.js → Empty-5pTDp3ZM.js} +1 -1
- package/dist/{FlyoutSubmenu-H_741alW.js → FlyoutSubmenu-C_OrDaPN.js} +1 -1
- package/dist/{Loading-qS2Yv_gm.js → Loading-Ba-Js5-u.js} +3 -3
- package/dist/{Pagination-Bvv2qvEK.js → Pagination-lJ7cce6g.js} +2 -2
- package/dist/{Popover-rnZG_ap0.js → Popover-CQ2VYpFJ.js} +2 -2
- package/dist/{Radio-rF6zdR5Y.js → Radio-BbJ_Jyil.js} +1 -1
- package/dist/{Select-CiXd074W.js → Select-DyxORH6Q.js} +3 -3
- package/dist/{Tooltip-B02o9BOW.js → Tooltip-D3WUemno.js} +2 -2
- package/dist/accordion/style.css +1148 -1148
- package/dist/auto-complete/index.js +3 -3
- package/dist/auto-complete/style.css +1690 -1690
- package/dist/avatar/style.css +1261 -1261
- package/dist/badge/style.css +1315 -1315
- package/dist/block-ui/index.js +1 -1
- package/dist/block-ui/style.css +1148 -1148
- package/dist/breadcrumb/index.js +1 -1
- package/dist/breadcrumb/style.css +1148 -1148
- package/dist/button/index.js +1 -1
- package/dist/button/style.css +2134 -2134
- package/dist/card/style.css +1148 -1148
- package/dist/carousel/index.js +1 -1
- package/dist/carousel/style.css +1249 -1249
- package/dist/cascade-select/index.js +3 -3
- package/dist/cascade-select/style.css +1839 -1839
- package/dist/checkbox/index.js +1 -1
- package/dist/checkbox/style.css +1148 -1148
- package/dist/chip/index.js +1 -1
- package/dist/chip/style.css +1292 -1292
- package/dist/command-menu/index.js +3 -3
- package/dist/command-menu/style.css +1381 -1381
- package/dist/components/AutoComplete/styles.css +209 -209
- package/dist/components/Avatar/styles.css +113 -113
- package/dist/components/Badge/styles.css +165 -165
- package/dist/components/Button/styles.css +962 -962
- package/dist/components/Carousel/styles.css +101 -101
- package/dist/components/CascadeSelect/styles.css +157 -157
- package/dist/components/Chip/styles.css +144 -144
- package/dist/components/CommandMenu/styles.css +102 -102
- package/dist/components/ConfigProvider/styles.css +6 -6
- package/dist/components/ConfirmDialog/styles.css +24 -24
- package/dist/components/ConfirmPopup/styles.css +35 -35
- package/dist/components/ContextMenu/styles.css +138 -138
- package/dist/components/DatePicker/styles.css +335 -335
- package/dist/components/Dialog/styles.css +421 -421
- package/dist/components/Dock/styles.css +84 -84
- package/dist/components/Drawer/styles.css +334 -334
- package/dist/components/Dropdown/styles.css +130 -130
- package/dist/components/Empty/styles.css +146 -146
- package/dist/components/FileUpload/styles.css +359 -359
- package/dist/components/Form/styles.css +114 -114
- package/dist/components/Gallery/styles.css +100 -100
- package/dist/components/Input/styles.css +356 -356
- package/dist/components/InputColor/styles.css +129 -129
- package/dist/components/InputNumber/styles.css +261 -261
- package/dist/components/InputPassword/styles.css +178 -178
- package/dist/components/InputTags/styles.css +112 -112
- package/dist/components/Layout/styles.css +433 -433
- package/dist/components/Loading/styles.css +378 -378
- package/dist/components/MegaMenu/styles.css +97 -97
- package/dist/components/Menu/styles.css +564 -564
- package/dist/components/Menubar/styles.css +144 -144
- package/dist/components/Message/styles.css +250 -250
- package/dist/components/MeterGroup/styles.css +49 -49
- package/dist/components/Page/PageContent.vue.d.ts +1 -0
- package/dist/components/Page/PageContent.vue.d.ts.map +1 -1
- package/dist/components/Page/PageFilters.vue.d.ts +5 -3
- package/dist/components/Page/PageFilters.vue.d.ts.map +1 -1
- package/dist/components/Page/styles.css +430 -394
- package/dist/components/Page/types.d.ts +7 -2
- package/dist/components/Page/types.d.ts.map +1 -1
- package/dist/components/Pagination/styles.css +105 -105
- package/dist/components/Popover/styles.css +92 -92
- package/dist/components/Result/styles.css +146 -146
- package/dist/components/Scrollbar/styles.css +131 -131
- package/dist/components/Select/styles.css +192 -192
- package/dist/components/SelectButton/styles.css +105 -105
- package/dist/components/Sidebar/styles.css +74 -74
- package/dist/components/Slider/styles.css +211 -211
- package/dist/components/SplitButton/styles.css +216 -216
- package/dist/components/Status/styles.css +191 -191
- package/dist/components/Stepper/styles.css +135 -135
- package/dist/components/Switch/styles.css +129 -129
- package/dist/components/Table/Table.vue.d.ts +1 -0
- package/dist/components/Table/Table.vue.d.ts.map +1 -1
- package/dist/components/Table/styles.css +28 -0
- package/dist/components/Table/types.d.ts +6 -0
- package/dist/components/Table/types.d.ts.map +1 -1
- package/dist/components/Tabs/styles.css +131 -131
- package/dist/components/Terminal/styles.css +74 -74
- package/dist/components/Textarea/styles.css +126 -126
- package/dist/components/TieredMenu/styles.css +125 -125
- package/dist/components/Timeline/styles.css +159 -159
- package/dist/components/TreeSelect/styles.css +161 -161
- package/dist/components/TreeTable/styles.css +97 -97
- package/dist/components/VirtualScroller/styles.css +27 -27
- package/dist/{config-CapALqt3.js → config-De8ueCY-.js} +2 -0
- package/dist/config-provider/index.js +1 -1
- package/dist/config-provider/style.css +2472 -2472
- package/dist/confirm-dialog/index.js +4 -4
- package/dist/confirm-dialog/style.css +2555 -2555
- package/dist/confirm-popup/index.js +4 -4
- package/dist/confirm-popup/style.css +2145 -2145
- package/dist/context-menu/index.js +3 -3
- package/dist/context-menu/style.css +1417 -1417
- package/dist/data-view/index.js +3 -3
- package/dist/data-view/style.css +1631 -1631
- package/dist/date-picker/index.js +3 -3
- package/dist/date-picker/style.css +1483 -1483
- package/dist/dialog/index.js +4 -4
- package/dist/dialog/style.css +2531 -2531
- package/dist/divider/style.css +1148 -1148
- package/dist/dock/style.css +1232 -1232
- package/dist/drawer/index.js +3 -3
- package/dist/drawer/style.css +1482 -1482
- package/dist/dropdown/index.js +4 -4
- package/dist/dropdown/style.css +1409 -1409
- package/dist/empty/index.js +1 -1
- package/dist/empty/style.css +1294 -1294
- package/dist/fieldset/style.css +1148 -1148
- package/dist/file-upload/index.js +1 -1
- package/dist/file-upload/style.css +1507 -1507
- package/dist/flex/index.js +2 -2
- package/dist/flex/style.css +1148 -1148
- package/dist/float-label/style.css +1148 -1148
- package/dist/fluid/style.css +1148 -1148
- package/dist/form/index.js +1 -1
- package/dist/form/style.css +1264 -1264
- package/dist/gallery/index.js +1 -1
- package/dist/gallery/style.css +1379 -1379
- package/dist/grid/index.js +1 -1
- package/dist/grid/style.css +1148 -1148
- package/dist/icon/style.css +1148 -1148
- package/dist/icon-field/style.css +1504 -1504
- package/dist/index.js +1235 -1215
- package/dist/inplace/style.css +1148 -1148
- package/dist/input/index.js +2 -2
- package/dist/input/style.css +1504 -1504
- package/dist/input-color/index.js +2 -2
- package/dist/input-color/style.css +1279 -1279
- package/dist/input-group/style.css +1148 -1148
- package/dist/input-number/index.js +2 -2
- package/dist/input-number/style.css +1409 -1409
- package/dist/input-otp/index.js +2 -2
- package/dist/input-otp/style.css +1148 -1148
- package/dist/input-password/index.js +2 -2
- package/dist/input-password/style.css +1326 -1326
- package/dist/input-tags/index.js +2 -2
- package/dist/input-tags/style.css +1260 -1260
- package/dist/knob/style.css +1148 -1148
- package/dist/label/style.css +1148 -1148
- package/dist/layout/index.js +1 -1
- package/dist/layout/style.css +1712 -1712
- package/dist/listbox/index.js +2 -2
- package/dist/listbox/style.css +1306 -1306
- package/dist/loading/index.js +1 -1
- package/dist/loading/style.css +1528 -1528
- package/dist/locale/en-US.d.ts.map +1 -1
- package/dist/locale/types.d.ts +4 -0
- package/dist/locale/types.d.ts.map +1 -1
- package/dist/locale/zh-CN.d.ts.map +1 -1
- package/dist/{locale-Bzm2nbEp.js → locale-xavS6-Hw.js} +1 -1
- package/dist/mega-menu/index.js +3 -3
- package/dist/mega-menu/style.css +1245 -1245
- package/dist/menu/index.js +4 -4
- package/dist/menu/style.css +2001 -2001
- package/dist/menubar/index.js +3 -3
- package/dist/menubar/style.css +1423 -1423
- package/dist/message/index.js +3 -3
- package/dist/message/style.css +1398 -1398
- package/dist/meter-group/style.css +1199 -1199
- package/dist/order-list/index.js +1 -1
- package/dist/order-list/style.css +1148 -1148
- package/dist/page/index.js +70 -54
- package/dist/page/style.css +2803 -2767
- package/dist/pagination/index.js +1 -1
- package/dist/pagination/style.css +1445 -1445
- package/dist/panel/index.js +1 -1
- package/dist/panel/style.css +1148 -1148
- package/dist/pick-list/index.js +1 -1
- package/dist/pick-list/style.css +1148 -1148
- package/dist/popover/index.js +1 -1
- package/dist/popover/style.css +1242 -1242
- package/dist/progress-bar/style.css +1148 -1148
- package/dist/progress-spinner/index.js +1 -1
- package/dist/progress-spinner/style.css +1148 -1148
- package/dist/radio/index.js +1 -1
- package/dist/radio/style.css +1148 -1148
- package/dist/rating/index.js +2 -2
- package/dist/rating/style.css +1148 -1148
- package/dist/result/index.js +1 -1
- package/dist/result/style.css +1294 -1294
- package/dist/scroll-top/index.js +2 -2
- package/dist/scroll-top/style.css +1279 -1279
- package/dist/scrollbar/style.css +1281 -1281
- package/dist/select/index.js +1 -1
- package/dist/select/style.css +1901 -1901
- package/dist/select-button/index.js +1 -1
- package/dist/select-button/style.css +1255 -1255
- package/dist/shared/gap.d.ts +4 -1
- package/dist/shared/gap.d.ts.map +1 -1
- package/dist/shared/styles/control-affix-icon.css +110 -110
- package/dist/shared/styles/control-suffix.css +118 -118
- package/dist/shared/styles/select-overlay.css +175 -175
- package/dist/sidebar/index.js +1 -1
- package/dist/sidebar/style.css +1222 -1222
- package/dist/skeleton/style.css +1148 -1148
- package/dist/slider/index.js +2 -2
- package/dist/slider/style.css +1361 -1361
- package/dist/space/index.js +2 -2
- package/dist/space/style.css +1148 -1148
- package/dist/speed-dial/index.js +3 -3
- package/dist/speed-dial/style.css +1148 -1148
- package/dist/split-button/index.js +3 -3
- package/dist/split-button/style.css +2326 -2326
- package/dist/splitter/index.js +1 -1
- package/dist/splitter/style.css +1148 -1148
- package/dist/status/index.js +1 -1
- package/dist/status/style.css +1339 -1339
- package/dist/stepper/style.css +1283 -1283
- package/dist/styles/base.css +790 -790
- package/dist/styles.css +1 -1
- package/dist/switch/index.js +1 -1
- package/dist/switch/style.css +1279 -1279
- package/dist/table/index.js +249 -244
- package/dist/table/style.css +1840 -1812
- package/dist/tabs/index.js +1 -1
- package/dist/tabs/style.css +1410 -1410
- package/dist/tag/index.js +2 -2
- package/dist/tag/style.css +1148 -1148
- package/dist/terminal/index.js +1 -1
- package/dist/terminal/style.css +1224 -1224
- package/dist/textarea/index.js +2 -2
- package/dist/textarea/style.css +1274 -1274
- package/dist/theme/styles.css +358 -358
- package/dist/tiered-menu/index.js +3 -3
- package/dist/tiered-menu/style.css +1404 -1404
- package/dist/timeline/style.css +1438 -1438
- package/dist/toast/index.js +3 -3
- package/dist/toast/style.css +1148 -1148
- package/dist/toggle-button/index.js +1 -1
- package/dist/toggle-button/style.css +1148 -1148
- package/dist/toolbar/style.css +1148 -1148
- package/dist/tooltip/index.js +1 -1
- package/dist/tooltip/style.css +1148 -1148
- package/dist/tree/index.js +2 -2
- package/dist/tree/style.css +1148 -1148
- package/dist/tree-select/index.js +4 -4
- package/dist/tree-select/style.css +1843 -1843
- package/dist/tree-table/index.js +1 -1
- package/dist/tree-table/style.css +1245 -1245
- package/dist/{useMotionTransition-95Y79FoL.js → useMotionTransition-tW0yeJsy.js} +1 -1
- package/dist/virtual-scroller/style.css +1309 -1309
- package/dist/{vnode-C7Y1SjKB.js → vnode-CmdNQlN7.js} +18 -23
- package/package.json +1 -1
package/dist/theme/styles.css
CHANGED
|
@@ -1,358 +1,358 @@
|
|
|
1
|
-
:root {
|
|
2
|
-
--m-color-primary: #2563eb;
|
|
3
|
-
--m-color-primary-hover: #1d4ed8;
|
|
4
|
-
--m-color-surface: #ffffff;
|
|
5
|
-
--m-color-text: #0f172a;
|
|
6
|
-
--m-color-text-muted: #64748b;
|
|
7
|
-
--m-color-border: #e2e8f0;
|
|
8
|
-
--m-color-focus-ring: #2563eb;
|
|
9
|
-
/* Naive-inspired control sizing (tiny omitted; medium = default) */
|
|
10
|
-
--m-control-height-small: 28px;
|
|
11
|
-
--m-control-height-medium: 34px;
|
|
12
|
-
--m-control-height-large: 40px;
|
|
13
|
-
--m-control-font-small: 14px;
|
|
14
|
-
--m-control-font-medium: 14px;
|
|
15
|
-
--m-control-font-large: 15px;
|
|
16
|
-
--m-control-padding-x-small: 10px;
|
|
17
|
-
--m-control-padding-x-medium: 12px;
|
|
18
|
-
--m-control-padding-x-large: 14px;
|
|
19
|
-
|
|
20
|
-
--m-radius-control: 3px;
|
|
21
|
-
--m-border-width: 1px;
|
|
22
|
-
--m-focus-shadow: 0 0 0 2px
|
|
23
|
-
color-mix(in srgb, var(--m-color-primary) 20%, transparent);
|
|
24
|
-
--m-focus-shadow-danger: 0 0 0 2px
|
|
25
|
-
color-mix(in srgb, var(--m-color-danger) 20%, transparent);
|
|
26
|
-
--m-color-success: #159570;
|
|
27
|
-
--m-color-info: #2563eb;
|
|
28
|
-
--m-color-warning: #d97706;
|
|
29
|
-
--m-color-warn: var(--m-color-warning);
|
|
30
|
-
--m-color-help: #9333ea;
|
|
31
|
-
--m-color-danger: #dc2626;
|
|
32
|
-
--m-color-contrast: #0f172a;
|
|
33
|
-
--m-color-contrast-fg: #ffffff;
|
|
34
|
-
--m-color-contrast-hover: #1e293b;
|
|
35
|
-
--m-color-contrast-active: #020617;
|
|
36
|
-
--m-color-on-emphasis: #ffffff;
|
|
37
|
-
--m-overlay-scrim: rgb(15 23 42 / 0.55);
|
|
38
|
-
--m-shadow-sm: 0 1px 2px rgb(15 23 42 / 0.25);
|
|
39
|
-
--m-shadow-md: 0 0.75rem 2rem rgb(15 23 42 / 0.16);
|
|
40
|
-
--m-shadow-lg: 0 1rem 3rem rgb(15 23 42 / 0.25);
|
|
41
|
-
--m-shadow-raised: 0 0.25rem 0.75rem
|
|
42
|
-
color-mix(in srgb, var(--m-color-text) 14%, transparent);
|
|
43
|
-
--m-shadow-sticky: 4px 0 8px
|
|
44
|
-
color-mix(in srgb, var(--m-color-text) 6%, transparent);
|
|
45
|
-
--m-shadow-sticky-end: -4px 0 8px
|
|
46
|
-
color-mix(in srgb, var(--m-color-text) 6%, transparent);
|
|
47
|
-
|
|
48
|
-
/* Typography scale (component text, not control-height fonts) */
|
|
49
|
-
--m-font-size-xs: 0.75rem;
|
|
50
|
-
--m-font-size-sm: 0.8125rem;
|
|
51
|
-
--m-font-size-md: 0.875rem;
|
|
52
|
-
--m-font-size-lg: 1.125rem;
|
|
53
|
-
/* Display scale (page titles, KPI figures) */
|
|
54
|
-
--m-font-size-xl: 1.25rem;
|
|
55
|
-
--m-font-size-2xl: 1.5rem;
|
|
56
|
-
--m-font-size-3xl: 1.75rem;
|
|
57
|
-
--m-opacity-disabled: 0.55;
|
|
58
|
-
/* Layering: override --m-z-base via ConfigProvider / createMoryaUI */
|
|
59
|
-
--m-z-base: 1000;
|
|
60
|
-
--m-z-overlay: var(--m-z-base);
|
|
61
|
-
--m-z-overlay-raised: calc(var(--m-z-base) + 1);
|
|
62
|
-
--m-z-dropdown: calc(var(--m-z-base) + 50);
|
|
63
|
-
--m-z-tooltip: calc(var(--m-z-base) + 60);
|
|
64
|
-
--m-z-toast: calc(var(--m-z-base) + 100);
|
|
65
|
-
--m-z-popper: 40;
|
|
66
|
-
|
|
67
|
-
/* Affix hitbox tracks control height so small/compact shells do not overflow */
|
|
68
|
-
--m-control-affix-size: calc(
|
|
69
|
-
var(--m-control-height-medium) - 2 * var(--m-border-width)
|
|
70
|
-
);
|
|
71
|
-
--m-control-affix-gap: 2.35rem;
|
|
72
|
-
--m-control-affix-padding: 2.5rem;
|
|
73
|
-
--m-meter-track-height: var(--m-space-5);
|
|
74
|
-
--m-tree-toggler-size: var(--m-checkbox-control-size);
|
|
75
|
-
--m-nav-rail-width: 12.5rem;
|
|
76
|
-
--m-nav-rail-collapsed-width: 4rem;
|
|
77
|
-
--m-layout-header-height: calc(
|
|
78
|
-
var(--m-control-height-medium) + 2 * var(--m-space-3)
|
|
79
|
-
);
|
|
80
|
-
--m-layout-footer-height: calc(
|
|
81
|
-
var(--m-control-height-medium) + 2 * var(--m-space-2)
|
|
82
|
-
);
|
|
83
|
-
--m-space-1: 0.25rem;
|
|
84
|
-
--m-space-2: 0.5rem;
|
|
85
|
-
--m-space-3: 0.75rem;
|
|
86
|
-
--m-space-4: 1rem;
|
|
87
|
-
--m-space-5: 1.25rem;
|
|
88
|
-
--m-space-6: 1.5rem;
|
|
89
|
-
--m-space-8: 2rem;
|
|
90
|
-
--m-radius-sm: 0.25rem;
|
|
91
|
-
--m-radius-md: 0.5rem;
|
|
92
|
-
--m-radius-lg: 0.75rem;
|
|
93
|
-
--m-radius-full: 9999px;
|
|
94
|
-
--m-font-sans: Inter, ui-sans-serif, system-ui, sans-serif;
|
|
95
|
-
--m-motion-fast: 150ms;
|
|
96
|
-
--m-motion-normal: 250ms;
|
|
97
|
-
--m-motion-ease: cubic-bezier(0.2, 0, 0, 1);
|
|
98
|
-
--m-motion-enter: 180ms;
|
|
99
|
-
--m-motion-exit: 130ms;
|
|
100
|
-
--m-motion-distance: 1rem;
|
|
101
|
-
--m-motion-spin: 1s;
|
|
102
|
-
--m-motion-spin-dash: 1.5s;
|
|
103
|
-
--m-motion-spin-fast: 0.8s;
|
|
104
|
-
--m-motion-spin-medium: 0.7s;
|
|
105
|
-
--m-motion-skeleton: 1.4s;
|
|
106
|
-
--m-motion-pulse: 1.2s;
|
|
107
|
-
--m-motion-scrollbar-show: 340ms;
|
|
108
|
-
--m-motion-scrollbar-hide: 120ms;
|
|
109
|
-
--m-motion-loading-aurora: 3s;
|
|
110
|
-
--m-motion-loading-bounce: 0.6s;
|
|
111
|
-
--m-motion-loading-pulse: 1.8s;
|
|
112
|
-
--m-motion-loading-stardust: 1.6s;
|
|
113
|
-
--m-motion-loading-circular-rotate: 2s;
|
|
114
|
-
--m-dataview-grid-min: 10rem;
|
|
115
|
-
--m-tree-indent: 0.7rem;
|
|
116
|
-
--m-tree-indent-padding: var(--m-space-3);
|
|
117
|
-
--m-layout-trigger-bar-height: 4.5rem;
|
|
118
|
-
--m-layout-trigger-bar-offset: 1.75rem;
|
|
119
|
-
--m-layout-trigger-bar-width: 2rem;
|
|
120
|
-
--m-layout-trigger-bar-top: 2.25rem;
|
|
121
|
-
--m-timeline-event-min-height: 4rem;
|
|
122
|
-
--m-timeline-marker-size: 1.5rem;
|
|
123
|
-
--m-tag-font-size-small: var(--m-font-size-xs);
|
|
124
|
-
--m-slider-tooltip-offset: 1.5rem;
|
|
125
|
-
--m-slider-tooltip-padding-block: 0.15rem;
|
|
126
|
-
--m-slider-tooltip-padding-inline: 0.4rem;
|
|
127
|
-
--m-rating-star-size-small: 1rem;
|
|
128
|
-
--m-rating-star-size-medium: 1.25rem;
|
|
129
|
-
--m-rating-star-size-large: 1.5rem;
|
|
130
|
-
--m-rating-star-padding: 0.15rem;
|
|
131
|
-
--m-slider-marks-inset: 0.9rem;
|
|
132
|
-
--m-slider-marks-side: 0.5rem;
|
|
133
|
-
--m-stepper-connector-color: var(--m-color-border);
|
|
134
|
-
|
|
135
|
-
/* Table (Element Plus–aligned) */
|
|
136
|
-
--m-color-fill-light: color-mix(in srgb, var(--m-color-text) 6%, var(--m-color-surface));
|
|
137
|
-
--m-color-fill-lighter: color-mix(in srgb, var(--m-color-text) 3.5%, var(--m-color-surface));
|
|
138
|
-
--m-table-border-color: var(--m-color-border);
|
|
139
|
-
--m-table-header-bg: var(--m-color-fill-light);
|
|
140
|
-
--m-table-header-text: var(--m-color-text);
|
|
141
|
-
--m-table-text: var(--m-color-text);
|
|
142
|
-
--m-table-row-bg: var(--m-color-surface);
|
|
143
|
-
--m-table-row-hover-bg: var(--m-color-fill-light);
|
|
144
|
-
--m-table-row-striped-bg: var(--m-color-fill-lighter);
|
|
145
|
-
--m-table-row-current-bg: color-mix(in srgb, var(--m-color-primary) 10%, var(--m-color-surface));
|
|
146
|
-
--m-table-row-selected-bg: color-mix(in srgb, var(--m-color-primary) 14%, var(--m-color-surface));
|
|
147
|
-
--m-table-expanded-bg: var(--m-color-fill-lighter);
|
|
148
|
-
--m-table-font-size: var(--m-font-size-md);
|
|
149
|
-
--m-table-row-height: 40px;
|
|
150
|
-
--m-table-cell-line-height: 23px;
|
|
151
|
-
--m-table-cell-padding-inline: 12px;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
:root[data-m-motion="reduced"] {
|
|
155
|
-
--m-motion-fast: 80ms;
|
|
156
|
-
--m-motion-normal: 120ms;
|
|
157
|
-
--m-motion-enter: 100ms;
|
|
158
|
-
--m-motion-exit: 80ms;
|
|
159
|
-
--m-motion-distance: 0;
|
|
160
|
-
/* Looping indicators: keep a short pulse so state is still perceptible */
|
|
161
|
-
--m-motion-spin: 0ms;
|
|
162
|
-
--m-motion-spin-dash: 0ms;
|
|
163
|
-
--m-motion-spin-fast: 0ms;
|
|
164
|
-
--m-motion-spin-medium: 0ms;
|
|
165
|
-
--m-motion-skeleton: 0ms;
|
|
166
|
-
--m-motion-pulse: 0ms;
|
|
167
|
-
--m-motion-scrollbar-show: 160ms;
|
|
168
|
-
--m-motion-scrollbar-hide: 80ms;
|
|
169
|
-
--m-motion-loading-aurora: 0ms;
|
|
170
|
-
--m-motion-loading-bounce: 0ms;
|
|
171
|
-
--m-motion-loading-pulse: 0ms;
|
|
172
|
-
--m-motion-loading-stardust: 0ms;
|
|
173
|
-
--m-motion-loading-circular-rotate: 0ms;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
:root[data-m-motion="none"] {
|
|
177
|
-
--m-motion-fast: 0ms;
|
|
178
|
-
--m-motion-normal: 0ms;
|
|
179
|
-
--m-motion-enter: 0ms;
|
|
180
|
-
--m-motion-exit: 0ms;
|
|
181
|
-
--m-motion-distance: 0;
|
|
182
|
-
--m-motion-spin: 0ms;
|
|
183
|
-
--m-motion-spin-dash: 0ms;
|
|
184
|
-
--m-motion-spin-fast: 0ms;
|
|
185
|
-
--m-motion-spin-medium: 0ms;
|
|
186
|
-
--m-motion-skeleton: 0ms;
|
|
187
|
-
--m-motion-pulse: 0ms;
|
|
188
|
-
--m-motion-scrollbar-show: 0ms;
|
|
189
|
-
--m-motion-scrollbar-hide: 0ms;
|
|
190
|
-
--m-motion-loading-aurora: 0ms;
|
|
191
|
-
--m-motion-loading-bounce: 0ms;
|
|
192
|
-
--m-motion-loading-pulse: 0ms;
|
|
193
|
-
--m-motion-loading-stardust: 0ms;
|
|
194
|
-
--m-motion-loading-circular-rotate: 0ms;
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
/*
|
|
198
|
-
* Global motion policy (complements per-component rules):
|
|
199
|
-
* - `reduced`: keep short paint transitions; stop loops
|
|
200
|
-
* and layout/transform size animation.
|
|
201
|
-
* - `none`: zero all transition/animation durations.
|
|
202
|
-
*/
|
|
203
|
-
|
|
204
|
-
[data-m-motion="reduced"] *,
|
|
205
|
-
[data-m-motion="reduced"] *::before,
|
|
206
|
-
[data-m-motion="reduced"] *::after {
|
|
207
|
-
animation-duration: 0.01ms !important;
|
|
208
|
-
animation-iteration-count: 1 !important;
|
|
209
|
-
transition-property: background-color, border-color, color, opacity, box-shadow, outline,
|
|
210
|
-
fill, stroke, stroke-dashoffset !important;
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
[data-m-motion="none"] *,
|
|
214
|
-
[data-m-motion="none"] *::before,
|
|
215
|
-
[data-m-motion="none"] *::after {
|
|
216
|
-
animation-duration: 0.01ms !important;
|
|
217
|
-
animation-iteration-count: 1 !important;
|
|
218
|
-
transition-duration: 0.01ms !important;
|
|
219
|
-
scroll-behavior: auto !important;
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
/* Off-screen looping indicators (usePauseOffscreen → data-m-anim-paused) */
|
|
223
|
-
[data-m-anim-paused],
|
|
224
|
-
[data-m-anim-paused]::before,
|
|
225
|
-
[data-m-anim-paused]::after,
|
|
226
|
-
[data-m-anim-paused] *,
|
|
227
|
-
[data-m-anim-paused] *::before,
|
|
228
|
-
[data-m-anim-paused] *::after {
|
|
229
|
-
animation-play-state: paused !important;
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
/* Global density: scales spacing + control heights (Vuetify-inspired, WD tokens) */
|
|
233
|
-
:root,
|
|
234
|
-
[data-m-density="comfortable"] {
|
|
235
|
-
--m-density-scale: 1;
|
|
236
|
-
--m-menu-item-height: calc(var(--m-control-height-medium) + var(--m-space-2));
|
|
237
|
-
--m-checkbox-control-size: 1.125rem;
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
[data-m-density="compact"] {
|
|
241
|
-
--m-menu-item-height: calc(var(--m-control-height-medium) + var(--m-space-1));
|
|
242
|
-
--m-control-affix-padding: 2.15rem;
|
|
243
|
-
--m-control-affix-gap: 2rem;
|
|
244
|
-
--m-checkbox-control-size: 1rem;
|
|
245
|
-
--m-nav-rail-width: 15rem;
|
|
246
|
-
--m-nav-rail-collapsed-width: 3.25rem;
|
|
247
|
-
--m-space-1: 0.2rem;
|
|
248
|
-
--m-space-2: 0.4rem;
|
|
249
|
-
--m-space-3: 0.6rem;
|
|
250
|
-
--m-space-4: 0.85rem;
|
|
251
|
-
--m-space-5: 1.05rem;
|
|
252
|
-
--m-space-6: 1.25rem;
|
|
253
|
-
--m-space-8: 1.7rem;
|
|
254
|
-
--m-control-height-small: 24px;
|
|
255
|
-
--m-control-height-medium: 28px;
|
|
256
|
-
--m-control-height-large: 34px;
|
|
257
|
-
--m-control-font-small: 13px;
|
|
258
|
-
--m-control-font-medium: 13px;
|
|
259
|
-
--m-control-font-large: 14px;
|
|
260
|
-
--m-control-padding-x-small: 8px;
|
|
261
|
-
--m-control-padding-x-medium: 10px;
|
|
262
|
-
--m-control-padding-x-large: 12px;
|
|
263
|
-
--m-table-row-height: 36px;
|
|
264
|
-
--m-table-cell-line-height: 20px;
|
|
265
|
-
--m-table-cell-padding-inline: 10px;
|
|
266
|
-
--m-table-font-size: var(--m-font-size-sm);
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
[data-m-density="spacious"] {
|
|
270
|
-
--m-menu-item-height: calc(var(--m-control-height-medium) + var(--m-space-3));
|
|
271
|
-
--m-control-affix-padding: 2.85rem;
|
|
272
|
-
--m-control-affix-gap: 2.65rem;
|
|
273
|
-
--m-checkbox-control-size: 1.25rem;
|
|
274
|
-
--m-nav-rail-width: 18rem;
|
|
275
|
-
--m-nav-rail-collapsed-width: 4.5rem;
|
|
276
|
-
--m-space-1: 0.3rem;
|
|
277
|
-
--m-space-2: 0.6rem;
|
|
278
|
-
--m-space-3: 0.9rem;
|
|
279
|
-
--m-space-4: 1.15rem;
|
|
280
|
-
--m-space-5: 1.45rem;
|
|
281
|
-
--m-space-6: 1.75rem;
|
|
282
|
-
--m-space-8: 2.35rem;
|
|
283
|
-
--m-control-height-small: 32px;
|
|
284
|
-
--m-control-height-medium: 40px;
|
|
285
|
-
--m-control-height-large: 46px;
|
|
286
|
-
--m-control-font-small: 14px;
|
|
287
|
-
--m-control-font-medium: 15px;
|
|
288
|
-
--m-control-font-large: 16px;
|
|
289
|
-
--m-control-padding-x-small: 12px;
|
|
290
|
-
--m-control-padding-x-medium: 14px;
|
|
291
|
-
--m-control-padding-x-large: 16px;
|
|
292
|
-
--m-table-row-height: 48px;
|
|
293
|
-
--m-table-cell-line-height: 26px;
|
|
294
|
-
--m-table-cell-padding-inline: 16px;
|
|
295
|
-
--m-table-font-size: 1rem;
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
[data-m-density="compact"] .m-layout-header {
|
|
299
|
-
--m-layout-header-height: 3rem;
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
[data-m-density="compact"] .m-layout-footer {
|
|
303
|
-
--m-layout-footer-height: 2.5rem;
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
[data-m-density="spacious"] .m-layout-header {
|
|
307
|
-
--m-layout-header-height: 4rem;
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
[data-m-density="spacious"] .m-layout-footer {
|
|
311
|
-
--m-layout-footer-height: 3.5rem;
|
|
312
|
-
}
|
|
313
|
-
|
|
314
|
-
[data-theme="dark"] {
|
|
315
|
-
--m-color-primary: #60a5fa;
|
|
316
|
-
--m-color-primary-hover: #93c5fd;
|
|
317
|
-
--m-color-surface: #0f172a;
|
|
318
|
-
--m-color-text: #f8fafc;
|
|
319
|
-
--m-color-text-muted: #94a3b8;
|
|
320
|
-
--m-color-border: #334155;
|
|
321
|
-
--m-color-focus-ring: #93c5fd;
|
|
322
|
-
--m-focus-shadow: 0 0 0 2px
|
|
323
|
-
color-mix(in srgb, var(--m-color-primary) 28%, transparent);
|
|
324
|
-
--m-focus-shadow-danger: 0 0 0 2px
|
|
325
|
-
color-mix(in srgb, var(--m-color-danger) 28%, transparent);
|
|
326
|
-
/* Mid solids: keep ≥~4.5:1 with --m-color-on-emphasis on dark surfaces */
|
|
327
|
-
--m-color-success: #0f766e;
|
|
328
|
-
--m-color-info: #1d4ed8;
|
|
329
|
-
--m-color-warning: #b45309;
|
|
330
|
-
--m-color-warn: var(--m-color-warning);
|
|
331
|
-
--m-color-help: #7e22ce;
|
|
332
|
-
--m-color-danger: #dc2626;
|
|
333
|
-
--m-color-contrast: #f8fafc;
|
|
334
|
-
--m-color-contrast-fg: #0f172a;
|
|
335
|
-
--m-color-contrast-hover: #e2e8f0;
|
|
336
|
-
--m-color-contrast-active: #cbd5e1;
|
|
337
|
-
--m-overlay-scrim: rgb(2 6 23 / 0.72);
|
|
338
|
-
--m-shadow-sm: 0 1px 2px rgb(0 0 0 / 0.45);
|
|
339
|
-
--m-shadow-md: 0 0.75rem 2rem rgb(0 0 0 / 0.45);
|
|
340
|
-
--m-shadow-lg: 0 1rem 3rem rgb(0 0 0 / 0.55);
|
|
341
|
-
--m-shadow-raised: 0 0.25rem 0.75rem
|
|
342
|
-
color-mix(in srgb, var(--m-color-text) 22%, transparent);
|
|
343
|
-
--m-shadow-sticky: 4px 0 8px
|
|
344
|
-
color-mix(in srgb, #000 35%, transparent);
|
|
345
|
-
--m-shadow-sticky-end: -4px 0 8px
|
|
346
|
-
color-mix(in srgb, #000 35%, transparent);
|
|
347
|
-
|
|
348
|
-
--m-table-border-color: color-mix(in srgb, var(--m-color-border) 88%, var(--m-color-text));
|
|
349
|
-
--m-color-fill-light: color-mix(in srgb, var(--m-color-text) 10%, var(--m-color-surface));
|
|
350
|
-
--m-color-fill-lighter: color-mix(in srgb, var(--m-color-text) 6%, var(--m-color-surface));
|
|
351
|
-
--m-table-header-bg: var(--m-color-fill-light);
|
|
352
|
-
--m-table-row-bg: var(--m-color-surface);
|
|
353
|
-
--m-table-row-hover-bg: color-mix(in srgb, var(--m-color-text) 8%, var(--m-color-surface));
|
|
354
|
-
--m-table-row-striped-bg: var(--m-color-fill-lighter);
|
|
355
|
-
--m-table-row-current-bg: color-mix(in srgb, var(--m-color-primary) 16%, var(--m-color-surface));
|
|
356
|
-
--m-table-row-selected-bg: color-mix(in srgb, var(--m-color-primary) 20%, var(--m-color-surface));
|
|
357
|
-
--m-table-expanded-bg: var(--m-color-fill-lighter);
|
|
358
|
-
}
|
|
1
|
+
:root {
|
|
2
|
+
--m-color-primary: #2563eb;
|
|
3
|
+
--m-color-primary-hover: #1d4ed8;
|
|
4
|
+
--m-color-surface: #ffffff;
|
|
5
|
+
--m-color-text: #0f172a;
|
|
6
|
+
--m-color-text-muted: #64748b;
|
|
7
|
+
--m-color-border: #e2e8f0;
|
|
8
|
+
--m-color-focus-ring: #2563eb;
|
|
9
|
+
/* Naive-inspired control sizing (tiny omitted; medium = default) */
|
|
10
|
+
--m-control-height-small: 28px;
|
|
11
|
+
--m-control-height-medium: 34px;
|
|
12
|
+
--m-control-height-large: 40px;
|
|
13
|
+
--m-control-font-small: 14px;
|
|
14
|
+
--m-control-font-medium: 14px;
|
|
15
|
+
--m-control-font-large: 15px;
|
|
16
|
+
--m-control-padding-x-small: 10px;
|
|
17
|
+
--m-control-padding-x-medium: 12px;
|
|
18
|
+
--m-control-padding-x-large: 14px;
|
|
19
|
+
|
|
20
|
+
--m-radius-control: 3px;
|
|
21
|
+
--m-border-width: 1px;
|
|
22
|
+
--m-focus-shadow: 0 0 0 2px
|
|
23
|
+
color-mix(in srgb, var(--m-color-primary) 20%, transparent);
|
|
24
|
+
--m-focus-shadow-danger: 0 0 0 2px
|
|
25
|
+
color-mix(in srgb, var(--m-color-danger) 20%, transparent);
|
|
26
|
+
--m-color-success: #159570;
|
|
27
|
+
--m-color-info: #2563eb;
|
|
28
|
+
--m-color-warning: #d97706;
|
|
29
|
+
--m-color-warn: var(--m-color-warning);
|
|
30
|
+
--m-color-help: #9333ea;
|
|
31
|
+
--m-color-danger: #dc2626;
|
|
32
|
+
--m-color-contrast: #0f172a;
|
|
33
|
+
--m-color-contrast-fg: #ffffff;
|
|
34
|
+
--m-color-contrast-hover: #1e293b;
|
|
35
|
+
--m-color-contrast-active: #020617;
|
|
36
|
+
--m-color-on-emphasis: #ffffff;
|
|
37
|
+
--m-overlay-scrim: rgb(15 23 42 / 0.55);
|
|
38
|
+
--m-shadow-sm: 0 1px 2px rgb(15 23 42 / 0.25);
|
|
39
|
+
--m-shadow-md: 0 0.75rem 2rem rgb(15 23 42 / 0.16);
|
|
40
|
+
--m-shadow-lg: 0 1rem 3rem rgb(15 23 42 / 0.25);
|
|
41
|
+
--m-shadow-raised: 0 0.25rem 0.75rem
|
|
42
|
+
color-mix(in srgb, var(--m-color-text) 14%, transparent);
|
|
43
|
+
--m-shadow-sticky: 4px 0 8px
|
|
44
|
+
color-mix(in srgb, var(--m-color-text) 6%, transparent);
|
|
45
|
+
--m-shadow-sticky-end: -4px 0 8px
|
|
46
|
+
color-mix(in srgb, var(--m-color-text) 6%, transparent);
|
|
47
|
+
|
|
48
|
+
/* Typography scale (component text, not control-height fonts) */
|
|
49
|
+
--m-font-size-xs: 0.75rem;
|
|
50
|
+
--m-font-size-sm: 0.8125rem;
|
|
51
|
+
--m-font-size-md: 0.875rem;
|
|
52
|
+
--m-font-size-lg: 1.125rem;
|
|
53
|
+
/* Display scale (page titles, KPI figures) */
|
|
54
|
+
--m-font-size-xl: 1.25rem;
|
|
55
|
+
--m-font-size-2xl: 1.5rem;
|
|
56
|
+
--m-font-size-3xl: 1.75rem;
|
|
57
|
+
--m-opacity-disabled: 0.55;
|
|
58
|
+
/* Layering: override --m-z-base via ConfigProvider / createMoryaUI */
|
|
59
|
+
--m-z-base: 1000;
|
|
60
|
+
--m-z-overlay: var(--m-z-base);
|
|
61
|
+
--m-z-overlay-raised: calc(var(--m-z-base) + 1);
|
|
62
|
+
--m-z-dropdown: calc(var(--m-z-base) + 50);
|
|
63
|
+
--m-z-tooltip: calc(var(--m-z-base) + 60);
|
|
64
|
+
--m-z-toast: calc(var(--m-z-base) + 100);
|
|
65
|
+
--m-z-popper: 40;
|
|
66
|
+
|
|
67
|
+
/* Affix hitbox tracks control height so small/compact shells do not overflow */
|
|
68
|
+
--m-control-affix-size: calc(
|
|
69
|
+
var(--m-control-height-medium) - 2 * var(--m-border-width)
|
|
70
|
+
);
|
|
71
|
+
--m-control-affix-gap: 2.35rem;
|
|
72
|
+
--m-control-affix-padding: 2.5rem;
|
|
73
|
+
--m-meter-track-height: var(--m-space-5);
|
|
74
|
+
--m-tree-toggler-size: var(--m-checkbox-control-size);
|
|
75
|
+
--m-nav-rail-width: 12.5rem;
|
|
76
|
+
--m-nav-rail-collapsed-width: 4rem;
|
|
77
|
+
--m-layout-header-height: calc(
|
|
78
|
+
var(--m-control-height-medium) + 2 * var(--m-space-3)
|
|
79
|
+
);
|
|
80
|
+
--m-layout-footer-height: calc(
|
|
81
|
+
var(--m-control-height-medium) + 2 * var(--m-space-2)
|
|
82
|
+
);
|
|
83
|
+
--m-space-1: 0.25rem;
|
|
84
|
+
--m-space-2: 0.5rem;
|
|
85
|
+
--m-space-3: 0.75rem;
|
|
86
|
+
--m-space-4: 1rem;
|
|
87
|
+
--m-space-5: 1.25rem;
|
|
88
|
+
--m-space-6: 1.5rem;
|
|
89
|
+
--m-space-8: 2rem;
|
|
90
|
+
--m-radius-sm: 0.25rem;
|
|
91
|
+
--m-radius-md: 0.5rem;
|
|
92
|
+
--m-radius-lg: 0.75rem;
|
|
93
|
+
--m-radius-full: 9999px;
|
|
94
|
+
--m-font-sans: Inter, ui-sans-serif, system-ui, sans-serif;
|
|
95
|
+
--m-motion-fast: 150ms;
|
|
96
|
+
--m-motion-normal: 250ms;
|
|
97
|
+
--m-motion-ease: cubic-bezier(0.2, 0, 0, 1);
|
|
98
|
+
--m-motion-enter: 180ms;
|
|
99
|
+
--m-motion-exit: 130ms;
|
|
100
|
+
--m-motion-distance: 1rem;
|
|
101
|
+
--m-motion-spin: 1s;
|
|
102
|
+
--m-motion-spin-dash: 1.5s;
|
|
103
|
+
--m-motion-spin-fast: 0.8s;
|
|
104
|
+
--m-motion-spin-medium: 0.7s;
|
|
105
|
+
--m-motion-skeleton: 1.4s;
|
|
106
|
+
--m-motion-pulse: 1.2s;
|
|
107
|
+
--m-motion-scrollbar-show: 340ms;
|
|
108
|
+
--m-motion-scrollbar-hide: 120ms;
|
|
109
|
+
--m-motion-loading-aurora: 3s;
|
|
110
|
+
--m-motion-loading-bounce: 0.6s;
|
|
111
|
+
--m-motion-loading-pulse: 1.8s;
|
|
112
|
+
--m-motion-loading-stardust: 1.6s;
|
|
113
|
+
--m-motion-loading-circular-rotate: 2s;
|
|
114
|
+
--m-dataview-grid-min: 10rem;
|
|
115
|
+
--m-tree-indent: 0.7rem;
|
|
116
|
+
--m-tree-indent-padding: var(--m-space-3);
|
|
117
|
+
--m-layout-trigger-bar-height: 4.5rem;
|
|
118
|
+
--m-layout-trigger-bar-offset: 1.75rem;
|
|
119
|
+
--m-layout-trigger-bar-width: 2rem;
|
|
120
|
+
--m-layout-trigger-bar-top: 2.25rem;
|
|
121
|
+
--m-timeline-event-min-height: 4rem;
|
|
122
|
+
--m-timeline-marker-size: 1.5rem;
|
|
123
|
+
--m-tag-font-size-small: var(--m-font-size-xs);
|
|
124
|
+
--m-slider-tooltip-offset: 1.5rem;
|
|
125
|
+
--m-slider-tooltip-padding-block: 0.15rem;
|
|
126
|
+
--m-slider-tooltip-padding-inline: 0.4rem;
|
|
127
|
+
--m-rating-star-size-small: 1rem;
|
|
128
|
+
--m-rating-star-size-medium: 1.25rem;
|
|
129
|
+
--m-rating-star-size-large: 1.5rem;
|
|
130
|
+
--m-rating-star-padding: 0.15rem;
|
|
131
|
+
--m-slider-marks-inset: 0.9rem;
|
|
132
|
+
--m-slider-marks-side: 0.5rem;
|
|
133
|
+
--m-stepper-connector-color: var(--m-color-border);
|
|
134
|
+
|
|
135
|
+
/* Table (Element Plus–aligned) */
|
|
136
|
+
--m-color-fill-light: color-mix(in srgb, var(--m-color-text) 6%, var(--m-color-surface));
|
|
137
|
+
--m-color-fill-lighter: color-mix(in srgb, var(--m-color-text) 3.5%, var(--m-color-surface));
|
|
138
|
+
--m-table-border-color: var(--m-color-border);
|
|
139
|
+
--m-table-header-bg: var(--m-color-fill-light);
|
|
140
|
+
--m-table-header-text: var(--m-color-text);
|
|
141
|
+
--m-table-text: var(--m-color-text);
|
|
142
|
+
--m-table-row-bg: var(--m-color-surface);
|
|
143
|
+
--m-table-row-hover-bg: var(--m-color-fill-light);
|
|
144
|
+
--m-table-row-striped-bg: var(--m-color-fill-lighter);
|
|
145
|
+
--m-table-row-current-bg: color-mix(in srgb, var(--m-color-primary) 10%, var(--m-color-surface));
|
|
146
|
+
--m-table-row-selected-bg: color-mix(in srgb, var(--m-color-primary) 14%, var(--m-color-surface));
|
|
147
|
+
--m-table-expanded-bg: var(--m-color-fill-lighter);
|
|
148
|
+
--m-table-font-size: var(--m-font-size-md);
|
|
149
|
+
--m-table-row-height: 40px;
|
|
150
|
+
--m-table-cell-line-height: 23px;
|
|
151
|
+
--m-table-cell-padding-inline: 12px;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
:root[data-m-motion="reduced"] {
|
|
155
|
+
--m-motion-fast: 80ms;
|
|
156
|
+
--m-motion-normal: 120ms;
|
|
157
|
+
--m-motion-enter: 100ms;
|
|
158
|
+
--m-motion-exit: 80ms;
|
|
159
|
+
--m-motion-distance: 0;
|
|
160
|
+
/* Looping indicators: keep a short pulse so state is still perceptible */
|
|
161
|
+
--m-motion-spin: 0ms;
|
|
162
|
+
--m-motion-spin-dash: 0ms;
|
|
163
|
+
--m-motion-spin-fast: 0ms;
|
|
164
|
+
--m-motion-spin-medium: 0ms;
|
|
165
|
+
--m-motion-skeleton: 0ms;
|
|
166
|
+
--m-motion-pulse: 0ms;
|
|
167
|
+
--m-motion-scrollbar-show: 160ms;
|
|
168
|
+
--m-motion-scrollbar-hide: 80ms;
|
|
169
|
+
--m-motion-loading-aurora: 0ms;
|
|
170
|
+
--m-motion-loading-bounce: 0ms;
|
|
171
|
+
--m-motion-loading-pulse: 0ms;
|
|
172
|
+
--m-motion-loading-stardust: 0ms;
|
|
173
|
+
--m-motion-loading-circular-rotate: 0ms;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
:root[data-m-motion="none"] {
|
|
177
|
+
--m-motion-fast: 0ms;
|
|
178
|
+
--m-motion-normal: 0ms;
|
|
179
|
+
--m-motion-enter: 0ms;
|
|
180
|
+
--m-motion-exit: 0ms;
|
|
181
|
+
--m-motion-distance: 0;
|
|
182
|
+
--m-motion-spin: 0ms;
|
|
183
|
+
--m-motion-spin-dash: 0ms;
|
|
184
|
+
--m-motion-spin-fast: 0ms;
|
|
185
|
+
--m-motion-spin-medium: 0ms;
|
|
186
|
+
--m-motion-skeleton: 0ms;
|
|
187
|
+
--m-motion-pulse: 0ms;
|
|
188
|
+
--m-motion-scrollbar-show: 0ms;
|
|
189
|
+
--m-motion-scrollbar-hide: 0ms;
|
|
190
|
+
--m-motion-loading-aurora: 0ms;
|
|
191
|
+
--m-motion-loading-bounce: 0ms;
|
|
192
|
+
--m-motion-loading-pulse: 0ms;
|
|
193
|
+
--m-motion-loading-stardust: 0ms;
|
|
194
|
+
--m-motion-loading-circular-rotate: 0ms;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
/*
|
|
198
|
+
* Global motion policy (complements per-component rules):
|
|
199
|
+
* - `reduced`: keep short paint transitions; stop loops
|
|
200
|
+
* and layout/transform size animation.
|
|
201
|
+
* - `none`: zero all transition/animation durations.
|
|
202
|
+
*/
|
|
203
|
+
|
|
204
|
+
[data-m-motion="reduced"] *,
|
|
205
|
+
[data-m-motion="reduced"] *::before,
|
|
206
|
+
[data-m-motion="reduced"] *::after {
|
|
207
|
+
animation-duration: 0.01ms !important;
|
|
208
|
+
animation-iteration-count: 1 !important;
|
|
209
|
+
transition-property: background-color, border-color, color, opacity, box-shadow, outline,
|
|
210
|
+
fill, stroke, stroke-dashoffset !important;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
[data-m-motion="none"] *,
|
|
214
|
+
[data-m-motion="none"] *::before,
|
|
215
|
+
[data-m-motion="none"] *::after {
|
|
216
|
+
animation-duration: 0.01ms !important;
|
|
217
|
+
animation-iteration-count: 1 !important;
|
|
218
|
+
transition-duration: 0.01ms !important;
|
|
219
|
+
scroll-behavior: auto !important;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
/* Off-screen looping indicators (usePauseOffscreen → data-m-anim-paused) */
|
|
223
|
+
[data-m-anim-paused],
|
|
224
|
+
[data-m-anim-paused]::before,
|
|
225
|
+
[data-m-anim-paused]::after,
|
|
226
|
+
[data-m-anim-paused] *,
|
|
227
|
+
[data-m-anim-paused] *::before,
|
|
228
|
+
[data-m-anim-paused] *::after {
|
|
229
|
+
animation-play-state: paused !important;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
/* Global density: scales spacing + control heights (Vuetify-inspired, WD tokens) */
|
|
233
|
+
:root,
|
|
234
|
+
[data-m-density="comfortable"] {
|
|
235
|
+
--m-density-scale: 1;
|
|
236
|
+
--m-menu-item-height: calc(var(--m-control-height-medium) + var(--m-space-2));
|
|
237
|
+
--m-checkbox-control-size: 1.125rem;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
[data-m-density="compact"] {
|
|
241
|
+
--m-menu-item-height: calc(var(--m-control-height-medium) + var(--m-space-1));
|
|
242
|
+
--m-control-affix-padding: 2.15rem;
|
|
243
|
+
--m-control-affix-gap: 2rem;
|
|
244
|
+
--m-checkbox-control-size: 1rem;
|
|
245
|
+
--m-nav-rail-width: 15rem;
|
|
246
|
+
--m-nav-rail-collapsed-width: 3.25rem;
|
|
247
|
+
--m-space-1: 0.2rem;
|
|
248
|
+
--m-space-2: 0.4rem;
|
|
249
|
+
--m-space-3: 0.6rem;
|
|
250
|
+
--m-space-4: 0.85rem;
|
|
251
|
+
--m-space-5: 1.05rem;
|
|
252
|
+
--m-space-6: 1.25rem;
|
|
253
|
+
--m-space-8: 1.7rem;
|
|
254
|
+
--m-control-height-small: 24px;
|
|
255
|
+
--m-control-height-medium: 28px;
|
|
256
|
+
--m-control-height-large: 34px;
|
|
257
|
+
--m-control-font-small: 13px;
|
|
258
|
+
--m-control-font-medium: 13px;
|
|
259
|
+
--m-control-font-large: 14px;
|
|
260
|
+
--m-control-padding-x-small: 8px;
|
|
261
|
+
--m-control-padding-x-medium: 10px;
|
|
262
|
+
--m-control-padding-x-large: 12px;
|
|
263
|
+
--m-table-row-height: 36px;
|
|
264
|
+
--m-table-cell-line-height: 20px;
|
|
265
|
+
--m-table-cell-padding-inline: 10px;
|
|
266
|
+
--m-table-font-size: var(--m-font-size-sm);
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
[data-m-density="spacious"] {
|
|
270
|
+
--m-menu-item-height: calc(var(--m-control-height-medium) + var(--m-space-3));
|
|
271
|
+
--m-control-affix-padding: 2.85rem;
|
|
272
|
+
--m-control-affix-gap: 2.65rem;
|
|
273
|
+
--m-checkbox-control-size: 1.25rem;
|
|
274
|
+
--m-nav-rail-width: 18rem;
|
|
275
|
+
--m-nav-rail-collapsed-width: 4.5rem;
|
|
276
|
+
--m-space-1: 0.3rem;
|
|
277
|
+
--m-space-2: 0.6rem;
|
|
278
|
+
--m-space-3: 0.9rem;
|
|
279
|
+
--m-space-4: 1.15rem;
|
|
280
|
+
--m-space-5: 1.45rem;
|
|
281
|
+
--m-space-6: 1.75rem;
|
|
282
|
+
--m-space-8: 2.35rem;
|
|
283
|
+
--m-control-height-small: 32px;
|
|
284
|
+
--m-control-height-medium: 40px;
|
|
285
|
+
--m-control-height-large: 46px;
|
|
286
|
+
--m-control-font-small: 14px;
|
|
287
|
+
--m-control-font-medium: 15px;
|
|
288
|
+
--m-control-font-large: 16px;
|
|
289
|
+
--m-control-padding-x-small: 12px;
|
|
290
|
+
--m-control-padding-x-medium: 14px;
|
|
291
|
+
--m-control-padding-x-large: 16px;
|
|
292
|
+
--m-table-row-height: 48px;
|
|
293
|
+
--m-table-cell-line-height: 26px;
|
|
294
|
+
--m-table-cell-padding-inline: 16px;
|
|
295
|
+
--m-table-font-size: 1rem;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
[data-m-density="compact"] .m-layout-header {
|
|
299
|
+
--m-layout-header-height: 3rem;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
[data-m-density="compact"] .m-layout-footer {
|
|
303
|
+
--m-layout-footer-height: 2.5rem;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
[data-m-density="spacious"] .m-layout-header {
|
|
307
|
+
--m-layout-header-height: 4rem;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
[data-m-density="spacious"] .m-layout-footer {
|
|
311
|
+
--m-layout-footer-height: 3.5rem;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
[data-theme="dark"] {
|
|
315
|
+
--m-color-primary: #60a5fa;
|
|
316
|
+
--m-color-primary-hover: #93c5fd;
|
|
317
|
+
--m-color-surface: #0f172a;
|
|
318
|
+
--m-color-text: #f8fafc;
|
|
319
|
+
--m-color-text-muted: #94a3b8;
|
|
320
|
+
--m-color-border: #334155;
|
|
321
|
+
--m-color-focus-ring: #93c5fd;
|
|
322
|
+
--m-focus-shadow: 0 0 0 2px
|
|
323
|
+
color-mix(in srgb, var(--m-color-primary) 28%, transparent);
|
|
324
|
+
--m-focus-shadow-danger: 0 0 0 2px
|
|
325
|
+
color-mix(in srgb, var(--m-color-danger) 28%, transparent);
|
|
326
|
+
/* Mid solids: keep ≥~4.5:1 with --m-color-on-emphasis on dark surfaces */
|
|
327
|
+
--m-color-success: #0f766e;
|
|
328
|
+
--m-color-info: #1d4ed8;
|
|
329
|
+
--m-color-warning: #b45309;
|
|
330
|
+
--m-color-warn: var(--m-color-warning);
|
|
331
|
+
--m-color-help: #7e22ce;
|
|
332
|
+
--m-color-danger: #dc2626;
|
|
333
|
+
--m-color-contrast: #f8fafc;
|
|
334
|
+
--m-color-contrast-fg: #0f172a;
|
|
335
|
+
--m-color-contrast-hover: #e2e8f0;
|
|
336
|
+
--m-color-contrast-active: #cbd5e1;
|
|
337
|
+
--m-overlay-scrim: rgb(2 6 23 / 0.72);
|
|
338
|
+
--m-shadow-sm: 0 1px 2px rgb(0 0 0 / 0.45);
|
|
339
|
+
--m-shadow-md: 0 0.75rem 2rem rgb(0 0 0 / 0.45);
|
|
340
|
+
--m-shadow-lg: 0 1rem 3rem rgb(0 0 0 / 0.55);
|
|
341
|
+
--m-shadow-raised: 0 0.25rem 0.75rem
|
|
342
|
+
color-mix(in srgb, var(--m-color-text) 22%, transparent);
|
|
343
|
+
--m-shadow-sticky: 4px 0 8px
|
|
344
|
+
color-mix(in srgb, #000 35%, transparent);
|
|
345
|
+
--m-shadow-sticky-end: -4px 0 8px
|
|
346
|
+
color-mix(in srgb, #000 35%, transparent);
|
|
347
|
+
|
|
348
|
+
--m-table-border-color: color-mix(in srgb, var(--m-color-border) 88%, var(--m-color-text));
|
|
349
|
+
--m-color-fill-light: color-mix(in srgb, var(--m-color-text) 10%, var(--m-color-surface));
|
|
350
|
+
--m-color-fill-lighter: color-mix(in srgb, var(--m-color-text) 6%, var(--m-color-surface));
|
|
351
|
+
--m-table-header-bg: var(--m-color-fill-light);
|
|
352
|
+
--m-table-row-bg: var(--m-color-surface);
|
|
353
|
+
--m-table-row-hover-bg: color-mix(in srgb, var(--m-color-text) 8%, var(--m-color-surface));
|
|
354
|
+
--m-table-row-striped-bg: var(--m-color-fill-lighter);
|
|
355
|
+
--m-table-row-current-bg: color-mix(in srgb, var(--m-color-primary) 16%, var(--m-color-surface));
|
|
356
|
+
--m-table-row-selected-bg: color-mix(in srgb, var(--m-color-primary) 20%, var(--m-color-surface));
|
|
357
|
+
--m-table-expanded-bg: var(--m-color-fill-lighter);
|
|
358
|
+
}
|