@patternfly/patternfly 6.0.0-alpha.9 → 6.0.0-alpha.90
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CODE_OF_CONDUCT.md +1 -2
- package/assets/images/PF-Backdrop.svg +1 -0
- package/assets/images/PF-HorizontalLogo-Color.svg +29 -0
- package/assets/images/PF-HorizontalLogo-Reverse.svg +28 -0
- package/assets/images/PF-IconLogo-Reverse.svg +14 -0
- package/assets/images/PF-IconLogo-color.svg +17 -0
- package/assets/images/PF-IconLogo.svg +17 -0
- package/assets/images/logo__pf--reverse-on-md.svg +1 -1
- package/assets/images/pf-background.svg +22 -0
- package/assets/images/pf-c-brand__logo-on-lg-white.svg +32 -0
- package/assets/images/pf-c-brand__logo-on-md-white.svg +42 -0
- package/assets/images/pf-c-brand__logo-on-sm-white.svg +17 -0
- package/assets/images/pf-c-brand__logo-on-sm.svg +1 -1
- package/assets/images/pf-c-brand__logo-on-xl-white.svg +39 -0
- package/assets/images/pf_logo_white.hbs +35 -0
- package/assets/images/pf_logo_white.svg +38 -0
- package/base/_common.scss +8 -4
- package/base/_globals.scss +4 -6
- package/base/_variables.scss +2 -7
- package/base/patternfly-common.css +8 -4
- package/base/patternfly-globals.css +4 -3
- package/base/patternfly-variables.css +1005 -856
- package/base/tokens/_tokens-charts.scss +159 -0
- package/base/tokens/_tokens-dark.scss +319 -290
- package/base/tokens/_tokens-default.scss +485 -329
- package/base/tokens/_tokens-font.scss +122 -58
- package/base/tokens/_tokens-palette.scss +71 -71
- package/base/tokens/_workspace-overrides.scss +7 -0
- package/components/AboutModalBox/about-modal-box.css +57 -94
- package/components/AboutModalBox/about-modal-box.scss +37 -62
- package/components/Accordion/accordion.css +85 -177
- package/components/Accordion/accordion.scss +96 -195
- package/components/ActionList/action-list.css +18 -17
- package/components/ActionList/action-list.scss +26 -16
- package/components/Alert/alert-group.css +20 -16
- package/components/Alert/alert-group.scss +20 -16
- package/components/Alert/alert.css +59 -84
- package/components/Alert/alert.scss +62 -78
- package/components/Avatar/avatar.css +10 -13
- package/components/Avatar/avatar.scss +10 -17
- package/components/BackToTop/back-to-top.css +17 -16
- package/components/BackToTop/back-to-top.scss +12 -12
- package/components/Backdrop/backdrop.css +6 -2
- package/components/Backdrop/backdrop.scss +5 -2
- package/components/BackgroundImage/background-image.css +5 -1
- package/components/BackgroundImage/background-image.scss +5 -1
- package/components/Badge/badge.css +23 -15
- package/components/Badge/badge.scss +25 -17
- package/components/Banner/banner.css +90 -64
- package/components/Banner/banner.scss +95 -32
- package/components/Breadcrumb/breadcrumb.css +27 -16
- package/components/Breadcrumb/breadcrumb.scss +27 -18
- package/components/Button/button.css +398 -354
- package/components/Button/button.scss +455 -477
- package/components/CalendarMonth/calendar-month.css +61 -92
- package/components/CalendarMonth/calendar-month.scss +68 -63
- package/components/Card/card.css +100 -194
- package/components/Card/card.scss +121 -237
- package/components/Check/check.css +24 -21
- package/components/Check/check.scss +25 -23
- package/components/ClipboardCopy/clipboard-copy.css +30 -33
- package/components/ClipboardCopy/clipboard-copy.scss +34 -26
- package/components/CodeBlock/code-block.css +22 -9
- package/components/CodeBlock/code-block.scss +22 -10
- package/components/CodeEditor/code-editor.css +94 -72
- package/components/CodeEditor/code-editor.scss +104 -82
- package/components/Content/content.css +7 -7
- package/components/Content/content.scss +7 -7
- package/components/DataList/data-list.css +101 -158
- package/components/DataList/data-list.scss +95 -154
- package/components/DatePicker/date-picker.css +13 -14
- package/components/DatePicker/date-picker.scss +12 -16
- package/components/DescriptionList/description-list.css +39 -34
- package/components/DescriptionList/description-list.scss +25 -25
- package/components/Divider/divider.css +91 -169
- package/components/Divider/divider.scss +60 -77
- package/components/DragDrop/drag-drop.css +18 -14
- package/components/DragDrop/drag-drop.scss +18 -17
- package/components/Drawer/drawer.css +112 -113
- package/components/Drawer/drawer.scss +134 -134
- package/components/Dropdown/dropdown.css +1 -3
- package/components/Dropdown/dropdown.scss +2 -6
- package/components/DualListSelector/dual-list-selector.css +54 -51
- package/components/DualListSelector/dual-list-selector.scss +55 -54
- package/components/EmptyState/empty-state.css +57 -34
- package/components/EmptyState/empty-state.scss +63 -34
- package/components/ExpandableSection/expandable-section.css +64 -62
- package/components/ExpandableSection/expandable-section.scss +73 -76
- package/components/FileUpload/file-upload.css +28 -34
- package/components/FileUpload/file-upload.scss +30 -42
- package/components/Form/form.css +66 -116
- package/components/Form/form.scss +63 -128
- package/components/FormControl/form-control.css +86 -111
- package/components/FormControl/form-control.scss +88 -92
- package/components/HelperText/helper-text.css +28 -34
- package/components/HelperText/helper-text.scss +30 -40
- package/components/Hint/hint.css +28 -21
- package/components/Hint/hint.scss +28 -24
- package/components/Icon/icon.css +154 -18
- package/components/Icon/icon.scss +187 -20
- package/components/InlineEdit/inline-edit.css +8 -7
- package/components/InlineEdit/inline-edit.scss +8 -7
- package/components/InputGroup/input-group.css +22 -38
- package/components/InputGroup/input-group.scss +21 -29
- package/components/JumpLinks/jump-links.css +34 -34
- package/components/JumpLinks/jump-links.scss +35 -36
- package/components/Label/label-group.css +39 -44
- package/components/Label/label-group.scss +39 -45
- package/components/Label/label.css +378 -355
- package/components/Label/label.scss +431 -348
- package/components/List/list.css +16 -16
- package/components/List/list.scss +17 -17
- package/components/Login/login.css +68 -112
- package/components/Login/login.scss +54 -82
- package/components/Masthead/masthead.css +261 -502
- package/components/Masthead/masthead.scss +123 -286
- package/components/Menu/menu.css +388 -417
- package/components/Menu/menu.scss +370 -525
- package/components/MenuToggle/menu-toggle.css +223 -276
- package/components/MenuToggle/menu-toggle.scss +322 -390
- package/components/ModalBox/modal-box.css +59 -52
- package/components/ModalBox/modal-box.scss +57 -53
- package/components/MultipleFileUpload/multiple-file-upload.css +77 -50
- package/components/MultipleFileUpload/multiple-file-upload.scss +82 -53
- package/components/Nav/nav.css +240 -918
- package/components/Nav/nav.scss +300 -1082
- package/components/NotificationBadge/notification-badge.css +4 -4
- package/components/NotificationBadge/notification-badge.scss +4 -4
- package/components/NotificationDrawer/notification-drawer.css +104 -115
- package/components/NotificationDrawer/notification-drawer.scss +106 -116
- package/components/NumberInput/number-input.css +8 -8
- package/components/NumberInput/number-input.scss +7 -12
- package/components/OverflowMenu/overflow-menu.css +17 -47
- package/components/OverflowMenu/overflow-menu.scss +27 -65
- package/components/Page/page.css +56 -164
- package/components/Page/page.scss +60 -154
- package/components/Pagination/pagination.css +57 -124
- package/components/Pagination/pagination.scss +40 -128
- package/components/Panel/panel.css +27 -23
- package/components/Panel/panel.scss +29 -26
- package/components/Popover/popover.css +42 -53
- package/components/Popover/popover.scss +46 -55
- package/components/Progress/progress.css +31 -45
- package/components/Progress/progress.scss +36 -55
- package/components/ProgressStepper/progress-stepper.css +72 -69
- package/components/ProgressStepper/progress-stepper.scss +65 -65
- package/components/Radio/radio.css +27 -20
- package/components/Radio/radio.scss +28 -22
- package/components/Sidebar/sidebar.css +20 -9
- package/components/Sidebar/sidebar.scss +23 -11
- package/components/SimpleList/simple-list.css +32 -52
- package/components/SimpleList/simple-list.scss +37 -51
- package/components/Skeleton/skeleton.css +18 -20
- package/components/Skeleton/skeleton.scss +17 -21
- package/components/SkipToContent/skip-to-content.css +6 -3
- package/components/SkipToContent/skip-to-content.scss +8 -6
- package/components/Slider/slider.css +34 -30
- package/components/Slider/slider.scss +46 -43
- package/components/Spinner/spinner.css +17 -34
- package/components/Spinner/spinner.scss +19 -47
- package/components/Switch/switch.css +42 -38
- package/components/Switch/switch.scss +48 -43
- package/components/TabContent/tab-content.css +17 -11
- package/components/TabContent/tab-content.scss +18 -14
- package/components/Table/table-grid.css +31 -47
- package/components/Table/table-grid.scss +42 -55
- package/components/Table/table-scrollable.css +6 -6
- package/components/Table/table-scrollable.scss +8 -8
- package/components/Table/table-tree-view.css +81 -74
- package/components/Table/table-tree-view.scss +53 -39
- package/components/Table/table.css +159 -264
- package/components/Table/table.scss +216 -351
- package/components/Tabs/tabs.css +142 -175
- package/components/Tabs/tabs.scss +158 -218
- package/components/TextInputGroup/text-input-group.css +0 -14
- package/components/TextInputGroup/text-input-group.scss +3 -16
- package/components/Tile/tile.css +40 -81
- package/components/Tile/tile.scss +38 -84
- package/components/Timestamp/timestamp.css +12 -9
- package/components/Timestamp/timestamp.scss +11 -10
- package/components/Title/title.css +70 -19
- package/components/Title/title.scss +90 -20
- package/components/ToggleGroup/toggle-group.css +54 -48
- package/components/ToggleGroup/toggle-group.scss +62 -50
- package/components/Toolbar/toolbar.css +2527 -1031
- package/components/Toolbar/toolbar.scss +233 -520
- package/components/Tooltip/tooltip.css +16 -18
- package/components/Tooltip/tooltip.scss +20 -24
- package/components/TreeView/tree-view.css +76 -97
- package/components/TreeView/tree-view.scss +82 -113
- package/components/Truncate/truncate.css +4 -0
- package/components/Truncate/truncate.scss +3 -0
- package/components/Wizard/wizard.css +122 -205
- package/components/Wizard/wizard.scss +121 -181
- package/docs/components/AboutModalBox/examples/AboutModalBox.md +2 -2
- package/docs/components/Accordion/examples/Accordion.md +614 -416
- package/docs/components/ActionList/examples/ActionList.md +73 -22
- package/docs/components/Alert/examples/Alert.md +3 -3
- package/docs/components/Avatar/examples/Avatar.md +5 -19
- package/docs/components/BackgroundImage/examples/BackgroundImage.md +1 -1
- package/docs/components/Badge/examples/Badge.md +21 -0
- package/docs/components/Banner/examples/Banner.md +48 -25
- package/docs/components/Brand/examples/Brand.css +12 -0
- package/docs/components/Brand/examples/Brand.md +51 -32
- package/docs/components/Breadcrumb/examples/Breadcrumb.md +1 -1
- package/docs/components/Button/examples/Button.css +4 -0
- package/docs/components/Button/examples/Button.md +1439 -113
- package/docs/components/CalendarMonth/examples/CalendarMonth.md +44 -220
- package/docs/components/Card/examples/Card.md +550 -133
- package/docs/components/Check/examples/Check.md +1 -0
- package/docs/components/CodeBlock/examples/CodeBlock.md +4 -4
- package/docs/components/CodeEditor/examples/CodeEditor.md +144 -132
- package/docs/components/Content/examples/Content.md +5 -5
- package/docs/components/DatePicker/examples/DatePicker.md +5 -2
- package/docs/components/Divider/examples/Divider.css +3 -1
- package/docs/components/Divider/examples/Divider.md +30 -5
- package/docs/components/DragDrop/examples/DragDrop.css +1 -1
- package/docs/components/Drawer/examples/Drawer.md +294 -256
- package/docs/components/DualListSelector/examples/DualListSelector.md +18 -18
- package/docs/components/EmptyState/examples/EmptyState.md +45 -1
- package/docs/components/ExpandableSection/examples/ExpandableSection.md +49 -28
- package/docs/components/FileUpload/examples/FileUpload.md +112 -53
- package/docs/components/Form/examples/Form.md +134 -89
- package/docs/components/Icon/examples/Icon.md +82 -11
- package/docs/components/InlineEdit/examples/InlineEdit.md +3 -1
- package/docs/components/JumpLinks/examples/JumpLinks.md +280 -168
- package/docs/components/Label/examples/Label.css +4 -0
- package/docs/components/Label/examples/Label.md +3090 -703
- package/docs/components/LogViewer/examples/LogViewer.md +100 -80
- package/docs/components/Login/examples/Login.md +160 -105
- package/docs/components/Masthead/examples/masthead.md +443 -65
- package/docs/components/Menu/examples/Menu.css +7 -11
- package/docs/components/Menu/examples/Menu.md +213 -486
- package/docs/components/MenuToggle/examples/MenuToggle.md +253 -224
- package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +9 -9
- package/docs/components/Nav/examples/Navigation.css +1 -23
- package/docs/components/Nav/examples/Navigation.md +69 -243
- package/docs/components/Page/examples/Page.css +0 -8
- package/docs/components/Page/examples/Page.md +22 -21
- package/docs/components/Pagination/examples/Pagination.md +663 -637
- package/docs/components/Panel/examples/Panel.md +12 -0
- package/docs/components/Popover/examples/Popover.md +1 -1
- package/docs/components/ProgressStepper/examples/ProgressStepper.md +15 -14
- package/docs/components/Radio/examples/Radio.md +1 -1
- package/docs/components/Sidebar/examples/Sidebar.md +19 -0
- package/docs/components/SimpleList/examples/SimpleList.md +3 -3
- package/docs/components/TabContent/examples/TabContent.md +10 -10
- package/docs/components/Table/examples/Table.md +8 -8
- package/docs/components/Tabs/examples/Tabs.css +1 -1
- package/docs/components/Tabs/examples/Tabs.md +1025 -826
- package/docs/components/Tile/examples/Tile.md +264 -144
- package/docs/components/Title/examples/Title.md +18 -0
- package/docs/components/Toolbar/examples/Toolbar.css +20 -15
- package/docs/components/Toolbar/examples/Toolbar.md +985 -3341
- package/docs/components/TreeView/examples/TreeView.md +7 -57
- package/docs/components/Truncate/examples/Truncate.css +2 -2
- package/docs/components/Wizard/examples/Wizard.md +31 -7
- package/docs/demos/AboutModal/examples/AboutModal.md +116 -35
- package/docs/demos/Alert/examples/Alert.md +366 -99
- package/docs/demos/BackToTop/examples/BackToTop.md +114 -33
- package/docs/demos/Banner/examples/Banner.md +235 -68
- package/docs/demos/Button/examples/Button.md +1 -1
- package/docs/demos/Card/examples/Card.md +2 -2
- package/docs/demos/CardView/examples/CardView.md +256 -192
- package/docs/demos/ContextSelector/examples/ContextSelector.md +414 -107
- package/docs/demos/Dashboard/examples/Dashboard.md +114 -33
- package/docs/demos/DataList/examples/DataList.md +1049 -950
- package/docs/demos/DescriptionList/examples/DescriptionList.md +342 -99
- package/docs/demos/Drawer/examples/Drawer.md +700 -271
- package/docs/demos/Form/examples/BasicForms.md +138 -84
- package/docs/demos/JumpLinks/examples/JumpLinks.md +989 -409
- package/docs/demos/Masthead/examples/Masthead.md +833 -357
- package/docs/demos/Modal/examples/Modal.md +717 -222
- package/docs/demos/Nav/examples/Nav.md +763 -926
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +575 -165
- package/docs/demos/Page/examples/Page.md +1050 -309
- package/docs/demos/Page/examples/Penta.md +73 -31
- package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +20 -16
- package/docs/demos/PasswordStrength/examples/PasswordStrength.md +44 -32
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +1276 -861
- package/docs/demos/Skeleton/examples/Skeleton.md +114 -33
- package/docs/demos/Table/examples/Table.md +4002 -3503
- package/docs/demos/Tabs/examples/Tabs.md +711 -219
- package/docs/demos/Toolbar/examples/Toolbar.css +10 -0
- package/docs/demos/Toolbar/examples/Toolbar.md +1350 -1480
- package/docs/demos/Wizard/examples/Wizard.md +1134 -315
- package/docs/layouts/Flex/examples/Flex.md +11 -11
- package/package.json +32 -32
- package/patternfly-base-no-globals-theme-dark-unversioned.css +1021 -868
- package/patternfly-base-no-globals.css +1021 -868
- package/patternfly-base-theme-dark-unversioned.css +1027 -873
- package/patternfly-base.css +1027 -873
- package/patternfly-no-globals.css +9048 -8979
- package/patternfly-theme-dark-unversioned.css +9051 -8981
- package/patternfly.css +9051 -8981
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/mixins.scss +18 -0
- package/base/themes/dark/_variables.scss +0 -102
- package/components/AboutModalBox/themes/dark/about-modal-box.scss +0 -7
- package/components/Accordion/themes/dark/accordion.scss +0 -9
- package/components/Alert/themes/dark/alert.scss +0 -17
- package/components/Badge/themes/dark/badge.scss +0 -9
- package/components/Banner/themes/dark/banner.scss +0 -14
- package/components/Button/themes/dark/button.scss +0 -51
- package/components/CalendarMonth/themes/dark/calendar-month.scss +0 -37
- package/components/Card/themes/dark/card.scss +0 -20
- package/components/ClipboardCopy/themes/dark/clipboard-copy.scss +0 -19
- package/components/CodeEditor/themes/dark/code-editor.scss +0 -14
- package/components/DataList/themes/dark/data-list.scss +0 -10
- package/components/DatePicker/themes/dark/date-picker.scss +0 -8
- package/components/DragDrop/themes/dark/drag-drop.scss +0 -7
- package/components/Drawer/themes/dark/drawer.scss +0 -13
- package/components/DualListSelector/themes/dark/dual-list-selector.scss +0 -9
- package/components/Form/themes/dark/form.scss +0 -7
- package/components/FormControl/themes/dark/form-control.scss +0 -24
- package/components/HelperText/themes/dark/helper-text.scss +0 -7
- package/components/Hint/themes/dark/hint.scss +0 -8
- package/components/InputGroup/themes/dark/input-group.scss +0 -22
- package/components/Label/themes/dark/label.scss +0 -53
- package/components/Login/themes/dark/login.scss +0 -12
- package/components/Masthead/themes/dark/masthead.scss +0 -14
- package/components/MenuToggle/themes/dark/menu-toggle.scss +0 -27
- package/components/ModalBox/themes/dark/modal-box.scss +0 -7
- package/components/NotificationDrawer/themes/dark/notification-drawer.scss +0 -14
- package/components/Page/themes/dark/page.scss +0 -69
- package/components/Pagination/themes/dark/pagination.scss +0 -7
- package/components/Panel/themes/dark/panel.scss +0 -7
- package/components/Popover/themes/dark/popover.scss +0 -11
- package/components/Progress/themes/dark/progress.scss +0 -9
- package/components/SimpleList/themes/dark/simple-list.scss +0 -14
- package/components/Skeleton/themes/dark/skeleton.scss +0 -10
- package/components/Switch/themes/dark/switch.scss +0 -11
- package/components/Tabs/themes/dark/tabs.scss +0 -10
- package/components/TextInputGroup/themes/dark/text-input-group.scss +0 -11
- package/components/Tile/themes/dark/tile.scss +0 -10
- package/components/ToggleGroup/themes/dark/toggle-group.scss +0 -12
- package/components/Tooltip/themes/dark/tooltip.scss +0 -8
- package/components/TreeView/themes/dark/tree-view.scss +0 -8
- package/components/Wizard/themes/dark/wizard.scss +0 -12
- package/docs/components/Avatar/examples/Avatar.css +0 -3
|
@@ -1,74 +1,62 @@
|
|
|
1
|
-
|
|
2
|
-
--pf-v5-
|
|
3
|
-
--pf-v5-
|
|
4
|
-
--pf-v5-global--BorderColor--100: var(--pf-v5-global--BorderColor--dark-100);
|
|
5
|
-
--pf-v5-global--primary-color--100: var(--pf-v5-global--primary-color--dark-100);
|
|
6
|
-
--pf-v5-global--link--Color: var(--pf-v5-global--link--Color--dark);
|
|
7
|
-
--pf-v5-global--link--Color--hover: var(--pf-v5-global--link--Color--dark--hover);
|
|
8
|
-
--pf-v5-global--BackgroundColor--100: var(--pf-v5-global--BackgroundColor--light-100);
|
|
9
|
-
--pf-v5-global--icon--Color--light: var(--pf-v5-global--icon--Color--light--dark);
|
|
10
|
-
--pf-v5-global--icon--Color--dark: var(--pf-v5-global--icon--Color--dark--dark);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.pf-v5-c-alert {
|
|
14
|
-
--pf-v5-c-alert--BoxShadow: var(--pf-v5-global--BoxShadow--lg);
|
|
15
|
-
--pf-v5-c-alert--BackgroundColor: var(--pf-v5-global--BackgroundColor--100);
|
|
1
|
+
:root {
|
|
2
|
+
--pf-v5-c-alert--BoxShadow: var(--pf-t--global--box-shadow--lg);
|
|
3
|
+
--pf-v5-c-alert--BackgroundColor: var(--pf-t--global--background--color--floating--default);
|
|
16
4
|
--pf-v5-c-alert--GridTemplateColumns: max-content 1fr max-content;
|
|
17
5
|
--pf-v5-c-alert--GridTemplateAreas:
|
|
18
6
|
"icon title action"
|
|
19
7
|
". description description"
|
|
20
8
|
". actiongroup actiongroup";
|
|
21
|
-
--pf-v5-c-alert--
|
|
22
|
-
--pf-v5-c-alert--
|
|
23
|
-
--pf-v5-c-alert--
|
|
24
|
-
--pf-v5-c-alert--
|
|
25
|
-
--pf-v5-c-alert--
|
|
26
|
-
--pf-v5-c-alert--
|
|
27
|
-
--pf-v5-c-
|
|
9
|
+
--pf-v5-c-alert--BorderWidth: var(--pf-t--global--border--width--box--status--default);
|
|
10
|
+
--pf-v5-c-alert--BorderColor: transparent;
|
|
11
|
+
--pf-v5-c-alert--BorderRadius: var(--pf-t--global--border--radius--medium);
|
|
12
|
+
--pf-v5-c-alert--PaddingTop: var(--pf-t--global--spacer--md);
|
|
13
|
+
--pf-v5-c-alert--PaddingRight: var(--pf-t--global--spacer--md);
|
|
14
|
+
--pf-v5-c-alert--PaddingBottom: var(--pf-t--global--spacer--md);
|
|
15
|
+
--pf-v5-c-alert--PaddingLeft: var(--pf-t--global--spacer--md);
|
|
16
|
+
--pf-v5-c-alert--FontSize: var(--pf-t--global--font--size--body--default);
|
|
28
17
|
--pf-v5-c-alert__toggle--MarginTop: calc(-1 * var(--pf-v5-global--spacer--form-element) - 0.0625rem);
|
|
29
18
|
--pf-v5-c-alert__toggle--MarginBottom: calc(-1 * var(--pf-v5-global--spacer--form-element));
|
|
30
|
-
--pf-v5-c-alert__toggle--
|
|
19
|
+
--pf-v5-c-alert__toggle--MarginRight: var(--pf-t--global--spacer--sm);
|
|
31
20
|
--pf-v5-c-alert__toggle-icon--Rotate: 0;
|
|
32
21
|
--pf-v5-c-alert__toggle-icon--Transition: var(--pf-v5-global--Transition);
|
|
33
|
-
--pf-v5-c-alert__icon--Color: var(--pf-
|
|
34
|
-
--pf-v5-c-alert__icon--MarginTop: 0.
|
|
35
|
-
--pf-v5-c-alert__icon--MarginRight: var(--pf-
|
|
36
|
-
--pf-v5-c-alert__icon--FontSize: var(--pf-
|
|
37
|
-
--pf-v5-c-alert__title--
|
|
38
|
-
--pf-v5-c-alert__title--
|
|
22
|
+
--pf-v5-c-alert__icon--Color: var(--pf-t--global--icon--color--regular);
|
|
23
|
+
--pf-v5-c-alert__icon--MarginTop: 0.25rem;
|
|
24
|
+
--pf-v5-c-alert__icon--MarginRight: var(--pf-t--global--spacer--sm);
|
|
25
|
+
--pf-v5-c-alert__icon--FontSize: var(--pf-t--global--icon--size--md);
|
|
26
|
+
--pf-v5-c-alert__title--FontFamily: var(--pf-t--global--font--family--heading);
|
|
27
|
+
--pf-v5-c-alert__title--FontSize: var(--pf-t--global--font--size--heading--xs);
|
|
28
|
+
--pf-v5-c-alert__title--FontWeight: var(--pf-t--global--font--weight--heading);
|
|
29
|
+
--pf-v5-c-alert__title--LineHeight: var(--pf-t--global--font--line-height--heading);
|
|
30
|
+
--pf-v5-c-alert__title--Color: var(--pf-t--global--text--color--regular);
|
|
39
31
|
--pf-v5-c-alert__title--max-lines: 1;
|
|
40
32
|
--pf-v5-c-alert__action--MarginTop: calc(var(--pf-v5-global--spacer--form-element) * -1);
|
|
41
33
|
--pf-v5-c-alert__action--MarginBottom: calc(var(--pf-v5-global--spacer--form-element) * -1);
|
|
42
34
|
--pf-v5-c-alert__action--TranslateY: 0.125rem;
|
|
43
|
-
--pf-v5-c-alert__action--MarginRight: calc(var(--pf-
|
|
44
|
-
--pf-v5-c-alert__description--PaddingTop: var(--pf-
|
|
45
|
-
--pf-v5-c-alert__action-group--PaddingTop-base: var(--pf-
|
|
35
|
+
--pf-v5-c-alert__action--MarginRight: calc(var(--pf-t--global--spacer--sm) * -1);
|
|
36
|
+
--pf-v5-c-alert__description--PaddingTop: var(--pf-t--global--spacer--xs);
|
|
37
|
+
--pf-v5-c-alert__action-group--PaddingTop-base: var(--pf-t--global--spacer--xs);
|
|
46
38
|
--pf-v5-c-alert__action-group--PaddingTop: var(--pf-v5-c-alert__action-group--PaddingTop-base);
|
|
47
|
-
--pf-v5-c-alert__description--action-group--PaddingTop-base: var(--pf-
|
|
39
|
+
--pf-v5-c-alert__description--action-group--PaddingTop-base: var(--pf-t--global--spacer--sm);
|
|
48
40
|
--pf-v5-c-alert__description--action-group--PaddingTop: var(--pf-v5-c-alert__description--action-group--PaddingTop-base);
|
|
49
|
-
--pf-v5-c-alert__action-group__c-button--not-last-child--MarginRight: var(--pf-
|
|
50
|
-
--pf-v5-c-alert--m-custom--
|
|
51
|
-
--pf-v5-c-alert--m-custom__icon--Color: var(--pf-
|
|
52
|
-
--pf-v5-c-alert--m-custom__title--Color: var(--pf-
|
|
53
|
-
--pf-v5-c-alert--m-success--
|
|
54
|
-
--pf-v5-c-alert--m-success__icon--Color: var(--pf-
|
|
55
|
-
--pf-v5-c-alert--m-success__title--Color: var(--pf-
|
|
56
|
-
--pf-v5-c-alert--m-danger--
|
|
57
|
-
--pf-v5-c-alert--m-danger__icon--Color: var(--pf-
|
|
58
|
-
--pf-v5-c-alert--m-danger__title--Color: var(--pf-
|
|
59
|
-
--pf-v5-c-alert--m-warning--
|
|
60
|
-
--pf-v5-c-alert--m-warning__icon--Color: var(--pf-
|
|
61
|
-
--pf-v5-c-alert--m-warning__title--Color: var(--pf-
|
|
62
|
-
--pf-v5-c-alert--m-info--
|
|
63
|
-
--pf-v5-c-alert--m-info__icon--Color: var(--pf-
|
|
64
|
-
--pf-v5-c-alert--m-info__title--Color: var(--pf-
|
|
41
|
+
--pf-v5-c-alert__action-group__c-button--not-last-child--MarginRight: var(--pf-t--global--spacer--lg);
|
|
42
|
+
--pf-v5-c-alert--m-custom--BorderColor: var(--pf-t--global--border--color--status--custom--default);
|
|
43
|
+
--pf-v5-c-alert--m-custom__icon--Color: var(--pf-t--global--icon--color--status--custom--default);
|
|
44
|
+
--pf-v5-c-alert--m-custom__title--Color: var(--pf-t--global--text--color--regular);
|
|
45
|
+
--pf-v5-c-alert--m-success--BorderColor: var(--pf-t--global--border--color--status--success--default);
|
|
46
|
+
--pf-v5-c-alert--m-success__icon--Color: var(--pf-t--global--icon--color--status--success--default);
|
|
47
|
+
--pf-v5-c-alert--m-success__title--Color: var(--pf-t--global--text--color--regular);
|
|
48
|
+
--pf-v5-c-alert--m-danger--BorderColor: var(--pf-t--global--border--color--status--danger--default);
|
|
49
|
+
--pf-v5-c-alert--m-danger__icon--Color: var(--pf-t--global--icon--color--status--danger--default);
|
|
50
|
+
--pf-v5-c-alert--m-danger__title--Color: var(--pf-t--global--text--color--regular);
|
|
51
|
+
--pf-v5-c-alert--m-warning--BorderColor: var(--pf-t--global--border--color--status--warning--default);
|
|
52
|
+
--pf-v5-c-alert--m-warning__icon--Color: var(--pf-t--global--icon--color--status--warning--default);
|
|
53
|
+
--pf-v5-c-alert--m-warning__title--Color: var(--pf-t--global--text--color--regular);
|
|
54
|
+
--pf-v5-c-alert--m-info--BorderColor: var(--pf-t--global--border--color--status--info--default);
|
|
55
|
+
--pf-v5-c-alert--m-info__icon--Color: var(--pf-t--global--icon--color--status--info--default);
|
|
56
|
+
--pf-v5-c-alert--m-info__title--Color: var(--pf-t--global--text--color--regular);
|
|
57
|
+
--pf-v5-c-alert--m-inline--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
65
58
|
--pf-v5-c-alert--m-inline--BoxShadow: none;
|
|
66
|
-
--pf-v5-c-alert--m-inline--m-
|
|
67
|
-
--pf-v5-c-alert--m-inline--m-success--BackgroundColor: var(--pf-v5-global--palette--green-50);
|
|
68
|
-
--pf-v5-c-alert--m-inline--m-danger--BackgroundColor: var(--pf-v5-global--palette--red-50);
|
|
69
|
-
--pf-v5-c-alert--m-inline--m-warning--BackgroundColor: var(--pf-v5-global--palette--gold-50);
|
|
70
|
-
--pf-v5-c-alert--m-inline--m-info--BackgroundColor: var(--pf-v5-global--palette--blue-50);
|
|
71
|
-
--pf-v5-c-alert--m-inline--m-plain--BorderTopWidth: 0;
|
|
59
|
+
--pf-v5-c-alert--m-inline--m-plain--BorderWidth: 0;
|
|
72
60
|
--pf-v5-c-alert--m-inline--m-plain--BackgroundColor: transparent;
|
|
73
61
|
--pf-v5-c-alert--m-inline--m-plain--PaddingTop: 0;
|
|
74
62
|
--pf-v5-c-alert--m-inline--m-plain--PaddingRight: 0;
|
|
@@ -82,7 +70,9 @@
|
|
|
82
70
|
--pf-v5-c-alert--m-expandable__description--action-group--PaddingTop: var(--pf-v5-c-alert__action-group--PaddingTop-base);
|
|
83
71
|
--pf-v5-c-alert--m-expanded__toggle-icon--Rotate: 90deg;
|
|
84
72
|
--pf-v5-c-alert--m-expanded__description--action-group--PaddingTop: var(--pf-v5-c-alert__description--action-group--PaddingTop-base);
|
|
85
|
-
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.pf-v5-c-alert {
|
|
86
76
|
position: relative;
|
|
87
77
|
display: grid;
|
|
88
78
|
grid-template-areas: var(--pf-v5-c-alert--GridTemplateAreas);
|
|
@@ -91,47 +81,43 @@
|
|
|
91
81
|
padding-block-end: var(--pf-v5-c-alert--PaddingBottom);
|
|
92
82
|
padding-inline-start: var(--pf-v5-c-alert--PaddingLeft);
|
|
93
83
|
padding-inline-end: var(--pf-v5-c-alert--PaddingRight);
|
|
94
|
-
font-size: var(--pf-v5-c-
|
|
84
|
+
font-size: var(--pf-v5-c-alert--FontSize);
|
|
95
85
|
background-color: var(--pf-v5-c-alert--BackgroundColor);
|
|
96
|
-
border
|
|
86
|
+
border: var(--pf-v5-c-alert--BorderWidth) solid var(--pf-v5-c-alert--BorderColor);
|
|
87
|
+
border-radius: var(--pf-v5-c-alert--BorderRadius);
|
|
97
88
|
box-shadow: var(--pf-v5-c-alert--BoxShadow);
|
|
98
89
|
}
|
|
99
90
|
.pf-v5-c-alert.pf-m-custom {
|
|
100
|
-
--pf-v5-c-alert--
|
|
91
|
+
--pf-v5-c-alert--BorderColor: var(--pf-v5-c-alert--m-custom--BorderColor);
|
|
101
92
|
--pf-v5-c-alert__icon--Color: var(--pf-v5-c-alert--m-custom__icon--Color);
|
|
102
93
|
--pf-v5-c-alert__title--Color: var(--pf-v5-c-alert--m-custom__title--Color);
|
|
103
|
-
--pf-v5-c-alert--m-inline--BackgroundColor: var(--pf-v5-c-alert--m-inline--m-custom--BackgroundColor);
|
|
104
94
|
}
|
|
105
95
|
.pf-v5-c-alert.pf-m-success {
|
|
106
|
-
--pf-v5-c-alert--
|
|
96
|
+
--pf-v5-c-alert--BorderColor: var(--pf-v5-c-alert--m-success--BorderColor);
|
|
107
97
|
--pf-v5-c-alert__icon--Color: var(--pf-v5-c-alert--m-success__icon--Color);
|
|
108
98
|
--pf-v5-c-alert__title--Color: var(--pf-v5-c-alert--m-success__title--Color);
|
|
109
|
-
--pf-v5-c-alert--m-inline--BackgroundColor: var(--pf-v5-c-alert--m-inline--m-success--BackgroundColor);
|
|
110
99
|
}
|
|
111
100
|
.pf-v5-c-alert.pf-m-danger {
|
|
112
|
-
--pf-v5-c-alert--
|
|
101
|
+
--pf-v5-c-alert--BorderColor: var(--pf-v5-c-alert--m-danger--BorderColor);
|
|
113
102
|
--pf-v5-c-alert__icon--Color: var(--pf-v5-c-alert--m-danger__icon--Color);
|
|
114
103
|
--pf-v5-c-alert__title--Color: var(--pf-v5-c-alert--m-danger__title--Color);
|
|
115
|
-
--pf-v5-c-alert--m-inline--BackgroundColor: var(--pf-v5-c-alert--m-inline--m-danger--BackgroundColor);
|
|
116
104
|
}
|
|
117
105
|
.pf-v5-c-alert.pf-m-warning {
|
|
118
|
-
--pf-v5-c-alert--
|
|
106
|
+
--pf-v5-c-alert--BorderColor: var(--pf-v5-c-alert--m-warning--BorderColor);
|
|
119
107
|
--pf-v5-c-alert__icon--Color: var(--pf-v5-c-alert--m-warning__icon--Color);
|
|
120
108
|
--pf-v5-c-alert__title--Color: var(--pf-v5-c-alert--m-warning__title--Color);
|
|
121
|
-
--pf-v5-c-alert--m-inline--BackgroundColor: var(--pf-v5-c-alert--m-inline--m-warning--BackgroundColor);
|
|
122
109
|
}
|
|
123
110
|
.pf-v5-c-alert.pf-m-info {
|
|
124
|
-
--pf-v5-c-alert--
|
|
111
|
+
--pf-v5-c-alert--BorderColor: var(--pf-v5-c-alert--m-info--BorderColor);
|
|
125
112
|
--pf-v5-c-alert__icon--Color: var(--pf-v5-c-alert--m-info__icon--Color);
|
|
126
113
|
--pf-v5-c-alert__title--Color: var(--pf-v5-c-alert--m-info__title--Color);
|
|
127
|
-
--pf-v5-c-alert--m-inline--BackgroundColor: var(--pf-v5-c-alert--m-inline--m-info--BackgroundColor);
|
|
128
114
|
}
|
|
129
115
|
.pf-v5-c-alert.pf-m-inline {
|
|
130
116
|
--pf-v5-c-alert--BoxShadow: var(--pf-v5-c-alert--m-inline--BoxShadow);
|
|
131
117
|
--pf-v5-c-alert--BackgroundColor: var(--pf-v5-c-alert--m-inline--BackgroundColor);
|
|
132
118
|
}
|
|
133
119
|
.pf-v5-c-alert.pf-m-plain {
|
|
134
|
-
--pf-v5-c-alert--
|
|
120
|
+
--pf-v5-c-alert--BorderWidth: var(--pf-v5-c-alert--m-inline--m-plain--BorderWidth);
|
|
135
121
|
--pf-v5-c-alert--BackgroundColor: var(--pf-v5-c-alert--m-inline--m-plain--BackgroundColor);
|
|
136
122
|
--pf-v5-c-alert--PaddingTop: var(--pf-v5-c-alert--m-inline--m-plain--PaddingTop);
|
|
137
123
|
--pf-v5-c-alert--PaddingRight: var(--pf-v5-c-alert--m-inline--m-plain--PaddingRight);
|
|
@@ -151,7 +137,7 @@
|
|
|
151
137
|
.pf-v5-c-alert__toggle {
|
|
152
138
|
margin-block-start: var(--pf-v5-c-alert__toggle--MarginTop);
|
|
153
139
|
margin-block-end: var(--pf-v5-c-alert__toggle--MarginBottom);
|
|
154
|
-
margin-inline-
|
|
140
|
+
margin-inline-end: var(--pf-v5-c-alert__toggle--MarginRight);
|
|
155
141
|
}
|
|
156
142
|
|
|
157
143
|
.pf-v5-c-alert__toggle-icon {
|
|
@@ -174,7 +160,10 @@
|
|
|
174
160
|
|
|
175
161
|
.pf-v5-c-alert__title {
|
|
176
162
|
grid-area: title;
|
|
163
|
+
font-family: var(--pf-v5-c-alert__title--FontFamily);
|
|
164
|
+
font-size: var(--pf-v5-c-alert__title--FontSize);
|
|
177
165
|
font-weight: var(--pf-v5-c-alert__title--FontWeight);
|
|
166
|
+
line-height: var(--pf-v5-c-alert__title--LineHeight);
|
|
178
167
|
color: var(--pf-v5-c-alert__title--Color);
|
|
179
168
|
word-break: break-word;
|
|
180
169
|
}
|
|
@@ -214,18 +203,4 @@
|
|
|
214
203
|
}
|
|
215
204
|
.pf-v5-c-alert__action-group > .pf-v5-c-button:not(:last-child) {
|
|
216
205
|
margin-inline-end: var(--pf-v5-c-alert__action-group__c-button--not-last-child--MarginRight);
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
:where(.pf-v5-theme-dark) .pf-v5-c-alert {
|
|
220
|
-
--pf-v5-c-alert--BackgroundColor: var(--pf-v5-global--BackgroundColor--300);
|
|
221
|
-
--pf-v5-c-alert--m-custom__title--Color: var(--pf-v5-global--custom-color--200);
|
|
222
|
-
--pf-v5-c-alert--m-success__title--Color: var(--pf-v5-global--success-color--100);
|
|
223
|
-
--pf-v5-c-alert--m-danger__title--Color: var(--pf-v5-global--danger-color--100);
|
|
224
|
-
--pf-v5-c-alert--m-warning__title--Color: var(--pf-v5-global--warning-color--100);
|
|
225
|
-
--pf-v5-c-alert--m-info__title--Color: var(--pf-v5-global--info-color--100);
|
|
226
|
-
--pf-v5-c-alert--m-inline--m-custom--BackgroundColor: var(--pf-v5-global--BackgroundColor--300);
|
|
227
|
-
--pf-v5-c-alert--m-inline--m-success--BackgroundColor: var(--pf-v5-global--BackgroundColor--300);
|
|
228
|
-
--pf-v5-c-alert--m-inline--m-danger--BackgroundColor: var(--pf-v5-global--BackgroundColor--300);
|
|
229
|
-
--pf-v5-c-alert--m-inline--m-warning--BackgroundColor: var(--pf-v5-global--BackgroundColor--300);
|
|
230
|
-
--pf-v5-c-alert--m-inline--m-info--BackgroundColor: var(--pf-v5-global--BackgroundColor--300);
|
|
231
206
|
}
|
|
@@ -1,103 +1,95 @@
|
|
|
1
1
|
// @debug $alert; // check your variable names located in src/patternfly/sass-utilities/component-namespaces.scss
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// TODO create a token for --#{$pf-global}--spacer--form-element ?
|
|
4
|
+
|
|
5
|
+
:root {
|
|
4
6
|
// Alert variables
|
|
5
|
-
--#{$alert}--BoxShadow: var(
|
|
6
|
-
--#{$alert}--BackgroundColor: var(
|
|
7
|
+
--#{$alert}--BoxShadow: var(--pf-t--global--box-shadow--lg);
|
|
8
|
+
--#{$alert}--BackgroundColor: var(--pf-t--global--background--color--floating--default);
|
|
7
9
|
--#{$alert}--GridTemplateColumns: max-content 1fr max-content;
|
|
8
10
|
--#{$alert}--GridTemplateAreas:
|
|
9
11
|
"icon title action"
|
|
10
12
|
". description description"
|
|
11
13
|
". actiongroup actiongroup";
|
|
12
|
-
--#{$alert}--
|
|
13
|
-
--#{$alert}--
|
|
14
|
-
--#{$alert}--
|
|
15
|
-
--#{$alert}--
|
|
16
|
-
--#{$alert}--
|
|
17
|
-
--#{$alert}--
|
|
18
|
-
--#{$alert}
|
|
14
|
+
--#{$alert}--BorderWidth: var(--pf-t--global--border--width--box--status--default);
|
|
15
|
+
--#{$alert}--BorderColor: transparent;
|
|
16
|
+
--#{$alert}--BorderRadius: var(--pf-t--global--border--radius--medium);
|
|
17
|
+
--#{$alert}--PaddingTop: var(--pf-t--global--spacer--md);
|
|
18
|
+
--#{$alert}--PaddingRight: var(--pf-t--global--spacer--md);
|
|
19
|
+
--#{$alert}--PaddingBottom: var(--pf-t--global--spacer--md);
|
|
20
|
+
--#{$alert}--PaddingLeft: var(--pf-t--global--spacer--md);
|
|
21
|
+
--#{$alert}--FontSize: var(--pf-t--global--font--size--body--default);
|
|
19
22
|
|
|
20
23
|
// Toggle
|
|
21
24
|
--#{$alert}__toggle--MarginTop: calc(-1 * var(--#{$pf-global}--spacer--form-element) - #{pf-size-prem(1px)});
|
|
22
25
|
--#{$alert}__toggle--MarginBottom: calc(-1 * var(--#{$pf-global}--spacer--form-element));
|
|
23
|
-
--#{$alert}__toggle--
|
|
26
|
+
--#{$alert}__toggle--MarginRight: var(--pf-t--global--spacer--sm);
|
|
24
27
|
|
|
25
28
|
// Toggle icon
|
|
26
29
|
--#{$alert}__toggle-icon--Rotate: 0;
|
|
27
30
|
--#{$alert}__toggle-icon--Transition: var(--#{$pf-global}--Transition);
|
|
28
31
|
|
|
29
32
|
// Icon
|
|
30
|
-
--#{$alert}__icon--Color: var(
|
|
31
|
-
--#{$alert}__icon--MarginTop: #{pf-size-prem(
|
|
32
|
-
--#{$alert}__icon--MarginRight: var(
|
|
33
|
-
--#{$alert}__icon--FontSize: var(
|
|
33
|
+
--#{$alert}__icon--Color: var(--pf-t--global--icon--color--regular);
|
|
34
|
+
--#{$alert}__icon--MarginTop: #{pf-size-prem(4px)};
|
|
35
|
+
--#{$alert}__icon--MarginRight: var(--pf-t--global--spacer--sm);
|
|
36
|
+
--#{$alert}__icon--FontSize: var(--pf-t--global--icon--size--md);
|
|
34
37
|
|
|
35
38
|
// Title
|
|
36
|
-
--#{$alert}__title--
|
|
37
|
-
--#{$alert}__title--
|
|
39
|
+
--#{$alert}__title--FontFamily: var(--pf-t--global--font--family--heading);
|
|
40
|
+
--#{$alert}__title--FontSize: var(--pf-t--global--font--size--heading--xs);
|
|
41
|
+
--#{$alert}__title--FontWeight: var(--pf-t--global--font--weight--heading);
|
|
42
|
+
--#{$alert}__title--LineHeight: var(--pf-t--global--font--line-height--heading);
|
|
43
|
+
--#{$alert}__title--Color: var(--pf-t--global--text--color--regular);
|
|
38
44
|
--#{$alert}__title--max-lines: 1;
|
|
39
45
|
|
|
40
46
|
// Action
|
|
41
47
|
--#{$alert}__action--MarginTop: calc(var(--#{$pf-global}--spacer--form-element) * -1);
|
|
42
48
|
--#{$alert}__action--MarginBottom: calc(var(--#{$pf-global}--spacer--form-element) * -1);
|
|
43
49
|
--#{$alert}__action--TranslateY: #{pf-size-prem(2px)};
|
|
44
|
-
--#{$alert}__action--MarginRight: calc(var(
|
|
50
|
+
--#{$alert}__action--MarginRight: calc(var(--pf-t--global--spacer--sm) * -1);
|
|
45
51
|
|
|
46
52
|
// Description
|
|
47
|
-
--#{$alert}__description--PaddingTop: var(
|
|
53
|
+
--#{$alert}__description--PaddingTop: var(--pf-t--global--spacer--xs);
|
|
48
54
|
|
|
49
55
|
// Action group
|
|
50
|
-
--#{$alert}__action-group--PaddingTop-base: var(
|
|
56
|
+
--#{$alert}__action-group--PaddingTop-base: var(--pf-t--global--spacer--xs);
|
|
51
57
|
--#{$alert}__action-group--PaddingTop: var(--#{$alert}__action-group--PaddingTop-base);
|
|
52
|
-
--#{$alert}__description--action-group--PaddingTop-base: var(
|
|
58
|
+
--#{$alert}__description--action-group--PaddingTop-base: var(--pf-t--global--spacer--sm);
|
|
53
59
|
--#{$alert}__description--action-group--PaddingTop: var(--#{$alert}__description--action-group--PaddingTop-base);
|
|
54
|
-
--#{$alert}__action-group__c-button--not-last-child--MarginRight: var(
|
|
60
|
+
--#{$alert}__action-group__c-button--not-last-child--MarginRight: var(--pf-t--global--spacer--lg);
|
|
55
61
|
|
|
56
62
|
// Custom
|
|
57
|
-
--#{$alert}--m-custom--
|
|
58
|
-
--#{$alert}--m-custom__icon--Color: var(
|
|
59
|
-
--#{$alert}--m-custom__title--Color: var(
|
|
63
|
+
--#{$alert}--m-custom--BorderColor: var(--pf-t--global--border--color--status--custom--default);
|
|
64
|
+
--#{$alert}--m-custom__icon--Color: var(--pf-t--global--icon--color--status--custom--default);
|
|
65
|
+
--#{$alert}--m-custom__title--Color: var(--pf-t--global--text--color--regular);
|
|
60
66
|
|
|
61
67
|
// Success
|
|
62
|
-
--#{$alert}--m-success--
|
|
63
|
-
--#{$alert}--m-success__icon--Color: var(
|
|
64
|
-
--#{$alert}--m-success__title--Color: var(
|
|
68
|
+
--#{$alert}--m-success--BorderColor: var(--pf-t--global--border--color--status--success--default);
|
|
69
|
+
--#{$alert}--m-success__icon--Color: var(--pf-t--global--icon--color--status--success--default);
|
|
70
|
+
--#{$alert}--m-success__title--Color: var(--pf-t--global--text--color--regular);
|
|
65
71
|
|
|
66
72
|
// Danger
|
|
67
|
-
--#{$alert}--m-danger--
|
|
68
|
-
--#{$alert}--m-danger__icon--Color: var(
|
|
69
|
-
--#{$alert}--m-danger__title--Color: var(
|
|
73
|
+
--#{$alert}--m-danger--BorderColor: var(--pf-t--global--border--color--status--danger--default);
|
|
74
|
+
--#{$alert}--m-danger__icon--Color: var(--pf-t--global--icon--color--status--danger--default);
|
|
75
|
+
--#{$alert}--m-danger__title--Color: var(--pf-t--global--text--color--regular);
|
|
70
76
|
|
|
71
77
|
// Warning
|
|
72
|
-
--#{$alert}--m-warning--
|
|
73
|
-
--#{$alert}--m-warning__icon--Color: var(
|
|
74
|
-
--#{$alert}--m-warning__title--Color: var(
|
|
78
|
+
--#{$alert}--m-warning--BorderColor: var(--pf-t--global--border--color--status--warning--default);
|
|
79
|
+
--#{$alert}--m-warning__icon--Color: var(--pf-t--global--icon--color--status--warning--default);
|
|
80
|
+
--#{$alert}--m-warning__title--Color: var(--pf-t--global--text--color--regular);
|
|
75
81
|
|
|
76
82
|
// Info
|
|
77
|
-
--#{$alert}--m-info--
|
|
78
|
-
--#{$alert}--m-info__icon--Color: var(
|
|
79
|
-
--#{$alert}--m-info__title--Color: var(
|
|
83
|
+
--#{$alert}--m-info--BorderColor: var(--pf-t--global--border--color--status--info--default);
|
|
84
|
+
--#{$alert}--m-info__icon--Color: var(--pf-t--global--icon--color--status--info--default);
|
|
85
|
+
--#{$alert}--m-info__title--Color: var(--pf-t--global--text--color--regular);
|
|
80
86
|
|
|
81
87
|
// Inline
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
// Inline custom
|
|
85
|
-
--#{$alert}--m-inline--m-custom--BackgroundColor: var(--#{$pf-global}--palette--cyan-50);
|
|
86
|
-
|
|
87
|
-
// Inline success
|
|
88
|
-
--#{$alert}--m-inline--m-success--BackgroundColor: var(--#{$pf-global}--palette--green-50);
|
|
89
|
-
|
|
90
|
-
// Inline danger
|
|
91
|
-
--#{$alert}--m-inline--m-danger--BackgroundColor: var(--#{$pf-global}--palette--red-50);
|
|
92
|
-
|
|
93
|
-
// Inline warning
|
|
94
|
-
--#{$alert}--m-inline--m-warning--BackgroundColor: var(--#{$pf-global}--palette--gold-50);
|
|
95
|
-
|
|
96
|
-
// Inline info
|
|
97
|
-
--#{$alert}--m-inline--m-info--BackgroundColor: var(--#{$pf-global}--palette--blue-50);
|
|
88
|
+
--#{$alert}--m-inline--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
89
|
+
--#{$alert}--m-inline--BoxShadow: none;
|
|
98
90
|
|
|
99
91
|
// Inline plain
|
|
100
|
-
--#{$alert}--m-inline--m-plain--
|
|
92
|
+
--#{$alert}--m-inline--m-plain--BorderWidth: 0;
|
|
101
93
|
--#{$alert}--m-inline--m-plain--BackgroundColor: transparent;
|
|
102
94
|
--#{$alert}--m-inline--m-plain--PaddingTop: 0;
|
|
103
95
|
--#{$alert}--m-inline--m-plain--PaddingRight: 0;
|
|
@@ -115,9 +107,9 @@
|
|
|
115
107
|
// Expanded
|
|
116
108
|
--#{$alert}--m-expanded__toggle-icon--Rotate: 90deg;
|
|
117
109
|
--#{$alert}--m-expanded__description--action-group--PaddingTop: var(--#{$alert}__description--action-group--PaddingTop-base);
|
|
110
|
+
}
|
|
118
111
|
|
|
119
|
-
|
|
120
|
-
|
|
112
|
+
.#{$alert} {
|
|
121
113
|
position: relative;
|
|
122
114
|
display: grid;
|
|
123
115
|
grid-template-areas: var(--#{$alert}--GridTemplateAreas);
|
|
@@ -126,44 +118,40 @@
|
|
|
126
118
|
padding-block-end: var(--#{$alert}--PaddingBottom);
|
|
127
119
|
padding-inline-start: var(--#{$alert}--PaddingLeft);
|
|
128
120
|
padding-inline-end: var(--#{$alert}--PaddingRight);
|
|
129
|
-
font-size: var(--#{$alert}
|
|
121
|
+
font-size: var(--#{$alert}--FontSize);
|
|
130
122
|
background-color: var(--#{$alert}--BackgroundColor);
|
|
131
|
-
border
|
|
123
|
+
border: var(--#{$alert}--BorderWidth) solid var(--#{$alert}--BorderColor);
|
|
124
|
+
border-radius: var(--#{$alert}--BorderRadius);
|
|
132
125
|
box-shadow: var(--#{$alert}--BoxShadow);
|
|
133
126
|
|
|
134
127
|
&.pf-m-custom {
|
|
135
|
-
--#{$alert}--
|
|
128
|
+
--#{$alert}--BorderColor: var(--#{$alert}--m-custom--BorderColor);
|
|
136
129
|
--#{$alert}__icon--Color: var(--#{$alert}--m-custom__icon--Color);
|
|
137
130
|
--#{$alert}__title--Color: var(--#{$alert}--m-custom__title--Color);
|
|
138
|
-
--#{$alert}--m-inline--BackgroundColor: var(--#{$alert}--m-inline--m-custom--BackgroundColor);
|
|
139
131
|
}
|
|
140
132
|
|
|
141
133
|
&.pf-m-success {
|
|
142
|
-
--#{$alert}--
|
|
134
|
+
--#{$alert}--BorderColor: var(--#{$alert}--m-success--BorderColor);
|
|
143
135
|
--#{$alert}__icon--Color: var(--#{$alert}--m-success__icon--Color);
|
|
144
136
|
--#{$alert}__title--Color: var(--#{$alert}--m-success__title--Color);
|
|
145
|
-
|
|
146
|
-
}
|
|
137
|
+
}
|
|
147
138
|
|
|
148
139
|
&.pf-m-danger {
|
|
149
|
-
--#{$alert}--
|
|
140
|
+
--#{$alert}--BorderColor: var(--#{$alert}--m-danger--BorderColor);
|
|
150
141
|
--#{$alert}__icon--Color: var(--#{$alert}--m-danger__icon--Color);
|
|
151
142
|
--#{$alert}__title--Color: var(--#{$alert}--m-danger__title--Color);
|
|
152
|
-
--#{$alert}--m-inline--BackgroundColor: var(--#{$alert}--m-inline--m-danger--BackgroundColor);
|
|
153
143
|
}
|
|
154
144
|
|
|
155
145
|
&.pf-m-warning {
|
|
156
|
-
--#{$alert}--
|
|
146
|
+
--#{$alert}--BorderColor: var(--#{$alert}--m-warning--BorderColor);
|
|
157
147
|
--#{$alert}__icon--Color: var(--#{$alert}--m-warning__icon--Color);
|
|
158
148
|
--#{$alert}__title--Color: var(--#{$alert}--m-warning__title--Color);
|
|
159
|
-
--#{$alert}--m-inline--BackgroundColor: var(--#{$alert}--m-inline--m-warning--BackgroundColor);
|
|
160
149
|
}
|
|
161
150
|
|
|
162
151
|
&.pf-m-info {
|
|
163
|
-
--#{$alert}--
|
|
152
|
+
--#{$alert}--BorderColor: var(--#{$alert}--m-info--BorderColor);
|
|
164
153
|
--#{$alert}__icon--Color: var(--#{$alert}--m-info__icon--Color);
|
|
165
154
|
--#{$alert}__title--Color: var(--#{$alert}--m-info__title--Color);
|
|
166
|
-
--#{$alert}--m-inline--BackgroundColor: var(--#{$alert}--m-inline--m-info--BackgroundColor);
|
|
167
155
|
}
|
|
168
156
|
|
|
169
157
|
&.pf-m-inline {
|
|
@@ -172,7 +160,7 @@
|
|
|
172
160
|
}
|
|
173
161
|
|
|
174
162
|
&.pf-m-plain {
|
|
175
|
-
--#{$alert}--
|
|
163
|
+
--#{$alert}--BorderWidth: var(--#{$alert}--m-inline--m-plain--BorderWidth);
|
|
176
164
|
--#{$alert}--BackgroundColor: var(--#{$alert}--m-inline--m-plain--BackgroundColor);
|
|
177
165
|
--#{$alert}--PaddingTop: var(--#{$alert}--m-inline--m-plain--PaddingTop);
|
|
178
166
|
--#{$alert}--PaddingRight: var(--#{$alert}--m-inline--m-plain--PaddingRight);
|
|
@@ -195,7 +183,7 @@
|
|
|
195
183
|
.#{$alert}__toggle {
|
|
196
184
|
margin-block-start: var(--#{$alert}__toggle--MarginTop);
|
|
197
185
|
margin-block-end: var(--#{$alert}__toggle--MarginBottom);
|
|
198
|
-
margin-inline-
|
|
186
|
+
margin-inline-end: var(--#{$alert}__toggle--MarginRight);
|
|
199
187
|
}
|
|
200
188
|
|
|
201
189
|
.#{$alert}__toggle-icon {
|
|
@@ -217,7 +205,10 @@
|
|
|
217
205
|
|
|
218
206
|
.#{$alert}__title {
|
|
219
207
|
grid-area: title;
|
|
208
|
+
font-family: var(--#{$alert}__title--FontFamily);
|
|
209
|
+
font-size: var(--#{$alert}__title--FontSize);
|
|
220
210
|
font-weight: var(--#{$alert}__title--FontWeight);
|
|
211
|
+
line-height: var(--#{$alert}__title--LineHeight);
|
|
221
212
|
color: var(--#{$alert}__title--Color);
|
|
222
213
|
word-break: break-word;
|
|
223
214
|
|
|
@@ -260,10 +251,3 @@
|
|
|
260
251
|
}
|
|
261
252
|
}
|
|
262
253
|
}
|
|
263
|
-
|
|
264
|
-
// stylelint-disable no-invalid-position-at-import-rule
|
|
265
|
-
@import "themes/dark/alert";
|
|
266
|
-
|
|
267
|
-
@include pf-v5-theme-dark {
|
|
268
|
-
@include pf-v5-theme-dark-alert;
|
|
269
|
-
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
.pf-v5-c-avatar {
|
|
1
|
+
:root, .pf-v5-c-avatar {
|
|
2
2
|
--pf-v5-c-avatar--BorderColor: transparent;
|
|
3
3
|
--pf-v5-c-avatar--BorderWidth: 0;
|
|
4
|
-
--pf-v5-c-avatar--BorderRadius: var(--pf-
|
|
4
|
+
--pf-v5-c-avatar--BorderRadius: var(--pf-t--global--border--radius--pill);
|
|
5
5
|
--pf-v5-c-avatar--Width: 2.25rem;
|
|
6
6
|
--pf-v5-c-avatar--Height: 2.25rem;
|
|
7
7
|
--pf-v5-c-avatar--m-sm--Width: 1.5rem;
|
|
@@ -12,22 +12,19 @@
|
|
|
12
12
|
--pf-v5-c-avatar--m-lg--Height: 4.5rem;
|
|
13
13
|
--pf-v5-c-avatar--m-xl--Width: 8rem;
|
|
14
14
|
--pf-v5-c-avatar--m-xl--Height: 8rem;
|
|
15
|
-
--pf-v5-c-avatar--m-
|
|
16
|
-
--pf-v5-c-avatar--m-
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
--pf-v5-c-avatar--m-bordered--BorderColor: var(--pf-t--global--border--color--default);
|
|
16
|
+
--pf-v5-c-avatar--m-bordered--BorderWidth: var(--pf-t--global--border--width--box--default);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.pf-v5-c-avatar {
|
|
19
20
|
width: var(--pf-v5-c-avatar--Width);
|
|
20
21
|
height: var(--pf-v5-c-avatar--Height);
|
|
21
22
|
border: var(--pf-v5-c-avatar--BorderWidth) solid var(--pf-v5-c-avatar--BorderColor);
|
|
22
23
|
border-radius: var(--pf-v5-c-avatar--BorderRadius);
|
|
23
24
|
}
|
|
24
|
-
.pf-v5-c-avatar.pf-m-
|
|
25
|
-
--pf-v5-c-avatar--BorderColor: var(--pf-v5-c-avatar--m-
|
|
26
|
-
--pf-v5-c-avatar--BorderWidth: var(--pf-v5-c-avatar--m-
|
|
27
|
-
}
|
|
28
|
-
.pf-v5-c-avatar.pf-m-dark {
|
|
29
|
-
--pf-v5-c-avatar--BorderColor: var(--pf-v5-c-avatar--m-dark--BorderColor);
|
|
30
|
-
--pf-v5-c-avatar--BorderWidth: var(--pf-v5-c-avatar--m-dark--BorderWidth);
|
|
25
|
+
.pf-v5-c-avatar.pf-m-bordered {
|
|
26
|
+
--pf-v5-c-avatar--BorderColor: var(--pf-v5-c-avatar--m-bordered--BorderColor);
|
|
27
|
+
--pf-v5-c-avatar--BorderWidth: var(--pf-v5-c-avatar--m-bordered--BorderWidth);
|
|
31
28
|
}
|
|
32
29
|
.pf-v5-c-avatar.pf-m-sm {
|
|
33
30
|
--pf-v5-c-avatar--Width: var(--pf-v5-c-avatar--m-sm--Width);
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
$pf-v5-c-avatar--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg", "xl", "2xl");
|
|
3
3
|
$pf-v5-c-avatar--sizes: "sm", "md", "lg", "xl";
|
|
4
4
|
|
|
5
|
-
.#{$avatar} {
|
|
5
|
+
:root, .#{$avatar} {
|
|
6
6
|
--#{$avatar}--BorderColor: transparent;
|
|
7
7
|
--#{$avatar}--BorderWidth: 0;
|
|
8
|
-
--#{$avatar}--BorderRadius: var(
|
|
8
|
+
--#{$avatar}--BorderRadius: var(--pf-t--global--border--radius--pill);
|
|
9
9
|
--#{$avatar}--Width: #{pf-size-prem(36px)};
|
|
10
10
|
--#{$avatar}--Height: #{pf-size-prem(36px)};
|
|
11
11
|
--#{$avatar}--m-sm--Width: #{pf-size-prem(24px)};
|
|
@@ -17,27 +17,20 @@ $pf-v5-c-avatar--sizes: "sm", "md", "lg", "xl";
|
|
|
17
17
|
--#{$avatar}--m-xl--Width: #{pf-size-prem(128px)};
|
|
18
18
|
--#{$avatar}--m-xl--Height: #{pf-size-prem(128px)};
|
|
19
19
|
|
|
20
|
-
//
|
|
21
|
-
--#{$avatar}--m-
|
|
22
|
-
--#{$avatar}--m-
|
|
23
|
-
|
|
24
|
-
// Dark
|
|
25
|
-
--#{$avatar}--m-dark--BorderColor: var(--#{$pf-global}--palette--black-700);
|
|
26
|
-
--#{$avatar}--m-dark--BorderWidth: var(--#{$pf-global}--BorderWidth--sm);
|
|
20
|
+
// Bordered
|
|
21
|
+
--#{$avatar}--m-bordered--BorderColor: var(--pf-t--global--border--color--default);
|
|
22
|
+
--#{$avatar}--m-bordered--BorderWidth: var(--pf-t--global--border--width--box--default);
|
|
23
|
+
}
|
|
27
24
|
|
|
25
|
+
.#{$avatar} {
|
|
28
26
|
width: var(--#{$avatar}--Width);
|
|
29
27
|
height: var(--#{$avatar}--Height);
|
|
30
28
|
border: var(--#{$avatar}--BorderWidth) solid var(--#{$avatar}--BorderColor);
|
|
31
29
|
border-radius: var(--#{$avatar}--BorderRadius);
|
|
32
30
|
|
|
33
|
-
&.pf-m-
|
|
34
|
-
--#{$avatar}--BorderColor: var(--#{$avatar}--m-
|
|
35
|
-
--#{$avatar}--BorderWidth: var(--#{$avatar}--m-
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
&.pf-m-dark {
|
|
39
|
-
--#{$avatar}--BorderColor: var(--#{$avatar}--m-dark--BorderColor);
|
|
40
|
-
--#{$avatar}--BorderWidth: var(--#{$avatar}--m-dark--BorderWidth);
|
|
31
|
+
&.pf-m-bordered {
|
|
32
|
+
--#{$avatar}--BorderColor: var(--#{$avatar}--m-bordered--BorderColor);
|
|
33
|
+
--#{$avatar}--BorderWidth: var(--#{$avatar}--m-bordered--BorderWidth);
|
|
41
34
|
}
|
|
42
35
|
|
|
43
36
|
@each $size in $pf-v5-c-avatar--sizes {
|
|
@@ -1,29 +1,30 @@
|
|
|
1
|
-
|
|
2
|
-
--pf-v5-c-back-to-top--Right: var(--pf-
|
|
3
|
-
--pf-v5-c-back-to-top--Bottom: var(--pf-
|
|
4
|
-
--pf-v5-c-back-to-top--md--Bottom: var(--pf-
|
|
5
|
-
--pf-v5-c-back-to-top--c-button--FontSize: var(--pf-
|
|
6
|
-
--pf-v5-c-back-to-top--c-button--
|
|
7
|
-
--pf-v5-c-back-to-top--c-button--
|
|
8
|
-
--pf-v5-c-back-to-top--c-button--
|
|
9
|
-
--pf-v5-c-back-to-top--c-button--
|
|
10
|
-
--pf-v5-c-back-to-top--c-button--
|
|
11
|
-
--pf-v5-c-back-to-top--c-button--BoxShadow: var(--pf-v5-global--BoxShadow--lg-bottom);
|
|
12
|
-
position: absolute;
|
|
13
|
-
inset-block-end: var(--pf-v5-c-back-to-top--Bottom);
|
|
14
|
-
inset-inline-end: var(--pf-v5-c-back-to-top--Right);
|
|
1
|
+
:root {
|
|
2
|
+
--pf-v5-c-back-to-top--Right: var(--pf-t--global--spacer--2xl);
|
|
3
|
+
--pf-v5-c-back-to-top--Bottom: var(--pf-t--global--spacer--lg);
|
|
4
|
+
--pf-v5-c-back-to-top--md--Bottom: var(--pf-t--global--spacer--2xl);
|
|
5
|
+
--pf-v5-c-back-to-top--c-button--FontSize: var(--pf-t--global--font--size--body--sm);
|
|
6
|
+
--pf-v5-c-back-to-top--c-button--PaddingTop: var(--pf-t--global--spacer--xs);
|
|
7
|
+
--pf-v5-c-back-to-top--c-button--PaddingRight: var(--pf-t--global--spacer--sm);
|
|
8
|
+
--pf-v5-c-back-to-top--c-button--PaddingBottom: var(--pf-t--global--spacer--xs);
|
|
9
|
+
--pf-v5-c-back-to-top--c-button--PaddingLeft: var(--pf-t--global--spacer--sm);
|
|
10
|
+
--pf-v5-c-back-to-top--c-button--BoxShadow: var(--pf-t--global--box-shadow--sm);
|
|
15
11
|
}
|
|
16
12
|
@media (min-width: 768px) {
|
|
17
|
-
|
|
13
|
+
:root {
|
|
18
14
|
--pf-v5-c-back-to-top--Bottom: var(--pf-v5-c-back-to-top--md--Bottom);
|
|
19
15
|
}
|
|
20
16
|
}
|
|
17
|
+
|
|
18
|
+
.pf-v5-c-back-to-top {
|
|
19
|
+
position: absolute;
|
|
20
|
+
inset-block-end: var(--pf-v5-c-back-to-top--Bottom);
|
|
21
|
+
inset-inline-end: var(--pf-v5-c-back-to-top--Right);
|
|
22
|
+
}
|
|
21
23
|
.pf-v5-c-back-to-top.pf-m-hidden {
|
|
22
24
|
display: none;
|
|
23
25
|
}
|
|
24
26
|
.pf-v5-c-back-to-top .pf-v5-c-button {
|
|
25
27
|
--pf-v5-c-button--FontSize: var(--pf-v5-c-back-to-top--c-button--FontSize);
|
|
26
|
-
--pf-v5-c-button--BorderRadius: var(--pf-v5-c-back-to-top--c-button--BorderRadius);
|
|
27
28
|
--pf-v5-c-button--PaddingTop: var(--pf-v5-c-back-to-top--c-button--PaddingTop);
|
|
28
29
|
--pf-v5-c-button--PaddingRight: var(--pf-v5-c-back-to-top--c-button--PaddingRight);
|
|
29
30
|
--pf-v5-c-button--PaddingBottom: var(--pf-v5-c-back-to-top--c-button--PaddingBottom);
|