@patternfly/patternfly 6.5.0-prerelease.3 → 6.5.0-prerelease.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 +1 -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 +46 -0
- package/base/patternfly-common.scss +56 -0
- package/base/patternfly-variables.css +42 -0
- package/base/tokens/tokens-local.scss +66 -0
- 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/Button/button.css +34 -4
- package/components/Button/button.scss +40 -4
- package/components/Card/card.css +12 -0
- package/components/Card/card.scss +15 -1
- package/components/Compass/compass.css +306 -0
- package/components/Compass/compass.scss +337 -0
- package/components/DataList/data-list.css +5 -1
- package/components/DataList/data-list.scss +6 -1
- package/components/Drawer/drawer.css +43 -3
- package/components/Drawer/drawer.scss +52 -4
- package/components/ExpandableSection/expandable-section.css +3 -0
- package/components/ExpandableSection/expandable-section.scss +3 -0
- package/components/Hero/hero.css +74 -0
- package/components/Hero/hero.scss +86 -0
- package/components/MenuToggle/menu-toggle.css +4 -0
- package/components/MenuToggle/menu-toggle.scss +5 -0
- package/components/Table/table.css +3 -0
- package/components/Table/table.scss +5 -0
- package/components/Tabs/tabs.css +16 -1
- package/components/Tabs/tabs.scss +21 -1
- package/components/_index.css +578 -84
- 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 +11 -0
- package/docs/components/Compass/examples/Compass.md +91 -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 +1 -1
- package/docs/components/Menu/examples/Menu.md +2 -2
- package/docs/components/MenuToggle/examples/MenuToggle.md +40 -0
- package/docs/components/Page/examples/Page.md +2 -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 +91 -3
- package/docs/components/Tabs/examples/Tabs.md +998 -83
- package/docs/components/Toolbar/examples/Toolbar.md +7 -7
- package/docs/components/Wizard/examples/Wizard.md +15 -15
- package/docs/demos/Card/examples/Card.md +14 -2
- package/docs/demos/Compass/examples/Compass.md +6246 -0
- package/docs/demos/Dashboard/examples/Dashboard.md +1 -4
- package/docs/demos/DescriptionList/examples/DescriptionList.md +42 -35
- package/docs/demos/Drawer/examples/Drawer.md +42 -35
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +143 -165
- package/docs/demos/Tabs/examples/Tabs.md +72 -9
- package/docs/demos/Wizard/examples/Wizard.md +31 -34
- 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/package.json +28 -13
- package/patternfly-base-no-globals.css +88 -0
- package/patternfly-base.css +95 -0
- package/patternfly-no-globals.css +666 -84
- package/patternfly.css +673 -84
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/namespaces-components.scss +6 -0
|
@@ -0,0 +1,337 @@
|
|
|
1
|
+
@use '../../sass-utilities' as *;
|
|
2
|
+
|
|
3
|
+
@include pf-root($compass) {
|
|
4
|
+
--#{$compass}--BackgroundImage: var(--#{$compass}--BackgroundImage--light);
|
|
5
|
+
--#{$compass}--BackgroundImage--light: none;
|
|
6
|
+
--#{$compass}--BackgroundImage--dark: none;
|
|
7
|
+
--#{$compass}--Padding: var(--pf-t--global--spacer--inset--page-chrome);
|
|
8
|
+
--#{$compass}--Gap: var(--pf-t--global--spacer--inset--page-chrome);
|
|
9
|
+
--#{$compass}__nav--RowGap: var(--pf-t--global--spacer--gap--group--vertical);
|
|
10
|
+
--#{$compass}__nav--PaddingBlockStart: 0;
|
|
11
|
+
--#{$compass}__nav--PaddingBlockEnd: 0;
|
|
12
|
+
--#{$compass}__nav--PaddingInlineStart: var(--pf-t--global--spacer--sm);
|
|
13
|
+
--#{$compass}__nav--PaddingInlineEnd: var(--pf-t--global--spacer--sm);
|
|
14
|
+
--#{$compass}__nav-main--PaddingInlineStart: var(--pf-t--global--spacer--lg);
|
|
15
|
+
--#{$compass}__nav-main--PaddingInlineEnd: var(--pf-t--global--spacer--lg);
|
|
16
|
+
--#{$compass}__sidebar--PaddingBlockStart: var(--pf-t--global--spacer--sm);
|
|
17
|
+
--#{$compass}__sidebar--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
|
|
18
|
+
--#{$compass}__sidebar--PaddingInlineStart: var(--pf-t--global--spacer--sm);
|
|
19
|
+
--#{$compass}__sidebar--PaddingInlineEnd: var(--pf-t--global--spacer--sm);
|
|
20
|
+
--#{$compass}__main--RowGap: var(--pf-t--global--spacer--md);
|
|
21
|
+
--#{$compass}__main-header-content--RowGap: var(--pf-t--global--spacer--sm);
|
|
22
|
+
--#{$compass}__main-header-content--ColumnGap: var(--pf-t--global--spacer--md);
|
|
23
|
+
--#{$compass}__main-footer--MarginBlockStart: calc(var(--#{$compass}__main--RowGap) * -1 + var(--#{$compass}--Gap)); // Creates same gap as parent compass grid, mimicking the compass footer
|
|
24
|
+
--#{$compass}__panel--BackgroundColor: var(--pf-t--global--background--color--glass--default);
|
|
25
|
+
--#{$compass}__panel--BackdropFilter: var(--pf-t--global--background--color--glass--filter);
|
|
26
|
+
--#{$compass}__panel--BorderRadius: var(--pf-t--global--border--radius--large);
|
|
27
|
+
--#{$compass}__panel--m-pill--BorderRadius: var(--pf-t--global--border--radius--pill);
|
|
28
|
+
--#{$compass}__panel--PaddingBlockStart: var(--pf-t--global--spacer--inset--page-chrome);
|
|
29
|
+
--#{$compass}__panel--PaddingBlockEnd: var(--pf-t--global--spacer--inset--page-chrome);
|
|
30
|
+
--#{$compass}__panel--PaddingInlineStart: var(--pf-t--global--spacer--inset--page-chrome);
|
|
31
|
+
--#{$compass}__panel--PaddingInlineEnd: var(--pf-t--global--spacer--inset--page-chrome);
|
|
32
|
+
--#{$compass}__panel--BorderWidth: var(--pf-t--global--border--width--regular);
|
|
33
|
+
--#{$compass}__panel--BorderColor: var(--pf-t--global--border--color--alt);
|
|
34
|
+
--#{$compass}__panel--BoxShadow: var(--pf-t--global--box-shadow--md);
|
|
35
|
+
--#{$compass}__message-bar--Width: 450px;
|
|
36
|
+
--#{$compass}__message-bar--MinWidth: 300px;
|
|
37
|
+
--#{$compass}__message-bar--MaxWidth: 600px;
|
|
38
|
+
|
|
39
|
+
// Section animation
|
|
40
|
+
--#{$compass}--section--slide--length--header: 100%;
|
|
41
|
+
--#{$compass}--section--slide--length--sidebar: 100%;
|
|
42
|
+
--#{$compass}--section--slide--length--main-footer: 100%;
|
|
43
|
+
--#{$compass}--section--slide--length--footer: 100%;
|
|
44
|
+
--#{$compass}--section--duration: var(--pf-t--global--motion--duration--fade--short);
|
|
45
|
+
--#{$compass}--section--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
|
46
|
+
--#{$compass}--section--TransitionDuration: var(--#{$compass}--section--duration), 0s, 0s, 0s, 0s, 0s;
|
|
47
|
+
--#{$compass}--section--TransitionProperty: opacity, visibility, translate, height, width, margin;
|
|
48
|
+
--#{$compass}--section--TransitionDelay: 0s, var(--#{$compass}--section--duration), var(--#{$compass}--section--duration), var(--#{$compass}--section--duration), var(--#{$compass}--section--duration), var(--#{$compass}--section--duration);
|
|
49
|
+
--#{$compass}--section--m-expanded--duration: var(--pf-t--global--motion--duration--fade--default);
|
|
50
|
+
--#{$compass}--section--m-expanded--TransitionDuration: var(--#{$compass}--section--m-expanded--duration), 0s, 0s, 0s, 0s, 0s;
|
|
51
|
+
--#{$compass}--section--m-expanded--TransitionDelay: 0s;
|
|
52
|
+
|
|
53
|
+
@media screen and (prefers-reduced-motion: no-preference) {
|
|
54
|
+
--#{$compass}--section--TransitionDuration: var(--#{$compass}--section--duration), 0s, var(--#{$compass}--section--duration), 0s, 0s, 0s;
|
|
55
|
+
--#{$compass}--section--TransitionDelay: 0s, var(--#{$compass}--section--duration), 0s, var(--#{$compass}--section--duration), var(--#{$compass}--section--duration), var(--#{$compass}--section--duration);
|
|
56
|
+
--#{$compass}--section--m-expanded--TransitionDuration: var(--#{$compass}--section--m-expanded--duration), 0s, var(--#{$compass}--section--m-expanded--duration), 0s, 0s, 0s;
|
|
57
|
+
|
|
58
|
+
&.pf-m-animate-smoothly {
|
|
59
|
+
--#{$compass}--section--TransitionProperty: opacity, visibility, translate, height, width, margin;
|
|
60
|
+
--#{$compass}--section--slide--length--header: 10rem;
|
|
61
|
+
--#{$compass}--section--slide--length--sidebar: var(--pf-t--global--spacer--4xl);
|
|
62
|
+
--#{$compass}--section--slide--length--main-footer: 6rem;
|
|
63
|
+
--#{$compass}--section--slide--length--footer: 6rem;
|
|
64
|
+
--#{$compass}--section--TransitionDuration: var(--#{$compass}--section--duration), 0s, var(--#{$compass}--section--duration), var(--#{$compass}--section--duration), var(--#{$compass}--section--duration);
|
|
65
|
+
--#{$compass}--section--TransitionDelay: 0s, var(--#{$compass}--section--duration), 0s, 0s, 0s;
|
|
66
|
+
--#{$compass}--section--m-expanded--TransitionDuration: var(--#{$compass}--section--m-expanded--duration), 0s, var(--#{$compass}--section--m-expanded--duration), var(--#{$compass}--section--m-expanded--duration), var(--#{$compass}--section--m-expanded--duration);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.#{$compass} {
|
|
72
|
+
// stylelint-disable-next-line
|
|
73
|
+
interpolate-size: allow-keywords;
|
|
74
|
+
display: grid;
|
|
75
|
+
grid-template-areas:
|
|
76
|
+
"header header header"
|
|
77
|
+
"sidebar-start main sidebar-end";
|
|
78
|
+
grid-template-rows: auto 1fr;
|
|
79
|
+
grid-template-columns: auto 1fr auto;
|
|
80
|
+
grid-auto-rows: auto;
|
|
81
|
+
align-items: center;
|
|
82
|
+
justify-content: center;
|
|
83
|
+
height: 100dvh;
|
|
84
|
+
padding: var(--#{$compass}--Padding);
|
|
85
|
+
overflow: hidden;
|
|
86
|
+
background-image: var(--#{$compass}--BackgroundImage);
|
|
87
|
+
background-size: cover;
|
|
88
|
+
|
|
89
|
+
:root:where(.#{$pf-prefix}theme-dark) & {
|
|
90
|
+
--#{$compass}--BackgroundImage: var(--#{$compass}--BackgroundImage--dark);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
@at-root .#{$compass}__panel,
|
|
94
|
+
& {
|
|
95
|
+
&.pf-m-no-glass {
|
|
96
|
+
--#{$compass}__panel--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.#{$compass}__header,
|
|
102
|
+
.#{$compass}__sidebar:is(.pf-m-start, .pf-m-end),
|
|
103
|
+
.#{$compass}__main-footer,
|
|
104
|
+
.#{$compass}__footer {
|
|
105
|
+
margin: 0;
|
|
106
|
+
visibility: hidden;
|
|
107
|
+
opacity: 0;
|
|
108
|
+
transition-delay: var(--#{$compass}--section--TransitionDelay);
|
|
109
|
+
transition-timing-function: var(--#{$compass}--section--TransitionTimingFunction);
|
|
110
|
+
transition-duration: var(--#{$compass}--section--TransitionDuration);
|
|
111
|
+
transition-property: var(--#{$compass}--section--TransitionProperty);
|
|
112
|
+
|
|
113
|
+
&.pf-m-expanded {
|
|
114
|
+
--#{$compass}--section--TransitionDelay: var(--#{$compass}--section--m-expanded--TransitionDelay);
|
|
115
|
+
--#{$compass}--section--TransitionDuration: var(--#{$compass}--section--m-expanded--TransitionDuration);
|
|
116
|
+
|
|
117
|
+
visibility: visible;
|
|
118
|
+
opacity: 1;
|
|
119
|
+
translate: 0;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.#{$compass}__header,
|
|
124
|
+
.#{$compass}__main-footer,
|
|
125
|
+
.#{$compass}__footer {
|
|
126
|
+
height: 0;
|
|
127
|
+
|
|
128
|
+
&.pf-m-expanded {
|
|
129
|
+
height: auto;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.#{$compass}__header {
|
|
134
|
+
display: grid;
|
|
135
|
+
grid-area: header;
|
|
136
|
+
grid-template-columns: 1fr auto 1fr;
|
|
137
|
+
align-items: start;
|
|
138
|
+
translate: 0 calc(var(--#{$compass}--section--slide--length--header) * -1);
|
|
139
|
+
|
|
140
|
+
&.pf-m-expanded {
|
|
141
|
+
margin-block-end: var(--#{$compass}--Gap);
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.#{$compass}__profile {
|
|
146
|
+
justify-self: end;
|
|
147
|
+
|
|
148
|
+
// improves perceived alignment since it's a plain toggle
|
|
149
|
+
.#{$menu-toggle}.pf-m-plain {
|
|
150
|
+
margin-block-start: calc(var(--#{$menu-toggle}--PaddingBlockStart) * -1);
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.#{$compass}__nav {
|
|
155
|
+
--#{$compass}__panel--PaddingBlockStart: var(--#{$compass}__nav--PaddingBlockStart);
|
|
156
|
+
--#{$compass}__panel--PaddingBlockEnd: var(--#{$compass}__nav--PaddingBlockEnd);
|
|
157
|
+
--#{$compass}__panel--PaddingInlineStart: var(--#{$compass}__nav--PaddingInlineStart);
|
|
158
|
+
--#{$compass}__panel--PaddingInlineEnd: var(--#{$compass}__nav--PaddingInlineEnd);
|
|
159
|
+
|
|
160
|
+
display: flex;
|
|
161
|
+
flex-direction: column;
|
|
162
|
+
gap: var(--#{$compass}__nav--RowGap);
|
|
163
|
+
align-items: center;
|
|
164
|
+
justify-self: stretch;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.#{$compass}__nav-content {
|
|
168
|
+
display: flex;
|
|
169
|
+
align-items: center;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.#{$compass}__nav-main {
|
|
173
|
+
padding-inline-start: var(--#{$compass}__nav-main--PaddingInlineStart);
|
|
174
|
+
padding-inline-end: var(--#{$compass}__nav-main--PaddingInlineEnd);
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.#{$compass}__sidebar {
|
|
178
|
+
--#{$compass}__panel--PaddingBlockStart: var(--#{$compass}__sidebar--PaddingBlockStart);
|
|
179
|
+
--#{$compass}__panel--PaddingBlockEnd: var(--#{$compass}__sidebar--PaddingBlockEnd);
|
|
180
|
+
--#{$compass}__panel--PaddingInlineStart: var(--#{$compass}__sidebar--PaddingInlineStart);
|
|
181
|
+
--#{$compass}__panel--PaddingInlineEnd: var(--#{$compass}__sidebar--PaddingInlineEnd);
|
|
182
|
+
|
|
183
|
+
display: flex;
|
|
184
|
+
width: 0;
|
|
185
|
+
|
|
186
|
+
&.pf-m-expanded {
|
|
187
|
+
width: auto;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
&.pf-m-start {
|
|
191
|
+
@include pf-v6-bidirectional-style(
|
|
192
|
+
$prop: translate,
|
|
193
|
+
$ltr-val: calc(var(--#{$compass}--section--slide--length--sidebar) * -1),
|
|
194
|
+
$rtl-val: var(--#{$compass}--section--slide--length--sidebar),
|
|
195
|
+
);
|
|
196
|
+
|
|
197
|
+
grid-area: sidebar-start;
|
|
198
|
+
|
|
199
|
+
&.pf-m-expanded {
|
|
200
|
+
margin-inline-end: var(--#{$compass}--Gap);
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
&.pf-m-end {
|
|
205
|
+
@include pf-v6-bidirectional-style(
|
|
206
|
+
$prop: translate,
|
|
207
|
+
$ltr-val: var(--#{$compass}--section--slide--length--sidebar),
|
|
208
|
+
$rtl-val: calc(var(--#{$compass}--section--slide--length--sidebar) * -1),
|
|
209
|
+
);
|
|
210
|
+
|
|
211
|
+
grid-area: sidebar-end;
|
|
212
|
+
|
|
213
|
+
&.pf-m-expanded {
|
|
214
|
+
margin-inline-start: var(--#{$compass}--Gap);
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.#{$compass}__main {
|
|
220
|
+
display: flex;
|
|
221
|
+
flex-direction: column;
|
|
222
|
+
grid-area: main;
|
|
223
|
+
gap: var(--#{$compass}__main--RowGap);
|
|
224
|
+
align-self: stretch;
|
|
225
|
+
min-height: 0;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.#{$compass}__main-header-content {
|
|
229
|
+
display: flex;
|
|
230
|
+
gap: var(--#{$compass}__main-header-content--RowGap) var(--#{$compass}__main-header-content--ColumnGap);
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.#{$compass}__main-header-title {
|
|
234
|
+
flex-grow: 1;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.#{$compass}__content {
|
|
238
|
+
display: flex;
|
|
239
|
+
flex: 1 0 0;
|
|
240
|
+
flex-direction: column;
|
|
241
|
+
min-height: 0;
|
|
242
|
+
overflow: auto;
|
|
243
|
+
|
|
244
|
+
> *:last-child {
|
|
245
|
+
flex-grow: 1;
|
|
246
|
+
max-height: 100%;
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
.#{$compass}__main-footer {
|
|
251
|
+
display: flex;
|
|
252
|
+
justify-content: center;
|
|
253
|
+
min-height: 0;
|
|
254
|
+
translate: 0 var(--#{$compass}--section--slide--length--main-footer);
|
|
255
|
+
|
|
256
|
+
&.pf-m-expanded {
|
|
257
|
+
margin-block-start: var(--#{$compass}__main-footer--MarginBlockStart);
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
.#{$compass}__footer {
|
|
262
|
+
display: flex;
|
|
263
|
+
grid-column: 1 / -1;
|
|
264
|
+
justify-content: center;
|
|
265
|
+
translate: 0 var(--#{$compass}--section--slide--length--main-footer);
|
|
266
|
+
|
|
267
|
+
&.pf-m-expanded {
|
|
268
|
+
margin-block-start: var(--#{$compass}--Gap);
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
.#{$compass}__message-bar {
|
|
273
|
+
width: var(--#{$compass}__message-bar--Width);
|
|
274
|
+
min-width: var(--#{$compass}__message-bar--MinWidth);
|
|
275
|
+
max-width: var(--#{$compass}__message-bar--MaxWidth);
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
.#{$compass}__panel {
|
|
279
|
+
padding-block-start: var(--#{$compass}__panel--PaddingBlockStart);
|
|
280
|
+
padding-block-end: var(--#{$compass}__panel--PaddingBlockEnd);
|
|
281
|
+
padding-inline-start: var(--#{$compass}__panel--PaddingInlineStart);
|
|
282
|
+
padding-inline-end: var(--#{$compass}__panel--PaddingInlineEnd);
|
|
283
|
+
background-color: var(--#{$compass}__panel--BackgroundColor);
|
|
284
|
+
backdrop-filter: var(--#{$compass}__panel--BackdropFilter);
|
|
285
|
+
border: var(--#{$compass}__panel--BorderWidth) solid var(--#{$compass}__panel--BorderColor);
|
|
286
|
+
border-radius: var(--#{$compass}__panel--BorderRadius);
|
|
287
|
+
box-shadow: var(--#{$compass}__panel--BoxShadow);
|
|
288
|
+
|
|
289
|
+
&.pf-m-no-border {
|
|
290
|
+
border-width: 0;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
&.pf-m-no-padding {
|
|
294
|
+
padding: 0;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
&.pf-m-full-height {
|
|
298
|
+
height: 100%;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
&.pf-m-pill {
|
|
302
|
+
border-radius: var(--#{$compass}__panel--m-pill--BorderRadius);
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
&.pf-m-scrollable {
|
|
306
|
+
overflow: auto;
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
/* stylelint-disable */
|
|
311
|
+
@media (max-width: 1200px) {
|
|
312
|
+
.#{$compass} * {
|
|
313
|
+
display: none;
|
|
314
|
+
}
|
|
315
|
+
.#{$compass} {
|
|
316
|
+
position: relative;
|
|
317
|
+
display: grid;
|
|
318
|
+
grid-template-columns: auto;
|
|
319
|
+
grid-template-rows: auto;
|
|
320
|
+
place-content: center;
|
|
321
|
+
gap: 0;
|
|
322
|
+
|
|
323
|
+
&::after {
|
|
324
|
+
padding: 1em;
|
|
325
|
+
border-radius: var(--pf-t--global--border--radius--large);
|
|
326
|
+
background: var(--pf-t--global--background--color--primary--default);
|
|
327
|
+
content: "This page is optimized for wide screens.\a\a Please view on a larger display and/or make your browser window wider.";
|
|
328
|
+
width: 80%;
|
|
329
|
+
width: 300px;
|
|
330
|
+
border: 1px solid var(--pf-t--global--border--color--default);
|
|
331
|
+
box-shadow: var(--pf-t--global--box-shadow--md);
|
|
332
|
+
white-space: pre-wrap;
|
|
333
|
+
text-align: center;
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
/* stylelint-enable */
|
|
@@ -412,7 +412,8 @@
|
|
|
412
412
|
--pf-v6-c-data-list--sm--BorderBlockStartWidth: var(--pf-t--global--border--width--divider--default);
|
|
413
413
|
--pf-v6-c-data-list--sm--BorderBlockStartColor: var(--pf-t--global--border--color--default);
|
|
414
414
|
--pf-v6-c-data-list--MarginInlineStart: var(--pf-t--global--spacer--md);
|
|
415
|
-
--pf-v6-c-data-list__item--BackgroundColor: var(
|
|
415
|
+
--pf-v6-c-data-list__item--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
416
|
+
--pf-v6-c-data-list--pf-m-plain__item--BackgroundColor: transparent;
|
|
416
417
|
--pf-v6-c-data-list__item--hover--BackgroundColor: var(--pf-t--global--background--color--primary--hover);
|
|
417
418
|
--pf-v6-c-data-list__item--m-selected--BackgroundColor: var(--pf-t--global--background--color--primary--clicked);
|
|
418
419
|
--pf-v6-c-data-list__item--m-clickable--OutlineOffset: calc(-1 * var(--pf-t--global--spacer--xs));
|
|
@@ -567,6 +568,9 @@
|
|
|
567
568
|
.pf-v6-c-data-list.pf-m-drag-over {
|
|
568
569
|
overflow-anchor: none;
|
|
569
570
|
}
|
|
571
|
+
.pf-v6-c-data-list.pf-m-plain {
|
|
572
|
+
--pf-v6-c-data-list__item--BackgroundColor: var(--pf-v6-c-data-list--pf-m-plain__item--BackgroundColor);
|
|
573
|
+
}
|
|
570
574
|
|
|
571
575
|
.pf-v6-c-data-list.pf-m-truncate,
|
|
572
576
|
.pf-v6-c-data-list__item-row.pf-m-truncate,
|
|
@@ -16,7 +16,8 @@
|
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
// item
|
|
19
|
-
--#{$data-list}__item--BackgroundColor: var(
|
|
19
|
+
--#{$data-list}__item--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
20
|
+
--#{$data-list}--pf-m-plain__item--BackgroundColor: transparent;
|
|
20
21
|
--#{$data-list}__item--hover--BackgroundColor: var(--pf-t--global--background--color--primary--hover);
|
|
21
22
|
--#{$data-list}__item--m-selected--BackgroundColor: var(--pf-t--global--background--color--primary--clicked);
|
|
22
23
|
--#{$data-list}__item--m-clickable--OutlineOffset: calc(-1 * var(--pf-t--global--spacer--xs));
|
|
@@ -189,6 +190,10 @@
|
|
|
189
190
|
&.pf-m-drag-over {
|
|
190
191
|
overflow-anchor: none;
|
|
191
192
|
}
|
|
193
|
+
|
|
194
|
+
&.pf-m-plain {
|
|
195
|
+
--#{$data-list}__item--BackgroundColor: var(--#{$data-list}--pf-m-plain__item--BackgroundColor);
|
|
196
|
+
}
|
|
192
197
|
}
|
|
193
198
|
|
|
194
199
|
.#{$data-list},
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
.pf-v6-c-drawer {
|
|
2
|
+
--pf-v6-c-drawer--m-pill--m-inline__main--Gap: var(--pf-t--global--spacer--inset--page-chrome);
|
|
2
3
|
--pf-v6-c-drawer__section--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
3
4
|
--pf-v6-c-drawer__section--m-secondary--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
4
5
|
--pf-v6-c-drawer__content--FlexBasis: 100%;
|
|
@@ -29,6 +30,7 @@
|
|
|
29
30
|
--pf-v6-c-drawer__panel--TransitionProperty: opacity, visibility, transform;
|
|
30
31
|
--pf-v6-c-drawer__panel--Opacity: 0;
|
|
31
32
|
--pf-v6-c-drawer--m-expanded__panel--Opacity: 1;
|
|
33
|
+
--pf-v6-c-drawer--m-expanded__panel--inset: 0px;
|
|
32
34
|
--pf-v6-c-drawer__panel--FlexBasis: 100%;
|
|
33
35
|
--pf-v6-c-drawer__panel--md--FlexBasis--min: 1.5rem;
|
|
34
36
|
--pf-v6-c-drawer__panel--md--FlexBasis: 50%;
|
|
@@ -44,6 +46,16 @@
|
|
|
44
46
|
--pf-v6-c-drawer--m-panel-bottom__panel--m-resizable--FlexDirection: column;
|
|
45
47
|
--pf-v6-c-drawer--m-panel-bottom__panel--m-resizable--md--FlexBasis--min: 1.5rem;
|
|
46
48
|
--pf-v6-c-drawer--m-panel-bottom__panel--m-resizable--MinHeight: 1.5rem;
|
|
49
|
+
--pf-v6-c-drawer--m-pill__panel--BorderBlockStartWidth: var(--pf-t--global--border--width--regular);
|
|
50
|
+
--pf-v6-c-drawer--m-pill__panel--BorderBlockEndWidth: var(--pf-t--global--border--width--regular);
|
|
51
|
+
--pf-v6-c-drawer--m-pill__panel--BorderInlineStartWidth: var(--pf-t--global--border--width--regular);
|
|
52
|
+
--pf-v6-c-drawer--m-pill__panel--BorderInlineEndWidth: var(--pf-t--global--border--width--regular);
|
|
53
|
+
--pf-v6-c-drawer--m-pill__panel--BorderColor: var(--pf-t--global--border--color--default);
|
|
54
|
+
--pf-v6-c-drawer--m-pill__panel--BorderRadius: var(--pf-t--global--border--radius--large);
|
|
55
|
+
--pf-v6-c-drawer--m-pill--m-expanded__panel--inset: var(--pf-t--global--spacer--inset--page-chrome);
|
|
56
|
+
--pf-v6-c-drawer__panel--m-glass--BackgroundColor: var(--pf-t--global--background--color--glass--default);
|
|
57
|
+
--pf-v6-c-drawer__panel--m-glass--BackdropFilter: var(--pf-t--global--background--color--glass--filter);
|
|
58
|
+
--pf-v6-c-drawer__panel--m-glass--BorderColor: var(--pf-t--global--border--color--alt);
|
|
47
59
|
--pf-v6-c-drawer__head--ColumnGap: var(--pf-t--global--spacer--gap--text-to-element--default);
|
|
48
60
|
--pf-v6-c-drawer__head--PaddingBlockStart: var(--pf-t--global--spacer--sm);
|
|
49
61
|
--pf-v6-c-drawer__head--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
|
|
@@ -160,6 +172,8 @@
|
|
|
160
172
|
.pf-v6-c-drawer.pf-m-inline, .pf-v6-c-drawer.pf-m-static {
|
|
161
173
|
--pf-v6-c-drawer__panel--BackgroundColor: var(--pf-v6-c-drawer__panel--m-inline--BackgroundColor);
|
|
162
174
|
--pf-v6-c-drawer__panel--BorderInlineStartWidth: var(--pf-v6-c-drawer--m-inline__panel--after--Width);
|
|
175
|
+
--pf-v6-c-drawer--m-pill__main--Gap: var(--pf-v6-c-drawer--m-pill--m-inline__main--Gap);
|
|
176
|
+
--pf-v6-c-drawer--m-pill--m-expanded__panel--inset: 0;
|
|
163
177
|
}
|
|
164
178
|
.pf-v6-c-drawer.pf-m-inline > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel:not(.pf-m-no-border, .pf-m-resizable), .pf-v6-c-drawer.pf-m-static > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel:not(.pf-m-no-border, .pf-m-resizable) {
|
|
165
179
|
padding-inline-start: var(--pf-v6-c-drawer--m-inline__panel--PaddingInlineStart);
|
|
@@ -183,7 +197,7 @@
|
|
|
183
197
|
--pf-v6-c-drawer__panel--TransitionDelay--focus: var(--pf-v6-c-drawer__panel--TransitionDelay--expand--focus);
|
|
184
198
|
}
|
|
185
199
|
.pf-v6-c-drawer.pf-m-expanded > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel {
|
|
186
|
-
transform: translateX(-100%);
|
|
200
|
+
transform: translateX(calc(-100% - var(--pf-v6-c-drawer--m-expanded__panel--inset)));
|
|
187
201
|
--pf-v6-c-drawer__panel--Opacity: var(--pf-v6-c-drawer--m-expanded__panel--Opacity);
|
|
188
202
|
visibility: visible;
|
|
189
203
|
}
|
|
@@ -195,7 +209,7 @@
|
|
|
195
209
|
transform: translateX(0);
|
|
196
210
|
}
|
|
197
211
|
.pf-v6-c-drawer.pf-m-expanded.pf-m-panel-bottom > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel {
|
|
198
|
-
transform: translate(0, -100%);
|
|
212
|
+
transform: translate(0, calc(-100% - var(--pf-v6-c-drawer--m-expanded__panel--inset)));
|
|
199
213
|
}
|
|
200
214
|
.pf-v6-c-drawer.pf-m-resizing {
|
|
201
215
|
--pf-v6-c-drawer__panel--TransitionProperty: none;
|
|
@@ -204,6 +218,26 @@
|
|
|
204
218
|
.pf-v6-c-drawer.pf-m-resizing .pf-v6-c-drawer__splitter {
|
|
205
219
|
pointer-events: auto;
|
|
206
220
|
}
|
|
221
|
+
@media screen and (min-width: 48rem) {
|
|
222
|
+
.pf-v6-c-drawer.pf-m-pill {
|
|
223
|
+
--pf-v6-c-drawer__main--Gap: var(--pf-v6-c-drawer--m-pill__main--Gap, revert);
|
|
224
|
+
--pf-v6-c-drawer__panel--BorderColor: var(--pf-v6-c-drawer--m-pill__panel--BorderColor);
|
|
225
|
+
--pf-v6-c-drawer__panel--BorderRadius: var(--pf-v6-c-drawer--m-pill__panel--BorderRadius);
|
|
226
|
+
--pf-v6-c-drawer--m-expanded__panel--inset: var(--pf-v6-c-drawer--m-pill--m-expanded__panel--inset);
|
|
227
|
+
--pf-v6-c-drawer__panel--MarginBlock: var(--pf-v6-c-drawer--m-pill--m-expanded__panel--inset);
|
|
228
|
+
}
|
|
229
|
+
.pf-v6-c-drawer.pf-m-pill > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel {
|
|
230
|
+
border-block-start-width: var(--pf-v6-c-drawer--m-pill__panel--BorderBlockStartWidth);
|
|
231
|
+
border-block-end-width: var(--pf-v6-c-drawer--m-pill__panel--BorderBlockEndWidth);
|
|
232
|
+
border-inline-start-width: var(--pf-v6-c-drawer--m-pill__panel--BorderInlineStartWidth);
|
|
233
|
+
border-inline-end-width: var(--pf-v6-c-drawer--m-pill__panel--BorderInlineEndWidth);
|
|
234
|
+
}
|
|
235
|
+
.pf-v6-c-drawer.pf-m-pill > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel:not(.pf-m-no-glass) {
|
|
236
|
+
--pf-v6-c-drawer__panel--BackgroundColor: var(--pf-v6-c-drawer__panel--m-glass--BackgroundColor);
|
|
237
|
+
--pf-v6-c-drawer__panel--BorderColor: var(--pf-v6-c-drawer__panel--m-glass--BorderColor);
|
|
238
|
+
backdrop-filter: var(--pf-v6-c-drawer__panel--m-glass--BackdropFilter);
|
|
239
|
+
}
|
|
240
|
+
}
|
|
207
241
|
|
|
208
242
|
.pf-v6-c-drawer__section {
|
|
209
243
|
flex-grow: 0;
|
|
@@ -219,6 +253,7 @@
|
|
|
219
253
|
.pf-v6-c-drawer__main {
|
|
220
254
|
display: flex;
|
|
221
255
|
flex: 1;
|
|
256
|
+
gap: var(--pf-v6-c-drawer__main--Gap, 0);
|
|
222
257
|
overflow: hidden;
|
|
223
258
|
}
|
|
224
259
|
|
|
@@ -257,6 +292,8 @@
|
|
|
257
292
|
row-gap: var(--pf-v6-c-drawer__panel--RowGap);
|
|
258
293
|
order: 1;
|
|
259
294
|
max-height: var(--pf-v6-c-drawer__panel--MaxHeight);
|
|
295
|
+
margin-block: var(--pf-v6-c-drawer__panel--MarginBlock, revert);
|
|
296
|
+
margin-inline: var(--pf-v6-c-drawer__panel--MarginInline, revert);
|
|
260
297
|
overflow: auto;
|
|
261
298
|
visibility: hidden;
|
|
262
299
|
background-color: var(--pf-v6-c-drawer__panel--BackgroundColor);
|
|
@@ -265,6 +302,7 @@
|
|
|
265
302
|
border-block-end-width: var(--pf-v6-c-drawer__panel--BorderBlockEndWidth);
|
|
266
303
|
border-inline-start-width: var(--pf-v6-c-drawer__panel--BorderInlineStartWidth);
|
|
267
304
|
border-inline-end-width: var(--pf-v6-c-drawer__panel--BorderInlineEndWidth);
|
|
305
|
+
border-radius: var(--pf-v6-c-drawer__panel--BorderRadius, revert);
|
|
268
306
|
box-shadow: var(--pf-v6-c-drawer__panel--BoxShadow);
|
|
269
307
|
opacity: var(--pf-v6-c-drawer__panel--Opacity);
|
|
270
308
|
transition-delay: var(--pf-v6-c-drawer__panel--TransitionDelay);
|
|
@@ -452,7 +490,7 @@
|
|
|
452
490
|
padding-inline-end: var(--pf-v6-c-drawer--m-panel-left--m-inline__panel--PaddingInlineEnd);
|
|
453
491
|
}
|
|
454
492
|
.pf-v6-c-drawer.pf-m-panel-left.pf-m-expanded > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel {
|
|
455
|
-
transform: translateX(
|
|
493
|
+
transform: translateX(var(--pf-v6-c-drawer--m-expanded__panel--inset));
|
|
456
494
|
}
|
|
457
495
|
.pf-v6-c-drawer.pf-m-panel-left > .pf-v6-c-drawer__main > .pf-v6-c-drawer__panel.pf-m-resizable > .pf-v6-c-drawer__splitter {
|
|
458
496
|
--pf-v6-c-drawer__splitter-handle--InsetInlineStart: var(--pf-v6-c-drawer--m-panel-left__splitter-handle--InsetInlineStart);
|
|
@@ -464,6 +502,8 @@
|
|
|
464
502
|
--pf-v6-c-drawer__panel--FlexBasis--min: var(--pf-v6-c-drawer--m-panel-bottom__panel--FlexBasis--min);
|
|
465
503
|
--pf-v6-c-drawer__panel--BorderInlineStartWidth: 0;
|
|
466
504
|
--pf-v6-c-drawer__panel--BorderBlockStartWidth: var(--pf-v6-c-drawer--m-panel-bottom__panel--after--Height);
|
|
505
|
+
--pf-v6-c-drawer__panel--MarginBlock: initial;
|
|
506
|
+
--pf-v6-c-drawer__panel--MarginInline: var(--pf-v6-c-drawer--m-expanded__panel--inset);
|
|
467
507
|
min-width: auto;
|
|
468
508
|
min-height: var(--pf-v6-c-drawer--m-panel-bottom__panel--md--MinHeight);
|
|
469
509
|
}
|
|
@@ -6,6 +6,9 @@ $pf-v6-c-drawer--breakpoint-map--width: build-breakpoint-map("base", "lg", "xl",
|
|
|
6
6
|
$pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
7
7
|
|
|
8
8
|
@include pf-root($drawer) {
|
|
9
|
+
// Main
|
|
10
|
+
--#{$drawer}--m-pill--m-inline__main--Gap: var(--pf-t--global--spacer--inset--page-chrome);
|
|
11
|
+
|
|
9
12
|
// Section
|
|
10
13
|
--#{$drawer}__section--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
11
14
|
--#{$drawer}__section--m-secondary--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
@@ -41,6 +44,7 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
41
44
|
--#{$drawer}__panel--TransitionProperty: opacity, visibility, transform; // by default, fade the drawer
|
|
42
45
|
--#{$drawer}__panel--Opacity: 0;
|
|
43
46
|
--#{$drawer}--m-expanded__panel--Opacity: 1;
|
|
47
|
+
--#{$drawer}--m-expanded__panel--inset: 0px;
|
|
44
48
|
--#{$drawer}__panel--FlexBasis: 100%;
|
|
45
49
|
--#{$drawer}__panel--md--FlexBasis--min: #{pf-size-prem(24px)};
|
|
46
50
|
--#{$drawer}__panel--md--FlexBasis: 50%;
|
|
@@ -56,6 +60,16 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
56
60
|
--#{$drawer}--m-panel-bottom__panel--m-resizable--FlexDirection: column;
|
|
57
61
|
--#{$drawer}--m-panel-bottom__panel--m-resizable--md--FlexBasis--min: #{pf-size-prem(24px)};
|
|
58
62
|
--#{$drawer}--m-panel-bottom__panel--m-resizable--MinHeight: #{pf-size-prem(24px)};
|
|
63
|
+
--#{$drawer}--m-pill__panel--BorderBlockStartWidth: var(--pf-t--global--border--width--regular);
|
|
64
|
+
--#{$drawer}--m-pill__panel--BorderBlockEndWidth: var(--pf-t--global--border--width--regular);
|
|
65
|
+
--#{$drawer}--m-pill__panel--BorderInlineStartWidth: var(--pf-t--global--border--width--regular);
|
|
66
|
+
--#{$drawer}--m-pill__panel--BorderInlineEndWidth: var(--pf-t--global--border--width--regular);
|
|
67
|
+
--#{$drawer}--m-pill__panel--BorderColor: var(--pf-t--global--border--color--default);
|
|
68
|
+
--#{$drawer}--m-pill__panel--BorderRadius: var(--pf-t--global--border--radius--large);
|
|
69
|
+
--#{$drawer}--m-pill--m-expanded__panel--inset: var(--pf-t--global--spacer--inset--page-chrome);
|
|
70
|
+
--#{$drawer}__panel--m-glass--BackgroundColor: var(--pf-t--global--background--color--glass--default);
|
|
71
|
+
--#{$drawer}__panel--m-glass--BackdropFilter: var(--pf-t--global--background--color--glass--filter);
|
|
72
|
+
--#{$drawer}__panel--m-glass--BorderColor: var(--pf-t--global--border--color--alt);
|
|
59
73
|
|
|
60
74
|
@media screen and (prefers-reduced-motion: no-preference) {
|
|
61
75
|
--#{$drawer}__panel--TransitionDuration--slide: var(--pf-t--global--motion--duration--slide-in--short);
|
|
@@ -200,7 +214,8 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
200
214
|
&.pf-m-static {
|
|
201
215
|
--#{$drawer}__panel--BackgroundColor: var(--#{$drawer}__panel--m-inline--BackgroundColor);
|
|
202
216
|
--#{$drawer}__panel--BorderInlineStartWidth: var(--#{$drawer}--m-inline__panel--after--Width);
|
|
203
|
-
|
|
217
|
+
--#{$drawer}--m-pill__main--Gap: var(--#{$drawer}--m-pill--m-inline__main--Gap);
|
|
218
|
+
--#{$drawer}--m-pill--m-expanded__panel--inset: 0;
|
|
204
219
|
|
|
205
220
|
> .#{$drawer}__main > .#{$drawer}__panel:not(.pf-m-no-border, .pf-m-resizable) {
|
|
206
221
|
padding-inline-start: var(--#{$drawer}--m-inline__panel--PaddingInlineStart);
|
|
@@ -236,7 +251,7 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
236
251
|
> .#{$drawer}__main > .#{$drawer}__panel {
|
|
237
252
|
@include pf-v6-bidirectional-style(
|
|
238
253
|
$prop: transform,
|
|
239
|
-
$ltr-val: translateX(-100%),
|
|
254
|
+
$ltr-val: translateX(calc(-100% - var(--#{$drawer}--m-expanded__panel--inset))),
|
|
240
255
|
$rtl-val: translateX(#{pf-v6-calc-inverse(-100%)}),
|
|
241
256
|
);
|
|
242
257
|
|
|
@@ -250,7 +265,7 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
250
265
|
}
|
|
251
266
|
|
|
252
267
|
&.pf-m-panel-bottom > .#{$drawer}__main > .#{$drawer}__panel {
|
|
253
|
-
transform: translate(0, -100%);
|
|
268
|
+
transform: translate(0, calc(-100% - var(--#{$drawer}--m-expanded__panel--inset)));
|
|
254
269
|
}
|
|
255
270
|
}
|
|
256
271
|
// stylelint-enable
|
|
@@ -264,6 +279,33 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
264
279
|
pointer-events: auto;
|
|
265
280
|
}
|
|
266
281
|
}
|
|
282
|
+
|
|
283
|
+
&.pf-m-pill {
|
|
284
|
+
@media screen and (min-width: $pf-v6-global--breakpoint--md) {
|
|
285
|
+
--#{$drawer}__main--Gap: var(--#{$drawer}--m-pill__main--Gap, revert);
|
|
286
|
+
--#{$drawer}__panel--BorderColor: var(--#{$drawer}--m-pill__panel--BorderColor);
|
|
287
|
+
--#{$drawer}__panel--BorderRadius: var(--#{$drawer}--m-pill__panel--BorderRadius);
|
|
288
|
+
--#{$drawer}--m-expanded__panel--inset: var(--#{$drawer}--m-pill--m-expanded__panel--inset);
|
|
289
|
+
--#{$drawer}__panel--MarginBlock: var(--#{$drawer}--m-pill--m-expanded__panel--inset);
|
|
290
|
+
|
|
291
|
+
> .#{$drawer}__main > .#{$drawer}__panel {
|
|
292
|
+
border-block-start-width: var(--#{$drawer}--m-pill__panel--BorderBlockStartWidth);
|
|
293
|
+
border-block-end-width: var(--#{$drawer}--m-pill__panel--BorderBlockEndWidth);
|
|
294
|
+
border-inline-start-width: var(--#{$drawer}--m-pill__panel--BorderInlineStartWidth);
|
|
295
|
+
border-inline-end-width: var(--#{$drawer}--m-pill__panel--BorderInlineEndWidth);
|
|
296
|
+
|
|
297
|
+
// This won't apply background overrides if glass is disabled, allowing secondary backgrounds to work
|
|
298
|
+
// stylelint-disable max-nesting-depth
|
|
299
|
+
&:not(.pf-m-no-glass) {
|
|
300
|
+
--#{$drawer}__panel--BackgroundColor: var(--#{$drawer}__panel--m-glass--BackgroundColor);
|
|
301
|
+
--#{$drawer}__panel--BorderColor: var(--#{$drawer}__panel--m-glass--BorderColor);
|
|
302
|
+
|
|
303
|
+
backdrop-filter: var(--#{$drawer}__panel--m-glass--BackdropFilter);
|
|
304
|
+
}
|
|
305
|
+
// stylelint-enable
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
}
|
|
267
309
|
}
|
|
268
310
|
|
|
269
311
|
// Header area
|
|
@@ -284,6 +326,7 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
284
326
|
.#{$drawer}__main {
|
|
285
327
|
display: flex;
|
|
286
328
|
flex: 1;
|
|
329
|
+
gap: var(--#{$drawer}__main--Gap, 0);
|
|
287
330
|
overflow: hidden;
|
|
288
331
|
}
|
|
289
332
|
|
|
@@ -328,6 +371,8 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
328
371
|
row-gap: var(--#{$drawer}__panel--RowGap);
|
|
329
372
|
order: 1;
|
|
330
373
|
max-height: var(--#{$drawer}__panel--MaxHeight);
|
|
374
|
+
margin-block: var(--#{$drawer}__panel--MarginBlock, revert);
|
|
375
|
+
margin-inline: var(--#{$drawer}__panel--MarginInline, revert);
|
|
331
376
|
overflow: auto;
|
|
332
377
|
visibility: hidden; // hidden by default
|
|
333
378
|
background-color: var(--#{$drawer}__panel--BackgroundColor);
|
|
@@ -336,6 +381,7 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
336
381
|
border-block-end-width: var(--#{$drawer}__panel--BorderBlockEndWidth);
|
|
337
382
|
border-inline-start-width: var(--#{$drawer}__panel--BorderInlineStartWidth);
|
|
338
383
|
border-inline-end-width: var(--#{$drawer}__panel--BorderInlineEndWidth);
|
|
384
|
+
border-radius: var(--#{$drawer}__panel--BorderRadius, revert);
|
|
339
385
|
box-shadow: var(--#{$drawer}__panel--BoxShadow);
|
|
340
386
|
opacity: var(--#{$drawer}__panel--Opacity);
|
|
341
387
|
transition-delay: var(--#{$drawer}__panel--TransitionDelay);
|
|
@@ -565,7 +611,7 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
565
611
|
}
|
|
566
612
|
|
|
567
613
|
&.pf-m-expanded > .#{$drawer}__main > .#{$drawer}__panel {
|
|
568
|
-
transform: translateX(
|
|
614
|
+
transform: translateX(var(--#{$drawer}--m-expanded__panel--inset));
|
|
569
615
|
}
|
|
570
616
|
|
|
571
617
|
> .#{$drawer}__main > .#{$drawer}__panel.pf-m-resizable {
|
|
@@ -583,6 +629,8 @@ $pf-v6-c-drawer__panel--list--width: (25, 33, 50, 66, 75, 100);
|
|
|
583
629
|
--#{$drawer}__panel--FlexBasis--min: var(--#{$drawer}--m-panel-bottom__panel--FlexBasis--min);
|
|
584
630
|
--#{$drawer}__panel--BorderInlineStartWidth: 0; // turn off default left border
|
|
585
631
|
--#{$drawer}__panel--BorderBlockStartWidth: var(--#{$drawer}--m-panel-bottom__panel--after--Height); // set the border width based on the old height variable
|
|
632
|
+
--#{$drawer}__panel--MarginBlock: initial;
|
|
633
|
+
--#{$drawer}__panel--MarginInline: var(--#{$drawer}--m-expanded__panel--inset);
|
|
586
634
|
|
|
587
635
|
min-width: auto;
|
|
588
636
|
min-height: var(--#{$drawer}--m-panel-bottom__panel--md--MinHeight);
|
|
@@ -20,6 +20,9 @@
|
|
|
20
20
|
--pf-v6-c-expandable-section__content--Opacity: 0;
|
|
21
21
|
--pf-v6-c-expandable-section__content--TranslateY: 0;
|
|
22
22
|
--pf-v6-c-expandable-section__content--PaddingInlineStart: 0;
|
|
23
|
+
--pf-v6-c-expandable-section__content--MaxHeight: 0px;
|
|
24
|
+
--pf-v6-c-expandable-section__content--Visibility: hidden;
|
|
25
|
+
--pf-v6-c-expandable-section__content--Opacity: 0;
|
|
23
26
|
--pf-v6-c-expandable-section--m-expand-top__content--TranslateY: 0;
|
|
24
27
|
--pf-v6-c-expandable-section--m-expand-bottom__content--TranslateY: 0;
|
|
25
28
|
--pf-v6-c-expandable-section--m-expanded__content--Opacity: 1;
|
|
@@ -24,6 +24,9 @@
|
|
|
24
24
|
--#{$expandable-section}__content--Opacity: 0;
|
|
25
25
|
--#{$expandable-section}__content--TranslateY: 0;
|
|
26
26
|
--#{$expandable-section}__content--PaddingInlineStart: 0;
|
|
27
|
+
--#{$expandable-section}__content--MaxHeight: 0px;
|
|
28
|
+
--#{$expandable-section}__content--Visibility: hidden;
|
|
29
|
+
--#{$expandable-section}__content--Opacity: 0;
|
|
27
30
|
--#{$expandable-section}--m-expand-top__content--TranslateY: 0;
|
|
28
31
|
--#{$expandable-section}--m-expand-bottom__content--TranslateY: 0;
|
|
29
32
|
--#{$expandable-section}--m-expanded__content--Opacity: 1;
|