]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
fixes #4445: .btn-link shouldn't have a pressed button-like state at all, so nuking...
authorMark Otto <markotto@twitter.com>
Sat, 18 Aug 2012 23:30:47 +0000 (16:30 -0700)
committerMark Otto <markotto@twitter.com>
Sat, 18 Aug 2012 23:30:47 +0000 (16:30 -0700)
docs/assets/css/bootstrap.css
less/buttons.less

index f8f16bbf28d7924bcca539c3cf444bf8e6591b9c..3af4a794597ad235f502558874124cf2fd6d9dc8 100644 (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 {
index 204b1269e1774e04d494ac96328122f79f883ff9..e9ec87ec7dbfa28d312cf7da89889061e878515c 100644 (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;