tiptap/demos/src/Examples/Community/React/MentionList.scss
2021-10-25 09:19:56 +02:00

30 lines
502 B
SCSS

.items {
padding: 0.2rem;
position: relative;
border-radius: 0.5rem;
background: #FFF;
color: rgba(0, 0, 0, 0.8);
overflow: hidden;
font-size: 0.9rem;
box-shadow:
0 0 0 1px rgba(0, 0, 0, 0.05),
0px 10px 20px rgba(0, 0, 0, 0.1),
;
}
.item {
display: block;
margin: 0;
width: 100%;
text-align: left;
background: transparent;
border: none;
padding: 0.2rem 0.4rem;
&.is-selected,
&:hover {
border-radius: 0.4rem;
background: rgba(0, 0, 0, 0.05);
}
}