From ba1745e045a69957a046cf046e29f7bcf6e85ffd Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 24 Mar 2014 19:08:05 -0700 Subject: [PATCH] (less) Fixes #13079: Scope .open class in button variant mixin to immediate children --- mixins/buttons.less | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mixins/buttons.less b/mixins/buttons.less index d7f7cd97a228..409f8f20a414 100644 --- a/mixins/buttons.less +++ b/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,