@patternfly/patternfly 4.222.4 → 5.0.0-alpha.2
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 +3 -3
- package/RELEASE-NOTES.md +0 -30
- package/base/_fonts.scss +0 -188
- package/base/_globals.scss +0 -6
- package/base/_icons.scss +28 -0
- package/base/_variables.scss +0 -14
- package/base/patternfly-fonts.css +0 -120
- package/base/patternfly-globals.css +0 -4
- package/base/patternfly-icons.scss +0 -28
- package/base/patternfly-variables.css +6 -19
- package/components/AboutModalBox/about-modal-box.css +1 -28
- package/components/AboutModalBox/about-modal-box.scss +1 -27
- package/components/Accordion/accordion.css +64 -62
- package/components/Accordion/accordion.scss +62 -64
- package/components/Alert/alert.css +0 -4
- package/components/Alert/alert.scss +0 -7
- package/components/Banner/banner.css +1 -1
- package/components/Banner/banner.scss +1 -1
- package/components/Breadcrumb/breadcrumb.css +0 -6
- package/components/Breadcrumb/breadcrumb.scss +0 -9
- package/components/Button/button.css +0 -4
- package/components/Button/button.scss +0 -7
- package/components/Card/card.css +0 -4
- package/components/Card/card.scss +0 -7
- package/components/Check/check.css +4 -2
- package/components/Check/check.scss +2 -2
- package/components/Content/content.css +1 -11
- package/components/Content/content.scss +1 -15
- package/components/DataList/data-list.css +0 -15
- package/components/Divider/divider.css +0 -16
- package/components/Divider/divider.scss +0 -1
- package/components/Drawer/drawer.css +0 -14
- package/components/Drawer/drawer.scss +0 -5
- package/components/Dropdown/dropdown.css +0 -15
- package/components/Dropdown/dropdown.scss +0 -20
- package/components/EmptyState/empty-state.css +0 -4
- package/components/EmptyState/empty-state.scss +0 -9
- package/components/ExpandableSection/expandable-section.css +0 -4
- package/components/ExpandableSection/expandable-section.scss +0 -7
- package/components/Form/form.css +0 -1
- package/components/Form/form.scss +0 -1
- package/components/FormControl/form-control.css +1 -1
- package/components/FormControl/themes/dark/form-control.scss +1 -1
- package/components/InlineEdit/inline-edit.css +1 -12
- package/components/InlineEdit/inline-edit.scss +1 -10
- package/components/InputGroup/input-group.css +0 -14
- package/components/InputGroup/input-group.scss +0 -9
- package/components/InputGroup/themes/dark/input-group.scss +0 -8
- package/components/JumpLinks/jump-links.css +0 -43
- package/components/JumpLinks/jump-links.scss +0 -13
- package/components/Label/label.css +0 -3
- package/components/Label/label.scss +0 -4
- package/components/Menu/menu.css +0 -20
- package/components/Menu/menu.scss +0 -6
- package/components/NotificationDrawer/notification-drawer.css +1 -0
- package/components/NotificationDrawer/notification-drawer.scss +1 -0
- package/components/Page/page.css +0 -15
- package/components/Pagination/pagination.css +0 -175
- package/components/Pagination/pagination.scss +1 -49
- package/components/Progress/progress.css +0 -1
- package/components/Progress/progress.scss +0 -1
- package/components/Radio/radio.css +4 -2
- package/components/Radio/radio.scss +2 -2
- package/components/SimpleList/simple-list.css +1 -1
- package/components/SimpleList/simple-list.scss +1 -1
- package/components/SkipToContent/skip-to-content.css +1 -1
- package/components/SkipToContent/skip-to-content.scss +1 -1
- package/components/Slider/slider.css +7 -0
- package/components/Slider/slider.scss +9 -0
- package/components/Switch/switch.css +0 -1
- package/components/Switch/switch.scss +0 -1
- package/components/Table/table-grid.css +0 -10
- package/components/Table/table-grid.scss +0 -2
- package/components/Table/table-tree-view.css +0 -16
- package/components/Table/table-tree-view.scss +0 -4
- package/components/Table/table.css +0 -16
- package/components/Table/table.scss +0 -1
- package/components/Tabs/tabs.css +1 -34
- package/components/Tabs/tabs.scss +0 -15
- package/components/Title/title.css +0 -5
- package/components/Title/title.scss +0 -8
- package/components/Toolbar/toolbar.css +0 -31
- package/components/Toolbar/toolbar.scss +0 -6
- package/components/Wizard/wizard.css +0 -9
- package/components/Wizard/wizard.scss +0 -9
- package/docs/components/AboutModalBox/examples/AboutModalBox.md +4 -15
- package/docs/components/Accordion/examples/Accordion.md +67 -67
- package/docs/components/Dropdown/examples/Dropdown.md +0 -216
- package/docs/components/InputGroup/examples/InputGroup.md +0 -1
- package/docs/components/Pagination/examples/Pagination.md +30 -129
- package/docs/components/SkipToContent/examples/SkipToContent.md +3 -5
- package/docs/components/Slider/examples/Slider.md +6 -6
- package/docs/components/Tabs/examples/Tabs.md +1 -2
- package/docs/components/Wizard/examples/Wizard.md +6 -6
- package/docs/demos/AboutModal/examples/AboutModal.md +53 -49
- package/docs/demos/Alert/examples/Alert.md +18 -12
- package/docs/demos/BackToTop/examples/BackToTop.md +6 -4
- package/docs/demos/Banner/examples/Banner.md +14 -10
- package/docs/demos/Card/examples/Card.md +4 -4
- package/docs/demos/CardView/examples/CardView.md +6 -4
- package/docs/demos/ContextSelector/examples/ContextSelector.md +24 -16
- package/docs/demos/Dashboard/examples/Dashboard.md +7 -4
- package/docs/demos/DataList/examples/DataList.md +24 -16
- package/docs/demos/DescriptionList/examples/DescriptionList.md +18 -12
- package/docs/demos/Drawer/examples/Drawer.md +30 -20
- package/docs/demos/JumpLinks/examples/JumpLinks.md +36 -24
- package/docs/demos/Masthead/examples/Masthead.md +54 -36
- package/docs/demos/Modal/examples/Modal.md +36 -24
- package/docs/demos/Nav/examples/Nav.md +784 -721
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +30 -20
- package/docs/demos/Page/examples/Page.md +54 -36
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +44 -28
- package/docs/demos/Skeleton/examples/Skeleton.md +6 -4
- package/docs/demos/Table/examples/Table.md +84 -56
- package/docs/demos/Tabs/examples/Tabs.md +579 -70
- package/docs/demos/Toolbar/examples/Toolbar.md +6 -4
- package/docs/demos/Wizard/examples/Wizard.md +67 -45
- package/package.json +7 -6
- package/patternfly-base-no-reset.css +30 -139
- package/patternfly-base.css +30 -143
- package/patternfly-charts.css +1 -1
- package/patternfly-no-reset.css +118 -665
- package/patternfly.css +118 -669
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/mixins.scss +0 -6
- package/sass-utilities/placeholders.scss +0 -7
- package/sass-utilities/scss-variables.scss +6 -12
- package/assets/fonts/overpass-mono-webfont/example.html +0 -15
- package/assets/fonts/overpass-mono-webfont/overpass-mono-bold.woff +0 -0
- package/assets/fonts/overpass-mono-webfont/overpass-mono-bold.woff2 +0 -0
- package/assets/fonts/overpass-mono-webfont/overpass-mono-light.woff +0 -0
- package/assets/fonts/overpass-mono-webfont/overpass-mono-light.woff2 +0 -0
- package/assets/fonts/overpass-mono-webfont/overpass-mono-regular.woff +0 -0
- package/assets/fonts/overpass-mono-webfont/overpass-mono-regular.woff2 +0 -0
- package/assets/fonts/overpass-mono-webfont/overpass-mono-semibold.woff +0 -0
- package/assets/fonts/overpass-mono-webfont/overpass-mono-semibold.woff2 +0 -0
- package/assets/fonts/overpass-mono-webfont/overpass-mono.css +0 -39
- package/assets/fonts/overpass-webfont/example.html +0 -18
- package/assets/fonts/overpass-webfont/overpass-bold-italic.woff +0 -0
- package/assets/fonts/overpass-webfont/overpass-bold-italic.woff2 +0 -0
- package/assets/fonts/overpass-webfont/overpass-bold.woff +0 -0
- package/assets/fonts/overpass-webfont/overpass-bold.woff2 +0 -0
- package/assets/fonts/overpass-webfont/overpass-extrabold-italic.woff +0 -0
- package/assets/fonts/overpass-webfont/overpass-extrabold-italic.woff2 +0 -0
- package/assets/fonts/overpass-webfont/overpass-extrabold.woff +0 -0
- package/assets/fonts/overpass-webfont/overpass-extrabold.woff2 +0 -0
- package/assets/fonts/overpass-webfont/overpass-extralight-italic.woff +0 -0
- package/assets/fonts/overpass-webfont/overpass-extralight-italic.woff2 +0 -0
- package/assets/fonts/overpass-webfont/overpass-extralight.woff +0 -0
- package/assets/fonts/overpass-webfont/overpass-extralight.woff2 +0 -0
- package/assets/fonts/overpass-webfont/overpass-heavy-italic.woff +0 -0
- package/assets/fonts/overpass-webfont/overpass-heavy-italic.woff2 +0 -0
- package/assets/fonts/overpass-webfont/overpass-heavy.woff +0 -0
- package/assets/fonts/overpass-webfont/overpass-heavy.woff2 +0 -0
- package/assets/fonts/overpass-webfont/overpass-italic.woff +0 -0
- package/assets/fonts/overpass-webfont/overpass-italic.woff2 +0 -0
- package/assets/fonts/overpass-webfont/overpass-light-italic.woff +0 -0
- package/assets/fonts/overpass-webfont/overpass-light-italic.woff2 +0 -0
- package/assets/fonts/overpass-webfont/overpass-light.woff +0 -0
- package/assets/fonts/overpass-webfont/overpass-light.woff2 +0 -0
- package/assets/fonts/overpass-webfont/overpass-regular.woff +0 -0
- package/assets/fonts/overpass-webfont/overpass-regular.woff2 +0 -0
- package/assets/fonts/overpass-webfont/overpass-semibold-italic.woff +0 -0
- package/assets/fonts/overpass-webfont/overpass-semibold-italic.woff2 +0 -0
- package/assets/fonts/overpass-webfont/overpass-semibold.woff +0 -0
- package/assets/fonts/overpass-webfont/overpass-semibold.woff2 +0 -0
- package/assets/fonts/overpass-webfont/overpass-thin-italic.woff +0 -0
- package/assets/fonts/overpass-webfont/overpass-thin-italic.woff2 +0 -0
- package/assets/fonts/overpass-webfont/overpass-thin.woff +0 -0
- package/assets/fonts/overpass-webfont/overpass-thin.woff2 +0 -0
- package/assets/fonts/overpass-webfont/overpass.css +0 -141
|
@@ -1195,141 +1195,42 @@ cssPrefix: pf-c-pagination
|
|
|
1195
1195
|
|
|
1196
1196
|
```
|
|
1197
1197
|
|
|
1198
|
-
### Inset
|
|
1199
|
-
|
|
1200
|
-
```html
|
|
1201
|
-
<div
|
|
1202
|
-
class="pf-c-pagination pf-m-inset-none pf-m-inset-md-on-md pf-m-inset-2xl-on-lg"
|
|
1203
|
-
>
|
|
1204
|
-
<div class="pf-c-pagination__total-items">
|
|
1205
|
-
<b>1 - 10</b> of
|
|
1206
|
-
<b>36</b>
|
|
1207
|
-
</div>
|
|
1208
|
-
<div class="pf-c-options-menu">
|
|
1209
|
-
<button
|
|
1210
|
-
class="pf-c-options-menu__toggle pf-m-text pf-m-plain"
|
|
1211
|
-
type="button"
|
|
1212
|
-
id="pagination-inset-options-menu-toggle"
|
|
1213
|
-
aria-haspopup="listbox"
|
|
1214
|
-
aria-expanded="false"
|
|
1215
|
-
>
|
|
1216
|
-
<span class="pf-c-options-menu__toggle-text">
|
|
1217
|
-
<b>1 - 10</b> of
|
|
1218
|
-
<b>36</b>
|
|
1219
|
-
</span>
|
|
1220
|
-
<div class="pf-c-options-menu__toggle-icon">
|
|
1221
|
-
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
1222
|
-
</div>
|
|
1223
|
-
</button>
|
|
1224
|
-
<ul
|
|
1225
|
-
class="pf-c-options-menu__menu"
|
|
1226
|
-
aria-labelledby="pagination-inset-options-menu-toggle"
|
|
1227
|
-
hidden
|
|
1228
|
-
>
|
|
1229
|
-
<li>
|
|
1230
|
-
<button class="pf-c-options-menu__menu-item" type="button">5 per page</button>
|
|
1231
|
-
</li>
|
|
1232
|
-
<li>
|
|
1233
|
-
<button class="pf-c-options-menu__menu-item" type="button">
|
|
1234
|
-
10 per page
|
|
1235
|
-
<div class="pf-c-options-menu__menu-item-icon">
|
|
1236
|
-
<i class="fas fa-check" aria-hidden="true"></i>
|
|
1237
|
-
</div>
|
|
1238
|
-
</button>
|
|
1239
|
-
</li>
|
|
1240
|
-
<li>
|
|
1241
|
-
<button class="pf-c-options-menu__menu-item" type="button">20 per page</button>
|
|
1242
|
-
</li>
|
|
1243
|
-
</ul>
|
|
1244
|
-
</div>
|
|
1245
|
-
<nav class="pf-c-pagination__nav" aria-label="Pagination nav - inset example">
|
|
1246
|
-
<div class="pf-c-pagination__nav-control pf-m-first">
|
|
1247
|
-
<button
|
|
1248
|
-
class="pf-c-button pf-m-plain"
|
|
1249
|
-
type="button"
|
|
1250
|
-
disabled
|
|
1251
|
-
aria-label="Go to first page"
|
|
1252
|
-
>
|
|
1253
|
-
<i class="fas fa-angle-double-left" aria-hidden="true"></i>
|
|
1254
|
-
</button>
|
|
1255
|
-
</div>
|
|
1256
|
-
<div class="pf-c-pagination__nav-control pf-m-prev">
|
|
1257
|
-
<button
|
|
1258
|
-
class="pf-c-button pf-m-plain"
|
|
1259
|
-
type="button"
|
|
1260
|
-
disabled
|
|
1261
|
-
aria-label="Go to previous page"
|
|
1262
|
-
>
|
|
1263
|
-
<i class="fas fa-angle-left" aria-hidden="true"></i>
|
|
1264
|
-
</button>
|
|
1265
|
-
</div>
|
|
1266
|
-
<div class="pf-c-pagination__nav-page-select">
|
|
1267
|
-
<input
|
|
1268
|
-
class="pf-c-form-control"
|
|
1269
|
-
aria-label="Current page"
|
|
1270
|
-
type="number"
|
|
1271
|
-
min="1"
|
|
1272
|
-
max="4"
|
|
1273
|
-
value="1"
|
|
1274
|
-
/>
|
|
1275
|
-
<span aria-hidden="true">of 4</span>
|
|
1276
|
-
</div>
|
|
1277
|
-
<div class="pf-c-pagination__nav-control pf-m-next">
|
|
1278
|
-
<button
|
|
1279
|
-
class="pf-c-button pf-m-plain"
|
|
1280
|
-
type="button"
|
|
1281
|
-
aria-label="Go to next page"
|
|
1282
|
-
>
|
|
1283
|
-
<i class="fas fa-angle-right" aria-hidden="true"></i>
|
|
1284
|
-
</button>
|
|
1285
|
-
</div>
|
|
1286
|
-
<div class="pf-c-pagination__nav-control pf-m-last">
|
|
1287
|
-
<button
|
|
1288
|
-
class="pf-c-button pf-m-plain"
|
|
1289
|
-
type="button"
|
|
1290
|
-
aria-label="Go to last page"
|
|
1291
|
-
>
|
|
1292
|
-
<i class="fas fa-angle-double-right" aria-hidden="true"></i>
|
|
1293
|
-
</button>
|
|
1294
|
-
</div>
|
|
1295
|
-
</nav>
|
|
1296
|
-
</div>
|
|
1297
|
-
|
|
1298
|
-
```
|
|
1299
|
-
|
|
1300
1198
|
## Documentation
|
|
1301
1199
|
|
|
1302
1200
|
Note: `<button>` or `<a>` elements can be used in `.pf-c-pagination__nav-page-select`.
|
|
1303
1201
|
|
|
1304
1202
|
### Accessibility
|
|
1305
1203
|
|
|
1306
|
-
| Attribute
|
|
1307
|
-
|
|
|
1308
|
-
| `aria-label`
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
|
1204
|
+
| Attribute | Applied to | Outcome |
|
|
1205
|
+
| ------------ | ----------------------- | --------------------------------------------------------------------------- |
|
|
1206
|
+
| `aria-label` | `.pf-c-pagination__nav` | Provides an accessible name for pagination navigation element. **Required** |
|
|
1207
|
+
|
|
1208
|
+
## Pagination nav input
|
|
1209
|
+
|
|
1210
|
+
| Attribute | Applied to | Outcome |
|
|
1211
|
+
| --------------- | ---------------------------------------------------------- | -------------------------------------------- |
|
|
1212
|
+
| `type="number"` | `.pf-c-pagination` > `.pf-c-form-control` | Defines a field as a number. **Required** |
|
|
1213
|
+
| `value` | `.pf-c-pagination__nav-page-select` > `.pf-c-form-control` | Provides initial integer value. **Required** |
|
|
1214
|
+
| `min` | `.pf-c-pagination__nav-page-select` > `.pf-c-form-control` | Provides minimum integer value. **Required** |
|
|
1215
|
+
| `max` | `.pf-c-pagination__nav-page-select` > `.pf-c-form-control` | Provides max integer value. **Required** |
|
|
1313
1216
|
|
|
1314
1217
|
### Usage
|
|
1315
1218
|
|
|
1316
|
-
| Class
|
|
1317
|
-
|
|
|
1318
|
-
| `.pf-c-pagination`
|
|
1319
|
-
| `.pf-c-pagination__current`
|
|
1320
|
-
| `.pf-c-pagination__total-items`
|
|
1321
|
-
| `.pf-c-pagination__nav`
|
|
1322
|
-
| `.pf-c-pagination__nav-control`
|
|
1323
|
-
| `.pf-c-pagination__nav-page-select`
|
|
1324
|
-
| `.pf-m-display-summary{-on-[breakpoint]}`
|
|
1325
|
-
| `.pf-m-display-full{-on-[breakpoint]}`
|
|
1326
|
-
| `.pf-m-bottom`
|
|
1327
|
-
| `.pf-m-compact`
|
|
1328
|
-
| `.pf-m-static`
|
|
1329
|
-
| `.pf-m-sticky`
|
|
1330
|
-
| `.pf-m-
|
|
1331
|
-
| `.pf-m-
|
|
1332
|
-
| `.pf-m-
|
|
1333
|
-
| `.pf-m-
|
|
1334
|
-
| `.pf-m-next` | `.pf-c-pagination__nav-control` | Indicates the control is for the next page button. |
|
|
1335
|
-
| `.pf-m-last` | `.pf-c-pagination__nav-control` | Indicates the control is for the last page button. |
|
|
1219
|
+
| Class | Applied to | Outcome |
|
|
1220
|
+
| ----------------------------------------- | ------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
1221
|
+
| `.pf-c-pagination` | `<div>` | Initiates pagination. |
|
|
1222
|
+
| `.pf-c-pagination__current` | `<div>` | Initiates element to display currently displayed items for use in responsive view. Only needed for default pagination, not `.pf-m-bottom`. |
|
|
1223
|
+
| `.pf-c-pagination__total-items` | `<div>` | Initiates element to replace the options menu on summary. |
|
|
1224
|
+
| `.pf-c-pagination__nav` | `<nav>` | Initiates pagination nav. |
|
|
1225
|
+
| `.pf-c-pagination__nav-control` | `<div>` | Initiates pagination nav control. |
|
|
1226
|
+
| `.pf-c-pagination__nav-page-select` | `<div>` | Initiates pagination nav page select. |
|
|
1227
|
+
| `.pf-m-display-summary{-on-[breakpoint]}` | `.pf-c-pagination` | Modifies for summary display pagination component styles at optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
|
|
1228
|
+
| `.pf-m-display-full{-on-[breakpoint]}` | `.pf-c-pagination` | Modifies for full display pagination component styles at optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
|
|
1229
|
+
| `.pf-m-bottom` | `.pf-c-pagination` | Modifies for bottom pagination component styles. |
|
|
1230
|
+
| `.pf-m-compact` | `.pf-c-pagination` | Modifies for compact pagination component styles. |
|
|
1231
|
+
| `.pf-m-static` | `.pf-c-pagination.pf-m-bottom` | Modifies bottom pagination to not be positioned sticky on summary. |
|
|
1232
|
+
| `.pf-m-sticky` | `.pf-c-pagination` | Modifies the pagination to be sticky to its container. It will be sticky to the top of the container by default, and sticky to the bottom of the container when applied to `.pf-c-pagination.pf-m-bottom`. |
|
|
1233
|
+
| `.pf-m-first` | `.pf-c-pagination__nav-control` | Indicates the control is for the first page button. |
|
|
1234
|
+
| `.pf-m-prev` | `.pf-c-pagination__nav-control` | Indicates the control is for the previous page button. |
|
|
1235
|
+
| `.pf-m-next` | `.pf-c-pagination__nav-control` | Indicates the control is for the next page button. |
|
|
1236
|
+
| `.pf-m-last` | `.pf-c-pagination__nav-control` | Indicates the control is for the last page button. |
|
|
@@ -7,11 +7,9 @@ cssPrefix: pf-c-skip-to-content
|
|
|
7
7
|
### Basic
|
|
8
8
|
|
|
9
9
|
```html isFullscreen
|
|
10
|
-
<
|
|
11
|
-
class="pf-c-
|
|
12
|
-
|
|
13
|
-
>Skip to content</a>
|
|
14
|
-
Press tab to skip to content at the bottom of the page.
|
|
10
|
+
<div class="pf-c-skip-to-content">
|
|
11
|
+
<a class="pf-c-button pf-m-primary" href="#main-content">Skip to content</a>
|
|
12
|
+
</div>Press tab to skip to content at the bottom of the page.
|
|
15
13
|
<div style="height:2000px"></div>
|
|
16
14
|
<div class="pf-c-content">
|
|
17
15
|
<h1 id="main-content">Main content</h1>
|
|
@@ -267,7 +267,7 @@ cssPrefix: pf-c-slider
|
|
|
267
267
|
value="50"
|
|
268
268
|
aria-label="Slider value input"
|
|
269
269
|
/>
|
|
270
|
-
<span class="pf-c-input-group__text">%</span>
|
|
270
|
+
<span class="pf-c-input-group__text pf-m-plain">%</span>
|
|
271
271
|
</div>
|
|
272
272
|
</div>
|
|
273
273
|
</div>
|
|
@@ -297,7 +297,7 @@ cssPrefix: pf-c-slider
|
|
|
297
297
|
value="50"
|
|
298
298
|
aria-label="Slider value input"
|
|
299
299
|
/>
|
|
300
|
-
<span class="pf-c-input-group__text">%</span>
|
|
300
|
+
<span class="pf-c-input-group__text pf-m-plain">%</span>
|
|
301
301
|
</div>
|
|
302
302
|
</div>
|
|
303
303
|
</div>
|
|
@@ -329,7 +329,7 @@ cssPrefix: pf-c-slider
|
|
|
329
329
|
value="50"
|
|
330
330
|
aria-label="Slider value input"
|
|
331
331
|
/>
|
|
332
|
-
<span class="pf-c-input-group__text">%</span>
|
|
332
|
+
<span class="pf-c-input-group__text pf-m-plain">%</span>
|
|
333
333
|
</div>
|
|
334
334
|
</div>
|
|
335
335
|
</div>
|
|
@@ -393,7 +393,7 @@ cssPrefix: pf-c-slider
|
|
|
393
393
|
value="50"
|
|
394
394
|
aria-label="Slider value input"
|
|
395
395
|
/>
|
|
396
|
-
<span class="pf-c-input-group__text pf-m-
|
|
396
|
+
<span class="pf-c-input-group__text pf-m-plain">%</span>
|
|
397
397
|
</div>
|
|
398
398
|
</div>
|
|
399
399
|
</div>
|
|
@@ -429,7 +429,7 @@ cssPrefix: pf-c-slider
|
|
|
429
429
|
value="50"
|
|
430
430
|
aria-label="Slider value input"
|
|
431
431
|
/>
|
|
432
|
-
<span class="pf-c-input-group__text">%</span>
|
|
432
|
+
<span class="pf-c-input-group__text pf-m-plain">%</span>
|
|
433
433
|
</div>
|
|
434
434
|
</div>
|
|
435
435
|
</div>
|
|
@@ -570,7 +570,7 @@ cssPrefix: pf-c-slider
|
|
|
570
570
|
value="50"
|
|
571
571
|
aria-label="Slider value input"
|
|
572
572
|
/>
|
|
573
|
-
<span class="pf-c-input-group__text pf-m-
|
|
573
|
+
<span class="pf-c-input-group__text pf-m-plain">%</span>
|
|
574
574
|
</div>
|
|
575
575
|
</div>
|
|
576
576
|
</div>
|
|
@@ -7569,7 +7569,6 @@ Whenever a list of tabs is unique on the current page, it can be used in a `<nav
|
|
|
7569
7569
|
| `.pf-c-tabs__toggle-text` | `<span>` | Initiates a tabs expandable toggle text. |
|
|
7570
7570
|
| `.pf-m-secondary` | `.pf-c-tabs` | Applies secondary styling to the tab component. |
|
|
7571
7571
|
| `.pf-m-no-border-bottom` | `.pf-c-tabs` | Removes bottom border from a tab component. |
|
|
7572
|
-
| `.pf-m-border-bottom` | `.pf-c-tabs` | Adds a bottom border to secondary tabs. |
|
|
7573
7572
|
| `.pf-m-box` | `.pf-c-tabs` | Applies box styling to the tab component. |
|
|
7574
7573
|
| `.pf-m-vertical` | `.pf-c-tabs` | Applies vertical styling to the tab component. |
|
|
7575
7574
|
| `.pf-m-fill` | `.pf-c-tabs` | Modifies the tabs to fill the available space. |
|
|
@@ -7577,7 +7576,7 @@ Whenever a list of tabs is unique on the current page, it can be used in a `<nav
|
|
|
7577
7576
|
| `.pf-m-action` | `.pf-c-tabs__item` | Indicates that a tab item contains actions other than the tab link. |
|
|
7578
7577
|
| `.pf-m-overflow` | `.pf-c-tabs__item` | Applies overflow menu styling to a tab item. |
|
|
7579
7578
|
| `.pf-m-expanded` | `.pf-c-tabs__item` | Applies expanded styling to the overflow menu tab item. |
|
|
7580
|
-
| `.pf-m-inset-{none, sm, md, lg, xl, 2xl}{-on-[md, lg, xl, 2xl]}` | `.pf-c-tabs` | Modifies tabs
|
|
7579
|
+
| `.pf-m-inset-{none, sm, md, lg, xl, 2xl}{-on-[md, lg, xl, 2xl]}` | `.pf-c-tabs` | Modifies the tabs component padding/inset to visually match padding of other adjacent components. |
|
|
7581
7580
|
| `.pf-m-page-insets` | `.pf-c-tabs` | Modifies the tabs component padding/inset to visually match padding of page elements. |
|
|
7582
7581
|
| `.pf-m-color-scheme--light-300` | `.pf-c-tabs` | Modifies the tabs component tab background colors. |
|
|
7583
7582
|
| `.pf-m-expandable{-on-[breakpoint]}` | `.pf-c-tabs` | Modifies the tabs component to be expandable via a toggle at optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). **Note:** works with vertical tabs only. |
|
|
@@ -202,8 +202,8 @@ wrapperTag: div
|
|
|
202
202
|
</main>
|
|
203
203
|
</div>
|
|
204
204
|
<footer class="pf-c-wizard__footer">
|
|
205
|
-
<button class="pf-c-button pf-m-primary" type="submit">Next</button>
|
|
206
205
|
<button class="pf-c-button pf-m-secondary" type="button">Back</button>
|
|
206
|
+
<button class="pf-c-button pf-m-primary" type="submit">Next</button>
|
|
207
207
|
<div class="pf-c-wizard__footer-cancel">
|
|
208
208
|
<button class="pf-c-button pf-m-link" type="button">Cancel</button>
|
|
209
209
|
</div>
|
|
@@ -408,8 +408,8 @@ wrapperTag: div
|
|
|
408
408
|
</main>
|
|
409
409
|
</div>
|
|
410
410
|
<footer class="pf-c-wizard__footer">
|
|
411
|
-
<button class="pf-c-button pf-m-primary" type="submit">Next</button>
|
|
412
411
|
<button class="pf-c-button pf-m-secondary" type="button">Back</button>
|
|
412
|
+
<button class="pf-c-button pf-m-primary" type="submit">Next</button>
|
|
413
413
|
<div class="pf-c-wizard__footer-cancel">
|
|
414
414
|
<button class="pf-c-button pf-m-link" type="button">Cancel</button>
|
|
415
415
|
</div>
|
|
@@ -659,8 +659,8 @@ wrapperTag: div
|
|
|
659
659
|
</div>
|
|
660
660
|
</div>
|
|
661
661
|
<footer class="pf-c-wizard__footer">
|
|
662
|
-
<button class="pf-c-button pf-m-primary" type="submit">Next</button>
|
|
663
662
|
<button class="pf-c-button pf-m-secondary" type="button">Back</button>
|
|
663
|
+
<button class="pf-c-button pf-m-primary" type="submit">Next</button>
|
|
664
664
|
<div class="pf-c-wizard__footer-cancel">
|
|
665
665
|
<button class="pf-c-button pf-m-link" type="button">Cancel</button>
|
|
666
666
|
</div>
|
|
@@ -896,8 +896,8 @@ wrapperTag: div
|
|
|
896
896
|
</main>
|
|
897
897
|
</div>
|
|
898
898
|
<footer class="pf-c-wizard__footer">
|
|
899
|
-
<button class="pf-c-button pf-m-primary" type="submit">Next</button>
|
|
900
899
|
<button class="pf-c-button pf-m-secondary" type="button">Back</button>
|
|
900
|
+
<button class="pf-c-button pf-m-primary" type="submit">Next</button>
|
|
901
901
|
<div class="pf-c-wizard__footer-cancel">
|
|
902
902
|
<button class="pf-c-button pf-m-link" type="button">Cancel</button>
|
|
903
903
|
</div>
|
|
@@ -1133,8 +1133,8 @@ wrapperTag: div
|
|
|
1133
1133
|
</main>
|
|
1134
1134
|
</div>
|
|
1135
1135
|
<footer class="pf-c-wizard__footer">
|
|
1136
|
-
<button class="pf-c-button pf-m-primary" type="submit">Next</button>
|
|
1137
1136
|
<button class="pf-c-button pf-m-secondary" type="button">Back</button>
|
|
1137
|
+
<button class="pf-c-button pf-m-primary" type="submit">Next</button>
|
|
1138
1138
|
<div class="pf-c-wizard__footer-cancel">
|
|
1139
1139
|
<button class="pf-c-button pf-m-link" type="button">Cancel</button>
|
|
1140
1140
|
</div>
|
|
@@ -1261,8 +1261,8 @@ wrapperTag: div
|
|
|
1261
1261
|
</main>
|
|
1262
1262
|
</div>
|
|
1263
1263
|
<footer class="pf-c-wizard__footer">
|
|
1264
|
-
<button class="pf-c-button pf-m-primary" type="submit">Next</button>
|
|
1265
1264
|
<button class="pf-c-button pf-m-secondary" type="button">Back</button>
|
|
1265
|
+
<button class="pf-c-button pf-m-primary" type="submit">Next</button>
|
|
1266
1266
|
<div class="pf-c-wizard__footer-cancel">
|
|
1267
1267
|
<button class="pf-c-button pf-m-link" type="button">Cancel</button>
|
|
1268
1268
|
</div>
|
|
@@ -9,10 +9,12 @@ This demo implements the about modal, including the backdrop.
|
|
|
9
9
|
|
|
10
10
|
```html isFullscreen
|
|
11
11
|
<div class="pf-c-page" id="modal-basic-example">
|
|
12
|
-
<
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
<div class="pf-c-skip-to-content">
|
|
13
|
+
<a
|
|
14
|
+
class="pf-c-button pf-m-primary"
|
|
15
|
+
href="#main-content-modal-basic-example"
|
|
16
|
+
>Skip to content</a>
|
|
17
|
+
</div>
|
|
16
18
|
<header class="pf-c-masthead" id="modal-basic-example-masthead">
|
|
17
19
|
<span class="pf-c-masthead__toggle">
|
|
18
20
|
<button
|
|
@@ -916,56 +918,58 @@ This demo implements the about modal, including the backdrop.
|
|
|
916
918
|
<div class="pf-c-backdrop">
|
|
917
919
|
<div class="pf-l-bullseye">
|
|
918
920
|
<div
|
|
919
|
-
class="pf-c-
|
|
921
|
+
class="pf-c-modal-box pf-m-lg"
|
|
920
922
|
role="dialog"
|
|
921
923
|
aria-modal="true"
|
|
922
924
|
aria-labelledby="about-modal-title"
|
|
923
925
|
>
|
|
924
|
-
<div class="pf-c-about-modal-
|
|
925
|
-
<
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
<
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
<
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
<div class="pf-c-
|
|
949
|
-
<
|
|
950
|
-
<
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
926
|
+
<div class="pf-c-about-modal-box">
|
|
927
|
+
<div class="pf-c-about-modal-box__brand">
|
|
928
|
+
<img
|
|
929
|
+
class="pf-c-about-modal-box__brand-image"
|
|
930
|
+
src="/assets/images/pf_mini_logo_white.svg"
|
|
931
|
+
alt="PatternFly brand logo"
|
|
932
|
+
/>
|
|
933
|
+
</div>
|
|
934
|
+
<div class="pf-c-about-modal-box__close">
|
|
935
|
+
<button
|
|
936
|
+
class="pf-c-button pf-m-plain"
|
|
937
|
+
type="button"
|
|
938
|
+
aria-label="Close dialog"
|
|
939
|
+
>
|
|
940
|
+
<i class="fas fa-times" aria-hidden="true"></i>
|
|
941
|
+
</button>
|
|
942
|
+
</div>
|
|
943
|
+
<div class="pf-c-about-modal-box__header">
|
|
944
|
+
<h1
|
|
945
|
+
class="pf-c-title pf-m-4xl"
|
|
946
|
+
id="about-modal-title"
|
|
947
|
+
>Red Hat OpenShift Container Platform</h1>
|
|
948
|
+
</div>
|
|
949
|
+
<div class="pf-c-about-modal-box__hero"></div>
|
|
950
|
+
<div class="pf-c-about-modal-box__content">
|
|
951
|
+
<div class="pf-c-content">
|
|
952
|
+
<dl>
|
|
953
|
+
<dt>CFME version</dt>
|
|
954
|
+
<dd>5.5.3.4.20102789036450</dd>
|
|
955
|
+
<dt>Cloudforms version</dt>
|
|
956
|
+
<dd>4.1</dd>
|
|
957
|
+
<dt>Server name</dt>
|
|
958
|
+
<dd>40DemoMaster</dd>
|
|
959
|
+
<dt>User name</dt>
|
|
960
|
+
<dd>Administrator</dd>
|
|
961
|
+
<dt>User role</dt>
|
|
962
|
+
<dd>EvmRole-super_administrator</dd>
|
|
963
|
+
<dt>Browser version</dt>
|
|
964
|
+
<dd>601.2</dd>
|
|
965
|
+
<dt>Browser OS</dt>
|
|
966
|
+
<dd>Mac</dd>
|
|
967
|
+
</dl>
|
|
968
|
+
</div>
|
|
969
|
+
<p
|
|
970
|
+
class="pf-c-about-modal-box__strapline"
|
|
971
|
+
>Trademark and copyright information here</p>
|
|
965
972
|
</div>
|
|
966
|
-
<p
|
|
967
|
-
class="pf-c-about-modal-box__strapline"
|
|
968
|
-
>Trademark and copyright information here</p>
|
|
969
973
|
</div>
|
|
970
974
|
</div>
|
|
971
975
|
</div>
|
|
@@ -7,10 +7,12 @@ section: components
|
|
|
7
7
|
|
|
8
8
|
```html isFullscreen
|
|
9
9
|
<div class="pf-c-page" id="alert-basic-example">
|
|
10
|
-
<
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
<div class="pf-c-skip-to-content">
|
|
11
|
+
<a
|
|
12
|
+
class="pf-c-button pf-m-primary"
|
|
13
|
+
href="#main-content-alert-basic-example"
|
|
14
|
+
>Skip to content</a>
|
|
15
|
+
</div>
|
|
14
16
|
<header class="pf-c-masthead" id="alert-basic-example-masthead">
|
|
15
17
|
<span class="pf-c-masthead__toggle">
|
|
16
18
|
<button
|
|
@@ -989,10 +991,12 @@ section: components
|
|
|
989
991
|
|
|
990
992
|
```html isFullscreen
|
|
991
993
|
<div class="pf-c-page" id="alert-horizontal-example">
|
|
992
|
-
<
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
994
|
+
<div class="pf-c-skip-to-content">
|
|
995
|
+
<a
|
|
996
|
+
class="pf-c-button pf-m-primary"
|
|
997
|
+
href="#main-content-alert-horizontal-example"
|
|
998
|
+
>Skip to content</a>
|
|
999
|
+
</div>
|
|
996
1000
|
<header class="pf-c-masthead" id="alert-horizontal-example-masthead">
|
|
997
1001
|
<span class="pf-c-masthead__toggle">
|
|
998
1002
|
<button
|
|
@@ -2009,10 +2013,12 @@ section: components
|
|
|
2009
2013
|
|
|
2010
2014
|
```html isFullscreen
|
|
2011
2015
|
<div class="pf-c-page" id="alert-stacked-example">
|
|
2012
|
-
<
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
+
<div class="pf-c-skip-to-content">
|
|
2017
|
+
<a
|
|
2018
|
+
class="pf-c-button pf-m-primary"
|
|
2019
|
+
href="#main-content-alert-stacked-example"
|
|
2020
|
+
>Skip to content</a>
|
|
2021
|
+
</div>
|
|
2016
2022
|
<header class="pf-c-masthead" id="alert-stacked-example-masthead">
|
|
2017
2023
|
<span class="pf-c-masthead__toggle">
|
|
2018
2024
|
<button
|
|
@@ -8,10 +8,12 @@ cssPrefix: pf-d-back-to-top
|
|
|
8
8
|
|
|
9
9
|
```html isFullscreen
|
|
10
10
|
<div class="pf-c-page" id="back-to-top-basic-example">
|
|
11
|
-
<
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
<div class="pf-c-skip-to-content">
|
|
12
|
+
<a
|
|
13
|
+
class="pf-c-button pf-m-primary"
|
|
14
|
+
href="#main-content-back-to-top-basic-example"
|
|
15
|
+
>Skip to content</a>
|
|
16
|
+
</div>
|
|
15
17
|
<header class="pf-c-masthead" id="back-to-top-basic-example-masthead">
|
|
16
18
|
<span class="pf-c-masthead__toggle">
|
|
17
19
|
<button
|
|
@@ -10,10 +10,12 @@ wrapperTag: div
|
|
|
10
10
|
|
|
11
11
|
```html isFullscreen
|
|
12
12
|
<div class="pf-c-page" id="banner-basic-example">
|
|
13
|
-
<
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
<div class="pf-c-skip-to-content">
|
|
14
|
+
<a
|
|
15
|
+
class="pf-c-button pf-m-primary"
|
|
16
|
+
href="#main-content-banner-basic-example"
|
|
17
|
+
>Skip to content</a>
|
|
18
|
+
</div>
|
|
17
19
|
<header class="pf-c-masthead" id="banner-basic-example-masthead">
|
|
18
20
|
<span class="pf-c-masthead__toggle">
|
|
19
21
|
<button
|
|
@@ -890,7 +892,7 @@ wrapperTag: div
|
|
|
890
892
|
</div>
|
|
891
893
|
</div>
|
|
892
894
|
</section>
|
|
893
|
-
<section class="pf-c-page__main-section pf-m-limit-width">
|
|
895
|
+
<section class="pf-c-page__main-section pf-m-limit-width pf-m-fill">
|
|
894
896
|
<div class="pf-c-page__main-body">
|
|
895
897
|
<div class="pf-l-gallery pf-m-gutter">
|
|
896
898
|
<div class="pf-c-card">
|
|
@@ -1075,10 +1077,12 @@ wrapperTag: div
|
|
|
1075
1077
|
</div>
|
|
1076
1078
|
<div class="pf-l-flex__item pf-m-grow" style="min-height: 0;">
|
|
1077
1079
|
<div class="pf-c-page" id="banner-top-bottom-example">
|
|
1078
|
-
<
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1080
|
+
<div class="pf-c-skip-to-content">
|
|
1081
|
+
<a
|
|
1082
|
+
class="pf-c-button pf-m-primary"
|
|
1083
|
+
href="#main-content-banner-top-bottom-example"
|
|
1084
|
+
>Skip to content</a>
|
|
1085
|
+
</div>
|
|
1082
1086
|
<header class="pf-c-masthead" id="banner-top-bottom-example-masthead">
|
|
1083
1087
|
<span class="pf-c-masthead__toggle">
|
|
1084
1088
|
<button
|
|
@@ -2005,7 +2009,7 @@ wrapperTag: div
|
|
|
2005
2009
|
</div>
|
|
2006
2010
|
</div>
|
|
2007
2011
|
</section>
|
|
2008
|
-
<section class="pf-c-page__main-section pf-m-limit-width">
|
|
2012
|
+
<section class="pf-c-page__main-section pf-m-limit-width pf-m-fill">
|
|
2009
2013
|
<div class="pf-c-page__main-body">
|
|
2010
2014
|
<div class="pf-l-gallery pf-m-gutter">
|
|
2011
2015
|
<div class="pf-c-card">
|
|
@@ -2291,8 +2291,8 @@ wrapperTag: div
|
|
|
2291
2291
|
</span>
|
|
2292
2292
|
</button>
|
|
2293
2293
|
</h3>
|
|
2294
|
-
<div class="pf-c-
|
|
2295
|
-
<div class="pf-c-
|
|
2294
|
+
<div class="pf-c-accordion__expandable-content pf-m-expanded">
|
|
2295
|
+
<div class="pf-c-accordion__expandable-content-body">
|
|
2296
2296
|
<div class="pf-l-grid pf-m-gutter">
|
|
2297
2297
|
<div class="pf-l-grid pf-m-gutter">
|
|
2298
2298
|
<div class="pf-l-grid__item pf-m-4-col-on-md">
|
|
@@ -2389,7 +2389,7 @@ wrapperTag: div
|
|
|
2389
2389
|
</span>
|
|
2390
2390
|
</button>
|
|
2391
2391
|
</h3>
|
|
2392
|
-
<div class="pf-c-
|
|
2392
|
+
<div class="pf-c-accordion__expandable-content" hidden>
|
|
2393
2393
|
<div class="pf-l-grid pf-m-gutter">
|
|
2394
2394
|
<div class="pf-l-grid pf-m-gutter">
|
|
2395
2395
|
<div class="pf-l-grid__item pf-m-4-col-on-md">
|
|
@@ -2485,7 +2485,7 @@ wrapperTag: div
|
|
|
2485
2485
|
</span>
|
|
2486
2486
|
</button>
|
|
2487
2487
|
</h3>
|
|
2488
|
-
<div class="pf-c-
|
|
2488
|
+
<div class="pf-c-accordion__expandable-content" hidden>
|
|
2489
2489
|
<div class="pf-l-grid pf-m-gutter">
|
|
2490
2490
|
<div class="pf-l-grid pf-m-gutter">
|
|
2491
2491
|
<div class="pf-l-grid__item pf-m-4-col-on-md">
|
|
@@ -7,10 +7,12 @@ section: demos
|
|
|
7
7
|
|
|
8
8
|
```html isFullscreen
|
|
9
9
|
<div class="pf-c-page" id="card-view-basic-example">
|
|
10
|
-
<
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
<div class="pf-c-skip-to-content">
|
|
11
|
+
<a
|
|
12
|
+
class="pf-c-button pf-m-primary"
|
|
13
|
+
href="#main-content-card-view-basic-example"
|
|
14
|
+
>Skip to content</a>
|
|
15
|
+
</div>
|
|
14
16
|
<header class="pf-c-masthead" id="card-view-basic-example-masthead">
|
|
15
17
|
<span class="pf-c-masthead__toggle">
|
|
16
18
|
<button
|