mirror of
https://github.com/flarum/framework.git
synced 2024-11-29 04:33:47 +08:00
33 lines
490 B
Plaintext
33 lines
490 B
Plaintext
.badges {
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
|
|
&, & > li {
|
|
display: inline-block;
|
|
}
|
|
}
|
|
|
|
.badge-size(@size) {
|
|
width: @size;
|
|
height: @size;
|
|
border-radius: @size / 2;
|
|
line-height: @size - 5px;
|
|
&, & .fa {
|
|
font-size: 0.56 * @size;
|
|
}
|
|
}
|
|
.badge {
|
|
.badge-size(25px);
|
|
border: 2px solid @fl-body-bg;
|
|
background: @fl-body-muted-color;
|
|
color: #fff;
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
text-align: center;
|
|
|
|
& .label {
|
|
display: none;
|
|
}
|
|
}
|