mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-30 22:52:24 +01:00
Merge pull request #10695 from FredericoC/fix-nav-active-caret
Fixed issue where caret wouldn't inherit "active" li style on nav-pills
This commit is contained in:
commit
8a181a1388
@ -48,6 +48,11 @@
|
|||||||
&:focus {
|
&:focus {
|
||||||
background-color: @nav-link-hover-bg;
|
background-color: @nav-link-hover-bg;
|
||||||
border-color: @link-color;
|
border-color: @link-color;
|
||||||
|
|
||||||
|
.caret {
|
||||||
|
border-top-color: @link-hover-color;
|
||||||
|
border-bottom-color: @link-hover-color;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -133,6 +138,11 @@
|
|||||||
&:focus {
|
&:focus {
|
||||||
color: @nav-pills-active-link-hover-color;
|
color: @nav-pills-active-link-hover-color;
|
||||||
background-color: @nav-pills-active-link-hover-bg;
|
background-color: @nav-pills-active-link-hover-bg;
|
||||||
|
|
||||||
|
.caret {
|
||||||
|
border-top-color: @nav-pills-active-link-hover-color;
|
||||||
|
border-bottom-color: @nav-pills-active-link-hover-color;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user