|
59 | 59 | --mui-radio__input--Width: 10px;
|
60 | 60 | --mui-radio__input--Height: 10px;
|
61 | 61 |
|
62 |
| - // Sidebar from https://github.com/kubeflow/kubeflow/blob/4275d99754ac91f6cf5654b03824a73825e9fe55/components/centraldashboard/public/components/main-page.css#L7C1-L13C51 |
| 62 | + // Sidebar from https://github.com/kubeflow/kubeflow/blob/4275d99754ac91f6cf5654b03824a73825e9fe55/components/centraldashboard/public/components/main-page.css#L7C1-L13C51 |
63 | 63 | --kf-central-primary-background-color: #0a3b71;
|
64 | 64 | --kf-central-sidebar-default-color: #ffffff90;
|
65 | 65 | --kf-central-app-drawer-width: 240px;
|
|
103 | 103 | --mui-spacing-8px: var(--mui-spacing);
|
104 | 104 | --mui-spacing-16px: calc(2 * var(--mui-spacing));
|
105 | 105 |
|
106 |
| - --pf-t--global--spacer--gap--group-to-group--vertical--default: var(--pf-t--global--spacer--sm); |
| 106 | + --pf-t--global--spacer--gap--group-to-group--vertical--default: var(--pf-t--global--spacer--sm); |
107 | 107 | --pf-t--global--border--width--box--status--default: 1px;
|
108 | 108 | --pf-t--global--border--radius--pill: var(--mui-shape-borderRadius);
|
109 | 109 | --pf-t--global--text--color--brand--default: var(--mui-palette-primary-main);
|
|
122 | 122 | }
|
123 | 123 |
|
124 | 124 | .mui-theme .pf-v6-c-alert {
|
125 |
| - --pf-v6-c-alert--m-warning__title--Color: var(--pf-t--global--text--color--status--warning--default); |
| 125 | + --pf-v6-c-alert--m-warning__title--Color: var( |
| 126 | + --pf-t--global--text--color--status--warning--default |
| 127 | + ); |
126 | 128 | --pf-v6-c-alert__icon--MarginInlineEnd: var(--mui-alert__icon--MarginInlineEnd);
|
127 | 129 | --pf-v6-c-alert__icon--MarginBlockStart: var(--mui-alert__icon--MarginBlockStart);
|
128 | 130 | --pf-v6-c-alert__icon--FontSize: var(--mui-alert__icon--FontSize);
|
|
164 | 166 | &:hover {
|
165 | 167 | text-decoration-color: initial;
|
166 | 168 | }
|
| 169 | + |
| 170 | + &.workspace-kind-summary-button { |
| 171 | + text-transform: none; |
| 172 | + } |
167 | 173 | }
|
168 | 174 |
|
169 | 175 | .mui-theme .pf-v6-c-button.pf-m-link.pf-m-inline .pf-v6-c-button__icon {
|
|
182 | 188 | --pf-v6-c-card--BorderColor: var(--mui-palette-divider);
|
183 | 189 | }
|
184 | 190 |
|
185 |
| -.pf-v6-c-card__selectable-actions :is(.pf-v6-c-check__label, .pf-v6-c-radio__label, .pf-v6-c-card__clickable-action):hover { |
| 191 | +.pf-v6-c-card__selectable-actions |
| 192 | + :is(.pf-v6-c-check__label, .pf-v6-c-radio__label, .pf-v6-c-card__clickable-action):hover { |
186 | 193 | --pf-v6-c-card--BorderColor: var(--mui-palette-grey-300);
|
187 | 194 | }
|
188 | 195 |
|
|
210 | 217 | }
|
211 | 218 |
|
212 | 219 | .mui-theme .pf-v6-c-drawer {
|
213 |
| - --pf-v6-c-drawer--m-inline--m-expanded__panel--after--BackgroundColor: var(--mui-drawer-BorderLeft); |
| 220 | + --pf-v6-c-drawer--m-inline--m-expanded__panel--after--BackgroundColor: var( |
| 221 | + --mui-drawer-BorderLeft |
| 222 | + ); |
214 | 223 | }
|
215 | 224 |
|
216 | 225 | .mui-theme .pf-v6-c-form__group {
|
|
266 | 275 | font-size: 16px;
|
267 | 276 | left: 0;
|
268 | 277 | }
|
269 |
| - |
| 278 | + |
270 | 279 | .pf-v6-c-form-control {
|
271 | 280 | // Override default form control padding to match button padding in this context
|
272 | 281 | --pf-v6-c-form-control--PaddingBlockStart: var(--mui-spacing-8px);
|
273 | 282 | --pf-v6-c-form-control--PaddingBlockEnd: var(--mui-spacing-8px);
|
274 |
| - |
| 283 | + |
275 | 284 | &.workspace-kind-unit-select {
|
276 | 285 | --pf-v6-c-form-control--PaddingInlineEnd: calc(
|
277 | 286 | var(--pf-v6-c-form-control__select--PaddingInlineEnd) +
|
|
295 | 304 | resize: none;
|
296 | 305 | --pf-v6-c-form-control--PaddingBlockStart: var(--mui-spacing-16px);
|
297 | 306 | --pf-v6-c-form-control--PaddingBlockEnd: var(--mui-spacing-16px);
|
| 307 | + |
298 | 308 | #text-file-simple-filename {
|
299 | 309 | --pf-v6-c-form-control--PaddingBlockStart: var(--mui-spacing-8px);
|
300 |
| - --pf-v6-c-form-control--PaddingBlockEnd: var(--mui-spacing-8px);; |
| 310 | + --pf-v6-c-form-control--PaddingBlockEnd: var(--mui-spacing-8px); |
301 | 311 | }
|
302 | 312 | }
|
303 | 313 |
|
304 |
| - |
305 | 314 | .mui-theme .pf-v6-c-form__section {
|
306 | 315 | --pf-v6-c-form__section--Gap: 0px;
|
307 | 316 | }
|
|
338 | 347 | box-sizing: border-box;
|
339 | 348 | }
|
340 | 349 |
|
341 |
| -.mui-theme .pf-v6-c-form-control> :is(input, select, textarea):focus { |
| 350 | +.mui-theme .pf-v6-c-form-control > :is(input, select, textarea):focus { |
342 | 351 | --pf-v6-c-form-control--OutlineOffset: none;
|
343 | 352 | outline: none;
|
344 | 353 | }
|
|
387 | 396 | border-color: black;
|
388 | 397 | }
|
389 | 398 |
|
390 |
| -.form-fieldset-wrapper:hover span.pf-v6-c-form-control.pf-m-disabled~.form-fieldset { |
| 399 | +.form-fieldset-wrapper:hover span.pf-v6-c-form-control.pf-m-disabled ~ .form-fieldset { |
391 | 400 | border-color: rgba(0, 0, 0, 0.23);
|
392 | 401 | }
|
393 | 402 |
|
|
475 | 484 | .tr-fieldset-wrapper .pf-v6-c-form-control,
|
476 | 485 | .toolbar-fieldset-wrapper .pf-v6-c-form-control,
|
477 | 486 | .form-fieldset-wrapper .pf-v6-c-form-control {
|
478 |
| - |
479 | 487 | --pf-v6-c-form-control--before--BorderColor: transparent !important;
|
480 | 488 | --pf-v6-c-form-control--after--BorderColor: transparent !important;
|
481 | 489 | }
|
|
484 | 492 | --pf-v6-c-form__field-group-body--PaddingBlockStart: 8px;
|
485 | 493 | }
|
486 | 494 |
|
487 |
| -.pf-v6-c-form__group .pf-v6-c-form-control:focus-within+.pf-v6-c-form__label, |
488 |
| -.pf-v6-c-form__group .pf-v6-c-form-control:not(:placeholder-shown)+.pf-v6-c-form__label { |
| 495 | +.pf-v6-c-form__group .pf-v6-c-form-control:focus-within + .pf-v6-c-form__label, |
| 496 | +.pf-v6-c-form__group .pf-v6-c-form-control:not(:placeholder-shown) + .pf-v6-c-form__label { |
489 | 497 | color: var(--mui-palette-primary-main);
|
490 | 498 | }
|
491 | 499 |
|
|
518 | 526 | .mui-theme .pf-v6-c-menu-toggle {
|
519 | 527 | --pf-v6-c-menu-toggle__toggle-icon--MinHeight: var(--mui-menu-toggle__toggle-icon--MinHeight);
|
520 | 528 | --pf-v6-c-menu-toggle__controls--MinWidth: var(--mui-menu-toggle__controls--MinWidth);
|
521 |
| - --pf-v6-c-menu-toggle--expanded--BackgroundColor: var(--mui-menu-toggle--expanded--BackgroundColor); |
| 529 | + --pf-v6-c-menu-toggle--expanded--BackgroundColor: var( |
| 530 | + --mui-menu-toggle--expanded--BackgroundColor |
| 531 | + ); |
522 | 532 | --pf-v6-c-menu-toggle--expanded--BorderColor: var(--mui-menu-toggle--expanded--BorderColor);
|
523 | 533 | --pf-v6-c-menu-toggle--PaddingInlineStart: var(--mui-menu-toggle--PaddingInlineStart);
|
524 | 534 | --pf-v6-c-menu-toggle--PaddingInlineEnd: var(--mui-menu-toggle--PaddingInlineEnd);
|
525 | 535 | --pf-v6-c-menu-toggle--ColumnGap: var(--mui-menu-toggle--ColumnGap);
|
526 | 536 | --pf-v6-c-menu-toggle--expanded--Color: var(--mui-palette-common-black);
|
527 | 537 | --pf-v6-c-menu-toggle--hover--BorderColor: var(--mui-menu-toggle--hover--BorderColor);
|
528 | 538 | --pf-v6-c-menu-toggle--BorderColor: var(--mui-menu-toggle--BorderColor);
|
529 |
| - --pf-v6-c-menu-toggle--hover--BackgroundColor: var(--pf-t--global--background--color--action--plain--hover); |
530 |
| - --pf-v6-c-menu-toggle--m-split-button--m-action--m-primary--expanded--child--BackgroundColor: var(--pf-t--global--color--brand--default); |
531 |
| - --pf-v6-c-menu-toggle--m-split-button--m-action--m-primary--child--BorderInlineStartColor: var(--mui-palette-primary-dark); |
| 539 | + --pf-v6-c-menu-toggle--hover--BackgroundColor: var( |
| 540 | + --pf-t--global--background--color--action--plain--hover |
| 541 | + ); |
| 542 | + --pf-v6-c-menu-toggle--m-split-button--m-action--m-primary--expanded--child--BackgroundColor: var( |
| 543 | + --pf-t--global--color--brand--default |
| 544 | + ); |
| 545 | + --pf-v6-c-menu-toggle--m-split-button--m-action--m-primary--child--BorderInlineStartColor: var( |
| 546 | + --mui-palette-primary-dark |
| 547 | + ); |
532 | 548 |
|
533 | 549 | text-transform: var(--mui-text-transform);
|
534 | 550 | font-weight: var(--mui-button-font-weight);
|
|
552 | 568 | --pf-v6-c-menu-toggle--expanded--Color: var(--pf-t--global--text--color--on-brand--clicked);
|
553 | 569 | }
|
554 | 570 |
|
555 |
| -.mui-theme .pf-v6-c-menu-toggle.pf-m-primary.pf-m-split-button .pf-v6-c-menu-toggle__button[aria-expanded='true'] { |
556 |
| - --pf-v6-c-menu-toggle--m-split-button--m-action--m-primary--child--BackgroundColor: var(--mui-palette-primary-dark); |
| 571 | +.mui-theme |
| 572 | + .pf-v6-c-menu-toggle.pf-m-primary.pf-m-split-button |
| 573 | + .pf-v6-c-menu-toggle__button[aria-expanded='true'] { |
| 574 | + --pf-v6-c-menu-toggle--m-split-button--m-action--m-primary--child--BackgroundColor: var( |
| 575 | + --mui-palette-primary-dark |
| 576 | + ); |
557 | 577 | }
|
558 | 578 |
|
559 | 579 | .pf-v6-c-menu-toggle.pf-m-secondary.pf-m-split-button {
|
|
617 | 637 | row-gap: none;
|
618 | 638 | }
|
619 | 639 |
|
620 |
| - |
621 | 640 | .mui-theme .pf-v6-c-page__sidebar {
|
622 | 641 | --pf-v6-c-page__sidebar--BackgroundColor: var(--kf-central-primary-background-color);
|
623 | 642 | }
|
624 | 643 |
|
625 | 644 | .mui-theme .pf-v6-c-page__sidebar-body {
|
626 | 645 | --pf-v6-c-page__sidebar-body--PaddingInlineStart: 0px;
|
627 | 646 | --pf-v6-c-page__sidebar-body--PaddingInlineEnd: 0px;
|
628 |
| - |
629 | 647 | }
|
630 | 648 |
|
631 |
| - .mui-theme .pf-v6-c-progress-stepper__step.pf-m-info { |
| 649 | +.mui-theme .pf-v6-c-progress-stepper__step.pf-m-info { |
632 | 650 | --pf-v6-c-progress-stepper__step-icon--Color: var(--mui-palette-primary-main);
|
633 |
| - } |
| 651 | +} |
634 | 652 |
|
635 |
| - .mui-theme .pf-v6-c-progress-stepper__step.pf-m-success { |
| 653 | +.mui-theme .pf-v6-c-progress-stepper__step.pf-m-success { |
636 | 654 | --pf-v6-c-progress-stepper__step-icon--Color: var(--mui-palette-success-main);
|
637 |
| - } |
| 655 | +} |
638 | 656 |
|
639 | 657 | .mui-theme .pf-v6-c-radio.pf-m-standalone:not(.workspace-kind-form-radio) .pf-v6-c-radio__input {
|
640 | 658 | display: none;
|
|
656 | 674 | --pf-v6-c-table--cell--PaddingInlineEnd: var(--mui-table--cell--PaddingInlineEnd);
|
657 | 675 | --pf-v6-c-table--cell--PaddingBlockStart: var(--mui-table--cell--PaddingBlockStart);
|
658 | 676 | --pf-v6-c-table--cell--PaddingBlockEnd: var(--mui-table--cell--PaddingBlockEnd);
|
659 |
| - --pf-v6-c-table--cell--first-last-child--PaddingInline: var(--mui-table--cell--first-last-child--PaddingInline); |
| 677 | + --pf-v6-c-table--cell--first-last-child--PaddingInline: var( |
| 678 | + --mui-table--cell--first-last-child--PaddingInline |
| 679 | + ); |
660 | 680 | --pf-v6-c-table__thead--cell--FontWeight: var(--mui-button-font-weight);
|
661 | 681 | --pf-v6-c-table__thead--cell--FontSize: var(--mui-table__thead--cell--FontSize);
|
662 | 682 | --pf-v6-c-table__tr--BorderBlockEndColor: var(--mui-palette-grey-300);
|
663 |
| - --pf-v6-c-table__sort-indicator--MarginInlineStart: var(--mui-table__sort-indicator--MarginInlineStart); |
| 683 | + --pf-v6-c-table__sort-indicator--MarginInlineStart: var( |
| 684 | + --mui-table__sort-indicator--MarginInlineStart |
| 685 | + ); |
664 | 686 |
|
665 | 687 | letter-spacing: 0.01071em;
|
666 | 688 | }
|
|
678 | 700 | transform-origin: center center;
|
679 | 701 | align-self: start;
|
680 | 702 | }
|
| 703 | + |
681 | 704 | /* CSS workaround for spacing in labels in Workspace Kind */
|
682 | 705 | .form-label-field-group .pf-v6-c-table tr:where(.pf-v6-c-table__tr) > :where(th, td) {
|
683 | 706 | padding-block-start: 0px;
|
684 | 707 | }
|
| 708 | + |
685 | 709 | /* CSS workaround to use MUI icon for sort icon */
|
686 | 710 | .mui-theme .pf-v6-c-table__sort-indicator::before {
|
687 | 711 | display: block;
|
|
734 | 758 | --pf-v6-c-tabs__link--PaddingInlineStart: var(--mui-tabs__link--PaddingInlineStart);
|
735 | 759 | --pf-v6-c-tabs__link--PaddingInlineEnd: var(--mui-tabs__link--PaddingInlineEnd);
|
736 | 760 | --pf-v6-c-tabs__item--m-current__link--Color: var(--pf-t--global--text--color--brand--default);
|
737 |
| - --pf-v6-c-tabs__item--m-current__link--after--BorderWidth: var(--mui-tabs__item--m-current__link--after--BorderWidth); |
| 761 | + --pf-v6-c-tabs__item--m-current__link--after--BorderWidth: var( |
| 762 | + --mui-tabs__item--m-current__link--after--BorderWidth |
| 763 | + ); |
738 | 764 | --pf-v6-c-tabs__link--FontSize: 0.875rem;
|
739 | 765 | }
|
740 | 766 |
|
|
884 | 910 | }
|
885 | 911 |
|
886 | 912 | .mui-theme .pf-v6-c-toolbar__group.pf-m-filter-group .pf-v6-c-form-control {
|
887 |
| - |
888 | 913 | // Override default form control padding to match button padding in this context
|
889 | 914 | --pf-v6-c-form-control--PaddingBlockStart: var(--mui-spacing-8px);
|
890 | 915 | --pf-v6-c-form-control--PaddingBlockEnd: var(--mui-spacing-8px);
|
891 |
| - |
892 |
| - |
893 | 916 | }
|
894 | 917 |
|
895 | 918 | // Fix hover state margin issue by removing problematic padding
|
|
903 | 926 |
|
904 | 927 | .workspacekind-file-upload {
|
905 | 928 | height: 100%;
|
| 929 | + |
906 | 930 | .pf-v6-c-file-upload__file-details {
|
907 | 931 | flex-grow: 1;
|
908 | 932 | }
|
909 | 933 | }
|
910 | 934 |
|
911 | 935 | /* Workaround for Toggle group header in Workspace Kind Form */
|
912 | 936 | .workspace-kind-form-header .pf-v6-c-toggle-group__button.pf-m-selected {
|
913 |
| - background-color: #E0F0FF; |
| 937 | + background-color: #e0f0ff; |
914 | 938 | color: var(--pf-t--color--black);
|
915 | 939 | }
|
0 commit comments