From f7329699a0691e674923f0fffbfc5b4941ca6924 Mon Sep 17 00:00:00 2001 From: suzana_dirla Date: Tue, 20 Aug 2019 19:55:13 +0300 Subject: [PATCH] [ACA-2140] set $data-table-cell-text-color - and $data-table-cell-link-color - which must be moved to ADF --- src/app/ui/custom-theme.scss | 2 ++ src/app/ui/overrides/adf-style-fixes.theme.scss | 10 ++++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/app/ui/custom-theme.scss b/src/app/ui/custom-theme.scss index 68398314c..75c762544 100644 --- a/src/app/ui/custom-theme.scss +++ b/src/app/ui/custom-theme.scss @@ -84,6 +84,8 @@ $data-table-thumbnail-width: 35px; $data-table-cell-min-width: 120px; $data-table-cell-min-width--no-grow: 120px; $data-table-cell-min-width--fileSize: 80px !important; +$data-table-cell-text-color: mat-color($foreground, text, 0.54); +$data-table-cell-link-color: mat-color($foreground, text); $data-table-hover-color: #e0f7fa; $data-table-selection-color: #e0f7fa; diff --git a/src/app/ui/overrides/adf-style-fixes.theme.scss b/src/app/ui/overrides/adf-style-fixes.theme.scss index 2aa0c8fe8..4c9f8a8d9 100644 --- a/src/app/ui/overrides/adf-style-fixes.theme.scss +++ b/src/app/ui/overrides/adf-style-fixes.theme.scss @@ -5,11 +5,13 @@ $foreground: map-get($theme, foreground); $primary: map-get($theme, primary); - $document-list-text-color: mat-color($foreground, text, 0.54) !default; - $document-list-name-text-color: mat-color($foreground, text) !default; + $data-table-cell-link-color: mat-color($foreground, text) !default; - .adf-datatable .adf-datatable-cell { - color: $document-list-text-color; + .adf-datatable { + .adf-datatable-link, + .adf-location-cell a { + color: $data-table-cell-link-color; + } } .adf-content-node-selector-content-list .adf-datatable-list {