@patternfly/patternfly 6.5.0-prerelease.4 → 6.5.0-prerelease.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/assets/fontawesome/_variables.scss +2 -1
- package/assets/images/RHAiExperienceIcon.svg +27 -0
- package/assets/images/RHAutomationsLogo.svg +96 -0
- package/assets/images/RHServerStackIcon.svg +16 -0
- package/assets/images/compass--hero-bg.png +0 -0
- package/assets/images/compass--rh-wallpaper-dark.png +0 -0
- package/assets/images/compass--rh-wallpaper-light.png +0 -0
- package/assets/images/compass--wallpaper-dark.png +0 -0
- package/assets/images/compass--wallpaper-light.png +0 -0
- package/base/normalize.scss +7 -0
- package/base/patternfly-common.css +50 -0
- package/base/patternfly-common.scss +59 -0
- package/base/patternfly-svg-icons.css +11 -0
- package/base/patternfly-svg-icons.scss +14 -0
- package/base/patternfly-variables.css +345 -14
- package/base/patternfly-variables.scss +40 -0
- package/base/tokens/tokens-dark.scss +51 -3
- package/base/tokens/tokens-default.scss +67 -13
- package/base/tokens/tokens-glass-dark.scss +9 -0
- package/base/tokens/tokens-glass.scss +9 -0
- package/base/tokens/tokens-local.scss +16 -0
- package/base/tokens/tokens-palette.scss +3 -1
- package/base/tokens/tokens-redhat-dark.scss +14 -0
- package/base/tokens/tokens-redhat-glass-dark.scss +16 -0
- package/base/tokens/tokens-redhat-glass.scss +15 -0
- package/base/tokens/tokens-redhat-highcontrast-dark.scss +47 -0
- package/base/tokens/tokens-redhat-highcontrast.scss +127 -0
- package/base/tokens/tokens-redhat.scss +15 -0
- package/components/AboutModalBox/about-modal-box.css +36 -26
- package/components/Accordion/accordion.css +16 -13
- package/components/Accordion/accordion.scss +0 -1
- package/components/ActionList/action-list.css +2 -0
- package/components/ActionList/action-list.scss +2 -0
- package/components/Alert/alert.css +5 -4
- package/components/Avatar/avatar.css +12 -4
- package/components/BackgroundImage/background-image.css +6 -3
- package/components/Banner/banner.css +8 -6
- package/components/Brand/brand.css +3 -1
- package/components/Breadcrumb/breadcrumb.css +4 -3
- package/components/Button/button.css +39 -9
- package/components/Button/button.scss +40 -4
- package/components/CalendarMonth/calendar-month.css +4 -3
- package/components/Card/card.css +19 -6
- package/components/Card/card.scss +15 -1
- package/components/ClipboardCopy/clipboard-copy.css +4 -3
- package/components/CodeEditor/code-editor.css +1 -1
- package/components/CodeEditor/code-editor.scss +1 -1
- package/components/Compass/compass.css +320 -0
- package/components/Compass/compass.scss +349 -0
- package/components/DataList/data-list.css +33 -22
- package/components/DataList/data-list.scss +6 -1
- package/components/DescriptionList/description-list-order.scss +5 -1
- package/components/DescriptionList/description-list.css +7 -5
- package/components/DescriptionList/description-list.scss +5 -1
- package/components/Divider/divider.css +7 -5
- package/components/Drawer/drawer.css +110 -56
- package/components/Drawer/drawer.scss +69 -9
- package/components/DualListSelector/dual-list-selector.css +17 -11
- package/components/ExpandableSection/expandable-section.css +19 -14
- package/components/ExpandableSection/expandable-section.scss +4 -1
- package/components/Form/form.css +1 -1
- package/components/Form/form.scss +1 -1
- package/components/FormControl/form-control.css +1 -1
- package/components/FormControl/form-control.scss +1 -1
- package/components/Hero/hero.css +74 -0
- package/components/Hero/hero.scss +86 -0
- package/components/JumpLinks/jump-links.css +4 -3
- package/components/JumpLinks/jump-links.scss +5 -1
- package/components/Label/label-group.css +2 -2
- package/components/Label/label-group.scss +2 -2
- package/components/Label/label.css +4 -3
- package/components/Login/login.css +51 -37
- package/components/Masthead/masthead.css +70 -16
- package/components/Masthead/masthead.scss +54 -1
- package/components/Menu/menu.css +23 -14
- package/components/MenuToggle/menu-toggle.css +4 -0
- package/components/MenuToggle/menu-toggle.scss +5 -0
- package/components/ModalBox/modal-box.css +9 -7
- package/components/ModalBox/modal-box.scss +2 -2
- package/components/Nav/nav.css +72 -9
- package/components/Nav/nav.scss +75 -3
- package/components/NotificationDrawer/notification-drawer.css +8 -6
- package/components/NotificationDrawer/notification-drawer.scss +2 -0
- package/components/Page/page.css +55 -29
- package/components/Page/page.scss +44 -5
- package/components/Pagination/pagination.scss +5 -1
- package/components/ProgressStepper/progress-stepper.scss +5 -1
- package/components/Sidebar/sidebar.css +1 -1
- package/components/Sidebar/sidebar.scss +7 -3
- package/components/Skeleton/skeleton.css +16 -15
- package/components/Slider/slider.css +32 -18
- package/components/Switch/switch.css +3 -1
- package/components/Table/table-grid.css +28 -36
- package/components/Table/table-grid.scss +4 -4
- package/components/Table/table-tree-view.css +4 -2
- package/components/Table/table.css +31 -27
- package/components/Tabs/tabs.css +33 -16
- package/components/Tabs/tabs.scss +33 -5
- package/components/Toolbar/toolbar.css +46 -14
- package/components/Toolbar/toolbar.scss +33 -5
- package/components/TreeView/tree-view.css +44 -13
- package/components/TreeView/tree-view.scss +31 -0
- package/components/Wizard/wizard.css +20 -16
- package/components/Wizard/wizard.scss +3 -3
- package/components/_index.css +1460 -633
- package/components/_index.scss +3 -1
- package/docs/components/Avatar/examples/Avatar.md +4 -4
- package/docs/components/Brand/examples/Brand.md +2 -2
- package/docs/components/Button/examples/Button.md +116 -0
- package/docs/components/Card/examples/Card.md +154 -0
- package/docs/components/Compass/examples/Compass.css +17 -0
- package/docs/components/Compass/examples/Compass.md +118 -0
- package/docs/components/DataList/examples/DataList.md +184 -188
- package/docs/components/DescriptionList/examples/DescriptionList.md +2 -2
- package/docs/components/Divider/examples/Divider.md +2 -2
- package/docs/components/Drawer/examples/Drawer.md +83 -17
- package/docs/components/Hero/examples/Hero.md +25 -0
- package/docs/components/Icon/examples/Icon.md +1 -1
- package/docs/components/InputGroup/examples/InputGroup.md +1 -1
- package/docs/components/JumpLinks/examples/JumpLinks.md +2 -2
- package/docs/components/Masthead/examples/masthead.md +68 -1
- package/docs/components/Menu/examples/Menu.md +2 -2
- package/docs/components/MenuToggle/examples/MenuToggle.md +40 -0
- package/docs/components/ModalBox/examples/ModalBox.md +1 -1
- package/docs/components/Nav/examples/Navigation.md +44 -0
- package/docs/components/Page/examples/Page.md +39 -2
- package/docs/components/Pagination/examples/Pagination.md +3 -3
- package/docs/components/ProgressStepper/examples/ProgressStepper.md +2 -2
- package/docs/components/Sidebar/examples/Sidebar.md +1 -1
- package/docs/components/Table/examples/Table.md +4 -3
- package/docs/components/Tabs/examples/Tabs.md +998 -83
- package/docs/components/Toolbar/examples/Toolbar.md +35 -7
- package/docs/components/TreeView/examples/TreeView.md +38 -26
- package/docs/components/Wizard/examples/Wizard.md +15 -15
- package/docs/demos/AboutModal/examples/AboutModal.md +5 -5
- package/docs/demos/Alert/examples/Alert.md +15 -15
- package/docs/demos/BackToTop/examples/BackToTop.md +5 -5
- package/docs/demos/Banner/examples/Banner.md +10 -10
- package/docs/demos/Card/examples/Card.md +14 -2
- package/docs/demos/CardView/examples/CardView.md +5 -5
- package/docs/demos/Compass/examples/Compass.md +6470 -0
- package/docs/demos/Dashboard/examples/Dashboard.md +6 -9
- package/docs/demos/DataList/examples/DataList.md +20 -23
- package/docs/demos/DescriptionList/examples/DescriptionList.md +57 -50
- package/docs/demos/Drawer/examples/Drawer.md +67 -60
- package/docs/demos/JumpLinks/examples/JumpLinks.md +30 -30
- package/docs/demos/Masthead/examples/Masthead.md +55 -58
- package/docs/demos/Modal/examples/Modal.md +30 -33
- package/docs/demos/Nav/examples/Nav.md +299 -62
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +25 -25
- package/docs/demos/Page/examples/Page.md +70 -79
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +178 -200
- package/docs/demos/Skeleton/examples/Skeleton.md +5 -5
- package/docs/demos/Table/examples/Table.md +1922 -78
- package/docs/demos/Tabs/examples/Tabs.md +102 -39
- package/docs/demos/Toolbar/examples/Toolbar.md +10 -10
- package/docs/demos/Wizard/examples/Wizard.md +76 -82
- package/docs/layouts/Bullseye/examples/Bullseye.css +2 -2
- package/docs/layouts/Bullseye/examples/Bullseye.md +2 -1
- package/docs/layouts/Flex/examples/Flex.css +3 -3
- package/docs/layouts/Flex/examples/Flex.md +3 -2
- package/docs/layouts/Gallery/examples/Gallery.css +2 -2
- package/docs/layouts/Gallery/examples/Gallery.md +4 -3
- package/docs/layouts/Grid/examples/Grid.css +1 -1
- package/docs/layouts/Grid/examples/Grid.md +6 -5
- package/docs/layouts/Level/examples/Level.css +3 -3
- package/docs/layouts/Level/examples/Level.md +2 -1
- package/docs/layouts/Split/examples/Split.css +1 -1
- package/docs/layouts/Split/examples/Split.md +2 -1
- package/docs/layouts/Stack/examples/Stack.css +3 -3
- package/docs/layouts/Stack/examples/Stack.md +2 -1
- package/docs/utilities/Accessibility/examples/Accessibility.md +3 -2
- package/docs/utilities/Alignment/examples/Alignment.css +4 -4
- package/docs/utilities/Alignment/examples/Alignment.md +3 -2
- package/docs/utilities/BackgroundColor/examples/BackgroundColor.md +5 -4
- package/docs/utilities/BoxShadow/examples/box-shadow.css +2 -2
- package/docs/utilities/BoxShadow/examples/box-shadow.md +2 -1
- package/docs/utilities/Display/examples/Display.css +1 -1
- package/docs/utilities/Display/examples/Display.md +3 -2
- package/docs/utilities/Flex/examples/Flex.css +7 -7
- package/docs/utilities/Flex/examples/Flex.md +3 -2
- package/docs/utilities/Float/examples/Float.css +2 -2
- package/docs/utilities/Float/examples/Float.md +3 -2
- package/docs/utilities/Sizing/examples/Sizing.md +8 -7
- package/docs/utilities/Spacing/examples/Spacing.css +2 -2
- package/docs/utilities/Spacing/examples/Spacing.md +3 -2
- package/docs/utilities/Text/examples/Text.md +5 -4
- package/icons/PfIcons/add-circle-o.svg +4 -0
- package/icons/PfIcons/ansible-tower.svg +4 -0
- package/icons/PfIcons/applications.svg +4 -0
- package/icons/PfIcons/arrow.svg +4 -0
- package/icons/PfIcons/asleep.svg +4 -0
- package/icons/PfIcons/attention-bell.svg +4 -0
- package/icons/PfIcons/automation.svg +4 -0
- package/icons/PfIcons/bell.svg +4 -0
- package/icons/PfIcons/blueprint.svg +4 -0
- package/icons/PfIcons/build.svg +4 -0
- package/icons/PfIcons/builder-image.svg +4 -0
- package/icons/PfIcons/bundle.svg +4 -0
- package/icons/PfIcons/catalog.svg +4 -0
- package/icons/PfIcons/chat.svg +4 -0
- package/icons/PfIcons/close.svg +4 -0
- package/icons/PfIcons/cloud-security.svg +4 -0
- package/icons/PfIcons/cloud-tenant.svg +4 -0
- package/icons/PfIcons/cluster.svg +4 -0
- package/icons/PfIcons/connected.svg +4 -0
- package/icons/PfIcons/container-node.svg +4 -0
- package/icons/PfIcons/cpu.svg +4 -0
- package/icons/PfIcons/critical-risk.svg +4 -0
- package/icons/PfIcons/data-processor.svg +4 -0
- package/icons/PfIcons/data-sink.svg +4 -0
- package/icons/PfIcons/data-source.svg +4 -0
- package/icons/PfIcons/degraded.svg +4 -0
- package/icons/PfIcons/disconnected.svg +4 -0
- package/icons/PfIcons/domain.svg +4 -0
- package/icons/PfIcons/edit.svg +4 -0
- package/icons/PfIcons/enhancement.svg +4 -0
- package/icons/PfIcons/enterprise.svg +4 -0
- package/icons/PfIcons/equalizer.svg +4 -0
- package/icons/PfIcons/error-circle-o.svg +4 -0
- package/icons/PfIcons/export.svg +4 -0
- package/icons/PfIcons/filter.svg +4 -0
- package/icons/PfIcons/flavor.svg +4 -0
- package/icons/PfIcons/folder-close.svg +4 -0
- package/icons/PfIcons/folder-open.svg +4 -0
- package/icons/PfIcons/globe-route.svg +4 -0
- package/icons/PfIcons/help.svg +4 -0
- package/icons/PfIcons/history.svg +4 -0
- package/icons/PfIcons/home.svg +4 -0
- package/icons/PfIcons/import.svg +4 -0
- package/icons/PfIcons/in-progress.svg +4 -0
- package/icons/PfIcons/info.svg +4 -0
- package/icons/PfIcons/infrastructure.svg +4 -0
- package/icons/PfIcons/integration.svg +4 -0
- package/icons/PfIcons/key.svg +4 -0
- package/icons/PfIcons/locked.svg +4 -0
- package/icons/PfIcons/maintenance.svg +4 -0
- package/icons/PfIcons/memory.svg +4 -0
- package/icons/PfIcons/messages.svg +4 -0
- package/icons/PfIcons/middleware.svg +4 -0
- package/icons/PfIcons/migration.svg +4 -0
- package/icons/PfIcons/module.svg +4 -0
- package/icons/PfIcons/monitoring.svg +4 -0
- package/icons/PfIcons/multicluster.svg +4 -0
- package/icons/PfIcons/namespaces.svg +4 -0
- package/icons/PfIcons/network.svg +4 -0
- package/icons/PfIcons/new-process.svg +4 -0
- package/icons/PfIcons/not-started.svg +4 -0
- package/icons/PfIcons/off.svg +4 -0
- package/icons/PfIcons/ok.svg +4 -0
- package/icons/PfIcons/on-running.svg +4 -0
- package/icons/PfIcons/on.svg +4 -0
- package/icons/PfIcons/open-drawer-right.svg +4 -0
- package/icons/PfIcons/openshift.svg +4 -0
- package/icons/PfIcons/openstack.svg +4 -0
- package/icons/PfIcons/optimize.svg +4 -0
- package/icons/PfIcons/orders.svg +4 -0
- package/icons/PfIcons/os-image.svg +4 -0
- package/icons/PfIcons/package.svg +4 -0
- package/icons/PfIcons/panel-close.svg +4 -0
- package/icons/PfIcons/panel-open.svg +4 -0
- package/icons/PfIcons/paused.svg +4 -0
- package/icons/PfIcons/pending.svg +4 -0
- package/icons/PfIcons/pficon-dragdrop.svg +4 -0
- package/icons/PfIcons/pficon-history.svg +4 -0
- package/icons/PfIcons/pficon-network-range.svg +4 -0
- package/icons/PfIcons/pficon-satellite.svg +4 -0
- package/icons/PfIcons/pficon-sort-common-asc.svg +4 -0
- package/icons/PfIcons/pficon-sort-common-desc.svg +4 -0
- package/icons/PfIcons/pficon-template.svg +4 -0
- package/icons/PfIcons/pficon-vcenter.svg +4 -0
- package/icons/PfIcons/plugged.svg +4 -0
- package/icons/PfIcons/port.svg +4 -0
- package/icons/PfIcons/print.svg +4 -0
- package/icons/PfIcons/private.svg +4 -0
- package/icons/PfIcons/process-automation.svg +4 -0
- package/icons/PfIcons/project.svg +4 -0
- package/icons/PfIcons/rebalance.svg +4 -0
- package/icons/PfIcons/rebooting.svg +4 -0
- package/icons/PfIcons/regions.svg +4 -0
- package/icons/PfIcons/registry.svg +4 -0
- package/icons/PfIcons/remove2.svg +4 -0
- package/icons/PfIcons/replicator.svg +4 -0
- package/icons/PfIcons/repository.svg +4 -0
- package/icons/PfIcons/resource-pool.svg +4 -0
- package/icons/PfIcons/resources-almost-empty.svg +4 -0
- package/icons/PfIcons/resources-almost-full.svg +4 -0
- package/icons/PfIcons/resources-empty.svg +4 -0
- package/icons/PfIcons/resources-full.svg +4 -0
- package/icons/PfIcons/running.svg +4 -0
- package/icons/PfIcons/save.svg +4 -0
- package/icons/PfIcons/screen.svg +4 -0
- package/icons/PfIcons/security.svg +4 -0
- package/icons/PfIcons/server-group.svg +4 -0
- package/icons/PfIcons/server.svg +4 -0
- package/icons/PfIcons/service-catalog.svg +4 -0
- package/icons/PfIcons/service.svg +4 -0
- package/icons/PfIcons/services.svg +4 -0
- package/icons/PfIcons/severity-critical.svg +4 -0
- package/icons/PfIcons/severity-important.svg +4 -0
- package/icons/PfIcons/severity-minor.svg +4 -0
- package/icons/PfIcons/severity-moderate.svg +4 -0
- package/icons/PfIcons/severity-none.svg +4 -0
- package/icons/PfIcons/severity-undefined.svg +4 -0
- package/icons/PfIcons/spinner.svg +4 -0
- package/icons/PfIcons/spinner2.svg +4 -0
- package/icons/PfIcons/storage-domain.svg +4 -0
- package/icons/PfIcons/task.svg +4 -0
- package/icons/PfIcons/tenant.svg +4 -0
- package/icons/PfIcons/thumb-tack.svg +4 -0
- package/icons/PfIcons/topology.svg +4 -0
- package/icons/PfIcons/treeview.svg +4 -0
- package/icons/PfIcons/trend-down.svg +4 -0
- package/icons/PfIcons/trend-up.svg +4 -0
- package/icons/PfIcons/unknown.svg +4 -0
- package/icons/PfIcons/unlocked.svg +4 -0
- package/icons/PfIcons/unplugged.svg +4 -0
- package/icons/PfIcons/user.svg +4 -0
- package/icons/PfIcons/users.svg +4 -0
- package/icons/PfIcons/virtual-machine.svg +4 -0
- package/icons/PfIcons/volume.svg +4 -0
- package/icons/PfIcons/warning-triangle.svg +4 -0
- package/icons/PfIcons/zone.svg +4 -0
- package/layouts/Flex/flex.scss +83 -19
- package/layouts/Gallery/gallery.css +6 -2
- package/layouts/_index.css +6 -2
- package/package.json +34 -16
- package/patternfly-base-no-globals.css +406 -14
- package/patternfly-base.css +413 -14
- package/patternfly-charts.css +3 -3
- package/patternfly-no-globals.css +1796 -573
- package/patternfly.css +1803 -573
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/functions.scss +32 -25
- package/sass-utilities/mixins.scss +36 -20
- package/sass-utilities/namespaces-components.scss +6 -0
package/components/Nav/nav.scss
CHANGED
|
@@ -40,6 +40,17 @@
|
|
|
40
40
|
// * Nav item
|
|
41
41
|
--#{$nav}__item--RowGap: var(--#{$nav}__list--RowGap);
|
|
42
42
|
|
|
43
|
+
// Nav item accent
|
|
44
|
+
--#{$nav}__item--accent--size: var(--pf-t--global--border--width--extra-strong);
|
|
45
|
+
--#{$nav}__item--accent--color: var(--pf-t--global--border--color--clicked);
|
|
46
|
+
--#{$nav}__item--accent--offset: calc(var(--pf-t--global--spacer--sm) * -1);
|
|
47
|
+
--#{$nav}__item--accent--BorderRadius: var(--pf-t--global--border--radius--small);
|
|
48
|
+
--#{$nav}__item--accent--ScaleY: 0;
|
|
49
|
+
--#{$nav}__item--current--accent--ScaleY: 1;
|
|
50
|
+
--#{$nav}__item--accent--TransitionDuration: 0;
|
|
51
|
+
--#{$nav}__item--current--accent--TransitionDuration: var(--pf-t--global--motion--duration--fade--default);
|
|
52
|
+
--#{$nav}__item--accent--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--decelerate);
|
|
53
|
+
|
|
43
54
|
// * Nav item toggle icon
|
|
44
55
|
--#{$nav}__item__toggle-icon--Rotate: 0;
|
|
45
56
|
--#{$nav}__item--m-expanded__toggle-icon--Rotate: 90deg;
|
|
@@ -74,6 +85,9 @@
|
|
|
74
85
|
--#{$nav}__link-icon--Color: var(--pf-t--global--icon--color--subtle);
|
|
75
86
|
--#{$nav}__link--m-current__link-icon--Color: var(--pf-t--global--icon--color--regular);
|
|
76
87
|
|
|
88
|
+
// Nav link text
|
|
89
|
+
--#{$nav}__link-text--FontSize: initial;
|
|
90
|
+
|
|
77
91
|
// * Nav subnav
|
|
78
92
|
--#{$nav}__subnav--RowGap: var(--pf-t--global--border--width--extra-strong);
|
|
79
93
|
--#{$nav}__subnav--PaddingBlockStart: var(--#{$nav}__item--RowGap); // needed to keep focus outline on first item from being cut off
|
|
@@ -129,6 +143,13 @@
|
|
|
129
143
|
--#{$nav}--m-horizontal--m-subnav__link--PaddingBlockEnd: var(--pf-t--global--spacer--xs);
|
|
130
144
|
--#{$nav}--m-horizontal--m-subnav__link--PaddingInlineStart: var(--pf-t--global--spacer--md);
|
|
131
145
|
--#{$nav}--m-horizontal--m-subnav__link--PaddingInlineEnd: var(--pf-t--global--spacer--md);
|
|
146
|
+
|
|
147
|
+
// Docked
|
|
148
|
+
--#{$nav}--m-docked__list--RowGap: var(--pf-t--global--spacer--gap--action-to-action--plain);
|
|
149
|
+
--#{$nav}--m-docked__link--PaddingInlineStart: var(--pf-t--global--spacer--sm);
|
|
150
|
+
--#{$nav}--m-docked__link--PaddingInlineEnd: var(--pf-t--global--spacer--sm);
|
|
151
|
+
--#{$nav}--m-docked__link--hover--BackgroundColor: var(--pf-t--global--background--color--action--plain--hover);
|
|
152
|
+
--#{$nav}--m-docked__link--m-current--BackgroundColor: var(--pf-t--global--background--color--action--plain--clicked);
|
|
132
153
|
}
|
|
133
154
|
|
|
134
155
|
// - Nav display - default to grid
|
|
@@ -168,6 +189,29 @@
|
|
|
168
189
|
flex-grow: 1;
|
|
169
190
|
}
|
|
170
191
|
|
|
192
|
+
&.pf-m-docked {
|
|
193
|
+
--#{$nav}--PaddingBlockStart: 0;
|
|
194
|
+
--#{$nav}--PaddingBlockEnd: 0;
|
|
195
|
+
--#{$nav}__list--RowGap: var(--#{$nav}--m-docked__list--RowGap);
|
|
196
|
+
--#{$nav}__link--PaddingInlineStart: var(--#{$nav}--m-docked__link--PaddingInlineStart);
|
|
197
|
+
--#{$nav}__link--PaddingInlineEnd: var(--#{$nav}--m-docked__link--PaddingInlineEnd);
|
|
198
|
+
--#{$nav}__link--hover--BackgroundColor: var(--#{$nav}--m-docked__link--hover--BackgroundColor);
|
|
199
|
+
--#{$nav}__link--m-current--BackgroundColor: var(--#{$nav}--m-docked__link--m-current--BackgroundColor);
|
|
200
|
+
|
|
201
|
+
width: fit-content;
|
|
202
|
+
|
|
203
|
+
.#{$nav}__link-icon {
|
|
204
|
+
position: relative;
|
|
205
|
+
align-self: center;
|
|
206
|
+
min-width: 1lh;
|
|
207
|
+
text-align: center;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
.#{$nav}__link-text {
|
|
211
|
+
display: none;
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
|
|
171
215
|
.#{$menu} {
|
|
172
216
|
--#{$menu}--MinWidth: 100%;
|
|
173
217
|
|
|
@@ -244,8 +288,25 @@
|
|
|
244
288
|
|
|
245
289
|
// - Nav item
|
|
246
290
|
.#{$nav}__item {
|
|
291
|
+
position: relative;
|
|
247
292
|
scroll-snap-align: var(--#{$nav}__item--ScrollSnapAlign);
|
|
248
293
|
|
|
294
|
+
&::before {
|
|
295
|
+
position: absolute;
|
|
296
|
+
inset-block-start: 0;
|
|
297
|
+
inset-block-end: 0;
|
|
298
|
+
inset-inline-start: var(--#{$nav}__item--accent--offset);
|
|
299
|
+
width: var(--#{$nav}__item--accent--size);
|
|
300
|
+
pointer-events: none;
|
|
301
|
+
content: var(--#{$nav}__item--accent--content, "");
|
|
302
|
+
background-color: var(--#{$nav}__item--accent--color);
|
|
303
|
+
border-radius: var(--#{$nav}__item--accent--BorderRadius);
|
|
304
|
+
transition-timing-function: var(--#{$nav}__item--accent--TransitionTimingFunction);
|
|
305
|
+
transition-duration: var(--#{$nav}__item--accent--TransitionDuration);
|
|
306
|
+
transition-property: scale;
|
|
307
|
+
scale: 1 var(--#{$nav}__item--accent--ScaleY);
|
|
308
|
+
}
|
|
309
|
+
|
|
249
310
|
> .#{$nav}__link[button] {
|
|
250
311
|
margin-block-end: var(--#{$nav}__button--RowGap--row-offset);
|
|
251
312
|
}
|
|
@@ -255,6 +316,11 @@
|
|
|
255
316
|
margin-block-end: calc(var(--#{$nav}__subnav--PaddingBlockEnd) * -1); // offset bottom padding
|
|
256
317
|
}
|
|
257
318
|
}
|
|
319
|
+
|
|
320
|
+
&:has(> .#{$nav}__link.pf-m-current) {
|
|
321
|
+
--#{$nav}__item--accent--ScaleY: var(--#{$nav}__item--current--accent--ScaleY);
|
|
322
|
+
--#{$nav}__item--accent--TransitionDuration: var(--#{$nav}__item--current--accent--TransitionDuration);
|
|
323
|
+
}
|
|
258
324
|
}
|
|
259
325
|
|
|
260
326
|
// - Nav section
|
|
@@ -305,7 +371,6 @@
|
|
|
305
371
|
border-radius: inherit;
|
|
306
372
|
}
|
|
307
373
|
|
|
308
|
-
|
|
309
374
|
// explicitly set background-color prop to avoid affecting child elements settings
|
|
310
375
|
&:hover,
|
|
311
376
|
&.pf-m-hover,
|
|
@@ -326,11 +391,16 @@
|
|
|
326
391
|
}
|
|
327
392
|
}
|
|
328
393
|
|
|
329
|
-
// - Nav
|
|
394
|
+
// - Nav link icon
|
|
330
395
|
.#{$nav}__link-icon {
|
|
331
396
|
color: var(--#{$nav}__link-icon--Color);
|
|
332
397
|
}
|
|
333
398
|
|
|
399
|
+
// - Nav link text
|
|
400
|
+
.#{$nav}__link-text {
|
|
401
|
+
font-size: var(--#{$nav}__link-text--FontSize, inherit);
|
|
402
|
+
}
|
|
403
|
+
|
|
334
404
|
// - Nav toggle caret
|
|
335
405
|
.#{$nav}__toggle {
|
|
336
406
|
flex: none;
|
|
@@ -341,7 +411,7 @@
|
|
|
341
411
|
transform: translateY(var(--#{$nav}__toggle--TranslateY));
|
|
342
412
|
}
|
|
343
413
|
|
|
344
|
-
// - Nav toggle icon
|
|
414
|
+
// - Nav toggle caret icon
|
|
345
415
|
.#{$nav}__toggle-icon {
|
|
346
416
|
display: inline-block;
|
|
347
417
|
transition-timing-function: var(--#{$nav}__item__toggle-icon--TransitionTimingFunction--transform);
|
|
@@ -404,6 +474,8 @@
|
|
|
404
474
|
|
|
405
475
|
// - Nav horizontal
|
|
406
476
|
.#{$nav}:where(.pf-m-horizontal) {
|
|
477
|
+
--#{$nav}__item--accent--content: none;
|
|
478
|
+
|
|
407
479
|
padding: 0;
|
|
408
480
|
overflow: hidden;
|
|
409
481
|
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
--pf-v6-c-notification-drawer__header-status--FontWeight: var(--pf-t--global--font--weight--body--bold);
|
|
15
15
|
--pf-v6-c-notification-drawer__header-status--FontSize: var(--pf-t--global--font--size--body--default);
|
|
16
16
|
--pf-v6-c-notification-drawer__header-status--Color: var(--pf-t--global--text--color--subtle);
|
|
17
|
+
--pf-v6-c-notification-drawer__header-action--Gap: var(--pf-t--global--spacer--gap--action-to-action--plain);
|
|
17
18
|
--pf-v6-c-notification-drawer__body--ZIndex: var(--pf-t--global--z-index--xs);
|
|
18
19
|
--pf-v6-c-notification-drawer__body--PaddingBlockStart: 0;
|
|
19
20
|
--pf-v6-c-notification-drawer__body--PaddingBlockEnd: var(--pf-t--global--spacer--md);
|
|
@@ -108,6 +109,7 @@
|
|
|
108
109
|
|
|
109
110
|
.pf-v6-c-notification-drawer__header-action {
|
|
110
111
|
display: flex;
|
|
112
|
+
gap: var(--pf-v6-c-notification-drawer__header-action--Gap);
|
|
111
113
|
align-items: center;
|
|
112
114
|
margin-inline-start: auto;
|
|
113
115
|
}
|
|
@@ -191,9 +193,9 @@
|
|
|
191
193
|
}
|
|
192
194
|
.pf-v6-c-notification-drawer__list-item-header-title.pf-m-truncate {
|
|
193
195
|
display: -webkit-box;
|
|
196
|
+
overflow: hidden;
|
|
194
197
|
-webkit-box-orient: vertical;
|
|
195
198
|
-webkit-line-clamp: var(--pf-v6-c-notification-drawer__list-item-header-title--max-lines);
|
|
196
|
-
overflow: hidden;
|
|
197
199
|
}
|
|
198
200
|
|
|
199
201
|
.pf-v6-c-notification-drawer__list-item-action {
|
|
@@ -247,9 +249,9 @@
|
|
|
247
249
|
|
|
248
250
|
.pf-v6-c-notification-drawer__group-toggle-title {
|
|
249
251
|
display: -webkit-box;
|
|
252
|
+
overflow: hidden;
|
|
250
253
|
-webkit-box-orient: vertical;
|
|
251
254
|
-webkit-line-clamp: var(--pf-v6-c-notification-drawer__group-toggle-title--max-lines);
|
|
252
|
-
overflow: hidden;
|
|
253
255
|
flex: 1;
|
|
254
256
|
margin-inline-end: var(--pf-v6-c-notification-drawer__group-toggle-title--MarginInlineEnd);
|
|
255
257
|
font-size: var(--pf-v6-c-notification-drawer__group-toggle-title--FontSize);
|
|
@@ -262,15 +264,15 @@
|
|
|
262
264
|
margin-inline-end: var(--pf-v6-c-notification-drawer__group-toggle-count--MarginInlineEnd);
|
|
263
265
|
}
|
|
264
266
|
|
|
267
|
+
:where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-notification-drawer__group-toggle-icon {
|
|
268
|
+
scale: -1 1;
|
|
269
|
+
}
|
|
270
|
+
|
|
265
271
|
.pf-v6-c-notification-drawer__group-toggle-icon {
|
|
266
272
|
margin-inline-end: var(--pf-v6-c-notification-drawer__group-toggle-icon--MarginInlineEnd);
|
|
267
273
|
color: var(--pf-v6-c-notification-drawer__group-toggle-icon--Color);
|
|
268
274
|
transition: var(--pf-v6-c-notification-drawer__group-toggle-icon--Transition);
|
|
269
275
|
}
|
|
270
|
-
:where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-notification-drawer__group-toggle-icon {
|
|
271
|
-
scale: -1 1;
|
|
272
|
-
}
|
|
273
|
-
|
|
274
276
|
.pf-v6-c-notification-drawer__group.pf-m-expanded .pf-v6-c-notification-drawer__group-toggle-icon {
|
|
275
277
|
transform: rotate(var(--pf-v6-c-notification-drawer__group--m-expanded__group-toggle-icon--Rotate));
|
|
276
278
|
}
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
--#{$notification-drawer}__header-status--FontWeight: var(--pf-t--global--font--weight--body--bold);
|
|
19
19
|
--#{$notification-drawer}__header-status--FontSize: var(--pf-t--global--font--size--body--default);
|
|
20
20
|
--#{$notification-drawer}__header-status--Color: var(--pf-t--global--text--color--subtle);
|
|
21
|
+
--#{$notification-drawer}__header-action--Gap: var(--pf-t--global--spacer--gap--action-to-action--plain);
|
|
21
22
|
|
|
22
23
|
// Body
|
|
23
24
|
--#{$notification-drawer}__body--ZIndex: var(--pf-t--global--z-index--xs);
|
|
@@ -143,6 +144,7 @@
|
|
|
143
144
|
|
|
144
145
|
.#{$notification-drawer}__header-action {
|
|
145
146
|
display: flex;
|
|
147
|
+
gap: var(--#{$notification-drawer}__header-action--Gap);
|
|
146
148
|
align-items: center;
|
|
147
149
|
margin-inline-start: auto;
|
|
148
150
|
}
|
package/components/Page/page.css
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
--pf-v6-c-page--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
3
3
|
--pf-v6-c-page--inset: var(--pf-t--global--spacer--inset--page-chrome);
|
|
4
4
|
--pf-v6-c-page--c-masthead--ZIndex: var(--pf-t--global--z-index--md);
|
|
5
|
+
--pf-v6-c-page__dock--ZIndex: var(--pf-t--global--z-index--md);
|
|
5
6
|
--pf-v6-c-page__sidebar--ZIndex: var(--pf-t--global--z-index--sm);
|
|
6
7
|
--pf-v6-c-page__sidebar--Width--base: 18.125rem;
|
|
7
8
|
--pf-v6-c-page__sidebar--Width: var(--pf-v6-c-page__sidebar--Width--base);
|
|
@@ -24,6 +25,15 @@
|
|
|
24
25
|
--pf-v6-c-page__sidebar--PaddingInlineEnd: 0;
|
|
25
26
|
--pf-v6-c-page__sidebar--BorderInlineEndWidth: var(--pf-t--global--border--width--high-contrast--regular);
|
|
26
27
|
--pf-v6-c-page__sidebar--BorderInlineEndColor: var(--pf-t--global--border--color--high-contrast);
|
|
28
|
+
}
|
|
29
|
+
@media screen and (prefers-reduced-motion: no-preference) {
|
|
30
|
+
.pf-v6-c-page {
|
|
31
|
+
--pf-v6-c-page__sidebar--Opacity: 1;
|
|
32
|
+
--pf-v6-c-page__sidebar--TransitionProperty: transform;
|
|
33
|
+
--pf-v6-c-page__sidebar--TransitionDuration: var(--pf-t--global--motion--duration--slide-in--default);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
.pf-v6-c-page {
|
|
27
37
|
--pf-v6-c-page__sidebar-header--BorderBlockEndWidth: var(--pf-t--global--border--width--divider--default);
|
|
28
38
|
--pf-v6-c-page__sidebar-header--BorderBlockEndColor: var(--pf-t--global--border--color--default);
|
|
29
39
|
--pf-v6-c-page__sidebar-header--PaddingBlockStart: var(--pf-t--global--spacer--sm);
|
|
@@ -39,6 +49,15 @@
|
|
|
39
49
|
--pf-v6-c-page__sidebar-body--m-page-insets--PaddingInlineStart: var(--pf-v6-c-page--inset);
|
|
40
50
|
--pf-v6-c-page__sidebar-body--m-context-selector--PaddingInlineEnd: var(--pf-t--global--spacer--md);
|
|
41
51
|
--pf-v6-c-page__sidebar-body--m-context-selector--PaddingInlineStart: var(--pf-t--global--spacer--md);
|
|
52
|
+
}
|
|
53
|
+
@media screen and (min-width: 75rem) {
|
|
54
|
+
.pf-v6-c-page {
|
|
55
|
+
--pf-v6-c-page__sidebar--TranslateX: var(--pf-v6-c-page__sidebar--xl--TranslateX);
|
|
56
|
+
--pf-v6-c-page__sidebar--Opacity: var(--pf-v6-c-page__sidebar--xl--Opacity);
|
|
57
|
+
--pf-v6-c-page__sidebar--BorderInlineEndWidth: 0;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
.pf-v6-c-page {
|
|
42
61
|
--pf-v6-c-page__main-container--ZIndex: var(--pf-t--global--z-index--xs);
|
|
43
62
|
--pf-v6-c-page__main-container--GridArea: main;
|
|
44
63
|
--pf-v6-c-page--masthead--main-container--GridArea: sidebar / sidebar / main / main;
|
|
@@ -61,6 +80,17 @@
|
|
|
61
80
|
--pf-v6-c-page__main-container--xs--BorderBlockEndWidth: 0;
|
|
62
81
|
--pf-v6-c-page__main-container--xs--BorderInlineStartWidth: 0px;
|
|
63
82
|
--pf-v6-c-page__main-container--xs--BorderInlineEndWidth: 0px;
|
|
83
|
+
}
|
|
84
|
+
@media screen and (max-width: calc(48rem - 1px)) {
|
|
85
|
+
.pf-v6-c-page {
|
|
86
|
+
--pf-v6-c-page__main-container--MarginInlineStart: var(--pf-v6-c-page__main-container--xs--MarginInlineStart);
|
|
87
|
+
--pf-v6-c-page__main-container--MarginInlineEnd: var(--pf-v6-c-page__main-container--xs--MarginInlineEnd);
|
|
88
|
+
--pf-v6-c-page__main-container--BorderBlockEndWidth: var(--pf-v6-c-page__main-container--xs--BorderBlockEndWidth);
|
|
89
|
+
--pf-v6-c-page__main-container--BorderInlineStartWidth: var(--pf-v6-c-page__main-container--xs--BorderInlineStartWidth);
|
|
90
|
+
--pf-v6-c-page__main-container--BorderInlineEndWidth: var(--pf-v6-c-page__main-container--xs--BorderInlineEndWidth);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
.pf-v6-c-page {
|
|
64
94
|
--pf-v6-c-page__main-section--PaddingBlockStart: var(--pf-t--global--spacer--md);
|
|
65
95
|
--pf-v6-c-page__main-section--PaddingInlineEnd: var(--pf-t--global--spacer--lg);
|
|
66
96
|
--pf-v6-c-page__main-section--PaddingBlockEnd: var(--pf-t--global--spacer--md);
|
|
@@ -109,29 +139,9 @@
|
|
|
109
139
|
--pf-v6-c-page__main-wizard--BorderBlockStartWidth: var(--pf-t--global--border--width--action--default);
|
|
110
140
|
--pf-v6-c-page__drawer--c-drawer--BorderBlockStartWidth: var(--pf-t--global--border--width--high-contrast--regular);
|
|
111
141
|
--pf-v6-c-page__drawer--c-drawer--BorderBlockStartColor: var(--pf-t--global--border--color--high-contrast);
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
--pf-v6-c-page__sidebar--Opacity: 1;
|
|
116
|
-
--pf-v6-c-page__sidebar--TransitionProperty: transform;
|
|
117
|
-
--pf-v6-c-page__sidebar--TransitionDuration: var(--pf-t--global--motion--duration--slide-in--default);
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
@media screen and (min-width: 75rem) {
|
|
121
|
-
.pf-v6-c-page {
|
|
122
|
-
--pf-v6-c-page__sidebar--TranslateX: var(--pf-v6-c-page__sidebar--xl--TranslateX);
|
|
123
|
-
--pf-v6-c-page__sidebar--Opacity: var(--pf-v6-c-page__sidebar--xl--Opacity);
|
|
124
|
-
--pf-v6-c-page__sidebar--BorderInlineEndWidth: 0;
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
@media screen and (max-width: calc(48rem - 1px)) {
|
|
128
|
-
.pf-v6-c-page {
|
|
129
|
-
--pf-v6-c-page__main-container--MarginInlineStart: var(--pf-v6-c-page__main-container--xs--MarginInlineStart);
|
|
130
|
-
--pf-v6-c-page__main-container--MarginInlineEnd: var(--pf-v6-c-page__main-container--xs--MarginInlineEnd);
|
|
131
|
-
--pf-v6-c-page__main-container--BorderBlockEndWidth: var(--pf-v6-c-page__main-container--xs--BorderBlockEndWidth);
|
|
132
|
-
--pf-v6-c-page__main-container--BorderInlineStartWidth: var(--pf-v6-c-page__main-container--xs--BorderInlineStartWidth);
|
|
133
|
-
--pf-v6-c-page__main-container--BorderInlineEndWidth: var(--pf-v6-c-page__main-container--xs--BorderInlineEndWidth);
|
|
134
|
-
}
|
|
142
|
+
--pf-v6-c-page--m-dock__main-container--MaxHeight: calc(100% - var(--pf-t--global--spacer--lg) * 2);
|
|
143
|
+
--pf-v6-c-page--m-dock__main-container--MarginBlockStart: var(--pf-t--global--spacer--lg);
|
|
144
|
+
--pf-v6-c-page--m-dock--ColumnGap: var(--pf-t--global--spacer--inset--page-chrome);
|
|
135
145
|
}
|
|
136
146
|
|
|
137
147
|
.pf-v6-c-page {
|
|
@@ -151,6 +161,16 @@
|
|
|
151
161
|
grid-template-columns: var(--pf-v6-c-page__sidebar--Width) 1fr;
|
|
152
162
|
}
|
|
153
163
|
}
|
|
164
|
+
.pf-v6-c-page.pf-m-dock {
|
|
165
|
+
--pf-v6-c-page--masthead--main-container--GridArea: main;
|
|
166
|
+
--pf-v6-c-page__main-container--MaxHeight: var(--pf-v6-c-page--m-dock__main-container--MaxHeight);
|
|
167
|
+
--pf-v6-c-page__main-container--MarginBlockStart: var(--pf-v6-c-page--m-dock__main-container--MarginBlockStart);
|
|
168
|
+
--pf-v6-c-page__main-container--MarginInlineStart: 0;
|
|
169
|
+
grid-template-areas: "dock main";
|
|
170
|
+
grid-template-rows: auto;
|
|
171
|
+
grid-template-columns: auto 1fr;
|
|
172
|
+
column-gap: var(--pf-v6-c-page--m-dock--ColumnGap);
|
|
173
|
+
}
|
|
154
174
|
.pf-v6-c-page > .pf-v6-c-masthead .pf-v6-c-masthead__toggle .pf-v6-c-button.pf-m-hamburger:is(:hover, :focus-visible) {
|
|
155
175
|
--pf-v6-c-button--hamburger-icon--top--path: var(--pf-v6-c-button--hamburger-icon--top--collapse--path);
|
|
156
176
|
--pf-v6-c-button--hamburger-icon--arrow--path: var(--pf-v6-c-button--hamburger-icon--arrow--collapse--path);
|
|
@@ -197,15 +217,20 @@
|
|
|
197
217
|
}
|
|
198
218
|
}
|
|
199
219
|
|
|
200
|
-
.pf-v6-c-page > .pf-v6-c-masthead {
|
|
201
|
-
z-index: var(--pf-v6-c-page--c-masthead--ZIndex);
|
|
202
|
-
grid-area: header;
|
|
203
|
-
}
|
|
204
220
|
@media (min-width: 75rem) {
|
|
205
221
|
.pf-v6-c-page > .pf-v6-c-masthead {
|
|
206
222
|
--pf-v6-c-masthead--m-display-inline--GridTemplateColumns: var(--pf-v6-c-masthead--m-display-inline--breakpoint--xl--GridTemplateColumns);
|
|
207
223
|
}
|
|
208
224
|
}
|
|
225
|
+
.pf-v6-c-page > .pf-v6-c-masthead {
|
|
226
|
+
z-index: var(--pf-v6-c-page--c-masthead--ZIndex);
|
|
227
|
+
grid-area: header;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.pf-v6-c-page__dock {
|
|
231
|
+
z-index: var(--pf-v6-c-page__dock--ZIndex);
|
|
232
|
+
grid-area: dock;
|
|
233
|
+
}
|
|
209
234
|
|
|
210
235
|
.pf-v6-c-page__sidebar {
|
|
211
236
|
z-index: var(--pf-v6-c-page__sidebar--ZIndex);
|
|
@@ -317,8 +342,8 @@
|
|
|
317
342
|
.pf-v6-c-page__main-group,
|
|
318
343
|
.pf-v6-c-page__main-subnav {
|
|
319
344
|
display: flex;
|
|
320
|
-
flex-direction: column;
|
|
321
345
|
flex-shrink: 0;
|
|
346
|
+
flex-direction: column;
|
|
322
347
|
}
|
|
323
348
|
.pf-v6-c-page__main-breadcrumb.pf-m-overflow-scroll,
|
|
324
349
|
.pf-v6-c-page__main-tabs.pf-m-overflow-scroll,
|
|
@@ -510,6 +535,7 @@
|
|
|
510
535
|
flex-direction: column;
|
|
511
536
|
align-self: var(--pf-v6-c-page__main-container--AlignSelf);
|
|
512
537
|
max-height: var(--pf-v6-c-page__main-container--MaxHeight);
|
|
538
|
+
margin-block-start: var(--pf-v6-c-page__main-container--MarginBlockStart, 0);
|
|
513
539
|
margin-inline-start: var(--pf-v6-c-page__main-container--MarginInlineStart);
|
|
514
540
|
margin-inline-end: var(--pf-v6-c-page__main-container--MarginInlineEnd);
|
|
515
541
|
background: var(--pf-v6-c-page__main-container--BackgroundColor);
|
|
@@ -561,8 +587,8 @@
|
|
|
561
587
|
.pf-v6-c-page__main-drawer,
|
|
562
588
|
.pf-v6-c-page__main-group {
|
|
563
589
|
display: flex;
|
|
564
|
-
flex-direction: column;
|
|
565
590
|
flex-grow: 1;
|
|
591
|
+
flex-direction: column;
|
|
566
592
|
}
|
|
567
593
|
|
|
568
594
|
.pf-v6-c-page__main {
|
|
@@ -12,6 +12,9 @@ $pf-page-v6--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
|
|
|
12
12
|
// Header
|
|
13
13
|
--#{$page}--c-masthead--ZIndex: var(--pf-t--global--z-index--md);
|
|
14
14
|
|
|
15
|
+
// Dock
|
|
16
|
+
--#{$page}__dock--ZIndex: var(--pf-t--global--z-index--md);
|
|
17
|
+
|
|
15
18
|
// Sidebar
|
|
16
19
|
--#{$page}__sidebar--ZIndex: var(--pf-t--global--z-index--sm);
|
|
17
20
|
--#{$page}__sidebar--Width--base: #{pf-size-prem(290px)};
|
|
@@ -166,6 +169,11 @@ $pf-page-v6--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
|
|
|
166
169
|
// Drawer section
|
|
167
170
|
--#{$page}__drawer--c-drawer--BorderBlockStartWidth: var(--pf-t--global--border--width--high-contrast--regular);
|
|
168
171
|
--#{$page}__drawer--c-drawer--BorderBlockStartColor: var(--pf-t--global--border--color--high-contrast);
|
|
172
|
+
|
|
173
|
+
// Docked nav
|
|
174
|
+
--#{$page}--m-dock__main-container--MaxHeight: calc(100% - var(--pf-t--global--spacer--lg) * 2);
|
|
175
|
+
--#{$page}--m-dock__main-container--MarginBlockStart: var(--pf-t--global--spacer--lg);
|
|
176
|
+
--#{$page}--m-dock--ColumnGap: var(--pf-t--global--spacer--inset--page-chrome);
|
|
169
177
|
}
|
|
170
178
|
|
|
171
179
|
.#{$page} {
|
|
@@ -190,6 +198,18 @@ $pf-page-v6--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
|
|
|
190
198
|
grid-template-columns: var(--#{$page}__sidebar--Width) 1fr;
|
|
191
199
|
}
|
|
192
200
|
|
|
201
|
+
&.pf-m-dock {
|
|
202
|
+
--#{$page}--masthead--main-container--GridArea: main;
|
|
203
|
+
--#{$page}__main-container--MaxHeight: var(--#{$page}--m-dock__main-container--MaxHeight);
|
|
204
|
+
--#{$page}__main-container--MarginBlockStart: var(--#{$page}--m-dock__main-container--MarginBlockStart);
|
|
205
|
+
--#{$page}__main-container--MarginInlineStart: 0;
|
|
206
|
+
|
|
207
|
+
grid-template-areas: "dock main";
|
|
208
|
+
grid-template-rows: auto;
|
|
209
|
+
grid-template-columns: auto 1fr;
|
|
210
|
+
column-gap: var(--#{$page}--m-dock--ColumnGap);
|
|
211
|
+
}
|
|
212
|
+
|
|
193
213
|
// Hamburger menu animation
|
|
194
214
|
// mobile - show expand on hover
|
|
195
215
|
> .#{$masthead} .#{$masthead}__toggle .#{$button}.pf-m-hamburger:is(:hover, :focus-visible) {
|
|
@@ -230,6 +250,12 @@ $pf-page-v6--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
|
|
|
230
250
|
grid-area: header;
|
|
231
251
|
}
|
|
232
252
|
|
|
253
|
+
// Dock
|
|
254
|
+
.#{$page}__dock {
|
|
255
|
+
z-index: var(--#{$page}__dock--ZIndex);
|
|
256
|
+
grid-area: dock;
|
|
257
|
+
}
|
|
258
|
+
|
|
233
259
|
// Sidebar
|
|
234
260
|
.#{$page}__sidebar {
|
|
235
261
|
z-index: var(--#{$page}__sidebar--ZIndex);
|
|
@@ -352,8 +378,8 @@ $pf-page-v6--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
|
|
|
352
378
|
.#{$page}__main-group,
|
|
353
379
|
.#{$page}__main-subnav {
|
|
354
380
|
display: flex;
|
|
355
|
-
flex-direction: column;
|
|
356
381
|
flex-shrink: 0;
|
|
382
|
+
flex-direction: column;
|
|
357
383
|
|
|
358
384
|
&.pf-m-overflow-scroll {
|
|
359
385
|
position: relative;
|
|
@@ -375,7 +401,11 @@ $pf-page-v6--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
|
|
|
375
401
|
|
|
376
402
|
// Responsive height modifiers for sticky top/bottom
|
|
377
403
|
@each $breakpoint, $breakpoint-value in $pf-page-v6--height-breakpoint-map {
|
|
378
|
-
$breakpoint-name:
|
|
404
|
+
$breakpoint-name: "";
|
|
405
|
+
|
|
406
|
+
@if $breakpoint != "base" {
|
|
407
|
+
$breakpoint-name: -on-#{$breakpoint}-height;
|
|
408
|
+
}
|
|
379
409
|
|
|
380
410
|
@include pf-v6-apply-height-breakpoint($breakpoint) {
|
|
381
411
|
|
|
@@ -404,6 +434,7 @@ $pf-page-v6--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
|
|
|
404
434
|
flex-direction: column;
|
|
405
435
|
align-self: var(--#{$page}__main-container--AlignSelf);
|
|
406
436
|
max-height: var(--#{$page}__main-container--MaxHeight);
|
|
437
|
+
margin-block-start: var(--#{$page}__main-container--MarginBlockStart, 0);
|
|
407
438
|
margin-inline-start: var(--#{$page}__main-container--MarginInlineStart);
|
|
408
439
|
margin-inline-end: var(--#{$page}__main-container--MarginInlineEnd);
|
|
409
440
|
background: var(--#{$page}__main-container--BackgroundColor);
|
|
@@ -456,8 +487,8 @@ $pf-page-v6--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
|
|
|
456
487
|
.#{$page}__main-drawer,
|
|
457
488
|
.#{$page}__main-group {
|
|
458
489
|
display: flex;
|
|
459
|
-
flex-direction: column;
|
|
460
490
|
flex-grow: 1;
|
|
491
|
+
flex-direction: column;
|
|
461
492
|
}
|
|
462
493
|
|
|
463
494
|
.#{$page}__main {
|
|
@@ -489,7 +520,11 @@ $pf-page-v6--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
|
|
|
489
520
|
|
|
490
521
|
// Responsive height modifiers for sticky top/bottom
|
|
491
522
|
@each $breakpoint, $breakpoint-value in $pf-page-v6--height-breakpoint-map {
|
|
492
|
-
$breakpoint-name:
|
|
523
|
+
$breakpoint-name: "";
|
|
524
|
+
|
|
525
|
+
@if $breakpoint != "base" {
|
|
526
|
+
$breakpoint-name: -on-#{$breakpoint}-height;
|
|
527
|
+
}
|
|
493
528
|
|
|
494
529
|
@include pf-v6-apply-height-breakpoint($breakpoint) {
|
|
495
530
|
&.pf-m-sticky-top#{$breakpoint-name},
|
|
@@ -537,7 +572,11 @@ $pf-page-v6--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
|
|
|
537
572
|
}
|
|
538
573
|
|
|
539
574
|
@each $breakpoint, $breakpoint-value in $pf-page-v6--breakpoint-map {
|
|
540
|
-
$breakpoint-name:
|
|
575
|
+
$breakpoint-name: "";
|
|
576
|
+
|
|
577
|
+
@if $breakpoint != "base" {
|
|
578
|
+
$breakpoint-name: -on-#{$breakpoint};
|
|
579
|
+
}
|
|
541
580
|
|
|
542
581
|
@include pf-v6-apply-breakpoint($breakpoint) {
|
|
543
582
|
// stylelint-disable max-nesting-depth
|
|
@@ -230,7 +230,11 @@ $pf-v6-c-pagination--variable-map: build-spacer-map("none", "sm", "md", "lg", "x
|
|
|
230
230
|
// stylelint-disable no-duplicate-selectors
|
|
231
231
|
.#{$pagination} {
|
|
232
232
|
@each $breakpoint, $breakpoint-value in $pf-v6-c-pagination--breakpoint-map {
|
|
233
|
-
$breakpoint-name:
|
|
233
|
+
$breakpoint-name: "";
|
|
234
|
+
|
|
235
|
+
@if $breakpoint != "base" {
|
|
236
|
+
$breakpoint-name: -on-#{$breakpoint};
|
|
237
|
+
}
|
|
234
238
|
|
|
235
239
|
@include pf-v6-apply-breakpoint($breakpoint) {
|
|
236
240
|
&.pf-m-display-summary#{$breakpoint-name} {
|
|
@@ -430,7 +430,11 @@ $pf-v6-c-progress-stepper--breakpoint-map: build-breakpoint-map();
|
|
|
430
430
|
// stylelint-disable no-duplicate-selectors
|
|
431
431
|
.#{$progress-stepper} {
|
|
432
432
|
@each $breakpoint, $breakpoint-value in $pf-v6-c-progress-stepper--breakpoint-map {
|
|
433
|
-
$breakpoint-name:
|
|
433
|
+
$breakpoint-name: "";
|
|
434
|
+
|
|
435
|
+
@if $breakpoint != "base" {
|
|
436
|
+
$breakpoint-name: -on-#{$breakpoint};
|
|
437
|
+
}
|
|
434
438
|
|
|
435
439
|
@include pf-v6-apply-breakpoint($breakpoint) {
|
|
436
440
|
&.pf-m-horizontal#{$breakpoint-name} {
|
|
@@ -143,8 +143,8 @@
|
|
|
143
143
|
position: var(--pf-v6-c-sidebar__panel--Position);
|
|
144
144
|
inset-block-start: var(--pf-v6-c-sidebar__panel--InsetBlockStart);
|
|
145
145
|
z-index: var(--pf-v6-c-sidebar__panel--ZIndex);
|
|
146
|
-
flex-basis: var(--pf-v6-c-sidebar__panel--FlexBasis);
|
|
147
146
|
flex-shrink: 0;
|
|
147
|
+
flex-basis: var(--pf-v6-c-sidebar__panel--FlexBasis);
|
|
148
148
|
order: var(--pf-v6-c-sidebar__panel--Order);
|
|
149
149
|
padding-block-start: var(--pf-v6-c-sidebar__panel--PaddingBlockStart);
|
|
150
150
|
padding-block-end: var(--pf-v6-c-sidebar__panel--PaddingBlockEnd);
|
|
@@ -177,8 +177,8 @@ $pf-v6-c-sidebar__panel--list--width: ("default", 25, 33, 50, 66, 75, 100);
|
|
|
177
177
|
position: var(--#{$sidebar}__panel--Position);
|
|
178
178
|
inset-block-start: var(--#{$sidebar}__panel--InsetBlockStart);
|
|
179
179
|
z-index: var(--#{$sidebar}__panel--ZIndex);
|
|
180
|
-
flex-basis: var(--#{$sidebar}__panel--FlexBasis);
|
|
181
180
|
flex-shrink: 0;
|
|
181
|
+
flex-basis: var(--#{$sidebar}__panel--FlexBasis);
|
|
182
182
|
order: var(--#{$sidebar}__panel--Order);
|
|
183
183
|
padding-block-start: var(--#{$sidebar}__panel--PaddingBlockStart);
|
|
184
184
|
padding-block-end: var(--#{$sidebar}__panel--PaddingBlockEnd);
|
|
@@ -253,7 +253,11 @@ $pf-v6-c-sidebar__panel--list--width: ("default", 25, 33, 50, 66, 75, 100);
|
|
|
253
253
|
|
|
254
254
|
// Responsive width modifiers
|
|
255
255
|
@each $breakpoint, $breakpoint-value in $pf-v6-c-sidebar--breakpoint-map--width {
|
|
256
|
-
$breakpoint-name:
|
|
256
|
+
$breakpoint-name: "";
|
|
257
|
+
|
|
258
|
+
@if $breakpoint != "base" {
|
|
259
|
+
$breakpoint-name: -on-#{$breakpoint};
|
|
260
|
+
}
|
|
257
261
|
|
|
258
262
|
@include pf-v6-apply-breakpoint($breakpoint) {
|
|
259
263
|
@each $width-value in $pf-v6-c-sidebar__panel--list--width {
|
|
@@ -261,7 +265,7 @@ $pf-v6-c-sidebar__panel--list--width: ("default", 25, 33, 50, 66, 75, 100);
|
|
|
261
265
|
@if $width-value == "default" {
|
|
262
266
|
--#{$sidebar}__panel--FlexBasis: var(--#{$sidebar}__panel--FlexBasis--base);
|
|
263
267
|
} @else {
|
|
264
|
-
--#{$sidebar}__panel--FlexBasis: #{percentage(math.div($width-value, 100))};
|
|
268
|
+
--#{$sidebar}__panel--FlexBasis: #{math.percentage(math.div($width-value, 100))};
|
|
265
269
|
}
|
|
266
270
|
}
|
|
267
271
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
@charset "UTF-8";
|
|
2
1
|
.pf-v6-c-skeleton {
|
|
3
2
|
--pf-v6-c-skeleton--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
4
3
|
--pf-v6-c-skeleton--Width: auto;
|
|
@@ -6,7 +5,7 @@
|
|
|
6
5
|
--pf-v6-c-skeleton--BorderRadius: var(--pf-t--global--spacer--sm);
|
|
7
6
|
--pf-v6-c-skeleton--before--PaddingBlockEnd: 0;
|
|
8
7
|
--pf-v6-c-skeleton--before--Height: auto;
|
|
9
|
-
--pf-v6-c-skeleton--before--Content: "
|
|
8
|
+
--pf-v6-c-skeleton--before--Content: "\00a0";
|
|
10
9
|
--pf-v6-c-skeleton--after--LinearGradientAngle: 90deg;
|
|
11
10
|
--pf-v6-c-skeleton--after--LinearGradientColorStop1: var(--pf-t--global--background--color--secondary--default);
|
|
12
11
|
--pf-v6-c-skeleton--after--LinearGradientColorStop2: var(--pf-t--global--background--color--secondary--hover);
|
|
@@ -17,6 +16,17 @@
|
|
|
17
16
|
--pf-v6-c-skeleton--after--AnimationIterationCount: infinite;
|
|
18
17
|
--pf-v6-c-skeleton--after--AnimationTimingFunction: linear;
|
|
19
18
|
--pf-v6-c-skeleton--after--AnimationDelay: .5s;
|
|
19
|
+
}
|
|
20
|
+
@media screen and (prefers-reduced-motion: no-preference) {
|
|
21
|
+
.pf-v6-c-skeleton {
|
|
22
|
+
--pf-v6-c-skeleton--after--LinearGradientColorStop1: var(--pf-t--global--background--color--secondary--default);
|
|
23
|
+
--pf-v6-c-skeleton--after--LinearGradientColorStop2: var(--pf-t--global--background--color--secondary--hover);
|
|
24
|
+
--pf-v6-c-skeleton--after--LinearGradientColorStop3: var(--pf-t--global--background--color--secondary--default);
|
|
25
|
+
--pf-v6-c-skeleton--after--TranslateX: -100%;
|
|
26
|
+
--pf-v6-c-skeleton--after--AnimationName: pf-v6-c-skeleton-loading;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
.pf-v6-c-skeleton {
|
|
20
30
|
--pf-v6-c-skeleton--m-circle--BorderRadius: var(--pf-t--global--border--radius--pill);
|
|
21
31
|
--pf-v6-c-skeleton--m-circle--before--PaddingBlockEnd: 100%;
|
|
22
32
|
--pf-v6-c-skeleton--m-text-4xl--Height: calc(var(--pf-t--global--font--size--4xl) * var(--pf-t--global--font--line-height--heading));
|
|
@@ -44,15 +54,6 @@
|
|
|
44
54
|
--pf-v6-c-skeleton--m-height-75--Height: 75%;
|
|
45
55
|
--pf-v6-c-skeleton--m-height-100--Height: 100%;
|
|
46
56
|
}
|
|
47
|
-
@media screen and (prefers-reduced-motion: no-preference) {
|
|
48
|
-
.pf-v6-c-skeleton {
|
|
49
|
-
--pf-v6-c-skeleton--after--LinearGradientColorStop1: var(--pf-t--global--background--color--secondary--default);
|
|
50
|
-
--pf-v6-c-skeleton--after--LinearGradientColorStop2: var(--pf-t--global--background--color--secondary--hover);
|
|
51
|
-
--pf-v6-c-skeleton--after--LinearGradientColorStop3: var(--pf-t--global--background--color--secondary--default);
|
|
52
|
-
--pf-v6-c-skeleton--after--TranslateX: -100%;
|
|
53
|
-
--pf-v6-c-skeleton--after--AnimationName: pf-v6-c-skeleton-loading;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
57
|
|
|
57
58
|
.pf-v6-c-skeleton {
|
|
58
59
|
position: relative;
|
|
@@ -69,6 +70,10 @@
|
|
|
69
70
|
padding-block-end: var(--pf-v6-c-skeleton--before--PaddingBlockEnd);
|
|
70
71
|
content: var(--pf-v6-c-skeleton--before--Content);
|
|
71
72
|
}
|
|
73
|
+
:where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-skeleton::after {
|
|
74
|
+
scale: -1 1;
|
|
75
|
+
}
|
|
76
|
+
|
|
72
77
|
.pf-v6-c-skeleton::after {
|
|
73
78
|
position: absolute;
|
|
74
79
|
inset: 0;
|
|
@@ -78,10 +83,6 @@
|
|
|
78
83
|
transform: translate3d(var(--pf-v6-c-skeleton--after--TranslateX), 0, 0);
|
|
79
84
|
animation: var(--pf-v6-c-skeleton--after--AnimationName) var(--pf-v6-c-skeleton--after--AnimationDuration) var(--pf-v6-c-skeleton--after--AnimationTimingFunction) var(--pf-v6-c-skeleton--after--AnimationDelay) var(--pf-v6-c-skeleton--after--AnimationIterationCount);
|
|
80
85
|
}
|
|
81
|
-
:where(.pf-v6-m-dir-rtl, [dir=rtl]) .pf-v6-c-skeleton::after {
|
|
82
|
-
scale: -1 1;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
86
|
.pf-v6-c-skeleton.pf-m-circle {
|
|
86
87
|
--pf-v6-c-skeleton--BorderRadius: var(--pf-v6-c-skeleton--m-circle--BorderRadius);
|
|
87
88
|
}
|