Merge pull request #3554 from SergioCrisostomo/tabs-keyboard

Tabs keyboard navigation
This commit is contained in:
Aresn 2018-05-08 20:22:12 +08:00 committed by GitHub
commit acbd8b1792
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 95 additions and 9 deletions

View file

@ -39,6 +39,13 @@
.clearfix;
}
&-nav-container:focus {
outline: none;
.@{tabs-prefix-cls}-tab-focused {
border-color: @link-hover-color !important;
}
}
&-nav-container-scrolling {
padding-left: 32px;
padding-right: 32px;
@ -158,6 +165,7 @@
width: 100%;
transition: opacity .3s;
opacity: 1;
outline: none;
}
.@{tabs-prefix-cls}-tabpane-inactive {
@ -228,4 +236,4 @@
display: none;
}
}
}
}