From 506580b42f615fbb59c8b3f305ddd4e8bdfa879f Mon Sep 17 00:00:00 2001 From: suzana_dirla Date: Mon, 19 Aug 2019 19:47:09 +0300 Subject: [PATCH] [ACA-2140] remove document-list css overrides - remove style for selection svg icon - remove .adf-document-list background color - was moved to ADF --- src/app/ui/custom-theme.scss | 2 +- src/app/ui/overrides/adf-document-list.theme.scss | 13 +------------ 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/src/app/ui/custom-theme.scss b/src/app/ui/custom-theme.scss index 73c51d437..25ca967be 100644 --- a/src/app/ui/custom-theme.scss +++ b/src/app/ui/custom-theme.scss @@ -58,7 +58,7 @@ $foreground: map-get($custom-theme, foreground); $warn: map-get($custom-theme, warn); @mixin custom-theme($theme) { - @include adf-document-list-theme($theme); + @include adf-document-list-theme-test($theme); @include layout-theme($theme); @include aca-search-input-theme($theme); diff --git a/src/app/ui/overrides/adf-document-list.theme.scss b/src/app/ui/overrides/adf-document-list.theme.scss index 8b5bc7ed6..a3c594a00 100644 --- a/src/app/ui/overrides/adf-document-list.theme.scss +++ b/src/app/ui/overrides/adf-document-list.theme.scss @@ -1,13 +1,11 @@ @import 'mixins'; -@mixin adf-document-list-theme($theme) { +@mixin adf-document-list-theme-test($theme) { $background: map-get($theme, background); $foreground: map-get($theme, foreground); $primary: map-get($theme, primary); - $document-list-selection-color: mat-color($primary) !default; $document-list-selection-background: #e0f7fa !default; - $document-list-background: mat-color($background, background) !default; $document-list-text-color: mat-color($foreground, text, 0.54) !default; $document-list-name-text-color: mat-color($foreground, text) !default; $data-table-thumbnail-width: 50px !default; @@ -35,15 +33,6 @@ } } - .mat-icon.adf-datatable-selected > svg { - fill: $document-list-selection-color; - } - - adf-document-list { - @include flex-column; - background-color: $document-list-background; - } - .adf-datatable { @include flex-column; overflow-y: scroll;