1 | @import "../core/index-noreset.scss";
|
2 | @import "../button/scss/variable.scss";
|
3 | @import "scss/mixin";
|
4 | @import "scss/variable";
|
5 |
|
6 | #{$menu-btn-prefix} {
|
7 | display: inline-block;
|
8 | box-shadow: none;
|
9 |
|
10 | .#{$css-prefix}icon {
|
11 | transition: transform .3s cubic-bezier(.645, .045, .355, 1);
|
12 | }
|
13 |
|
14 | &.#{$css-prefix}expand .#{$css-prefix}menu-btn-arrow {
|
15 | transform: rotate(180deg);
|
16 | }
|
17 |
|
18 | &.#{$css-prefix}btn-normal .#{$css-prefix}menu-btn-arrow {
|
19 | color: $menu-btn-pure-text-normal-icon-color;
|
20 | }
|
21 |
|
22 | &.#{$css-prefix}btn-secondary .#{$css-prefix}menu-btn-arrow {
|
23 | color: $menu-btn-pure-text-secondary-icon-color;
|
24 | }
|
25 |
|
26 | &.#{$css-prefix}btn-primary .#{$css-prefix}menu-btn-arrow {
|
27 | color: $menu-btn-pure-text-primary-icon-color;
|
28 | }
|
29 |
|
30 | &.#{$css-prefix}btn-text.#{$css-prefix}btn-normal .#{$css-prefix}menu-btn-arrow {
|
31 | color: $menu-btn-text-text-normal-icon-color;
|
32 | }
|
33 |
|
34 | &.#{$css-prefix}btn-text.#{$css-prefix}btn-primary .#{$css-prefix}menu-btn-arrow {
|
35 | color: $menu-btn-text-text-primary-icon-color;
|
36 | }
|
37 |
|
38 | &.#{$css-prefix}btn-ghost.#{$css-prefix}btn-light .#{$css-prefix}menu-btn-arrow {
|
39 | color: $menu-btn-ghost-light-icon-color;
|
40 | }
|
41 |
|
42 | &.#{$css-prefix}btn-ghost.#{$css-prefix}btn-dark .#{$css-prefix}menu-btn-arrow {
|
43 | color: $menu-btn-ghost-dark-icon-color;
|
44 | }
|
45 |
|
46 | &.disabled .#{$css-prefix}menu-btn-arrow,
|
47 | &[disabled] .#{$css-prefix}menu-btn-arrow {
|
48 | color: $menu-btn-disabled-icon-color;
|
49 | }
|
50 |
|
51 | &.#{$css-prefix}btn-text.disabled .#{$css-prefix}menu-btn-arrow,
|
52 | &.#{$css-prefix}btn-text[disabled] .#{$css-prefix}menu-btn-arrow {
|
53 | color: $menu-btn-disabled-icon-color;
|
54 | }
|
55 |
|
56 | &[disabled].#{$css-prefix}btn-ghost.#{$css-prefix}btn-dark .#{$css-prefix}menu-btn-arrow {
|
57 | color: $menu-btn-ghost-dark-disabled-icon-color;
|
58 | }
|
59 |
|
60 | &[disabled].#{$css-prefix}btn-ghost.#{$css-prefix}btn-light .#{$css-prefix}menu-btn-arrow {
|
61 | color: $menu-btn-ghost-light-disabled-icon-color;
|
62 | }
|
63 | }
|