mirror of
https://github.com/flarum/core.git
synced 2025-08-08 17:36:38 +02:00
Clean up LESS files
This commit is contained in:
32
less/lib/badges.less
Normal file
32
less/lib/badges.less
Normal file
@@ -0,0 +1,32 @@
|
||||
.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 - 4px;
|
||||
&, & .fa {
|
||||
font-size: 0.6 * @size;
|
||||
}
|
||||
}
|
||||
.badge {
|
||||
.badge-size(23px);
|
||||
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;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user