mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Fixing styles not migrated by material
This commit is contained in:
@@ -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;
|
||||
|
@@ -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;
|
||||
}
|
||||
}
|
||||
|
@@ -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;
|
||||
}
|
||||
}
|
||||
|
@@ -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;
|
||||
}
|
||||
|
||||
|
@@ -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;
|
||||
}
|
||||
}
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user