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;
|
|
|
|
border-radius: 2px;
|
2019-10-06 13:08:17 +00:00
|
|
|
box-sizing: content-box;
|
|
|
|
height: 20rem;
|
|
|
|
padding-bottom: $space-two;
|
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 {
|
|
|
|
@include margin($zero);
|
|
|
|
font-size: $font-size-small;
|
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-row {
|
2019-10-06 13:08:17 +00:00
|
|
|
@include padding($space-small);
|
2019-08-14 09:48:44 +00:00
|
|
|
box-sizing: border-box;
|
|
|
|
height: 180px;
|
2019-10-06 13:08:17 +00:00
|
|
|
overflow-y: scroll;
|
2019-08-14 09:48:44 +00:00
|
|
|
padding-bottom: 0;
|
|
|
|
|
|
|
|
.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 {
|
|
|
|
@include padding($zero $space-smaller);
|
|
|
|
background-color: $light-gray;
|
|
|
|
border-top-left-radius: $space-small;
|
|
|
|
border-top-right-radius: $space-small;
|
|
|
|
|
|
|
|
ul {
|
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: $space-smaller 0 0;
|
|
|
|
|
|
|
|
> li {
|
|
|
|
@include padding($space-small $space-small);
|
|
|
|
box-sizing: border-box;
|
|
|
|
cursor: pointer;
|
|
|
|
display: inline-block;
|
|
|
|
height: 3.4rem;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
> .active {
|
|
|
|
background: $white;
|
|
|
|
border-top-left-radius: $space-small;
|
|
|
|
border-top-right-radius: $space-small;
|
|
|
|
}
|
|
|
|
|
|
|
|
img,
|
|
|
|
svg {
|
|
|
|
filter: grayscale(100%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.active {
|
|
|
|
img,
|
|
|
|
svg {
|
|
|
|
filter: grayscale(0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
> * {
|
|
|
|
display: table-cell;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
2019-08-14 09:48:44 +00:00
|
|
|
}
|
|
|
|
|
2019-10-06 13:08:17 +00:00
|
|
|
.emoji-dialog .emoji-row,
|
2019-08-14 09:48:44 +00:00
|
|
|
.emoji-dialog .emoji-row .emoji:hover {
|
2019-10-06 13:08:17 +00:00
|
|
|
background: $color-extra-light-blue;
|
2019-08-14 09:48:44 +00:00
|
|
|
}
|