|
@ -42,12 +42,12 @@ |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
&-horizontal &-submenu { |
|
|
&-horizontal &-submenu { |
|
|
transition: border-color 0.3s ease-in-out, background 0.3s ease-in-out; |
|
|
transition: border-color 0.3s @ease-in-out, background 0.3s @ease-in-out; |
|
|
} |
|
|
} |
|
|
&-submenu, |
|
|
&-submenu, |
|
|
&-submenu-inline { |
|
|
&-submenu-inline { |
|
|
transition: border-color 0.3s ease-in-out, background 0.3s ease-in-out, |
|
|
transition: border-color 0.3s @ease-in-out, background 0.3s @ease-in-out, |
|
|
padding 0.15s ease-in-out; |
|
|
padding 0.15s @ease-in-out; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
&-submenu-selected { |
|
|
&-submenu-selected { |
|
@ -61,7 +61,7 @@ |
|
|
|
|
|
|
|
|
&-submenu &-sub { |
|
|
&-submenu &-sub { |
|
|
cursor: initial; |
|
|
cursor: initial; |
|
|
transition: background 0.3s ease-in-out, padding 0.3s ease-in-out; |
|
|
transition: background 0.3s @ease-in-out, padding 0.3s @ease-in-out; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
&-item a { |
|
|
&-item a { |
|
@ -173,7 +173,8 @@ |
|
|
|
|
|
|
|
|
&-horizontal &-item, |
|
|
&-horizontal &-item, |
|
|
&-horizontal &-submenu-title { |
|
|
&-horizontal &-submenu-title { |
|
|
transition: color 0.3s ease-in-out, border-color 0.3s ease-in-out, background 0.3s ease-in-out; |
|
|
transition: color 0.3s @ease-in-out, border-color 0.3s @ease-in-out, |
|
|
|
|
|
background 0.3s @ease-in-out; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
&-item, |
|
|
&-item, |
|
@ -184,16 +185,16 @@ |
|
|
padding: @menu-item-padding; |
|
|
padding: @menu-item-padding; |
|
|
white-space: nowrap; |
|
|
white-space: nowrap; |
|
|
cursor: pointer; |
|
|
cursor: pointer; |
|
|
transition: color 0.3s ease-in-out, border-color 0.3s ease-in-out, background 0.3s ease-in-out, |
|
|
transition: color 0.3s @ease-in-out, border-color 0.3s @ease-in-out, |
|
|
padding 0.15s ease-in-out; |
|
|
background 0.3s @ease-in-out, padding 0.15s @ease-in-out; |
|
|
.@{iconfont-css-prefix} { |
|
|
.@{iconfont-css-prefix} { |
|
|
min-width: 14px; |
|
|
min-width: 14px; |
|
|
margin-right: @menu-icon-margin-right; |
|
|
margin-right: @menu-icon-margin-right; |
|
|
font-size: @menu-icon-size; |
|
|
font-size: @menu-icon-size; |
|
|
transition: font-size 0.15s ease-out, margin 0.3s ease-in-out, color 0.3s ease-in-out; |
|
|
transition: font-size 0.15s @ease-out, margin 0.3s @ease-in-out, color 0.3s @ease-in-out; |
|
|
+ span { |
|
|
+ span { |
|
|
opacity: 1; |
|
|
opacity: 1; |
|
|
transition: opacity 0.3s ease-in-out, width 0.3s ease-in-out, color 0.3s ease-in-out; |
|
|
transition: opacity 0.3s @ease-in-out, width 0.3s @ease-in-out, color 0.3s @ease-in-out; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -246,7 +247,7 @@ |
|
|
background-color: @menu-bg; |
|
|
background-color: @menu-bg; |
|
|
border-radius: @border-radius-base; |
|
|
border-radius: @border-radius-base; |
|
|
&-submenu-title::after { |
|
|
&-submenu-title::after { |
|
|
transition: transform 0.3s ease-in-out; |
|
|
transition: transform 0.3s @ease-in-out; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -262,7 +263,7 @@ |
|
|
width: 10px; |
|
|
width: 10px; |
|
|
color: @menu-item-color; |
|
|
color: @menu-item-color; |
|
|
transform: translateY(-50%); |
|
|
transform: translateY(-50%); |
|
|
transition: transform 0.3s ease-in-out; |
|
|
transition: transform 0.3s @ease-in-out; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
&-arrow { |
|
|
&-arrow { |
|
@ -273,8 +274,8 @@ |
|
|
height: 1.5px; |
|
|
height: 1.5px; |
|
|
background-color: currentColor; |
|
|
background-color: currentColor; |
|
|
border-radius: 2px; |
|
|
border-radius: 2px; |
|
|
transition: background 0.3s ease-in-out, transform 0.3s ease-in-out, top 0.3s ease-in-out, |
|
|
transition: background 0.3s @ease-in-out, transform 0.3s @ease-in-out, top 0.3s @ease-in-out, |
|
|
color 0.3s ease-in-out; |
|
|
color 0.3s @ease-in-out; |
|
|
content: ''; |
|
|
content: ''; |
|
|
} |
|
|
} |
|
|
&::before { |
|
|
&::before { |
|
@ -396,7 +397,7 @@ |
|
|
border-right: @menu-item-active-border-width solid @menu-highlight-color; |
|
|
border-right: @menu-item-active-border-width solid @menu-highlight-color; |
|
|
transform: scaleY(0.0001); |
|
|
transform: scaleY(0.0001); |
|
|
opacity: 0; |
|
|
opacity: 0; |
|
|
transition: transform 0.15s ease-out, opacity 0.15s ease-out; |
|
|
transition: transform 0.15s @ease-out, opacity 0.15s @ease-out; |
|
|
content: ''; |
|
|
content: ''; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
@ -441,7 +442,7 @@ |
|
|
&::after { |
|
|
&::after { |
|
|
transform: scaleY(1); |
|
|
transform: scaleY(1); |
|
|
opacity: 1; |
|
|
opacity: 1; |
|
|
transition: transform 0.15s ease-in-out, opacity 0.15s ease-in-out; |
|
|
transition: transform 0.15s @ease-in-out, opacity 0.15s @ease-in-out; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|