]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
fixes #4889: btn-link disabled styles
authorMark Otto <markotto@twitter.com>
Fri, 31 Aug 2012 21:02:18 +0000 (14:02 -0700)
committerMark Otto <markotto@twitter.com>
Fri, 31 Aug 2012 21:02:18 +0000 (14:02 -0700)
docs/assets/css/bootstrap.css
less/buttons.less

index b863b1266dd9add0fdf82c0d3eae2bf52e35cd46..0cced14a5e9e59dd28b39817cec5e148ef2e6884 100644 (file)
@@ -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;
index 08ece791c4770fc84100225e3bae48eefe52ff28..c80986ea7b3a997cf66fa9199e7a42baef5a41d3 100644 (file)
@@ -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;
+}