66 --bg : url ('../../../../../../images/glass2-dark.png' );
77}
88
9+ : root {
10+ --pf-t--global--background--color--glass--sticky--default : var (--pf-t--global--background--color--100 );
11+ }
12+
13+ : root : where (.pf-v6-theme-dark ) {
14+ --pf-t--global--background--color--glass--sticky--default : var (--pf-t--global--dark--background--color--200 );
15+ }
16+
917: root : where (.pf-v6-theme-glass ) {
1018 /* --pf-t--global--background--color--glass--primary--default: blue; */
1119 --pf-t--global--background--color--glass--floating--default : var (--pf-t--global--background--color--floating--default );
20+ /* --pf-t--global--background--color--glass--sticky--default: var(--pf-t--global--background--color--200); */
1221 /* --pf-t--global--background--color--glass--primary: blue; */
1322 /* --pf-t--global--background--color--glass--floating: blue; */
1423 /* --pf-t--global--background--opacity--glass--primary: 70%; */
2029: root : where (.pf-v6-theme-glass .pf-v6-theme-dark ) {
2130 /* --pf-t--global--background--color--glass--primary--default: blue; */
2231 /* --pf-t--global--background--color--glass--floating--default: red; */
32+ /* --pf-t--global--background--color--glass--sticky--default: var(--pf-t--global--dark--background--color--200); */
2333 /* --pf-t--global--background--color--glass--primary: green; */
2434 /* --pf-t--global--background--color--glass--floating: green; */
2535 /* --pf-t--global--background--opacity--glass--primary: 30%; */
@@ -33,14 +43,14 @@ body {
3343 {
3444 background-color : var (--pf-t--global--background--color--glass--primary--default ) !important ;
3545 backdrop-filter : var (--pf-t--global--background--filter--glass--blur--primary ) !important ;
36- border : 1 px solid var (--pf-t--global--border--color--alt ) !important ;
46+ border : var ( --pf-t--global--border--width--box--default ) solid var (--pf-t--global--border--color--alt ) !important ;
3747 }
3848
3949 .pf-m-glass-floating
4050 {
4151 background-color : var (--pf-t--global--background--color--glass--floating--default ) !important ;
4252 backdrop-filter : var (--pf-t--global--background--filter--glass--blur--floating ) !important ;
43- border : 1 px solid var (--pf-t--global--border--color--alt ) !important ;
53+ border : var ( --pf-t--global--border--width--box--default ) solid var (--pf-t--global--border--color--alt ) !important ;
4454 }
4555
4656 .pf-m-plain
@@ -54,15 +64,16 @@ body {
5464 /* .pf-v6-c-nav__link.pf-m-current, */
5565 /* .pf-v6-c-nav, */
5666 /* .pf-v6-c-page__sidebar, */
57- /* .pf-v6-c-masthead, */
67+ .pf-v6-c-masthead ,
5868 .pf-v6-c-page__sidebar-body
5969 /* .pf-v6-c-page__main-section, */
6070 {
6171 background-color : var (--pf-t--global--background--color--glass--primary--default ) !important ;
6272 backdrop-filter : var (--pf-t--global--background--filter--glass--blur--primary ) !important ;
63- border : 1 px solid var (--pf-t--global--border--color--alt ) !important ;
64- border-radius : 24 px !important ;
73+ border : var ( --pf-t--global--border--width--box--default ) solid var (--pf-t--global--border--color--alt ) !important ;
74+ border-radius : var ( --pf-t--global--border--radius--medium ) !important ;
6575 overflow : hidden !important ;
76+ box-shadow : var (--pf-t--global--box-shadow--sm ) !important ;
6677 }
6778
6879 .pf-v6-c-nav__link .pf-m-current {
@@ -91,7 +102,7 @@ body {
91102
92103 /* plain components */
93104 .pf-v6-c-page ,
94- .pf-v6-c-masthead ,
105+ /* .pf-v6-c-masthead, */
95106 .pf-v6-c-page__sidebar ,
96107 .pf-v6-c-page__main-section ,
97108 .pf-v6-c-page__main-breadcrumb ,
@@ -100,6 +111,9 @@ body {
100111 .pf-v6-c-data-list__item ,
101112 .pf-v6-c-table ,
102113 .pf-v6-c-nav ,
114+ .pf-v6-c-accordion ,
115+ .pf-v6-c-accordion__item ::before ,
116+ .pf-v6-c-accordion__expandable-content ,
103117 .pf-v6-c-wizard__outer-wrap ,
104118 .pf-v6-c-wizard__footer ,
105119 .pf-v6-c-table__expandable-row-content ,
@@ -116,12 +130,97 @@ body {
116130 background : transparent !important ;
117131 }
118132
133+ .pf-v6-c-masthead {
134+ border-radius : 0 !important ;
135+ margin-bottom : var (--pf-t--global--spacer--gutter--default );
136+ }
137+
119138 .pf-v6-c-page__sidebar-body {
120- margin : 0 16 px 0 24 px ;
139+ margin : 0 var ( --pf-t--global--spacer--gutter--default ) 0 var ( --pf-t--global--spacer--inset--page-chrome ) ;
121140 }
122141
123142 /* .pf-v6-c-card:not(.pf-m-plain) {
124143 background-color: var(--pf-t--global--background--color--glass--primary--default) !important;
125144 backdrop-filter: var(--pf-t--global--background--filter--glass--blur--primary) !important;
126145 } */
146+ .pf-v6-c-accordion__toggle : is (: hover , : focus , .pf-m-expanded ) {
147+ --pf-v6-c-accordion__toggle--BackgroundColor : var (--pf-t--global--background--color--action--plain--clicked );
148+ --pf-v6-c-accordion__toggle--BorderWidth : var (--pf-v6-c-accordion__toggle--hover--BorderWidth );
149+ }
150+ }
151+
152+ /* page sections/gropus sticky */
153+ .pf-m-sticky-top {
154+ container-type : scroll-state;
155+ position : sticky;
156+ top : 0px ;
157+
158+ > * [class *= "pf-v6-c-page__main" ] {
159+ @container scroll-state (stuck: top) {
160+ background : var (--pf-t--global--background--color--glass--sticky--default ) !important ;
161+ }
162+ }
163+ > * [class *= "pf-v6-c-page__main" ]: last-child {
164+ @container scroll-state (stuck: top) {
165+ box-shadow : var (--pf-t--global--box-shadow--md--bottom ) !important ;
166+ }
167+ }
168+
127169}
170+
171+ .pf-v6-c-page__main-group .pf-m-sticky-top {
172+ box-shadow : none !important ;
173+ }
174+
175+ [class *= "pf-v6-c-page__main" ] {
176+ transition : background-color var (--pf-t--global--motion--duration--fade--short );
177+ }
178+
179+ .pf-v6-c-table__thead {
180+ position : sticky;
181+ top : var (--pf-t--global--spacer--sm );
182+ z-index : var (--pf-t--global--z-index--xs );
183+ background : transparent !important ;
184+ }
185+
186+ .pf-v6-c-table__thead ::before {
187+ transition : all var (--pf-t--global--motion--duration--fade--short );
188+ }
189+
190+ .pf-v6-c-table .pf-m-sticky-header > .pf-v6-c-table__thead ::before , .pf-v6-c-table .pf-v6-c-table__thead .pf-m-nested-column-header {
191+ position : sticky;
192+ inset-block-start : 0 ;
193+ z-index : var (--pf-v6-c-table--m-sticky-header--ZIndex );
194+ background : transparent;
195+ border-radius : var (--pf-t--global--border--radius--medium );
196+ /* overflow: hidden; */
197+ border : 0 !important ;
198+ }
199+
200+
201+ .pf-v6-c-table .pf-m-sticky-header > .pf-v6-c-table__thead ::before , .pf-v6-c-table .pf-v6-c-table__thead .pf-m-nested-column-header ::before {
202+ position : absolute;
203+ inset-block-start : 0 ;
204+ inset-block-end : 0 ;
205+ inset-inline-start : 0 ;
206+ inset-inline-end : 0 ;
207+ /* z-index: var(--pf-v6-c-table--m-sticky-header--border--ZIndex); */
208+ pointer-events : none;
209+ content : "" ;
210+ border-block-end : var (--pf-v6-c-table--border-width--base ) solid var (--pf-v6-c-table--BorderColor );
211+ z-index : -1 ;
212+ }
213+
214+ .pf-v6-c-table__thead {
215+ background : transparent !important ;
216+ container-type : scroll-state;
217+ position : sticky;
218+ top : var (--pf-t--global--spacer--sm ) !important ;
219+
220+ & ::before {
221+ @container scroll-state (stuck: top) {
222+ background : var (--pf-t--global--background--color--glass--sticky--default ) !important ;
223+ box-shadow : var (--pf-t--global--box-shadow--md );
224+ }
225+ }
226+ }
0 commit comments