wip(menu): perf menu

This commit is contained in:
vben
2020-12-14 00:41:00 +08:00
parent f81c401959
commit cbcd909867
14 changed files with 424 additions and 364 deletions

View File

@@ -34,9 +34,9 @@
border: 1px solid darken(@border-color-light, 6%);
transition: none;
&:not(.ant-tabs-tab-active)::before {
&:not(.ant-tabs-tab-active)::after {
position: absolute;
top: -1px;
bottom: -1px;
left: 50%;
width: 100%;
height: 2px;
@@ -53,7 +53,7 @@
opacity: 1;
}
&:not(.ant-tabs-tab-active)::before {
&:not(.ant-tabs-tab-active)::after {
opacity: 1;
transform: translate(-50%, 0) scaleX(1);
transition: all 0.3s ease-in-out;