@@ -43,27 +43,19 @@ html {
43
43
// FIXME: More styles from ct-system-overview
44
44
.current-metrics {
45
45
--card-width : 200px ;
46
- --pf-v5 -l-gallery--GridTemplateColumns : repeat (auto-fit , minmax (var (--card-width ), 1fr ));
46
+ --pf-v6 -l-gallery--GridTemplateColumns : repeat (auto-fit , minmax (var (--card-width ), 1fr ));
47
47
48
48
// the cards already have padding, align the "top 5" tables with the other content
49
49
.pf-v6-c-table {
50
- --pf-v5-c-table--m-compact--cell--first-last-child--PaddingLeft : 0 ;
51
- --pf-v5-c-table--m-compact--cell--first-last-child--PaddingRight : 0 ;
50
+ --pf-v6-c-table--cell--first-last-child--PaddingInline : 0 ;
52
51
53
52
tr > * {
54
- --pf-v5 -c-table--cell--PaddingTop : var (--pf-v5 -global--spacer--xs );
55
- --pf-v5 -c-table--cell--PaddingBottom : var (--pf-v5 -global--spacer--xs );
53
+ --pf-v6 -c-table--cell--PaddingBlockStart : var (--pf-t- -global--spacer--xs );
54
+ --pf-v6 -c-table--cell--PaddingBlockEnd : var (--pf-t- -global--spacer--xs );
56
55
}
57
56
}
58
57
59
58
.pf-v6-c-card {
60
- // Make sure the cards do not get taller than 50% of the screen
61
- // ...and when they do, they should scroll
62
- @media screen and (orientation : landscape ) {
63
- max-block-size : 50vh ;
64
- overflow : auto ;
65
- }
66
-
67
59
& __title-text {
68
60
font-size : var (--pf-v5-global--FontSize--xl );
69
61
font-weight : var (--pf-v5-global--FontWeight--normal );
@@ -74,6 +66,13 @@ html {
74
66
display : flex ;
75
67
flex-direction : column ;
76
68
69
+ // Make sure the cards do not get taller than 50% of the screen
70
+ // ...and when they do, they should scroll
71
+ @media screen and (orientation : landscape ) {
72
+ max-block-size : 50vh ;
73
+ overflow : auto ;
74
+ }
75
+
77
76
// Strip the padding from the first item,
78
77
// including table headings
79
78
> :first-child ,
@@ -109,21 +108,21 @@ html {
109
108
110
109
.progress-stack {
111
110
display : grid ;
112
- padding-block-end : var (--pf-v5 -global--spacer--sm );
113
- grid-gap : var (--pf-v5- global--spacer--sm ) var (--pf-v5 -global--spacer--md );
111
+ padding-block-end : var (--pf-t- -global--spacer--sm );
112
+ grid-gap : var (--pf-t-- global--spacer--sm ) var (--pf-t- -global--spacer--md );
114
113
115
114
& :not (:first-child ) {
116
- padding-block-start : var (--pf-v5 -global--spacer--sm );
115
+ padding-block-start : var (--pf-t- -global--spacer--sm );
117
116
}
118
117
}
119
118
120
119
.progress-stack-no-space {
121
120
display : grid ;
122
- padding-block-end : var (--pf-v5 -global--spacer--sm );
121
+ padding-block-end : var (--pf-t- -global--spacer--sm );
123
122
grid-gap : 0 ;
124
123
125
124
& :not (:first-child ) {
126
- padding-block-start : var (--pf-v5 -global--spacer--sm );
125
+ padding-block-start : var (--pf-t- -global--spacer--sm );
127
126
}
128
127
129
128
// avoid the "x" icon on high CPU usage
@@ -166,7 +165,7 @@ html {
166
165
// Shrink progress bars and their gap a little
167
166
.pf-v6-c-progress {
168
167
grid-gap : 0 ;
169
- --pf-v5 -c-progress__bar--Height : var (--pf-v5 -global--spacer--xs );
168
+ --pf-v6 -c-progress__bar--Height : var (--pf-t- -global--spacer--xs );
170
169
// PF4 uses end; it probably should arguably use last baseline.
171
170
// (perhaps end may work better for non-text content?)
172
171
align-items : last baseline ;
@@ -182,13 +181,17 @@ html {
182
181
text-decoration : none ;
183
182
184
183
.pf-v6-c-progress__description {
185
- text-decoration : var (--pf-v5 -c-button--m-link--m-inline--hover--TextDecoration );
184
+ text-decoration : var (--pf-v6 -c-button--m-link--m-inline--hover--TextDecoration );
186
185
}
187
186
}
188
187
188
+ .pf-v6-c-button .pf-v6-c-button__text {
189
+ flex : auto ;
190
+ }
191
+
189
192
// Match font weight with description list terms
190
193
.pf-v6-c-progress__description {
191
- font-weight : var (--pf-v5- global--FontWeight--bold );
194
+ font-weight : var (--pf-t-- global--font--weight--300 );
192
195
}
193
196
194
197
// Recolor text
@@ -202,8 +205,8 @@ html {
202
205
203
206
// default is way too wide for the cards
204
207
.pf-v6-c-description-list {
205
- --pf-v5 -c-description-list--m-horizontal__term--width : minmax (0 , auto );
206
- --pf-v5 -c-description-list--m-horizontal__description--width : minmax (0 , auto );
208
+ --pf-v6 -c-description-list--m-horizontal__term--width : minmax (0 , auto );
209
+ --pf-v6 -c-description-list--m-horizontal__description--width : minmax (0 , auto );
207
210
}
208
211
209
212
// Don't wrap network in / out data
@@ -213,7 +216,7 @@ html {
213
216
.network-nowrap-shrink {
214
217
td {
215
218
white-space : nowrap ;
216
- font-size : var (--pf-v5- global--FontSize --xs );
219
+ font-size : var (--pf-t-- global--size--font --xs );
217
220
}
218
221
}
219
222
@@ -289,7 +292,7 @@ html {
289
292
290
293
// Trim down the gutter space between cards
291
294
.current-metrics.pf-v6-l-gallery.pf-m-gutter {
292
- grid-gap : var (--pf-v5 -global--spacer--sm );
295
+ grid-gap : var (--pf-t- -global--spacer--sm );
293
296
}
294
297
295
298
// Shave off a few pixels from cards
@@ -474,7 +477,7 @@ $graphs: cpu, memory, disks, network;
474
477
475
478
// Just embolden the top level time events
476
479
button + time {
477
- font-weight : var (--pf-v5- global--FontWeight--bold );
480
+ font-weight : var (--pf-t-- global--font--weight--300 );
478
481
}
479
482
480
483
// Make messages such as `Loading...` or `No logs found` centered
0 commit comments