Fixing styles not migrated by material

This commit is contained in:
Vito Albano
2023-12-04 16:39:38 +00:00
parent c401611792
commit 4dfcd7bff1
43 changed files with 97 additions and 200 deletions

View File

@@ -8,7 +8,7 @@
overflow: hidden;
}
/* TODO(mdc-migration): The following rule targets internal classes of card that may no longer apply for the MDC version. */
& .mat-card-header-text {
& .mat-mdc-card-header-text {
margin: 0 !important;
}
/* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version. */
@@ -16,7 +16,7 @@
overflow: hidden;
}
/* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version. */
& .mat-tab-label {
& .mdc-tab__text-label {
font-size: var(--theme-subheading-2-font-size);
line-height: var(--theme-headline-line-height);
letter-spacing: -0.4px;
@@ -29,7 +29,7 @@
height: 4px;
}
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
& .mat-form-field-wrapper {
& .mat-mdc-text-field-wrapper {
margin: 0 12px 0 0;
}
}
@@ -95,7 +95,7 @@
border-radius: 5px;
}
/* TODO(mdc-migration): The following rule targets internal classes of button that may no longer apply for the MDC version. */
& .mat-button-wrapper {
& .mdc-button__label {
width: 58px;
height: 20px;
opacity: 0.54;

View File

@@ -39,7 +39,7 @@
&-attach-widget-repo-button {
padding-left: 10px;
/* TODO(mdc-migration): The following rule targets internal classes of button that may no longer apply for the MDC version. */
.mat-button-wrapper {
.mdc-button__label {
display: inline;
}
@@ -70,13 +70,13 @@
margin-bottom: 0;
}
/* TODO(mdc-migration): The following rule targets internal classes of list that may no longer apply for the MDC version. */
.mat-list-text {
.mdc-list-item__primary-text {
max-width: 200px;
}
@include layout-bp(lt-md) {
/* TODO(mdc-migration): The following rule targets internal classes of list that may no longer apply for the MDC version. */
.mat-list-text {
.mdc-list-item__primary-text {
max-width: 150px;
}
}

View File

@@ -63,7 +63,7 @@
min-width: 250px;
}
/* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version. */
&-userinfo-tab .mat-tab-label {
&-userinfo-tab .mdc-tab__text-label {
flex: auto;
font-weight: 500;
font-size: var(--theme-body-1-font-size);
@@ -147,7 +147,7 @@
text-align: left;
}
/* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version. */
&-hide-tab .mat-tab-label-active {
&-hide-tab .mdc-tab__text-label-active {
display: none !important;
}
}

View File

@@ -95,7 +95,7 @@ adf-start-task {
.adf {
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
&-start-task-input-container .mat-form-field-wrapper {
&-start-task-input-container .mat-mdc-text-field-wrapper {
padding-top: 8px;
}

View File

@@ -88,7 +88,7 @@ adf-task-details {
}
}
/* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version. */
& .mat-tab-label {
& .mdc-tab__text-label {
flex-grow: 1;
}
}

View File

@@ -13,7 +13,7 @@
border-radius: 5px;
}
/* TODO(mdc-migration): The following rule targets internal classes of button that may no longer apply for the MDC version. */
& .mat-button-wrapper {
& .mdc-button__label {
width: 58px;
height: 20px;
opacity: 0.54;

View File

@@ -47,7 +47,7 @@
border-radius: 5px;
}
/* TODO(mdc-migration): The following rule targets internal classes of button that may no longer apply for the MDC version. */
& .mat-button-wrapper {
& .mdc-button__label {
opacity: 0.54;
font-size: var(--theme-button-font-size);
font-weight: bold;