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