@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,32 +1,37 @@
|
|
|
1
|
+
:root,
|
|
1
2
|
.pf-v5-c-input-group {
|
|
2
|
-
--pf-v5-c-input-group--
|
|
3
|
-
--pf-v5-c-input-group__item--offset: var(--pf-
|
|
4
|
-
--pf-v5-c-input-group__item--
|
|
5
|
-
--pf-v5-c-input-group__item--
|
|
6
|
-
--pf-v5-c-input-group__item--BorderColor--base: var(--pf-v5-global--BorderColor--300);
|
|
7
|
-
--pf-v5-c-input-group__item--BorderColor--accent: var(--pf-v5-global--BorderColor--200);
|
|
3
|
+
--pf-v5-c-input-group--Gap: var(--pf-t--global--spacer--xs);
|
|
4
|
+
--pf-v5-c-input-group__item--offset: var(--pf-t--global--border--width--control--default);
|
|
5
|
+
--pf-v5-c-input-group__item--BorderWidth--base: var(--pf-t--global--border--width--control--default);
|
|
6
|
+
--pf-v5-c-input-group__item--BorderColor--base: var(--pf-t--global--border--color--default);
|
|
8
7
|
--pf-v5-c-input-group__item--BackgroundColor: transparent;
|
|
9
|
-
--pf-v5-c-input-group__item--
|
|
10
|
-
--pf-v5-c-input-group__item--m-box--
|
|
11
|
-
--pf-v5-c-input-group__item--m-box--
|
|
12
|
-
--pf-v5-c-input-group__item--m-box--
|
|
8
|
+
--pf-v5-c-input-group__item--AlignItems: start;
|
|
9
|
+
--pf-v5-c-input-group__item--m-box--PaddingRight: var(--pf-t--global--spacer--sm);
|
|
10
|
+
--pf-v5-c-input-group__item--m-box--PaddingLeft: var(--pf-t--global--spacer--sm);
|
|
11
|
+
--pf-v5-c-input-group__item--m-box--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
12
|
+
--pf-v5-c-input-group__item--m-box--BorderWidth: var(--pf-v5-c-input-group__item--BorderWidth--base);
|
|
13
|
+
--pf-v5-c-input-group__item--m-box--BorderRadius: var(--pf-t--global--border--radius--small);
|
|
13
14
|
--pf-v5-c-input-group__item--m-box--BorderTopColor: var(--pf-v5-c-input-group__item--BorderColor--base);
|
|
14
15
|
--pf-v5-c-input-group__item--m-box--BorderRightColor: var(--pf-v5-c-input-group__item--BorderColor--base);
|
|
15
|
-
--pf-v5-c-input-group__item--m-box--BorderBottomColor: var(--pf-v5-c-input-group__item--BorderColor--
|
|
16
|
+
--pf-v5-c-input-group__item--m-box--BorderBottomColor: var(--pf-v5-c-input-group__item--BorderColor--base);
|
|
16
17
|
--pf-v5-c-input-group__item--m-box--BorderLeftColor: var(--pf-v5-c-input-group__item--BorderColor--base);
|
|
17
18
|
--pf-v5-c-input-group__item--m-plain--BackgroundColor: transparent;
|
|
18
|
-
--pf-v5-c-input-group__text--FontSize: var(--pf-
|
|
19
|
-
--pf-v5-c-input-group__text--Color: var(--pf-
|
|
20
|
-
--pf-v5-c-input-group__item--m-disabled__text--Color: var(--pf-
|
|
21
|
-
--pf-v5-c-input-group__item--m-disabled--
|
|
22
|
-
|
|
19
|
+
--pf-v5-c-input-group__text--FontSize: var(--pf-t--global--font--size--body--default);
|
|
20
|
+
--pf-v5-c-input-group__text--Color: var(--pf-t--global--text--color--regular);
|
|
21
|
+
--pf-v5-c-input-group__item--m-disabled__text--Color: var(--pf-t--global--text--color--on-disabled);
|
|
22
|
+
--pf-v5-c-input-group__item--m-disabled--BackgroundColor: var(--pf-t--global--background--color--disabled--default);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.pf-v5-c-input-group {
|
|
23
26
|
display: flex;
|
|
27
|
+
gap: var(--pf-v5-c-input-group--Gap);
|
|
24
28
|
width: 100%;
|
|
25
29
|
}
|
|
26
30
|
|
|
27
31
|
.pf-v5-c-input-group__item {
|
|
28
32
|
position: relative;
|
|
29
33
|
display: flex;
|
|
34
|
+
align-items: var(--pf-v5-c-input-group__item--AlignItems);
|
|
30
35
|
min-width: var(--pf-v5-c-input-group__item--MinWidth, revert);
|
|
31
36
|
max-width: var(--pf-v5-c-input-group__item--MaxWidth, revert);
|
|
32
37
|
background-color: var(--pf-v5-c-input-group__item--BackgroundColor);
|
|
@@ -35,9 +40,6 @@
|
|
|
35
40
|
border-inline-start-color: var(--pf-v5-c-input-group__item--m-box--BorderLeftColor);
|
|
36
41
|
border-inline-end-color: var(--pf-v5-c-input-group__item--m-box--BorderRightColor);
|
|
37
42
|
}
|
|
38
|
-
.pf-v5-c-input-group__item:where(:not(:first-child)) {
|
|
39
|
-
margin-inline-start: var(--pf-v5-c-input-group__item--MarginLeft);
|
|
40
|
-
}
|
|
41
43
|
.pf-v5-c-input-group__item.pf-m-box {
|
|
42
44
|
--pf-v5-c-input-group__item--BackgroundColor: var(--pf-v5-c-input-group__item--m-box--BackgroundColor);
|
|
43
45
|
padding-inline-start: var(--pf-v5-c-input-group__item--m-box--PaddingLeft);
|
|
@@ -47,15 +49,14 @@
|
|
|
47
49
|
border-block-end-color: var(--pf-v5-c-input-group__item--m-box--BorderBottomColor);
|
|
48
50
|
border-inline-start-color: var(--pf-v5-c-input-group__item--m-box--BorderLeftColor);
|
|
49
51
|
border-inline-end-color: var(--pf-v5-c-input-group__item--m-box--BorderRightColor);
|
|
52
|
+
border-radius: var(--pf-v5-c-input-group__item--m-box--BorderRadius);
|
|
50
53
|
}
|
|
51
54
|
.pf-v5-c-input-group__item.pf-m-plain {
|
|
52
|
-
--pf-v5-c-input-group__item--MarginLeft: 0;
|
|
53
55
|
--pf-v5-c-input-group__item--BackgroundColor: var(--pf-v5-c-input-group__item--m-plain--BackgroundColor);
|
|
54
56
|
border: none;
|
|
55
57
|
}
|
|
56
58
|
.pf-v5-c-input-group__item.pf-m-disabled {
|
|
57
59
|
--pf-v5-c-input-group__item--BackgroundColor: var(--pf-v5-c-input-group__item--m-disabled--BackgroundColor);
|
|
58
|
-
--pf-v5-c-input-group__item--m-box--BorderBottomColor: var(--pf-v5-c-input-group__item--m-disabled--BorderBottomColor);
|
|
59
60
|
--pf-v5-c-input-group__text--Color: var(--pf-v5-c-input-group__item--m-disabled__text--Color);
|
|
60
61
|
}
|
|
61
62
|
.pf-v5-c-input-group__item.pf-m-fill {
|
|
@@ -69,21 +70,4 @@
|
|
|
69
70
|
}
|
|
70
71
|
label.pf-v5-c-input-group__text {
|
|
71
72
|
cursor: pointer;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
:where(.pf-v5-theme-dark) .pf-v5-c-input-group {
|
|
75
|
-
--pf-v5-c-input-group__item--BorderLeftWidth: var(--pf-v5-c-input-group__item--BorderWidth--base);
|
|
76
|
-
--pf-v5-c-input-group__item--BorderLeftColor: var(--pf-v5-global--palette--black-700);
|
|
77
|
-
--pf-v5-c-input-group__item--m-box--BackgroundColor: var(--pf-v5-global--BackgroundColor--400);
|
|
78
|
-
--pf-v5-c-input-group__item--m-box--BorderTopColor: transparent;
|
|
79
|
-
--pf-v5-c-input-group__item--m-box--BorderRightColor: transparent;
|
|
80
|
-
--pf-v5-c-input-group__item--m-box--BorderBottomColor: var(--pf-v5-global--BorderColor--400);
|
|
81
|
-
--pf-v5-c-input-group__item--m-box--BorderLeftColor: transparent;
|
|
82
|
-
--pf-v5-c-input-group__item--m-disabled--BackgroundColor: var(--pf-v5-global--disabled-color--200);
|
|
83
|
-
--pf-v5-c-input-group__item--m-disabled--BorderBottomColor: transparent;
|
|
84
|
-
--pf-v5-c-input-group__item--m-disabled__text--Color: var(--pf-v5-global--disabled-color--300);
|
|
85
|
-
}
|
|
86
|
-
:where(.pf-v5-theme-dark) .pf-v5-c-input-group > * + * {
|
|
87
|
-
--pf-v5-c-input-group__item--m-box--BorderLeftColor: var(--pf-v5-c-input-group__item--BorderLeftColor);
|
|
88
|
-
border-inline-start: var(--pf-v5-c-input-group__item--BorderLeftWidth) solid var(--pf-v5-c-input-group__item--BorderLeftColor);
|
|
89
73
|
}
|
|
@@ -1,46 +1,49 @@
|
|
|
1
1
|
// @debug $input-group; // check your variable names located in src/patternfly/sass-utilities/component-namespaces.scss
|
|
2
2
|
|
|
3
|
+
:root,
|
|
3
4
|
.#{$input-group} {
|
|
4
|
-
|
|
5
|
-
--#{$input-group}--child--ZIndex: var(--#{$pf-global}--ZIndex--xs);
|
|
5
|
+
--#{$input-group}--Gap: var(--pf-t--global--spacer--xs);
|
|
6
6
|
|
|
7
7
|
// Input group item
|
|
8
|
-
--#{$input-group}__item--offset: var(
|
|
9
|
-
--#{$input-group}__item--
|
|
10
|
-
--#{$input-group}__item--
|
|
11
|
-
--#{$input-group}__item--BorderColor--base: var(--#{$pf-global}--BorderColor--300);
|
|
12
|
-
--#{$input-group}__item--BorderColor--accent: var(--#{$pf-global}--BorderColor--200);
|
|
8
|
+
--#{$input-group}__item--offset: var(--pf-t--global--border--width--control--default);
|
|
9
|
+
--#{$input-group}__item--BorderWidth--base: var(--pf-t--global--border--width--control--default);
|
|
10
|
+
--#{$input-group}__item--BorderColor--base: var(--pf-t--global--border--color--default);
|
|
13
11
|
--#{$input-group}__item--BackgroundColor: transparent;
|
|
12
|
+
--#{$input-group}__item--AlignItems: start;
|
|
14
13
|
|
|
15
14
|
// Input group item, box variant
|
|
16
|
-
--#{$input-group}__item--m-box--PaddingRight: var(
|
|
17
|
-
--#{$input-group}__item--m-box--PaddingLeft: var(
|
|
18
|
-
--#{$input-group}__item--m-box--BackgroundColor: var(
|
|
19
|
-
--#{$input-group}__item--m-box--BorderWidth: var(--#{$input-group}__item--
|
|
15
|
+
--#{$input-group}__item--m-box--PaddingRight: var(--pf-t--global--spacer--sm);
|
|
16
|
+
--#{$input-group}__item--m-box--PaddingLeft: var(--pf-t--global--spacer--sm);
|
|
17
|
+
--#{$input-group}__item--m-box--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
18
|
+
--#{$input-group}__item--m-box--BorderWidth: var(--#{$input-group}__item--BorderWidth--base);
|
|
19
|
+
--#{$input-group}__item--m-box--BorderRadius: var(--pf-t--global--border--radius--small);
|
|
20
20
|
--#{$input-group}__item--m-box--BorderTopColor: var(--#{$input-group}__item--BorderColor--base);
|
|
21
21
|
--#{$input-group}__item--m-box--BorderRightColor: var(--#{$input-group}__item--BorderColor--base);
|
|
22
|
-
--#{$input-group}__item--m-box--BorderBottomColor: var(--#{$input-group}__item--BorderColor--
|
|
22
|
+
--#{$input-group}__item--m-box--BorderBottomColor: var(--#{$input-group}__item--BorderColor--base);
|
|
23
23
|
--#{$input-group}__item--m-box--BorderLeftColor: var(--#{$input-group}__item--BorderColor--base);
|
|
24
24
|
|
|
25
25
|
// Input group item, plain variant
|
|
26
26
|
--#{$input-group}__item--m-plain--BackgroundColor: transparent;
|
|
27
27
|
|
|
28
28
|
// Input group text
|
|
29
|
-
--#{$input-group}__text--FontSize: var(
|
|
30
|
-
--#{$input-group}__text--Color: var(
|
|
29
|
+
--#{$input-group}__text--FontSize: var(--pf-t--global--font--size--body--default);
|
|
30
|
+
--#{$input-group}__text--Color: var(--pf-t--global--text--color--regular);
|
|
31
31
|
|
|
32
32
|
// Input group text, disabled variant
|
|
33
|
-
--#{$input-group}__item--m-disabled__text--Color: var(
|
|
34
|
-
--#{$input-group}__item--m-disabled--
|
|
35
|
-
|
|
33
|
+
--#{$input-group}__item--m-disabled__text--Color: var(--pf-t--global--text--color--on-disabled);
|
|
34
|
+
--#{$input-group}__item--m-disabled--BackgroundColor: var(--pf-t--global--background--color--disabled--default);
|
|
35
|
+
}
|
|
36
36
|
|
|
37
|
+
.#{$input-group} {
|
|
37
38
|
display: flex;
|
|
39
|
+
gap: var(--#{$input-group}--Gap);
|
|
38
40
|
width: 100%;
|
|
39
41
|
}
|
|
40
42
|
|
|
41
43
|
.#{$input-group}__item {
|
|
42
44
|
position: relative; // stack items without explicit z-index
|
|
43
45
|
display: flex;
|
|
46
|
+
align-items: var(--#{$input-group}__item--AlignItems);
|
|
44
47
|
min-width: var(--#{$input-group}__item--MinWidth, revert);
|
|
45
48
|
max-width: var(--#{$input-group}__item--MaxWidth, revert);
|
|
46
49
|
background-color: var(--#{$input-group}__item--BackgroundColor);
|
|
@@ -49,10 +52,6 @@
|
|
|
49
52
|
border-inline-start-color: var(--#{$input-group}__item--m-box--BorderLeftColor);
|
|
50
53
|
border-inline-end-color: var(--#{$input-group}__item--m-box--BorderRightColor);
|
|
51
54
|
|
|
52
|
-
&:where(:not(:first-child)) {
|
|
53
|
-
margin-inline-start: var(--#{$input-group}__item--MarginLeft);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
55
|
&.pf-m-box {
|
|
57
56
|
--#{$input-group}__item--BackgroundColor: var(--#{$input-group}__item--m-box--BackgroundColor);
|
|
58
57
|
|
|
@@ -63,10 +62,10 @@
|
|
|
63
62
|
border-block-end-color: var(--#{$input-group}__item--m-box--BorderBottomColor);
|
|
64
63
|
border-inline-start-color: var(--#{$input-group}__item--m-box--BorderLeftColor);
|
|
65
64
|
border-inline-end-color: var(--#{$input-group}__item--m-box--BorderRightColor);
|
|
65
|
+
border-radius: var(--#{$input-group}__item--m-box--BorderRadius);
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
&.pf-m-plain {
|
|
69
|
-
--#{$input-group}__item--MarginLeft: 0;
|
|
70
69
|
--#{$input-group}__item--BackgroundColor: var(--#{$input-group}__item--m-plain--BackgroundColor);
|
|
71
70
|
|
|
72
71
|
border: none;
|
|
@@ -74,7 +73,6 @@
|
|
|
74
73
|
|
|
75
74
|
&.pf-m-disabled {
|
|
76
75
|
--#{$input-group}__item--BackgroundColor: var(--#{$input-group}__item--m-disabled--BackgroundColor);
|
|
77
|
-
--#{$input-group}__item--m-box--BorderBottomColor: var(--#{$input-group}__item--m-disabled--BorderBottomColor);
|
|
78
76
|
--#{$input-group}__text--Color: var(--#{$input-group}__item--m-disabled__text--Color);
|
|
79
77
|
}
|
|
80
78
|
|
|
@@ -93,9 +91,3 @@
|
|
|
93
91
|
}
|
|
94
92
|
}
|
|
95
93
|
|
|
96
|
-
// stylelint-disable no-invalid-position-at-import-rule
|
|
97
|
-
@import "themes/dark/input-group";
|
|
98
|
-
|
|
99
|
-
@include pf-v5-theme-dark {
|
|
100
|
-
@include pf-v5-theme-dark-input-group;
|
|
101
|
-
}
|
|
@@ -1,60 +1,63 @@
|
|
|
1
|
-
|
|
1
|
+
:where(:root),
|
|
2
|
+
:where(.pf-v5-c-jump-links) {
|
|
2
3
|
--pf-v5-c-jump-links__list--Display: flex;
|
|
3
4
|
--pf-v5-c-jump-links__list--PaddingTop: 0;
|
|
4
|
-
--pf-v5-c-jump-links__list--PaddingRight: var(--pf-
|
|
5
|
+
--pf-v5-c-jump-links__list--PaddingRight: var(--pf-t--global--spacer--md);
|
|
5
6
|
--pf-v5-c-jump-links__list--PaddingBottom: 0;
|
|
6
|
-
--pf-v5-c-jump-links__list--PaddingLeft: var(--pf-
|
|
7
|
-
--pf-v5-c-jump-links--m-vertical__list--PaddingTop: var(--pf-
|
|
7
|
+
--pf-v5-c-jump-links__list--PaddingLeft: var(--pf-t--global--spacer--md);
|
|
8
|
+
--pf-v5-c-jump-links--m-vertical__list--PaddingTop: var(--pf-t--global--spacer--md);
|
|
8
9
|
--pf-v5-c-jump-links--m-vertical__list--PaddingRight: 0;
|
|
9
|
-
--pf-v5-c-jump-links--m-vertical__list--PaddingBottom: var(--pf-
|
|
10
|
+
--pf-v5-c-jump-links--m-vertical__list--PaddingBottom: var(--pf-t--global--spacer--md);
|
|
10
11
|
--pf-v5-c-jump-links--m-vertical__list--PaddingLeft: 0;
|
|
11
12
|
--pf-v5-c-jump-links__list--FlexDirection: row;
|
|
12
13
|
--pf-v5-c-jump-links--m-vertical__list--FlexDirection: column;
|
|
13
|
-
--pf-v5-c-jump-links__list--before--BorderColor: var(--pf-
|
|
14
|
-
--pf-v5-c-jump-links__list--before--BorderTopWidth: var(--pf-
|
|
14
|
+
--pf-v5-c-jump-links__list--before--BorderColor: var(--pf-t--global--border--color--default);
|
|
15
|
+
--pf-v5-c-jump-links__list--before--BorderTopWidth: var(--pf-t--global--border--width--box--default);
|
|
15
16
|
--pf-v5-c-jump-links__list--before--BorderRightWidth: 0;
|
|
16
17
|
--pf-v5-c-jump-links__list--before--BorderBottomWidth: 0;
|
|
17
18
|
--pf-v5-c-jump-links__list--before--BorderLeftWidth: 0;
|
|
18
|
-
--pf-v5-c-jump-links--m-vertical__list--before--BorderLeftWidth: var(--pf-
|
|
19
|
+
--pf-v5-c-jump-links--m-vertical__list--before--BorderLeftWidth: var(--pf-t--global--border--width--box--default);
|
|
19
20
|
--pf-v5-c-jump-links--m-vertical__list--before--BorderTopWidth: 0;
|
|
20
|
-
--pf-v5-c-jump-links__list__list--MarginTop: calc(var(--pf-
|
|
21
|
-
--pf-v5-c-jump-links__link--PaddingTop: var(--pf-
|
|
22
|
-
--pf-v5-c-jump-links__link--PaddingRight: var(--pf-
|
|
23
|
-
--pf-v5-c-jump-links__link--PaddingBottom: var(--pf-
|
|
24
|
-
--pf-v5-c-jump-links__link--PaddingLeft: var(--pf-
|
|
25
|
-
--pf-v5-c-jump-links__list__list__link--PaddingTop: var(--pf-
|
|
26
|
-
--pf-v5-c-jump-links__list__list__link--PaddingLeft: var(--pf-
|
|
27
|
-
--pf-v5-c-jump-links__list__list__link--PaddingBottom: var(--pf-
|
|
28
|
-
--pf-v5-c-jump-links__link--OutlineOffset: calc(-1 * var(--pf-
|
|
21
|
+
--pf-v5-c-jump-links__list__list--MarginTop: calc(var(--pf-t--global--spacer--sm) * -1);
|
|
22
|
+
--pf-v5-c-jump-links__link--PaddingTop: var(--pf-t--global--spacer--sm);
|
|
23
|
+
--pf-v5-c-jump-links__link--PaddingRight: var(--pf-t--global--spacer--sm);
|
|
24
|
+
--pf-v5-c-jump-links__link--PaddingBottom: var(--pf-t--global--spacer--sm);
|
|
25
|
+
--pf-v5-c-jump-links__link--PaddingLeft: var(--pf-t--global--spacer--sm);
|
|
26
|
+
--pf-v5-c-jump-links__list__list__link--PaddingTop: var(--pf-t--global--spacer--sm);
|
|
27
|
+
--pf-v5-c-jump-links__list__list__link--PaddingLeft: var(--pf-t--global--spacer--lg);
|
|
28
|
+
--pf-v5-c-jump-links__list__list__link--PaddingBottom: var(--pf-t--global--spacer--sm);
|
|
29
|
+
--pf-v5-c-jump-links__link--OutlineOffset: calc(-1 * var(--pf-t--global--spacer--sm));
|
|
29
30
|
--pf-v5-c-jump-links__link--before--BorderTopWidth: 0;
|
|
30
31
|
--pf-v5-c-jump-links__link--before--BorderRightWidth: 0;
|
|
31
32
|
--pf-v5-c-jump-links__link--before--BorderBottomWidth: 0;
|
|
32
33
|
--pf-v5-c-jump-links__link--before--BorderLeftWidth: 0;
|
|
33
34
|
--pf-v5-c-jump-links__link--before--BorderColor: transparent;
|
|
34
|
-
--pf-v5-c-jump-links__item--m-current__link--before--BorderTopWidth: var(--pf-
|
|
35
|
+
--pf-v5-c-jump-links__item--m-current__link--before--BorderTopWidth: var(--pf-t--global--border--width--extra-strong);
|
|
35
36
|
--pf-v5-c-jump-links__item--m-current__link--before--BorderLeftWidth: 0;
|
|
36
|
-
--pf-v5-c-jump-links__item--m-current__link--before--BorderColor: var(--pf-
|
|
37
|
+
--pf-v5-c-jump-links__item--m-current__link--before--BorderColor: var(--pf-t--global--border--color--clicked);
|
|
37
38
|
--pf-v5-c-jump-links--m-vertical__item--m-current__link--before--BorderTopWidth: 0;
|
|
38
|
-
--pf-v5-c-jump-links--m-vertical__item--m-current__link--before--BorderLeftWidth: var(--pf-
|
|
39
|
-
--pf-v5-c-jump-links__link-text--Color: var(--pf-
|
|
40
|
-
--pf-v5-c-jump-links__link--hover__link-text--Color: var(--pf-
|
|
41
|
-
--pf-v5-c-jump-
|
|
42
|
-
--pf-v5-c-jump-
|
|
43
|
-
--pf-v5-c-jump-links__label--MarginBottom: var(--pf-v5-global--spacer--md);
|
|
39
|
+
--pf-v5-c-jump-links--m-vertical__item--m-current__link--before--BorderLeftWidth: var(--pf-t--global--border--width--extra-strong);
|
|
40
|
+
--pf-v5-c-jump-links__link-text--Color: var(--pf-t--global--text--color--subtle);
|
|
41
|
+
--pf-v5-c-jump-links__link--hover__link-text--Color: var(--pf-t--global--text--color--subtle);
|
|
42
|
+
--pf-v5-c-jump-links__item--m-current__link-text--Color: var(--pf-t--global--text--color--regular);
|
|
43
|
+
--pf-v5-c-jump-links__label--MarginBottom: var(--pf-t--global--spacer--md);
|
|
44
44
|
--pf-v5-c-jump-links__label--Display: block;
|
|
45
45
|
--pf-v5-c-jump-links__toggle--MarginTop: calc(-1 * var(--pf-v5-global--spacer--form-element));
|
|
46
46
|
--pf-v5-c-jump-links__toggle--MarginBottom--base: calc(-1 * var(--pf-v5-global--spacer--form-element));
|
|
47
47
|
--pf-v5-c-jump-links__toggle--MarginBottom: var(--pf-v5-c-jump-links__toggle--MarginBottom--base);
|
|
48
|
-
--pf-v5-c-jump-links--m-expanded__toggle--MarginBottom: calc(var(--pf-v5-c-jump-links__toggle--MarginBottom--base) + var(--pf-
|
|
49
|
-
--pf-v5-c-jump-links__toggle--MarginLeft: calc(-1 * var(--pf-
|
|
48
|
+
--pf-v5-c-jump-links--m-expanded__toggle--MarginBottom: calc(var(--pf-v5-c-jump-links__toggle--MarginBottom--base) + var(--pf-t--global--spacer--md));
|
|
49
|
+
--pf-v5-c-jump-links__toggle--MarginLeft: calc(-1 * var(--pf-t--global--spacer--md));
|
|
50
50
|
--pf-v5-c-jump-links__toggle--Display: none;
|
|
51
51
|
--pf-v5-c-jump-links__toggle-icon--Color: currentcolor;
|
|
52
52
|
--pf-v5-c-jump-links__toggle-icon--Transition: var(--pf-v5-global--Transition);
|
|
53
53
|
--pf-v5-c-jump-links__toggle-icon--Rotate: 0;
|
|
54
|
-
--pf-v5-c-jump-links--m-expanded__toggle-icon--Color: var(--pf-
|
|
54
|
+
--pf-v5-c-jump-links--m-expanded__toggle-icon--Color: var(--pf-t--global--icon--color--regular);
|
|
55
55
|
--pf-v5-c-jump-links--m-expanded__toggle-icon--Rotate: 90deg;
|
|
56
|
-
--pf-v5-c-jump-links__toggle-text--MarginLeft: var(--pf-
|
|
57
|
-
--pf-v5-c-jump-links__toggle-text--Color: var(--pf-
|
|
56
|
+
--pf-v5-c-jump-links__toggle-text--MarginLeft: var(--pf-t--global--spacer--md);
|
|
57
|
+
--pf-v5-c-jump-links__toggle-text--Color: var(--pf-t--global--text--color--regular);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.pf-v5-c-jump-links {
|
|
58
61
|
display: flex;
|
|
59
62
|
}
|
|
60
63
|
.pf-v5-c-jump-links.pf-m-center {
|
|
@@ -192,12 +195,9 @@
|
|
|
192
195
|
text-decoration: none;
|
|
193
196
|
outline-offset: var(--pf-v5-c-jump-links__link--OutlineOffset);
|
|
194
197
|
}
|
|
195
|
-
.pf-v5-c-jump-links__link:hover {
|
|
198
|
+
.pf-v5-c-jump-links__link:hover, .pf-v5-c-jump-links__link:focus {
|
|
196
199
|
--pf-v5-c-jump-links__link-text--Color: var(--pf-v5-c-jump-links__link--hover__link-text--Color);
|
|
197
200
|
}
|
|
198
|
-
.pf-v5-c-jump-links__link:focus {
|
|
199
|
-
--pf-v5-c-jump-links__link-text--Color: var(--pf-v5-c-jump-links__link--focus__link-text--Color);
|
|
200
|
-
}
|
|
201
201
|
.pf-v5-c-jump-links__link::before {
|
|
202
202
|
position: absolute;
|
|
203
203
|
inset: 0;
|
|
@@ -1,37 +1,38 @@
|
|
|
1
1
|
// @debug $jump-links; // check your variable names located in src/patternfly/sass-utilities/component-namespaces.scss
|
|
2
2
|
$pf-v5-c-jump-links--m-expandable--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg", "xl", "2xl");
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
:where(:root),
|
|
5
|
+
:where(.#{$jump-links}) {
|
|
5
6
|
// list
|
|
6
7
|
--#{$jump-links}__list--Display: flex;
|
|
7
8
|
--#{$jump-links}__list--PaddingTop: 0;
|
|
8
|
-
--#{$jump-links}__list--PaddingRight: var(
|
|
9
|
+
--#{$jump-links}__list--PaddingRight: var(--pf-t--global--spacer--md);
|
|
9
10
|
--#{$jump-links}__list--PaddingBottom: 0;
|
|
10
|
-
--#{$jump-links}__list--PaddingLeft: var(
|
|
11
|
-
--#{$jump-links}--m-vertical__list--PaddingTop: var(
|
|
11
|
+
--#{$jump-links}__list--PaddingLeft: var(--pf-t--global--spacer--md);
|
|
12
|
+
--#{$jump-links}--m-vertical__list--PaddingTop: var(--pf-t--global--spacer--md);
|
|
12
13
|
--#{$jump-links}--m-vertical__list--PaddingRight: 0;
|
|
13
|
-
--#{$jump-links}--m-vertical__list--PaddingBottom: var(
|
|
14
|
+
--#{$jump-links}--m-vertical__list--PaddingBottom: var(--pf-t--global--spacer--md);
|
|
14
15
|
--#{$jump-links}--m-vertical__list--PaddingLeft: 0;
|
|
15
16
|
--#{$jump-links}__list--FlexDirection: row;
|
|
16
17
|
--#{$jump-links}--m-vertical__list--FlexDirection: column;
|
|
17
|
-
--#{$jump-links}__list--before--BorderColor: var(
|
|
18
|
-
--#{$jump-links}__list--before--BorderTopWidth: var(
|
|
18
|
+
--#{$jump-links}__list--before--BorderColor: var(--pf-t--global--border--color--default);
|
|
19
|
+
--#{$jump-links}__list--before--BorderTopWidth: var(--pf-t--global--border--width--box--default);
|
|
19
20
|
--#{$jump-links}__list--before--BorderRightWidth: 0;
|
|
20
21
|
--#{$jump-links}__list--before--BorderBottomWidth: 0;
|
|
21
22
|
--#{$jump-links}__list--before--BorderLeftWidth: 0;
|
|
22
|
-
--#{$jump-links}--m-vertical__list--before--BorderLeftWidth: var(
|
|
23
|
+
--#{$jump-links}--m-vertical__list--before--BorderLeftWidth: var(--pf-t--global--border--width--box--default);
|
|
23
24
|
--#{$jump-links}--m-vertical__list--before--BorderTopWidth: 0;
|
|
24
|
-
--#{$jump-links}__list__list--MarginTop: calc(var(
|
|
25
|
+
--#{$jump-links}__list__list--MarginTop: calc(var(--pf-t--global--spacer--sm) * -1);
|
|
25
26
|
|
|
26
27
|
// link
|
|
27
|
-
--#{$jump-links}__link--PaddingTop: var(
|
|
28
|
-
--#{$jump-links}__link--PaddingRight: var(
|
|
29
|
-
--#{$jump-links}__link--PaddingBottom: var(
|
|
30
|
-
--#{$jump-links}__link--PaddingLeft: var(
|
|
31
|
-
--#{$jump-links}__list__list__link--PaddingTop: var(
|
|
32
|
-
--#{$jump-links}__list__list__link--PaddingLeft: var(
|
|
33
|
-
--#{$jump-links}__list__list__link--PaddingBottom: var(
|
|
34
|
-
--#{$jump-links}__link--OutlineOffset: calc(-1 * var(
|
|
28
|
+
--#{$jump-links}__link--PaddingTop: var(--pf-t--global--spacer--sm);
|
|
29
|
+
--#{$jump-links}__link--PaddingRight: var(--pf-t--global--spacer--sm);
|
|
30
|
+
--#{$jump-links}__link--PaddingBottom: var(--pf-t--global--spacer--sm);
|
|
31
|
+
--#{$jump-links}__link--PaddingLeft: var(--pf-t--global--spacer--sm);
|
|
32
|
+
--#{$jump-links}__list__list__link--PaddingTop: var(--pf-t--global--spacer--sm);
|
|
33
|
+
--#{$jump-links}__list__list__link--PaddingLeft: var(--pf-t--global--spacer--lg);
|
|
34
|
+
--#{$jump-links}__list__list__link--PaddingBottom: var(--pf-t--global--spacer--sm);
|
|
35
|
+
--#{$jump-links}__link--OutlineOffset: calc(-1 * var(--pf-t--global--spacer--sm));
|
|
35
36
|
|
|
36
37
|
// before
|
|
37
38
|
--#{$jump-links}__link--before--BorderTopWidth: 0;
|
|
@@ -39,41 +40,42 @@ $pf-v5-c-jump-links--m-expandable--breakpoint-map: build-breakpoint-map("base",
|
|
|
39
40
|
--#{$jump-links}__link--before--BorderBottomWidth: 0;
|
|
40
41
|
--#{$jump-links}__link--before--BorderLeftWidth: 0;
|
|
41
42
|
--#{$jump-links}__link--before--BorderColor: transparent;
|
|
42
|
-
--#{$jump-links}__item--m-current__link--before--BorderTopWidth: var(
|
|
43
|
+
--#{$jump-links}__item--m-current__link--before--BorderTopWidth: var(--pf-t--global--border--width--extra-strong);
|
|
43
44
|
--#{$jump-links}__item--m-current__link--before--BorderLeftWidth: 0;
|
|
44
|
-
--#{$jump-links}__item--m-current__link--before--BorderColor: var(
|
|
45
|
+
--#{$jump-links}__item--m-current__link--before--BorderColor: var(--pf-t--global--border--color--clicked);
|
|
45
46
|
--#{$jump-links}--m-vertical__item--m-current__link--before--BorderTopWidth: 0;
|
|
46
|
-
--#{$jump-links}--m-vertical__item--m-current__link--before--BorderLeftWidth: var(
|
|
47
|
+
--#{$jump-links}--m-vertical__item--m-current__link--before--BorderLeftWidth: var(--pf-t--global--border--width--extra-strong);
|
|
47
48
|
|
|
48
49
|
// text
|
|
49
|
-
--#{$jump-links}__link-text--Color: var(
|
|
50
|
-
--#{$jump-links}__link--hover__link-text--Color: var(
|
|
51
|
-
--#{$jump-links}
|
|
52
|
-
--#{$jump-links}__item--m-current__link-text--Color: var(--#{$pf-global}--Color--100);
|
|
50
|
+
--#{$jump-links}__link-text--Color: var(--pf-t--global--text--color--subtle);
|
|
51
|
+
--#{$jump-links}__link--hover__link-text--Color: var(--pf-t--global--text--color--subtle);
|
|
52
|
+
--#{$jump-links}__item--m-current__link-text--Color: var(--pf-t--global--text--color--regular);
|
|
53
53
|
|
|
54
54
|
// label
|
|
55
|
-
--#{$jump-links}__label--MarginBottom: var(
|
|
55
|
+
--#{$jump-links}__label--MarginBottom: var(--pf-t--global--spacer--md);
|
|
56
56
|
--#{$jump-links}__label--Display: block;
|
|
57
57
|
|
|
58
58
|
// toggle
|
|
59
59
|
--#{$jump-links}__toggle--MarginTop: calc(-1 * var(--#{$pf-global}--spacer--form-element));
|
|
60
60
|
--#{$jump-links}__toggle--MarginBottom--base: calc(-1 * var(--#{$pf-global}--spacer--form-element));
|
|
61
61
|
--#{$jump-links}__toggle--MarginBottom: var(--#{$jump-links}__toggle--MarginBottom--base);
|
|
62
|
-
--#{$jump-links}--m-expanded__toggle--MarginBottom: calc(var(--#{$jump-links}__toggle--MarginBottom--base) + var(
|
|
63
|
-
--#{$jump-links}__toggle--MarginLeft: calc(-1 * var(
|
|
62
|
+
--#{$jump-links}--m-expanded__toggle--MarginBottom: calc(var(--#{$jump-links}__toggle--MarginBottom--base) + var(--pf-t--global--spacer--md));
|
|
63
|
+
--#{$jump-links}__toggle--MarginLeft: calc(-1 * var(--pf-t--global--spacer--md));
|
|
64
64
|
--#{$jump-links}__toggle--Display: none;
|
|
65
65
|
|
|
66
66
|
// toggle icon
|
|
67
67
|
--#{$jump-links}__toggle-icon--Color: currentcolor;
|
|
68
|
-
--#{$jump-links}__toggle-icon--Transition: var(--#{$pf-global}--Transition);
|
|
68
|
+
--#{$jump-links}__toggle-icon--Transition: var(--#{$pf-global}--Transition); // TODO
|
|
69
69
|
--#{$jump-links}__toggle-icon--Rotate: 0;
|
|
70
|
-
--#{$jump-links}--m-expanded__toggle-icon--Color: var(
|
|
70
|
+
--#{$jump-links}--m-expanded__toggle-icon--Color: var(--pf-t--global--icon--color--regular);
|
|
71
71
|
--#{$jump-links}--m-expanded__toggle-icon--Rotate: 90deg;
|
|
72
72
|
|
|
73
73
|
// toggle text
|
|
74
|
-
--#{$jump-links}__toggle-text--MarginLeft: var(
|
|
75
|
-
--#{$jump-links}__toggle-text--Color: var(
|
|
74
|
+
--#{$jump-links}__toggle-text--MarginLeft: var(--pf-t--global--spacer--md);
|
|
75
|
+
--#{$jump-links}__toggle-text--Color: var(--pf-t--global--text--color--regular);
|
|
76
|
+
}
|
|
76
77
|
|
|
78
|
+
.#{$jump-links} {
|
|
77
79
|
display: flex;
|
|
78
80
|
|
|
79
81
|
&.pf-m-center {
|
|
@@ -168,12 +170,9 @@ $pf-v5-c-jump-links--m-expandable--breakpoint-map: build-breakpoint-map("base",
|
|
|
168
170
|
text-decoration: none;
|
|
169
171
|
outline-offset: var(--#{$jump-links}__link--OutlineOffset);
|
|
170
172
|
|
|
171
|
-
&:hover
|
|
172
|
-
--#{$jump-links}__link-text--Color: var(--#{$jump-links}__link--hover__link-text--Color);
|
|
173
|
-
}
|
|
174
|
-
|
|
173
|
+
&:hover,
|
|
175
174
|
&:focus {
|
|
176
|
-
--#{$jump-links}__link-text--Color: var(--#{$jump-links}__link--
|
|
175
|
+
--#{$jump-links}__link-text--Color: var(--#{$jump-links}__link--hover__link-text--Color);
|
|
177
176
|
}
|
|
178
177
|
|
|
179
178
|
&::before {
|
|
@@ -1,38 +1,39 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
--pf-v5-c-label-group--
|
|
4
|
-
--pf-v5-c-label-group--
|
|
5
|
-
--pf-v5-c-label-group--m-vertical--
|
|
6
|
-
--pf-v5-c-label-
|
|
7
|
-
--pf-v5-c-label-group__main--
|
|
8
|
-
--pf-v5-c-label-
|
|
9
|
-
--pf-v5-c-label-group--m-vertical__main--
|
|
10
|
-
--pf-v5-c-label-
|
|
11
|
-
--pf-v5-c-label-group__list--
|
|
12
|
-
--pf-v5-c-label-
|
|
13
|
-
--pf-v5-c-label-group--m-vertical__list--
|
|
14
|
-
--pf-v5-c-label-group--m-
|
|
15
|
-
--pf-v5-c-label-group--m-category--
|
|
16
|
-
--pf-v5-c-label-group--m-category--
|
|
17
|
-
--pf-v5-c-label-group--m-category--
|
|
18
|
-
--pf-v5-c-label-group--m-
|
|
19
|
-
--pf-v5-c-label-group--m-category--BorderRadius: var(--pf-
|
|
20
|
-
--pf-v5-c-label-group--m-category--BorderWidth: var(--pf-
|
|
21
|
-
--pf-v5-c-label-group--m-category--BorderColor: var(--pf-
|
|
22
|
-
--pf-v5-c-label-group--m-category--
|
|
23
|
-
--pf-v5-c-label-group__label--FontSize: var(--pf-v5-global--FontSize--sm);
|
|
1
|
+
:where(:root),
|
|
2
|
+
:where(.pf-v5-c-label-group) {
|
|
3
|
+
--pf-v5-c-label-group--RowGap: var(--pf-t--global--spacer--sm);
|
|
4
|
+
--pf-v5-c-label-group--ColumnGap: var(--pf-t--global--spacer--xs);
|
|
5
|
+
--pf-v5-c-label-group--m-vertical--RowGap: var(--pf-t--global--spacer--sm);
|
|
6
|
+
--pf-v5-c-label-group--m-vertical--ColumnGap: var(--pf-t--global--spacer--sm);
|
|
7
|
+
--pf-v5-c-label-group__main--RowGap: var(--pf-t--global--spacer--xs);
|
|
8
|
+
--pf-v5-c-label-group__main--ColumnGap: var(--pf-t--global--spacer--sm);
|
|
9
|
+
--pf-v5-c-label-group--m-vertical__main--RowGap: var(--pf-t--global--spacer--sm);
|
|
10
|
+
--pf-v5-c-label-group--m-vertical__main--ColumnGap: var(--pf-t--global--spacer--xs);
|
|
11
|
+
--pf-v5-c-label-group__list--RowGap: var(--pf-t--global--spacer--xs);
|
|
12
|
+
--pf-v5-c-label-group__list--ColumnGap: var(--pf-t--global--spacer--xs);
|
|
13
|
+
--pf-v5-c-label-group--m-vertical__list--RowGap: var(--pf-t--global--spacer--xs);
|
|
14
|
+
--pf-v5-c-label-group--m-vertical__list--ColumnGap: var(--pf-t--global--spacer--xs);
|
|
15
|
+
--pf-v5-c-label-group--m-category--PaddingTop: var(--pf-t--global--spacer--xs);
|
|
16
|
+
--pf-v5-c-label-group--m-category--PaddingRight: var(--pf-t--global--spacer--sm);
|
|
17
|
+
--pf-v5-c-label-group--m-category--PaddingBottom: var(--pf-t--global--spacer--xs);
|
|
18
|
+
--pf-v5-c-label-group--m-category--PaddingLeft: var(--pf-t--global--spacer--sm);
|
|
19
|
+
--pf-v5-c-label-group--m-category--BorderRadius: var(--pf-t--global--border--radius--small);
|
|
20
|
+
--pf-v5-c-label-group--m-category--BorderWidth: var(--pf-t--global--border--width--regular);
|
|
21
|
+
--pf-v5-c-label-group--m-category--BorderColor: var(--pf-t--global--border--color--default);
|
|
22
|
+
--pf-v5-c-label-group--m-vertical--m-category--PaddingRight: var(--pf-t--global--spacer--sm);
|
|
24
23
|
--pf-v5-c-label-group__label--MaxWidth: 18ch;
|
|
25
|
-
--pf-v5-c-label-group__close--
|
|
26
|
-
--pf-v5-c-label-group__close--
|
|
27
|
-
--pf-v5-c-label-
|
|
28
|
-
--pf-v5-c-label-
|
|
29
|
-
--pf-v5-c-label-
|
|
30
|
-
--pf-v5-c-label-group--m-vertical__close--c-button--PaddingLeft: var(--pf-v5-global--spacer--sm);
|
|
24
|
+
--pf-v5-c-label-group__close--c-button--FontSize: var(--pf-t--global--icon--size--font--body--sm);
|
|
25
|
+
--pf-v5-c-label-group__close--c-button--PaddingTop: var(--pf-t--global--spacer--xs);
|
|
26
|
+
--pf-v5-c-label-group__close--c-button--PaddingRight: var(--pf-t--global--spacer--sm);
|
|
27
|
+
--pf-v5-c-label-group__close--c-button--PaddingBottom: var(--pf-t--global--spacer--xs);
|
|
28
|
+
--pf-v5-c-label-group__close--c-button--PaddingLeft: var(--pf-t--global--spacer--sm);
|
|
31
29
|
--pf-v5-c-label-group__textarea--MinWidth: 12.5rem;
|
|
32
30
|
--pf-v5-c-label-group__textarea--PaddingTop: 0.125rem;
|
|
33
|
-
--pf-v5-c-label-group__textarea--PaddingRight: var(--pf-
|
|
31
|
+
--pf-v5-c-label-group__textarea--PaddingRight: var(--pf-t--global--spacer--xs);
|
|
34
32
|
--pf-v5-c-label-group__textarea--PaddingBottom: 0;
|
|
35
|
-
--pf-v5-c-label-group__textarea--PaddingLeft: var(--pf-
|
|
33
|
+
--pf-v5-c-label-group__textarea--PaddingLeft: var(--pf-t--global--spacer--xs);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.pf-v5-c-label-group {
|
|
36
37
|
display: inline-flex;
|
|
37
38
|
row-gap: var(--pf-v5-c-label-group--RowGap);
|
|
38
39
|
column-gap: var(--pf-v5-c-label-group--ColumnGap);
|
|
@@ -54,10 +55,6 @@
|
|
|
54
55
|
--pf-v5-c-label-group__main--ColumnGap: var(--pf-v5-c-label-group--m-vertical__main--ColumnGap);
|
|
55
56
|
--pf-v5-c-label-group__list--RowGap: var(--pf-v5-c-label-group--m-vertical__list--RowGap);
|
|
56
57
|
--pf-v5-c-label-group__list--ColumnGap: var(--pf-v5-c-label-group--m-vertical__list--ColumnGap);
|
|
57
|
-
--pf-v5-c-label-group__close--MarginTop: var(--pf-v5-c-label-group--m-vertical__close--MarginTop);
|
|
58
|
-
--pf-v5-c-label-group__close--MarginLeft: var(--pf-v5-c-label-group--m-vertical__close--MarginLeft);
|
|
59
|
-
--pf-v5-c-label-group__close--MarginBottom: 0;
|
|
60
|
-
--pf-v5-c-label-group__close--MarginRight: var(--pf-v5-c-label-group--m-vertical__close--MarginRight);
|
|
61
58
|
--pf-v5-c-label-group--m-category--PaddingRight: var(--pf-v5-c-label-group--m-vertical--m-category--PaddingRight);
|
|
62
59
|
}
|
|
63
60
|
.pf-v5-c-label-group.pf-m-vertical.pf-v5-c-label-group {
|
|
@@ -70,10 +67,6 @@
|
|
|
70
67
|
.pf-v5-c-label-group.pf-m-vertical .pf-v5-c-label-group__main {
|
|
71
68
|
flex-direction: column;
|
|
72
69
|
}
|
|
73
|
-
.pf-v5-c-label-group.pf-m-vertical .pf-v5-c-label-group__close .pf-v5-c-button {
|
|
74
|
-
--pf-v5-c-button--PaddingLeft: var(--pf-v5-c-label-group--m-vertical__close--c-button--PaddingLeft);
|
|
75
|
-
--pf-v5-c-button--PaddingRight: var(--pf-v5-c-label-group--m-vertical__close--c-button--PaddingRight);
|
|
76
|
-
}
|
|
77
70
|
.pf-v5-c-label-group.pf-m-editable,
|
|
78
71
|
.pf-v5-c-label-group.pf-m-editable .pf-v5-c-label-group__main,
|
|
79
72
|
.pf-v5-c-label-group.pf-m-editable .pf-v5-c-label-group__list {
|
|
@@ -111,16 +104,18 @@
|
|
|
111
104
|
text-overflow: ellipsis;
|
|
112
105
|
white-space: nowrap;
|
|
113
106
|
max-width: var(--pf-v5-c-label-group__label--MaxWidth);
|
|
114
|
-
font-size: var(--pf-v5-c-label-group__label--FontSize);
|
|
115
107
|
}
|
|
116
108
|
|
|
117
109
|
.pf-v5-c-label-group__close {
|
|
118
110
|
display: flex;
|
|
119
111
|
align-self: flex-start;
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
112
|
+
}
|
|
113
|
+
.pf-v5-c-label-group__close .pf-v5-c-button {
|
|
114
|
+
--pf-v5-c-button--FontSize: var(--pf-v5-c-label-group__close--c-button--FontSize);
|
|
115
|
+
--pf-v5-c-button--m-plain--m-no-padding--PaddingTop: var(--pf-v5-c-label-group__close--c-button--PaddingTop);
|
|
116
|
+
--pf-v5-c-button--m-plain--m-no-padding--PaddingRight: var(--pf-v5-c-label-group__close--c-button--PaddingRight);
|
|
117
|
+
--pf-v5-c-button--m-plain--m-no-padding--PaddingBottom: var(--pf-v5-c-label-group__close--c-button--PaddingBottom);
|
|
118
|
+
--pf-v5-c-button--m-plain--m-no-padding--PaddingLeft: var(--pf-v5-c-label-group__close--c-button--PaddingLeft);
|
|
124
119
|
}
|
|
125
120
|
|
|
126
121
|
.pf-v5-c-label-group__textarea {
|