UNPKG

655 BSCSSView Raw
1@import '../common/styles/variables';
2@import '../common/styles/elevation';
3@import '../common/styles/theme-functions';
4
5@mixin td-file-theme($theme) {
6 $background: map-get($theme, background);
7
8 td-file-upload {
9 .td-file-upload-cancel {
10 mat-icon {
11 background-color: mat-color($background, background);
12 }
13 }
14 }
15
16 td-file-input {
17 /**
18 * Class that is added ondragenter by the [TdFileDrop] directive.
19 */
20 .drop-zone {
21 transition: background $swift-ease-out-duration
22 $swift-ease-out-timing-function,
23 mat-elevation-transition-property-value();
24 @include mat-elevation(8);
25 }
26 }
27}