2021-07-28 15:15:52 +02:00
|
|
|
.emoji-board-flexBoxV {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
.emoji-board-flexItem {
|
|
|
|
flex: 1;
|
|
|
|
min-height: 0;
|
|
|
|
min-width: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-board {
|
|
|
|
display: flex;
|
|
|
|
&__content {
|
|
|
|
@extend .emoji-board-flexItem;
|
|
|
|
@extend .emoji-board-flexBoxV;
|
2021-08-13 13:01:22 +02:00
|
|
|
height: 400px;
|
|
|
|
width: 286px;
|
2021-07-28 15:15:52 +02:00
|
|
|
}
|
|
|
|
&__nav {
|
|
|
|
@extend .emoji-board-flexBoxV;
|
2021-08-13 13:01:22 +02:00
|
|
|
justify-content: center;
|
2021-07-28 15:15:52 +02:00
|
|
|
|
|
|
|
padding: 4px 6px;
|
|
|
|
background-color: var(--bg-surface-low);
|
|
|
|
border-left: 1px solid var(--bg-surface-border);
|
|
|
|
[dir=rtl] & {
|
|
|
|
border-left: none;
|
|
|
|
border-right: 1px solid var(--bg-surface-border);
|
|
|
|
}
|
|
|
|
|
|
|
|
& > .ic-btn-surface {
|
|
|
|
margin: calc(var(--sp-ultra-tight) / 2) 0;
|
2021-08-13 13:01:22 +02:00
|
|
|
opacity: 0.8;
|
2021-07-28 15:15:52 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-08-13 13:01:22 +02:00
|
|
|
.emoji-board__content__search {
|
|
|
|
padding: var(--sp-extra-tight);
|
|
|
|
position: relative;
|
2021-07-28 15:15:52 +02:00
|
|
|
|
2021-08-13 13:01:22 +02:00
|
|
|
& .ic-raw {
|
|
|
|
position: absolute;
|
|
|
|
left: var(--sp-normal);
|
|
|
|
top: var(--sp-normal);
|
|
|
|
transform: translateY(1px);
|
|
|
|
[dir=rtl] & {
|
|
|
|
left: unset;
|
|
|
|
right: var(--sp-normal);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-07-28 15:15:52 +02:00
|
|
|
& .input-container {
|
|
|
|
& .input {
|
|
|
|
min-width: 100%;
|
|
|
|
width: 0;
|
2021-08-13 13:01:22 +02:00
|
|
|
padding: var(--sp-extra-tight) 36px;
|
|
|
|
border-radius: calc(var(--bo-radius) / 2);
|
2021-07-28 15:15:52 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-08-13 13:01:22 +02:00
|
|
|
.emoji-board__content__emojis {
|
|
|
|
@extend .emoji-board-flexItem;
|
|
|
|
@extend .emoji-board-flexBoxV;
|
|
|
|
}
|
|
|
|
.emoji-board__content__info {
|
|
|
|
margin: 0 var(--sp-extra-tight);
|
|
|
|
padding: var(--sp-tight) var(--sp-extra-tight);
|
|
|
|
border-top: 1px solid var(--bg-surface-border);
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
& > div:first-child {
|
|
|
|
line-height: 0;
|
|
|
|
.emoji {
|
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
& > p:last-child {
|
|
|
|
@extend .emoji-board-flexItem;
|
|
|
|
margin: 0 var(--sp-tight);
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
}
|
2021-07-28 15:15:52 +02:00
|
|
|
|
|
|
|
.emoji-group {
|
|
|
|
--emoji-padding: 6px;
|
|
|
|
position: relative;
|
|
|
|
margin-bottom: var(--sp-normal);
|
|
|
|
|
|
|
|
&__header {
|
|
|
|
position: sticky;
|
|
|
|
top: 0;
|
|
|
|
z-index: 99;
|
|
|
|
background-color: var(--bg-surface);
|
|
|
|
|
2021-08-13 13:01:22 +02:00
|
|
|
margin-left: var(--sp-extra-tight);
|
|
|
|
padding: var(--sp-extra-tight) var(--sp-ultra-tight);
|
2021-07-28 15:15:52 +02:00
|
|
|
text-transform: uppercase;
|
2021-08-13 13:01:22 +02:00
|
|
|
box-shadow: 0 -4px 0 0 var(--bg-surface);
|
|
|
|
border-bottom: 1px solid var(--bg-surface-border);
|
|
|
|
[dir=rtl] & {
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: var(--sp-extra-tight);
|
|
|
|
}
|
2021-07-28 15:15:52 +02:00
|
|
|
}
|
|
|
|
& .emoji-set {
|
2021-08-13 13:01:22 +02:00
|
|
|
margin: var(--sp-extra-tight) calc(var(--sp-normal) - var(--emoji-padding));
|
2021-07-28 15:15:52 +02:00
|
|
|
margin-right: calc(var(--sp-extra-tight) - var(--emoji-padding));
|
|
|
|
[dir=rtl] & {
|
|
|
|
margin-right: calc(var(--sp-normal) - var(--emoji-padding));
|
|
|
|
margin-left: calc(var(--sp-extra-tight) - var(--emoji-padding));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
& .emoji {
|
|
|
|
width: 38px;
|
2021-08-13 13:01:22 +02:00
|
|
|
height: 38px;
|
2021-07-28 15:15:52 +02:00
|
|
|
padding: var(--emoji-padding);
|
|
|
|
cursor: pointer;
|
|
|
|
&:hover {
|
|
|
|
background-color: var(--bg-surface-hover);
|
|
|
|
border-radius: var(--bo-radius);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|