优化 anchor 样式

This commit is contained in:
就眠儀式 2022-01-03 00:04:05 +08:00
parent 923e16a5d7
commit ab0014a556

View File

@ -206,14 +206,6 @@ const throttle = (func: Function, wait: number) => {
border-radius: 2px; border-radius: 2px;
cursor: pointer; cursor: pointer;
transition: all 0.1s cubic-bezier(0, 0, 1, 1); transition: all 0.1s cubic-bezier(0, 0, 1, 1);
&:hover {
background-color: #f6f6f6 !important;
color: #5fb878;
}
&:active {
background-color: #f6f6f6 !important;
color: #89d89f;
}
} }
.lay-aside-list { .lay-aside-list {
position: relative; position: relative;
@ -226,10 +218,16 @@ const throttle = (func: Function, wait: number) => {
background-color: #f6f6f6 !important; background-color: #f6f6f6 !important;
color: #5fb878; color: #5fb878;
} }
} &:active {
.active { background-color: #f6f6f6 !important;
background-color: #f6f6f6 !important; color: #89d89f;
color: #5fb878 !important; }
&.active {
background-color: #f6f6f6 !important;
* {
color: #5fb878 !important;
}
}
} }
.lay-aside-collapse-btn { .lay-aside-collapse-btn {