aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-08-31 14:02:18 -0700
committerMark Otto <[email protected]>2012-08-31 14:02:18 -0700
commitbeb0b640967e69e50d1f813a99e8998e27787fdb (patch)
treef69819c32fce000fcbca705cb4e261b7697182c7
parentafd931262cfa1ba377eaa9f9174de1f5779f5445 (diff)
downloadbootstrap-beb0b640967e69e50d1f813a99e8998e27787fdb.tar.xz
bootstrap-beb0b640967e69e50d1f813a99e8998e27787fdb.zip
fixes #4889: btn-link disabled styles
-rw-r--r--docs/assets/css/bootstrap.css8
-rw-r--r--less/buttons.less7
2 files changed, 13 insertions, 2 deletions
diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css
index b863b1266..0cced14a5 100644
--- a/docs/assets/css/bootstrap.css
+++ b/docs/assets/css/bootstrap.css
@@ -3389,7 +3389,8 @@ input[type="submit"].btn.btn-mini {
}
.btn-link,
-.btn-link:active {
+.btn-link:active,
+.btn-link[disabled] {
background-color: transparent;
background-image: none;
-webkit-box-shadow: none;
@@ -3412,6 +3413,11 @@ input[type="submit"].btn.btn-mini {
background-color: transparent;
}
+.btn-link[disabled]:hover {
+ color: #333333;
+ text-decoration: none;
+}
+
.btn-group {
position: relative;
*margin-left: .3em;
diff --git a/less/buttons.less b/less/buttons.less
index 08ece791c..c80986ea7 100644
--- a/less/buttons.less
+++ b/less/buttons.less
@@ -208,7 +208,8 @@ input[type="submit"].btn {
// Make a button look and behave like a link
.btn-link,
-.btn-link:active {
+.btn-link:active,
+.btn-link[disabled] {
background-color: transparent;
background-image: none;
.box-shadow(none);
@@ -224,3 +225,7 @@ input[type="submit"].btn {
text-decoration: underline;
background-color: transparent;
}
+.btn-link[disabled]:hover {
+ color: @grayDark;
+ text-decoration: none;
+}