aboutsummaryrefslogtreecommitdiff
path: root/less/theme.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-10-13 19:57:14 -0700
committerMark Otto <[email protected]>2013-10-13 19:57:14 -0700
commitf946ff5d254d0d8383200101f19b64bcd8ba2c58 (patch)
treefc63600e7b5222bc84d793e4b4c8cb7908443e5f /less/theme.less
parentf660bd42052949124a2c3342dadcdb12fd979f02 (diff)
downloadbootstrap-f946ff5d254d0d8383200101f19b64bcd8ba2c58.tar.xz
bootstrap-f946ff5d254d0d8383200101f19b64bcd8ba2c58.zip
fix #10257
Diffstat (limited to 'less/theme.less')
-rw-r--r--less/theme.less2
1 files changed, 2 insertions, 0 deletions
diff --git a/less/theme.less b/less/theme.less
index b510b7a8d..38e5e7f84 100644
--- a/less/theme.less
+++ b/less/theme.less
@@ -104,6 +104,7 @@
// Default navbar
.navbar-default {
#gradient > .vertical(@start-color: lighten(@navbar-default-bg, 10%); @end-color: @navbar-default-bg);
+ .reset-filter(); // Remove gradient in IE<10 to fix bug where dropdowns don't get triggered
border-radius: @navbar-border-radius;
@shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 5px rgba(0,0,0,.075);
.box-shadow(@shadow);
@@ -121,6 +122,7 @@
// Inverted navbar
.navbar-inverse {
#gradient > .vertical(@start-color: lighten(@navbar-inverse-bg, 10%); @end-color: @navbar-inverse-bg);
+ .reset-filter(); // Remove gradient in IE<10 to fix bug where dropdowns don't get triggered
.navbar-nav > .active > a {
#gradient > .vertical(@start-color: @navbar-inverse-bg; @end-color: lighten(@navbar-inverse-bg, 2.5%));