mirror of
https://github.com/twbs/bootstrap.git
synced 2025-04-06 23:57:36 +02: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:
parent
1ae194597c
commit
50638530e6
14
docs/assets/css/bootstrap.css
vendored
14
docs/assets/css/bootstrap.css
vendored
@ -3286,18 +3286,22 @@ input[type="submit"].btn.btn-mini {
|
|||||||
*padding-bottom: 1px;
|
*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 {
|
.btn-link {
|
||||||
color: #0088cc;
|
color: #0088cc;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
background-color: transparent;
|
|
||||||
background-image: none;
|
|
||||||
border-color: transparent;
|
border-color: transparent;
|
||||||
-webkit-border-radius: 0;
|
-webkit-border-radius: 0;
|
||||||
-moz-border-radius: 0;
|
-moz-border-radius: 0;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
-webkit-box-shadow: none;
|
|
||||||
-moz-box-shadow: none;
|
|
||||||
box-shadow: none;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-link:hover {
|
.btn-link:hover {
|
||||||
|
@ -192,18 +192,21 @@ input[type="submit"].btn {
|
|||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
// Make a button look and behave like a link
|
// Make a button look and behave like a link
|
||||||
.btn-link {
|
.btn-link,
|
||||||
|
.btn-link:active {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
background-image: none;
|
background-image: none;
|
||||||
|
-webkit-box-shadow: none;
|
||||||
|
-moz-box-shadow: none;
|
||||||
|
box-shadow: none;
|
||||||
|
}
|
||||||
|
.btn-link {
|
||||||
border-color: transparent;
|
border-color: transparent;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
color: @linkColor;
|
color: @linkColor;
|
||||||
-webkit-border-radius: 0;
|
-webkit-border-radius: 0;
|
||||||
-moz-border-radius: 0;
|
-moz-border-radius: 0;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
-webkit-box-shadow: none;
|
|
||||||
-moz-box-shadow: none;
|
|
||||||
box-shadow: none;
|
|
||||||
}
|
}
|
||||||
.btn-link:hover {
|
.btn-link:hover {
|
||||||
color: @linkColorHover;
|
color: @linkColorHover;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user