2020-04-29 08:24:56 +00:00
|
|
|
@import '../variables';
|
|
|
|
@import '../mixins';
|
|
|
|
|
2019-08-14 09:48:44 +00:00
|
|
|
.emoji-dialog {
|
2019-10-06 13:08:17 +00:00
|
|
|
@include elegant-card;
|
2019-08-14 09:48:44 +00:00
|
|
|
background: $color-white;
|
2019-10-06 13:08:17 +00:00
|
|
|
box-sizing: content-box;
|
2019-08-14 09:48:44 +00:00
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
2019-10-06 13:08:17 +00:00
|
|
|
top: -22rem;
|
|
|
|
width: 28.6rem;
|
2019-08-14 09:48:44 +00:00
|
|
|
|
2019-10-06 13:08:17 +00:00
|
|
|
&::before {
|
|
|
|
@include arrow(bottom, $color-white, $space-slab);
|
2019-08-14 09:48:44 +00:00
|
|
|
bottom: -$space-slab;
|
2019-10-06 13:08:17 +00:00
|
|
|
position: absolute;
|
2019-08-14 09:48:44 +00:00
|
|
|
right: $space-two;
|
|
|
|
}
|
|
|
|
|
|
|
|
.emojione {
|
2020-04-29 08:24:56 +00:00
|
|
|
font-size: $font-size-default;
|
|
|
|
margin: $zero;
|
2019-08-14 09:48:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-row {
|
|
|
|
box-sizing: border-box;
|
|
|
|
height: 180px;
|
2020-02-22 13:45:45 +00:00
|
|
|
overflow-y: auto;
|
2020-04-29 08:24:56 +00:00
|
|
|
padding: $space-small;
|
2019-08-14 09:48:44 +00:00
|
|
|
|
|
|
|
.emoji {
|
2019-10-06 13:08:17 +00:00
|
|
|
border-radius: 4px;
|
2019-08-14 09:48:44 +00:00
|
|
|
display: inline-block;
|
|
|
|
padding: 5px;
|
|
|
|
}
|
|
|
|
|
2019-10-06 13:08:17 +00:00
|
|
|
.emojione {
|
2019-08-14 09:48:44 +00:00
|
|
|
cursor: pointer;
|
2019-10-06 13:08:17 +00:00
|
|
|
float: left;
|
|
|
|
margin: .6rem;
|
2019-08-14 09:48:44 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-category-title {
|
2019-10-06 13:08:17 +00:00
|
|
|
color: $color-heading;
|
2019-08-14 09:48:44 +00:00
|
|
|
font-size: $font-size-small;
|
|
|
|
font-weight: $font-weight-medium;
|
|
|
|
margin: 0;
|
2019-10-06 13:08:17 +00:00
|
|
|
text-transform: capitalize;
|
2019-08-14 09:48:44 +00:00
|
|
|
}
|
2019-10-06 13:08:17 +00:00
|
|
|
|
2019-08-14 09:48:44 +00:00
|
|
|
.emoji-category-heading-decoration {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-10-06 13:08:17 +00:00
|
|
|
.emoji-dialog-header {
|
2020-04-29 08:24:56 +00:00
|
|
|
background-color: $color-body;
|
2019-10-06 13:08:17 +00:00
|
|
|
border-top-left-radius: $space-small;
|
|
|
|
border-top-right-radius: $space-small;
|
2020-04-29 08:24:56 +00:00
|
|
|
padding: $zero $space-smaller;
|
2019-10-06 13:08:17 +00:00
|
|
|
|
|
|
|
ul {
|
2020-04-29 08:24:56 +00:00
|
|
|
display: flex;
|
2019-10-06 13:08:17 +00:00
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: $space-smaller 0 0;
|
|
|
|
|
2020-04-29 08:24:56 +00:00
|
|
|
>li {
|
|
|
|
align-items: center;
|
2019-10-06 13:08:17 +00:00
|
|
|
cursor: pointer;
|
2020-04-29 08:24:56 +00:00
|
|
|
display: flex;
|
|
|
|
height: $space-medium;
|
|
|
|
justify-content: center;
|
|
|
|
padding: $space-smaller $space-small;
|
|
|
|
}
|
|
|
|
|
|
|
|
.emojione {
|
|
|
|
height: $space-two;
|
|
|
|
width: $space-normal;
|
2019-10-06 13:08:17 +00:00
|
|
|
}
|
|
|
|
|
2020-04-29 08:24:56 +00:00
|
|
|
>.active {
|
|
|
|
background: $color-white;
|
2019-10-06 13:08:17 +00:00
|
|
|
border-top-left-radius: $space-small;
|
|
|
|
border-top-right-radius: $space-small;
|
|
|
|
}
|
|
|
|
|
|
|
|
img,
|
|
|
|
svg {
|
|
|
|
filter: grayscale(100%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.active {
|
2020-04-29 08:24:56 +00:00
|
|
|
|
2019-10-06 13:08:17 +00:00
|
|
|
img,
|
|
|
|
svg {
|
|
|
|
filter: grayscale(0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-04-29 08:24:56 +00:00
|
|
|
>* {
|
2019-10-06 13:08:17 +00:00
|
|
|
display: table-cell;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
2019-08-14 09:48:44 +00:00
|
|
|
}
|