From beb0b640967e69e50d1f813a99e8998e27787fdb Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Fri, 31 Aug 2012 14:02:18 -0700 Subject: fixes #4889: btn-link disabled styles --- docs/assets/css/bootstrap.css | 8 +++++++- less/buttons.less | 7 ++++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index b863b1266d..0cced14a5e 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -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; diff --git a/less/buttons.less b/less/buttons.less index 08ece791c4..c80986ea7b 100644 --- a/less/buttons.less +++ b/less/buttons.less @@ -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; +} -- cgit v1.2.3