remove import material theming from attachment components

This commit is contained in:
Eugenio Romano
2017-11-18 12:16:45 +00:00
parent c04b2c83e5
commit 91f56857fc
3 changed files with 110 additions and 103 deletions

View File

@@ -1,28 +1,28 @@
@import '~@angular/material/theming';
@mixin adf-process-attachment-list($theme) {
adf-datatable ::ng-deep th span {
adf-datatable ::ng-deep th span {
color: #232323;
}
}
adf-datatable ::ng-deep .data-cell {
adf-datatable ::ng-deep .data-cell {
cursor: pointer !important;
}
}
.adf-attachment-list-loading-margin {
.adf-attachment-list-loading-margin {
margin-left: calc((100% - 100px) / 2);
margin-right: calc((100% - 100px) / 2);
}
}
.adf-empty-list-header {
.adf-empty-list-header {
height: 32px;
opacity: 0.26 !important;
font-size: 24px;
line-height: 1.33;
letter-spacing: -1px;
color: #000000;
}
}
.adf-empty-list-drag_drop {
.adf-empty-list-drag_drop {
min-height: 56px;
opacity: 0.54;
font-size: 56px;
@@ -32,9 +32,9 @@ adf-datatable ::ng-deep .data-cell {
margin-top: 40px !important;
word-break: break-all;
white-space: pre-line;
}
}
.adf-empty-list__any-files-here-to-add {
.adf-empty-list__any-files-here-to-add {
min-height: 24px;
opacity: 0.54;
font-size: 16px;
@@ -44,9 +44,9 @@ adf-datatable ::ng-deep .data-cell {
margin-top: 17px;
word-break: break-all;
white-space: pre-line;
}
}
.adf-empty-list__empty_doc_lib {
.adf-empty-list__empty_doc_lib {
width: 565px;
height: 161px;
object-fit: contain;
@@ -55,4 +55,5 @@ adf-datatable ::ng-deep .data-cell {
@media screen and ($mat-xsmall) {
width: 250px;
}
}
}

View File

@@ -1,28 +1,28 @@
@import '~@angular/material/theming';
@mixin adf-task-attachment-list($theme) {
adf-datatable ::ng-deep th span {
adf-datatable ::ng-deep th span {
color: #232323;
}
}
adf-datatable ::ng-deep .data-cell {
adf-datatable ::ng-deep .data-cell {
cursor: pointer !important;
}
}
.adf-attachment-list-loading-margin {
.adf-attachment-list-loading-margin {
margin-left: calc((100% - 100px) / 2);
margin-right: calc((100% - 100px) / 2);
}
}
.adf-empty-list-header {
.adf-empty-list-header {
height: 32px;
opacity: 0.26;
font-size: 24px;
line-height: 1.33;
letter-spacing: -1px;
color: #000000;
}
}
.adf-empty-list-drag_drop {
.adf-empty-list-drag_drop {
min-height: 56px;
opacity: 0.54;
font-size: 56px;
@@ -36,9 +36,9 @@ adf-datatable ::ng-deep .data-cell {
@media screen and ($mat-xsmall) {
font-size: 40px;
}
}
}
.adf-empty-list__any-files-here-to-add {
.adf-empty-list__any-files-here-to-add {
min-height: 24px;
opacity: 0.54;
font-size: 16px;
@@ -48,9 +48,9 @@ adf-datatable ::ng-deep .data-cell {
margin-top: 17px;
word-break: break-all;
white-space: pre-line;
}
}
.adf-empty-list__empty_doc_lib {
.adf-empty-list__empty_doc_lib {
width: 565px;
max-width: 100%;
height: 161px;
@@ -60,4 +60,5 @@ adf-datatable ::ng-deep .data-cell {
@media screen and ($mat-xsmall) {
width: 250px;
}
}
}

View File

@@ -1,5 +1,8 @@
@import '../process-list/components/process-filters.component';
@import '../attachment/process-attachment-list.component';
@import '../attachment/task-attachment-list.component';
@import '../comments/comment-list.component';
@import '../people/people-search.component';
@@ -17,4 +20,6 @@
@include adf-task-list-people-theme($theme);
@include adf-task-list-filters-task-theme($theme);
@include adf-task-list-header-theme($theme);
@include adf-process-attachment-list($theme);
@include adf-task-attachment-list($theme);
}