Skip to content

Commit e5e1f51

Browse files
didimmovasimeonoff
andauthored
fix(date-picker): update indigo elevations (#17288)
* fix(date-picker): update indigo elevations * fix(grid): update excel and advanced filtering shadows --------- Co-authored-by: Simeon Simeonoff <sim.simeonoff@gmail.com>
1 parent 6b34fc0 commit e5e1f51

3 files changed

Lines changed: 3 additions & 9 deletions

File tree

projects/igniteui-angular/core/src/core/styles/components/date-picker/_date-picker-theme.scss

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,8 @@
2525
background: var-get($theme, 'content-background');
2626
overflow: hidden;
2727

28-
@if $variant == 'indigo' and $theme-variant == 'light' {
28+
@if $variant == 'indigo' {
2929
box-shadow: $border-shadow, elevation(5);
30-
} @else if $variant == 'indigo' and $theme-variant == 'dark' {
31-
box-shadow: $border-shadow, elevation(7);
3230
}
3331

3432
igx-calendar,
@@ -49,10 +47,6 @@
4947
flex: 1 0 0;
5048
flex-direction: column;
5149
box-shadow: $border-shadow, elevation(3);
52-
53-
@if $variant == 'indigo' and $theme-variant == 'dark' {
54-
box-shadow: $border-shadow, elevation(2);
55-
}
5650
}
5751

5852
%date-picker__buttons {

projects/igniteui-angular/core/src/core/styles/components/grid/_excel-filtering-theme.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
flex-grow: 1;
4141

4242
@if $variant == 'indigo' {
43-
box-shadow: elevation(if($theme-variant == 'light', 3, 2)), 0 0 0 rem(1px) var-get($theme, 'excel-filtering-border-color');
43+
box-shadow: elevation(3), 0 0 0 rem(1px) var-get($theme, 'excel-filtering-border-color');
4444

4545
// TODO: The border-radius should not be hardcoded.
4646
border-radius: border-radius(rem(4px));

projects/igniteui-angular/core/src/core/styles/components/grid/_grid-theme.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2692,7 +2692,7 @@
26922692

26932693
%advanced-filtering-dialog {
26942694
background: var-get($theme, 'filtering-dialog-background');
2695-
box-shadow: elevation(if($variant == 'indigo', if($theme-variant == 'light', 24, 23), 24));
2695+
box-shadow: elevation(24);
26962696

26972697
@if $variant == 'material' or $variant == 'bootstrap' {
26982698
border-radius: rem(4px);

0 commit comments

Comments
 (0)