1
0
mirror of https://github.com/flarum/core.git synced 2025-08-10 18:35:56 +02:00

Add user group badges

This commit is contained in:
Toby Zerner
2015-05-06 11:25:19 +09:30
parent 447cf1bcb1
commit 7906bbd986
11 changed files with 78 additions and 43 deletions

View File

@@ -191,7 +191,7 @@
font-size: 15px;
}
& .badges {
& h3 .badges {
text-align: right;
white-space: nowrap;
@@ -337,7 +337,7 @@
.post-user {
position: relative;
& .badges {
& h3 .badges {
position: absolute;
top: -7px;
left: 5px;
@@ -381,7 +381,7 @@
}
}
.post-user {
& .badges {
& h3 .badges {
float: left;
margin-left: -85px;
margin-top: -3px;

View File

@@ -12,13 +12,13 @@
width: @size;
height: @size;
border-radius: @size / 2;
line-height: @size - 4px;
line-height: @size - 5px;
&, & .fa {
font-size: 0.6 * @size;
font-size: 0.56 * @size;
}
}
.badge {
.badge-size(23px);
.badge-size(25px);
border: 2px solid @fl-body-bg;
background: @fl-body-muted-color;
color: #fff;