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