From a480d0c1051ef4a8a5fac022f2d38a9db3aaebe6 Mon Sep 17 00:00:00 2001 From: Suzana Dirla Date: Wed, 2 Oct 2019 13:06:12 +0300 Subject: [PATCH] [ACA-2742] remove not needed style fixes - already moved to ADF 3.5.0 (#1215) * [ACA-2742] remove not needed style fixes - already moved to ADF 3.5.0 * [ACA-2742] !default not needed --- src/app/ui/custom-theme.scss | 2 ++ .../ui/overrides/adf-style-fixes.theme.scss | 29 ++----------------- 2 files changed, 4 insertions(+), 27 deletions(-) diff --git a/src/app/ui/custom-theme.scss b/src/app/ui/custom-theme.scss index 0a8ad05b9..d1a1b3be0 100644 --- a/src/app/ui/custom-theme.scss +++ b/src/app/ui/custom-theme.scss @@ -101,6 +101,8 @@ $adf-upload-dragging-background: #e0f7fa; $adf-upload-dragging-level1-color: unset; $adf-upload-dragging-level1-border: none; +$adf-permission-list-width: 100%; + $defaults: ( --theme-warn-color: mat-color($warn), --theme-text-color: mat-color($foreground, text, 0.54), diff --git a/src/app/ui/overrides/adf-style-fixes.theme.scss b/src/app/ui/overrides/adf-style-fixes.theme.scss index 2bbba83f4..6fee88c6c 100644 --- a/src/app/ui/overrides/adf-style-fixes.theme.scss +++ b/src/app/ui/overrides/adf-style-fixes.theme.scss @@ -1,31 +1,6 @@ @import 'mixins'; @mixin adf-style-fixes($theme) { - $background: map-get($theme, background); - $foreground: map-get($theme, foreground); - $primary: map-get($theme, primary); - - $data-table-cell-link-color: mat-color($foreground, text) !default; - - .adf-datatable { - .adf-datatable-link, - .adf-location-cell a { - color: $data-table-cell-link-color; - } - } - - adf-permission-list { - .adf-display-permission-container { - flex: 1; - - .adf-datatable-permission { - width: 100%; - - .adf-datatable-cell--icon, - .adf-datatable-cell--image { - min-width: $data-table-thumbnail-width; - } - } - } - } + // add here all ADF style overrides + // and create a task to move them to ADF }