@perfma/heaven
Version:
An UI Framework base [Ant Design V4](https://ant.design/components/overview-cn/) for React.
60 lines (50 loc) • 981 B
text/less
.letter-index-list {
display: flex;
&-nav {
width: 24px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background: #f2f2f2;
border-right: 1px solid #d9d9d9;
text-align: center;
color: #999999;
&-item {
cursor: pointer;
width: 100%;
line-height: 1;
padding: 1.25px 0;
&.is-active,
&:hover {
color: #3271fe;
}
}
}
&-content {
flex: 1;
overflow-y: auto;
overflow-x: hidden;
&-item {
cursor: pointer;
padding: 9px 18px;
&:hover:not(.is-selected, .is-letter) {
background: #ecf6ff;
}
&.is-letter {
background: #f2f2f2;
font-size: 14px;
line-height: 1;
padding: 12px 18px;
&.is-sticky {
position: sticky;
top: 0;
}
}
&.is-selected {
background: #3271fe;
color: #fff;
}
}
}
}