|
214 | 214 | $contained-shadow--focus: map.get( |
215 | 215 | ( |
216 | 216 | 'material': var-get($contained-theme, 'focus-elevation'), |
217 | | - 'fluent': 0 0 0 rem(3px) var-get($contained-theme, 'shadow-color'), |
| 217 | + 'fluent': none, |
218 | 218 | 'bootstrap': 0 0 0 rem(4px) |
219 | 219 | var-get($contained-theme, 'shadow-color'), |
220 | 220 | 'indigo': 0 0 0 rem(3px) var-get($contained-theme, 'shadow-color'), |
|
225 | 225 | $contained-shadow--active: map.get( |
226 | 226 | ( |
227 | 227 | 'material': var-get($contained-theme, 'active-elevation'), |
228 | | - 'fluent': 0 0 0 rem(3px) var-get($contained-theme, 'shadow-color'), |
| 228 | + 'fluent': none, |
229 | 229 | 'bootstrap': 0 0 0 rem(4px) |
230 | 230 | var-get($contained-theme, 'shadow-color'), |
231 | 231 | 'indigo': 0 0 0 rem(3px) var-get($contained-theme, 'shadow-color'), |
|
256 | 256 | $fab-shadow--focus: map.get( |
257 | 257 | ( |
258 | 258 | 'material': var-get($fab-theme, 'focus-elevation'), |
259 | | - 'fluent': 0 0 0 rem(3px) var-get($fab-theme, 'shadow-color'), |
| 259 | + 'fluent': none, |
260 | 260 | 'bootstrap': 0 0 0 rem(4px) var-get($fab-theme, 'shadow-color'), |
261 | 261 | 'indigo': 0 0 0 rem(3px) var-get($fab-theme, 'shadow-color'), |
262 | 262 | ), |
|
266 | 266 | $fab-shadow--active: map.get( |
267 | 267 | ( |
268 | 268 | 'material': var-get($fab-theme, 'active-elevation'), |
269 | | - 'fluent': 0 0 0 rem(3px) var-get($fab-theme, 'shadow-color'), |
| 269 | + 'fluent': none, |
270 | 270 | 'bootstrap': 0 0 0 rem(4px) var-get($fab-theme, 'shadow-color'), |
271 | 271 | 'indigo': 0 0 0 rem(3px) var-get($fab-theme, 'shadow-color'), |
272 | 272 | ), |
|
573 | 573 | background: var-get($contained-theme, 'background'); |
574 | 574 | border-color: var-get($contained-theme, 'border-color'); |
575 | 575 | border-radius: var-get($contained-theme, 'border-radius'); |
576 | | - box-shadow: var-get($contained-theme, 'resting-elevation'); |
| 576 | + |
| 577 | + @if $variant == 'material' { |
| 578 | + box-shadow: var-get($contained-theme, 'resting-elevation'); |
| 579 | + } |
577 | 580 |
|
578 | 581 | igx-icon { |
579 | 582 | color: var-get($contained-theme, 'icon-color'); |
|
583 | 586 | color: var-get($contained-theme, 'hover-foreground'); |
584 | 587 | background: var-get($contained-theme, 'hover-background'); |
585 | 588 | border-color: var-get($contained-theme, 'hover-border-color'); |
586 | | - box-shadow: var-get($contained-theme, 'hover-elevation'); |
| 589 | + |
| 590 | + @if $variant == 'material' { |
| 591 | + box-shadow: var-get($contained-theme, 'hover-elevation'); |
| 592 | + } |
587 | 593 |
|
588 | 594 | igx-icon { |
589 | 595 | color: var-get($contained-theme, 'icon-color-hover'); |
|
594 | 600 | color: var-get($contained-theme, 'active-foreground'); |
595 | 601 | background: var-get($contained-theme, 'active-background'); |
596 | 602 | border-color: var-get($contained-theme, 'active-border-color'); |
597 | | - box-shadow: var-get($contained-theme, 'active-elevation'); |
| 603 | + |
| 604 | + @if $variant == 'material' { |
| 605 | + box-shadow: var-get($contained-theme, 'active-elevation'); |
| 606 | + } |
598 | 607 |
|
599 | 608 | igx-icon { |
600 | 609 | color: var-get($contained-theme, 'active-foreground'); |
|
713 | 722 | background: var-get($fab-theme, 'background'); |
714 | 723 | border-color: var-get($fab-theme, 'border-color'); |
715 | 724 | border-radius: var-get($fab-theme, 'border-radius'); |
716 | | - box-shadow: var-get($fab-theme, 'resting-elevation'); |
| 725 | + |
| 726 | + @if $variant == 'material' { |
| 727 | + box-shadow: var-get($fab-theme, 'resting-elevation'); |
| 728 | + } |
717 | 729 |
|
718 | 730 | igx-icon { |
719 | 731 | color: var-get($fab-theme, 'icon-color'); |
|
723 | 735 | color: var-get($fab-theme, 'hover-foreground'); |
724 | 736 | background: var-get($fab-theme, 'hover-background'); |
725 | 737 | border-color: var-get($fab-theme, 'hover-border-color'); |
726 | | - box-shadow: var-get($fab-theme, 'hover-elevation'); |
| 738 | + |
| 739 | + @if $variant == 'material' { |
| 740 | + box-shadow: var-get($fab-theme, 'hover-elevation'); |
| 741 | + } |
727 | 742 |
|
728 | 743 | igx-icon { |
729 | 744 | color: var-get($fab-theme, 'icon-color-hover'); |
|
734 | 749 | color: var-get($fab-theme, 'active-foreground'); |
735 | 750 | background: var-get($fab-theme, 'active-background'); |
736 | 751 | border-color: var-get($fab-theme, 'active-border-color'); |
737 | | - box-shadow: var-get($fab-theme, 'active-elevation'); |
| 752 | + |
| 753 | + @if $variant == 'material' { |
| 754 | + box-shadow: var-get($fab-theme, 'active-elevation'); |
| 755 | + } |
738 | 756 |
|
739 | 757 | igx-icon { |
740 | 758 | color: var-get($fab-theme, 'active-foreground'); |
|
0 commit comments