更新样式:微调transition动画效果
This commit is contained in:
parent
861e503ca5
commit
2d513363b3
|
@ -34,7 +34,7 @@
|
||||||
.nav [data-toggle="dropdown"] {
|
.nav [data-toggle="dropdown"] {
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
padding: 6px 12px;
|
padding: 6px 12px;
|
||||||
transition: all .25s linear;
|
transition: color .25s linear, border-color .25s linear;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav .dropdown-menu {
|
.nav .dropdown-menu {
|
||||||
|
|
|
@ -59,7 +59,7 @@ body, .form-control, .dropdown-menu, .btn:not(.btn-lg), .input-group-text, .popo
|
||||||
.sidebar .nav-link {
|
.sidebar .nav-link {
|
||||||
color: #aeb2b7;
|
color: #aeb2b7;
|
||||||
padding: 15px 10px;
|
padding: 15px 10px;
|
||||||
transition: all .3s linear;
|
transition: background .3s linear, color .3s linear;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue