mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-26 14:54:27 +02:00
Drop .label component. Instead, just use .badge because fuck dupe code and stuff.
This commit is contained in:
24
docs/assets/css/bootstrap.css
vendored
24
docs/assets/css/bootstrap.css
vendored
@@ -4521,7 +4521,6 @@ a.thumbnail:hover {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.label,
|
||||
.badge {
|
||||
display: inline-block;
|
||||
padding: 2px 4px;
|
||||
@@ -4533,87 +4532,64 @@ a.thumbnail:hover {
|
||||
white-space: nowrap;
|
||||
vertical-align: baseline;
|
||||
background-color: #999999;
|
||||
}
|
||||
|
||||
.label {
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.badge {
|
||||
padding-right: 9px;
|
||||
padding-left: 9px;
|
||||
border-radius: 9px;
|
||||
}
|
||||
|
||||
.label:empty,
|
||||
.badge:empty {
|
||||
display: none;
|
||||
}
|
||||
|
||||
a.label:hover,
|
||||
a.badge:hover {
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.label-danger,
|
||||
.badge-danger {
|
||||
background-color: #b94a48;
|
||||
}
|
||||
|
||||
.label-danger[href],
|
||||
.badge-danger[href] {
|
||||
background-color: #953b39;
|
||||
}
|
||||
|
||||
.label-warning,
|
||||
.badge-warning {
|
||||
background-color: #f89406;
|
||||
}
|
||||
|
||||
.label-warning[href],
|
||||
.badge-warning[href] {
|
||||
background-color: #c67605;
|
||||
}
|
||||
|
||||
.label-success,
|
||||
.badge-success {
|
||||
background-color: #468847;
|
||||
}
|
||||
|
||||
.label-success[href],
|
||||
.badge-success[href] {
|
||||
background-color: #356635;
|
||||
}
|
||||
|
||||
.label-info,
|
||||
.badge-info {
|
||||
background-color: #3a87ad;
|
||||
}
|
||||
|
||||
.label-info[href],
|
||||
.badge-info[href] {
|
||||
background-color: #2d6987;
|
||||
}
|
||||
|
||||
.label-inverse,
|
||||
.badge-inverse {
|
||||
background-color: #333333;
|
||||
}
|
||||
|
||||
.label-inverse[href],
|
||||
.badge-inverse[href] {
|
||||
background-color: #1a1a1a;
|
||||
}
|
||||
|
||||
.btn .label,
|
||||
.btn .badge {
|
||||
position: relative;
|
||||
top: -1px;
|
||||
}
|
||||
|
||||
.btn-mini .label,
|
||||
.btn-mini .badge {
|
||||
top: 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user