Vanessa 2024-11-09 15:41:27 +08:00
parent 06f24ae44b
commit cd8a89e5da
7 changed files with 368 additions and 184 deletions

View file

@ -366,81 +366,3 @@
}
}
}
.emojis {
word-break: break-all;
white-space: normal;
display: flex;
flex-direction: column;
padding: 8px 0;
height: 100%;
box-sizing: border-box;
&__item {
font-size: 24px;
line-height: .9em; // windows 需要这样设置
font-family: var(--b3-font-family-emoji);
text-align: center;
height: 28px;
padding: 2px 4px;
cursor: pointer;
display: inline-block;
transition: var(--b3-transition);
background-color: transparent;
border: 0;
margin: 1px;
overflow: hidden;
border-radius: var(--b3-border-radius);
img, svg {
height: 24px;
display: block;
width: 24px;
}
&--current,
&:hover {
background: var(--b3-list-hover);
}
}
&__title {
color: var(--b3-theme-on-surface);
padding: 8px 4px 4px 4px;
}
&__panel {
flex: 1;
overflow: auto;
padding: 0 8px;
}
&__content {
display: flex;
flex-wrap: wrap;
}
&__type {
cursor: pointer;
flex: 1;
display: flex;
align-items: center;
justify-content: center;
height: 28px;
line-height: 28px;
transition: var(--b3-list-hover);
font-size: 16px;
background-color: transparent;
border: 0;
padding: 0;
&:hover {
background-color: var(--b3-theme-surface-lighter);
}
svg {
height: 16px;
width: 16px;
}
}
}