@patternfly/patternfly 6.0.0-alpha.2 → 6.0.0-alpha.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -3
- package/assets/icons/iconUnicodes.json +1 -0
- package/assets/images/PF-Backdrop.svg +1 -0
- package/assets/images/PF-IconLogo-Reverse.svg +14 -0
- package/assets/images/PF-IconLogo.svg +17 -0
- package/assets/images/logo__pf--reverse-on-md.svg +1 -1
- 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/assets/pficon/pf-v5-pficon.woff2 +0 -0
- package/assets/pficon/pficon.scss +6 -129
- package/base/_common.scss +29 -4
- package/base/_globals.scss +15 -24
- package/base/_variables.scss +8 -0
- package/base/patternfly-common.css +24 -6
- package/base/patternfly-globals.css +15 -20
- package/base/patternfly-icons.css +5 -1
- package/base/patternfly-pf-icons.css +5 -1
- package/base/patternfly-variables.css +385 -222
- package/base/tokens/_tokens-dark.scss +117 -82
- package/base/tokens/_tokens-default.scss +181 -144
- package/base/tokens/_tokens-font.scss +105 -0
- package/base/tokens/_tokens-palette.scss +2 -4
- package/components/AboutModalBox/about-modal-box.css +80 -108
- package/components/AboutModalBox/about-modal-box.scss +64 -78
- package/components/Accordion/accordion.css +43 -21
- package/components/Accordion/accordion.scss +45 -21
- package/components/ActionList/action-list.css +2 -2
- package/components/ActionList/action-list.scss +2 -2
- package/components/Alert/alert-group.css +27 -20
- package/components/Alert/alert-group.scss +27 -20
- package/components/Alert/alert.css +74 -95
- package/components/Alert/alert.scss +76 -89
- package/components/AppLauncher/app-launcher.css +32 -23
- package/components/AppLauncher/app-launcher.scss +32 -23
- package/components/BackToTop/back-to-top.css +2 -2
- package/components/BackToTop/back-to-top.scss +2 -2
- package/components/Backdrop/backdrop.css +2 -2
- package/components/Backdrop/backdrop.scss +2 -2
- package/components/BackgroundImage/background-image.css +6 -3
- package/components/BackgroundImage/background-image.scss +8 -3
- package/components/Badge/badge.css +25 -17
- package/components/Badge/badge.scss +27 -19
- package/components/Banner/banner.css +5 -5
- package/components/Banner/banner.scss +5 -2
- package/components/Breadcrumb/breadcrumb.css +9 -3
- package/components/Breadcrumb/breadcrumb.scss +8 -3
- package/components/Button/button.css +167 -195
- package/components/Button/button.scss +185 -157
- package/components/Button/themes/dark/button.scss +1 -1
- package/components/CalendarMonth/calendar-month.css +25 -15
- package/components/CalendarMonth/calendar-month.scss +23 -15
- package/components/Card/card.css +25 -17
- package/components/Card/card.scss +24 -17
- package/components/Check/check.css +12 -10
- package/components/Check/check.scss +17 -12
- package/components/Chip/chip-group.css +6 -6
- package/components/Chip/chip-group.scss +6 -6
- package/components/Chip/chip.css +16 -9
- package/components/Chip/chip.scss +17 -9
- package/components/ClipboardCopy/clipboard-copy.css +19 -10
- package/components/ClipboardCopy/clipboard-copy.scss +16 -8
- package/components/ClipboardCopy/themes/dark/clipboard-copy.scss +2 -2
- package/components/CodeBlock/code-block.css +6 -3
- package/components/CodeBlock/code-block.scss +6 -3
- package/components/CodeEditor/code-editor.css +31 -22
- package/components/CodeEditor/code-editor.scss +30 -21
- package/components/CodeEditor/themes/dark/code-editor.scss +1 -1
- package/components/Content/content.css +100 -97
- package/components/Content/content.scss +101 -98
- package/components/ContextSelector/context-selector.css +41 -26
- package/components/ContextSelector/context-selector.scss +40 -25
- package/components/ContextSelector/themes/dark/context-selector.scss +1 -1
- package/components/DataList/data-list-grid.css +21 -21
- package/components/DataList/data-list-grid.scss +3 -3
- package/components/DataList/data-list.css +69 -56
- package/components/DataList/data-list.scss +47 -35
- package/components/DatePicker/date-picker.css +8 -8
- package/components/DatePicker/date-picker.scss +8 -8
- package/components/DescriptionList/description-list.css +8 -5
- package/components/DescriptionList/description-list.scss +8 -5
- package/components/DragDrop/drag-drop.css +8 -8
- package/components/DragDrop/drag-drop.scss +8 -8
- package/components/Drawer/drawer.css +120 -62
- package/components/Drawer/drawer.scss +94 -44
- package/components/Dropdown/dropdown.css +76 -69
- package/components/Dropdown/dropdown.scss +67 -62
- package/components/DualListSelector/dual-list-selector.css +29 -15
- package/components/DualListSelector/dual-list-selector.scss +30 -15
- package/components/EmptyState/empty-state.css +7 -4
- package/components/EmptyState/empty-state.scss +7 -4
- package/components/ExpandableSection/expandable-section.css +17 -10
- package/components/ExpandableSection/expandable-section.scss +15 -10
- package/components/FileUpload/file-upload.css +9 -15
- package/components/FileUpload/file-upload.scss +9 -15
- package/components/Form/form.css +53 -50
- package/components/Form/form.scss +46 -44
- package/components/FormControl/form-control.css +18 -9
- package/components/FormControl/form-control.scss +18 -9
- package/components/HelperText/helper-text.css +1 -1
- package/components/HelperText/helper-text.scss +1 -1
- package/components/Hint/hint.css +37 -27
- package/components/Hint/hint.scss +37 -30
- package/components/Icon/icon.css +1 -1
- package/components/Icon/icon.scss +1 -1
- package/components/InlineEdit/inline-edit.css +4 -4
- package/components/InlineEdit/inline-edit.scss +4 -4
- package/components/InputGroup/input-group.css +12 -6
- package/components/InputGroup/input-group.scss +11 -5
- package/components/InputGroup/themes/dark/input-group.scss +1 -1
- package/components/JumpLinks/jump-links.css +27 -24
- package/components/JumpLinks/jump-links.scss +26 -24
- package/components/Label/label-group.css +13 -10
- package/components/Label/label-group.scss +13 -10
- package/components/Label/label.css +9 -9
- package/components/Label/label.scss +9 -9
- package/components/List/list.css +25 -25
- package/components/List/list.scss +26 -26
- package/components/LogViewer/log-viewer.css +14 -14
- package/components/LogViewer/log-viewer.scss +14 -14
- package/components/Login/login.css +104 -122
- package/components/Login/login.scss +92 -91
- package/components/Masthead/masthead.css +68 -125
- package/components/Masthead/masthead.scss +123 -153
- package/components/Menu/menu.css +82 -65
- package/components/Menu/menu.scss +85 -69
- package/components/MenuToggle/menu-toggle.css +89 -100
- package/components/MenuToggle/menu-toggle.scss +92 -112
- package/components/ModalBox/modal-box.css +76 -69
- package/components/ModalBox/modal-box.scss +74 -70
- package/components/MultipleFileUpload/multiple-file-upload.css +11 -8
- package/components/MultipleFileUpload/multiple-file-upload.scss +11 -8
- package/components/Nav/nav.css +162 -133
- package/components/Nav/nav.scss +162 -135
- package/components/Nav/themes/dark/nav.scss +2 -2
- package/components/NotificationBadge/notification-badge.css +66 -85
- package/components/NotificationBadge/notification-badge.scss +72 -103
- package/components/NotificationDrawer/notification-drawer.css +32 -19
- package/components/NotificationDrawer/notification-drawer.scss +30 -19
- package/components/NumberInput/number-input.css +2 -2
- package/components/NumberInput/number-input.scss +2 -2
- package/components/OptionsMenu/options-menu.css +43 -31
- package/components/OptionsMenu/options-menu.scss +43 -31
- package/components/OverflowMenu/overflow-menu.css +2 -2
- package/components/OverflowMenu/overflow-menu.scss +2 -2
- package/components/Page/page.css +232 -271
- package/components/Page/page.scss +180 -231
- package/components/Pagination/pagination.css +27 -17
- package/components/Pagination/pagination.scss +25 -17
- package/components/Panel/panel.css +13 -7
- package/components/Panel/panel.scss +13 -7
- package/components/Popover/popover.css +72 -40
- package/components/Popover/popover.scss +95 -75
- package/components/Progress/progress.css +9 -7
- package/components/Progress/progress.scss +12 -7
- package/components/ProgressStepper/progress-stepper.css +26 -20
- package/components/ProgressStepper/progress-stepper.scss +25 -19
- package/components/Radio/radio.css +16 -13
- package/components/Radio/radio.scss +20 -14
- package/components/Select/select.css +56 -47
- package/components/Select/select.scss +56 -47
- package/components/Sidebar/sidebar.css +11 -5
- package/components/Sidebar/sidebar.scss +11 -5
- package/components/SimpleList/simple-list.css +10 -4
- package/components/SimpleList/simple-list.scss +10 -4
- package/components/Skeleton/skeleton.css +6 -5
- package/components/Skeleton/skeleton.scss +4 -5
- package/components/SkipToContent/skip-to-content.css +3 -3
- package/components/SkipToContent/skip-to-content.scss +3 -3
- package/components/Slider/slider.css +47 -26
- package/components/Slider/slider.scss +56 -28
- package/components/Switch/switch.css +10 -6
- package/components/Switch/switch.scss +11 -7
- package/components/TabContent/tab-content.css +4 -1
- package/components/TabContent/tab-content.scss +4 -1
- package/components/Table/table-grid.css +264 -203
- package/components/Table/table-grid.scss +61 -47
- package/components/Table/table-scrollable.css +4 -4
- package/components/Table/table-scrollable.scss +6 -4
- package/components/Table/table-tree-view.css +112 -105
- package/components/Table/table-tree-view.scss +38 -33
- package/components/Table/table.css +176 -159
- package/components/Table/table.scss +177 -165
- package/components/Tabs/tabs.css +76 -48
- package/components/Tabs/tabs.scss +74 -48
- package/components/TextInputGroup/text-input-group.css +15 -15
- package/components/TextInputGroup/text-input-group.scss +15 -15
- package/components/Tile/tile.css +10 -10
- package/components/Tile/tile.scss +10 -10
- package/components/Title/title.css +70 -19
- package/components/Title/title.scss +90 -20
- package/components/ToggleGroup/toggle-group.css +14 -11
- package/components/ToggleGroup/toggle-group.scss +14 -11
- package/components/Toolbar/toolbar.css +57 -44
- package/components/Toolbar/toolbar.scss +45 -26
- package/components/Tooltip/tooltip.css +60 -28
- package/components/Tooltip/tooltip.scss +76 -56
- package/components/TreeView/tree-view.css +48 -27
- package/components/TreeView/tree-view.scss +50 -28
- package/components/Truncate/truncate.css +9 -0
- package/components/Truncate/truncate.scss +16 -3
- package/components/Wizard/wizard.css +57 -36
- package/components/Wizard/wizard.scss +57 -36
- package/docs/components/AboutModalBox/examples/AboutModalBox.md +2 -2
- package/docs/components/Accordion/examples/Accordion.md +95 -0
- package/docs/components/Alert/examples/Alert.md +1 -1
- package/docs/components/Badge/examples/Badge.md +21 -0
- package/docs/components/Brand/examples/Brand.css +12 -0
- package/docs/components/Brand/examples/Brand.md +75 -32
- package/docs/components/Button/examples/Button.css +2 -2
- package/docs/components/Button/examples/Button.md +15 -3
- package/docs/components/Card/examples/Card.md +125 -17
- package/docs/components/Check/examples/Check.md +71 -59
- package/docs/components/Chip/examples/Chip.md +1 -1
- package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +106 -0
- package/docs/components/CodeEditor/examples/CodeEditor.md +3 -3
- package/docs/components/DragDrop/examples/DragDrop.css +2 -2
- package/docs/components/Dropdown/deprecated/Dropdown.css +1 -1
- package/docs/components/DualListSelector/examples/DualListSelector.md +64 -16
- package/docs/components/Label/examples/Label.md +1 -1
- package/docs/components/LogViewer/examples/LogViewer.css +2 -2
- package/docs/components/LogViewer/examples/LogViewer.md +250 -160
- package/docs/components/Login/examples/Login.md +5 -0
- package/docs/components/Masthead/examples/masthead.md +7 -54
- package/docs/components/Menu/examples/Menu.css +8 -0
- package/docs/components/Menu/examples/Menu.md +594 -543
- package/docs/components/MenuToggle/examples/MenuToggle.md +151 -138
- package/docs/components/ModalBox/examples/ModalBox.css +3 -8
- package/docs/components/Nav/examples/Navigation.css +3 -25
- package/docs/components/Nav/examples/Navigation.md +239 -113
- package/docs/components/NotificationBadge/examples/NotificationBadge.md +5 -7
- package/docs/components/OptionsMenu/deprecated/options-menu.md +12 -3
- package/docs/components/Page/examples/Page.css +0 -8
- package/docs/components/Page/examples/Page.md +22 -21
- package/docs/components/Popover/examples/Popover.css +4 -9
- package/docs/components/Radio/examples/Radio.md +63 -55
- package/docs/components/Select/deprecated/Select.md +184 -177
- package/docs/components/Table/examples/Table.css +2 -2
- package/docs/components/Table/examples/Table.md +2 -2
- package/docs/components/TextInputGroup/examples/TextInputGroup.css +1 -1
- package/docs/components/TextInputGroup/examples/TextInputGroup.md +9 -9
- package/docs/components/Tile/examples/Tile.css +1 -1
- package/docs/components/Title/examples/Title.md +18 -0
- package/docs/components/Toolbar/examples/Toolbar.md +570 -2803
- package/docs/components/Tooltip/examples/Tooltip.css +4 -0
- package/docs/components/Tooltip/examples/Tooltip.md +3 -1
- package/docs/components/Truncate/examples/Truncate.md +2 -2
- package/docs/demos/AboutModal/examples/AboutModal.md +85 -10
- package/docs/demos/Alert/examples/Alert.md +249 -24
- package/docs/demos/BackToTop/examples/BackToTop.md +83 -8
- package/docs/demos/Banner/examples/Banner.md +168 -16
- package/docs/demos/Card/examples/Card.css +3 -3
- package/docs/demos/Card/examples/Card.md +26 -10
- package/docs/demos/CardView/examples/CardView.md +139 -79
- package/docs/demos/ContextSelector/examples/ContextSelector.md +332 -32
- package/docs/demos/Dashboard/examples/Dashboard.md +86 -11
- package/docs/demos/DataList/examples/DataList.md +524 -354
- package/docs/demos/DescriptionList/examples/DescriptionList.md +249 -24
- package/docs/demos/Drawer/examples/Drawer.md +415 -40
- package/docs/demos/JumpLinks/examples/JumpLinks.md +498 -48
- package/docs/demos/Masthead/examples/Masthead.md +793 -277
- package/docs/demos/Modal/examples/Modal.md +498 -48
- package/docs/demos/Nav/examples/Nav.md +664 -64
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +420 -40
- package/docs/demos/Page/examples/Page.md +747 -72
- package/docs/demos/Page/examples/Penta.md +746 -0
- package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +2 -1
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +824 -451
- package/docs/demos/Skeleton/examples/Skeleton.md +90 -43
- package/docs/demos/Table/examples/Table.md +2313 -1887
- package/docs/demos/Tabs/examples/Tabs.md +528 -71
- package/docs/demos/Toolbar/examples/Toolbar.css +15 -0
- package/docs/demos/Toolbar/examples/Toolbar.md +870 -1044
- package/docs/demos/Wizard/examples/Wizard.md +747 -72
- package/docs/layouts/Flex/examples/Flex.md +5 -5
- package/docs/utilities/BoxShadow/examples/box-shadow.css +5 -5
- package/icons/pficons.mjs +1 -0
- package/layouts/Flex/flex.css +115 -43
- package/layouts/Flex/flex.scss +20 -8
- package/package.json +9 -5
- package/patternfly-addons.css +732 -972
- package/patternfly-base-no-globals-theme-dark-unversioned.css +412 -231
- package/patternfly-base-no-globals.css +412 -231
- package/patternfly-base-theme-dark-unversioned.css +429 -249
- package/patternfly-base.css +429 -249
- package/patternfly-no-globals.css +4150 -3510
- package/patternfly-theme-dark-unversioned.css +4167 -3528
- package/patternfly.css +4167 -3528
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/functions.scss +6 -0
- package/sass-utilities/mixins.scss +62 -2
- package/sass-utilities/scss-variables.scss +8 -8
- package/sass-utilities/themes/dark/mixins.scss +3 -1
- package/utilities/Accessibility/accessibility.css +12 -12
- package/utilities/Spacing/spacing.css +720 -960
- package/utilities/Spacing/spacing.scss +4 -8
- package/components/AboutModalBox/themes/dark/about-modal-box.scss +0 -7
- package/components/Alert/themes/dark/alert.scss +0 -17
- package/components/Badge/themes/dark/badge.scss +0 -9
- package/components/Hint/themes/dark/hint.scss +0 -8
- 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/Page/themes/dark/page.scss +0 -69
- package/docs/components/NotificationBadge/examples/NotificationBadge.css +0 -3
|
@@ -1,119 +1,104 @@
|
|
|
1
|
-
|
|
2
|
-
--pf-v5-global--Color--100: var(--pf-v5-global--Color--light-100);
|
|
3
|
-
--pf-v5-global--Color--200: var(--pf-v5-global--Color--light-200);
|
|
4
|
-
--pf-v5-global--BorderColor--100: var(--pf-v5-global--BorderColor--light-100);
|
|
5
|
-
--pf-v5-global--primary-color--100: var(--pf-v5-global--primary-color--light-100);
|
|
6
|
-
--pf-v5-global--link--Color: var(--pf-v5-global--link--Color--light);
|
|
7
|
-
--pf-v5-global--link--Color--hover: var(--pf-v5-global--link--Color--light);
|
|
8
|
-
--pf-v5-global--BackgroundColor--100: var(--pf-v5-global--BackgroundColor--dark-100);
|
|
9
|
-
--pf-v5-global--icon--Color--light: var(--pf-v5-global--icon--Color--light--light);
|
|
10
|
-
--pf-v5-global--icon--Color--dark: var(--pf-v5-global--icon--Color--dark--light);
|
|
11
|
-
}
|
|
12
|
-
.pf-v5-c-about-modal-box .pf-v5-c-button {
|
|
13
|
-
--pf-v5-c-button--m-primary--BackgroundColor: var(--pf-v5-global--primary-color--dark-100);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.pf-v5-c-about-modal-box {
|
|
1
|
+
:root {
|
|
17
2
|
--pf-v5-c-about-modal-box--BackgroundImage: none;
|
|
18
|
-
--pf-v5-c-about-modal-box--BackgroundColor: var(--pf-
|
|
3
|
+
--pf-v5-c-about-modal-box--BackgroundColor: var(--pf-t--global--background--color--floating--default);
|
|
19
4
|
--pf-v5-c-about-modal-box--BackgroundPosition: bottom right;
|
|
20
|
-
--pf-v5-c-about-modal-box--BackgroundSize--
|
|
21
|
-
--pf-v5-c-about-modal-box--BackgroundSize
|
|
22
|
-
--pf-v5-c-about-modal-box--BackgroundSize--max-width: 600px;
|
|
23
|
-
--pf-v5-c-about-modal-box--BackgroundSize: clamp(var(--pf-v5-c-about-modal-box--BackgroundSize--min-width), var(--pf-v5-c-about-modal-box--BackgroundSize--width), var(--pf-v5-c-about-modal-box--BackgroundSize--max-width));
|
|
5
|
+
--pf-v5-c-about-modal-box--BackgroundSize--width: 100%;
|
|
6
|
+
--pf-v5-c-about-modal-box--BackgroundSize: contain;
|
|
24
7
|
--pf-v5-c-about-modal-box--Height: 100%;
|
|
25
8
|
--pf-v5-c-about-modal-box--lg--Height: 47.625rem;
|
|
26
9
|
--pf-v5-c-about-modal-box--Width: 100%;
|
|
27
10
|
--pf-v5-c-about-modal-box--sm--GridTemplateColumns: 5fr 1fr;
|
|
28
11
|
--pf-v5-c-about-modal-box--lg--GridTemplateColumns: 1fr .6fr;
|
|
29
|
-
--pf-v5-c-about-modal-
|
|
30
|
-
--pf-v5-c-about-modal-box__brand--
|
|
31
|
-
--pf-v5-c-about-modal-box__brand--
|
|
32
|
-
--pf-v5-c-about-modal-box__brand--
|
|
33
|
-
--pf-v5-c-about-modal-box__brand--
|
|
34
|
-
--pf-v5-c-about-modal-box__brand--sm--
|
|
35
|
-
--pf-v5-c-about-modal-box__brand--sm--
|
|
12
|
+
--pf-v5-c-about-modal-box--BackgroundPosition: bottom right;
|
|
13
|
+
--pf-v5-c-about-modal-box__brand--PaddingTop: var(--pf-t--global--spacer--2xl);
|
|
14
|
+
--pf-v5-c-about-modal-box__brand--PaddingRight: var(--pf-t--global--spacer--xl);
|
|
15
|
+
--pf-v5-c-about-modal-box__brand--PaddingLeft: var(--pf-t--global--spacer--xl);
|
|
16
|
+
--pf-v5-c-about-modal-box__brand--PaddingBottom: var(--pf-t--global--spacer--xl);
|
|
17
|
+
--pf-v5-c-about-modal-box__brand--sm--PaddingRight: var(--pf-t--global--spacer--3xl);
|
|
18
|
+
--pf-v5-c-about-modal-box__brand--sm--PaddingLeft: var(--pf-t--global--spacer--3xl);
|
|
19
|
+
--pf-v5-c-about-modal-box__brand--sm--PaddingBottom: var(--pf-t--global--spacer--3xl);
|
|
36
20
|
--pf-v5-c-about-modal-box__close--ZIndex: var(--pf-v5-global--ZIndex--2xl);
|
|
37
|
-
--pf-v5-c-about-modal-box__close--PaddingTop: var(--pf-
|
|
38
|
-
--pf-v5-c-about-modal-box__close--PaddingRight: var(--pf-
|
|
39
|
-
--pf-v5-c-about-modal-box__close--PaddingBottom: var(--pf-
|
|
40
|
-
--pf-v5-c-about-modal-box__close--sm--PaddingBottom: var(--pf-
|
|
41
|
-
--pf-v5-c-about-modal-box__close--lg--PaddingRight: var(--pf-
|
|
42
|
-
--pf-v5-c-about-modal-box__close--c-button--
|
|
43
|
-
--pf-v5-c-about-modal-box__close--c-button--FontSize: var(--pf-v5-global--FontSize--xl);
|
|
44
|
-
--pf-v5-c-about-modal-box__close--c-button--BorderRadius: var(--pf-v5-global--BorderRadius--lg);
|
|
45
|
-
--pf-v5-c-about-modal-box__close--c-button--Width: calc(var(--pf-v5-c-about-modal-box__close--c-button--FontSize) * 2);
|
|
46
|
-
--pf-v5-c-about-modal-box__close--c-button--Height: calc(var(--pf-v5-c-about-modal-box__close--c-button--FontSize) * 2);
|
|
47
|
-
--pf-v5-c-about-modal-box__close--c-button--BackgroundColor: var(--pf-v5-global--palette--black-1000);
|
|
48
|
-
--pf-v5-c-about-modal-box__close--c-button--hover--BackgroundColor: rgba(3, 3, 3, 0.4);
|
|
21
|
+
--pf-v5-c-about-modal-box__close--PaddingTop: var(--pf-t--global--spacer--2xl);
|
|
22
|
+
--pf-v5-c-about-modal-box__close--PaddingRight: var(--pf-t--global--spacer--xl);
|
|
23
|
+
--pf-v5-c-about-modal-box__close--PaddingBottom: var(--pf-t--global--spacer--xl);
|
|
24
|
+
--pf-v5-c-about-modal-box__close--sm--PaddingBottom: var(--pf-t--global--spacer--3xl);
|
|
25
|
+
--pf-v5-c-about-modal-box__close--lg--PaddingRight: var(--pf-t--global--spacer--3xl);
|
|
26
|
+
--pf-v5-c-about-modal-box__close--c-button--FontSize: var(--pf-t--global--icon--size--lg);
|
|
49
27
|
--pf-v5-c-about-modal-box__brand-image--Height: 2.5rem;
|
|
50
|
-
--pf-v5-c-about-modal-box__header--PaddingRight: var(--pf-
|
|
51
|
-
--pf-v5-c-about-modal-box__header--PaddingBottom: var(--pf-
|
|
52
|
-
--pf-v5-c-about-modal-box__header--PaddingLeft: var(--pf-
|
|
53
|
-
--pf-v5-c-about-modal-box__header--sm--PaddingRight: var(--pf-
|
|
54
|
-
--pf-v5-c-about-modal-box__header--sm--PaddingLeft: var(--pf-
|
|
55
|
-
--pf-v5-c-about-modal-box__strapline--PaddingTop: var(--pf-
|
|
56
|
-
--pf-v5-c-about-modal-box__strapline--FontSize: var(--pf-
|
|
57
|
-
--pf-v5-c-about-modal-box__strapline--
|
|
58
|
-
--pf-v5-c-about-modal-
|
|
59
|
-
--pf-v5-c-about-modal-box__content--
|
|
60
|
-
--pf-v5-c-about-modal-box__content--
|
|
61
|
-
--pf-v5-c-about-modal-box__content--
|
|
62
|
-
--pf-v5-c-about-modal-box__content--
|
|
63
|
-
--pf-v5-c-about-modal-box__content--sm--
|
|
64
|
-
--pf-v5-c-about-modal-box__content--sm--
|
|
65
|
-
--pf-v5-c-about-modal-box__content--sm--
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
grid-template-rows: max-content max-content auto;
|
|
71
|
-
width: var(--pf-v5-c-about-modal-box--Width);
|
|
72
|
-
height: var(--pf-v5-c-about-modal-box--Height);
|
|
73
|
-
overflow-x: hidden;
|
|
74
|
-
overflow-y: auto;
|
|
75
|
-
background-color: var(--pf-v5-c-about-modal-box--BackgroundColor);
|
|
76
|
-
background-image: var(--pf-v5-c-about-modal-box--BackgroundImage);
|
|
77
|
-
background-repeat: no-repeat;
|
|
78
|
-
background-position: var(--pf-v5-c-about-modal-box--BackgroundPosition);
|
|
79
|
-
background-size: var(--pf-v5-c-about-modal-box--BackgroundSize);
|
|
28
|
+
--pf-v5-c-about-modal-box__header--PaddingRight: var(--pf-t--global--spacer--xl);
|
|
29
|
+
--pf-v5-c-about-modal-box__header--PaddingBottom: var(--pf-t--global--spacer--sm);
|
|
30
|
+
--pf-v5-c-about-modal-box__header--PaddingLeft: var(--pf-t--global--spacer--xl);
|
|
31
|
+
--pf-v5-c-about-modal-box__header--sm--PaddingRight: var(--pf-t--global--spacer--3xl);
|
|
32
|
+
--pf-v5-c-about-modal-box__header--sm--PaddingLeft: var(--pf-t--global--spacer--3xl);
|
|
33
|
+
--pf-v5-c-about-modal-box__strapline--PaddingTop: var(--pf-t--global--spacer--xl);
|
|
34
|
+
--pf-v5-c-about-modal-box__strapline--FontSize: var(--pf-t--global--font--size--body--sm);
|
|
35
|
+
--pf-v5-c-about-modal-box__strapline--Color: var(--pf-t--global--text--color--subtle);
|
|
36
|
+
--pf-v5-c-about-modal-box__strapline--sm--PaddingTop: var(--pf-t--global--spacer--2xl);
|
|
37
|
+
--pf-v5-c-about-modal-box__content--MarginTop: var(--pf-t--global--spacer--xl);
|
|
38
|
+
--pf-v5-c-about-modal-box__content--MarginRight: var(--pf-t--global--spacer--xl);
|
|
39
|
+
--pf-v5-c-about-modal-box__content--MarginBottom: var(--pf-t--global--spacer--xl);
|
|
40
|
+
--pf-v5-c-about-modal-box__content--MarginLeft: var(--pf-t--global--spacer--xl);
|
|
41
|
+
--pf-v5-c-about-modal-box__content--sm--MarginTop: var(--pf-t--global--spacer--2xl);
|
|
42
|
+
--pf-v5-c-about-modal-box__content--sm--MarginRight: var(--pf-t--global--spacer--3xl);
|
|
43
|
+
--pf-v5-c-about-modal-box__content--sm--MarginBottom: var(--pf-t--global--spacer--2xl);
|
|
44
|
+
--pf-v5-c-about-modal-box__content--sm--MarginLeft: var(--pf-t--global--spacer--3xl);
|
|
45
|
+
}
|
|
46
|
+
:where(.pf-v5-m-dir-rtl, [dir=rtl]) :root {
|
|
47
|
+
--pf-v5-c-about-modal-box--BackgroundPosition: bottom left;
|
|
80
48
|
}
|
|
49
|
+
|
|
81
50
|
@media screen and (min-width: 576px) {
|
|
82
|
-
|
|
51
|
+
:root {
|
|
83
52
|
--pf-v5-c-about-modal-box__brand--PaddingRight: var(--pf-v5-c-about-modal-box__brand--sm--PaddingRight);
|
|
84
53
|
--pf-v5-c-about-modal-box__brand--PaddingLeft: var(--pf-v5-c-about-modal-box__brand--sm--PaddingLeft);
|
|
85
54
|
--pf-v5-c-about-modal-box__brand--PaddingBottom: var(--pf-v5-c-about-modal-box__brand--sm--PaddingBottom);
|
|
86
55
|
}
|
|
87
56
|
}
|
|
88
57
|
@media only screen and (min-width: 576px) {
|
|
89
|
-
|
|
58
|
+
:root {
|
|
90
59
|
--pf-v5-c-about-modal-box__close--PaddingBottom: var(--pf-v5-c-about-modal-box__close--sm--PaddingBottom);
|
|
91
60
|
}
|
|
92
61
|
}
|
|
93
62
|
@media only screen and (min-width: 992px) {
|
|
94
|
-
|
|
63
|
+
:root {
|
|
95
64
|
--pf-v5-c-about-modal-box__close--PaddingRight: var(--pf-v5-c-about-modal-box__close--lg--PaddingRight);
|
|
96
65
|
}
|
|
97
66
|
}
|
|
98
67
|
@media only screen and (min-width: 576px) {
|
|
99
|
-
|
|
68
|
+
:root {
|
|
100
69
|
--pf-v5-c-about-modal-box__header--PaddingRight: var(--pf-v5-c-about-modal-box__header--sm--PaddingRight);
|
|
101
70
|
--pf-v5-c-about-modal-box__header--PaddingLeft: var(--pf-v5-c-about-modal-box__header--sm--PaddingLeft);
|
|
102
71
|
}
|
|
103
72
|
}
|
|
104
73
|
@media only screen and (min-width: 576px) {
|
|
105
|
-
|
|
74
|
+
:root {
|
|
106
75
|
--pf-v5-c-about-modal-box__strapline--PaddingTop: var(--pf-v5-c-about-modal-box__strapline--sm--PaddingTop);
|
|
107
76
|
}
|
|
108
77
|
}
|
|
109
78
|
@media only screen and (min-width: 576px) {
|
|
110
|
-
|
|
79
|
+
:root {
|
|
111
80
|
--pf-v5-c-about-modal-box__content--MarginTop: var(--pf-v5-c-about-modal-box__content--sm--MarginTop);
|
|
112
81
|
--pf-v5-c-about-modal-box__content--MarginRight: var(--pf-v5-c-about-modal-box__content--sm--MarginRight);
|
|
113
82
|
--pf-v5-c-about-modal-box__content--MarginBottom: var(--pf-v5-c-about-modal-box__content--sm--MarginBottom);
|
|
114
83
|
--pf-v5-c-about-modal-box__content--MarginLeft: var(--pf-v5-c-about-modal-box__content--sm--MarginLeft);
|
|
115
84
|
}
|
|
116
85
|
}
|
|
86
|
+
|
|
87
|
+
.pf-v5-c-about-modal-box {
|
|
88
|
+
position: relative;
|
|
89
|
+
display: grid;
|
|
90
|
+
grid-template-areas: "brand close" "header header" "content content";
|
|
91
|
+
grid-template-rows: max-content max-content auto;
|
|
92
|
+
width: var(--pf-v5-c-about-modal-box--Width);
|
|
93
|
+
height: var(--pf-v5-c-about-modal-box--Height);
|
|
94
|
+
overflow-x: hidden;
|
|
95
|
+
overflow-y: auto;
|
|
96
|
+
background-color: var(--pf-v5-c-about-modal-box--BackgroundColor);
|
|
97
|
+
background-image: var(--pf-v5-c-about-modal-box--BackgroundImage);
|
|
98
|
+
background-repeat: no-repeat;
|
|
99
|
+
background-position: var(--pf-v5-c-about-modal-box--BackgroundPosition);
|
|
100
|
+
background-size: var(--pf-v5-c-about-modal-box--BackgroundSize);
|
|
101
|
+
}
|
|
117
102
|
@media only screen and (min-width: 576px) {
|
|
118
103
|
.pf-v5-c-about-modal-box {
|
|
119
104
|
grid-template-areas: "brand close" "header close" "content close";
|
|
@@ -132,7 +117,10 @@
|
|
|
132
117
|
.pf-v5-c-about-modal-box__brand {
|
|
133
118
|
display: flex;
|
|
134
119
|
grid-area: brand;
|
|
135
|
-
padding: var(--pf-v5-c-about-modal-box__brand--PaddingTop)
|
|
120
|
+
padding-block-start: var(--pf-v5-c-about-modal-box__brand--PaddingTop);
|
|
121
|
+
padding-block-end: var(--pf-v5-c-about-modal-box__brand--PaddingBottom);
|
|
122
|
+
padding-inline-start: var(--pf-v5-c-about-modal-box__brand--PaddingLeft);
|
|
123
|
+
padding-inline-end: var(--pf-v5-c-about-modal-box__brand--PaddingRight);
|
|
136
124
|
}
|
|
137
125
|
|
|
138
126
|
.pf-v5-c-about-modal-box__brand-image {
|
|
@@ -143,27 +131,31 @@
|
|
|
143
131
|
display: flex;
|
|
144
132
|
flex-direction: column;
|
|
145
133
|
grid-area: header;
|
|
146
|
-
padding-
|
|
147
|
-
padding-
|
|
148
|
-
padding-
|
|
134
|
+
padding-block-end: var(--pf-v5-c-about-modal-box__header--PaddingBottom);
|
|
135
|
+
padding-inline-start: var(--pf-v5-c-about-modal-box__header--PaddingLeft);
|
|
136
|
+
padding-inline-end: var(--pf-v5-c-about-modal-box__header--PaddingRight);
|
|
149
137
|
}
|
|
150
138
|
|
|
151
139
|
.pf-v5-c-about-modal-box__strapline {
|
|
152
|
-
padding-
|
|
153
|
-
margin-
|
|
140
|
+
padding-block-start: var(--pf-v5-c-about-modal-box__strapline--PaddingTop);
|
|
141
|
+
margin-block-start: auto;
|
|
154
142
|
font-size: var(--pf-v5-c-about-modal-box__strapline--FontSize);
|
|
143
|
+
color: var(--pf-v5-c-about-modal-box__strapline--Color);
|
|
155
144
|
}
|
|
156
145
|
|
|
157
146
|
.pf-v5-c-about-modal-box__content {
|
|
158
147
|
display: flex;
|
|
159
148
|
flex-direction: column;
|
|
160
149
|
grid-area: content;
|
|
161
|
-
margin: var(--pf-v5-c-about-modal-box__content--MarginTop)
|
|
150
|
+
margin-block-start: var(--pf-v5-c-about-modal-box__content--MarginTop);
|
|
151
|
+
margin-block-end: var(--pf-v5-c-about-modal-box__content--MarginBottom);
|
|
152
|
+
margin-inline-start: var(--pf-v5-c-about-modal-box__content--MarginLeft);
|
|
153
|
+
margin-inline-end: var(--pf-v5-c-about-modal-box__content--MarginRight);
|
|
162
154
|
overflow-x: hidden;
|
|
163
155
|
overflow-y: auto;
|
|
164
156
|
overscroll-behavior: contain;
|
|
165
|
-
-webkit-overflow-scrolling: touch;
|
|
166
157
|
word-break: break-word;
|
|
158
|
+
-webkit-overflow-scrolling: touch;
|
|
167
159
|
}
|
|
168
160
|
@media screen and (min-width: 576px) {
|
|
169
161
|
.pf-v5-c-about-modal-box__content {
|
|
@@ -174,14 +166,14 @@
|
|
|
174
166
|
|
|
175
167
|
.pf-v5-c-about-modal-box__close {
|
|
176
168
|
position: sticky;
|
|
177
|
-
|
|
169
|
+
inset-block-start: 0;
|
|
178
170
|
display: flex;
|
|
179
171
|
grid-area: close;
|
|
180
172
|
align-items: flex-start;
|
|
181
173
|
justify-content: flex-end;
|
|
182
|
-
padding-
|
|
183
|
-
padding-
|
|
184
|
-
padding-
|
|
174
|
+
padding-block-start: var(--pf-v5-c-about-modal-box__close--PaddingTop);
|
|
175
|
+
padding-block-end: var(--pf-v5-c-about-modal-box__close--PaddingBottom);
|
|
176
|
+
padding-inline-end: var(--pf-v5-c-about-modal-box__close--PaddingRight);
|
|
185
177
|
}
|
|
186
178
|
@media only screen and (min-width: 576px) {
|
|
187
179
|
.pf-v5-c-about-modal-box__close {
|
|
@@ -195,25 +187,5 @@
|
|
|
195
187
|
}
|
|
196
188
|
}
|
|
197
189
|
.pf-v5-c-about-modal-box__close .pf-v5-c-button.pf-m-plain {
|
|
198
|
-
display: flex;
|
|
199
|
-
align-items: center;
|
|
200
|
-
justify-content: center;
|
|
201
|
-
width: var(--pf-v5-c-about-modal-box__close--c-button--Width);
|
|
202
|
-
height: var(--pf-v5-c-about-modal-box__close--c-button--Height);
|
|
203
|
-
padding: 0;
|
|
204
190
|
font-size: var(--pf-v5-c-about-modal-box__close--c-button--FontSize);
|
|
205
|
-
color: var(--pf-v5-c-about-modal-box__close--c-button--Color);
|
|
206
|
-
background-color: var(--pf-v5-c-about-modal-box__close--c-button--BackgroundColor);
|
|
207
|
-
border-radius: var(--pf-v5-c-about-modal-box__close--c-button--BorderRadius);
|
|
208
|
-
}
|
|
209
|
-
.pf-v5-c-about-modal-box__close .pf-v5-c-button.pf-m-plain:hover {
|
|
210
|
-
--pf-v5-c-about-modal-box__close--c-button--BackgroundColor: var(--pf-v5-c-about-modal-box__close--c-button--hover--BackgroundColor);
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
:where(.pf-v5-theme-dark) .pf-v5-c-about-modal-box .pf-v5-c-button {
|
|
214
|
-
--pf-v5-c-button--m-primary--BackgroundColor: var(--pf-v5-global--primary-color--300);
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
:where(.pf-v5-theme-dark) .pf-v5-c-about-modal-box {
|
|
218
|
-
color: var(--pf-v5-global--Color--100);
|
|
219
191
|
}
|
|
@@ -1,28 +1,33 @@
|
|
|
1
1
|
// @debug $about-modal-box; // check your variable names located in src/patternfly/sass-utilities/component-namespaces.scss
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
:root {
|
|
4
4
|
// Component variables
|
|
5
5
|
--#{$about-modal-box}--BackgroundImage: none;
|
|
6
|
-
--#{$about-modal-box}--BackgroundColor: var(
|
|
6
|
+
--#{$about-modal-box}--BackgroundColor: var(--pf-t--global--background--color--floating--default);
|
|
7
7
|
--#{$about-modal-box}--BackgroundPosition: bottom right;
|
|
8
|
-
--#{$about-modal-box}--BackgroundSize--
|
|
9
|
-
--#{$about-modal-box}--BackgroundSize
|
|
10
|
-
--#{$about-modal-box}--BackgroundSize--max-width: 600px;
|
|
11
|
-
--#{$about-modal-box}--BackgroundSize: clamp(var(--#{$about-modal-box}--BackgroundSize--min-width), var(--#{$about-modal-box}--BackgroundSize--width), var(--#{$about-modal-box}--BackgroundSize--max-width));
|
|
8
|
+
--#{$about-modal-box}--BackgroundSize--width: 100%;
|
|
9
|
+
--#{$about-modal-box}--BackgroundSize: contain;
|
|
12
10
|
--#{$about-modal-box}--Height: 100%;
|
|
13
11
|
--#{$about-modal-box}--lg--Height: #{pf-size-prem(762px)}; // Height is optimized for the exact height desired
|
|
14
12
|
--#{$about-modal-box}--Width: 100%;
|
|
15
13
|
--#{$about-modal-box}--sm--GridTemplateColumns: 5fr 1fr;
|
|
16
14
|
--#{$about-modal-box}--lg--GridTemplateColumns: 1fr .6fr;
|
|
17
15
|
|
|
16
|
+
@include pf-v5-bidirectional-style(
|
|
17
|
+
$prop: --#{$about-modal-box}--BackgroundPosition,
|
|
18
|
+
$ltr-val: bottom right,
|
|
19
|
+
$rtl-val: bottom left
|
|
20
|
+
);
|
|
21
|
+
|
|
22
|
+
|
|
18
23
|
// Brand
|
|
19
|
-
--#{$about-modal-box}__brand--PaddingTop: var(
|
|
20
|
-
--#{$about-modal-box}__brand--PaddingRight: var(
|
|
21
|
-
--#{$about-modal-box}__brand--PaddingLeft: var(
|
|
22
|
-
--#{$about-modal-box}__brand--PaddingBottom: var(
|
|
23
|
-
--#{$about-modal-box}__brand--sm--PaddingRight: var(
|
|
24
|
-
--#{$about-modal-box}__brand--sm--PaddingLeft: var(
|
|
25
|
-
--#{$about-modal-box}__brand--sm--PaddingBottom: var(
|
|
24
|
+
--#{$about-modal-box}__brand--PaddingTop: var(--pf-t--global--spacer--2xl);
|
|
25
|
+
--#{$about-modal-box}__brand--PaddingRight: var(--pf-t--global--spacer--xl);
|
|
26
|
+
--#{$about-modal-box}__brand--PaddingLeft: var(--pf-t--global--spacer--xl);
|
|
27
|
+
--#{$about-modal-box}__brand--PaddingBottom: var(--pf-t--global--spacer--xl);
|
|
28
|
+
--#{$about-modal-box}__brand--sm--PaddingRight: var(--pf-t--global--spacer--3xl);
|
|
29
|
+
--#{$about-modal-box}__brand--sm--PaddingLeft: var(--pf-t--global--spacer--3xl);
|
|
30
|
+
--#{$about-modal-box}__brand--sm--PaddingBottom: var(--pf-t--global--spacer--3xl);
|
|
26
31
|
|
|
27
32
|
@media screen and (min-width: $pf-v5-global--breakpoint--sm) {
|
|
28
33
|
--#{$about-modal-box}__brand--PaddingRight: var(--#{$about-modal-box}__brand--sm--PaddingRight);
|
|
@@ -31,12 +36,12 @@
|
|
|
31
36
|
}
|
|
32
37
|
|
|
33
38
|
// Close
|
|
34
|
-
--#{$about-modal-box}__close--ZIndex: var(--#{$pf-global}--ZIndex--2xl);
|
|
35
|
-
--#{$about-modal-box}__close--PaddingTop: var(
|
|
36
|
-
--#{$about-modal-box}__close--PaddingRight: var(
|
|
37
|
-
--#{$about-modal-box}__close--PaddingBottom: var(
|
|
38
|
-
--#{$about-modal-box}__close--sm--PaddingBottom: var(
|
|
39
|
-
--#{$about-modal-box}__close--lg--PaddingRight: var(
|
|
39
|
+
--#{$about-modal-box}__close--ZIndex: var(--#{$pf-global}--ZIndex--2xl); // TODO zindex token
|
|
40
|
+
--#{$about-modal-box}__close--PaddingTop: var(--pf-t--global--spacer--2xl);
|
|
41
|
+
--#{$about-modal-box}__close--PaddingRight: var(--pf-t--global--spacer--xl);
|
|
42
|
+
--#{$about-modal-box}__close--PaddingBottom: var(--pf-t--global--spacer--xl);
|
|
43
|
+
--#{$about-modal-box}__close--sm--PaddingBottom: var(--pf-t--global--spacer--3xl);
|
|
44
|
+
--#{$about-modal-box}__close--lg--PaddingRight: var(--pf-t--global--spacer--3xl);
|
|
40
45
|
|
|
41
46
|
@media only screen and (min-width: $pf-v5-global--breakpoint--sm) {
|
|
42
47
|
--#{$about-modal-box}__close--PaddingBottom: var(--#{$about-modal-box}__close--sm--PaddingBottom);
|
|
@@ -47,23 +52,17 @@
|
|
|
47
52
|
}
|
|
48
53
|
|
|
49
54
|
// Close Button
|
|
50
|
-
--#{$about-modal-box}__close--c-button--
|
|
51
|
-
--#{$about-modal-box}__close--c-button--FontSize: var(--#{$pf-global}--FontSize--xl);
|
|
52
|
-
--#{$about-modal-box}__close--c-button--BorderRadius: var(--#{$pf-global}--BorderRadius--lg);
|
|
53
|
-
--#{$about-modal-box}__close--c-button--Width: calc(var(--#{$about-modal-box}__close--c-button--FontSize) * 2); // Height and width are 2x font-size
|
|
54
|
-
--#{$about-modal-box}__close--c-button--Height: calc(var(--#{$about-modal-box}__close--c-button--FontSize) * 2);
|
|
55
|
-
--#{$about-modal-box}__close--c-button--BackgroundColor: var(--#{$pf-global}--palette--black-1000); // Close button uses a non-standard background color
|
|
56
|
-
--#{$about-modal-box}__close--c-button--hover--BackgroundColor: #{rgba($pf-v5-color-black-1000, .4)};
|
|
55
|
+
--#{$about-modal-box}__close--c-button--FontSize: var(--pf-t--global--icon--size--lg);
|
|
57
56
|
|
|
58
57
|
// Brand img
|
|
59
58
|
--#{$about-modal-box}__brand-image--Height: #{pf-size-prem(40px)};
|
|
60
59
|
|
|
61
60
|
// Header
|
|
62
|
-
--#{$about-modal-box}__header--PaddingRight: var(
|
|
63
|
-
--#{$about-modal-box}__header--PaddingBottom: var(
|
|
64
|
-
--#{$about-modal-box}__header--PaddingLeft: var(
|
|
65
|
-
--#{$about-modal-box}__header--sm--PaddingRight: var(
|
|
66
|
-
--#{$about-modal-box}__header--sm--PaddingLeft: var(
|
|
61
|
+
--#{$about-modal-box}__header--PaddingRight: var(--pf-t--global--spacer--xl);
|
|
62
|
+
--#{$about-modal-box}__header--PaddingBottom: var(--pf-t--global--spacer--sm);
|
|
63
|
+
--#{$about-modal-box}__header--PaddingLeft: var(--pf-t--global--spacer--xl);
|
|
64
|
+
--#{$about-modal-box}__header--sm--PaddingRight: var(--pf-t--global--spacer--3xl);
|
|
65
|
+
--#{$about-modal-box}__header--sm--PaddingLeft: var(--pf-t--global--spacer--3xl);
|
|
67
66
|
|
|
68
67
|
@media only screen and (min-width: $pf-v5-global--breakpoint--sm) {
|
|
69
68
|
--#{$about-modal-box}__header--PaddingRight: var(--#{$about-modal-box}__header--sm--PaddingRight);
|
|
@@ -71,23 +70,24 @@
|
|
|
71
70
|
}
|
|
72
71
|
|
|
73
72
|
// Strapline
|
|
74
|
-
--#{$about-modal-box}__strapline--PaddingTop: var(
|
|
75
|
-
--#{$about-modal-box}__strapline--FontSize: var(
|
|
76
|
-
--#{$about-modal-box}__strapline--
|
|
73
|
+
--#{$about-modal-box}__strapline--PaddingTop: var(--pf-t--global--spacer--xl);
|
|
74
|
+
--#{$about-modal-box}__strapline--FontSize: var(--pf-t--global--font--size--body--sm);
|
|
75
|
+
--#{$about-modal-box}__strapline--Color: var(--pf-t--global--text--color--subtle);
|
|
76
|
+
--#{$about-modal-box}__strapline--sm--PaddingTop: var(--pf-t--global--spacer--2xl);
|
|
77
77
|
|
|
78
78
|
@media only screen and (min-width: $pf-v5-global--breakpoint--sm) {
|
|
79
79
|
--#{$about-modal-box}__strapline--PaddingTop: var(--#{$about-modal-box}__strapline--sm--PaddingTop);
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
// Content
|
|
83
|
-
--#{$about-modal-box}__content--MarginTop: var(
|
|
84
|
-
--#{$about-modal-box}__content--MarginRight: var(
|
|
85
|
-
--#{$about-modal-box}__content--MarginBottom: var(
|
|
86
|
-
--#{$about-modal-box}__content--MarginLeft: var(
|
|
87
|
-
--#{$about-modal-box}__content--sm--MarginTop: var(
|
|
88
|
-
--#{$about-modal-box}__content--sm--MarginRight: var(
|
|
89
|
-
--#{$about-modal-box}__content--sm--MarginBottom: var(
|
|
90
|
-
--#{$about-modal-box}__content--sm--MarginLeft: var(
|
|
83
|
+
--#{$about-modal-box}__content--MarginTop: var(--pf-t--global--spacer--xl);
|
|
84
|
+
--#{$about-modal-box}__content--MarginRight: var(--pf-t--global--spacer--xl);
|
|
85
|
+
--#{$about-modal-box}__content--MarginBottom: var(--pf-t--global--spacer--xl);
|
|
86
|
+
--#{$about-modal-box}__content--MarginLeft: var(--pf-t--global--spacer--xl);
|
|
87
|
+
--#{$about-modal-box}__content--sm--MarginTop: var(--pf-t--global--spacer--2xl);
|
|
88
|
+
--#{$about-modal-box}__content--sm--MarginRight: var(--pf-t--global--spacer--3xl);
|
|
89
|
+
--#{$about-modal-box}__content--sm--MarginBottom: var(--pf-t--global--spacer--2xl);
|
|
90
|
+
--#{$about-modal-box}__content--sm--MarginLeft: var(--pf-t--global--spacer--3xl);
|
|
91
91
|
|
|
92
92
|
@media only screen and (min-width: $pf-v5-global--breakpoint--sm) {
|
|
93
93
|
--#{$about-modal-box}__content--MarginTop: var(--#{$about-modal-box}__content--sm--MarginTop);
|
|
@@ -95,10 +95,9 @@
|
|
|
95
95
|
--#{$about-modal-box}__content--MarginBottom: var(--#{$about-modal-box}__content--sm--MarginBottom);
|
|
96
96
|
--#{$about-modal-box}__content--MarginLeft: var(--#{$about-modal-box}__content--sm--MarginLeft);
|
|
97
97
|
}
|
|
98
|
+
}
|
|
98
99
|
|
|
99
|
-
|
|
100
|
-
@include pf-v5-t-dark;
|
|
101
|
-
|
|
100
|
+
.#{$about-modal-box} {
|
|
102
101
|
position: relative;
|
|
103
102
|
display: grid;
|
|
104
103
|
grid-template-areas:
|
|
@@ -110,7 +109,7 @@
|
|
|
110
109
|
height: var(--#{$about-modal-box}--Height);
|
|
111
110
|
overflow-x: hidden;
|
|
112
111
|
overflow-y: auto;
|
|
113
|
-
background-color: var(--#{$about-modal-box}--BackgroundColor);
|
|
112
|
+
background-color: var(--#{$about-modal-box}--BackgroundColor);
|
|
114
113
|
background-image: var(--#{$about-modal-box}--BackgroundImage);
|
|
115
114
|
background-repeat: no-repeat;
|
|
116
115
|
background-position: var(--#{$about-modal-box}--BackgroundPosition);
|
|
@@ -137,7 +136,10 @@
|
|
|
137
136
|
.#{$about-modal-box}__brand {
|
|
138
137
|
display: flex;
|
|
139
138
|
grid-area: brand;
|
|
140
|
-
padding: var(--#{$about-modal-box}__brand--PaddingTop)
|
|
139
|
+
padding-block-start: var(--#{$about-modal-box}__brand--PaddingTop);
|
|
140
|
+
padding-block-end: var(--#{$about-modal-box}__brand--PaddingBottom);
|
|
141
|
+
padding-inline-start: var(--#{$about-modal-box}__brand--PaddingLeft);
|
|
142
|
+
padding-inline-end: var(--#{$about-modal-box}__brand--PaddingRight);
|
|
141
143
|
}
|
|
142
144
|
|
|
143
145
|
.#{$about-modal-box}__brand-image {
|
|
@@ -149,16 +151,17 @@
|
|
|
149
151
|
display: flex;
|
|
150
152
|
flex-direction: column;
|
|
151
153
|
grid-area: header;
|
|
152
|
-
padding-
|
|
153
|
-
padding-
|
|
154
|
-
padding-
|
|
154
|
+
padding-block-end: var(--#{$about-modal-box}__header--PaddingBottom);
|
|
155
|
+
padding-inline-start: var(--#{$about-modal-box}__header--PaddingLeft);
|
|
156
|
+
padding-inline-end: var(--#{$about-modal-box}__header--PaddingRight);
|
|
155
157
|
}
|
|
156
158
|
|
|
157
159
|
// Strapline
|
|
158
160
|
.#{$about-modal-box}__strapline {
|
|
159
|
-
padding-
|
|
160
|
-
margin-
|
|
161
|
+
padding-block-start: var(--#{$about-modal-box}__strapline--PaddingTop);
|
|
162
|
+
margin-block-start: auto;
|
|
161
163
|
font-size: var(--#{$about-modal-box}__strapline--FontSize);
|
|
164
|
+
color: var(--#{$about-modal-box}__strapline--Color);
|
|
162
165
|
}
|
|
163
166
|
|
|
164
167
|
// Content
|
|
@@ -166,12 +169,15 @@
|
|
|
166
169
|
display: flex;
|
|
167
170
|
flex-direction: column;
|
|
168
171
|
grid-area: content;
|
|
169
|
-
margin: var(--#{$about-modal-box}__content--MarginTop)
|
|
172
|
+
margin-block-start: var(--#{$about-modal-box}__content--MarginTop);
|
|
173
|
+
margin-block-end: var(--#{$about-modal-box}__content--MarginBottom);
|
|
174
|
+
margin-inline-start: var(--#{$about-modal-box}__content--MarginLeft); // Using margin instead of padding to prevent scrollbar extending to top of content block
|
|
175
|
+
margin-inline-end: var(--#{$about-modal-box}__content--MarginRight);
|
|
170
176
|
overflow-x: hidden;
|
|
171
177
|
overflow-y: auto;
|
|
172
178
|
overscroll-behavior: contain;
|
|
173
|
-
-webkit-overflow-scrolling: touch;
|
|
174
179
|
word-break: break-word;
|
|
180
|
+
-webkit-overflow-scrolling: touch;
|
|
175
181
|
|
|
176
182
|
@media screen and (min-width: $pf-v5-global--breakpoint--sm) {
|
|
177
183
|
overflow: visible;
|
|
@@ -182,14 +188,14 @@
|
|
|
182
188
|
// Close
|
|
183
189
|
.#{$about-modal-box}__close {
|
|
184
190
|
position: sticky;
|
|
185
|
-
|
|
191
|
+
inset-block-start: 0;
|
|
186
192
|
display: flex;
|
|
187
193
|
grid-area: close;
|
|
188
194
|
align-items: flex-start;
|
|
189
195
|
justify-content: flex-end;
|
|
190
|
-
padding-
|
|
191
|
-
padding-
|
|
192
|
-
padding-
|
|
196
|
+
padding-block-start: var(--#{$about-modal-box}__close--PaddingTop);
|
|
197
|
+
padding-block-end: var(--#{$about-modal-box}__close--PaddingBottom);
|
|
198
|
+
padding-inline-end: var(--#{$about-modal-box}__close--PaddingRight);
|
|
193
199
|
|
|
194
200
|
@media only screen and (min-width: $pf-v5-global--breakpoint--sm) {
|
|
195
201
|
grid-area: 1 / 2;
|
|
@@ -203,26 +209,6 @@
|
|
|
203
209
|
// Close button
|
|
204
210
|
// Since this btn is unique to the about modal, use contextual selectors in this specific instance
|
|
205
211
|
.#{$button}.pf-m-plain {
|
|
206
|
-
display: flex;
|
|
207
|
-
align-items: center;
|
|
208
|
-
justify-content: center;
|
|
209
|
-
width: var(--#{$about-modal-box}__close--c-button--Width);
|
|
210
|
-
height: var(--#{$about-modal-box}__close--c-button--Height);
|
|
211
|
-
padding: 0;
|
|
212
212
|
font-size: var(--#{$about-modal-box}__close--c-button--FontSize);
|
|
213
|
-
color: var(--#{$about-modal-box}__close--c-button--Color);
|
|
214
|
-
background-color: var(--#{$about-modal-box}__close--c-button--BackgroundColor);
|
|
215
|
-
border-radius: var(--#{$about-modal-box}__close--c-button--BorderRadius);
|
|
216
|
-
|
|
217
|
-
&:hover {
|
|
218
|
-
--#{$about-modal-box}__close--c-button--BackgroundColor: var(--#{$about-modal-box}__close--c-button--hover--BackgroundColor);
|
|
219
|
-
}
|
|
220
213
|
}
|
|
221
214
|
}
|
|
222
|
-
|
|
223
|
-
// stylelint-disable no-invalid-position-at-import-rule
|
|
224
|
-
@import "themes/dark/about-modal-box";
|
|
225
|
-
|
|
226
|
-
@include pf-v5-theme-dark {
|
|
227
|
-
@include pf-v5-theme-dark-about-modal-box;
|
|
228
|
-
}
|