@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
|
@@ -202,17 +202,15 @@
|
|
|
202
202
|
--pf-global--icon--FontSize--md: 1.125rem;
|
|
203
203
|
--pf-global--icon--FontSize--lg: 1.5rem;
|
|
204
204
|
--pf-global--icon--FontSize--xl: 3.375rem;
|
|
205
|
-
--pf-global--FontFamily--sans-serif: "RedHatText",
|
|
206
|
-
--pf-global--FontFamily--heading--sans-serif: "RedHatDisplay",
|
|
205
|
+
--pf-global--FontFamily--sans-serif: "RedHatText", helvetica, arial, sans-serif;
|
|
206
|
+
--pf-global--FontFamily--heading--sans-serif: "RedHatDisplay", helvetica, arial, sans-serif;
|
|
207
207
|
--pf-global--FontFamily--monospace: "Liberation Mono", consolas, "SFMono-Regular", menlo, monaco, "Courier New", monospace;
|
|
208
|
-
--pf-global--FontFamily--redhat-updated--sans-serif: "RedHatTextUpdated",
|
|
209
|
-
--pf-global--FontFamily--redhat-updated--heading--sans-serif: "RedHatDisplayUpdated",
|
|
208
|
+
--pf-global--FontFamily--redhat-updated--sans-serif: "RedHatTextUpdated", helvetica, arial, sans-serif;
|
|
209
|
+
--pf-global--FontFamily--redhat-updated--heading--sans-serif: "RedHatDisplayUpdated", helvetica, arial, sans-serif;
|
|
210
210
|
--pf-global--FontFamily--redhat--monospace: "RedHatMono", "Liberation Mono", consolas, "SFMono-Regular", menlo, monaco, "Courier New", monospace;
|
|
211
|
-
--pf-global--FontFamily--redhatVF--sans-serif: "RedHatTextVF", "RedHatText",
|
|
212
|
-
--pf-global--FontFamily--redhatVF--heading--sans-serif: "RedHatDisplayVF", "RedHatDisplay",
|
|
211
|
+
--pf-global--FontFamily--redhatVF--sans-serif: "RedHatTextVF", "RedHatText", helvetica, arial, sans-serif;
|
|
212
|
+
--pf-global--FontFamily--redhatVF--heading--sans-serif: "RedHatDisplayVF", "RedHatDisplay", helvetica, arial, sans-serif;
|
|
213
213
|
--pf-global--FontFamily--redhatVF--monospace: "RedHatMonoVF", "RedHatMono", "Liberation Mono", consolas, "SFMono-Regular", menlo, monaco, "Courier New", monospace;
|
|
214
|
-
--pf-global--FontFamily--overpass--sans-serif: "overpass", overpass, "open sans", -apple-system, blinkmacsystemfont, "Segoe UI", roboto, "Helvetica Neue", arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
215
|
-
--pf-global--FontFamily--overpass--monospace: "overpass-mono", overpass-mono, "SFMono-Regular", menlo, monaco, consolas, "Liberation Mono", "Courier New", monospace;
|
|
216
214
|
--pf-global--FontSize--4xl: 2.25rem;
|
|
217
215
|
--pf-global--FontSize--3xl: 1.75rem;
|
|
218
216
|
--pf-global--FontSize--2xl: 1.5rem;
|
|
@@ -223,10 +221,7 @@
|
|
|
223
221
|
--pf-global--FontSize--xs: 0.75rem;
|
|
224
222
|
--pf-global--FontWeight--light: 300;
|
|
225
223
|
--pf-global--FontWeight--normal: 400;
|
|
226
|
-
--pf-global--FontWeight--semi-bold: 700;
|
|
227
|
-
--pf-global--FontWeight--overpass--semi-bold: 500;
|
|
228
224
|
--pf-global--FontWeight--bold: 700;
|
|
229
|
-
--pf-global--FontWeight--overpass--bold: 600;
|
|
230
225
|
--pf-global--LineHeight--sm: 1.3;
|
|
231
226
|
--pf-global--LineHeight--md: 1.5;
|
|
232
227
|
--pf-global--ListStyle: disc outside;
|
|
@@ -239,14 +234,6 @@
|
|
|
239
234
|
--pf-global--target-size--MinHeight: 44px;
|
|
240
235
|
}
|
|
241
236
|
|
|
242
|
-
.pf-m-overpass-font {
|
|
243
|
-
--pf-global--FontFamily--sans-serif: var(--pf-global--FontFamily--overpass--sans-serif);
|
|
244
|
-
--pf-global--FontFamily--heading--sans-serif: var(--pf-global--FontFamily--sans-serif);
|
|
245
|
-
--pf-global--FontFamily--monospace: var(--pf-global--FontFamily--overpass--monospace);
|
|
246
|
-
--pf-global--FontWeight--semi-bold: var(--pf-global--FontWeight--overpass--semi-bold);
|
|
247
|
-
--pf-global--FontWeight--bold: var(--pf-global--FontWeight--overpass--bold);
|
|
248
|
-
}
|
|
249
|
-
|
|
250
237
|
.pf-m-redhat-updated-font {
|
|
251
238
|
--pf-global--FontFamily--sans-serif: var(--pf-global--FontFamily--redhat-updated--sans-serif);
|
|
252
239
|
--pf-global--FontFamily--heading--sans-serif: var(--pf-global--FontFamily--redhat-updated--heading--sans-serif);
|
|
@@ -31,22 +31,9 @@
|
|
|
31
31
|
|
|
32
32
|
.pf-c-about-modal-box {
|
|
33
33
|
--pf-c-about-modal-box--BackgroundColor: var(--pf-global--palette--black-1000);
|
|
34
|
-
--pf-c-about-modal-box--BoxShadow: 0 0 100px 0 rgba(255, 255, 255, .05);
|
|
35
|
-
--pf-c-about-modal-box--ZIndex: var(--pf-global--ZIndex--xl);
|
|
36
34
|
--pf-c-about-modal-box--Height: 100%;
|
|
37
35
|
--pf-c-about-modal-box--lg--Height: 47.625rem;
|
|
38
|
-
--pf-c-about-modal-box--
|
|
39
|
-
--pf-c-about-modal-box--Width: 100vw;
|
|
40
|
-
--pf-c-about-modal-box--lg--Width: calc(100% - (var(--pf-global--spacer--3xl) * 2));
|
|
41
|
-
--pf-c-about-modal-box--lg--MaxWidth: 77rem;
|
|
42
|
-
--pf-c-about-modal-box--PaddingTop: var(--pf-global--spacer--xl);
|
|
43
|
-
--pf-c-about-modal-box--PaddingRight: var(--pf-global--spacer--xl);
|
|
44
|
-
--pf-c-about-modal-box--PaddingBottom: var(--pf-global--spacer--xl);
|
|
45
|
-
--pf-c-about-modal-box--PaddingLeft: var(--pf-global--spacer--xl);
|
|
46
|
-
--pf-c-about-modal-box--sm--PaddingTop: var(--pf-global--spacer--3xl);
|
|
47
|
-
--pf-c-about-modal-box--sm--PaddingRight: var(--pf-global--spacer--3xl);
|
|
48
|
-
--pf-c-about-modal-box--sm--PaddingBottom: var(--pf-global--spacer--3xl);
|
|
49
|
-
--pf-c-about-modal-box--sm--PaddingLeft: var(--pf-global--spacer--3xl);
|
|
36
|
+
--pf-c-about-modal-box--Width: 100%;
|
|
50
37
|
--pf-c-about-modal-box--sm--grid-template-columns: 5fr 1fr;
|
|
51
38
|
--pf-c-about-modal-box--lg--grid-template-columns: 1fr .6fr;
|
|
52
39
|
--pf-c-about-modal-box__brand--PaddingTop: var(--pf-global--spacer--2xl);
|
|
@@ -92,7 +79,6 @@
|
|
|
92
79
|
--pf-c-about-modal-box__content--sm--MarginLeft: var(--pf-global--spacer--3xl);
|
|
93
80
|
color: var(--pf-global--Color--100);
|
|
94
81
|
position: relative;
|
|
95
|
-
z-index: var(--pf-c-about-modal-box--ZIndex);
|
|
96
82
|
display: grid;
|
|
97
83
|
grid-template-rows: max-content max-content auto;
|
|
98
84
|
grid-template-areas: "brand close" "header header" "content content";
|
|
@@ -101,15 +87,6 @@
|
|
|
101
87
|
overflow-x: hidden;
|
|
102
88
|
overflow-y: auto;
|
|
103
89
|
background-color: var(--pf-c-about-modal-box--BackgroundColor);
|
|
104
|
-
box-shadow: var(--pf-c-about-modal-box--BoxShadow);
|
|
105
|
-
}
|
|
106
|
-
@media screen and (min-width: 576px) {
|
|
107
|
-
.pf-c-about-modal-box {
|
|
108
|
-
--pf-c-about-modal-box--PaddingTop: var(--pf-c-about-modal-box--sm--PaddingTop);
|
|
109
|
-
--pf-c-about-modal-box--PaddingRight: var(--pf-c-about-modal-box--sm--PaddingRight);
|
|
110
|
-
--pf-c-about-modal-box--PaddingBottom: var(--pf-c-about-modal-box--sm--PaddingBottom);
|
|
111
|
-
--pf-c-about-modal-box--PaddingLeft: var(--pf-c-about-modal-box--sm--PaddingLeft);
|
|
112
|
-
}
|
|
113
90
|
}
|
|
114
91
|
@media screen and (min-width: 576px) {
|
|
115
92
|
.pf-c-about-modal-box {
|
|
@@ -160,8 +137,6 @@
|
|
|
160
137
|
--pf-c-about-modal-box--Width: var(--pf-c-about-modal-box--lg--Width);
|
|
161
138
|
grid-template-columns: var(--pf-c-about-modal-box--lg--grid-template-columns);
|
|
162
139
|
grid-template-rows: max-content max-content auto;
|
|
163
|
-
max-width: var(--pf-c-about-modal-box--lg--MaxWidth);
|
|
164
|
-
max-height: var(--pf-c-about-modal-box--lg--MaxHeight);
|
|
165
140
|
}
|
|
166
141
|
}
|
|
167
142
|
|
|
@@ -247,12 +222,10 @@
|
|
|
247
222
|
|
|
248
223
|
.pf-c-about-modal-box__hero {
|
|
249
224
|
display: none;
|
|
250
|
-
visibility: hidden;
|
|
251
225
|
}
|
|
252
226
|
@media only screen and (min-width: 576px) {
|
|
253
227
|
.pf-c-about-modal-box__hero {
|
|
254
228
|
display: block;
|
|
255
|
-
visibility: visible;
|
|
256
229
|
background-image: var(--pf-c-about-modal-box__hero--sm--BackgroundImage);
|
|
257
230
|
background-repeat: no-repeat;
|
|
258
231
|
background-attachment: fixed;
|
|
@@ -1,32 +1,12 @@
|
|
|
1
1
|
.pf-c-about-modal-box {
|
|
2
2
|
// Component variables
|
|
3
3
|
--pf-c-about-modal-box--BackgroundColor: var(--pf-global--palette--black-1000); // Modal uses a non-standard background color
|
|
4
|
-
--pf-c-about-modal-box--BoxShadow: 0 0 100px 0 rgba(255, 255, 255, .05); // This is a special one-off glow for the about modal
|
|
5
|
-
--pf-c-about-modal-box--ZIndex: var(--pf-global--ZIndex--xl);
|
|
6
4
|
--pf-c-about-modal-box--Height: 100%;
|
|
7
5
|
--pf-c-about-modal-box--lg--Height: #{pf-size-prem(762px)}; // Height is optimized for the exact height desired
|
|
8
|
-
--pf-c-about-modal-box--
|
|
9
|
-
--pf-c-about-modal-box--Width: 100vw;
|
|
10
|
-
--pf-c-about-modal-box--lg--Width: calc(100% - (var(--pf-global--spacer--3xl) * 2)); // Modal should be full width with a gutter on either side until it hits a max-width
|
|
11
|
-
--pf-c-about-modal-box--lg--MaxWidth: #{pf-size-prem(1232px)};
|
|
12
|
-
--pf-c-about-modal-box--PaddingTop: var(--pf-global--spacer--xl);
|
|
13
|
-
--pf-c-about-modal-box--PaddingRight: var(--pf-global--spacer--xl);
|
|
14
|
-
--pf-c-about-modal-box--PaddingBottom: var(--pf-global--spacer--xl);
|
|
15
|
-
--pf-c-about-modal-box--PaddingLeft: var(--pf-global--spacer--xl);
|
|
16
|
-
--pf-c-about-modal-box--sm--PaddingTop: var(--pf-global--spacer--3xl);
|
|
17
|
-
--pf-c-about-modal-box--sm--PaddingRight: var(--pf-global--spacer--3xl);
|
|
18
|
-
--pf-c-about-modal-box--sm--PaddingBottom: var(--pf-global--spacer--3xl);
|
|
19
|
-
--pf-c-about-modal-box--sm--PaddingLeft: var(--pf-global--spacer--3xl);
|
|
6
|
+
--pf-c-about-modal-box--Width: 100%;
|
|
20
7
|
--pf-c-about-modal-box--sm--grid-template-columns: 5fr 1fr;
|
|
21
8
|
--pf-c-about-modal-box--lg--grid-template-columns: 1fr .6fr;
|
|
22
9
|
|
|
23
|
-
@media screen and (min-width: $pf-global--breakpoint--sm) {
|
|
24
|
-
--pf-c-about-modal-box--PaddingTop: var(--pf-c-about-modal-box--sm--PaddingTop);
|
|
25
|
-
--pf-c-about-modal-box--PaddingRight: var(--pf-c-about-modal-box--sm--PaddingRight);
|
|
26
|
-
--pf-c-about-modal-box--PaddingBottom: var(--pf-c-about-modal-box--sm--PaddingBottom);
|
|
27
|
-
--pf-c-about-modal-box--PaddingLeft: var(--pf-c-about-modal-box--sm--PaddingLeft);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
10
|
// Brand
|
|
31
11
|
--pf-c-about-modal-box__brand--PaddingTop: var(--pf-global--spacer--2xl);
|
|
32
12
|
--pf-c-about-modal-box__brand--PaddingRight: var(--pf-global--spacer--xl);
|
|
@@ -119,7 +99,6 @@
|
|
|
119
99
|
@include pf-t-dark;
|
|
120
100
|
|
|
121
101
|
position: relative;
|
|
122
|
-
z-index: var(--pf-c-about-modal-box--ZIndex);
|
|
123
102
|
display: grid;
|
|
124
103
|
grid-template-rows: max-content max-content auto;
|
|
125
104
|
grid-template-areas:
|
|
@@ -131,7 +110,6 @@
|
|
|
131
110
|
overflow-x: hidden;
|
|
132
111
|
overflow-y: auto;
|
|
133
112
|
background-color: var(--pf-c-about-modal-box--BackgroundColor); // Because this component is always dark, set the background color
|
|
134
|
-
box-shadow: var(--pf-c-about-modal-box--BoxShadow);
|
|
135
113
|
|
|
136
114
|
@media only screen and (min-width: $pf-global--breakpoint--sm) {
|
|
137
115
|
grid-template-columns: var(--pf-c-about-modal-box--sm--grid-template-columns);
|
|
@@ -147,8 +125,6 @@
|
|
|
147
125
|
|
|
148
126
|
grid-template-columns: var(--pf-c-about-modal-box--lg--grid-template-columns);
|
|
149
127
|
grid-template-rows: max-content max-content auto;
|
|
150
|
-
max-width: var(--pf-c-about-modal-box--lg--MaxWidth);
|
|
151
|
-
max-height: var(--pf-c-about-modal-box--lg--MaxHeight);
|
|
152
128
|
}
|
|
153
129
|
}
|
|
154
130
|
|
|
@@ -241,11 +217,9 @@
|
|
|
241
217
|
// Hero
|
|
242
218
|
.pf-c-about-modal-box__hero {
|
|
243
219
|
display: none; // Don't display the hero at the narrowest breakpoint
|
|
244
|
-
visibility: hidden;
|
|
245
220
|
|
|
246
221
|
@media only screen and (min-width: $pf-global--breakpoint--sm) {
|
|
247
222
|
display: block;
|
|
248
|
-
visibility: visible;
|
|
249
223
|
background-image: var(--pf-c-about-modal-box__hero--sm--BackgroundImage);
|
|
250
224
|
background-repeat: no-repeat;
|
|
251
225
|
background-attachment: fixed;
|
|
@@ -14,35 +14,37 @@
|
|
|
14
14
|
--pf-c-accordion__toggle--PaddingRight: var(--pf-global--spacer--md);
|
|
15
15
|
--pf-c-accordion__toggle--PaddingBottom: var(--pf-global--spacer--sm);
|
|
16
16
|
--pf-c-accordion__toggle--PaddingLeft: var(--pf-global--spacer--md);
|
|
17
|
-
--pf-c-accordion__toggle--before--BackgroundColor: transparent;
|
|
18
17
|
--pf-c-accordion__toggle--before--Top: 0;
|
|
18
|
+
--pf-c-accordion__toggle--after--Top: 0;
|
|
19
|
+
--pf-c-accordion__toggle--after--BackgroundColor: transparent;
|
|
19
20
|
--pf-c-accordion__toggle--hover--BackgroundColor: var(--pf-global--BackgroundColor--200);
|
|
20
21
|
--pf-c-accordion__toggle--focus--BackgroundColor: var(--pf-global--BackgroundColor--200);
|
|
21
22
|
--pf-c-accordion__toggle--active--BackgroundColor: var(--pf-global--BackgroundColor--200);
|
|
22
23
|
--pf-c-accordion__toggle--before--Width: var(--pf-global--BorderWidth--lg);
|
|
23
|
-
--pf-c-accordion__toggle--
|
|
24
|
+
--pf-c-accordion__toggle--after--Width: var(--pf-global--BorderWidth--lg);
|
|
25
|
+
--pf-c-accordion__toggle--m-expanded--after--BackgroundColor: var(--pf-global--primary-color--100);
|
|
24
26
|
--pf-c-accordion__toggle-text--MaxWidth: calc(100% - var(--pf-global--spacer--lg));
|
|
25
27
|
--pf-c-accordion__toggle--hover__toggle-text--Color: var(--pf-global--link--Color);
|
|
26
28
|
--pf-c-accordion__toggle--active__toggle-text--Color: var(--pf-global--link--Color);
|
|
27
|
-
--pf-c-accordion__toggle--active__toggle-text--FontWeight: var(--pf-global--FontWeight--
|
|
29
|
+
--pf-c-accordion__toggle--active__toggle-text--FontWeight: var(--pf-global--FontWeight--bold);
|
|
28
30
|
--pf-c-accordion__toggle--focus__toggle-text--Color: var(--pf-global--link--Color);
|
|
29
|
-
--pf-c-accordion__toggle--focus__toggle-text--FontWeight: var(--pf-global--FontWeight--
|
|
31
|
+
--pf-c-accordion__toggle--focus__toggle-text--FontWeight: var(--pf-global--FontWeight--bold);
|
|
30
32
|
--pf-c-accordion__toggle--m-expanded__toggle-text--Color: var(--pf-global--link--Color);
|
|
31
|
-
--pf-c-accordion__toggle--m-expanded__toggle-text--FontWeight: var(--pf-global--FontWeight--
|
|
33
|
+
--pf-c-accordion__toggle--m-expanded__toggle-text--FontWeight: var(--pf-global--FontWeight--bold);
|
|
32
34
|
--pf-c-accordion__toggle-icon--Transition: .2s ease-in 0s;
|
|
33
35
|
--pf-c-accordion__toggle--m-expanded__toggle-icon--Rotate: 90deg;
|
|
34
|
-
--pf-c-
|
|
35
|
-
--pf-c-
|
|
36
|
-
--pf-c-
|
|
37
|
-
--pf-c-
|
|
38
|
-
--pf-c-
|
|
39
|
-
--pf-c-
|
|
40
|
-
--pf-c-
|
|
41
|
-
--pf-c-
|
|
42
|
-
--pf-c-
|
|
43
|
-
--pf-c-
|
|
44
|
-
--pf-c-
|
|
45
|
-
--pf-c-
|
|
36
|
+
--pf-c-accordion__expandable-content--Color: var(--pf-global--Color--200);
|
|
37
|
+
--pf-c-accordion__expandable-content--FontSize: var(--pf-global--FontSize--sm);
|
|
38
|
+
--pf-c-accordion__expandable-content--m-expanded__expandable-content-body--after--BackgroundColor: var(--pf-global--primary-color--100);
|
|
39
|
+
--pf-c-accordion__expandable-content--m-fixed--MaxHeight: 9.375rem;
|
|
40
|
+
--pf-c-accordion__expandable-content-body--PaddingTop: var(--pf-global--spacer--sm);
|
|
41
|
+
--pf-c-accordion__expandable-content-body--PaddingRight: var(--pf-global--spacer--md);
|
|
42
|
+
--pf-c-accordion__expandable-content-body--PaddingBottom: var(--pf-global--spacer--sm);
|
|
43
|
+
--pf-c-accordion__expandable-content-body--PaddingLeft: var(--pf-global--spacer--md);
|
|
44
|
+
--pf-c-accordion__expandable-content-body--expandable-content-body--PaddingTop: 0;
|
|
45
|
+
--pf-c-accordion__expandable-content-body--after--BackgroundColor: transparent;
|
|
46
|
+
--pf-c-accordion__expandable-content-body--after--Width: var(--pf-global--BorderWidth--lg);
|
|
47
|
+
--pf-c-accordion__expandable-content-body--before--Top: 0;
|
|
46
48
|
--pf-c-accordion--m-display-lg__toggle--PaddingTop: var(--pf-global--spacer--md);
|
|
47
49
|
--pf-c-accordion--m-display-lg__toggle--PaddingRight: var(--pf-global--spacer--md);
|
|
48
50
|
--pf-c-accordion--m-display-lg__toggle--PaddingBottom: var(--pf-global--spacer--md);
|
|
@@ -56,21 +58,21 @@
|
|
|
56
58
|
--pf-c-accordion--m-display-lg__toggle--focus__toggle-text--FontWeight: var(--pf-global--FontWeight--normal);
|
|
57
59
|
--pf-c-accordion--m-display-lg__toggle--m-expanded__toggle-text--Color: var(--pf-global--Color--100);
|
|
58
60
|
--pf-c-accordion--m-display-lg__toggle--m-expanded__toggle-text--FontWeight: var(--pf-global--FontWeight--normal);
|
|
59
|
-
--pf-c-accordion--m-display-
|
|
60
|
-
--pf-c-accordion--m-display-
|
|
61
|
-
--pf-c-accordion--m-display-
|
|
62
|
-
--pf-c-accordion--m-display-
|
|
63
|
-
--pf-c-accordion--m-display-
|
|
64
|
-
--pf-c-accordion--m-display-
|
|
65
|
-
--pf-c-accordion--m-display-
|
|
61
|
+
--pf-c-accordion--m-display-lg__expandable-content--FontSize: var(--pf-global--FontSize--md);
|
|
62
|
+
--pf-c-accordion--m-display-lg__expandable-content--Color: var(--pf-global--Color--100);
|
|
63
|
+
--pf-c-accordion--m-display-lg__expandable-content-body--PaddingTop: 0;
|
|
64
|
+
--pf-c-accordion--m-display-lg__expandable-content-body--PaddingRight: var(--pf-global--spacer--md);
|
|
65
|
+
--pf-c-accordion--m-display-lg__expandable-content-body--PaddingBottom: var(--pf-global--spacer--md);
|
|
66
|
+
--pf-c-accordion--m-display-lg__expandable-content-body--last-child--PaddingBottom: var(--pf-global--spacer--lg);
|
|
67
|
+
--pf-c-accordion--m-display-lg__expandable-content-body--PaddingLeft: var(--pf-global--spacer--lg);
|
|
66
68
|
--pf-c-accordion--m-bordered--BorderTopWidth: var(--pf-global--BorderWidth--sm);
|
|
67
69
|
--pf-c-accordion--m-bordered--BorderTopColor: var(--pf-global--BorderColor--100);
|
|
68
|
-
--pf-c-accordion--m-bordered__toggle--
|
|
69
|
-
--pf-c-accordion--m-bordered__toggle--
|
|
70
|
-
--pf-c-accordion--m-bordered__toggle--
|
|
71
|
-
--pf-c-accordion--m-bordered__toggle--
|
|
72
|
-
--pf-c-accordion--m-
|
|
73
|
-
--pf-c-accordion--m-
|
|
70
|
+
--pf-c-accordion--m-bordered__toggle--after--Top: calc(-1 * var(--pf-global--BorderWidth--sm));
|
|
71
|
+
--pf-c-accordion--m-bordered__toggle--before--BorderColor: var(--pf-global--BorderColor--100);
|
|
72
|
+
--pf-c-accordion--m-bordered__toggle--before--BorderTopWidth: 0;
|
|
73
|
+
--pf-c-accordion--m-bordered__toggle--before--BorderBottomWidth: var(--pf-global--BorderWidth--sm);
|
|
74
|
+
--pf-c-accordion--m-bordered__expandable-content--m-expanded__expandable-content-body--last-child--before--BorderBottomWidth: var(--pf-global--BorderWidth--sm);
|
|
75
|
+
--pf-c-accordion--m-bordered__expandable-content--m-expanded__expandable-content-body--last-child--before--BorderBottomColor: var(--pf-global--BorderColor--100);
|
|
74
76
|
color: var(--pf-global--Color--100);
|
|
75
77
|
background-color: var(--pf-c-accordion--BackgroundColor);
|
|
76
78
|
}
|
|
@@ -88,18 +90,18 @@
|
|
|
88
90
|
--pf-c-accordion__toggle--focus__toggle-text--FontWeight: var(--pf-c-accordion--m-display-lg__toggle--focus__toggle-text--FontWeight);
|
|
89
91
|
--pf-c-accordion__toggle--m-expanded__toggle-text--Color: var(--pf-c-accordion--m-display-lg__toggle--m-expanded__toggle-text--Color);
|
|
90
92
|
--pf-c-accordion__toggle--m-expanded__toggle-text--FontWeight: var(--pf-c-accordion--m-display-lg__toggle--m-expanded__toggle-text--FontWeight);
|
|
91
|
-
--pf-c-
|
|
92
|
-
--pf-c-
|
|
93
|
-
--pf-c-
|
|
94
|
-
--pf-c-
|
|
95
|
-
--pf-c-
|
|
96
|
-
--pf-c-
|
|
93
|
+
--pf-c-accordion__expandable-content-body--PaddingTop: var(--pf-c-accordion--m-display-lg__expandable-content-body--PaddingTop);
|
|
94
|
+
--pf-c-accordion__expandable-content-body--PaddingRight: var(--pf-c-accordion--m-display-lg__expandable-content-body--PaddingRight);
|
|
95
|
+
--pf-c-accordion__expandable-content-body--PaddingBottom: var(--pf-c-accordion--m-display-lg__expandable-content-body--PaddingBottom);
|
|
96
|
+
--pf-c-accordion__expandable-content-body--PaddingLeft: var(--pf-c-accordion--m-display-lg__expandable-content-body--PaddingLeft);
|
|
97
|
+
--pf-c-accordion__expandable-content--FontSize: var(--pf-c-accordion--m-display-lg__expandable-content--FontSize);
|
|
98
|
+
--pf-c-accordion__expandable-content--Color: var(--pf-c-accordion--m-display-lg__expandable-content--Color);
|
|
97
99
|
}
|
|
98
|
-
.pf-c-accordion.pf-m-display-lg .pf-c-
|
|
99
|
-
--pf-c-
|
|
100
|
+
.pf-c-accordion.pf-m-display-lg .pf-c-accordion__expandable-content-body:last-child {
|
|
101
|
+
--pf-c-accordion__expandable-content-body--PaddingBottom: var(--pf-c-accordion--m-display-lg__expandable-content-body--last-child--PaddingBottom);
|
|
100
102
|
}
|
|
101
103
|
.pf-c-accordion.pf-m-bordered {
|
|
102
|
-
--pf-c-accordion__toggle--
|
|
104
|
+
--pf-c-accordion__toggle--after--Top: var(--pf-c-accordion--m-bordered__toggle--after--Top);
|
|
103
105
|
border-top: var(--pf-c-accordion--m-bordered--BorderTopWidth) solid var(--pf-c-accordion--m-bordered--BorderTopColor);
|
|
104
106
|
}
|
|
105
107
|
.pf-c-accordion.pf-m-bordered .pf-c-accordion__toggle::before {
|
|
@@ -109,13 +111,13 @@
|
|
|
109
111
|
bottom: 0;
|
|
110
112
|
left: 0;
|
|
111
113
|
content: "";
|
|
112
|
-
border: solid var(--pf-c-accordion--m-bordered__toggle--
|
|
113
|
-
border-width: var(--pf-c-accordion--m-bordered__toggle--
|
|
114
|
+
border: solid var(--pf-c-accordion--m-bordered__toggle--before--BorderColor);
|
|
115
|
+
border-width: var(--pf-c-accordion--m-bordered__toggle--before--BorderTopWidth) 0 var(--pf-c-accordion--m-bordered__toggle--before--BorderBottomWidth);
|
|
114
116
|
}
|
|
115
117
|
.pf-c-accordion.pf-m-bordered .pf-c-accordion__toggle.pf-m-expanded {
|
|
116
|
-
--pf-c-accordion--m-bordered__toggle--
|
|
118
|
+
--pf-c-accordion--m-bordered__toggle--before--BorderBottomWidth: 0;
|
|
117
119
|
}
|
|
118
|
-
.pf-c-accordion.pf-m-bordered .pf-c-
|
|
120
|
+
.pf-c-accordion.pf-m-bordered .pf-c-accordion__expandable-content.pf-m-expanded .pf-c-accordion__expandable-content-body:last-child::before {
|
|
119
121
|
position: absolute;
|
|
120
122
|
top: 0;
|
|
121
123
|
right: 0;
|
|
@@ -123,7 +125,7 @@
|
|
|
123
125
|
left: 0;
|
|
124
126
|
pointer-events: none;
|
|
125
127
|
content: "";
|
|
126
|
-
border-bottom: var(--pf-c-accordion--m-
|
|
128
|
+
border-bottom: var(--pf-c-accordion--m-bordered__expandable-content--m-expanded__expandable-content-body--last-child--before--BorderBottomWidth) solid var(--pf-c-accordion--m-bordered__expandable-content--m-expanded__expandable-content-body--last-child--before--BorderBottomColor);
|
|
127
129
|
}
|
|
128
130
|
|
|
129
131
|
.pf-c-accordion__toggle {
|
|
@@ -139,15 +141,15 @@
|
|
|
139
141
|
}
|
|
140
142
|
.pf-c-accordion__toggle::after {
|
|
141
143
|
position: absolute;
|
|
142
|
-
top: var(--pf-c-accordion__toggle--
|
|
144
|
+
top: var(--pf-c-accordion__toggle--after--Top);
|
|
143
145
|
bottom: 0;
|
|
144
146
|
left: 0;
|
|
145
|
-
width: var(--pf-c-accordion__toggle--
|
|
147
|
+
width: var(--pf-c-accordion__toggle--after--Width);
|
|
146
148
|
content: "";
|
|
147
|
-
background-color: var(--pf-c-accordion__toggle--
|
|
149
|
+
background-color: var(--pf-c-accordion__toggle--after--BackgroundColor);
|
|
148
150
|
}
|
|
149
151
|
.pf-c-accordion__toggle.pf-m-expanded {
|
|
150
|
-
--pf-c-accordion__toggle--
|
|
152
|
+
--pf-c-accordion__toggle--after--BackgroundColor: var(--pf-c-accordion__toggle--m-expanded--after--BackgroundColor);
|
|
151
153
|
}
|
|
152
154
|
.pf-c-accordion__toggle.pf-m-expanded .pf-c-accordion__toggle-text {
|
|
153
155
|
font-weight: var(--pf-c-accordion__toggle--m-expanded__toggle-text--FontWeight);
|
|
@@ -188,33 +190,33 @@
|
|
|
188
190
|
transition: var(--pf-c-accordion__toggle-icon--Transition);
|
|
189
191
|
}
|
|
190
192
|
|
|
191
|
-
.pf-c-
|
|
192
|
-
font-size: var(--pf-c-
|
|
193
|
-
color: var(--pf-c-
|
|
193
|
+
.pf-c-accordion__expandable-content {
|
|
194
|
+
font-size: var(--pf-c-accordion__expandable-content--FontSize);
|
|
195
|
+
color: var(--pf-c-accordion__expandable-content--Color);
|
|
194
196
|
}
|
|
195
|
-
.pf-c-
|
|
196
|
-
max-height: var(--pf-c-
|
|
197
|
+
.pf-c-accordion__expandable-content.pf-m-fixed {
|
|
198
|
+
max-height: var(--pf-c-accordion__expandable-content--m-fixed--MaxHeight);
|
|
197
199
|
overflow-y: auto;
|
|
198
200
|
}
|
|
199
|
-
.pf-c-
|
|
200
|
-
--pf-c-
|
|
201
|
+
.pf-c-accordion__expandable-content.pf-m-expanded {
|
|
202
|
+
--pf-c-accordion__expandable-content-body--after--BackgroundColor: var(--pf-c-accordion__expandable-content--m-expanded__expandable-content-body--after--BackgroundColor);
|
|
201
203
|
}
|
|
202
204
|
|
|
203
|
-
.pf-c-
|
|
205
|
+
.pf-c-accordion__expandable-content-body {
|
|
204
206
|
position: relative;
|
|
205
|
-
padding: var(--pf-c-
|
|
207
|
+
padding: var(--pf-c-accordion__expandable-content-body--PaddingTop) var(--pf-c-accordion__expandable-content-body--PaddingRight) var(--pf-c-accordion__expandable-content-body--PaddingBottom) var(--pf-c-accordion__expandable-content-body--PaddingLeft);
|
|
206
208
|
}
|
|
207
|
-
.pf-c-
|
|
209
|
+
.pf-c-accordion__expandable-content-body::after {
|
|
208
210
|
position: absolute;
|
|
209
211
|
top: 0;
|
|
210
212
|
bottom: 0;
|
|
211
213
|
left: 0;
|
|
212
|
-
width: var(--pf-c-
|
|
214
|
+
width: var(--pf-c-accordion__expandable-content-body--after--Width);
|
|
213
215
|
content: "";
|
|
214
|
-
background-color: var(--pf-c-
|
|
216
|
+
background-color: var(--pf-c-accordion__expandable-content-body--after--BackgroundColor);
|
|
215
217
|
}
|
|
216
|
-
.pf-c-
|
|
217
|
-
--pf-c-
|
|
218
|
+
.pf-c-accordion__expandable-content-body + .pf-c-accordion__expandable-content-body {
|
|
219
|
+
--pf-c-accordion__expandable-content-body--PaddingTop: var(--pf-c-accordion__expandable-content-body--expandable-content-body--PaddingTop);
|
|
218
220
|
}
|
|
219
221
|
|
|
220
222
|
:where(.pf-theme-dark) .pf-c-accordion {
|