2017-09-14 11:23:45 -04:00
|
|
|
img.emoji {
|
2017-07-21 13:42:46 -04:00
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
2020-01-16 03:54:26 -05:00
|
|
|
img.emoji.only-emoji {
|
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
margin: 0.5em 0;
|
|
|
|
}
|
|
|
|
|
2020-06-11 06:27:48 -04:00
|
|
|
a,
|
2020-02-12 02:37:32 -05:00
|
|
|
.md-table,
|
|
|
|
.poll {
|
2020-01-17 12:15:05 -05:00
|
|
|
img.emoji.only-emoji {
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
2020-05-03 11:52:19 -04:00
|
|
|
margin: 0;
|
2020-01-17 12:15:05 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-12-06 06:43:52 -05:00
|
|
|
small img.emoji,
|
|
|
|
sub img.emoji,
|
|
|
|
sup img.emoji {
|
|
|
|
height: 1.1em;
|
|
|
|
width: 1.1em;
|
|
|
|
}
|
|
|
|
|
2017-07-11 11:51:53 -04:00
|
|
|
.emoji-picker {
|
2020-08-24 08:20:51 -04:00
|
|
|
width: 100%;
|
|
|
|
color: var(--primary);
|
|
|
|
background-color: var(--secondary);
|
|
|
|
border: 1px solid var(--primary-low);
|
|
|
|
display: flex;
|
|
|
|
box-sizing: border-box;
|
2017-07-11 11:51:53 -04:00
|
|
|
background-clip: padding-box;
|
2018-06-08 05:49:31 -04:00
|
|
|
z-index: z("modal", "content");
|
2017-07-11 11:51:53 -04:00
|
|
|
flex-direction: row;
|
2019-03-15 11:12:07 -04:00
|
|
|
height: 320px;
|
2020-08-24 08:20:51 -04:00
|
|
|
max-height: 50vh;
|
|
|
|
max-width: 420px;
|
2020-04-14 10:43:57 -04:00
|
|
|
|
|
|
|
img.emoji {
|
|
|
|
// custom emojis might import images of various sizes
|
|
|
|
// we don't want the picker to be difformed
|
|
|
|
width: 20px !important;
|
|
|
|
height: 20px !important;
|
|
|
|
}
|
2017-07-21 13:42:46 -04:00
|
|
|
|
2020-08-24 08:20:51 -04:00
|
|
|
.emoji-picker-content {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
flex: 20;
|
2017-07-21 13:42:46 -04:00
|
|
|
}
|
2014-12-05 01:19:17 -05:00
|
|
|
|
2020-08-24 08:20:51 -04:00
|
|
|
.emoji-picker-emoji-area {
|
|
|
|
overflow-y: scroll;
|
|
|
|
-webkit-overflow-scrolling: touch;
|
|
|
|
width: 100%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
padding: 0.25em;
|
2021-03-26 13:07:04 -04:00
|
|
|
padding-left: 0.75em;
|
2020-08-24 08:20:51 -04:00
|
|
|
height: 100%;
|
2020-08-24 09:04:11 -04:00
|
|
|
background: var(--secondary);
|
2020-08-24 08:20:51 -04:00
|
|
|
|
|
|
|
.section {
|
2022-01-09 17:33:38 -05:00
|
|
|
margin: 0 0 1em;
|
2020-08-24 08:20:51 -04:00
|
|
|
|
|
|
|
.trash-recent {
|
|
|
|
background: none;
|
|
|
|
font-size: $font-down-1;
|
2022-01-09 17:33:38 -05:00
|
|
|
|
|
|
|
&:hover .d-icon {
|
|
|
|
color: var(--danger-hover);
|
|
|
|
}
|
2020-08-24 08:20:51 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.section-header {
|
|
|
|
font-weight: 900;
|
|
|
|
padding: 0.25em 0;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.section-group,
|
|
|
|
.results {
|
|
|
|
img.emoji {
|
|
|
|
padding: 0.25em;
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: $tertiary-low;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.results {
|
|
|
|
padding: 0.25em 0;
|
2022-01-09 17:33:38 -05:00
|
|
|
|
|
|
|
&:empty {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2020-08-24 08:20:51 -04:00
|
|
|
img.emoji {
|
|
|
|
padding: 0.5em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-12-08 00:45:24 -05:00
|
|
|
|
2020-08-24 08:20:51 -04:00
|
|
|
.emoji-picker-category-buttons {
|
2021-03-26 13:07:04 -04:00
|
|
|
overflow-y: auto;
|
|
|
|
width: 50px;
|
|
|
|
padding-left: 0.5em;
|
2020-08-24 08:20:51 -04:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
2020-08-24 09:04:11 -04:00
|
|
|
border-right: 1px solid var(--primary-low);
|
2020-08-24 08:20:51 -04:00
|
|
|
|
|
|
|
.category-button {
|
|
|
|
background: none;
|
|
|
|
border: none;
|
|
|
|
padding: 0.5em;
|
|
|
|
outline: none;
|
|
|
|
|
|
|
|
.emoji {
|
|
|
|
pointer-events: none;
|
|
|
|
filter: grayscale(100%);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover .emoji,
|
|
|
|
&.current .emoji {
|
|
|
|
filter: grayscale(0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-06-22 09:30:44 -04:00
|
|
|
|
|
|
|
&.has-filter {
|
|
|
|
.emojis-container {
|
|
|
|
visibility: hidden;
|
|
|
|
height: 0px;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-picker-category-buttons {
|
|
|
|
pointer-events: none;
|
|
|
|
opacity: 0.5;
|
|
|
|
.category-button.current .emoji {
|
|
|
|
filter: grayscale(100%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-12-08 00:45:24 -05:00
|
|
|
}
|
|
|
|
|
2020-08-24 08:20:51 -04:00
|
|
|
.emoji-picker-search-container {
|
2017-07-11 11:51:53 -04:00
|
|
|
display: flex;
|
2020-08-24 08:20:51 -04:00
|
|
|
width: 100%;
|
|
|
|
position: relative;
|
2021-03-26 13:07:04 -04:00
|
|
|
padding: 0.75em;
|
2020-08-24 09:04:11 -04:00
|
|
|
border-bottom: 1px solid var(--primary-low);
|
2020-08-24 08:20:51 -04:00
|
|
|
box-sizing: border-box;
|
2017-07-11 11:51:53 -04:00
|
|
|
align-items: center;
|
2014-12-08 00:45:24 -05:00
|
|
|
|
2020-08-24 08:20:51 -04:00
|
|
|
.filter {
|
|
|
|
flex: 1 0 auto;
|
|
|
|
margin: 0;
|
2021-03-26 13:07:04 -04:00
|
|
|
width: calc(100% - 50px);
|
|
|
|
margin-right: 0.5em;
|
2020-08-24 08:20:51 -04:00
|
|
|
}
|
2017-07-21 08:19:04 -04:00
|
|
|
|
2020-08-24 08:20:51 -04:00
|
|
|
.d-icon {
|
2020-08-24 09:04:11 -04:00
|
|
|
color: var(--primary-medium);
|
2021-03-26 13:07:04 -04:00
|
|
|
cursor: pointer;
|
|
|
|
padding: 0.25em;
|
|
|
|
&:hover {
|
|
|
|
color: var(--tertiary);
|
|
|
|
}
|
2017-07-21 08:19:04 -04:00
|
|
|
}
|
2014-12-09 01:22:54 -05:00
|
|
|
}
|
|
|
|
|
2020-08-24 08:20:51 -04:00
|
|
|
.emoji-picker-footer {
|
2017-07-11 11:51:53 -04:00
|
|
|
display: flex;
|
2020-08-24 08:20:51 -04:00
|
|
|
justify-content: space-between;
|
2017-07-11 11:51:53 -04:00
|
|
|
align-items: center;
|
2020-08-24 09:04:11 -04:00
|
|
|
border-top: 1px solid var(--primary-low);
|
2014-12-09 01:22:54 -05:00
|
|
|
}
|
2016-03-22 15:10:15 -04:00
|
|
|
|
2020-08-24 08:20:51 -04:00
|
|
|
.emoji-picker-emoji-info {
|
2017-07-11 11:51:53 -04:00
|
|
|
display: flex;
|
2020-08-24 08:20:51 -04:00
|
|
|
align-items: center;
|
|
|
|
padding-left: 0.5em;
|
2017-06-28 09:07:05 -04:00
|
|
|
|
2020-08-24 08:20:51 -04:00
|
|
|
img.emoji {
|
|
|
|
height: 32px !important;
|
|
|
|
width: 32px !important;
|
|
|
|
}
|
2017-06-28 09:07:05 -04:00
|
|
|
}
|
|
|
|
|
2020-08-24 08:20:51 -04:00
|
|
|
.emoji-picker-diversity-picker {
|
2017-06-28 09:07:05 -04:00
|
|
|
border: 0;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2017-06-28 18:27:16 -04:00
|
|
|
cursor: pointer;
|
2020-08-24 08:20:51 -04:00
|
|
|
padding: 0.5em;
|
2017-07-11 11:51:53 -04:00
|
|
|
|
2020-08-24 08:20:51 -04:00
|
|
|
.diversity-scale {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
min-height: auto;
|
|
|
|
border-radius: 3px;
|
|
|
|
margin: 0.15em;
|
|
|
|
height: 24px;
|
|
|
|
width: 24px;
|
|
|
|
|
|
|
|
.d-icon {
|
|
|
|
color: #fff;
|
|
|
|
filter: drop-shadow(0.5px 1.5px 0 rgba(0, 0, 0, 0.3));
|
|
|
|
}
|
|
|
|
}
|
2017-07-21 13:42:46 -04:00
|
|
|
|
2020-08-24 08:20:51 -04:00
|
|
|
.diversity-scale.default {
|
|
|
|
background: #ffcc4d;
|
|
|
|
}
|
|
|
|
.diversity-scale.light {
|
|
|
|
background: #f7dece;
|
|
|
|
}
|
|
|
|
.diversity-scale.medium-light {
|
|
|
|
background: #f3d2a2;
|
|
|
|
}
|
|
|
|
.diversity-scale.medium {
|
|
|
|
background: #d5ab88;
|
|
|
|
}
|
|
|
|
.diversity-scale.medium-dark {
|
|
|
|
background: #af7e57;
|
|
|
|
}
|
|
|
|
.diversity-scale.dark {
|
|
|
|
background: #7c533e;
|
|
|
|
}
|
2017-07-11 11:51:53 -04:00
|
|
|
}
|
|
|
|
|
2020-08-24 08:20:51 -04:00
|
|
|
.emoji-picker-modal-overlay {
|
2018-06-08 05:49:31 -04:00
|
|
|
z-index: z("modal", "overlay");
|
2017-07-11 11:51:53 -04:00
|
|
|
position: fixed;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2018-06-08 05:49:31 -04:00
|
|
|
opacity: 0.8;
|
2020-08-24 09:04:11 -04:00
|
|
|
background-color: var(--primary);
|
2017-07-11 11:51:53 -04:00
|
|
|
}
|