2019-08-12 11:20:08 +00:00
|
|
|
@import '../../_variables.scss';
|
|
|
|
|
|
|
|
.emoji-picker {
|
2019-08-12 17:01:38 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2019-08-12 11:20:08 +00:00
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
2019-08-12 17:01:38 +00:00
|
|
|
left: 0;
|
2019-09-14 22:16:54 +00:00
|
|
|
height: 320px;
|
2019-08-12 11:20:08 +00:00
|
|
|
margin: 0 !important;
|
2019-08-12 17:01:38 +00:00
|
|
|
z-index: 1;
|
2019-08-12 11:20:08 +00:00
|
|
|
|
2019-09-23 17:29:01 +00:00
|
|
|
.keep-open {
|
2019-09-08 12:51:17 +00:00
|
|
|
padding: 7px;
|
|
|
|
line-height: normal;
|
|
|
|
}
|
2019-09-23 17:29:01 +00:00
|
|
|
.keep-open-label {
|
2019-09-15 09:09:19 +00:00
|
|
|
padding: 0 7px;
|
|
|
|
display: flex;
|
2019-09-08 12:51:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.heading {
|
|
|
|
display: flex;
|
|
|
|
height: 32px;
|
|
|
|
padding: 10px 7px 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.content {
|
2019-08-12 17:01:38 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
flex: 1 1 0;
|
|
|
|
min-height: 0px;
|
|
|
|
}
|
|
|
|
|
2019-09-08 12:51:17 +00:00
|
|
|
.emoji-tabs {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
2019-08-12 17:01:38 +00:00
|
|
|
.additional-tabs {
|
|
|
|
border-left: 1px solid;
|
|
|
|
border-left-color: $fallback--icon;
|
|
|
|
border-left-color: var(--icon, $fallback--icon);
|
2019-09-08 12:51:17 +00:00
|
|
|
padding-left: 7px;
|
2019-08-12 17:01:38 +00:00
|
|
|
flex: 0 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.additional-tabs,
|
|
|
|
.emoji-tabs {
|
2019-09-08 12:51:17 +00:00
|
|
|
display: block;
|
|
|
|
min-width: 0;
|
|
|
|
flex-basis: auto;
|
|
|
|
flex-shrink: 1;
|
|
|
|
|
2019-08-12 17:01:38 +00:00
|
|
|
&-item {
|
2019-09-08 12:51:17 +00:00
|
|
|
padding: 0 7px;
|
2019-08-12 17:01:38 +00:00
|
|
|
cursor: pointer;
|
|
|
|
font-size: 24px;
|
2019-08-12 11:20:08 +00:00
|
|
|
|
2019-08-12 17:01:38 +00:00
|
|
|
&.disabled {
|
|
|
|
opacity: 0.5;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
&.active {
|
|
|
|
border-bottom: 4px solid;
|
2019-08-12 11:20:08 +00:00
|
|
|
|
2019-08-12 17:01:38 +00:00
|
|
|
i {
|
|
|
|
color: $fallback--lightText;
|
|
|
|
color: var(--lightText, $fallback--lightText);
|
2019-08-12 11:20:08 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-08-12 17:01:38 +00:00
|
|
|
}
|
2019-08-12 11:20:08 +00:00
|
|
|
|
2019-08-12 17:01:38 +00:00
|
|
|
.sticker-picker {
|
|
|
|
flex: 1 1 0
|
|
|
|
}
|
|
|
|
|
|
|
|
.stickers,
|
|
|
|
.emoji {
|
2019-08-12 11:20:08 +00:00
|
|
|
&-content {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2019-08-12 17:01:38 +00:00
|
|
|
flex: 1 1 0;
|
|
|
|
min-height: 0;
|
|
|
|
|
|
|
|
&.hidden {
|
2019-09-08 12:57:49 +00:00
|
|
|
opacity: 0;
|
|
|
|
pointer-events: none;
|
|
|
|
position: absolute;
|
2019-08-12 17:01:38 +00:00
|
|
|
}
|
2019-08-12 11:20:08 +00:00
|
|
|
}
|
2019-08-12 17:01:38 +00:00
|
|
|
}
|
2019-08-12 11:20:08 +00:00
|
|
|
|
2019-08-12 17:01:38 +00:00
|
|
|
.emoji {
|
2019-08-12 11:20:08 +00:00
|
|
|
&-search {
|
|
|
|
padding: 5px;
|
2019-08-12 17:01:38 +00:00
|
|
|
flex: 0 0 0;
|
2019-08-12 11:20:08 +00:00
|
|
|
|
|
|
|
input {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-groups {
|
|
|
|
flex: 1 1 1px;
|
|
|
|
position: relative;
|
|
|
|
overflow: auto;
|
2019-09-15 09:09:19 +00:00
|
|
|
user-select: none;
|
2019-09-14 22:16:54 +00: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 11:20:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&-group {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
flex-wrap: wrap;
|
2019-08-12 17:01:38 +00:00
|
|
|
padding-left: 5px;
|
|
|
|
justify-content: left;
|
2019-08-12 11:20:08 +00:00
|
|
|
|
|
|
|
&-title {
|
|
|
|
font-size: 12px;
|
|
|
|
width: 100%;
|
|
|
|
margin: 0;
|
2019-08-12 17:01:38 +00:00
|
|
|
&.disabled {
|
|
|
|
display: none;
|
|
|
|
}
|
2019-08-12 11:20:08 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-item {
|
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
display: flex;
|
|
|
|
font-size: 32px;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2019-08-12 17:01:38 +00:00
|
|
|
margin: 4px;
|
2019-08-12 11:20:08 +00:00
|
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
img {
|
2019-09-08 14:11:45 +00:00
|
|
|
object-fit: contain;
|
2019-08-12 11:20:08 +00:00
|
|
|
max-width: 100%;
|
|
|
|
max-height: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|