Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Yeo <patrick.yeo@liferay.com>2017-05-30 21:36:59 +0300
committerMark Otto <markd.otto@gmail.com>2017-10-03 06:48:05 +0300
commit9ee2fbe5803ff77828d81365229684dd86450ecb (patch)
tree5b9b7fcb63b70d793cda70333498a5347844fee4 /scss/_nav.scss
parent864c657488e2ec292c45c2d49322987ba3d56b3a (diff)
Nav Pills with open dropdown don't reflect the nav-pills active state. The active state should also be reflected when using collapse plugin inside nav-pills.
Diffstat (limited to 'scss/_nav.scss')
-rw-r--r--scss/_nav.scss10
1 files changed, 5 insertions, 5 deletions
diff --git a/scss/_nav.scss b/scss/_nav.scss
index ed5d76b0c0..14e76c9acc 100644
--- a/scss/_nav.scss
+++ b/scss/_nav.scss
@@ -74,12 +74,12 @@
.nav-pills {
.nav-link {
@include border-radius($nav-pills-border-radius);
+ }
- &.active,
- .show > & {
- color: $nav-pills-link-active-color;
- background-color: $nav-pills-link-active-bg;
- }
+ .nav-link.active,
+ .show > .nav-link {
+ color: $nav-pills-link-active-color;
+ background-color: $nav-pills-link-active-bg;
}
}