2020-05-20 11:11:44 -07:00
|
|
|
.emoji-react {
|
2022-04-01 13:55:00 -07:00
|
|
|
@apply inline-block text-gray-900 dark:text-gray-300 no-underline;
|
2022-04-25 15:02:37 -07:00
|
|
|
transition: 0.2s;
|
2020-05-20 11:11:44 -07:00
|
|
|
|
|
|
|
&__emoji {
|
|
|
|
img {
|
2022-04-01 13:55:00 -07:00
|
|
|
@apply w-5 h-5;
|
2020-05-31 19:05:00 -07:00
|
|
|
filter: drop-shadow(2px 0 0 var(--foreground-color));
|
2020-05-20 11:11:44 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__count {
|
2022-04-01 13:55:00 -07:00
|
|
|
@apply hidden;
|
2020-05-20 11:11:44 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
+ .emoji-react {
|
2022-04-25 15:02:37 -07:00
|
|
|
@apply -mr-3;
|
2020-05-20 11:11:44 -07:00
|
|
|
}
|
2022-01-06 08:45:10 -08:00
|
|
|
|
|
|
|
&[type='button'] {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2020-05-20 11:11:44 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-reacts {
|
|
|
|
display: inline-flex;
|
|
|
|
flex-direction: row-reverse;
|
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-reacts-container {
|
|
|
|
display: inline-flex;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
.emoji-react {
|
|
|
|
margin: 0;
|
|
|
|
|
|
|
|
&__count {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-reacts__count {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-05-20 13:52:46 -07:00
|
|
|
.emoji-react-selector {
|
|
|
|
position: absolute;
|
|
|
|
display: flex;
|
2020-06-02 14:49:42 -07:00
|
|
|
background-color: var(--foreground-color);
|
2020-05-20 14:52:32 -07:00
|
|
|
padding: 5px 8px;
|
2020-05-20 13:52:46 -07:00
|
|
|
border-radius: 9999px;
|
|
|
|
box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.1);
|
|
|
|
opacity: 0;
|
|
|
|
pointer-events: none;
|
|
|
|
transition: 0.1s;
|
2020-05-22 19:34:07 -07:00
|
|
|
z-index: 999;
|
2020-05-20 13:52:46 -07:00
|
|
|
|
2021-07-18 03:53:17 -07:00
|
|
|
&--visible,
|
|
|
|
&--focused {
|
2020-05-23 15:02:14 -07:00
|
|
|
opacity: 1;
|
|
|
|
pointer-events: all;
|
|
|
|
}
|
|
|
|
|
2020-05-20 13:52:46 -07:00
|
|
|
&__emoji {
|
|
|
|
display: block;
|
2020-05-20 14:52:32 -07:00
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
2020-05-20 13:52:46 -07:00
|
|
|
border: 0;
|
|
|
|
background: transparent;
|
|
|
|
|
|
|
|
img {
|
2022-03-29 13:17:39 -07:00
|
|
|
width: 36px;
|
|
|
|
height: 36px;
|
2020-05-20 14:52:32 -07:00
|
|
|
padding: 3px;
|
|
|
|
transition: 0.1s;
|
|
|
|
}
|
|
|
|
|
2021-07-18 03:53:17 -07:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
2020-05-20 14:52:32 -07:00
|
|
|
img {
|
2021-09-23 16:45:55 -07:00
|
|
|
transform: scale(1.2);
|
2020-05-20 14:52:32 -07:00
|
|
|
}
|
2020-05-20 13:52:46 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-05-22 19:34:07 -07:00
|
|
|
.status .emoji-react-selector {
|
2020-05-23 10:18:13 -07:00
|
|
|
bottom: 100%;
|
2020-05-22 19:34:07 -07:00
|
|
|
left: -20px;
|
2020-05-23 10:18:13 -07:00
|
|
|
|
2020-10-11 14:23:19 -07:00
|
|
|
@media (max-width: 455px) {
|
2020-05-23 10:18:13 -07:00
|
|
|
bottom: 31px;
|
|
|
|
right: 10px;
|
|
|
|
left: auto;
|
|
|
|
}
|
2020-05-22 19:34:07 -07:00
|
|
|
}
|