[ADF-1585] - Fix datatable styles (#2374)

* Unify datatable hover and selection color

* Fix prebuilt styles collision
This commit is contained in:
Popovics András
2017-09-26 15:38:31 +01:00
committed by Eugenio Romano
parent 17d0525c24
commit b1d2c53c4b
10 changed files with 21 additions and 20 deletions

View File

@@ -1,6 +1,7 @@
@mixin mat-datatable-theme($theme) {
$foreground: map-get($theme, foreground);
$background: map-get($theme, background);
$primary: map-get($theme, primary);
$data-table-font-size: 14px !default;
@@ -10,8 +11,8 @@
$data-table-header-sorted-color: mat-color($foreground, text) !default;
$data-table-header-sorted-icon-hover-color: mat-color($foreground, disabled-text) !default;
$data-table-divider-color: mat-color($foreground, text, .07) !default;
$data-table-hover-color: #eeeeee !default;
$data-table-selection-color: #e0f7fa !default;
$data-table-hover-color: mat-color($background, 'hover') !default;
$data-table-selection-color: mat-color($background, 'selected-button') !default;
$data-table-dividers: 1px solid $data-table-divider-color !default;
$data-table-row-height: 56px !default;
// $data-table-last-row-height: 56px !default;