@patternfly/patternfly 6.0.0-alpha.9 → 6.0.0-alpha.90
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/CODE_OF_CONDUCT.md +1 -2
- package/assets/images/PF-Backdrop.svg +1 -0
- package/assets/images/PF-HorizontalLogo-Color.svg +29 -0
- package/assets/images/PF-HorizontalLogo-Reverse.svg +28 -0
- package/assets/images/PF-IconLogo-Reverse.svg +14 -0
- package/assets/images/PF-IconLogo-color.svg +17 -0
- package/assets/images/PF-IconLogo.svg +17 -0
- package/assets/images/logo__pf--reverse-on-md.svg +1 -1
- package/assets/images/pf-background.svg +22 -0
- package/assets/images/pf-c-brand__logo-on-lg-white.svg +32 -0
- package/assets/images/pf-c-brand__logo-on-md-white.svg +42 -0
- package/assets/images/pf-c-brand__logo-on-sm-white.svg +17 -0
- package/assets/images/pf-c-brand__logo-on-sm.svg +1 -1
- package/assets/images/pf-c-brand__logo-on-xl-white.svg +39 -0
- package/assets/images/pf_logo_white.hbs +35 -0
- package/assets/images/pf_logo_white.svg +38 -0
- package/base/_common.scss +8 -4
- package/base/_globals.scss +4 -6
- package/base/_variables.scss +2 -7
- package/base/patternfly-common.css +8 -4
- package/base/patternfly-globals.css +4 -3
- package/base/patternfly-variables.css +1005 -856
- package/base/tokens/_tokens-charts.scss +159 -0
- package/base/tokens/_tokens-dark.scss +319 -290
- package/base/tokens/_tokens-default.scss +485 -329
- package/base/tokens/_tokens-font.scss +122 -58
- package/base/tokens/_tokens-palette.scss +71 -71
- package/base/tokens/_workspace-overrides.scss +7 -0
- package/components/AboutModalBox/about-modal-box.css +57 -94
- package/components/AboutModalBox/about-modal-box.scss +37 -62
- package/components/Accordion/accordion.css +85 -177
- package/components/Accordion/accordion.scss +96 -195
- package/components/ActionList/action-list.css +18 -17
- package/components/ActionList/action-list.scss +26 -16
- package/components/Alert/alert-group.css +20 -16
- package/components/Alert/alert-group.scss +20 -16
- package/components/Alert/alert.css +59 -84
- package/components/Alert/alert.scss +62 -78
- package/components/Avatar/avatar.css +10 -13
- package/components/Avatar/avatar.scss +10 -17
- package/components/BackToTop/back-to-top.css +17 -16
- package/components/BackToTop/back-to-top.scss +12 -12
- package/components/Backdrop/backdrop.css +6 -2
- package/components/Backdrop/backdrop.scss +5 -2
- package/components/BackgroundImage/background-image.css +5 -1
- package/components/BackgroundImage/background-image.scss +5 -1
- package/components/Badge/badge.css +23 -15
- package/components/Badge/badge.scss +25 -17
- package/components/Banner/banner.css +90 -64
- package/components/Banner/banner.scss +95 -32
- package/components/Breadcrumb/breadcrumb.css +27 -16
- package/components/Breadcrumb/breadcrumb.scss +27 -18
- package/components/Button/button.css +398 -354
- package/components/Button/button.scss +455 -477
- package/components/CalendarMonth/calendar-month.css +61 -92
- package/components/CalendarMonth/calendar-month.scss +68 -63
- package/components/Card/card.css +100 -194
- package/components/Card/card.scss +121 -237
- package/components/Check/check.css +24 -21
- package/components/Check/check.scss +25 -23
- package/components/ClipboardCopy/clipboard-copy.css +30 -33
- package/components/ClipboardCopy/clipboard-copy.scss +34 -26
- package/components/CodeBlock/code-block.css +22 -9
- package/components/CodeBlock/code-block.scss +22 -10
- package/components/CodeEditor/code-editor.css +94 -72
- package/components/CodeEditor/code-editor.scss +104 -82
- package/components/Content/content.css +7 -7
- package/components/Content/content.scss +7 -7
- package/components/DataList/data-list.css +101 -158
- package/components/DataList/data-list.scss +95 -154
- package/components/DatePicker/date-picker.css +13 -14
- package/components/DatePicker/date-picker.scss +12 -16
- package/components/DescriptionList/description-list.css +39 -34
- package/components/DescriptionList/description-list.scss +25 -25
- package/components/Divider/divider.css +91 -169
- package/components/Divider/divider.scss +60 -77
- package/components/DragDrop/drag-drop.css +18 -14
- package/components/DragDrop/drag-drop.scss +18 -17
- package/components/Drawer/drawer.css +112 -113
- package/components/Drawer/drawer.scss +134 -134
- package/components/Dropdown/dropdown.css +1 -3
- package/components/Dropdown/dropdown.scss +2 -6
- package/components/DualListSelector/dual-list-selector.css +54 -51
- package/components/DualListSelector/dual-list-selector.scss +55 -54
- package/components/EmptyState/empty-state.css +57 -34
- package/components/EmptyState/empty-state.scss +63 -34
- package/components/ExpandableSection/expandable-section.css +64 -62
- package/components/ExpandableSection/expandable-section.scss +73 -76
- package/components/FileUpload/file-upload.css +28 -34
- package/components/FileUpload/file-upload.scss +30 -42
- package/components/Form/form.css +66 -116
- package/components/Form/form.scss +63 -128
- package/components/FormControl/form-control.css +86 -111
- package/components/FormControl/form-control.scss +88 -92
- package/components/HelperText/helper-text.css +28 -34
- package/components/HelperText/helper-text.scss +30 -40
- package/components/Hint/hint.css +28 -21
- package/components/Hint/hint.scss +28 -24
- package/components/Icon/icon.css +154 -18
- package/components/Icon/icon.scss +187 -20
- package/components/InlineEdit/inline-edit.css +8 -7
- package/components/InlineEdit/inline-edit.scss +8 -7
- package/components/InputGroup/input-group.css +22 -38
- package/components/InputGroup/input-group.scss +21 -29
- package/components/JumpLinks/jump-links.css +34 -34
- package/components/JumpLinks/jump-links.scss +35 -36
- package/components/Label/label-group.css +39 -44
- package/components/Label/label-group.scss +39 -45
- package/components/Label/label.css +378 -355
- package/components/Label/label.scss +431 -348
- package/components/List/list.css +16 -16
- package/components/List/list.scss +17 -17
- package/components/Login/login.css +68 -112
- package/components/Login/login.scss +54 -82
- package/components/Masthead/masthead.css +261 -502
- package/components/Masthead/masthead.scss +123 -286
- package/components/Menu/menu.css +388 -417
- package/components/Menu/menu.scss +370 -525
- package/components/MenuToggle/menu-toggle.css +223 -276
- package/components/MenuToggle/menu-toggle.scss +322 -390
- package/components/ModalBox/modal-box.css +59 -52
- package/components/ModalBox/modal-box.scss +57 -53
- package/components/MultipleFileUpload/multiple-file-upload.css +77 -50
- package/components/MultipleFileUpload/multiple-file-upload.scss +82 -53
- package/components/Nav/nav.css +240 -918
- package/components/Nav/nav.scss +300 -1082
- package/components/NotificationBadge/notification-badge.css +4 -4
- package/components/NotificationBadge/notification-badge.scss +4 -4
- package/components/NotificationDrawer/notification-drawer.css +104 -115
- package/components/NotificationDrawer/notification-drawer.scss +106 -116
- package/components/NumberInput/number-input.css +8 -8
- package/components/NumberInput/number-input.scss +7 -12
- package/components/OverflowMenu/overflow-menu.css +17 -47
- package/components/OverflowMenu/overflow-menu.scss +27 -65
- package/components/Page/page.css +56 -164
- package/components/Page/page.scss +60 -154
- package/components/Pagination/pagination.css +57 -124
- package/components/Pagination/pagination.scss +40 -128
- package/components/Panel/panel.css +27 -23
- package/components/Panel/panel.scss +29 -26
- package/components/Popover/popover.css +42 -53
- package/components/Popover/popover.scss +46 -55
- package/components/Progress/progress.css +31 -45
- package/components/Progress/progress.scss +36 -55
- package/components/ProgressStepper/progress-stepper.css +72 -69
- package/components/ProgressStepper/progress-stepper.scss +65 -65
- package/components/Radio/radio.css +27 -20
- package/components/Radio/radio.scss +28 -22
- package/components/Sidebar/sidebar.css +20 -9
- package/components/Sidebar/sidebar.scss +23 -11
- package/components/SimpleList/simple-list.css +32 -52
- package/components/SimpleList/simple-list.scss +37 -51
- package/components/Skeleton/skeleton.css +18 -20
- package/components/Skeleton/skeleton.scss +17 -21
- package/components/SkipToContent/skip-to-content.css +6 -3
- package/components/SkipToContent/skip-to-content.scss +8 -6
- package/components/Slider/slider.css +34 -30
- package/components/Slider/slider.scss +46 -43
- package/components/Spinner/spinner.css +17 -34
- package/components/Spinner/spinner.scss +19 -47
- package/components/Switch/switch.css +42 -38
- package/components/Switch/switch.scss +48 -43
- package/components/TabContent/tab-content.css +17 -11
- package/components/TabContent/tab-content.scss +18 -14
- package/components/Table/table-grid.css +31 -47
- package/components/Table/table-grid.scss +42 -55
- package/components/Table/table-scrollable.css +6 -6
- package/components/Table/table-scrollable.scss +8 -8
- package/components/Table/table-tree-view.css +81 -74
- package/components/Table/table-tree-view.scss +53 -39
- package/components/Table/table.css +159 -264
- package/components/Table/table.scss +216 -351
- package/components/Tabs/tabs.css +142 -175
- package/components/Tabs/tabs.scss +158 -218
- package/components/TextInputGroup/text-input-group.css +0 -14
- package/components/TextInputGroup/text-input-group.scss +3 -16
- package/components/Tile/tile.css +40 -81
- package/components/Tile/tile.scss +38 -84
- package/components/Timestamp/timestamp.css +12 -9
- package/components/Timestamp/timestamp.scss +11 -10
- package/components/Title/title.css +70 -19
- package/components/Title/title.scss +90 -20
- package/components/ToggleGroup/toggle-group.css +54 -48
- package/components/ToggleGroup/toggle-group.scss +62 -50
- package/components/Toolbar/toolbar.css +2527 -1031
- package/components/Toolbar/toolbar.scss +233 -520
- package/components/Tooltip/tooltip.css +16 -18
- package/components/Tooltip/tooltip.scss +20 -24
- package/components/TreeView/tree-view.css +76 -97
- package/components/TreeView/tree-view.scss +82 -113
- package/components/Truncate/truncate.css +4 -0
- package/components/Truncate/truncate.scss +3 -0
- package/components/Wizard/wizard.css +122 -205
- package/components/Wizard/wizard.scss +121 -181
- package/docs/components/AboutModalBox/examples/AboutModalBox.md +2 -2
- package/docs/components/Accordion/examples/Accordion.md +614 -416
- package/docs/components/ActionList/examples/ActionList.md +73 -22
- package/docs/components/Alert/examples/Alert.md +3 -3
- package/docs/components/Avatar/examples/Avatar.md +5 -19
- package/docs/components/BackgroundImage/examples/BackgroundImage.md +1 -1
- package/docs/components/Badge/examples/Badge.md +21 -0
- package/docs/components/Banner/examples/Banner.md +48 -25
- package/docs/components/Brand/examples/Brand.css +12 -0
- package/docs/components/Brand/examples/Brand.md +51 -32
- package/docs/components/Breadcrumb/examples/Breadcrumb.md +1 -1
- package/docs/components/Button/examples/Button.css +4 -0
- package/docs/components/Button/examples/Button.md +1439 -113
- package/docs/components/CalendarMonth/examples/CalendarMonth.md +44 -220
- package/docs/components/Card/examples/Card.md +550 -133
- package/docs/components/Check/examples/Check.md +1 -0
- package/docs/components/CodeBlock/examples/CodeBlock.md +4 -4
- package/docs/components/CodeEditor/examples/CodeEditor.md +144 -132
- package/docs/components/Content/examples/Content.md +5 -5
- package/docs/components/DatePicker/examples/DatePicker.md +5 -2
- package/docs/components/Divider/examples/Divider.css +3 -1
- package/docs/components/Divider/examples/Divider.md +30 -5
- package/docs/components/DragDrop/examples/DragDrop.css +1 -1
- package/docs/components/Drawer/examples/Drawer.md +294 -256
- package/docs/components/DualListSelector/examples/DualListSelector.md +18 -18
- package/docs/components/EmptyState/examples/EmptyState.md +45 -1
- package/docs/components/ExpandableSection/examples/ExpandableSection.md +49 -28
- package/docs/components/FileUpload/examples/FileUpload.md +112 -53
- package/docs/components/Form/examples/Form.md +134 -89
- package/docs/components/Icon/examples/Icon.md +82 -11
- package/docs/components/InlineEdit/examples/InlineEdit.md +3 -1
- package/docs/components/JumpLinks/examples/JumpLinks.md +280 -168
- package/docs/components/Label/examples/Label.css +4 -0
- package/docs/components/Label/examples/Label.md +3090 -703
- package/docs/components/LogViewer/examples/LogViewer.md +100 -80
- package/docs/components/Login/examples/Login.md +160 -105
- package/docs/components/Masthead/examples/masthead.md +443 -65
- package/docs/components/Menu/examples/Menu.css +7 -11
- package/docs/components/Menu/examples/Menu.md +213 -486
- package/docs/components/MenuToggle/examples/MenuToggle.md +253 -224
- package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +9 -9
- package/docs/components/Nav/examples/Navigation.css +1 -23
- package/docs/components/Nav/examples/Navigation.md +69 -243
- package/docs/components/Page/examples/Page.css +0 -8
- package/docs/components/Page/examples/Page.md +22 -21
- package/docs/components/Pagination/examples/Pagination.md +663 -637
- package/docs/components/Panel/examples/Panel.md +12 -0
- package/docs/components/Popover/examples/Popover.md +1 -1
- package/docs/components/ProgressStepper/examples/ProgressStepper.md +15 -14
- package/docs/components/Radio/examples/Radio.md +1 -1
- package/docs/components/Sidebar/examples/Sidebar.md +19 -0
- package/docs/components/SimpleList/examples/SimpleList.md +3 -3
- package/docs/components/TabContent/examples/TabContent.md +10 -10
- package/docs/components/Table/examples/Table.md +8 -8
- package/docs/components/Tabs/examples/Tabs.css +1 -1
- package/docs/components/Tabs/examples/Tabs.md +1025 -826
- package/docs/components/Tile/examples/Tile.md +264 -144
- package/docs/components/Title/examples/Title.md +18 -0
- package/docs/components/Toolbar/examples/Toolbar.css +20 -15
- package/docs/components/Toolbar/examples/Toolbar.md +985 -3341
- package/docs/components/TreeView/examples/TreeView.md +7 -57
- package/docs/components/Truncate/examples/Truncate.css +2 -2
- package/docs/components/Wizard/examples/Wizard.md +31 -7
- package/docs/demos/AboutModal/examples/AboutModal.md +116 -35
- package/docs/demos/Alert/examples/Alert.md +366 -99
- package/docs/demos/BackToTop/examples/BackToTop.md +114 -33
- package/docs/demos/Banner/examples/Banner.md +235 -68
- package/docs/demos/Button/examples/Button.md +1 -1
- package/docs/demos/Card/examples/Card.md +2 -2
- package/docs/demos/CardView/examples/CardView.md +256 -192
- package/docs/demos/ContextSelector/examples/ContextSelector.md +414 -107
- package/docs/demos/Dashboard/examples/Dashboard.md +114 -33
- package/docs/demos/DataList/examples/DataList.md +1049 -950
- package/docs/demos/DescriptionList/examples/DescriptionList.md +342 -99
- package/docs/demos/Drawer/examples/Drawer.md +700 -271
- package/docs/demos/Form/examples/BasicForms.md +138 -84
- package/docs/demos/JumpLinks/examples/JumpLinks.md +989 -409
- package/docs/demos/Masthead/examples/Masthead.md +833 -357
- package/docs/demos/Modal/examples/Modal.md +717 -222
- package/docs/demos/Nav/examples/Nav.md +763 -926
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +575 -165
- package/docs/demos/Page/examples/Page.md +1050 -309
- package/docs/demos/Page/examples/Penta.md +73 -31
- package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +20 -16
- package/docs/demos/PasswordStrength/examples/PasswordStrength.md +44 -32
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +1276 -861
- package/docs/demos/Skeleton/examples/Skeleton.md +114 -33
- package/docs/demos/Table/examples/Table.md +4002 -3503
- package/docs/demos/Tabs/examples/Tabs.md +711 -219
- package/docs/demos/Toolbar/examples/Toolbar.css +10 -0
- package/docs/demos/Toolbar/examples/Toolbar.md +1350 -1480
- package/docs/demos/Wizard/examples/Wizard.md +1134 -315
- package/docs/layouts/Flex/examples/Flex.md +11 -11
- package/package.json +32 -32
- package/patternfly-base-no-globals-theme-dark-unversioned.css +1021 -868
- package/patternfly-base-no-globals.css +1021 -868
- package/patternfly-base-theme-dark-unversioned.css +1027 -873
- package/patternfly-base.css +1027 -873
- package/patternfly-no-globals.css +9048 -8979
- package/patternfly-theme-dark-unversioned.css +9051 -8981
- package/patternfly.css +9051 -8981
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/mixins.scss +18 -0
- package/base/themes/dark/_variables.scss +0 -102
- package/components/AboutModalBox/themes/dark/about-modal-box.scss +0 -7
- package/components/Accordion/themes/dark/accordion.scss +0 -9
- package/components/Alert/themes/dark/alert.scss +0 -17
- package/components/Badge/themes/dark/badge.scss +0 -9
- package/components/Banner/themes/dark/banner.scss +0 -14
- package/components/Button/themes/dark/button.scss +0 -51
- package/components/CalendarMonth/themes/dark/calendar-month.scss +0 -37
- package/components/Card/themes/dark/card.scss +0 -20
- package/components/ClipboardCopy/themes/dark/clipboard-copy.scss +0 -19
- package/components/CodeEditor/themes/dark/code-editor.scss +0 -14
- package/components/DataList/themes/dark/data-list.scss +0 -10
- package/components/DatePicker/themes/dark/date-picker.scss +0 -8
- package/components/DragDrop/themes/dark/drag-drop.scss +0 -7
- package/components/Drawer/themes/dark/drawer.scss +0 -13
- package/components/DualListSelector/themes/dark/dual-list-selector.scss +0 -9
- package/components/Form/themes/dark/form.scss +0 -7
- package/components/FormControl/themes/dark/form-control.scss +0 -24
- package/components/HelperText/themes/dark/helper-text.scss +0 -7
- package/components/Hint/themes/dark/hint.scss +0 -8
- package/components/InputGroup/themes/dark/input-group.scss +0 -22
- package/components/Label/themes/dark/label.scss +0 -53
- package/components/Login/themes/dark/login.scss +0 -12
- package/components/Masthead/themes/dark/masthead.scss +0 -14
- package/components/MenuToggle/themes/dark/menu-toggle.scss +0 -27
- package/components/ModalBox/themes/dark/modal-box.scss +0 -7
- package/components/NotificationDrawer/themes/dark/notification-drawer.scss +0 -14
- package/components/Page/themes/dark/page.scss +0 -69
- package/components/Pagination/themes/dark/pagination.scss +0 -7
- package/components/Panel/themes/dark/panel.scss +0 -7
- package/components/Popover/themes/dark/popover.scss +0 -11
- package/components/Progress/themes/dark/progress.scss +0 -9
- package/components/SimpleList/themes/dark/simple-list.scss +0 -14
- package/components/Skeleton/themes/dark/skeleton.scss +0 -10
- package/components/Switch/themes/dark/switch.scss +0 -11
- package/components/Tabs/themes/dark/tabs.scss +0 -10
- package/components/TextInputGroup/themes/dark/text-input-group.scss +0 -11
- package/components/Tile/themes/dark/tile.scss +0 -10
- package/components/ToggleGroup/themes/dark/toggle-group.scss +0 -12
- package/components/Tooltip/themes/dark/tooltip.scss +0 -8
- package/components/TreeView/themes/dark/tree-view.scss +0 -8
- package/components/Wizard/themes/dark/wizard.scss +0 -12
- package/docs/components/Avatar/examples/Avatar.css +0 -3
|
@@ -57,7 +57,8 @@ $pf-v5-c-progress-stepper--breakpoint-map: build-breakpoint-map();
|
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
// Progress stepper is vertically oriented by default
|
|
60
|
-
|
|
60
|
+
:where(:root),
|
|
61
|
+
:where(.#{$progress-stepper}) {
|
|
61
62
|
// Vertical - these are the default settings
|
|
62
63
|
--#{$progress-stepper}--m-vertical--GridAutoFlow: row;
|
|
63
64
|
--#{$progress-stepper}--m-vertical--GridTemplateColumns: auto 1fr;
|
|
@@ -65,19 +66,19 @@ $pf-v5-c-progress-stepper--breakpoint-map: build-breakpoint-map();
|
|
|
65
66
|
--#{$progress-stepper}--m-vertical__step-connector--before--Left: calc(var(--#{$progress-stepper}__step-icon--Width) / 2);
|
|
66
67
|
--#{$progress-stepper}--m-vertical__step-connector--before--Width: auto;
|
|
67
68
|
--#{$progress-stepper}--m-vertical__step-connector--before--Height: 100%;
|
|
68
|
-
--#{$progress-stepper}--m-vertical__step-connector--before--BorderRightWidth: var(
|
|
69
|
-
--#{$progress-stepper}--m-vertical__step-connector--before--BorderRightColor: var(
|
|
69
|
+
--#{$progress-stepper}--m-vertical__step-connector--before--BorderRightWidth: var(--pf-t--global--border--width--box--default);
|
|
70
|
+
--#{$progress-stepper}--m-vertical__step-connector--before--BorderRightColor: var(--pf-t--global--border--color--default);
|
|
70
71
|
--#{$progress-stepper}--m-vertical__step-connector--before--BorderBottomWidth: 0;
|
|
71
72
|
--#{$progress-stepper}--m-vertical__step-connector--before--BorderBottomColor: transparent;
|
|
72
73
|
--#{$progress-stepper}--m-vertical__step-connector--before--Transform: translateX(-50%);
|
|
73
|
-
--#{$progress-stepper}--m-vertical__step-main--MarginTop:
|
|
74
|
+
--#{$progress-stepper}--m-vertical__step-main--MarginTop: 0px; // needs px for calc
|
|
74
75
|
--#{$progress-stepper}--m-vertical__step-main--MarginRight: 0;
|
|
75
|
-
--#{$progress-stepper}--m-vertical__step-main--MarginBottom: var(
|
|
76
|
-
--#{$progress-stepper}--m-vertical__step-main--MarginLeft: var(
|
|
76
|
+
--#{$progress-stepper}--m-vertical__step-main--MarginBottom: var(--pf-t--global--spacer--xl);
|
|
77
|
+
--#{$progress-stepper}--m-vertical__step-main--MarginLeft: var(--pf-t--global--spacer--sm);
|
|
77
78
|
|
|
78
79
|
// Compact, vertical
|
|
79
80
|
--#{$progress-stepper}--m-vertical--m-compact--GridTemplateColumns: 1fr;
|
|
80
|
-
--#{$progress-stepper}--m-vertical--m-compact__step-connector--PaddingBottom: var(
|
|
81
|
+
--#{$progress-stepper}--m-vertical--m-compact__step-connector--PaddingBottom: var(--pf-t--global--spacer--sm);
|
|
81
82
|
--#{$progress-stepper}--m-vertical--m-compact__step-connector--GridRow: auto;
|
|
82
83
|
--#{$progress-stepper}--m-vertical--m-compact__step-main--MarginTop: 0;
|
|
83
84
|
--#{$progress-stepper}--m-vertical--m-compact__step-main--MarginRight: 0;
|
|
@@ -96,11 +97,11 @@ $pf-v5-c-progress-stepper--breakpoint-map: build-breakpoint-map();
|
|
|
96
97
|
--#{$progress-stepper}--m-horizontal__step-connector--before--Height: auto;
|
|
97
98
|
--#{$progress-stepper}--m-horizontal__step-connector--before--BorderRightWidth: 0;
|
|
98
99
|
--#{$progress-stepper}--m-horizontal__step-connector--before--BorderRightColor: unset;
|
|
99
|
-
--#{$progress-stepper}--m-horizontal__step-connector--before--BorderBottomWidth: var(
|
|
100
|
-
--#{$progress-stepper}--m-horizontal__step-connector--before--BorderBottomColor: var(
|
|
100
|
+
--#{$progress-stepper}--m-horizontal__step-connector--before--BorderBottomWidth: var(--pf-t--global--border--width--divider--default);
|
|
101
|
+
--#{$progress-stepper}--m-horizontal__step-connector--before--BorderBottomColor: var(--pf-t--global--border--color--default);
|
|
101
102
|
--#{$progress-stepper}--m-horizontal__step-connector--before--Transform: translateY(-50%);
|
|
102
|
-
--#{$progress-stepper}--m-horizontal__step-main--MarginTop: var(
|
|
103
|
-
--#{$progress-stepper}--m-horizontal__step-main--MarginRight: var(
|
|
103
|
+
--#{$progress-stepper}--m-horizontal__step-main--MarginTop: var(--pf-t--global--spacer--sm);
|
|
104
|
+
--#{$progress-stepper}--m-horizontal__step-main--MarginRight: var(--pf-t--global--spacer--sm);
|
|
104
105
|
--#{$progress-stepper}--m-horizontal__step-main--MarginBottom: 0;
|
|
105
106
|
--#{$progress-stepper}--m-horizontal__step-main--MarginLeft: 0;
|
|
106
107
|
|
|
@@ -112,12 +113,12 @@ $pf-v5-c-progress-stepper--breakpoint-map: build-breakpoint-map();
|
|
|
112
113
|
// Compact
|
|
113
114
|
--#{$progress-stepper}--m-compact--GridAutoFlow: row;
|
|
114
115
|
--#{$progress-stepper}--m-compact__step-main--MarginTop: 0;
|
|
115
|
-
--#{$progress-stepper}--m-compact__step-main--MarginBottom: var(
|
|
116
|
+
--#{$progress-stepper}--m-compact__step-main--MarginBottom: var(--pf-t--global--spacer--sm);
|
|
116
117
|
--#{$progress-stepper}--m-compact__step-connector--MinWidth: #{pf-size-prem(28px)};
|
|
117
118
|
--#{$progress-stepper}--m-compact__step-icon--Width: #{pf-size-prem(18px)};
|
|
118
|
-
--#{$progress-stepper}--m-compact__step-icon--FontSize: var(
|
|
119
|
-
--#{$progress-stepper}--m-compact__step-title--FontSize: var(
|
|
120
|
-
--#{$progress-stepper}--m-compact__step-title--FontWeight: var(
|
|
119
|
+
--#{$progress-stepper}--m-compact__step-icon--FontSize: var(--pf-t--global--icon--size--font--body--sm);
|
|
120
|
+
--#{$progress-stepper}--m-compact__step-title--FontSize: var(--pf-t--global--font--size--body--lg);
|
|
121
|
+
--#{$progress-stepper}--m-compact__step-title--FontWeight: var(--pf-t--global--font--weight--body--bold);
|
|
121
122
|
--#{$progress-stepper}--m-compact__pficon--MarginTop: 2px;
|
|
122
123
|
--#{$progress-stepper}--m-compact__fa-exclamation-triangle--MarginTop: -3px;
|
|
123
124
|
|
|
@@ -125,8 +126,8 @@ $pf-v5-c-progress-stepper--breakpoint-map: build-breakpoint-map();
|
|
|
125
126
|
--#{$progress-stepper}--m-center__step-connector--before--Left: 50%;
|
|
126
127
|
--#{$progress-stepper}--m-center--GridTemplateColumns: 1fr;
|
|
127
128
|
--#{$progress-stepper}--m-center__step-connector--JustifyContent: center;
|
|
128
|
-
--#{$progress-stepper}--m-center__step-main--MarginRight: var(
|
|
129
|
-
--#{$progress-stepper}--m-center__step-main--MarginLeft: var(
|
|
129
|
+
--#{$progress-stepper}--m-center__step-main--MarginRight: var(--pf-t--global--spacer--xs);
|
|
130
|
+
--#{$progress-stepper}--m-center__step-main--MarginLeft: var(--pf-t--global--spacer--xs);
|
|
130
131
|
--#{$progress-stepper}--m-center__step-main--TextAlign: center;
|
|
131
132
|
--#{$progress-stepper}--m-center__step-description--MarginRight: 0;
|
|
132
133
|
--#{$progress-stepper}--m-center__step-description--MarginLeft: 0;
|
|
@@ -138,49 +139,50 @@ $pf-v5-c-progress-stepper--breakpoint-map: build-breakpoint-map();
|
|
|
138
139
|
--#{$progress-stepper}__step-connector--JustifyContent: flex-start;
|
|
139
140
|
|
|
140
141
|
// Step icon variables
|
|
141
|
-
--#{$progress-stepper}__step-icon--ZIndex: var(
|
|
142
|
-
--#{$progress-stepper}__step-icon--Width: #{pf-size-prem(
|
|
142
|
+
--#{$progress-stepper}__step-icon--ZIndex: var(--pf-t--global--Zindex--xs);
|
|
143
|
+
--#{$progress-stepper}__step-icon--Width: #{pf-size-prem(24px)};
|
|
143
144
|
--#{$progress-stepper}__step-icon--Height: var(--#{$progress-stepper}__step-icon--Width);
|
|
144
|
-
--#{$progress-stepper}__step-icon--FontSize: var(
|
|
145
|
-
--#{$progress-stepper}__step-icon--Color: var(
|
|
146
|
-
--#{$progress-stepper}__step-icon--BackgroundColor: var(
|
|
147
|
-
--#{$progress-stepper}__step-icon--BorderWidth: var(
|
|
148
|
-
--#{$progress-stepper}__step-icon--BorderColor: var(
|
|
145
|
+
--#{$progress-stepper}__step-icon--FontSize: var(--pf-t--global--icon--size--font--body--default);
|
|
146
|
+
--#{$progress-stepper}__step-icon--Color: var(--pf-t--global--icon--color--regular);
|
|
147
|
+
--#{$progress-stepper}__step-icon--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
148
|
+
--#{$progress-stepper}__step-icon--BorderWidth: var(--pf-t--global--border--width--box--default);
|
|
149
|
+
--#{$progress-stepper}__step-icon--BorderColor: var(--pf-t--global--border--color--default);
|
|
150
|
+
--#{$progress-stepper}__step--m-current__step-icon--Color: var(--pf-t--global--icon--color--brand--default);
|
|
151
|
+
--#{$progress-stepper}__step--m-info__step-icon--Color: var(--pf-t--global--icon--color--status--info--default);
|
|
152
|
+
--#{$progress-stepper}__step--m-success__step-icon--Color: var(--pf-t--global--icon--color--status--success--default);
|
|
153
|
+
--#{$progress-stepper}__step--m-warning__step-icon--Color: var(--pf-t--global--icon--color--status--warning--default);
|
|
154
|
+
--#{$progress-stepper}__step--m-danger__step-icon--Color: var(--pf-t--global--icon--color--status--danger--default);
|
|
155
|
+
--#{$progress-stepper}__step--m-custom__step-icon--Color: var(--pf-t--global--icon--color--status--custom--default);
|
|
149
156
|
|
|
150
157
|
// Icon adjustments to fix differences in alignment
|
|
151
158
|
--#{$progress-stepper}__pficon--MarginTop: 3px;
|
|
152
|
-
--#{$progress-stepper}__fa-exclamation-triangle--MarginTop: -
|
|
159
|
+
--#{$progress-stepper}__fa-exclamation-triangle--MarginTop: -2px;
|
|
153
160
|
|
|
154
161
|
// Step Title variables
|
|
155
|
-
--#{$progress-stepper}__step-title--Color: var(
|
|
162
|
+
--#{$progress-stepper}__step-title--Color: var(--pf-t--global--text--color--regular);
|
|
156
163
|
--#{$progress-stepper}__step-title--TextAlign: start;
|
|
157
|
-
--#{$progress-stepper}__step-title--FontSize: var(
|
|
158
|
-
--#{$progress-stepper}__step-title--FontWeight: var(
|
|
159
|
-
--#{$progress-stepper}__step--m-current__step-title--FontWeight: var(
|
|
160
|
-
--#{$progress-stepper}__step--m-current__step-title--Color: var(
|
|
161
|
-
--#{$progress-stepper}__step--m-pending__step-title--Color: var(
|
|
162
|
-
--#{$progress-stepper}__step--m-danger__step-title--Color: var(
|
|
164
|
+
--#{$progress-stepper}__step-title--FontSize: var(--pf-t--global--font--size--body--lg);
|
|
165
|
+
--#{$progress-stepper}__step-title--FontWeight: var(--pf-t--global--font--weight--body);
|
|
166
|
+
--#{$progress-stepper}__step--m-current__step-title--FontWeight: var(--pf-t--global--font--weight--body--bold);
|
|
167
|
+
--#{$progress-stepper}__step--m-current__step-title--Color: var(--pf-t--global--text--color--regular);
|
|
168
|
+
--#{$progress-stepper}__step--m-pending__step-title--Color: var(--pf-t--global--text--color--subtle);
|
|
169
|
+
--#{$progress-stepper}__step--m-danger__step-title--Color: var(--pf-t--global--text--color--status--danger--default);
|
|
163
170
|
|
|
164
171
|
// Help text variables for the step title
|
|
165
|
-
--#{$progress-stepper}__step-title--m-help-text--
|
|
166
|
-
--#{$progress-stepper}__step-title--m-help-text--
|
|
172
|
+
--#{$progress-stepper}__step-title--m-help-text--PaddingInlineStart: 0;
|
|
173
|
+
--#{$progress-stepper}__step-title--m-help-text--PaddingInlineEnd: 0;
|
|
174
|
+
--#{$progress-stepper}__step-title--m-help-text--TextDecorationColor: currentcolor;
|
|
175
|
+
--#{$progress-stepper}__step-title--m-help-text--TextDecorationThickness: var(--pf-t--global--link--text-decoration);
|
|
167
176
|
--#{$progress-stepper}__step-title--m-help-text--TextUnderlineOffset: #{pf-size-prem(4px)};
|
|
168
|
-
--#{$progress-stepper}__step-title--m-help-text--hover--
|
|
169
|
-
--#{$progress-stepper}__step-title--m-help-text--focus--TextDecorationColor: var(--#{$pf-global}--Color--100);
|
|
170
|
-
--#{$progress-stepper}__step-title--m-help-text--hover--Color: var(--#{$pf-global}--Color--100);
|
|
171
|
-
--#{$progress-stepper}__step-title--m-help-text--focus--Color: var(--#{$pf-global}--Color--100);
|
|
177
|
+
--#{$progress-stepper}__step-title--m-help-text--hover--Color: var(--pf-t--global--text--color--brand--hover);
|
|
172
178
|
|
|
173
179
|
// Help text variables the step title for failure state
|
|
174
|
-
--#{$progress-stepper}__step--m-danger__step-title--m-help-text--hover--Color: var(
|
|
175
|
-
--#{$progress-stepper}__step--m-danger__step-title--m-help-text--focus--Color: var(--#{$pf-global}--danger-color--200);
|
|
176
|
-
--#{$progress-stepper}__step--m-danger__step-title--m-help-text--TextDecorationColor: var(--#{$pf-global}--danger-color--100);
|
|
177
|
-
--#{$progress-stepper}__step--m-danger__step-title--m-help-text--hover--TextDecorationColor: var(--#{$pf-global}--danger-color--200);
|
|
178
|
-
--#{$progress-stepper}__step--m-danger__step-title--m-help-text--focus--TextDecorationColor: var(--#{$pf-global}--danger-color--200);
|
|
180
|
+
--#{$progress-stepper}__step--m-danger__step-title--m-help-text--hover--Color: var(--pf-t--global--text--color--status--danger--hover);
|
|
179
181
|
|
|
180
182
|
// Step Description variables
|
|
181
|
-
--#{$progress-stepper}__step-description--MarginTop: var(
|
|
182
|
-
--#{$progress-stepper}__step-description--FontSize: var(
|
|
183
|
-
--#{$progress-stepper}__step-description--Color: var(
|
|
183
|
+
--#{$progress-stepper}__step-description--MarginTop: var(--pf-t--global--spacer--xs);
|
|
184
|
+
--#{$progress-stepper}__step-description--FontSize: var(--pf-t--global--font--size--body--sm);
|
|
185
|
+
--#{$progress-stepper}__step-description--Color: var(--pf-t--global--text--color--subtle);
|
|
184
186
|
--#{$progress-stepper}__step-description--TextAlign: start;
|
|
185
187
|
|
|
186
188
|
// Vertical by default
|
|
@@ -190,7 +192,9 @@ $pf-v5-c-progress-stepper--breakpoint-map: build-breakpoint-map();
|
|
|
190
192
|
@media screen and (min-width: $pf-v5-global--breakpoint--md) {
|
|
191
193
|
@include pf-v5-c-progress-stepper--m-horizontal;
|
|
192
194
|
}
|
|
195
|
+
}
|
|
193
196
|
|
|
197
|
+
.#{$progress-stepper} {
|
|
194
198
|
position: relative;
|
|
195
199
|
display: grid;
|
|
196
200
|
grid-template-rows: var(--#{$progress-stepper}--GridTemplateRows);
|
|
@@ -265,12 +269,10 @@ $pf-v5-c-progress-stepper--breakpoint-map: build-breakpoint-map();
|
|
|
265
269
|
}
|
|
266
270
|
|
|
267
271
|
// For this compact variant only, move the main content for the current step to above the icons
|
|
268
|
-
// stylelint-disable
|
|
269
272
|
.#{$progress-stepper}__step.pf-m-current .#{$progress-stepper}__step-main {
|
|
270
|
-
grid-column: 1/-1;
|
|
271
273
|
grid-row: 1/2;
|
|
274
|
+
grid-column: 1/-1;
|
|
272
275
|
}
|
|
273
|
-
// stylelint-enable
|
|
274
276
|
|
|
275
277
|
.#{$progress-stepper}__step-description {
|
|
276
278
|
display: none;
|
|
@@ -286,6 +288,7 @@ $pf-v5-c-progress-stepper--breakpoint-map: build-breakpoint-map();
|
|
|
286
288
|
&.pf-m-current {
|
|
287
289
|
--#{$progress-stepper}__step-title--FontWeight: var(--#{$progress-stepper}__step--m-current__step-title--FontWeight);
|
|
288
290
|
--#{$progress-stepper}__step-title--Color: var(--#{$progress-stepper}__step--m-current__step-title--Color);
|
|
291
|
+
--#{$progress-stepper}__step-icon--Color: var(--#{$progress-stepper}__step--m-current__step-icon--Color);
|
|
289
292
|
}
|
|
290
293
|
|
|
291
294
|
&.pf-m-pending {
|
|
@@ -293,27 +296,27 @@ $pf-v5-c-progress-stepper--breakpoint-map: build-breakpoint-map();
|
|
|
293
296
|
}
|
|
294
297
|
|
|
295
298
|
&.pf-m-success {
|
|
296
|
-
--#{$progress-stepper}__step-icon--Color: var(--#{$
|
|
299
|
+
--#{$progress-stepper}__step-icon--Color: var(--#{$progress-stepper}__step--m-success__step-icon--Color);
|
|
297
300
|
}
|
|
298
301
|
|
|
299
302
|
&.pf-m-danger {
|
|
300
|
-
--#{$progress-stepper}__step-icon--Color: var(--#{$
|
|
303
|
+
--#{$progress-stepper}__step-icon--Color: var(--#{$progress-stepper}__step--m-danger__step-icon--Color);
|
|
301
304
|
--#{$progress-stepper}__step-title--Color: var(--#{$progress-stepper}__step--m-danger__step-title--Color);
|
|
302
305
|
|
|
303
306
|
// Help text variables for failure state
|
|
304
307
|
--#{$progress-stepper}__step-title--m-help-text--hover--Color: var(--#{$progress-stepper}__step--m-danger__step-title--m-help-text--hover--Color);
|
|
305
|
-
--#{$progress-stepper}__step-title--m-help-text--focus--Color: var(--#{$progress-stepper}__step--m-danger__step-title--m-help-text--focus--Color);
|
|
306
|
-
--#{$progress-stepper}__step-title--m-help-text--TextDecorationColor: var(--#{$progress-stepper}__step--m-danger__step-title--m-help-text--TextDecorationColor);
|
|
307
|
-
--#{$progress-stepper}__step-title--m-help-text--hover--TextDecorationColor: var(--#{$progress-stepper}__step--m-danger__step-title--m-help-text--hover--TextDecorationColor);
|
|
308
|
-
--#{$progress-stepper}__step-title--m-help-text--focus--TextDecorationColor: var(--#{$progress-stepper}__step--m-danger__step-title--m-help-text--focus--TextDecorationColor);
|
|
309
308
|
}
|
|
310
309
|
|
|
311
310
|
&.pf-m-warning {
|
|
312
|
-
--#{$progress-stepper}__step-icon--Color: var(--#{$
|
|
311
|
+
--#{$progress-stepper}__step-icon--Color: var(--#{$progress-stepper}__step--m-warning__step-icon--Color);
|
|
313
312
|
}
|
|
314
313
|
|
|
315
314
|
&.pf-m-info {
|
|
316
|
-
--#{$progress-stepper}__step-icon--Color: var(--#{$
|
|
315
|
+
--#{$progress-stepper}__step-icon--Color: var(--#{$progress-stepper}__step--m-info__step-icon--Color);
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
&.pf-m-custom {
|
|
319
|
+
--#{$progress-stepper}__step-icon--Color: var(--#{$progress-stepper}__step--m-custom__step-icon--Color);
|
|
317
320
|
}
|
|
318
321
|
|
|
319
322
|
&:last-child {
|
|
@@ -347,7 +350,7 @@ $pf-v5-c-progress-stepper--breakpoint-map: build-breakpoint-map();
|
|
|
347
350
|
display: flex;
|
|
348
351
|
align-items: center;
|
|
349
352
|
justify-content: center;
|
|
350
|
-
width: var(--#{$progress-stepper}__step-icon--Width);
|
|
353
|
+
min-width: var(--#{$progress-stepper}__step-icon--Width);
|
|
351
354
|
height: var(--#{$progress-stepper}__step-icon--Height);
|
|
352
355
|
font-size: var(--#{$progress-stepper}__step-icon--FontSize);
|
|
353
356
|
color: var(--#{$progress-stepper}__step-icon--Color);
|
|
@@ -399,6 +402,8 @@ $pf-v5-c-progress-stepper--breakpoint-map: build-breakpoint-map();
|
|
|
399
402
|
border: 0;
|
|
400
403
|
|
|
401
404
|
&.pf-m-help-text {
|
|
405
|
+
padding-inline-start: var(--#{$progress-stepper}__step-title--m-help-text--PaddingInlineStart);
|
|
406
|
+
padding-inline-end: var(--#{$progress-stepper}__step-title--m-help-text--PaddingInlineEnd);
|
|
402
407
|
text-decoration: underline;
|
|
403
408
|
text-decoration-thickness: var(--#{$progress-stepper}__step-title--m-help-text--TextDecorationThickness);
|
|
404
409
|
text-decoration-style: dashed;
|
|
@@ -406,14 +411,9 @@ $pf-v5-c-progress-stepper--breakpoint-map: build-breakpoint-map();
|
|
|
406
411
|
text-underline-offset: var(--#{$progress-stepper}__step-title--m-help-text--TextUnderlineOffset);
|
|
407
412
|
cursor: pointer;
|
|
408
413
|
|
|
409
|
-
&:hover
|
|
410
|
-
--#{$progress-stepper}__step-title--Color: var(--#{$progress-stepper}__step-title--m-help-text--hover--Color);
|
|
411
|
-
--#{$progress-stepper}__step-title--m-help-text--TextDecorationColor: var(--#{$progress-stepper}__step-title--m-help-text--hover--TextDecorationColor);
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
+
&:hover,
|
|
414
415
|
&:focus {
|
|
415
|
-
--#{$progress-stepper}__step-title--Color: var(--#{$progress-stepper}__step-title--m-help-text--
|
|
416
|
-
--#{$progress-stepper}__step-title--m-help-text--TextDecorationColor: var(--#{$progress-stepper}__step-title--m-help-text--focus--TextDecorationColor);
|
|
416
|
+
--#{$progress-stepper}__step-title--Color: var(--#{$progress-stepper}__step-title--m-help-text--hover--Color);
|
|
417
417
|
}
|
|
418
418
|
}
|
|
419
419
|
}
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
+
:root,
|
|
1
2
|
.pf-v5-c-radio {
|
|
2
|
-
--pf-v5-c-radio--GridGap: var(--pf-
|
|
3
|
-
--pf-v5-c-
|
|
4
|
-
--pf-v5-c-radio__label--Color: var(--pf-
|
|
5
|
-
--pf-v5-c-radio__label--
|
|
6
|
-
--pf-v5-c-radio__label--
|
|
7
|
-
--pf-v5-c-radio__label--
|
|
8
|
-
--pf-v5-c-
|
|
3
|
+
--pf-v5-c-radio--GridGap: var(--pf-t--global--spacer--sm) var(--pf-t--global--spacer--sm);
|
|
4
|
+
--pf-v5-c-radio--AccentColor: var(--pf-t--global--icon--color--brand--default);
|
|
5
|
+
--pf-v5-c-radio__label--disabled--Color: var(--pf-t--global--text--color--disabled);
|
|
6
|
+
--pf-v5-c-radio__label--Color: var(--pf-t--global--text--color--regular);
|
|
7
|
+
--pf-v5-c-radio__label--FontWeight: var(--pf-t--global--font--weight--body);
|
|
8
|
+
--pf-v5-c-radio__label--FontSize: var(--pf-t--global--font--size--body--default);
|
|
9
|
+
--pf-v5-c-radio__label--LineHeight: var(--pf-t--global--font--line-height--body);
|
|
10
|
+
--pf-v5-c-radio__input--TranslateY: calc((var(--pf-v5-c-radio__label--LineHeight) * var(--pf-v5-c-radio__label--FontSize) / 2 ) - 50%);
|
|
9
11
|
--pf-v5-c-radio__input--first-child--MarginLeft: 0.0625rem;
|
|
10
12
|
--pf-v5-c-radio__input--last-child--MarginRight: 0.0625rem;
|
|
11
|
-
--pf-v5-c-radio__description--FontSize: var(--pf-
|
|
12
|
-
--pf-v5-c-radio__description--Color: var(--pf-
|
|
13
|
-
--pf-v5-c-radio__body--MarginTop: var(--pf-
|
|
13
|
+
--pf-v5-c-radio__description--FontSize: var(--pf-t--global--font--size--body--sm);
|
|
14
|
+
--pf-v5-c-radio__description--Color: var(--pf-t--global--text--color--subtle);
|
|
15
|
+
--pf-v5-c-radio__body--MarginTop: var(--pf-t--global--spacer--sm);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.pf-v5-c-radio {
|
|
14
19
|
display: grid;
|
|
15
20
|
grid-template-columns: auto 1fr;
|
|
16
21
|
grid-gap: var(--pf-v5-c-radio--GridGap);
|
|
17
22
|
align-items: baseline;
|
|
23
|
+
accent-color: var(--pf-v5-c-radio--AccentColor);
|
|
18
24
|
}
|
|
19
25
|
.pf-v5-c-radio.pf-m-standalone {
|
|
20
26
|
--pf-v5-c-radio--GridGap: 0;
|
|
21
|
-
--pf-v5-c-radio__input--TranslateY
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.pf-v5-c-radio__label {
|
|
26
|
-
font-size: var(--pf-v5-c-radio__label--FontSize);
|
|
27
|
-
font-weight: var(--pf-v5-c-radio__label--FontWeight);
|
|
28
|
-
line-height: var(--pf-v5-c-radio__label--LineHeight);
|
|
29
|
-
color: var(--pf-v5-c-radio__label--Color);
|
|
27
|
+
--pf-v5-c-radio__input--TranslateY: none;
|
|
28
|
+
display: inline-grid;
|
|
30
29
|
}
|
|
31
30
|
|
|
32
31
|
.pf-v5-c-radio__input {
|
|
33
|
-
-
|
|
32
|
+
align-self: start;
|
|
33
|
+
transform: translateY(var(--pf-v5-c-radio__input--TranslateY));
|
|
34
34
|
}
|
|
35
35
|
.pf-v5-c-radio__input:first-child {
|
|
36
36
|
margin-inline-start: var(--pf-v5-c-radio__input--first-child--MarginLeft);
|
|
@@ -39,6 +39,13 @@
|
|
|
39
39
|
margin-inline-end: var(--pf-v5-c-radio__input--last-child--MarginRight);
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
+
.pf-v5-c-radio__label {
|
|
43
|
+
font-size: var(--pf-v5-c-radio__label--FontSize);
|
|
44
|
+
font-weight: var(--pf-v5-c-radio__label--FontWeight);
|
|
45
|
+
line-height: var(--pf-v5-c-radio__label--LineHeight);
|
|
46
|
+
color: var(--pf-v5-c-radio__label--Color);
|
|
47
|
+
}
|
|
48
|
+
|
|
42
49
|
.pf-v5-c-radio__description {
|
|
43
50
|
grid-column: 2;
|
|
44
51
|
font-size: var(--pf-v5-c-radio__description--FontSize);
|
|
@@ -1,43 +1,42 @@
|
|
|
1
1
|
// @debug $radio; // check your variable names located in src/patternfly/sass-utilities/component-namespaces.scss
|
|
2
2
|
|
|
3
|
+
:root,
|
|
3
4
|
.#{$radio} {
|
|
4
|
-
--#{$radio}--GridGap: var(
|
|
5
|
-
--#{$radio}
|
|
6
|
-
--#{$radio}__label--Color: var(
|
|
7
|
-
--#{$radio}__label--
|
|
8
|
-
--#{$radio}__label--
|
|
9
|
-
--#{$radio}__label--
|
|
10
|
-
--#{$radio}
|
|
5
|
+
--#{$radio}--GridGap: var(--pf-t--global--spacer--sm) var(--pf-t--global--spacer--sm);
|
|
6
|
+
--#{$radio}--AccentColor: var(--pf-t--global--icon--color--brand--default);
|
|
7
|
+
--#{$radio}__label--disabled--Color: var(--pf-t--global--text--color--disabled);
|
|
8
|
+
--#{$radio}__label--Color: var(--pf-t--global--text--color--regular);
|
|
9
|
+
--#{$radio}__label--FontWeight: var(--pf-t--global--font--weight--body);
|
|
10
|
+
--#{$radio}__label--FontSize: var(--pf-t--global--font--size--body--default);
|
|
11
|
+
--#{$radio}__label--LineHeight: var(--pf-t--global--font--line-height--body);
|
|
12
|
+
--#{$radio}__input--TranslateY: calc((var(--#{$radio}__label--LineHeight) * var(--#{$radio}__label--FontSize) / 2 ) - 50%); // find height of single label, divide by two, offset by 50% of own height
|
|
11
13
|
--#{$radio}__input--first-child--MarginLeft: #{pf-size-prem(1px)};
|
|
12
14
|
--#{$radio}__input--last-child--MarginRight: #{pf-size-prem(1px)};
|
|
13
|
-
--#{$radio}__description--FontSize: var(
|
|
14
|
-
--#{$radio}__description--Color: var(
|
|
15
|
-
--#{$radio}__body--MarginTop: var(
|
|
15
|
+
--#{$radio}__description--FontSize: var(--pf-t--global--font--size--body--sm);
|
|
16
|
+
--#{$radio}__description--Color: var(--pf-t--global--text--color--subtle);
|
|
17
|
+
--#{$radio}__body--MarginTop: var(--pf-t--global--spacer--sm);
|
|
18
|
+
}
|
|
16
19
|
|
|
20
|
+
.#{$radio} {
|
|
17
21
|
display: grid;
|
|
18
22
|
grid-template-columns: auto 1fr;
|
|
19
23
|
grid-gap: var(--#{$radio}--GridGap);
|
|
20
24
|
align-items: baseline;
|
|
25
|
+
accent-color: var(--#{$radio}--AccentColor);
|
|
21
26
|
|
|
22
27
|
&.pf-m-standalone {
|
|
23
28
|
--#{$radio}--GridGap: 0;
|
|
24
|
-
--#{$radio}__input--TranslateY
|
|
29
|
+
--#{$radio}__input--TranslateY: none;
|
|
25
30
|
|
|
26
|
-
|
|
31
|
+
display: inline-grid;
|
|
27
32
|
}
|
|
28
33
|
}
|
|
29
34
|
|
|
30
|
-
.#{$radio}__label {
|
|
31
|
-
font-size: var(--#{$radio}__label--FontSize);
|
|
32
|
-
font-weight: var(--#{$radio}__label--FontWeight);
|
|
33
|
-
line-height: var(--#{$radio}__label--LineHeight);
|
|
34
|
-
color: var(--#{$radio}__label--Color);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
35
|
.#{$radio}__input {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
//
|
|
36
|
+
align-self: start;
|
|
37
|
+
|
|
38
|
+
// find height of single label, divide by two, offset by 50% of own height
|
|
39
|
+
transform: translateY(var(--#{$radio}__input--TranslateY));
|
|
41
40
|
|
|
42
41
|
// fixes a chrome issue where the left edge is cut off in a container with overflow hidden
|
|
43
42
|
&:first-child {
|
|
@@ -50,6 +49,13 @@
|
|
|
50
49
|
}
|
|
51
50
|
}
|
|
52
51
|
|
|
52
|
+
.#{$radio}__label {
|
|
53
|
+
font-size: var(--#{$radio}__label--FontSize);
|
|
54
|
+
font-weight: var(--#{$radio}__label--FontWeight);
|
|
55
|
+
line-height: var(--#{$radio}__label--LineHeight);
|
|
56
|
+
color: var(--#{$radio}__label--Color);
|
|
57
|
+
}
|
|
58
|
+
|
|
53
59
|
.#{$radio}__description {
|
|
54
60
|
grid-column: 2;
|
|
55
61
|
font-size: var(--#{$radio}__description--FontSize);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
--pf-v5-c-sidebar--
|
|
4
|
-
--pf-v5-c-sidebar--
|
|
5
|
-
--pf-v5-c-sidebar--BorderWidth--base: var(--pf-
|
|
6
|
-
--pf-v5-c-sidebar--BorderColor--base: var(--pf-
|
|
1
|
+
:root,
|
|
2
|
+
:where(.pf-v5-c-sidebar) {
|
|
3
|
+
--pf-v5-c-sidebar--inset: var(--pf-t--global--spacer--md);
|
|
4
|
+
--pf-v5-c-sidebar--xl--inset: var(--pf-t--global--spacer--lg);
|
|
5
|
+
--pf-v5-c-sidebar--BorderWidth--base: var(--pf-t--global--border--width--regular);
|
|
6
|
+
--pf-v5-c-sidebar--BorderColor--base: var(--pf-t--global--border--color--default);
|
|
7
7
|
--pf-v5-c-sidebar__panel--PaddingTop: 0;
|
|
8
8
|
--pf-v5-c-sidebar__panel--PaddingRight: 0;
|
|
9
9
|
--pf-v5-c-sidebar__panel--PaddingBottom: 0;
|
|
@@ -59,11 +59,16 @@
|
|
|
59
59
|
--pf-v5-c-sidebar__panel--md--FlexBasis: 15.625rem;
|
|
60
60
|
--pf-v5-c-sidebar__panel--m-split--FlexBasis: 15.625rem;
|
|
61
61
|
--pf-v5-c-sidebar__panel--m-stack--FlexBasis: auto;
|
|
62
|
-
--pf-v5-c-sidebar__panel--ZIndex: var(--pf-
|
|
63
|
-
--pf-v5-c-sidebar__panel--BackgroundColor: var(--pf-
|
|
64
|
-
--pf-v5-c-
|
|
62
|
+
--pf-v5-c-sidebar__panel--ZIndex: var(--pf-t--global--Zindex--xs);
|
|
63
|
+
--pf-v5-c-sidebar__panel--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
64
|
+
--pf-v5-c-sidebar__panel--m-secondary--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
65
|
+
--pf-v5-c-sidebar__content--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
66
|
+
--pf-v5-c-sidebar__content--m-secondary--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
65
67
|
--pf-v5-c-sidebar__panel--m-sticky--Top: 0;
|
|
66
68
|
--pf-v5-c-sidebar__panel--m-sticky--Position: sticky;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.pf-v5-c-sidebar {
|
|
67
72
|
height: 100%;
|
|
68
73
|
}
|
|
69
74
|
@media (min-width: 768px) {
|
|
@@ -157,6 +162,9 @@
|
|
|
157
162
|
--pf-v5-c-sidebar__panel--Position: static;
|
|
158
163
|
--pf-v5-c-sidebar__panel--Top: auto;
|
|
159
164
|
}
|
|
165
|
+
.pf-v5-c-sidebar__panel.pf-m-secondary {
|
|
166
|
+
--pf-v5-c-sidebar__panel--BackgroundColor: var(--pf-v5-c-sidebar__panel--m-secondary--BackgroundColor);
|
|
167
|
+
}
|
|
160
168
|
|
|
161
169
|
.pf-v5-c-sidebar__content {
|
|
162
170
|
flex-grow: 1;
|
|
@@ -176,6 +184,9 @@
|
|
|
176
184
|
.pf-v5-c-sidebar__content.pf-m-no-background {
|
|
177
185
|
--pf-v5-c-sidebar__content--BackgroundColor: transparent;
|
|
178
186
|
}
|
|
187
|
+
.pf-v5-c-sidebar__content.pf-m-secondary {
|
|
188
|
+
--pf-v5-c-sidebar__content--BackgroundColor: var(--pf-v5-c-sidebar__content--m-secondary--BackgroundColor);
|
|
189
|
+
}
|
|
179
190
|
.pf-v5-c-sidebar__content + .pf-v5-c-sidebar__panel {
|
|
180
191
|
--pf-v5-c-sidebar__panel--Order: 1;
|
|
181
192
|
}
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
$pf-v5-c-sidebar--breakpoint-map--width: build-breakpoint-map("base", "sm", "md", "lg", "xl", "2xl");
|
|
3
3
|
$pf-v5-c-sidebar__panel--list--width: ("default", 25, 33, 50, 66, 75, 100);
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
--#{$sidebar}--
|
|
8
|
-
--#{$sidebar}--
|
|
9
|
-
--#{$sidebar}--BorderWidth--base: var(
|
|
10
|
-
--#{$sidebar}--BorderColor--base: var(
|
|
5
|
+
:root,
|
|
6
|
+
:where(.#{$sidebar}) {
|
|
7
|
+
--#{$sidebar}--inset: var(--pf-t--global--spacer--md);
|
|
8
|
+
--#{$sidebar}--xl--inset: var(--pf-t--global--spacer--lg);
|
|
9
|
+
--#{$sidebar}--BorderWidth--base: var(--pf-t--global--border--width--regular);
|
|
10
|
+
--#{$sidebar}--BorderColor--base: var(--pf-t--global--border--color--default);
|
|
11
11
|
|
|
12
12
|
// Panel
|
|
13
13
|
--#{$sidebar}__panel--PaddingTop: 0;
|
|
@@ -85,15 +85,21 @@ $pf-v5-c-sidebar__panel--list--width: ("default", 25, 33, 50, 66, 75, 100);
|
|
|
85
85
|
--#{$sidebar}__panel--md--FlexBasis: #{pf-size-prem(250px)};
|
|
86
86
|
--#{$sidebar}__panel--m-split--FlexBasis: #{pf-size-prem(250px)};
|
|
87
87
|
--#{$sidebar}__panel--m-stack--FlexBasis: auto;
|
|
88
|
-
--#{$sidebar}__panel--ZIndex: var(
|
|
89
|
-
--#{$sidebar}__panel--BackgroundColor: var(
|
|
88
|
+
--#{$sidebar}__panel--ZIndex: var(--pf-t--global--Zindex--xs);
|
|
89
|
+
--#{$sidebar}__panel--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
90
|
+
--#{$sidebar}__panel--m-secondary--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
90
91
|
|
|
91
92
|
// Content
|
|
92
|
-
--#{$sidebar}__content--BackgroundColor: var(
|
|
93
|
+
--#{$sidebar}__content--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
94
|
+
--#{$sidebar}__content--m-secondary--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
93
95
|
|
|
94
96
|
// Sticky
|
|
95
97
|
--#{$sidebar}__panel--m-sticky--Top: 0;
|
|
96
98
|
--#{$sidebar}__panel--m-sticky--Position: sticky;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.#{$sidebar} {
|
|
102
|
+
height: 100%;
|
|
97
103
|
|
|
98
104
|
@media (min-width: $pf-v5-global--breakpoint--md) {
|
|
99
105
|
--#{$sidebar}__main--FlexDirection: var(--#{$sidebar}__main--md--FlexDirection);
|
|
@@ -144,8 +150,6 @@ $pf-v5-c-sidebar__panel--list--width: ("default", 25, 33, 50, 66, 75, 100);
|
|
|
144
150
|
--#{$sidebar}__main--m-border--before--Display: var(--#{$sidebar}--m-split__main--m-border--before--Display);
|
|
145
151
|
--#{$sidebar}--m-panel-right__panel--Order: var(--#{$sidebar}--m-split--m-panel-right__panel--Order);
|
|
146
152
|
}
|
|
147
|
-
|
|
148
|
-
height: 100%;
|
|
149
153
|
}
|
|
150
154
|
|
|
151
155
|
.#{$sidebar}__main {
|
|
@@ -192,6 +196,10 @@ $pf-v5-c-sidebar__panel--list--width: ("default", 25, 33, 50, 66, 75, 100);
|
|
|
192
196
|
--#{$sidebar}__panel--Position: static;
|
|
193
197
|
--#{$sidebar}__panel--Top: auto;
|
|
194
198
|
}
|
|
199
|
+
|
|
200
|
+
&.pf-m-secondary {
|
|
201
|
+
--#{$sidebar}__panel--BackgroundColor: var(--#{$sidebar}__panel--m-secondary--BackgroundColor);
|
|
202
|
+
}
|
|
195
203
|
}
|
|
196
204
|
|
|
197
205
|
.#{$sidebar}__content {
|
|
@@ -214,6 +222,10 @@ $pf-v5-c-sidebar__panel--list--width: ("default", 25, 33, 50, 66, 75, 100);
|
|
|
214
222
|
--#{$sidebar}__content--BackgroundColor: transparent;
|
|
215
223
|
}
|
|
216
224
|
|
|
225
|
+
&.pf-m-secondary {
|
|
226
|
+
--#{$sidebar}__content--BackgroundColor: var(--#{$sidebar}__content--m-secondary--BackgroundColor);
|
|
227
|
+
}
|
|
228
|
+
|
|
217
229
|
& + .#{$sidebar}__panel {
|
|
218
230
|
--#{$sidebar}__panel--Order: 1;
|
|
219
231
|
}
|