aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-08-15 16:17:44 -0700
committerMark Otto <[email protected]>2013-08-15 16:17:44 -0700
commit7cd35f0cb6d17d6117264f71f175a9e5b0b09580 (patch)
tree73f50083862b2ccfeb862e2747df78d5fd4af56e /less
parent7ab52272d70ea78d0a68316d9572eee927587f5c (diff)
downloadbootstrap-7cd35f0cb6d17d6117264f71f175a9e5b0b09580.tar.xz
bootstrap-7cd35f0cb6d17d6117264f71f175a9e5b0b09580.zip
nuke bg image on active/open for buttons for when we add gradients
Diffstat (limited to 'less')
-rw-r--r--less/buttons.less1
-rw-r--r--less/mixins.less6
2 files changed, 6 insertions, 1 deletions
diff --git a/less/buttons.less b/less/buttons.less
index 7b8692cee..9cd6f7354 100644
--- a/less/buttons.less
+++ b/less/buttons.less
@@ -35,6 +35,7 @@
&:active,
&.active {
outline: 0;
+ background-image: none;
.box-shadow(inset 0 3px 5px rgba(0,0,0,.125));
}
diff --git a/less/mixins.less b/less/mixins.less
index f717b9269..497dbf201 100644
--- a/less/mixins.less
+++ b/less/mixins.less
@@ -418,7 +418,11 @@
background-color: darken(@background, 8%);
border-color: darken(@border, 12%);
}
-
+ &:active,
+ &.active,
+ .open .dropdown-toggle& {
+ background-image: none;
+ }
&.disabled,
&[disabled],
fieldset[disabled] & {