@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,34 +1,39 @@
|
|
|
1
|
+
:root,
|
|
1
2
|
.pf-v5-c-panel {
|
|
2
3
|
--pf-v5-c-panel--Width: auto;
|
|
3
4
|
--pf-v5-c-panel--MinWidth: auto;
|
|
4
5
|
--pf-v5-c-panel--MaxWidth: none;
|
|
5
6
|
--pf-v5-c-panel--ZIndex: auto;
|
|
6
|
-
--pf-v5-c-panel--BackgroundColor: var(--pf-
|
|
7
|
+
--pf-v5-c-panel--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
7
8
|
--pf-v5-c-panel--BoxShadow: none;
|
|
8
9
|
--pf-v5-c-panel--before--BorderWidth: 0;
|
|
9
|
-
--pf-v5-c-panel--before--BorderColor: var(--pf-
|
|
10
|
-
--pf-v5-c-panel--m-
|
|
11
|
-
--pf-v5-c-panel--m-
|
|
12
|
-
--pf-v5-c-panel--m-raised--
|
|
13
|
-
--pf-v5-c-panel--m-raised--
|
|
14
|
-
--pf-v5-c-
|
|
15
|
-
--pf-v5-c-panel__header--
|
|
16
|
-
--pf-v5-c-panel__header--
|
|
17
|
-
--pf-v5-c-panel__header--
|
|
10
|
+
--pf-v5-c-panel--before--BorderColor: var(--pf-t--global--border--color--default);
|
|
11
|
+
--pf-v5-c-panel--m-secondary--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
12
|
+
--pf-v5-c-panel--m-bordered--before--BorderWidth: var(--pf-t--global--border--width--regular);
|
|
13
|
+
--pf-v5-c-panel--m-raised--BoxShadow: var(--pf-t--global--box-shadow--md);
|
|
14
|
+
--pf-v5-c-panel--m-raised--ZIndex: var(--pf-t--global--Zindex--sm);
|
|
15
|
+
--pf-v5-c-panel--m-raised--BackgroundColor: var(--pf-t--global--background--color--floating--default);
|
|
16
|
+
--pf-v5-c-panel__header--PaddingTop: var(--pf-t--global--spacer--md);
|
|
17
|
+
--pf-v5-c-panel__header--PaddingRight: var(--pf-t--global--spacer--md);
|
|
18
|
+
--pf-v5-c-panel__header--PaddingBottom: var(--pf-t--global--spacer--md);
|
|
19
|
+
--pf-v5-c-panel__header--PaddingLeft: var(--pf-t--global--spacer--md);
|
|
18
20
|
--pf-v5-c-panel__main--MaxHeight: none;
|
|
19
21
|
--pf-v5-c-panel__main--Overflow: visible;
|
|
20
|
-
--pf-v5-c-panel__main-body--PaddingTop: var(--pf-
|
|
21
|
-
--pf-v5-c-panel__main-body--PaddingRight: var(--pf-
|
|
22
|
-
--pf-v5-c-panel__main-body--PaddingBottom: var(--pf-
|
|
23
|
-
--pf-v5-c-panel__main-body--PaddingLeft: var(--pf-
|
|
24
|
-
--pf-v5-c-panel__footer--PaddingTop: var(--pf-
|
|
25
|
-
--pf-v5-c-panel__footer--PaddingRight: var(--pf-
|
|
26
|
-
--pf-v5-c-panel__footer--PaddingBottom: var(--pf-
|
|
27
|
-
--pf-v5-c-panel__footer--PaddingLeft: var(--pf-
|
|
22
|
+
--pf-v5-c-panel__main-body--PaddingTop: var(--pf-t--global--spacer--md);
|
|
23
|
+
--pf-v5-c-panel__main-body--PaddingRight: var(--pf-t--global--spacer--md);
|
|
24
|
+
--pf-v5-c-panel__main-body--PaddingBottom: var(--pf-t--global--spacer--md);
|
|
25
|
+
--pf-v5-c-panel__main-body--PaddingLeft: var(--pf-t--global--spacer--md);
|
|
26
|
+
--pf-v5-c-panel__footer--PaddingTop: var(--pf-t--global--spacer--md);
|
|
27
|
+
--pf-v5-c-panel__footer--PaddingRight: var(--pf-t--global--spacer--md);
|
|
28
|
+
--pf-v5-c-panel__footer--PaddingBottom: var(--pf-t--global--spacer--md);
|
|
29
|
+
--pf-v5-c-panel__footer--PaddingLeft: var(--pf-t--global--spacer--md);
|
|
28
30
|
--pf-v5-c-panel__footer--BoxShadow: none;
|
|
29
31
|
--pf-v5-c-panel--m-scrollable__main--MaxHeight: 18.75rem;
|
|
30
32
|
--pf-v5-c-panel--m-scrollable__main--Overflow: auto;
|
|
31
|
-
--pf-v5-c-panel--m-scrollable__footer--BoxShadow: 0 -0.3125rem 0.25rem -0.25rem rgba(
|
|
33
|
+
--pf-v5-c-panel--m-scrollable__footer--BoxShadow: 0 -0.3125rem 0.25rem -0.25rem rgba(0 0 0 / 16%);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.pf-v5-c-panel {
|
|
32
37
|
position: relative;
|
|
33
38
|
z-index: var(--pf-v5-c-panel--ZIndex);
|
|
34
39
|
width: var(--pf-v5-c-panel--Width);
|
|
@@ -47,6 +52,9 @@
|
|
|
47
52
|
.pf-v5-c-panel.pf-m-bordered {
|
|
48
53
|
--pf-v5-c-panel--before--BorderWidth: var(--pf-v5-c-panel--m-bordered--before--BorderWidth);
|
|
49
54
|
}
|
|
55
|
+
.pf-v5-c-panel.pf-m-secondary {
|
|
56
|
+
--pf-v5-c-panel--BackgroundColor: var(--pf-v5-c-panel--m-secondary--BackgroundColor);
|
|
57
|
+
}
|
|
50
58
|
.pf-v5-c-panel.pf-m-raised {
|
|
51
59
|
--pf-v5-c-panel--BackgroundColor: var(--pf-v5-c-panel--m-raised--BackgroundColor);
|
|
52
60
|
--pf-v5-c-panel--BoxShadow: var(--pf-v5-c-panel--m-raised--BoxShadow);
|
|
@@ -83,8 +91,4 @@
|
|
|
83
91
|
padding-inline-start: var(--pf-v5-c-panel__footer--PaddingLeft);
|
|
84
92
|
padding-inline-end: var(--pf-v5-c-panel__footer--PaddingRight);
|
|
85
93
|
box-shadow: var(--pf-v5-c-panel__footer--BoxShadow);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
:where(.pf-v5-theme-dark) .pf-v5-c-panel {
|
|
89
|
-
--pf-v5-c-panel--m-raised--BackgroundColor: var(--pf-v5-global--BackgroundColor--300);
|
|
90
94
|
}
|
|
@@ -1,53 +1,59 @@
|
|
|
1
1
|
// @debug $panel; // check your variable names located in src/patternfly/sass-utilities/component-namespaces.scss
|
|
2
2
|
|
|
3
|
+
:root,
|
|
3
4
|
.#{$panel} {
|
|
4
5
|
--#{$panel}--Width: auto;
|
|
5
6
|
--#{$panel}--MinWidth: auto;
|
|
6
7
|
--#{$panel}--MaxWidth: none;
|
|
7
8
|
--#{$panel}--ZIndex: auto;
|
|
8
|
-
--#{$panel}--BackgroundColor: var(
|
|
9
|
+
--#{$panel}--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
9
10
|
--#{$panel}--BoxShadow: none;
|
|
10
11
|
|
|
11
12
|
// border
|
|
12
13
|
--#{$panel}--before--BorderWidth: 0;
|
|
13
|
-
--#{$panel}--before--BorderColor: var(
|
|
14
|
+
--#{$panel}--before--BorderColor: var(--pf-t--global--border--color--default);
|
|
15
|
+
|
|
16
|
+
// secondary modifier
|
|
17
|
+
--#{$panel}--m-secondary--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
14
18
|
|
|
15
19
|
// bordered
|
|
16
|
-
--#{$panel}--m-bordered--before--BorderWidth: var(
|
|
20
|
+
--#{$panel}--m-bordered--before--BorderWidth: var(--pf-t--global--border--width--regular);
|
|
17
21
|
|
|
18
22
|
// raised
|
|
19
|
-
--#{$panel}--m-raised--BoxShadow: var(
|
|
20
|
-
--#{$panel}--m-raised--ZIndex: var(
|
|
21
|
-
--#{$panel}--m-raised--BackgroundColor: var(
|
|
23
|
+
--#{$panel}--m-raised--BoxShadow: var(--pf-t--global--box-shadow--md);
|
|
24
|
+
--#{$panel}--m-raised--ZIndex: var(--pf-t--global--Zindex--sm);
|
|
25
|
+
--#{$panel}--m-raised--BackgroundColor: var(--pf-t--global--background--color--floating--default);
|
|
22
26
|
|
|
23
27
|
// header
|
|
24
|
-
--#{$panel}__header--PaddingTop: var(
|
|
25
|
-
--#{$panel}__header--PaddingRight: var(
|
|
26
|
-
--#{$panel}__header--PaddingBottom: var(
|
|
27
|
-
--#{$panel}__header--PaddingLeft: var(
|
|
28
|
+
--#{$panel}__header--PaddingTop: var(--pf-t--global--spacer--md);
|
|
29
|
+
--#{$panel}__header--PaddingRight: var(--pf-t--global--spacer--md);
|
|
30
|
+
--#{$panel}__header--PaddingBottom: var(--pf-t--global--spacer--md);
|
|
31
|
+
--#{$panel}__header--PaddingLeft: var(--pf-t--global--spacer--md);
|
|
28
32
|
|
|
29
33
|
// main
|
|
30
34
|
--#{$panel}__main--MaxHeight: none;
|
|
31
35
|
--#{$panel}__main--Overflow: visible;
|
|
32
36
|
|
|
33
37
|
// body
|
|
34
|
-
--#{$panel}__main-body--PaddingTop: var(
|
|
35
|
-
--#{$panel}__main-body--PaddingRight: var(
|
|
36
|
-
--#{$panel}__main-body--PaddingBottom: var(
|
|
37
|
-
--#{$panel}__main-body--PaddingLeft: var(
|
|
38
|
+
--#{$panel}__main-body--PaddingTop: var(--pf-t--global--spacer--md);
|
|
39
|
+
--#{$panel}__main-body--PaddingRight: var(--pf-t--global--spacer--md);
|
|
40
|
+
--#{$panel}__main-body--PaddingBottom: var(--pf-t--global--spacer--md);
|
|
41
|
+
--#{$panel}__main-body--PaddingLeft: var(--pf-t--global--spacer--md);
|
|
38
42
|
|
|
39
43
|
// footer
|
|
40
|
-
--#{$panel}__footer--PaddingTop: var(
|
|
41
|
-
--#{$panel}__footer--PaddingRight: var(
|
|
42
|
-
--#{$panel}__footer--PaddingBottom: var(
|
|
43
|
-
--#{$panel}__footer--PaddingLeft: var(
|
|
44
|
+
--#{$panel}__footer--PaddingTop: var(--pf-t--global--spacer--md);
|
|
45
|
+
--#{$panel}__footer--PaddingRight: var(--pf-t--global--spacer--md);
|
|
46
|
+
--#{$panel}__footer--PaddingBottom: var(--pf-t--global--spacer--md);
|
|
47
|
+
--#{$panel}__footer--PaddingLeft: var(--pf-t--global--spacer--md);
|
|
44
48
|
--#{$panel}__footer--BoxShadow: none;
|
|
45
49
|
|
|
46
50
|
// scrollable
|
|
47
51
|
--#{$panel}--m-scrollable__main--MaxHeight: #{pf-size-prem(300px)};
|
|
48
52
|
--#{$panel}--m-scrollable__main--Overflow: auto;
|
|
49
|
-
--#{$panel}--m-scrollable__footer--BoxShadow: 0 #{pf-size-prem(-5px)} #{pf-size-prem(4px)} #{pf-size-prem(-4px)}
|
|
53
|
+
--#{$panel}--m-scrollable__footer--BoxShadow: 0 #{pf-size-prem(-5px)} #{pf-size-prem(4px)} #{pf-size-prem(-4px)} rgba(0 0 0 / 16%); // insets the shadow so it doesn't show on left/right sides
|
|
54
|
+
}
|
|
50
55
|
|
|
56
|
+
.#{$panel} {
|
|
51
57
|
position: relative;
|
|
52
58
|
z-index: var(--#{$panel}--ZIndex);
|
|
53
59
|
width: var(--#{$panel}--Width);
|
|
@@ -68,6 +74,10 @@
|
|
|
68
74
|
--#{$panel}--before--BorderWidth: var(--#{$panel}--m-bordered--before--BorderWidth);
|
|
69
75
|
}
|
|
70
76
|
|
|
77
|
+
&.pf-m-secondary {
|
|
78
|
+
--#{$panel}--BackgroundColor: var(--#{$panel}--m-secondary--BackgroundColor);
|
|
79
|
+
}
|
|
80
|
+
|
|
71
81
|
&.pf-m-raised {
|
|
72
82
|
--#{$panel}--BackgroundColor: var(--#{$panel}--m-raised--BackgroundColor);
|
|
73
83
|
--#{$panel}--BoxShadow: var(--#{$panel}--m-raised--BoxShadow);
|
|
@@ -107,10 +117,3 @@
|
|
|
107
117
|
padding-inline-end: var(--#{$panel}__footer--PaddingRight);
|
|
108
118
|
box-shadow: var(--#{$panel}__footer--BoxShadow);
|
|
109
119
|
}
|
|
110
|
-
|
|
111
|
-
// stylelint-disable no-invalid-position-at-import-rule
|
|
112
|
-
@import "themes/dark/panel";
|
|
113
|
-
|
|
114
|
-
@include pf-v5-theme-dark {
|
|
115
|
-
@include pf-v5-theme-dark-panel;
|
|
116
|
-
}
|
|
@@ -1,27 +1,24 @@
|
|
|
1
1
|
.pf-v5-c-popover {
|
|
2
|
-
--pf-v5-c-popover--FontSize: var(--pf-
|
|
2
|
+
--pf-v5-c-popover--FontSize: var(--pf-t--global--font--size--body--sm);
|
|
3
3
|
--pf-v5-c-popover--MinWidth: calc(var(--pf-v5-c-popover__content--PaddingLeft) + var(--pf-v5-c-popover__content--PaddingRight) + 18.75rem);
|
|
4
4
|
--pf-v5-c-popover--MaxWidth: calc(var(--pf-v5-c-popover__content--PaddingLeft) + var(--pf-v5-c-popover__content--PaddingRight) + 18.75rem);
|
|
5
|
-
--pf-v5-c-popover--BoxShadow: var(--pf-
|
|
6
|
-
--pf-v5-c-popover--
|
|
7
|
-
--pf-v5-c-popover--m-
|
|
8
|
-
--pf-v5-c-popover--m-
|
|
9
|
-
--pf-v5-c-popover--m-
|
|
10
|
-
--pf-v5-c-popover--m-
|
|
11
|
-
--pf-v5-c-popover--m-
|
|
12
|
-
--pf-v5-c-
|
|
13
|
-
--pf-v5-c-
|
|
14
|
-
--pf-v5-c-
|
|
15
|
-
--pf-v5-c-
|
|
16
|
-
--pf-v5-c-popover__content--
|
|
17
|
-
--pf-v5-c-popover__content--
|
|
18
|
-
--pf-v5-c-
|
|
19
|
-
--pf-v5-c-
|
|
20
|
-
--pf-v5-c-
|
|
21
|
-
--pf-v5-c-popover__arrow--
|
|
22
|
-
--pf-v5-c-popover__arrow--Height: var(--pf-v5-global--arrow--width-lg);
|
|
23
|
-
--pf-v5-c-popover__arrow--BoxShadow: var(--pf-v5-global--BoxShadow--lg);
|
|
24
|
-
--pf-v5-c-popover__arrow--BackgroundColor: var(--pf-v5-global--BackgroundColor--100);
|
|
5
|
+
--pf-v5-c-popover--BoxShadow: var(--pf-t--global--box-shadow--md);
|
|
6
|
+
--pf-v5-c-popover--BorderRadius: var(--pf-t--global--border--radius--medium);
|
|
7
|
+
--pf-v5-c-popover--m-danger__title-icon--Color: var(--pf-t--global--icon--color--status--danger--default);
|
|
8
|
+
--pf-v5-c-popover--m-warning__title-icon--Color: var(--pf-t--global--icon--color--status--warning--default);
|
|
9
|
+
--pf-v5-c-popover--m-success__title-icon--Color: var(--pf-t--global--icon--color--status--success--default);
|
|
10
|
+
--pf-v5-c-popover--m-info__title-icon--Color: var(--pf-t--global--icon--color--status--info--default);
|
|
11
|
+
--pf-v5-c-popover--m-custom__title-icon--Color: var(--pf-t--global--icon--color--status--custom--default);
|
|
12
|
+
--pf-v5-c-popover__content--BackgroundColor: var(--pf-t--global--background--color--floating--default);
|
|
13
|
+
--pf-v5-c-popover__content--PaddingTop: var(--pf-t--global--spacer--md);
|
|
14
|
+
--pf-v5-c-popover__content--PaddingRight: var(--pf-t--global--spacer--md);
|
|
15
|
+
--pf-v5-c-popover__content--PaddingBottom: var(--pf-t--global--spacer--md);
|
|
16
|
+
--pf-v5-c-popover__content--PaddingLeft: var(--pf-t--global--spacer--md);
|
|
17
|
+
--pf-v5-c-popover__content--BorderRadius: var(--pf-t--global--border--radius--medium);
|
|
18
|
+
--pf-v5-c-popover__arrow--Width: 0.9375rem;
|
|
19
|
+
--pf-v5-c-popover__arrow--Height: 0.9375rem;
|
|
20
|
+
--pf-v5-c-popover__arrow--BoxShadow: var(--pf-t--global--box-shadow--md);
|
|
21
|
+
--pf-v5-c-popover__arrow--BackgroundColor: var(--pf-t--global--background--color--floating--default);
|
|
25
22
|
--pf-v5-c-popover__arrow--m-top--TranslateX: -50%;
|
|
26
23
|
--pf-v5-c-popover__arrow--m-top--TranslateY: 50%;
|
|
27
24
|
--pf-v5-c-popover__arrow--m-top--Rotate: 45deg;
|
|
@@ -34,21 +31,27 @@
|
|
|
34
31
|
--pf-v5-c-popover__arrow--m-left--TranslateX: 50%;
|
|
35
32
|
--pf-v5-c-popover__arrow--m-left--TranslateY: -50%;
|
|
36
33
|
--pf-v5-c-popover__arrow--m-left--Rotate: 45deg;
|
|
37
|
-
--pf-v5-c-
|
|
38
|
-
--pf-v5-c-
|
|
39
|
-
--pf-v5-c-
|
|
40
|
-
--pf-v5-c-
|
|
41
|
-
--pf-v5-c-
|
|
42
|
-
--pf-v5-c-
|
|
43
|
-
--pf-v5-c-
|
|
44
|
-
--pf-v5-c-
|
|
45
|
-
--pf-v5-c-popover__title-
|
|
46
|
-
--pf-v5-c-popover__title-
|
|
47
|
-
--pf-v5-c-
|
|
34
|
+
--pf-v5-c-popover__arrow--m-inline-top--Top: var(--pf-t--global--border--radius--medium);
|
|
35
|
+
--pf-v5-c-popover__arrow--m-inline-bottom--Bottom: var(--pf-t--global--border--radius--medium);
|
|
36
|
+
--pf-v5-c-popover__arrow--m-block-left--Left: var(--pf-t--global--border--radius--medium);
|
|
37
|
+
--pf-v5-c-popover__arrow--m-block-right--Right: var(--pf-t--global--border--radius--medium);
|
|
38
|
+
--pf-v5-c-popover__close--Top: calc(var(--pf-v5-c-popover__content--PaddingTop) - (var(--pf-t--global--spacer--xs) * 1.5));
|
|
39
|
+
--pf-v5-c-popover__close--Right: var(--pf-v5-c-popover__content--PaddingRight);
|
|
40
|
+
--pf-v5-c-popover__close--sibling--PaddingRight: var(--pf-t--global--spacer--2xl);
|
|
41
|
+
--pf-v5-c-popover__header--MarginBottom: var(--pf-t--global--spacer--sm);
|
|
42
|
+
--pf-v5-c-popover__title-text--Color: var(--pf-t--global--text--color--regular);
|
|
43
|
+
--pf-v5-c-popover__title-text--FontFamily: var(--pf-t--global--font--family--body);
|
|
44
|
+
--pf-v5-c-popover__title-text--FontSize: var(--pf-t--global--font--size--body--lg);
|
|
45
|
+
--pf-v5-c-popover__title-text--FontWeight: var(--pf-t--global--font--weight--body--bold);
|
|
46
|
+
--pf-v5-c-popover__title-icon--MarginRight: var(--pf-t--global--spacer--sm);
|
|
47
|
+
--pf-v5-c-popover__title-icon--Color: var(--pf-t--global--icon--color--regular);
|
|
48
|
+
--pf-v5-c-popover__title-icon--FontSize: var(--pf-t--global--font--size--heading--xs);
|
|
49
|
+
--pf-v5-c-popover__footer--MarginTop: var(--pf-t--global--spacer--md);
|
|
48
50
|
position: relative;
|
|
49
51
|
min-width: var(--pf-v5-c-popover--MinWidth);
|
|
50
52
|
max-width: var(--pf-v5-c-popover--MaxWidth);
|
|
51
53
|
font-size: var(--pf-v5-c-popover--FontSize);
|
|
54
|
+
border-radius: var(--pf-v5-c-popover--BorderRadius);
|
|
52
55
|
box-shadow: var(--pf-v5-c-popover--BoxShadow);
|
|
53
56
|
}
|
|
54
57
|
.pf-v5-c-popover.pf-m-no-padding {
|
|
@@ -99,43 +102,38 @@
|
|
|
99
102
|
}
|
|
100
103
|
.pf-v5-c-popover:is(.pf-m-left-top,
|
|
101
104
|
.pf-m-right-top) {
|
|
102
|
-
--pf-v5-c-popover__arrow--Top:
|
|
105
|
+
--pf-v5-c-popover__arrow--Top: var(--pf-v5-c-popover__arrow--m-inline-top--Top);
|
|
103
106
|
--pf-v5-c-popover__arrow--TranslateY: var(--pf-v5-c-popover__arrow--m-top--TranslateY);
|
|
104
107
|
}
|
|
105
108
|
.pf-v5-c-popover:is(.pf-m-left-bottom,
|
|
106
109
|
.pf-m-right-bottom) {
|
|
107
110
|
--pf-v5-c-popover__arrow--Top: auto;
|
|
108
|
-
--pf-v5-c-popover__arrow--Bottom:
|
|
111
|
+
--pf-v5-c-popover__arrow--Bottom: var(--pf-v5-c-popover__arrow--m-inline-bottom--Bottom);
|
|
109
112
|
}
|
|
110
113
|
.pf-v5-c-popover:is(.pf-m-top-left,
|
|
111
114
|
.pf-m-bottom-left) {
|
|
112
|
-
--pf-v5-c-popover__arrow--Left:
|
|
115
|
+
--pf-v5-c-popover__arrow--Left: var(--pf-v5-c-popover__arrow--m-block-left--Left);
|
|
113
116
|
--pf-v5-c-popover__arrow--TranslateX: var(--pf-v5-c-popover__arrow--m-left--TranslateX);
|
|
114
117
|
}
|
|
115
118
|
.pf-v5-c-popover:is(.pf-m-top-right,
|
|
116
119
|
.pf-m-bottom-right) {
|
|
117
|
-
--pf-v5-c-popover__arrow--Right:
|
|
120
|
+
--pf-v5-c-popover__arrow--Right: var(--pf-v5-c-popover__arrow--m-block-right--Right);
|
|
118
121
|
--pf-v5-c-popover__arrow--Left: auto;
|
|
119
122
|
}
|
|
120
123
|
.pf-v5-c-popover.pf-m-danger {
|
|
121
124
|
--pf-v5-c-popover__title-icon--Color: var(--pf-v5-c-popover--m-danger__title-icon--Color);
|
|
122
|
-
--pf-v5-c-popover__title-text--Color: var(--pf-v5-c-popover--m-danger__title-text--Color);
|
|
123
125
|
}
|
|
124
126
|
.pf-v5-c-popover.pf-m-warning {
|
|
125
127
|
--pf-v5-c-popover__title-icon--Color: var(--pf-v5-c-popover--m-warning__title-icon--Color);
|
|
126
|
-
--pf-v5-c-popover__title-text--Color: var(--pf-v5-c-popover--m-warning__title-text--Color);
|
|
127
128
|
}
|
|
128
129
|
.pf-v5-c-popover.pf-m-success {
|
|
129
130
|
--pf-v5-c-popover__title-icon--Color: var(--pf-v5-c-popover--m-success__title-icon--Color);
|
|
130
|
-
--pf-v5-c-popover__title-text--Color: var(--pf-v5-c-popover--m-success__title-text--Color);
|
|
131
131
|
}
|
|
132
132
|
.pf-v5-c-popover.pf-m-custom {
|
|
133
133
|
--pf-v5-c-popover__title-icon--Color: var(--pf-v5-c-popover--m-custom__title-icon--Color);
|
|
134
|
-
--pf-v5-c-popover__title-text--Color: var(--pf-v5-c-popover--m-custom__title-text--Color);
|
|
135
134
|
}
|
|
136
135
|
.pf-v5-c-popover.pf-m-info {
|
|
137
136
|
--pf-v5-c-popover__title-icon--Color: var(--pf-v5-c-popover--m-info__title-icon--Color);
|
|
138
|
-
--pf-v5-c-popover__title-text--Color: var(--pf-v5-c-popover--m-info__title-text--Color);
|
|
139
137
|
}
|
|
140
138
|
|
|
141
139
|
.pf-v5-c-popover__content {
|
|
@@ -145,6 +143,7 @@
|
|
|
145
143
|
padding-inline-start: var(--pf-v5-c-popover__content--PaddingLeft);
|
|
146
144
|
padding-inline-end: var(--pf-v5-c-popover__content--PaddingRight);
|
|
147
145
|
background-color: var(--pf-v5-c-popover__content--BackgroundColor);
|
|
146
|
+
border-radius: var(--pf-v5-c-popover__content--BorderRadius);
|
|
148
147
|
}
|
|
149
148
|
|
|
150
149
|
.pf-v5-c-popover__close {
|
|
@@ -158,12 +157,10 @@
|
|
|
158
157
|
|
|
159
158
|
.pf-v5-c-popover__arrow {
|
|
160
159
|
position: absolute;
|
|
161
|
-
/* stylelint-disable liberty/use-logical-spec */
|
|
162
160
|
top: var(--pf-v5-c-popover__arrow--Top, auto);
|
|
163
161
|
right: var(--pf-v5-c-popover__arrow--Right, auto);
|
|
164
162
|
bottom: var(--pf-v5-c-popover__arrow--Bottom, auto);
|
|
165
163
|
left: var(--pf-v5-c-popover__arrow--Left, auto);
|
|
166
|
-
/* stylelint-enable */
|
|
167
164
|
width: var(--pf-v5-c-popover__arrow--Width);
|
|
168
165
|
height: var(--pf-v5-c-popover__arrow--Height);
|
|
169
166
|
pointer-events: none;
|
|
@@ -190,8 +187,8 @@
|
|
|
190
187
|
.pf-v5-c-popover__title-text {
|
|
191
188
|
font-family: var(--pf-v5-c-popover__title-text--FontFamily);
|
|
192
189
|
font-size: var(--pf-v5-c-popover__title-text--FontSize);
|
|
193
|
-
|
|
194
|
-
color: var(--pf-v5-c-popover__title-text--Color
|
|
190
|
+
font-weight: var(--pf-v5-c-popover__title-text--FontWeight);
|
|
191
|
+
color: var(--pf-v5-c-popover__title-text--Color);
|
|
195
192
|
}
|
|
196
193
|
|
|
197
194
|
.pf-v5-c-popover__body {
|
|
@@ -200,12 +197,4 @@
|
|
|
200
197
|
|
|
201
198
|
.pf-v5-c-popover__footer {
|
|
202
199
|
margin-block-start: var(--pf-v5-c-popover__footer--MarginTop);
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
:where(.pf-v5-theme-dark) .pf-v5-c-popover {
|
|
206
|
-
--pf-v5-c-popover__content--BackgroundColor: var(--pf-v5-global--BackgroundColor--300);
|
|
207
|
-
--pf-v5-c-popover__arrow--BackgroundColor: var(--pf-v5-global--BackgroundColor--300);
|
|
208
|
-
--pf-v5-c-popover--m-custom__title-text--Color: var(--pf-v5-global--custom-color--200);
|
|
209
|
-
--pf-v5-c-popover--m-info__title-text--Color: var(--pf-v5-global--info-color--100);
|
|
210
|
-
--pf-v5-c-popover--m-success__title-text--Color: var(--pf-v5-global--success-color--100);
|
|
211
200
|
}
|
|
@@ -2,37 +2,33 @@
|
|
|
2
2
|
|
|
3
3
|
.#{$popover} {
|
|
4
4
|
// Component
|
|
5
|
-
--#{$popover}--FontSize: var(
|
|
5
|
+
--#{$popover}--FontSize: var(--pf-t--global--font--size--body--sm);
|
|
6
6
|
--#{$popover}--MinWidth: calc(var(--#{$popover}__content--PaddingLeft) + var(--#{$popover}__content--PaddingRight) + #{pf-size-prem(300px)});
|
|
7
7
|
--#{$popover}--MaxWidth: calc(var(--#{$popover}__content--PaddingLeft) + var(--#{$popover}__content--PaddingRight) + #{pf-size-prem(300px)});
|
|
8
|
-
--#{$popover}--BoxShadow: var(
|
|
8
|
+
--#{$popover}--BoxShadow: var(--pf-t--global--box-shadow--md);
|
|
9
|
+
--#{$popover}--BorderRadius: var(--pf-t--global--border--radius--medium);
|
|
10
|
+
|
|
9
11
|
|
|
10
12
|
// Title icon colors for states
|
|
11
|
-
--#{$popover}--m-danger__title-icon--Color: var(
|
|
12
|
-
--#{$popover}--m-warning__title-icon--Color: var(
|
|
13
|
-
--#{$popover}--m-success__title-icon--Color: var(
|
|
14
|
-
--#{$popover}--m-info__title-icon--Color: var(
|
|
15
|
-
--#{$popover}--m-custom__title-icon--Color: var(
|
|
16
|
-
|
|
17
|
-
// Title text colors for states
|
|
18
|
-
--#{$popover}--m-danger__title-text--Color: var(--#{$pf-global}--danger-color--200);
|
|
19
|
-
--#{$popover}--m-warning__title-text--Color: var(--#{$pf-global}--warning-color--200);
|
|
20
|
-
--#{$popover}--m-success__title-text--Color: var(--#{$pf-global}--success-color--200);
|
|
21
|
-
--#{$popover}--m-info__title-text--Color: var(--#{$pf-global}--info-color--200);
|
|
22
|
-
--#{$popover}--m-custom__title-text--Color: var(--#{$pf-global}--custom-color--300);
|
|
13
|
+
--#{$popover}--m-danger__title-icon--Color: var(--pf-t--global--icon--color--status--danger--default);
|
|
14
|
+
--#{$popover}--m-warning__title-icon--Color: var(--pf-t--global--icon--color--status--warning--default);
|
|
15
|
+
--#{$popover}--m-success__title-icon--Color: var(--pf-t--global--icon--color--status--success--default);
|
|
16
|
+
--#{$popover}--m-info__title-icon--Color: var(--pf-t--global--icon--color--status--info--default);
|
|
17
|
+
--#{$popover}--m-custom__title-icon--Color: var(--pf-t--global--icon--color--status--custom--default);
|
|
23
18
|
|
|
24
19
|
// Content
|
|
25
|
-
--#{$popover}__content--BackgroundColor: var(
|
|
26
|
-
--#{$popover}__content--PaddingTop: var(
|
|
27
|
-
--#{$popover}__content--PaddingRight: var(
|
|
28
|
-
--#{$popover}__content--PaddingBottom: var(
|
|
29
|
-
--#{$popover}__content--PaddingLeft: var(
|
|
20
|
+
--#{$popover}__content--BackgroundColor: var(--pf-t--global--background--color--floating--default);
|
|
21
|
+
--#{$popover}__content--PaddingTop: var(--pf-t--global--spacer--md);
|
|
22
|
+
--#{$popover}__content--PaddingRight: var(--pf-t--global--spacer--md);
|
|
23
|
+
--#{$popover}__content--PaddingBottom: var(--pf-t--global--spacer--md);
|
|
24
|
+
--#{$popover}__content--PaddingLeft: var(--pf-t--global--spacer--md);
|
|
25
|
+
--#{$popover}__content--BorderRadius: var(--pf-t--global--border--radius--medium);
|
|
30
26
|
|
|
31
27
|
// Arrow
|
|
32
|
-
--#{$popover}__arrow--Width:
|
|
33
|
-
--#{$popover}__arrow--Height:
|
|
34
|
-
--#{$popover}__arrow--BoxShadow: var(
|
|
35
|
-
--#{$popover}__arrow--BackgroundColor: var(
|
|
28
|
+
--#{$popover}__arrow--Width: #{pf-size-prem(15px)};
|
|
29
|
+
--#{$popover}__arrow--Height: #{pf-size-prem(15px)};
|
|
30
|
+
--#{$popover}__arrow--BoxShadow: var(--pf-t--global--box-shadow--md);
|
|
31
|
+
--#{$popover}__arrow--BackgroundColor: var(--pf-t--global--background--color--floating--default);
|
|
36
32
|
--#{$popover}__arrow--m-top--TranslateX: -50%;
|
|
37
33
|
--#{$popover}__arrow--m-top--TranslateY: 50%;
|
|
38
34
|
--#{$popover}__arrow--m-top--Rotate: 45deg;
|
|
@@ -45,32 +41,38 @@
|
|
|
45
41
|
--#{$popover}__arrow--m-left--TranslateX: 50%;
|
|
46
42
|
--#{$popover}__arrow--m-left--TranslateY: -50%;
|
|
47
43
|
--#{$popover}__arrow--m-left--Rotate: 45deg;
|
|
44
|
+
--#{$popover}__arrow--m-inline-top--Top: var(--pf-t--global--border--radius--medium);
|
|
45
|
+
--#{$popover}__arrow--m-inline-bottom--Bottom: var(--pf-t--global--border--radius--medium);
|
|
46
|
+
--#{$popover}__arrow--m-block-left--Left: var(--pf-t--global--border--radius--medium);
|
|
47
|
+
--#{$popover}__arrow--m-block-right--Right: var(--pf-t--global--border--radius--medium);
|
|
48
48
|
|
|
49
49
|
// Close
|
|
50
|
-
--#{$popover}__close--Top: calc(var(--#{$popover}__content--PaddingTop) - var(
|
|
51
|
-
--#{$popover}__close--Right:
|
|
52
|
-
--#{$popover}__close--sibling--PaddingRight: var(
|
|
50
|
+
--#{$popover}__close--Top: calc(var(--#{$popover}__content--PaddingTop) - (var(--pf-t--global--spacer--xs) * 1.5)); // align top of button with top of text - TODO: replace with form element token
|
|
51
|
+
--#{$popover}__close--Right: var(--#{$popover}__content--PaddingRight); // align right of content
|
|
52
|
+
--#{$popover}__close--sibling--PaddingRight: var(--pf-t--global--spacer--2xl);
|
|
53
53
|
|
|
54
54
|
// Header
|
|
55
|
-
--#{$popover}__header--MarginBottom: var(
|
|
55
|
+
--#{$popover}__header--MarginBottom: var(--pf-t--global--spacer--sm);
|
|
56
56
|
|
|
57
57
|
// Title text
|
|
58
|
-
--#{$popover}__title-text--
|
|
59
|
-
--#{$popover}__title-text--FontFamily: var(
|
|
60
|
-
--#{$popover}__title-text--FontSize: var(
|
|
58
|
+
--#{$popover}__title-text--Color: var(--pf-t--global--text--color--regular);
|
|
59
|
+
--#{$popover}__title-text--FontFamily: var(--pf-t--global--font--family--body);
|
|
60
|
+
--#{$popover}__title-text--FontSize: var(--pf-t--global--font--size--body--lg);
|
|
61
|
+
--#{$popover}__title-text--FontWeight: var(--pf-t--global--font--weight--body--bold);
|
|
61
62
|
|
|
62
63
|
// Title icon
|
|
63
|
-
--#{$popover}__title-icon--MarginRight: var(
|
|
64
|
-
--#{$popover}__title-icon--Color: var(
|
|
65
|
-
--#{$popover}__title-icon--FontSize: var(
|
|
64
|
+
--#{$popover}__title-icon--MarginRight: var(--pf-t--global--spacer--sm);
|
|
65
|
+
--#{$popover}__title-icon--Color: var(--pf-t--global--icon--color--regular);
|
|
66
|
+
--#{$popover}__title-icon--FontSize: var(--pf-t--global--font--size--heading--xs);
|
|
66
67
|
|
|
67
68
|
// Footer
|
|
68
|
-
--#{$popover}__footer--MarginTop: var(
|
|
69
|
+
--#{$popover}__footer--MarginTop: var(--pf-t--global--spacer--md);
|
|
69
70
|
|
|
70
71
|
position: relative;
|
|
71
72
|
min-width: var(--#{$popover}--MinWidth);
|
|
72
73
|
max-width: var(--#{$popover}--MaxWidth);
|
|
73
74
|
font-size: var(--#{$popover}--FontSize);
|
|
75
|
+
border-radius: var(--#{$popover}--BorderRadius);
|
|
74
76
|
box-shadow: var(--#{$popover}--BoxShadow);
|
|
75
77
|
|
|
76
78
|
&.pf-m-no-padding {
|
|
@@ -104,7 +106,7 @@
|
|
|
104
106
|
.pf-m-bottom,
|
|
105
107
|
.pf-m-bottom-left,
|
|
106
108
|
.pf-m-bottom-right
|
|
107
|
-
|
|
109
|
+
) {
|
|
108
110
|
--#{$popover}__arrow--Top: var(--#{$popover}--m-bottom--Top, 0);
|
|
109
111
|
--#{$popover}__arrow--Left: var(--#{$popover}--m-bottom--Left, 50%);
|
|
110
112
|
--#{$popover}__arrow--TranslateX: var(--#{$popover}__arrow--m-bottom--TranslateX);
|
|
@@ -140,7 +142,7 @@
|
|
|
140
142
|
.pf-m-left-top,
|
|
141
143
|
.pf-m-right-top
|
|
142
144
|
) {
|
|
143
|
-
--#{$popover}__arrow--Top:
|
|
145
|
+
--#{$popover}__arrow--Top: var(--#{$popover}__arrow--m-inline-top--Top);
|
|
144
146
|
--#{$popover}__arrow--TranslateY: var(--#{$popover}__arrow--m-top--TranslateY);
|
|
145
147
|
}
|
|
146
148
|
|
|
@@ -149,14 +151,14 @@
|
|
|
149
151
|
.pf-m-right-bottom
|
|
150
152
|
) {
|
|
151
153
|
--#{$popover}__arrow--Top: auto;
|
|
152
|
-
--#{$popover}__arrow--Bottom:
|
|
154
|
+
--#{$popover}__arrow--Bottom: var(--#{$popover}__arrow--m-inline-bottom--Bottom);
|
|
153
155
|
}
|
|
154
156
|
|
|
155
157
|
&:is(
|
|
156
158
|
.pf-m-top-left,
|
|
157
159
|
.pf-m-bottom-left
|
|
158
160
|
) {
|
|
159
|
-
--#{$popover}__arrow--Left:
|
|
161
|
+
--#{$popover}__arrow--Left: var(--#{$popover}__arrow--m-block-left--Left);
|
|
160
162
|
--#{$popover}__arrow--TranslateX: var(--#{$popover}__arrow--m-left--TranslateX);
|
|
161
163
|
}
|
|
162
164
|
|
|
@@ -164,33 +166,28 @@
|
|
|
164
166
|
.pf-m-top-right,
|
|
165
167
|
.pf-m-bottom-right
|
|
166
168
|
) {
|
|
167
|
-
--#{$popover}__arrow--Right:
|
|
169
|
+
--#{$popover}__arrow--Right: var(--#{$popover}__arrow--m-block-right--Right);
|
|
168
170
|
--#{$popover}__arrow--Left: auto;
|
|
169
171
|
}
|
|
170
172
|
|
|
171
173
|
&.pf-m-danger {
|
|
172
174
|
--#{$popover}__title-icon--Color: var(--#{$popover}--m-danger__title-icon--Color);
|
|
173
|
-
--#{$popover}__title-text--Color: var(--#{$popover}--m-danger__title-text--Color);
|
|
174
175
|
}
|
|
175
176
|
|
|
176
177
|
&.pf-m-warning {
|
|
177
178
|
--#{$popover}__title-icon--Color: var(--#{$popover}--m-warning__title-icon--Color);
|
|
178
|
-
--#{$popover}__title-text--Color: var(--#{$popover}--m-warning__title-text--Color);
|
|
179
179
|
}
|
|
180
180
|
|
|
181
181
|
&.pf-m-success {
|
|
182
182
|
--#{$popover}__title-icon--Color: var(--#{$popover}--m-success__title-icon--Color);
|
|
183
|
-
--#{$popover}__title-text--Color: var(--#{$popover}--m-success__title-text--Color);
|
|
184
183
|
}
|
|
185
184
|
|
|
186
185
|
&.pf-m-custom {
|
|
187
186
|
--#{$popover}__title-icon--Color: var(--#{$popover}--m-custom__title-icon--Color);
|
|
188
|
-
--#{$popover}__title-text--Color: var(--#{$popover}--m-custom__title-text--Color);
|
|
189
187
|
}
|
|
190
188
|
|
|
191
189
|
&.pf-m-info {
|
|
192
190
|
--#{$popover}__title-icon--Color: var(--#{$popover}--m-info__title-icon--Color);
|
|
193
|
-
--#{$popover}__title-text--Color: var(--#{$popover}--m-info__title-text--Color);
|
|
194
191
|
}
|
|
195
192
|
}
|
|
196
193
|
|
|
@@ -201,6 +198,7 @@
|
|
|
201
198
|
padding-inline-start: var(--#{$popover}__content--PaddingLeft);
|
|
202
199
|
padding-inline-end: var(--#{$popover}__content--PaddingRight);
|
|
203
200
|
background-color: var(--#{$popover}__content--BackgroundColor);
|
|
201
|
+
border-radius: var(--#{$popover}__content--BorderRadius);
|
|
204
202
|
}
|
|
205
203
|
|
|
206
204
|
// Close button
|
|
@@ -217,12 +215,12 @@
|
|
|
217
215
|
|
|
218
216
|
.#{$popover}__arrow {
|
|
219
217
|
position: absolute;
|
|
220
|
-
|
|
218
|
+
// stylelint-disable liberty/use-logical-spec
|
|
221
219
|
top: var(--#{$popover}__arrow--Top, auto);
|
|
222
220
|
right: var(--#{$popover}__arrow--Right, auto);
|
|
223
221
|
bottom: var(--#{$popover}__arrow--Bottom, auto);
|
|
224
222
|
left: var(--#{$popover}__arrow--Left, auto);
|
|
225
|
-
|
|
223
|
+
// stylelint-enable
|
|
226
224
|
width: var(--#{$popover}__arrow--Width);
|
|
227
225
|
height: var(--#{$popover}__arrow--Height);
|
|
228
226
|
pointer-events: none;
|
|
@@ -249,8 +247,8 @@
|
|
|
249
247
|
.#{$popover}__title-text {
|
|
250
248
|
font-family: var(--#{$popover}__title-text--FontFamily);
|
|
251
249
|
font-size: var(--#{$popover}__title-text--FontSize);
|
|
252
|
-
|
|
253
|
-
color: var(--#{$popover}__title-text--Color
|
|
250
|
+
font-weight: var(--#{$popover}__title-text--FontWeight);
|
|
251
|
+
color: var(--#{$popover}__title-text--Color);
|
|
254
252
|
}
|
|
255
253
|
|
|
256
254
|
// Body
|
|
@@ -261,10 +259,3 @@
|
|
|
261
259
|
.#{$popover}__footer {
|
|
262
260
|
margin-block-start: var(--#{$popover}__footer--MarginTop);
|
|
263
261
|
}
|
|
264
|
-
|
|
265
|
-
// stylelint-disable no-invalid-position-at-import-rule
|
|
266
|
-
@import "themes/dark/popover";
|
|
267
|
-
|
|
268
|
-
@include pf-v5-theme-dark {
|
|
269
|
-
@include pf-v5-theme-dark-popover;
|
|
270
|
-
}
|