Improvement/AAE-19176-reapply-selector-changes (#9424)

* AAE-19510 remove selector variable

* AAE-19510 poc for card view using variable selectors

* AAE-19176 rename mat selectors file

* AAE-19176 add missing style imports

* AAE-19176 remove remaining mat selectors

* AAE-19176 replaced todo material selectors with variables

* AAE-19176 changes made in meantime

* AAE-19176 conflict fixes
This commit is contained in:
Wojciech Duda
2024-03-12 14:16:17 +01:00
committed by VitoAlbano
parent e9a5a2366c
commit d1db2f4c35
57 changed files with 367 additions and 237 deletions

View File

@@ -1,11 +1,12 @@
@import 'styles/flex';
@import 'styles/mat-selectors';
/* stylelint-disable no-descending-specificity */
.adf-new-task-heading {
padding-top: 12px;
border-bottom: 1px solid var(--adf-theme-foreground-divider-color);
.mat-mdc-card-title {
#{$mat-card-title} {
font-weight: bold;
font-size: var(--theme-adf-task-title-font-size);
}
@@ -68,21 +69,20 @@
}
adf-start-task {
.mat-mdc-button.adf-uppercase {
#{$mat-button}.adf-uppercase {
text-transform: uppercase;
}
people-widget.adf-people-widget-content {
width: 100%;
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
.mat-form-field-label-wrapper {
#{$mat-form-field-label} {
top: -14px;
}
}
.adf-people-widget-content {
.mat-mdc-form-field {
#{$mat-form-field} {
width: 100%;
}
@@ -96,7 +96,7 @@ adf-start-task {
}
.adf {
&-start-task-input-container .mat-mdc-text-field-wrapper {
&-start-task-input-container #{$mat-form-field-wrapper} {
padding-top: 8px;
}
@@ -136,8 +136,7 @@ adf-start-task {
border-color: var(--theme-warn-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-prefix {
#{$mat-form-field-prefix} {
color: var(--theme-warn-color);
}