Support :focus for new tab info in dropdown menus
This commit is contained in:
parent
9a5e69a8ec
commit
672e8359e4
|
@ -77,12 +77,10 @@
|
|||
width: 14em;
|
||||
}
|
||||
|
||||
.tabs > .dropdown-nav-item > ul > li:hover {
|
||||
> a {
|
||||
.tabs > .dropdown-nav-item > ul > li:hover > a {
|
||||
background-color: @gray-lighter;
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
|
||||
// Dropdown tabs after the fourth title should be right-aligned
|
||||
.tabs > li:nth-child(n+5).dropdown-nav-item > ul {
|
||||
|
@ -96,12 +94,9 @@
|
|||
font-size: @font-size-small;
|
||||
left: -999em;
|
||||
position: relative;
|
||||
|
||||
&:focus {
|
||||
position: static;
|
||||
}
|
||||
}
|
||||
|
||||
li:hover > a > .display-on-hover {
|
||||
.dropdown-nav-item > ul > li > a:focus > .display-on-hover,
|
||||
.dropdown-nav-item > ul > li:hover > a > .display-on-hover {
|
||||
position: static;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue