hexabot/widget/src/components/EmojiPicker.scss
2024-09-10 10:50:11 +01:00

63 lines
1.1 KiB
SCSS

.sc-emoji-picker {
position: absolute;
bottom: 30px;
right: 0px;
min-width: 200px;
max-height: 215px;
box-shadow: 0px 7px 40px 2px rgba(148, 149, 150, 0.3);
background: white;
border-radius: 10px;
outline: none;
}
.sc-emoji-picker:after {
content: "";
width: 14px;
height: 14px;
background: white;
position: absolute;
bottom: -6px;
right: 55px;
transform: rotate(45deg);
border-radius: 2px;
}
.sc-emoji-picker--content {
padding: .5rem;
overflow: auto;
width: 100%;
max-height: 195px;
margin-top: 5px;
box-sizing: border-box;
}
.sc-emoji-picker--category {
display: flex;
flex-direction: row;
flex-wrap: wrap;
}
.sc-emoji-picker--category-title {
min-width: 100%;
color: #b8c3ca;
font-weight: 200;
font-size: 1rem;
margin: 5px;
letter-spacing: 1px;
}
.sc-emoji-picker--emoji {
margin: 5px;
width: 18px;
text-align: center;
cursor: pointer;
vertical-align: middle;
font-size: 1.5rem;
transition: transform 60ms ease-out,-webkit-transform 60ms ease-out;
}
.sc-emoji-picker--emoji:hover {
transform: scale(1.4);
}