@patternfly/patternfly 4.224.2 → 5.0.0-alpha.10
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/README.md +2 -2
- package/RELEASE-NOTES.md +0 -17
- package/assets/icons/iconUnicodes.json +0 -1
- package/assets/pficon/pficon.scss +0 -6
- package/assets/pficon/pficon.woff +0 -0
- package/assets/pficon/pficon.woff2 +0 -0
- package/base/_chart-globals.scss +4 -0
- package/base/_common.scss +0 -22
- package/base/_fonts.scss +0 -188
- package/base/_globals.scss +0 -6
- package/base/_icons.scss +28 -0
- package/base/_variables.scss +0 -14
- package/base/patternfly-common.css +0 -10
- package/base/patternfly-fonts.css +0 -120
- package/base/patternfly-globals.css +0 -4
- package/base/patternfly-icons.css +1 -5
- package/base/patternfly-icons.scss +0 -28
- package/base/patternfly-pf-icons.css +1 -5
- package/base/patternfly-variables.css +6 -19
- package/components/AboutModalBox/about-modal-box.css +1 -28
- package/components/AboutModalBox/about-modal-box.scss +1 -27
- package/components/Accordion/accordion.css +64 -62
- package/components/Accordion/accordion.scss +62 -64
- package/components/Alert/alert.css +0 -4
- package/components/Alert/alert.scss +0 -7
- package/components/Banner/banner.css +1 -1
- package/components/Banner/banner.scss +1 -1
- package/components/Breadcrumb/breadcrumb.css +0 -6
- package/components/Breadcrumb/breadcrumb.scss +0 -9
- package/components/Button/button.css +0 -4
- package/components/Button/button.scss +0 -7
- package/components/CalendarMonth/calendar-month.css +1 -1
- package/components/CalendarMonth/calendar-month.scss +1 -1
- package/components/Card/card.css +9 -16
- package/components/Card/card.scss +11 -24
- package/components/Check/check.css +4 -2
- package/components/Check/check.scss +2 -2
- package/components/ChipGroup/chip-group.css +29 -17
- package/components/ChipGroup/chip-group.scss +39 -22
- package/components/Content/content.css +1 -17
- package/components/Content/content.scss +1 -23
- package/components/DataList/data-list.css +0 -15
- package/components/Divider/divider.css +0 -16
- package/components/Divider/divider.scss +0 -1
- package/components/Drawer/drawer.css +0 -15
- package/components/Drawer/drawer.scss +0 -6
- package/components/EmptyState/empty-state.css +46 -56
- package/components/EmptyState/empty-state.scss +58 -66
- package/components/ExpandableSection/expandable-section.css +0 -4
- package/components/ExpandableSection/expandable-section.scss +0 -7
- package/components/Form/form.css +0 -1
- package/components/Form/form.scss +0 -1
- package/components/InlineEdit/inline-edit.css +1 -12
- package/components/InlineEdit/inline-edit.scss +1 -10
- package/components/JumpLinks/jump-links.css +0 -43
- package/components/JumpLinks/jump-links.scss +0 -13
- package/components/Label/label.css +0 -3
- package/components/Label/label.scss +0 -4
- package/components/LabelGroup/label-group.css +26 -22
- package/components/LabelGroup/label-group.scss +31 -26
- package/components/Menu/menu.css +0 -16
- package/components/Menu/menu.scss +0 -1
- package/components/NotificationDrawer/notification-drawer.css +1 -0
- package/components/NotificationDrawer/notification-drawer.scss +1 -0
- package/components/Page/page.css +0 -15
- package/components/Pagination/pagination.css +108 -55
- package/components/Pagination/pagination.scss +6 -25
- package/components/Popover/popover.css +1 -6
- package/components/Popover/themes/dark/popover.scss +1 -7
- package/components/Progress/progress.css +0 -1
- package/components/Progress/progress.scss +0 -1
- package/components/Radio/radio.css +4 -2
- package/components/Radio/radio.scss +2 -2
- package/components/SimpleList/simple-list.css +1 -1
- package/components/SimpleList/simple-list.scss +1 -1
- package/components/SkipToContent/skip-to-content.css +1 -1
- package/components/SkipToContent/skip-to-content.scss +1 -1
- package/components/Switch/switch.css +0 -1
- package/components/Switch/switch.scss +0 -1
- package/components/Table/table-grid.css +0 -10
- package/components/Table/table-grid.scss +0 -2
- package/components/Table/table-tree-view.css +0 -16
- package/components/Table/table-tree-view.scss +0 -4
- package/components/Table/table.css +0 -16
- package/components/Table/table.scss +0 -1
- package/components/Tabs/tabs.css +5 -34
- package/components/Tabs/tabs.scss +7 -15
- package/components/Title/title.css +0 -5
- package/components/Title/title.scss +0 -8
- package/components/Toolbar/toolbar.css +30 -33
- package/components/Toolbar/toolbar.scss +37 -9
- package/components/Tooltip/themes/dark/tooltip.scss +3 -6
- package/components/Tooltip/tooltip.css +2 -5
- package/components/Wizard/wizard.css +0 -9
- package/components/Wizard/wizard.scss +0 -9
- package/docs/components/AboutModalBox/examples/AboutModalBox.md +4 -15
- package/docs/components/Accordion/examples/Accordion.md +67 -67
- package/docs/components/Card/examples/Card.md +61 -44
- package/docs/components/CodeBlock/examples/CodeBlock.md +6 -6
- package/docs/components/CodeEditor/examples/CodeEditor.md +2 -6
- package/docs/components/Content/examples/Content.md +0 -28
- package/docs/components/EmptyState/examples/EmptyState.md +127 -79
- package/docs/components/SkipToContent/examples/SkipToContent.md +3 -5
- package/docs/components/Tabs/examples/Tabs.md +102 -103
- package/docs/components/Toolbar/examples/Toolbar.md +19 -16
- package/docs/components/Wizard/examples/Wizard.md +10 -13
- package/docs/demos/AboutModal/examples/AboutModal.md +53 -49
- package/docs/demos/Alert/examples/Alert.md +18 -12
- package/docs/demos/BackToTop/examples/BackToTop.md +6 -4
- package/docs/demos/Banner/examples/Banner.md +13 -8
- package/docs/demos/Card/examples/Card.md +145 -110
- package/docs/demos/CardView/examples/CardView.md +7 -7
- package/docs/demos/ContextSelector/examples/ContextSelector.md +24 -16
- package/docs/demos/Dashboard/examples/Dashboard.md +6 -4
- package/docs/demos/DataList/examples/DataList.md +26 -20
- package/docs/demos/DescriptionList/examples/DescriptionList.md +19 -12
- package/docs/demos/Drawer/examples/Drawer.md +30 -20
- package/docs/demos/HelperText/examples/HelperText.md +1 -0
- package/docs/demos/JumpLinks/examples/JumpLinks.md +36 -24
- package/docs/demos/Masthead/examples/Masthead.md +57 -42
- package/docs/demos/Modal/examples/Modal.md +36 -24
- package/docs/demos/Nav/examples/Nav.md +48 -32
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +30 -20
- package/docs/demos/Page/examples/Page.md +55 -37
- package/docs/demos/PasswordStrength/examples/PasswordStrength.md +1 -0
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +51 -34
- package/docs/demos/Skeleton/examples/Skeleton.md +6 -4
- package/docs/demos/Table/examples/Table.md +102 -88
- package/docs/demos/Tabs/examples/Tabs.md +40 -28
- package/docs/demos/Toolbar/examples/Toolbar.md +1648 -66
- package/docs/demos/Wizard/examples/Wizard.md +232 -222
- package/icons/pf-icons.json +0 -1
- package/package.json +4 -3
- package/patternfly-base-no-reset.css +31 -154
- package/patternfly-base.css +31 -158
- package/patternfly-charts.css +1 -1
- package/patternfly-no-reset.css +367 -650
- package/patternfly.css +367 -654
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/mixins.scss +0 -6
- package/sass-utilities/placeholders.scss +0 -7
- package/sass-utilities/scss-variables.scss +6 -13
- package/assets/fonts/overpass-mono-webfont/example.html +0 -15
- package/assets/fonts/overpass-mono-webfont/overpass-mono-bold.woff +0 -0
- package/assets/fonts/overpass-mono-webfont/overpass-mono-bold.woff2 +0 -0
- package/assets/fonts/overpass-mono-webfont/overpass-mono-light.woff +0 -0
- package/assets/fonts/overpass-mono-webfont/overpass-mono-light.woff2 +0 -0
- package/assets/fonts/overpass-mono-webfont/overpass-mono-regular.woff +0 -0
- package/assets/fonts/overpass-mono-webfont/overpass-mono-regular.woff2 +0 -0
- package/assets/fonts/overpass-mono-webfont/overpass-mono-semibold.woff +0 -0
- package/assets/fonts/overpass-mono-webfont/overpass-mono-semibold.woff2 +0 -0
- package/assets/fonts/overpass-mono-webfont/overpass-mono.css +0 -39
- package/assets/fonts/overpass-webfont/example.html +0 -18
- package/assets/fonts/overpass-webfont/overpass-bold-italic.woff +0 -0
- package/assets/fonts/overpass-webfont/overpass-bold-italic.woff2 +0 -0
- package/assets/fonts/overpass-webfont/overpass-bold.woff +0 -0
- package/assets/fonts/overpass-webfont/overpass-bold.woff2 +0 -0
- package/assets/fonts/overpass-webfont/overpass-extrabold-italic.woff +0 -0
- package/assets/fonts/overpass-webfont/overpass-extrabold-italic.woff2 +0 -0
- package/assets/fonts/overpass-webfont/overpass-extrabold.woff +0 -0
- package/assets/fonts/overpass-webfont/overpass-extrabold.woff2 +0 -0
- package/assets/fonts/overpass-webfont/overpass-extralight-italic.woff +0 -0
- package/assets/fonts/overpass-webfont/overpass-extralight-italic.woff2 +0 -0
- package/assets/fonts/overpass-webfont/overpass-extralight.woff +0 -0
- package/assets/fonts/overpass-webfont/overpass-extralight.woff2 +0 -0
- package/assets/fonts/overpass-webfont/overpass-heavy-italic.woff +0 -0
- package/assets/fonts/overpass-webfont/overpass-heavy-italic.woff2 +0 -0
- package/assets/fonts/overpass-webfont/overpass-heavy.woff +0 -0
- package/assets/fonts/overpass-webfont/overpass-heavy.woff2 +0 -0
- package/assets/fonts/overpass-webfont/overpass-italic.woff +0 -0
- package/assets/fonts/overpass-webfont/overpass-italic.woff2 +0 -0
- package/assets/fonts/overpass-webfont/overpass-light-italic.woff +0 -0
- package/assets/fonts/overpass-webfont/overpass-light-italic.woff2 +0 -0
- package/assets/fonts/overpass-webfont/overpass-light.woff +0 -0
- package/assets/fonts/overpass-webfont/overpass-light.woff2 +0 -0
- package/assets/fonts/overpass-webfont/overpass-regular.woff +0 -0
- package/assets/fonts/overpass-webfont/overpass-regular.woff2 +0 -0
- package/assets/fonts/overpass-webfont/overpass-semibold-italic.woff +0 -0
- package/assets/fonts/overpass-webfont/overpass-semibold-italic.woff2 +0 -0
- package/assets/fonts/overpass-webfont/overpass-semibold.woff +0 -0
- package/assets/fonts/overpass-webfont/overpass-semibold.woff2 +0 -0
- package/assets/fonts/overpass-webfont/overpass-thin-italic.woff +0 -0
- package/assets/fonts/overpass-webfont/overpass-thin-italic.woff2 +0 -0
- package/assets/fonts/overpass-webfont/overpass-thin.woff +0 -0
- package/assets/fonts/overpass-webfont/overpass-thin.woff2 +0 -0
- package/assets/fonts/overpass-webfont/overpass.css +0 -141
|
@@ -1,64 +1,49 @@
|
|
|
1
1
|
.pf-c-toolbar__content-section, .pf-c-toolbar__content, .pf-c-toolbar__item, .pf-c-toolbar__group {
|
|
2
|
-
--pf-hidden-visible--visible--Visibility: visible;
|
|
3
2
|
--pf-hidden-visible--hidden--Display: none;
|
|
4
|
-
--pf-hidden-visible--hidden--Visibility: hidden;
|
|
5
3
|
--pf-hidden-visible--Display: var(--pf-hidden-visible--visible--Display);
|
|
6
|
-
--pf-hidden-visible--Visibility: var(--pf-hidden-visible--visible--Visibility);
|
|
7
4
|
display: var(--pf-hidden-visible--Display);
|
|
8
|
-
visibility: var(--pf-hidden-visible--Visibility);
|
|
9
5
|
}
|
|
10
6
|
.pf-m-hidden.pf-c-toolbar__content-section, .pf-m-hidden.pf-c-toolbar__content, .pf-m-hidden.pf-c-toolbar__item, .pf-m-hidden.pf-c-toolbar__group {
|
|
11
7
|
--pf-hidden-visible--Display: var(--pf-hidden-visible--hidden--Display);
|
|
12
|
-
--pf-hidden-visible--Visibility: var(--pf-hidden-visible--hidden--Visibility);
|
|
13
8
|
}
|
|
14
9
|
@media screen and (min-width: 576px) {
|
|
15
10
|
.pf-m-hidden-on-sm.pf-c-toolbar__content-section, .pf-m-hidden-on-sm.pf-c-toolbar__content, .pf-m-hidden-on-sm.pf-c-toolbar__item, .pf-m-hidden-on-sm.pf-c-toolbar__group {
|
|
16
11
|
--pf-hidden-visible--Display: var(--pf-hidden-visible--hidden--Display);
|
|
17
|
-
--pf-hidden-visible--Visibility: var(--pf-hidden-visible--hidden--Visibility);
|
|
18
12
|
}
|
|
19
13
|
.pf-m-visible-on-sm.pf-c-toolbar__content-section, .pf-m-visible-on-sm.pf-c-toolbar__content, .pf-m-visible-on-sm.pf-c-toolbar__item, .pf-m-visible-on-sm.pf-c-toolbar__group {
|
|
20
14
|
--pf-hidden-visible--Display: var(--pf-hidden-visible--visible--Display);
|
|
21
|
-
--pf-hidden-visible--Visibility: var(--pf-hidden-visible--visible--Visibility);
|
|
22
15
|
}
|
|
23
16
|
}
|
|
24
17
|
@media screen and (min-width: 768px) {
|
|
25
18
|
.pf-m-hidden-on-md.pf-c-toolbar__content-section, .pf-m-hidden-on-md.pf-c-toolbar__content, .pf-m-hidden-on-md.pf-c-toolbar__item, .pf-m-hidden-on-md.pf-c-toolbar__group {
|
|
26
19
|
--pf-hidden-visible--Display: var(--pf-hidden-visible--hidden--Display);
|
|
27
|
-
--pf-hidden-visible--Visibility: var(--pf-hidden-visible--hidden--Visibility);
|
|
28
20
|
}
|
|
29
21
|
.pf-m-visible-on-md.pf-c-toolbar__content-section, .pf-m-visible-on-md.pf-c-toolbar__content, .pf-m-visible-on-md.pf-c-toolbar__item, .pf-m-visible-on-md.pf-c-toolbar__group {
|
|
30
22
|
--pf-hidden-visible--Display: var(--pf-hidden-visible--visible--Display);
|
|
31
|
-
--pf-hidden-visible--Visibility: var(--pf-hidden-visible--visible--Visibility);
|
|
32
23
|
}
|
|
33
24
|
}
|
|
34
25
|
@media screen and (min-width: 992px) {
|
|
35
26
|
.pf-m-hidden-on-lg.pf-c-toolbar__content-section, .pf-m-hidden-on-lg.pf-c-toolbar__content, .pf-m-hidden-on-lg.pf-c-toolbar__item, .pf-m-hidden-on-lg.pf-c-toolbar__group {
|
|
36
27
|
--pf-hidden-visible--Display: var(--pf-hidden-visible--hidden--Display);
|
|
37
|
-
--pf-hidden-visible--Visibility: var(--pf-hidden-visible--hidden--Visibility);
|
|
38
28
|
}
|
|
39
29
|
.pf-m-visible-on-lg.pf-c-toolbar__content-section, .pf-m-visible-on-lg.pf-c-toolbar__content, .pf-m-visible-on-lg.pf-c-toolbar__item, .pf-m-visible-on-lg.pf-c-toolbar__group {
|
|
40
30
|
--pf-hidden-visible--Display: var(--pf-hidden-visible--visible--Display);
|
|
41
|
-
--pf-hidden-visible--Visibility: var(--pf-hidden-visible--visible--Visibility);
|
|
42
31
|
}
|
|
43
32
|
}
|
|
44
33
|
@media screen and (min-width: 1200px) {
|
|
45
34
|
.pf-m-hidden-on-xl.pf-c-toolbar__content-section, .pf-m-hidden-on-xl.pf-c-toolbar__content, .pf-m-hidden-on-xl.pf-c-toolbar__item, .pf-m-hidden-on-xl.pf-c-toolbar__group {
|
|
46
35
|
--pf-hidden-visible--Display: var(--pf-hidden-visible--hidden--Display);
|
|
47
|
-
--pf-hidden-visible--Visibility: var(--pf-hidden-visible--hidden--Visibility);
|
|
48
36
|
}
|
|
49
37
|
.pf-m-visible-on-xl.pf-c-toolbar__content-section, .pf-m-visible-on-xl.pf-c-toolbar__content, .pf-m-visible-on-xl.pf-c-toolbar__item, .pf-m-visible-on-xl.pf-c-toolbar__group {
|
|
50
38
|
--pf-hidden-visible--Display: var(--pf-hidden-visible--visible--Display);
|
|
51
|
-
--pf-hidden-visible--Visibility: var(--pf-hidden-visible--visible--Visibility);
|
|
52
39
|
}
|
|
53
40
|
}
|
|
54
41
|
@media screen and (min-width: 1450px) {
|
|
55
42
|
.pf-m-hidden-on-2xl.pf-c-toolbar__content-section, .pf-m-hidden-on-2xl.pf-c-toolbar__content, .pf-m-hidden-on-2xl.pf-c-toolbar__item, .pf-m-hidden-on-2xl.pf-c-toolbar__group {
|
|
56
43
|
--pf-hidden-visible--Display: var(--pf-hidden-visible--hidden--Display);
|
|
57
|
-
--pf-hidden-visible--Visibility: var(--pf-hidden-visible--hidden--Visibility);
|
|
58
44
|
}
|
|
59
45
|
.pf-m-visible-on-2xl.pf-c-toolbar__content-section, .pf-m-visible-on-2xl.pf-c-toolbar__content, .pf-m-visible-on-2xl.pf-c-toolbar__item, .pf-m-visible-on-2xl.pf-c-toolbar__group {
|
|
60
46
|
--pf-hidden-visible--Display: var(--pf-hidden-visible--visible--Display);
|
|
61
|
-
--pf-hidden-visible--Visibility: var(--pf-hidden-visible--visible--Visibility);
|
|
62
47
|
}
|
|
63
48
|
}
|
|
64
49
|
|
|
@@ -69,13 +54,17 @@
|
|
|
69
54
|
--pf-c-toolbar--PaddingBottom: var(--pf-global--spacer--md);
|
|
70
55
|
--pf-c-toolbar__item--Display: block;
|
|
71
56
|
--pf-c-toolbar__item--MinWidth--base: auto;
|
|
57
|
+
--pf-c-toolbar__item--AlignSelf: auto;
|
|
72
58
|
--pf-c-toolbar__group--Display: flex;
|
|
59
|
+
--pf-c-toolbar__group--AlignItems: baseline;
|
|
60
|
+
--pf-c-toolbar__group--AlignSelf: auto;
|
|
73
61
|
--pf-c-toolbar--m-sticky--ZIndex: var(--pf-global--ZIndex--xs);
|
|
74
62
|
--pf-c-toolbar--m-sticky--BoxShadow: var(--pf-global--BoxShadow--sm-bottom);
|
|
75
63
|
--pf-c-toolbar__content--Display: flex;
|
|
76
64
|
--pf-c-toolbar__content--PaddingRight: var(--pf-global--spacer--md);
|
|
77
65
|
--pf-c-toolbar__content--PaddingLeft: var(--pf-global--spacer--md);
|
|
78
66
|
--pf-c-toolbar__content-section--Display: flex;
|
|
67
|
+
--pf-c-toolbar__content-section--AlignItems: baseline;
|
|
79
68
|
--pf-c-toolbar--m-page-insets--inset: var(--pf-global--spacer--md);
|
|
80
69
|
--pf-c-toolbar--m-page-insets--xl--inset: var(--pf-global--spacer--lg);
|
|
81
70
|
--pf-c-toolbar__expandable-content--Display: grid;
|
|
@@ -197,9 +186,22 @@
|
|
|
197
186
|
.pf-c-toolbar__group {
|
|
198
187
|
--pf-c-toolbar--spacer: var(--pf-c-toolbar__group--spacer);
|
|
199
188
|
--pf-hidden-visible--visible--Display: var(--pf-c-toolbar__group--Display);
|
|
200
|
-
align-items:
|
|
189
|
+
align-items: var(--pf-c-toolbar__group--AlignItems);
|
|
190
|
+
align-self: var(--pf-c-toolbar__group--AlignSelf);
|
|
201
191
|
margin-right: var(--pf-c-toolbar--spacer);
|
|
202
192
|
}
|
|
193
|
+
.pf-c-toolbar__group.pf-m-align-items-center {
|
|
194
|
+
align-items: center;
|
|
195
|
+
}
|
|
196
|
+
.pf-c-toolbar__group.pf-m-align-items-baseline {
|
|
197
|
+
align-items: baseline;
|
|
198
|
+
}
|
|
199
|
+
.pf-c-toolbar__group.pf-m-align-self-center {
|
|
200
|
+
align-self: center;
|
|
201
|
+
}
|
|
202
|
+
.pf-c-toolbar__group.pf-m-align-self-baseline {
|
|
203
|
+
align-self: baseline;
|
|
204
|
+
}
|
|
203
205
|
.pf-c-toolbar__group.pf-m-button-group {
|
|
204
206
|
--pf-c-toolbar--spacer: var(--pf-c-toolbar__group--m-button-group--spacer);
|
|
205
207
|
}
|
|
@@ -227,11 +229,9 @@
|
|
|
227
229
|
.pf-c-toolbar__group.pf-m-toggle-group .pf-c-toolbar__group,
|
|
228
230
|
.pf-c-toolbar__group.pf-m-toggle-group .pf-c-toolbar__item {
|
|
229
231
|
display: none;
|
|
230
|
-
visibility: hidden;
|
|
231
232
|
}
|
|
232
233
|
.pf-c-toolbar__group.pf-m-toggle-group .pf-c-toolbar__toggle {
|
|
233
234
|
display: inline-block;
|
|
234
|
-
visibility: visible;
|
|
235
235
|
}
|
|
236
236
|
.pf-c-toolbar__group:last-child {
|
|
237
237
|
--pf-c-toolbar--spacer: 0;
|
|
@@ -242,6 +242,7 @@
|
|
|
242
242
|
--pf-c-toolbar__item--Width--base: var(--pf-c-toolbar__item--Width);
|
|
243
243
|
--pf-c-toolbar__item--MinWidth--base: var(--pf-c-toolbar__item--MinWidth);
|
|
244
244
|
--pf-hidden-visible--visible--Display: var(--pf-c-toolbar__item--Display);
|
|
245
|
+
align-self: var(--pf-c-toolbar__item--AlignSelf);
|
|
245
246
|
width: var(--pf-c-toolbar__item--Width--base);
|
|
246
247
|
min-width: var(--pf-c-toolbar__item--MinWidth--base);
|
|
247
248
|
margin-right: var(--pf-c-toolbar--spacer);
|
|
@@ -296,6 +297,12 @@
|
|
|
296
297
|
--pf-c-toolbar__item--MinWidth--base: var(--pf-c-toolbar__item--MinWidth-on-2xl, var(--pf-c-toolbar__item--MinWidth-on-xl, var(--pf-c-toolbar__item--MinWidth-on-lg, var(--pf-c-toolbar__item--MinWidth-on-md, var(--pf-c-toolbar__item--MinWidth-on-sm, var(--pf-c-toolbar__item--MinWidth))))));
|
|
297
298
|
}
|
|
298
299
|
}
|
|
300
|
+
.pf-c-toolbar__item.pf-m-align-self-center {
|
|
301
|
+
align-self: center;
|
|
302
|
+
}
|
|
303
|
+
.pf-c-toolbar__item.pf-m-align-self-baseline {
|
|
304
|
+
align-self: baseline;
|
|
305
|
+
}
|
|
299
306
|
.pf-c-toolbar__item.pf-m-overflow-menu {
|
|
300
307
|
--pf-c-toolbar--spacer: var(--pf-c-toolbar__item--m-overflow-menu--spacer);
|
|
301
308
|
}
|
|
@@ -340,20 +347,24 @@
|
|
|
340
347
|
.pf-c-toolbar__content,
|
|
341
348
|
.pf-c-toolbar__content-section {
|
|
342
349
|
flex-wrap: wrap;
|
|
343
|
-
align-items: center;
|
|
344
350
|
}
|
|
345
351
|
|
|
346
352
|
.pf-c-toolbar__content {
|
|
347
353
|
--pf-hidden-visible--visible--Display: var(--pf-c-toolbar__content--Display);
|
|
348
354
|
position: relative;
|
|
355
|
+
align-items: center;
|
|
349
356
|
padding-right: var(--pf-c-toolbar__content--PaddingRight);
|
|
350
357
|
padding-left: var(--pf-c-toolbar__content--PaddingLeft);
|
|
351
358
|
}
|
|
352
359
|
|
|
353
360
|
.pf-c-toolbar__content-section {
|
|
354
361
|
--pf-hidden-visible--visible--Display: var(--pf-c-toolbar__content-section--Display);
|
|
362
|
+
align-items: var(--pf-c-toolbar__content-section--AlignItems);
|
|
355
363
|
width: 100%;
|
|
356
364
|
}
|
|
365
|
+
.pf-c-toolbar__content-section.pf-m-align-items-center {
|
|
366
|
+
align-items: center;
|
|
367
|
+
}
|
|
357
368
|
|
|
358
369
|
.pf-c-toolbar__expandable-content {
|
|
359
370
|
position: absolute;
|
|
@@ -364,7 +375,6 @@
|
|
|
364
375
|
display: none;
|
|
365
376
|
width: 100%;
|
|
366
377
|
padding: var(--pf-c-toolbar__expandable-content--PaddingTop) var(--pf-c-toolbar__expandable-content--PaddingRight) var(--pf-c-toolbar__expandable-content--PaddingBottom) var(--pf-c-toolbar__expandable-content--PaddingLeft);
|
|
367
|
-
visibility: hidden;
|
|
368
378
|
background-color: var(--pf-c-toolbar__expandable-content--BackgroundColor);
|
|
369
379
|
box-shadow: var(--pf-c-toolbar__expandable-content--BoxShadow);
|
|
370
380
|
}
|
|
@@ -377,7 +387,6 @@
|
|
|
377
387
|
.pf-c-toolbar__expandable-content.pf-m-expanded {
|
|
378
388
|
display: grid;
|
|
379
389
|
grid-row-gap: var(--pf-c-toolbar__expandable-content--m-expanded--GridRowGap);
|
|
380
|
-
visibility: visible;
|
|
381
390
|
}
|
|
382
391
|
.pf-c-toolbar__expandable-content .pf-c-toolbar__group,
|
|
383
392
|
.pf-c-toolbar__expandable-content .pf-c-toolbar__item {
|
|
@@ -438,11 +447,9 @@
|
|
|
438
447
|
.pf-m-toggle-group.pf-m-show .pf-c-toolbar__item {
|
|
439
448
|
display: flex;
|
|
440
449
|
flex: 0 1 auto;
|
|
441
|
-
visibility: visible;
|
|
442
450
|
}
|
|
443
451
|
.pf-m-toggle-group.pf-m-show .pf-c-toolbar__toggle {
|
|
444
452
|
display: none;
|
|
445
|
-
visibility: hidden;
|
|
446
453
|
}
|
|
447
454
|
|
|
448
455
|
@media (min-width: 576px) {
|
|
@@ -453,11 +460,9 @@
|
|
|
453
460
|
.pf-m-toggle-group.pf-m-show-on-sm .pf-c-toolbar__item {
|
|
454
461
|
display: flex;
|
|
455
462
|
flex: 0 1 auto;
|
|
456
|
-
visibility: visible;
|
|
457
463
|
}
|
|
458
464
|
.pf-m-toggle-group.pf-m-show-on-sm .pf-c-toolbar__toggle {
|
|
459
465
|
display: none;
|
|
460
|
-
visibility: hidden;
|
|
461
466
|
}
|
|
462
467
|
}
|
|
463
468
|
@media (min-width: 768px) {
|
|
@@ -468,11 +473,9 @@
|
|
|
468
473
|
.pf-m-toggle-group.pf-m-show-on-md .pf-c-toolbar__item {
|
|
469
474
|
display: flex;
|
|
470
475
|
flex: 0 1 auto;
|
|
471
|
-
visibility: visible;
|
|
472
476
|
}
|
|
473
477
|
.pf-m-toggle-group.pf-m-show-on-md .pf-c-toolbar__toggle {
|
|
474
478
|
display: none;
|
|
475
|
-
visibility: hidden;
|
|
476
479
|
}
|
|
477
480
|
}
|
|
478
481
|
@media (min-width: 992px) {
|
|
@@ -483,11 +486,9 @@
|
|
|
483
486
|
.pf-m-toggle-group.pf-m-show-on-lg .pf-c-toolbar__item {
|
|
484
487
|
display: flex;
|
|
485
488
|
flex: 0 1 auto;
|
|
486
|
-
visibility: visible;
|
|
487
489
|
}
|
|
488
490
|
.pf-m-toggle-group.pf-m-show-on-lg .pf-c-toolbar__toggle {
|
|
489
491
|
display: none;
|
|
490
|
-
visibility: hidden;
|
|
491
492
|
}
|
|
492
493
|
}
|
|
493
494
|
@media (min-width: 1200px) {
|
|
@@ -498,11 +499,9 @@
|
|
|
498
499
|
.pf-m-toggle-group.pf-m-show-on-xl .pf-c-toolbar__item {
|
|
499
500
|
display: flex;
|
|
500
501
|
flex: 0 1 auto;
|
|
501
|
-
visibility: visible;
|
|
502
502
|
}
|
|
503
503
|
.pf-m-toggle-group.pf-m-show-on-xl .pf-c-toolbar__toggle {
|
|
504
504
|
display: none;
|
|
505
|
-
visibility: hidden;
|
|
506
505
|
}
|
|
507
506
|
}
|
|
508
507
|
@media (min-width: 1450px) {
|
|
@@ -513,11 +512,9 @@
|
|
|
513
512
|
.pf-m-toggle-group.pf-m-show-on-2xl .pf-c-toolbar__item {
|
|
514
513
|
display: flex;
|
|
515
514
|
flex: 0 1 auto;
|
|
516
|
-
visibility: visible;
|
|
517
515
|
}
|
|
518
516
|
.pf-m-toggle-group.pf-m-show-on-2xl .pf-c-toolbar__toggle {
|
|
519
517
|
display: none;
|
|
520
|
-
visibility: hidden;
|
|
521
518
|
}
|
|
522
519
|
}
|
|
523
520
|
.pf-c-toolbar .pf-c-toolbar__item.pf-m-align-right,
|
|
@@ -13,9 +13,12 @@ $pf-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl"
|
|
|
13
13
|
// Item
|
|
14
14
|
--pf-c-toolbar__item--Display: block;
|
|
15
15
|
--pf-c-toolbar__item--MinWidth--base: auto;
|
|
16
|
+
--pf-c-toolbar__item--AlignSelf: auto;
|
|
16
17
|
|
|
17
18
|
// Group
|
|
18
19
|
--pf-c-toolbar__group--Display: flex;
|
|
20
|
+
--pf-c-toolbar__group--AlignItems: baseline;
|
|
21
|
+
--pf-c-toolbar__group--AlignSelf: auto;
|
|
19
22
|
|
|
20
23
|
// Sticky
|
|
21
24
|
--pf-c-toolbar--m-sticky--ZIndex: var(--pf-global--ZIndex--xs);
|
|
@@ -28,6 +31,7 @@ $pf-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl"
|
|
|
28
31
|
|
|
29
32
|
// Content section
|
|
30
33
|
--pf-c-toolbar__content-section--Display: flex;
|
|
34
|
+
--pf-c-toolbar__content-section--AlignItems: baseline;
|
|
31
35
|
|
|
32
36
|
// Insets
|
|
33
37
|
--pf-c-toolbar--m-page-insets--inset: var(--pf-global--spacer--md); // make this the default inset at breaking change
|
|
@@ -208,9 +212,26 @@ $pf-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl"
|
|
|
208
212
|
|
|
209
213
|
@include pf-hidden-visible(var(--pf-c-toolbar__group--Display));
|
|
210
214
|
|
|
211
|
-
align-items:
|
|
215
|
+
align-items: var(--pf-c-toolbar__group--AlignItems);
|
|
216
|
+
align-self: var(--pf-c-toolbar__group--AlignSelf);
|
|
212
217
|
margin-right: var(--pf-c-toolbar--spacer);
|
|
213
218
|
|
|
219
|
+
&.pf-m-align-items-center {
|
|
220
|
+
align-items: center;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
&.pf-m-align-items-baseline {
|
|
224
|
+
align-items: baseline;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
&.pf-m-align-self-center {
|
|
228
|
+
align-self: center;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
&.pf-m-align-self-baseline {
|
|
232
|
+
align-self: baseline;
|
|
233
|
+
}
|
|
234
|
+
|
|
214
235
|
// Button group
|
|
215
236
|
&.pf-m-button-group {
|
|
216
237
|
--pf-c-toolbar--spacer: var(--pf-c-toolbar__group--m-button-group--spacer);
|
|
@@ -249,12 +270,10 @@ $pf-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl"
|
|
|
249
270
|
.pf-c-toolbar__group,
|
|
250
271
|
.pf-c-toolbar__item {
|
|
251
272
|
display: none;
|
|
252
|
-
visibility: hidden;
|
|
253
273
|
}
|
|
254
274
|
|
|
255
275
|
.pf-c-toolbar__toggle {
|
|
256
276
|
display: inline-block;
|
|
257
|
-
visibility: visible;
|
|
258
277
|
}
|
|
259
278
|
}
|
|
260
279
|
|
|
@@ -272,10 +291,19 @@ $pf-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl"
|
|
|
272
291
|
@include pf-build-css-variable-stack("--pf-c-toolbar__item--MinWidth--base", "--pf-c-toolbar__item--MinWidth", $pf-c-toolbar--breakpoint-map);
|
|
273
292
|
@include pf-hidden-visible(var(--pf-c-toolbar__item--Display));
|
|
274
293
|
|
|
294
|
+
align-self: var(--pf-c-toolbar__item--AlignSelf);
|
|
275
295
|
width: var(--pf-c-toolbar__item--Width--base);
|
|
276
296
|
min-width: var(--pf-c-toolbar__item--MinWidth--base);
|
|
277
297
|
margin-right: var(--pf-c-toolbar--spacer);
|
|
278
298
|
|
|
299
|
+
&.pf-m-align-self-center {
|
|
300
|
+
align-self: center;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
&.pf-m-align-self-baseline {
|
|
304
|
+
align-self: baseline;
|
|
305
|
+
}
|
|
306
|
+
|
|
279
307
|
// Overflow menu
|
|
280
308
|
&.pf-m-overflow-menu {
|
|
281
309
|
--pf-c-toolbar--spacer: var(--pf-c-toolbar__item--m-overflow-menu--spacer);
|
|
@@ -331,7 +359,6 @@ $pf-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl"
|
|
|
331
359
|
}
|
|
332
360
|
}
|
|
333
361
|
|
|
334
|
-
|
|
335
362
|
.pf-c-toolbar__expand-all-icon {
|
|
336
363
|
display: inline-block;
|
|
337
364
|
transition: var(--pf-c-toolbar__expand-all-icon--Transition);
|
|
@@ -341,7 +368,6 @@ $pf-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl"
|
|
|
341
368
|
.pf-c-toolbar__content,
|
|
342
369
|
.pf-c-toolbar__content-section {
|
|
343
370
|
flex-wrap: wrap;
|
|
344
|
-
align-items: center;
|
|
345
371
|
}
|
|
346
372
|
|
|
347
373
|
// Content
|
|
@@ -349,6 +375,7 @@ $pf-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl"
|
|
|
349
375
|
@include pf-hidden-visible(var(--pf-c-toolbar__content--Display));
|
|
350
376
|
|
|
351
377
|
position: relative;
|
|
378
|
+
align-items: center;
|
|
352
379
|
padding-right: var(--pf-c-toolbar__content--PaddingRight);
|
|
353
380
|
padding-left: var(--pf-c-toolbar__content--PaddingLeft);
|
|
354
381
|
}
|
|
@@ -357,7 +384,12 @@ $pf-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl"
|
|
|
357
384
|
.pf-c-toolbar__content-section {
|
|
358
385
|
@include pf-hidden-visible(var(--pf-c-toolbar__content-section--Display));
|
|
359
386
|
|
|
387
|
+
align-items: var(--pf-c-toolbar__content-section--AlignItems);
|
|
360
388
|
width: 100%;
|
|
389
|
+
|
|
390
|
+
&.pf-m-align-items-center {
|
|
391
|
+
align-items: center;
|
|
392
|
+
}
|
|
361
393
|
}
|
|
362
394
|
|
|
363
395
|
// Expandable content
|
|
@@ -370,7 +402,6 @@ $pf-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl"
|
|
|
370
402
|
display: none;
|
|
371
403
|
width: 100%;
|
|
372
404
|
padding: var(--pf-c-toolbar__expandable-content--PaddingTop) var(--pf-c-toolbar__expandable-content--PaddingRight) var(--pf-c-toolbar__expandable-content--PaddingBottom) var(--pf-c-toolbar__expandable-content--PaddingLeft);
|
|
373
|
-
visibility: hidden;
|
|
374
405
|
background-color: var(--pf-c-toolbar__expandable-content--BackgroundColor);
|
|
375
406
|
box-shadow: var(--pf-c-toolbar__expandable-content--BoxShadow);
|
|
376
407
|
|
|
@@ -382,7 +413,6 @@ $pf-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl"
|
|
|
382
413
|
&.pf-m-expanded {
|
|
383
414
|
display: grid;
|
|
384
415
|
grid-row-gap: var(--pf-c-toolbar__expandable-content--m-expanded--GridRowGap);
|
|
385
|
-
visibility: visible;
|
|
386
416
|
}
|
|
387
417
|
|
|
388
418
|
.pf-c-toolbar__group,
|
|
@@ -455,12 +485,10 @@ $pf-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl"
|
|
|
455
485
|
.pf-c-toolbar__item {
|
|
456
486
|
display: flex;
|
|
457
487
|
flex: 0 1 auto;
|
|
458
|
-
visibility: visible;
|
|
459
488
|
}
|
|
460
489
|
|
|
461
490
|
.pf-c-toolbar__toggle {
|
|
462
491
|
display: none;
|
|
463
|
-
visibility: hidden;
|
|
464
492
|
}
|
|
465
493
|
}
|
|
466
494
|
}
|
|
@@ -2,17 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
@mixin pf-theme-dark-tooltip() {
|
|
4
4
|
.pf-c-tooltip {
|
|
5
|
-
--pf-c-tooltip--BoxShadow: none;
|
|
6
5
|
--pf-c-tooltip__content--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
.pf-c-tooltip,
|
|
10
|
-
.pf-c-tooltip__arrow {
|
|
11
|
-
border: var(--pf-global--BorderWidth--lg) solid var(--pf-global--BorderColor--300);
|
|
6
|
+
--pf-c-tooltip__arrow--BoxShadow: var(--pf-global--BoxShadow--lg);
|
|
12
7
|
}
|
|
13
8
|
|
|
14
9
|
.pf-c-tooltip__arrow {
|
|
15
10
|
--pf-c-tooltip__arrow--Width: #{pf-size-prem(15px)};
|
|
16
11
|
--pf-c-tooltip__arrow--Height: #{pf-size-prem(15px)};
|
|
12
|
+
|
|
13
|
+
box-shadow: var(--pf-c-tooltip__arrow--BoxShadow);
|
|
17
14
|
}
|
|
18
15
|
}
|
|
@@ -83,14 +83,11 @@
|
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
:where(.pf-theme-dark) .pf-c-tooltip {
|
|
86
|
-
--pf-c-tooltip--BoxShadow: none;
|
|
87
86
|
--pf-c-tooltip__content--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
88
|
-
|
|
89
|
-
:where(.pf-theme-dark) .pf-c-tooltip,
|
|
90
|
-
:where(.pf-theme-dark) .pf-c-tooltip__arrow {
|
|
91
|
-
border: var(--pf-global--BorderWidth--lg) solid var(--pf-global--BorderColor--300);
|
|
87
|
+
--pf-c-tooltip__arrow--BoxShadow: var(--pf-global--BoxShadow--lg);
|
|
92
88
|
}
|
|
93
89
|
:where(.pf-theme-dark) .pf-c-tooltip__arrow {
|
|
94
90
|
--pf-c-tooltip__arrow--Width: 0.9375rem;
|
|
95
91
|
--pf-c-tooltip__arrow--Height: 0.9375rem;
|
|
92
|
+
box-shadow: var(--pf-c-tooltip__arrow--BoxShadow);
|
|
96
93
|
}
|
|
@@ -216,7 +216,6 @@
|
|
|
216
216
|
.pf-c-wizard.pf-m-finished .pf-c-wizard__footer,
|
|
217
217
|
.pf-c-wizard.pf-m-finished .pf-c-wizard__toggle {
|
|
218
218
|
display: none;
|
|
219
|
-
visibility: hidden;
|
|
220
219
|
}
|
|
221
220
|
|
|
222
221
|
.pf-c-wizard__header {
|
|
@@ -242,12 +241,10 @@
|
|
|
242
241
|
display: none;
|
|
243
242
|
padding-top: var(--pf-c-wizard__description--PaddingTop);
|
|
244
243
|
color: var(--pf-c-wizard__description--Color);
|
|
245
|
-
visibility: hidden;
|
|
246
244
|
}
|
|
247
245
|
@media screen and (min-width: 992px) {
|
|
248
246
|
.pf-c-wizard__description {
|
|
249
247
|
display: block;
|
|
250
|
-
visibility: visible;
|
|
251
248
|
}
|
|
252
249
|
}
|
|
253
250
|
|
|
@@ -265,7 +262,6 @@
|
|
|
265
262
|
@media screen and (min-width: 992px) {
|
|
266
263
|
.pf-c-wizard__toggle {
|
|
267
264
|
display: none;
|
|
268
|
-
visibility: hidden;
|
|
269
265
|
}
|
|
270
266
|
}
|
|
271
267
|
.pf-c-wizard__toggle.pf-m-expanded {
|
|
@@ -345,19 +341,16 @@
|
|
|
345
341
|
max-height: 100%;
|
|
346
342
|
overflow-y: auto;
|
|
347
343
|
-webkit-overflow-scrolling: touch;
|
|
348
|
-
visibility: hidden;
|
|
349
344
|
background-color: var(--pf-c-wizard__nav--BackgroundColor);
|
|
350
345
|
box-shadow: var(--pf-c-wizard__nav--BoxShadow);
|
|
351
346
|
}
|
|
352
347
|
.pf-c-wizard__nav.pf-m-expanded {
|
|
353
348
|
display: block;
|
|
354
|
-
visibility: visible;
|
|
355
349
|
}
|
|
356
350
|
@media screen and (min-width: 992px) {
|
|
357
351
|
.pf-c-wizard__nav {
|
|
358
352
|
display: block;
|
|
359
353
|
height: 100%;
|
|
360
|
-
visibility: visible;
|
|
361
354
|
border-right: var(--pf-c-wizard__nav--lg--BorderRightWidth) solid var(--pf-c-wizard__nav--lg--BorderRightColor);
|
|
362
355
|
}
|
|
363
356
|
}
|
|
@@ -390,11 +383,9 @@
|
|
|
390
383
|
}
|
|
391
384
|
.pf-c-wizard__nav-item.pf-m-expandable > .pf-c-wizard__nav-list {
|
|
392
385
|
display: none;
|
|
393
|
-
visibility: hidden;
|
|
394
386
|
}
|
|
395
387
|
.pf-c-wizard__nav-item.pf-m-expanded > .pf-c-wizard__nav-list {
|
|
396
388
|
display: block;
|
|
397
|
-
visibility: visible;
|
|
398
389
|
}
|
|
399
390
|
.pf-c-wizard__nav-item.pf-m-expanded > .pf-c-wizard__nav-link {
|
|
400
391
|
--pf-c-wizard__nav-link-toggle-icon--Rotate: var(--pf-c-wizard__nav-item--m-expanded__link-toggle-icon--Rotate);
|
|
@@ -223,7 +223,6 @@
|
|
|
223
223
|
.pf-c-wizard__footer,
|
|
224
224
|
.pf-c-wizard__toggle {
|
|
225
225
|
display: none;
|
|
226
|
-
visibility: hidden;
|
|
227
226
|
}
|
|
228
227
|
}
|
|
229
228
|
}
|
|
@@ -254,11 +253,9 @@
|
|
|
254
253
|
display: none;
|
|
255
254
|
padding-top: var(--pf-c-wizard__description--PaddingTop);
|
|
256
255
|
color: var(--pf-c-wizard__description--Color);
|
|
257
|
-
visibility: hidden;
|
|
258
256
|
|
|
259
257
|
@media screen and (min-width: $pf-global--breakpoint--lg) {
|
|
260
258
|
display: block;
|
|
261
|
-
visibility: visible;
|
|
262
259
|
}
|
|
263
260
|
}
|
|
264
261
|
|
|
@@ -275,7 +272,6 @@
|
|
|
275
272
|
|
|
276
273
|
@media screen and (min-width: $pf-global--breakpoint--lg) {
|
|
277
274
|
display: none;
|
|
278
|
-
visibility: hidden;
|
|
279
275
|
}
|
|
280
276
|
|
|
281
277
|
&.pf-m-expanded {
|
|
@@ -357,19 +353,16 @@
|
|
|
357
353
|
max-height: 100%;
|
|
358
354
|
overflow-y: auto;
|
|
359
355
|
-webkit-overflow-scrolling: touch;
|
|
360
|
-
visibility: hidden;
|
|
361
356
|
background-color: var(--pf-c-wizard__nav--BackgroundColor);
|
|
362
357
|
box-shadow: var(--pf-c-wizard__nav--BoxShadow);
|
|
363
358
|
|
|
364
359
|
&.pf-m-expanded {
|
|
365
360
|
display: block;
|
|
366
|
-
visibility: visible;
|
|
367
361
|
}
|
|
368
362
|
|
|
369
363
|
@media screen and (min-width: $pf-global--breakpoint--lg) {
|
|
370
364
|
display: block;
|
|
371
365
|
height: 100%;
|
|
372
|
-
visibility: visible;
|
|
373
366
|
border-right: var(--pf-c-wizard__nav--lg--BorderRightWidth) solid var(--pf-c-wizard__nav--lg--BorderRightColor);
|
|
374
367
|
}
|
|
375
368
|
}
|
|
@@ -413,14 +406,12 @@
|
|
|
413
406
|
|
|
414
407
|
> .pf-c-wizard__nav-list {
|
|
415
408
|
display: none;
|
|
416
|
-
visibility: hidden;
|
|
417
409
|
}
|
|
418
410
|
}
|
|
419
411
|
|
|
420
412
|
&.pf-m-expanded {
|
|
421
413
|
> .pf-c-wizard__nav-list {
|
|
422
414
|
display: block;
|
|
423
|
-
visibility: visible;
|
|
424
415
|
}
|
|
425
416
|
|
|
426
417
|
> .pf-c-wizard__nav-link {
|
|
@@ -7,12 +7,7 @@ cssPrefix: pf-c-about-modal-box
|
|
|
7
7
|
### Basic
|
|
8
8
|
|
|
9
9
|
```html isFullscreen
|
|
10
|
-
<div
|
|
11
|
-
class="pf-c-about-modal-box"
|
|
12
|
-
role="dialog"
|
|
13
|
-
aria-modal="true"
|
|
14
|
-
aria-labelledby="about-modal-title"
|
|
15
|
-
>
|
|
10
|
+
<div class="pf-c-about-modal-box">
|
|
16
11
|
<div class="pf-c-about-modal-box__brand">
|
|
17
12
|
<img
|
|
18
13
|
class="pf-c-about-modal-box__brand-image"
|
|
@@ -47,15 +42,9 @@ cssPrefix: pf-c-about-modal-box
|
|
|
47
42
|
|
|
48
43
|
### Accessibility
|
|
49
44
|
|
|
50
|
-
| Attribute
|
|
51
|
-
|
|
|
52
|
-
| `
|
|
53
|
-
| `aria-labelledby="[id value of element describing modal]"` | `.pf-c-about-modal-box` | Gives the modal an accessible name by referring to the element that provides the dialog title. **Required when adequate titling element is present** |
|
|
54
|
-
| `aria-label="[title of modal]"` | `.pf-c-about-modal-box` | Gives the modal an accessible name. **Required when adequate titling element is _not_ present** |
|
|
55
|
-
| `aria-describedby="[id value of applicable content]"` | `.pf-c-about-modal-box` | Gives the modal an accessible description by referring to the modal content that describes the primary message or purpose of the dialog. Not used if there is no static text that describes the modal. |
|
|
56
|
-
| `aria-modal="true"` | `.pf-c-modal-box` | Tells assistive technologies that the windows underneath the current modal are not available for interaction. **Required** |
|
|
57
|
-
| `aria-label="Close Dialog"` | `.pf-c-modal-box__close .pf-c-button` | Provides an accessible name for the close button as it uses an icon instead of text. **Required** |
|
|
58
|
-
| `aria-hidden="true"` | Parent element containing the page contents when the modal is open. | Hides main contents of the page from screen readers. The element with `.pf-c-modal-box` must not be a descendent of the element with `aria-hidden="true"`. For more info, see [trapping focus](/accessibility/product-development-guide#trapping-focus). **Required** |
|
|
45
|
+
| Attribute | Applies to | Outcome |
|
|
46
|
+
| --------------------------- | ------------------------------------- | ------------------------------------------------------------------------------------------------- |
|
|
47
|
+
| `aria-label="Close Dialog"` | `.pf-c-modal-box__close .pf-c-button` | Provides an accessible name for the close button as it uses an icon instead of text. **Required** |
|
|
59
48
|
|
|
60
49
|
### Usage
|
|
61
50
|
|