更新样式:微调transition动画效果

This commit is contained in:
Argo-Surface 2019-02-23 17:27:37 +08:00
parent 861e503ca5
commit 2d513363b3
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@
.nav [data-toggle="dropdown"] {
border-radius: 4px;
padding: 6px 12px;
transition: all .25s linear;
transition: color .25s linear, border-color .25s linear;
}
.nav .dropdown-menu {

View File

@ -59,7 +59,7 @@ body, .form-control, .dropdown-menu, .btn:not(.btn-lg), .input-group-text, .popo
.sidebar .nav-link {
color: #aeb2b7;
padding: 15px 10px;
transition: all .3s linear;
transition: background .3s linear, color .3s linear;
display: flex;
align-items: center;
}