2017-09-23 09:41:00 +10:00
|
|
|
.emoji-mart {
|
2019-06-07 02:51:46 +10:00
|
|
|
font-size: 13px;
|
|
|
|
display: inline-block;
|
|
|
|
color: $inverted-text-color;
|
|
|
|
|
2017-09-23 09:41:00 +10:00
|
|
|
&,
|
|
|
|
* {
|
|
|
|
box-sizing: border-box;
|
|
|
|
line-height: 1.15;
|
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-mart-emoji {
|
|
|
|
padding: 6px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-mart-bar {
|
|
|
|
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 {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
padding: 0 6px;
|
2018-04-19 00:52:15 +10:00
|
|
|
color: $lighter-text-color;
|
2017-09-23 09:41:00 +10:00
|
|
|
line-height: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-mart-anchor {
|
|
|
|
position: relative;
|
|
|
|
flex: 1;
|
|
|
|
text-align: center;
|
|
|
|
padding: 12px 4px;
|
|
|
|
overflow: hidden;
|
2022-06-02 03:22:35 +10:00
|
|
|
transition: color 0.1s ease-out;
|
2017-09-23 09:41:00 +10:00
|
|
|
cursor: pointer;
|
2021-06-01 22:35:49 +10:00
|
|
|
background: transparent;
|
|
|
|
border: 0;
|
2017-09-23 09:41:00 +10:00
|
|
|
|
|
|
|
&:hover {
|
2018-04-22 05:35:55 +10:00
|
|
|
color: darken($lighter-text-color, 4%);
|
2017-09-23 09:41:00 +10:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-mart-anchor-selected {
|
2018-04-19 00:52:15 +10:00
|
|
|
color: $highlight-text-color;
|
2017-09-23 09:41:00 +10:00
|
|
|
|
|
|
|
&:hover {
|
2018-04-19 00:52:15 +10:00
|
|
|
color: darken($highlight-text-color, 4%);
|
2017-09-23 09:41:00 +10:00
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-mart-anchor-bar {
|
2018-06-10 06:20:57 +10:00
|
|
|
bottom: -1px;
|
2017-09-23 09:41:00 +10:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-mart-anchor-bar {
|
|
|
|
position: absolute;
|
2018-06-10 06:20:57 +10:00
|
|
|
bottom: -5px;
|
2023-03-27 19:56:25 +11:00
|
|
|
inset-inline-start: 0;
|
2017-09-23 09:41:00 +10:00
|
|
|
width: 100%;
|
2018-06-10 06:20:57 +10:00
|
|
|
height: 4px;
|
2018-04-19 00:52:15 +10:00
|
|
|
background-color: $highlight-text-color;
|
2017-09-23 09:41:00 +10:00
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-mart-anchors {
|
|
|
|
i {
|
|
|
|
display: inline-block;
|
|
|
|
width: 100%;
|
|
|
|
max-width: 22px;
|
|
|
|
}
|
|
|
|
|
|
|
|
svg {
|
2019-03-30 11:41:35 +11:00
|
|
|
fill: currentColor;
|
2017-09-23 09:41:00 +10:00
|
|
|
max-height: 18px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-mart-scroll {
|
|
|
|
overflow-y: scroll;
|
|
|
|
height: 270px;
|
2017-09-24 08:40:10 +10:00
|
|
|
max-height: 35vh;
|
2017-09-23 09:41:00 +10:00
|
|
|
padding: 0 6px 6px;
|
|
|
|
background: $simple-background-color;
|
2017-09-24 08:40:10 +10:00
|
|
|
will-change: transform;
|
2017-12-06 22:18:27 +11:00
|
|
|
|
|
|
|
&::-webkit-scrollbar-track:hover,
|
|
|
|
&::-webkit-scrollbar-track:active {
|
|
|
|
background-color: rgba($base-overlay-background, 0.3);
|
|
|
|
}
|
2017-09-23 09:41:00 +10:00
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-mart-search {
|
2019-03-30 11:41:35 +11:00
|
|
|
padding: 10px;
|
2023-03-27 19:56:25 +11:00
|
|
|
padding-inline-end: 45px;
|
2017-09-23 09:41:00 +10:00
|
|
|
background: $simple-background-color;
|
2021-06-01 22:35:49 +10:00
|
|
|
position: relative;
|
2017-09-23 09:41:00 +10:00
|
|
|
|
|
|
|
input {
|
2022-10-24 08:38:20 +11:00
|
|
|
font-size: 16px;
|
2017-09-23 09:41:00 +10:00
|
|
|
font-weight: 400;
|
|
|
|
padding: 7px 9px;
|
2023-03-27 19:56:25 +11:00
|
|
|
padding-inline-end: 25px;
|
2019-03-30 11:41:35 +11:00
|
|
|
font-family: inherit;
|
2017-09-23 09:41:00 +10:00
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
background: rgba($ui-secondary-color, 0.3);
|
2018-04-19 00:52:15 +10:00
|
|
|
color: $inverted-text-color;
|
2017-09-23 09:41:00 +10:00
|
|
|
border: 1px solid $ui-secondary-color;
|
|
|
|
border-radius: 4px;
|
|
|
|
|
|
|
|
&::-moz-focus-inner {
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::-moz-focus-inner,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
|
|
|
outline: 0 !important;
|
|
|
|
}
|
2022-11-07 13:40:54 +11:00
|
|
|
|
|
|
|
&::-webkit-search-cancel-button {
|
|
|
|
display: none;
|
|
|
|
}
|
2017-09-23 09:41:00 +10:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-06-01 22:35:49 +10:00
|
|
|
.emoji-mart-search-icon {
|
|
|
|
position: absolute;
|
|
|
|
top: 18px;
|
2023-03-27 19:56:25 +11:00
|
|
|
inset-inline-end: 45px + 5px;
|
2021-06-01 22:35:49 +10:00
|
|
|
z-index: 2;
|
|
|
|
padding: 2px 5px 1px;
|
|
|
|
border: 0;
|
|
|
|
background: none;
|
|
|
|
transition: all 100ms linear;
|
|
|
|
transition-property: opacity;
|
|
|
|
pointer-events: auto;
|
|
|
|
opacity: 0.7;
|
|
|
|
|
|
|
|
&:disabled {
|
|
|
|
cursor: default;
|
|
|
|
pointer-events: none;
|
|
|
|
opacity: 0.3;
|
|
|
|
}
|
|
|
|
|
|
|
|
svg {
|
|
|
|
fill: $action-button-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-09-23 09:41:00 +10:00
|
|
|
.emoji-mart-category .emoji-mart-emoji {
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
span {
|
|
|
|
z-index: 1;
|
|
|
|
position: relative;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover::before {
|
2021-11-19 08:01:31 +11:00
|
|
|
z-index: -1;
|
2023-02-13 14:57:03 +11:00
|
|
|
content: '';
|
2017-09-23 09:41:00 +10:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
2023-03-27 19:56:25 +11:00
|
|
|
inset-inline-start: 0;
|
2017-09-23 09:41:00 +10:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2021-11-20 04:21:37 +11:00
|
|
|
background-color: rgba($ui-secondary-color, 0.7);
|
2017-09-23 09:41:00 +10:00
|
|
|
border-radius: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-06-01 22:35:49 +10:00
|
|
|
/* For screenreaders only, via https://stackoverflow.com/a/19758620 */
|
|
|
|
.emoji-mart-sr-only {
|
|
|
|
position: absolute;
|
|
|
|
width: 1px;
|
|
|
|
height: 1px;
|
|
|
|
padding: 0;
|
|
|
|
margin: -1px;
|
|
|
|
overflow: hidden;
|
|
|
|
clip: rect(0, 0, 0, 0);
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-mart-category-list {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-mart-category-list li {
|
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2017-09-23 09:41:00 +10:00
|
|
|
.emoji-mart-emoji {
|
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
2021-06-01 22:35:49 +10:00
|
|
|
background: transparent;
|
|
|
|
border: 0;
|
|
|
|
padding: 0;
|
2017-09-23 09:41:00 +10:00
|
|
|
font-size: 0;
|
|
|
|
|
|
|
|
span {
|
|
|
|
width: 22px;
|
|
|
|
height: 22px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-mart-no-results {
|
|
|
|
font-size: 14px;
|
2021-06-01 22:35:49 +10:00
|
|
|
color: $light-text-color;
|
2017-09-23 09:41:00 +10:00
|
|
|
text-align: center;
|
2021-06-01 22:35:49 +10:00
|
|
|
padding: 5px 6px;
|
2017-09-23 09:41:00 +10:00
|
|
|
padding-top: 70px;
|
|
|
|
|
2022-06-02 03:22:35 +10:00
|
|
|
.emoji-mart-no-results-label {
|
|
|
|
margin-top: 0.2em;
|
2017-09-23 09:41:00 +10:00
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-mart-emoji:hover::before {
|
2021-06-01 22:35:49 +10:00
|
|
|
cursor: default;
|
2017-09-23 09:41:00 +10:00
|
|
|
content: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-mart-preview {
|
|
|
|
display: none;
|
|
|
|
}
|