diff options
| author | Mark Otto <[email protected]> | 2012-08-18 16:30:47 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-08-18 16:30:47 -0700 |
| commit | 50638530e61307f174950ef295235a6dbddec6b9 (patch) | |
| tree | b8c404d87537e0be578c45639f20ca48755c4efa /less | |
| parent | 1ae194597c3d0a9608803f9edbd05bc50b4844af (diff) | |
| download | bootstrap-50638530e61307f174950ef295235a6dbddec6b9.tar.xz bootstrap-50638530e61307f174950ef295235a6dbddec6b9.zip | |
fixes #4445: .btn-link shouldn't have a pressed button-like state at all, so nuking everything on :active as well
Diffstat (limited to 'less')
| -rw-r--r-- | less/buttons.less | 11 |
1 files changed, 7 insertions, 4 deletions
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; |
