fix: @layout-sider-background cannot set to linear-gradient (#26810)

close #26755
This commit is contained in:
偏右 2020-09-18 14:29:42 +08:00 committed by GitHub
parent c592714c88
commit 2e4cbba8d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -109,8 +109,19 @@
cursor: pointer;
transition: background 0.3s ease;
&:hover {
background: tint(@layout-sider-background, 10%);
&::after {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
background: transparent;
transition: all 0.3s;
content: '';
}
&:hover::after {
background: rgba(255, 255, 255, 0.1);
}
&-right {