@patternfly/patternfly 5.0.0-alpha.24 → 5.0.0-alpha.26
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/_base.scss +0 -18
- package/base/_fonts.scss +22 -22
- package/base/_globals.scss +1 -1
- package/base/_variables.scss +1 -1
- package/base/patternfly-fonts.css +17 -17
- package/base/themes/dark/_globals.scss +1 -1
- package/base/themes/dark/_variables.scss +1 -1
- package/components/AboutModalBox/about-modal-box.css +7 -7
- package/components/AboutModalBox/about-modal-box.scss +7 -7
- package/components/Alert/alert.css +3 -3
- package/components/Alert/alert.scss +3 -3
- package/components/Avatar/avatar.scss +2 -2
- package/components/Banner/banner.css +14 -14
- package/components/Banner/banner.scss +9 -13
- package/components/CalendarMonth/calendar-month.css +1 -1
- package/components/CalendarMonth/calendar-month.scss +2 -2
- package/components/Card/card.css +12 -10
- package/components/Card/card.scss +12 -10
- package/components/Chip/chip.css +1 -1
- package/components/Chip/chip.scss +1 -1
- package/components/ChipGroup/chip-group.css +4 -4
- package/components/ChipGroup/chip-group.scss +4 -4
- package/components/Content/content.css +5 -5
- package/components/Content/content.scss +9 -9
- package/components/DataList/data-list-grid.css +7 -7
- package/components/DataList/data-list-grid.scss +1 -1
- package/components/DataList/data-list.css +10 -10
- package/components/DataList/data-list.scss +3 -3
- package/components/DescriptionList/description-list.css +7 -7
- package/components/DescriptionList/description-list.scss +7 -7
- package/components/Divider/divider.css +2 -2
- package/components/Divider/divider.scss +3 -3
- package/components/Drawer/drawer.css +2 -2
- package/components/Drawer/drawer.scss +2 -2
- package/components/DualListSelector/dual-list-selector.css +1 -1
- package/components/DualListSelector/dual-list-selector.scss +1 -1
- package/components/EmptyState/empty-state.css +2 -2
- package/components/EmptyState/empty-state.scss +2 -2
- package/components/Form/form.css +12 -12
- package/components/Form/form.scss +7 -7
- package/components/Hint/hint.css +2 -2
- package/components/Hint/hint.scss +2 -2
- package/components/Label/label.css +6 -6
- package/components/Label/label.scss +7 -7
- package/components/LabelGroup/label-group.css +2 -2
- package/components/LabelGroup/label-group.scss +2 -2
- package/components/Login/login.css +10 -10
- package/components/Login/login.scss +10 -10
- package/components/Masthead/masthead.css +4 -4
- package/components/Masthead/masthead.scss +4 -4
- package/components/Menu/menu.css +6 -6
- package/components/Menu/menu.scss +31 -31
- package/components/MenuToggle/menu-toggle.css +1 -1
- package/components/MenuToggle/menu-toggle.scss +1 -1
- package/components/MultipleFileUpload/multiple-file-upload.css +6 -6
- package/components/MultipleFileUpload/multiple-file-upload.scss +6 -6
- package/components/Nav/nav.css +1 -1
- package/components/Nav/nav.scss +2 -2
- package/components/NotificationDrawer/notification-drawer.css +3 -3
- package/components/NotificationDrawer/notification-drawer.scss +3 -3
- package/components/Page/page.css +11 -11
- package/components/Page/page.scss +12 -12
- package/components/Progress/progress.css +10 -10
- package/components/Progress/progress.scss +10 -10
- package/components/ProgressStepper/progress-stepper.css +5 -5
- package/components/ProgressStepper/progress-stepper.scss +5 -5
- package/components/SearchInput/search-input.css +2 -2
- package/components/SearchInput/search-input.scss +2 -2
- package/components/Select/select.css +1 -1
- package/components/Select/select.scss +1 -1
- package/components/Sidebar/sidebar.css +1 -1
- package/components/Sidebar/sidebar.scss +1 -1
- package/components/SimpleList/simple-list.css +1 -1
- package/components/SimpleList/simple-list.scss +2 -2
- package/components/Spinner/spinner.css +4 -4
- package/components/Spinner/spinner.scss +4 -4
- package/components/Table/table.css +1 -1
- package/components/Table/table.scss +1 -1
- package/components/TextInputGroup/text-input-group.css +2 -2
- package/components/TextInputGroup/text-input-group.scss +2 -2
- package/components/Tile/tile.css +1 -1
- package/components/Tile/tile.scss +1 -1
- package/components/Timestamp/timestamp.css +3 -3
- package/components/Timestamp/timestamp.scss +3 -3
- package/components/Toolbar/toolbar.css +2 -2
- package/components/Toolbar/toolbar.scss +2 -2
- package/components/Wizard/wizard.css +14 -1
- package/components/Wizard/wizard.scss +18 -2
- package/docs/components/Card/examples/Card.md +90 -32
- package/docs/components/Popover/examples/Popover.md +1 -2
- package/docs/components/Wizard/examples/Wizard.md +58 -59
- package/docs/demos/Card/examples/Card.md +50 -30
- package/docs/demos/CardView/examples/CardView.md +41 -15
- package/docs/demos/Dashboard/examples/Dashboard.md +18 -12
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +30 -20
- package/docs/demos/Tabs/examples/Tabs.md +24 -12
- package/docs/demos/Wizard/examples/Wizard.md +60 -45
- package/layouts/Gallery/gallery.css +1 -1
- package/layouts/Gallery/gallery.scss +1 -1
- package/layouts/Grid/grid.css +2 -2
- package/layouts/Grid/grid.scss +2 -2
- package/package.json +7 -8
- package/patternfly-base-no-reset.css +17 -17
- package/patternfly-base.css +17 -17
- package/patternfly-no-reset.css +202 -187
- package/patternfly.css +202 -187
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/functions.scss +8 -24
- package/sass-utilities/mixins.scss +15 -39
- package/sass-utilities/scss-variables.scss +1 -0
- package/utilities/Spacing/spacing.scss +2 -2
- package/base/_shield-inheritable.scss +0 -69
- package/base/_shield-noninheritable.scss +0 -13
- package/base/patternfly-shield-inheritable.css +0 -66
- package/base/patternfly-shield-inheritable.scss +0 -4
- package/base/patternfly-shield-noninheritable.css +0 -9
- package/base/patternfly-shield-noninheritable.scss +0 -4
|
@@ -356,8 +356,8 @@
|
|
|
356
356
|
.pf-c-select__toggle-typeahead {
|
|
357
357
|
flex-basis: var(--pf-c-select__toggle-typeahead--FlexBasis);
|
|
358
358
|
flex-grow: 1;
|
|
359
|
-
min-width: var(--pf-c-select__toggle-typeahead--MinWidth);
|
|
360
359
|
flex-shrink: 0;
|
|
360
|
+
min-width: var(--pf-c-select__toggle-typeahead--MinWidth);
|
|
361
361
|
}
|
|
362
362
|
.pf-c-select__toggle-typeahead.pf-c-form-control {
|
|
363
363
|
background-color: var(--pf-c-select__toggle-typeahead--BackgroundColor);
|
|
@@ -448,8 +448,8 @@
|
|
|
448
448
|
.pf-c-select__toggle-typeahead {
|
|
449
449
|
flex-basis: var(--pf-c-select__toggle-typeahead--FlexBasis);
|
|
450
450
|
flex-grow: 1;
|
|
451
|
-
min-width: var(--pf-c-select__toggle-typeahead--MinWidth);
|
|
452
451
|
flex-shrink: 0;
|
|
452
|
+
min-width: var(--pf-c-select__toggle-typeahead--MinWidth);
|
|
453
453
|
|
|
454
454
|
&.pf-c-form-control {
|
|
455
455
|
background-color: var(--pf-c-select__toggle-typeahead--BackgroundColor);
|
|
@@ -111,8 +111,8 @@
|
|
|
111
111
|
position: var(--pf-c-sidebar__panel--Position);
|
|
112
112
|
top: var(--pf-c-sidebar__panel--Top);
|
|
113
113
|
z-index: var(--pf-c-sidebar__panel--ZIndex);
|
|
114
|
-
flex-shrink: 0;
|
|
115
114
|
flex-basis: var(--pf-c-sidebar__panel--FlexBasis);
|
|
115
|
+
flex-shrink: 0;
|
|
116
116
|
order: var(--pf-c-sidebar__panel--Order);
|
|
117
117
|
background-color: var(--pf-c-sidebar__panel--BackgroundColor);
|
|
118
118
|
box-shadow: var(--pf-c-sidebar__panel--BoxShadow);
|
|
@@ -133,8 +133,8 @@ $pf-c-sidebar__panel--list--width: ("default", 25, 33, 50, 66, 75, 100);
|
|
|
133
133
|
position: var(--pf-c-sidebar__panel--Position);
|
|
134
134
|
top: var(--pf-c-sidebar__panel--Top);
|
|
135
135
|
z-index: var(--pf-c-sidebar__panel--ZIndex);
|
|
136
|
-
flex-shrink: 0;
|
|
137
136
|
flex-basis: var(--pf-c-sidebar__panel--FlexBasis);
|
|
137
|
+
flex-shrink: 0;
|
|
138
138
|
order: var(--pf-c-sidebar__panel--Order);
|
|
139
139
|
background-color: var(--pf-c-sidebar__panel--BackgroundColor);
|
|
140
140
|
box-shadow: var(--pf-c-sidebar__panel--BoxShadow);
|
|
@@ -40,9 +40,9 @@
|
|
|
40
40
|
border: none;
|
|
41
41
|
}
|
|
42
42
|
.pf-c-simple-list__item-link:hover {
|
|
43
|
-
text-decoration: none;
|
|
44
43
|
--pf-c-simple-list__item-link--BackgroundColor: var(--pf-c-simple-list__item-link--hover--BackgroundColor);
|
|
45
44
|
--pf-c-simple-list__item-link--Color: var(--pf-c-simple-list__item-link--hover--Color);
|
|
45
|
+
text-decoration: none;
|
|
46
46
|
}
|
|
47
47
|
.pf-c-simple-list__item-link:focus {
|
|
48
48
|
--pf-c-simple-list__item-link--FontWeight: var(--pf-c-simple-list__item-link--focus--FontWeight);
|
|
@@ -45,10 +45,10 @@
|
|
|
45
45
|
border: none;
|
|
46
46
|
|
|
47
47
|
&:hover {
|
|
48
|
-
text-decoration: none;
|
|
49
|
-
|
|
50
48
|
--pf-c-simple-list__item-link--BackgroundColor: var(--pf-c-simple-list__item-link--hover--BackgroundColor);
|
|
51
49
|
--pf-c-simple-list__item-link--Color: var(--pf-c-simple-list__item-link--hover--Color);
|
|
50
|
+
|
|
51
|
+
text-decoration: none;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
&:focus {
|
|
@@ -187,13 +187,13 @@ svg.pf-c-spinner.pf-m-xl {
|
|
|
187
187
|
.pf-c-spinner__path {
|
|
188
188
|
width: 100%;
|
|
189
189
|
height: 100%;
|
|
190
|
-
transform-origin: 50% 50%;
|
|
191
|
-
animation: pf-c-spinner-animation-dash var(--pf-c-spinner--AnimationDuration) var(--pf-c-spinner__path--AnimationTimingFunction) infinite;
|
|
192
190
|
stroke: var(--pf-c-spinner--Color);
|
|
193
|
-
stroke-linecap: round;
|
|
194
191
|
stroke-dasharray: 283;
|
|
195
192
|
stroke-dashoffset: 280;
|
|
193
|
+
stroke-linecap: round;
|
|
196
194
|
stroke-width: var(--pf-c-spinner--stroke-width);
|
|
195
|
+
transform-origin: 50% 50%;
|
|
196
|
+
animation: pf-c-spinner-animation-dash var(--pf-c-spinner--AnimationDuration) var(--pf-c-spinner__path--AnimationTimingFunction) infinite;
|
|
197
197
|
}
|
|
198
198
|
|
|
199
199
|
@keyframes pf-c-spinner-animation-rotate {
|
|
@@ -213,8 +213,8 @@ svg.pf-c-spinner.pf-m-xl {
|
|
|
213
213
|
stroke-width: calc(var(--pf-c-spinner__path--StrokeWidth) - 4);
|
|
214
214
|
}
|
|
215
215
|
40% {
|
|
216
|
-
stroke-dashoffset: 150;
|
|
217
216
|
stroke-dasharray: 220;
|
|
217
|
+
stroke-dashoffset: 150;
|
|
218
218
|
}
|
|
219
219
|
100% {
|
|
220
220
|
stroke-dashoffset: 280;
|
|
@@ -252,13 +252,13 @@ svg.pf-c-spinner {
|
|
|
252
252
|
.pf-c-spinner__path {
|
|
253
253
|
width: 100%;
|
|
254
254
|
height: 100%;
|
|
255
|
-
transform-origin: 50% 50%;
|
|
256
|
-
animation: pf-c-spinner-animation-dash var(--pf-c-spinner--AnimationDuration) var(--pf-c-spinner__path--AnimationTimingFunction) infinite;
|
|
257
255
|
stroke: var(--pf-c-spinner--Color);
|
|
258
|
-
stroke-linecap: round;
|
|
259
256
|
stroke-dasharray: 283;
|
|
260
257
|
stroke-dashoffset: 280;
|
|
258
|
+
stroke-linecap: round;
|
|
261
259
|
stroke-width: var(--pf-c-spinner--stroke-width);
|
|
260
|
+
transform-origin: 50% 50%;
|
|
261
|
+
animation: pf-c-spinner-animation-dash var(--pf-c-spinner--AnimationDuration) var(--pf-c-spinner__path--AnimationTimingFunction) infinite;
|
|
262
262
|
}
|
|
263
263
|
|
|
264
264
|
@keyframes pf-c-spinner-animation-rotate {
|
|
@@ -282,8 +282,8 @@ svg.pf-c-spinner {
|
|
|
282
282
|
}
|
|
283
283
|
|
|
284
284
|
40% {
|
|
285
|
-
stroke-dashoffset: 150;
|
|
286
285
|
stroke-dasharray: 220;
|
|
286
|
+
stroke-dashoffset: 150;
|
|
287
287
|
}
|
|
288
288
|
|
|
289
289
|
100% {
|
|
@@ -660,9 +660,9 @@
|
|
|
660
660
|
.pf-c-table__button-content,
|
|
661
661
|
.pf-c-table__column-help {
|
|
662
662
|
display: grid;
|
|
663
|
+
grid-template-columns: auto max-content;
|
|
663
664
|
align-items: end;
|
|
664
665
|
justify-content: start;
|
|
665
|
-
grid-template-columns: auto max-content;
|
|
666
666
|
}
|
|
667
667
|
.pf-c-table__button-content .pf-c-table__text,
|
|
668
668
|
.pf-c-table__column-help .pf-c-table__text {
|
|
@@ -874,9 +874,9 @@
|
|
|
874
874
|
.pf-c-table__button-content,
|
|
875
875
|
.pf-c-table__column-help {
|
|
876
876
|
display: grid;
|
|
877
|
+
grid-template-columns: auto max-content;
|
|
877
878
|
align-items: end;
|
|
878
879
|
justify-content: start;
|
|
879
|
-
grid-template-columns: auto max-content;
|
|
880
880
|
|
|
881
881
|
.pf-c-table__text {
|
|
882
882
|
min-width: auto;
|
|
@@ -78,9 +78,9 @@
|
|
|
78
78
|
|
|
79
79
|
.pf-c-text-input-group__text {
|
|
80
80
|
display: inline-grid;
|
|
81
|
-
grid-template-columns: 1fr;
|
|
82
|
-
grid-template-areas: "text-input";
|
|
83
81
|
flex: 1;
|
|
82
|
+
grid-template-areas: "text-input";
|
|
83
|
+
grid-template-columns: 1fr;
|
|
84
84
|
}
|
|
85
85
|
.pf-c-text-input-group__text::before, .pf-c-text-input-group__text::after {
|
|
86
86
|
position: absolute;
|
|
@@ -106,9 +106,9 @@
|
|
|
106
106
|
|
|
107
107
|
.pf-c-text-input-group__text {
|
|
108
108
|
display: inline-grid;
|
|
109
|
-
grid-template-columns: 1fr;
|
|
110
|
-
grid-template-areas: "text-input";
|
|
111
109
|
flex: 1;
|
|
110
|
+
grid-template-areas: "text-input";
|
|
111
|
+
grid-template-columns: 1fr;
|
|
112
112
|
|
|
113
113
|
&::before,
|
|
114
114
|
&::after {
|
package/components/Tile/tile.css
CHANGED
|
@@ -42,11 +42,11 @@
|
|
|
42
42
|
--pf-c-tile--m-display-lg__header--m-stacked__icon--FontSize: var(--pf-global--icon--FontSize--xl);
|
|
43
43
|
position: relative;
|
|
44
44
|
display: inline-grid;
|
|
45
|
+
grid-template-rows: min-content;
|
|
45
46
|
padding: var(--pf-c-tile--PaddingTop) var(--pf-c-tile--PaddingRight) var(--pf-c-tile--PaddingBottom) var(--pf-c-tile--PaddingLeft);
|
|
46
47
|
text-align: center;
|
|
47
48
|
cursor: pointer;
|
|
48
49
|
background-color: var(--pf-c-tile--BackgroundColor);
|
|
49
|
-
grid-template-rows: min-content;
|
|
50
50
|
transition: var(--pf-c-tile--Transition);
|
|
51
51
|
transform: translateY(var(--pf-c-tile--TranslateY));
|
|
52
52
|
}
|
|
@@ -63,11 +63,11 @@
|
|
|
63
63
|
|
|
64
64
|
position: relative;
|
|
65
65
|
display: inline-grid;
|
|
66
|
+
grid-template-rows: min-content;
|
|
66
67
|
padding: var(--pf-c-tile--PaddingTop) var(--pf-c-tile--PaddingRight) var(--pf-c-tile--PaddingBottom) var(--pf-c-tile--PaddingLeft);
|
|
67
68
|
text-align: center;
|
|
68
69
|
cursor: pointer;
|
|
69
70
|
background-color: var(--pf-c-tile--BackgroundColor);
|
|
70
|
-
grid-template-rows: min-content;
|
|
71
71
|
transition: var(--pf-c-tile--Transition);
|
|
72
72
|
transform: translateY(var(--pf-c-tile--TranslateY));
|
|
73
73
|
|
|
@@ -17,12 +17,12 @@
|
|
|
17
17
|
outline-offset: var(--pf-c-timestamp--OutlineOffset);
|
|
18
18
|
}
|
|
19
19
|
.pf-c-timestamp.pf-m-help-text {
|
|
20
|
-
cursor: pointer;
|
|
21
20
|
text-decoration-line: var(--pf-c-timestamp--m-help-text--TextDecorationLine);
|
|
22
|
-
text-decoration-style: var(--pf-c-timestamp--m-help-text--TextDecorationStyle);
|
|
23
21
|
text-decoration-thickness: var(--pf-c-timestamp--m-help-text--TextDecorationThickness);
|
|
24
|
-
text-
|
|
22
|
+
text-decoration-style: var(--pf-c-timestamp--m-help-text--TextDecorationStyle);
|
|
25
23
|
text-decoration-color: var(--pf-c-timestamp--m-help-text--TextDecorationColor);
|
|
24
|
+
text-underline-offset: var(--pf-c-timestamp--m-help-text--TextUnderlineOffset);
|
|
25
|
+
cursor: pointer;
|
|
26
26
|
}
|
|
27
27
|
.pf-c-timestamp.pf-m-help-text:hover {
|
|
28
28
|
--pf-c-timestamp--Color: var(--pf-c-timestamp--m-help-text--hover--Color);
|
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
outline-offset: var(--pf-c-timestamp--OutlineOffset);
|
|
21
21
|
|
|
22
22
|
&.pf-m-help-text {
|
|
23
|
-
cursor: pointer;
|
|
24
23
|
text-decoration-line: var(--pf-c-timestamp--m-help-text--TextDecorationLine);
|
|
25
|
-
text-decoration-style: var(--pf-c-timestamp--m-help-text--TextDecorationStyle);
|
|
26
24
|
text-decoration-thickness: var(--pf-c-timestamp--m-help-text--TextDecorationThickness);
|
|
27
|
-
text-
|
|
25
|
+
text-decoration-style: var(--pf-c-timestamp--m-help-text--TextDecorationStyle);
|
|
28
26
|
text-decoration-color: var(--pf-c-timestamp--m-help-text--TextDecorationColor);
|
|
27
|
+
text-underline-offset: var(--pf-c-timestamp--m-help-text--TextUnderlineOffset);
|
|
28
|
+
cursor: pointer;
|
|
29
29
|
|
|
30
30
|
&:hover {
|
|
31
31
|
--pf-c-timestamp--Color: var(--pf-c-timestamp--m-help-text--hover--Color);
|
|
@@ -111,8 +111,8 @@
|
|
|
111
111
|
--pf-c-toolbar--m-full-height__item--Display: flex;
|
|
112
112
|
--pf-c-toolbar--m-full-height__item--AlignItems: center;
|
|
113
113
|
position: relative;
|
|
114
|
-
row-gap: var(--pf-c-toolbar--RowGap);
|
|
115
114
|
display: grid;
|
|
115
|
+
row-gap: var(--pf-c-toolbar--RowGap);
|
|
116
116
|
padding-top: var(--pf-c-toolbar--PaddingTop);
|
|
117
117
|
padding-bottom: var(--pf-c-toolbar--PaddingBottom);
|
|
118
118
|
background-color: var(--pf-c-toolbar--BackgroundColor);
|
|
@@ -405,9 +405,9 @@
|
|
|
405
405
|
.pf-c-toolbar__group.pf-m-chip-container {
|
|
406
406
|
display: flex;
|
|
407
407
|
flex-wrap: wrap;
|
|
408
|
+
grid-row-gap: 0;
|
|
408
409
|
align-items: baseline;
|
|
409
410
|
margin-top: var(--pf-c-toolbar__group--m-chip-container--MarginTop);
|
|
410
|
-
grid-row-gap: 0;
|
|
411
411
|
}
|
|
412
412
|
.pf-c-toolbar__content.pf-m-chip-container .pf-c-toolbar__item,
|
|
413
413
|
.pf-c-toolbar__group.pf-m-chip-container .pf-c-toolbar__item {
|
|
@@ -131,8 +131,8 @@ $pf-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl"
|
|
|
131
131
|
}
|
|
132
132
|
|
|
133
133
|
position: relative;
|
|
134
|
-
row-gap: var(--pf-c-toolbar--RowGap);
|
|
135
134
|
display: grid;
|
|
135
|
+
row-gap: var(--pf-c-toolbar--RowGap);
|
|
136
136
|
padding-top: var(--pf-c-toolbar--PaddingTop);
|
|
137
137
|
padding-bottom: var(--pf-c-toolbar--PaddingBottom);
|
|
138
138
|
background-color: var(--pf-c-toolbar--BackgroundColor);
|
|
@@ -437,9 +437,9 @@ $pf-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl"
|
|
|
437
437
|
.pf-c-toolbar__group.pf-m-chip-container {
|
|
438
438
|
display: flex;
|
|
439
439
|
flex-wrap: wrap;
|
|
440
|
+
grid-row-gap: 0;
|
|
440
441
|
align-items: baseline;
|
|
441
442
|
margin-top: var(--pf-c-toolbar__group--m-chip-container--MarginTop);
|
|
442
|
-
grid-row-gap: 0;
|
|
443
443
|
|
|
444
444
|
.pf-c-toolbar__item {
|
|
445
445
|
--pf-c-toolbar--spacer: var(--pf-c-toolbar__item--spacer);
|
|
@@ -47,6 +47,10 @@
|
|
|
47
47
|
--pf-c-wizard__close--xl--Right: var(--pf-global--spacer--lg);
|
|
48
48
|
--pf-c-wizard__close--FontSize: var(--pf-global--FontSize--xl);
|
|
49
49
|
--pf-c-wizard__title--PaddingRight: var(--pf-global--spacer--2xl);
|
|
50
|
+
--pf-c-wizard__title-text--FontSize: var(--pf-global--FontSize--3xl);
|
|
51
|
+
--pf-c-wizard__title-text--FontFamily: var(--pf-global--FontFamily--heading--sans-serif);
|
|
52
|
+
--pf-c-wizard__title-text--FontWeight: var(--pf-global--FontWeight--normal);
|
|
53
|
+
--pf-c-wizard__title-text--LineHeight: var(--pf-global--LineHeight--sm);
|
|
50
54
|
--pf-c-wizard__description--PaddingTop: var(--pf-global--spacer--sm);
|
|
51
55
|
--pf-c-wizard__description--Color: var(--pf-global--Color--light-200);
|
|
52
56
|
--pf-c-wizard__nav-link--Color: var(--pf-global--Color--100);
|
|
@@ -230,6 +234,8 @@
|
|
|
230
234
|
position: absolute;
|
|
231
235
|
top: var(--pf-c-wizard__close--Top);
|
|
232
236
|
right: var(--pf-c-wizard__close--Right);
|
|
237
|
+
}
|
|
238
|
+
.pf-c-wizard__header .pf-c-wizard__close button {
|
|
233
239
|
font-size: var(--pf-c-wizard__close--FontSize);
|
|
234
240
|
}
|
|
235
241
|
|
|
@@ -238,6 +244,13 @@
|
|
|
238
244
|
word-wrap: break-word;
|
|
239
245
|
}
|
|
240
246
|
|
|
247
|
+
.pf-c-wizard__title-text {
|
|
248
|
+
font-family: var(--pf-c-wizard__title-text--FontFamily);
|
|
249
|
+
font-size: var(--pf-c-wizard__title-text--FontSize);
|
|
250
|
+
font-weight: var(--pf-c-wizard__title-text--FontWeight);
|
|
251
|
+
line-height: var(--pf-c-wizard__title-text--LineHeight);
|
|
252
|
+
}
|
|
253
|
+
|
|
241
254
|
.pf-c-wizard__description {
|
|
242
255
|
display: none;
|
|
243
256
|
padding-top: var(--pf-c-wizard__description--PaddingTop);
|
|
@@ -486,8 +499,8 @@
|
|
|
486
499
|
position: relative;
|
|
487
500
|
z-index: var(--pf-c-wizard__footer--ZIndex);
|
|
488
501
|
display: flex;
|
|
489
|
-
flex-wrap: wrap;
|
|
490
502
|
flex-shrink: 0;
|
|
503
|
+
flex-wrap: wrap;
|
|
491
504
|
padding: var(--pf-c-wizard__footer--PaddingTop) var(--pf-c-wizard__footer--PaddingRight) var(--pf-c-wizard__footer--PaddingBottom) var(--pf-c-wizard__footer--PaddingLeft);
|
|
492
505
|
background-color: var(--pf-c-wizard__footer--BackgroundColor);
|
|
493
506
|
}
|
|
@@ -37,6 +37,12 @@
|
|
|
37
37
|
// Title
|
|
38
38
|
--pf-c-wizard__title--PaddingRight: var(--pf-global--spacer--2xl);
|
|
39
39
|
|
|
40
|
+
// Title text
|
|
41
|
+
--pf-c-wizard__title-text--FontSize: var(--pf-global--FontSize--3xl);
|
|
42
|
+
--pf-c-wizard__title-text--FontFamily: var(--pf-global--FontFamily--heading--sans-serif);
|
|
43
|
+
--pf-c-wizard__title-text--FontWeight: var(--pf-global--FontWeight--normal);
|
|
44
|
+
--pf-c-wizard__title-text--LineHeight: var(--pf-global--LineHeight--sm);
|
|
45
|
+
|
|
40
46
|
// Description
|
|
41
47
|
--pf-c-wizard__description--PaddingTop: var(--pf-global--spacer--sm);
|
|
42
48
|
--pf-c-wizard__description--Color: var(--pf-global--Color--light-200);
|
|
@@ -241,7 +247,10 @@
|
|
|
241
247
|
position: absolute;
|
|
242
248
|
top: var(--pf-c-wizard__close--Top);
|
|
243
249
|
right: var(--pf-c-wizard__close--Right);
|
|
244
|
-
|
|
250
|
+
|
|
251
|
+
button {
|
|
252
|
+
font-size: var(--pf-c-wizard__close--FontSize);
|
|
253
|
+
}
|
|
245
254
|
}
|
|
246
255
|
}
|
|
247
256
|
|
|
@@ -250,6 +259,13 @@
|
|
|
250
259
|
word-wrap: break-word;
|
|
251
260
|
}
|
|
252
261
|
|
|
262
|
+
.pf-c-wizard__title-text {
|
|
263
|
+
font-family: var(--pf-c-wizard__title-text--FontFamily);
|
|
264
|
+
font-size: var(--pf-c-wizard__title-text--FontSize);
|
|
265
|
+
font-weight: var(--pf-c-wizard__title-text--FontWeight);
|
|
266
|
+
line-height: var(--pf-c-wizard__title-text--LineHeight);
|
|
267
|
+
}
|
|
268
|
+
|
|
253
269
|
.pf-c-wizard__description {
|
|
254
270
|
display: none;
|
|
255
271
|
padding-top: var(--pf-c-wizard__description--PaddingTop);
|
|
@@ -529,8 +545,8 @@
|
|
|
529
545
|
position: relative;
|
|
530
546
|
z-index: var(--pf-c-wizard__footer--ZIndex);
|
|
531
547
|
display: flex;
|
|
532
|
-
flex-wrap: wrap;
|
|
533
548
|
flex-shrink: 0;
|
|
549
|
+
flex-wrap: wrap;
|
|
534
550
|
padding: var(--pf-c-wizard__footer--PaddingTop) var(--pf-c-wizard__footer--PaddingRight) var(--pf-c-wizard__footer--PaddingBottom) var(--pf-c-wizard__footer--PaddingLeft);
|
|
535
551
|
background-color: var(--pf-c-wizard__footer--BackgroundColor);
|
|
536
552
|
|
|
@@ -10,7 +10,9 @@ cssPrefix: pf-c-card
|
|
|
10
10
|
|
|
11
11
|
```html
|
|
12
12
|
<div class="pf-c-card" id="card-basic-example">
|
|
13
|
-
<div class="pf-c-card__title">
|
|
13
|
+
<div class="pf-c-card__title">
|
|
14
|
+
<h2 class="pf-c-card__title-text">Title</h2>
|
|
15
|
+
</div>
|
|
14
16
|
<div class="pf-c-card__body">Body</div>
|
|
15
17
|
<div class="pf-c-card__footer">Footer</div>
|
|
16
18
|
</div>
|
|
@@ -79,7 +81,12 @@ cssPrefix: pf-c-card
|
|
|
79
81
|
</div>
|
|
80
82
|
</div>
|
|
81
83
|
</div>
|
|
82
|
-
<div class="pf-c-card__title"
|
|
84
|
+
<div class="pf-c-card__title">
|
|
85
|
+
<h2
|
|
86
|
+
class="pf-c-card__title-text"
|
|
87
|
+
id="card-action-example-1-check-label"
|
|
88
|
+
>Title</h2>
|
|
89
|
+
</div>
|
|
83
90
|
<div class="pf-c-card__body">Body</div>
|
|
84
91
|
<div class="pf-c-card__footer">Footer</div>
|
|
85
92
|
</div>
|
|
@@ -145,10 +152,12 @@ cssPrefix: pf-c-card
|
|
|
145
152
|
</div>
|
|
146
153
|
</div>
|
|
147
154
|
<div class="pf-c-card__header-main">
|
|
148
|
-
<div
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
155
|
+
<div class="pf-c-card__title">
|
|
156
|
+
<h2
|
|
157
|
+
class="pf-c-card__title-text"
|
|
158
|
+
id="card-action-example-2-check-label"
|
|
159
|
+
>This is a really really really really really really really really really really long title</h2>
|
|
160
|
+
</div>
|
|
152
161
|
</div>
|
|
153
162
|
</div>
|
|
154
163
|
<div class="pf-c-card__body">Body</div>
|
|
@@ -254,7 +263,9 @@ cssPrefix: pf-c-card
|
|
|
254
263
|
<img src="/assets/images/pf_logo.svg" width="300px" alt="Logo" />
|
|
255
264
|
</div>
|
|
256
265
|
</div>
|
|
257
|
-
<div class="pf-c-card__title">
|
|
266
|
+
<div class="pf-c-card__title">
|
|
267
|
+
<h2 class="pf-c-card__title-text">Title</h2>
|
|
268
|
+
</div>
|
|
258
269
|
<div class="pf-c-card__body">Body</div>
|
|
259
270
|
<div class="pf-c-card__footer">Footer</div>
|
|
260
271
|
</div>
|
|
@@ -265,7 +276,9 @@ cssPrefix: pf-c-card
|
|
|
265
276
|
|
|
266
277
|
```html
|
|
267
278
|
<div class="pf-c-card" id="card-no-footer-example">
|
|
268
|
-
<div class="pf-c-card__title">
|
|
279
|
+
<div class="pf-c-card__title">
|
|
280
|
+
<h2 class="pf-c-card__title-text">Title</h2>
|
|
281
|
+
</div>
|
|
269
282
|
<div class="pf-c-card__body">This card has no footer</div>
|
|
270
283
|
</div>
|
|
271
284
|
|
|
@@ -294,7 +307,9 @@ cssPrefix: pf-c-card
|
|
|
294
307
|
|
|
295
308
|
```html
|
|
296
309
|
<div class="pf-c-card" id="card-multiple-body-example">
|
|
297
|
-
<div class="pf-c-card__title">
|
|
310
|
+
<div class="pf-c-card__title">
|
|
311
|
+
<h2 class="pf-c-card__title-text">Title</h2>
|
|
312
|
+
</div>
|
|
298
313
|
<div class="pf-c-card__body">Body</div>
|
|
299
314
|
<div class="pf-c-card__body">Body</div>
|
|
300
315
|
<div class="pf-c-card__body">Body</div>
|
|
@@ -307,7 +322,9 @@ cssPrefix: pf-c-card
|
|
|
307
322
|
|
|
308
323
|
```html
|
|
309
324
|
<div class="pf-c-card" id="card-body-fill-example">
|
|
310
|
-
<div class="pf-c-card__title">
|
|
325
|
+
<div class="pf-c-card__title">
|
|
326
|
+
<h2 class="pf-c-card__title-text">Title</h2>
|
|
327
|
+
</div>
|
|
311
328
|
<div class="pf-c-card__body pf-m-no-fill">Body pf-m-no-fill</div>
|
|
312
329
|
<div class="pf-c-card__body pf-m-no-fill">Body pf-m-no-fill</div>
|
|
313
330
|
<div class="pf-c-card__body">Body</div>
|
|
@@ -320,7 +337,9 @@ cssPrefix: pf-c-card
|
|
|
320
337
|
|
|
321
338
|
```html
|
|
322
339
|
<div class="pf-c-card pf-m-compact" id="card-compact-example">
|
|
323
|
-
<div class="pf-c-card__title">
|
|
340
|
+
<div class="pf-c-card__title">
|
|
341
|
+
<h2 class="pf-c-card__title-text">Title</h2>
|
|
342
|
+
</div>
|
|
324
343
|
<div class="pf-c-card__body">Body</div>
|
|
325
344
|
<div class="pf-c-card__footer">Footer</div>
|
|
326
345
|
</div>
|
|
@@ -331,7 +350,9 @@ cssPrefix: pf-c-card
|
|
|
331
350
|
|
|
332
351
|
```html
|
|
333
352
|
<div class="pf-c-card pf-m-display-lg" id="card-display-lg-example">
|
|
334
|
-
<div class="pf-c-card__title">
|
|
353
|
+
<div class="pf-c-card__title">
|
|
354
|
+
<h2 class="pf-c-card__title-text">Title</h2>
|
|
355
|
+
</div>
|
|
335
356
|
<div class="pf-c-card__body">Body</div>
|
|
336
357
|
<div class="pf-c-card__footer">Footer</div>
|
|
337
358
|
</div>
|
|
@@ -342,7 +363,9 @@ cssPrefix: pf-c-card
|
|
|
342
363
|
|
|
343
364
|
```html
|
|
344
365
|
<div class="pf-c-card pf-m-hoverable-raised" id="card-hoverable-example">
|
|
345
|
-
<div class="pf-c-card__title">
|
|
366
|
+
<div class="pf-c-card__title">
|
|
367
|
+
<h2 class="pf-c-card__title-text">Title</h2>
|
|
368
|
+
</div>
|
|
346
369
|
<div class="pf-c-card__body">Body</div>
|
|
347
370
|
<div class="pf-c-card__footer">Footer</div>
|
|
348
371
|
</div>
|
|
@@ -357,7 +380,9 @@ cssPrefix: pf-c-card
|
|
|
357
380
|
tabindex="0"
|
|
358
381
|
id="card-selectable-example"
|
|
359
382
|
>
|
|
360
|
-
<div class="pf-c-card__title">
|
|
383
|
+
<div class="pf-c-card__title">
|
|
384
|
+
<h2 class="pf-c-card__title-text">Title</h2>
|
|
385
|
+
</div>
|
|
361
386
|
<div class="pf-c-card__body">Body</div>
|
|
362
387
|
<div class="pf-c-card__footer">Footer</div>
|
|
363
388
|
</div>
|
|
@@ -372,7 +397,9 @@ cssPrefix: pf-c-card
|
|
|
372
397
|
tabindex="0"
|
|
373
398
|
id="card-selected-example"
|
|
374
399
|
>
|
|
375
|
-
<div class="pf-c-card__title">
|
|
400
|
+
<div class="pf-c-card__title">
|
|
401
|
+
<h2 class="pf-c-card__title-text">Title</h2>
|
|
402
|
+
</div>
|
|
376
403
|
<div class="pf-c-card__body">Body</div>
|
|
377
404
|
<div class="pf-c-card__footer">Footer</div>
|
|
378
405
|
</div>
|
|
@@ -393,7 +420,9 @@ cssPrefix: pf-c-card
|
|
|
393
420
|
tabindex="0"
|
|
394
421
|
id="card-selectable-with-input-example"
|
|
395
422
|
>
|
|
396
|
-
<div class="pf-c-card__title">
|
|
423
|
+
<div class="pf-c-card__title">
|
|
424
|
+
<h2 class="pf-c-card__title-text">Title</h2>
|
|
425
|
+
</div>
|
|
397
426
|
<div class="pf-c-card__body">Body</div>
|
|
398
427
|
<div class="pf-c-card__footer">Footer</div>
|
|
399
428
|
</div>
|
|
@@ -407,7 +436,9 @@ cssPrefix: pf-c-card
|
|
|
407
436
|
class="pf-c-card pf-m-non-selectable-raised"
|
|
408
437
|
id="card-non-selectable-example"
|
|
409
438
|
>
|
|
410
|
-
<div class="pf-c-card__title">
|
|
439
|
+
<div class="pf-c-card__title">
|
|
440
|
+
<h2 class="pf-c-card__title-text">Title</h2>
|
|
441
|
+
</div>
|
|
411
442
|
<div class="pf-c-card__body">Body</div>
|
|
412
443
|
<div class="pf-c-card__footer">Footer</div>
|
|
413
444
|
</div>
|
|
@@ -418,7 +449,9 @@ cssPrefix: pf-c-card
|
|
|
418
449
|
|
|
419
450
|
```html
|
|
420
451
|
<div class="pf-c-card pf-m-hoverable" id="card-hoverable-legacy-example">
|
|
421
|
-
<div class="pf-c-card__title">
|
|
452
|
+
<div class="pf-c-card__title">
|
|
453
|
+
<h2 class="pf-c-card__title-text">Title</h2>
|
|
454
|
+
</div>
|
|
422
455
|
<div class="pf-c-card__body">Body</div>
|
|
423
456
|
<div class="pf-c-card__footer">Footer</div>
|
|
424
457
|
</div>
|
|
@@ -433,7 +466,9 @@ cssPrefix: pf-c-card
|
|
|
433
466
|
tabindex="0"
|
|
434
467
|
id="card-selectable-legacy-example"
|
|
435
468
|
>
|
|
436
|
-
<div class="pf-c-card__title">
|
|
469
|
+
<div class="pf-c-card__title">
|
|
470
|
+
<h2 class="pf-c-card__title-text">Title</h2>
|
|
471
|
+
</div>
|
|
437
472
|
<div class="pf-c-card__body">Body</div>
|
|
438
473
|
<div class="pf-c-card__footer">Footer</div>
|
|
439
474
|
</div>
|
|
@@ -448,7 +483,9 @@ cssPrefix: pf-c-card
|
|
|
448
483
|
tabindex="0"
|
|
449
484
|
id="card-selected-legacy-example"
|
|
450
485
|
>
|
|
451
|
-
<div class="pf-c-card__title">
|
|
486
|
+
<div class="pf-c-card__title">
|
|
487
|
+
<h2 class="pf-c-card__title-text">Title</h2>
|
|
488
|
+
</div>
|
|
452
489
|
<div class="pf-c-card__body">Body</div>
|
|
453
490
|
<div class="pf-c-card__footer">Footer</div>
|
|
454
491
|
</div>
|
|
@@ -459,7 +496,9 @@ cssPrefix: pf-c-card
|
|
|
459
496
|
|
|
460
497
|
```html
|
|
461
498
|
<div class="pf-c-card pf-m-flat" id="card-flat-example">
|
|
462
|
-
<div class="pf-c-card__title">
|
|
499
|
+
<div class="pf-c-card__title">
|
|
500
|
+
<h2 class="pf-c-card__title-text">Title</h2>
|
|
501
|
+
</div>
|
|
463
502
|
<div class="pf-c-card__body">Body</div>
|
|
464
503
|
<div class="pf-c-card__footer">Footer</div>
|
|
465
504
|
</div>
|
|
@@ -470,7 +509,9 @@ cssPrefix: pf-c-card
|
|
|
470
509
|
|
|
471
510
|
```html
|
|
472
511
|
<div class="pf-c-card pf-m-rounded" id="card-rounded-example">
|
|
473
|
-
<div class="pf-c-card__title">
|
|
512
|
+
<div class="pf-c-card__title">
|
|
513
|
+
<h2 class="pf-c-card__title-text">Title</h2>
|
|
514
|
+
</div>
|
|
474
515
|
<div class="pf-c-card__body">Body</div>
|
|
475
516
|
<div class="pf-c-card__footer">Footer</div>
|
|
476
517
|
</div>
|
|
@@ -481,7 +522,9 @@ cssPrefix: pf-c-card
|
|
|
481
522
|
|
|
482
523
|
```html
|
|
483
524
|
<div class="pf-c-card pf-m-plain" id="card-plain-example">
|
|
484
|
-
<div class="pf-c-card__title">
|
|
525
|
+
<div class="pf-c-card__title">
|
|
526
|
+
<h2 class="pf-c-card__title-text">Title</h2>
|
|
527
|
+
</div>
|
|
485
528
|
<div class="pf-c-card__body">Body</div>
|
|
486
529
|
<div class="pf-c-card__footer">Footer</div>
|
|
487
530
|
</div>
|
|
@@ -560,7 +603,12 @@ cssPrefix: pf-c-card
|
|
|
560
603
|
</div>
|
|
561
604
|
</div>
|
|
562
605
|
<div class="pf-c-card__header-main">
|
|
563
|
-
<div class="pf-c-card__title"
|
|
606
|
+
<div class="pf-c-card__title">
|
|
607
|
+
<h2
|
|
608
|
+
class="pf-c-card__title-text"
|
|
609
|
+
id="card-expandable-example-title"
|
|
610
|
+
>Title</h2>
|
|
611
|
+
</div>
|
|
564
612
|
</div>
|
|
565
613
|
</div>
|
|
566
614
|
</div>
|
|
@@ -722,7 +770,7 @@ cssPrefix: pf-c-card
|
|
|
722
770
|
</div>
|
|
723
771
|
</div>
|
|
724
772
|
<div class="pf-c-card__header-main">
|
|
725
|
-
<
|
|
773
|
+
<h2 class="pf-c-card__title-text" id="card-expanded-example-title">Title</h2>
|
|
726
774
|
</div>
|
|
727
775
|
</div>
|
|
728
776
|
<div class="pf-c-card__expandable-content">
|
|
@@ -792,7 +840,12 @@ cssPrefix: pf-c-card
|
|
|
792
840
|
</div>
|
|
793
841
|
</div>
|
|
794
842
|
<div class="pf-c-card__header-main">
|
|
795
|
-
<div class="pf-c-card__title"
|
|
843
|
+
<div class="pf-c-card__title">
|
|
844
|
+
<h2
|
|
845
|
+
class="pf-c-card__title-text"
|
|
846
|
+
id="card-full-height-example-title""
|
|
847
|
+
>Title</h2>
|
|
848
|
+
</div>
|
|
796
849
|
</div>
|
|
797
850
|
</div>
|
|
798
851
|
<div class="pf-c-card__body">Body</div>
|
|
@@ -860,10 +913,12 @@ cssPrefix: pf-c-card
|
|
|
860
913
|
</div>
|
|
861
914
|
</div>
|
|
862
915
|
<div class="pf-c-card__header-main">
|
|
863
|
-
<div
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
916
|
+
<div class="pf-c-card__title">
|
|
917
|
+
<h2
|
|
918
|
+
class="pf-c-card__title-text"
|
|
919
|
+
id="card-toggle-on-right-example-title"
|
|
920
|
+
>Title</h2>
|
|
921
|
+
</div>
|
|
867
922
|
</div>
|
|
868
923
|
<div class="pf-c-card__header-toggle">
|
|
869
924
|
<button
|
|
@@ -887,7 +942,9 @@ cssPrefix: pf-c-card
|
|
|
887
942
|
|
|
888
943
|
```html
|
|
889
944
|
<div class="pf-c-card">
|
|
890
|
-
<div class="pf-c-card__title">
|
|
945
|
+
<div class="pf-c-card__title">
|
|
946
|
+
<h2 class="pf-c-card__title-text">Title</h2>
|
|
947
|
+
</div>
|
|
891
948
|
<hr class="pf-c-divider" />
|
|
892
949
|
<div class="pf-c-card__body">Body</div>
|
|
893
950
|
<hr class="pf-c-divider" />
|
|
@@ -909,7 +966,8 @@ A card is a generic rectangular container that can be used to build other compon
|
|
|
909
966
|
| Class | Applied | Outcome |
|
|
910
967
|
| ---- | ---- | ---- |
|
|
911
968
|
| `.pf-c-card` | `<div>` | Creates a card component. **Required** |
|
|
912
|
-
| `.pf-c-card__title` | `<div>` | Creates
|
|
969
|
+
| `.pf-c-card__title` | `<div>` | Creates a card title container. |
|
|
970
|
+
| `.pf-c-card__title-text` | `<h1>`, `<h2>`, `<h3>`, `<h4>`, `<h5>`, `<h6>`, `<div>` | Creates a card title text element. |
|
|
913
971
|
| `.pf-c-card__body` | `<div>` | Creates the body of a card. By default, the body element fills the available space in the card. You can use multiple `.pf-c-card__body` elements. |
|
|
914
972
|
| `.pf-c-card__footer` | `<div>` | Creates the footer of a card. |
|
|
915
973
|
| `.pf-c-card__header` | `<div>` | Creates the header of the card where images, actions, and/or the card title can go. |
|