pleroma/app/styles/gabsocial/components/emoji-reacts.scss

56 lines
759 B
SCSS
Raw Normal View History

2020-05-20 11:11:44 -07:00
.emoji-react {
display: inline-block;
transition: 0.1s;
&__emoji {
img {
width: 20px;
height: 20px;
filter: drop-shadow(2px 0 0 #fff); // FIXME: Use theme color
}
}
&__count {
display: none;
}
+ .emoji-react {
margin-right: -8px;
}
}
.emoji-reacts {
display: inline-flex;
flex-direction: row-reverse;
}
.status-interaction-bar {
margin-right: auto;
min-height: 20px;
}
2020-05-20 11:11:44 -07:00
.emoji-reacts-container {
display: inline-flex;
margin-right: auto;
2020-05-20 11:11:44 -07:00
&:hover {
.emoji-react {
margin: 0;
&__count {
display: inline;
}
}
.emoji-reacts__count {
display: none;
}
}
}
.emoji-reacts__count,
.emoji-react__count {
font-size: 12px;
font-weight: bold;
}