fix: #1191 and remove hover status (#1197)

This commit is contained in:
Ran Luo 2019-07-29 00:01:30 +08:00 committed by GitHub
parent e79b33f337
commit 72c9d94b14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 9 deletions

View File

@ -144,16 +144,16 @@
border-right: 1px solid #181a1f !important; border-right: 1px solid #181a1f !important;
} }
.left-column ul > li > svg { .left-column ul > li > svg {
color: rgba(215, 218, 224, 0.6) !important; fill: rgba(215, 218, 224, 0.6) !important;
} }
.left-column ul > li:hover > svg { .left-column ul > li:hover > svg {
color: #d7dae0 !important; fill: #d7dae0 !important;
} }
.left-column ul > li:hover > svg { .left-column ul > li:hover > svg {
color: #d7dae0 !important; fill: #d7dae0 !important;
} }
.left-column ul > li.active > svg { .left-column ul > li.active > svg {
color: #4d78cc !important; fill: #4d78cc !important;
} }
.open-project button.button-primary, .open-project button.button-primary,

View File

@ -185,15 +185,12 @@ export default {
& > svg { & > svg {
width: 18px; width: 18px;
height: 18px; height: 18px;
fill: var(--sideBarIconColor);
opacity: 1; opacity: 1;
color: var(--sideBarIconColor);
transition: transform .25s ease-in-out; transition: transform .25s ease-in-out;
} }
&:hover > svg {
color: var(--themeColor);
}
&.active > svg { &.active > svg {
color: var(--themeColor); fill: var(--themeColor);
} }
} }
} }