From 5429e71401a671450f0b81d5fc9b53a7baec477a Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Wed, 29 Oct 2014 10:27:18 -0700 Subject: fixes #14913: badges in list group shouldn't have text shadow --- less/theme.less | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'less/theme.less') diff --git a/less/theme.less b/less/theme.less index e5a4edb36..5a19d9242 100644 --- a/less/theme.less +++ b/less/theme.less @@ -218,6 +218,10 @@ text-shadow: 0 -1px 0 darken(@list-group-active-bg, 10%); #gradient > .vertical(@start-color: @list-group-active-bg; @end-color: darken(@list-group-active-bg, 7.5%)); border-color: darken(@list-group-active-border, 7.5%); + + .badge { + text-shadow: none; + } } -- cgit v1.2.3 From 0d851e8b8a39eb7f79a202ad20182676805e742d Mon Sep 17 00:00:00 2001 From: Heinrich Fenkart Date: Tue, 4 Nov 2014 23:46:44 +0100 Subject: Theme: Correctly override active dropdown items in collapsed navbars --- less/theme.less | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'less/theme.less') diff --git a/less/theme.less b/less/theme.less index 5a19d9242..a15d16ecd 100644 --- a/less/theme.less +++ b/less/theme.less @@ -151,6 +151,18 @@ border-radius: 0; } +// Fix active state of dropdown items in collapsed mode +@media (max-width: @grid-float-breakpoint-max) { + .navbar .navbar-nav .open .dropdown-menu > .active > a { + &, + &:hover, + &:focus { + color: #fff; + #gradient > .vertical(@start-color: @dropdown-link-active-bg; @end-color: darken(@dropdown-link-active-bg, 5%)); + } + } +} + // // Alerts -- cgit v1.2.3