aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorAndreas Cederström <[email protected]>2012-02-13 09:41:28 +0100
committerAndreas Cederström <[email protected]>2012-02-13 09:41:28 +0100
commit60826077e7384e548c44c26531e7ae94e12fbcf4 (patch)
treec41ec3baf289dac09de31dfc89132fc5d52fa94f /less
parentda948508447de169ab05c10a5f0a64bcb6a8aeb6 (diff)
downloadbootstrap-60826077e7384e548c44c26531e7ae94e12fbcf4.tar.xz
bootstrap-60826077e7384e548c44c26531e7ae94e12fbcf4.zip
Clean up inverse button using variables, adding button group examples. Also adding inverse inline label
Diffstat (limited to 'less')
-rw-r--r--less/buttons.less4
-rw-r--r--less/labels.less3
2 files changed, 5 insertions, 2 deletions
diff --git a/less/buttons.less b/less/buttons.less
index 292e04626..ab372f0b0 100644
--- a/less/buttons.less
+++ b/less/buttons.less
@@ -119,7 +119,7 @@
.btn-danger.active,
.btn-success.active,
.btn-info.active,
-.btn-dark.active {
+.btn-inverse.active {
color: rgba(255,255,255,.75);
}
@@ -146,7 +146,7 @@
}
// Inverse appears as dark gray
.btn-inverse {
- .buttonBackground(#454545, #262626);
+ .buttonBackground(@gray, @grayDarker);
}
diff --git a/less/labels.less b/less/labels.less
index 268435a0b..ae6b00e02 100644
--- a/less/labels.less
+++ b/less/labels.less
@@ -30,3 +30,6 @@
.label-info { background-color: @infoText; }
.label-info:hover { background-color: darken(@infoText, 10%); }
+
+.label-inverse { background-color: @grayDark; }
+.label-inverse:hover { background-color: darken(@grayDark, 10%); } \ No newline at end of file