1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-15 10:05:40 +02:00

Rename tags to badges in comments

This commit is contained in:
Quy
2016-12-26 09:56:22 -08:00
committed by Mark Otto
parent 7961886efe
commit 88a6b1c3d4

View File

@@ -15,13 +15,13 @@
vertical-align: baseline; vertical-align: baseline;
@include border-radius(); @include border-radius();
// Empty tags collapse automatically // Empty badges collapse automatically
&:empty { &:empty {
display: none; display: none;
} }
} }
// Quick fix for tags in buttons // Quick fix for badges in buttons
.btn .badge { .btn .badge {
position: relative; position: relative;
top: -1px; top: -1px;
@@ -38,7 +38,7 @@ a.badge {
} }
// scss-lint:enable QualifyingElement // scss-lint:enable QualifyingElement
// Pill tags // Pill badges
// //
// Make them extra rounded with a modifier to replace v3's badges. // Make them extra rounded with a modifier to replace v3's badges.
@@ -50,7 +50,7 @@ a.badge {
// Colors // Colors
// //
// Contextual variations (linked tags get darker on :hover). // Contextual variations (linked badges get darker on :hover).
.badge-default { .badge-default {
@include badge-variant($badge-default-bg); @include badge-variant($badge-default-bg);