2019-08-12 21:20:08 +10:00
|
|
|
@import '../../_variables.scss';
|
|
|
|
|
|
|
|
.emoji-picker {
|
2019-08-13 03:01:38 +10:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2019-08-12 21:20:08 +10:00
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
2019-08-13 03:01:38 +10:00
|
|
|
left: 0;
|
2019-08-12 21:20:08 +10:00
|
|
|
margin: 0 !important;
|
2019-08-13 03:01:38 +10:00
|
|
|
z-index: 1;
|
2020-01-24 09:36:32 +11:00
|
|
|
background-color: $fallback--bg;
|
|
|
|
background-color: var(--popover, $fallback--bg);
|
|
|
|
color: $fallback--link;
|
|
|
|
color: var(--popoverText, $fallback--link);
|
|
|
|
--lightText: var(--popoverLightText, $fallback--faint);
|
|
|
|
--faint: var(--popoverFaintText, $fallback--faint);
|
|
|
|
--faintLink: var(--popoverFaintLink, $fallback--faint);
|
|
|
|
--lightText: var(--popoverLightText, $fallback--lightText);
|
|
|
|
--icon: var(--popoverIcon, $fallback--icon);
|
2019-08-12 21:20:08 +10:00
|
|
|
|
2019-10-08 07:46:40 +11:00
|
|
|
.keep-open,
|
|
|
|
.too-many-emoji {
|
2019-09-08 22:51:17 +10:00
|
|
|
padding: 7px;
|
|
|
|
line-height: normal;
|
|
|
|
}
|
2019-10-08 07:46:40 +11:00
|
|
|
|
|
|
|
.too-many-emoji {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
2019-09-24 03:29:01 +10:00
|
|
|
.keep-open-label {
|
2019-09-15 19:09:19 +10:00
|
|
|
padding: 0 7px;
|
|
|
|
display: flex;
|
2019-09-08 22:51:17 +10:00
|
|
|
}
|
|
|
|
|
|
|
|
.heading {
|
|
|
|
display: flex;
|
|
|
|
height: 32px;
|
|
|
|
padding: 10px 7px 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.content {
|
2019-08-13 03:01:38 +10:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2019-10-08 07:46:40 +11:00
|
|
|
flex: 1 1 auto;
|
2019-08-13 03:01:38 +10:00
|
|
|
min-height: 0px;
|
|
|
|
}
|
|
|
|
|
2019-09-08 22:51:17 +10:00
|
|
|
.emoji-tabs {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
2019-10-08 07:46:40 +11:00
|
|
|
.emoji-groups {
|
|
|
|
min-height: 200px;
|
|
|
|
}
|
|
|
|
|
2019-08-13 03:01:38 +10:00
|
|
|
.additional-tabs {
|
|
|
|
border-left: 1px solid;
|
|
|
|
border-left-color: $fallback--icon;
|
|
|
|
border-left-color: var(--icon, $fallback--icon);
|
2019-09-08 22:51:17 +10:00
|
|
|
padding-left: 7px;
|
2019-10-08 07:46:40 +11:00
|
|
|
flex: 0 0 auto;
|
2019-08-13 03:01:38 +10:00
|
|
|
}
|
|
|
|
|
|
|
|
.additional-tabs,
|
|
|
|
.emoji-tabs {
|
2019-09-08 22:51:17 +10:00
|
|
|
display: block;
|
|
|
|
min-width: 0;
|
|
|
|
flex-basis: auto;
|
|
|
|
flex-shrink: 1;
|
|
|
|
|
2019-08-13 03:01:38 +10:00
|
|
|
&-item {
|
2019-09-08 22:51:17 +10:00
|
|
|
padding: 0 7px;
|
2019-08-13 03:01:38 +10:00
|
|
|
cursor: pointer;
|
|
|
|
font-size: 24px;
|
2019-08-12 21:20:08 +10:00
|
|
|
|
2019-08-13 03:01:38 +10:00
|
|
|
&.disabled {
|
|
|
|
opacity: 0.5;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
&.active {
|
|
|
|
border-bottom: 4px solid;
|
2019-08-12 21:20:08 +10:00
|
|
|
|
2019-08-13 03:01:38 +10:00
|
|
|
i {
|
|
|
|
color: $fallback--lightText;
|
|
|
|
color: var(--lightText, $fallback--lightText);
|
2019-08-12 21:20:08 +10:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-08-13 03:01:38 +10:00
|
|
|
}
|
2019-08-12 21:20:08 +10:00
|
|
|
|
2019-08-13 03:01:38 +10:00
|
|
|
.sticker-picker {
|
2019-10-08 07:46:40 +11:00
|
|
|
flex: 1 1 auto
|
2019-08-13 03:01:38 +10:00
|
|
|
}
|
|
|
|
|
|
|
|
.stickers,
|
|
|
|
.emoji {
|
2019-08-12 21:20:08 +10:00
|
|
|
&-content {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2019-10-08 07:46:40 +11:00
|
|
|
flex: 1 1 auto;
|
2019-08-13 03:01:38 +10:00
|
|
|
min-height: 0;
|
|
|
|
|
|
|
|
&.hidden {
|
2019-09-08 22:57:49 +10:00
|
|
|
opacity: 0;
|
|
|
|
pointer-events: none;
|
|
|
|
position: absolute;
|
2019-08-13 03:01:38 +10:00
|
|
|
}
|
2019-08-12 21:20:08 +10:00
|
|
|
}
|
2019-08-13 03:01:38 +10:00
|
|
|
}
|
2019-08-12 21:20:08 +10:00
|
|
|
|
2019-08-13 03:01:38 +10:00
|
|
|
.emoji {
|
2019-08-12 21:20:08 +10:00
|
|
|
&-search {
|
|
|
|
padding: 5px;
|
2019-10-08 07:46:40 +11:00
|
|
|
flex: 0 0 auto;
|
2019-08-12 21:20:08 +10:00
|
|
|
|
|
|
|
input {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-groups {
|
|
|
|
flex: 1 1 1px;
|
|
|
|
position: relative;
|
|
|
|
overflow: auto;
|
2019-09-15 19:09:19 +10:00
|
|
|
user-select: none;
|
2019-09-15 08:16:54 +10:00
|
|
|
mask: linear-gradient(to top, white 0, transparent 100%) bottom no-repeat,
|
|
|
|
linear-gradient(to bottom, white 0, transparent 100%) top no-repeat,
|
|
|
|
linear-gradient(to top, white, white);
|
|
|
|
transition: mask-size 150ms;
|
|
|
|
mask-size: 100% 20px, 100% 20px, auto;
|
|
|
|
// Autoprefixed seem to ignore this one, and also syntax is different
|
|
|
|
-webkit-mask-composite: xor;
|
|
|
|
mask-composite: exclude;
|
|
|
|
&.scrolled {
|
|
|
|
&-top {
|
|
|
|
mask-size: 100% 20px, 100% 0, auto;
|
|
|
|
}
|
|
|
|
&-bottom {
|
|
|
|
mask-size: 100% 0, 100% 20px, auto;
|
|
|
|
}
|
|
|
|
}
|
2019-08-12 21:20:08 +10:00
|
|
|
}
|
|
|
|
|
|
|
|
&-group {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
flex-wrap: wrap;
|
2019-08-13 03:01:38 +10:00
|
|
|
padding-left: 5px;
|
|
|
|
justify-content: left;
|
2019-08-12 21:20:08 +10:00
|
|
|
|
|
|
|
&-title {
|
|
|
|
font-size: 12px;
|
|
|
|
width: 100%;
|
|
|
|
margin: 0;
|
2019-08-13 03:01:38 +10:00
|
|
|
&.disabled {
|
|
|
|
display: none;
|
|
|
|
}
|
2019-08-12 21:20:08 +10:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-item {
|
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
display: flex;
|
|
|
|
font-size: 32px;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2019-08-13 03:01:38 +10:00
|
|
|
margin: 4px;
|
2019-08-12 21:20:08 +10:00
|
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
img {
|
2019-09-09 00:11:45 +10:00
|
|
|
object-fit: contain;
|
2019-08-12 21:20:08 +10:00
|
|
|
max-width: 100%;
|
|
|
|
max-height: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|