[ADF-5095] Update text color of share dialog (#5575)

This commit is contained in:
Baptiste Mahé
2020-03-30 20:18:04 +02:00
committed by GitHub
parent 19ad789436
commit b26991014c
2 changed files with 59 additions and 53 deletions

View File

@@ -1,12 +1,15 @@
@mixin adf-share-link-typography {
@mixin adf-share-link-typography($foreground) {
letter-spacing: -0.4px;
line-height: 2;
font-weight: normal;
font-style: normal;
font-stretch: normal;
font-size: 16px;
opacity: 0.87;
color: mat-color($foreground, text, 0.87);
}
@mixin adf-content-node-share-theme($theme) {
$foreground: map-get($theme, foreground);
.adf-float-label {
padding-top: 20px;
}
@@ -19,17 +22,17 @@
}
&__label {
@include adf-share-link-typography;
@include adf-share-link-typography($foreground);
flex: 1 1 auto;
}
&__title {
@include adf-share-link-typography;
@include adf-share-link-typography($foreground);
}
&__info {
@include adf-share-link-typography;
opacity: 0.54;
@include adf-share-link-typography($foreground);
color: mat-color($foreground, text, 0.54);
font-size: 13px;
}
@@ -41,7 +44,7 @@
}
&__input {
opacity: 0.54;
color: mat-color($foreground, text, 0.87);
}
}
@@ -69,3 +72,4 @@
align-items: center;
}
}
}

View File

@@ -17,6 +17,7 @@
@import '../dialogs/folder.dialog';
@import '../content-node-selector/content-node-selector.component';
@import '../content-node-share/content-node-share.dialog';
@import '../content-metadata/content-metadata.module';
@import '../permission-manager/components/permission-list/permission-list.component';
@import '../permission-manager/components/add-permission/add-permission.component';
@@ -28,6 +29,7 @@
@include adf-breadcrumb-theme($theme);
@include adf-breadcrumb-dropdown-theme($theme);
@include adf-content-node-selector-theme($theme);
@include adf-content-node-share-theme($theme);
@include adf-name-location-cell-theme($theme);
@include adf-document-list-theme($theme) ;
@include adf-file-uploading-row-theme($theme);