@patternfly/patternfly 6.0.0-alpha.8 → 6.0.0-alpha.81
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 +884 -871
- package/base/tokens/_tokens-charts.scss +159 -0
- package/base/tokens/_tokens-dark.scss +311 -287
- package/base/tokens/_tokens-default.scss +425 -329
- package/base/tokens/_tokens-font.scss +29 -36
- 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 +19 -16
- package/components/Breadcrumb/breadcrumb.scss +18 -16
- package/components/Button/button.css +419 -353
- package/components/Button/button.scss +476 -476
- 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 +56 -48
- package/components/DualListSelector/dual-list-selector.scss +57 -50
- 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 +68 -114
- package/components/Form/form.scss +65 -126
- 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 +380 -355
- package/components/Label/label.scss +434 -348
- package/components/List/list.css +16 -16
- package/components/List/list.scss +17 -17
- package/components/Login/login.css +70 -97
- package/components/Login/login.scss +56 -64
- package/components/Masthead/masthead.css +261 -502
- package/components/Masthead/masthead.scss +123 -286
- package/components/Menu/menu.css +3 -0
- package/components/Menu/menu.scss +7 -3
- package/components/MenuToggle/menu-toggle.css +8 -8
- package/components/MenuToggle/menu-toggle.scss +8 -10
- 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 +56 -81
- package/components/NotificationBadge/notification-badge.scss +60 -97
- 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 +35 -52
- package/components/SimpleList/simple-list.scss +41 -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 +29 -45
- package/components/Table/table-grid.scss +40 -53
- package/components/Table/table-scrollable.css +6 -6
- package/components/Table/table-scrollable.scss +8 -8
- package/components/Table/table-tree-view.css +76 -74
- package/components/Table/table-tree-view.scss +44 -39
- package/components/Table/table.css +67 -93
- package/components/Table/table.scss +83 -105
- package/components/Tabs/tabs.css +143 -175
- package/components/Tabs/tabs.scss +159 -217
- 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/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 +1419 -93
- package/docs/components/CalendarMonth/examples/CalendarMonth.md +48 -224
- 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/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 +180 -180
- package/docs/components/Login/examples/Login.md +10 -5
- package/docs/components/Masthead/examples/masthead.md +443 -65
- package/docs/components/Menu/examples/Menu.md +507 -473
- package/docs/components/MenuToggle/examples/MenuToggle.md +106 -114
- 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 +209 -356
- package/docs/components/NotificationBadge/examples/NotificationBadge.md +5 -7
- 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/TextInputGroup/examples/TextInputGroup.md +9 -9
- 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 -3355
- package/docs/components/TreeView/examples/TreeView.md +7 -57
- package/docs/components/Truncate/examples/Truncate.css +2 -2
- package/docs/demos/AboutModal/examples/AboutModal.md +104 -31
- package/docs/demos/Alert/examples/Alert.md +330 -87
- package/docs/demos/BackToTop/examples/BackToTop.md +102 -29
- package/docs/demos/Banner/examples/Banner.md +211 -60
- package/docs/demos/Card/examples/Card.md +2 -2
- package/docs/demos/CardView/examples/CardView.md +241 -187
- package/docs/demos/ContextSelector/examples/ContextSelector.md +377 -94
- package/docs/demos/Dashboard/examples/Dashboard.md +102 -29
- package/docs/demos/DataList/examples/DataList.md +999 -938
- package/docs/demos/DescriptionList/examples/DescriptionList.md +306 -87
- package/docs/demos/Drawer/examples/Drawer.md +640 -251
- package/docs/demos/Form/examples/BasicForms.md +138 -84
- package/docs/demos/JumpLinks/examples/JumpLinks.md +917 -385
- package/docs/demos/Masthead/examples/Masthead.md +786 -342
- package/docs/demos/Modal/examples/Modal.md +645 -198
- package/docs/demos/Nav/examples/Nav.md +691 -902
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +515 -145
- package/docs/demos/Page/examples/Page.md +942 -273
- package/docs/demos/Page/examples/Penta.md +66 -26
- package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +13 -9
- package/docs/demos/PasswordStrength/examples/PasswordStrength.md +44 -32
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +1183 -832
- package/docs/demos/Skeleton/examples/Skeleton.md +102 -29
- package/docs/demos/Table/examples/Table.md +3811 -3456
- package/docs/demos/Tabs/examples/Tabs.md +636 -194
- package/docs/demos/Toolbar/examples/Toolbar.css +10 -0
- package/docs/demos/Toolbar/examples/Toolbar.md +1316 -1478
- package/docs/demos/Wizard/examples/Wizard.md +918 -261
- package/docs/layouts/Flex/examples/Flex.md +11 -11
- package/package.json +32 -32
- package/patternfly-base-no-globals-theme-dark-unversioned.css +897 -880
- package/patternfly-base-no-globals.css +897 -880
- package/patternfly-base-theme-dark-unversioned.css +890 -872
- package/patternfly-base.css +890 -872
- package/patternfly-no-globals.css +8107 -8027
- package/patternfly-theme-dark-unversioned.css +8111 -8030
- package/patternfly.css +8111 -8030
- 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/ModalBox/themes/dark/modal-box.scss +0 -7
- package/components/NotificationBadge/themes/dark/notification-badge.scss +0 -10
- 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/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/docs/components/Avatar/examples/Avatar.css +0 -3
- package/docs/components/NotificationBadge/examples/NotificationBadge.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,55 @@
|
|
|
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--
|
|
26
|
-
--pf-v5-c-dual-list-selector__list-item--m-
|
|
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--BorderRadius: var(--pf-t--global--border--radius--tiny);
|
|
28
|
+
--pf-v5-c-dual-list-selector__list-item-row--m-selected--BackgroundColor: var(--pf-t--global--background--color--primary--clicked);
|
|
29
|
+
--pf-v5-c-dual-list-selector__list-item--m-ghost-row--BackgroundColor: var(--pf-t--global--background--color--action--plain--clicked);
|
|
27
30
|
--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);
|
|
31
|
+
--pf-v5-c-dual-list-selector__item--PaddingTop: var(--pf-t--global--spacer--sm);
|
|
32
|
+
--pf-v5-c-dual-list-selector__item--PaddingRight: var(--pf-t--global--spacer--md);
|
|
33
|
+
--pf-v5-c-dual-list-selector__item--PaddingBottom: var(--pf-t--global--spacer--sm);
|
|
34
|
+
--pf-v5-c-dual-list-selector__item--PaddingLeft: var(--pf-t--global--spacer--md);
|
|
35
|
+
--pf-v5-c-dual-list-selector__item--m-expandable--PaddingLeft: var(--pf-t--global--spacer--md);
|
|
36
|
+
--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));
|
|
37
|
+
--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));
|
|
38
|
+
--pf-v5-c-dual-list-selector__draggable--item--PaddingLeft: var(--pf-t--global--spacer--xs);
|
|
39
|
+
--pf-v5-c-dual-list-selector__item-text--Color: var(--pf-t--global--text--color--subtle);
|
|
40
|
+
--pf-v5-c-dual-list-selector__list-item-row--m-selected__text--Color: var(--pf-t--global--text--color--regular);
|
|
41
|
+
--pf-v5-c-dual-list-selector__list-item--m-disabled__item-text--Color: var(--pf-t--global--background--color--disabled--default);
|
|
42
|
+
--pf-v5-c-dual-list-selector__status--MarginBottom: var(--pf-t--global--spacer--sm);
|
|
43
|
+
--pf-v5-c-dual-list-selector__status-text--FontSize: var(--pf-t--global--font--size--sm);
|
|
44
|
+
--pf-v5-c-dual-list-selector__status-text--Color: var(--pf-t--global--text--color--subtle);
|
|
45
|
+
--pf-v5-c-dual-list-selector__controls--PaddingRight: var(--pf-t--global--spacer--md);
|
|
46
|
+
--pf-v5-c-dual-list-selector__controls--PaddingLeft: var(--pf-t--global--spacer--md);
|
|
47
|
+
--pf-v5-c-dual-list-selector__controls--Gap: var(--pf-t--global--spacer--sm);
|
|
48
|
+
--pf-v5-c-dual-list-selector__controls--MarginBlockStart: var(--pf-t--global--spacer--md);
|
|
49
|
+
--pf-v5-c-dual-list-selector__item-toggle--PaddingRight: var(--pf-t--global--spacer--sm);
|
|
51
50
|
--pf-v5-c-dual-list-selector__list__list__item-toggle--Left: 0;
|
|
52
51
|
--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);
|
|
52
|
+
--pf-v5-c-dual-list-selector__item-check--MarginRight: var(--pf-t--global--spacer--sm);
|
|
53
|
+
--pf-v5-c-dual-list-selector__item--c-badge--m-read--BackgroundColor: var(--pf-t--global--color--nonstatus--gray--default);
|
|
56
54
|
--pf-v5-c-dual-list-selector__item-toggle-icon--Rotate: 0;
|
|
57
55
|
--pf-v5-c-dual-list-selector__list-item--m-expanded__item-toggle-icon--Rotate: 90deg;
|
|
58
56
|
--pf-v5-c-dual-list-selector__item-toggle-icon--Transition: var(--pf-v5-global--Transition);
|
|
59
57
|
--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-
|
|
58
|
+
--pf-v5-c-dual-list-selector__list-item--m-disabled__item-toggle-icon--Color: var(--pf-t--global--background--color--disabled--default);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.pf-v5-c-dual-list-selector {
|
|
61
62
|
display: grid;
|
|
62
63
|
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
64
|
grid-template-rows: repeat(3, auto) auto;
|
|
@@ -80,6 +81,7 @@
|
|
|
80
81
|
}
|
|
81
82
|
|
|
82
83
|
.pf-v5-c-dual-list-selector__title-text {
|
|
84
|
+
font-size: var(--pf-v5-c-dual-list-selector__title-text--FontSize);
|
|
83
85
|
font-weight: var(--pf-v5-c-dual-list-selector__title-text--FontWeight);
|
|
84
86
|
}
|
|
85
87
|
|
|
@@ -116,8 +118,10 @@
|
|
|
116
118
|
grid-area: var(--pf-v5-c-dual-list-selector__menu--GridArea);
|
|
117
119
|
min-height: var(--pf-v5-c-dual-list-selector__menu--MinHeight);
|
|
118
120
|
max-height: var(--pf-v5-c-dual-list-selector__menu--MaxHeight);
|
|
121
|
+
margin-block-start: var(--pf-v5-c-dual-list-selector__menu--MarginBlockStart);
|
|
119
122
|
overflow: auto;
|
|
120
123
|
border: var(--pf-v5-c-dual-list-selector__menu--BorderWidth) solid var(--pf-v5-c-dual-list-selector__menu--BorderColor);
|
|
124
|
+
border-radius: var(--pf-v5-c-dual-list-selector__menu--BorderRadius);
|
|
121
125
|
}
|
|
122
126
|
|
|
123
127
|
.pf-v5-c-dual-list-selector__list {
|
|
@@ -132,7 +136,6 @@
|
|
|
132
136
|
.pf-v5-c-dual-list-selector__list .pf-v5-c-dual-list-selector__list .pf-v5-c-dual-list-selector__item-toggle {
|
|
133
137
|
transform: translateX(var(--pf-v5-c-dual-list-selector__list__list__item-toggle--TranslateX));
|
|
134
138
|
position: absolute;
|
|
135
|
-
inset-block-start: 0;
|
|
136
139
|
inset-inline-start: var(--pf-v5-c-dual-list-selector__list__list__item-toggle--Left);
|
|
137
140
|
}
|
|
138
141
|
: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 +147,7 @@
|
|
|
144
147
|
}
|
|
145
148
|
|
|
146
149
|
.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--
|
|
150
|
+
--pf-v5-c-dual-list-selector__list-item-row--BackgroundColor: var(--pf-v5-c-dual-list-selector__list-item-row--hover--BackgroundColor);
|
|
148
151
|
}
|
|
149
152
|
.pf-v5-c-dual-list-selector__list-item.pf-m-expandable {
|
|
150
153
|
--pf-v5-c-dual-list-selector__item--PaddingLeft: var(--pf-v5-c-dual-list-selector__item--m-expandable--PaddingLeft);
|
|
@@ -162,6 +165,7 @@
|
|
|
162
165
|
display: flex;
|
|
163
166
|
font-size: var(--pf-v5-c-dual-list-selector__list-item-row--FontSize);
|
|
164
167
|
background-color: var(--pf-v5-c-dual-list-selector__list-item-row--BackgroundColor);
|
|
168
|
+
border-radius: var(--pf-v5-c-dual-list-selector__list-item-row--BorderRadius);
|
|
165
169
|
}
|
|
166
170
|
.pf-v5-c-dual-list-selector__list-item-row:hover {
|
|
167
171
|
--pf-v5-c-dual-list-selector__list-item-row--BackgroundColor: var(--pf-v5-c-dual-list-selector__list-item-row--hover--BackgroundColor);
|
|
@@ -173,6 +177,9 @@
|
|
|
173
177
|
--pf-v5-c-dual-list-selector__item-text--Color: var(--pf-v5-c-dual-list-selector__list-item-row--m-selected__text--Color);
|
|
174
178
|
font-weight: var(--pf-v5-c-dual-list-selector__list-item-row--m-selected__text--FontWeight);
|
|
175
179
|
}
|
|
180
|
+
.pf-v5-c-dual-list-selector__list-item-row.pf-m-selected:hover {
|
|
181
|
+
--pf-v5-c-dual-list-selector__list-item-row--BackgroundColor: var(--pf-v5-c-dual-list-selector__list-item-row--hover--BackgroundColor);
|
|
182
|
+
}
|
|
176
183
|
.pf-v5-c-dual-list-selector__list-item-row.pf-m-check {
|
|
177
184
|
--pf-v5-c-dual-list-selector__list-item-row--m-selected--BackgroundColor: transparent;
|
|
178
185
|
}
|
|
@@ -213,6 +220,7 @@
|
|
|
213
220
|
padding-inline-start: var(--pf-v5-c-dual-list-selector__item--PaddingLeft);
|
|
214
221
|
padding-inline-end: var(--pf-v5-c-dual-list-selector__item--PaddingRight);
|
|
215
222
|
cursor: pointer;
|
|
223
|
+
outline-offset: -2px;
|
|
216
224
|
}
|
|
217
225
|
|
|
218
226
|
.pf-v5-c-dual-list-selector__item-count {
|
|
@@ -231,10 +239,16 @@
|
|
|
231
239
|
}
|
|
232
240
|
|
|
233
241
|
.pf-v5-c-dual-list-selector__controls {
|
|
242
|
+
display: flex;
|
|
243
|
+
flex-direction: column;
|
|
234
244
|
grid-area: var(--pf-v5-c-dual-list-selector__controls--GridArea);
|
|
245
|
+
gap: var(--pf-v5-c-dual-list-selector__controls--Gap);
|
|
246
|
+
align-items: center;
|
|
235
247
|
align-self: center;
|
|
248
|
+
justify-content: center;
|
|
236
249
|
padding-inline-start: var(--pf-v5-c-dual-list-selector__controls--PaddingLeft);
|
|
237
250
|
padding-inline-end: var(--pf-v5-c-dual-list-selector__controls--PaddingRight);
|
|
251
|
+
margin-block-start: var(--pf-v5-c-dual-list-selector__controls--MarginBlockStart);
|
|
238
252
|
}
|
|
239
253
|
|
|
240
254
|
: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 +323,4 @@
|
|
|
309
323
|
.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
324
|
--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
325
|
--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
326
|
}
|
|
@@ -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,79 @@ $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-row--m-selected--BackgroundColor: var(
|
|
40
|
-
--#{$dual-list-selector}__list-item--m-ghost-row--BackgroundColor: var(
|
|
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--BorderRadius: var(--pf-t--global--border--radius--tiny);
|
|
42
|
+
--#{$dual-list-selector}__list-item-row--m-selected--BackgroundColor: var(--pf-t--global--background--color--primary--clicked);
|
|
43
|
+
--#{$dual-list-selector}__list-item--m-ghost-row--BackgroundColor: var(--pf-t--global--background--color--action--plain--clicked);
|
|
41
44
|
--#{$dual-list-selector}__list-item--m-ghost-row--Opacity: .4;
|
|
42
45
|
|
|
43
46
|
// 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(
|
|
47
|
+
--#{$dual-list-selector}__item--PaddingTop: var(--pf-t--global--spacer--sm);
|
|
48
|
+
--#{$dual-list-selector}__item--PaddingRight: var(--pf-t--global--spacer--md);
|
|
49
|
+
--#{$dual-list-selector}__item--PaddingBottom: var(--pf-t--global--spacer--sm);
|
|
50
|
+
--#{$dual-list-selector}__item--PaddingLeft: var(--pf-t--global--spacer--md);
|
|
51
|
+
--#{$dual-list-selector}__item--m-expandable--PaddingLeft: var(--pf-t--global--spacer--md);
|
|
52
|
+
--#{$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));
|
|
53
|
+
--#{$dual-list-selector}__item--nested-indent--base: calc(var(--#{$dual-list-selector}__item--indent--base) - var(--pf-t--global--spacer--md));
|
|
54
|
+
--#{$dual-list-selector}__draggable--item--PaddingLeft: var(--pf-t--global--spacer--xs);
|
|
52
55
|
|
|
53
56
|
// 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);
|
|
57
|
+
--#{$dual-list-selector}__item-text--Color: var(--pf-t--global--text--color--subtle);
|
|
58
|
+
--#{$dual-list-selector}__list-item-row--m-selected__text--Color: var(--pf-t--global--text--color--regular);
|
|
59
|
+
--#{$dual-list-selector}__list-item--m-disabled__item-text--Color: var(--pf-t--global--background--color--disabled--default); // token?
|
|
58
60
|
|
|
59
61
|
// Status
|
|
60
|
-
--#{$dual-list-selector}__status--MarginBottom: var(
|
|
61
|
-
--#{$dual-list-selector}__status-text--FontSize: var(
|
|
62
|
-
--#{$dual-list-selector}__status-text--Color: var(
|
|
62
|
+
--#{$dual-list-selector}__status--MarginBottom: var(--pf-t--global--spacer--sm);
|
|
63
|
+
--#{$dual-list-selector}__status-text--FontSize: var(--pf-t--global--font--size--sm);
|
|
64
|
+
--#{$dual-list-selector}__status-text--Color: var(--pf-t--global--text--color--subtle);
|
|
63
65
|
|
|
64
66
|
// Controls
|
|
65
|
-
--#{$dual-list-selector}__controls--PaddingRight: var(
|
|
66
|
-
--#{$dual-list-selector}__controls--PaddingLeft: var(
|
|
67
|
+
--#{$dual-list-selector}__controls--PaddingRight: var(--pf-t--global--spacer--md);
|
|
68
|
+
--#{$dual-list-selector}__controls--PaddingLeft: var(--pf-t--global--spacer--md);
|
|
69
|
+
--#{$dual-list-selector}__controls--Gap: var(--pf-t--global--spacer--sm);
|
|
70
|
+
--#{$dual-list-selector}__controls--MarginBlockStart: var(--pf-t--global--spacer--md);
|
|
67
71
|
|
|
68
72
|
// 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);
|
|
73
|
+
--#{$dual-list-selector}__item-toggle--PaddingRight: var(--pf-t--global--spacer--sm);
|
|
75
74
|
--#{$dual-list-selector}__list__list__item-toggle--Left: 0;
|
|
76
75
|
--#{$dual-list-selector}__list__list__item-toggle--TranslateX: -100%;
|
|
77
76
|
|
|
78
77
|
// Check
|
|
79
|
-
--#{$dual-list-selector}__item-check--MarginRight: var(
|
|
78
|
+
--#{$dual-list-selector}__item-check--MarginRight: var(--pf-t--global--spacer--sm);
|
|
80
79
|
|
|
81
80
|
// Badge
|
|
82
|
-
--#{$dual-list-selector}__item-
|
|
83
|
-
--#{$dual-list-selector}__item--c-badge--m-read--BackgroundColor: var(--#{$pf-global}--disabled-color--200);
|
|
81
|
+
--#{$dual-list-selector}__item--c-badge--m-read--BackgroundColor: var(--pf-t--global--color--nonstatus--gray--default);
|
|
84
82
|
|
|
85
83
|
// Icon
|
|
86
84
|
--#{$dual-list-selector}__item-toggle-icon--Rotate: 0;
|
|
87
85
|
--#{$dual-list-selector}__list-item--m-expanded__item-toggle-icon--Rotate: 90deg;
|
|
88
|
-
--#{$dual-list-selector}__item-toggle-icon--Transition: var(--#{$pf-global}--Transition);
|
|
86
|
+
--#{$dual-list-selector}__item-toggle-icon--Transition: var(--#{$pf-global}--Transition); // need token
|
|
89
87
|
--#{$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(
|
|
88
|
+
--#{$dual-list-selector}__list-item--m-disabled__item-toggle-icon--Color: var(--pf-t--global--background--color--disabled--default);
|
|
89
|
+
}
|
|
91
90
|
|
|
91
|
+
.#{$dual-list-selector} {
|
|
92
92
|
display: grid;
|
|
93
93
|
grid-template-areas:
|
|
94
94
|
"pane-header . pane-header-c"
|
|
@@ -119,6 +119,7 @@ $pf-v5-c-dual-list-selector__item--MaxNesting: 10;
|
|
|
119
119
|
}
|
|
120
120
|
|
|
121
121
|
.#{$dual-list-selector}__title-text {
|
|
122
|
+
font-size: var(--#{$dual-list-selector}__title-text--FontSize);
|
|
122
123
|
font-weight: var(--#{$dual-list-selector}__title-text--FontWeight);
|
|
123
124
|
}
|
|
124
125
|
|
|
@@ -156,8 +157,10 @@ $pf-v5-c-dual-list-selector__item--MaxNesting: 10;
|
|
|
156
157
|
grid-area: var(--#{$dual-list-selector}__menu--GridArea);
|
|
157
158
|
min-height: var(--#{$dual-list-selector}__menu--MinHeight);
|
|
158
159
|
max-height: var(--#{$dual-list-selector}__menu--MaxHeight);
|
|
160
|
+
margin-block-start: var(--#{$dual-list-selector}__menu--MarginBlockStart);
|
|
159
161
|
overflow: auto;
|
|
160
162
|
border: var(--#{$dual-list-selector}__menu--BorderWidth) solid var(--#{$dual-list-selector}__menu--BorderColor);
|
|
163
|
+
border-radius: var(--#{$dual-list-selector}__menu--BorderRadius);
|
|
161
164
|
}
|
|
162
165
|
|
|
163
166
|
.#{$dual-list-selector}__list {
|
|
@@ -175,7 +178,6 @@ $pf-v5-c-dual-list-selector__item--MaxNesting: 10;
|
|
|
175
178
|
);
|
|
176
179
|
|
|
177
180
|
position: absolute;
|
|
178
|
-
inset-block-start: 0;
|
|
179
181
|
inset-inline-start: var(--#{$dual-list-selector}__list__list__item-toggle--Left);
|
|
180
182
|
}
|
|
181
183
|
}
|
|
@@ -190,7 +192,7 @@ $pf-v5-c-dual-list-selector__item--MaxNesting: 10;
|
|
|
190
192
|
|
|
191
193
|
.#{$dual-list-selector}__list-item {
|
|
192
194
|
&:focus {
|
|
193
|
-
--#{$dual-list-selector}__list-item-row--BackgroundColor: var(--#{$dual-list-selector}__list-item-row--
|
|
195
|
+
--#{$dual-list-selector}__list-item-row--BackgroundColor: var(--#{$dual-list-selector}__list-item-row--hover--BackgroundColor);
|
|
194
196
|
}
|
|
195
197
|
|
|
196
198
|
&.pf-m-expandable {
|
|
@@ -213,6 +215,7 @@ $pf-v5-c-dual-list-selector__item--MaxNesting: 10;
|
|
|
213
215
|
display: flex;
|
|
214
216
|
font-size: var(--#{$dual-list-selector}__list-item-row--FontSize);
|
|
215
217
|
background-color: var(--#{$dual-list-selector}__list-item-row--BackgroundColor);
|
|
218
|
+
border-radius: var(--#{$dual-list-selector}__list-item-row--BorderRadius);
|
|
216
219
|
|
|
217
220
|
&:hover {
|
|
218
221
|
--#{$dual-list-selector}__list-item-row--BackgroundColor: var(--#{$dual-list-selector}__list-item-row--hover--BackgroundColor);
|
|
@@ -226,6 +229,10 @@ $pf-v5-c-dual-list-selector__item--MaxNesting: 10;
|
|
|
226
229
|
|
|
227
230
|
font-weight: var(--#{$dual-list-selector}__list-item-row--m-selected__text--FontWeight);
|
|
228
231
|
}
|
|
232
|
+
|
|
233
|
+
&:hover {
|
|
234
|
+
--#{$dual-list-selector}__list-item-row--BackgroundColor: var(--#{$dual-list-selector}__list-item-row--hover--BackgroundColor);
|
|
235
|
+
}
|
|
229
236
|
}
|
|
230
237
|
|
|
231
238
|
&.pf-m-check {
|
|
@@ -275,6 +282,7 @@ $pf-v5-c-dual-list-selector__item--MaxNesting: 10;
|
|
|
275
282
|
padding-inline-start: var(--#{$dual-list-selector}__item--PaddingLeft);
|
|
276
283
|
padding-inline-end: var(--#{$dual-list-selector}__item--PaddingRight);
|
|
277
284
|
cursor: pointer;
|
|
285
|
+
outline-offset: -2px;
|
|
278
286
|
}
|
|
279
287
|
|
|
280
288
|
.#{$dual-list-selector}__item-count {
|
|
@@ -293,10 +301,16 @@ $pf-v5-c-dual-list-selector__item--MaxNesting: 10;
|
|
|
293
301
|
}
|
|
294
302
|
|
|
295
303
|
.#{$dual-list-selector}__controls {
|
|
304
|
+
display: flex;
|
|
305
|
+
flex-direction: column;
|
|
296
306
|
grid-area: var(--#{$dual-list-selector}__controls--GridArea);
|
|
307
|
+
gap: var(--#{$dual-list-selector}__controls--Gap);
|
|
308
|
+
align-items: center;
|
|
297
309
|
align-self: center;
|
|
310
|
+
justify-content: center;
|
|
298
311
|
padding-inline-start: var(--#{$dual-list-selector}__controls--PaddingLeft);
|
|
299
312
|
padding-inline-end: var(--#{$dual-list-selector}__controls--PaddingRight);
|
|
313
|
+
margin-block-start: var(--#{$dual-list-selector}__controls--MarginBlockStart);
|
|
300
314
|
}
|
|
301
315
|
|
|
302
316
|
:is(.#{$dual-list-selector}__controls-item, .#{$dual-list-selector}__item-toggle-icon) {
|
|
@@ -347,10 +361,3 @@ $pf-v5-c-dual-list-selector__item--MaxNesting: 10;
|
|
|
347
361
|
}
|
|
348
362
|
}
|
|
349
363
|
// 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);
|