linkmore-design
Version:
π πlmη»δ»ΆεΊγπ
74 lines (72 loc) β’ 1.64 kB
text/less
.lm_quick_menu {
position: fixed;
right: 16px;
display: inline-flex;
z-index: 999;
background-color: #fff;
.ant-btn {
border: 0;
border-radius: 4px;
box-shadow: 0px 12px 48px 0px rgba(0, 0, 0, 0.03), 0px 9px 28px 0px rgba(0, 0, 0, 0.05), 0px 6px 16px 0px rgba(0, 0, 0, 0.08);
}
.lm_menu_list {
position: relative;
width: 0;
transition: all .1s;
opacity: 0;
display: none;
&.show {
opacity: 1;
width: inherit;
display: block;
}
&::before {
position: absolute;
left: 0;
width: 2px;
top: 0;
height: 100%;
background-color: var(--line-color);
content: '';
}
li {
display: flex;
height: 24px;
margin-bottom: 8px;
align-items: center;
justify-content: flex-start;
font-size: 12px;
color: var(--font-color);
padding: 0 16px;
cursor: pointer;
position: relative;
>a {
color: var(--font-color);
&.current {
color: var(--primary-color);
&::before {
position: absolute;
left: 0;
width: 2px;
top: 0;
height: 100%;
background-color: var(--primary-color);
content: '';
}
}
&:hover {
color: var(--primary-color);
// &::before {
// position: absolute;
// left: 0;
// width: 2px;
// top: 0;
// height: 100%;
// background-color: var(--primary-color);
// content: '';
// }
}
}
}
}
}