diff options
| author | syed <[email protected]> | 2013-07-19 18:29:19 +0500 |
|---|---|---|
| committer | syed <[email protected]> | 2013-07-19 18:29:19 +0500 |
| commit | b37127e2fcb35ea992043c508231f9476302b653 (patch) | |
| tree | 9f6c9ee2a7a08d21964e84aab563d56b94e8d05b | |
| parent | 95be924926aff0bc80589eefa2660ebc673ff2fb (diff) | |
| download | bootstrap-b37127e2fcb35ea992043c508231f9476302b653.tar.xz bootstrap-b37127e2fcb35ea992043c508231f9476302b653.zip | |
move badges inline properties to variables.less
| -rw-r--r-- | less/badges.less | 6 | ||||
| -rw-r--r-- | less/variables.less | 4 |
2 files changed, 7 insertions, 3 deletions
diff --git a/less/badges.less b/less/badges.less index e1a2e9c5a..825d31dbf 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 4cdb71da5..7ea1042d1 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 // ------------------------- |
