fix(vue.css): update sidebar style

This commit is contained in:
qingwei.li 2017-02-09 21:16:35 +08:00 committed by cinwell.li
commit fc140ef957
3 changed files with 20 additions and 2 deletions

View file

@ -235,6 +235,23 @@ main {
ul li ul {
padding-left: 20px;
}
&::-webkit-scrollbar {
width: 4px;
}
&::-webkit-scrollbar-thumb {
background: transparent;
border-radius: 4px;
}
&:hover::-webkit-scrollbar-thumb {
background: rgba(136, 136, 136, 0.4);
}
&:hover::-webkit-scrollbar-track {
background: rgba(136, 136, 136, 0.1);
}
}
/* sidebar toggle */

View file

@ -22,11 +22,12 @@ body {
}
ul li a {
color: #7f8c8d;
color: #505d6b;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
text-decoration: none;
font-size: 14px;
&:hover {
text-decoration: underline;