From: Mark Otto Date: Sat, 18 Aug 2012 23:30:47 +0000 (-0700) Subject: fixes #4445: .btn-link shouldn't have a pressed button-like state at all, so nuking... X-Git-Tag: v2.1.0~2^2~30 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=50638530e61307f174950ef295235a6dbddec6b9;p=thirdparty%2Fbootstrap.git fixes #4445: .btn-link shouldn't have a pressed button-like state at all, so nuking everything on :active as well --- diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index f8f16bbf28..3af4a79459 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -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 { diff --git a/less/buttons.less b/less/buttons.less index 204b1269e1..e9ec87ec7d 100644 --- a/less/buttons.less +++ b/less/buttons.less @@ -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;