0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-17 09:52:29 +01:00

fixes #11126: remove box-shadow from open dropdown toggle with .btn-link

This commit is contained in:
Mark Otto 2013-10-20 17:59:15 -07:00
parent 6d5c5105fa
commit 23a85d6a7a
3 changed files with 11 additions and 1 deletions

View File

@ -3716,6 +3716,11 @@ input[type="button"].btn-block {
box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}
.btn-group.open .dropdown-toggle.btn-link {
-webkit-box-shadow: none;
box-shadow: none;
}
.btn .caret {
margin-left: 0;
}

File diff suppressed because one or more lines are too long

View File

@ -150,6 +150,11 @@
// Remove the gradient and set the same inset shadow as the :active state
.btn-group.open .dropdown-toggle {
.box-shadow(inset 0 3px 5px rgba(0,0,0,.125));
// Show no shadow for `.btn-link` since it has no other button styles.
&.btn-link {
.box-shadow(none);
}
}