@patternfly/patternfly 6.0.0-alpha.98 → 6.0.0-alpha.99
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/components/Card/card.css +1 -0
- package/components/Card/card.scss +1 -0
- package/components/Check/check.css +10 -3
- package/components/Check/check.scss +17 -4
- package/components/Masthead/masthead.css +17 -9
- package/components/Masthead/masthead.scss +18 -9
- package/components/MenuToggle/menu-toggle.css +4 -4
- package/components/MenuToggle/menu-toggle.scss +4 -4
- package/components/ModalBox/modal-box.css +11 -7
- package/components/ModalBox/modal-box.scss +27 -12
- package/components/Nav/nav.css +64 -110
- package/components/Nav/nav.scss +70 -143
- package/components/Page/page.css +9 -17
- package/components/Page/page.scss +10 -23
- package/components/Radio/radio.css +12 -5
- package/components/Radio/radio.scss +21 -6
- package/components/Table/table-grid.css +30 -35
- package/components/Table/table-grid.scss +44 -32
- package/components/Table/table-scrollable.css +14 -6
- package/components/Table/table-scrollable.scss +6 -1
- package/components/Table/table-tree-view.css +5 -5
- package/components/Table/table-tree-view.scss +14 -8
- package/components/Table/table.css +90 -254
- package/components/Table/table.scss +158 -347
- package/components/Toolbar/toolbar.css +66 -2
- package/components/Toolbar/toolbar.scss +21 -2
- package/docs/components/AboutModalBox/examples/AboutModalBox.md +12 -12
- package/docs/components/Accordion/examples/Accordion.md +19 -19
- package/docs/components/ActionList/examples/ActionList.md +5 -5
- package/docs/components/Alert/examples/Alert.md +26 -26
- package/docs/components/AppLauncher/deprecated/application-launcher.md +31 -31
- package/docs/components/Avatar/examples/Avatar.md +8 -8
- package/docs/components/BackToTop/examples/BackToTop.md +3 -3
- package/docs/components/Backdrop/examples/Backdrop.md +3 -3
- package/docs/components/BackgroundImage/examples/BackgroundImage.md +4 -4
- package/docs/components/Badge/examples/Badge.md +6 -6
- package/docs/components/Banner/examples/Banner.md +17 -17
- package/docs/components/Brand/examples/Brand.css +3 -3
- package/docs/components/Brand/examples/Brand.md +7 -7
- package/docs/components/Breadcrumb/examples/Breadcrumb.md +12 -12
- package/docs/components/Button/examples/Button.css +2 -2
- package/docs/components/Button/examples/Button.md +35 -35
- package/docs/components/CalendarMonth/examples/CalendarMonth.md +29 -29
- package/docs/components/Card/examples/Card.md +30 -30
- package/docs/components/Check/examples/Check.md +12 -12
- package/docs/components/Chip/examples/Chip.md +21 -21
- package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +19 -19
- package/docs/components/CodeBlock/examples/CodeBlock.md +8 -8
- package/docs/components/CodeEditor/examples/CodeEditor.md +14 -14
- package/docs/components/Content/examples/Content.md +5 -5
- package/docs/components/ContextSelector/deprecated/context-selector.md +23 -23
- package/docs/components/DataList/examples/DataList.md +177 -112
- package/docs/components/DatePicker/examples/DatePicker.md +10 -10
- package/docs/components/DescriptionList/examples/DescriptionList.md +29 -29
- package/docs/components/Divider/examples/Divider.md +7 -7
- package/docs/components/DragDrop/examples/DragDrop.md +5 -5
- package/docs/components/Drawer/examples/Drawer.md +36 -36
- package/docs/components/Dropdown/deprecated/Dropdown.css +1 -1
- package/docs/components/Dropdown/deprecated/Dropdown.md +47 -47
- package/docs/components/DualListSelector/examples/DualListSelector.md +41 -41
- package/docs/components/EmptyState/examples/EmptyState.md +21 -21
- package/docs/components/ExpandableSection/examples/ExpandableSection.md +18 -18
- package/docs/components/FileUpload/examples/FileUpload.md +8 -8
- package/docs/components/Form/examples/Form.md +52 -52
- package/docs/components/FormControl/examples/FormControl.md +22 -22
- package/docs/components/HelperText/examples/HelperText.md +11 -11
- package/docs/components/Hint/examples/Hint.md +6 -6
- package/docs/components/Icon/examples/Icon.md +13 -13
- package/docs/components/InlineEdit/examples/InlineEdit.md +54 -138
- package/docs/components/InputGroup/examples/InputGroup.md +10 -10
- package/docs/components/JumpLinks/examples/JumpLinks.md +19 -19
- package/docs/components/Label/examples/Label.css +4 -4
- package/docs/components/Label/examples/Label.md +45 -45
- package/docs/components/List/examples/List.md +6 -6
- package/docs/components/LogViewer/examples/LogViewer.css +2 -2
- package/docs/components/LogViewer/examples/LogViewer.md +45 -165
- package/docs/components/Login/examples/Login.md +21 -21
- package/docs/components/Masthead/examples/masthead.md +7 -7
- package/docs/components/Menu/examples/Menu.md +60 -60
- package/docs/components/MenuToggle/examples/MenuToggle.md +34 -106
- package/docs/components/ModalBox/examples/ModalBox.md +75 -34
- package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +21 -21
- package/docs/components/Nav/examples/Navigation.css +20 -3
- package/docs/components/Nav/examples/Navigation.md +44 -50
- package/docs/components/NotificationBadge/examples/NotificationBadge.md +8 -8
- package/docs/components/NotificationDrawer/examples/NotificationDrawer.md +36 -36
- package/docs/components/NumberInput/examples/NumberInput.md +13 -13
- package/docs/components/OptionsMenu/deprecated/options-menu.md +22 -22
- package/docs/components/OverflowMenu/examples/overflow-menu.md +20 -20
- package/docs/components/Page/deprecated/PageHeader.md +30 -30
- package/docs/components/Page/examples/Page.md +55 -54
- package/docs/components/Pagination/examples/Pagination.md +25 -25
- package/docs/components/Panel/examples/Panel.md +10 -10
- package/docs/components/Popover/examples/Popover.md +30 -30
- package/docs/components/Progress/examples/Progress.md +31 -31
- package/docs/components/ProgressStepper/examples/ProgressStepper.md +17 -17
- package/docs/components/Radio/examples/Radio.md +9 -9
- package/docs/components/Select/deprecated/Select.md +110 -110
- package/docs/components/Sidebar/examples/Sidebar.md +16 -16
- package/docs/components/SimpleList/examples/SimpleList.md +9 -9
- package/docs/components/Skeleton/examples/Skeleton.md +14 -14
- package/docs/components/SkipToContent/examples/SkipToContent.md +4 -4
- package/docs/components/Slider/examples/Slider.md +33 -33
- package/docs/components/Spinner/examples/Spinner.md +14 -14
- package/docs/components/Switch/examples/Switch.md +14 -14
- package/docs/components/TabContent/examples/TabContent.md +10 -10
- package/docs/components/Table/examples/Table.md +5395 -15077
- package/docs/components/Tabs/examples/Tabs.md +39 -39
- package/docs/components/TextInputGroup/examples/TextInputGroup.md +1 -1
- package/docs/components/Tile/examples/Tile.md +12 -12
- package/docs/components/Timestamp/examples/Timestamp.md +4 -4
- package/docs/components/Title/examples/Title.md +20 -20
- package/docs/components/ToggleGroup/examples/toggle-group.md +10 -10
- package/docs/components/Toolbar/examples/Toolbar.md +68 -200
- package/docs/components/Tooltip/examples/Tooltip.md +9 -9
- package/docs/components/TreeView/examples/TreeView.md +31 -31
- package/docs/components/Truncate/examples/Truncate.md +8 -8
- package/docs/components/Wizard/examples/Wizard.md +46 -46
- package/docs/demos/AboutModal/examples/AboutModal.md +4 -52
- package/docs/demos/Alert/examples/Alert.md +12 -156
- package/docs/demos/BackToTop/examples/BackToTop.md +4 -52
- package/docs/demos/Banner/examples/Banner.md +9 -105
- package/docs/demos/Card/examples/Card.md +12 -19
- package/docs/demos/CardView/examples/CardView.md +5 -65
- package/docs/demos/ContextSelector/examples/ContextSelector.md +12 -156
- package/docs/demos/Dashboard/examples/Dashboard.md +4 -52
- package/docs/demos/DataList/examples/DataList.md +200 -553
- package/docs/demos/DescriptionList/examples/DescriptionList.md +18 -156
- package/docs/demos/Drawer/examples/Drawer.md +20 -260
- package/docs/demos/JumpLinks/examples/JumpLinks.md +24 -312
- package/docs/demos/Masthead/examples/Masthead.md +23 -255
- package/docs/demos/Modal/examples/Modal.md +24 -312
- package/docs/demos/Nav/examples/Nav.md +69 -461
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +20 -260
- package/docs/demos/Page/examples/Page.md +39 -505
- package/docs/demos/Page/examples/Penta.md +120 -53
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +35 -455
- package/docs/demos/Skeleton/examples/Skeleton.md +4 -52
- package/docs/demos/Table/examples/Table.md +1598 -6045
- package/docs/demos/Tabs/examples/Tabs.md +143 -499
- package/docs/demos/Toolbar/examples/Toolbar.md +245 -925
- package/docs/demos/Wizard/examples/Wizard.md +36 -468
- package/docs/layouts/Bullseye/examples/Bullseye.md +3 -3
- package/docs/layouts/Flex/examples/Flex.md +76 -76
- package/docs/layouts/Gallery/examples/Gallery.md +6 -6
- package/docs/layouts/Grid/examples/Grid.md +8 -8
- package/docs/layouts/Level/examples/Level.md +4 -4
- package/docs/layouts/Split/examples/Split.md +6 -6
- package/docs/layouts/Stack/examples/Stack.md +5 -5
- package/docs/utilities/Accessibility/examples/Accessibility.md +2 -2
- package/docs/utilities/Alignment/examples/Alignment.md +4 -4
- package/docs/utilities/BackgroundColor/examples/BackgroundColor.md +10 -10
- package/docs/utilities/BoxShadow/examples/box-shadow.md +20 -20
- package/docs/utilities/Display/examples/Display.md +9 -9
- package/docs/utilities/Flex/examples/Flex.md +32 -32
- package/docs/utilities/Float/examples/Float.md +2 -2
- package/docs/utilities/Sizing/examples/Sizing.md +41 -41
- package/docs/utilities/Spacing/examples/Spacing.md +11 -11
- package/docs/utilities/Text/examples/Text.md +28 -28
- package/package.json +2 -1
- package/patternfly-no-globals.css +347 -463
- package/patternfly-theme-dark-unversioned.css +347 -463
- package/patternfly.css +347 -463
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/components/Table/themes/dark/table.scss +0 -16
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
id: Bullseye
|
|
3
3
|
section: layouts
|
|
4
|
-
cssPrefix: pf-
|
|
4
|
+
cssPrefix: pf-v6-l-bullseye
|
|
5
5
|
---import './Bullseye.css'
|
|
6
6
|
|
|
7
7
|
## Examples
|
|
@@ -25,5 +25,5 @@ The bullseye layout is designed to center a single child element horizontally an
|
|
|
25
25
|
|
|
26
26
|
| Class | Applied to | Outcome |
|
|
27
27
|
| -- | -- | -- |
|
|
28
|
-
| `.pf-
|
|
29
|
-
| `.pf-
|
|
28
|
+
| `.pf-v6-l-bullseye` | `<div>` | Initializes the bullseye layout. A bullseye can only have one child. |
|
|
29
|
+
| `.pf-v6-l-bullseye__item` | `<div>` | Explicitly sets the child for the bullseye. This class isn't necessary, but it is included to keep inline with BEM convention, and to provide an entity that will later be used for applying modifiers. |
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
id: Flex
|
|
3
3
|
section: layouts
|
|
4
|
-
cssPrefix: pf-
|
|
4
|
+
cssPrefix: pf-v6-l-flex
|
|
5
5
|
---import './Flex.css'
|
|
6
6
|
|
|
7
7
|
## Introduction
|
|
@@ -94,8 +94,8 @@ The CSS approach, by keeping specificity low on base class properties and resett
|
|
|
94
94
|
|
|
95
95
|
| Class | Applied to | Outcome |
|
|
96
96
|
| -- | -- | -- |
|
|
97
|
-
| `.pf-
|
|
98
|
-
| `.pf-
|
|
97
|
+
| `.pf-v6-l-flex` | `*` | Initiates the flex layout. **Required** |
|
|
98
|
+
| `.pf-v6-l-flex__item` | `.pf-v6-l-flex > *` | Initiates a flex item. **Required** |
|
|
99
99
|
|
|
100
100
|
## Spacing system
|
|
101
101
|
|
|
@@ -146,8 +146,8 @@ The CSS approach, by keeping specificity low on base class properties and resett
|
|
|
146
146
|
|
|
147
147
|
| Class | Applied to | Outcome |
|
|
148
148
|
| -- | -- | -- |
|
|
149
|
-
| `.pf-m-space-items-{none, xs, sm, md, lg, xl, 2xl, 3xl, 4xl}{-on-[breakpoint]}` | `.pf-
|
|
150
|
-
| `.pf-m-spacer-{none, xs, sm, md, lg, xl, 2xl, 3xl, 4xl}{-on-[breakpoint]}` | `.pf-
|
|
149
|
+
| `.pf-m-space-items-{none, xs, sm, md, lg, xl, 2xl, 3xl, 4xl}{-on-[breakpoint]}` | `.pf-v6-l-flex` | Modifies the spacer between direct children along the main axis of a flex layout. |
|
|
150
|
+
| `.pf-m-spacer-{none, xs, sm, md, lg, xl, 2xl, 3xl, 4xl}{-on-[breakpoint]}` | `.pf-v6-l-flex > *` | Modifies the spacer for any individual direct child along the main axis of a flex layout. |
|
|
151
151
|
|
|
152
152
|
## Gap spacing
|
|
153
153
|
|
|
@@ -227,9 +227,9 @@ The CSS approach, by keeping specificity low on base class properties and resett
|
|
|
227
227
|
|
|
228
228
|
| Class | Applied to | Outcome |
|
|
229
229
|
| -- | -- | -- |
|
|
230
|
-
| `.pf-m-gap{-[none, xs, sm, md, lg, xl, 2xl, 3xl, 4xl]}{-on-[breakpoint]}` | `.pf-
|
|
231
|
-
| `.pf-m-row-gap{-[none, xs, sm, md, lg, xl, 2xl, 3xl, 4xl]}{-on-[breakpoint]}` | `.pf-
|
|
232
|
-
| `.pf-m-column-gap{-[none, xs, sm, md, lg, xl, 2xl, 3xl, 4xl]}{-on-[breakpoint]}` | `.pf-
|
|
230
|
+
| `.pf-m-gap{-[none, xs, sm, md, lg, xl, 2xl, 3xl, 4xl]}{-on-[breakpoint]}` | `.pf-v6-l-flex` | Modifies the space between columns and rows. |
|
|
231
|
+
| `.pf-m-row-gap{-[none, xs, sm, md, lg, xl, 2xl, 3xl, 4xl]}{-on-[breakpoint]}` | `.pf-v6-l-flex` | Modifies the space between rows. |
|
|
232
|
+
| `.pf-m-column-gap{-[none, xs, sm, md, lg, xl, 2xl, 3xl, 4xl]}{-on-[breakpoint]}` | `.pf-v6-l-flex` | Modifies the space between columns. |
|
|
233
233
|
|
|
234
234
|
## Layout modifiers
|
|
235
235
|
|
|
@@ -363,16 +363,16 @@ Adjusting width with `.pf-m-flex-1`. In this example, all groups are set to `.pf
|
|
|
363
363
|
|
|
364
364
|
| Class | Applied to | Outcome |
|
|
365
365
|
| -- | -- | -- |
|
|
366
|
-
| `.pf-m-inline-flex{-on-[breakpoint]}` | `.pf-
|
|
367
|
-
| `.pf-m-grow{-on-[breakpoint]}` | `.pf-
|
|
368
|
-
| `.pf-m-shrink{-on-[breakpoint]}` | `.pf-
|
|
369
|
-
| `.pf-m-full-width{-on-[breakpoint]}` | `.pf-
|
|
370
|
-
| `.pf-m-flex-1{-on-[breakpoint]}` | `.pf-
|
|
371
|
-
| `.pf-m-flex-2{-on-[breakpoint]}` | `.pf-
|
|
372
|
-
| `.pf-m-flex-3{-on-[breakpoint]}` | `.pf-
|
|
373
|
-
| `.pf-m-flex-4{-on-[breakpoint]}` | `.pf-
|
|
374
|
-
| `.pf-m-flex-default{-on-[breakpoint]}` | `.pf-
|
|
375
|
-
| `.pf-m-flex-none{-on-[breakpoint]}` | `.pf-
|
|
366
|
+
| `.pf-m-inline-flex{-on-[breakpoint]}` | `.pf-v6-l-flex` | Modifies the flex layout display property to inline-flex. |
|
|
367
|
+
| `.pf-m-grow{-on-[breakpoint]}` | `.pf-v6-l-flex > .pf-v5-l-flex`, `.pf-v6-l-flex__item` | Modifies a nested flex layout or flex item flex-grow property to 1. |
|
|
368
|
+
| `.pf-m-shrink{-on-[breakpoint]}` | `.pf-v6-l-flex > .pf-v5-l-flex`, `.pf-v6-l-flex__item` | Modifies a nested flex layout or flex item flex-shrink property to 1. |
|
|
369
|
+
| `.pf-m-full-width{-on-[breakpoint]}` | `.pf-v6-l-flex > .pf-v5-l-flex`, `.pf-v6-l-flex__item` | Modifies a nested flex layout or flex item flex item to full width of parent. |
|
|
370
|
+
| `.pf-m-flex-1{-on-[breakpoint]}` | `.pf-v6-l-flex > .pf-v5-l-flex`, `.pf-v6-l-flex__item` | Modifies a nested flex layout or flex item flex shorthand property to 1 0 0. |
|
|
371
|
+
| `.pf-m-flex-2{-on-[breakpoint]}` | `.pf-v6-l-flex > .pf-v5-l-flex`, `.pf-v6-l-flex__item` | Modifies a nested flex layout or flex item flex shorthand property to 2 0 0. |
|
|
372
|
+
| `.pf-m-flex-3{-on-[breakpoint]}` | `.pf-v6-l-flex > .pf-v5-l-flex`, `.pf-v6-l-flex__item` | Modifies a nested flex layout or flex item flex shorthand property to 3 0 0. |
|
|
373
|
+
| `.pf-m-flex-4{-on-[breakpoint]}` | `.pf-v6-l-flex > .pf-v5-l-flex`, `.pf-v6-l-flex__item` | Modifies a nested flex layout or flex item flex shorthand property to 4 0 0. |
|
|
374
|
+
| `.pf-m-flex-default{-on-[breakpoint]}` | `.pf-v6-l-flex > .pf-v5-l-flex`, `.pf-v6-l-flex__item` | Resets a nested flex layout or flex item flex shorthand property to 0 1 auto. |
|
|
375
|
+
| `.pf-m-flex-none{-on-[breakpoint]}` | `.pf-v6-l-flex > .pf-v5-l-flex`, `.pf-v6-l-flex__item` | Modifies a nested flex layout or flex item flex shorthand property to none. |
|
|
376
376
|
|
|
377
377
|
## Column layout modifiers
|
|
378
378
|
|
|
@@ -427,7 +427,7 @@ Adjusting width with `.pf-m-flex-1`. In this example, all groups are set to `.pf
|
|
|
427
427
|
|
|
428
428
|
| Class | Applied to | Outcome |
|
|
429
429
|
| -- | -- | -- |
|
|
430
|
-
| `.pf-m-column{-on-[breakpoint]}` | `.pf-
|
|
430
|
+
| `.pf-m-column{-on-[breakpoint]}` | `.pf-v6-l-flex` | Modifies flex-direction property to column. |
|
|
431
431
|
|
|
432
432
|
## Responsive layouts
|
|
433
433
|
|
|
@@ -487,8 +487,8 @@ Adjusting width with `.pf-m-flex-1`. In this example, all groups are set to `.pf
|
|
|
487
487
|
|
|
488
488
|
| Class | Applied to | Outcome |
|
|
489
489
|
| -- | -- | -- |
|
|
490
|
-
| `.pf-m-column{-on-[breakpoint]}` | `.pf-
|
|
491
|
-
| `.pf-m-row{-on-[breakpoint]}` | `.pf-
|
|
490
|
+
| `.pf-m-column{-on-[breakpoint]}` | `.pf-v6-l-flex` | Modifies flex-direction property to column. |
|
|
491
|
+
| `.pf-m-row{-on-[breakpoint]}` | `.pf-v6-l-flex` | Modifies flex-direction property to row. |
|
|
492
492
|
|
|
493
493
|
## Alignment
|
|
494
494
|
|
|
@@ -627,13 +627,13 @@ Aligning right with `.pf-m-align-right`. This solution will always align element
|
|
|
627
627
|
|
|
628
628
|
| Class | Applied to | Outcome |
|
|
629
629
|
| -- | -- | -- |
|
|
630
|
-
| `.pf-m-align-right{-on-[breakpoint]}` | `.pf-
|
|
631
|
-
| `.pf-m-align-left{-on-[breakpoint]}` | `.pf-
|
|
632
|
-
| `.pf-m-align-self-flex-start{-on-[breakpoint]}` | `.pf-
|
|
633
|
-
| `.pf-m-align-self-flex-end{-on-[breakpoint]}` | `.pf-
|
|
634
|
-
| `.pf-m-align-self-flex-center{-on-[breakpoint]}` | `.pf-
|
|
635
|
-
| `.pf-m-align-self-flex-baseline{-on-[breakpoint]}` | `.pf-
|
|
636
|
-
| `.pf-m-align-self-flex-stretch{-on-[breakpoint]}` | `.pf-
|
|
630
|
+
| `.pf-m-align-right{-on-[breakpoint]}` | `.pf-v6-l-flex > .pf-v5-l-flex`, `.pf-v6-l-flex__item` | Modifies margin-inline-start property to auto. |
|
|
631
|
+
| `.pf-m-align-left{-on-[breakpoint]}` | `.pf-v6-l-flex > .pf-v5-l-flex`, `.pf-v6-l-flex__item` | Resets margin-inline-start property 0. |
|
|
632
|
+
| `.pf-m-align-self-flex-start{-on-[breakpoint]}` | `.pf-v6-l-flex > .pf-v5-l-flex`, `.pf-v6-l-flex__item` | Modifies align-self property to flex-start. |
|
|
633
|
+
| `.pf-m-align-self-flex-end{-on-[breakpoint]}` | `.pf-v6-l-flex > .pf-v5-l-flex`, `.pf-v6-l-flex__item` | Modifies align-self property to flex-end. |
|
|
634
|
+
| `.pf-m-align-self-flex-center{-on-[breakpoint]}` | `.pf-v6-l-flex > .pf-v5-l-flex`, `.pf-v6-l-flex__item` | Modifies align-self property to center. |
|
|
635
|
+
| `.pf-m-align-self-flex-baseline{-on-[breakpoint]}` | `.pf-v6-l-flex > .pf-v5-l-flex`, `.pf-v6-l-flex__item` | Modifies align-self property to baseline. |
|
|
636
|
+
| `.pf-m-align-self-flex-stretch{-on-[breakpoint]}` | `.pf-v6-l-flex > .pf-v5-l-flex`, `.pf-v6-l-flex__item` | Modifies align-self property to stretch. |
|
|
637
637
|
|
|
638
638
|
## Justification
|
|
639
639
|
|
|
@@ -677,13 +677,13 @@ Aligning right with `.pf-m-align-right`. This solution will always align element
|
|
|
677
677
|
|
|
678
678
|
| Class | Applied to | Outcome |
|
|
679
679
|
| -- | -- | -- |
|
|
680
|
-
| `.pf-m-justify-content-flex-end{-on-[breakpoint]}` | `.pf-
|
|
681
|
-
| `.pf-m-justify-content-flex-space-between{-on-[breakpoint]}` | `.pf-
|
|
682
|
-
| `.pf-m-justify-content-flex-start{-on-[breakpoint]}` | `.pf-
|
|
680
|
+
| `.pf-m-justify-content-flex-end{-on-[breakpoint]}` | `.pf-v6-l-flex` | Modifies justification property and descendant spacing. |
|
|
681
|
+
| `.pf-m-justify-content-flex-space-between{-on-[breakpoint]}` | `.pf-v6-l-flex` | Modifies justification property and descendant spacing. |
|
|
682
|
+
| `.pf-m-justify-content-flex-start{-on-[breakpoint]}` | `.pf-v6-l-flex` | Modifies justification property and descendant spacing, used primarily to reset spacing to default. |
|
|
683
683
|
|
|
684
684
|
## Ordering
|
|
685
685
|
|
|
686
|
-
Ordering - Ordering can be applied to nested `.pf-
|
|
686
|
+
Ordering - Ordering can be applied to nested `.pf-v6-l-flex` and `.pf-v6-l-flex__item`s. Spacing may need to be managed based on how items are ordered. Because order could apply to an innumerable number of elements, order is set inline as `--pf-v5-l-flex--item--Order{-on-[breakpoint]}: {order}`.
|
|
687
687
|
|
|
688
688
|
### Basic ordering example
|
|
689
689
|
|
|
@@ -808,7 +808,7 @@ Ordering - Ordering can be applied to nested `.pf-v5-l-flex` and `.pf-v5-l-flex_
|
|
|
808
808
|
|
|
809
809
|
| Class | Applied to | Outcome |
|
|
810
810
|
| -- | -- | -- |
|
|
811
|
-
| `--pf-
|
|
811
|
+
| `--pf-v6-l-flex--item--Order{-on-[breakpoint]}: {order}` | `.pf-v6-l-flex > .pf-v5-l-flex`, `.pf-v6-l-flex__item` | Modifies the flex layout element order property. |
|
|
812
812
|
|
|
813
813
|
## Flex layout as list
|
|
814
814
|
|
|
@@ -828,56 +828,56 @@ Ordering - Ordering can be applied to nested `.pf-v5-l-flex` and `.pf-v5-l-flex_
|
|
|
828
828
|
|
|
829
829
|
| Class | Applied to | Outcome |
|
|
830
830
|
| -- | -- | -- |
|
|
831
|
-
| `.pf-
|
|
832
|
-
| `.pf-
|
|
833
|
-
| `.pf-m-flex{-on-[breakpoint]}` | `.pf-
|
|
834
|
-
| `.pf-m-inline-flex{-on-[breakpoint]}` | `.pf-
|
|
835
|
-
| `.pf-m-grow{-on-[breakpoint]}` | `.pf-
|
|
836
|
-
| `.pf-m-shrink{-on-[breakpoint]}` | `.pf-
|
|
837
|
-
| `.pf-m-full-width{-on-[breakpoint]}` | `.pf-
|
|
838
|
-
| `.pf-m-flex-1{-on-[breakpoint]}` | `.pf-
|
|
839
|
-
| `.pf-m-flex-2{-on-[breakpoint]}` | `.pf-
|
|
840
|
-
| `.pf-m-flex-3{-on-[breakpoint]}` | `.pf-
|
|
841
|
-
| `.pf-m-flex-4{-on-[breakpoint]}` | `.pf-
|
|
842
|
-
| `.pf-m-flex-default{-on-[breakpoint]}` | `.pf-
|
|
843
|
-
| `.pf-m-flex-none{-on-[breakpoint]}` | `.pf-
|
|
844
|
-
| `.pf-m-column-reverse{-on-[breakpoint]}` | `.pf-
|
|
845
|
-
| `.pf-m-row-reverse{-on-[breakpoint]}` | `.pf-
|
|
846
|
-
| `.pf-m-wrap{-on-[breakpoint]}` | `.pf-
|
|
847
|
-
| `.pf-m-wrap-reverse{-on-[breakpoint]}` | `.pf-
|
|
848
|
-
| `.pf-m-nowrap{-on-[breakpoint]}` | `.pf-
|
|
849
|
-
| `.pf-m-justify-content-flex-start{-on-[breakpoint]}` | `.pf-
|
|
850
|
-
| `.pf-m-justify-content-flex-end{-on-[breakpoint]}` | `.pf-
|
|
851
|
-
| `.pf-m-justify-content-center{-on-[breakpoint]}` | `.pf-
|
|
852
|
-
| `.pf-m-justify-content-space-between{-on-[breakpoint]}` | `.pf-
|
|
853
|
-
| `.pf-m-justify-content-space-around{-on-[breakpoint]}` | `.pf-
|
|
854
|
-
| `.pf-m-justify-content-space-evenly{-on-[breakpoint]}` | `.pf-
|
|
855
|
-
| `.pf-m-align-items-flex-start{-on-[breakpoint]}` | `.pf-
|
|
856
|
-
| `.pf-m-align-items-flex-end{-on-[breakpoint]}` | `.pf-
|
|
857
|
-
| `.pf-m-align-items-center{-on-[breakpoint]}` | `.pf-
|
|
858
|
-
| `.pf-m-align-items-stretch{-on-[breakpoint]}` | `.pf-
|
|
859
|
-
| `.pf-m-align-items-baseline{-on-[breakpoint]}` | `.pf-
|
|
860
|
-
| `.pf-m-align-content-flex-start{-on-[breakpoint]}` | `.pf-
|
|
861
|
-
| `.pf-m-align-content-flex-end{-on-[breakpoint]}` | `.pf-
|
|
862
|
-
| `.pf-m-align-content-center{-on-[breakpoint]}` | `.pf-
|
|
863
|
-
| `.pf-m-align-content-stretch{-on-[breakpoint]}` | `.pf-
|
|
864
|
-
| `.pf-m-align-content-space-between{-on-[breakpoint]}` | `.pf-
|
|
865
|
-
| `.pf-m-align-content-space-around{-on-[breakpoint]}` | `.pf-
|
|
866
|
-
| `.pf-m-align-left{-on-[breakpoint]}` | `.pf-
|
|
867
|
-
| `.pf-m-align-right{-on-[breakpoint]}` | `.pf-
|
|
868
|
-
| `--pf-
|
|
831
|
+
| `.pf-v6-l-flex` | `*` | Initiates the flex layout. **Required** |
|
|
832
|
+
| `.pf-v6-l-flex__item` | `.pf-v6-l-flex > *` | Initiates a flex item. **Required** |
|
|
833
|
+
| `.pf-m-flex{-on-[breakpoint]}` | `.pf-v6-l-flex` | Initializes or resets the flex layout display property to flex. |
|
|
834
|
+
| `.pf-m-inline-flex{-on-[breakpoint]}` | `.pf-v6-l-flex` | Modifies the flex layout display property to inline-flex. |
|
|
835
|
+
| `.pf-m-grow{-on-[breakpoint]}` | `.pf-v6-l-flex > .pf-v5-l-flex`, `.pf-v6-l-flex__item` | Modifies a nested flex layout or flex item flex-grow property to 1. |
|
|
836
|
+
| `.pf-m-shrink{-on-[breakpoint]}` | `.pf-v6-l-flex > .pf-v5-l-flex`, `.pf-v6-l-flex__item` | Modifies a nested flex layout or flex item flex-shrink property to 1. |
|
|
837
|
+
| `.pf-m-full-width{-on-[breakpoint]}` | `.pf-v6-l-flex > .pf-v5-l-flex`, `.pf-v6-l-flex__item` | Modifies a nested flex layout or flex item flex item to full width of parent. |
|
|
838
|
+
| `.pf-m-flex-1{-on-[breakpoint]}` | `.pf-v6-l-flex > .pf-v5-l-flex`, `.pf-v6-l-flex__item` | Modifies a nested flex layout or flex item flex shorthand property to 1 0 0. |
|
|
839
|
+
| `.pf-m-flex-2{-on-[breakpoint]}` | `.pf-v6-l-flex > .pf-v5-l-flex`, `.pf-v6-l-flex__item` | Modifies a nested flex layout or flex item flex shorthand property to 2 0 0. |
|
|
840
|
+
| `.pf-m-flex-3{-on-[breakpoint]}` | `.pf-v6-l-flex > .pf-v5-l-flex`, `.pf-v6-l-flex__item` | Modifies a nested flex layout or flex item flex shorthand property to 3 0 0. |
|
|
841
|
+
| `.pf-m-flex-4{-on-[breakpoint]}` | `.pf-v6-l-flex > .pf-v5-l-flex`, `.pf-v6-l-flex__item` | Modifies a nested flex layout or flex item flex shorthand property to 4 0 0. |
|
|
842
|
+
| `.pf-m-flex-default{-on-[breakpoint]}` | `.pf-v6-l-flex > .pf-v5-l-flex`, `.pf-v6-l-flex__item` | Resets a nested flex layout or flex item flex shorthand property to 0 1 auto. |
|
|
843
|
+
| `.pf-m-flex-none{-on-[breakpoint]}` | `.pf-v6-l-flex > .pf-v5-l-flex`, `.pf-v6-l-flex__item` | Modifies a nested flex layout or flex item flex shorthand property to none. |
|
|
844
|
+
| `.pf-m-column-reverse{-on-[breakpoint]}` | `.pf-v6-l-flex` | Modifies the flex layout flex-direction property to column-reverse. |
|
|
845
|
+
| `.pf-m-row-reverse{-on-[breakpoint]}` | `.pf-v6-l-flex` | Modifies the flex layout flex-direction property to row-reverse. |
|
|
846
|
+
| `.pf-m-wrap{-on-[breakpoint]}` | `.pf-v6-l-flex` | Modifies the flex layout flex-wrap property to wrap. |
|
|
847
|
+
| `.pf-m-wrap-reverse{-on-[breakpoint]}` | `.pf-v6-l-flex` | Modifies the flex layout flex-wrap property to wrap-reverse. |
|
|
848
|
+
| `.pf-m-nowrap{-on-[breakpoint]}` | `.pf-v6-l-flex` | Modifies the flex layout flex-wrap property to nowrap. |
|
|
849
|
+
| `.pf-m-justify-content-flex-start{-on-[breakpoint]}` | `.pf-v6-l-flex` | Modifies the flex layout justify-content property to flex-start. |
|
|
850
|
+
| `.pf-m-justify-content-flex-end{-on-[breakpoint]}` | `.pf-v6-l-flex` | Modifies the flex layout justify-content property to flex-end. |
|
|
851
|
+
| `.pf-m-justify-content-center{-on-[breakpoint]}` | `.pf-v6-l-flex` | Modifies the flex layout justify-content property to center. |
|
|
852
|
+
| `.pf-m-justify-content-space-between{-on-[breakpoint]}` | `.pf-v6-l-flex` | Modifies the flex layout justify-content property to space-between. |
|
|
853
|
+
| `.pf-m-justify-content-space-around{-on-[breakpoint]}` | `.pf-v6-l-flex` | Modifies the flex layout justify-content property to space-around. |
|
|
854
|
+
| `.pf-m-justify-content-space-evenly{-on-[breakpoint]}` | `.pf-v6-l-flex` | Modifies the flex layout justify-content property to space-evenly. |
|
|
855
|
+
| `.pf-m-align-items-flex-start{-on-[breakpoint]}` | `.pf-v6-l-flex` | Modifies the flex layout align-items property to flex-start. |
|
|
856
|
+
| `.pf-m-align-items-flex-end{-on-[breakpoint]}` | `.pf-v6-l-flex` | Modifies the flex layout align-items property to flex-end. |
|
|
857
|
+
| `.pf-m-align-items-center{-on-[breakpoint]}` | `.pf-v6-l-flex` | Modifies the flex layout align-items property to center. |
|
|
858
|
+
| `.pf-m-align-items-stretch{-on-[breakpoint]}` | `.pf-v6-l-flex` | Modifies the flex layout align-items property to stretch. |
|
|
859
|
+
| `.pf-m-align-items-baseline{-on-[breakpoint]}` | `.pf-v6-l-flex` | Modifies the flex layout align-items property to baseline. |
|
|
860
|
+
| `.pf-m-align-content-flex-start{-on-[breakpoint]}` | `.pf-v6-l-flex` | Modifies the flex layout align-content property to flex-start. |
|
|
861
|
+
| `.pf-m-align-content-flex-end{-on-[breakpoint]}` | `.pf-v6-l-flex` | Modifies the flex layout align-content property to flex-end. |
|
|
862
|
+
| `.pf-m-align-content-center{-on-[breakpoint]}` | `.pf-v6-l-flex` | Modifies the flex layout align-content property to center. |
|
|
863
|
+
| `.pf-m-align-content-stretch{-on-[breakpoint]}` | `.pf-v6-l-flex` | Modifies the flex layout align-content property to stretch. |
|
|
864
|
+
| `.pf-m-align-content-space-between{-on-[breakpoint]}` | `.pf-v6-l-flex` | Modifies the flex layout align-content property to space-between. |
|
|
865
|
+
| `.pf-m-align-content-space-around{-on-[breakpoint]}` | `.pf-v6-l-flex` | Modifies the flex layout align-content property to space-around. |
|
|
866
|
+
| `.pf-m-align-left{-on-[breakpoint]}` | `.pf-v6-l-flex > .pf-v5-l-flex`, `.pf-v6-l-flex__item` | Resets the flex layout element margin-inline-start property to 0. |
|
|
867
|
+
| `.pf-m-align-right{-on-[breakpoint]}` | `.pf-v6-l-flex > .pf-v5-l-flex`, `.pf-v6-l-flex__item` | Modifies the flex layout element margin-inline-start property to auto. |
|
|
868
|
+
| `--pf-v6-l-flex--item--Order{-on-[breakpoint]}: {order}` | `.pf-v6-l-flex > .pf-v5-l-flex`, `.pf-v6-l-flex__item` | Modifies the flex layout element order property. |
|
|
869
869
|
|
|
870
870
|
### Spacer system usage
|
|
871
871
|
|
|
872
872
|
| Class | Applied to | Outcome |
|
|
873
873
|
| -- | -- | -- |
|
|
874
|
-
| `.pf-m-space-items-{none, xs, sm, md, lg, xl, 2xl, 3xl, 4xl}{-on-[breakpoint]}` | `.pf-
|
|
875
|
-
| `.pf-m-spacer-{none, xs, sm, md, lg, xl, 2xl, 3xl, 4xl}{-on-[breakpoint]}` | `.pf-
|
|
874
|
+
| `.pf-m-space-items-{none, xs, sm, md, lg, xl, 2xl, 3xl, 4xl}{-on-[breakpoint]}` | `.pf-v6-l-flex` | Modifies the flex layout to add space between items on the main axis. |
|
|
875
|
+
| `.pf-m-spacer-{none, xs, sm, md, lg, xl, 2xl, 3xl, 4xl}{-on-[breakpoint]}` | `.pf-v6-l-flex`, `.pf-v6-l-flex > .pf-v5-l-flex__item` | Modifies the spacer for any direct child along the main axis of a flex layout. |
|
|
876
876
|
|
|
877
877
|
### Gap spacing usage
|
|
878
878
|
|
|
879
879
|
| Class | Applied to | Outcome |
|
|
880
880
|
| -- | -- | -- |
|
|
881
|
-
| `.pf-m-gap{-[none, xs, sm, md, lg, xl, 2xl, 3xl, 4xl]}{-on-[breakpoint]}` | `.pf-
|
|
882
|
-
| `.pf-m-row-gap{-[none, xs, sm, md, lg, xl, 2xl, 3xl, 4xl]}{-on-[breakpoint]}` | `.pf-
|
|
883
|
-
| `.pf-m-column-gap{-[none, xs, sm, md, lg, xl, 2xl, 3xl, 4xl]}{-on-[breakpoint]}` | `.pf-
|
|
881
|
+
| `.pf-m-gap{-[none, xs, sm, md, lg, xl, 2xl, 3xl, 4xl]}{-on-[breakpoint]}` | `.pf-v6-l-flex` | Modifies the space between columns and rows. |
|
|
882
|
+
| `.pf-m-row-gap{-[none, xs, sm, md, lg, xl, 2xl, 3xl, 4xl]}{-on-[breakpoint]}` | `.pf-v6-l-flex` | Modifies the space between rows. |
|
|
883
|
+
| `.pf-m-column-gap{-[none, xs, sm, md, lg, xl, 2xl, 3xl, 4xl]}{-on-[breakpoint]}` | `.pf-v6-l-flex` | Modifies the space between columns. |
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
id: Gallery
|
|
3
3
|
section: layouts
|
|
4
|
-
cssPrefix: pf-
|
|
4
|
+
cssPrefix: pf-v6-l-gallery
|
|
5
5
|
---import './Gallery.css'
|
|
6
6
|
|
|
7
7
|
## Examples
|
|
@@ -171,8 +171,8 @@ The gallery layout is designed so that all of its children are of uniform size,
|
|
|
171
171
|
|
|
172
172
|
| Class | Applied to | Outcome |
|
|
173
173
|
| -- | -- | -- |
|
|
174
|
-
| `.pf-
|
|
175
|
-
| `.pf-
|
|
176
|
-
| `.pf-m-gutter` | `.pf-
|
|
177
|
-
| `--pf-
|
|
178
|
-
| `--pf-
|
|
174
|
+
| `.pf-v6-l-gallery` | `<div>` | Initializes a Gallery layout |
|
|
175
|
+
| `.pf-v6-l-gallery__item` | `<div>` | Explicitly sets the child for the gallery. This class isn't necessary, but it is included to keep inline with BEM convention, and to provide an entity that will later be used for applying modifiers. |
|
|
176
|
+
| `.pf-m-gutter` | `.pf-v6-l-gallery` | Adds space between children by using the globally defined gutter value. |
|
|
177
|
+
| `--pf-v6-l-gallery--GridTemplateColumns--min{-on-[breakpoint]}: {width}` | `.pf-v6-l-gallery` | Modifies the min value of `grid-template-columns` declaration at the optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
|
|
178
|
+
| `--pf-v6-l-gallery--GridTemplateColumns--max{-on-[breakpoint]}: {width}` | `.pf-v6-l-gallery` | Modifies the max value of `grid-template-columns` declaration at the optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
id: Grid
|
|
3
3
|
section: layouts
|
|
4
|
-
cssPrefix: pf-
|
|
4
|
+
cssPrefix: pf-v6-l-grid
|
|
5
5
|
---import './Grid.css'
|
|
6
6
|
|
|
7
7
|
## Examples
|
|
@@ -315,10 +315,10 @@ The grid layout is based on CSS Grid’s two-dimensional system of columns and r
|
|
|
315
315
|
|
|
316
316
|
| Class | Applied to | Outcome |
|
|
317
317
|
| -- | -- | -- |
|
|
318
|
-
| `.pf-
|
|
319
|
-
| `.pf-
|
|
320
|
-
| `.pf-m-gutter` | `.pf-
|
|
321
|
-
| `.pf-m-all-{1-12}-col{-on-[breakpoint]}` | `.pf-
|
|
322
|
-
| `.pf-m-{1-12}-col{-on-[breakpoint]}` | `.pf-
|
|
323
|
-
| `.pf-m-{2-x}-row{-on-[breakpoint]}` | `.pf-
|
|
324
|
-
| `--pf-
|
|
318
|
+
| `.pf-v6-l-grid` | `<div>` | Initializes the grid layout. |
|
|
319
|
+
| `.pf-v6-l-grid__item` | `<div>` | Explicitly sets a child of the grid. This class isn't necessary, but it is included to keep inline with BEM convention, and to provide an entity that will later be used for applying modifiers. |
|
|
320
|
+
| `.pf-m-gutter` | `.pf-v6-l-grid` | Adds space between children by using the globally defined gutter value. |
|
|
321
|
+
| `.pf-m-all-{1-12}-col{-on-[breakpoint]}` | `.pf-v6-l-grid` | Defines grid item size on grid container at optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
|
|
322
|
+
| `.pf-m-{1-12}-col{-on-[breakpoint]}` | `.pf-v6-l-grid__item` | Defines grid item size at optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). Although not required, they are strongly suggested. If not used, grid item will default to 12 col. |
|
|
323
|
+
| `.pf-m-{2-x}-row{-on-[breakpoint]}` | `.pf-v6-l-grid__item` | Defines grid item row span at optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). For row spans to function correctly, the value of of the current row plus the grid items to span must be equal to or less than 12. Example: .pf-m-8-col.pf-m-2-row + .pf-m-4-col + .pf-m-4-col. There is no limit to number of spanned rows. |
|
|
324
|
+
| `--pf-v6-l-grid--item--Order{-on-[breakpoint]}: {order}` | `.pf-v6-l-grid > .pf-v5-l-grid`, `.pf-v6-l-grid__item` | Modifies the order of the grid layout element at optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
id: Level
|
|
3
3
|
section: layouts
|
|
4
|
-
cssPrefix: pf-
|
|
4
|
+
cssPrefix: pf-v6-l-level
|
|
5
5
|
---import './Level.css'
|
|
6
6
|
|
|
7
7
|
## Examples
|
|
@@ -48,6 +48,6 @@ The level layout is designed to distribute space between children evenly and cen
|
|
|
48
48
|
|
|
49
49
|
| Class | Applied to | Outcome |
|
|
50
50
|
| -- | -- | -- |
|
|
51
|
-
| `.pf-
|
|
52
|
-
| `.pf-
|
|
53
|
-
| `.pf-m-gutter` | `.pf-
|
|
51
|
+
| `.pf-v6-l-level` | `<div>`, `<section>`, or `<article>` | Initializes the level layout |
|
|
52
|
+
| `.pf-v6-l-level__item` | `<div>` | Explicitly sets a child of the level. This class isn't necessary, but it is included to keep inline with BEM convention, and to provide an entity that will later be used for applying modifiers. |
|
|
53
|
+
| `.pf-m-gutter` | `.pf-v6-l-level` | Adds space between children by using the globally defined gutter value. |
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
id: Split
|
|
3
3
|
section: layouts
|
|
4
|
-
cssPrefix: pf-
|
|
4
|
+
cssPrefix: pf-v6-l-split
|
|
5
5
|
---import './Split.css'
|
|
6
6
|
|
|
7
7
|
## Examples
|
|
@@ -60,8 +60,8 @@ The split layout is designed to position items horizontally, with one item filli
|
|
|
60
60
|
|
|
61
61
|
| Class | Applied to | Outcome |
|
|
62
62
|
| -- | -- | -- |
|
|
63
|
-
| `.pf-
|
|
64
|
-
| `.pf-
|
|
65
|
-
| `.pf-m-gutter` | `.pf-
|
|
66
|
-
| `.pf-m-wrap` | `.pf-
|
|
67
|
-
| `.pf-m-fill` | `.pf-
|
|
63
|
+
| `.pf-v6-l-split` | `<div>`, `<section>`, or `<article>` | Initiates the split layout. |
|
|
64
|
+
| `.pf-v6-l-split__item` | `<div>` | Initiates a split item. **Required** |
|
|
65
|
+
| `.pf-m-gutter` | `.pf-v6-l-split` | Adds space between children by using the globally defined gutter value. |
|
|
66
|
+
| `.pf-m-wrap` | `.pf-v6-l-split` | Sets the split layout to wrap. |
|
|
67
|
+
| `.pf-m-fill` | `.pf-v6-l-split__item` | Specifies which item(s) should fill the avaiable horizontal space. |
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
id: Stack
|
|
3
3
|
section: layouts
|
|
4
|
-
cssPrefix: pf-
|
|
4
|
+
cssPrefix: pf-v6-l-stack
|
|
5
5
|
---import './Stack.css'
|
|
6
6
|
|
|
7
7
|
## Examples
|
|
@@ -38,7 +38,7 @@ The stack layout is designed to position items vertically, with one item filling
|
|
|
38
38
|
|
|
39
39
|
| Class | Applied to | Outcome |
|
|
40
40
|
| -- | -- | -- |
|
|
41
|
-
| `.pf-
|
|
42
|
-
| `.pf-
|
|
43
|
-
| `.pf-m-gutter` | `.pf-
|
|
44
|
-
| `.pf-m-fill` | `.pf-
|
|
41
|
+
| `.pf-v6-l-stack` | `<div>`, `<section>`, or `<article>` | Initiates the stack layout. |
|
|
42
|
+
| `.pf-v6-l-stack__item` | `<div>` | Initiates a stack item. **Required** |
|
|
43
|
+
| `.pf-m-gutter` | `.pf-v6-l-stack` | Adds space between children by using the globally defined gutter value. |
|
|
44
|
+
| `.pf-m-fill` | `.pf-v6-l-stack__item` | Specifies which item(s) should fill the avaiable vertical space. |
|
|
@@ -40,5 +40,5 @@ The text underneath is hidden.
|
|
|
40
40
|
|
|
41
41
|
| Class | Applied to | Outcome |
|
|
42
42
|
| -- | -- | -- |
|
|
43
|
-
| `.pf-
|
|
44
|
-
| `.pf-
|
|
43
|
+
| `.pf-v6-u-screen-reader{-on-[breakpoint]}` | `*` | Visually hides element, but leaves accessible to assistive technologies |
|
|
44
|
+
| `.pf-v6-u-visible{-on-[breakpoint]}` | `*` | Unsets `.pf-v6-u-screen-reader` and `.pf-v6-screen-reader` |
|
|
@@ -29,7 +29,7 @@ section: utility-classes
|
|
|
29
29
|
|
|
30
30
|
| Class | Applied to | Outcome |
|
|
31
31
|
| -- | -- | -- |
|
|
32
|
-
| `.pf-
|
|
33
|
-
| `.pf-
|
|
34
|
-
| `.pf-
|
|
35
|
-
| `.pf-
|
|
32
|
+
| `.pf-v6-u-text-align-left{-on-[breakpoint]}` | `*` | Aligns text left |
|
|
33
|
+
| `.pf-v6-u-text-align-center{-on-[breakpoint]}` | `*` | Aligns text center |
|
|
34
|
+
| `.pf-v6-u-text-align-right{-on-[breakpoint]}` | `*` | Aligns text right |
|
|
35
|
+
| `.pf-v6-u-text-align-justify{-on-[breakpoint]}` | `*` | Aligns text justify |
|
|
@@ -85,13 +85,13 @@ Note that "inverse" background colors are labeled as such to indicate that they
|
|
|
85
85
|
|
|
86
86
|
| Class | Applied to | Outcome |
|
|
87
87
|
| --------------------------------- | ---------- | ---------------------------------- |
|
|
88
|
-
| `.pf-
|
|
89
|
-
| `.pf-
|
|
90
|
-
| `.pf-
|
|
91
|
-
| `.pf-
|
|
92
|
-
| `.pf-
|
|
93
|
-
| `.pf-
|
|
94
|
-
| `.pf-
|
|
95
|
-
| `.pf-
|
|
96
|
-
| `.pf-
|
|
97
|
-
| `.pf-
|
|
88
|
+
| `.pf-v6-u-background-color-{100, 200}{-on-[breakpoint]}` | `*` | Applies background color 100 or 200. |
|
|
89
|
+
| `.pf-v6-u-background-color-active-color-{100, 300}{-on-[breakpoint]}` | `*` | Applies background color active 100 or 300. |
|
|
90
|
+
| `.pf-v6-u-background-color-primary-color-200{-on-[breakpoint]}` | `*` | Applies background color primary 200. |
|
|
91
|
+
| `.pf-v6-u-background-color-dark-{100, 200, 300, 400}{-on-[breakpoint]}` | `*` | Applies background color dark 100, 200, 300, or 400. |
|
|
92
|
+
| `.pf-v6-u-background-color-disabled-color-{200, 300}{-on-[breakpoint]}` | `*` | Applies background color disabled 200 or 300. |
|
|
93
|
+
| `.pf-v6-u-background-color-default{-on-[breakpoint]}` | `*` | Applies the background color for the default state. |
|
|
94
|
+
| `.pf-v6-u-background-color-success{-on-[breakpoint]}` | `*` | Applies the background color for the success state. |
|
|
95
|
+
| `.pf-v6-u-background-color-info{-on-[breakpoint]}` | `*` | Applies the background color for the info state. |
|
|
96
|
+
| `.pf-v6-u-background-color-warning{-on-[breakpoint]}` | `*` | Applies the background color for the warning state. |
|
|
97
|
+
| `.pf-v6-u-background-color-danger{-on-[breakpoint]}` | `*` | Applies the background color for the danger state. |
|
|
@@ -66,23 +66,23 @@ Box shadow utility
|
|
|
66
66
|
|
|
67
67
|
| Class | Applied to | Outcome |
|
|
68
68
|
| -- | -- | -- |
|
|
69
|
-
| `.pf-
|
|
70
|
-
| `.pf-
|
|
71
|
-
| `.pf-
|
|
72
|
-
| `.pf-
|
|
73
|
-
| `.pf-
|
|
74
|
-
| `.pf-
|
|
75
|
-
| `.pf-
|
|
76
|
-
| `.pf-
|
|
77
|
-
| `.pf-
|
|
78
|
-
| `.pf-
|
|
79
|
-
| `.pf-
|
|
80
|
-
| `.pf-
|
|
81
|
-
| `.pf-
|
|
82
|
-
| `.pf-
|
|
83
|
-
| `.pf-
|
|
84
|
-
| `.pf-
|
|
85
|
-
| `.pf-
|
|
86
|
-
| `.pf-
|
|
87
|
-
| `.pf-
|
|
88
|
-
| `.pf-
|
|
69
|
+
| `.pf-v6-u-box-shadow-sm` | `*` | Applies box-shadow small. |
|
|
70
|
+
| `.pf-v6-u-box-shadow-sm-top` | `*` | Applies box-shadow small top. |
|
|
71
|
+
| `.pf-v6-u-box-shadow-sm-right` | `*` | Applies box-shadow small right. |
|
|
72
|
+
| `.pf-v6-u-box-shadow-sm-bottom` | `*` | Applies box-shadow small bottom. |
|
|
73
|
+
| `.pf-v6-u-box-shadow-sm-left` | `*` | Applies box-shadow small left. |
|
|
74
|
+
| `.pf-v6-u-box-shadow-md` | `*` | Applies box-shadow medium. |
|
|
75
|
+
| `.pf-v6-u-box-shadow-md-top` | `*` | Applies box-shadow medium top. |
|
|
76
|
+
| `.pf-v6-u-box-shadow-md-right` | `*` | Applies box-shadow medium right. |
|
|
77
|
+
| `.pf-v6-u-box-shadow-md-bottom` | `*` | Applies box-shadow medium bottom. |
|
|
78
|
+
| `.pf-v6-u-box-shadow-md-left` | `*` | Applies box-shadow medium left. |
|
|
79
|
+
| `.pf-v6-u-box-shadow-lg` | `*` | Applies box-shadow large. |
|
|
80
|
+
| `.pf-v6-u-box-shadow-lg-top` | `*` | Applies box-shadow large top. |
|
|
81
|
+
| `.pf-v6-u-box-shadow-lg-right` | `*` | Applies box-shadow large right. |
|
|
82
|
+
| `.pf-v6-u-box-shadow-lg-bottom` | `*` | Applies box-shadow large bottom. |
|
|
83
|
+
| `.pf-v6-u-box-shadow-lg-left` | `*` | Applies box-shadow large left. |
|
|
84
|
+
| `.pf-v6-u-box-shadow-xl` | `*` | Applies box-shadow x-large. |
|
|
85
|
+
| `.pf-v6-u-box-shadow-xl-top` | `*` | Applies box-shadow x-large top. |
|
|
86
|
+
| `.pf-v6-u-box-shadow-xl-right` | `*` | Applies box-shadow x-large right. |
|
|
87
|
+
| `.pf-v6-u-box-shadow-xl-bottom` | `*` | Applies box-shadow x-large bottom. |
|
|
88
|
+
| `.pf-v6-u-box-shadow-xl-left` | `*` | Applies box-shadow x-large left. |
|
|
@@ -82,12 +82,12 @@ section: utility-classes
|
|
|
82
82
|
|
|
83
83
|
| Class | Applied to | Outcome |
|
|
84
84
|
| -- | -- | -- |
|
|
85
|
-
| `.pf-
|
|
86
|
-
| `.pf-
|
|
87
|
-
| `.pf-
|
|
88
|
-
| `.pf-
|
|
89
|
-
| `.pf-
|
|
90
|
-
| `.pf-
|
|
91
|
-
| `.pf-
|
|
92
|
-
| `.pf-
|
|
93
|
-
| `.pf-
|
|
85
|
+
| `.pf-v6-u-display-inline-block{-on-[breakpoint]}` | `*` | Sets display: inline-block |
|
|
86
|
+
| `.pf-v6-u-display-block{-on-[breakpoint]}` | `*` | Sets display: block |
|
|
87
|
+
| `.pf-v6-u-display-inline{-on-[breakpoint]}` | `*` | Sets display: inline |
|
|
88
|
+
| `.pf-v6-u-display-flex{-on-[breakpoint]}` | `*` | Sets display: flex |
|
|
89
|
+
| `.pf-v6-u-display-inline-flex{-on-[breakpoint]}` | `*` | Sets display: inline-flex |
|
|
90
|
+
| `.pf-v6-u-display-table{-on-[breakpoint]}` | `*` | Sets display: table |
|
|
91
|
+
| `.pf-v6-u-display-table-row{-on-[breakpoint]}` | `*` | Sets display: table-row |
|
|
92
|
+
| `.pf-v6-u-display-table-cell{-on-[breakpoint]}` | `*` | Sets display: table-cell |
|
|
93
|
+
| `.pf-v6-u-display-none{-on-[breakpoint]}` | `*` | Sets display: none |
|
|
@@ -341,35 +341,35 @@ For these utilities to have effect, the parent element must be set to `display:
|
|
|
341
341
|
|
|
342
342
|
| Class | Applied to | Outcome |
|
|
343
343
|
| -- | -- | -- |
|
|
344
|
-
| `.pf-
|
|
345
|
-
| `.pf-
|
|
346
|
-
| `.pf-
|
|
347
|
-
| `.pf-
|
|
348
|
-
| `.pf-
|
|
349
|
-
| `.pf-
|
|
350
|
-
| `.pf-
|
|
351
|
-
| `.pf-
|
|
352
|
-
| `.pf-
|
|
353
|
-
| `.pf-
|
|
354
|
-
| `.pf-
|
|
355
|
-
| `.pf-
|
|
356
|
-
| `.pf-
|
|
357
|
-
| `.pf-
|
|
358
|
-
| `.pf-
|
|
359
|
-
| `.pf-
|
|
360
|
-
| `.pf-
|
|
361
|
-
| `.pf-
|
|
362
|
-
| `.pf-
|
|
363
|
-
| `.pf-
|
|
364
|
-
| `.pf-
|
|
365
|
-
| `.pf-
|
|
366
|
-
| `.pf-
|
|
367
|
-
| `.pf-
|
|
368
|
-
| `.pf-
|
|
369
|
-
| `.pf-
|
|
370
|
-
| `.pf-
|
|
371
|
-
| `.pf-
|
|
372
|
-
| `.pf-
|
|
373
|
-
| `.pf-
|
|
374
|
-
| `.pf-
|
|
375
|
-
| `.pf-
|
|
344
|
+
| `.pf-v6-u-flex-direction-row{-on-[breakpoint]}` | `*` | Sets flex-direction: row |
|
|
345
|
+
| `.pf-v6-u-flex-direction-row-reverse{-on-[breakpoint]}` | `*` | Sets flex-direction: row-reverse |
|
|
346
|
+
| `.pf-v6-u-flex-direction-column{-on-[breakpoint]}` | `*` | Sets flex-direction: column |
|
|
347
|
+
| `.pf-v6-u-flex-direction-column-reverse{-on-[breakpoint]}` | `*` | Sets flex-direction: column-reverse |
|
|
348
|
+
| `.pf-v6-u-justify-content-flex-start{-on-[breakpoint]}` | `*` | Sets justify-content: flex-start |
|
|
349
|
+
| `.pf-v6-u-justify-content-flex-end{-on-[breakpoint]}` | `*` | Sets justify-content: flex-end |
|
|
350
|
+
| `.pf-v6-u-justify-content-center{-on-[breakpoint]}` | `*` | Sets justify-content: center |
|
|
351
|
+
| `.pf-v6-u-justify-content-space-around{-on-[breakpoint]}` | `*` | Sets justify-content: space-around |
|
|
352
|
+
| `.pf-v6-u-justify-content-space-between{-on-[breakpoint]}` | `*` | Sets justify-content: space-between |
|
|
353
|
+
| `.pf-v6-u-align-items-flex-start{-on-[breakpoint]}` | `*` | Sets align-items: flex-start |
|
|
354
|
+
| `.pf-v6-u-align-items-flex-end{-on-[breakpoint]}` | `*` | Sets align-items: flex-start |
|
|
355
|
+
| `.pf-v6-u-align-items-center{-on-[breakpoint]}` | `*` | Sets align-items: center |
|
|
356
|
+
| `.pf-v6-u-align-items-baseline{-on-[breakpoint]}` | `*` | Sets align-items: baseline |
|
|
357
|
+
| `.pf-v6-u-align-items-stretch{-on-[breakpoint]}` | `*` | Sets align-items: stretch |
|
|
358
|
+
| `.pf-v6-u-align-self-flex-start{-on-[breakpoint]}` | `*` | Sets align-self: flex-start |
|
|
359
|
+
| `.pf-v6-u-align-self-flex-end{-on-[breakpoint]}` | `*` | Sets align-self: flex-end |
|
|
360
|
+
| `.pf-v6-u-align-self-center{-on-[breakpoint]}` | `*` | Sets align-self: center |
|
|
361
|
+
| `.pf-v6-u-align-self-baseline{-on-[breakpoint]}` | `*` | Sets align-self: baseline |
|
|
362
|
+
| `.pf-v6-u-align-self-stretch{-on-[breakpoint]}` | `*` | Sets align-self: stretch |
|
|
363
|
+
| `.pf-v6-u-align-content-flex-start{-on-[breakpoint]}` | `*` | Sets align-content: flex-start |
|
|
364
|
+
| `.pf-v6-u-align-content-flex-end{-on-[breakpoint]}` | `*` | Sets align-content: flex-end |
|
|
365
|
+
| `.pf-v6-u-align-content-center{-on-[breakpoint]}` | `*` | Sets align-content: center |
|
|
366
|
+
| `.pf-v6-u-align-content-space-between{-on-[breakpoint]}` | `*` | Sets align-content: space-between |
|
|
367
|
+
| `.pf-v6-u-align-content-space-around{-on-[breakpoint]}` | `*` | Sets align-content: space-around |
|
|
368
|
+
| `.pf-v6-u-align-content-stretch{-on-[breakpoint]}` | `*` | Sets align-content: stretch |
|
|
369
|
+
| `.pf-v6-u-flex-shrink{1 or 0}{-on-[breakpoint]}` | `*` | Sets flex-shrink to 1 or 0 |
|
|
370
|
+
| `.pf-v6-u-flex-grow{1 or 0}{-on-[breakpoint]}` | `*` | Sets flex-grow to 1 or 0 |
|
|
371
|
+
| `.pf-v6-u-flex-basis{0 or auto}{-on-[breakpoint]}` | `*` | Sets flex-basis to 0 auto |
|
|
372
|
+
| `.pf-v6-u-flex-fill{-on-[breakpoint]}` | `*` | Sets flex to 1 1 auto |
|
|
373
|
+
| `.pf-v6-u-flex-wrap{-on-[breakpoint]}` | `*` | sets flex-wrap: wrap |
|
|
374
|
+
| `.pf-v6-u-flex-nowrap{-on-[breakpoint]}` | `*` | sets flex-wrap: nowrap |
|
|
375
|
+
| `.pf-v6-u-flex-wrap-reverse{-on-[breakpoint]}` | `*` | sets flex-wrap: wrap-reverse |
|
|
@@ -24,5 +24,5 @@ section: utility-classes
|
|
|
24
24
|
|
|
25
25
|
| Class | Applied to | Outcome |
|
|
26
26
|
| -- | -- | -- |
|
|
27
|
-
| `.pf-
|
|
28
|
-
| `.pf-
|
|
27
|
+
| `.pf-v6-u-float-left{-on-[breakpoint]}` | `*` | Float element left |
|
|
28
|
+
| `.pf-v6-u-float-right{-on-[breakpoint]}` | `*` | Float element right |
|