@patternfly/patternfly 6.0.0-alpha.3 → 6.0.0-alpha.30
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 +5 -9
- package/base/_variables.scss +8 -6
- package/base/patternfly-common.css +24 -6
- package/base/patternfly-globals.css +5 -5
- package/base/patternfly-icons.css +5 -1
- package/base/patternfly-pf-icons.css +5 -1
- package/base/patternfly-variables.css +886 -771
- package/base/tokens/_tokens-dark.scss +322 -265
- package/base/tokens/_tokens-default.scss +426 -306
- package/base/tokens/_tokens-font.scss +59 -35
- package/base/tokens/_tokens-palette.scss +69 -71
- package/base/tokens/_workspace-overrides.scss +7 -0
- package/components/AboutModalBox/about-modal-box.css +80 -108
- package/components/AboutModalBox/about-modal-box.scss +64 -78
- package/components/Accordion/accordion.css +96 -175
- package/components/Accordion/accordion.scss +106 -193
- 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 +17 -15
- package/components/BackToTop/back-to-top.scss +14 -13
- 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 +91 -69
- package/components/Banner/banner.scss +95 -34
- package/components/Breadcrumb/breadcrumb.css +28 -19
- package/components/Breadcrumb/breadcrumb.scss +26 -19
- package/components/Button/button.css +35 -23
- package/components/Button/button.scss +36 -26
- 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 +75 -59
- package/components/ExpandableSection/expandable-section.scss +81 -72
- 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 +9 -9
- package/components/InlineEdit/inline-edit.scss +9 -9
- 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 +110 -87
- package/components/Popover/popover.scss +120 -109
- 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 +9 -6
- package/components/SkipToContent/skip-to-content.scss +8 -6
- 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 +76 -44
- package/components/Tooltip/tooltip.scss +93 -77
- 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 +614 -416
- package/docs/components/Alert/examples/Alert.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 +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/ExpandableSection/examples/ExpandableSection.md +47 -24
- 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/Popover/examples/Popover.md +1 -1
- 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 +28 -12
- 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 +921 -784
- package/patternfly-base-no-globals.css +921 -784
- package/patternfly-base-theme-dark-unversioned.css +926 -789
- package/patternfly-base.css +926 -789
- package/patternfly-no-globals.css +4816 -4221
- package/patternfly-theme-dark-unversioned.css +4821 -4226
- package/patternfly.css +4821 -4226
- 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/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/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/components/Popover/themes/dark/popover.scss +0 -11
- package/components/Tooltip/themes/dark/tooltip.scss +0 -8
- package/docs/components/NotificationBadge/examples/NotificationBadge.css +0 -3
|
@@ -1,50 +1,61 @@
|
|
|
1
|
-
|
|
2
|
-
--pf-v5-c-expandable-section__toggle--PaddingTop: var(--pf-
|
|
3
|
-
--pf-v5-c-expandable-section__toggle--PaddingRight: var(--pf-
|
|
4
|
-
--pf-v5-c-expandable-section__toggle--PaddingBottom: var(--pf-
|
|
5
|
-
--pf-v5-c-expandable-section__toggle--PaddingLeft:
|
|
6
|
-
--pf-v5-c-expandable-section__toggle--
|
|
7
|
-
--pf-v5-c-expandable-section__toggle--Color: var(--pf-
|
|
8
|
-
--pf-v5-c-expandable-section__toggle--
|
|
9
|
-
--pf-v5-c-expandable-section__toggle--
|
|
10
|
-
--pf-v5-c-expandable-section__toggle--
|
|
11
|
-
--pf-v5-c-expandable-section__toggle--m-expanded--Color: var(--pf-v5-global--link--Color--hover);
|
|
1
|
+
:root {
|
|
2
|
+
--pf-v5-c-expandable-section__toggle--PaddingTop: var(--pf-t--global--spacer--sm);
|
|
3
|
+
--pf-v5-c-expandable-section__toggle--PaddingRight: var(--pf-t--global--spacer--md);
|
|
4
|
+
--pf-v5-c-expandable-section__toggle--PaddingBottom: var(--pf-t--global--spacer--sm);
|
|
5
|
+
--pf-v5-c-expandable-section__toggle--PaddingLeft: var(--pf-t--global--spacer--sm);
|
|
6
|
+
--pf-v5-c-expandable-section__toggle--Color: var(--pf-t--global--color--brand--default);
|
|
7
|
+
--pf-v5-c-expandable-section__toggle--hover--Color: var(--pf-t--global--color--brand--hover);
|
|
8
|
+
--pf-v5-c-expandable-section__toggle--active--Color: var(--pf-t--global--color--brand--hover);
|
|
9
|
+
--pf-v5-c-expandable-section__toggle--focus--Color: var(--pf-t--global--color--brand--hover);
|
|
10
|
+
--pf-v5-c-expandable-section__toggle--m-expanded--Color: var(--pf-t--global--color--brand--hover);
|
|
12
11
|
--pf-v5-c-expandable-section__toggle--BackgroundColor: transparent;
|
|
12
|
+
--pf-v5-c-expandable-section__toggle--ColumnGap: calc(var(--pf-t--global--spacer--xs) + var(--pf-t--global--spacer--sm));
|
|
13
13
|
--pf-v5-c-expandable-section__toggle-icon--MinWidth: 1em;
|
|
14
|
-
--pf-v5-c-expandable-section__toggle-icon--Color: var(--pf-
|
|
14
|
+
--pf-v5-c-expandable-section__toggle-icon--Color: var(--pf-t--global--icon--color--regular);
|
|
15
15
|
--pf-v5-c-expandable-section__toggle-icon--Transition: .2s ease-in 0s;
|
|
16
16
|
--pf-v5-c-expandable-section__toggle-icon--Rotate: 0;
|
|
17
17
|
--pf-v5-c-expandable-section__toggle-icon--m-expand-top--Rotate: 0;
|
|
18
18
|
--pf-v5-c-expandable-section--m-expanded__toggle-icon--Rotate: 90deg;
|
|
19
19
|
--pf-v5-c-expandable-section--m-expanded__toggle-icon--m-expand-top--Rotate: -90deg;
|
|
20
|
-
--pf-v5-c-expandable-
|
|
21
|
-
--pf-v5-c-expandable-section__content--
|
|
20
|
+
--pf-v5-c-expandable-section__content--PaddingTop: var(--pf-t--global--spacer--sm);
|
|
21
|
+
--pf-v5-c-expandable-section__content--PaddingRight: var(--pf-t--global--spacer--sm);
|
|
22
|
+
--pf-v5-c-expandable-section__content--PaddingBottom: var(--pf-t--global--spacer--sm);
|
|
23
|
+
--pf-v5-c-expandable-section__content--PaddingLeft: var(--pf-t--global--spacer--sm);
|
|
22
24
|
--pf-v5-c-expandable-section__content--MaxWidth: auto;
|
|
23
25
|
--pf-v5-c-expandable-section--m-limit-width__content--MaxWidth: 46.875rem;
|
|
24
|
-
--pf-v5-c-expandable-section--m-display-lg--
|
|
25
|
-
--pf-v5-c-expandable-section--m-display-
|
|
26
|
-
--pf-v5-c-expandable-section--m-display-
|
|
27
|
-
--pf-v5-c-expandable-section--m-display-lg__toggle--
|
|
28
|
-
--pf-v5-c-expandable-section--m-display-lg__toggle--
|
|
29
|
-
--pf-v5-c-expandable-section--m-display-
|
|
30
|
-
--pf-v5-c-expandable-section--m-display-
|
|
31
|
-
--pf-v5-c-expandable-section--m-display-
|
|
32
|
-
--pf-v5-c-expandable-section--m-display-
|
|
33
|
-
--pf-v5-c-expandable-section--m-display-
|
|
34
|
-
--pf-v5-c-expandable-section--m-display-
|
|
35
|
-
--pf-v5-c-expandable-section--m-display-
|
|
36
|
-
--pf-v5-c-expandable-section--m-
|
|
26
|
+
--pf-v5-c-expandable-section--m-display-lg--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
27
|
+
--pf-v5-c-expandable-section--m-display-lg--BorderColor: var(--pf-t--global--border--color--default);
|
|
28
|
+
--pf-v5-c-expandable-section--m-display-lg--BorderRadius: var(--pf-t--global--border--radius--medium);
|
|
29
|
+
--pf-v5-c-expandable-section--m-display-lg__toggle--PaddingTop: var(--pf-t--global--spacer--md);
|
|
30
|
+
--pf-v5-c-expandable-section--m-display-lg__toggle--PaddingRight: var(--pf-t--global--spacer--lg);
|
|
31
|
+
--pf-v5-c-expandable-section--m-display-lg__toggle--PaddingBottom: var(--pf-t--global--spacer--md);
|
|
32
|
+
--pf-v5-c-expandable-section--m-display-lg__toggle--PaddingLeft: var(--pf-t--global--spacer--lg);
|
|
33
|
+
--pf-v5-c-expandable-section--m-display-lg__toggle--BorderRadius: var(--pf-t--global--border--radius--medium);
|
|
34
|
+
--pf-v5-c-expandable-section--m-display-lg__toggle--Width: 100%;
|
|
35
|
+
--pf-v5-c-expandable-section--m-display-lg__toggle--hover--BackgroundColor: var(--pf-t--global--background--color--secondary--hover);
|
|
36
|
+
--pf-v5-c-expandable-section--m-display-lg__toggle--active--BackgroundColor: var(--pf-t--global--background--color--secondary--hover);
|
|
37
|
+
--pf-v5-c-expandable-section--m-display-lg__toggle--focus--BackgroundColor: var(--pf-t--global--background--color--secondary--hover);
|
|
38
|
+
--pf-v5-c-expandable-section--m-display-lg__content--PaddingRight: var(--pf-t--global--spacer--lg);
|
|
39
|
+
--pf-v5-c-expandable-section--m-display-lg__content--PaddingBottom: var(--pf-t--global--spacer--md);
|
|
40
|
+
--pf-v5-c-expandable-section--m-display-lg__content--PaddingLeft: var(--pf-t--global--spacer--lg);
|
|
41
|
+
--pf-v5-c-expandable-section--m-expanded--m-display-lg__toggle--BorderRadius: var(--pf-t--global--border--radius--medium) var(--pf-t--global--border--radius--medium) 0 0;
|
|
42
|
+
--pf-v5-c-expandable-section--m-indented__content--PaddingLeft--base: calc(var(--pf-v5-c-expandable-section__toggle--ColumnGap) + var(--pf-v5-c-expandable-section__toggle-icon--MinWidth));
|
|
43
|
+
--pf-v5-c-expandable-section--m-indented__content--PaddingLeft: calc(var(--pf-v5-c-expandable-section--m-indented__content--PaddingLeft--base) + var(--pf-v5-c-expandable-section__toggle--PaddingLeft));
|
|
44
|
+
--pf-v5-c-expandable-section--m-display-lg--m-indented__content--PaddingLeft: calc(var(--pf-v5-c-expandable-section--m-indented__content--PaddingLeft--base) + var(--pf-v5-c-expandable-section--m-display-lg__content--PaddingLeft));
|
|
45
|
+
--pf-v5-c-expandable-section--m-truncate--PaddingTop: var(--pf-t--global--spacer--sm);
|
|
46
|
+
--pf-v5-c-expandable-section--m-truncate--PaddingRight: var(--pf-t--global--spacer--md);
|
|
47
|
+
--pf-v5-c-expandable-section--m-truncate--PaddingBottom: var(--pf-t--global--spacer--sm);
|
|
48
|
+
--pf-v5-c-expandable-section--m-truncate--PaddingLeft: var(--pf-t--global--spacer--md);
|
|
49
|
+
--pf-v5-c-expandable-section--m-truncate__toggle--PaddingBottom: var(--pf-t--global--spacer--sm);
|
|
37
50
|
--pf-v5-c-expandable-section--m-truncate__content--LineClamp: 3;
|
|
38
|
-
--pf-v5-c-expandable-section--m-truncate__toggle--MarginTop: var(--pf-v5-global--spacer--xs);
|
|
39
51
|
}
|
|
52
|
+
|
|
40
53
|
.pf-v5-c-expandable-section.pf-m-expanded {
|
|
41
54
|
--pf-v5-c-expandable-section__toggle--Color: var(--pf-v5-c-expandable-section__toggle--m-expanded--Color);
|
|
42
55
|
--pf-v5-c-expandable-section__toggle-icon--Rotate: var(--pf-v5-c-expandable-section--m-expanded__toggle-icon--Rotate);
|
|
43
56
|
--pf-v5-c-expandable-section__toggle-icon--m-expand-top--Rotate: var(--pf-v5-c-expandable-section--m-expanded__toggle-icon--m-expand-top--Rotate);
|
|
44
57
|
--pf-v5-c-expandable-section--m-display-lg--after--BackgroundColor: var(--pf-v5-c-expandable-section--m-display-lg--m-expanded--after--BackgroundColor);
|
|
45
|
-
|
|
46
|
-
.pf-v5-c-expandable-section.pf-m-detached, .pf-v5-c-expandable-section.pf-m-truncate {
|
|
47
|
-
--pf-v5-c-expandable-section__content--MarginTop: 0;
|
|
58
|
+
--pf-v5-c-expandable-section--m-display-lg__toggle--BorderRadius: var(--pf-v5-c-expandable-section--m-expanded--m-display-lg__toggle--BorderRadius);
|
|
48
59
|
}
|
|
49
60
|
.pf-v5-c-expandable-section.pf-m-limit-width {
|
|
50
61
|
--pf-v5-c-expandable-section__content--MaxWidth: var(--pf-v5-c-expandable-section--m-limit-width__content--MaxWidth);
|
|
@@ -54,31 +65,31 @@
|
|
|
54
65
|
--pf-v5-c-expandable-section__toggle--PaddingRight: var(--pf-v5-c-expandable-section--m-display-lg__toggle--PaddingRight);
|
|
55
66
|
--pf-v5-c-expandable-section__toggle--PaddingBottom: var(--pf-v5-c-expandable-section--m-display-lg__toggle--PaddingBottom);
|
|
56
67
|
--pf-v5-c-expandable-section__toggle--PaddingLeft: var(--pf-v5-c-expandable-section--m-display-lg__toggle--PaddingLeft);
|
|
68
|
+
--pf-v5-c-expandable-section__toggle--hover--BackgroundColor: var(--pf-v5-c-expandable-section--m-display-lg__toggle--hover--BackgroundColor);
|
|
69
|
+
--pf-v5-c-expandable-section__toggle--active--BackgroundColor: var(--pf-v5-c-expandable-section--m-display-lg__toggle--active--BackgroundColor);
|
|
70
|
+
--pf-v5-c-expandable-section__toggle--focus--BackgroundColor: var(--pf-v5-c-expandable-section--m-display-lg__toggle--focus--BackgroundColor);
|
|
71
|
+
--pf-v5-c-expandable-section__toggle--BorderRadius: var(--pf-v5-c-expandable-section--m-display-lg__toggle--BorderRadius);
|
|
72
|
+
--pf-v5-c-expandable-section__toggle--Width: var(--pf-v5-c-expandable-section--m-display-lg__toggle--Width);
|
|
57
73
|
--pf-v5-c-expandable-section__content--PaddingRight: var(--pf-v5-c-expandable-section--m-display-lg__content--PaddingRight);
|
|
58
74
|
--pf-v5-c-expandable-section__content--PaddingBottom: var(--pf-v5-c-expandable-section--m-display-lg__content--PaddingBottom);
|
|
59
75
|
--pf-v5-c-expandable-section__content--PaddingLeft: var(--pf-v5-c-expandable-section--m-display-lg__content--PaddingLeft);
|
|
60
|
-
--pf-v5-c-expandable-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
.pf-v5-c-expandable-section.pf-m-display-lg::after {
|
|
65
|
-
position: absolute;
|
|
66
|
-
top: 0;
|
|
67
|
-
bottom: 0;
|
|
68
|
-
left: 0;
|
|
69
|
-
width: var(--pf-v5-c-expandable-section--m-display-lg--after--Width);
|
|
70
|
-
content: "";
|
|
71
|
-
background-color: var(--pf-v5-c-expandable-section--m-display-lg--after--BackgroundColor);
|
|
76
|
+
--pf-v5-c-expandable-section--m-indented__content--PaddingLeft: var(--pf-v5-c-expandable-section--m-display-lg--m-indented__content--PaddingLeft);
|
|
77
|
+
background-color: var(--pf-v5-c-expandable-section--m-display-lg--BackgroundColor);
|
|
78
|
+
border: solid 1px var(--pf-v5-c-expandable-section--m-display-lg--BorderColor);
|
|
79
|
+
border-radius: var(--pf-v5-c-expandable-section--m-display-lg--BorderRadius);
|
|
72
80
|
}
|
|
73
81
|
.pf-v5-c-expandable-section.pf-m-indented {
|
|
74
82
|
--pf-v5-c-expandable-section__content--PaddingLeft: var(--pf-v5-c-expandable-section--m-indented__content--PaddingLeft);
|
|
75
83
|
}
|
|
76
84
|
.pf-v5-c-expandable-section.pf-m-truncate {
|
|
77
|
-
--pf-v5-c-expandable-section__toggle--MarginTop: var(--pf-v5-c-expandable-section--m-truncate__toggle--MarginTop);
|
|
78
85
|
--pf-v5-c-expandable-section__toggle--PaddingTop: 0;
|
|
79
86
|
--pf-v5-c-expandable-section__toggle--PaddingRight: 0;
|
|
80
|
-
--pf-v5-c-expandable-section__toggle--PaddingBottom:
|
|
81
|
-
--pf-v5-c-expandable-section__toggle
|
|
87
|
+
--pf-v5-c-expandable-section__toggle--PaddingBottom: var(--pf-v5-c-expandable-section--m-truncate__toggle--PaddingBottom);
|
|
88
|
+
--pf-v5-c-expandable-section__toggle--PaddingLeft: 0;
|
|
89
|
+
--pf-v5-c-expandable-section__content--PaddingTop: 0;
|
|
90
|
+
--pf-v5-c-expandable-section__content--PaddingRight: 0;
|
|
91
|
+
--pf-v5-c-expandable-section__content--PaddingBottom: 0;
|
|
92
|
+
--pf-v5-c-expandable-section__content--PaddingLeft: 0;
|
|
82
93
|
}
|
|
83
94
|
.pf-v5-c-expandable-section.pf-m-truncate:not(.pf-m-expanded) .pf-v5-c-expandable-section__content {
|
|
84
95
|
display: -webkit-box;
|
|
@@ -86,26 +97,31 @@
|
|
|
86
97
|
-webkit-line-clamp: var(--pf-v5-c-expandable-section--m-truncate__content--LineClamp);
|
|
87
98
|
overflow: hidden;
|
|
88
99
|
}
|
|
89
|
-
.pf-v5-c-expandable-section.pf-m-detached {
|
|
90
|
-
--pf-v5-c-expandable-section--m-truncate__toggle--MarginTop: 0;
|
|
91
|
-
}
|
|
92
100
|
|
|
93
101
|
.pf-v5-c-expandable-section__toggle {
|
|
94
102
|
display: flex;
|
|
95
|
-
|
|
96
|
-
|
|
103
|
+
column-gap: var(--pf-v5-c-expandable-section__toggle--ColumnGap);
|
|
104
|
+
width: var(--pf-v5-c-expandable-section__toggle--Width, initial);
|
|
105
|
+
padding-block-start: var(--pf-v5-c-expandable-section__toggle--PaddingTop);
|
|
106
|
+
padding-block-end: var(--pf-v5-c-expandable-section__toggle--PaddingBottom);
|
|
107
|
+
padding-inline-start: var(--pf-v5-c-expandable-section__toggle--PaddingLeft);
|
|
108
|
+
padding-inline-end: var(--pf-v5-c-expandable-section__toggle--PaddingRight);
|
|
97
109
|
color: var(--pf-v5-c-expandable-section__toggle--Color);
|
|
98
110
|
background-color: var(--pf-v5-c-expandable-section__toggle--BackgroundColor);
|
|
99
111
|
border: none;
|
|
112
|
+
border-radius: var(--pf-v5-c-expandable-section__toggle--BorderRadius, 0);
|
|
100
113
|
}
|
|
101
114
|
.pf-v5-c-expandable-section__toggle:hover {
|
|
102
115
|
--pf-v5-c-expandable-section__toggle--Color: var(--pf-v5-c-expandable-section__toggle--hover--Color);
|
|
116
|
+
--pf-v5-c-expandable-section__toggle--BackgroundColor: var(--pf-v5-c-expandable-section__toggle--hover--BackgroundColor, initial);
|
|
103
117
|
}
|
|
104
118
|
.pf-v5-c-expandable-section__toggle:active, .pf-v5-c-expandable-section__toggle.pf-m-active {
|
|
105
119
|
--pf-v5-c-expandable-section__toggle--Color: var(--pf-v5-c-expandable-section__toggle--active--Color);
|
|
120
|
+
--pf-v5-c-expandable-section__toggle--BackgroundColor: var(--pf-v5-c-expandable-section__toggle--active--BackgroundColor, initial);
|
|
106
121
|
}
|
|
107
122
|
.pf-v5-c-expandable-section__toggle:focus {
|
|
108
123
|
--pf-v5-c-expandable-section__toggle--Color: var(--pf-v5-c-expandable-section__toggle--focus--Color);
|
|
124
|
+
--pf-v5-c-expandable-section__toggle--BackgroundColor: var(--pf-v5-c-expandable-section__toggle--focus--BackgroundColor, initial);
|
|
109
125
|
}
|
|
110
126
|
|
|
111
127
|
.pf-v5-c-expandable-section__toggle-icon {
|
|
@@ -114,18 +130,18 @@
|
|
|
114
130
|
transition: var(--pf-v5-c-expandable-section__toggle-icon--Transition);
|
|
115
131
|
transform: rotate(var(--pf-v5-c-expandable-section__toggle-icon--Rotate));
|
|
116
132
|
}
|
|
117
|
-
.pf-v5-c-expandable-section__toggle-icon
|
|
118
|
-
|
|
133
|
+
:where(.pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-expandable-section__toggle-icon {
|
|
134
|
+
scale: -1 1;
|
|
119
135
|
}
|
|
120
136
|
|
|
121
|
-
.pf-v5-c-expandable-section__toggle-
|
|
122
|
-
|
|
137
|
+
.pf-v5-c-expandable-section__toggle-icon.pf-m-expand-top {
|
|
138
|
+
--pf-v5-c-expandable-section__toggle-icon--Rotate: var(--pf-v5-c-expandable-section__toggle-icon--m-expand-top--Rotate);
|
|
123
139
|
}
|
|
124
140
|
|
|
125
141
|
.pf-v5-c-expandable-section__content {
|
|
126
142
|
max-width: var(--pf-v5-c-expandable-section__content--MaxWidth);
|
|
127
|
-
padding-
|
|
128
|
-
padding-
|
|
129
|
-
padding-
|
|
130
|
-
|
|
143
|
+
padding-block-start: var(--pf-v5-c-expandable-section__content--PaddingTop);
|
|
144
|
+
padding-block-end: var(--pf-v5-c-expandable-section__content--PaddingBottom);
|
|
145
|
+
padding-inline-start: var(--pf-v5-c-expandable-section__content--PaddingLeft);
|
|
146
|
+
padding-inline-end: var(--pf-v5-c-expandable-section__content--PaddingRight);
|
|
131
147
|
}
|
|
@@ -1,70 +1,78 @@
|
|
|
1
1
|
// @debug $expandable-section; // check your variable names located in src/patternfly/sass-utilities/component-namespaces.scss
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
:root {
|
|
4
4
|
// Toggle
|
|
5
|
-
--#{$expandable-section}__toggle--PaddingTop: var(
|
|
6
|
-
--#{$expandable-section}__toggle--PaddingRight: var(
|
|
7
|
-
--#{$expandable-section}__toggle--PaddingBottom: var(
|
|
8
|
-
--#{$expandable-section}__toggle--PaddingLeft:
|
|
9
|
-
--#{$expandable-section}__toggle--
|
|
10
|
-
--#{$expandable-section}__toggle--Color: var(
|
|
11
|
-
--#{$expandable-section}__toggle--
|
|
12
|
-
--#{$expandable-section}__toggle--
|
|
13
|
-
--#{$expandable-section}__toggle--
|
|
14
|
-
--#{$expandable-section}__toggle--m-expanded--Color: var(--#{$pf-global}--link--Color--hover);
|
|
5
|
+
--#{$expandable-section}__toggle--PaddingTop: var(--pf-t--global--spacer--sm);
|
|
6
|
+
--#{$expandable-section}__toggle--PaddingRight: var(--pf-t--global--spacer--md);
|
|
7
|
+
--#{$expandable-section}__toggle--PaddingBottom: var(--pf-t--global--spacer--sm);
|
|
8
|
+
--#{$expandable-section}__toggle--PaddingLeft: var(--pf-t--global--spacer--sm);
|
|
9
|
+
--#{$expandable-section}__toggle--Color: var(--pf-t--global--color--brand--default);
|
|
10
|
+
--#{$expandable-section}__toggle--hover--Color: var(--pf-t--global--color--brand--hover);
|
|
11
|
+
--#{$expandable-section}__toggle--active--Color: var(--pf-t--global--color--brand--hover);
|
|
12
|
+
--#{$expandable-section}__toggle--focus--Color: var(--pf-t--global--color--brand--hover);
|
|
13
|
+
--#{$expandable-section}__toggle--m-expanded--Color: var(--pf-t--global--color--brand--hover);
|
|
15
14
|
--#{$expandable-section}__toggle--BackgroundColor: transparent;
|
|
16
|
-
|
|
15
|
+
--#{$expandable-section}__toggle--ColumnGap: calc(var(--pf-t--global--spacer--xs) + var(--pf-t--global--spacer--sm));
|
|
16
|
+
|
|
17
17
|
// Toggle icon
|
|
18
18
|
--#{$expandable-section}__toggle-icon--MinWidth: 1em;
|
|
19
|
-
--#{$expandable-section}__toggle-icon--Color: var(
|
|
19
|
+
--#{$expandable-section}__toggle-icon--Color: var(--pf-t--global--icon--color--regular);
|
|
20
20
|
--#{$expandable-section}__toggle-icon--Transition: .2s ease-in 0s;
|
|
21
21
|
--#{$expandable-section}__toggle-icon--Rotate: 0;
|
|
22
22
|
--#{$expandable-section}__toggle-icon--m-expand-top--Rotate: 0;
|
|
23
23
|
--#{$expandable-section}--m-expanded__toggle-icon--Rotate: 90deg;
|
|
24
24
|
--#{$expandable-section}--m-expanded__toggle-icon--m-expand-top--Rotate: -90deg;
|
|
25
|
-
|
|
26
|
-
// Toggle text
|
|
27
|
-
--#{$expandable-section}__toggle-text--MarginLeft: calc(var(--#{$pf-global}--spacer--xs) + var(--#{$pf-global}--spacer--sm));
|
|
28
|
-
|
|
25
|
+
|
|
29
26
|
// Content
|
|
30
|
-
--#{$expandable-section}__content--
|
|
27
|
+
--#{$expandable-section}__content--PaddingTop: var(--pf-t--global--spacer--sm);
|
|
28
|
+
--#{$expandable-section}__content--PaddingRight: var(--pf-t--global--spacer--sm);
|
|
29
|
+
--#{$expandable-section}__content--PaddingBottom: var(--pf-t--global--spacer--sm);
|
|
30
|
+
--#{$expandable-section}__content--PaddingLeft: var(--pf-t--global--spacer--sm);
|
|
31
31
|
--#{$expandable-section}__content--MaxWidth: auto;
|
|
32
|
-
|
|
32
|
+
|
|
33
33
|
// Limit Width
|
|
34
34
|
--#{$expandable-section}--m-limit-width__content--MaxWidth: #{pf-size-prem(750px)};
|
|
35
|
+
|
|
36
|
+
// Large / Disclosure
|
|
37
|
+
--#{$expandable-section}--m-display-lg--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
38
|
+
--#{$expandable-section}--m-display-lg--BorderColor: var(--pf-t--global--border--color--default);
|
|
39
|
+
--#{$expandable-section}--m-display-lg--BorderRadius: var(--pf-t--global--border--radius--medium);
|
|
40
|
+
--#{$expandable-section}--m-display-lg__toggle--PaddingTop: var(--pf-t--global--spacer--md);
|
|
41
|
+
--#{$expandable-section}--m-display-lg__toggle--PaddingRight: var(--pf-t--global--spacer--lg);
|
|
42
|
+
--#{$expandable-section}--m-display-lg__toggle--PaddingBottom: var(--pf-t--global--spacer--md);
|
|
43
|
+
--#{$expandable-section}--m-display-lg__toggle--PaddingLeft: var(--pf-t--global--spacer--lg);
|
|
44
|
+
--#{$expandable-section}--m-display-lg__toggle--BorderRadius: var(--pf-t--global--border--radius--medium);
|
|
45
|
+
--#{$expandable-section}--m-display-lg__toggle--Width: 100%;
|
|
46
|
+
--#{$expandable-section}--m-display-lg__toggle--hover--BackgroundColor: var(--pf-t--global--background--color--secondary--hover);
|
|
47
|
+
--#{$expandable-section}--m-display-lg__toggle--active--BackgroundColor: var(--pf-t--global--background--color--secondary--hover);
|
|
48
|
+
--#{$expandable-section}--m-display-lg__toggle--focus--BackgroundColor: var(--pf-t--global--background--color--secondary--hover);
|
|
49
|
+
--#{$expandable-section}--m-display-lg__content--PaddingRight: var(--pf-t--global--spacer--lg);
|
|
50
|
+
--#{$expandable-section}--m-display-lg__content--PaddingBottom: var(--pf-t--global--spacer--md);
|
|
51
|
+
--#{$expandable-section}--m-display-lg__content--PaddingLeft: var(--pf-t--global--spacer--lg);
|
|
52
|
+
--#{$expandable-section}--m-expanded--m-display-lg__toggle--BorderRadius: var(--pf-t--global--border--radius--medium) var(--pf-t--global--border--radius--medium) 0 0;
|
|
35
53
|
|
|
36
|
-
// Large
|
|
37
|
-
--#{$expandable-section}--m-display-lg--BoxShadow: var(--#{$pf-global}--BoxShadow--md);
|
|
38
|
-
--#{$expandable-section}--m-display-lg__toggle--PaddingTop: var(--#{$pf-global}--spacer--md);
|
|
39
|
-
--#{$expandable-section}--m-display-lg__toggle--PaddingRight: var(--#{$pf-global}--spacer--md);
|
|
40
|
-
--#{$expandable-section}--m-display-lg__toggle--PaddingBottom: var(--#{$pf-global}--spacer--md);
|
|
41
|
-
--#{$expandable-section}--m-display-lg__toggle--PaddingLeft: var(--#{$pf-global}--spacer--md);
|
|
42
|
-
--#{$expandable-section}--m-display-lg__content--MarginTop: 0;
|
|
43
|
-
--#{$expandable-section}--m-display-lg__content--PaddingRight: var(--#{$pf-global}--spacer--lg);
|
|
44
|
-
--#{$expandable-section}--m-display-lg__content--PaddingBottom: var(--#{$pf-global}--spacer--lg);
|
|
45
|
-
--#{$expandable-section}--m-display-lg__content--PaddingLeft: var(--#{$pf-global}--spacer--lg);
|
|
46
|
-
--#{$expandable-section}--m-display-lg--after--BackgroundColor: transparent;
|
|
47
|
-
--#{$expandable-section}--m-display-lg--after--Width: var(--#{$pf-global}--BorderWidth--lg);
|
|
48
|
-
--#{$expandable-section}--m-display-lg--m-expanded--after--BackgroundColor: var(--#{$pf-global}--primary-color--100);
|
|
49
54
|
|
|
50
55
|
// Indented
|
|
51
|
-
--#{$expandable-section}--m-indented__content--PaddingLeft: calc(var(--#{$expandable-section}__toggle
|
|
52
|
-
|
|
56
|
+
--#{$expandable-section}--m-indented__content--PaddingLeft--base: calc(var(--#{$expandable-section}__toggle--ColumnGap) + var(--#{$expandable-section}__toggle-icon--MinWidth));
|
|
57
|
+
--#{$expandable-section}--m-indented__content--PaddingLeft: calc(var(--#{$expandable-section}--m-indented__content--PaddingLeft--base) + var(--#{$expandable-section}__toggle--PaddingLeft));
|
|
58
|
+
--#{$expandable-section}--m-display-lg--m-indented__content--PaddingLeft: calc(var(--#{$expandable-section}--m-indented__content--PaddingLeft--base) + var(--#{$expandable-section}--m-display-lg__content--PaddingLeft));
|
|
59
|
+
|
|
53
60
|
// Truncate
|
|
61
|
+
--#{$expandable-section}--m-truncate--PaddingTop: var(--pf-t--global--spacer--sm);
|
|
62
|
+
--#{$expandable-section}--m-truncate--PaddingRight: var(--pf-t--global--spacer--md);
|
|
63
|
+
--#{$expandable-section}--m-truncate--PaddingBottom: var(--pf-t--global--spacer--sm);
|
|
64
|
+
--#{$expandable-section}--m-truncate--PaddingLeft: var(--pf-t--global--spacer--md);
|
|
65
|
+
--#{$expandable-section}--m-truncate__toggle--PaddingBottom: var(--pf-t--global--spacer--sm);
|
|
54
66
|
--#{$expandable-section}--m-truncate__content--LineClamp: 3;
|
|
55
|
-
|
|
56
|
-
|
|
67
|
+
}
|
|
57
68
|
|
|
69
|
+
.#{$expandable-section} {
|
|
58
70
|
&.pf-m-expanded {
|
|
59
71
|
--#{$expandable-section}__toggle--Color: var(--#{$expandable-section}__toggle--m-expanded--Color);
|
|
60
72
|
--#{$expandable-section}__toggle-icon--Rotate: var(--#{$expandable-section}--m-expanded__toggle-icon--Rotate);
|
|
61
73
|
--#{$expandable-section}__toggle-icon--m-expand-top--Rotate: var(--#{$expandable-section}--m-expanded__toggle-icon--m-expand-top--Rotate);
|
|
62
74
|
--#{$expandable-section}--m-display-lg--after--BackgroundColor: var(--#{$expandable-section}--m-display-lg--m-expanded--after--BackgroundColor);
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
&.pf-m-detached,
|
|
66
|
-
&.pf-m-truncate {
|
|
67
|
-
--#{$expandable-section}__content--MarginTop: 0;
|
|
75
|
+
--#{$expandable-section}--m-display-lg__toggle--BorderRadius: var(--#{$expandable-section}--m-expanded--m-display-lg__toggle--BorderRadius);
|
|
68
76
|
}
|
|
69
77
|
|
|
70
78
|
&.pf-m-limit-width {
|
|
@@ -76,23 +84,19 @@
|
|
|
76
84
|
--#{$expandable-section}__toggle--PaddingRight: var(--#{$expandable-section}--m-display-lg__toggle--PaddingRight);
|
|
77
85
|
--#{$expandable-section}__toggle--PaddingBottom: var(--#{$expandable-section}--m-display-lg__toggle--PaddingBottom);
|
|
78
86
|
--#{$expandable-section}__toggle--PaddingLeft: var(--#{$expandable-section}--m-display-lg__toggle--PaddingLeft);
|
|
87
|
+
--#{$expandable-section}__toggle--hover--BackgroundColor: var(--#{$expandable-section}--m-display-lg__toggle--hover--BackgroundColor);
|
|
88
|
+
--#{$expandable-section}__toggle--active--BackgroundColor: var(--#{$expandable-section}--m-display-lg__toggle--active--BackgroundColor);
|
|
89
|
+
--#{$expandable-section}__toggle--focus--BackgroundColor: var(--#{$expandable-section}--m-display-lg__toggle--focus--BackgroundColor);
|
|
90
|
+
--#{$expandable-section}__toggle--BorderRadius: var(--#{$expandable-section}--m-display-lg__toggle--BorderRadius);
|
|
91
|
+
--#{$expandable-section}__toggle--Width: var(--#{$expandable-section}--m-display-lg__toggle--Width);
|
|
79
92
|
--#{$expandable-section}__content--PaddingRight: var(--#{$expandable-section}--m-display-lg__content--PaddingRight);
|
|
80
93
|
--#{$expandable-section}__content--PaddingBottom: var(--#{$expandable-section}--m-display-lg__content--PaddingBottom);
|
|
81
94
|
--#{$expandable-section}__content--PaddingLeft: var(--#{$expandable-section}--m-display-lg__content--PaddingLeft);
|
|
82
|
-
--#{$expandable-section}
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
&::after {
|
|
88
|
-
position: absolute;
|
|
89
|
-
top: 0;
|
|
90
|
-
bottom: 0;
|
|
91
|
-
left: 0;
|
|
92
|
-
width: var(--#{$expandable-section}--m-display-lg--after--Width);
|
|
93
|
-
content: "";
|
|
94
|
-
background-color: var(--#{$expandable-section}--m-display-lg--after--BackgroundColor);
|
|
95
|
-
}
|
|
95
|
+
--#{$expandable-section}--m-indented__content--PaddingLeft: var(--#{$expandable-section}--m-display-lg--m-indented__content--PaddingLeft);
|
|
96
|
+
|
|
97
|
+
background-color: var(--#{$expandable-section}--m-display-lg--BackgroundColor);
|
|
98
|
+
border: solid 1px var(--#{$expandable-section}--m-display-lg--BorderColor);
|
|
99
|
+
border-radius: var(--#{$expandable-section}--m-display-lg--BorderRadius);
|
|
96
100
|
}
|
|
97
101
|
|
|
98
102
|
&.pf-m-indented {
|
|
@@ -100,11 +104,14 @@
|
|
|
100
104
|
}
|
|
101
105
|
|
|
102
106
|
&.pf-m-truncate {
|
|
103
|
-
--#{$expandable-section}__toggle--MarginTop: var(--#{$expandable-section}--m-truncate__toggle--MarginTop);
|
|
104
107
|
--#{$expandable-section}__toggle--PaddingTop: 0;
|
|
105
108
|
--#{$expandable-section}__toggle--PaddingRight: 0;
|
|
106
|
-
--#{$expandable-section}__toggle--PaddingBottom:
|
|
107
|
-
--#{$expandable-section}__toggle
|
|
109
|
+
--#{$expandable-section}__toggle--PaddingBottom: var(--#{$expandable-section}--m-truncate__toggle--PaddingBottom);
|
|
110
|
+
--#{$expandable-section}__toggle--PaddingLeft: 0;
|
|
111
|
+
--#{$expandable-section}__content--PaddingTop: 0;
|
|
112
|
+
--#{$expandable-section}__content--PaddingRight: 0;
|
|
113
|
+
--#{$expandable-section}__content--PaddingBottom: 0;
|
|
114
|
+
--#{$expandable-section}__content--PaddingLeft: 0;
|
|
108
115
|
|
|
109
116
|
&:not(.pf-m-expanded) .#{$expandable-section}__content {
|
|
110
117
|
// stylelint-disable
|
|
@@ -115,35 +122,41 @@
|
|
|
115
122
|
overflow: hidden;
|
|
116
123
|
}
|
|
117
124
|
}
|
|
118
|
-
|
|
119
|
-
&.pf-m-detached {
|
|
120
|
-
--#{$expandable-section}--m-truncate__toggle--MarginTop: 0;
|
|
121
|
-
}
|
|
122
125
|
}
|
|
123
126
|
|
|
124
127
|
.#{$expandable-section}__toggle {
|
|
125
128
|
display: flex;
|
|
126
|
-
|
|
127
|
-
|
|
129
|
+
column-gap: var(--#{$expandable-section}__toggle--ColumnGap);
|
|
130
|
+
width: var(--#{$expandable-section}__toggle--Width, initial);
|
|
131
|
+
padding-block-start: var(--#{$expandable-section}__toggle--PaddingTop);
|
|
132
|
+
padding-block-end: var(--#{$expandable-section}__toggle--PaddingBottom);
|
|
133
|
+
padding-inline-start: var(--#{$expandable-section}__toggle--PaddingLeft);
|
|
134
|
+
padding-inline-end: var(--#{$expandable-section}__toggle--PaddingRight);
|
|
128
135
|
color: var(--#{$expandable-section}__toggle--Color);
|
|
129
136
|
background-color: var(--#{$expandable-section}__toggle--BackgroundColor);
|
|
130
137
|
border: none;
|
|
138
|
+
border-radius: var(--#{$expandable-section}__toggle--BorderRadius, 0);
|
|
131
139
|
|
|
132
140
|
&:hover {
|
|
133
141
|
--#{$expandable-section}__toggle--Color: var(--#{$expandable-section}__toggle--hover--Color);
|
|
142
|
+
--#{$expandable-section}__toggle--BackgroundColor: var(--#{$expandable-section}__toggle--hover--BackgroundColor, initial);
|
|
134
143
|
}
|
|
135
144
|
|
|
136
145
|
&:active,
|
|
137
146
|
&.pf-m-active {
|
|
138
147
|
--#{$expandable-section}__toggle--Color: var(--#{$expandable-section}__toggle--active--Color);
|
|
148
|
+
--#{$expandable-section}__toggle--BackgroundColor: var(--#{$expandable-section}__toggle--active--BackgroundColor, initial);
|
|
139
149
|
}
|
|
140
150
|
|
|
141
151
|
&:focus {
|
|
142
152
|
--#{$expandable-section}__toggle--Color: var(--#{$expandable-section}__toggle--focus--Color);
|
|
153
|
+
--#{$expandable-section}__toggle--BackgroundColor: var(--#{$expandable-section}__toggle--focus--BackgroundColor, initial);
|
|
143
154
|
}
|
|
144
155
|
}
|
|
145
156
|
|
|
146
157
|
.#{$expandable-section}__toggle-icon {
|
|
158
|
+
@include pf-v5-mirror-inline-on-rtl;
|
|
159
|
+
|
|
147
160
|
min-width: var(--#{$expandable-section}__toggle-icon--MinWidth);
|
|
148
161
|
color: var(--#{$expandable-section}__toggle-icon--Color);
|
|
149
162
|
transition: var(--#{$expandable-section}__toggle-icon--Transition);
|
|
@@ -154,14 +167,10 @@
|
|
|
154
167
|
}
|
|
155
168
|
}
|
|
156
169
|
|
|
157
|
-
.#{$expandable-section}__toggle-text {
|
|
158
|
-
margin-left: var(--#{$expandable-section}__toggle-text--MarginLeft);
|
|
159
|
-
}
|
|
160
|
-
|
|
161
170
|
.#{$expandable-section}__content {
|
|
162
171
|
max-width: var(--#{$expandable-section}__content--MaxWidth);
|
|
163
|
-
padding-
|
|
164
|
-
padding-
|
|
165
|
-
padding-
|
|
166
|
-
|
|
172
|
+
padding-block-start: var(--#{$expandable-section}__content--PaddingTop);
|
|
173
|
+
padding-block-end: var(--#{$expandable-section}__content--PaddingBottom);
|
|
174
|
+
padding-inline-start: var(--#{$expandable-section}__content--PaddingLeft);
|
|
175
|
+
padding-inline-end: var(--#{$expandable-section}__content--PaddingRight);
|
|
167
176
|
}
|
|
@@ -16,20 +16,14 @@
|
|
|
16
16
|
}
|
|
17
17
|
.pf-v5-c-file-upload.pf-m-drag-hover::before {
|
|
18
18
|
position: absolute;
|
|
19
|
-
|
|
20
|
-
right: 0;
|
|
21
|
-
bottom: 0;
|
|
22
|
-
left: 0;
|
|
19
|
+
inset: 0;
|
|
23
20
|
z-index: var(--pf-v5-c-file-upload--m-drag-hover--before--ZIndex);
|
|
24
21
|
content: "";
|
|
25
22
|
border: var(--pf-v5-c-file-upload--m-drag-hover--before--BorderWidth) solid var(--pf-v5-c-file-upload--m-drag-hover--before--BorderColor);
|
|
26
23
|
}
|
|
27
24
|
.pf-v5-c-file-upload.pf-m-drag-hover::after {
|
|
28
25
|
position: absolute;
|
|
29
|
-
|
|
30
|
-
right: 0;
|
|
31
|
-
bottom: 0;
|
|
32
|
-
left: 0;
|
|
26
|
+
inset: 0;
|
|
33
27
|
content: "";
|
|
34
28
|
background-color: var(--pf-v5-c-file-upload--m-drag-hover--after--BackgroundColor);
|
|
35
29
|
opacity: var(--pf-v5-c-file-upload--m-drag-hover--after--Opacity);
|
|
@@ -39,10 +33,10 @@
|
|
|
39
33
|
}
|
|
40
34
|
.pf-v5-c-file-upload.pf-m-loading .pf-v5-c-file-upload__file-details::before {
|
|
41
35
|
position: absolute;
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
36
|
+
inset-block-start: 0;
|
|
37
|
+
inset-block-end: var(--pf-v5-c-file-upload--m-loading__file-details--before--Left);
|
|
38
|
+
inset-inline-start: var(--pf-v5-c-file-upload--m-loading__file-details--before--Left);
|
|
39
|
+
inset-inline-end: var(--pf-v5-c-file-upload--m-loading__file-details--before--Left);
|
|
46
40
|
content: "";
|
|
47
41
|
background-color: var(--pf-v5-c-file-upload--m-loading__file-details--before--BackgroundColor);
|
|
48
42
|
}
|
|
@@ -58,12 +52,12 @@
|
|
|
58
52
|
.pf-v5-c-file-upload__file-details .pf-v5-c-form-control {
|
|
59
53
|
flex: 1 1 auto;
|
|
60
54
|
min-height: var(--pf-v5-c-file-upload__file-details__c-form-control--MinHeight);
|
|
61
|
-
border-
|
|
55
|
+
border-block-start: 0;
|
|
62
56
|
}
|
|
63
57
|
|
|
64
58
|
.pf-v5-c-file-upload__file-details-spinner {
|
|
65
59
|
position: absolute;
|
|
66
|
-
|
|
67
|
-
|
|
60
|
+
inset-block-start: 50%;
|
|
61
|
+
inset-inline-start: 50%;
|
|
68
62
|
transform: translate(-50%, -50%);
|
|
69
63
|
}
|
|
@@ -27,10 +27,7 @@
|
|
|
27
27
|
&.pf-m-drag-hover {
|
|
28
28
|
&::before {
|
|
29
29
|
position: absolute;
|
|
30
|
-
|
|
31
|
-
right: 0;
|
|
32
|
-
bottom: 0;
|
|
33
|
-
left: 0;
|
|
30
|
+
inset: 0;
|
|
34
31
|
z-index: var(--#{$file-upload}--m-drag-hover--before--ZIndex);
|
|
35
32
|
content: "";
|
|
36
33
|
border: var(--#{$file-upload}--m-drag-hover--before--BorderWidth) solid var(--#{$file-upload}--m-drag-hover--before--BorderColor);
|
|
@@ -38,10 +35,7 @@
|
|
|
38
35
|
|
|
39
36
|
&::after {
|
|
40
37
|
position: absolute;
|
|
41
|
-
|
|
42
|
-
right: 0;
|
|
43
|
-
bottom: 0;
|
|
44
|
-
left: 0;
|
|
38
|
+
inset: 0;
|
|
45
39
|
content: "";
|
|
46
40
|
background-color: var(--#{$file-upload}--m-drag-hover--after--BackgroundColor);
|
|
47
41
|
opacity: var(--#{$file-upload}--m-drag-hover--after--Opacity);
|
|
@@ -54,10 +48,10 @@
|
|
|
54
48
|
|
|
55
49
|
&::before {
|
|
56
50
|
position: absolute;
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
51
|
+
inset-block-start: 0;
|
|
52
|
+
inset-block-end: var(--#{$file-upload}--m-loading__file-details--before--Left);
|
|
53
|
+
inset-inline-start: var(--#{$file-upload}--m-loading__file-details--before--Left);
|
|
54
|
+
inset-inline-end: var(--#{$file-upload}--m-loading__file-details--before--Left);
|
|
61
55
|
content: "";
|
|
62
56
|
background-color: var(--#{$file-upload}--m-loading__file-details--before--BackgroundColor);
|
|
63
57
|
}
|
|
@@ -78,13 +72,13 @@
|
|
|
78
72
|
.#{$form-control} {
|
|
79
73
|
flex: 1 1 auto;
|
|
80
74
|
min-height: var(--#{$file-upload}__file-details__c-form-control--MinHeight);
|
|
81
|
-
border-
|
|
75
|
+
border-block-start: 0;
|
|
82
76
|
}
|
|
83
77
|
}
|
|
84
78
|
|
|
85
79
|
.#{$file-upload}__file-details-spinner {
|
|
86
80
|
position: absolute;
|
|
87
|
-
|
|
88
|
-
|
|
81
|
+
inset-block-start: 50%;
|
|
82
|
+
inset-inline-start: 50%;
|
|
89
83
|
transform: translate(-50%, -50%);
|
|
90
84
|
}
|