44
44
box-shadow : none ;
45
45
}
46
46
47
- // Remove IE's default clear and reveal icons.
48
- & ::-ms-clear ,
49
- & ::-ms-reveal {
50
- display : none ;
51
- }
52
-
53
47
// Clear Safari's decorations for search fields.
54
48
& ,
55
49
& ::-webkit-search-cancel-button ,
100
94
// happen, however it's possible to do it when clicking on a disabled input (see #13479).
101
95
@include vendor-prefixes .user-select (none );
102
96
103
- & :-ms-input-placeholder {
104
- // fix IE11 not able to focus programmatically with css style -ms-user-select: none
105
- // see https://github.com/angular/components/issues/15093
106
- -ms-user-select : text ;
107
- }
108
-
109
97
// Delay the transition until the label has animated about a third of the way through, in
110
98
// order to prevent the placeholder from overlapping for a split second.
111
99
transition : color variables .$swift-ease-out-duration
@@ -169,10 +157,6 @@ select.mat-input-element {
169
157
top : -1em ;
170
158
margin-bottom : -1em ;
171
159
172
- & ::-ms-expand {
173
- display : none ;
174
- }
175
-
176
160
// The `outline: none` from `.mat-input-element` works on all browsers, however Firefox also
177
161
// adds a special `focus-inner` which we have to disable explicitly. See:
178
162
// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#Firefox
@@ -183,26 +167,6 @@ select.mat-input-element {
183
167
& :not (:disabled ) {
184
168
cursor : pointer ;
185
169
}
186
-
187
- // As a part of its user agent styling, IE11 has a blue box inside each focused
188
- // `select` element which we have to reset. Note that this needs to be in its own
189
- // selector, because having it together with another one will cause other browsers
190
- // to ignore it.
191
- & ::-ms-value {
192
- // We need to reset the `color` as well, because IE sets it to white.
193
- color : inherit ;
194
- background : none ;
195
-
196
- // IE and Edge in high contrast mode reset the color for a focused select to the same color
197
- // as the background, however this causes it blend in because we've reset the `background`
198
- // above. We have to add a more specific selector in order to ensure that it gets the
199
- // `color` from our theme instead.
200
- @include a11y .high-contrast (active , off) {
201
- .mat-focused & {
202
- color : inherit ;
203
- }
204
- }
205
- }
206
170
}
207
171
208
172
.mat-form-field-type-mat-native-select {
0 commit comments