From: syed Date: Fri, 19 Jul 2013 13:29:19 +0000 (+0500) Subject: move badges inline properties to variables.less X-Git-Tag: v3.0.0-rc1~114^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b37127e2fcb35ea992043c508231f9476302b653;p=thirdparty%2Fbootstrap.git move badges inline properties to variables.less --- diff --git a/less/badges.less b/less/badges.less index e1a2e9c5a6..825d31dbf3 100644 --- a/less/badges.less +++ b/less/badges.less @@ -10,7 +10,7 @@ padding: 3px 7px; font-size: @font-size-small; font-weight: bold; - color: #fff; + color: @badge-color; line-height: 1; vertical-align: middle; white-space: nowrap; @@ -28,7 +28,7 @@ a.badge { &:hover, &:focus { - color: #fff; + color: @badge-link-hover-color; text-decoration: none; cursor: pointer; } @@ -44,7 +44,7 @@ a.badge { a.list-group-item.active > .badge, .nav-pills > .active > a > .badge { color: @link-color; - background-color: #fff; + background-color: @active-badge-bg-color; } .nav-pills > li > a > .badge { margin-left: 3px; diff --git a/less/variables.less b/less/variables.less index 4cdb71da5c..7ea1042d17 100644 --- a/less/variables.less +++ b/less/variables.less @@ -14,6 +14,10 @@ @accordion-group-border-color: @color-1; +@active-badge-bg-color: @color-2; +@badge-link-hover-color: @color-2; +@badge-color: @color-2; + // Grays // -------------------------