mirror of
https://github.com/papercss/papercss
synced 2024-06-27 18:00:00 +02:00
35 lines
529 B
Plaintext
35 lines
529 B
Plaintext
.badge {
|
|
.border;
|
|
|
|
display: inline-block;
|
|
padding: .25em .4em;
|
|
font-size: 75%;
|
|
font-weight: 700;
|
|
line-height: 1;
|
|
text-align: center;
|
|
white-space: nowrap;
|
|
vertical-align: baseline;
|
|
background-color: @muted;
|
|
color: white;
|
|
border-color: transparent;
|
|
|
|
&.primary {
|
|
background-color: @primary;
|
|
}
|
|
|
|
&.secondary {
|
|
background-color: @secondary;
|
|
}
|
|
|
|
&.success {
|
|
background-color: @success;
|
|
}
|
|
|
|
&.warning {
|
|
background-color: @warning;
|
|
}
|
|
|
|
&.danger {
|
|
background-color: @danger;
|
|
}
|
|
} |