2018-01-14 09:12:10 +09:00
|
|
|
.emojione {
|
|
|
|
font-size: inherit;
|
|
|
|
vertical-align: middle;
|
|
|
|
object-fit: contain;
|
2023-02-13 12:57:03 +09:00
|
|
|
margin: -0.2ex 0.15em 0.2ex;
|
2018-01-14 09:12:10 +09:00
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
|
|
|
|
img {
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-picker-dropdown__menu {
|
|
|
|
background: $simple-background-color;
|
2023-01-13 00:43:02 +09:00
|
|
|
position: relative;
|
2023-07-24 00:55:13 +09:00
|
|
|
box-shadow: var(--dropdown-shadow);
|
2018-01-14 09:12:10 +09:00
|
|
|
border-radius: 4px;
|
|
|
|
margin-top: 5px;
|
2019-05-23 01:00:34 +09:00
|
|
|
z-index: 2;
|
2018-01-14 09:12:10 +09:00
|
|
|
|
|
|
|
.emoji-mart-scroll {
|
|
|
|
transition: opacity 200ms ease;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.selecting .emoji-mart-scroll {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-picker-dropdown__modifiers {
|
|
|
|
position: absolute;
|
|
|
|
top: 60px;
|
2023-04-17 00:45:18 +09:00
|
|
|
inset-inline-end: 11px;
|
2018-01-14 09:12:10 +09:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-picker-dropdown__modifiers__menu {
|
|
|
|
position: absolute;
|
|
|
|
z-index: 4;
|
|
|
|
top: -4px;
|
2023-04-17 00:45:18 +09:00
|
|
|
inset-inline-start: -8px;
|
2018-01-14 09:12:10 +09:00
|
|
|
background: $simple-background-color;
|
|
|
|
border-radius: 4px;
|
|
|
|
box-shadow: 1px 2px 6px rgba($base-shadow-color, 0.2);
|
|
|
|
overflow: hidden;
|
|
|
|
|
2019-03-27 22:04:52 +09:00
|
|
|
button {
|
2018-01-14 09:12:10 +09:00
|
|
|
display: block;
|
|
|
|
cursor: pointer;
|
|
|
|
border: 0;
|
2019-03-27 22:04:52 +09:00
|
|
|
padding: 4px 8px;
|
2018-01-14 09:12:10 +09:00
|
|
|
background: transparent;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
|
|
|
background: rgba($ui-secondary-color, 0.4);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-mart-emoji {
|
|
|
|
height: 22px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-mart-emoji {
|
|
|
|
span {
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-button {
|
|
|
|
display: block;
|
2023-04-17 00:45:18 +09:00
|
|
|
padding-top: 5px;
|
|
|
|
padding-bottom: 2px;
|
|
|
|
padding-inline-start: 2px;
|
|
|
|
padding-inline-end: 5px;
|
2018-01-14 09:12:10 +09:00
|
|
|
outline: 0;
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
img {
|
|
|
|
filter: grayscale(100%);
|
|
|
|
opacity: 0.8;
|
|
|
|
display: block;
|
|
|
|
margin: 0;
|
|
|
|
width: 22px;
|
|
|
|
height: 22px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:active,
|
|
|
|
&:focus {
|
|
|
|
img {
|
|
|
|
opacity: 1;
|
|
|
|
filter: none;
|
2023-07-21 20:20:14 +09:00
|
|
|
border-radius: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-07-24 00:55:13 +09:00
|
|
|
&:focus-visible {
|
2023-07-21 20:20:14 +09:00
|
|
|
img {
|
|
|
|
outline: $ui-button-icon-focus-outline;
|
2018-01-14 09:12:10 +09:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|