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

View File

@ -3286,18 +3286,22 @@ input[type="submit"].btn.btn-mini {
*padding-bottom: 1px;
}
.btn-link,
.btn-link:active {
background-color: transparent;
background-image: none;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}
.btn-link {
color: #0088cc;
cursor: pointer;
background-color: transparent;
background-image: none;
border-color: transparent;
-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 {

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;