@patternfly/patternfly 4.222.4 → 5.0.0-alpha.1
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 -30
- 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-fonts.css +0 -120
- package/base/patternfly-globals.css +0 -4
- package/base/patternfly-icons.scss +0 -28
- 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/Card/card.css +0 -4
- package/components/Card/card.scss +0 -7
- package/components/Check/check.css +4 -2
- package/components/Check/check.scss +2 -2
- package/components/Content/content.css +1 -11
- package/components/Content/content.scss +1 -15
- 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 -14
- package/components/Drawer/drawer.scss +0 -5
- package/components/Dropdown/dropdown.css +0 -15
- package/components/Dropdown/dropdown.scss +0 -20
- package/components/EmptyState/empty-state.css +0 -4
- package/components/EmptyState/empty-state.scss +0 -9
- 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/FormControl/form-control.css +1 -1
- package/components/FormControl/themes/dark/form-control.scss +1 -1
- package/components/InlineEdit/inline-edit.css +1 -12
- package/components/InlineEdit/inline-edit.scss +1 -10
- package/components/InputGroup/input-group.css +0 -14
- package/components/InputGroup/input-group.scss +0 -9
- package/components/InputGroup/themes/dark/input-group.scss +0 -8
- 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/Menu/menu.css +0 -20
- package/components/Menu/menu.scss +0 -6
- 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 +0 -175
- package/components/Pagination/pagination.scss +1 -49
- 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/Slider/slider.css +7 -0
- package/components/Slider/slider.scss +9 -0
- 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 +1 -34
- package/components/Tabs/tabs.scss +0 -15
- package/components/Title/title.css +0 -5
- package/components/Title/title.scss +0 -8
- package/components/Toolbar/toolbar.css +0 -31
- package/components/Toolbar/toolbar.scss +0 -6
- 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/Dropdown/examples/Dropdown.md +0 -216
- package/docs/components/InputGroup/examples/InputGroup.md +0 -1
- package/docs/components/Pagination/examples/Pagination.md +30 -129
- package/docs/components/SkipToContent/examples/SkipToContent.md +3 -5
- package/docs/components/Slider/examples/Slider.md +6 -6
- package/docs/components/Tabs/examples/Tabs.md +1 -2
- package/docs/components/Wizard/examples/Wizard.md +6 -6
- 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 +14 -10
- package/docs/demos/Card/examples/Card.md +4 -4
- package/docs/demos/CardView/examples/CardView.md +6 -4
- package/docs/demos/ContextSelector/examples/ContextSelector.md +24 -16
- package/docs/demos/Dashboard/examples/Dashboard.md +7 -4
- package/docs/demos/DataList/examples/DataList.md +24 -16
- package/docs/demos/DescriptionList/examples/DescriptionList.md +18 -12
- package/docs/demos/Drawer/examples/Drawer.md +30 -20
- package/docs/demos/JumpLinks/examples/JumpLinks.md +36 -24
- package/docs/demos/Masthead/examples/Masthead.md +54 -36
- package/docs/demos/Modal/examples/Modal.md +36 -24
- package/docs/demos/Nav/examples/Nav.md +784 -721
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +30 -20
- package/docs/demos/Page/examples/Page.md +54 -36
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +44 -28
- package/docs/demos/Skeleton/examples/Skeleton.md +6 -4
- package/docs/demos/Table/examples/Table.md +84 -56
- package/docs/demos/Tabs/examples/Tabs.md +579 -70
- package/docs/demos/Toolbar/examples/Toolbar.md +6 -4
- package/docs/demos/Wizard/examples/Wizard.md +67 -45
- package/package.json +7 -6
- package/patternfly-base-no-reset.css +30 -139
- package/patternfly-base.css +30 -143
- package/patternfly-charts.css +1 -1
- package/patternfly-no-reset.css +118 -665
- package/patternfly.css +118 -669
- 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 -12
- 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
|
|
|
@@ -227,11 +212,9 @@
|
|
|
227
212
|
.pf-c-toolbar__group.pf-m-toggle-group .pf-c-toolbar__group,
|
|
228
213
|
.pf-c-toolbar__group.pf-m-toggle-group .pf-c-toolbar__item {
|
|
229
214
|
display: none;
|
|
230
|
-
visibility: hidden;
|
|
231
215
|
}
|
|
232
216
|
.pf-c-toolbar__group.pf-m-toggle-group .pf-c-toolbar__toggle {
|
|
233
217
|
display: inline-block;
|
|
234
|
-
visibility: visible;
|
|
235
218
|
}
|
|
236
219
|
.pf-c-toolbar__group:last-child {
|
|
237
220
|
--pf-c-toolbar--spacer: 0;
|
|
@@ -364,7 +347,6 @@
|
|
|
364
347
|
display: none;
|
|
365
348
|
width: 100%;
|
|
366
349
|
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
350
|
background-color: var(--pf-c-toolbar__expandable-content--BackgroundColor);
|
|
369
351
|
box-shadow: var(--pf-c-toolbar__expandable-content--BoxShadow);
|
|
370
352
|
}
|
|
@@ -377,7 +359,6 @@
|
|
|
377
359
|
.pf-c-toolbar__expandable-content.pf-m-expanded {
|
|
378
360
|
display: grid;
|
|
379
361
|
grid-row-gap: var(--pf-c-toolbar__expandable-content--m-expanded--GridRowGap);
|
|
380
|
-
visibility: visible;
|
|
381
362
|
}
|
|
382
363
|
.pf-c-toolbar__expandable-content .pf-c-toolbar__group,
|
|
383
364
|
.pf-c-toolbar__expandable-content .pf-c-toolbar__item {
|
|
@@ -438,11 +419,9 @@
|
|
|
438
419
|
.pf-m-toggle-group.pf-m-show .pf-c-toolbar__item {
|
|
439
420
|
display: flex;
|
|
440
421
|
flex: 0 1 auto;
|
|
441
|
-
visibility: visible;
|
|
442
422
|
}
|
|
443
423
|
.pf-m-toggle-group.pf-m-show .pf-c-toolbar__toggle {
|
|
444
424
|
display: none;
|
|
445
|
-
visibility: hidden;
|
|
446
425
|
}
|
|
447
426
|
|
|
448
427
|
@media (min-width: 576px) {
|
|
@@ -453,11 +432,9 @@
|
|
|
453
432
|
.pf-m-toggle-group.pf-m-show-on-sm .pf-c-toolbar__item {
|
|
454
433
|
display: flex;
|
|
455
434
|
flex: 0 1 auto;
|
|
456
|
-
visibility: visible;
|
|
457
435
|
}
|
|
458
436
|
.pf-m-toggle-group.pf-m-show-on-sm .pf-c-toolbar__toggle {
|
|
459
437
|
display: none;
|
|
460
|
-
visibility: hidden;
|
|
461
438
|
}
|
|
462
439
|
}
|
|
463
440
|
@media (min-width: 768px) {
|
|
@@ -468,11 +445,9 @@
|
|
|
468
445
|
.pf-m-toggle-group.pf-m-show-on-md .pf-c-toolbar__item {
|
|
469
446
|
display: flex;
|
|
470
447
|
flex: 0 1 auto;
|
|
471
|
-
visibility: visible;
|
|
472
448
|
}
|
|
473
449
|
.pf-m-toggle-group.pf-m-show-on-md .pf-c-toolbar__toggle {
|
|
474
450
|
display: none;
|
|
475
|
-
visibility: hidden;
|
|
476
451
|
}
|
|
477
452
|
}
|
|
478
453
|
@media (min-width: 992px) {
|
|
@@ -483,11 +458,9 @@
|
|
|
483
458
|
.pf-m-toggle-group.pf-m-show-on-lg .pf-c-toolbar__item {
|
|
484
459
|
display: flex;
|
|
485
460
|
flex: 0 1 auto;
|
|
486
|
-
visibility: visible;
|
|
487
461
|
}
|
|
488
462
|
.pf-m-toggle-group.pf-m-show-on-lg .pf-c-toolbar__toggle {
|
|
489
463
|
display: none;
|
|
490
|
-
visibility: hidden;
|
|
491
464
|
}
|
|
492
465
|
}
|
|
493
466
|
@media (min-width: 1200px) {
|
|
@@ -498,11 +471,9 @@
|
|
|
498
471
|
.pf-m-toggle-group.pf-m-show-on-xl .pf-c-toolbar__item {
|
|
499
472
|
display: flex;
|
|
500
473
|
flex: 0 1 auto;
|
|
501
|
-
visibility: visible;
|
|
502
474
|
}
|
|
503
475
|
.pf-m-toggle-group.pf-m-show-on-xl .pf-c-toolbar__toggle {
|
|
504
476
|
display: none;
|
|
505
|
-
visibility: hidden;
|
|
506
477
|
}
|
|
507
478
|
}
|
|
508
479
|
@media (min-width: 1450px) {
|
|
@@ -513,11 +484,9 @@
|
|
|
513
484
|
.pf-m-toggle-group.pf-m-show-on-2xl .pf-c-toolbar__item {
|
|
514
485
|
display: flex;
|
|
515
486
|
flex: 0 1 auto;
|
|
516
|
-
visibility: visible;
|
|
517
487
|
}
|
|
518
488
|
.pf-m-toggle-group.pf-m-show-on-2xl .pf-c-toolbar__toggle {
|
|
519
489
|
display: none;
|
|
520
|
-
visibility: hidden;
|
|
521
490
|
}
|
|
522
491
|
}
|
|
523
492
|
.pf-c-toolbar .pf-c-toolbar__item.pf-m-align-right,
|
|
@@ -249,12 +249,10 @@ $pf-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl"
|
|
|
249
249
|
.pf-c-toolbar__group,
|
|
250
250
|
.pf-c-toolbar__item {
|
|
251
251
|
display: none;
|
|
252
|
-
visibility: hidden;
|
|
253
252
|
}
|
|
254
253
|
|
|
255
254
|
.pf-c-toolbar__toggle {
|
|
256
255
|
display: inline-block;
|
|
257
|
-
visibility: visible;
|
|
258
256
|
}
|
|
259
257
|
}
|
|
260
258
|
|
|
@@ -370,7 +368,6 @@ $pf-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl"
|
|
|
370
368
|
display: none;
|
|
371
369
|
width: 100%;
|
|
372
370
|
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
371
|
background-color: var(--pf-c-toolbar__expandable-content--BackgroundColor);
|
|
375
372
|
box-shadow: var(--pf-c-toolbar__expandable-content--BoxShadow);
|
|
376
373
|
|
|
@@ -382,7 +379,6 @@ $pf-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl"
|
|
|
382
379
|
&.pf-m-expanded {
|
|
383
380
|
display: grid;
|
|
384
381
|
grid-row-gap: var(--pf-c-toolbar__expandable-content--m-expanded--GridRowGap);
|
|
385
|
-
visibility: visible;
|
|
386
382
|
}
|
|
387
383
|
|
|
388
384
|
.pf-c-toolbar__group,
|
|
@@ -455,12 +451,10 @@ $pf-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl"
|
|
|
455
451
|
.pf-c-toolbar__item {
|
|
456
452
|
display: flex;
|
|
457
453
|
flex: 0 1 auto;
|
|
458
|
-
visibility: visible;
|
|
459
454
|
}
|
|
460
455
|
|
|
461
456
|
.pf-c-toolbar__toggle {
|
|
462
457
|
display: none;
|
|
463
|
-
visibility: hidden;
|
|
464
458
|
}
|
|
465
459
|
}
|
|
466
460
|
}
|
|
@@ -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
|
|