@patternfly/patternfly 6.0.0-alpha.127 → 6.0.0-alpha.129
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/base/patternfly-variables.css +15 -3
- package/base/tokens/tokens-charts-dark.scss +1 -1
- package/base/tokens/tokens-charts.scss +1 -1
- package/base/tokens/tokens-dark.scss +1 -1
- package/base/tokens/tokens-default.scss +16 -4
- package/base/tokens/tokens-palette.scss +1 -1
- package/components/Breadcrumb/breadcrumb.css +1 -1
- package/components/Breadcrumb/breadcrumb.scss +1 -1
- package/components/Hint/hint.css +1 -1
- package/components/Hint/hint.scss +1 -1
- package/components/Login/login.css +2 -9
- package/components/Login/login.scss +1 -9
- package/components/Page/page.css +0 -19
- package/components/Page/page.scss +0 -23
- package/components/Table/table-tree-view.css +25 -25
- package/components/Table/table-tree-view.scss +5 -5
- package/components/_index.css +5269 -7338
- package/components/_index.scss +1 -6
- package/package.json +1 -1
- package/patternfly-base-no-globals.css +15 -3
- package/patternfly-base.css +15 -3
- package/patternfly-no-globals.css +5283 -7340
- package/patternfly.css +5283 -7340
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/namespaces-components.scss +0 -15
- package/sass-utilities/scss-variables.scss +1 -0
- package/components/AppLauncher/app-launcher.css +0 -234
- package/components/AppLauncher/app-launcher.scss +0 -299
- package/components/ContextSelector/context-selector.css +0 -306
- package/components/ContextSelector/context-selector.scss +0 -375
- package/components/Dropdown/dropdown.css +0 -664
- package/components/Dropdown/dropdown.scss +0 -814
- package/components/OptionsMenu/options-menu.css +0 -264
- package/components/OptionsMenu/options-menu.scss +0 -325
- package/components/Select/select.css +0 -570
- package/components/Select/select.scss +0 -704
|
@@ -1,264 +0,0 @@
|
|
|
1
|
-
.pf-v6-c-options-menu {
|
|
2
|
-
--pf-v6-c-options-menu__toggle--BackgroundColor: transparent;
|
|
3
|
-
--pf-v6-c-options-menu__toggle--PaddingBlockStart: var(--pf-v6-global--spacer--form-element);
|
|
4
|
-
--pf-v6-c-options-menu__toggle--PaddingInlineEnd: var(--pf-v6-global--spacer--sm);
|
|
5
|
-
--pf-v6-c-options-menu__toggle--PaddingBlockEnd: var(--pf-v6-global--spacer--form-element);
|
|
6
|
-
--pf-v6-c-options-menu__toggle--PaddingInlineStart: var(--pf-v6-global--spacer--sm);
|
|
7
|
-
--pf-v6-c-options-menu__toggle--ColumnGap: var(--pf-v6-global--spacer--sm);
|
|
8
|
-
--pf-v6-c-options-menu__toggle--MinWidth: 0;
|
|
9
|
-
--pf-v6-c-options-menu__toggle--BorderWidth: var(--pf-v6-global--BorderWidth--sm);
|
|
10
|
-
--pf-v6-c-options-menu__toggle--BorderBlockStartColor: var(--pf-v6-global--BorderColor--300);
|
|
11
|
-
--pf-v6-c-options-menu__toggle--BorderInlineEndColor: var(--pf-v6-global--BorderColor--300);
|
|
12
|
-
--pf-v6-c-options-menu__toggle--BorderBlockEndColor: var(--pf-v6-global--BorderColor--200);
|
|
13
|
-
--pf-v6-c-options-menu__toggle--BorderInlineStartColor: var(--pf-v6-global--BorderColor--300);
|
|
14
|
-
--pf-v6-c-options-menu__toggle--Color: var(--pf-v6-global--Color--100);
|
|
15
|
-
--pf-v6-c-options-menu__toggle--hover--BorderBlockEndColor: var(--pf-v6-global--active-color--100);
|
|
16
|
-
--pf-v6-c-options-menu__toggle--active--BorderBlockEndWidth: var(--pf-v6-global--BorderWidth--md);
|
|
17
|
-
--pf-v6-c-options-menu__toggle--active--BorderBlockEndColor: var(--pf-v6-global--active-color--100);
|
|
18
|
-
--pf-v6-c-options-menu__toggle--focus--BorderBlockEndWidth: var(--pf-v6-global--BorderWidth--md);
|
|
19
|
-
--pf-v6-c-options-menu__toggle--focus--BorderBlockEndColor: var(--pf-v6-global--active-color--100);
|
|
20
|
-
--pf-v6-c-options-menu__toggle--expanded--BorderBlockEndWidth: var(--pf-v6-global--BorderWidth--md);
|
|
21
|
-
--pf-v6-c-options-menu__toggle--expanded--BorderBlockEndColor: var(--pf-v6-global--active-color--100);
|
|
22
|
-
--pf-v6-c-options-menu__toggle--disabled--BackgroundColor: var(--pf-v6-global--disabled-color--300);
|
|
23
|
-
--pf-v6-c-options-menu__toggle--m-plain--Color: var(--pf-v6-global--Color--200);
|
|
24
|
-
--pf-v6-c-options-menu__toggle--m-plain--hover--Color: var(--pf-v6-global--Color--100);
|
|
25
|
-
--pf-v6-c-options-menu__toggle--m-plain--disabled--Color: var(--pf-v6-global--disabled-color--200);
|
|
26
|
-
--pf-v6-c-options-menu__toggle--m-plain--PaddingInlineEnd: var(--pf-v6-global--spacer--md);
|
|
27
|
-
--pf-v6-c-options-menu__toggle--m-plain--PaddingInlineStart: var(--pf-v6-global--spacer--md);
|
|
28
|
-
--pf-v6-c-options-menu__toggle-icon--PaddingInlineEnd: var(--pf-v6-global--spacer--sm);
|
|
29
|
-
--pf-v6-c-options-menu__toggle-icon--PaddingInlineStart: var(--pf-v6-global--spacer--sm);
|
|
30
|
-
--pf-v6-c-options-menu--m-top--m-expanded__toggle-icon--Rotate: 180deg;
|
|
31
|
-
--pf-v6-c-options-menu--m-plain__toggle-icon--Color: var(--pf-v6-global--Color--200);
|
|
32
|
-
--pf-v6-c-options-menu--m-plain--hover__toggle-icon--Color: var(--pf-v6-global--Color--100);
|
|
33
|
-
--pf-v6-c-options-menu__toggle-button--BackgroundColor: transparent;
|
|
34
|
-
--pf-v6-c-options-menu__toggle-button--PaddingBlockStart: var(--pf-v6-global--spacer--form-element);
|
|
35
|
-
--pf-v6-c-options-menu__toggle-button--PaddingInlineEnd: var(--pf-v6-global--spacer--sm);
|
|
36
|
-
--pf-v6-c-options-menu__toggle-button--PaddingBlockEnd: var(--pf-v6-global--spacer--form-element);
|
|
37
|
-
--pf-v6-c-options-menu__toggle-button--PaddingInlineStart: var(--pf-v6-global--spacer--sm);
|
|
38
|
-
--pf-v6-c-options-menu__menu--BackgroundColor: var(--pf-v6-global--BackgroundColor--light-100);
|
|
39
|
-
--pf-v6-c-options-menu__menu--BoxShadow: var(--pf-v6-global--BoxShadow--md);
|
|
40
|
-
--pf-v6-c-options-menu__menu--PaddingBlockStart: var(--pf-v6-global--spacer--sm);
|
|
41
|
-
--pf-v6-c-options-menu__menu--PaddingBlockEnd: var(--pf-v6-global--spacer--sm);
|
|
42
|
-
--pf-v6-c-options-menu__menu--InsetBlockStart: calc(100% + var(--pf-v6-global--spacer--xs));
|
|
43
|
-
--pf-v6-c-options-menu__menu--ZIndex: var(--pf-t--global--z-index--sm);
|
|
44
|
-
--pf-v6-c-options-menu--m-top__menu--InsetBlockStart: 0;
|
|
45
|
-
--pf-v6-c-options-menu--m-top__menu--TranslateY: calc(-100% - var(--pf-v6-global--spacer--xs));
|
|
46
|
-
--pf-v6-c-options-menu__menu-item--BackgroundColor: transparent;
|
|
47
|
-
--pf-v6-c-options-menu__menu-item--Color: var(--pf-v6-global--Color--100);
|
|
48
|
-
--pf-v6-c-options-menu__menu-item--FontSize: var(--pf-v6-global--FontSize--md);
|
|
49
|
-
--pf-v6-c-options-menu__menu-item--PaddingBlockStart: var(--pf-v6-global--spacer--sm);
|
|
50
|
-
--pf-v6-c-options-menu__menu-item--PaddingInlineEnd: var(--pf-v6-global--spacer--md);
|
|
51
|
-
--pf-v6-c-options-menu__menu-item--PaddingBlockEnd: var(--pf-v6-global--spacer--sm);
|
|
52
|
-
--pf-v6-c-options-menu__menu-item--PaddingInlineStart: var(--pf-v6-global--spacer--md);
|
|
53
|
-
--pf-v6-c-options-menu__menu-item--disabled--Color: var(--pf-v6-global--Color--dark-200);
|
|
54
|
-
--pf-v6-c-options-menu__menu-item--hover--BackgroundColor: var(--pf-v6-global--BackgroundColor--light-300);
|
|
55
|
-
--pf-v6-c-options-menu__menu-item--disabled--BackgroundColor: transparent;
|
|
56
|
-
--pf-v6-c-options-menu__menu-item-icon--Color: var(--pf-v6-global--active-color--100);
|
|
57
|
-
--pf-v6-c-options-menu__menu-item-icon--FontSize: var(--pf-v6-global--icon--FontSize--sm);
|
|
58
|
-
--pf-v6-c-options-menu__menu-item-icon--PaddingInlineStart: var(--pf-v6-global--spacer--lg);
|
|
59
|
-
--pf-v6-c-options-menu__group--group--PaddingBlockStart: var(--pf-v6-global--spacer--sm);
|
|
60
|
-
--pf-v6-c-options-menu__group-title--PaddingBlockStart: var(--pf-v6-global--spacer--sm);
|
|
61
|
-
--pf-v6-c-options-menu__group-title--PaddingInlineEnd: var(--pf-v6-c-options-menu__menu-item--PaddingInlineEnd);
|
|
62
|
-
--pf-v6-c-options-menu__group-title--PaddingBlockEnd: var(--pf-v6-c-options-menu__menu-item--PaddingBlockEnd);
|
|
63
|
-
--pf-v6-c-options-menu__group-title--PaddingInlineStart: var(--pf-v6-c-options-menu__menu-item--PaddingInlineStart);
|
|
64
|
-
--pf-v6-c-options-menu__group-title--FontSize: var(--pf-v6-global--FontSize--xs);
|
|
65
|
-
--pf-v6-c-options-menu__group-title--FontWeight: var(--pf-v6-global--FontWeight--normal);
|
|
66
|
-
--pf-v6-c-options-menu__group-title--Color: var(--pf-v6-global--Color--dark-200);
|
|
67
|
-
--pf-v6-c-options-menu--c-divider--MarginBlockStart: var(--pf-v6-global--spacer--sm);
|
|
68
|
-
--pf-v6-c-options-menu--c-divider--MarginBlockEnd: var(--pf-v6-global--spacer--sm);
|
|
69
|
-
position: relative;
|
|
70
|
-
display: inline-block;
|
|
71
|
-
max-width: 100%;
|
|
72
|
-
}
|
|
73
|
-
.pf-v6-c-options-menu .pf-v6-c-divider {
|
|
74
|
-
margin-block-start: var(--pf-v6-c-options-menu--c-divider--MarginBlockStart);
|
|
75
|
-
margin-block-end: var(--pf-v6-c-options-menu--c-divider--MarginBlockEnd);
|
|
76
|
-
}
|
|
77
|
-
.pf-v6-c-options-menu .pf-v6-c-divider:last-child {
|
|
78
|
-
--pf-v6-c-options-menu--c-divider--MarginBlockEnd: 0;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.pf-v6-c-options-menu__toggle:not(.pf-m-plain)::before,
|
|
82
|
-
.pf-v6-c-options-menu.pf-m-text:not(.pf-m-plain) .pf-v6-c-options-menu__toggle-button::before {
|
|
83
|
-
position: absolute;
|
|
84
|
-
inset-block-start: 0;
|
|
85
|
-
inset-block-end: 0;
|
|
86
|
-
inset-inline-start: 0;
|
|
87
|
-
inset-inline-end: 0;
|
|
88
|
-
content: "";
|
|
89
|
-
border: var(--pf-v6-c-options-menu__toggle--BorderWidth) solid;
|
|
90
|
-
border-block-start-color: var(--pf-v6-c-options-menu__toggle--BorderBlockStartColor);
|
|
91
|
-
border-block-end-color: var(--pf-v6-c-options-menu__toggle--BorderBlockEndColor);
|
|
92
|
-
border-inline-start-color: var(--pf-v6-c-options-menu__toggle--BorderInlineStartColor);
|
|
93
|
-
border-inline-end-color: var(--pf-v6-c-options-menu__toggle--BorderInlineEndColor);
|
|
94
|
-
}
|
|
95
|
-
.pf-v6-c-options-menu__toggle:not(.pf-m-plain):hover::before,
|
|
96
|
-
.pf-v6-c-options-menu.pf-m-text:not(.pf-m-plain) .pf-v6-c-options-menu__toggle-button:hover::before {
|
|
97
|
-
--pf-v6-c-options-menu__toggle--BorderBlockEndColor: var(--pf-v6-c-options-menu__toggle--hover--BorderBlockEndColor);
|
|
98
|
-
}
|
|
99
|
-
.pf-v6-c-options-menu__toggle:not(.pf-m-plain):active::before, .pf-v6-c-options-menu__toggle:not(.pf-m-plain).pf-m-active::before,
|
|
100
|
-
.pf-v6-c-options-menu.pf-m-text:not(.pf-m-plain) .pf-v6-c-options-menu__toggle-button:active::before,
|
|
101
|
-
.pf-v6-c-options-menu.pf-m-text:not(.pf-m-plain) .pf-v6-c-options-menu__toggle-button.pf-m-active::before {
|
|
102
|
-
--pf-v6-c-options-menu__toggle--BorderBlockEndColor: var(--pf-v6-c-options-menu__toggle--active--BorderBlockEndColor);
|
|
103
|
-
border-block-end-width: var(--pf-v6-c-options-menu__toggle--active--BorderBlockEndWidth);
|
|
104
|
-
}
|
|
105
|
-
.pf-v6-c-options-menu__toggle:not(.pf-m-plain):focus::before,
|
|
106
|
-
.pf-v6-c-options-menu.pf-m-text:not(.pf-m-plain) .pf-v6-c-options-menu__toggle-button:focus::before {
|
|
107
|
-
--pf-v6-c-options-menu__toggle--BorderBlockEndColor: var(--pf-v6-c-options-menu__toggle--focus--BorderBlockEndColor);
|
|
108
|
-
border-block-end-width: var(--pf-v6-c-options-menu__toggle--focus--BorderBlockEndWidth);
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
.pf-v6-c-options-menu__toggle {
|
|
112
|
-
position: relative;
|
|
113
|
-
display: flex;
|
|
114
|
-
column-gap: var(--pf-v6-c-options-menu__toggle--ColumnGap);
|
|
115
|
-
align-items: center;
|
|
116
|
-
min-width: var(--pf-v6-c-options-menu__toggle--MinWidth);
|
|
117
|
-
max-width: 100%;
|
|
118
|
-
padding-block-start: var(--pf-v6-c-options-menu__toggle--PaddingBlockStart);
|
|
119
|
-
padding-block-end: var(--pf-v6-c-options-menu__toggle--PaddingBlockEnd);
|
|
120
|
-
padding-inline-start: var(--pf-v6-c-options-menu__toggle--PaddingInlineStart);
|
|
121
|
-
padding-inline-end: var(--pf-v6-c-options-menu__toggle--PaddingInlineEnd);
|
|
122
|
-
color: var(--pf-v6-c-options-menu__toggle--Color);
|
|
123
|
-
background-color: var(--pf-v6-c-options-menu__toggle--BackgroundColor);
|
|
124
|
-
border: none;
|
|
125
|
-
}
|
|
126
|
-
.pf-v6-c-options-menu.pf-m-expanded > .pf-v6-c-options-menu__toggle::before {
|
|
127
|
-
--pf-v6-c-options-menu__toggle--BorderBlockEndColor: var(--pf-v6-c-options-menu__toggle--expanded--BorderBlockEndColor);
|
|
128
|
-
border-block-end-width: var(--pf-v6-c-options-menu__toggle--expanded--BorderBlockEndWidth);
|
|
129
|
-
}
|
|
130
|
-
.pf-v6-c-options-menu__toggle.pf-m-plain {
|
|
131
|
-
--pf-v6-c-options-menu__toggle-icon--Color: var(--pf-v6-c-options-menu--m-plain__toggle-icon--Color);
|
|
132
|
-
}
|
|
133
|
-
.pf-v6-c-options-menu__toggle.pf-m-plain:not(.pf-m-text) {
|
|
134
|
-
--pf-v6-c-options-menu__toggle--PaddingInlineEnd: var(--pf-v6-c-options-menu__toggle--m-plain--PaddingInlineEnd);
|
|
135
|
-
--pf-v6-c-options-menu__toggle--PaddingInlineStart: var(--pf-v6-c-options-menu__toggle--m-plain--PaddingInlineStart);
|
|
136
|
-
display: inline-block;
|
|
137
|
-
color: var(--pf-v6-c-options-menu__toggle--m-plain--Color);
|
|
138
|
-
}
|
|
139
|
-
.pf-v6-c-options-menu__toggle.pf-m-plain:hover, .pf-v6-c-options-menu__toggle.pf-m-plain:active, .pf-v6-c-options-menu__toggle.pf-m-plain.pf-m-active, .pf-v6-c-options-menu__toggle.pf-m-plain:focus, .pf-v6-c-options-menu.pf-m-expanded > .pf-v6-c-options-menu__toggle.pf-m-plain {
|
|
140
|
-
--pf-v6-c-options-menu__toggle--m-plain--Color: var(--pf-v6-c-options-menu__toggle--m-plain--hover--Color);
|
|
141
|
-
--pf-v6-c-options-menu--m-plain__toggle-icon--Color: var(--pf-v6-c-options-menu--m-plain--hover__toggle-icon--Color);
|
|
142
|
-
}
|
|
143
|
-
.pf-v6-c-options-menu__toggle.pf-m-plain.pf-m-disabled, .pf-v6-c-options-menu__toggle.pf-m-plain:disabled {
|
|
144
|
-
--pf-v6-c-options-menu__toggle--m-plain--Color: var(--pf-v6-c-options-menu__toggle--m-plain--disabled--Color);
|
|
145
|
-
}
|
|
146
|
-
.pf-v6-c-options-menu__toggle.pf-m-disabled, .pf-v6-c-options-menu__toggle:disabled {
|
|
147
|
-
pointer-events: none;
|
|
148
|
-
}
|
|
149
|
-
.pf-v6-c-options-menu__toggle.pf-m-disabled:not(.pf-m-plain), .pf-v6-c-options-menu__toggle.pf-m-disabled.pf-m-text, .pf-v6-c-options-menu__toggle:disabled:not(.pf-m-plain), .pf-v6-c-options-menu__toggle:disabled.pf-m-text {
|
|
150
|
-
--pf-v6-c-options-menu__toggle--BackgroundColor: var(--pf-v6-c-options-menu__toggle--disabled--BackgroundColor);
|
|
151
|
-
}
|
|
152
|
-
.pf-v6-c-options-menu__toggle.pf-m-disabled::before, .pf-v6-c-options-menu__toggle:disabled::before {
|
|
153
|
-
border: 0;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
.pf-v6-c-options-menu__toggle-button-icon {
|
|
157
|
-
position: relative;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
.pf-v6-c-options-menu__toggle-button {
|
|
161
|
-
padding-block-start: var(--pf-v6-c-options-menu__toggle-button--PaddingBlockStart);
|
|
162
|
-
padding-block-end: var(--pf-v6-c-options-menu__toggle-button--PaddingBlockEnd);
|
|
163
|
-
padding-inline-start: var(--pf-v6-c-options-menu__toggle-button--PaddingInlineStart);
|
|
164
|
-
padding-inline-end: var(--pf-v6-c-options-menu__toggle-button--PaddingInlineEnd);
|
|
165
|
-
background-color: var(--pf-v6-c-options-menu__toggle-button--BackgroundColor);
|
|
166
|
-
border: 0;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
.pf-v6-c-options-menu__toggle-text {
|
|
170
|
-
overflow: hidden;
|
|
171
|
-
text-overflow: ellipsis;
|
|
172
|
-
white-space: nowrap;
|
|
173
|
-
flex: 1 1 auto;
|
|
174
|
-
text-align: start;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
.pf-v6-c-options-menu__toggle-icon,
|
|
178
|
-
.pf-v6-c-options-menu__toggle-button-icon {
|
|
179
|
-
color: var(--pf-v6-c-options-menu__toggle-icon--Color, inherit);
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
.pf-v6-c-options-menu__toggle-icon {
|
|
183
|
-
padding-inline-start: var(--pf-v6-c-options-menu__toggle-icon--PaddingInlineStart);
|
|
184
|
-
padding-inline-end: var(--pf-v6-c-options-menu__toggle-icon--PaddingInlineEnd);
|
|
185
|
-
}
|
|
186
|
-
.pf-v6-c-options-menu.pf-m-top.pf-m-expanded .pf-v6-c-options-menu__toggle-icon {
|
|
187
|
-
transform: rotate(var(--pf-v6-c-options-menu--m-top--m-expanded__toggle-icon--Rotate));
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
.pf-v6-c-options-menu__menu {
|
|
191
|
-
position: absolute;
|
|
192
|
-
inset-block-start: var(--pf-v6-c-options-menu__menu--InsetBlockStart);
|
|
193
|
-
z-index: var(--pf-v6-c-options-menu__menu--ZIndex);
|
|
194
|
-
min-width: 100%;
|
|
195
|
-
padding-block-start: var(--pf-v6-c-options-menu__menu--PaddingBlockStart);
|
|
196
|
-
padding-block-end: var(--pf-v6-c-options-menu__menu--PaddingBlockEnd);
|
|
197
|
-
background-color: var(--pf-v6-c-options-menu__menu--BackgroundColor);
|
|
198
|
-
background-clip: padding-box;
|
|
199
|
-
box-shadow: var(--pf-v6-c-options-menu__menu--BoxShadow);
|
|
200
|
-
}
|
|
201
|
-
.pf-v6-c-options-menu__menu.pf-m-align-right {
|
|
202
|
-
inset-inline-end: 0;
|
|
203
|
-
}
|
|
204
|
-
.pf-v6-c-options-menu.pf-m-top .pf-v6-c-options-menu__menu {
|
|
205
|
-
--pf-v6-c-options-menu__menu--InsetBlockStart: var(--pf-v6-c-options-menu--m-top__menu--InsetBlockStart);
|
|
206
|
-
transform: translateY(var(--pf-v6-c-options-menu--m-top__menu--TranslateY));
|
|
207
|
-
}
|
|
208
|
-
.pf-v6-c-options-menu__menu.pf-m-static {
|
|
209
|
-
--pf-v6-c-options-menu--m-top__menu--TranslateY: 0;
|
|
210
|
-
position: static;
|
|
211
|
-
inset-block-start: auto;
|
|
212
|
-
inset-block-end: auto;
|
|
213
|
-
inset-inline-start: auto;
|
|
214
|
-
inset-inline-end: auto;
|
|
215
|
-
z-index: auto;
|
|
216
|
-
min-width: min-content;
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
.pf-v6-c-options-menu__menu-item {
|
|
220
|
-
display: flex;
|
|
221
|
-
align-items: baseline;
|
|
222
|
-
width: 100%;
|
|
223
|
-
padding-block-start: var(--pf-v6-c-options-menu__menu-item--PaddingBlockStart);
|
|
224
|
-
padding-block-end: var(--pf-v6-c-options-menu__menu-item--PaddingBlockEnd);
|
|
225
|
-
padding-inline-start: var(--pf-v6-c-options-menu__menu-item--PaddingInlineStart);
|
|
226
|
-
padding-inline-end: var(--pf-v6-c-options-menu__menu-item--PaddingInlineEnd);
|
|
227
|
-
font-size: var(--pf-v6-c-options-menu__menu-item--FontSize);
|
|
228
|
-
color: var(--pf-v6-c-options-menu__menu-item--Color);
|
|
229
|
-
white-space: nowrap;
|
|
230
|
-
background-color: var(--pf-v6-c-options-menu__menu-item--BackgroundColor);
|
|
231
|
-
border: none;
|
|
232
|
-
}
|
|
233
|
-
.pf-v6-c-options-menu__menu-item:hover, .pf-v6-c-options-menu__menu-item:focus {
|
|
234
|
-
text-decoration: none;
|
|
235
|
-
background-color: var(--pf-v6-c-options-menu__menu-item--hover--BackgroundColor);
|
|
236
|
-
}
|
|
237
|
-
.pf-v6-c-options-menu__menu-item:disabled, .pf-v6-c-options-menu__menu-item.pf-m-disabled {
|
|
238
|
-
color: var(--pf-v6-c-options-menu__menu-item--disabled--Color);
|
|
239
|
-
pointer-events: none;
|
|
240
|
-
background-color: var(--pf-v6-c-options-menu__menu-item--disabled--BackgroundColor);
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
.pf-v6-c-options-menu__menu-item-icon {
|
|
244
|
-
align-self: center;
|
|
245
|
-
width: auto;
|
|
246
|
-
padding-inline-start: var(--pf-v6-c-options-menu__menu-item-icon--PaddingInlineStart);
|
|
247
|
-
margin-inline-start: auto;
|
|
248
|
-
font-size: var(--pf-v6-c-options-menu__menu-item-icon--FontSize);
|
|
249
|
-
color: var(--pf-v6-c-options-menu__menu-item-icon--Color);
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
.pf-v6-c-options-menu__group + .pf-v6-c-options-menu__group {
|
|
253
|
-
padding-block-start: var(--pf-v6-c-options-menu__group--group--PaddingBlockStart);
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
.pf-v6-c-options-menu__group-title {
|
|
257
|
-
padding-block-start: var(--pf-v6-c-options-menu__group-title--PaddingBlockStart);
|
|
258
|
-
padding-block-end: var(--pf-v6-c-options-menu__group-title--PaddingBlockEnd);
|
|
259
|
-
padding-inline-start: var(--pf-v6-c-options-menu__group-title--PaddingInlineStart);
|
|
260
|
-
padding-inline-end: var(--pf-v6-c-options-menu__group-title--PaddingInlineEnd);
|
|
261
|
-
font-size: var(--pf-v6-c-options-menu__group-title--FontSize);
|
|
262
|
-
font-weight: var(--pf-v6-c-options-menu__group-title--FontWeight);
|
|
263
|
-
color: var(--pf-v6-c-options-menu__group-title--Color);
|
|
264
|
-
}
|
|
@@ -1,325 +0,0 @@
|
|
|
1
|
-
@use '../../sass-utilities' as *;
|
|
2
|
-
|
|
3
|
-
.#{$options-menu} {
|
|
4
|
-
// Toggle
|
|
5
|
-
--#{$options-menu}__toggle--BackgroundColor: transparent;
|
|
6
|
-
--#{$options-menu}__toggle--PaddingBlockStart: var(--#{$pf-global}--spacer--form-element);
|
|
7
|
-
--#{$options-menu}__toggle--PaddingInlineEnd: var(--#{$pf-global}--spacer--sm);
|
|
8
|
-
--#{$options-menu}__toggle--PaddingBlockEnd: var(--#{$pf-global}--spacer--form-element);
|
|
9
|
-
--#{$options-menu}__toggle--PaddingInlineStart: var(--#{$pf-global}--spacer--sm);
|
|
10
|
-
--#{$options-menu}__toggle--ColumnGap: var(--#{$pf-global}--spacer--sm);
|
|
11
|
-
--#{$options-menu}__toggle--MinWidth: 0;
|
|
12
|
-
--#{$options-menu}__toggle--BorderWidth: var(--#{$pf-global}--BorderWidth--sm);
|
|
13
|
-
--#{$options-menu}__toggle--BorderBlockStartColor: var(--#{$pf-global}--BorderColor--300);
|
|
14
|
-
--#{$options-menu}__toggle--BorderInlineEndColor: var(--#{$pf-global}--BorderColor--300);
|
|
15
|
-
--#{$options-menu}__toggle--BorderBlockEndColor: var(--#{$pf-global}--BorderColor--200);
|
|
16
|
-
--#{$options-menu}__toggle--BorderInlineStartColor: var(--#{$pf-global}--BorderColor--300);
|
|
17
|
-
--#{$options-menu}__toggle--Color: var(--#{$pf-global}--Color--100);
|
|
18
|
-
--#{$options-menu}__toggle--hover--BorderBlockEndColor: var(--#{$pf-global}--active-color--100);
|
|
19
|
-
--#{$options-menu}__toggle--active--BorderBlockEndWidth: var(--#{$pf-global}--BorderWidth--md);
|
|
20
|
-
--#{$options-menu}__toggle--active--BorderBlockEndColor: var(--#{$pf-global}--active-color--100);
|
|
21
|
-
--#{$options-menu}__toggle--focus--BorderBlockEndWidth: var(--#{$pf-global}--BorderWidth--md);
|
|
22
|
-
--#{$options-menu}__toggle--focus--BorderBlockEndColor: var(--#{$pf-global}--active-color--100);
|
|
23
|
-
--#{$options-menu}__toggle--expanded--BorderBlockEndWidth: var(--#{$pf-global}--BorderWidth--md);
|
|
24
|
-
--#{$options-menu}__toggle--expanded--BorderBlockEndColor: var(--#{$pf-global}--active-color--100);
|
|
25
|
-
--#{$options-menu}__toggle--disabled--BackgroundColor: var(--#{$pf-global}--disabled-color--300);
|
|
26
|
-
--#{$options-menu}__toggle--m-plain--Color: var(--#{$pf-global}--Color--200);
|
|
27
|
-
--#{$options-menu}__toggle--m-plain--hover--Color: var(--#{$pf-global}--Color--100);
|
|
28
|
-
--#{$options-menu}__toggle--m-plain--disabled--Color: var(--#{$pf-global}--disabled-color--200);
|
|
29
|
-
--#{$options-menu}__toggle--m-plain--PaddingInlineEnd: var(--#{$pf-global}--spacer--md);
|
|
30
|
-
--#{$options-menu}__toggle--m-plain--PaddingInlineStart: var(--#{$pf-global}--spacer--md);
|
|
31
|
-
|
|
32
|
-
// Toggle arrow
|
|
33
|
-
--#{$options-menu}__toggle-icon--PaddingInlineEnd: var(--#{$pf-global}--spacer--sm);
|
|
34
|
-
--#{$options-menu}__toggle-icon--PaddingInlineStart: var(--#{$pf-global}--spacer--sm);
|
|
35
|
-
--#{$options-menu}--m-top--m-expanded__toggle-icon--Rotate: 180deg;
|
|
36
|
-
--#{$options-menu}--m-plain__toggle-icon--Color: var(--#{$pf-global}--Color--200);
|
|
37
|
-
--#{$options-menu}--m-plain--hover__toggle-icon--Color: var(--#{$pf-global}--Color--100);
|
|
38
|
-
|
|
39
|
-
// Text toggle button
|
|
40
|
-
--#{$options-menu}__toggle-button--BackgroundColor: transparent;
|
|
41
|
-
--#{$options-menu}__toggle-button--PaddingBlockStart: var(--#{$pf-global}--spacer--form-element);
|
|
42
|
-
--#{$options-menu}__toggle-button--PaddingInlineEnd: var(--#{$pf-global}--spacer--sm);
|
|
43
|
-
--#{$options-menu}__toggle-button--PaddingBlockEnd: var(--#{$pf-global}--spacer--form-element);
|
|
44
|
-
--#{$options-menu}__toggle-button--PaddingInlineStart: var(--#{$pf-global}--spacer--sm);
|
|
45
|
-
|
|
46
|
-
// Menu
|
|
47
|
-
--#{$options-menu}__menu--BackgroundColor: var(--#{$pf-global}--BackgroundColor--light-100);
|
|
48
|
-
--#{$options-menu}__menu--BoxShadow: var(--#{$pf-global}--BoxShadow--md);
|
|
49
|
-
--#{$options-menu}__menu--PaddingBlockStart: var(--#{$pf-global}--spacer--sm);
|
|
50
|
-
--#{$options-menu}__menu--PaddingBlockEnd: var(--#{$pf-global}--spacer--sm);
|
|
51
|
-
--#{$options-menu}__menu--InsetBlockStart: calc(100% + var(--#{$pf-global}--spacer--xs));
|
|
52
|
-
--#{$options-menu}__menu--ZIndex: var(--pf-t--global--z-index--sm);
|
|
53
|
-
--#{$options-menu}--m-top__menu--InsetBlockStart: 0;
|
|
54
|
-
--#{$options-menu}--m-top__menu--TranslateY: calc(-100% - var(--#{$pf-global}--spacer--xs)); // The "dropup" menu must be transformed up and this calculates how much to create space between the toggle and menu
|
|
55
|
-
|
|
56
|
-
// Menu item
|
|
57
|
-
--#{$options-menu}__menu-item--BackgroundColor: transparent;
|
|
58
|
-
--#{$options-menu}__menu-item--Color: var(--#{$pf-global}--Color--100);
|
|
59
|
-
--#{$options-menu}__menu-item--FontSize: var(--#{$pf-global}--FontSize--md);
|
|
60
|
-
--#{$options-menu}__menu-item--PaddingBlockStart: var(--#{$pf-global}--spacer--sm);
|
|
61
|
-
--#{$options-menu}__menu-item--PaddingInlineEnd: var(--#{$pf-global}--spacer--md);
|
|
62
|
-
--#{$options-menu}__menu-item--PaddingBlockEnd: var(--#{$pf-global}--spacer--sm);
|
|
63
|
-
--#{$options-menu}__menu-item--PaddingInlineStart: var(--#{$pf-global}--spacer--md);
|
|
64
|
-
--#{$options-menu}__menu-item--disabled--Color: var(--#{$pf-global}--Color--dark-200);
|
|
65
|
-
--#{$options-menu}__menu-item--hover--BackgroundColor: var(--#{$pf-global}--BackgroundColor--light-300);
|
|
66
|
-
--#{$options-menu}__menu-item--disabled--BackgroundColor: transparent;
|
|
67
|
-
|
|
68
|
-
// Menu item icon
|
|
69
|
-
--#{$options-menu}__menu-item-icon--Color: var(--#{$pf-global}--active-color--100);
|
|
70
|
-
--#{$options-menu}__menu-item-icon--FontSize: var(--#{$pf-global}--icon--FontSize--sm);
|
|
71
|
-
--#{$options-menu}__menu-item-icon--PaddingInlineStart: var(--#{$pf-global}--spacer--lg);
|
|
72
|
-
|
|
73
|
-
// Groups
|
|
74
|
-
--#{$options-menu}__group--group--PaddingBlockStart: var(--#{$pf-global}--spacer--sm);
|
|
75
|
-
--#{$options-menu}__group-title--PaddingBlockStart: var(--#{$pf-global}--spacer--sm);
|
|
76
|
-
--#{$options-menu}__group-title--PaddingInlineEnd: var(--#{$options-menu}__menu-item--PaddingInlineEnd);
|
|
77
|
-
--#{$options-menu}__group-title--PaddingBlockEnd: var(--#{$options-menu}__menu-item--PaddingBlockEnd);
|
|
78
|
-
--#{$options-menu}__group-title--PaddingInlineStart: var(--#{$options-menu}__menu-item--PaddingInlineStart);
|
|
79
|
-
--#{$options-menu}__group-title--FontSize: var(--#{$pf-global}--FontSize--xs);
|
|
80
|
-
--#{$options-menu}__group-title--FontWeight: var(--#{$pf-global}--FontWeight--normal);
|
|
81
|
-
--#{$options-menu}__group-title--Color: var(--#{$pf-global}--Color--dark-200);
|
|
82
|
-
|
|
83
|
-
// Divider
|
|
84
|
-
--#{$options-menu}--c-divider--MarginBlockStart: var(--#{$pf-global}--spacer--sm);
|
|
85
|
-
--#{$options-menu}--c-divider--MarginBlockEnd: var(--#{$pf-global}--spacer--sm);
|
|
86
|
-
|
|
87
|
-
position: relative;
|
|
88
|
-
display: inline-block;
|
|
89
|
-
max-width: 100%;
|
|
90
|
-
|
|
91
|
-
.#{$divider} {
|
|
92
|
-
margin-block-start: var(--#{$options-menu}--c-divider--MarginBlockStart);
|
|
93
|
-
margin-block-end: var(--#{$options-menu}--c-divider--MarginBlockEnd);
|
|
94
|
-
|
|
95
|
-
// Support divider as last item in group to separate groups
|
|
96
|
-
&:last-child {
|
|
97
|
-
--#{$options-menu}--c-divider--MarginBlockEnd: 0;
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.#{$options-menu}__toggle:not(.pf-m-plain),
|
|
103
|
-
.#{$options-menu}.pf-m-text:not(.pf-m-plain) .#{$options-menu}__toggle-button {
|
|
104
|
-
&::before {
|
|
105
|
-
position: absolute;
|
|
106
|
-
inset-block-start: 0;
|
|
107
|
-
inset-block-end: 0;
|
|
108
|
-
inset-inline-start: 0;
|
|
109
|
-
inset-inline-end: 0;
|
|
110
|
-
content: "";
|
|
111
|
-
border: var(--#{$options-menu}__toggle--BorderWidth) solid;
|
|
112
|
-
border-block-start-color: var(--#{$options-menu}__toggle--BorderBlockStartColor);
|
|
113
|
-
border-block-end-color: var(--#{$options-menu}__toggle--BorderBlockEndColor);
|
|
114
|
-
border-inline-start-color: var(--#{$options-menu}__toggle--BorderInlineStartColor);
|
|
115
|
-
border-inline-end-color: var(--#{$options-menu}__toggle--BorderInlineEndColor);
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
&:hover {
|
|
119
|
-
&::before {
|
|
120
|
-
--#{$options-menu}__toggle--BorderBlockEndColor: var(--#{$options-menu}__toggle--hover--BorderBlockEndColor);
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
&:active,
|
|
125
|
-
&.pf-m-active {
|
|
126
|
-
&::before {
|
|
127
|
-
--#{$options-menu}__toggle--BorderBlockEndColor: var(--#{$options-menu}__toggle--active--BorderBlockEndColor);
|
|
128
|
-
|
|
129
|
-
border-block-end-width: var(--#{$options-menu}__toggle--active--BorderBlockEndWidth);
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
&:focus {
|
|
134
|
-
&::before {
|
|
135
|
-
--#{$options-menu}__toggle--BorderBlockEndColor: var(--#{$options-menu}__toggle--focus--BorderBlockEndColor);
|
|
136
|
-
|
|
137
|
-
border-block-end-width: var(--#{$options-menu}__toggle--focus--BorderBlockEndWidth);
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
.#{$options-menu}__toggle {
|
|
143
|
-
position: relative;
|
|
144
|
-
display: flex;
|
|
145
|
-
column-gap: var(--#{$options-menu}__toggle--ColumnGap);
|
|
146
|
-
align-items: center;
|
|
147
|
-
min-width: var(--#{$options-menu}__toggle--MinWidth);
|
|
148
|
-
max-width: 100%;
|
|
149
|
-
padding-block-start: var(--#{$options-menu}__toggle--PaddingBlockStart);
|
|
150
|
-
padding-block-end: var(--#{$options-menu}__toggle--PaddingBlockEnd);
|
|
151
|
-
padding-inline-start: var(--#{$options-menu}__toggle--PaddingInlineStart);
|
|
152
|
-
padding-inline-end: var(--#{$options-menu}__toggle--PaddingInlineEnd);
|
|
153
|
-
color: var(--#{$options-menu}__toggle--Color);
|
|
154
|
-
background-color: var(--#{$options-menu}__toggle--BackgroundColor);
|
|
155
|
-
border: none;
|
|
156
|
-
|
|
157
|
-
.#{$options-menu}.pf-m-expanded > & {
|
|
158
|
-
&::before {
|
|
159
|
-
--#{$options-menu}__toggle--BorderBlockEndColor: var(--#{$options-menu}__toggle--expanded--BorderBlockEndColor);
|
|
160
|
-
|
|
161
|
-
border-block-end-width: var(--#{$options-menu}__toggle--expanded--BorderBlockEndWidth);
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
&.pf-m-plain {
|
|
166
|
-
--#{$options-menu}__toggle-icon--Color: var(--#{$options-menu}--m-plain__toggle-icon--Color);
|
|
167
|
-
|
|
168
|
-
&:not(.pf-m-text) {
|
|
169
|
-
--#{$options-menu}__toggle--PaddingInlineEnd: var(--#{$options-menu}__toggle--m-plain--PaddingInlineEnd);
|
|
170
|
-
--#{$options-menu}__toggle--PaddingInlineStart: var(--#{$options-menu}__toggle--m-plain--PaddingInlineStart);
|
|
171
|
-
|
|
172
|
-
display: inline-block;
|
|
173
|
-
color: var(--#{$options-menu}__toggle--m-plain--Color);
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
&:hover,
|
|
177
|
-
&:active,
|
|
178
|
-
&.pf-m-active,
|
|
179
|
-
&:focus,
|
|
180
|
-
.#{$options-menu}.pf-m-expanded > & {
|
|
181
|
-
--#{$options-menu}__toggle--m-plain--Color: var(--#{$options-menu}__toggle--m-plain--hover--Color);
|
|
182
|
-
--#{$options-menu}--m-plain__toggle-icon--Color: var(--#{$options-menu}--m-plain--hover__toggle-icon--Color);
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
&.pf-m-disabled,
|
|
186
|
-
&:disabled {
|
|
187
|
-
--#{$options-menu}__toggle--m-plain--Color: var(--#{$options-menu}__toggle--m-plain--disabled--Color);
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
&.pf-m-disabled,
|
|
192
|
-
&:disabled {
|
|
193
|
-
pointer-events: none;
|
|
194
|
-
|
|
195
|
-
&:not(.pf-m-plain),
|
|
196
|
-
&.pf-m-text {
|
|
197
|
-
--#{$options-menu}__toggle--BackgroundColor: var(--#{$options-menu}__toggle--disabled--BackgroundColor);
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
&::before {
|
|
201
|
-
border: 0;
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
.#{$options-menu}__toggle-button-icon {
|
|
207
|
-
position: relative;
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
.#{$options-menu}__toggle-button {
|
|
211
|
-
padding-block-start: var(--#{$options-menu}__toggle-button--PaddingBlockStart);
|
|
212
|
-
padding-block-end: var(--#{$options-menu}__toggle-button--PaddingBlockEnd);
|
|
213
|
-
padding-inline-start: var(--#{$options-menu}__toggle-button--PaddingInlineStart);
|
|
214
|
-
padding-inline-end: var(--#{$options-menu}__toggle-button--PaddingInlineEnd);
|
|
215
|
-
background-color: var(--#{$options-menu}__toggle-button--BackgroundColor);
|
|
216
|
-
border: 0;
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
.#{$options-menu}__toggle-text {
|
|
220
|
-
@include pf-v6-text-overflow;
|
|
221
|
-
|
|
222
|
-
flex: 1 1 auto;
|
|
223
|
-
text-align: start;
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
.#{$options-menu}__toggle-icon,
|
|
227
|
-
.#{$options-menu}__toggle-button-icon {
|
|
228
|
-
color: var(--#{$options-menu}__toggle-icon--Color, inherit);
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
.#{$options-menu}__toggle-icon {
|
|
232
|
-
padding-inline-start: var(--#{$options-menu}__toggle-icon--PaddingInlineStart);
|
|
233
|
-
padding-inline-end: var(--#{$options-menu}__toggle-icon--PaddingInlineEnd);
|
|
234
|
-
|
|
235
|
-
.#{$options-menu}.pf-m-top.pf-m-expanded & {
|
|
236
|
-
transform: rotate(var(--#{$options-menu}--m-top--m-expanded__toggle-icon--Rotate));
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
.#{$options-menu}__menu {
|
|
241
|
-
position: absolute;
|
|
242
|
-
inset-block-start: var(--#{$options-menu}__menu--InsetBlockStart);
|
|
243
|
-
z-index: var(--#{$options-menu}__menu--ZIndex);
|
|
244
|
-
min-width: 100%;
|
|
245
|
-
padding-block-start: var(--#{$options-menu}__menu--PaddingBlockStart);
|
|
246
|
-
padding-block-end: var(--#{$options-menu}__menu--PaddingBlockEnd);
|
|
247
|
-
background-color: var(--#{$options-menu}__menu--BackgroundColor);
|
|
248
|
-
background-clip: padding-box;
|
|
249
|
-
box-shadow: var(--#{$options-menu}__menu--BoxShadow);
|
|
250
|
-
|
|
251
|
-
&.pf-m-align-right {
|
|
252
|
-
inset-inline-end: 0;
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
.#{$options-menu}.pf-m-top & {
|
|
256
|
-
--#{$options-menu}__menu--InsetBlockStart: var(--#{$options-menu}--m-top__menu--InsetBlockStart);
|
|
257
|
-
|
|
258
|
-
transform: translateY(var(--#{$options-menu}--m-top__menu--TranslateY));
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
&.pf-m-static {
|
|
262
|
-
--#{$options-menu}--m-top__menu--TranslateY: 0;
|
|
263
|
-
|
|
264
|
-
position: static;
|
|
265
|
-
inset-block-start: auto;
|
|
266
|
-
inset-block-end: auto;
|
|
267
|
-
inset-inline-start: auto;
|
|
268
|
-
inset-inline-end: auto;
|
|
269
|
-
z-index: auto;
|
|
270
|
-
min-width: min-content;
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
.#{$options-menu}__menu-item {
|
|
275
|
-
display: flex;
|
|
276
|
-
align-items: baseline;
|
|
277
|
-
width: 100%;
|
|
278
|
-
padding-block-start: var(--#{$options-menu}__menu-item--PaddingBlockStart);
|
|
279
|
-
padding-block-end: var(--#{$options-menu}__menu-item--PaddingBlockEnd);
|
|
280
|
-
padding-inline-start: var(--#{$options-menu}__menu-item--PaddingInlineStart);
|
|
281
|
-
padding-inline-end: var(--#{$options-menu}__menu-item--PaddingInlineEnd);
|
|
282
|
-
font-size: var(--#{$options-menu}__menu-item--FontSize);
|
|
283
|
-
color: var(--#{$options-menu}__menu-item--Color);
|
|
284
|
-
white-space: nowrap;
|
|
285
|
-
background-color: var(--#{$options-menu}__menu-item--BackgroundColor);
|
|
286
|
-
border: none;
|
|
287
|
-
|
|
288
|
-
&:hover,
|
|
289
|
-
&:focus {
|
|
290
|
-
text-decoration: none;
|
|
291
|
-
background-color: var(--#{$options-menu}__menu-item--hover--BackgroundColor);
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
&:disabled,
|
|
295
|
-
&.pf-m-disabled {
|
|
296
|
-
color: var(--#{$options-menu}__menu-item--disabled--Color);
|
|
297
|
-
pointer-events: none;
|
|
298
|
-
background-color: var(--#{$options-menu}__menu-item--disabled--BackgroundColor);
|
|
299
|
-
}
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
.#{$options-menu}__menu-item-icon {
|
|
303
|
-
align-self: center;
|
|
304
|
-
width: auto; // this allows the padding to apply when this class is used with an svg element
|
|
305
|
-
padding-inline-start: var(--#{$options-menu}__menu-item-icon--PaddingInlineStart);
|
|
306
|
-
margin-inline-start: auto;
|
|
307
|
-
font-size: var(--#{$options-menu}__menu-item-icon--FontSize);
|
|
308
|
-
color: var(--#{$options-menu}__menu-item-icon--Color);
|
|
309
|
-
}
|
|
310
|
-
|
|
311
|
-
.#{$options-menu}__group {
|
|
312
|
-
& + & {
|
|
313
|
-
padding-block-start: var(--#{$options-menu}__group--group--PaddingBlockStart);
|
|
314
|
-
}
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
.#{$options-menu}__group-title {
|
|
318
|
-
padding-block-start: var(--#{$options-menu}__group-title--PaddingBlockStart);
|
|
319
|
-
padding-block-end: var(--#{$options-menu}__group-title--PaddingBlockEnd);
|
|
320
|
-
padding-inline-start: var(--#{$options-menu}__group-title--PaddingInlineStart);
|
|
321
|
-
padding-inline-end: var(--#{$options-menu}__group-title--PaddingInlineEnd);
|
|
322
|
-
font-size: var(--#{$options-menu}__group-title--FontSize);
|
|
323
|
-
font-weight: var(--#{$options-menu}__group-title--FontWeight);
|
|
324
|
-
color: var(--#{$options-menu}__group-title--Color);
|
|
325
|
-
}
|