From 21084192b642f7a7340a58c88025771ea281f48d Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 24 Mar 2014 19:08:05 -0700 Subject: Fixes #13079: Scope .open class in button variant mixin to immediate children --- less/mixins/buttons.less | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'less') diff --git a/less/mixins/buttons.less b/less/mixins/buttons.less index d7f7cd97a..409f8f20a 100644 --- a/less/mixins/buttons.less +++ b/less/mixins/buttons.less @@ -12,14 +12,14 @@ &:focus, &:active, &.active, - .open .dropdown-toggle& { + .open > .dropdown-toggle& { color: @color; background-color: darken(@background, 10%); border-color: darken(@border, 12%); } &:active, &.active, - .open .dropdown-toggle& { + .open > .dropdown-toggle& { background-image: none; } &.disabled, -- cgit v1.2.3