@patternfly/patternfly 6.0.0-alpha.99 → 6.0.0-prerelease.2
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/README.md +1 -2
- package/assets/fontawesome/_animated.scss +1 -0
- package/assets/fontawesome/_bordered-pulled.scss +1 -0
- package/assets/fontawesome/_core.scss +2 -0
- package/assets/fontawesome/_fixed-width.scss +2 -0
- package/assets/fontawesome/_icons.scss +1 -0
- package/assets/fontawesome/_index.scss +12 -0
- package/assets/fontawesome/_larger.scss +4 -2
- package/assets/fontawesome/_list.scss +4 -2
- package/assets/fontawesome/_rotated-flipped.scss +2 -0
- package/assets/fontawesome/_screen-reader.scss +1 -0
- package/assets/fontawesome/_stacked.scss +3 -1
- package/assets/fontawesome/_variables.scss +3 -2
- package/assets/fontawesome/fontawesome.scss +12 -12
- package/assets/icons/iconUnicodes.json +6 -0
- package/assets/images/img_avatar-dark.svg +22 -16
- package/assets/images/img_avatar-light.svg +25 -18
- package/assets/images/pf-background.svg +21 -21
- package/assets/images/pf_logo.svg +11 -11
- package/assets/images/pf_logo_white.svg +16 -17
- package/assets/pficon/pf-v6-pficon.woff2 +0 -0
- package/assets/pficon/pficon.scss +310 -271
- package/base/_index.scss +10 -0
- package/base/{_globals.scss → normalize.scss} +15 -48
- package/base/patternfly-common.css +14 -0
- package/base/patternfly-common.scss +68 -2
- package/base/patternfly-fa-icons.css +1 -1
- package/base/patternfly-fa-icons.scss +35 -2
- package/base/patternfly-fonts.css +10 -80
- package/base/patternfly-fonts.scss +49 -2
- package/base/patternfly-pf-icons.css +158 -134
- package/base/patternfly-pf-icons.scss +1 -2
- package/base/patternfly-svg-icons.css +5 -0
- package/base/{_svg-icons.scss → patternfly-svg-icons.scss} +2 -0
- package/base/patternfly-variables.css +1082 -1206
- package/base/patternfly-variables.scss +20 -2
- package/base/reset.scss +33 -0
- package/base/tokens/_index.scss +6 -0
- package/base/tokens/tokens-charts-dark.scss +173 -0
- package/base/tokens/{_tokens-charts.scss → tokens-charts.scss} +162 -148
- package/base/tokens/{_tokens-dark.scss → tokens-dark.scss} +307 -294
- package/base/tokens/{_tokens-default.scss → tokens-default.scss} +574 -447
- package/base/tokens/{_tokens-font.scss → tokens-local.scss} +13 -34
- package/base/tokens/{_tokens-palette.scss → tokens-palette.scss} +69 -70
- package/components/AboutModalBox/about-modal-box.css +86 -81
- package/components/AboutModalBox/about-modal-box.scss +80 -82
- package/components/Accordion/accordion.css +44 -43
- package/components/Accordion/accordion.scss +52 -52
- package/components/ActionList/action-list.css +6 -5
- package/components/ActionList/action-list.scss +7 -5
- package/components/Alert/alert-group.css +72 -19
- package/components/Alert/alert-group.scss +105 -18
- package/components/Alert/alert.css +52 -59
- package/components/Alert/alert.scss +56 -65
- package/components/Avatar/avatar.css +42 -41
- package/components/Avatar/avatar.scss +8 -7
- package/components/BackToTop/back-to-top.css +19 -17
- package/components/BackToTop/back-to-top.scss +17 -17
- package/components/Backdrop/backdrop.css +1 -1
- package/components/Backdrop/backdrop.scss +3 -4
- package/components/BackgroundImage/background-image.scss +3 -4
- package/components/Badge/badge.css +29 -7
- package/components/Badge/badge.scss +33 -9
- package/components/Banner/banner.css +30 -37
- package/components/Banner/banner.scss +30 -43
- package/components/Brand/brand.css +14 -10
- package/components/Brand/brand.scss +8 -5
- package/components/Breadcrumb/breadcrumb.css +23 -24
- package/components/Breadcrumb/breadcrumb.scss +25 -28
- package/components/Button/button.css +150 -128
- package/components/Button/button.scss +155 -130
- package/components/CalendarMonth/calendar-month.css +46 -46
- package/components/CalendarMonth/calendar-month.scss +49 -50
- package/components/Card/card.css +110 -93
- package/components/Card/card.scss +118 -92
- package/components/Check/check.css +5 -5
- package/components/Check/check.scss +7 -8
- package/components/ClipboardCopy/clipboard-copy.css +33 -41
- package/components/ClipboardCopy/clipboard-copy.scss +35 -44
- package/components/CodeBlock/code-block.css +21 -20
- package/components/CodeBlock/code-block.scss +21 -21
- package/components/CodeEditor/code-editor.css +35 -34
- package/components/CodeEditor/code-editor.scss +35 -35
- package/components/Content/content.css +167 -153
- package/components/Content/content.scss +204 -145
- package/components/DataList/data-list-grid.css +117 -117
- package/components/DataList/data-list-grid.scss +22 -20
- package/components/DataList/data-list.css +308 -312
- package/components/DataList/data-list.scss +145 -152
- package/components/DatePicker/date-picker.css +17 -17
- package/components/DatePicker/date-picker.scss +17 -18
- package/components/DescriptionList/description-list-order.css +5 -5
- package/components/DescriptionList/description-list-order.scss +3 -1
- package/components/DescriptionList/description-list.css +46 -44
- package/components/DescriptionList/description-list.scss +26 -31
- package/components/Divider/divider.css +104 -107
- package/components/Divider/divider.scss +19 -19
- package/components/DragDrop/drag-drop.css +4 -2
- package/components/DragDrop/drag-drop.scss +3 -3
- package/components/Drawer/drawer.css +115 -114
- package/components/Drawer/drawer.scss +136 -134
- package/components/DualListSelector/dual-list-selector.css +64 -61
- package/components/DualListSelector/dual-list-selector.scss +54 -51
- package/components/EmptyState/empty-state.css +38 -37
- package/components/EmptyState/empty-state.scss +39 -39
- package/components/ExpandableSection/expandable-section.css +27 -86
- package/components/ExpandableSection/expandable-section.scss +32 -101
- package/components/FileUpload/file-upload.css +2 -2
- package/components/FileUpload/file-upload.scss +2 -3
- package/components/Form/form.css +173 -115
- package/components/Form/form.scss +117 -103
- package/components/FormControl/form-control.css +57 -57
- package/components/FormControl/form-control.scss +69 -67
- package/components/HelperText/helper-text.css +5 -4
- package/components/HelperText/helper-text.scss +8 -6
- package/components/Hint/hint.css +25 -25
- package/components/Hint/hint.scss +25 -27
- package/components/Icon/icon.css +10 -10
- package/components/Icon/icon.scss +11 -12
- package/components/InlineEdit/inline-edit.css +12 -12
- package/components/InlineEdit/inline-edit.scss +12 -13
- package/components/InputGroup/input-group.css +16 -16
- package/components/InputGroup/input-group.scss +18 -19
- package/components/JumpLinks/jump-links.css +80 -96
- package/components/JumpLinks/jump-links.scss +80 -100
- package/components/Label/label-group.css +28 -28
- package/components/Label/label-group.scss +29 -30
- package/components/Label/label.css +102 -87
- package/components/Label/label.scss +113 -94
- package/components/List/list.css +44 -47
- package/components/List/list.scss +51 -58
- package/components/Login/login.css +122 -118
- package/components/Login/login.scss +105 -112
- package/components/Masthead/masthead.css +273 -175
- package/components/Masthead/masthead.scss +102 -68
- package/components/Menu/menu.css +151 -95
- package/components/Menu/menu.scss +59 -40
- package/components/MenuToggle/menu-toggle.css +129 -108
- package/components/MenuToggle/menu-toggle.scss +150 -128
- package/components/ModalBox/modal-box.css +53 -45
- package/components/ModalBox/modal-box.scss +52 -46
- package/components/MultipleFileUpload/multiple-file-upload.css +37 -37
- package/components/MultipleFileUpload/multiple-file-upload.scss +38 -39
- package/components/Nav/nav.css +33 -9
- package/components/Nav/nav.scss +46 -13
- package/components/NotificationDrawer/notification-drawer.css +50 -51
- package/components/NotificationDrawer/notification-drawer.scss +58 -57
- package/components/NumberInput/number-input.css +7 -11
- package/components/NumberInput/number-input.scss +5 -7
- package/components/OverflowMenu/overflow-menu.css +2 -1
- package/components/OverflowMenu/overflow-menu.scss +3 -1
- package/components/Page/page.css +175 -519
- package/components/Page/page.scss +155 -386
- package/components/Pagination/pagination.css +82 -79
- package/components/Pagination/pagination.scss +43 -40
- package/components/Panel/panel.css +33 -30
- package/components/Panel/panel.scss +35 -33
- package/components/Popover/popover.css +54 -52
- package/components/Popover/popover.scss +55 -54
- package/components/Progress/progress.css +8 -4
- package/components/Progress/progress.scss +14 -11
- package/components/ProgressStepper/progress-stepper.css +246 -245
- package/components/ProgressStepper/progress-stepper.scss +118 -118
- package/components/Radio/radio.css +7 -7
- package/components/Radio/radio.scss +9 -10
- package/components/Sidebar/sidebar.css +139 -139
- package/components/Sidebar/sidebar.scss +61 -61
- package/components/SimpleList/simple-list.css +21 -20
- package/components/SimpleList/simple-list.scss +22 -23
- package/components/Skeleton/skeleton.css +4 -4
- package/components/Skeleton/skeleton.scss +7 -8
- package/components/SkipToContent/skip-to-content.css +7 -6
- package/components/SkipToContent/skip-to-content.scss +7 -7
- package/components/Slider/slider.css +31 -31
- package/components/Slider/slider.scss +54 -55
- package/components/Spinner/spinner.scss +4 -5
- package/components/Switch/switch.css +4 -10
- package/components/Switch/switch.scss +8 -17
- package/components/TabContent/tab-content.css +25 -25
- package/components/TabContent/tab-content.scss +28 -28
- package/components/Table/table-grid.css +434 -508
- package/components/Table/table-grid.scss +131 -150
- package/components/Table/table-scrollable.css +31 -34
- package/components/Table/table-scrollable.scss +44 -41
- package/components/Table/table-tree-view.css +287 -279
- package/components/Table/table-tree-view.scss +84 -84
- package/components/Table/table.css +316 -279
- package/components/Table/table.scss +346 -301
- package/components/Tabs/tabs.css +215 -240
- package/components/Tabs/tabs.scss +130 -162
- package/components/TextInputGroup/text-input-group.css +122 -64
- package/components/TextInputGroup/text-input-group.scss +144 -87
- package/components/Tile/tile.css +15 -15
- package/components/Tile/tile.scss +16 -17
- package/components/Timestamp/timestamp.css +13 -19
- package/components/Timestamp/timestamp.scss +16 -22
- package/components/Title/title.css +14 -13
- package/components/Title/title.scss +15 -15
- package/components/ToggleGroup/toggle-group.css +37 -37
- package/components/ToggleGroup/toggle-group.scss +38 -41
- package/components/Toolbar/toolbar.css +547 -1431
- package/components/Toolbar/toolbar.scss +159 -123
- package/components/Tooltip/tooltip.css +28 -27
- package/components/Tooltip/tooltip.scss +31 -30
- package/components/TreeView/tree-view.css +184 -184
- package/components/TreeView/tree-view.scss +133 -133
- package/components/Truncate/truncate.css +2 -2
- package/components/Truncate/truncate.scss +7 -8
- package/components/Wizard/wizard.css +190 -154
- package/components/Wizard/wizard.scss +211 -165
- package/components/_index.css +22378 -0
- package/components/_index.scss +82 -0
- package/docs/components/AboutModalBox/examples/AboutModalBox.md +3 -1
- package/docs/components/Accordion/examples/Accordion.md +1 -1
- package/docs/components/ActionList/examples/ActionList.md +64 -24
- package/docs/components/Alert/examples/Alert.md +116 -74
- package/docs/components/BackToTop/examples/BackToTop.md +1 -1
- package/docs/components/Badge/examples/Badge.md +6 -16
- package/docs/components/Banner/examples/Banner.md +16 -10
- package/docs/components/Brand/examples/Brand.md +2 -2
- package/docs/components/Breadcrumb/examples/Breadcrumb.md +19 -59
- package/docs/components/Button/examples/Button.md +537 -368
- package/docs/components/CalendarMonth/examples/CalendarMonth.md +24 -8
- package/docs/components/Card/examples/Card.md +372 -658
- package/docs/components/Check/examples/Check.md +10 -15
- package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +92 -47
- package/docs/components/CodeBlock/examples/CodeBlock.md +51 -28
- package/docs/components/CodeEditor/examples/CodeEditor.md +41 -22
- package/docs/components/Content/examples/Content.md +600 -60
- package/docs/components/DataList/examples/DataList.md +291 -1028
- package/docs/components/DatePicker/examples/DatePicker.md +18 -6
- package/docs/components/DescriptionList/examples/DescriptionList.md +80 -55
- package/docs/components/Drawer/examples/Drawer.md +60 -21
- package/docs/components/DualListSelector/examples/DualListSelector.md +364 -996
- package/docs/components/EmptyState/examples/EmptyState.md +123 -53
- package/docs/components/ExpandableSection/examples/ExpandableSection.md +96 -91
- package/docs/components/FileUpload/examples/FileUpload.md +42 -14
- package/docs/components/Form/examples/Form.md +100 -26
- package/docs/components/Hint/examples/Hint.md +54 -164
- package/docs/components/InlineEdit/examples/InlineEdit.md +132 -45
- package/docs/components/InputGroup/examples/InputGroup.md +38 -62
- package/docs/components/JumpLinks/examples/JumpLinks.md +189 -72
- package/docs/components/Label/examples/Label.md +2577 -406
- package/docs/components/Login/examples/Login.md +372 -334
- package/docs/components/Masthead/examples/masthead.md +515 -484
- package/docs/components/Menu/examples/Menu.md +77 -138
- package/docs/components/MenuToggle/examples/MenuToggle.md +289 -39
- package/docs/components/ModalBox/examples/ModalBox.md +158 -100
- package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +137 -97
- package/docs/components/Nav/examples/Navigation.css +2 -7
- package/docs/components/Nav/examples/Navigation.md +337 -270
- package/docs/components/NotificationDrawer/examples/NotificationDrawer.md +515 -2076
- package/docs/components/NumberInput/examples/NumberInput.md +96 -48
- package/docs/components/OverflowMenu/examples/overflow-menu.css +4 -28
- package/docs/components/OverflowMenu/examples/overflow-menu.md +104 -159
- package/docs/components/Page/examples/Page.css +5 -9
- package/docs/components/Page/examples/Page.md +254 -181
- package/docs/components/Pagination/examples/Pagination.md +336 -756
- package/docs/components/Panel/examples/Panel.md +3 -2
- package/docs/components/Popover/examples/Popover.md +60 -15
- package/docs/components/ProgressStepper/examples/ProgressStepper.md +15 -15
- package/docs/components/Sidebar/examples/Sidebar.css +4 -2
- package/docs/components/Sidebar/examples/Sidebar.md +3 -3
- package/docs/components/Skeleton/examples/Skeleton.css +1 -1
- package/docs/components/SkipToContent/examples/SkipToContent.md +3 -1
- package/docs/components/Slider/examples/Slider.md +53 -45
- package/docs/components/Spinner/examples/Spinner.md +1 -1
- package/docs/components/Switch/examples/Switch.md +33 -148
- package/docs/components/Table/examples/Table.css +11 -6
- package/docs/components/Table/examples/Table.md +5302 -2464
- package/docs/components/Tabs/examples/Tabs.md +1267 -607
- package/docs/components/TextInputGroup/examples/TextInputGroup.css +8 -3
- package/docs/components/TextInputGroup/examples/TextInputGroup.md +469 -278
- package/docs/components/Tile/examples/Tile.css +5 -5
- package/docs/components/Timestamp/examples/Timestamp.md +7 -1
- package/docs/components/ToggleGroup/examples/toggle-group.md +1 -3
- package/docs/components/Toolbar/examples/Toolbar.css +50 -39
- package/docs/components/Toolbar/examples/Toolbar.md +1562 -1200
- package/docs/components/Tooltip/examples/Tooltip.css +1 -1
- package/docs/components/TreeView/examples/TreeView.md +627 -49
- package/docs/components/Truncate/examples/Truncate.css +1 -2
- package/docs/components/Wizard/examples/Wizard.md +1595 -126
- package/docs/demos/AboutModal/examples/AboutModal.md +191 -198
- package/docs/demos/Alert/examples/Alert.md +924 -909
- package/docs/demos/BackToTop/examples/BackToTop.md +318 -327
- package/docs/demos/Banner/examples/Banner.md +641 -659
- package/docs/demos/Button/examples/Button.md +8 -8
- package/docs/demos/Card/examples/Card.css +6 -6
- package/docs/demos/Card/examples/Card.md +419 -606
- package/docs/demos/CardView/examples/CardView.md +822 -1435
- package/docs/demos/Dashboard/examples/Dashboard.md +1308 -1442
- package/docs/demos/DataList/examples/DataList.md +3210 -3424
- package/docs/demos/DescriptionList/examples/DescriptionList.md +899 -937
- package/docs/demos/Drawer/examples/Drawer.md +1165 -1176
- package/docs/demos/Form/examples/BasicForms.md +153 -88
- package/docs/demos/JumpLinks/examples/JumpLinks.md +1710 -1602
- package/docs/demos/Masthead/examples/Masthead.md +1719 -1583
- package/docs/demos/Modal/examples/Modal.md +1231 -1235
- package/docs/demos/Nav/examples/Nav.md +1216 -1230
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +1910 -4577
- package/docs/demos/Page/examples/Page.css +11 -0
- package/docs/demos/Page/examples/Page.md +3753 -2540
- package/docs/demos/Panel/Panel.md +88 -0
- package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +9 -3
- package/docs/demos/PasswordStrength/examples/PasswordStrength.md +16 -48
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +5150 -6255
- package/docs/demos/Skeleton/examples/Skeleton.md +297 -304
- package/docs/demos/Table/examples/Table.md +14272 -15154
- package/docs/demos/Tabs/examples/Tabs.md +2821 -2891
- package/docs/demos/Toolbar/examples/Toolbar.css +10 -18
- package/docs/demos/Toolbar/examples/Toolbar.md +2487 -2663
- package/docs/demos/Wizard/examples/Wizard.md +3021 -2784
- package/docs/layouts/Bullseye/examples/Bullseye.css +4 -4
- package/docs/layouts/Flex/examples/Flex.css +4 -4
- package/docs/layouts/Flex/examples/Flex.md +50 -50
- package/docs/layouts/Gallery/examples/Gallery.css +4 -4
- package/docs/layouts/Gallery/examples/Gallery.md +6 -6
- package/docs/layouts/Grid/examples/Grid.css +3 -3
- package/docs/layouts/Grid/examples/Grid.md +33 -33
- package/docs/layouts/Level/examples/Level.css +5 -5
- package/docs/layouts/Split/examples/Split.css +4 -4
- package/docs/layouts/Stack/examples/Stack.css +5 -5
- package/docs/utilities/Accessibility/examples/Accessibility.md +2 -2
- package/docs/utilities/Alignment/examples/Alignment.css +6 -6
- package/docs/utilities/Alignment/examples/Alignment.md +5 -5
- package/docs/utilities/BackgroundColor/examples/BackgroundColor.md +7 -67
- package/docs/utilities/BoxShadow/examples/box-shadow.css +11 -11
- package/docs/utilities/BoxShadow/examples/box-shadow.md +15 -38
- package/docs/utilities/Display/examples/Display.css +3 -10
- package/docs/utilities/Display/examples/Display.md +21 -12
- package/docs/utilities/Flex/examples/Flex.css +7 -7
- package/docs/utilities/Flex/examples/Flex.md +82 -40
- package/docs/utilities/Float/examples/Float.css +5 -5
- package/docs/utilities/Float/examples/Float.md +6 -6
- package/docs/utilities/Sizing/examples/Sizing.css +6 -6
- package/docs/utilities/Sizing/examples/Sizing.md +60 -60
- package/docs/utilities/Spacing/examples/Spacing.css +3 -3
- package/docs/utilities/Spacing/examples/Spacing.md +37 -37
- package/docs/utilities/Text/examples/Text.md +78 -77
- package/icons/pficons.mjs +6 -0
- package/layouts/Bullseye/bullseye.css +4 -0
- package/layouts/Bullseye/bullseye.scss +5 -1
- package/layouts/Flex/flex.css +241 -237
- package/layouts/Flex/flex.scss +48 -44
- package/layouts/Gallery/gallery.css +15 -11
- package/layouts/Gallery/gallery.scss +9 -5
- package/layouts/Grid/grid.css +20 -16
- package/layouts/Grid/grid.scss +12 -8
- package/layouts/Level/level.css +5 -1
- package/layouts/Level/level.scss +6 -2
- package/layouts/Split/split.css +5 -1
- package/layouts/Split/split.scss +6 -2
- package/layouts/Stack/stack.css +5 -1
- package/layouts/Stack/stack.scss +6 -2
- package/layouts/_index.css +3461 -0
- package/layouts/_index.scss +8 -0
- package/package.json +39 -39
- package/patternfly-addons.css +2071 -2648
- package/patternfly-addons.scss +2 -12
- package/patternfly-base-no-globals.css +1429 -1645
- package/patternfly-base-no-globals.scss +5 -3
- package/patternfly-base.css +1511 -1723
- package/patternfly-base.scss +2 -6
- package/patternfly-charts.css +579 -240
- package/patternfly-charts.scss +352 -337
- package/patternfly-no-globals.css +19895 -23410
- package/patternfly-no-globals.scss +5 -4
- package/patternfly.css +19999 -23510
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/patternfly.scss +3 -4
- package/sass-utilities/_index.scss +6 -0
- package/sass-utilities/functions.scss +25 -25
- package/sass-utilities/{_init.scss → init.scss} +6 -6
- package/sass-utilities/mixins.scss +108 -72
- package/sass-utilities/{component-namespaces.scss → namespaces-components.scss} +3 -27
- package/sass-utilities/{layout-namespaces.scss → namespaces-layouts.scss} +3 -1
- package/sass-utilities/scss-variables.scss +49 -261
- package/utilities/Accessibility/accessibility.css +15 -15
- package/utilities/Accessibility/accessibility.scss +8 -6
- package/utilities/Alignment/alignment.css +29 -29
- package/utilities/Alignment/alignment.scss +6 -4
- package/utilities/BackgroundColor/background-color.css +67 -0
- package/utilities/BackgroundColor/background-color.scss +16 -0
- package/utilities/BoxShadow/box-shadow.css +15 -39
- package/utilities/BoxShadow/box-shadow.scss +19 -28
- package/utilities/Display/display.css +43 -5
- package/utilities/Display/display.scss +7 -4
- package/utilities/Flex/flex.css +50 -50
- package/utilities/Flex/flex.scss +21 -20
- package/utilities/Float/float.css +29 -29
- package/utilities/Float/float.scss +6 -6
- package/utilities/Sizing/sizing.css +58 -58
- package/utilities/Sizing/sizing.scss +23 -21
- package/utilities/Spacing/spacing.css +1372 -1372
- package/utilities/Spacing/spacing.scss +6 -6
- package/utilities/Text/text.css +419 -662
- package/utilities/Text/text.scss +81 -107
- package/utilities/_index.css +7815 -0
- package/utilities/_index.scss +10 -0
- package/assets/images/pf-logo-small.svg +0 -23
- package/assets/images/pf_logo_white.hbs +0 -35
- package/assets/images/pfbg-icon.svg +0 -1
- package/assets/pficon/pf-v5-pficon.woff2 +0 -0
- package/base/_base.scss +0 -2
- package/base/_chart-globals.scss +0 -415
- package/base/_common.scss +0 -50
- package/base/_fa-icons.scss +0 -33
- package/base/_fonts.scss +0 -136
- package/base/_icons.scss +0 -3
- package/base/_pficons.scss +0 -2
- package/base/_themes.scss +0 -43
- package/base/_variables.scss +0 -299
- package/base/patternfly-globals.css +0 -120
- package/base/patternfly-globals.scss +0 -2
- package/base/patternfly-icons.css +0 -4728
- package/base/patternfly-icons.scss +0 -2
- package/base/patternfly-themes.css +0 -82
- package/base/patternfly-themes.scss +0 -2
- package/base/themes/dark/_chart-globals.scss +0 -42
- package/base/themes/dark/_globals.scss +0 -5
- package/base/tokens/_workspace-overrides.scss +0 -7
- package/components/AppLauncher/app-launcher.css +0 -244
- package/components/AppLauncher/app-launcher.scss +0 -308
- package/components/AppLauncher/themes/dark/app-launcher.scss +0 -13
- package/components/Chip/chip-group.css +0 -93
- package/components/Chip/chip-group.scss +0 -98
- package/components/Chip/chip.css +0 -122
- package/components/Chip/chip.scss +0 -140
- package/components/Chip/themes/dark/chip.scss +0 -9
- package/components/ContextSelector/context-selector.css +0 -336
- package/components/ContextSelector/context-selector.scss +0 -384
- package/components/ContextSelector/themes/dark/context-selector.scss +0 -24
- package/components/Dropdown/dropdown.css +0 -686
- package/components/Dropdown/dropdown.scss +0 -820
- package/components/Dropdown/themes/dark/dropdown.scss +0 -32
- package/components/LogViewer/log-viewer.css +0 -197
- package/components/LogViewer/log-viewer.scss +0 -226
- package/components/LogViewer/themes/dark/log-viewer.scss +0 -7
- package/components/NotificationBadge/notification-badge.css +0 -87
- package/components/NotificationBadge/notification-badge.scss +0 -108
- package/components/OptionsMenu/options-menu.css +0 -279
- package/components/OptionsMenu/options-menu.scss +0 -332
- package/components/OptionsMenu/themes/dark/options-menu.scss +0 -21
- package/components/Select/select.css +0 -599
- package/components/Select/select.scss +0 -713
- package/components/Select/themes/dark/select.scss +0 -23
- package/components/_all.scss +0 -91
- package/docs/components/AppLauncher/deprecated/application-launcher.css +0 -25
- package/docs/components/AppLauncher/deprecated/application-launcher.md +0 -792
- package/docs/components/Breadcrumb/examples/Breadcrumb.css +0 -3
- package/docs/components/Chip/examples/Chip.md +0 -846
- package/docs/components/ContextSelector/deprecated/context-selector.css +0 -7
- package/docs/components/ContextSelector/deprecated/context-selector.md +0 -909
- package/docs/components/Dropdown/deprecated/Dropdown.css +0 -64
- package/docs/components/Dropdown/deprecated/Dropdown.md +0 -2920
- package/docs/components/LogViewer/examples/LogViewer.css +0 -17
- package/docs/components/LogViewer/examples/LogViewer.md +0 -5936
- package/docs/components/NotificationBadge/examples/NotificationBadge.md +0 -222
- package/docs/components/OptionsMenu/deprecated/options-menu.css +0 -25
- package/docs/components/OptionsMenu/deprecated/options-menu.md +0 -1014
- package/docs/components/Page/deprecated/PageHeader.css +0 -17
- package/docs/components/Page/deprecated/PageHeader.md +0 -261
- package/docs/components/Pagination/examples/Pagination.css +0 -3
- package/docs/components/Select/deprecated/Select.css +0 -56
- package/docs/components/Select/deprecated/Select.md +0 -3525
- package/docs/components/Tabs/examples/Tabs.css +0 -10
- package/docs/components/ToggleGroup/examples/toggle-group.css +0 -4
- package/docs/demos/ContextSelector/examples/ContextSelector.md +0 -1712
- package/docs/demos/Page/examples/Penta.md +0 -821
- package/docs/utilities/Text/examples/Text.css +0 -0
- package/layouts/_all.scss +0 -7
- package/patternfly-base-no-globals-theme-dark-unversioned.css +0 -6276
- package/patternfly-base-no-globals-theme-dark-unversioned.scss +0 -11
- package/patternfly-base-theme-dark-unversioned.css +0 -6393
- package/patternfly-base-theme-dark-unversioned.scss +0 -5
- package/patternfly-charts-theme-dark-unversioned.css +0 -70
- package/patternfly-charts-theme-dark-unversioned.scss +0 -8
- package/patternfly-charts-theme-dark.css +0 -70
- package/patternfly-charts-theme-dark.scss +0 -8
- package/patternfly-theme-dark-unversioned.css +0 -35533
- package/patternfly-theme-dark-unversioned.scss +0 -6
- package/patternfly-theme-dark.css +0 -0
- package/patternfly-theme-dark.scss +0 -1
- package/sass-utilities/_all.scss +0 -9
- package/sass-utilities/colors.scss +0 -82
- package/sass-utilities/div.import.scss +0 -3
- package/sass-utilities/div.scss +0 -4
- package/sass-utilities/placeholders.scss +0 -72
- package/sass-utilities/themes/dark/_all.scss +0 -4
- package/sass-utilities/themes/dark/colors.scss +0 -16
- package/sass-utilities/themes/dark/mixins.scss +0 -7
- package/sass-utilities/themes/dark/placeholders.scss +0 -5
- package/sass-utilities/themes/dark/scss-variables.scss +0 -92
- package/themes/dark/_patternfly-charts-theme-dark.scss +0 -98
- package/utilities/BackgroundColor/BackgroundColor.css +0 -414
- package/utilities/BackgroundColor/BackgroundColor.scss +0 -64
- package/utilities/BackgroundColor/themes/dark/BackgroundColor.css +0 -0
- package/utilities/BackgroundColor/themes/dark/BackgroundColor.scss +0 -25
- package/utilities/Text/themes/dark/text.css +0 -0
- package/utilities/Text/themes/dark/text.scss +0 -33
|
@@ -1,279 +0,0 @@
|
|
|
1
|
-
.pf-v6-c-options-menu {
|
|
2
|
-
--pf-v6-c-options-menu__toggle--BackgroundColor: transparent;
|
|
3
|
-
--pf-v6-c-options-menu__toggle--PaddingTop: var(--pf-v6-global--spacer--form-element);
|
|
4
|
-
--pf-v6-c-options-menu__toggle--PaddingRight: var(--pf-v6-global--spacer--sm);
|
|
5
|
-
--pf-v6-c-options-menu__toggle--PaddingBottom: var(--pf-v6-global--spacer--form-element);
|
|
6
|
-
--pf-v6-c-options-menu__toggle--PaddingLeft: var(--pf-v6-global--spacer--sm);
|
|
7
|
-
--pf-v6-c-options-menu__toggle--ColumnGap: var(--pf-v6-global--spacer--sm);
|
|
8
|
-
--pf-v6-c-options-menu__toggle--MinWidth: 0;
|
|
9
|
-
--pf-v6-c-options-menu__toggle--BorderWidth: var(--pf-v6-global--BorderWidth--sm);
|
|
10
|
-
--pf-v6-c-options-menu__toggle--BorderTopColor: var(--pf-v6-global--BorderColor--300);
|
|
11
|
-
--pf-v6-c-options-menu__toggle--BorderRightColor: var(--pf-v6-global--BorderColor--300);
|
|
12
|
-
--pf-v6-c-options-menu__toggle--BorderBottomColor: var(--pf-v6-global--BorderColor--200);
|
|
13
|
-
--pf-v6-c-options-menu__toggle--BorderLeftColor: var(--pf-v6-global--BorderColor--300);
|
|
14
|
-
--pf-v6-c-options-menu__toggle--Color: var(--pf-v6-global--Color--100);
|
|
15
|
-
--pf-v6-c-options-menu__toggle--hover--BorderBottomColor: var(--pf-v6-global--active-color--100);
|
|
16
|
-
--pf-v6-c-options-menu__toggle--active--BorderBottomWidth: var(--pf-v6-global--BorderWidth--md);
|
|
17
|
-
--pf-v6-c-options-menu__toggle--active--BorderBottomColor: var(--pf-v6-global--active-color--100);
|
|
18
|
-
--pf-v6-c-options-menu__toggle--focus--BorderBottomWidth: var(--pf-v6-global--BorderWidth--md);
|
|
19
|
-
--pf-v6-c-options-menu__toggle--focus--BorderBottomColor: var(--pf-v6-global--active-color--100);
|
|
20
|
-
--pf-v6-c-options-menu__toggle--expanded--BorderBottomWidth: var(--pf-v6-global--BorderWidth--md);
|
|
21
|
-
--pf-v6-c-options-menu__toggle--expanded--BorderBottomColor: var(--pf-v6-global--active-color--100);
|
|
22
|
-
--pf-v6-c-options-menu__toggle--disabled--BackgroundColor: var(--pf-v6-global--disabled-color--300);
|
|
23
|
-
--pf-v6-c-options-menu__toggle--m-plain--Color: var(--pf-v6-global--Color--200);
|
|
24
|
-
--pf-v6-c-options-menu__toggle--m-plain--hover--Color: var(--pf-v6-global--Color--100);
|
|
25
|
-
--pf-v6-c-options-menu__toggle--m-plain--disabled--Color: var(--pf-v6-global--disabled-color--200);
|
|
26
|
-
--pf-v6-c-options-menu__toggle--m-plain--PaddingRight: var(--pf-v6-global--spacer--md);
|
|
27
|
-
--pf-v6-c-options-menu__toggle--m-plain--PaddingLeft: var(--pf-v6-global--spacer--md);
|
|
28
|
-
--pf-v6-c-options-menu__toggle-icon--PaddingRight: var(--pf-v6-global--spacer--sm);
|
|
29
|
-
--pf-v6-c-options-menu__toggle-icon--PaddingLeft: var(--pf-v6-global--spacer--sm);
|
|
30
|
-
--pf-v6-c-options-menu--m-top--m-expanded__toggle-icon--Rotate: 180deg;
|
|
31
|
-
--pf-v6-c-options-menu--m-plain__toggle-icon--Color: var(--pf-v6-global--Color--200);
|
|
32
|
-
--pf-v6-c-options-menu--m-plain--hover__toggle-icon--Color: var(--pf-v6-global--Color--100);
|
|
33
|
-
--pf-v6-c-options-menu__toggle-button--BackgroundColor: transparent;
|
|
34
|
-
--pf-v6-c-options-menu__toggle-button--PaddingTop: var(--pf-v6-global--spacer--form-element);
|
|
35
|
-
--pf-v6-c-options-menu__toggle-button--PaddingRight: var(--pf-v6-global--spacer--sm);
|
|
36
|
-
--pf-v6-c-options-menu__toggle-button--PaddingBottom: var(--pf-v6-global--spacer--form-element);
|
|
37
|
-
--pf-v6-c-options-menu__toggle-button--PaddingLeft: var(--pf-v6-global--spacer--sm);
|
|
38
|
-
--pf-v6-c-options-menu__menu--BackgroundColor: var(--pf-v6-global--BackgroundColor--light-100);
|
|
39
|
-
--pf-v6-c-options-menu__menu--BoxShadow: var(--pf-v6-global--BoxShadow--md);
|
|
40
|
-
--pf-v6-c-options-menu__menu--PaddingTop: var(--pf-v6-global--spacer--sm);
|
|
41
|
-
--pf-v6-c-options-menu__menu--PaddingBottom: var(--pf-v6-global--spacer--sm);
|
|
42
|
-
--pf-v6-c-options-menu__menu--Top: calc(100% + var(--pf-v6-global--spacer--xs));
|
|
43
|
-
--pf-v6-c-options-menu__menu--ZIndex: var(--pf-v6-global--ZIndex--sm);
|
|
44
|
-
--pf-v6-c-options-menu--m-top__menu--Top: 0;
|
|
45
|
-
--pf-v6-c-options-menu--m-top__menu--TranslateY: calc(-100% - var(--pf-v6-global--spacer--xs));
|
|
46
|
-
--pf-v6-c-options-menu__menu-item--BackgroundColor: transparent;
|
|
47
|
-
--pf-v6-c-options-menu__menu-item--Color: var(--pf-v6-global--Color--100);
|
|
48
|
-
--pf-v6-c-options-menu__menu-item--FontSize: var(--pf-v6-global--FontSize--md);
|
|
49
|
-
--pf-v6-c-options-menu__menu-item--PaddingTop: var(--pf-v6-global--spacer--sm);
|
|
50
|
-
--pf-v6-c-options-menu__menu-item--PaddingRight: var(--pf-v6-global--spacer--md);
|
|
51
|
-
--pf-v6-c-options-menu__menu-item--PaddingBottom: var(--pf-v6-global--spacer--sm);
|
|
52
|
-
--pf-v6-c-options-menu__menu-item--PaddingLeft: var(--pf-v6-global--spacer--md);
|
|
53
|
-
--pf-v6-c-options-menu__menu-item--disabled--Color: var(--pf-v6-global--Color--dark-200);
|
|
54
|
-
--pf-v6-c-options-menu__menu-item--hover--BackgroundColor: var(--pf-v6-global--BackgroundColor--light-300);
|
|
55
|
-
--pf-v6-c-options-menu__menu-item--disabled--BackgroundColor: transparent;
|
|
56
|
-
--pf-v6-c-options-menu__menu-item-icon--Color: var(--pf-v6-global--active-color--100);
|
|
57
|
-
--pf-v6-c-options-menu__menu-item-icon--FontSize: var(--pf-v6-global--icon--FontSize--sm);
|
|
58
|
-
--pf-v6-c-options-menu__menu-item-icon--PaddingLeft: var(--pf-v6-global--spacer--lg);
|
|
59
|
-
--pf-v6-c-options-menu__group--group--PaddingTop: var(--pf-v6-global--spacer--sm);
|
|
60
|
-
--pf-v6-c-options-menu__group-title--PaddingTop: var(--pf-v6-global--spacer--sm);
|
|
61
|
-
--pf-v6-c-options-menu__group-title--PaddingRight: var(--pf-v6-c-options-menu__menu-item--PaddingRight);
|
|
62
|
-
--pf-v6-c-options-menu__group-title--PaddingBottom: var(--pf-v6-c-options-menu__menu-item--PaddingBottom);
|
|
63
|
-
--pf-v6-c-options-menu__group-title--PaddingLeft: var(--pf-v6-c-options-menu__menu-item--PaddingLeft);
|
|
64
|
-
--pf-v6-c-options-menu__group-title--FontSize: var(--pf-v6-global--FontSize--xs);
|
|
65
|
-
--pf-v6-c-options-menu__group-title--FontWeight: var(--pf-v6-global--FontWeight--normal);
|
|
66
|
-
--pf-v6-c-options-menu__group-title--Color: var(--pf-v6-global--Color--dark-200);
|
|
67
|
-
--pf-v6-c-options-menu--c-divider--MarginTop: var(--pf-v6-global--spacer--sm);
|
|
68
|
-
--pf-v6-c-options-menu--c-divider--MarginBottom: var(--pf-v6-global--spacer--sm);
|
|
69
|
-
position: relative;
|
|
70
|
-
display: inline-block;
|
|
71
|
-
max-width: 100%;
|
|
72
|
-
}
|
|
73
|
-
.pf-v6-c-options-menu .pf-v6-c-divider {
|
|
74
|
-
margin-block-start: var(--pf-v6-c-options-menu--c-divider--MarginTop);
|
|
75
|
-
margin-block-end: var(--pf-v6-c-options-menu--c-divider--MarginBottom);
|
|
76
|
-
}
|
|
77
|
-
.pf-v6-c-options-menu .pf-v6-c-divider:last-child {
|
|
78
|
-
--pf-v6-c-options-menu--c-divider--MarginBottom: 0;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.pf-v6-c-options-menu__toggle:not(.pf-m-plain)::before,
|
|
82
|
-
.pf-v6-c-options-menu.pf-m-text:not(.pf-m-plain) .pf-v6-c-options-menu__toggle-button::before {
|
|
83
|
-
position: absolute;
|
|
84
|
-
inset-block-start: 0;
|
|
85
|
-
inset-block-end: 0;
|
|
86
|
-
inset-inline-start: 0;
|
|
87
|
-
inset-inline-end: 0;
|
|
88
|
-
content: "";
|
|
89
|
-
border: var(--pf-v6-c-options-menu__toggle--BorderWidth) solid;
|
|
90
|
-
border-block-start-color: var(--pf-v6-c-options-menu__toggle--BorderTopColor);
|
|
91
|
-
border-block-end-color: var(--pf-v6-c-options-menu__toggle--BorderBottomColor);
|
|
92
|
-
border-inline-start-color: var(--pf-v6-c-options-menu__toggle--BorderLeftColor);
|
|
93
|
-
border-inline-end-color: var(--pf-v6-c-options-menu__toggle--BorderRightColor);
|
|
94
|
-
}
|
|
95
|
-
.pf-v6-c-options-menu__toggle:not(.pf-m-plain):hover::before,
|
|
96
|
-
.pf-v6-c-options-menu.pf-m-text:not(.pf-m-plain) .pf-v6-c-options-menu__toggle-button:hover::before {
|
|
97
|
-
--pf-v6-c-options-menu__toggle--BorderBottomColor: var(--pf-v6-c-options-menu__toggle--hover--BorderBottomColor);
|
|
98
|
-
}
|
|
99
|
-
.pf-v6-c-options-menu__toggle:not(.pf-m-plain):active::before, .pf-v6-c-options-menu__toggle:not(.pf-m-plain).pf-m-active::before,
|
|
100
|
-
.pf-v6-c-options-menu.pf-m-text:not(.pf-m-plain) .pf-v6-c-options-menu__toggle-button:active::before,
|
|
101
|
-
.pf-v6-c-options-menu.pf-m-text:not(.pf-m-plain) .pf-v6-c-options-menu__toggle-button.pf-m-active::before {
|
|
102
|
-
--pf-v6-c-options-menu__toggle--BorderBottomColor: var(--pf-v6-c-options-menu__toggle--active--BorderBottomColor);
|
|
103
|
-
border-block-end-width: var(--pf-v6-c-options-menu__toggle--active--BorderBottomWidth);
|
|
104
|
-
}
|
|
105
|
-
.pf-v6-c-options-menu__toggle:not(.pf-m-plain):focus::before,
|
|
106
|
-
.pf-v6-c-options-menu.pf-m-text:not(.pf-m-plain) .pf-v6-c-options-menu__toggle-button:focus::before {
|
|
107
|
-
--pf-v6-c-options-menu__toggle--BorderBottomColor: var(--pf-v6-c-options-menu__toggle--focus--BorderBottomColor);
|
|
108
|
-
border-block-end-width: var(--pf-v6-c-options-menu__toggle--focus--BorderBottomWidth);
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
.pf-v6-c-options-menu__toggle {
|
|
112
|
-
position: relative;
|
|
113
|
-
display: flex;
|
|
114
|
-
column-gap: var(--pf-v6-c-options-menu__toggle--ColumnGap);
|
|
115
|
-
align-items: center;
|
|
116
|
-
min-width: var(--pf-v6-c-options-menu__toggle--MinWidth);
|
|
117
|
-
max-width: 100%;
|
|
118
|
-
padding-block-start: var(--pf-v6-c-options-menu__toggle--PaddingTop);
|
|
119
|
-
padding-block-end: var(--pf-v6-c-options-menu__toggle--PaddingBottom);
|
|
120
|
-
padding-inline-start: var(--pf-v6-c-options-menu__toggle--PaddingLeft);
|
|
121
|
-
padding-inline-end: var(--pf-v6-c-options-menu__toggle--PaddingRight);
|
|
122
|
-
color: var(--pf-v6-c-options-menu__toggle--Color);
|
|
123
|
-
background-color: var(--pf-v6-c-options-menu__toggle--BackgroundColor);
|
|
124
|
-
border: none;
|
|
125
|
-
}
|
|
126
|
-
.pf-v6-c-options-menu.pf-m-expanded > .pf-v6-c-options-menu__toggle::before {
|
|
127
|
-
--pf-v6-c-options-menu__toggle--BorderBottomColor: var(--pf-v6-c-options-menu__toggle--expanded--BorderBottomColor);
|
|
128
|
-
border-block-end-width: var(--pf-v6-c-options-menu__toggle--expanded--BorderBottomWidth);
|
|
129
|
-
}
|
|
130
|
-
.pf-v6-c-options-menu__toggle.pf-m-plain {
|
|
131
|
-
--pf-v6-c-options-menu__toggle-icon--Color: var(--pf-v6-c-options-menu--m-plain__toggle-icon--Color);
|
|
132
|
-
}
|
|
133
|
-
.pf-v6-c-options-menu__toggle.pf-m-plain:not(.pf-m-text) {
|
|
134
|
-
--pf-v6-c-options-menu__toggle--PaddingRight: var(--pf-v6-c-options-menu__toggle--m-plain--PaddingRight);
|
|
135
|
-
--pf-v6-c-options-menu__toggle--PaddingLeft: var(--pf-v6-c-options-menu__toggle--m-plain--PaddingLeft);
|
|
136
|
-
display: inline-block;
|
|
137
|
-
color: var(--pf-v6-c-options-menu__toggle--m-plain--Color);
|
|
138
|
-
}
|
|
139
|
-
.pf-v6-c-options-menu__toggle.pf-m-plain:hover, .pf-v6-c-options-menu__toggle.pf-m-plain:active, .pf-v6-c-options-menu__toggle.pf-m-plain.pf-m-active, .pf-v6-c-options-menu__toggle.pf-m-plain:focus, .pf-v6-c-options-menu.pf-m-expanded > .pf-v6-c-options-menu__toggle.pf-m-plain {
|
|
140
|
-
--pf-v6-c-options-menu__toggle--m-plain--Color: var(--pf-v6-c-options-menu__toggle--m-plain--hover--Color);
|
|
141
|
-
--pf-v6-c-options-menu--m-plain__toggle-icon--Color: var(--pf-v6-c-options-menu--m-plain--hover__toggle-icon--Color);
|
|
142
|
-
}
|
|
143
|
-
.pf-v6-c-options-menu__toggle.pf-m-plain.pf-m-disabled, .pf-v6-c-options-menu__toggle.pf-m-plain:disabled {
|
|
144
|
-
--pf-v6-c-options-menu__toggle--m-plain--Color: var(--pf-v6-c-options-menu__toggle--m-plain--disabled--Color);
|
|
145
|
-
}
|
|
146
|
-
.pf-v6-c-options-menu__toggle.pf-m-disabled, .pf-v6-c-options-menu__toggle:disabled {
|
|
147
|
-
pointer-events: none;
|
|
148
|
-
}
|
|
149
|
-
.pf-v6-c-options-menu__toggle.pf-m-disabled:not(.pf-m-plain), .pf-v6-c-options-menu__toggle.pf-m-disabled.pf-m-text, .pf-v6-c-options-menu__toggle:disabled:not(.pf-m-plain), .pf-v6-c-options-menu__toggle:disabled.pf-m-text {
|
|
150
|
-
--pf-v6-c-options-menu__toggle--BackgroundColor: var(--pf-v6-c-options-menu__toggle--disabled--BackgroundColor);
|
|
151
|
-
}
|
|
152
|
-
.pf-v6-c-options-menu__toggle.pf-m-disabled::before, .pf-v6-c-options-menu__toggle:disabled::before {
|
|
153
|
-
border: 0;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
.pf-v6-c-options-menu__toggle-button-icon {
|
|
157
|
-
position: relative;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
.pf-v6-c-options-menu__toggle-button {
|
|
161
|
-
padding-block-start: var(--pf-v6-c-options-menu__toggle-button--PaddingTop);
|
|
162
|
-
padding-block-end: var(--pf-v6-c-options-menu__toggle-button--PaddingBottom);
|
|
163
|
-
padding-inline-start: var(--pf-v6-c-options-menu__toggle-button--PaddingLeft);
|
|
164
|
-
padding-inline-end: var(--pf-v6-c-options-menu__toggle-button--PaddingRight);
|
|
165
|
-
background-color: var(--pf-v6-c-options-menu__toggle-button--BackgroundColor);
|
|
166
|
-
border: 0;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
.pf-v6-c-options-menu__toggle-text {
|
|
170
|
-
overflow: hidden;
|
|
171
|
-
text-overflow: ellipsis;
|
|
172
|
-
white-space: nowrap;
|
|
173
|
-
flex: 1 1 auto;
|
|
174
|
-
text-align: start;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
.pf-v6-c-options-menu__toggle-icon,
|
|
178
|
-
.pf-v6-c-options-menu__toggle-button-icon {
|
|
179
|
-
color: var(--pf-v6-c-options-menu__toggle-icon--Color, inherit);
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
.pf-v6-c-options-menu__toggle-icon {
|
|
183
|
-
padding-inline-start: var(--pf-v6-c-options-menu__toggle-icon--PaddingLeft);
|
|
184
|
-
padding-inline-end: var(--pf-v6-c-options-menu__toggle-icon--PaddingRight);
|
|
185
|
-
}
|
|
186
|
-
.pf-v6-c-options-menu.pf-m-top.pf-m-expanded .pf-v6-c-options-menu__toggle-icon {
|
|
187
|
-
transform: rotate(var(--pf-v6-c-options-menu--m-top--m-expanded__toggle-icon--Rotate));
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
.pf-v6-c-options-menu__menu {
|
|
191
|
-
position: absolute;
|
|
192
|
-
inset-block-start: var(--pf-v6-c-options-menu__menu--Top);
|
|
193
|
-
z-index: var(--pf-v6-c-options-menu__menu--ZIndex);
|
|
194
|
-
min-width: 100%;
|
|
195
|
-
padding-block-start: var(--pf-v6-c-options-menu__menu--PaddingTop);
|
|
196
|
-
padding-block-end: var(--pf-v6-c-options-menu__menu--PaddingBottom);
|
|
197
|
-
background-color: var(--pf-v6-c-options-menu__menu--BackgroundColor);
|
|
198
|
-
background-clip: padding-box;
|
|
199
|
-
box-shadow: var(--pf-v6-c-options-menu__menu--BoxShadow);
|
|
200
|
-
}
|
|
201
|
-
.pf-v6-c-options-menu__menu.pf-m-align-right {
|
|
202
|
-
inset-inline-end: 0;
|
|
203
|
-
}
|
|
204
|
-
.pf-v6-c-options-menu.pf-m-top .pf-v6-c-options-menu__menu {
|
|
205
|
-
--pf-v6-c-options-menu__menu--Top: var(--pf-v6-c-options-menu--m-top__menu--Top);
|
|
206
|
-
transform: translateY(var(--pf-v6-c-options-menu--m-top__menu--TranslateY));
|
|
207
|
-
}
|
|
208
|
-
.pf-v6-c-options-menu__menu.pf-m-static {
|
|
209
|
-
--pf-v6-c-options-menu--m-top__menu--TranslateY: 0;
|
|
210
|
-
position: static;
|
|
211
|
-
inset-block-start: auto;
|
|
212
|
-
inset-block-end: auto;
|
|
213
|
-
inset-inline-start: auto;
|
|
214
|
-
inset-inline-end: auto;
|
|
215
|
-
z-index: auto;
|
|
216
|
-
min-width: min-content;
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
.pf-v6-c-options-menu__menu-item {
|
|
220
|
-
display: flex;
|
|
221
|
-
align-items: baseline;
|
|
222
|
-
width: 100%;
|
|
223
|
-
padding-block-start: var(--pf-v6-c-options-menu__menu-item--PaddingTop);
|
|
224
|
-
padding-block-end: var(--pf-v6-c-options-menu__menu-item--PaddingBottom);
|
|
225
|
-
padding-inline-start: var(--pf-v6-c-options-menu__menu-item--PaddingLeft);
|
|
226
|
-
padding-inline-end: var(--pf-v6-c-options-menu__menu-item--PaddingRight);
|
|
227
|
-
font-size: var(--pf-v6-c-options-menu__menu-item--FontSize);
|
|
228
|
-
color: var(--pf-v6-c-options-menu__menu-item--Color);
|
|
229
|
-
white-space: nowrap;
|
|
230
|
-
background-color: var(--pf-v6-c-options-menu__menu-item--BackgroundColor);
|
|
231
|
-
border: none;
|
|
232
|
-
}
|
|
233
|
-
.pf-v6-c-options-menu__menu-item:hover, .pf-v6-c-options-menu__menu-item:focus {
|
|
234
|
-
text-decoration: none;
|
|
235
|
-
background-color: var(--pf-v6-c-options-menu__menu-item--hover--BackgroundColor);
|
|
236
|
-
}
|
|
237
|
-
.pf-v6-c-options-menu__menu-item:disabled, .pf-v6-c-options-menu__menu-item.pf-m-disabled {
|
|
238
|
-
color: var(--pf-v6-c-options-menu__menu-item--disabled--Color);
|
|
239
|
-
pointer-events: none;
|
|
240
|
-
background-color: var(--pf-v6-c-options-menu__menu-item--disabled--BackgroundColor);
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
.pf-v6-c-options-menu__menu-item-icon {
|
|
244
|
-
align-self: center;
|
|
245
|
-
width: auto;
|
|
246
|
-
padding-inline-start: var(--pf-v6-c-options-menu__menu-item-icon--PaddingLeft);
|
|
247
|
-
margin-inline-start: auto;
|
|
248
|
-
font-size: var(--pf-v6-c-options-menu__menu-item-icon--FontSize);
|
|
249
|
-
color: var(--pf-v6-c-options-menu__menu-item-icon--Color);
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
.pf-v6-c-options-menu__group + .pf-v6-c-options-menu__group {
|
|
253
|
-
padding-block-start: var(--pf-v6-c-options-menu__group--group--PaddingTop);
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
.pf-v6-c-options-menu__group-title {
|
|
257
|
-
padding-block-start: var(--pf-v6-c-options-menu__group-title--PaddingTop);
|
|
258
|
-
padding-block-end: var(--pf-v6-c-options-menu__group-title--PaddingBottom);
|
|
259
|
-
padding-inline-start: var(--pf-v6-c-options-menu__group-title--PaddingLeft);
|
|
260
|
-
padding-inline-end: var(--pf-v6-c-options-menu__group-title--PaddingRight);
|
|
261
|
-
font-size: var(--pf-v6-c-options-menu__group-title--FontSize);
|
|
262
|
-
font-weight: var(--pf-v6-c-options-menu__group-title--FontWeight);
|
|
263
|
-
color: var(--pf-v6-c-options-menu__group-title--Color);
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
:where(.pf-v6-theme-dark) .pf-v6-c-options-menu {
|
|
267
|
-
--pf-v6-c-options-menu__toggle--BackgroundColor: var(--pf-v6-global--BackgroundColor--400);
|
|
268
|
-
--pf-v6-c-options-menu__toggle--BorderTopColor: transparent;
|
|
269
|
-
--pf-v6-c-options-menu__toggle--BorderRightColor: transparent;
|
|
270
|
-
--pf-v6-c-options-menu__toggle--BorderBottomColor: var(--pf-v6-global--BorderColor--400);
|
|
271
|
-
--pf-v6-c-options-menu__toggle--BorderLeftColor: transparent;
|
|
272
|
-
--pf-v6-c-options-menu__toggle--disabled--BackgroundColor: var(--pf-v6-global--palette--black-500);
|
|
273
|
-
--pf-v6-c-options-menu__menu--BackgroundColor: var(--pf-v6-global--BackgroundColor--300);
|
|
274
|
-
--pf-v6-c-options-menu__menu-item--hover--BackgroundColor: var(--pf-v6-global--BackgroundColor--400);
|
|
275
|
-
--pf-v6-c-options-menu__menu--Top: 100%;
|
|
276
|
-
}
|
|
277
|
-
:where(.pf-v6-theme-dark) .pf-v6-c-options-menu__toggle.pf-m-plain {
|
|
278
|
-
background: transparent;
|
|
279
|
-
}
|
|
@@ -1,332 +0,0 @@
|
|
|
1
|
-
// @debug $option-menu; // check your variable names located in src/patternfly/sass-utilities/component-namespaces.scss
|
|
2
|
-
|
|
3
|
-
.#{$options-menu} {
|
|
4
|
-
// Toggle
|
|
5
|
-
--#{$options-menu}__toggle--BackgroundColor: transparent;
|
|
6
|
-
--#{$options-menu}__toggle--PaddingTop: var(--#{$pf-global}--spacer--form-element);
|
|
7
|
-
--#{$options-menu}__toggle--PaddingRight: var(--#{$pf-global}--spacer--sm);
|
|
8
|
-
--#{$options-menu}__toggle--PaddingBottom: var(--#{$pf-global}--spacer--form-element);
|
|
9
|
-
--#{$options-menu}__toggle--PaddingLeft: var(--#{$pf-global}--spacer--sm);
|
|
10
|
-
--#{$options-menu}__toggle--ColumnGap: var(--#{$pf-global}--spacer--sm);
|
|
11
|
-
--#{$options-menu}__toggle--MinWidth: 0;
|
|
12
|
-
--#{$options-menu}__toggle--BorderWidth: var(--#{$pf-global}--BorderWidth--sm);
|
|
13
|
-
--#{$options-menu}__toggle--BorderTopColor: var(--#{$pf-global}--BorderColor--300);
|
|
14
|
-
--#{$options-menu}__toggle--BorderRightColor: var(--#{$pf-global}--BorderColor--300);
|
|
15
|
-
--#{$options-menu}__toggle--BorderBottomColor: var(--#{$pf-global}--BorderColor--200);
|
|
16
|
-
--#{$options-menu}__toggle--BorderLeftColor: var(--#{$pf-global}--BorderColor--300);
|
|
17
|
-
--#{$options-menu}__toggle--Color: var(--#{$pf-global}--Color--100);
|
|
18
|
-
--#{$options-menu}__toggle--hover--BorderBottomColor: var(--#{$pf-global}--active-color--100);
|
|
19
|
-
--#{$options-menu}__toggle--active--BorderBottomWidth: var(--#{$pf-global}--BorderWidth--md);
|
|
20
|
-
--#{$options-menu}__toggle--active--BorderBottomColor: var(--#{$pf-global}--active-color--100);
|
|
21
|
-
--#{$options-menu}__toggle--focus--BorderBottomWidth: var(--#{$pf-global}--BorderWidth--md);
|
|
22
|
-
--#{$options-menu}__toggle--focus--BorderBottomColor: var(--#{$pf-global}--active-color--100);
|
|
23
|
-
--#{$options-menu}__toggle--expanded--BorderBottomWidth: var(--#{$pf-global}--BorderWidth--md);
|
|
24
|
-
--#{$options-menu}__toggle--expanded--BorderBottomColor: var(--#{$pf-global}--active-color--100);
|
|
25
|
-
--#{$options-menu}__toggle--disabled--BackgroundColor: var(--#{$pf-global}--disabled-color--300);
|
|
26
|
-
--#{$options-menu}__toggle--m-plain--Color: var(--#{$pf-global}--Color--200);
|
|
27
|
-
--#{$options-menu}__toggle--m-plain--hover--Color: var(--#{$pf-global}--Color--100);
|
|
28
|
-
--#{$options-menu}__toggle--m-plain--disabled--Color: var(--#{$pf-global}--disabled-color--200);
|
|
29
|
-
--#{$options-menu}__toggle--m-plain--PaddingRight: var(--#{$pf-global}--spacer--md);
|
|
30
|
-
--#{$options-menu}__toggle--m-plain--PaddingLeft: var(--#{$pf-global}--spacer--md);
|
|
31
|
-
|
|
32
|
-
// Toggle arrow
|
|
33
|
-
--#{$options-menu}__toggle-icon--PaddingRight: var(--#{$pf-global}--spacer--sm);
|
|
34
|
-
--#{$options-menu}__toggle-icon--PaddingLeft: var(--#{$pf-global}--spacer--sm);
|
|
35
|
-
--#{$options-menu}--m-top--m-expanded__toggle-icon--Rotate: 180deg;
|
|
36
|
-
--#{$options-menu}--m-plain__toggle-icon--Color: var(--#{$pf-global}--Color--200);
|
|
37
|
-
--#{$options-menu}--m-plain--hover__toggle-icon--Color: var(--#{$pf-global}--Color--100);
|
|
38
|
-
|
|
39
|
-
// Text toggle button
|
|
40
|
-
--#{$options-menu}__toggle-button--BackgroundColor: transparent;
|
|
41
|
-
--#{$options-menu}__toggle-button--PaddingTop: var(--#{$pf-global}--spacer--form-element);
|
|
42
|
-
--#{$options-menu}__toggle-button--PaddingRight: var(--#{$pf-global}--spacer--sm);
|
|
43
|
-
--#{$options-menu}__toggle-button--PaddingBottom: var(--#{$pf-global}--spacer--form-element);
|
|
44
|
-
--#{$options-menu}__toggle-button--PaddingLeft: var(--#{$pf-global}--spacer--sm);
|
|
45
|
-
|
|
46
|
-
// Menu
|
|
47
|
-
--#{$options-menu}__menu--BackgroundColor: var(--#{$pf-global}--BackgroundColor--light-100);
|
|
48
|
-
--#{$options-menu}__menu--BoxShadow: var(--#{$pf-global}--BoxShadow--md);
|
|
49
|
-
--#{$options-menu}__menu--PaddingTop: var(--#{$pf-global}--spacer--sm);
|
|
50
|
-
--#{$options-menu}__menu--PaddingBottom: var(--#{$pf-global}--spacer--sm);
|
|
51
|
-
--#{$options-menu}__menu--Top: calc(100% + var(--#{$pf-global}--spacer--xs));
|
|
52
|
-
--#{$options-menu}__menu--ZIndex: var(--#{$pf-global}--ZIndex--sm);
|
|
53
|
-
--#{$options-menu}--m-top__menu--Top: 0;
|
|
54
|
-
--#{$options-menu}--m-top__menu--TranslateY: calc(-100% - var(--#{$pf-global}--spacer--xs)); // The "dropup" menu must be transformed up and this calculates how much to create space between the toggle and menu
|
|
55
|
-
|
|
56
|
-
// Menu item
|
|
57
|
-
--#{$options-menu}__menu-item--BackgroundColor: transparent;
|
|
58
|
-
--#{$options-menu}__menu-item--Color: var(--#{$pf-global}--Color--100);
|
|
59
|
-
--#{$options-menu}__menu-item--FontSize: var(--#{$pf-global}--FontSize--md);
|
|
60
|
-
--#{$options-menu}__menu-item--PaddingTop: var(--#{$pf-global}--spacer--sm);
|
|
61
|
-
--#{$options-menu}__menu-item--PaddingRight: var(--#{$pf-global}--spacer--md);
|
|
62
|
-
--#{$options-menu}__menu-item--PaddingBottom: var(--#{$pf-global}--spacer--sm);
|
|
63
|
-
--#{$options-menu}__menu-item--PaddingLeft: var(--#{$pf-global}--spacer--md);
|
|
64
|
-
--#{$options-menu}__menu-item--disabled--Color: var(--#{$pf-global}--Color--dark-200);
|
|
65
|
-
--#{$options-menu}__menu-item--hover--BackgroundColor: var(--#{$pf-global}--BackgroundColor--light-300);
|
|
66
|
-
--#{$options-menu}__menu-item--disabled--BackgroundColor: transparent;
|
|
67
|
-
|
|
68
|
-
// Menu item icon
|
|
69
|
-
--#{$options-menu}__menu-item-icon--Color: var(--#{$pf-global}--active-color--100);
|
|
70
|
-
--#{$options-menu}__menu-item-icon--FontSize: var(--#{$pf-global}--icon--FontSize--sm);
|
|
71
|
-
--#{$options-menu}__menu-item-icon--PaddingLeft: var(--#{$pf-global}--spacer--lg);
|
|
72
|
-
|
|
73
|
-
// Groups
|
|
74
|
-
--#{$options-menu}__group--group--PaddingTop: var(--#{$pf-global}--spacer--sm);
|
|
75
|
-
--#{$options-menu}__group-title--PaddingTop: var(--#{$pf-global}--spacer--sm);
|
|
76
|
-
--#{$options-menu}__group-title--PaddingRight: var(--#{$options-menu}__menu-item--PaddingRight);
|
|
77
|
-
--#{$options-menu}__group-title--PaddingBottom: var(--#{$options-menu}__menu-item--PaddingBottom);
|
|
78
|
-
--#{$options-menu}__group-title--PaddingLeft: var(--#{$options-menu}__menu-item--PaddingLeft);
|
|
79
|
-
--#{$options-menu}__group-title--FontSize: var(--#{$pf-global}--FontSize--xs);
|
|
80
|
-
--#{$options-menu}__group-title--FontWeight: var(--#{$pf-global}--FontWeight--normal);
|
|
81
|
-
--#{$options-menu}__group-title--Color: var(--#{$pf-global}--Color--dark-200);
|
|
82
|
-
|
|
83
|
-
// Divider
|
|
84
|
-
--#{$options-menu}--c-divider--MarginTop: var(--#{$pf-global}--spacer--sm);
|
|
85
|
-
--#{$options-menu}--c-divider--MarginBottom: var(--#{$pf-global}--spacer--sm);
|
|
86
|
-
|
|
87
|
-
position: relative;
|
|
88
|
-
display: inline-block;
|
|
89
|
-
max-width: 100%;
|
|
90
|
-
|
|
91
|
-
.#{$divider} {
|
|
92
|
-
margin-block-start: var(--#{$options-menu}--c-divider--MarginTop);
|
|
93
|
-
margin-block-end: var(--#{$options-menu}--c-divider--MarginBottom);
|
|
94
|
-
|
|
95
|
-
// Support divider as last item in group to separate groups
|
|
96
|
-
&:last-child {
|
|
97
|
-
--#{$options-menu}--c-divider--MarginBottom: 0;
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.#{$options-menu}__toggle:not(.pf-m-plain),
|
|
103
|
-
.#{$options-menu}.pf-m-text:not(.pf-m-plain) .#{$options-menu}__toggle-button {
|
|
104
|
-
&::before {
|
|
105
|
-
position: absolute;
|
|
106
|
-
inset-block-start: 0;
|
|
107
|
-
inset-block-end: 0;
|
|
108
|
-
inset-inline-start: 0;
|
|
109
|
-
inset-inline-end: 0;
|
|
110
|
-
content: "";
|
|
111
|
-
border: var(--#{$options-menu}__toggle--BorderWidth) solid;
|
|
112
|
-
border-block-start-color: var(--#{$options-menu}__toggle--BorderTopColor);
|
|
113
|
-
border-block-end-color: var(--#{$options-menu}__toggle--BorderBottomColor);
|
|
114
|
-
border-inline-start-color: var(--#{$options-menu}__toggle--BorderLeftColor);
|
|
115
|
-
border-inline-end-color: var(--#{$options-menu}__toggle--BorderRightColor);
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
&:hover {
|
|
119
|
-
&::before {
|
|
120
|
-
--#{$options-menu}__toggle--BorderBottomColor: var(--#{$options-menu}__toggle--hover--BorderBottomColor);
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
&:active,
|
|
125
|
-
&.pf-m-active {
|
|
126
|
-
&::before {
|
|
127
|
-
--#{$options-menu}__toggle--BorderBottomColor: var(--#{$options-menu}__toggle--active--BorderBottomColor);
|
|
128
|
-
|
|
129
|
-
border-block-end-width: var(--#{$options-menu}__toggle--active--BorderBottomWidth);
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
&:focus {
|
|
134
|
-
&::before {
|
|
135
|
-
--#{$options-menu}__toggle--BorderBottomColor: var(--#{$options-menu}__toggle--focus--BorderBottomColor);
|
|
136
|
-
|
|
137
|
-
border-block-end-width: var(--#{$options-menu}__toggle--focus--BorderBottomWidth);
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
.#{$options-menu}__toggle {
|
|
143
|
-
position: relative;
|
|
144
|
-
display: flex;
|
|
145
|
-
column-gap: var(--#{$options-menu}__toggle--ColumnGap);
|
|
146
|
-
align-items: center;
|
|
147
|
-
min-width: var(--#{$options-menu}__toggle--MinWidth);
|
|
148
|
-
max-width: 100%;
|
|
149
|
-
padding-block-start: var(--#{$options-menu}__toggle--PaddingTop);
|
|
150
|
-
padding-block-end: var(--#{$options-menu}__toggle--PaddingBottom);
|
|
151
|
-
padding-inline-start: var(--#{$options-menu}__toggle--PaddingLeft);
|
|
152
|
-
padding-inline-end: var(--#{$options-menu}__toggle--PaddingRight);
|
|
153
|
-
color: var(--#{$options-menu}__toggle--Color);
|
|
154
|
-
background-color: var(--#{$options-menu}__toggle--BackgroundColor);
|
|
155
|
-
border: none;
|
|
156
|
-
|
|
157
|
-
.#{$options-menu}.pf-m-expanded > & {
|
|
158
|
-
&::before {
|
|
159
|
-
--#{$options-menu}__toggle--BorderBottomColor: var(--#{$options-menu}__toggle--expanded--BorderBottomColor);
|
|
160
|
-
|
|
161
|
-
border-block-end-width: var(--#{$options-menu}__toggle--expanded--BorderBottomWidth);
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
&.pf-m-plain {
|
|
166
|
-
--#{$options-menu}__toggle-icon--Color: var(--#{$options-menu}--m-plain__toggle-icon--Color);
|
|
167
|
-
|
|
168
|
-
&:not(.pf-m-text) {
|
|
169
|
-
--#{$options-menu}__toggle--PaddingRight: var(--#{$options-menu}__toggle--m-plain--PaddingRight);
|
|
170
|
-
--#{$options-menu}__toggle--PaddingLeft: var(--#{$options-menu}__toggle--m-plain--PaddingLeft);
|
|
171
|
-
|
|
172
|
-
display: inline-block;
|
|
173
|
-
color: var(--#{$options-menu}__toggle--m-plain--Color);
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
&:hover,
|
|
177
|
-
&:active,
|
|
178
|
-
&.pf-m-active,
|
|
179
|
-
&:focus,
|
|
180
|
-
.#{$options-menu}.pf-m-expanded > & {
|
|
181
|
-
--#{$options-menu}__toggle--m-plain--Color: var(--#{$options-menu}__toggle--m-plain--hover--Color);
|
|
182
|
-
--#{$options-menu}--m-plain__toggle-icon--Color: var(--#{$options-menu}--m-plain--hover__toggle-icon--Color);
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
&.pf-m-disabled,
|
|
186
|
-
&:disabled {
|
|
187
|
-
--#{$options-menu}__toggle--m-plain--Color: var(--#{$options-menu}__toggle--m-plain--disabled--Color);
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
&.pf-m-disabled,
|
|
192
|
-
&:disabled {
|
|
193
|
-
pointer-events: none;
|
|
194
|
-
|
|
195
|
-
&:not(.pf-m-plain),
|
|
196
|
-
&.pf-m-text {
|
|
197
|
-
--#{$options-menu}__toggle--BackgroundColor: var(--#{$options-menu}__toggle--disabled--BackgroundColor);
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
&::before {
|
|
201
|
-
border: 0;
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
.#{$options-menu}__toggle-button-icon {
|
|
207
|
-
position: relative;
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
.#{$options-menu}__toggle-button {
|
|
211
|
-
padding-block-start: var(--#{$options-menu}__toggle-button--PaddingTop);
|
|
212
|
-
padding-block-end: var(--#{$options-menu}__toggle-button--PaddingBottom);
|
|
213
|
-
padding-inline-start: var(--#{$options-menu}__toggle-button--PaddingLeft);
|
|
214
|
-
padding-inline-end: var(--#{$options-menu}__toggle-button--PaddingRight);
|
|
215
|
-
background-color: var(--#{$options-menu}__toggle-button--BackgroundColor);
|
|
216
|
-
border: 0;
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
.#{$options-menu}__toggle-text {
|
|
220
|
-
@include pf-v5-text-overflow;
|
|
221
|
-
|
|
222
|
-
flex: 1 1 auto;
|
|
223
|
-
text-align: start;
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
.#{$options-menu}__toggle-icon,
|
|
227
|
-
.#{$options-menu}__toggle-button-icon {
|
|
228
|
-
color: var(--#{$options-menu}__toggle-icon--Color, inherit);
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
.#{$options-menu}__toggle-icon {
|
|
232
|
-
padding-inline-start: var(--#{$options-menu}__toggle-icon--PaddingLeft);
|
|
233
|
-
padding-inline-end: var(--#{$options-menu}__toggle-icon--PaddingRight);
|
|
234
|
-
|
|
235
|
-
.#{$options-menu}.pf-m-top.pf-m-expanded & {
|
|
236
|
-
transform: rotate(var(--#{$options-menu}--m-top--m-expanded__toggle-icon--Rotate));
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
.#{$options-menu}__menu {
|
|
241
|
-
position: absolute;
|
|
242
|
-
inset-block-start: var(--#{$options-menu}__menu--Top);
|
|
243
|
-
z-index: var(--#{$options-menu}__menu--ZIndex);
|
|
244
|
-
min-width: 100%;
|
|
245
|
-
padding-block-start: var(--#{$options-menu}__menu--PaddingTop);
|
|
246
|
-
padding-block-end: var(--#{$options-menu}__menu--PaddingBottom);
|
|
247
|
-
background-color: var(--#{$options-menu}__menu--BackgroundColor);
|
|
248
|
-
background-clip: padding-box;
|
|
249
|
-
box-shadow: var(--#{$options-menu}__menu--BoxShadow);
|
|
250
|
-
|
|
251
|
-
&.pf-m-align-right {
|
|
252
|
-
inset-inline-end: 0;
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
.#{$options-menu}.pf-m-top & {
|
|
256
|
-
--#{$options-menu}__menu--Top: var(--#{$options-menu}--m-top__menu--Top);
|
|
257
|
-
|
|
258
|
-
transform: translateY(var(--#{$options-menu}--m-top__menu--TranslateY));
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
&.pf-m-static {
|
|
262
|
-
--#{$options-menu}--m-top__menu--TranslateY: 0;
|
|
263
|
-
|
|
264
|
-
position: static;
|
|
265
|
-
inset-block-start: auto;
|
|
266
|
-
inset-block-end: auto;
|
|
267
|
-
inset-inline-start: auto;
|
|
268
|
-
inset-inline-end: auto;
|
|
269
|
-
z-index: auto;
|
|
270
|
-
min-width: min-content;
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
.#{$options-menu}__menu-item {
|
|
275
|
-
display: flex;
|
|
276
|
-
align-items: baseline;
|
|
277
|
-
width: 100%;
|
|
278
|
-
padding-block-start: var(--#{$options-menu}__menu-item--PaddingTop);
|
|
279
|
-
padding-block-end: var(--#{$options-menu}__menu-item--PaddingBottom);
|
|
280
|
-
padding-inline-start: var(--#{$options-menu}__menu-item--PaddingLeft);
|
|
281
|
-
padding-inline-end: var(--#{$options-menu}__menu-item--PaddingRight);
|
|
282
|
-
font-size: var(--#{$options-menu}__menu-item--FontSize);
|
|
283
|
-
color: var(--#{$options-menu}__menu-item--Color);
|
|
284
|
-
white-space: nowrap;
|
|
285
|
-
background-color: var(--#{$options-menu}__menu-item--BackgroundColor);
|
|
286
|
-
border: none;
|
|
287
|
-
|
|
288
|
-
&:hover,
|
|
289
|
-
&:focus {
|
|
290
|
-
text-decoration: none;
|
|
291
|
-
background-color: var(--#{$options-menu}__menu-item--hover--BackgroundColor);
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
&:disabled,
|
|
295
|
-
&.pf-m-disabled {
|
|
296
|
-
color: var(--#{$options-menu}__menu-item--disabled--Color);
|
|
297
|
-
pointer-events: none;
|
|
298
|
-
background-color: var(--#{$options-menu}__menu-item--disabled--BackgroundColor);
|
|
299
|
-
}
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
.#{$options-menu}__menu-item-icon {
|
|
303
|
-
align-self: center;
|
|
304
|
-
width: auto; // this allows the padding to apply when this class is used with an svg element
|
|
305
|
-
padding-inline-start: var(--#{$options-menu}__menu-item-icon--PaddingLeft);
|
|
306
|
-
margin-inline-start: auto;
|
|
307
|
-
font-size: var(--#{$options-menu}__menu-item-icon--FontSize);
|
|
308
|
-
color: var(--#{$options-menu}__menu-item-icon--Color);
|
|
309
|
-
}
|
|
310
|
-
|
|
311
|
-
.#{$options-menu}__group {
|
|
312
|
-
& + & {
|
|
313
|
-
padding-block-start: var(--#{$options-menu}__group--group--PaddingTop);
|
|
314
|
-
}
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
.#{$options-menu}__group-title {
|
|
318
|
-
padding-block-start: var(--#{$options-menu}__group-title--PaddingTop);
|
|
319
|
-
padding-block-end: var(--#{$options-menu}__group-title--PaddingBottom);
|
|
320
|
-
padding-inline-start: var(--#{$options-menu}__group-title--PaddingLeft);
|
|
321
|
-
padding-inline-end: var(--#{$options-menu}__group-title--PaddingRight);
|
|
322
|
-
font-size: var(--#{$options-menu}__group-title--FontSize);
|
|
323
|
-
font-weight: var(--#{$options-menu}__group-title--FontWeight);
|
|
324
|
-
color: var(--#{$options-menu}__group-title--Color);
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
// stylelint-disable no-invalid-position-at-import-rule
|
|
328
|
-
@import "themes/dark/options-menu";
|
|
329
|
-
|
|
330
|
-
@include pf-v5-theme-dark {
|
|
331
|
-
@include pf-v5-theme-dark-options-menu;
|
|
332
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
@import "../../../../sass-utilities/themes/dark/all";
|
|
2
|
-
|
|
3
|
-
@mixin pf-v5-theme-dark-options-menu() {
|
|
4
|
-
.#{$options-menu} {
|
|
5
|
-
--#{$options-menu}__toggle--BackgroundColor: var(--#{$pf-global}--BackgroundColor--400);
|
|
6
|
-
--#{$options-menu}__toggle--BorderTopColor: transparent;
|
|
7
|
-
--#{$options-menu}__toggle--BorderRightColor: transparent;
|
|
8
|
-
--#{$options-menu}__toggle--BorderBottomColor: var(--#{$pf-global}--BorderColor--400);
|
|
9
|
-
--#{$options-menu}__toggle--BorderLeftColor: transparent;
|
|
10
|
-
--#{$options-menu}__toggle--disabled--BackgroundColor: var(--#{$pf-global}--palette--black-500);
|
|
11
|
-
--#{$options-menu}__menu--BackgroundColor: var(--#{$pf-global}--BackgroundColor--300);
|
|
12
|
-
--#{$options-menu}__menu-item--hover--BackgroundColor: var(--#{$pf-global}--BackgroundColor--400);
|
|
13
|
-
--#{$options-menu}__menu--Top: 100%;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.#{$options-menu}__toggle {
|
|
17
|
-
&.pf-m-plain {
|
|
18
|
-
background: transparent;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}
|