aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2014-03-24 19:08:05 -0700
committerMark Otto <[email protected]>2014-03-24 19:08:05 -0700
commit21084192b642f7a7340a58c88025771ea281f48d (patch)
tree4f0621a190cf21f7ca67a3d553bab39909ee084a /less
parent0dfd7375c56ba7949701cdec4fd7e15ec00b661e (diff)
downloadbootstrap-21084192b642f7a7340a58c88025771ea281f48d.tar.xz
bootstrap-21084192b642f7a7340a58c88025771ea281f48d.zip
Fixes #13079: Scope .open class in button variant mixin to immediate children
Diffstat (limited to 'less')
-rw-r--r--less/mixins/buttons.less4
1 files changed, 2 insertions, 2 deletions
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,