We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1011e8 commit 1ba04ebCopy full SHA for 1ba04eb
src/lib/tabs/_tabs-common.scss
@@ -1,4 +1,5 @@
1
@import '../core/style/variables';
2
+@import '../../cdk/a11y/a11y';
3
4
$mat-tab-bar-height: 48px !default;
5
$mat-tab-animation-duration: 500ms !default;
@@ -46,13 +47,20 @@ $mat-tab-animation-duration: 500ms !default;
46
47
48
// Mixin styles for the ink bar that displays near the active tab in the header.
49
@mixin ink-bar {
50
+ $height: 2px;
51
+
52
position: absolute;
53
bottom: 0;
- height: 2px;
54
+ height: $height;
55
transition: $mat-tab-animation-duration $ease-in-out-curve-function;
56
57
.mat-tab-group-inverted-header & {
58
bottom: auto;
59
top: 0;
60
}
61
62
+ @include cdk-high-contrast {
63
+ outline: solid $height;
64
+ height: 0;
65
+ }
66
0 commit comments