mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-19 11:51:23 +02:00
fixes #4889: btn-link disabled styles
This commit is contained in:
8
docs/assets/css/bootstrap.css
vendored
8
docs/assets/css/bootstrap.css
vendored
@@ -3389,7 +3389,8 @@ input[type="submit"].btn.btn-mini {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.btn-link,
|
.btn-link,
|
||||||
.btn-link:active {
|
.btn-link:active,
|
||||||
|
.btn-link[disabled] {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
background-image: none;
|
background-image: none;
|
||||||
-webkit-box-shadow: none;
|
-webkit-box-shadow: none;
|
||||||
@@ -3412,6 +3413,11 @@ input[type="submit"].btn.btn-mini {
|
|||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.btn-link[disabled]:hover {
|
||||||
|
color: #333333;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
.btn-group {
|
.btn-group {
|
||||||
position: relative;
|
position: relative;
|
||||||
*margin-left: .3em;
|
*margin-left: .3em;
|
||||||
|
@@ -208,7 +208,8 @@ 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 {
|
.btn-link:active,
|
||||||
|
.btn-link[disabled] {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
background-image: none;
|
background-image: none;
|
||||||
.box-shadow(none);
|
.box-shadow(none);
|
||||||
@@ -224,3 +225,7 @@ input[type="submit"].btn {
|
|||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
|
.btn-link[disabled]:hover {
|
||||||
|
color: @grayDark;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user