2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03:00

fixes #4445: .btn-link shouldn't have a pressed button-like state at all, so nuking everything on :active as well

This commit is contained in:
Mark Otto
2012-08-18 16:30:47 -07:00
parent 1ae194597c
commit 50638530e6
2 changed files with 16 additions and 9 deletions
+7 -4
View File
@@ -192,18 +192,21 @@ input[type="submit"].btn {
// --------------------------------------------------
// Make a button look and behave like a link
.btn-link {
.btn-link,
.btn-link:active {
background-color: transparent;
background-image: none;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}
.btn-link {
border-color: transparent;
cursor: pointer;
color: @linkColor;
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}
.btn-link:hover {
color: @linkColorHover;