style: 后台管理navbar增加动画效果

This commit is contained in:
Argo Zhang 2019-08-15 09:04:50 +08:00
parent 71ba36c798
commit 8a5799fa81
No known key found for this signature in database
GPG Key ID: 152E398953DDF19F
1 changed files with 10 additions and 0 deletions

View File

@ -98,10 +98,20 @@
font-weight: 600;
}
.sidebar-toggle-box .fa-bars {
transition: transform .3s ease-in-out;
width: 20px;
transform-origin: center;
}
.sidebar-open .main-content {
display: none;
}
.sidebar-open .sidebar-toggle-box .fa-bars {
transform: rotate(-90deg);
}
.main-content {
padding: 15px 15px 0 15px;
margin-left: 0;