mirror of
https://github.com/flarum/framework.git
synced 2024-11-29 04:33:47 +08:00
34 lines
532 B
Plaintext
34 lines
532 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(23px);
|
|
border: 1px solid @fl-body-bg;
|
|
background: @fl-body-muted-color;
|
|
color: #fff;
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
text-align: center;
|
|
box-shadow: 0 2px 6px @fl-shadow-color;
|
|
|
|
& .label {
|
|
display: none;
|
|
}
|
|
}
|