Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <markotto@twitter.com>2012-09-01 01:02:18 +0400
committerMark Otto <markotto@twitter.com>2012-09-01 01:02:18 +0400
commitbeb0b640967e69e50d1f813a99e8998e27787fdb (patch)
treef69819c32fce000fcbca705cb4e261b7697182c7
parentafd931262cfa1ba377eaa9f9174de1f5779f5445 (diff)
fixes #4889: btn-link disabled styles
-rw-r--r--docs/assets/css/bootstrap.css8
-rw-r--r--less/buttons.less7
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;
+}