|
7 | 7 | .mat-mdc-option { |
8 | 8 | // Note that we include this private mixin, because the public |
9 | 9 | // one adds a bunch of styles that we aren't using for the menu. |
10 | | - @include mdc-list-item-base_; |
11 | | - @include mdc-list-list-item-padding-variant( |
12 | | - $mdc-list-textual-variant-config, $query: $mat-base-styles-query); |
13 | | - @include mdc-list-item-disabled-text-opacity($mdc-list-text-disabled-opacity, |
14 | | - $query: $mat-base-styles-query); |
| 10 | + @include mdc-list-deprecated-item-base_; |
| 11 | + @include mdc-list-deprecated-list-item-padding-variant( |
| 12 | + $mdc-list-deprecated-textual-variant-config, $query: $mat-base-styles-query); |
| 13 | + @include mdc-list-deprecated-item-disabled-text-opacity( |
| 14 | + $mdc-list-deprecated-text-disabled-opacity, $query: $mat-base-styles-query); |
15 | 15 | @include user-select(none); |
16 | 16 |
|
17 | 17 | // Set the `min-height` here ourselves, instead of going through |
18 | 18 | // the `mdc-list-list-item-height-variant` mixin, because it sets a `height` |
19 | 19 | // which doesn't work well with multi-line options. |
20 | | - min-height: map-get($mdc-list-textual-variant-config, single-line-height); |
| 20 | + min-height: map-get($mdc-list-deprecated-textual-variant-config, single-line-height); |
21 | 21 |
|
22 | 22 | // Workaround for https://goo.gl/pFmjJD in IE 11. Adds a pseudo |
23 | 23 | // element that will stretch the option to the correct height. See: |
|
35 | 35 | // Note that we bump the padding here, rather than padding inside the |
36 | 36 | // group so that ripples still reach to the edges of the panel. |
37 | 37 | .mat-mdc-optgroup &:not(.mat-mdc-option-multiple) { |
38 | | - padding-left: $mdc-list-side-padding * 2; |
| 38 | + padding-left: $mdc-list-deprecated-side-padding * 2; |
39 | 39 |
|
40 | 40 | [dir='rtl'] & { |
41 | | - padding-left: $mdc-list-side-padding; |
42 | | - padding-right: $mdc-list-side-padding * 2; |
| 41 | + padding-left: $mdc-list-deprecated-side-padding; |
| 42 | + padding-right: $mdc-list-deprecated-side-padding * 2; |
43 | 43 | } |
44 | 44 | } |
45 | 45 |
|
46 | 46 | .mat-pseudo-checkbox { |
47 | | - margin-right: $mdc-list-side-padding; |
| 47 | + margin-right: $mdc-list-deprecated-side-padding; |
48 | 48 |
|
49 | 49 | [dir='rtl'] & { |
50 | 50 | margin-right: 0; |
51 | | - margin-left: $mdc-list-side-padding; |
| 51 | + margin-left: $mdc-list-deprecated-side-padding; |
52 | 52 | } |
53 | 53 | } |
54 | 54 |
|
|
0 commit comments