From 50638530e61307f174950ef295235a6dbddec6b9 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 18 Aug 2012 16:30:47 -0700 Subject: fixes #4445: .btn-link shouldn't have a pressed button-like state at all, so nuking everything on :active as well --- less/buttons.less | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'less') diff --git a/less/buttons.less b/less/buttons.less index 204b1269e..e9ec87ec7 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; -- cgit v1.2.3