@patternfly/patternfly 4.222.3 → 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 -11
- 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
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# PatternFly
|
|
1
|
+
# PatternFly 5
|
|
2
2
|
|
|
3
3
|
## Install
|
|
4
4
|
|
|
@@ -16,7 +16,7 @@ Any of the files above are meant for use in consuming the library. The recommend
|
|
|
16
16
|
|
|
17
17
|
## Development
|
|
18
18
|
|
|
19
|
-
**PatternFly
|
|
19
|
+
**PatternFly 5 Development requires Node v12.0.0 or greater**
|
|
20
20
|
|
|
21
21
|
To setup the PatternFly 4 development environment:
|
|
22
22
|
|
package/RELEASE-NOTES.md
CHANGED
|
@@ -3,17 +3,6 @@ id: Release notes
|
|
|
3
3
|
section: developer-resources
|
|
4
4
|
releaseNoteTOC: true
|
|
5
5
|
---
|
|
6
|
-
## 2022.15 release notes (2022-11-18)
|
|
7
|
-
Packages released:
|
|
8
|
-
- [@patternfly/patternfly@v4.221.2](https://www.npmjs.com/package/@patternfly/patternfly/v/4.221.2)
|
|
9
|
-
|
|
10
|
-
### Components
|
|
11
|
-
- **Pagination:** Added support for insets ([#5207](https://github.com/patternfly/patternfly/pull/5207))
|
|
12
|
-
- **Tabs:** Added help popover, refactored tab action ([#5213](https://github.com/patternfly/patternfly/pull/5213))
|
|
13
|
-
|
|
14
|
-
### Other
|
|
15
|
-
- **Icons:** Added data-sink and data-source ([#5228](https://github.com/patternfly/patternfly/pull/5228))
|
|
16
|
-
|
|
17
6
|
## 2022.14 release notes (2022-10-28)
|
|
18
7
|
Packages released:
|
|
19
8
|
- [@patternfly/patternfly@v4.219.2](https://www.npmjs.com/package/@patternfly/patternfly/v/4.219.2)
|
package/base/_fonts.scss
CHANGED
|
@@ -153,192 +153,4 @@
|
|
|
153
153
|
font-display: fallback;
|
|
154
154
|
}
|
|
155
155
|
|
|
156
|
-
// remove in breaking change
|
|
157
|
-
@if $pf-global--enable-font-overpass-cdn {
|
|
158
|
-
// stylelint-disable no-invalid-position-at-import-rule
|
|
159
|
-
@import "https://fonts.googleapis.com/css?family=Overpass|Overpass+Mono";
|
|
160
|
-
// stylelint-enable no-invalid-position-at-import-rule
|
|
161
|
-
} @else {
|
|
162
|
-
@font-face {
|
|
163
|
-
font-family: "overpass";
|
|
164
|
-
font-style: normal;
|
|
165
|
-
font-weight: 200;
|
|
166
|
-
src:
|
|
167
|
-
url("#{$pf-global--font-path}/overpass-webfont/overpass-thin.woff2") format("woff2"),
|
|
168
|
-
url("#{$pf-global--font-path}/overpass-webfont/overpass-thin.woff") format("woff");
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
@font-face {
|
|
172
|
-
font-family: "overpass";
|
|
173
|
-
font-style: italic;
|
|
174
|
-
font-weight: 200;
|
|
175
|
-
src:
|
|
176
|
-
url("#{$pf-global--font-path}/overpass-webfont/overpass-thin-italic.woff2") format("woff2"),
|
|
177
|
-
url("#{$pf-global--font-path}/overpass-webfont/overpass-thin-italic.woff") format("woff");
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
@font-face {
|
|
181
|
-
font-family: "overpass";
|
|
182
|
-
font-style: normal;
|
|
183
|
-
font-weight: 300;
|
|
184
|
-
src:
|
|
185
|
-
url("#{$pf-global--font-path}/overpass-webfont/overpass-extralight.woff2") format("woff2"),
|
|
186
|
-
url("#{$pf-global--font-path}/overpass-webfont/overpass-extralight.woff") format("woff");
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
@font-face {
|
|
190
|
-
font-family: "overpass";
|
|
191
|
-
font-style: italic;
|
|
192
|
-
font-weight: 300;
|
|
193
|
-
src:
|
|
194
|
-
url("#{$pf-global--font-path}/overpass-webfont/overpass-extralight-italic.woff2") format("woff2"),
|
|
195
|
-
url("#{$pf-global--font-path}/overpass-webfont/overpass-extralight-italic.woff") format("woff");
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
@font-face {
|
|
199
|
-
font-family: "overpass";
|
|
200
|
-
font-style: normal;
|
|
201
|
-
font-weight: 400;
|
|
202
|
-
src:
|
|
203
|
-
url("#{$pf-global--font-path}/overpass-webfont/overpass-light.woff2") format("woff2"),
|
|
204
|
-
url("#{$pf-global--font-path}/overpass-webfont/overpass-light.woff") format("woff");
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
@font-face {
|
|
208
|
-
font-family: "overpass";
|
|
209
|
-
font-style: italic;
|
|
210
|
-
font-weight: 400;
|
|
211
|
-
src:
|
|
212
|
-
url("#{$pf-global--font-path}/overpass-webfont/overpass-light-italic.woff2") format("woff2"),
|
|
213
|
-
url("#{$pf-global--font-path}/overpass-webfont/overpass-light-italic.woff") format("woff");
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
@font-face {
|
|
217
|
-
font-family: "overpass";
|
|
218
|
-
font-style: normal;
|
|
219
|
-
font-weight: 500;
|
|
220
|
-
src:
|
|
221
|
-
url("#{$pf-global--font-path}/overpass-webfont/overpass-regular.woff2") format("woff2"),
|
|
222
|
-
url("#{$pf-global--font-path}/overpass-webfont/overpass-regular.woff") format("woff");
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
@font-face {
|
|
226
|
-
font-family: "overpass";
|
|
227
|
-
font-style: italic;
|
|
228
|
-
font-weight: 500;
|
|
229
|
-
src:
|
|
230
|
-
url("#{$pf-global--font-path}/overpass-webfont/overpass-italic.woff2") format("woff2"),
|
|
231
|
-
url("#{$pf-global--font-path}/overpass-webfont/overpass-italic.woff") format("woff");
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
@font-face {
|
|
235
|
-
font-family: "overpass";
|
|
236
|
-
font-style: normal;
|
|
237
|
-
font-weight: 600;
|
|
238
|
-
src:
|
|
239
|
-
url("#{$pf-global--font-path}/overpass-webfont/overpass-semibold.woff2") format("woff2"),
|
|
240
|
-
url("#{$pf-global--font-path}/overpass-webfont/overpass-semibold.woff") format("woff");
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
@font-face {
|
|
244
|
-
font-family: "overpass";
|
|
245
|
-
font-style: italic;
|
|
246
|
-
font-weight: 600;
|
|
247
|
-
src:
|
|
248
|
-
url("#{$pf-global--font-path}/overpass-webfont/overpass-semibold-italic.woff2") format("woff2"),
|
|
249
|
-
url("#{$pf-global--font-path}/overpass-webfont/overpass-semibold-italic.woff") format("woff");
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
@font-face {
|
|
253
|
-
font-family: "overpass";
|
|
254
|
-
font-style: normal;
|
|
255
|
-
font-weight: 700;
|
|
256
|
-
src:
|
|
257
|
-
url("#{$pf-global--font-path}/overpass-webfont/overpass-bold.woff2") format("woff2"),
|
|
258
|
-
url("#{$pf-global--font-path}/overpass-webfont/overpass-bold.woff") format("woff");
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
@font-face {
|
|
262
|
-
font-family: "overpass";
|
|
263
|
-
font-style: italic;
|
|
264
|
-
font-weight: 700;
|
|
265
|
-
src:
|
|
266
|
-
url("#{$pf-global--font-path}/overpass-webfont/overpass-bold-italic.woff2") format("woff2"),
|
|
267
|
-
url("#{$pf-global--font-path}/overpass-webfont/overpass-bold-italic.woff") format("woff");
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
@font-face {
|
|
271
|
-
font-family: "overpass";
|
|
272
|
-
font-style: normal;
|
|
273
|
-
font-weight: 800;
|
|
274
|
-
src:
|
|
275
|
-
url("#{$pf-global--font-path}/overpass-webfont/overpass-extrabold.woff2") format("woff2"),
|
|
276
|
-
url("#{$pf-global--font-path}/overpass-webfont/overpass-extrabold.woff") format("woff");
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
@font-face {
|
|
280
|
-
font-family: "overpass";
|
|
281
|
-
font-style: italic;
|
|
282
|
-
font-weight: 800;
|
|
283
|
-
src:
|
|
284
|
-
url("#{$pf-global--font-path}/overpass-webfont/overpass-extrabold-italic.woff2") format("woff2"),
|
|
285
|
-
url("#{$pf-global--font-path}/overpass-webfont/overpass-extrabold-italic.woff") format("woff");
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
@font-face {
|
|
289
|
-
font-family: "overpass";
|
|
290
|
-
font-style: normal;
|
|
291
|
-
font-weight: 900;
|
|
292
|
-
src:
|
|
293
|
-
url("#{$pf-global--font-path}/overpass-webfont/overpass-heavy.woff2") format("woff2"),
|
|
294
|
-
url("#{$pf-global--font-path}/overpass-webfont/overpass-heavy.woff") format("woff");
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
@font-face {
|
|
298
|
-
font-family: "overpass";
|
|
299
|
-
font-style: italic;
|
|
300
|
-
font-weight: 900;
|
|
301
|
-
src:
|
|
302
|
-
url("#{$pf-global--font-path}/overpass-webfont/overpass-heavy-italic.woff2") format("woff2"),
|
|
303
|
-
url("#{$pf-global--font-path}/overpass-webfont/overpass-heavy-italic.woff") format("woff");
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
// Overpass Mono
|
|
308
|
-
@font-face {
|
|
309
|
-
font-family: "overpass-mono";
|
|
310
|
-
font-style: normal;
|
|
311
|
-
font-weight: 300;
|
|
312
|
-
src:
|
|
313
|
-
url("#{$pf-global--font-path}/overpass-mono-webfont/overpass-mono-light.woff2") format("woff2"),
|
|
314
|
-
url("#{$pf-global--font-path}/overpass-mono-webfont/overpass-mono-light.woff") format("woff");
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
@font-face {
|
|
318
|
-
font-family: "overpass-mono";
|
|
319
|
-
font-style: normal;
|
|
320
|
-
font-weight: 400;
|
|
321
|
-
src:
|
|
322
|
-
url("#{$pf-global--font-path}/overpass-mono-webfont/overpass-mono-regular.woff2") format("woff2"),
|
|
323
|
-
url("#{$pf-global--font-path}/overpass-mono-webfont/overpass-mono-regular.woff") format("woff");
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
@font-face {
|
|
327
|
-
font-family: "overpass-mono";
|
|
328
|
-
font-style: normal;
|
|
329
|
-
font-weight: 500;
|
|
330
|
-
src:
|
|
331
|
-
url("#{$pf-global--font-path}/overpass-mono-webfont/overpass-mono-semibold.woff2") format("woff2"),
|
|
332
|
-
url("#{$pf-global--font-path}/overpass-mono-webfont/overpass-mono-semibold.woff") format("woff");
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
@font-face {
|
|
336
|
-
font-family: "overpass-mono";
|
|
337
|
-
font-style: normal;
|
|
338
|
-
font-weight: 600;
|
|
339
|
-
src:
|
|
340
|
-
url("#{$pf-global--font-path}/overpass-mono-webfont/overpass-mono-bold.woff2") format("woff2"),
|
|
341
|
-
url("#{$pf-global--font-path}/overpass-mono-webfont/overpass-mono-bold.woff") format("woff");
|
|
342
|
-
}
|
|
343
|
-
}
|
|
344
156
|
// stylelint-enable
|
package/base/_globals.scss
CHANGED
package/base/_icons.scss
CHANGED
|
@@ -1,2 +1,30 @@
|
|
|
1
1
|
@import "fa-icons";
|
|
2
2
|
@import "pf-icons";
|
|
3
|
+
|
|
4
|
+
.pf-svg-size-sm {
|
|
5
|
+
// Small icon size
|
|
6
|
+
width: 1em;
|
|
7
|
+
height: 1em;
|
|
8
|
+
vertical-align: -.125em;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.pf-svg-size-md {
|
|
12
|
+
// Medium icon size
|
|
13
|
+
width: 1.5em;
|
|
14
|
+
height: 1.5em;
|
|
15
|
+
vertical-align: -.1875em;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.pf-svg-size-lg {
|
|
19
|
+
// Large icon size
|
|
20
|
+
width: 2em;
|
|
21
|
+
height: 2em;
|
|
22
|
+
vertical-align: -.25em;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.pf-svg-size-xl {
|
|
26
|
+
// Extra large icon size
|
|
27
|
+
width: 3em;
|
|
28
|
+
height: 3em;
|
|
29
|
+
vertical-align: -.375em;
|
|
30
|
+
}
|
package/base/_variables.scss
CHANGED
|
@@ -249,8 +249,6 @@
|
|
|
249
249
|
--pf-global--FontFamily--redhatVF--sans-serif: #{$pf-global--FontFamily--redhatVF--sans-serif};
|
|
250
250
|
--pf-global--FontFamily--redhatVF--heading--sans-serif: #{$pf-global--FontFamily--redhatVF--heading--sans-serif};
|
|
251
251
|
--pf-global--FontFamily--redhatVF--monospace: #{$pf-global--FontFamily--redhatVF--monospace};
|
|
252
|
-
--pf-global--FontFamily--overpass--sans-serif: #{$pf-global--FontFamily--overpass--sans-serif};
|
|
253
|
-
--pf-global--FontFamily--overpass--monospace: #{$pf-global--FontFamily--overpass--monospace};
|
|
254
252
|
|
|
255
253
|
// Font size
|
|
256
254
|
--pf-global--FontSize--4xl: #{$pf-global--FontSize--4xl};
|
|
@@ -265,10 +263,7 @@
|
|
|
265
263
|
// Font weight
|
|
266
264
|
--pf-global--FontWeight--light: #{$pf-global--FontWeight--light};
|
|
267
265
|
--pf-global--FontWeight--normal: #{$pf-global--FontWeight--normal};
|
|
268
|
-
--pf-global--FontWeight--semi-bold: #{$pf-global--FontWeight--semi-bold};
|
|
269
|
-
--pf-global--FontWeight--overpass--semi-bold: #{$pf-global--FontWeight--overpass--semi-bold};
|
|
270
266
|
--pf-global--FontWeight--bold: #{$pf-global--FontWeight--bold};
|
|
271
|
-
--pf-global--FontWeight--overpass--bold: #{$pf-global--FontWeight--overpass--bold};
|
|
272
267
|
|
|
273
268
|
// Line height
|
|
274
269
|
--pf-global--LineHeight--sm: #{$pf-global--LineHeight--sm};
|
|
@@ -289,15 +284,6 @@
|
|
|
289
284
|
--pf-global--target-size--MinHeight: #{$pf-global--target-size--MinHeight};
|
|
290
285
|
}
|
|
291
286
|
|
|
292
|
-
// Overpass font overrides
|
|
293
|
-
@include pf-m-overpass-font {
|
|
294
|
-
--pf-global--FontFamily--sans-serif: var(--pf-global--FontFamily--overpass--sans-serif);
|
|
295
|
-
--pf-global--FontFamily--heading--sans-serif: var(--pf-global--FontFamily--sans-serif);
|
|
296
|
-
--pf-global--FontFamily--monospace: var(--pf-global--FontFamily--overpass--monospace);
|
|
297
|
-
--pf-global--FontWeight--semi-bold: var(--pf-global--FontWeight--overpass--semi-bold);
|
|
298
|
-
--pf-global--FontWeight--bold: var(--pf-global--FontWeight--overpass--bold);
|
|
299
|
-
}
|
|
300
|
-
|
|
301
287
|
// RedHatFont updated font overrides
|
|
302
288
|
.pf-m-redhat-updated-font {
|
|
303
289
|
--pf-global--FontFamily--sans-serif: var(--pf-global--FontFamily--redhat-updated--sans-serif);
|
|
@@ -116,124 +116,4 @@
|
|
|
116
116
|
font-style: italic;
|
|
117
117
|
font-weight: 300 700;
|
|
118
118
|
font-display: fallback;
|
|
119
|
-
}
|
|
120
|
-
@font-face {
|
|
121
|
-
font-family: "overpass";
|
|
122
|
-
font-style: normal;
|
|
123
|
-
font-weight: 200;
|
|
124
|
-
src: url("./assets/fonts/overpass-webfont/overpass-thin.woff2") format("woff2"), url("./assets/fonts/overpass-webfont/overpass-thin.woff") format("woff");
|
|
125
|
-
}
|
|
126
|
-
@font-face {
|
|
127
|
-
font-family: "overpass";
|
|
128
|
-
font-style: italic;
|
|
129
|
-
font-weight: 200;
|
|
130
|
-
src: url("./assets/fonts/overpass-webfont/overpass-thin-italic.woff2") format("woff2"), url("./assets/fonts/overpass-webfont/overpass-thin-italic.woff") format("woff");
|
|
131
|
-
}
|
|
132
|
-
@font-face {
|
|
133
|
-
font-family: "overpass";
|
|
134
|
-
font-style: normal;
|
|
135
|
-
font-weight: 300;
|
|
136
|
-
src: url("./assets/fonts/overpass-webfont/overpass-extralight.woff2") format("woff2"), url("./assets/fonts/overpass-webfont/overpass-extralight.woff") format("woff");
|
|
137
|
-
}
|
|
138
|
-
@font-face {
|
|
139
|
-
font-family: "overpass";
|
|
140
|
-
font-style: italic;
|
|
141
|
-
font-weight: 300;
|
|
142
|
-
src: url("./assets/fonts/overpass-webfont/overpass-extralight-italic.woff2") format("woff2"), url("./assets/fonts/overpass-webfont/overpass-extralight-italic.woff") format("woff");
|
|
143
|
-
}
|
|
144
|
-
@font-face {
|
|
145
|
-
font-family: "overpass";
|
|
146
|
-
font-style: normal;
|
|
147
|
-
font-weight: 400;
|
|
148
|
-
src: url("./assets/fonts/overpass-webfont/overpass-light.woff2") format("woff2"), url("./assets/fonts/overpass-webfont/overpass-light.woff") format("woff");
|
|
149
|
-
}
|
|
150
|
-
@font-face {
|
|
151
|
-
font-family: "overpass";
|
|
152
|
-
font-style: italic;
|
|
153
|
-
font-weight: 400;
|
|
154
|
-
src: url("./assets/fonts/overpass-webfont/overpass-light-italic.woff2") format("woff2"), url("./assets/fonts/overpass-webfont/overpass-light-italic.woff") format("woff");
|
|
155
|
-
}
|
|
156
|
-
@font-face {
|
|
157
|
-
font-family: "overpass";
|
|
158
|
-
font-style: normal;
|
|
159
|
-
font-weight: 500;
|
|
160
|
-
src: url("./assets/fonts/overpass-webfont/overpass-regular.woff2") format("woff2"), url("./assets/fonts/overpass-webfont/overpass-regular.woff") format("woff");
|
|
161
|
-
}
|
|
162
|
-
@font-face {
|
|
163
|
-
font-family: "overpass";
|
|
164
|
-
font-style: italic;
|
|
165
|
-
font-weight: 500;
|
|
166
|
-
src: url("./assets/fonts/overpass-webfont/overpass-italic.woff2") format("woff2"), url("./assets/fonts/overpass-webfont/overpass-italic.woff") format("woff");
|
|
167
|
-
}
|
|
168
|
-
@font-face {
|
|
169
|
-
font-family: "overpass";
|
|
170
|
-
font-style: normal;
|
|
171
|
-
font-weight: 600;
|
|
172
|
-
src: url("./assets/fonts/overpass-webfont/overpass-semibold.woff2") format("woff2"), url("./assets/fonts/overpass-webfont/overpass-semibold.woff") format("woff");
|
|
173
|
-
}
|
|
174
|
-
@font-face {
|
|
175
|
-
font-family: "overpass";
|
|
176
|
-
font-style: italic;
|
|
177
|
-
font-weight: 600;
|
|
178
|
-
src: url("./assets/fonts/overpass-webfont/overpass-semibold-italic.woff2") format("woff2"), url("./assets/fonts/overpass-webfont/overpass-semibold-italic.woff") format("woff");
|
|
179
|
-
}
|
|
180
|
-
@font-face {
|
|
181
|
-
font-family: "overpass";
|
|
182
|
-
font-style: normal;
|
|
183
|
-
font-weight: 700;
|
|
184
|
-
src: url("./assets/fonts/overpass-webfont/overpass-bold.woff2") format("woff2"), url("./assets/fonts/overpass-webfont/overpass-bold.woff") format("woff");
|
|
185
|
-
}
|
|
186
|
-
@font-face {
|
|
187
|
-
font-family: "overpass";
|
|
188
|
-
font-style: italic;
|
|
189
|
-
font-weight: 700;
|
|
190
|
-
src: url("./assets/fonts/overpass-webfont/overpass-bold-italic.woff2") format("woff2"), url("./assets/fonts/overpass-webfont/overpass-bold-italic.woff") format("woff");
|
|
191
|
-
}
|
|
192
|
-
@font-face {
|
|
193
|
-
font-family: "overpass";
|
|
194
|
-
font-style: normal;
|
|
195
|
-
font-weight: 800;
|
|
196
|
-
src: url("./assets/fonts/overpass-webfont/overpass-extrabold.woff2") format("woff2"), url("./assets/fonts/overpass-webfont/overpass-extrabold.woff") format("woff");
|
|
197
|
-
}
|
|
198
|
-
@font-face {
|
|
199
|
-
font-family: "overpass";
|
|
200
|
-
font-style: italic;
|
|
201
|
-
font-weight: 800;
|
|
202
|
-
src: url("./assets/fonts/overpass-webfont/overpass-extrabold-italic.woff2") format("woff2"), url("./assets/fonts/overpass-webfont/overpass-extrabold-italic.woff") format("woff");
|
|
203
|
-
}
|
|
204
|
-
@font-face {
|
|
205
|
-
font-family: "overpass";
|
|
206
|
-
font-style: normal;
|
|
207
|
-
font-weight: 900;
|
|
208
|
-
src: url("./assets/fonts/overpass-webfont/overpass-heavy.woff2") format("woff2"), url("./assets/fonts/overpass-webfont/overpass-heavy.woff") format("woff");
|
|
209
|
-
}
|
|
210
|
-
@font-face {
|
|
211
|
-
font-family: "overpass";
|
|
212
|
-
font-style: italic;
|
|
213
|
-
font-weight: 900;
|
|
214
|
-
src: url("./assets/fonts/overpass-webfont/overpass-heavy-italic.woff2") format("woff2"), url("./assets/fonts/overpass-webfont/overpass-heavy-italic.woff") format("woff");
|
|
215
|
-
}
|
|
216
|
-
@font-face {
|
|
217
|
-
font-family: "overpass-mono";
|
|
218
|
-
font-style: normal;
|
|
219
|
-
font-weight: 300;
|
|
220
|
-
src: url("./assets/fonts/overpass-mono-webfont/overpass-mono-light.woff2") format("woff2"), url("./assets/fonts/overpass-mono-webfont/overpass-mono-light.woff") format("woff");
|
|
221
|
-
}
|
|
222
|
-
@font-face {
|
|
223
|
-
font-family: "overpass-mono";
|
|
224
|
-
font-style: normal;
|
|
225
|
-
font-weight: 400;
|
|
226
|
-
src: url("./assets/fonts/overpass-mono-webfont/overpass-mono-regular.woff2") format("woff2"), url("./assets/fonts/overpass-mono-webfont/overpass-mono-regular.woff") format("woff");
|
|
227
|
-
}
|
|
228
|
-
@font-face {
|
|
229
|
-
font-family: "overpass-mono";
|
|
230
|
-
font-style: normal;
|
|
231
|
-
font-weight: 500;
|
|
232
|
-
src: url("./assets/fonts/overpass-mono-webfont/overpass-mono-semibold.woff2") format("woff2"), url("./assets/fonts/overpass-mono-webfont/overpass-mono-semibold.woff") format("woff");
|
|
233
|
-
}
|
|
234
|
-
@font-face {
|
|
235
|
-
font-family: "overpass-mono";
|
|
236
|
-
font-style: normal;
|
|
237
|
-
font-weight: 600;
|
|
238
|
-
src: url("./assets/fonts/overpass-mono-webfont/overpass-mono-bold.woff2") format("woff2"), url("./assets/fonts/overpass-mono-webfont/overpass-mono-bold.woff") format("woff");
|
|
239
119
|
}
|
|
@@ -1,30 +1,2 @@
|
|
|
1
1
|
@import "../sass-utilities/all";
|
|
2
2
|
@import "icons";
|
|
3
|
-
|
|
4
|
-
.pf-svg-size-sm {
|
|
5
|
-
// Small icon size
|
|
6
|
-
width: 1em;
|
|
7
|
-
height: 1em;
|
|
8
|
-
vertical-align: -.125em;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.pf-svg-size-md {
|
|
12
|
-
// Medium icon size
|
|
13
|
-
width: 1.5em;
|
|
14
|
-
height: 1.5em;
|
|
15
|
-
vertical-align: -.1875em;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.pf-svg-size-lg {
|
|
19
|
-
// Large icon size
|
|
20
|
-
width: 2em;
|
|
21
|
-
height: 2em;
|
|
22
|
-
vertical-align: -.25em;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.pf-svg-size-xl {
|
|
26
|
-
// Extra large icon size
|
|
27
|
-
width: 3em;
|
|
28
|
-
height: 3em;
|
|
29
|
-
vertical-align: -.375em;
|
|
30
|
-
}
|
|
@@ -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;
|