@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,4 +1,4 @@
|
|
|
1
|
-
.pf-v5-c-dual-list-selector {
|
|
1
|
+
:where(:root), :where(.pf-v5-c-dual-list-selector) {
|
|
2
2
|
--pf-v5-c-dual-list-selector__header--GridArea: pane-header;
|
|
3
3
|
--pf-v5-c-dual-list-selector__tools--GridArea: pane-tools;
|
|
4
4
|
--pf-v5-c-dual-list-selector__status--GridArea: pane-status;
|
|
@@ -10,54 +10,54 @@
|
|
|
10
10
|
--pf-v5-c-dual-list-selector--m-chosen__menu--GridArea: pane-menu-c;
|
|
11
11
|
--pf-v5-c-dual-list-selector--GridTemplateColumns--pane--MinMax--min: 12.5rem;
|
|
12
12
|
--pf-v5-c-dual-list-selector--GridTemplateColumns--pane--MinMax--max: 28.125rem;
|
|
13
|
-
--pf-v5-c-dual-list-selector__header--MarginBottom: var(--pf-
|
|
14
|
-
--pf-v5-c-dual-list-selector__title-text--FontWeight: var(--pf-
|
|
15
|
-
--pf-v5-c-dual-list-
|
|
16
|
-
--pf-v5-c-dual-list-selector__tools
|
|
17
|
-
--pf-v5-c-dual-list-
|
|
18
|
-
--pf-v5-c-dual-list-selector__menu--
|
|
13
|
+
--pf-v5-c-dual-list-selector__header--MarginBottom: var(--pf-t--global--spacer--sm);
|
|
14
|
+
--pf-v5-c-dual-list-selector__title-text--FontWeight: var(--pf-t--global--font--weight--body--bold);
|
|
15
|
+
--pf-v5-c-dual-list-selector__title-text--FontSize: var(--pf-t--global--font--size--body--lg);
|
|
16
|
+
--pf-v5-c-dual-list-selector__tools--MarginBottom: var(--pf-t--global--spacer--md);
|
|
17
|
+
--pf-v5-c-dual-list-selector__tools-filter--tools-actions--MarginLeft: var(--pf-t--global--spacer--sm);
|
|
18
|
+
--pf-v5-c-dual-list-selector__menu--BorderWidth: var(--pf-t--global--border--width--regular);
|
|
19
|
+
--pf-v5-c-dual-list-selector__menu--BorderColor: var(--pf-t--global--border--color--default);
|
|
20
|
+
--pf-v5-c-dual-list-selector__menu--BorderRadius: var(--pf-t--global--border--radius--small);
|
|
19
21
|
--pf-v5-c-dual-list-selector__menu--MinHeight: 12.5rem;
|
|
20
22
|
--pf-v5-c-dual-list-selector__menu--MaxHeight: 20rem;
|
|
21
|
-
--pf-v5-c-dual-list-
|
|
22
|
-
--pf-v5-c-dual-list-selector__list-item-row--
|
|
23
|
-
--pf-v5-c-dual-list-selector__list-item-row--
|
|
24
|
-
--pf-v5-c-dual-list-selector__list-item-row--
|
|
25
|
-
--pf-v5-c-dual-list-selector__list-item-row--m-selected--BackgroundColor: var(--pf-
|
|
26
|
-
--pf-v5-c-dual-list-selector__list-item--m-ghost-row--BackgroundColor: var(--pf-
|
|
23
|
+
--pf-v5-c-dual-list-selector__menu--MarginBlockStart: var(--pf-t--global--spacer--md);
|
|
24
|
+
--pf-v5-c-dual-list-selector__list-item-row--FontSize: var(--pf-t--global--font--size--sm);
|
|
25
|
+
--pf-v5-c-dual-list-selector__list-item-row--BackgroundColor: var(--pf-t--global--background--color--action--plain--default);
|
|
26
|
+
--pf-v5-c-dual-list-selector__list-item-row--hover--BackgroundColor: var(--pf-t--global--background--color--primary--hover);
|
|
27
|
+
--pf-v5-c-dual-list-selector__list-item-row--m-selected--BackgroundColor: var(--pf-t--global--background--color--primary--clicked);
|
|
28
|
+
--pf-v5-c-dual-list-selector__list-item--m-ghost-row--BackgroundColor: var(--pf-t--global--background--color--action--plain--clicked);
|
|
27
29
|
--pf-v5-c-dual-list-selector__list-item--m-ghost-row--Opacity: .4;
|
|
28
|
-
--pf-v5-c-dual-list-selector__item--PaddingTop: var(--pf-
|
|
29
|
-
--pf-v5-c-dual-list-selector__item--PaddingRight: var(--pf-
|
|
30
|
-
--pf-v5-c-dual-list-selector__item--PaddingBottom: var(--pf-
|
|
31
|
-
--pf-v5-c-dual-list-selector__item--PaddingLeft: var(--pf-
|
|
32
|
-
--pf-v5-c-dual-list-selector__item--m-expandable--PaddingLeft:
|
|
33
|
-
--pf-v5-c-dual-list-selector__item--indent--base: calc(var(--pf-
|
|
34
|
-
--pf-v5-c-dual-list-selector__item--nested-indent--base: calc(var(--pf-v5-c-dual-list-selector__item--indent--base) - var(--pf-
|
|
35
|
-
--pf-v5-c-dual-list-selector__draggable--item--PaddingLeft: var(--pf-
|
|
36
|
-
--pf-v5-c-dual-list-selector__item-text--Color: var(--pf-
|
|
37
|
-
--pf-v5-c-dual-list-selector__list-item-row--m-selected__text--Color: var(--pf-
|
|
38
|
-
--pf-v5-c-dual-list-selector__list-item
|
|
39
|
-
--pf-v5-c-dual-list-
|
|
40
|
-
--pf-v5-c-dual-list-selector__status--
|
|
41
|
-
--pf-v5-c-dual-list-selector__status-text--
|
|
42
|
-
--pf-v5-c-dual-list-
|
|
43
|
-
--pf-v5-c-dual-list-selector__controls--
|
|
44
|
-
--pf-v5-c-dual-list-selector__controls--
|
|
45
|
-
--pf-v5-c-dual-list-
|
|
46
|
-
--pf-v5-c-dual-list-selector__item-toggle--PaddingRight: var(--pf-
|
|
47
|
-
--pf-v5-c-dual-list-selector__item-toggle--PaddingBottom: var(--pf-v5-global--spacer--sm);
|
|
48
|
-
--pf-v5-c-dual-list-selector__item-toggle--PaddingLeft: var(--pf-v5-global--spacer--md);
|
|
49
|
-
--pf-v5-c-dual-list-selector__item-toggle--MarginTop: calc(var(--pf-v5-global--spacer--sm) * -1);
|
|
50
|
-
--pf-v5-c-dual-list-selector__item-toggle--MarginBottom: calc(var(--pf-v5-global--spacer--sm) * -1);
|
|
30
|
+
--pf-v5-c-dual-list-selector__item--PaddingTop: var(--pf-t--global--spacer--sm);
|
|
31
|
+
--pf-v5-c-dual-list-selector__item--PaddingRight: var(--pf-t--global--spacer--md);
|
|
32
|
+
--pf-v5-c-dual-list-selector__item--PaddingBottom: var(--pf-t--global--spacer--sm);
|
|
33
|
+
--pf-v5-c-dual-list-selector__item--PaddingLeft: var(--pf-t--global--spacer--md);
|
|
34
|
+
--pf-v5-c-dual-list-selector__item--m-expandable--PaddingLeft: var(--pf-t--global--spacer--md);
|
|
35
|
+
--pf-v5-c-dual-list-selector__item--indent--base: calc(var(--pf-t--global--spacer--md) + var(--pf-t--global--spacer--sm) + var(--pf-v5-c-dual-list-selector__list-item-row--FontSize));
|
|
36
|
+
--pf-v5-c-dual-list-selector__item--nested-indent--base: calc(var(--pf-v5-c-dual-list-selector__item--indent--base) - var(--pf-t--global--spacer--md));
|
|
37
|
+
--pf-v5-c-dual-list-selector__draggable--item--PaddingLeft: var(--pf-t--global--spacer--xs);
|
|
38
|
+
--pf-v5-c-dual-list-selector__item-text--Color: var(--pf-t--global--text--color--subtle);
|
|
39
|
+
--pf-v5-c-dual-list-selector__list-item-row--m-selected__text--Color: var(--pf-t--global--text--color--regular);
|
|
40
|
+
--pf-v5-c-dual-list-selector__list-item--m-disabled__item-text--Color: var(--pf-t--global--text--color--disabled);
|
|
41
|
+
--pf-v5-c-dual-list-selector__status--MarginBottom: var(--pf-t--global--spacer--sm);
|
|
42
|
+
--pf-v5-c-dual-list-selector__status-text--FontSize: var(--pf-t--global--font--size--sm);
|
|
43
|
+
--pf-v5-c-dual-list-selector__status-text--Color: var(--pf-t--global--text--color--subtle);
|
|
44
|
+
--pf-v5-c-dual-list-selector__controls--PaddingRight: var(--pf-t--global--spacer--md);
|
|
45
|
+
--pf-v5-c-dual-list-selector__controls--PaddingLeft: var(--pf-t--global--spacer--md);
|
|
46
|
+
--pf-v5-c-dual-list-selector__controls--Gap: var(--pf-t--global--spacer--sm);
|
|
47
|
+
--pf-v5-c-dual-list-selector__controls--MarginBlockStart: var(--pf-t--global--spacer--md);
|
|
48
|
+
--pf-v5-c-dual-list-selector__item-toggle--PaddingRight: var(--pf-t--global--spacer--sm);
|
|
51
49
|
--pf-v5-c-dual-list-selector__list__list__item-toggle--Left: 0;
|
|
52
50
|
--pf-v5-c-dual-list-selector__list__list__item-toggle--TranslateX: -100%;
|
|
53
|
-
--pf-v5-c-dual-list-selector__item-check--MarginRight: var(--pf-
|
|
54
|
-
--pf-v5-c-dual-list-selector__item-
|
|
55
|
-
--pf-v5-c-dual-list-selector__item--c-badge--m-read--BackgroundColor: var(--pf-v5-global--disabled-color--200);
|
|
51
|
+
--pf-v5-c-dual-list-selector__item-check--MarginRight: var(--pf-t--global--spacer--sm);
|
|
52
|
+
--pf-v5-c-dual-list-selector__item--c-badge--m-read--BackgroundColor: var(--pf-t--global--color--nonstatus--gray--default);
|
|
56
53
|
--pf-v5-c-dual-list-selector__item-toggle-icon--Rotate: 0;
|
|
57
54
|
--pf-v5-c-dual-list-selector__list-item--m-expanded__item-toggle-icon--Rotate: 90deg;
|
|
58
55
|
--pf-v5-c-dual-list-selector__item-toggle-icon--Transition: var(--pf-v5-global--Transition);
|
|
59
56
|
--pf-v5-c-dual-list-selector__item-toggle-icon--MinWidth: var(--pf-v5-c-dual-list-selector__list-item-row--FontSize);
|
|
60
|
-
--pf-v5-c-dual-list-selector__list-item--m-disabled__item-toggle-icon--Color: var(--pf-
|
|
57
|
+
--pf-v5-c-dual-list-selector__list-item--m-disabled__item-toggle-icon--Color: var(--pf-t--global--icon--color--disabled);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.pf-v5-c-dual-list-selector {
|
|
61
61
|
display: grid;
|
|
62
62
|
grid-template-areas: "pane-header . pane-header-c" "pane-tools . pane-tools-c" "pane-status . pane-status-c" "pane-menu controls pane-menu-c";
|
|
63
63
|
grid-template-rows: repeat(3, auto) auto;
|
|
@@ -80,6 +80,7 @@
|
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
.pf-v5-c-dual-list-selector__title-text {
|
|
83
|
+
font-size: var(--pf-v5-c-dual-list-selector__title-text--FontSize);
|
|
83
84
|
font-weight: var(--pf-v5-c-dual-list-selector__title-text--FontWeight);
|
|
84
85
|
}
|
|
85
86
|
|
|
@@ -116,8 +117,10 @@
|
|
|
116
117
|
grid-area: var(--pf-v5-c-dual-list-selector__menu--GridArea);
|
|
117
118
|
min-height: var(--pf-v5-c-dual-list-selector__menu--MinHeight);
|
|
118
119
|
max-height: var(--pf-v5-c-dual-list-selector__menu--MaxHeight);
|
|
120
|
+
margin-block-start: var(--pf-v5-c-dual-list-selector__menu--MarginBlockStart);
|
|
119
121
|
overflow: auto;
|
|
120
122
|
border: var(--pf-v5-c-dual-list-selector__menu--BorderWidth) solid var(--pf-v5-c-dual-list-selector__menu--BorderColor);
|
|
123
|
+
border-radius: var(--pf-v5-c-dual-list-selector__menu--BorderRadius);
|
|
121
124
|
}
|
|
122
125
|
|
|
123
126
|
.pf-v5-c-dual-list-selector__list {
|
|
@@ -132,7 +135,6 @@
|
|
|
132
135
|
.pf-v5-c-dual-list-selector__list .pf-v5-c-dual-list-selector__list .pf-v5-c-dual-list-selector__item-toggle {
|
|
133
136
|
transform: translateX(var(--pf-v5-c-dual-list-selector__list__list__item-toggle--TranslateX));
|
|
134
137
|
position: absolute;
|
|
135
|
-
inset-block-start: 0;
|
|
136
138
|
inset-inline-start: var(--pf-v5-c-dual-list-selector__list__list__item-toggle--Left);
|
|
137
139
|
}
|
|
138
140
|
:where(.pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-dual-list-selector__list .pf-v5-c-dual-list-selector__list .pf-v5-c-dual-list-selector__item-toggle {
|
|
@@ -144,7 +146,7 @@
|
|
|
144
146
|
}
|
|
145
147
|
|
|
146
148
|
.pf-v5-c-dual-list-selector__list-item:focus {
|
|
147
|
-
--pf-v5-c-dual-list-selector__list-item-row--BackgroundColor: var(--pf-v5-c-dual-list-selector__list-item-row--
|
|
149
|
+
--pf-v5-c-dual-list-selector__list-item-row--BackgroundColor: var(--pf-v5-c-dual-list-selector__list-item-row--hover--BackgroundColor);
|
|
148
150
|
}
|
|
149
151
|
.pf-v5-c-dual-list-selector__list-item.pf-m-expandable {
|
|
150
152
|
--pf-v5-c-dual-list-selector__item--PaddingLeft: var(--pf-v5-c-dual-list-selector__item--m-expandable--PaddingLeft);
|
|
@@ -163,9 +165,6 @@
|
|
|
163
165
|
font-size: var(--pf-v5-c-dual-list-selector__list-item-row--FontSize);
|
|
164
166
|
background-color: var(--pf-v5-c-dual-list-selector__list-item-row--BackgroundColor);
|
|
165
167
|
}
|
|
166
|
-
.pf-v5-c-dual-list-selector__list-item-row:hover {
|
|
167
|
-
--pf-v5-c-dual-list-selector__list-item-row--BackgroundColor: var(--pf-v5-c-dual-list-selector__list-item-row--hover--BackgroundColor);
|
|
168
|
-
}
|
|
169
168
|
.pf-v5-c-dual-list-selector__list-item-row.pf-m-selected {
|
|
170
169
|
--pf-v5-c-dual-list-selector__list-item-row--BackgroundColor: var(--pf-v5-c-dual-list-selector__list-item-row--m-selected--BackgroundColor);
|
|
171
170
|
}
|
|
@@ -173,6 +172,9 @@
|
|
|
173
172
|
--pf-v5-c-dual-list-selector__item-text--Color: var(--pf-v5-c-dual-list-selector__list-item-row--m-selected__text--Color);
|
|
174
173
|
font-weight: var(--pf-v5-c-dual-list-selector__list-item-row--m-selected__text--FontWeight);
|
|
175
174
|
}
|
|
175
|
+
.pf-v5-c-dual-list-selector__list-item-row:hover {
|
|
176
|
+
--pf-v5-c-dual-list-selector__list-item-row--BackgroundColor: var(--pf-v5-c-dual-list-selector__list-item-row--hover--BackgroundColor);
|
|
177
|
+
}
|
|
176
178
|
.pf-v5-c-dual-list-selector__list-item-row.pf-m-check {
|
|
177
179
|
--pf-v5-c-dual-list-selector__list-item-row--m-selected--BackgroundColor: transparent;
|
|
178
180
|
}
|
|
@@ -213,6 +215,7 @@
|
|
|
213
215
|
padding-inline-start: var(--pf-v5-c-dual-list-selector__item--PaddingLeft);
|
|
214
216
|
padding-inline-end: var(--pf-v5-c-dual-list-selector__item--PaddingRight);
|
|
215
217
|
cursor: pointer;
|
|
218
|
+
outline-offset: -2px;
|
|
216
219
|
}
|
|
217
220
|
|
|
218
221
|
.pf-v5-c-dual-list-selector__item-count {
|
|
@@ -231,10 +234,16 @@
|
|
|
231
234
|
}
|
|
232
235
|
|
|
233
236
|
.pf-v5-c-dual-list-selector__controls {
|
|
237
|
+
display: flex;
|
|
238
|
+
flex-direction: column;
|
|
234
239
|
grid-area: var(--pf-v5-c-dual-list-selector__controls--GridArea);
|
|
240
|
+
gap: var(--pf-v5-c-dual-list-selector__controls--Gap);
|
|
241
|
+
align-items: center;
|
|
235
242
|
align-self: center;
|
|
243
|
+
justify-content: center;
|
|
236
244
|
padding-inline-start: var(--pf-v5-c-dual-list-selector__controls--PaddingLeft);
|
|
237
245
|
padding-inline-end: var(--pf-v5-c-dual-list-selector__controls--PaddingRight);
|
|
246
|
+
margin-block-start: var(--pf-v5-c-dual-list-selector__controls--MarginBlockStart);
|
|
238
247
|
}
|
|
239
248
|
|
|
240
249
|
:where(.pf-v5-m-dir-rtl, [dir=rtl]) :is(.pf-v5-c-dual-list-selector__controls-item, .pf-v5-c-dual-list-selector__item-toggle-icon) {
|
|
@@ -309,10 +318,4 @@
|
|
|
309
318
|
.pf-v5-c-dual-list-selector__list-item .pf-v5-c-dual-list-selector__list-item .pf-v5-c-dual-list-selector__list-item .pf-v5-c-dual-list-selector__list-item .pf-v5-c-dual-list-selector__list-item .pf-v5-c-dual-list-selector__list-item .pf-v5-c-dual-list-selector__list-item .pf-v5-c-dual-list-selector__list-item .pf-v5-c-dual-list-selector__list-item .pf-v5-c-dual-list-selector__list-item .pf-v5-c-dual-list-selector__list-item {
|
|
310
319
|
--pf-v5-c-dual-list-selector__item--PaddingLeft: calc(var(--pf-v5-c-dual-list-selector__item--nested-indent--base) * 10 + var(--pf-v5-c-dual-list-selector__item--indent--base));
|
|
311
320
|
--pf-v5-c-dual-list-selector__list__list__item-toggle--Left: var(--pf-v5-c-dual-list-selector__item--PaddingLeft);
|
|
312
|
-
}
|
|
313
|
-
|
|
314
|
-
:where(.pf-v5-theme-dark) .pf-v5-c-dual-list-selector {
|
|
315
|
-
--pf-v5-c-dual-list-selector__list-item-row--hover--BackgroundColor: var(--pf-v5-global--BackgroundColor--400);
|
|
316
|
-
--pf-v5-c-dual-list-selector__list-item-row--focus-within--BackgroundColor: var(--pf-v5-global--BackgroundColor--400);
|
|
317
|
-
--pf-v5-c-dual-list-selector__list-item-row--m-selected--BackgroundColor: var(--pf-v5-global--BackgroundColor--400);
|
|
318
321
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @debug $dual-list-selector; // check your variable names located in src/patternfly/sass-utilities/component-namespaces.scss
|
|
2
2
|
$pf-v5-c-dual-list-selector__item--MaxNesting: 10;
|
|
3
3
|
|
|
4
|
-
.#{$dual-list-selector} {
|
|
4
|
+
:where(:root), :where(.#{$dual-list-selector}) {
|
|
5
5
|
// Grid
|
|
6
6
|
--#{$dual-list-selector}__header--GridArea: pane-header;
|
|
7
7
|
--#{$dual-list-selector}__tools--GridArea: pane-tools;
|
|
@@ -16,79 +16,78 @@ $pf-v5-c-dual-list-selector__item--MaxNesting: 10;
|
|
|
16
16
|
--#{$dual-list-selector}--GridTemplateColumns--pane--MinMax--max: #{pf-size-prem(450px)};
|
|
17
17
|
|
|
18
18
|
// Header
|
|
19
|
-
--#{$dual-list-selector}__header--MarginBottom: var(
|
|
19
|
+
--#{$dual-list-selector}__header--MarginBottom: var(--pf-t--global--spacer--sm);
|
|
20
20
|
|
|
21
21
|
// Title
|
|
22
|
-
--#{$dual-list-selector}__title-text--FontWeight: var(
|
|
22
|
+
--#{$dual-list-selector}__title-text--FontWeight: var(--pf-t--global--font--weight--body--bold);
|
|
23
|
+
--#{$dual-list-selector}__title-text--FontSize: var(--pf-t--global--font--size--body--lg);
|
|
23
24
|
|
|
24
25
|
// Tools
|
|
25
|
-
--#{$dual-list-selector}__tools--MarginBottom: var(
|
|
26
|
-
--#{$dual-list-selector}__tools-filter--tools-actions--MarginLeft: var(
|
|
26
|
+
--#{$dual-list-selector}__tools--MarginBottom: var(--pf-t--global--spacer--md);
|
|
27
|
+
--#{$dual-list-selector}__tools-filter--tools-actions--MarginLeft: var(--pf-t--global--spacer--sm);
|
|
27
28
|
|
|
28
29
|
// Menu
|
|
29
|
-
--#{$dual-list-selector}__menu--BorderWidth: var(
|
|
30
|
-
--#{$dual-list-selector}__menu--BorderColor: var(
|
|
30
|
+
--#{$dual-list-selector}__menu--BorderWidth: var(--pf-t--global--border--width--regular);
|
|
31
|
+
--#{$dual-list-selector}__menu--BorderColor: var(--pf-t--global--border--color--default);
|
|
32
|
+
--#{$dual-list-selector}__menu--BorderRadius: var(--pf-t--global--border--radius--small);
|
|
31
33
|
--#{$dual-list-selector}__menu--MinHeight: #{pf-size-prem(200px)};
|
|
32
34
|
--#{$dual-list-selector}__menu--MaxHeight: #{pf-size-prem(320px)};
|
|
35
|
+
--#{$dual-list-selector}__menu--MarginBlockStart: var(--pf-t--global--spacer--md);
|
|
33
36
|
|
|
34
37
|
// List item
|
|
35
|
-
--#{$dual-list-selector}__list-item-row--FontSize: var(
|
|
36
|
-
--#{$dual-list-selector}__list-item-row--BackgroundColor:
|
|
37
|
-
--#{$dual-list-selector}__list-item-row--hover--BackgroundColor: var(
|
|
38
|
-
--#{$dual-list-selector}__list-item-row--
|
|
39
|
-
--#{$dual-list-selector}__list-item
|
|
40
|
-
--#{$dual-list-selector}__list-item--m-ghost-row--BackgroundColor: var(--#{$pf-global}--BackgroundColor--100);
|
|
38
|
+
--#{$dual-list-selector}__list-item-row--FontSize: var(--pf-t--global--font--size--sm);
|
|
39
|
+
--#{$dual-list-selector}__list-item-row--BackgroundColor: var(--pf-t--global--background--color--action--plain--default);
|
|
40
|
+
--#{$dual-list-selector}__list-item-row--hover--BackgroundColor: var(--pf-t--global--background--color--primary--hover);
|
|
41
|
+
--#{$dual-list-selector}__list-item-row--m-selected--BackgroundColor: var(--pf-t--global--background--color--primary--clicked);
|
|
42
|
+
--#{$dual-list-selector}__list-item--m-ghost-row--BackgroundColor: var(--pf-t--global--background--color--action--plain--clicked);
|
|
41
43
|
--#{$dual-list-selector}__list-item--m-ghost-row--Opacity: .4;
|
|
42
44
|
|
|
43
45
|
// Item
|
|
44
|
-
--#{$dual-list-selector}__item--PaddingTop: var(
|
|
45
|
-
--#{$dual-list-selector}__item--PaddingRight: var(
|
|
46
|
-
--#{$dual-list-selector}__item--PaddingBottom: var(
|
|
47
|
-
--#{$dual-list-selector}__item--PaddingLeft: var(
|
|
48
|
-
--#{$dual-list-selector}__item--m-expandable--PaddingLeft:
|
|
49
|
-
--#{$dual-list-selector}__item--indent--base: calc(var(
|
|
50
|
-
--#{$dual-list-selector}__item--nested-indent--base: calc(var(--#{$dual-list-selector}__item--indent--base) - var(
|
|
51
|
-
--#{$dual-list-selector}__draggable--item--PaddingLeft: var(
|
|
46
|
+
--#{$dual-list-selector}__item--PaddingTop: var(--pf-t--global--spacer--sm);
|
|
47
|
+
--#{$dual-list-selector}__item--PaddingRight: var(--pf-t--global--spacer--md);
|
|
48
|
+
--#{$dual-list-selector}__item--PaddingBottom: var(--pf-t--global--spacer--sm);
|
|
49
|
+
--#{$dual-list-selector}__item--PaddingLeft: var(--pf-t--global--spacer--md);
|
|
50
|
+
--#{$dual-list-selector}__item--m-expandable--PaddingLeft: var(--pf-t--global--spacer--md);
|
|
51
|
+
--#{$dual-list-selector}__item--indent--base: calc(var(--pf-t--global--spacer--md) + var(--pf-t--global--spacer--sm) + var(--#{$dual-list-selector}__list-item-row--FontSize));
|
|
52
|
+
--#{$dual-list-selector}__item--nested-indent--base: calc(var(--#{$dual-list-selector}__item--indent--base) - var(--pf-t--global--spacer--md));
|
|
53
|
+
--#{$dual-list-selector}__draggable--item--PaddingLeft: var(--pf-t--global--spacer--xs);
|
|
52
54
|
|
|
53
55
|
// Item text
|
|
54
|
-
--#{$dual-list-selector}__item-text--Color: var(
|
|
55
|
-
--#{$dual-list-selector}__list-item-row--m-selected__text--Color: var(
|
|
56
|
-
--#{$dual-list-selector}__list-item
|
|
57
|
-
--#{$dual-list-selector}__list-item--m-disabled__item-text--Color: var(--#{$pf-global}--disabled-color--100);
|
|
56
|
+
--#{$dual-list-selector}__item-text--Color: var(--pf-t--global--text--color--subtle);
|
|
57
|
+
--#{$dual-list-selector}__list-item-row--m-selected__text--Color: var(--pf-t--global--text--color--regular);
|
|
58
|
+
--#{$dual-list-selector}__list-item--m-disabled__item-text--Color: var(--pf-t--global--text--color--disabled);
|
|
58
59
|
|
|
59
60
|
// Status
|
|
60
|
-
--#{$dual-list-selector}__status--MarginBottom: var(
|
|
61
|
-
--#{$dual-list-selector}__status-text--FontSize: var(
|
|
62
|
-
--#{$dual-list-selector}__status-text--Color: var(
|
|
61
|
+
--#{$dual-list-selector}__status--MarginBottom: var(--pf-t--global--spacer--sm);
|
|
62
|
+
--#{$dual-list-selector}__status-text--FontSize: var(--pf-t--global--font--size--sm);
|
|
63
|
+
--#{$dual-list-selector}__status-text--Color: var(--pf-t--global--text--color--subtle);
|
|
63
64
|
|
|
64
65
|
// Controls
|
|
65
|
-
--#{$dual-list-selector}__controls--PaddingRight: var(
|
|
66
|
-
--#{$dual-list-selector}__controls--PaddingLeft: var(
|
|
66
|
+
--#{$dual-list-selector}__controls--PaddingRight: var(--pf-t--global--spacer--md);
|
|
67
|
+
--#{$dual-list-selector}__controls--PaddingLeft: var(--pf-t--global--spacer--md);
|
|
68
|
+
--#{$dual-list-selector}__controls--Gap: var(--pf-t--global--spacer--sm);
|
|
69
|
+
--#{$dual-list-selector}__controls--MarginBlockStart: var(--pf-t--global--spacer--md);
|
|
67
70
|
|
|
68
71
|
// Toggle
|
|
69
|
-
--#{$dual-list-selector}__item-toggle--
|
|
70
|
-
--#{$dual-list-selector}__item-toggle--PaddingRight: var(--#{$pf-global}--spacer--sm);
|
|
71
|
-
--#{$dual-list-selector}__item-toggle--PaddingBottom: var(--#{$pf-global}--spacer--sm);
|
|
72
|
-
--#{$dual-list-selector}__item-toggle--PaddingLeft: var(--#{$pf-global}--spacer--md);
|
|
73
|
-
--#{$dual-list-selector}__item-toggle--MarginTop: calc(var(--#{$pf-global}--spacer--sm) * -1);
|
|
74
|
-
--#{$dual-list-selector}__item-toggle--MarginBottom: calc(var(--#{$pf-global}--spacer--sm) * -1);
|
|
72
|
+
--#{$dual-list-selector}__item-toggle--PaddingRight: var(--pf-t--global--spacer--sm);
|
|
75
73
|
--#{$dual-list-selector}__list__list__item-toggle--Left: 0;
|
|
76
74
|
--#{$dual-list-selector}__list__list__item-toggle--TranslateX: -100%;
|
|
77
75
|
|
|
78
76
|
// Check
|
|
79
|
-
--#{$dual-list-selector}__item-check--MarginRight: var(
|
|
77
|
+
--#{$dual-list-selector}__item-check--MarginRight: var(--pf-t--global--spacer--sm);
|
|
80
78
|
|
|
81
79
|
// Badge
|
|
82
|
-
--#{$dual-list-selector}__item-
|
|
83
|
-
--#{$dual-list-selector}__item--c-badge--m-read--BackgroundColor: var(--#{$pf-global}--disabled-color--200);
|
|
80
|
+
--#{$dual-list-selector}__item--c-badge--m-read--BackgroundColor: var(--pf-t--global--color--nonstatus--gray--default);
|
|
84
81
|
|
|
85
82
|
// Icon
|
|
86
83
|
--#{$dual-list-selector}__item-toggle-icon--Rotate: 0;
|
|
87
84
|
--#{$dual-list-selector}__list-item--m-expanded__item-toggle-icon--Rotate: 90deg;
|
|
88
|
-
--#{$dual-list-selector}__item-toggle-icon--Transition: var(--#{$pf-global}--Transition);
|
|
85
|
+
--#{$dual-list-selector}__item-toggle-icon--Transition: var(--#{$pf-global}--Transition); // need token
|
|
89
86
|
--#{$dual-list-selector}__item-toggle-icon--MinWidth: var(--#{$dual-list-selector}__list-item-row--FontSize);
|
|
90
|
-
--#{$dual-list-selector}__list-item--m-disabled__item-toggle-icon--Color: var(
|
|
87
|
+
--#{$dual-list-selector}__list-item--m-disabled__item-toggle-icon--Color: var(--pf-t--global--icon--color--disabled);
|
|
88
|
+
}
|
|
91
89
|
|
|
90
|
+
.#{$dual-list-selector} {
|
|
92
91
|
display: grid;
|
|
93
92
|
grid-template-areas:
|
|
94
93
|
"pane-header . pane-header-c"
|
|
@@ -119,6 +118,7 @@ $pf-v5-c-dual-list-selector__item--MaxNesting: 10;
|
|
|
119
118
|
}
|
|
120
119
|
|
|
121
120
|
.#{$dual-list-selector}__title-text {
|
|
121
|
+
font-size: var(--#{$dual-list-selector}__title-text--FontSize);
|
|
122
122
|
font-weight: var(--#{$dual-list-selector}__title-text--FontWeight);
|
|
123
123
|
}
|
|
124
124
|
|
|
@@ -156,8 +156,10 @@ $pf-v5-c-dual-list-selector__item--MaxNesting: 10;
|
|
|
156
156
|
grid-area: var(--#{$dual-list-selector}__menu--GridArea);
|
|
157
157
|
min-height: var(--#{$dual-list-selector}__menu--MinHeight);
|
|
158
158
|
max-height: var(--#{$dual-list-selector}__menu--MaxHeight);
|
|
159
|
+
margin-block-start: var(--#{$dual-list-selector}__menu--MarginBlockStart);
|
|
159
160
|
overflow: auto;
|
|
160
161
|
border: var(--#{$dual-list-selector}__menu--BorderWidth) solid var(--#{$dual-list-selector}__menu--BorderColor);
|
|
162
|
+
border-radius: var(--#{$dual-list-selector}__menu--BorderRadius);
|
|
161
163
|
}
|
|
162
164
|
|
|
163
165
|
.#{$dual-list-selector}__list {
|
|
@@ -175,7 +177,6 @@ $pf-v5-c-dual-list-selector__item--MaxNesting: 10;
|
|
|
175
177
|
);
|
|
176
178
|
|
|
177
179
|
position: absolute;
|
|
178
|
-
inset-block-start: 0;
|
|
179
180
|
inset-inline-start: var(--#{$dual-list-selector}__list__list__item-toggle--Left);
|
|
180
181
|
}
|
|
181
182
|
}
|
|
@@ -190,7 +191,7 @@ $pf-v5-c-dual-list-selector__item--MaxNesting: 10;
|
|
|
190
191
|
|
|
191
192
|
.#{$dual-list-selector}__list-item {
|
|
192
193
|
&:focus {
|
|
193
|
-
--#{$dual-list-selector}__list-item-row--BackgroundColor: var(--#{$dual-list-selector}__list-item-row--
|
|
194
|
+
--#{$dual-list-selector}__list-item-row--BackgroundColor: var(--#{$dual-list-selector}__list-item-row--hover--BackgroundColor);
|
|
194
195
|
}
|
|
195
196
|
|
|
196
197
|
&.pf-m-expandable {
|
|
@@ -214,10 +215,6 @@ $pf-v5-c-dual-list-selector__item--MaxNesting: 10;
|
|
|
214
215
|
font-size: var(--#{$dual-list-selector}__list-item-row--FontSize);
|
|
215
216
|
background-color: var(--#{$dual-list-selector}__list-item-row--BackgroundColor);
|
|
216
217
|
|
|
217
|
-
&:hover {
|
|
218
|
-
--#{$dual-list-selector}__list-item-row--BackgroundColor: var(--#{$dual-list-selector}__list-item-row--hover--BackgroundColor);
|
|
219
|
-
}
|
|
220
|
-
|
|
221
218
|
&.pf-m-selected {
|
|
222
219
|
--#{$dual-list-selector}__list-item-row--BackgroundColor: var(--#{$dual-list-selector}__list-item-row--m-selected--BackgroundColor);
|
|
223
220
|
|
|
@@ -228,6 +225,10 @@ $pf-v5-c-dual-list-selector__item--MaxNesting: 10;
|
|
|
228
225
|
}
|
|
229
226
|
}
|
|
230
227
|
|
|
228
|
+
&:hover {
|
|
229
|
+
--#{$dual-list-selector}__list-item-row--BackgroundColor: var(--#{$dual-list-selector}__list-item-row--hover--BackgroundColor);
|
|
230
|
+
}
|
|
231
|
+
|
|
231
232
|
&.pf-m-check {
|
|
232
233
|
--#{$dual-list-selector}__list-item-row--m-selected--BackgroundColor: transparent;
|
|
233
234
|
}
|
|
@@ -275,6 +276,7 @@ $pf-v5-c-dual-list-selector__item--MaxNesting: 10;
|
|
|
275
276
|
padding-inline-start: var(--#{$dual-list-selector}__item--PaddingLeft);
|
|
276
277
|
padding-inline-end: var(--#{$dual-list-selector}__item--PaddingRight);
|
|
277
278
|
cursor: pointer;
|
|
279
|
+
outline-offset: -2px;
|
|
278
280
|
}
|
|
279
281
|
|
|
280
282
|
.#{$dual-list-selector}__item-count {
|
|
@@ -293,10 +295,16 @@ $pf-v5-c-dual-list-selector__item--MaxNesting: 10;
|
|
|
293
295
|
}
|
|
294
296
|
|
|
295
297
|
.#{$dual-list-selector}__controls {
|
|
298
|
+
display: flex;
|
|
299
|
+
flex-direction: column;
|
|
296
300
|
grid-area: var(--#{$dual-list-selector}__controls--GridArea);
|
|
301
|
+
gap: var(--#{$dual-list-selector}__controls--Gap);
|
|
302
|
+
align-items: center;
|
|
297
303
|
align-self: center;
|
|
304
|
+
justify-content: center;
|
|
298
305
|
padding-inline-start: var(--#{$dual-list-selector}__controls--PaddingLeft);
|
|
299
306
|
padding-inline-end: var(--#{$dual-list-selector}__controls--PaddingRight);
|
|
307
|
+
margin-block-start: var(--#{$dual-list-selector}__controls--MarginBlockStart);
|
|
300
308
|
}
|
|
301
309
|
|
|
302
310
|
:is(.#{$dual-list-selector}__controls-item, .#{$dual-list-selector}__item-toggle-icon) {
|
|
@@ -347,10 +355,3 @@ $pf-v5-c-dual-list-selector__item--MaxNesting: 10;
|
|
|
347
355
|
}
|
|
348
356
|
}
|
|
349
357
|
// stylelint-enable
|
|
350
|
-
|
|
351
|
-
// stylelint-disable no-invalid-position-at-import-rule
|
|
352
|
-
@import "themes/dark/dual-list-selector";
|
|
353
|
-
|
|
354
|
-
@include pf-v5-theme-dark {
|
|
355
|
-
@include pf-v5-theme-dark-dual-list-selector;
|
|
356
|
-
}
|
|
@@ -1,41 +1,49 @@
|
|
|
1
|
-
|
|
2
|
-
--pf-v5-c-empty-state--PaddingTop: var(--pf-
|
|
3
|
-
--pf-v5-c-empty-state--PaddingRight: var(--pf-
|
|
4
|
-
--pf-v5-c-empty-state--PaddingBottom: var(--pf-
|
|
5
|
-
--pf-v5-c-empty-state--PaddingLeft: var(--pf-
|
|
6
|
-
--pf-v5-c-empty-state--m-xs--PaddingTop: var(--pf-
|
|
7
|
-
--pf-v5-c-empty-state--m-xs--PaddingRight: var(--pf-
|
|
8
|
-
--pf-v5-c-empty-state--m-xs--PaddingBottom: var(--pf-
|
|
9
|
-
--pf-v5-c-empty-state--m-xs--PaddingLeft: var(--pf-
|
|
1
|
+
:root {
|
|
2
|
+
--pf-v5-c-empty-state--PaddingTop: var(--pf-t--global--spacer--xl);
|
|
3
|
+
--pf-v5-c-empty-state--PaddingRight: var(--pf-t--global--spacer--xl);
|
|
4
|
+
--pf-v5-c-empty-state--PaddingBottom: var(--pf-t--global--spacer--xl);
|
|
5
|
+
--pf-v5-c-empty-state--PaddingLeft: var(--pf-t--global--spacer--xl);
|
|
6
|
+
--pf-v5-c-empty-state--m-xs--PaddingTop: var(--pf-t--global--spacer--md);
|
|
7
|
+
--pf-v5-c-empty-state--m-xs--PaddingRight: var(--pf-t--global--spacer--md);
|
|
8
|
+
--pf-v5-c-empty-state--m-xs--PaddingBottom: var(--pf-t--global--spacer--md);
|
|
9
|
+
--pf-v5-c-empty-state--m-xs--PaddingLeft: var(--pf-t--global--spacer--md);
|
|
10
10
|
--pf-v5-c-empty-state__content--MaxWidth: none;
|
|
11
11
|
--pf-v5-c-empty-state--m-xs__content--MaxWidth: 21.875rem;
|
|
12
12
|
--pf-v5-c-empty-state--m-sm__content--MaxWidth: 25rem;
|
|
13
13
|
--pf-v5-c-empty-state--m-lg__content--MaxWidth: 37.5rem;
|
|
14
|
-
--pf-v5-c-empty-state__icon--MarginBottom: var(--pf-
|
|
15
|
-
--pf-v5-c-empty-state__icon--FontSize: var(--pf-
|
|
16
|
-
--pf-v5-c-empty-state__icon--Color: var(--pf-
|
|
17
|
-
--pf-v5-c-empty-state--m-xs__icon--MarginBottom: var(--pf-
|
|
18
|
-
--pf-v5-c-empty-state--m-xl__icon--MarginBottom: var(--pf-
|
|
19
|
-
--pf-v5-c-empty-state--m-xl__icon--FontSize:
|
|
20
|
-
--pf-v5-c-empty-
|
|
21
|
-
--pf-v5-c-empty-
|
|
22
|
-
--pf-v5-c-empty-
|
|
23
|
-
--pf-v5-c-empty-
|
|
24
|
-
--pf-v5-c-empty-state--m-
|
|
25
|
-
--pf-v5-c-empty-
|
|
26
|
-
--pf-v5-c-empty-
|
|
27
|
-
--pf-v5-c-empty-
|
|
28
|
-
--pf-v5-c-empty-
|
|
29
|
-
--pf-v5-c-empty-state--
|
|
30
|
-
--pf-v5-c-empty-state--m-
|
|
31
|
-
--pf-v5-c-empty-state--m-
|
|
32
|
-
--pf-v5-c-empty-
|
|
33
|
-
--pf-v5-c-empty-
|
|
34
|
-
--pf-v5-c-empty-
|
|
35
|
-
--pf-v5-c-empty-
|
|
36
|
-
--pf-v5-c-empty-state--m-
|
|
37
|
-
--pf-v5-c-empty-
|
|
38
|
-
--pf-v5-c-empty-
|
|
14
|
+
--pf-v5-c-empty-state__icon--MarginBottom: var(--pf-t--global--spacer--lg);
|
|
15
|
+
--pf-v5-c-empty-state__icon--FontSize: var(--pf-t--global--icon--size--2xl);
|
|
16
|
+
--pf-v5-c-empty-state__icon--Color: var(--pf-t--global--icon--color--subtle);
|
|
17
|
+
--pf-v5-c-empty-state--m-xs__icon--MarginBottom: var(--pf-t--global--spacer--lg);
|
|
18
|
+
--pf-v5-c-empty-state--m-xl__icon--MarginBottom: var(--pf-t--global--spacer--xl);
|
|
19
|
+
--pf-v5-c-empty-state--m-xl__icon--FontSize: var(--pf-t--global--icon--size--3xl);
|
|
20
|
+
--pf-v5-c-empty-state--m-danger__icon--Color: var(--pf-t--global--icon--color--status--danger--default);
|
|
21
|
+
--pf-v5-c-empty-state--m-warning__icon--Color: var(--pf-t--global--icon--color--status--warning--default);
|
|
22
|
+
--pf-v5-c-empty-state--m-success__icon--Color: var(--pf-t--global--icon--color--status--success--default);
|
|
23
|
+
--pf-v5-c-empty-state--m-info__icon--Color: var(--pf-t--global--icon--color--status--info--default);
|
|
24
|
+
--pf-v5-c-empty-state--m-custom__icon--Color: var(--pf-t--global--icon--color--status--custom--default);
|
|
25
|
+
--pf-v5-c-empty-state__title-text--FontFamily: var(--pf-t--global--font--family--heading);
|
|
26
|
+
--pf-v5-c-empty-state__title-text--FontSize: var(--pf-t--global--font--size--heading--md);
|
|
27
|
+
--pf-v5-c-empty-state__title-text--FontWeight: var(--pf-t--global--font--weight--heading);
|
|
28
|
+
--pf-v5-c-empty-state__title-text--LineHeight: var(--pf-t--global--font--line-height--heading);
|
|
29
|
+
--pf-v5-c-empty-state--m-xs__title-text--FontSize: var(--pf-t--global--font--size--heading--xs);
|
|
30
|
+
--pf-v5-c-empty-state--m-xl__title-text--FontSize: var(--pf-t--global--font--size--heading--2xl);
|
|
31
|
+
--pf-v5-c-empty-state--m-xl__title-text--LineHeight: var(--pf-t--global--font--line-height--heading);
|
|
32
|
+
--pf-v5-c-empty-state__body--MarginTop: var(--pf-t--global--spacer--md);
|
|
33
|
+
--pf-v5-c-empty-state__body--Color: var(--pf-t--global--text--color--subtle);
|
|
34
|
+
--pf-v5-c-empty-state--body--FontSize: var(--pf-t--global--font--size--body--lg);
|
|
35
|
+
--pf-v5-c-empty-state--m-xs__body--FontSize: var(--pf-t--global--font--size--body--lg);
|
|
36
|
+
--pf-v5-c-empty-state--m-xs__body--MarginTop: var(--pf-t--global--spacer--md);
|
|
37
|
+
--pf-v5-c-empty-state--m-xl__body--FontSize: var(--pf-t--global--font--size--body--lg);
|
|
38
|
+
--pf-v5-c-empty-state--m-xl__body--MarginTop: var(--pf-t--global--spacer--xl);
|
|
39
|
+
--pf-v5-c-empty-state__footer--RowGap: var(--pf-t--global--spacer--sm);
|
|
40
|
+
--pf-v5-c-empty-state__footer--MarginTop: var(--pf-t--global--spacer--xl);
|
|
41
|
+
--pf-v5-c-empty-state--m-xs__footer--MarginTop: var(--pf-t--global--spacer--md);
|
|
42
|
+
--pf-v5-c-empty-state__actions--RowGap: var(--pf-t--global--spacer--sm);
|
|
43
|
+
--pf-v5-c-empty-state__actions--ColumnGap: var(--pf-t--global--spacer--md);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.pf-v5-c-empty-state {
|
|
39
47
|
display: flex;
|
|
40
48
|
align-items: center;
|
|
41
49
|
justify-content: center;
|
|
@@ -74,6 +82,21 @@
|
|
|
74
82
|
.pf-v5-c-empty-state.pf-m-full-height {
|
|
75
83
|
height: 100%;
|
|
76
84
|
}
|
|
85
|
+
.pf-v5-c-empty-state.pf-m-danger {
|
|
86
|
+
--pf-v5-c-empty-state__icon--Color: var(--pf-v5-c-empty-state--m-danger__icon--Color);
|
|
87
|
+
}
|
|
88
|
+
.pf-v5-c-empty-state.pf-m-warning {
|
|
89
|
+
--pf-v5-c-empty-state__icon--Color: var(--pf-v5-c-empty-state--m-warning__icon--Color);
|
|
90
|
+
}
|
|
91
|
+
.pf-v5-c-empty-state.pf-m-success {
|
|
92
|
+
--pf-v5-c-empty-state__icon--Color: var(--pf-v5-c-empty-state--m-success__icon--Color);
|
|
93
|
+
}
|
|
94
|
+
.pf-v5-c-empty-state.pf-m-info {
|
|
95
|
+
--pf-v5-c-empty-state__icon--Color: var(--pf-v5-c-empty-state--m-info__icon--Color);
|
|
96
|
+
}
|
|
97
|
+
.pf-v5-c-empty-state.pf-m-custom {
|
|
98
|
+
--pf-v5-c-empty-state__icon--Color: var(--pf-v5-c-empty-state--m-custom__icon--Color);
|
|
99
|
+
}
|
|
77
100
|
|
|
78
101
|
.pf-v5-c-empty-state__content {
|
|
79
102
|
max-width: var(--pf-v5-c-empty-state__content--MaxWidth);
|