2019-07-02 08:10:25 +01:00
|
|
|
.emoji-mart {
|
2019-09-17 00:31:30 +01:00
|
|
|
|
2019-07-02 08:10:25 +01:00
|
|
|
&,
|
|
|
|
* {
|
|
|
|
box-sizing: border-box;
|
|
|
|
line-height: 1.15;
|
|
|
|
}
|
|
|
|
|
|
|
|
font-size: 13px;
|
|
|
|
display: inline-block;
|
|
|
|
color: $inverted-text-color;
|
|
|
|
|
|
|
|
.emoji-mart-emoji {
|
|
|
|
padding: 6px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-03-27 15:29:52 +00:00
|
|
|
.emoji-mart-bar {{
|
2019-07-02 08:10:25 +01:00
|
|
|
border: 0 solid darken($ui-secondary-color, 8%);
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
border-bottom-width: 1px;
|
|
|
|
border-top-left-radius: 5px;
|
|
|
|
border-top-right-radius: 5px;
|
|
|
|
background: $ui-secondary-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
border-top-width: 1px;
|
|
|
|
border-bottom-left-radius: 5px;
|
|
|
|
border-bottom-right-radius: 5px;
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-mart-anchors {
|
|
|
|
padding: 0 6px;
|
|
|
|
color: $lighter-text-color;
|
|
|
|
line-height: 0;
|
2019-09-17 00:31:30 +01:00
|
|
|
|
|
|
|
@include flex(space-between);
|
2019-07-02 08:10:25 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-mart-anchor {
|
|
|
|
position: relative;
|
|
|
|
flex: 1;
|
|
|
|
text-align: center;
|
|
|
|
padding: 12px 4px;
|
|
|
|
overflow: hidden;
|
|
|
|
transition: color .1s ease-out;
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: darken($lighter-text-color, 4%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-mart-anchor-selected {
|
|
|
|
color: $highlight-text-color;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: darken($highlight-text-color, 4%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-mart-anchor-bar {
|
|
|
|
bottom: -1px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-mart-anchor-bar {
|
|
|
|
background-color: $highlight-text-color;
|
2019-09-17 00:31:30 +01:00
|
|
|
|
|
|
|
@include size(100%, 4px);
|
|
|
|
@include abs-position(auto, auto, -5px, 0);
|
2019-07-02 08:10:25 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-mart-anchors {
|
|
|
|
i {
|
|
|
|
display: inline-block;
|
|
|
|
width: 100%;
|
|
|
|
max-width: 22px;
|
|
|
|
}
|
|
|
|
|
|
|
|
svg {
|
|
|
|
fill: currentColor;
|
|
|
|
max-height: 18px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-mart-scroll {
|
|
|
|
overflow-y: scroll;
|
|
|
|
height: 270px;
|
|
|
|
max-height: 35vh;
|
|
|
|
padding: 0 6px 6px;
|
|
|
|
background: $simple-background-color;
|
|
|
|
will-change: transform;
|
|
|
|
|
|
|
|
&::-webkit-scrollbar-track:hover,
|
|
|
|
&::-webkit-scrollbar-track:active {
|
|
|
|
background-color: rgba($base-overlay-background, 0.3);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-mart-search {
|
2019-09-17 00:31:30 +01:00
|
|
|
padding: 10px 45px 10px 10px;
|
2019-07-02 08:10:25 +01:00
|
|
|
background: $simple-background-color;
|
|
|
|
|
|
|
|
input {
|
|
|
|
padding: 7px 9px;
|
|
|
|
font-family: inherit;
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
background: rgba($ui-secondary-color, 0.3);
|
|
|
|
color: $inverted-text-color;
|
2019-09-17 00:31:30 +01:00
|
|
|
|
|
|
|
@include text-sizing(14px, 400);
|
|
|
|
@include border-design($ui-secondary-color, 1px, 4px);
|
2019-07-02 08:10:25 +01:00
|
|
|
|
|
|
|
&::-moz-focus-inner {
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::-moz-focus-inner,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
|
|
|
outline: 0 !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-mart-category .emoji-mart-emoji {
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
span {
|
|
|
|
z-index: 1;
|
|
|
|
position: relative;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover::before {
|
|
|
|
z-index: 0;
|
|
|
|
background-color: rgba($ui-secondary-color, 0.7);
|
|
|
|
border-radius: 100%;
|
2019-09-17 00:31:30 +01:00
|
|
|
|
|
|
|
@include pseudo;
|
|
|
|
@include size(100%);
|
|
|
|
@include abs-position(0, auto, auto, 0, false);
|
2019-07-02 08:10:25 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-mart-category-label {
|
|
|
|
z-index: 2;
|
|
|
|
position: relative;
|
|
|
|
position: -webkit-sticky;
|
|
|
|
position: sticky;
|
|
|
|
top: 0;
|
|
|
|
|
|
|
|
span {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
font-weight: 500;
|
|
|
|
padding: 5px 6px;
|
|
|
|
background: $simple-background-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-mart-emoji {
|
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
|
|
|
font-size: 0;
|
|
|
|
|
|
|
|
span {
|
2019-09-17 00:31:30 +01:00
|
|
|
@include size(22px);
|
2019-07-02 08:10:25 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-mart-no-results {
|
|
|
|
font-size: 14px;
|
|
|
|
text-align: center;
|
|
|
|
padding-top: 70px;
|
|
|
|
color: $light-text-color;
|
|
|
|
|
|
|
|
.emoji-mart-category-label {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-mart-no-results-label {
|
|
|
|
margin-top: .2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-mart-emoji:hover::before {
|
|
|
|
content: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-mart-preview {
|
|
|
|
display: none;
|
2019-09-17 00:31:30 +01:00
|
|
|
}
|