mod-arch-kubeflow 1.1.4 → 1.2.0
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/dist/style/MUI-theme.scss +183 -41
- package/dist/style/pf-tokens-SSOT.json +4412 -0
- package/package.json +9 -4
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
|
|
19
19
|
// Button
|
|
20
20
|
--mui-button-FontWeight: 500;
|
|
21
|
-
--mui-button--BorderWidth:
|
|
22
|
-
--mui-button--hover--BorderWidth:
|
|
21
|
+
--mui-button--BorderWidth: var(--pf-t--global--border--width--regular);
|
|
22
|
+
--mui-button--hover--BorderWidth: var(--pf-t--global--border--width--regular);
|
|
23
23
|
--mui-button--PaddingBlockStart: 6px;
|
|
24
24
|
--mui-button--PaddingBlockEnd: 6px;
|
|
25
25
|
--mui-button--PaddingInlineStart: 16px;
|
|
@@ -29,6 +29,12 @@
|
|
|
29
29
|
|
|
30
30
|
// Drawer
|
|
31
31
|
--mui-drawer-BorderLeft: var(--mui-palette-grey-300);
|
|
32
|
+
--mui-drawer__panel--MaxWidth: 600px;
|
|
33
|
+
--mui-drawer__panel--MinWidth: 400px;
|
|
34
|
+
|
|
35
|
+
// Form focus states (thicker border for emphasis, adjusted padding to prevent layout shift)
|
|
36
|
+
--mui-form--focus--BorderWidth: 2px;
|
|
37
|
+
--mui-form--focus--Padding: 7px;
|
|
32
38
|
|
|
33
39
|
// Helper text
|
|
34
40
|
--mui-helper-text__item--FontWeight: 400;
|
|
@@ -59,6 +65,12 @@
|
|
|
59
65
|
--mui-menu-toggle--PaddingInlineStart: 10px;
|
|
60
66
|
--mui-menu-toggle--PaddingInlineEnd: 10px;
|
|
61
67
|
|
|
68
|
+
// Nav
|
|
69
|
+
--mui-nav--current--BackgroundColor: #ffffff1b;
|
|
70
|
+
|
|
71
|
+
// Toggle group
|
|
72
|
+
--mui-toggle-group--selected--BackgroundColor: #e0f0ff;
|
|
73
|
+
|
|
62
74
|
// Radio
|
|
63
75
|
--mui-radio--margin: 10px 0;
|
|
64
76
|
--mui-radio-PaddingLeft: 30px;
|
|
@@ -73,6 +85,10 @@
|
|
|
73
85
|
--kf-central-app-drawer-width: 240px;
|
|
74
86
|
--kf-central-app-bar-height: 64px;
|
|
75
87
|
|
|
88
|
+
|
|
89
|
+
// Pagination
|
|
90
|
+
--mui-pagination--zIndex: 100;
|
|
91
|
+
|
|
76
92
|
// Table
|
|
77
93
|
--mui-table__button--BackgroundColor: transparent;
|
|
78
94
|
--mui-table__button--hover--BackgroundColor: transparent;
|
|
@@ -113,7 +129,7 @@
|
|
|
113
129
|
--mui-spacing-32px: calc(4 * var(--mui-spacing));
|
|
114
130
|
|
|
115
131
|
--pf-t--global--spacer--gap--group-to-group--vertical--default: var(--pf-t--global--spacer--sm);
|
|
116
|
-
--pf-t--global--border--width--box--status--default:
|
|
132
|
+
--pf-t--global--border--width--box--status--default: var(--pf-t--global--border--width--regular);
|
|
117
133
|
--pf-t--global--border--radius--pill: var(--mui-shape-borderRadius);
|
|
118
134
|
--pf-t--global--text--color--brand--default: var(--mui-palette-primary-main);
|
|
119
135
|
|
|
@@ -197,13 +213,15 @@
|
|
|
197
213
|
|
|
198
214
|
|
|
199
215
|
.mui-theme .pf-v6-c-card {
|
|
200
|
-
--pf-v6-c-card--BorderWidth:
|
|
216
|
+
--pf-v6-c-card--BorderWidth: var(--pf-t--global--border--width--regular);
|
|
201
217
|
--pf-v6-c-card--BorderRadius: var(--mui-shape-borderRadius);
|
|
202
218
|
--pf-v6-c-card--BorderColor: var(--mui-palette-divider);
|
|
219
|
+
border: var(--pf-v6-c-card--BorderWidth) solid var(--pf-v6-c-card--BorderColor);
|
|
203
220
|
}
|
|
204
221
|
|
|
205
222
|
.mui-theme .pf-v6-c-card.pf-m-compact.pf-m-selectable {
|
|
206
|
-
|
|
223
|
+
--pf-v6-c-card--BorderWidth: var(--pf-t--global--border--width--regular);
|
|
224
|
+
--pf-v6-c-card--BorderColor: var(--mui-palette-divider);
|
|
207
225
|
}
|
|
208
226
|
|
|
209
227
|
.mui-theme .pf-v6-c-card__selectable-actions
|
|
@@ -234,7 +252,7 @@
|
|
|
234
252
|
align-content: center;
|
|
235
253
|
}
|
|
236
254
|
|
|
237
|
-
.mui-theme .pf-v6-c-drawer {
|
|
255
|
+
.mui-theme .pf-v6-c-drawer {
|
|
238
256
|
--pf-v6-c-drawer--m-inline--m-expanded__panel--after--BackgroundColor: var(
|
|
239
257
|
--mui-drawer-BorderLeft
|
|
240
258
|
);
|
|
@@ -250,6 +268,24 @@
|
|
|
250
268
|
margin-right: var(--mui-spacing-16px);
|
|
251
269
|
}
|
|
252
270
|
|
|
271
|
+
// Ensure drawer panel has proper max-width to prevent it from being too wide
|
|
272
|
+
.mui-theme .pf-v6-c-drawer__panel {
|
|
273
|
+
max-width: var(--mui-drawer__panel--MaxWidth);
|
|
274
|
+
min-width: var(--mui-drawer__panel--MinWidth);
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
// On smaller screens, make drawer take full width or switch to overlay
|
|
278
|
+
@media (max-width: 1200px) {
|
|
279
|
+
.mui-theme .pf-v6-c-drawer.pf-m-inline {
|
|
280
|
+
// Switch to panel-left positioning on smaller screens for better UX
|
|
281
|
+
--pf-v6-c-drawer--m-inline--m-expanded__panel--FlexBasis: 100%;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.mui-theme .pf-v6-c-drawer__panel {
|
|
285
|
+
max-width: 100%;
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
|
|
253
289
|
.mui-theme .pf-v6-c-form {
|
|
254
290
|
--pf-v6-c-form--GridGap: 0;
|
|
255
291
|
}
|
|
@@ -329,10 +365,18 @@
|
|
|
329
365
|
}
|
|
330
366
|
}
|
|
331
367
|
|
|
332
|
-
//
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
368
|
+
// Use PatternFly's border system via CSS custom properties instead of pseudo-elements
|
|
369
|
+
// This provides proper borders without relying on ::before/::after which can conflict
|
|
370
|
+
// Exclude spans from getting borders (they're used for labels/legends)
|
|
371
|
+
.mui-theme .pf-v6-c-form-control:not(span) {
|
|
372
|
+
border: var(--pf-v6-c-form-control--BorderWidth, 1px) solid var(--pf-v6-c-form-control--BorderColor, var(--pf-t--global--border--color--default));
|
|
373
|
+
border-radius: var(--pf-v6-c-form-control--BorderRadius, var(--mui-shape-borderRadius));
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
// Remove pseudo-element borders everywhere since we're using real borders now
|
|
377
|
+
.mui-theme .pf-v6-c-form-control::after,
|
|
378
|
+
.mui-theme .pf-v6-c-form-control::before {
|
|
379
|
+
display: none;
|
|
336
380
|
}
|
|
337
381
|
|
|
338
382
|
.mui-theme .pf-v6-c-form-control input::placeholder {
|
|
@@ -372,7 +416,7 @@
|
|
|
372
416
|
}
|
|
373
417
|
|
|
374
418
|
.mui-theme .tr-fieldset-wrapper .form-fieldset {
|
|
375
|
-
inset: 0px;
|
|
419
|
+
inset: 0px; // Layout property - no PF variable exists
|
|
376
420
|
}
|
|
377
421
|
|
|
378
422
|
.mui-theme .pf-v6-c-text-input-group::before {
|
|
@@ -463,8 +507,8 @@
|
|
|
463
507
|
|
|
464
508
|
.form-fieldset-wrapper:focus-within .form-fieldset {
|
|
465
509
|
border-color: var(--mui-palette-primary-main);
|
|
466
|
-
border-width:
|
|
467
|
-
padding:
|
|
510
|
+
border-width: var(--mui-form--focus--BorderWidth);
|
|
511
|
+
padding: var(--mui-form--focus--Padding) var(--mui-form--focus--Padding);
|
|
468
512
|
}
|
|
469
513
|
|
|
470
514
|
.form-fieldset-legend {
|
|
@@ -497,8 +541,8 @@
|
|
|
497
541
|
.toolbar-fieldset-wrapper:focus-within .form-fieldset,
|
|
498
542
|
.tr-fieldset-wrapper:focus-within .form-fieldset {
|
|
499
543
|
border-color: var(--mui-palette-primary-main);
|
|
500
|
-
border-width:
|
|
501
|
-
padding:
|
|
544
|
+
border-width: var(--mui-form--focus--BorderWidth);
|
|
545
|
+
padding: var(--mui-form--focus--Padding) var(--mui-form--focus--Padding);
|
|
502
546
|
}
|
|
503
547
|
|
|
504
548
|
.toolbar-fieldset-wrapper .form-fieldset,
|
|
@@ -511,7 +555,7 @@
|
|
|
511
555
|
pointer-events: none;
|
|
512
556
|
border-radius: inherit;
|
|
513
557
|
border-style: solid;
|
|
514
|
-
border-width:
|
|
558
|
+
border-width: var(--pf-t--global--border--width--regular);
|
|
515
559
|
overflow: hidden;
|
|
516
560
|
min-width: 0%;
|
|
517
561
|
border-color: rgba(0, 0, 0, 0.23);
|
|
@@ -545,8 +589,39 @@
|
|
|
545
589
|
.tr-fieldset-wrapper .pf-v6-c-form-control,
|
|
546
590
|
.toolbar-fieldset-wrapper .pf-v6-c-form-control,
|
|
547
591
|
.form-fieldset-wrapper .pf-v6-c-form-control {
|
|
548
|
-
|
|
549
|
-
|
|
592
|
+
// Hide real borders since fieldset wrappers provide their own border styling
|
|
593
|
+
border: none;
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
// Ensure legend spans don't get form control styling
|
|
597
|
+
.form-fieldset-legend span {
|
|
598
|
+
border: none;
|
|
599
|
+
padding: 0;
|
|
600
|
+
background: transparent;
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
// Ensure form-fieldset-wrapper styling works within expandable sections
|
|
604
|
+
.mui-theme .pf-v6-c-expandable-section .form-fieldset-wrapper:hover .form-fieldset {
|
|
605
|
+
border-color: var(--mui-palette-common-black);
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
.mui-theme .pf-v6-c-expandable-section .form-fieldset-wrapper:focus-within .form-fieldset {
|
|
609
|
+
border-color: var(--mui-palette-primary-main);
|
|
610
|
+
border-width: var(--mui-form--focus--BorderWidth);
|
|
611
|
+
padding: var(--mui-form--focus--Padding) var(--mui-form--focus--Padding);
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
.mui-theme .pf-v6-c-expandable-section .form-fieldset-wrapper:focus-within {
|
|
615
|
+
color: var(--mui-palette-primary-main);
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
.mui-theme .pf-v6-c-expandable-section .form-fieldset-wrapper span.pf-v6-c-form-control.pf-m-error ~ .form-fieldset {
|
|
619
|
+
border-color: var(--mui-palette-error-main);
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
.mui-theme .pf-v6-c-expandable-section .form-fieldset-wrapper:focus-within span.pf-v6-c-form-control.pf-m-disabled ~ .form-fieldset,
|
|
623
|
+
.mui-theme .pf-v6-c-expandable-section .form-fieldset-wrapper:hover span.pf-v6-c-form-control.pf-m-disabled ~ .form-fieldset {
|
|
624
|
+
border-color: rgba(0, 0, 0, 0.23);
|
|
550
625
|
}
|
|
551
626
|
|
|
552
627
|
.mui-theme .pf-v6-c-form__field-group-body {
|
|
@@ -558,13 +633,17 @@
|
|
|
558
633
|
color: var(--mui-palette-primary-main);
|
|
559
634
|
}
|
|
560
635
|
|
|
561
|
-
.mui-theme .pf-v6-c-form__group:focus-within .pf-v6-c-form-control {
|
|
562
|
-
--
|
|
563
|
-
|
|
636
|
+
.mui-theme .pf-v6-c-form__group:focus-within .pf-v6-c-form-control:not(span) {
|
|
637
|
+
border-width: var(--mui-form--focus--BorderWidth);
|
|
638
|
+
border-color: var(--mui-palette-primary-main);
|
|
564
639
|
}
|
|
565
640
|
|
|
566
|
-
.mui-theme .pf-v6-c-form-control.pf-m-error {
|
|
567
|
-
|
|
641
|
+
.mui-theme .pf-v6-c-form-control.pf-m-error:not(span) {
|
|
642
|
+
border-color: var(--mui-palette-error-main);
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
.mui-theme .pf-v6-c-form-control:hover:not(span) {
|
|
646
|
+
border-color: var(--pf-t--global--border--color--hover, var(--mui-palette-grey-400));
|
|
568
647
|
}
|
|
569
648
|
|
|
570
649
|
.mui-theme .pf-v6-c-form-control__utilities {
|
|
@@ -653,17 +732,19 @@
|
|
|
653
732
|
.mui-theme .pf-v6-c-menu-toggle:not(.pf-m-split-button) {
|
|
654
733
|
position: relative;
|
|
655
734
|
box-sizing: border-box;
|
|
656
|
-
|
|
735
|
+
--pf-v6-c-menu-toggle--BorderWidth: var(--pf-t--global--border--width--regular);
|
|
736
|
+
--pf-v6-c-menu-toggle--BorderStyle: solid;
|
|
737
|
+
--pf-v6-c-menu-toggle--BorderColor: rgba(0, 0, 0, 0.23);
|
|
657
738
|
--pf-v6-c-menu-toggle--BackgroundColor: var(--mui-palette-common-white);
|
|
658
739
|
|
|
659
740
|
&:hover {
|
|
660
|
-
|
|
661
|
-
border-color: var(--mui-palette-common-black);
|
|
741
|
+
--pf-v6-c-menu-toggle--hover--BorderColor: var(--mui-palette-common-black);
|
|
662
742
|
}
|
|
663
743
|
|
|
664
744
|
&:focus-within {
|
|
665
745
|
// Keep border width consistent to prevent layout shift
|
|
666
|
-
|
|
746
|
+
--pf-v6-c-menu-toggle--BorderWidth: var(--pf-t--global--border--width--regular);
|
|
747
|
+
--pf-v6-c-menu-toggle--BorderColor: var(--mui-palette-primary-main);
|
|
667
748
|
// Use box-shadow to create a thicker border while preventing layout shift
|
|
668
749
|
box-shadow: 0 0 0 1px var(--mui-palette-primary-main);
|
|
669
750
|
}
|
|
@@ -724,6 +805,31 @@
|
|
|
724
805
|
vertical-align: revert;
|
|
725
806
|
}
|
|
726
807
|
|
|
808
|
+
// Specific styling for workspace details actions menu - minimal overrides only
|
|
809
|
+
.mui-theme .workspace-details-action-toggle.pf-m-primary {
|
|
810
|
+
// Override the white background that gets applied to all menu toggles
|
|
811
|
+
--pf-v6-c-menu-toggle--BackgroundColor: var(--pf-t--global--color--brand--default);
|
|
812
|
+
// Use the proper PatternFly menu toggle variable for primary background color
|
|
813
|
+
--pf-v6-c-menu-toggle--m-primary--BackgroundColor: var(--pf-t--global--color--brand--default);
|
|
814
|
+
}
|
|
815
|
+
|
|
816
|
+
// Prevent text wrapping in Connect split button
|
|
817
|
+
.mui-theme .connect-button-no-wrap {
|
|
818
|
+
white-space: nowrap;
|
|
819
|
+
overflow: hidden;
|
|
820
|
+
text-overflow: ellipsis;
|
|
821
|
+
min-width: fit-content;
|
|
822
|
+
}
|
|
823
|
+
|
|
824
|
+
// Ensure the split button menu toggle maintains proper width
|
|
825
|
+
.mui-theme .pf-v6-c-menu-toggle.pf-m-split-button {
|
|
826
|
+
min-width: fit-content;
|
|
827
|
+
|
|
828
|
+
.pf-v6-c-menu-toggle__button {
|
|
829
|
+
white-space: nowrap;
|
|
830
|
+
}
|
|
831
|
+
}
|
|
832
|
+
|
|
727
833
|
.mui-theme .pf-v6-c-menu-toggle__toggle-icon {
|
|
728
834
|
font-size: 20px;
|
|
729
835
|
}
|
|
@@ -743,7 +849,7 @@
|
|
|
743
849
|
|
|
744
850
|
.mui-theme .pf-v6-c-nav__link.pf-m-current {
|
|
745
851
|
border-left: 3px solid var(--mui-palette-common-white);
|
|
746
|
-
background-color:
|
|
852
|
+
background-color: var(--mui-nav--current--BackgroundColor);
|
|
747
853
|
color: var(--mui-palette-common-white);
|
|
748
854
|
}
|
|
749
855
|
|
|
@@ -812,14 +918,14 @@
|
|
|
812
918
|
|
|
813
919
|
.mui-theme .pf-v6-c-nav__link {
|
|
814
920
|
--pf-v6-c-nav__link--BorderRadius: 0px;
|
|
815
|
-
--pf-v6-c-nav__link--hover--BackgroundColor:
|
|
921
|
+
--pf-v6-c-nav__link--hover--BackgroundColor: var(--mui-nav--current--BackgroundColor);
|
|
816
922
|
--pf-v6-c-nav__link--Color: var(--kf-central-sidebar-default-color);
|
|
817
923
|
--pf-v6-c-nav__link--hover--Color: var(--kf-central-sidebar-default-color);
|
|
818
924
|
--pf-v6-c-nav__link--FontSize: var(--pf-t--global--font--size--md);
|
|
819
925
|
|
|
820
926
|
&.pf-m-current {
|
|
821
927
|
border-left: 3px solid var(--mui-palette-common-white);
|
|
822
|
-
--pf-v6-c-nav__link--m-current--BackgroundColor:
|
|
928
|
+
--pf-v6-c-nav__link--m-current--BackgroundColor: var(--mui-nav--current--BackgroundColor);
|
|
823
929
|
--pf-v6-c-nav__link--m-current--Color: var(--mui-palette-common-white);
|
|
824
930
|
}
|
|
825
931
|
|
|
@@ -1026,7 +1132,9 @@ left: 0;
|
|
|
1026
1132
|
}
|
|
1027
1133
|
|
|
1028
1134
|
.mui-theme .pf-v6-c-label.pf-m-overflow {
|
|
1029
|
-
|
|
1135
|
+
--pf-v6-c-label--BorderWidth: var(--pf-t--global--border--width--regular);
|
|
1136
|
+
--pf-v6-c-label--BorderStyle: solid;
|
|
1137
|
+
--pf-v6-c-label--BorderColor: var(--mui-palette-grey-400);
|
|
1030
1138
|
|
|
1031
1139
|
.pf-v6-c-label__text {
|
|
1032
1140
|
color: var(--mui-palette-common-black);
|
|
@@ -1075,6 +1183,9 @@ left: 0;
|
|
|
1075
1183
|
min-height: 100vh;
|
|
1076
1184
|
overflow-x: hidden;
|
|
1077
1185
|
--pf-v6-c-page__sidebar--Width: var(--kf-central-app-drawer-width);
|
|
1186
|
+
|
|
1187
|
+
// Prevent double scrollbars by disabling overflow on the outer page container
|
|
1188
|
+
overflow-y: hidden;
|
|
1078
1189
|
}
|
|
1079
1190
|
|
|
1080
1191
|
// Error page container
|
|
@@ -1084,7 +1195,7 @@ left: 0;
|
|
|
1084
1195
|
|
|
1085
1196
|
.mui-theme .pf-v6-c-page__main {
|
|
1086
1197
|
--pf-v6-c-page__main--PaddingRight: 0;
|
|
1087
|
-
overflow:
|
|
1198
|
+
overflow-y: auto; // Allow main content to scroll instead of outer container
|
|
1088
1199
|
margin-right: 2px;
|
|
1089
1200
|
height: calc(100vh - var(--kf-central-app-bar-height));
|
|
1090
1201
|
min-height: calc(100vh - var(--kf-central-app-bar-height));
|
|
@@ -1131,12 +1242,18 @@ left: 0;
|
|
|
1131
1242
|
|
|
1132
1243
|
.mui-theme .pf-v6-c-pagination {
|
|
1133
1244
|
--pf-v6-c-pagination__total-items--Display: block;
|
|
1245
|
+
position: relative;
|
|
1246
|
+
z-index: var(--mui-pagination--zIndex);
|
|
1134
1247
|
}
|
|
1135
1248
|
|
|
1136
1249
|
.mui-theme .pf-v6-c-pagination .pf-v6-c-pagination__page-menu {
|
|
1137
1250
|
display: flex;
|
|
1138
1251
|
}
|
|
1139
1252
|
|
|
1253
|
+
.mui-theme .workspace-connect-wrapper .pf-v6-c-menu-toggle.pf-m-secondary.pf-m-split-button {
|
|
1254
|
+
z-index: 0;
|
|
1255
|
+
}
|
|
1256
|
+
|
|
1140
1257
|
.mui-theme .pf-v6-c-pagination__total-items b {
|
|
1141
1258
|
font-weight: normal;
|
|
1142
1259
|
}
|
|
@@ -1228,20 +1345,22 @@ left: 0;
|
|
|
1228
1345
|
|
|
1229
1346
|
.mui-theme .pf-v6-c-form__group-control .pf-v6-c-menu-toggle.pf-m-full-width.pf-m-typeahead {
|
|
1230
1347
|
position: relative;
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1348
|
+
--pf-v6-c-menu-toggle--BorderWidth: var(--pf-t--global--border--width--regular);
|
|
1349
|
+
--pf-v6-c-menu-toggle--BorderStyle: solid;
|
|
1350
|
+
--pf-v6-c-menu-toggle--BorderColor: rgba(0, 0, 0, 0.23);
|
|
1351
|
+
--pf-v6-c-menu-toggle--BorderRadius: var(--mui-shape-borderRadius);
|
|
1352
|
+
--pf-v6-c-menu-toggle--BackgroundColor: var(--mui-palette-common-white);
|
|
1234
1353
|
height: 54px;
|
|
1235
1354
|
|
|
1236
1355
|
&:hover {
|
|
1237
|
-
|
|
1238
|
-
|
|
1356
|
+
--pf-v6-c-menu-toggle--hover--BorderColor: var(--mui-palette-common-black);
|
|
1357
|
+
--pf-v6-c-menu-toggle--hover--BackgroundColor: var(--mui-palette-common-white);
|
|
1239
1358
|
}
|
|
1240
1359
|
|
|
1241
1360
|
&:focus-within {
|
|
1242
|
-
|
|
1243
|
-
border-width:
|
|
1244
|
-
|
|
1361
|
+
--pf-v6-c-menu-toggle--BorderColor: var(--mui-palette-primary-main);
|
|
1362
|
+
border-width: var(--mui-form--focus--BorderWidth); // Thicker border for focus state (intentional for emphasis)
|
|
1363
|
+
--pf-v6-c-menu-toggle--BackgroundColor: var(--mui-palette-common-white);
|
|
1245
1364
|
}
|
|
1246
1365
|
}
|
|
1247
1366
|
|
|
@@ -1328,7 +1447,7 @@ left: 0;
|
|
|
1328
1447
|
|
|
1329
1448
|
/* Workaround for Toggle group header in Workspace Kind Form */
|
|
1330
1449
|
.mui-theme .workspace-kind-form-header .pf-v6-c-toggle-group__button.pf-m-selected {
|
|
1331
|
-
background-color:
|
|
1450
|
+
background-color: var(--mui-toggle-group--selected--BackgroundColor);
|
|
1332
1451
|
color: var(--pf-t--color--black);
|
|
1333
1452
|
}
|
|
1334
1453
|
|
|
@@ -1340,4 +1459,27 @@ left: 0;
|
|
|
1340
1459
|
box-shadow: 0 0 0 2px var(--mui-palette-primary-main);
|
|
1341
1460
|
outline: none; // Remove default browser outline
|
|
1342
1461
|
}
|
|
1462
|
+
}
|
|
1463
|
+
|
|
1464
|
+
// Grid view: Position action cell (Actions kebab) on the right
|
|
1465
|
+
// The Connect button is a regular cell and will appear with other row content on the left
|
|
1466
|
+
.mui-theme .pf-v6-c-table.pf-m-grid .pf-v6-c-table__tbody .pf-v6-c-table__tr {
|
|
1467
|
+
.pf-v6-c-table__td.pf-m-action {
|
|
1468
|
+
// Actions kebab menu stays on the right side in grid view
|
|
1469
|
+
// PatternFly automatically positions action cells appropriately
|
|
1470
|
+
justify-self: end;
|
|
1471
|
+
}
|
|
1472
|
+
|
|
1473
|
+
// Connect button cell styling in grid view
|
|
1474
|
+
.pf-v6-c-table__td:has(.workspace-connect-wrapper) {
|
|
1475
|
+
// Remove the label for Connect cell since it's empty anyway
|
|
1476
|
+
&::before {
|
|
1477
|
+
content: none;
|
|
1478
|
+
}
|
|
1479
|
+
}
|
|
1480
|
+
|
|
1481
|
+
// Add top padding to Connect button only in grid view
|
|
1482
|
+
.workspace-connect-wrapper {
|
|
1483
|
+
padding-top: var(--pf-t--global--spacer--lg);
|
|
1484
|
+
}
|
|
1343
1485
|
}
|