From 60826077e7384e548c44c26531e7ae94e12fbcf4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Cederstr=C3=B6m?= Date: Mon, 13 Feb 2012 09:41:28 +0100 Subject: Clean up inverse button using variables, adding button group examples. Also adding inverse inline label --- less/buttons.less | 4 ++-- less/labels.less | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'less') 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 -- cgit v1.2.3