@@ -83,28 +83,12 @@ a.@{prefix}-menu__item {
8383 }
8484 }
8585
86- .@{prefix} -submenu {
87- > .@{prefix} -menu__item {
88- overflow : unset ;
89-
90- & ::before {
91- content : ' ' ;
92- display : block ;
93- position : absolute ;
94- bottom : -20px ;
95- left : 0 ;
96- right : 0 ;
97- height : 20px ;
98- }
99- }
100- }
101-
10286 .@{prefix} -menu__item {
10387 height : @head-menu-item-height ;
10488 line-height : @head-menu-item-height ;
10589 padding : 0 @comp-paddingLR-m ;
10690 justify-content : center ;
107- transition : all @anim-duration-slow cubic-bezier (.645 , .045 , .355 , 1 );
91+ transition : all @anim-duration-slow cubic-bezier (0 .645 , 0 .045 , 0 .355 , 1 );
10892 gap : @comp-margin-s ;
10993
11094 .t-icon {
@@ -127,7 +111,7 @@ a.@{prefix}-menu__item {
127111 width : @default-menu-width ;
128112 display : inline-block ;
129113 background : @menu-theme-light ;
130- transition : width @anim-duration-slow cubic-bezier (.645 , .045 , .355 , 1 );
114+ transition : width @anim-duration-slow cubic-bezier (0 .645 , 0 .045 , 0 .355 , 1 );
131115 white-space : nowrap ;
132116
133117 .@{prefix} -menu__item {
@@ -364,8 +348,7 @@ a.@{prefix}-menu__item {
364348 border-bottom : 0 ;
365349 text-align : left ;
366350 border-radius : @border-radius-default ;
367- transition :
368- background- color @anim-duration-slow @anim-time-fn-easing ,
351+ transition : background- color @anim-duration-slow @anim-time-fn-easing ,
369352 padding @anim-duration-slow @anim-time-fn-easing ;
370353 box-sizing : border-box ;
371354
@@ -512,6 +495,13 @@ a.@{prefix}-menu__item {
512495 }
513496
514497 &--top ::before {
498+ bottom : -20px ;
499+ left : 0 ;
500+ right : 0 ;
501+ height : 20px ;
502+ }
503+
504+ &--bottom ::before {
515505 top : -20px ;
516506 left : 0 ;
517507 right : 0 ;
@@ -553,13 +543,6 @@ a.@{prefix}-menu__item {
553543 top : 0 ;
554544 bottom : 0 ;
555545 }
556-
557- &--bottom ::before {
558- bottom : -20px ;
559- left : 0 ;
560- right : 0 ;
561- height : 20px ;
562- }
563546 }
564547
565548 a {
@@ -644,7 +627,7 @@ a.@{prefix}-menu__item {
644627
645628 .@{prefix} -menu__popup {
646629 background : @menu-theme-dark ;
647- border : solid .5px @menu-border-color--dark ;
630+ border : solid 0 .5px @menu-border-color--dark ;
648631
649632 .@{prefix} -menu__item {
650633 color : @menu-item-color--dark ;
@@ -684,10 +667,6 @@ a.@{prefix}-menu__item {
684667 opacity : 0 ;
685668 .list-style-none ();
686669
687- & .@{prefix} -popup__content {
688- position : absolute ;
689- }
690-
691670 &-wrapper {
692671 padding : @pop-padding-m ;
693672 height : 100% ;
@@ -760,7 +739,7 @@ a.@{prefix}-menu__item {
760739
761740// opacity-transition
762741.@{prefix} -opacity-transition {
763- transition : opacity @anim-duration-slow cubic-bezier (.55 , 0 , .1 , 1 );
742+ transition : opacity @anim-duration-slow cubic-bezier (0 .55 , 0 , 0 .1 , 1 );
764743}
765744
766745.horizontal-collapse-transition .@{prefix} -submenu__title .@{prefix} -submenu__icon-arrow {
@@ -770,7 +749,7 @@ a.@{prefix}-menu__item {
770749
771750.@{prefix} -menu__popup {
772751 top : 0 ;
773- left : calc (100 % - @pop-padding-m );
752+ left : calc (0 px - @pop-padding-m );
774753
775754 .@{prefix} -menu__item ,
776755 .@{prefix} -submenu {
0 commit comments