_a11y.scss (material2-7.3.2) | : | _a11y.scss (material2-7.3.3) | ||
---|---|---|---|---|
skipping to change at line 21 | skipping to change at line 21 | |||
// Avoid browsers rendering the focus ring in some cases. | // Avoid browsers rendering the focus ring in some cases. | |||
outline: 0; | outline: 0; | |||
// Avoid some cases where the browser will still render the native controls (see #9049). | // Avoid some cases where the browser will still render the native controls (see #9049). | |||
-webkit-appearance: none; | -webkit-appearance: none; | |||
-moz-appearance: none; | -moz-appearance: none; | |||
} | } | |||
} | } | |||
/** | // Applies styles for users in high contrast mode. Note that this only applies | |||
* Applies styles for users in high contrast mode. Note that this only applies | // to Microsoft browsers. Chrome can be included by checking for the `html[hc]` | |||
* to Microsoft browsers. Chrome can be included by checking for the `html[hc]` | // attribute, however Chrome handles high contrast differently. | |||
* attribute, however Chrome handles high contrast differently. | // | |||
* @param target Which kind of high contrast setting to target. Defaults to `act | // @param target Which kind of high contrast setting to target. Defaults to `act | |||
ive`, can be | ive`, can be | |||
* `white-on-black` or `black-on-white`. | // `white-on-black` or `black-on-white`. | |||
*/ | ||||
@mixin cdk-high-contrast($target: active) { | @mixin cdk-high-contrast($target: active) { | |||
@media (-ms-high-contrast: $target) { | @media (-ms-high-contrast: $target) { | |||
@content; | @content; | |||
} | } | |||
} | } | |||
End of changes. 1 change blocks. | ||||
8 lines changed or deleted | 7 lines changed or added |