@fluentui/react-menu 9.75.1-experimental.css-modules.20261103-d6c85ee2a9.0 → 9.75.2-experimental.css-modules.20261113-ba13c87438.0
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 +26 -17
- package/README.md +2 -2
- package/lib/components/MenuDivider/MenuDivider.module.css +5 -7
- package/lib/components/MenuGroupHeader/MenuGroupHeader.module.css +9 -11
- package/lib/components/MenuItem/MenuItem.module.css +266 -254
- package/lib/components/MenuItemLink/MenuItemLink.module.css +5 -7
- package/lib/components/MenuItemSwitch/MenuItemSwitch.module.css +59 -60
- package/lib/components/MenuList/MenuList.module.css +7 -9
- package/lib/components/MenuPopover/MenuPopover.module.css +16 -18
- package/lib/components/MenuSplitGroup/MenuSplitGroup.module.css +18 -20
- package/lib/components/MenuTrigger/useMenuTrigger.js +4 -1
- package/lib/components/MenuTrigger/useMenuTrigger.js.map +1 -1
- package/lib/selectable/Checkmark.module.css +9 -11
- package/lib-commonjs/components/MenuDivider/MenuDivider.module.css +5 -7
- package/lib-commonjs/components/MenuGroupHeader/MenuGroupHeader.module.css +9 -11
- package/lib-commonjs/components/MenuItem/MenuItem.module.css +266 -254
- package/lib-commonjs/components/MenuItemLink/MenuItemLink.module.css +5 -7
- package/lib-commonjs/components/MenuItemSwitch/MenuItemSwitch.module.css +59 -60
- package/lib-commonjs/components/MenuList/MenuList.module.css +7 -9
- package/lib-commonjs/components/MenuPopover/MenuPopover.module.css +16 -18
- package/lib-commonjs/components/MenuSplitGroup/MenuSplitGroup.module.css +18 -20
- package/lib-commonjs/components/MenuTrigger/useMenuTrigger.cjs +4 -1
- package/lib-commonjs/components/MenuTrigger/useMenuTrigger.cjs.map +1 -1
- package/lib-commonjs/selectable/Checkmark.module.css +9 -11
- package/package.json +13 -13
|
@@ -1,48 +1,92 @@
|
|
|
1
|
+
/* @griffel-buckets reset: .root, .content, .secondaryContent, .icon, .submenuIndicator, .subText */
|
|
1
2
|
@import url('@fluentui/react-icons/headless/styles.css') layer(fluent);
|
|
2
3
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
4
|
+
.root {
|
|
5
|
+
border-radius: var(--borderRadiusMedium);
|
|
6
|
+
position: relative;
|
|
7
|
+
color: var(--colorNeutralForeground2);
|
|
8
|
+
background-color: var(--colorNeutralBackground1);
|
|
9
|
+
padding-inline-end: var(--spacingVerticalSNudge);
|
|
10
|
+
padding-inline-start: var(--spacingVerticalSNudge);
|
|
11
|
+
padding-top: var(--spacingVerticalSNudge);
|
|
12
|
+
padding-bottom: var(--spacingVerticalSNudge);
|
|
13
|
+
box-sizing: border-box;
|
|
14
|
+
max-width: calc(9 * var(--spacingHorizontalXXXL) + var(--spacingHorizontalXXS));
|
|
15
|
+
min-height: var(--spacingHorizontalXXXL);
|
|
16
|
+
flex-shrink: 0;
|
|
17
|
+
display: flex;
|
|
18
|
+
align-items: start;
|
|
19
|
+
font-size: var(--fontSizeBase300);
|
|
20
|
+
cursor: pointer;
|
|
21
|
+
gap: var(--spacingHorizontalXS);
|
|
22
|
+
&:hover {
|
|
23
|
+
background-color: var(--colorNeutralBackground1Hover);
|
|
24
|
+
color: var(--colorNeutralForeground2Hover);
|
|
25
|
+
& :global(.fui-Icon-filled) {
|
|
26
|
+
display: inline;
|
|
27
|
+
}
|
|
28
|
+
& :global(.fui-Icon-regular) {
|
|
29
|
+
display: none;
|
|
30
|
+
}
|
|
31
|
+
& :global(.fui-MenuItem__icon) {
|
|
32
|
+
color: var(--colorNeutralForeground2BrandSelected);
|
|
33
|
+
}
|
|
34
|
+
& :global(.fui-MenuItem__subText) {
|
|
35
|
+
color: var(--colorNeutralForeground3Hover);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
&:hover:active {
|
|
39
|
+
background-color: var(--colorNeutralBackground1Pressed);
|
|
40
|
+
color: var(--colorNeutralForeground2Pressed);
|
|
41
|
+
& :global(.fui-MenuItem__subText) {
|
|
42
|
+
color: var(--colorNeutralForeground3Pressed);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
user-select: none;
|
|
46
|
+
&:focus {
|
|
47
|
+
outline-style: none;
|
|
48
|
+
}
|
|
49
|
+
&:focus-visible {
|
|
50
|
+
outline-style: none;
|
|
51
|
+
}
|
|
52
|
+
&[data-fui-focus-visible] {
|
|
53
|
+
border-top-color: var(--colorTransparentBackground);
|
|
54
|
+
border-inline-end-color: var(--colorTransparentBackground);
|
|
55
|
+
border-bottom-color: var(--colorTransparentBackground);
|
|
56
|
+
border-inline-start-color: var(--colorTransparentBackground);
|
|
57
|
+
&::after {
|
|
58
|
+
content: '';
|
|
59
|
+
position: absolute;
|
|
60
|
+
pointer-events: none;
|
|
61
|
+
z-index: 1;
|
|
62
|
+
border: var(--strokeWidthThick) solid var(--colorStrokeFocus2);
|
|
63
|
+
border-radius: var(--borderRadiusMedium);
|
|
64
|
+
top: calc(-1 * var(--strokeWidthThick));
|
|
65
|
+
inset-inline-end: calc(-1 * var(--strokeWidthThick));
|
|
66
|
+
bottom: calc(-1 * var(--strokeWidthThick));
|
|
67
|
+
inset-inline-start: calc(-1 * var(--strokeWidthThick));
|
|
68
|
+
}
|
|
69
|
+
@media (forced-colors: active) {
|
|
70
|
+
&::after {
|
|
71
|
+
border-top-color: Highlight;
|
|
72
|
+
border-inline-end-color: Highlight;
|
|
73
|
+
border-bottom-color: Highlight;
|
|
74
|
+
border-inline-start-color: Highlight;
|
|
36
75
|
}
|
|
37
76
|
}
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
77
|
+
}
|
|
78
|
+
@media (forced-colors: active) {
|
|
79
|
+
&:hover {
|
|
80
|
+
forced-color-adjust: none;
|
|
81
|
+
background-color: Highlight;
|
|
82
|
+
color: HighlightText;
|
|
83
|
+
& :global(.fui-MenuItem__icon),
|
|
84
|
+
& :global(.fui-MenuItem__checkmark),
|
|
85
|
+
& :global(.fui-MenuItem__subText),
|
|
86
|
+
& :global(.fui-MenuItem__secondaryContent) {
|
|
87
|
+
color: HighlightText;
|
|
43
88
|
}
|
|
44
89
|
}
|
|
45
|
-
user-select: none;
|
|
46
90
|
&:focus {
|
|
47
91
|
outline-style: none;
|
|
48
92
|
}
|
|
@@ -51,285 +95,253 @@
|
|
|
51
95
|
}
|
|
52
96
|
&[data-fui-focus-visible] {
|
|
53
97
|
border-top-color: var(--colorTransparentBackground);
|
|
54
|
-
border-
|
|
98
|
+
border-inline-end-color: var(--colorTransparentBackground);
|
|
55
99
|
border-bottom-color: var(--colorTransparentBackground);
|
|
56
|
-
border-
|
|
100
|
+
border-inline-start-color: var(--colorTransparentBackground);
|
|
57
101
|
&::after {
|
|
58
102
|
content: '';
|
|
59
103
|
position: absolute;
|
|
60
104
|
pointer-events: none;
|
|
61
105
|
z-index: 1;
|
|
62
|
-
border: var(--strokeWidthThick) solid
|
|
106
|
+
border: var(--strokeWidthThick) solid Highlight;
|
|
63
107
|
border-radius: var(--borderRadiusMedium);
|
|
64
108
|
top: calc(-1 * var(--strokeWidthThick));
|
|
65
|
-
|
|
109
|
+
inset-inline-end: calc(-1 * var(--strokeWidthThick));
|
|
66
110
|
bottom: calc(-1 * var(--strokeWidthThick));
|
|
67
|
-
|
|
111
|
+
inset-inline-start: calc(-1 * var(--strokeWidthThick));
|
|
68
112
|
}
|
|
69
113
|
@media (forced-colors: active) {
|
|
70
114
|
&::after {
|
|
71
115
|
border-top-color: Highlight;
|
|
72
|
-
border-
|
|
116
|
+
border-inline-end-color: Highlight;
|
|
73
117
|
border-bottom-color: Highlight;
|
|
74
|
-
border-
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
@media (forced-colors: active) {
|
|
79
|
-
&:hover {
|
|
80
|
-
forced-color-adjust: none;
|
|
81
|
-
background-color: Highlight;
|
|
82
|
-
color: HighlightText;
|
|
83
|
-
& :global(.fui-MenuItem__icon),
|
|
84
|
-
& :global(.fui-MenuItem__checkmark),
|
|
85
|
-
& :global(.fui-MenuItem__subText),
|
|
86
|
-
& :global(.fui-MenuItem__secondaryContent) {
|
|
87
|
-
color: HighlightText;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
&:focus {
|
|
91
|
-
outline-style: none;
|
|
92
|
-
}
|
|
93
|
-
&:focus-visible {
|
|
94
|
-
outline-style: none;
|
|
95
|
-
}
|
|
96
|
-
&[data-fui-focus-visible] {
|
|
97
|
-
border-top-color: var(--colorTransparentBackground);
|
|
98
|
-
border-right-color: var(--colorTransparentBackground);
|
|
99
|
-
border-bottom-color: var(--colorTransparentBackground);
|
|
100
|
-
border-left-color: var(--colorTransparentBackground);
|
|
101
|
-
&::after {
|
|
102
|
-
content: '';
|
|
103
|
-
position: absolute;
|
|
104
|
-
pointer-events: none;
|
|
105
|
-
z-index: 1;
|
|
106
|
-
border: var(--strokeWidthThick) solid Highlight;
|
|
107
|
-
border-radius: var(--borderRadiusMedium);
|
|
108
|
-
top: calc(-1 * var(--strokeWidthThick));
|
|
109
|
-
right: calc(-1 * var(--strokeWidthThick));
|
|
110
|
-
bottom: calc(-1 * var(--strokeWidthThick));
|
|
111
|
-
left: calc(-1 * var(--strokeWidthThick));
|
|
112
|
-
}
|
|
113
|
-
@media (forced-colors: active) {
|
|
114
|
-
&::after {
|
|
115
|
-
border-top-color: Highlight;
|
|
116
|
-
border-right-color: Highlight;
|
|
117
|
-
border-bottom-color: Highlight;
|
|
118
|
-
border-left-color: Highlight;
|
|
119
|
-
}
|
|
118
|
+
border-inline-start-color: Highlight;
|
|
120
119
|
}
|
|
121
120
|
}
|
|
122
121
|
}
|
|
123
122
|
}
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.content {
|
|
126
|
+
padding-inline-start: var(--spacingHorizontalXXS);
|
|
127
|
+
padding-inline-end: var(--spacingHorizontalXXS);
|
|
128
|
+
background-color: var(--colorTransparentBackground);
|
|
129
|
+
flex-grow: 1;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.secondaryContent {
|
|
133
|
+
padding-inline-start: var(--spacingHorizontalXXS);
|
|
134
|
+
padding-inline-end: var(--spacingHorizontalXXS);
|
|
135
|
+
font-family: var(--fontFamilyBase);
|
|
136
|
+
font-size: var(--fontSizeBase200);
|
|
137
|
+
font-weight: var(--fontWeightRegular);
|
|
138
|
+
line-height: var(--lineHeightBase300);
|
|
139
|
+
color: var(--colorNeutralForeground3);
|
|
140
|
+
&:hover {
|
|
141
|
+
color: var(--colorNeutralForeground3Hover);
|
|
129
142
|
}
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
padding-inline-end: var(--spacingHorizontalXXS);
|
|
133
|
-
font-family: var(--fontFamilyBase);
|
|
134
|
-
font-size: var(--fontSizeBase200);
|
|
135
|
-
font-weight: var(--fontWeightRegular);
|
|
136
|
-
line-height: var(--lineHeightBase300);
|
|
137
|
-
color: var(--colorNeutralForeground3);
|
|
138
|
-
&:hover {
|
|
139
|
-
color: var(--colorNeutralForeground3Hover);
|
|
140
|
-
}
|
|
141
|
-
&:focus {
|
|
142
|
-
color: var(--colorNeutralForeground3Hover);
|
|
143
|
-
}
|
|
143
|
+
&:focus {
|
|
144
|
+
color: var(--colorNeutralForeground3Hover);
|
|
144
145
|
}
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.icon {
|
|
149
|
+
width: var(--spacingHorizontalXL);
|
|
150
|
+
height: var(--spacingHorizontalXL);
|
|
151
|
+
font-size: var(--fontSizeBase500);
|
|
152
|
+
line-height: 0;
|
|
153
|
+
align-items: center;
|
|
154
|
+
display: inline-flex;
|
|
155
|
+
justify-content: center;
|
|
156
|
+
flex-shrink: 0;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.submenuIndicator {
|
|
160
|
+
width: var(--spacingHorizontalXL);
|
|
161
|
+
height: var(--spacingHorizontalXL);
|
|
162
|
+
font-size: var(--fontSizeBase500);
|
|
163
|
+
line-height: 0;
|
|
164
|
+
align-items: center;
|
|
165
|
+
display: inline-flex;
|
|
166
|
+
justify-content: center;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.subText {
|
|
170
|
+
font-family: var(--fontFamilyBase);
|
|
171
|
+
font-size: var(--fontSizeBase100);
|
|
172
|
+
font-weight: var(--fontWeightRegular);
|
|
173
|
+
line-height: var(--lineHeightBase100);
|
|
174
|
+
color: var(--colorNeutralForeground3);
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.checkmark {
|
|
178
|
+
margin-top: var(--spacingHorizontalXXS);
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.submenuOpen {
|
|
182
|
+
background-color: var(--colorNeutralBackground1Hover);
|
|
183
|
+
color: var(--colorNeutralForeground2Hover);
|
|
184
|
+
& :global(.fui-Icon-filled) {
|
|
185
|
+
display: inline;
|
|
154
186
|
}
|
|
155
|
-
.
|
|
156
|
-
|
|
157
|
-
height: var(--spacingHorizontalXL);
|
|
158
|
-
font-size: var(--fontSizeBase500);
|
|
159
|
-
line-height: 0;
|
|
160
|
-
align-items: center;
|
|
161
|
-
display: inline-flex;
|
|
162
|
-
justify-content: center;
|
|
187
|
+
& :global(.fui-Icon-regular) {
|
|
188
|
+
display: none;
|
|
163
189
|
}
|
|
164
|
-
.
|
|
165
|
-
|
|
166
|
-
font-size: var(--fontSizeBase100);
|
|
167
|
-
font-weight: var(--fontWeightRegular);
|
|
168
|
-
line-height: var(--lineHeightBase100);
|
|
169
|
-
color: var(--colorNeutralForeground3);
|
|
190
|
+
& :global(.fui-MenuItem__icon) {
|
|
191
|
+
color: var(--colorNeutralForeground2BrandSelected);
|
|
170
192
|
}
|
|
171
|
-
.
|
|
172
|
-
|
|
193
|
+
& :global(.fui-MenuItem__subText) {
|
|
194
|
+
color: var(--colorNeutralForeground3Hover);
|
|
173
195
|
}
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
color:
|
|
196
|
+
@media (forced-colors: active) {
|
|
197
|
+
forced-color-adjust: none;
|
|
198
|
+
background-color: Highlight;
|
|
199
|
+
color: HighlightText;
|
|
200
|
+
& :global(.fui-MenuItem__icon),
|
|
201
|
+
& :global(.fui-MenuItem__checkmark),
|
|
202
|
+
& :global(.fui-MenuItem__subText),
|
|
203
|
+
& :global(.fui-MenuItem__secondaryContent) {
|
|
204
|
+
color: HighlightText;
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.disabled {
|
|
210
|
+
color: var(--colorNeutralForegroundDisabled);
|
|
211
|
+
&:hover {
|
|
212
|
+
color: var(--colorNeutralForegroundDisabled);
|
|
213
|
+
background-color: var(--colorNeutralBackground1);
|
|
214
|
+
cursor: not-allowed;
|
|
177
215
|
& :global(.fui-Icon-filled) {
|
|
178
|
-
display:
|
|
216
|
+
display: none;
|
|
179
217
|
}
|
|
180
218
|
& :global(.fui-Icon-regular) {
|
|
181
|
-
display:
|
|
219
|
+
display: inline;
|
|
182
220
|
}
|
|
183
221
|
& :global(.fui-MenuItem__icon) {
|
|
184
|
-
color: var(--
|
|
222
|
+
color: var(--colorNeutralForegroundDisabled);
|
|
185
223
|
}
|
|
186
224
|
& :global(.fui-MenuItem__subText) {
|
|
187
|
-
color: var(--
|
|
188
|
-
}
|
|
189
|
-
@media (forced-colors: active) {
|
|
190
|
-
forced-color-adjust: none;
|
|
191
|
-
background-color: Highlight;
|
|
192
|
-
color: HighlightText;
|
|
193
|
-
& :global(.fui-MenuItem__icon),
|
|
194
|
-
& :global(.fui-MenuItem__checkmark),
|
|
195
|
-
& :global(.fui-MenuItem__subText),
|
|
196
|
-
& :global(.fui-MenuItem__secondaryContent) {
|
|
197
|
-
color: HighlightText;
|
|
198
|
-
}
|
|
225
|
+
color: var(--colorNeutralForegroundDisabled);
|
|
199
226
|
}
|
|
200
227
|
}
|
|
201
|
-
|
|
228
|
+
&:hover:active {
|
|
202
229
|
color: var(--colorNeutralForegroundDisabled);
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
background-color: var(--colorNeutralBackground1);
|
|
206
|
-
cursor: not-allowed;
|
|
207
|
-
& :global(.fui-Icon-filled) {
|
|
208
|
-
display: none;
|
|
209
|
-
}
|
|
210
|
-
& :global(.fui-Icon-regular) {
|
|
211
|
-
display: inline;
|
|
212
|
-
}
|
|
213
|
-
& :global(.fui-MenuItem__icon) {
|
|
214
|
-
color: var(--colorNeutralForegroundDisabled);
|
|
215
|
-
}
|
|
216
|
-
& :global(.fui-MenuItem__subText) {
|
|
217
|
-
color: var(--colorNeutralForegroundDisabled);
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
&:hover:active {
|
|
221
|
-
color: var(--colorNeutralForegroundDisabled);
|
|
222
|
-
background-color: var(--colorNeutralBackground1);
|
|
223
|
-
& :global(.fui-MenuItem__subText) {
|
|
224
|
-
color: var(--colorNeutralForegroundDisabled);
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
&:focus {
|
|
230
|
+
background-color: var(--colorNeutralBackground1);
|
|
231
|
+
& :global(.fui-MenuItem__subText) {
|
|
228
232
|
color: var(--colorNeutralForegroundDisabled);
|
|
229
233
|
}
|
|
230
|
-
|
|
234
|
+
}
|
|
235
|
+
&:focus {
|
|
236
|
+
color: var(--colorNeutralForegroundDisabled);
|
|
237
|
+
}
|
|
238
|
+
@media (forced-colors: active) {
|
|
239
|
+
color: GrayText;
|
|
240
|
+
&:hover {
|
|
241
|
+
forced-color-adjust: auto;
|
|
231
242
|
color: GrayText;
|
|
232
|
-
|
|
233
|
-
|
|
243
|
+
background-color: Canvas;
|
|
244
|
+
& :global(.fui-MenuItem__icon) {
|
|
234
245
|
color: GrayText;
|
|
235
246
|
background-color: Canvas;
|
|
236
|
-
& :global(.fui-MenuItem__icon) {
|
|
237
|
-
color: GrayText;
|
|
238
|
-
background-color: Canvas;
|
|
239
|
-
}
|
|
240
|
-
& :global(.fui-MenuItem__icon),
|
|
241
|
-
& :global(.fui-MenuItem__checkmark),
|
|
242
|
-
& :global(.fui-MenuItem__subText),
|
|
243
|
-
& :global(.fui-MenuItem__secondaryContent) {
|
|
244
|
-
color: GrayText;
|
|
245
|
-
}
|
|
246
247
|
}
|
|
247
|
-
|
|
248
|
+
& :global(.fui-MenuItem__icon),
|
|
249
|
+
& :global(.fui-MenuItem__checkmark),
|
|
250
|
+
& :global(.fui-MenuItem__subText),
|
|
251
|
+
& :global(.fui-MenuItem__secondaryContent) {
|
|
248
252
|
color: GrayText;
|
|
249
|
-
background-color: Canvas;
|
|
250
|
-
& :global(.fui-MenuItem__subText) {
|
|
251
|
-
color: GrayText;
|
|
252
|
-
}
|
|
253
253
|
}
|
|
254
|
-
|
|
254
|
+
}
|
|
255
|
+
&:hover:active {
|
|
256
|
+
color: GrayText;
|
|
257
|
+
background-color: Canvas;
|
|
258
|
+
& :global(.fui-MenuItem__subText) {
|
|
255
259
|
color: GrayText;
|
|
256
|
-
background-color: Canvas;
|
|
257
260
|
}
|
|
258
261
|
}
|
|
259
|
-
|
|
260
|
-
:where(.disabled) > :where(.content) > .subText {
|
|
261
|
-
color: var(--colorNeutralForegroundDisabled);
|
|
262
|
-
@media (forced-colors: active) {
|
|
262
|
+
&:focus {
|
|
263
263
|
color: GrayText;
|
|
264
|
+
background-color: Canvas;
|
|
264
265
|
}
|
|
265
266
|
}
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
:
|
|
271
|
-
|
|
272
|
-
}
|
|
273
|
-
:where(.multiline) > .submenuIndicator {
|
|
274
|
-
align-self: center;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
:where(.disabled) > :where(.content) > .subText {
|
|
270
|
+
color: var(--colorNeutralForegroundDisabled);
|
|
271
|
+
@media (forced-colors: active) {
|
|
272
|
+
color: GrayText;
|
|
275
273
|
}
|
|
276
|
-
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
:where(.multiline) > .content {
|
|
277
|
+
display: flex;
|
|
278
|
+
flex-direction: column;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
:where(.multiline) > .secondaryContent {
|
|
282
|
+
align-self: center;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
:where(.multiline) > .submenuIndicator {
|
|
286
|
+
align-self: center;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
:where(.disabled) > .secondaryContent {
|
|
290
|
+
color: var(--colorNeutralForegroundDisabled);
|
|
291
|
+
&:hover {
|
|
277
292
|
color: var(--colorNeutralForegroundDisabled);
|
|
278
|
-
|
|
293
|
+
background-color: var(--colorNeutralBackground1);
|
|
294
|
+
cursor: not-allowed;
|
|
295
|
+
& :global(.fui-Icon-filled) {
|
|
296
|
+
display: none;
|
|
297
|
+
}
|
|
298
|
+
& :global(.fui-Icon-regular) {
|
|
299
|
+
display: inline;
|
|
300
|
+
}
|
|
301
|
+
& :global(.fui-MenuItem__icon) {
|
|
279
302
|
color: var(--colorNeutralForegroundDisabled);
|
|
280
|
-
background-color: var(--colorNeutralBackground1);
|
|
281
|
-
cursor: not-allowed;
|
|
282
|
-
& :global(.fui-Icon-filled) {
|
|
283
|
-
display: none;
|
|
284
|
-
}
|
|
285
|
-
& :global(.fui-Icon-regular) {
|
|
286
|
-
display: inline;
|
|
287
|
-
}
|
|
288
|
-
& :global(.fui-MenuItem__icon) {
|
|
289
|
-
color: var(--colorNeutralForegroundDisabled);
|
|
290
|
-
}
|
|
291
|
-
& :global(.fui-MenuItem__subText) {
|
|
292
|
-
color: var(--colorNeutralForegroundDisabled);
|
|
293
|
-
}
|
|
294
303
|
}
|
|
295
|
-
|
|
304
|
+
& :global(.fui-MenuItem__subText) {
|
|
296
305
|
color: var(--colorNeutralForegroundDisabled);
|
|
297
|
-
background-color: var(--colorNeutralBackground1);
|
|
298
|
-
& :global(.fui-MenuItem__subText) {
|
|
299
|
-
color: var(--colorNeutralForegroundDisabled);
|
|
300
|
-
}
|
|
301
306
|
}
|
|
302
|
-
|
|
307
|
+
}
|
|
308
|
+
&:hover:active {
|
|
309
|
+
color: var(--colorNeutralForegroundDisabled);
|
|
310
|
+
background-color: var(--colorNeutralBackground1);
|
|
311
|
+
& :global(.fui-MenuItem__subText) {
|
|
303
312
|
color: var(--colorNeutralForegroundDisabled);
|
|
304
313
|
}
|
|
305
|
-
|
|
314
|
+
}
|
|
315
|
+
&:focus {
|
|
316
|
+
color: var(--colorNeutralForegroundDisabled);
|
|
317
|
+
}
|
|
318
|
+
@media (forced-colors: active) {
|
|
319
|
+
color: GrayText;
|
|
320
|
+
&:hover {
|
|
321
|
+
forced-color-adjust: auto;
|
|
306
322
|
color: GrayText;
|
|
307
|
-
|
|
308
|
-
|
|
323
|
+
background-color: Canvas;
|
|
324
|
+
& :global(.fui-MenuItem__icon) {
|
|
309
325
|
color: GrayText;
|
|
310
326
|
background-color: Canvas;
|
|
311
|
-
& :global(.fui-MenuItem__icon) {
|
|
312
|
-
color: GrayText;
|
|
313
|
-
background-color: Canvas;
|
|
314
|
-
}
|
|
315
|
-
& :global(.fui-MenuItem__icon),
|
|
316
|
-
& :global(.fui-MenuItem__checkmark),
|
|
317
|
-
& :global(.fui-MenuItem__subText),
|
|
318
|
-
& :global(.fui-MenuItem__secondaryContent) {
|
|
319
|
-
color: GrayText;
|
|
320
|
-
}
|
|
321
327
|
}
|
|
322
|
-
|
|
328
|
+
& :global(.fui-MenuItem__icon),
|
|
329
|
+
& :global(.fui-MenuItem__checkmark),
|
|
330
|
+
& :global(.fui-MenuItem__subText),
|
|
331
|
+
& :global(.fui-MenuItem__secondaryContent) {
|
|
323
332
|
color: GrayText;
|
|
324
|
-
background-color: Canvas;
|
|
325
|
-
& :global(.fui-MenuItem__subText) {
|
|
326
|
-
color: GrayText;
|
|
327
|
-
}
|
|
328
333
|
}
|
|
329
|
-
|
|
334
|
+
}
|
|
335
|
+
&:hover:active {
|
|
336
|
+
color: GrayText;
|
|
337
|
+
background-color: Canvas;
|
|
338
|
+
& :global(.fui-MenuItem__subText) {
|
|
330
339
|
color: GrayText;
|
|
331
|
-
background-color: Canvas;
|
|
332
340
|
}
|
|
333
341
|
}
|
|
342
|
+
&:focus {
|
|
343
|
+
color: GrayText;
|
|
344
|
+
background-color: Canvas;
|
|
345
|
+
}
|
|
334
346
|
}
|
|
335
347
|
}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
text-decoration-color: initial;
|
|
7
|
-
}
|
|
1
|
+
.resetLink {
|
|
2
|
+
text-decoration-line: none;
|
|
3
|
+
text-decoration-thickness: initial;
|
|
4
|
+
text-decoration-style: initial;
|
|
5
|
+
text-decoration-color: initial;
|
|
8
6
|
}
|