Fixing styles not migrated by material

This commit is contained in:
Vito Albano
2023-12-04 16:39:38 +00:00
committed by VitoAlbano
parent bf0ab660be
commit 30eede38af
18 changed files with 44 additions and 67 deletions

View File

@@ -48,7 +48,6 @@ h2.adf-search-results-label {
}
.adf-site-dropdown-container {
.adf-sites-dropdown-form-field {
display: block;
margin-bottom: 15px;
}

View File

@@ -1,11 +1,10 @@
adf-search-chip-autocomplete-input {
.adf-chip-list {
width: 100%;
}
/* stylelint-disable-next-line */
.mat-form-field-infix {
border: none;
}
.mat-mdc-form-field-infix {
border: none;
}
.adf-autocomplete-added-option-chips.adf-option-chips {

View File

@@ -19,26 +19,19 @@ adf-search-properties {
.adf-search-properties-file-size-operator,
.adf-search-properties-file-size-unit {
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
.mat-form-field-infix {
.mat-mdc-form-field-infix {
border: 1px solid var(--adf-theme-mat-grey-color-a400);
border-radius: 5px;
padding: 9px;
}
&.mat-focused {
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
.mat-form-field-infix {
.mat-mdc-form-field-infix {
outline: 2px auto -webkit-focus-ring-color;
}
}
}
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
.mat-form-field-underline {
display: none;
}
.adf-search-properties-file-size-unit {
width: 78px;
}
@@ -46,12 +39,8 @@ adf-search-properties {
adf-search-chip-autocomplete-input {
display: block;
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
.mat-form-field-outline {
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
.mat-form-field-outline {
.mdc-text-field--outlined {
.mdc-text-field--outlined {
&-start,
&-end {
border-top: 1px solid var(--adf-theme-mat-grey-color-a400);
@@ -69,19 +58,14 @@ adf-search-properties {
}
.mat-focused {
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
.mat-form-field-outline {
.mdc-text-field--outlined {
outline: 2px auto -webkit-focus-ring-color;
}
}
.mat-form-field-appearance-outline {
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
.mat-form-field-outline-thick {
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
.mat-form-field-outline {
.mdc-text-field--outlined-thick {
.mdc-text-field--outlined {
&-start,
&-end {
border-width: 1px;