@timus-networks/theme 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (143) hide show
  1. package/README.md +90 -0
  2. package/components-js/exporter.js +19 -0
  3. package/components-js/interfaces.ts +11 -0
  4. package/components-js/utils.ts +20 -0
  5. package/components-ts/exporter.js +19 -0
  6. package/components-ts/interfaces.ts +11 -0
  7. package/components-ts/utils.ts +20 -0
  8. package/convert.js +98 -0
  9. package/index.d.ts +0 -0
  10. package/js-converter.js +90 -0
  11. package/loader.js +41 -0
  12. package/module.js +62 -0
  13. package/package.json +38 -0
  14. package/plugins/js-components-installer.js +21 -0
  15. package/plugins/theme-provider.ts +75 -0
  16. package/plugins/ts-components-installer.js +21 -0
  17. package/scss/_buttons.scss +160 -0
  18. package/scss/_colors.scss +159 -0
  19. package/scss/_containers.scss +7 -0
  20. package/scss/_element-ui.scss +14 -0
  21. package/scss/_fonts.scss +69 -0
  22. package/scss/_icons.scss +87 -0
  23. package/scss/_inputs.scss +39 -0
  24. package/scss/_layers.scss +9 -0
  25. package/scss/_selectbox.scss +4 -0
  26. package/scss/_variables.scss +16 -0
  27. package/scss/element-ui/alert.scss +147 -0
  28. package/scss/element-ui/aside.scss +7 -0
  29. package/scss/element-ui/autocomplete.scss +80 -0
  30. package/scss/element-ui/avatar.scss +51 -0
  31. package/scss/element-ui/backtop.scss +22 -0
  32. package/scss/element-ui/badge.scss +58 -0
  33. package/scss/element-ui/base.scss +2 -0
  34. package/scss/element-ui/breadcrumb-item.scss +0 -0
  35. package/scss/element-ui/breadcrumb.scss +55 -0
  36. package/scss/element-ui/button-group.scss +0 -0
  37. package/scss/element-ui/button.scss +275 -0
  38. package/scss/element-ui/calendar.scss +79 -0
  39. package/scss/element-ui/card.scss +32 -0
  40. package/scss/element-ui/carousel-item.scss +50 -0
  41. package/scss/element-ui/carousel.scss +162 -0
  42. package/scss/element-ui/cascader-panel.scss +120 -0
  43. package/scss/element-ui/cascader.scss +182 -0
  44. package/scss/element-ui/checkbox-button.scss +0 -0
  45. package/scss/element-ui/checkbox-group.scss +0 -0
  46. package/scss/element-ui/checkbox.scss +359 -0
  47. package/scss/element-ui/col.scss +157 -0
  48. package/scss/element-ui/collapse-item.scss +0 -0
  49. package/scss/element-ui/collapse.scss +63 -0
  50. package/scss/element-ui/color-picker.scss +384 -0
  51. package/scss/element-ui/common/popup.scss +42 -0
  52. package/scss/element-ui/common/transition.scss +99 -0
  53. package/scss/element-ui/common/var.scss +1029 -0
  54. package/scss/element-ui/container.scss +14 -0
  55. package/scss/element-ui/date-picker/date-picker.scss +97 -0
  56. package/scss/element-ui/date-picker/date-range-picker.scss +101 -0
  57. package/scss/element-ui/date-picker/date-table.scss +151 -0
  58. package/scss/element-ui/date-picker/month-table.scss +82 -0
  59. package/scss/element-ui/date-picker/picker-panel.scss +117 -0
  60. package/scss/element-ui/date-picker/picker.scss +197 -0
  61. package/scss/element-ui/date-picker/time-picker.scss +85 -0
  62. package/scss/element-ui/date-picker/time-range-picker.scss +31 -0
  63. package/scss/element-ui/date-picker/time-spinner.scss +110 -0
  64. package/scss/element-ui/date-picker/year-table.scss +51 -0
  65. package/scss/element-ui/date-picker.scss +12 -0
  66. package/scss/element-ui/descriptions-item.scss +42 -0
  67. package/scss/element-ui/descriptions.scss +111 -0
  68. package/scss/element-ui/dialog.scss +123 -0
  69. package/scss/element-ui/display.scss +12 -0
  70. package/scss/element-ui/divider.scss +47 -0
  71. package/scss/element-ui/drawer.scss +219 -0
  72. package/scss/element-ui/dropdown-item.scss +0 -0
  73. package/scss/element-ui/dropdown-menu.scss +0 -0
  74. package/scss/element-ui/dropdown.scss +182 -0
  75. package/scss/element-ui/empty.scss +45 -0
  76. package/scss/element-ui/fonts/element-icons.ttf +0 -0
  77. package/scss/element-ui/fonts/element-icons.woff +0 -0
  78. package/scss/element-ui/footer.scss +8 -0
  79. package/scss/element-ui/form-item.scss +0 -0
  80. package/scss/element-ui/form.scss +167 -0
  81. package/scss/element-ui/header.scss +8 -0
  82. package/scss/element-ui/icon.scss +1167 -0
  83. package/scss/element-ui/image.scss +179 -0
  84. package/scss/element-ui/index.scss +87 -0
  85. package/scss/element-ui/infinite-scroll.scss +0 -0
  86. package/scss/element-ui/infiniteScroll.scss +0 -0
  87. package/scss/element-ui/input-number.scss +181 -0
  88. package/scss/element-ui/input.scss +360 -0
  89. package/scss/element-ui/link.scss +81 -0
  90. package/scss/element-ui/loading.scss +97 -0
  91. package/scss/element-ui/main.scss +12 -0
  92. package/scss/element-ui/menu-item-group.scss +0 -0
  93. package/scss/element-ui/menu-item.scss +0 -0
  94. package/scss/element-ui/menu.scss +289 -0
  95. package/scss/element-ui/message-box.scss +226 -0
  96. package/scss/element-ui/message.scss +120 -0
  97. package/scss/element-ui/mixins/_button.scss +81 -0
  98. package/scss/element-ui/mixins/config.scss +4 -0
  99. package/scss/element-ui/mixins/function.scss +44 -0
  100. package/scss/element-ui/mixins/mixins.scss +190 -0
  101. package/scss/element-ui/mixins/utils.scss +39 -0
  102. package/scss/element-ui/notification.scss +99 -0
  103. package/scss/element-ui/option-group.scss +42 -0
  104. package/scss/element-ui/option.scss +36 -0
  105. package/scss/element-ui/page-header.scss +41 -0
  106. package/scss/element-ui/pagination.scss +295 -0
  107. package/scss/element-ui/popconfirm.scss +16 -0
  108. package/scss/element-ui/popover.scss +40 -0
  109. package/scss/element-ui/popper.scss +102 -0
  110. package/scss/element-ui/progress.scss +141 -0
  111. package/scss/element-ui/radio-button.scss +113 -0
  112. package/scss/element-ui/radio-group.scss +9 -0
  113. package/scss/element-ui/radio.scss +199 -0
  114. package/scss/element-ui/rate.scss +49 -0
  115. package/scss/element-ui/reset.scss +79 -0
  116. package/scss/element-ui/result.scss +61 -0
  117. package/scss/element-ui/row.scss +43 -0
  118. package/scss/element-ui/scrollbar.scss +72 -0
  119. package/scss/element-ui/select-dropdown.scss +62 -0
  120. package/scss/element-ui/select.scss +152 -0
  121. package/scss/element-ui/skeleton-item.scss +84 -0
  122. package/scss/element-ui/skeleton.scss +40 -0
  123. package/scss/element-ui/slider.scss +250 -0
  124. package/scss/element-ui/spinner.scss +44 -0
  125. package/scss/element-ui/statistic.scss +38 -0
  126. package/scss/element-ui/step.scss +317 -0
  127. package/scss/element-ui/steps.scss +20 -0
  128. package/scss/element-ui/submenu.scss +0 -0
  129. package/scss/element-ui/switch.scss +116 -0
  130. package/scss/element-ui/tab-pane.scss +0 -0
  131. package/scss/element-ui/table-column.scss +97 -0
  132. package/scss/element-ui/table.scss +564 -0
  133. package/scss/element-ui/tabs.scss +602 -0
  134. package/scss/element-ui/tag.scss +163 -0
  135. package/scss/element-ui/time-picker.scss +8 -0
  136. package/scss/element-ui/time-select.scss +37 -0
  137. package/scss/element-ui/timeline-item.scss +86 -0
  138. package/scss/element-ui/timeline.scss +14 -0
  139. package/scss/element-ui/tooltip.scss +141 -0
  140. package/scss/element-ui/transfer.scss +228 -0
  141. package/scss/element-ui/tree.scss +123 -0
  142. package/scss/element-ui/upload.scss +603 -0
  143. package/scss/main.scss +22 -0
@@ -0,0 +1,79 @@
1
+ @import "mixins/mixins";
2
+ @import "common/var";
3
+ @import "button";
4
+ @import "button-group";
5
+
6
+ @include b(calendar) {
7
+ background-color:#fff;
8
+
9
+ @include e(header) {
10
+ display: flex;
11
+ justify-content: space-between;
12
+ padding: 12px 20px;
13
+ border-bottom: $--table-border;
14
+ }
15
+
16
+ @include e(title) {
17
+ color: #000000;
18
+ align-self: center;
19
+ }
20
+
21
+ @include e(body) {
22
+ padding: 12px 20px 35px;
23
+ }
24
+ }
25
+
26
+ @include b(calendar-table) {
27
+ table-layout: fixed;
28
+ width: 100%;
29
+
30
+ thead th {
31
+ padding: 12px 0;
32
+ color: $--color-text-regular;
33
+ font-weight: normal;
34
+ }
35
+
36
+ &:not(.is-range) {
37
+ td.prev,
38
+ td.next {
39
+ color: $--color-text-placeholder;
40
+ }
41
+ }
42
+
43
+ td {
44
+ border-bottom: $--calendar-border;
45
+ border-right: $--calendar-border;
46
+ vertical-align: top;
47
+ transition: background-color 0.2s ease;
48
+
49
+ @include when(selected) {
50
+ background-color: $--calendar-selected-background-color;
51
+ }
52
+
53
+ @include when(today) {
54
+ color: $--color-primary;
55
+ }
56
+ }
57
+
58
+ tr:first-child td {
59
+ border-top: $--calendar-border;
60
+ }
61
+
62
+ tr td:first-child {
63
+ border-left: $--calendar-border;
64
+ }
65
+
66
+ tr.el-calendar-table__row--hide-border td {
67
+ border-top: none;
68
+ }
69
+
70
+ @include b(calendar-day) {
71
+ box-sizing: border-box;
72
+ padding: 8px;
73
+ height: $--calendar-cell-width;
74
+ &:hover {
75
+ cursor: pointer;
76
+ background-color: $--calendar-selected-background-color;
77
+ }
78
+ }
79
+ }
@@ -0,0 +1,32 @@
1
+ @import "mixins/mixins";
2
+ @import "common/var";
3
+
4
+ @include b(card) {
5
+ border-radius: $--card-border-radius;
6
+ border: 1px solid $--card-border-color;
7
+ background-color: $--color-white;
8
+ overflow: hidden;
9
+ color: $--color-text-primary;
10
+ transition: 0.3s;
11
+
12
+ @include when(always-shadow) {
13
+ box-shadow: $--box-shadow-light;
14
+ }
15
+
16
+ @include when(hover-shadow) {
17
+ &:hover,
18
+ &:focus {
19
+ box-shadow: $--box-shadow-light;
20
+ }
21
+ }
22
+
23
+ @include e(header) {
24
+ padding: #{$--card-padding - 2 $--card-padding};
25
+ border-bottom: 1px solid $--card-border-color;
26
+ box-sizing: border-box;
27
+ }
28
+
29
+ @include e(body) {
30
+ padding: $--card-padding;
31
+ }
32
+ }
@@ -0,0 +1,50 @@
1
+ @import "mixins/mixins";
2
+ @import "common/var";
3
+
4
+ @include b(carousel) {
5
+ @include e(item) {
6
+ position: absolute;
7
+ top: 0;
8
+ left: 0;
9
+ width: 100%;
10
+ height: 100%;
11
+ display: inline-block;
12
+ overflow: hidden;
13
+ z-index: #{$--index-normal - 1};
14
+
15
+ @include when(active) {
16
+ z-index: #{$--index-normal + 1};
17
+ }
18
+
19
+ @include when(animating) {
20
+ transition: transform .4s ease-in-out;
21
+ }
22
+
23
+ @include m(card) {
24
+ width: 50%;
25
+ transition: transform .4s ease-in-out;
26
+ &.is-in-stage {
27
+ cursor: pointer;
28
+ z-index: $--index-normal;
29
+ &:hover .el-carousel__mask,
30
+ &.is-hover .el-carousel__mask {
31
+ opacity: 0.12;
32
+ }
33
+ }
34
+ &.is-active {
35
+ z-index: #{$--index-normal + 1};
36
+ }
37
+ }
38
+ }
39
+
40
+ @include e(mask) {
41
+ position: absolute;
42
+ width: 100%;
43
+ height: 100%;
44
+ top: 0;
45
+ left: 0;
46
+ background-color: $--color-white;
47
+ opacity: 0.24;
48
+ transition: .2s;
49
+ }
50
+ }
@@ -0,0 +1,162 @@
1
+ @use "sass:math";
2
+ @import "mixins/mixins";
3
+ @import "common/var";
4
+
5
+ @include b(carousel) {
6
+ position: relative;
7
+
8
+ @include m(horizontal) {
9
+ overflow-x: hidden;
10
+ }
11
+
12
+ @include m(vertical) {
13
+ overflow-y: hidden;
14
+ }
15
+
16
+ @include e(container) {
17
+ position: relative;
18
+ height: 300px;
19
+ }
20
+
21
+ @include e(arrow) {
22
+ border: none;
23
+ outline: none;
24
+ padding: 0;
25
+ margin: 0;
26
+ height: $--carousel-arrow-size;
27
+ width: $--carousel-arrow-size;
28
+ cursor: pointer;
29
+ transition: .3s;
30
+ border-radius: 50%;
31
+ background-color: $--carousel-arrow-background;
32
+ color: $--color-white;
33
+ position: absolute;
34
+ top: 50%;
35
+ z-index: 10;
36
+ transform: translateY(-50%);
37
+ text-align: center;
38
+ font-size: $--carousel-arrow-font-size;
39
+
40
+ @include m(left) {
41
+ left: 16px;
42
+ }
43
+
44
+ @include m(right) {
45
+ right: 16px;
46
+ }
47
+
48
+ &:hover {
49
+ background-color: $--carousel-arrow-hover-background;
50
+ }
51
+
52
+ & i {
53
+ cursor: pointer;
54
+ }
55
+ }
56
+
57
+ @include e(indicators) {
58
+ position: absolute;
59
+ list-style: none;
60
+ margin: 0;
61
+ padding: 0;
62
+ z-index: #{$--index-normal + 1};
63
+
64
+ @include m(horizontal) {
65
+ bottom: 0;
66
+ left: 50%;
67
+ transform: translateX(-50%);
68
+ }
69
+
70
+ @include m(vertical) {
71
+ right: 0;
72
+ top: 50%;
73
+ transform: translateY(-50%);
74
+ }
75
+
76
+ @include m(outside) {
77
+ bottom: #{$--carousel-indicator-height + $--carousel-indicator-padding-vertical * 2};
78
+ text-align: center;
79
+ position: static;
80
+ transform: none;
81
+ .el-carousel__indicator:hover button {
82
+ opacity: 0.64;
83
+ }
84
+ button {
85
+ background-color: $--carousel-indicator-out-color;
86
+ opacity: 0.24;
87
+ }
88
+ }
89
+
90
+ @include m(labels) {
91
+ left: 0;
92
+ right: 0;
93
+ transform: none;
94
+ text-align: center;
95
+
96
+ .el-carousel__button {
97
+ height: auto;
98
+ width: auto;
99
+ padding: 2px 18px;
100
+ font-size: 12px;
101
+ }
102
+
103
+ .el-carousel__indicator {
104
+ padding: 6px 4px;
105
+ }
106
+ }
107
+ }
108
+
109
+ @include e(indicator) {
110
+ background-color: transparent;
111
+ cursor: pointer;
112
+
113
+ &:hover button {
114
+ opacity: 0.72;
115
+ }
116
+
117
+ @include m(horizontal) {
118
+ display: inline-block;
119
+ padding: $--carousel-indicator-padding-vertical $--carousel-indicator-padding-horizontal;
120
+ }
121
+
122
+ @include m(vertical) {
123
+ padding: $--carousel-indicator-padding-horizontal $--carousel-indicator-padding-vertical;
124
+ .el-carousel__button {
125
+ width: $--carousel-indicator-height;
126
+ height: math.div($--carousel-indicator-width, 2);
127
+ }
128
+ }
129
+
130
+ @include when(active) {
131
+ button {
132
+ opacity: 1;
133
+ }
134
+ }
135
+ }
136
+
137
+ @include e(button) {
138
+ display: block;
139
+ opacity: 0.48;
140
+ width: $--carousel-indicator-width;
141
+ height: $--carousel-indicator-height;
142
+ background-color: $--color-white;
143
+ border: none;
144
+ outline: none;
145
+ padding: 0;
146
+ margin: 0;
147
+ cursor: pointer;
148
+ transition: .3s;
149
+ }
150
+ }
151
+
152
+ .carousel-arrow-left-enter,
153
+ .carousel-arrow-left-leave-active {
154
+ transform: translateY(-50%) translateX(-10px);
155
+ opacity: 0;
156
+ }
157
+
158
+ .carousel-arrow-right-enter,
159
+ .carousel-arrow-right-leave-active {
160
+ transform: translateY(-50%) translateX(10px);
161
+ opacity: 0;
162
+ }
@@ -0,0 +1,120 @@
1
+ @import "mixins/mixins";
2
+ @import "common/var";
3
+ @import "./checkbox";
4
+ @import "./radio";
5
+ @import "./scrollbar";
6
+
7
+ @include b(cascader-panel) {
8
+ display: flex;
9
+ border-radius: $--cascader-menu-radius;
10
+ font-size: $--cascader-menu-font-size;
11
+
12
+ @include when(bordered) {
13
+ border: $--cascader-menu-border;
14
+ border-radius: $--cascader-menu-radius;
15
+ }
16
+ }
17
+
18
+ @include b(cascader-menu) {
19
+ min-width: 180px;
20
+ box-sizing: border-box;
21
+ color: $--cascader-menu-font-color;
22
+ border-right: $--cascader-menu-border;
23
+
24
+ &:last-child {
25
+ border-right: none;
26
+ .el-cascader-node {
27
+ padding-right: 20px;
28
+ }
29
+ }
30
+
31
+ @include e(wrap) {
32
+ height: 204px;
33
+ }
34
+
35
+ @include e(list) {
36
+ position: relative;
37
+ min-height: 100%;
38
+ margin: 0;
39
+ padding: 6px 0;
40
+ list-style: none;
41
+ box-sizing: border-box;
42
+ }
43
+
44
+ @include e(hover-zone) {
45
+ position: absolute;
46
+ top: 0;
47
+ left: 0;
48
+ width: 100%;
49
+ height: 100%;
50
+ pointer-events: none;
51
+ }
52
+
53
+ @include e(empty-text) {
54
+ position: absolute;
55
+ top: 50%;
56
+ left: 50%;
57
+ transform: translate(-50%, -50%);
58
+ text-align: center;
59
+ color: $--cascader-color-empty;
60
+ }
61
+ }
62
+
63
+ @include b(cascader-node) {
64
+ position: relative;
65
+ display: flex;
66
+ align-items: center;
67
+ padding: 0 30px 0 20px;
68
+ height: 34px;
69
+ line-height: 34px;
70
+ outline: none;
71
+
72
+ &.is-selectable.in-active-path {
73
+ color: $--cascader-menu-font-color;
74
+ }
75
+
76
+ &.in-active-path,
77
+ &.is-selectable.in-checked-path,
78
+ &.is-active {
79
+ color: $--cascader-menu-selected-font-color;
80
+ font-weight: bold;
81
+ }
82
+
83
+ &:not(.is-disabled) {
84
+ cursor: pointer;
85
+ &:hover, &:focus {
86
+ background: $--cascader-node-background-hover;
87
+ }
88
+ }
89
+
90
+ @include when(disabled) {
91
+ color: $--cascader-node-color-disabled;
92
+ cursor: not-allowed;
93
+ }
94
+
95
+ @include e(prefix) {
96
+ position: absolute;
97
+ left: 10px;
98
+ }
99
+
100
+ @include e(postfix) {
101
+ position: absolute;
102
+ right: 10px;
103
+ }
104
+
105
+ @include e(label) {
106
+ flex: 1;
107
+ padding: 0 10px;
108
+ white-space: nowrap;
109
+ overflow: hidden;
110
+ text-overflow: ellipsis;
111
+ }
112
+
113
+ > .el-radio {
114
+ margin-right: 0;
115
+
116
+ .el-radio__label {
117
+ padding-left: 0;
118
+ }
119
+ }
120
+ }
@@ -0,0 +1,182 @@
1
+ @import "mixins/mixins";
2
+ @import "common/var";
3
+ @import "./input";
4
+ @import "./popper";
5
+ @import "./tag";
6
+ @import "./cascader-panel";
7
+
8
+ @include b(cascader) {
9
+ display: inline-block;
10
+ position: relative;
11
+ font-size: $--font-size-base;
12
+ line-height: $--input-height;
13
+
14
+ &:not(.is-disabled):hover {
15
+ .el-input__inner {
16
+ cursor: pointer;
17
+ border-color: $--input-hover-border;
18
+ }
19
+ }
20
+
21
+ .el-input {
22
+ cursor: pointer;
23
+
24
+ .el-input__inner {
25
+ text-overflow: ellipsis;
26
+
27
+ &:focus {
28
+ border-color: $--input-focus-border;
29
+ }
30
+ }
31
+
32
+ .el-icon-arrow-down {
33
+ transition: transform .3s;
34
+ font-size: 14px;
35
+
36
+ @include when(reverse) {
37
+ transform: rotateZ(180deg);
38
+ }
39
+ }
40
+
41
+ .el-icon-circle-close:hover {
42
+ color: $--input-clear-hover-color;
43
+ }
44
+
45
+ @include when(focus) {
46
+ .el-input__inner {
47
+ border-color: $--input-focus-border;
48
+ }
49
+ }
50
+ }
51
+
52
+ @include m(medium) {
53
+ font-size: $--input-medium-font-size;
54
+ line-height: $--input-medium-height;
55
+ }
56
+
57
+ @include m(small) {
58
+ font-size: $--input-small-font-size;
59
+ line-height: $--input-small-height;
60
+ }
61
+
62
+ @include m(mini) {
63
+ font-size: $--input-mini-font-size;
64
+ line-height: $--input-mini-height;
65
+ }
66
+
67
+ @include when(disabled) {
68
+ .el-cascader__label {
69
+ z-index: #{$--index-normal + 1};
70
+ color: $--disabled-color-base;
71
+ }
72
+ }
73
+
74
+ @include e(dropdown) {
75
+ margin: 5px 0;
76
+ font-size: $--cascader-menu-font-size;
77
+ background: $--cascader-menu-fill;
78
+ border: $--cascader-menu-border;
79
+ border-radius: $--cascader-menu-radius;
80
+ box-shadow: $--cascader-menu-shadow;
81
+ }
82
+
83
+ @include e(tags) {
84
+ position: absolute;
85
+ left: 0;
86
+ right: 30px;
87
+ top: 50%;
88
+ transform: translateY(-50%);
89
+ display: flex;
90
+ flex-wrap: wrap;
91
+ line-height: normal;
92
+ text-align: left;
93
+ box-sizing: border-box;
94
+
95
+ .el-tag {
96
+ display: inline-flex;
97
+ align-items: center;
98
+ max-width: 100%;
99
+ margin: 2px 0 2px 6px;
100
+ text-overflow: ellipsis;
101
+ background: $--cascader-tag-background;
102
+
103
+ &:not(.is-hit) {
104
+ border-color: transparent;
105
+ }
106
+
107
+ > span {
108
+ flex: 1;
109
+ overflow: hidden;
110
+ text-overflow: ellipsis;
111
+ }
112
+
113
+ .el-icon-close {
114
+ flex: none;
115
+ background-color: $--color-text-placeholder;
116
+ color: $--color-white;
117
+
118
+ &:hover {
119
+ background-color: $--color-text-secondary;
120
+ }
121
+ }
122
+ }
123
+ }
124
+
125
+ @include e(suggestion-panel) {
126
+ border-radius: $--cascader-menu-radius;
127
+ }
128
+
129
+ @include e(suggestion-list) {
130
+ max-height: 204px;
131
+ margin: 0;
132
+ padding: 6px 0;
133
+ font-size: $--font-size-base;
134
+ color: $--cascader-menu-font-color;
135
+ text-align: center;
136
+ }
137
+
138
+ @include e(suggestion-item) {
139
+ display: flex;
140
+ justify-content: space-between;
141
+ align-items: center;
142
+ height: 34px;
143
+ padding: 0 15px;
144
+ text-align: left;
145
+ outline: none;
146
+ cursor: pointer;
147
+
148
+ &:hover, &:focus {
149
+ background: $--cascader-node-background-hover;
150
+ }
151
+
152
+ &.is-checked {
153
+ color: $--cascader-menu-selected-font-color;
154
+ font-weight: bold;
155
+ }
156
+
157
+ > span {
158
+ margin-right: 10px;
159
+ }
160
+ }
161
+
162
+ @include e(empty-text) {
163
+ margin: 10px 0;
164
+ color: $--cascader-color-empty;
165
+ }
166
+
167
+ @include e(search-input) {
168
+ flex: 1;
169
+ height: 24px;
170
+ min-width: 60px;
171
+ margin: 2px 0 2px 15px;
172
+ padding: 0;
173
+ color: $--cascader-menu-font-color;
174
+ border: none;
175
+ outline: none;
176
+ box-sizing: border-box;
177
+
178
+ &::placeholder {
179
+ color: $--color-text-placeholder;
180
+ }
181
+ }
182
+ }
File without changes
File without changes