@patternfly/patternfly 6.5.0-prerelease.2 → 6.5.0-prerelease.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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/ActionList/action-list.css +9 -0
- package/components/ActionList/action-list.scss +12 -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 +161 -0
- package/components/Compass/compass.scss +221 -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/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/Spinner/spinner.css +3 -0
- package/components/Spinner/spinner.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 +440 -84
- package/components/_index.scss +3 -1
- package/docs/components/ActionList/examples/ActionList.md +85 -0
- 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 +66 -0
- package/docs/components/DataList/examples/DataList.md +181 -185
- package/docs/components/Drawer/examples/Drawer.md +80 -14
- package/docs/components/Hero/examples/Hero.md +25 -0
- package/docs/components/MenuToggle/examples/MenuToggle.md +40 -0
- package/docs/components/Table/examples/Table.md +88 -0
- package/docs/components/Tabs/examples/Tabs.md +197 -18
- package/docs/components/Wizard/examples/Wizard.md +15 -15
- package/docs/demos/Compass/examples/Compass.md +5826 -0
- package/docs/demos/Dashboard/examples/Dashboard.md +1 -4
- package/docs/demos/DescriptionList/examples/DescriptionList.md +31 -33
- package/docs/demos/Drawer/examples/Drawer.md +31 -33
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +127 -163
- package/docs/demos/Wizard/examples/Wizard.md +31 -34
- 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 +29 -14
- package/patternfly-base-no-globals.css +88 -0
- package/patternfly-base.css +95 -0
- package/patternfly-no-globals.css +528 -84
- package/patternfly.css +535 -84
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/namespaces-components.scss +6 -0
|
@@ -131,10 +131,17 @@
|
|
|
131
131
|
--#{$button}--m-link--m-inline--PaddingInlineEnd: 0;
|
|
132
132
|
--#{$button}--m-link--m-inline--PaddingBlockEnd: 0;
|
|
133
133
|
--#{$button}--m-link--m-inline--PaddingInlineStart: 0;
|
|
134
|
+
--#{$button}--m-link--m-inline--TextDecorationColor: var(--pf-t--global--text-decoration--color--default);
|
|
134
135
|
--#{$button}--m-link--m-inline--TextDecorationLine: var(--pf-t--global--text-decoration--link--line--default);
|
|
135
136
|
--#{$button}--m-link--m-inline--TextDecorationStyle: var(--pf-t--global--text-decoration--link--style--default);
|
|
137
|
+
--#{$button}--m-link--m-inline--TextUnderlineOffset: var(--pf-t--global--text-decoration--offset--default);
|
|
138
|
+
--#{$button}--m-link--m-inline--hover--TextDecorationColor: var(--pf-t--global--text-decoration--color--hover);
|
|
136
139
|
--#{$button}--m-link--m-inline--hover--TextDecorationLine: var(--pf-t--global--text-decoration--link--line--hover);
|
|
137
140
|
--#{$button}--m-link--m-inline--hover--TextDecorationStyle: var(--pf-t--global--text-decoration--link--style--hover);
|
|
141
|
+
--#{$button}--m-link--m-inline--hover--TextUnderlineOffset: var(--pf-t--global--text-decoration--offset--hover);
|
|
142
|
+
--#{$button}--m-link--m-inline--TransitionProperty: color, text-underline-offset;
|
|
143
|
+
--#{$button}--m-link--m-inline--TransitionDuration: var(--pf-t--global--motion--duration--fade--default), var(--pf-t--global--motion--duration--lg);
|
|
144
|
+
--#{$button}--m-link--m-inline--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--accelerate), var(--pf-t--global--motion--timing-function--default);
|
|
138
145
|
--#{$button}--m-link--m-inline__progress--InsetInlineStart: var(--pf-t--global--spacer--xs);
|
|
139
146
|
--#{$button}--m-link--m-inline--m-in-progress--PaddingInlineStart: calc(var(--#{$button}--m-link--m-inline__progress--InsetInlineStart) + 1rem + var(--pf-t--global--spacer--sm));
|
|
140
147
|
--#{$button}--m-link--m-inline--disabled--Color: var(--pf-t--global--text--color--disabled);
|
|
@@ -144,10 +151,8 @@
|
|
|
144
151
|
--#{$button}--span--m-link--m-inline__icon--m-end--MarginInlineStart: var(--pf-t--global--spacer--gap--text-to-element--default);
|
|
145
152
|
--#{$button}--m-link--m-inline--Color: var(--pf-t--global--text--color--brand--default);
|
|
146
153
|
--#{$button}--m-link--m-inline__icon--Color: var(--pf-t--global--icon--color--brand--default);
|
|
147
|
-
--#{$button}--m-link--m-inline--TextDecorationColor: currentcolor;
|
|
148
154
|
--#{$button}--m-link--m-inline--hover--Color: var(--pf-t--global--text--color--brand--hover);
|
|
149
155
|
--#{$button}--m-link--m-inline--hover__icon--Color: var(--pf-t--global--icon--color--brand--hover);
|
|
150
|
-
--#{$button}--m-link--m-inline--hover--TextDecorationColor: currentcolor;
|
|
151
156
|
|
|
152
157
|
// Plain
|
|
153
158
|
--#{$button}--m-plain--BorderRadius: var(--pf-t--global--border--radius--small);
|
|
@@ -371,6 +376,16 @@
|
|
|
371
376
|
--#{$button}--hamburger-icon--arrow--collapse--path: path("M3,7 L1,5 L3,3");
|
|
372
377
|
--#{$button}--hamburger-icon--bottom--collapse--path: path("M9,9 L5,9");
|
|
373
378
|
--#{$button}--m-hamburger__icon--m-expand--ScaleX: -1;
|
|
379
|
+
|
|
380
|
+
// Circle
|
|
381
|
+
--#{$button}--m-circle--ScaleX: 1.29;
|
|
382
|
+
--#{$button}--m-circle--ScaleY: 1.29;
|
|
383
|
+
--#{$button}--m-circle--BorderRadius: var(--pf-t--global--border--radius--pill);
|
|
384
|
+
--#{$button}--m-circle--Padding--base: var(--pf-t--global--spacer--control--vertical--default);
|
|
385
|
+
--#{$button}--m-circle--PaddingBlockStart: var(--#{$button}--m-circle--Padding--base);
|
|
386
|
+
--#{$button}--m-circle--PaddingInlineEnd: 0;
|
|
387
|
+
--#{$button}--m-circle--PaddingBlockEnd: var(--#{$button}--m-circle--Padding--base);
|
|
388
|
+
--#{$button}--m-circle--PaddingInlineStart: 0;
|
|
374
389
|
}
|
|
375
390
|
|
|
376
391
|
.#{$button} {
|
|
@@ -520,12 +535,13 @@
|
|
|
520
535
|
--#{$button}--PaddingInlineEnd: var(--#{$button}--m-link--m-inline--PaddingInlineEnd);
|
|
521
536
|
--#{$button}--PaddingBlockEnd: var(--#{$button}--m-link--m-inline--PaddingBlockEnd);
|
|
522
537
|
--#{$button}--PaddingInlineStart: var(--#{$button}--m-link--m-inline--PaddingInlineStart);
|
|
538
|
+
--#{$button}--TransitionDuration: var(--#{$button}--m-link--m-inline--TransitionDuration);
|
|
539
|
+
--#{$button}--TransitionTimingFunction: var(--#{$button}--m-link--m-inline--TransitionTimingFunction);
|
|
540
|
+
--#{$button}--TransitionProperty: var(--#{$button}--m-link--m-inline--TransitionProperty);
|
|
523
541
|
--#{$button}--BackgroundColor: transparent;
|
|
524
542
|
--#{$button}__progress--InsetInlineStart: var(--#{$button}--m-link--m-inline__progress--InsetInlineStart);
|
|
525
543
|
--#{$button}--TextDecorationLine: var(--#{$button}--m-link--m-inline--TextDecorationLine);
|
|
526
544
|
--#{$button}--TextDecorationStyle: var(--#{$button}--m-link--m-inline--TextDecorationStyle);
|
|
527
|
-
--#{$button}--hover--TextDecorationLine: var(--#{$button}--m-link--m-inline--hover--TextDecorationLine);
|
|
528
|
-
--#{$button}--hover--TextDecorationStyle: var(--#{$button}--m-link--m-inline--hover--TextDecorationStyle);
|
|
529
545
|
--#{$button}--hover--BackgroundColor: transparent;
|
|
530
546
|
--#{$button}--m-clicked--BackgroundColor: transparent;
|
|
531
547
|
--#{$button}--disabled--BackgroundColor: transparent;
|
|
@@ -534,6 +550,8 @@
|
|
|
534
550
|
--#{$button}--m-link--Color: var(--#{$button}--m-link--m-inline--Color);
|
|
535
551
|
--#{$button}--m-link__icon--Color: var(--#{$button}--m-link--m-inline__icon--Color);
|
|
536
552
|
--#{$button}--TextDecorationColor: var(--#{$button}--m-link--m-inline--TextDecorationColor);
|
|
553
|
+
--#{$button}--hover--TextDecorationLine: var(--#{$button}--m-link--m-inline--hover--TextDecorationLine);
|
|
554
|
+
--#{$button}--hover--TextDecorationStyle: var(--#{$button}--m-link--m-inline--hover--TextDecorationStyle);
|
|
537
555
|
--#{$button}--hover--TextDecorationColor: var(--#{$button}--m-link--m-inline--hover--TextDecorationColor);
|
|
538
556
|
--#{$button}--m-link--hover--Color: var(--#{$button}--m-link--m-inline--hover--Color);
|
|
539
557
|
--#{$button}--m-link--hover__icon--Color: var(--#{$button}--m-link--m-inline--hover__icon--Color);
|
|
@@ -542,9 +560,15 @@
|
|
|
542
560
|
--#{$button}--m-clicked--BorderWidth: 0;
|
|
543
561
|
|
|
544
562
|
text-align: start;
|
|
563
|
+
text-underline-offset: var(--#{$button}--m-link--m-inline--TextUnderlineOffset);
|
|
545
564
|
white-space: normal;
|
|
546
565
|
background: transparent; // don't show the ripple effect for inline links
|
|
547
566
|
outline-offset: #{pf-size-prem(2px)};
|
|
567
|
+
|
|
568
|
+
&:hover,
|
|
569
|
+
&:focus {
|
|
570
|
+
--#{$button}--m-link--m-inline--TextUnderlineOffset: var(--#{$button}--m-link--m-inline--hover--TextUnderlineOffset);
|
|
571
|
+
}
|
|
548
572
|
}
|
|
549
573
|
|
|
550
574
|
&.pf-m-danger {
|
|
@@ -774,6 +798,18 @@
|
|
|
774
798
|
}
|
|
775
799
|
}
|
|
776
800
|
|
|
801
|
+
&.pf-m-circle {
|
|
802
|
+
--#{$button}--BorderRadius: var(--#{$button}--m-circle--BorderRadius);
|
|
803
|
+
--#{$button}--PaddingBlockStart: var(--#{$button}--m-circle--PaddingBlockStart);
|
|
804
|
+
--#{$button}--PaddingInlineEnd: var(--#{$button}--m-circle--PaddingInlineEnd);
|
|
805
|
+
--#{$button}--PaddingBlockEnd: var(--#{$button}--m-circle--PaddingBlockEnd);
|
|
806
|
+
--#{$button}--PaddingInlineStart: var(--#{$button}--m-circle--PaddingInlineStart);
|
|
807
|
+
|
|
808
|
+
& .pf-v6-c-button__icon {
|
|
809
|
+
scale: var(--#{$button}--m-circle--ScaleX) var(--#{$button}--m-circle--ScaleY);
|
|
810
|
+
}
|
|
811
|
+
}
|
|
812
|
+
|
|
777
813
|
&:hover,
|
|
778
814
|
&:focus {
|
|
779
815
|
--#{$button}--Color: var(--#{$button}--hover--Color);
|
package/components/Card/card.css
CHANGED
|
@@ -134,6 +134,12 @@
|
|
|
134
134
|
.pf-v6-c-card.pf-m-selectable.pf-m-clickable .pf-v6-c-card__selectable-actions :is(.pf-v6-c-check__input, .pf-v6-c-radio__input):where(:disabled) ~ :is(.pf-v6-c-check__label, .pf-v6-c-radio__label), .pf-v6-c-card.pf-m-selectable.pf-m-clickable.pf-m-disabled {
|
|
135
135
|
--pf-v6-c-card--BackgroundColor: var(--pf-v6-c-card--m-selectable--m-disabled--BackgroundColor);
|
|
136
136
|
}
|
|
137
|
+
.pf-v6-c-card__actions:has(> .pf-v6-c-card__selectable-actions input.pf-v6-screen-reader), .pf-v6-c-card.pf-m-clickable:not(.pf-m-selectable) {
|
|
138
|
+
--pf-v6-c-card__actions--PaddingInlineStart: 0;
|
|
139
|
+
--pf-v6-c-card__actions--MarginBlockStart: 0;
|
|
140
|
+
--pf-v6-c-card__actions--MarginBlockEnd: 0;
|
|
141
|
+
}
|
|
142
|
+
|
|
137
143
|
.pf-v6-c-card.pf-m-compact {
|
|
138
144
|
--pf-v6-c-card__title-text--FontSize: var(--pf-v6-c-card--m-compact__title-text--FontSize);
|
|
139
145
|
--pf-v6-c-card__body--FontSize: var(--pf-v6-c-card--m-compact__body--FontSize);
|
|
@@ -239,6 +245,12 @@
|
|
|
239
245
|
overflow-wrap: var(--pf-v6-c-card__title-text--OverflowWrap);
|
|
240
246
|
}
|
|
241
247
|
|
|
248
|
+
.pf-v6-c-card__subtitle {
|
|
249
|
+
padding-block-start: var(--pf-t--global--spacer--sm);
|
|
250
|
+
font-size: var(--pf-t--global--font--size--body--sm);
|
|
251
|
+
color: var(--pf-t--global--text--color--subtle);
|
|
252
|
+
}
|
|
253
|
+
|
|
242
254
|
.pf-v6-c-card__actions {
|
|
243
255
|
display: flex;
|
|
244
256
|
gap: var(--pf-v6-c-card__actions--Gap);
|
|
@@ -196,6 +196,14 @@
|
|
|
196
196
|
}
|
|
197
197
|
// stylelint-enable selector-max-class
|
|
198
198
|
|
|
199
|
+
// when the whole card is clickable and the card actions are invisible, remove the padding/margin so it doesn't take up space
|
|
200
|
+
@at-root .#{$card}__actions:has(> .#{$card}__selectable-actions input.#{$pf-prefix}screen-reader), // targets "card as tile", which are selectable cards with inputs
|
|
201
|
+
&.pf-m-clickable:not(.pf-m-selectable) {
|
|
202
|
+
--#{$card}__actions--PaddingInlineStart: 0;
|
|
203
|
+
--#{$card}__actions--MarginBlockStart: 0;
|
|
204
|
+
--#{$card}__actions--MarginBlockEnd: 0;
|
|
205
|
+
}
|
|
206
|
+
|
|
199
207
|
&.pf-m-compact {
|
|
200
208
|
--#{$card}__title-text--FontSize: var(--#{$card}--m-compact__title-text--FontSize);
|
|
201
209
|
--#{$card}__body--FontSize: var(--#{$card}--m-compact__body--FontSize);
|
|
@@ -288,7 +296,7 @@
|
|
|
288
296
|
margin-inline-end: auto;
|
|
289
297
|
}
|
|
290
298
|
|
|
291
|
-
margin-inline-start: 0
|
|
299
|
+
margin-inline-start: 0;
|
|
292
300
|
}
|
|
293
301
|
}
|
|
294
302
|
}
|
|
@@ -323,6 +331,12 @@
|
|
|
323
331
|
overflow-wrap: var(--#{$card}__title-text--OverflowWrap);
|
|
324
332
|
}
|
|
325
333
|
|
|
334
|
+
.#{$card}__subtitle {
|
|
335
|
+
padding-block-start: var(--pf-t--global--spacer--sm);
|
|
336
|
+
font-size: var(--pf-t--global--font--size--body--sm);
|
|
337
|
+
color: var(--pf-t--global--text--color--subtle);
|
|
338
|
+
}
|
|
339
|
+
|
|
326
340
|
.#{$card}__actions {
|
|
327
341
|
display: flex;
|
|
328
342
|
gap: var(--#{$card}__actions--Gap);
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
.pf-v6-c-compass {
|
|
2
|
+
--pf-v6-c-compass--BackgroundImage: var(--pf-v6-c-compass--BackgroundImage--light);
|
|
3
|
+
--pf-v6-c-compass--BackgroundImage--light: none;
|
|
4
|
+
--pf-v6-c-compass--BackgroundImage--dark: none;
|
|
5
|
+
--pf-v6-c-compass--Padding: var(--pf-t--global--spacer--inset--page-chrome);
|
|
6
|
+
--pf-v6-c-compass--RowGap: var(--pf-t--global--spacer--xl);
|
|
7
|
+
--pf-v6-c-compass--ColumnGap: var(--pf-t--global--spacer--xl);
|
|
8
|
+
--pf-v6-c-compass__nav--RowGap: var(--pf-t--global--spacer--gap--group--vertical);
|
|
9
|
+
--pf-v6-c-compass__sidebar--Padding: var(--pf-t--global--spacer--sm);
|
|
10
|
+
--pf-v6-c-compass__main--RowGap: var(--pf-t--global--spacer--md);
|
|
11
|
+
--pf-v6-c-compass__panel--BackgroundColor: var(--pf-t--global--background--color--glass--default);
|
|
12
|
+
--pf-v6-c-compass__panel--BackdropFilter: var(--pf-t--global--background--color--glass--filter);
|
|
13
|
+
--pf-v6-c-compass__panel--BorderRadius: var(--pf-t--global--border--radius--large);
|
|
14
|
+
--pf-v6-c-compass__panel--m-pill--BorderRadius: var(--pf-t--global--border--radius--pill);
|
|
15
|
+
--pf-v6-c-compass__panel--Padding: var(--pf-t--global--spacer--inset--page-chrome);
|
|
16
|
+
--pf-v6-c-compass__panel--BorderWidth: var(--pf-t--global--border--width--regular);
|
|
17
|
+
--pf-v6-c-compass__panel--BorderColor: var(--pf-t--global--border--color--alt);
|
|
18
|
+
--pf-v6-c-compass__panel--BoxShadow: var(--pf-t--global--box-shadow--md);
|
|
19
|
+
--pf-v6-c-compass__message-bar--Width: 450px;
|
|
20
|
+
--pf-v6-c-compass__message-bar--MinWidth: 300px;
|
|
21
|
+
--pf-v6-c-compass__message-bar--MaxWidth: 600px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.pf-v6-c-compass {
|
|
25
|
+
display: grid;
|
|
26
|
+
grid-template-areas: "header header header" "sidebar-start main sidebar-end" "footer footer footer";
|
|
27
|
+
grid-template-rows: auto 1fr auto;
|
|
28
|
+
grid-template-columns: auto 1fr auto;
|
|
29
|
+
gap: var(--pf-v6-c-compass--RowGap) var(--pf-v6-c-compass--ColumnGap);
|
|
30
|
+
align-items: center;
|
|
31
|
+
justify-content: center;
|
|
32
|
+
height: 100dvh;
|
|
33
|
+
padding: var(--pf-v6-c-compass--Padding);
|
|
34
|
+
background-image: var(--pf-v6-c-compass--BackgroundImage);
|
|
35
|
+
background-size: cover;
|
|
36
|
+
}
|
|
37
|
+
:root:where(.pf-v6-theme-dark) .pf-v6-c-compass {
|
|
38
|
+
--pf-v6-c-compass--BackgroundImage: var(--pf-v6-c-compass--BackgroundImage--dark);
|
|
39
|
+
}
|
|
40
|
+
.pf-v6-c-compass__panel.pf-m-no-glass, .pf-v6-c-compass.pf-m-no-glass {
|
|
41
|
+
--pf-v6-c-compass__panel--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.pf-v6-c-compass__header {
|
|
45
|
+
display: grid;
|
|
46
|
+
grid-area: header;
|
|
47
|
+
grid-template-columns: 1fr auto 1fr;
|
|
48
|
+
align-items: start;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.pf-v6-c-compass__profile {
|
|
52
|
+
justify-self: end;
|
|
53
|
+
}
|
|
54
|
+
.pf-v6-c-compass__profile .pf-v6-c-menu-toggle.pf-m-plain {
|
|
55
|
+
margin-block-start: calc(var(--pf-v6-c-menu-toggle--PaddingBlockStart) * -1);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.pf-v6-c-compass__nav {
|
|
59
|
+
display: flex;
|
|
60
|
+
flex-direction: column;
|
|
61
|
+
gap: var(--pf-v6-c-compass__nav--RowGap);
|
|
62
|
+
align-items: center;
|
|
63
|
+
justify-self: stretch;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.pf-v6-c-compass__sidebar {
|
|
67
|
+
--pf-v6-c-compass__panel--Padding: var(--pf-v6-c-compass__sidebar--Padding);
|
|
68
|
+
}
|
|
69
|
+
.pf-v6-c-compass__sidebar.pf-m-start {
|
|
70
|
+
grid-area: sidebar-start;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.pf-v6-c-compass__main {
|
|
74
|
+
display: flex;
|
|
75
|
+
flex-direction: column;
|
|
76
|
+
grid-area: main;
|
|
77
|
+
gap: var(--pf-v6-c-compass__main--RowGap);
|
|
78
|
+
align-self: stretch;
|
|
79
|
+
min-height: 0;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.pf-v6-c-compass__content {
|
|
83
|
+
display: flex;
|
|
84
|
+
flex: 1 0 0;
|
|
85
|
+
flex-direction: column;
|
|
86
|
+
min-height: 0;
|
|
87
|
+
overflow: auto;
|
|
88
|
+
}
|
|
89
|
+
.pf-v6-c-compass__content > *:last-child {
|
|
90
|
+
flex-grow: 1;
|
|
91
|
+
max-height: 100%;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.pf-v6-c-compass__sidebar.pf-m-end {
|
|
95
|
+
grid-area: sidebar-end;
|
|
96
|
+
padding: var(--pf-t--global--spacer--sm);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.pf-v6-c-compass__footer {
|
|
100
|
+
display: flex;
|
|
101
|
+
grid-area: footer;
|
|
102
|
+
justify-content: center;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.pf-v6-c-compass__message-bar {
|
|
106
|
+
width: var(--pf-v6-c-compass__message-bar--Width);
|
|
107
|
+
min-width: var(--pf-v6-c-compass__message-bar--MinWidth);
|
|
108
|
+
max-width: var(--pf-v6-c-compass__message-bar--MaxWidth);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.pf-v6-c-compass__panel {
|
|
112
|
+
padding: var(--pf-v6-c-compass__panel--Padding);
|
|
113
|
+
background-color: var(--pf-v6-c-compass__panel--BackgroundColor);
|
|
114
|
+
backdrop-filter: var(--pf-v6-c-compass__panel--BackdropFilter);
|
|
115
|
+
border: var(--pf-v6-c-compass__panel--BorderWidth) solid var(--pf-v6-c-compass__panel--BorderColor);
|
|
116
|
+
border-radius: var(--pf-v6-c-compass__panel--BorderRadius);
|
|
117
|
+
box-shadow: var(--pf-v6-c-compass__panel--BoxShadow);
|
|
118
|
+
}
|
|
119
|
+
.pf-v6-c-compass__panel.pf-m-no-border {
|
|
120
|
+
border-width: 0;
|
|
121
|
+
}
|
|
122
|
+
.pf-v6-c-compass__panel.pf-m-no-padding {
|
|
123
|
+
padding: 0;
|
|
124
|
+
}
|
|
125
|
+
.pf-v6-c-compass__panel.pf-m-full-height {
|
|
126
|
+
height: 100%;
|
|
127
|
+
}
|
|
128
|
+
.pf-v6-c-compass__panel.pf-m-pill {
|
|
129
|
+
border-radius: var(--pf-v6-c-compass__panel--m-pill--BorderRadius);
|
|
130
|
+
}
|
|
131
|
+
.pf-v6-c-compass__panel.pf-m-scrollable {
|
|
132
|
+
overflow: auto;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
/* stylelint-disable */
|
|
136
|
+
@media (max-width: 1200px) {
|
|
137
|
+
.pf-v6-c-compass * {
|
|
138
|
+
display: none;
|
|
139
|
+
}
|
|
140
|
+
.pf-v6-c-compass {
|
|
141
|
+
position: relative;
|
|
142
|
+
display: grid;
|
|
143
|
+
grid-template-columns: auto;
|
|
144
|
+
grid-template-rows: auto;
|
|
145
|
+
place-content: center;
|
|
146
|
+
gap: 0;
|
|
147
|
+
}
|
|
148
|
+
.pf-v6-c-compass::after {
|
|
149
|
+
padding: 1em;
|
|
150
|
+
border-radius: var(--pf-t--global--border--radius--large);
|
|
151
|
+
background: var(--pf-t--global--background--color--primary--default);
|
|
152
|
+
content: "This page is optimized for wide screens.\a\aPlease view on a larger display and/or make your browser window wider.";
|
|
153
|
+
width: 80%;
|
|
154
|
+
width: 300px;
|
|
155
|
+
border: 1px solid var(--pf-t--global--border--color--default);
|
|
156
|
+
box-shadow: var(--pf-t--global--box-shadow--md);
|
|
157
|
+
white-space: pre-wrap;
|
|
158
|
+
text-align: center;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
/* stylelint-enable */
|
|
@@ -0,0 +1,221 @@
|
|
|
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}--RowGap: var(--pf-t--global--spacer--xl);
|
|
9
|
+
--#{$compass}--ColumnGap: var(--pf-t--global--spacer--xl);
|
|
10
|
+
--#{$compass}__nav--RowGap: var(--pf-t--global--spacer--gap--group--vertical);
|
|
11
|
+
--#{$compass}__sidebar--Padding: var(--pf-t--global--spacer--sm);
|
|
12
|
+
--#{$compass}__main--RowGap: var(--pf-t--global--spacer--md);
|
|
13
|
+
--#{$compass}__panel--BackgroundColor: var(--pf-t--global--background--color--glass--default);
|
|
14
|
+
--#{$compass}__panel--BackdropFilter: var(--pf-t--global--background--color--glass--filter);
|
|
15
|
+
--#{$compass}__panel--BorderRadius: var(--pf-t--global--border--radius--large);
|
|
16
|
+
--#{$compass}__panel--m-pill--BorderRadius: var(--pf-t--global--border--radius--pill);
|
|
17
|
+
--#{$compass}__panel--Padding: var(--pf-t--global--spacer--inset--page-chrome);
|
|
18
|
+
--#{$compass}__panel--BorderWidth: var(--pf-t--global--border--width--regular);
|
|
19
|
+
--#{$compass}__panel--BorderColor: var(--pf-t--global--border--color--alt);
|
|
20
|
+
--#{$compass}__panel--BoxShadow: var(--pf-t--global--box-shadow--md);
|
|
21
|
+
--#{$compass}__message-bar--Width: 450px;
|
|
22
|
+
--#{$compass}__message-bar--MinWidth: 300px;
|
|
23
|
+
--#{$compass}__message-bar--MaxWidth: 600px;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.#{$compass} {
|
|
27
|
+
display: grid;
|
|
28
|
+
grid-template-areas:
|
|
29
|
+
"header header header"
|
|
30
|
+
"sidebar-start main sidebar-end"
|
|
31
|
+
"footer footer footer";
|
|
32
|
+
grid-template-rows: auto 1fr auto;
|
|
33
|
+
grid-template-columns: auto 1fr auto;
|
|
34
|
+
gap: var(--#{$compass}--RowGap) var(--#{$compass}--ColumnGap);
|
|
35
|
+
align-items: center;
|
|
36
|
+
justify-content: center;
|
|
37
|
+
height: 100dvh;
|
|
38
|
+
padding: var(--#{$compass}--Padding);
|
|
39
|
+
background-image: var(--#{$compass}--BackgroundImage);
|
|
40
|
+
background-size: cover;
|
|
41
|
+
|
|
42
|
+
:root:where(.pf-v6-theme-dark) & {
|
|
43
|
+
--#{$compass}--BackgroundImage: var(--#{$compass}--BackgroundImage--dark);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
@at-root .#{$compass}__panel,
|
|
47
|
+
& {
|
|
48
|
+
&.pf-m-no-glass {
|
|
49
|
+
--#{$compass}__panel--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.#{$compass}__header {
|
|
55
|
+
display: grid;
|
|
56
|
+
grid-area: header;
|
|
57
|
+
grid-template-columns: 1fr auto 1fr;
|
|
58
|
+
align-items: start;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.#{$compass}__profile {
|
|
62
|
+
justify-self: end;
|
|
63
|
+
|
|
64
|
+
// improves perceived alignment since it's a plain toggle
|
|
65
|
+
.#{$menu-toggle}.pf-m-plain {
|
|
66
|
+
margin-block-start: calc(var(--#{$menu-toggle}--PaddingBlockStart) * -1);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.#{$compass}__nav {
|
|
71
|
+
display: flex;
|
|
72
|
+
flex-direction: column;
|
|
73
|
+
gap: var(--#{$compass}__nav--RowGap);
|
|
74
|
+
align-items: center;
|
|
75
|
+
justify-self: stretch;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.#{$compass}__sidebar {
|
|
79
|
+
--#{$compass}__panel--Padding: var(--#{$compass}__sidebar--Padding);
|
|
80
|
+
|
|
81
|
+
&.pf-m-start {
|
|
82
|
+
grid-area: sidebar-start;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.#{$compass}__main {
|
|
87
|
+
display: flex;
|
|
88
|
+
flex-direction: column;
|
|
89
|
+
grid-area: main;
|
|
90
|
+
gap: var(--#{$compass}__main--RowGap);
|
|
91
|
+
align-self: stretch;
|
|
92
|
+
min-height: 0;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.#{$compass}__content {
|
|
96
|
+
display: flex;
|
|
97
|
+
flex: 1 0 0;
|
|
98
|
+
flex-direction: column;
|
|
99
|
+
min-height: 0;
|
|
100
|
+
overflow: auto;
|
|
101
|
+
|
|
102
|
+
// mask: linear-gradient(
|
|
103
|
+
// rgba(0, 0, 0, calc(1 - var(--#{$compass}__scroll-top) / 20)),
|
|
104
|
+
// black var(--#{$compass}--feather--length),
|
|
105
|
+
// black calc(100% - var(--#{$compass}--feather--length)),
|
|
106
|
+
// rgba(0, 0, 0, calc(1 - var(--#{$compass}__scroll-bottom) / 20))
|
|
107
|
+
// );
|
|
108
|
+
// backdrop-filter: blur(8px);
|
|
109
|
+
|
|
110
|
+
> *:last-child {
|
|
111
|
+
flex-grow: 1;
|
|
112
|
+
max-height: 100%;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.#{$compass}__sidebar.pf-m-end {
|
|
117
|
+
grid-area: sidebar-end;
|
|
118
|
+
padding: var(--pf-t--global--spacer--sm);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.#{$compass}__footer {
|
|
122
|
+
display: flex;
|
|
123
|
+
grid-area: footer;
|
|
124
|
+
justify-content: center;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.#{$compass}__message-bar {
|
|
128
|
+
width: var(--#{$compass}__message-bar--Width);
|
|
129
|
+
min-width: var(--#{$compass}__message-bar--MinWidth);
|
|
130
|
+
max-width: var(--#{$compass}__message-bar--MaxWidth);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.#{$compass}__panel {
|
|
134
|
+
padding: var(--#{$compass}__panel--Padding);
|
|
135
|
+
background-color: var(--#{$compass}__panel--BackgroundColor);
|
|
136
|
+
backdrop-filter: var(--#{$compass}__panel--BackdropFilter);
|
|
137
|
+
border: var(--#{$compass}__panel--BorderWidth) solid var(--#{$compass}__panel--BorderColor);
|
|
138
|
+
border-radius: var(--#{$compass}__panel--BorderRadius);
|
|
139
|
+
box-shadow: var(--#{$compass}__panel--BoxShadow);
|
|
140
|
+
|
|
141
|
+
&.pf-m-no-border {
|
|
142
|
+
border-width: 0;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
&.pf-m-no-padding {
|
|
146
|
+
padding: 0;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
&.pf-m-full-height {
|
|
150
|
+
height: 100%;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
&.pf-m-pill {
|
|
154
|
+
border-radius: var(--#{$compass}__panel--m-pill--BorderRadius);
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
&.pf-m-scrollable {
|
|
158
|
+
overflow: auto;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
:where(.pf-v6-theme-dark) .#{$compass} {
|
|
163
|
+
// dark theme goes here
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
// .pf-chatbot__message-bar {
|
|
167
|
+
// width: 100%;
|
|
168
|
+
// min-width: var(--#{$compass}--message-bar--min-width);
|
|
169
|
+
// max-width: var(--#{$compass}--message-bar--max-width);
|
|
170
|
+
// padding-inline-start: 0px;
|
|
171
|
+
// padding-inline-end: 0.8em;
|
|
172
|
+
// background: transparent;
|
|
173
|
+
// border: 0;
|
|
174
|
+
|
|
175
|
+
// &:hover,
|
|
176
|
+
// &:focus-within {
|
|
177
|
+
// box-shadow: var(--pf-t--global--box-shadow--md);
|
|
178
|
+
// }
|
|
179
|
+
|
|
180
|
+
// .pf-chatbot__button--send.pf-m-compact {
|
|
181
|
+
// width: auto;
|
|
182
|
+
// height: auto;
|
|
183
|
+
// padding: var(--pf-v6-c-button--m-small--PaddingBlockStart) var(--pf-v6-c-button--m-small--PaddingInlineEnd)
|
|
184
|
+
// var(--pf-v6-c-button--m-small--PaddingBlockEnd) var(--pf-v6-c-button--m-small--PaddingInlineStart);
|
|
185
|
+
|
|
186
|
+
// .pf-v6-c-button__icon {
|
|
187
|
+
// min-width: 1lh;
|
|
188
|
+
// }
|
|
189
|
+
// }
|
|
190
|
+
// }
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
/* stylelint-disable */
|
|
195
|
+
@media (max-width: 1200px) {
|
|
196
|
+
.#{$compass} * {
|
|
197
|
+
display: none;
|
|
198
|
+
}
|
|
199
|
+
.#{$compass} {
|
|
200
|
+
position: relative;
|
|
201
|
+
display: grid;
|
|
202
|
+
grid-template-columns: auto;
|
|
203
|
+
grid-template-rows: auto;
|
|
204
|
+
place-content: center;
|
|
205
|
+
gap: 0;
|
|
206
|
+
|
|
207
|
+
&::after {
|
|
208
|
+
padding: 1em;
|
|
209
|
+
border-radius: var(--pf-t--global--border--radius--large);
|
|
210
|
+
background: var(--pf-t--global--background--color--primary--default);
|
|
211
|
+
content: "This page is optimized for wide screens.\a\a Please view on a larger display and/or make your browser window wider.";
|
|
212
|
+
width: 80%;
|
|
213
|
+
width: 300px;
|
|
214
|
+
border: 1px solid var(--pf-t--global--border--color--default);
|
|
215
|
+
box-shadow: var(--pf-t--global--box-shadow--md);
|
|
216
|
+
white-space: pre-wrap;
|
|
217
|
+
text-align: center;
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
/* 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},
|