@patternfly/patternfly 6.5.0-prerelease.76 → 6.5.0-prerelease.78
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/components/Button/button.css +2 -2
- package/components/Button/button.scss +1 -1
- package/components/Compass/compass.css +147 -3
- package/components/Compass/compass.scss +142 -3
- package/components/Masthead/masthead.css +3 -3
- package/components/Masthead/masthead.scss +1 -1
- package/components/MenuToggle/menu-toggle.css +3 -3
- package/components/MenuToggle/menu-toggle.scss +1 -1
- package/components/Nav/nav.css +2 -2
- package/components/Nav/nav.scss +1 -1
- package/components/Table/table-scrollable.css +1 -1
- package/components/Table/table-scrollable.scss +1 -1
- package/components/Toolbar/toolbar.css +48 -1
- package/components/Toolbar/toolbar.scss +53 -1
- package/components/_index.css +206 -15
- package/docs/components/Compass/examples/Compass.md +4 -1
- package/docs/components/Toolbar/examples/Toolbar.css +1 -1
- package/docs/components/Toolbar/examples/Toolbar.md +44 -0
- package/docs/demos/Compass/examples/Compass.md +1915 -266
- package/package.json +1 -1
- package/patternfly-no-globals.css +206 -15
- package/patternfly.css +206 -15
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
package/components/_index.css
CHANGED
|
@@ -2477,11 +2477,11 @@ span.pf-v6-c-button.pf-m-link.pf-m-inline {
|
|
|
2477
2477
|
display: none;
|
|
2478
2478
|
}
|
|
2479
2479
|
}
|
|
2480
|
-
.pf-v6-c-page__dock.pf-m-text-expanded .pf-v6-c-button, .pf-v6-c-button.pf-m-text-expanded {
|
|
2480
|
+
:is(.pf-v6-c-page__dock, .pf-v6-c-compass__dock).pf-m-text-expanded .pf-v6-c-button, .pf-v6-c-button.pf-m-text-expanded {
|
|
2481
2481
|
justify-content: flex-start;
|
|
2482
2482
|
width: 100%;
|
|
2483
2483
|
}
|
|
2484
|
-
.pf-v6-c-page__dock.pf-m-text-expanded .pf-v6-c-button .pf-v6-c-button__text, .pf-v6-c-button.pf-m-text-expanded .pf-v6-c-button__text {
|
|
2484
|
+
:is(.pf-v6-c-page__dock, .pf-v6-c-compass__dock).pf-m-text-expanded .pf-v6-c-button .pf-v6-c-button__text, .pf-v6-c-button.pf-m-text-expanded .pf-v6-c-button__text {
|
|
2485
2485
|
display: revert;
|
|
2486
2486
|
}
|
|
2487
2487
|
|
|
@@ -3696,6 +3696,7 @@ label.pf-v6-c-check, .pf-v6-c-check__label,
|
|
|
3696
3696
|
--pf-v6-c-compass__message-bar--Width: 450px;
|
|
3697
3697
|
--pf-v6-c-compass__message-bar--MinWidth: 300px;
|
|
3698
3698
|
--pf-v6-c-compass__message-bar--MaxWidth: 600px;
|
|
3699
|
+
--pf-v6-c-compass--m-docked__masthead--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
3699
3700
|
--pf-v6-c-compass--section--slide--length--header: 100%;
|
|
3700
3701
|
--pf-v6-c-compass--section--slide--length--sidebar: 100%;
|
|
3701
3702
|
--pf-v6-c-compass--section--slide--length--main-footer: 100%;
|
|
@@ -3708,6 +3709,23 @@ label.pf-v6-c-check, .pf-v6-c-check__label,
|
|
|
3708
3709
|
--pf-v6-c-compass--section--m-expanded--duration: var(--pf-t--global--motion--duration--fade--default);
|
|
3709
3710
|
--pf-v6-c-compass--section--m-expanded--TransitionDuration: var(--pf-v6-c-compass--section--m-expanded--duration), 0s, 0s, 0s, 0s, 0s;
|
|
3710
3711
|
--pf-v6-c-compass--section--m-expanded--TransitionDelay: 0s;
|
|
3712
|
+
--pf-v6-c-compass__dock--Width: 15.625rem;
|
|
3713
|
+
--pf-v6-c-compass__dock--desktop--Width: auto;
|
|
3714
|
+
--pf-v6-c-compass__dock--ZIndex: var(--pf-t--global--z-index--md);
|
|
3715
|
+
--pf-v6-c-compass__dock--TransitionDuration--slide: 0s;
|
|
3716
|
+
--pf-v6-c-compass__dock--m-expanded--TransitionDuration--slide: 0s;
|
|
3717
|
+
--pf-v6-c-compass__dock--TransitionTimingFunction--slide: var(--pf-t--global--motion--timing-function--decelerate);
|
|
3718
|
+
--pf-v6-c-compass__dock-main--BackgroundColor: var(--pf-t--global--background--color--floating--default);
|
|
3719
|
+
--pf-v6-c-compass__dock-main--desktop--BackgroundColor: var(--pf-t--global--background--color--glass--primary--default, var(--pf-t--global--background--color--primary--default));
|
|
3720
|
+
--pf-v6-c-compass__dock-main--BoxShadow: none;
|
|
3721
|
+
--pf-v6-c-compass__dock--m-expanded__dock-main--BoxShadow: var(--pf-t--global--box-shadow--sm--right);
|
|
3722
|
+
--pf-v6-c-compass__dock-main--desktop--BoxShadow: var(--pf-t--global--box-shadow--glass--default, none);
|
|
3723
|
+
--pf-v6-c-compass__dock-main--BackdropFilter: var(--pf-t--global--background--filter--glass--blur--primary, revert);
|
|
3724
|
+
--pf-v6-c-compass__dock-main--BorderInlineEndWidth: var(--pf-t--global--border--width--glass--default, 0);
|
|
3725
|
+
--pf-v6-c-compass__dock-main--BorderInlineEndColor: transparent;
|
|
3726
|
+
--pf-v6-c-compass__dock-main--desktop--BorderInlineEndColor: var(--pf-t--global--border--color--glass--default, transparent);
|
|
3727
|
+
--pf-v6-c-compass__dock--m-expanded__dock-main--BorderInlineEndWidth: var(--pf-t--global--border--width--glass--default, var(--pf-t--global--border--width--regular));
|
|
3728
|
+
--pf-v6-c-compass__dock--m-expanded__dock-main--BorderInlineEndColor: var(--pf-t--global--border--color--glass--default, var(--pf-t--global--border--color--subtle));
|
|
3711
3729
|
}
|
|
3712
3730
|
@media screen and (prefers-reduced-motion: no-preference) {
|
|
3713
3731
|
.pf-v6-c-compass {
|
|
@@ -3743,18 +3761,90 @@ label.pf-v6-c-check, .pf-v6-c-check__label,
|
|
|
3743
3761
|
background-size: cover;
|
|
3744
3762
|
}
|
|
3745
3763
|
.pf-v6-c-compass.pf-m-docked {
|
|
3746
|
-
grid-template-areas: "
|
|
3747
|
-
grid-template-rows:
|
|
3748
|
-
grid-template-columns:
|
|
3764
|
+
grid-template-areas: "header" "main";
|
|
3765
|
+
grid-template-rows: max-content 1fr;
|
|
3766
|
+
grid-template-columns: 1fr;
|
|
3749
3767
|
align-items: stretch;
|
|
3750
3768
|
padding: 0;
|
|
3751
3769
|
}
|
|
3752
3770
|
.pf-v6-c-compass.pf-m-docked .pf-v6-c-compass__main {
|
|
3753
3771
|
padding: var(--pf-v6-c-compass--Padding);
|
|
3754
3772
|
}
|
|
3773
|
+
.pf-v6-c-compass.pf-m-docked > .pf-v6-c-masthead {
|
|
3774
|
+
--pf-v6-c-masthead--BackgroundColor: var(--pf-v6-c-compass--m-docked__masthead--BackgroundColor);
|
|
3775
|
+
grid-area: header;
|
|
3776
|
+
}
|
|
3755
3777
|
:root:where(.pf-v6-theme-dark) .pf-v6-c-compass {
|
|
3756
3778
|
--pf-v6-c-compass--BackgroundImage: var(--pf-v6-c-compass--BackgroundImage--dark);
|
|
3757
3779
|
}
|
|
3780
|
+
@media (min-width: 62rem) {
|
|
3781
|
+
.pf-v6-c-compass.pf-m-docked {
|
|
3782
|
+
grid-template-areas: "dock main";
|
|
3783
|
+
grid-template-rows: auto;
|
|
3784
|
+
grid-template-columns: auto 1fr;
|
|
3785
|
+
row-gap: var(--pf-v6-c-compass__main--RowGap);
|
|
3786
|
+
align-items: stretch;
|
|
3787
|
+
padding: 0;
|
|
3788
|
+
}
|
|
3789
|
+
.pf-v6-c-compass.pf-m-docked > .pf-v6-c-masthead {
|
|
3790
|
+
display: none;
|
|
3791
|
+
}
|
|
3792
|
+
}
|
|
3793
|
+
.pf-v6-c-compass > .pf-v6-c-masthead .pf-v6-c-masthead__toggle .pf-v6-c-button.pf-m-hamburger:is(:hover, :focus-visible) {
|
|
3794
|
+
--pf-v6-c-button--hamburger-icon--top--path: var(--pf-v6-c-button--hamburger-icon--top--collapse--path);
|
|
3795
|
+
--pf-v6-c-button--hamburger-icon--arrow--path: var(--pf-v6-c-button--hamburger-icon--arrow--collapse--path);
|
|
3796
|
+
--pf-v6-c-button--hamburger-icon--bottom--path: var(--pf-v6-c-button--hamburger-icon--bottom--collapse--path);
|
|
3797
|
+
--pf-v6-c-button__icon--TransitionDelay: 0s;
|
|
3798
|
+
--pf-v6-c-button__icon--ScaleX: var(--pf-v6-c-button--m-hamburger__icon--m-expand--ScaleX);
|
|
3799
|
+
--pf-v6-c-button--hover__icon--TransitionDelay: 0s;
|
|
3800
|
+
--pf-v6-c-button--hover__icon--ScaleX: var(--pf-v6-c-button--m-hamburger__icon--m-expand--ScaleX);
|
|
3801
|
+
}
|
|
3802
|
+
.pf-v6-c-compass:where(:has(> .pf-v6-c-compass__dock.pf-m-expanded)) > .pf-v6-c-masthead .pf-v6-c-masthead__toggle :is(.pf-v6-c-button.pf-m-hamburger, .pf-v6-c-button.pf-m-hamburger:hover, .pf-v6-c-button.pf-m-hamburger:focus-visible) {
|
|
3803
|
+
--pf-v6-c-button--hamburger-icon--top--path: var(--pf-v6-c-button--hamburger-icon--top--collapse--path);
|
|
3804
|
+
--pf-v6-c-button--hamburger-icon--arrow--path: var(--pf-v6-c-button--hamburger-icon--arrow--collapse--path);
|
|
3805
|
+
--pf-v6-c-button--hamburger-icon--bottom--path: var(--pf-v6-c-button--hamburger-icon--bottom--collapse--path);
|
|
3806
|
+
--pf-v6-c-button__icon--TransitionDelay: 0s;
|
|
3807
|
+
--pf-v6-c-button__icon--ScaleX: 1;
|
|
3808
|
+
--pf-v6-c-button--hover__icon--TransitionDelay: 0s;
|
|
3809
|
+
--pf-v6-c-button--hover__icon--ScaleX: 1;
|
|
3810
|
+
}
|
|
3811
|
+
.pf-v6-c-compass .pf-v6-c-compass__dock.pf-m-expanded .pf-v6-c-masthead__toggle .pf-v6-c-button.pf-m-hamburger {
|
|
3812
|
+
--pf-v6-c-button--hamburger-icon--top--path: var(--pf-v6-c-button--hamburger-icon--top--collapse--path);
|
|
3813
|
+
--pf-v6-c-button--hamburger-icon--arrow--path: var(--pf-v6-c-button--hamburger-icon--arrow--collapse--path);
|
|
3814
|
+
--pf-v6-c-button--hamburger-icon--bottom--path: var(--pf-v6-c-button--hamburger-icon--bottom--collapse--path);
|
|
3815
|
+
--pf-v6-c-button__icon--TransitionDelay: 0s;
|
|
3816
|
+
--pf-v6-c-button__icon--ScaleX: 1;
|
|
3817
|
+
--pf-v6-c-button--hover__icon--TransitionDelay: 0s;
|
|
3818
|
+
--pf-v6-c-button--hover__icon--ScaleX: 1;
|
|
3819
|
+
}
|
|
3820
|
+
@media (min-width: 62rem) {
|
|
3821
|
+
.pf-v6-c-compass .pf-v6-c-compass__dock .pf-v6-c-masthead__toggle .pf-v6-c-button.pf-m-hamburger,
|
|
3822
|
+
.pf-v6-c-compass .pf-v6-c-compass__dock.pf-m-expanded .pf-v6-c-masthead__toggle .pf-v6-c-button.pf-m-hamburger {
|
|
3823
|
+
--pf-v6-c-button--hamburger-icon--top--path: var(--pf-v6-c-button--hamburger-icon--top--path--base);
|
|
3824
|
+
--pf-v6-c-button--hamburger-icon--arrow--path: var(--pf-v6-c-button--hamburger-icon--arrow--path--base);
|
|
3825
|
+
--pf-v6-c-button--hamburger-icon--bottom--path: var(--pf-v6-c-button--hamburger-icon--bottom--path--base);
|
|
3826
|
+
--pf-v6-c-button__icon--TransitionDelay: var(--pf-v6-c-button--hamburger-icon--TransitionDuration);
|
|
3827
|
+
--pf-v6-c-button--hover__icon--TransitionDelay: var(--pf-v6-c-button--hamburger-icon--TransitionDuration);
|
|
3828
|
+
}
|
|
3829
|
+
.pf-v6-c-compass .pf-v6-c-compass__dock .pf-v6-c-masthead__toggle .pf-v6-c-button.pf-m-hamburger:is(:hover, :focus-visible) {
|
|
3830
|
+
--pf-v6-c-button--hamburger-icon--top--path: var(--pf-v6-c-button--hamburger-icon--top--collapse--path);
|
|
3831
|
+
--pf-v6-c-button--hamburger-icon--arrow--path: var(--pf-v6-c-button--hamburger-icon--arrow--collapse--path);
|
|
3832
|
+
--pf-v6-c-button--hamburger-icon--bottom--path: var(--pf-v6-c-button--hamburger-icon--bottom--collapse--path);
|
|
3833
|
+
--pf-v6-c-button__icon--TransitionDelay: 0s;
|
|
3834
|
+
--pf-v6-c-button__icon--ScaleX: var(--pf-v6-c-button--m-hamburger__icon--m-expand--ScaleX);
|
|
3835
|
+
--pf-v6-c-button--hover__icon--TransitionDelay: 0s;
|
|
3836
|
+
--pf-v6-c-button--hover__icon--ScaleX: var(--pf-v6-c-button--m-hamburger__icon--m-expand--ScaleX);
|
|
3837
|
+
}
|
|
3838
|
+
.pf-v6-c-compass .pf-v6-c-compass__dock.pf-m-text-expanded .pf-v6-c-masthead__toggle .pf-v6-c-button.pf-m-hamburger:is(:hover, :focus-visible) {
|
|
3839
|
+
--pf-v6-c-button--hamburger-icon--top--path: var(--pf-v6-c-button--hamburger-icon--top--collapse--path);
|
|
3840
|
+
--pf-v6-c-button--hamburger-icon--arrow--path: var(--pf-v6-c-button--hamburger-icon--arrow--collapse--path);
|
|
3841
|
+
--pf-v6-c-button--hamburger-icon--bottom--path: var(--pf-v6-c-button--hamburger-icon--bottom--collapse--path);
|
|
3842
|
+
--pf-v6-c-button__icon--TransitionDelay: 0s;
|
|
3843
|
+
--pf-v6-c-button__icon--ScaleX: 1;
|
|
3844
|
+
--pf-v6-c-button--hover__icon--TransitionDelay: 0s;
|
|
3845
|
+
--pf-v6-c-button--hover__icon--ScaleX: 1;
|
|
3846
|
+
}
|
|
3847
|
+
}
|
|
3758
3848
|
|
|
3759
3849
|
.pf-v6-c-compass__header,
|
|
3760
3850
|
.pf-v6-c-compass__sidebar:is(.pf-m-start, .pf-m-end),
|
|
@@ -3872,6 +3962,60 @@ label.pf-v6-c-check, .pf-v6-c-check__label,
|
|
|
3872
3962
|
margin-inline-start: var(--pf-v6-c-compass--Gap);
|
|
3873
3963
|
}
|
|
3874
3964
|
|
|
3965
|
+
.pf-v6-c-compass__dock {
|
|
3966
|
+
position: fixed;
|
|
3967
|
+
inset-block-start: 0;
|
|
3968
|
+
inset-block-end: 0;
|
|
3969
|
+
inset-inline-start: 0;
|
|
3970
|
+
z-index: var(--pf-v6-c-compass__dock--ZIndex);
|
|
3971
|
+
display: flex;
|
|
3972
|
+
flex-direction: column;
|
|
3973
|
+
grid-area: dock;
|
|
3974
|
+
width: var(--pf-v6-c-compass__dock--Width);
|
|
3975
|
+
transition: translate var(--pf-v6-c-compass__dock--TransitionDuration--slide) var(--pf-v6-c-compass__dock--TransitionTimingFunction--slide);
|
|
3976
|
+
translate: -100% 0;
|
|
3977
|
+
}
|
|
3978
|
+
.pf-v6-c-compass__dock.pf-m-expanded {
|
|
3979
|
+
--pf-v6-c-compass__dock--TransitionDuration--slide: var(--pf-v6-c-compass__dock--m-expanded--TransitionDuration--slide);
|
|
3980
|
+
translate: 0;
|
|
3981
|
+
}
|
|
3982
|
+
@media (min-width: 62rem) {
|
|
3983
|
+
.pf-v6-c-compass__dock {
|
|
3984
|
+
--pf-v6-c-compass__dock-main--BackgroundColor: var(--pf-v6-c-compass__dock-main--desktop--BackgroundColor);
|
|
3985
|
+
--pf-v6-c-compass__dock-main--BorderInlineEndColor: var(--pf-v6-c-compass__dock-main--desktop--BorderInlineEndColor);
|
|
3986
|
+
position: revert;
|
|
3987
|
+
inset: revert;
|
|
3988
|
+
width: auto;
|
|
3989
|
+
translate: 0;
|
|
3990
|
+
}
|
|
3991
|
+
}
|
|
3992
|
+
.pf-v6-c-compass__dock .pf-v6-c-toolbar.pf-m-vertical :is(.pf-v6-c-toolbar__content-section, .pf-v6-c-toolbar__group, .pf-v6-c-toolbar__item) {
|
|
3993
|
+
align-items: stretch;
|
|
3994
|
+
}
|
|
3995
|
+
.pf-v6-c-compass__dock.pf-m-text-expanded {
|
|
3996
|
+
width: var(--pf-v6-c-compass__dock--Width);
|
|
3997
|
+
}
|
|
3998
|
+
|
|
3999
|
+
.pf-v6-c-compass__dock-main {
|
|
4000
|
+
flex-grow: 1;
|
|
4001
|
+
background-color: var(--pf-v6-c-compass__dock-main--BackgroundColor);
|
|
4002
|
+
backdrop-filter: var(--pf-v6-c-compass__dock-main--BackdropFilter);
|
|
4003
|
+
border-inline-end: var(--pf-v6-c-compass__dock-main--BorderInlineEndWidth) solid var(--pf-v6-c-compass__dock-main--BorderInlineEndColor);
|
|
4004
|
+
box-shadow: var(--pf-v6-c-compass__dock-main--BoxShadow);
|
|
4005
|
+
}
|
|
4006
|
+
.pf-v6-c-compass__dock.pf-m-expanded .pf-v6-c-compass__dock-main {
|
|
4007
|
+
border-inline-end: var(--pf-v6-c-compass__dock--m-expanded__dock-main--BorderInlineEndWidth) solid var(--pf-v6-c-compass__dock--m-expanded__dock-main--BorderInlineEndColor);
|
|
4008
|
+
box-shadow: var(--pf-v6-c-compass__dock--m-expanded__dock-main--BoxShadow);
|
|
4009
|
+
}
|
|
4010
|
+
@media (min-width: 62rem) {
|
|
4011
|
+
.pf-v6-c-compass__dock-main {
|
|
4012
|
+
--pf-v6-c-compass__dock-main--BoxShadow: var(--pf-v6-c-compass__dock-main--desktop--BoxShadow);
|
|
4013
|
+
--pf-v6-c-compass__dock--m-expanded__dock-main--BoxShadow: var(--pf-v6-c-compass__dock-main--desktop--BoxShadow);
|
|
4014
|
+
--pf-v6-c-compass__dock--m-expanded__dock-main--BorderInlineEndWidth: var(--pf-v6-c-compass__dock-main--BorderInlineEndWidth);
|
|
4015
|
+
--pf-v6-c-compass__dock--m-expanded__dock-main--BorderInlineEndColor: var(--pf-v6-c-compass__dock-main--desktop--BorderInlineEndColor);
|
|
4016
|
+
}
|
|
4017
|
+
}
|
|
4018
|
+
|
|
3875
4019
|
.pf-v6-c-compass__main {
|
|
3876
4020
|
display: flex;
|
|
3877
4021
|
flex-direction: column;
|
|
@@ -10642,13 +10786,13 @@ ul.pf-v6-c-list {
|
|
|
10642
10786
|
display: revert;
|
|
10643
10787
|
}
|
|
10644
10788
|
}
|
|
10645
|
-
.pf-v6-c-page__dock.pf-m-text-expanded .pf-v6-c-masthead.pf-m-docked .pf-v6-c-masthead__logo {
|
|
10789
|
+
:is(.pf-v6-c-page__dock, .pf-v6-c-compass__dock).pf-m-text-expanded .pf-v6-c-masthead.pf-m-docked .pf-v6-c-masthead__logo {
|
|
10646
10790
|
display: revert;
|
|
10647
10791
|
}
|
|
10648
|
-
.pf-v6-c-page__dock.pf-m-text-expanded .pf-v6-c-masthead.pf-m-docked .pf-v6-c-masthead__logo.pf-m-compact {
|
|
10792
|
+
:is(.pf-v6-c-page__dock, .pf-v6-c-compass__dock).pf-m-text-expanded .pf-v6-c-masthead.pf-m-docked .pf-v6-c-masthead__logo.pf-m-compact {
|
|
10649
10793
|
display: none;
|
|
10650
10794
|
}
|
|
10651
|
-
.pf-v6-c-page__dock.pf-m-text-expanded .pf-v6-c-masthead.pf-m-docked .pf-v6-c-masthead__main {
|
|
10795
|
+
:is(.pf-v6-c-page__dock, .pf-v6-c-compass__dock).pf-m-text-expanded .pf-v6-c-masthead.pf-m-docked .pf-v6-c-masthead__main {
|
|
10652
10796
|
align-items: flex-start;
|
|
10653
10797
|
}
|
|
10654
10798
|
|
|
@@ -12119,12 +12263,12 @@ ul.pf-v6-c-list {
|
|
|
12119
12263
|
display: none;
|
|
12120
12264
|
}
|
|
12121
12265
|
}
|
|
12122
|
-
.pf-v6-c-page__dock.pf-m-text-expanded .pf-v6-c-menu-toggle, .pf-v6-c-menu-toggle.pf-m-text-expanded {
|
|
12266
|
+
:is(.pf-v6-c-page__dock, .pf-v6-c-compass__dock).pf-m-text-expanded .pf-v6-c-menu-toggle, .pf-v6-c-menu-toggle.pf-m-text-expanded {
|
|
12123
12267
|
justify-content: flex-start;
|
|
12124
12268
|
width: 100%;
|
|
12125
12269
|
}
|
|
12126
|
-
.pf-v6-c-page__dock.pf-m-text-expanded .pf-v6-c-menu-toggle .pf-v6-c-menu-toggle__text,
|
|
12127
|
-
.pf-v6-c-page__dock.pf-m-text-expanded .pf-v6-c-menu-toggle .pf-v6-c-menu-toggle__controls, .pf-v6-c-menu-toggle.pf-m-text-expanded .pf-v6-c-menu-toggle__text,
|
|
12270
|
+
:is(.pf-v6-c-page__dock, .pf-v6-c-compass__dock).pf-m-text-expanded .pf-v6-c-menu-toggle .pf-v6-c-menu-toggle__text,
|
|
12271
|
+
:is(.pf-v6-c-page__dock, .pf-v6-c-compass__dock).pf-m-text-expanded .pf-v6-c-menu-toggle .pf-v6-c-menu-toggle__controls, .pf-v6-c-menu-toggle.pf-m-text-expanded .pf-v6-c-menu-toggle__text,
|
|
12128
12272
|
.pf-v6-c-menu-toggle.pf-m-text-expanded .pf-v6-c-menu-toggle__controls {
|
|
12129
12273
|
display: revert;
|
|
12130
12274
|
}
|
|
@@ -12891,10 +13035,10 @@ ul.pf-v6-c-list {
|
|
|
12891
13035
|
display: none;
|
|
12892
13036
|
}
|
|
12893
13037
|
}
|
|
12894
|
-
.pf-v6-c-page__dock.pf-m-text-expanded .pf-v6-c-nav.pf-m-docked, .pf-v6-c-nav.pf-m-docked.pf-m-text-expanded {
|
|
13038
|
+
:is(.pf-v6-c-page__dock, .pf-v6-c-compass__dock).pf-m-text-expanded .pf-v6-c-nav.pf-m-docked, .pf-v6-c-nav.pf-m-docked.pf-m-text-expanded {
|
|
12895
13039
|
width: 100%;
|
|
12896
13040
|
}
|
|
12897
|
-
.pf-v6-c-page__dock.pf-m-text-expanded .pf-v6-c-nav.pf-m-docked .pf-v6-c-nav__link-text, .pf-v6-c-nav.pf-m-docked.pf-m-text-expanded .pf-v6-c-nav__link-text {
|
|
13041
|
+
:is(.pf-v6-c-page__dock, .pf-v6-c-compass__dock).pf-m-text-expanded .pf-v6-c-nav.pf-m-docked .pf-v6-c-nav__link-text, .pf-v6-c-nav.pf-m-docked.pf-m-text-expanded .pf-v6-c-nav__link-text {
|
|
12898
13042
|
display: revert;
|
|
12899
13043
|
}
|
|
12900
13044
|
|
|
@@ -19985,7 +20129,7 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
|
|
|
19985
20129
|
--pf-v6-c-table__sticky-cell--ZIndex: var(--pf-t--global--z-index--xs);
|
|
19986
20130
|
--pf-v6-c-table__sticky-cell--InsetInlineEnd: auto;
|
|
19987
20131
|
--pf-v6-c-table__sticky-cell--InsetInlineStart: auto;
|
|
19988
|
-
--pf-v6-c-table__sticky-cell--BackgroundColor: var(--pf-t--global--background--color--
|
|
20132
|
+
--pf-v6-c-table__sticky-cell--BackgroundColor: var(--pf-t--global--background--color--sticky--default);
|
|
19989
20133
|
--pf-v6-c-table__sticky-cell--m-border-right--before--BorderInlineEndWidth: var(--pf-t--global--border--width--divider--default);
|
|
19990
20134
|
--pf-v6-c-table__sticky-cell--m-border-right--before--BorderInlineEndColor: var(--pf-t--global--border--color--default);
|
|
19991
20135
|
--pf-v6-c-table__sticky-cell--m-border-left--before--BorderInlineStartWidth: var(--pf-t--global--border--width--divider--default);
|
|
@@ -22451,10 +22595,28 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
|
|
|
22451
22595
|
--pf-v6-c-toolbar--m-sticky--ZIndex: var(--pf-t--global--z-index--xs);
|
|
22452
22596
|
--pf-v6-c-toolbar--m-sticky--PaddingBlockStart: var(--pf-t--global--spacer--md);
|
|
22453
22597
|
--pf-v6-c-toolbar--m-sticky--PaddingBlockEnd: var(--pf-t--global--spacer--md);
|
|
22598
|
+
--pf-v6-c-toolbar--m-sticky--PaddingInlineStart: 0;
|
|
22599
|
+
--pf-v6-c-toolbar--m-sticky--PaddingInlineEnd: 0;
|
|
22454
22600
|
--pf-v6-c-toolbar--m-sticky--BoxShadow: var(--pf-t--global--box-shadow--md--bottom);
|
|
22455
|
-
--pf-v6-c-toolbar--m-sticky--BackgroundColor: var(--pf-t--global--background--color--
|
|
22601
|
+
--pf-v6-c-toolbar--m-sticky--BackgroundColor: var(--pf-t--global--background--color--sticky--default);
|
|
22456
22602
|
--pf-v6-c-toolbar--m-sticky--BorderBlockEndWidth: var(--pf-t--global--border--width--high-contrast--regular);
|
|
22457
22603
|
--pf-v6-c-toolbar--m-sticky--BorderBlockEndColor: var(--pf-t--global--border--color--high-contrast);
|
|
22604
|
+
--pf-v6-c-toolbar--m-sticky--BorderRadius: 0;
|
|
22605
|
+
--pf-v6-c-toolbar--m-sticky--BorderRadius--glass: var(--pf-t--global--border--radius--medium);
|
|
22606
|
+
--pf-v6-c-toolbar--m-sticky--BoxShadow--glass: var(--pf-t--global--box-shadow--sm);
|
|
22607
|
+
--pf-v6-c-toolbar--m-sticky--PaddingInlineStart--glass: var(--pf-t--global--spacer--sm);
|
|
22608
|
+
--pf-v6-c-toolbar--m-sticky--PaddingInlineEnd--glass: var(--pf-t--global--spacer--sm);
|
|
22609
|
+
--pf-v6-c-toolbar--m-sticky--TransitionTimingFunction--BackgroundColor: var(--pf-t--global--motion--timing-function--default);
|
|
22610
|
+
--pf-v6-c-toolbar--m-sticky--TransitionDuration--BackgroundColor: var(--pf-t--global--motion--duration--fade--default);
|
|
22611
|
+
}
|
|
22612
|
+
:where(.pf-v6-theme-glass) .pf-v6-c-toolbar {
|
|
22613
|
+
--pf-v6-c-toolbar--m-sticky--BorderBlockEndWidth: 0;
|
|
22614
|
+
--pf-v6-c-toolbar--m-sticky--BoxShadow: var(--pf-v6-c-toolbar--m-sticky--BoxShadow--glass);
|
|
22615
|
+
--pf-v6-c-toolbar--m-sticky--BorderRadius: var(--pf-v6-c-toolbar--m-sticky--BorderRadius--glass);
|
|
22616
|
+
--pf-v6-c-toolbar--m-sticky--PaddingInlineStart: var(--pf-v6-c-toolbar--m-sticky--PaddingInlineStart--glass);
|
|
22617
|
+
--pf-v6-c-toolbar--m-sticky--PaddingInlineEnd: var(--pf-v6-c-toolbar--m-sticky--PaddingInlineEnd--glass);
|
|
22618
|
+
}
|
|
22619
|
+
.pf-v6-c-toolbar {
|
|
22458
22620
|
--pf-v6-c-toolbar--m-vertical--Width: fit-content;
|
|
22459
22621
|
--pf-v6-c-toolbar__expand-all-icon--Rotate: 0;
|
|
22460
22622
|
--pf-v6-c-toolbar__expand-all-icon--TransitionDuration: var(--pf-t--global--motion--duration--icon--default);
|
|
@@ -22731,6 +22893,35 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
|
|
|
22731
22893
|
border-block-end: var(--pf-v6-c-toolbar--m-sticky--BorderBlockEndWidth) solid var(--pf-v6-c-toolbar--m-sticky--BorderBlockEndColor);
|
|
22732
22894
|
box-shadow: var(--pf-v6-c-toolbar--m-sticky--BoxShadow);
|
|
22733
22895
|
}
|
|
22896
|
+
.pf-v6-c-toolbar.pf-m-sticky-base {
|
|
22897
|
+
--pf-v6-c-toolbar--BackgroundColor: var(--pf-v6-c-toolbar--m-sticky--BackgroundColor);
|
|
22898
|
+
position: sticky;
|
|
22899
|
+
inset-block-start: 0;
|
|
22900
|
+
z-index: var(--pf-v6-c-toolbar--m-sticky--ZIndex);
|
|
22901
|
+
padding-block-start: var(--pf-v6-c-toolbar--m-sticky--PaddingBlockStart);
|
|
22902
|
+
padding-block-end: var(--pf-v6-c-toolbar--m-sticky--PaddingBlockEnd);
|
|
22903
|
+
padding-inline-start: var(--pf-v6-c-toolbar--m-sticky--PaddingInlineStart);
|
|
22904
|
+
padding-inline-end: var(--pf-v6-c-toolbar--m-sticky--PaddingInlineEnd);
|
|
22905
|
+
background: transparent;
|
|
22906
|
+
border-radius: inherit;
|
|
22907
|
+
}
|
|
22908
|
+
.pf-v6-c-toolbar.pf-m-sticky-base::before {
|
|
22909
|
+
position: absolute;
|
|
22910
|
+
inset: 0;
|
|
22911
|
+
z-index: -1;
|
|
22912
|
+
content: "";
|
|
22913
|
+
background: var(--pf-v6-c-toolbar--BackgroundColor);
|
|
22914
|
+
border-block-end: var(--pf-v6-c-toolbar--m-sticky--BorderBlockEndWidth) solid var(--pf-v6-c-toolbar--m-sticky--BorderBlockEndColor);
|
|
22915
|
+
border-radius: var(--pf-v6-c-toolbar--m-sticky--BorderRadius);
|
|
22916
|
+
box-shadow: var(--pf-v6-c-toolbar--m-sticky--BoxShadow);
|
|
22917
|
+
opacity: 0;
|
|
22918
|
+
transition-timing-function: var(--pf-v6-c-toolbar--m-sticky--TransitionTimingFunction--BackgroundColor);
|
|
22919
|
+
transition-duration: var(--pf-v6-c-toolbar--m-sticky--TransitionDuration--BackgroundColor);
|
|
22920
|
+
transition-property: opacity;
|
|
22921
|
+
}
|
|
22922
|
+
.pf-v6-c-toolbar.pf-m-sticky-stuck::before {
|
|
22923
|
+
opacity: 1;
|
|
22924
|
+
}
|
|
22734
22925
|
.pf-v6-c-toolbar.pf-m-static,
|
|
22735
22926
|
.pf-v6-c-toolbar.pf-m-static .pf-v6-c-toolbar__content {
|
|
22736
22927
|
position: static;
|
|
@@ -58,7 +58,9 @@ In a basic Compass layout, the page structure is defined by the order of element
|
|
|
58
58
|
|
|
59
59
|
```html isBeta
|
|
60
60
|
<div class="pf-v6-c-compass pf-m-animate-smoothly pf-m-docked">
|
|
61
|
-
<div class="pf-v6-c-compass__dock">
|
|
61
|
+
<div class="pf-v6-c-compass__dock">
|
|
62
|
+
<div class="pf-v6-c-compass__dock-main">dock</div>
|
|
63
|
+
</div>
|
|
62
64
|
<div class="pf-v6-c-compass__main">
|
|
63
65
|
<div class="pf-v6-c-compass__main-header">
|
|
64
66
|
<div class="pf-v6-c-compass__main-header-content">main header</div>
|
|
@@ -79,6 +81,7 @@ In a basic Compass layout, the page structure is defined by the order of element
|
|
|
79
81
|
| `.pf-v6-c-compass__header` | `<div>` | Initiates the Compass header. **Required** |
|
|
80
82
|
| `.pf-v6-c-compass__logo` | `<div>` | Initiates the Compass logo header. |
|
|
81
83
|
| `.pf-v6-c-compass__dock` | `<div>` | Initiates the Compass dock. |
|
|
84
|
+
| `.pf-v6-c-compass__dock-main` | `<div>` | Initiates the Compass dock main wrapper. |
|
|
82
85
|
| `.pf-v6-c-compass__profile` | `<div>` | Initiates the Compass profile. |
|
|
83
86
|
| `.pf-v6-c-compass__sidebar` | `<div>` | Initiates a Compass sidebar. **Required** |
|
|
84
87
|
| `.pf-v6-c-compass__main` | `<div>` | Initiates the Compass main wrapper. **Required** |
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
background-color: var(--pf-t--global--background--color--secondary--default);
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
-
#ws-core-c-toolbar-sticky-toolbar .ws-preview-html {
|
|
78
|
+
#ws-core-c-toolbar-sticky-toolbar .ws-preview-html, #ws-core-c-toolbar-dynamic-sticky-toolbar .ws-preview-html {
|
|
79
79
|
height: 200px;
|
|
80
80
|
overflow: auto;
|
|
81
81
|
}
|
|
@@ -3560,6 +3560,50 @@ Etiam nulla lacus, porttitor vel volutpat et, malesuada id nunc. Suspendisse por
|
|
|
3560
3560
|
|
|
3561
3561
|
```
|
|
3562
3562
|
|
|
3563
|
+
### Dynamic sticky toolbar
|
|
3564
|
+
|
|
3565
|
+
This example shows the use of `.pf-m-sticky-base` and `.pf-m-sticky-stuck`. `.pf-m-sticky-stuck` can be applied dynamically as the page has scrolled to only show sticky styles when the toolbar is "stuck" and floating above the content.
|
|
3566
|
+
|
|
3567
|
+
```html
|
|
3568
|
+
<div
|
|
3569
|
+
class="pf-v6-c-toolbar pf-m-sticky-base pf-m-sticky-stuck"
|
|
3570
|
+
id="toolbar-sticky-stuck-example"
|
|
3571
|
+
>
|
|
3572
|
+
<div class="pf-v6-c-toolbar__content">
|
|
3573
|
+
<div class="pf-v6-c-toolbar__content-section">
|
|
3574
|
+
<div class="pf-v6-c-toolbar__item">Item</div>
|
|
3575
|
+
<div class="pf-v6-c-toolbar__item">Item</div>
|
|
3576
|
+
<div class="pf-v6-c-toolbar__item">Item</div>
|
|
3577
|
+
<hr class="pf-v6-c-divider pf-m-vertical" />
|
|
3578
|
+
|
|
3579
|
+
<div class="pf-v6-c-toolbar__group">
|
|
3580
|
+
<div class="pf-v6-c-toolbar__item">Item</div>
|
|
3581
|
+
<div class="pf-v6-c-toolbar__item">Item</div>
|
|
3582
|
+
<div class="pf-v6-c-toolbar__item">Item</div>
|
|
3583
|
+
</div>
|
|
3584
|
+
|
|
3585
|
+
<hr class="pf-v6-c-divider pf-m-vertical" />
|
|
3586
|
+
<div class="pf-v6-c-toolbar__item">Item</div>
|
|
3587
|
+
<div class="pf-v6-c-toolbar__item">Item</div>
|
|
3588
|
+
<div class="pf-v6-c-toolbar__item">Item</div>
|
|
3589
|
+
</div>
|
|
3590
|
+
</div>
|
|
3591
|
+
</div>
|
|
3592
|
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer tempor mattis massa dignissim blandit. Mauris pellentesque nisi a erat ultricies, mollis auctor nulla volutpat. Donec eu nisl magna. Donec nisi nulla, blandit et mauris in, lobortis elementum neque. Nunc pharetra eleifend purus, in commodo nisl accumsan in. Vestibulum feugiat nisl eu venenatis feugiat. Morbi ornare velit vitae tellus sollicitudin, sed ornare neque sagittis. Proin sodales, libero et vestibulum luctus, nunc mi euismod dui, vel accumsan lacus odio vel nibh. Etiam at mattis purus, sit amet vestibulum metus. Maecenas feugiat condimentum ligula eget hendrerit. Nullam eleifend convallis sodales. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Nullam rhoncus consectetur enim, at interdum mi tincidunt eget. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.
|
|
3593
|
+
<br />
|
|
3594
|
+
<br />
|
|
3595
|
+
Maecenas vel sollicitudin ipsum, pulvinar pharetra magna. Aenean vel ipsum vel purus malesuada sagittis eget ac odio. Nullam vitae diam mollis, consectetur est vitae, sodales diam. Vivamus eu lectus quis mi maximus porta. Praesent erat sapien, vestibulum nec libero non, tincidunt congue mauris. Pellentesque vitae imperdiet mi. Nulla in ipsum neque. Cras a quam ut sem venenatis euismod non at tortor. Mauris porta purus augue, ut pharetra elit varius at. Vestibulum fringilla ligula ac leo tristique, porta venenatis nibh convallis.
|
|
3596
|
+
<br />
|
|
3597
|
+
<br />
|
|
3598
|
+
Vestibulum vel orci mattis magna tristique suscipit. In vel tellus tempor, consectetur mi at, pellentesque enim. Cras venenatis tellus eget velit porttitor, sit amet malesuada tortor venenatis. Maecenas vitae augue ac orci volutpat gravida. In fermentum, orci eget tincidunt lobortis, turpis orci porta nibh, cursus dignissim lectus sapien at felis. Nulla facilisi. Aenean lectus justo, pellentesque sed nulla ut, pulvinar pellentesque tortor. Ut tempus euismod dolor gravida rhoncus. Quisque sed lorem sit amet erat tincidunt aliquet quis in nulla. Maecenas arcu erat, hendrerit a dui eget, convallis pharetra sapien. Nunc tellus enim, dictum eu egestas vel, ultrices eget est. Etiam quis vehicula sem. Nulla facilisi. Donec ante ipsum, fringilla iaculis ex a, tincidunt lobortis mi.
|
|
3599
|
+
<br />
|
|
3600
|
+
<br />
|
|
3601
|
+
Etiam nulla lacus, porttitor vel volutpat et, malesuada id nunc. Suspendisse porttitor sem quis ante consequat, vitae commodo nulla ultricies. Nulla fermentum ipsum ac dolor elementum, eu luctus ex condimentum. Sed sed arcu aliquam, porta metus in, sollicitudin felis. Sed faucibus lacus consectetur orci ultricies laoreet. Morbi sed lectus dictum sem tempor porta. Donec ut diam tempor, venenatis erat vitae, accumsan diam. Etiam sed purus eget lacus vehicula iaculis non euismod dolor. Quisque ultricies eget est in semper.
|
|
3602
|
+
<br />
|
|
3603
|
+
<br />Fusce tristique nulla id vestibulum maximus. Morbi sit amet nisi nec orci pulvinar interdum. Duis convallis, nunc vel pharetra blandit, urna neque eleifend nunc, maximus faucibus tellus nisl a velit. Aliquam quis turpis tempor nisi ultricies fermentum at et ipsum. Pellentesque vel tincidunt nisl. Donec elit ante, sodales ac ultrices vitae, egestas ut magna. Nulla sollicitudin ornare mi, a porttitor sem fermentum vitae. Praesent maximus fringilla gravida. Sed ultricies turpis ut lacus sodales, et aliquet risus accumsan. Pellentesque lacus sapien, cursus vitae nulla vel, bibendum tristique risus.
|
|
3604
|
+
|
|
3605
|
+
```
|
|
3606
|
+
|
|
3563
3607
|
### Vertical
|
|
3564
3608
|
|
|
3565
3609
|
```html isBeta
|