mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-30 23:49:04 +01:00
f28942cef9
Portbabd86e594
and45848d6547
to glitch-soc Signed-off-by: Plastikmensch <plastikmensch@users.noreply.github.com>
104 lines
1.6 KiB
SCSS
104 lines
1.6 KiB
SCSS
.emojione {
|
|
font-size: inherit;
|
|
vertical-align: middle;
|
|
object-fit: contain;
|
|
margin: -0.2ex 0.15em 0.2ex;
|
|
width: 16px;
|
|
height: 16px;
|
|
|
|
img {
|
|
width: auto;
|
|
}
|
|
}
|
|
|
|
.emoji-picker-dropdown__menu {
|
|
background: $simple-background-color;
|
|
position: relative;
|
|
box-shadow: 4px 4px 6px rgba($base-shadow-color, 0.4);
|
|
border-radius: 4px;
|
|
margin-top: 5px;
|
|
z-index: 2;
|
|
|
|
.emoji-mart-scroll {
|
|
transition: opacity 200ms ease;
|
|
}
|
|
|
|
&.selecting .emoji-mart-scroll {
|
|
opacity: 0.5;
|
|
}
|
|
}
|
|
|
|
.emoji-picker-dropdown__modifiers {
|
|
position: absolute;
|
|
top: 60px;
|
|
inset-inline-end: 11px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.emoji-picker-dropdown__modifiers__menu {
|
|
position: absolute;
|
|
z-index: 4;
|
|
top: -4px;
|
|
inset-inline-start: -8px;
|
|
background: $simple-background-color;
|
|
border-radius: 4px;
|
|
box-shadow: 1px 2px 6px rgba($base-shadow-color, 0.2);
|
|
overflow: hidden;
|
|
|
|
button {
|
|
display: block;
|
|
cursor: pointer;
|
|
border: 0;
|
|
padding: 4px 8px;
|
|
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;
|
|
padding-top: 5px;
|
|
padding-bottom: 2px;
|
|
padding-inline-start: 2px;
|
|
padding-inline-end: 5px;
|
|
outline: 0;
|
|
cursor: pointer;
|
|
|
|
&:active,
|
|
&:focus {
|
|
outline: 0 !important;
|
|
}
|
|
|
|
img {
|
|
filter: grayscale(100%);
|
|
opacity: 0.8;
|
|
display: block;
|
|
margin: 0;
|
|
width: 22px;
|
|
height: 22px;
|
|
}
|
|
|
|
&:hover,
|
|
&:active,
|
|
&:focus {
|
|
img {
|
|
opacity: 1;
|
|
filter: none;
|
|
}
|
|
}
|
|
}
|