morya-ui 0.3.5 → 0.3.6

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 (157) hide show
  1. package/CHANGELOG.md +529 -523
  2. package/LICENSE +21 -21
  3. package/README.md +150 -150
  4. package/README.zh-CN.md +150 -150
  5. package/dist/accordion/style.css +1148 -1148
  6. package/dist/auto-complete/style.css +1690 -1690
  7. package/dist/avatar/style.css +1261 -1261
  8. package/dist/badge/style.css +1315 -1315
  9. package/dist/block-ui/style.css +1148 -1148
  10. package/dist/breadcrumb/style.css +1148 -1148
  11. package/dist/button/style.css +2138 -2138
  12. package/dist/card/style.css +1148 -1148
  13. package/dist/carousel/style.css +1249 -1249
  14. package/dist/cascade-select/style.css +1839 -1839
  15. package/dist/checkbox/style.css +1148 -1148
  16. package/dist/chip/style.css +1292 -1292
  17. package/dist/command-menu/style.css +1381 -1381
  18. package/dist/components/AutoComplete/styles.css +209 -209
  19. package/dist/components/Avatar/styles.css +113 -113
  20. package/dist/components/Badge/styles.css +165 -165
  21. package/dist/components/Button/styles.css +962 -962
  22. package/dist/components/Carousel/styles.css +101 -101
  23. package/dist/components/CascadeSelect/styles.css +157 -157
  24. package/dist/components/Chip/styles.css +144 -144
  25. package/dist/components/CommandMenu/styles.css +102 -102
  26. package/dist/components/ConfigProvider/styles.css +6 -6
  27. package/dist/components/ConfirmDialog/styles.css +24 -24
  28. package/dist/components/ConfirmPopup/styles.css +35 -35
  29. package/dist/components/ContextMenu/styles.css +138 -138
  30. package/dist/components/DatePicker/styles.css +335 -335
  31. package/dist/components/Dialog/styles.css +421 -421
  32. package/dist/components/Dock/styles.css +84 -84
  33. package/dist/components/Drawer/styles.css +334 -334
  34. package/dist/components/Dropdown/styles.css +130 -130
  35. package/dist/components/Empty/styles.css +146 -146
  36. package/dist/components/FileUpload/styles.css +359 -359
  37. package/dist/components/Form/styles.css +114 -114
  38. package/dist/components/Gallery/styles.css +100 -100
  39. package/dist/components/Input/styles.css +356 -356
  40. package/dist/components/InputColor/styles.css +129 -129
  41. package/dist/components/InputNumber/styles.css +261 -261
  42. package/dist/components/InputPassword/styles.css +178 -178
  43. package/dist/components/InputTags/styles.css +112 -112
  44. package/dist/components/Layout/styles.css +433 -433
  45. package/dist/components/Loading/styles.css +378 -378
  46. package/dist/components/MegaMenu/styles.css +97 -97
  47. package/dist/components/Menu/styles.css +564 -564
  48. package/dist/components/Menubar/styles.css +144 -144
  49. package/dist/components/Message/styles.css +250 -250
  50. package/dist/components/MeterGroup/styles.css +49 -49
  51. package/dist/components/Page/styles.css +430 -430
  52. package/dist/components/Pagination/styles.css +105 -105
  53. package/dist/components/Popover/styles.css +92 -92
  54. package/dist/components/Result/styles.css +146 -146
  55. package/dist/components/Scrollbar/styles.css +131 -131
  56. package/dist/components/Select/styles.css +192 -192
  57. package/dist/components/SelectButton/styles.css +105 -105
  58. package/dist/components/Sidebar/styles.css +74 -74
  59. package/dist/components/Slider/styles.css +211 -211
  60. package/dist/components/SplitButton/styles.css +216 -216
  61. package/dist/components/Status/styles.css +191 -191
  62. package/dist/components/Stepper/styles.css +135 -135
  63. package/dist/components/Switch/styles.css +129 -129
  64. package/dist/components/Tabs/styles.css +131 -131
  65. package/dist/components/Terminal/styles.css +74 -74
  66. package/dist/components/Textarea/styles.css +126 -126
  67. package/dist/components/TieredMenu/styles.css +125 -125
  68. package/dist/components/Timeline/styles.css +159 -159
  69. package/dist/components/TreeSelect/styles.css +161 -161
  70. package/dist/components/TreeTable/styles.css +97 -97
  71. package/dist/components/VirtualScroller/styles.css +27 -27
  72. package/dist/config-provider/style.css +2472 -2472
  73. package/dist/confirm-dialog/style.css +2555 -2555
  74. package/dist/confirm-popup/style.css +2145 -2145
  75. package/dist/context-menu/style.css +1417 -1417
  76. package/dist/data-view/style.css +1631 -1631
  77. package/dist/date-picker/style.css +1483 -1483
  78. package/dist/dialog/style.css +2531 -2531
  79. package/dist/divider/style.css +1148 -1148
  80. package/dist/dock/style.css +1232 -1232
  81. package/dist/drawer/style.css +1482 -1482
  82. package/dist/dropdown/style.css +1409 -1409
  83. package/dist/empty/style.css +1294 -1294
  84. package/dist/fieldset/style.css +1148 -1148
  85. package/dist/file-upload/style.css +1507 -1507
  86. package/dist/flex/style.css +1148 -1148
  87. package/dist/float-label/style.css +1148 -1148
  88. package/dist/fluid/style.css +1148 -1148
  89. package/dist/form/style.css +1264 -1264
  90. package/dist/gallery/style.css +1379 -1379
  91. package/dist/grid/style.css +1148 -1148
  92. package/dist/icon/style.css +1148 -1148
  93. package/dist/icon-field/style.css +1504 -1504
  94. package/dist/inplace/style.css +1148 -1148
  95. package/dist/input/style.css +1504 -1504
  96. package/dist/input-color/style.css +1279 -1279
  97. package/dist/input-group/style.css +1148 -1148
  98. package/dist/input-number/style.css +1409 -1409
  99. package/dist/input-otp/style.css +1148 -1148
  100. package/dist/input-password/style.css +1326 -1326
  101. package/dist/input-tags/style.css +1260 -1260
  102. package/dist/knob/style.css +1148 -1148
  103. package/dist/label/style.css +1148 -1148
  104. package/dist/layout/style.css +1712 -1712
  105. package/dist/listbox/style.css +1306 -1306
  106. package/dist/loading/style.css +1528 -1528
  107. package/dist/mega-menu/style.css +1245 -1245
  108. package/dist/menu/style.css +2001 -2001
  109. package/dist/menubar/style.css +1423 -1423
  110. package/dist/message/style.css +1398 -1398
  111. package/dist/meter-group/style.css +1199 -1199
  112. package/dist/order-list/style.css +1148 -1148
  113. package/dist/page/style.css +2804 -2804
  114. package/dist/pagination/style.css +1445 -1445
  115. package/dist/panel/style.css +1148 -1148
  116. package/dist/pick-list/style.css +1148 -1148
  117. package/dist/popover/style.css +1242 -1242
  118. package/dist/progress-bar/style.css +1148 -1148
  119. package/dist/progress-spinner/style.css +1148 -1148
  120. package/dist/radio/style.css +1148 -1148
  121. package/dist/rating/style.css +1148 -1148
  122. package/dist/result/style.css +1294 -1294
  123. package/dist/scroll-top/style.css +1279 -1279
  124. package/dist/scrollbar/style.css +1281 -1281
  125. package/dist/select/style.css +1901 -1901
  126. package/dist/select-button/style.css +1255 -1255
  127. package/dist/shared/styles/control-affix-icon.css +110 -110
  128. package/dist/shared/styles/control-suffix.css +118 -118
  129. package/dist/shared/styles/select-overlay.css +175 -175
  130. package/dist/sidebar/style.css +1222 -1222
  131. package/dist/skeleton/style.css +1148 -1148
  132. package/dist/slider/style.css +1361 -1361
  133. package/dist/space/style.css +1148 -1148
  134. package/dist/speed-dial/style.css +1148 -1148
  135. package/dist/split-button/style.css +2326 -2326
  136. package/dist/splitter/style.css +1148 -1148
  137. package/dist/status/style.css +1339 -1339
  138. package/dist/stepper/style.css +1283 -1283
  139. package/dist/styles/base.css +790 -790
  140. package/dist/switch/style.css +1279 -1279
  141. package/dist/table/style.css +1812 -1812
  142. package/dist/tabs/style.css +1410 -1410
  143. package/dist/tag/style.css +1148 -1148
  144. package/dist/terminal/style.css +1224 -1224
  145. package/dist/textarea/style.css +1274 -1274
  146. package/dist/theme/styles.css +358 -358
  147. package/dist/tiered-menu/style.css +1404 -1404
  148. package/dist/timeline/style.css +1438 -1438
  149. package/dist/toast/style.css +1148 -1148
  150. package/dist/toggle-button/style.css +1148 -1148
  151. package/dist/toolbar/style.css +1148 -1148
  152. package/dist/tooltip/style.css +1148 -1148
  153. package/dist/tree/style.css +1148 -1148
  154. package/dist/tree-select/style.css +1843 -1843
  155. package/dist/tree-table/style.css +1245 -1245
  156. package/dist/virtual-scroller/style.css +1309 -1309
  157. package/package.json +1 -1
@@ -1,126 +1,126 @@
1
- .m-textarea {
2
- --m-textarea-min-height: 6rem;
3
- --m-textarea-min-height-small: 4.5rem;
4
- --m-textarea-min-height-large: 7.5rem;
5
- font-family: var(--m-font-sans);
6
- font-size: var(--m-control-font-medium);
7
- line-height: 1.5;
8
- min-height: var(--m-textarea-min-height);
9
- padding: var(--m-space-3) var(--m-control-padding-x-medium);
10
- resize: vertical;
11
- transition:
12
- border-color var(--m-motion-fast) var(--m-motion-ease),
13
- box-shadow var(--m-motion-fast) var(--m-motion-ease),
14
- background-color var(--m-motion-fast) var(--m-motion-ease),
15
- opacity var(--m-motion-fast) var(--m-motion-ease);
16
- }
17
-
18
- .m-textarea--filled {
19
- background: color-mix(
20
- in srgb,
21
- var(--m-color-text-muted) 12%,
22
- var(--m-color-surface)
23
- );
24
- border-color: transparent;
25
- }
26
-
27
- .m-textarea--fluid {
28
- width: 100%;
29
- }
30
-
31
- .m-textarea--small,
32
- .m-textarea--sm {
33
- font-size: var(--m-control-font-small);
34
- min-height: var(--m-textarea-min-height-small);
35
- padding: var(--m-space-2) var(--m-control-padding-x-small);
36
- }
37
-
38
- .m-textarea--normal {
39
- font-size: var(--m-control-font-medium);
40
- min-height: var(--m-textarea-min-height);
41
- }
42
-
43
- .m-textarea--large,
44
- .m-textarea--lg {
45
- font-size: var(--m-control-font-large);
46
- min-height: var(--m-textarea-min-height-large);
47
- padding: var(--m-space-4) var(--m-control-padding-x-large);
48
- }
49
-
50
- .m-textarea-field__control--clearable .m-textarea {
51
- padding-right: var(--m-control-affix-gap);
52
- }
53
-
54
- .m-textarea-field__control--clearable .m-textarea--small,
55
- .m-textarea-field__control--clearable .m-textarea--sm {
56
- padding-right: var(--m-control-affix-gap);
57
- }
58
-
59
- .m-textarea-field__control--clearable .m-textarea--large,
60
- .m-textarea-field__control--clearable .m-textarea--lg {
61
- padding-right: calc(var(--m-control-affix-gap) + var(--m-space-1));
62
- }
63
-
64
- .m-textarea--auto-resize {
65
- overflow: hidden;
66
- }
67
-
68
- .m-textarea-field__control {
69
- position: relative;
70
- }
71
-
72
- .m-textarea__clear {
73
- align-items: center;
74
- background: transparent;
75
- border: 0;
76
- border-radius: var(--m-radius-sm);
77
- color: var(--m-color-text-muted);
78
- cursor: pointer;
79
- display: flex;
80
- font-size: var(--m-font-size-lg);
81
- height: var(--m-control-affix-size);
82
- justify-content: center;
83
- padding: 0;
84
- position: absolute;
85
- top: var(--m-space-2);
86
- right: 0;
87
- width: var(--m-control-affix-size);
88
- z-index: 1;
89
- }
90
-
91
- .m-textarea__clear:hover:not(:disabled) {
92
- color: var(--m-color-text);
93
- }
94
-
95
- .m-textarea__clear:focus-visible {
96
- box-shadow: var(--m-focus-shadow);
97
- outline: none;
98
- }
99
-
100
- .m-textarea__clear:disabled {
101
- cursor: not-allowed;
102
- opacity: var(--m-opacity-disabled);
103
- }
104
-
105
- .m-textarea--invalid {
106
- border-color: var(--m-color-danger);
107
- }
108
-
109
- .m-textarea--invalid:focus-visible {
110
- border-color: var(--m-color-danger);
111
- box-shadow: var(--m-focus-shadow-danger);
112
- }
113
-
114
- .m-textarea:focus {
115
- outline: none;
116
- }
117
-
118
- .m-textarea:hover:not(:disabled):not(:focus) {
119
- border-color: var(--m-color-primary-hover);
120
- }
121
-
122
- .m-textarea:focus-visible {
123
- border-color: var(--m-color-primary-hover);
124
- box-shadow: var(--m-focus-shadow);
125
- outline: none;
126
- }
1
+ .m-textarea {
2
+ --m-textarea-min-height: 6rem;
3
+ --m-textarea-min-height-small: 4.5rem;
4
+ --m-textarea-min-height-large: 7.5rem;
5
+ font-family: var(--m-font-sans);
6
+ font-size: var(--m-control-font-medium);
7
+ line-height: 1.5;
8
+ min-height: var(--m-textarea-min-height);
9
+ padding: var(--m-space-3) var(--m-control-padding-x-medium);
10
+ resize: vertical;
11
+ transition:
12
+ border-color var(--m-motion-fast) var(--m-motion-ease),
13
+ box-shadow var(--m-motion-fast) var(--m-motion-ease),
14
+ background-color var(--m-motion-fast) var(--m-motion-ease),
15
+ opacity var(--m-motion-fast) var(--m-motion-ease);
16
+ }
17
+
18
+ .m-textarea--filled {
19
+ background: color-mix(
20
+ in srgb,
21
+ var(--m-color-text-muted) 12%,
22
+ var(--m-color-surface)
23
+ );
24
+ border-color: transparent;
25
+ }
26
+
27
+ .m-textarea--fluid {
28
+ width: 100%;
29
+ }
30
+
31
+ .m-textarea--small,
32
+ .m-textarea--sm {
33
+ font-size: var(--m-control-font-small);
34
+ min-height: var(--m-textarea-min-height-small);
35
+ padding: var(--m-space-2) var(--m-control-padding-x-small);
36
+ }
37
+
38
+ .m-textarea--normal {
39
+ font-size: var(--m-control-font-medium);
40
+ min-height: var(--m-textarea-min-height);
41
+ }
42
+
43
+ .m-textarea--large,
44
+ .m-textarea--lg {
45
+ font-size: var(--m-control-font-large);
46
+ min-height: var(--m-textarea-min-height-large);
47
+ padding: var(--m-space-4) var(--m-control-padding-x-large);
48
+ }
49
+
50
+ .m-textarea-field__control--clearable .m-textarea {
51
+ padding-right: var(--m-control-affix-gap);
52
+ }
53
+
54
+ .m-textarea-field__control--clearable .m-textarea--small,
55
+ .m-textarea-field__control--clearable .m-textarea--sm {
56
+ padding-right: var(--m-control-affix-gap);
57
+ }
58
+
59
+ .m-textarea-field__control--clearable .m-textarea--large,
60
+ .m-textarea-field__control--clearable .m-textarea--lg {
61
+ padding-right: calc(var(--m-control-affix-gap) + var(--m-space-1));
62
+ }
63
+
64
+ .m-textarea--auto-resize {
65
+ overflow: hidden;
66
+ }
67
+
68
+ .m-textarea-field__control {
69
+ position: relative;
70
+ }
71
+
72
+ .m-textarea__clear {
73
+ align-items: center;
74
+ background: transparent;
75
+ border: 0;
76
+ border-radius: var(--m-radius-sm);
77
+ color: var(--m-color-text-muted);
78
+ cursor: pointer;
79
+ display: flex;
80
+ font-size: var(--m-font-size-lg);
81
+ height: var(--m-control-affix-size);
82
+ justify-content: center;
83
+ padding: 0;
84
+ position: absolute;
85
+ top: var(--m-space-2);
86
+ right: 0;
87
+ width: var(--m-control-affix-size);
88
+ z-index: 1;
89
+ }
90
+
91
+ .m-textarea__clear:hover:not(:disabled) {
92
+ color: var(--m-color-text);
93
+ }
94
+
95
+ .m-textarea__clear:focus-visible {
96
+ box-shadow: var(--m-focus-shadow);
97
+ outline: none;
98
+ }
99
+
100
+ .m-textarea__clear:disabled {
101
+ cursor: not-allowed;
102
+ opacity: var(--m-opacity-disabled);
103
+ }
104
+
105
+ .m-textarea--invalid {
106
+ border-color: var(--m-color-danger);
107
+ }
108
+
109
+ .m-textarea--invalid:focus-visible {
110
+ border-color: var(--m-color-danger);
111
+ box-shadow: var(--m-focus-shadow-danger);
112
+ }
113
+
114
+ .m-textarea:focus {
115
+ outline: none;
116
+ }
117
+
118
+ .m-textarea:hover:not(:disabled):not(:focus) {
119
+ border-color: var(--m-color-primary-hover);
120
+ }
121
+
122
+ .m-textarea:focus-visible {
123
+ border-color: var(--m-color-primary-hover);
124
+ box-shadow: var(--m-focus-shadow);
125
+ outline: none;
126
+ }
@@ -1,125 +1,125 @@
1
- /* —— Navigation: TieredMenu —— */
2
- .m-tieredmenu {
3
- --m-tieredmenu-submenu-min-width: var(--m-menu-min-width, 10rem);
4
- --m-tieredmenu-min-width: var(--m-menu-min-width);
5
- --m-tieredmenu-item-gap: var(--m-space-1);
6
- --m-tieredmenu-max-height: min(18rem, 45vh);
7
- background: var(--m-color-surface);
8
- border: var(--m-border-width) solid var(--m-color-border);
9
- border-radius: var(--m-radius-md);
10
- display: flex;
11
- flex-direction: column;
12
- gap: var(--m-tieredmenu-item-gap);
13
- max-height: var(--m-tieredmenu-max-height);
14
- min-width: var(--m-tieredmenu-min-width);
15
- overflow: hidden;
16
- padding: var(--m-space-1);
17
- position: relative;
18
- }
19
-
20
- .m-tieredmenu__scroll {
21
- max-height: 100%;
22
- min-height: 0;
23
- }
24
-
25
- .m-tieredmenu__scroll-view {
26
- display: flex;
27
- flex-direction: column;
28
- gap: var(--m-tieredmenu-item-gap);
29
- }
30
-
31
- .m-tieredmenu--popup {
32
- box-shadow: var(--m-shadow-md);
33
- position: absolute;
34
- z-index: var(--m-z-popper);
35
- }
36
-
37
- .m-tieredmenu--teleported {
38
- position: fixed;
39
- z-index: var(--m-z-dropdown);
40
- }
41
-
42
- .m-tieredmenu__row {
43
- position: relative;
44
- }
45
-
46
- .m-tieredmenu__item {
47
- align-items: center;
48
- background: transparent;
49
- border: 0;
50
- border-radius: var(--m-radius-sm);
51
- box-sizing: border-box;
52
- color: var(--m-color-text);
53
- cursor: pointer;
54
- display: flex;
55
- font-family: var(--m-font-sans);
56
- justify-content: space-between;
57
- min-height: var(--m-menu-item-height);
58
- padding: var(--m-space-2) var(--m-space-3);
59
- text-align: start;
60
- transition:
61
- background-color var(--m-motion-fast) var(--m-motion-ease),
62
- color var(--m-motion-fast) var(--m-motion-ease),
63
- opacity var(--m-motion-fast) var(--m-motion-ease);
64
- width: 100%;
65
- }
66
-
67
- .m-tieredmenu__item:hover:not(:disabled) {
68
- background: color-mix(
69
- in srgb,
70
- var(--m-color-primary) 10%,
71
- var(--m-color-surface)
72
- );
73
- }
74
-
75
- .m-tieredmenu__item:disabled {
76
- cursor: not-allowed;
77
- opacity: var(--m-opacity-disabled);
78
- }
79
-
80
- .m-tieredmenu__item:focus-visible {
81
- box-shadow: var(--m-focus-shadow);
82
- outline: none;
83
- }
84
-
85
- .m-tieredmenu__caret {
86
- color: var(--m-color-text-muted);
87
- font-size: var(--m-font-size-xs);
88
- }
89
-
90
- .m-tieredmenu__submenu {
91
- --m-tieredmenu-submenu-max-height: min(18rem, 45vh);
92
- background: var(--m-color-surface);
93
- border: var(--m-border-width) solid var(--m-color-border);
94
- border-radius: var(--m-radius-md);
95
- box-shadow: var(--m-shadow-md);
96
- display: flex;
97
- flex-direction: column;
98
- gap: var(--m-tieredmenu-item-gap);
99
- max-height: var(--m-tieredmenu-submenu-max-height);
100
- min-width: var(--m-tieredmenu-submenu-min-width);
101
- overflow: hidden;
102
- padding: var(--m-space-1);
103
- }
104
-
105
- .m-tieredmenu__submenu--teleported {
106
- position: fixed;
107
- z-index: var(--m-z-dropdown);
108
- }
109
-
110
- .m-tieredmenu__submenu-scroll {
111
- max-height: calc(var(--m-tieredmenu-submenu-max-height) - var(--m-space-2));
112
- min-height: 0;
113
- }
114
-
115
- .m-tieredmenu__submenu-view {
116
- display: flex;
117
- flex-direction: column;
118
- gap: var(--m-tieredmenu-item-gap);
119
- }
120
-
121
- .m-tieredmenu__separator {
122
- background: var(--m-color-border);
123
- height: var(--m-border-width);
124
- margin: var(--m-space-1) 0;
125
- }
1
+ /* —— Navigation: TieredMenu —— */
2
+ .m-tieredmenu {
3
+ --m-tieredmenu-submenu-min-width: var(--m-menu-min-width, 10rem);
4
+ --m-tieredmenu-min-width: var(--m-menu-min-width);
5
+ --m-tieredmenu-item-gap: var(--m-space-1);
6
+ --m-tieredmenu-max-height: min(18rem, 45vh);
7
+ background: var(--m-color-surface);
8
+ border: var(--m-border-width) solid var(--m-color-border);
9
+ border-radius: var(--m-radius-md);
10
+ display: flex;
11
+ flex-direction: column;
12
+ gap: var(--m-tieredmenu-item-gap);
13
+ max-height: var(--m-tieredmenu-max-height);
14
+ min-width: var(--m-tieredmenu-min-width);
15
+ overflow: hidden;
16
+ padding: var(--m-space-1);
17
+ position: relative;
18
+ }
19
+
20
+ .m-tieredmenu__scroll {
21
+ max-height: 100%;
22
+ min-height: 0;
23
+ }
24
+
25
+ .m-tieredmenu__scroll-view {
26
+ display: flex;
27
+ flex-direction: column;
28
+ gap: var(--m-tieredmenu-item-gap);
29
+ }
30
+
31
+ .m-tieredmenu--popup {
32
+ box-shadow: var(--m-shadow-md);
33
+ position: absolute;
34
+ z-index: var(--m-z-popper);
35
+ }
36
+
37
+ .m-tieredmenu--teleported {
38
+ position: fixed;
39
+ z-index: var(--m-z-dropdown);
40
+ }
41
+
42
+ .m-tieredmenu__row {
43
+ position: relative;
44
+ }
45
+
46
+ .m-tieredmenu__item {
47
+ align-items: center;
48
+ background: transparent;
49
+ border: 0;
50
+ border-radius: var(--m-radius-sm);
51
+ box-sizing: border-box;
52
+ color: var(--m-color-text);
53
+ cursor: pointer;
54
+ display: flex;
55
+ font-family: var(--m-font-sans);
56
+ justify-content: space-between;
57
+ min-height: var(--m-menu-item-height);
58
+ padding: var(--m-space-2) var(--m-space-3);
59
+ text-align: start;
60
+ transition:
61
+ background-color var(--m-motion-fast) var(--m-motion-ease),
62
+ color var(--m-motion-fast) var(--m-motion-ease),
63
+ opacity var(--m-motion-fast) var(--m-motion-ease);
64
+ width: 100%;
65
+ }
66
+
67
+ .m-tieredmenu__item:hover:not(:disabled) {
68
+ background: color-mix(
69
+ in srgb,
70
+ var(--m-color-primary) 10%,
71
+ var(--m-color-surface)
72
+ );
73
+ }
74
+
75
+ .m-tieredmenu__item:disabled {
76
+ cursor: not-allowed;
77
+ opacity: var(--m-opacity-disabled);
78
+ }
79
+
80
+ .m-tieredmenu__item:focus-visible {
81
+ box-shadow: var(--m-focus-shadow);
82
+ outline: none;
83
+ }
84
+
85
+ .m-tieredmenu__caret {
86
+ color: var(--m-color-text-muted);
87
+ font-size: var(--m-font-size-xs);
88
+ }
89
+
90
+ .m-tieredmenu__submenu {
91
+ --m-tieredmenu-submenu-max-height: min(18rem, 45vh);
92
+ background: var(--m-color-surface);
93
+ border: var(--m-border-width) solid var(--m-color-border);
94
+ border-radius: var(--m-radius-md);
95
+ box-shadow: var(--m-shadow-md);
96
+ display: flex;
97
+ flex-direction: column;
98
+ gap: var(--m-tieredmenu-item-gap);
99
+ max-height: var(--m-tieredmenu-submenu-max-height);
100
+ min-width: var(--m-tieredmenu-submenu-min-width);
101
+ overflow: hidden;
102
+ padding: var(--m-space-1);
103
+ }
104
+
105
+ .m-tieredmenu__submenu--teleported {
106
+ position: fixed;
107
+ z-index: var(--m-z-dropdown);
108
+ }
109
+
110
+ .m-tieredmenu__submenu-scroll {
111
+ max-height: calc(var(--m-tieredmenu-submenu-max-height) - var(--m-space-2));
112
+ min-height: 0;
113
+ }
114
+
115
+ .m-tieredmenu__submenu-view {
116
+ display: flex;
117
+ flex-direction: column;
118
+ gap: var(--m-tieredmenu-item-gap);
119
+ }
120
+
121
+ .m-tieredmenu__separator {
122
+ background: var(--m-color-border);
123
+ height: var(--m-border-width);
124
+ margin: var(--m-space-1) 0;
125
+ }