Merge branch 'refactor/bot-badge' into 'develop'

Refactor bot badge

See merge request soapbox-pub/soapbox-fe!420
This commit is contained in:
Alex Gleason 2021-01-18 19:37:13 +00:00
commit 43854c0dc1
4 changed files with 12 additions and 21 deletions

View file

@ -177,23 +177,6 @@
}
}
.account-role {
display: inline-block;
padding: 4px 6px;
cursor: default;
border-radius: 3px;
font-size: 12px;
line-height: 12px;
font-weight: 500;
color: var(--primary-text-color);
background-color: hsla(var(--primary-text-color_hsl), 0.1);
border: 1px solid hsla(var(--primary-text-color_hsl), 0.5);
&.bot {
margin-left: 5px;
}
}
.account {
padding: 10px;
position: relative;

View file

@ -22,4 +22,16 @@
background-color: #048ba8;
color: #fff;
}
&--bot {
margin-left: 5px;
color: var(--primary-text-color);
background-color: hsla(var(--primary-text-color_hsl), 0.1);
border: 1px solid hsla(var(--primary-text-color_hsl), 0.5);
text-transform: none;
padding: 4px 6px;
vertical-align: top;
display: inline-block;
line-height: 12px;
}
}

View file

@ -40,10 +40,6 @@
&__name {
display: block;
.account-role {
vertical-align: top;
}
.emojione {
width: 22px;
height: 22px;