@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
|
@@ -1,71 +1,57 @@
|
|
|
1
1
|
// @debug $wizard; // check your variable names located in src/patternfly/sass-utilities/component-namespaces.scss
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
:where(:root),
|
|
4
|
+
:where(.#{$wizard}) {
|
|
4
5
|
--#{$wizard}--Height: 100%;
|
|
5
6
|
--#{$modal-box}--c-wizard--FlexBasis: #{pf-size-prem(762px)}; // this is a specific height from design for the wizard in a modal
|
|
6
7
|
|
|
7
8
|
// Header
|
|
8
|
-
--#{$wizard}__header--BackgroundColor: var(
|
|
9
|
+
--#{$wizard}__header--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
9
10
|
--#{$wizard}__header--ZIndex: auto;
|
|
10
|
-
--#{$wizard}__header--PaddingTop: var(
|
|
11
|
-
--#{$wizard}__header--PaddingRight: var(
|
|
12
|
-
--#{$wizard}__header--PaddingBottom: var(
|
|
13
|
-
--#{$wizard}__header--PaddingLeft: var(
|
|
14
|
-
--#{$wizard}__header--lg--PaddingRight: var(--#{$pf-global}--spacer--md);
|
|
15
|
-
--#{$wizard}__header--lg--PaddingLeft: var(--#{$pf-global}--spacer--md);
|
|
16
|
-
--#{$wizard}__header--xl--PaddingRight: var(--#{$pf-global}--spacer--lg);
|
|
17
|
-
--#{$wizard}__header--xl--PaddingLeft: var(--#{$pf-global}--spacer--lg);
|
|
18
|
-
|
|
19
|
-
@media screen and (min-width: $pf-v5-global--breakpoint--lg) {
|
|
20
|
-
--#{$wizard}__header--PaddingRight: var(--#{$wizard}__header--lg--PaddingRight);
|
|
21
|
-
--#{$wizard}__header--PaddingLeft: var(--#{$wizard}__header--lg--PaddingLeft);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
@media screen and (min-width: $pf-v5-global--breakpoint--xl) {
|
|
25
|
-
--#{$wizard}__header--PaddingRight: var(--#{$wizard}__header--xl--PaddingRight);
|
|
26
|
-
--#{$wizard}__header--PaddingLeft: var(--#{$wizard}__header--xl--PaddingLeft);
|
|
27
|
-
}
|
|
11
|
+
--#{$wizard}__header--PaddingTop: var(--pf-t--global--spacer--lg);
|
|
12
|
+
--#{$wizard}__header--PaddingRight: var(--pf-t--global--spacer--lg);
|
|
13
|
+
--#{$wizard}__header--PaddingBottom: var(--pf-t--global--spacer--lg);
|
|
14
|
+
--#{$wizard}__header--PaddingLeft: var(--pf-t--global--spacer--lg);
|
|
28
15
|
|
|
29
16
|
// Close
|
|
30
|
-
--#{$wizard}__close--Top: calc(var(
|
|
31
|
-
--#{$wizard}__close--Right:
|
|
32
|
-
--#{$wizard}__close--
|
|
33
|
-
--#{$wizard}__close--FontSize: var(--#{$pf-global}--FontSize--xl);
|
|
34
|
-
|
|
35
|
-
@media screen and (min-width: $pf-v5-global--breakpoint--xl) {
|
|
36
|
-
--#{$wizard}__close--Right: var(--#{$wizard}__close--xl--Right);
|
|
37
|
-
}
|
|
17
|
+
--#{$wizard}__close--Top: calc(var(--pf-t--global--spacer--lg) - var(--#{$button}--m-plain--PaddingTop));
|
|
18
|
+
--#{$wizard}__close--Right: var(--pf-t--global--spacer--sm);
|
|
19
|
+
--#{$wizard}__close--FontSize: var(--pf-t--global--font--size--xl);
|
|
38
20
|
|
|
39
21
|
// Title
|
|
40
|
-
--#{$wizard}__title--PaddingRight: var(
|
|
22
|
+
--#{$wizard}__title--PaddingRight: var(--pf-t--global--spacer--2xl);
|
|
41
23
|
|
|
42
24
|
// Title text
|
|
43
|
-
--#{$wizard}__title-text--FontSize: var(
|
|
44
|
-
--#{$wizard}__title-text--FontFamily: var(
|
|
45
|
-
--#{$wizard}__title-text--FontWeight: var(
|
|
46
|
-
--#{$wizard}__title-text--LineHeight: var(
|
|
25
|
+
--#{$wizard}__title-text--FontSize: var(--pf-t--global--font--size--3xl);
|
|
26
|
+
--#{$wizard}__title-text--FontFamily: var(--pf-t--global--font--family--heading);
|
|
27
|
+
--#{$wizard}__title-text--FontWeight: var(--pf-t--global--font--weight--heading);
|
|
28
|
+
--#{$wizard}__title-text--LineHeight: var(--pf-t--global--font--line-height--heading);
|
|
29
|
+
--#{$wizard}__title-text--Color: var(--pf-t--global--text--color--regular);
|
|
47
30
|
|
|
48
31
|
// Description
|
|
49
|
-
--#{$wizard}__description--PaddingTop: var(
|
|
50
|
-
--#{$wizard}__description--Color: var(
|
|
32
|
+
--#{$wizard}__description--PaddingTop: var(--pf-t--global--spacer--sm);
|
|
33
|
+
--#{$wizard}__description--Color: var(--pf-t--global--text--color--subtle);
|
|
51
34
|
|
|
52
35
|
// Nav link
|
|
53
|
-
--#{$wizard}__nav-link--
|
|
54
|
-
--#{$wizard}__nav-link--
|
|
55
|
-
--#{$wizard}__nav-link--
|
|
56
|
-
--#{$wizard}__nav-link--
|
|
57
|
-
--#{$wizard}__nav-link--
|
|
58
|
-
--#{$wizard}__nav-link--
|
|
59
|
-
--#{$wizard}__nav-link--
|
|
60
|
-
--#{$wizard}__nav-link--
|
|
61
|
-
--#{$wizard}__nav-
|
|
36
|
+
--#{$wizard}__nav-link--PaddingBlockStart: var(--pf-t--global--spacer--sm);
|
|
37
|
+
--#{$wizard}__nav-link--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
|
|
38
|
+
--#{$wizard}__nav-link--PaddingInlineStart: var(--pf-t--global--spacer--sm);
|
|
39
|
+
--#{$wizard}__nav-link--PaddingInlineEnd: var(--pf-t--global--spacer--sm);
|
|
40
|
+
--#{$wizard}__nav-link--Color: var(--pf-t--global--text--color--subtle);
|
|
41
|
+
--#{$wizard}__nav-link--TextDecoration: none;
|
|
42
|
+
--#{$wizard}__nav-link--BackgroundColor: var(--pf-t--global--background--color--action--plain--default);
|
|
43
|
+
--#{$wizard}__nav-link--BorderRadius: var(--pf-t--global--border--radius--small);
|
|
44
|
+
--#{$wizard}__nav-link--hover--Color: var(--pf-t--global--text--color--subtle);
|
|
45
|
+
--#{$wizard}__nav-link--hover--BackgroundColor: var(--pf-t--global--background--color--action--plain--hover);
|
|
46
|
+
--#{$wizard}__nav-link--m-current--Color: var(--pf-t--global--text--color--regular);
|
|
47
|
+
--#{$wizard}__nav-link--m-current--BackgroundColor: var(--pf-t--global--background--color--action--plain--clicked);
|
|
48
|
+
--#{$wizard}__nav-link--m-disabled--Color: var(--pf-t--global--text--color--disabled);
|
|
49
|
+
--#{$wizard}__nav-link--m-disabled--BackgroundColor: transparent;
|
|
62
50
|
|
|
63
51
|
// Nav link toggle icon
|
|
64
|
-
--#{$wizard}__nav-link-toggle--PaddingRight: var(
|
|
65
|
-
--#{$wizard}__nav-link-toggle--PaddingLeft: var(
|
|
66
|
-
--#{$wizard}__nav-link-toggle--Color: var(
|
|
67
|
-
--#{$wizard}__nav-link--hover__nav-link-toggle-icon--Color: var(--#{$pf-global}--Color--100);
|
|
68
|
-
--#{$wizard}__nav-link--focus__nav-link-toggle-icon--Color: var(--#{$pf-global}--Color--100);
|
|
52
|
+
--#{$wizard}__nav-link-toggle--PaddingRight: var(--pf-t--global--spacer--sm);
|
|
53
|
+
--#{$wizard}__nav-link-toggle--PaddingLeft: var(--pf-t--global--spacer--sm);
|
|
54
|
+
--#{$wizard}__nav-link-toggle--Color: var(--pf-t--global--icon--color--regular);
|
|
69
55
|
--#{$wizard}__nav-link-toggle-icon--Transition: var(--#{$pf-global}--Transition);
|
|
70
56
|
--#{$wizard}__nav-link-toggle-icon--Rotate: 0;
|
|
71
57
|
--#{$wizard}__nav-item--m-expanded__link-toggle-icon--Rotate: 90deg;
|
|
@@ -73,56 +59,56 @@
|
|
|
73
59
|
// Nav link number
|
|
74
60
|
--#{$wizard}__nav-link--before--Width: 1.5rem;
|
|
75
61
|
--#{$wizard}__nav-link--before--Height: 1.5rem;
|
|
76
|
-
--#{$wizard}__nav-link--before--Top:
|
|
77
|
-
--#{$wizard}__nav-link--before--BackgroundColor: var(
|
|
78
|
-
--#{$wizard}__nav-link--before--BorderRadius: var(
|
|
79
|
-
--#{$wizard}__nav-link--before--Color: var(
|
|
80
|
-
--#{$wizard}__nav-link--before--FontSize: var(
|
|
81
|
-
--#{$wizard}__nav-link--before--TranslateX: calc(-100% - var(
|
|
82
|
-
--#{$wizard}__nav-link--
|
|
83
|
-
--#{$wizard}__nav-link--m-current--before--
|
|
62
|
+
--#{$wizard}__nav-link--before--Top: calc(calc(var(--#{$wizard}__nav-link--PaddingBlockStart) + var(--#{$wizard}__nav-link--PaddingBlockEnd) + 1em * var(--pf-t--global--font--line-height--body)) / 2); // half of the link button it's beside
|
|
63
|
+
--#{$wizard}__nav-link--before--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
64
|
+
--#{$wizard}__nav-link--before--BorderRadius: var(--pf-t--global--border--radius--large);
|
|
65
|
+
--#{$wizard}__nav-link--before--Color: var(--pf-t--global--text--color--regular);
|
|
66
|
+
--#{$wizard}__nav-link--before--FontSize: var(--pf-t--global--font--size--body--default);
|
|
67
|
+
--#{$wizard}__nav-link--before--TranslateX: calc(-100% - var(--pf-t--global--spacer--xs));
|
|
68
|
+
--#{$wizard}__nav-link--before--TranslateY: -50%;
|
|
69
|
+
--#{$wizard}__nav-link--m-current--before--BackgroundColor: var(--pf-t--global--color--brand--default);
|
|
70
|
+
--#{$wizard}__nav-link--m-current--before--Color: var(--pf-t--global--text--color--on-brand--default);
|
|
84
71
|
--#{$wizard}__nav-link--m-disabled--before--BackgroundColor: transparent;
|
|
85
|
-
--#{$wizard}__nav-link--m-disabled--before--Color: var(
|
|
72
|
+
--#{$wizard}__nav-link--m-disabled--before--Color: var(--pf-t--global--text--color--disabled);
|
|
86
73
|
|
|
87
74
|
// Toggle
|
|
88
|
-
--#{$wizard}__toggle--BackgroundColor: var(
|
|
89
|
-
--#{$wizard}__toggle--ZIndex: var(
|
|
90
|
-
--#{$wizard}__toggle--
|
|
91
|
-
--#{$wizard}__toggle--
|
|
92
|
-
--#{$wizard}__toggle--
|
|
93
|
-
--#{$wizard}__toggle--
|
|
94
|
-
--#{$wizard}__toggle--
|
|
95
|
-
--#{$wizard}__toggle--
|
|
96
|
-
--#{$wizard}
|
|
97
|
-
--#{$wizard}--m-in-page__toggle--xl--PaddingLeft: calc(var(--#{$pf-global}--spacer--xl) + var(--#{$wizard}__nav-link--before--Width) + var(--#{$pf-global}--spacer--sm));
|
|
75
|
+
--#{$wizard}__toggle--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
76
|
+
--#{$wizard}__toggle--ZIndex: var(--pf-t--global--Zindex--xs);
|
|
77
|
+
--#{$wizard}__toggle--PaddingTop: var(--pf-t--global--spacer--lg);
|
|
78
|
+
--#{$wizard}__toggle--PaddingRight: var(--pf-t--global--spacer--md);
|
|
79
|
+
--#{$wizard}__toggle--PaddingBottom: var(--pf-t--global--spacer--lg);
|
|
80
|
+
--#{$wizard}__toggle--PaddingLeft: calc(var(--pf-t--global--spacer--lg) + var(--#{$wizard}__nav-link--before--Width) + var(--pf-t--global--spacer--sm));
|
|
81
|
+
--#{$wizard}__toggle--BorderBottomWidth: var(--pf-t--global--border--width--regular);
|
|
82
|
+
--#{$wizard}__toggle--BorderBottomColor: var(--pf-t--global--border--color--default);
|
|
83
|
+
--#{$wizard}--m-in-page__toggle--xl--PaddingLeft: calc(var(--pf-t--global--spacer--xl) + var(--#{$wizard}__nav-link--before--Width) + var(--pf-t--global--spacer--sm));
|
|
98
84
|
|
|
99
85
|
// Toggle number
|
|
100
|
-
--#{$wizard}__toggle-num--before--Top:
|
|
86
|
+
--#{$wizard}__toggle-num--before--Top: #{pf-size-prem(-2px)}; // TODO this should probably be calculated
|
|
101
87
|
|
|
102
88
|
// Toggle list item
|
|
103
|
-
--#{$wizard}__toggle-list-item--not-last-child--MarginRight: var(
|
|
104
|
-
--#{$wizard}__toggle-list-item--MarginBottom: var(
|
|
89
|
+
--#{$wizard}__toggle-list-item--not-last-child--MarginRight: var(--pf-t--global--spacer--sm);
|
|
90
|
+
--#{$wizard}__toggle-list-item--MarginBottom: var(--pf-t--global--spacer--xs);
|
|
105
91
|
|
|
106
92
|
// Toggle list
|
|
107
|
-
--#{$wizard}__toggle-list--MarginRight: var(
|
|
93
|
+
--#{$wizard}__toggle-list--MarginRight: var(--pf-t--global--spacer--sm);
|
|
108
94
|
--#{$wizard}__toggle-list--MarginBottom: calc(var(--#{$wizard}__toggle-list-item--MarginBottom) * -1);
|
|
109
95
|
|
|
110
96
|
// Toggle separator
|
|
111
|
-
--#{$wizard}__toggle-separator--MarginLeft: var(
|
|
112
|
-
--#{$wizard}__toggle-separator--Color: var(
|
|
97
|
+
--#{$wizard}__toggle-separator--MarginLeft: var(--pf-t--global--spacer--sm);
|
|
98
|
+
--#{$wizard}__toggle-separator--Color: var(--pf-t--global--border--color--default);
|
|
113
99
|
|
|
114
100
|
// Toggle icon
|
|
115
|
-
--#{$wizard}__toggle-icon--LineHeight: var(
|
|
101
|
+
--#{$wizard}__toggle-icon--LineHeight: var(--pf-t--global--font--line-height--body);
|
|
116
102
|
--#{$wizard}__toggle--m-expanded__toggle-icon--Rotate: 180deg;
|
|
117
103
|
|
|
118
104
|
// Nav
|
|
119
|
-
--#{$wizard}__nav--ZIndex: var(
|
|
120
|
-
--#{$wizard}__nav--BackgroundColor: var(
|
|
121
|
-
--#{$wizard}__nav--BoxShadow: var(
|
|
105
|
+
--#{$wizard}__nav--ZIndex: var(--pf-t--global--Zindex--xs);
|
|
106
|
+
--#{$wizard}__nav--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
107
|
+
--#{$wizard}__nav--BoxShadow: var(--pf-t--global--box-shadow--md--bottom);
|
|
122
108
|
--#{$wizard}__nav--Width: 100%;
|
|
123
109
|
--#{$wizard}__nav--lg--Width: #{pf-size-prem(250px)};
|
|
124
|
-
--#{$wizard}__nav--lg--BorderRightWidth: var(
|
|
125
|
-
--#{$wizard}__nav--lg--BorderRightColor: var(
|
|
110
|
+
--#{$wizard}__nav--lg--BorderRightWidth: var(--pf-t--global--border--width--regular);
|
|
111
|
+
--#{$wizard}__nav--lg--BorderRightColor: var(--pf-t--global--border--color--default);
|
|
126
112
|
|
|
127
113
|
@media screen and (min-width: $pf-v5-global--breakpoint--lg) {
|
|
128
114
|
--#{$wizard}__nav--Width: var(--#{$wizard}__nav--lg--Width);
|
|
@@ -130,38 +116,18 @@
|
|
|
130
116
|
}
|
|
131
117
|
|
|
132
118
|
// Nav list (nested)
|
|
133
|
-
--#{$wizard}__nav-list--PaddingTop: var(
|
|
134
|
-
--#{$wizard}__nav-list--PaddingRight: var(
|
|
135
|
-
--#{$wizard}__nav-list--PaddingBottom: var(
|
|
136
|
-
--#{$wizard}__nav-list--PaddingLeft: calc(var(
|
|
137
|
-
--#{$wizard}__nav-list--
|
|
138
|
-
--#{$wizard}__nav-list--
|
|
139
|
-
--#{$wizard}__nav-list--lg--PaddingBottom: var(--#{$pf-global}--spacer--md);
|
|
140
|
-
--#{$wizard}__nav-list--xl--PaddingTop: var(--#{$pf-global}--spacer--lg);
|
|
141
|
-
--#{$wizard}__nav-list--xl--PaddingRight: var(--#{$pf-global}--spacer--lg);
|
|
142
|
-
--#{$wizard}__nav-list--xl--PaddingBottom: var(--#{$pf-global}--spacer--lg);
|
|
143
|
-
--#{$wizard}__nav-list--xl--PaddingLeft: calc(var(--#{$pf-global}--spacer--lg) + var(--#{$wizard}__nav-link--before--Width) + var(--#{$pf-global}--spacer--sm));
|
|
144
|
-
--#{$wizard}__nav-list--nested--MarginLeft: var(--#{$pf-global}--spacer--md);
|
|
145
|
-
--#{$wizard}__nav-list--nested--MarginTop: var(--#{$pf-global}--spacer--md);
|
|
146
|
-
|
|
147
|
-
@media screen and (min-width: $pf-v5-global--breakpoint--lg) {
|
|
148
|
-
--#{$wizard}__nav-list--PaddingTop: var(--#{$wizard}__nav-list--lg--PaddingTop);
|
|
149
|
-
--#{$wizard}__nav-list--PaddingRight: var(--#{$wizard}__nav-list--lg--PaddingRight);
|
|
150
|
-
--#{$wizard}__nav-list--PaddingBottom: var(--#{$wizard}__nav-list--lg--PaddingBottom);
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
@media screen and (min-width: $pf-v5-global--breakpoint--xl) {
|
|
154
|
-
--#{$wizard}__nav-list--PaddingTop: var(--#{$wizard}__nav-list--xl--PaddingTop);
|
|
155
|
-
--#{$wizard}__nav-list--PaddingRight: var(--#{$wizard}__nav-list--xl--PaddingRight);
|
|
156
|
-
--#{$wizard}__nav-list--PaddingBottom: var(--#{$wizard}__nav-list--xl--PaddingBottom);
|
|
157
|
-
--#{$wizard}__nav-list--PaddingLeft: var(--#{$wizard}__nav-list--xl--PaddingLeft);
|
|
158
|
-
}
|
|
119
|
+
--#{$wizard}__nav-list--PaddingTop: var(--pf-t--global--spacer--lg);
|
|
120
|
+
--#{$wizard}__nav-list--PaddingRight: var(--pf-t--global--spacer--lg);
|
|
121
|
+
--#{$wizard}__nav-list--PaddingBottom: var(--pf-t--global--spacer--lg);
|
|
122
|
+
--#{$wizard}__nav-list--PaddingLeft: calc(var(--pf-t--global--spacer--lg) + var(--#{$wizard}__nav-link--before--Width) + var(--pf-t--global--spacer--sm));
|
|
123
|
+
--#{$wizard}__nav-list--nested--MarginLeft: var(--pf-t--global--spacer--md);
|
|
124
|
+
--#{$wizard}__nav-list--nested--MarginTop: var(--pf-t--global--spacer--md);
|
|
159
125
|
|
|
160
126
|
// Nav item
|
|
161
|
-
--#{$wizard}__nav-item--MarginTop: var(
|
|
127
|
+
--#{$wizard}__nav-item--MarginTop: var(--pf-t--global--spacer--md);
|
|
162
128
|
|
|
163
129
|
// Outer wrap
|
|
164
|
-
--#{$wizard}__outer-wrap--BackgroundColor: var(
|
|
130
|
+
--#{$wizard}__outer-wrap--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
165
131
|
--#{$wizard}__outer-wrap--lg--PaddingLeft: var(--#{$wizard}__nav--Width);
|
|
166
132
|
--#{$wizard}__outer-wrap--MinHeight: #{pf-size-prem(250px)};
|
|
167
133
|
|
|
@@ -169,45 +135,26 @@
|
|
|
169
135
|
--#{$wizard}__main--ZIndex: auto;
|
|
170
136
|
|
|
171
137
|
// Body
|
|
172
|
-
--#{$wizard}__main-body--PaddingTop: var(
|
|
173
|
-
--#{$wizard}__main-body--PaddingRight: var(
|
|
174
|
-
--#{$wizard}__main-body--PaddingBottom: var(
|
|
175
|
-
--#{$wizard}__main-body--PaddingLeft: var(
|
|
176
|
-
--#{$wizard}__main-body--xl--PaddingTop: var(--#{$pf-global}--spacer--lg);
|
|
177
|
-
--#{$wizard}__main-body--xl--PaddingRight: var(--#{$pf-global}--spacer--lg);
|
|
178
|
-
--#{$wizard}__main-body--xl--PaddingBottom: var(--#{$pf-global}--spacer--lg);
|
|
179
|
-
--#{$wizard}__main-body--xl--PaddingLeft: var(--#{$pf-global}--spacer--lg);
|
|
180
|
-
|
|
181
|
-
@media screen and (min-width: $pf-v5-global--breakpoint--xl) {
|
|
182
|
-
--#{$wizard}__main-body--PaddingTop: var(--#{$wizard}__main-body--xl--PaddingTop);
|
|
183
|
-
--#{$wizard}__main-body--PaddingRight: var(--#{$wizard}__main-body--xl--PaddingRight);
|
|
184
|
-
--#{$wizard}__main-body--PaddingBottom: var(--#{$wizard}__main-body--xl--PaddingBottom);
|
|
185
|
-
--#{$wizard}__main-body--PaddingLeft: var(--#{$wizard}__main-body--xl--PaddingLeft);
|
|
186
|
-
}
|
|
138
|
+
--#{$wizard}__main-body--PaddingTop: var(--pf-t--global--spacer--lg);
|
|
139
|
+
--#{$wizard}__main-body--PaddingRight: var(--pf-t--global--spacer--lg);
|
|
140
|
+
--#{$wizard}__main-body--PaddingBottom: var(--pf-t--global--spacer--lg);
|
|
141
|
+
--#{$wizard}__main-body--PaddingLeft: var(--pf-t--global--spacer--lg);
|
|
187
142
|
|
|
188
143
|
// Footer
|
|
189
|
-
--#{$wizard}__footer--BackgroundColor: var(
|
|
190
|
-
--#{$wizard}__footer--ZIndex: var(
|
|
191
|
-
--#{$wizard}__footer--PaddingTop: var(
|
|
192
|
-
--#{$wizard}__footer--PaddingRight: var(
|
|
193
|
-
--#{$wizard}__footer--PaddingBottom: var(
|
|
194
|
-
--#{$wizard}__footer--PaddingLeft: var(
|
|
195
|
-
--#{$wizard}__footer--
|
|
196
|
-
--#{$wizard}__footer--
|
|
197
|
-
--#{$wizard}__footer--
|
|
198
|
-
--#{$wizard}__footer--
|
|
199
|
-
--#{$wizard}__footer--
|
|
200
|
-
|
|
201
|
-
--#{$wizard}__footer--child--MarginBottom: var(--#{$pf-global}--spacer--sm);
|
|
202
|
-
--#{$wizard}__footer-cancel--MarginLeft: calc(var(--#{$pf-global}--spacer--2xl) - var(--#{$wizard}__footer--child--MarginRight));
|
|
203
|
-
|
|
204
|
-
@media screen and (min-width: $pf-v5-global--breakpoint--xl) {
|
|
205
|
-
--#{$wizard}__footer--PaddingTop: var(--#{$wizard}__footer--xl--PaddingTop);
|
|
206
|
-
--#{$wizard}__footer--PaddingRight: var(--#{$wizard}__footer--xl--PaddingRight);
|
|
207
|
-
--#{$wizard}__footer--PaddingBottom: var(--#{$wizard}__footer--xl--PaddingBottom);
|
|
208
|
-
--#{$wizard}__footer--PaddingLeft: var(--#{$wizard}__footer--xl--PaddingLeft);
|
|
209
|
-
}
|
|
144
|
+
--#{$wizard}__footer--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
145
|
+
--#{$wizard}__footer--ZIndex: var(--pf-t--global--Zindex--xs);
|
|
146
|
+
--#{$wizard}__footer--PaddingTop: var(--pf-t--global--spacer--lg);
|
|
147
|
+
--#{$wizard}__footer--PaddingRight: var(--pf-t--global--spacer--lg);
|
|
148
|
+
--#{$wizard}__footer--PaddingBottom: var(--pf-t--global--spacer--md);
|
|
149
|
+
--#{$wizard}__footer--PaddingLeft: var(--pf-t--global--spacer--lg);
|
|
150
|
+
--#{$wizard}__footer--BorderWidth: var(--pf-t--global--border--width--divider--default);
|
|
151
|
+
--#{$wizard}__footer--BorderColor: var(--pf-t--global--border--color--default);
|
|
152
|
+
--#{$wizard}__footer--child--MarginRight: var(--pf-t--global--spacer--md);
|
|
153
|
+
--#{$wizard}__footer--child--MarginBottom: var(--pf-t--global--spacer--sm);
|
|
154
|
+
--#{$wizard}__footer-cancel--MarginLeft: calc(var(--pf-t--global--spacer--2xl) - var(--#{$wizard}__footer--child--MarginRight));
|
|
155
|
+
}
|
|
210
156
|
|
|
157
|
+
.#{$wizard} {
|
|
211
158
|
position: relative;
|
|
212
159
|
display: flex;
|
|
213
160
|
flex-direction: column;
|
|
@@ -220,7 +167,7 @@
|
|
|
220
167
|
}
|
|
221
168
|
|
|
222
169
|
// stylelint-disable selector-not-notation
|
|
223
|
-
// update to single :not() in breaking change
|
|
170
|
+
// TODO update to single :not() in breaking change
|
|
224
171
|
> :not(.#{$wizard}__outer-wrap):not(.#{$drawer}) {
|
|
225
172
|
flex-shrink: 0;
|
|
226
173
|
}
|
|
@@ -237,8 +184,6 @@
|
|
|
237
184
|
}
|
|
238
185
|
|
|
239
186
|
.#{$wizard}__header {
|
|
240
|
-
@include pf-v5-t-dark;
|
|
241
|
-
|
|
242
187
|
position: relative;
|
|
243
188
|
z-index: var(--#{$wizard}__header--ZIndex);
|
|
244
189
|
padding-block-start: var(--#{$wizard}__header--PaddingTop);
|
|
@@ -269,6 +214,7 @@
|
|
|
269
214
|
font-size: var(--#{$wizard}__title-text--FontSize);
|
|
270
215
|
font-weight: var(--#{$wizard}__title-text--FontWeight);
|
|
271
216
|
line-height: var(--#{$wizard}__title-text--LineHeight);
|
|
217
|
+
color: var(--#{$wizard}__title-text--Color);
|
|
272
218
|
}
|
|
273
219
|
|
|
274
220
|
.#{$wizard}__description {
|
|
@@ -292,18 +238,16 @@
|
|
|
292
238
|
padding-inline-start: var(--#{$wizard}__toggle--PaddingLeft);
|
|
293
239
|
padding-inline-end: var(--#{$wizard}__toggle--PaddingRight);
|
|
294
240
|
background-color: var(--#{$wizard}__toggle--BackgroundColor);
|
|
295
|
-
border: 0;
|
|
296
|
-
|
|
241
|
+
border-block-start: 0;
|
|
242
|
+
border-block-end: var(--#{$wizard}__toggle--BorderBottomWidth) solid var(--#{$wizard}__toggle--BorderBottomColor);
|
|
243
|
+
border-inline-start: 0;
|
|
244
|
+
border-inline-end: 0;
|
|
297
245
|
|
|
298
246
|
@media screen and (min-width: $pf-v5-global--breakpoint--lg) {
|
|
299
247
|
display: none;
|
|
300
248
|
}
|
|
301
249
|
|
|
302
250
|
&.pf-m-expanded {
|
|
303
|
-
--#{$wizard}__toggle--BoxShadow: none;
|
|
304
|
-
|
|
305
|
-
border-block-end: var(--#{$wizard}__toggle--m-expanded--BorderBottomWidth) solid var(--#{$wizard}__toggle--m-expanded--BorderBottomColor);
|
|
306
|
-
|
|
307
251
|
.#{$wizard}__toggle-icon {
|
|
308
252
|
transform: rotate(var(--#{$wizard}__toggle--m-expanded__toggle-icon--Rotate));
|
|
309
253
|
}
|
|
@@ -331,6 +275,7 @@
|
|
|
331
275
|
}
|
|
332
276
|
|
|
333
277
|
.#{$wizard}__toggle-num {
|
|
278
|
+
--#{$wizard}__nav-link--before--TranslateY: 0;
|
|
334
279
|
--#{$wizard}__nav-link--before--Top: var(--#{$wizard}__toggle-num--before--Top);
|
|
335
280
|
}
|
|
336
281
|
|
|
@@ -445,26 +390,36 @@
|
|
|
445
390
|
--#{$wizard}__nav-link-toggle-icon--Rotate: var(--#{$wizard}__nav-item--m-expanded__link-toggle-icon--Rotate);
|
|
446
391
|
}
|
|
447
392
|
}
|
|
393
|
+
|
|
394
|
+
:where(:hover) {
|
|
395
|
+
--#{$wizard}__nav-link--Color: var({$wizard}__nav-link--hover--Color);
|
|
396
|
+
--#{$wizard}__nav-link--BackgroundColor: var({$wizard}__nav-link--hover--BackgroundColor);
|
|
397
|
+
}
|
|
448
398
|
}
|
|
449
399
|
|
|
450
400
|
.#{$wizard}__nav-link {
|
|
451
401
|
position: relative;
|
|
452
402
|
display: inline-block;
|
|
453
403
|
width: 100%;
|
|
404
|
+
padding-block-start: var(--#{$wizard}__nav-link--PaddingBlockStart);
|
|
405
|
+
padding-block-end: var(--#{$wizard}__nav-link--PaddingBlockEnd);
|
|
406
|
+
padding-inline-start: var(--#{$wizard}__nav-link--PaddingInlineStart);
|
|
407
|
+
padding-inline-end: var(--#{$wizard}__nav-link--PaddingInlineEnd);
|
|
454
408
|
color: var(--#{$wizard}__nav-link--Color);
|
|
455
409
|
text-align: start; // needed for when the item is a button
|
|
456
410
|
text-decoration: var(--#{$wizard}__nav-link--TextDecoration);
|
|
457
411
|
word-break: break-word;
|
|
458
412
|
background-color: var(--#{$wizard}__nav-link--BackgroundColor);
|
|
459
|
-
border:
|
|
413
|
+
border: none;
|
|
414
|
+
border-radius: var(--#{$wizard}__nav-link--BorderRadius);
|
|
460
415
|
|
|
461
416
|
// Common step number styles
|
|
462
417
|
@at-root .#{$wizard}__toggle-num,
|
|
463
418
|
&::before {
|
|
464
419
|
@include pf-v5-bidirectional-style(
|
|
465
420
|
$prop: transform,
|
|
466
|
-
$ltr-val: translateX(var(--#{$wizard}__nav-link--before--TranslateX)),
|
|
467
|
-
$rtl-val: translateX(#{pf-v5-calc-inverse(var(--#{$wizard}__nav-link--before--TranslateX))})
|
|
421
|
+
$ltr-val: translateX(var(--#{$wizard}__nav-link--before--TranslateX)) translateY(var(--#{$wizard}__nav-link--before--TranslateY)),
|
|
422
|
+
$rtl-val: translateX(#{pf-v5-calc-inverse(var(--#{$wizard}__nav-link--before--TranslateX))}) translateY(var(--#{$wizard}__nav-link--before--TranslateY))
|
|
468
423
|
);
|
|
469
424
|
|
|
470
425
|
position: absolute;
|
|
@@ -484,25 +439,13 @@
|
|
|
484
439
|
|
|
485
440
|
// Nav step number
|
|
486
441
|
&::before {
|
|
487
|
-
inset-block-start: 0;
|
|
488
442
|
content: counter(wizard-nav-count);
|
|
489
443
|
counter-increment: wizard-nav-count;
|
|
490
444
|
}
|
|
491
445
|
|
|
492
|
-
&:hover {
|
|
493
|
-
--#{$wizard}__nav-link--Color: var(--#{$wizard}__nav-link--hover--Color);
|
|
494
|
-
--#{$wizard}__nav-link-toggle--Color: var(--#{$wizard}__nav-link--hover__nav-link-toggle-icon--Color);
|
|
495
|
-
}
|
|
496
|
-
|
|
497
|
-
&:focus {
|
|
498
|
-
--#{$wizard}__nav-link--Color: var(--#{$wizard}__nav-link--focus--Color);
|
|
499
|
-
--#{$wizard}__nav-link-toggle--Color: var(--#{$wizard}__nav-link--focus__nav-link-toggle-icon--Color);
|
|
500
|
-
}
|
|
501
|
-
|
|
502
446
|
&.pf-m-current {
|
|
503
447
|
--#{$wizard}__nav-link--Color: var(--#{$wizard}__nav-link--m-current--Color);
|
|
504
|
-
|
|
505
|
-
font-weight: var(--#{$wizard}__nav-link--m-current--FontWeight);
|
|
448
|
+
--#{$wizard}__nav-link--BackgroundColor: var(--#{$wizard}__nav-link--m-current--BackgroundColor);
|
|
506
449
|
|
|
507
450
|
@at-root .#{$wizard}__toggle-num,
|
|
508
451
|
&::before {
|
|
@@ -511,9 +454,16 @@
|
|
|
511
454
|
}
|
|
512
455
|
}
|
|
513
456
|
|
|
457
|
+
&:where(:hover, :focus) {
|
|
458
|
+
--#{$wizard}__nav-link--Color: var(--#{$wizard}__nav-link--hover--Color);
|
|
459
|
+
--#{$wizard}__nav-link--BackgroundColor: var(--#{$wizard}__nav-link--hover--BackgroundColor);
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
// override the button background/color for disabled nav links
|
|
514
463
|
&:disabled,
|
|
515
464
|
&.pf-m-disabled {
|
|
516
465
|
--#{$wizard}__nav-link--Color: var(--#{$wizard}__nav-link--m-disabled--Color);
|
|
466
|
+
--#{$wizard}__nav-link--BackgroundColor: var(--#{$wizard}__nav-link--m-disabled--BackgroundColor);
|
|
517
467
|
|
|
518
468
|
pointer-events: none;
|
|
519
469
|
|
|
@@ -572,6 +522,7 @@
|
|
|
572
522
|
padding-inline-start: var(--#{$wizard}__footer--PaddingLeft);
|
|
573
523
|
padding-inline-end: var(--#{$wizard}__footer--PaddingRight);
|
|
574
524
|
background-color: var(--#{$wizard}__footer--BackgroundColor);
|
|
525
|
+
border-block-start: var(--#{$wizard}__footer--BorderWidth) solid var(--#{$wizard}__footer--BorderColor);
|
|
575
526
|
|
|
576
527
|
> * {
|
|
577
528
|
margin-block-end: var(--#{$wizard}__footer--child--MarginBottom);
|
|
@@ -580,14 +531,6 @@
|
|
|
580
531
|
margin-inline-end: var(--#{$wizard}__footer--child--MarginRight);
|
|
581
532
|
}
|
|
582
533
|
}
|
|
583
|
-
|
|
584
|
-
// Limit shadow to a child of modal and main-wizard since we can ensure wizard footer is fixed in those usages
|
|
585
|
-
// Make a regular style in a breaking change release
|
|
586
|
-
.#{$page}__main-wizard &,
|
|
587
|
-
.#{$modal-box} &,
|
|
588
|
-
.#{$drawer} > & {
|
|
589
|
-
box-shadow: var(--#{$wizard}__footer--BoxShadow);
|
|
590
|
-
}
|
|
591
534
|
}
|
|
592
535
|
|
|
593
536
|
.#{$wizard}__footer-cancel {
|
|
@@ -595,8 +538,5 @@
|
|
|
595
538
|
}
|
|
596
539
|
|
|
597
540
|
// stylelint-disable no-invalid-position-at-import-rule
|
|
598
|
-
@import "themes/dark/wizard";
|
|
599
541
|
|
|
600
|
-
|
|
601
|
-
@include pf-v5-theme-dark-wizard;
|
|
602
|
-
}
|
|
542
|
+
|
|
@@ -9,12 +9,12 @@ cssPrefix: pf-v5-c-about-modal-box
|
|
|
9
9
|
```html isFullscreen
|
|
10
10
|
<div
|
|
11
11
|
class="pf-v5-c-about-modal-box"
|
|
12
|
-
style="--pf-v5-c-about-modal-box--BackgroundImage: url(/assets/images/
|
|
12
|
+
style="--pf-v5-c-about-modal-box--BackgroundImage: url(/assets/images/pf-background.svg)"
|
|
13
13
|
>
|
|
14
14
|
<div class="pf-v5-c-about-modal-box__brand">
|
|
15
15
|
<img
|
|
16
16
|
class="pf-v5-c-about-modal-box__brand-image"
|
|
17
|
-
src="/assets/images/
|
|
17
|
+
src="/assets/images/PF-IconLogo.svg"
|
|
18
18
|
alt="PatternFly brand logo"
|
|
19
19
|
/>
|
|
20
20
|
</div>
|