cy-element-ui 1.0.44 → 1.0.45

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 (207) hide show
  1. package/lib/element-ui.common.js +1 -1
  2. package/lib/index.js +1 -1
  3. package/lib/theme-chalk/alert.css +1 -0
  4. package/lib/theme-chalk/aside.css +1 -0
  5. package/lib/theme-chalk/autocomplete.css +1 -0
  6. package/lib/theme-chalk/avatar.css +1 -0
  7. package/lib/theme-chalk/backtop.css +1 -0
  8. package/lib/theme-chalk/badge.css +1 -0
  9. package/lib/theme-chalk/base.css +1 -1
  10. package/lib/theme-chalk/breadcrumb.css +1 -0
  11. package/lib/theme-chalk/button.css +1 -0
  12. package/lib/theme-chalk/calendar.css +1 -0
  13. package/lib/theme-chalk/card.css +1 -0
  14. package/lib/theme-chalk/carousel-item.css +1 -0
  15. package/lib/theme-chalk/carousel.css +1 -0
  16. package/lib/theme-chalk/cascader-panel.css +1 -0
  17. package/lib/theme-chalk/cascader.css +1 -0
  18. package/lib/theme-chalk/checkbox.css +1 -0
  19. package/lib/theme-chalk/col.css +1 -0
  20. package/lib/theme-chalk/collapse.css +1 -0
  21. package/lib/theme-chalk/color-picker.css +1 -0
  22. package/lib/theme-chalk/container.css +1 -0
  23. package/lib/theme-chalk/date-picker.css +1 -0
  24. package/lib/theme-chalk/descriptions-item.css +1 -0
  25. package/lib/theme-chalk/descriptions.css +1 -0
  26. package/lib/theme-chalk/dialog.css +1 -0
  27. package/lib/theme-chalk/display.css +1 -0
  28. package/lib/theme-chalk/divider.css +1 -0
  29. package/lib/theme-chalk/drawer.css +1 -0
  30. package/lib/theme-chalk/dropdown.css +1 -0
  31. package/lib/theme-chalk/empty.css +1 -0
  32. package/lib/theme-chalk/footer.css +1 -0
  33. package/lib/theme-chalk/form.css +1 -0
  34. package/lib/theme-chalk/header.css +1 -0
  35. package/lib/theme-chalk/icon.css +1 -0
  36. package/lib/theme-chalk/image.css +1 -0
  37. package/lib/theme-chalk/index.css +1 -1
  38. package/lib/theme-chalk/input-number.css +1 -0
  39. package/lib/theme-chalk/input.css +1 -0
  40. package/lib/theme-chalk/link.css +1 -0
  41. package/lib/theme-chalk/loading.css +1 -0
  42. package/lib/theme-chalk/main.css +1 -0
  43. package/lib/theme-chalk/menu.css +1 -0
  44. package/lib/theme-chalk/message-box.css +1 -0
  45. package/lib/theme-chalk/message.css +1 -0
  46. package/lib/theme-chalk/notification.css +1 -0
  47. package/lib/theme-chalk/option-group.css +1 -0
  48. package/lib/theme-chalk/option.css +1 -0
  49. package/lib/theme-chalk/page-header.css +1 -0
  50. package/lib/theme-chalk/pagination.css +1 -0
  51. package/lib/theme-chalk/popconfirm.css +1 -0
  52. package/lib/theme-chalk/popover.css +1 -0
  53. package/lib/theme-chalk/popper.css +1 -0
  54. package/lib/theme-chalk/progress.css +1 -0
  55. package/lib/theme-chalk/radio-button.css +1 -0
  56. package/lib/theme-chalk/radio-group.css +1 -0
  57. package/lib/theme-chalk/radio.css +1 -0
  58. package/lib/theme-chalk/rate.css +1 -0
  59. package/lib/theme-chalk/reset.css +1 -0
  60. package/lib/theme-chalk/result.css +1 -0
  61. package/lib/theme-chalk/row.css +1 -0
  62. package/lib/theme-chalk/scrollbar.css +1 -0
  63. package/lib/theme-chalk/select-dropdown.css +1 -0
  64. package/lib/theme-chalk/select.css +1 -0
  65. package/lib/theme-chalk/skeleton-item.css +1 -0
  66. package/lib/theme-chalk/skeleton.css +1 -0
  67. package/lib/theme-chalk/slider.css +1 -0
  68. package/lib/theme-chalk/spinner.css +1 -0
  69. package/lib/theme-chalk/statistic.css +1 -0
  70. package/lib/theme-chalk/step.css +1 -0
  71. package/lib/theme-chalk/steps.css +1 -0
  72. package/lib/theme-chalk/switch.css +1 -0
  73. package/lib/theme-chalk/table-column.css +1 -0
  74. package/lib/theme-chalk/table.css +1 -0
  75. package/lib/theme-chalk/tabs.css +1 -0
  76. package/lib/theme-chalk/tag.css +1 -0
  77. package/lib/theme-chalk/time-picker.css +1 -0
  78. package/lib/theme-chalk/time-select.css +1 -0
  79. package/lib/theme-chalk/timeline-item.css +1 -0
  80. package/lib/theme-chalk/timeline.css +1 -0
  81. package/lib/theme-chalk/tooltip.css +1 -0
  82. package/lib/theme-chalk/transfer.css +1 -0
  83. package/lib/theme-chalk/tree.css +1 -0
  84. package/lib/theme-chalk/upload.css +1 -0
  85. package/package.json +2 -2
  86. package/packages/theme-chalk/src/common/var.scss +16 -16
  87. package/packages/theme-cy/gulpfile.js +14 -1
  88. package/src/index.js +1 -1
  89. package/lib/theme-chalk/README.md +0 -33
  90. package/lib/theme-chalk/gulpfile.js +0 -40
  91. package/lib/theme-chalk/package.json +0 -35
  92. package/lib/theme-chalk/src/alert.scss +0 -147
  93. package/lib/theme-chalk/src/aside.scss +0 -7
  94. package/lib/theme-chalk/src/autocomplete.scss +0 -80
  95. package/lib/theme-chalk/src/avatar.scss +0 -51
  96. package/lib/theme-chalk/src/backtop.scss +0 -22
  97. package/lib/theme-chalk/src/badge.scss +0 -57
  98. package/lib/theme-chalk/src/base.scss +0 -2
  99. package/lib/theme-chalk/src/breadcrumb.scss +0 -55
  100. package/lib/theme-chalk/src/button.scss +0 -262
  101. package/lib/theme-chalk/src/calendar.scss +0 -79
  102. package/lib/theme-chalk/src/card.scss +0 -32
  103. package/lib/theme-chalk/src/carousel-item.scss +0 -50
  104. package/lib/theme-chalk/src/carousel.scss +0 -161
  105. package/lib/theme-chalk/src/cascader-panel.scss +0 -120
  106. package/lib/theme-chalk/src/cascader.scss +0 -182
  107. package/lib/theme-chalk/src/checkbox.scss +0 -359
  108. package/lib/theme-chalk/src/col.scss +0 -156
  109. package/lib/theme-chalk/src/collapse.scss +0 -63
  110. package/lib/theme-chalk/src/color-picker.scss +0 -384
  111. package/lib/theme-chalk/src/common/popup.scss +0 -42
  112. package/lib/theme-chalk/src/common/transition.scss +0 -99
  113. package/lib/theme-chalk/src/common/var.scss +0 -1028
  114. package/lib/theme-chalk/src/container.scss +0 -14
  115. package/lib/theme-chalk/src/date-picker/date-picker.scss +0 -97
  116. package/lib/theme-chalk/src/date-picker/date-range-picker.scss +0 -101
  117. package/lib/theme-chalk/src/date-picker/date-table.scss +0 -151
  118. package/lib/theme-chalk/src/date-picker/month-table.scss +0 -82
  119. package/lib/theme-chalk/src/date-picker/picker-panel.scss +0 -117
  120. package/lib/theme-chalk/src/date-picker/picker.scss +0 -197
  121. package/lib/theme-chalk/src/date-picker/time-picker.scss +0 -85
  122. package/lib/theme-chalk/src/date-picker/time-range-picker.scss +0 -31
  123. package/lib/theme-chalk/src/date-picker/time-spinner.scss +0 -110
  124. package/lib/theme-chalk/src/date-picker/year-table.scss +0 -51
  125. package/lib/theme-chalk/src/date-picker.scss +0 -12
  126. package/lib/theme-chalk/src/descriptions-item.scss +0 -42
  127. package/lib/theme-chalk/src/descriptions.scss +0 -111
  128. package/lib/theme-chalk/src/dialog.scss +0 -123
  129. package/lib/theme-chalk/src/display.scss +0 -12
  130. package/lib/theme-chalk/src/divider.scss +0 -47
  131. package/lib/theme-chalk/src/drawer.scss +0 -219
  132. package/lib/theme-chalk/src/dropdown.scss +0 -182
  133. package/lib/theme-chalk/src/empty.scss +0 -45
  134. package/lib/theme-chalk/src/footer.scss +0 -8
  135. package/lib/theme-chalk/src/form.scss +0 -167
  136. package/lib/theme-chalk/src/header.scss +0 -8
  137. package/lib/theme-chalk/src/icon.scss +0 -1167
  138. package/lib/theme-chalk/src/image.scss +0 -179
  139. package/lib/theme-chalk/src/index.scss +0 -90
  140. package/lib/theme-chalk/src/input-number.scss +0 -180
  141. package/lib/theme-chalk/src/input.scss +0 -360
  142. package/lib/theme-chalk/src/link.scss +0 -81
  143. package/lib/theme-chalk/src/loading.scss +0 -96
  144. package/lib/theme-chalk/src/main.scss +0 -12
  145. package/lib/theme-chalk/src/menu.scss +0 -289
  146. package/lib/theme-chalk/src/message-box.scss +0 -226
  147. package/lib/theme-chalk/src/message.scss +0 -120
  148. package/lib/theme-chalk/src/mixins/_button.scss +0 -81
  149. package/lib/theme-chalk/src/mixins/config.scss +0 -4
  150. package/lib/theme-chalk/src/mixins/function.scss +0 -44
  151. package/lib/theme-chalk/src/mixins/mixins.scss +0 -190
  152. package/lib/theme-chalk/src/mixins/utils.scss +0 -39
  153. package/lib/theme-chalk/src/notification.scss +0 -99
  154. package/lib/theme-chalk/src/option-group.scss +0 -42
  155. package/lib/theme-chalk/src/option.scss +0 -36
  156. package/lib/theme-chalk/src/page-header.scss +0 -41
  157. package/lib/theme-chalk/src/pagination.scss +0 -295
  158. package/lib/theme-chalk/src/popconfirm.scss +0 -16
  159. package/lib/theme-chalk/src/popover.scss +0 -40
  160. package/lib/theme-chalk/src/popper.scss +0 -101
  161. package/lib/theme-chalk/src/progress.scss +0 -141
  162. package/lib/theme-chalk/src/radio-button.scss +0 -113
  163. package/lib/theme-chalk/src/radio-group.scss +0 -9
  164. package/lib/theme-chalk/src/radio.scss +0 -199
  165. package/lib/theme-chalk/src/rate.scss +0 -49
  166. package/lib/theme-chalk/src/reset.scss +0 -79
  167. package/lib/theme-chalk/src/result.scss +0 -61
  168. package/lib/theme-chalk/src/row.scss +0 -43
  169. package/lib/theme-chalk/src/scrollbar.scss +0 -72
  170. package/lib/theme-chalk/src/select-dropdown.scss +0 -62
  171. package/lib/theme-chalk/src/select.scss +0 -152
  172. package/lib/theme-chalk/src/skeleton-item.scss +0 -84
  173. package/lib/theme-chalk/src/skeleton.scss +0 -40
  174. package/lib/theme-chalk/src/slider.scss +0 -250
  175. package/lib/theme-chalk/src/spinner.scss +0 -44
  176. package/lib/theme-chalk/src/statistic.scss +0 -38
  177. package/lib/theme-chalk/src/step.scss +0 -317
  178. package/lib/theme-chalk/src/steps.scss +0 -20
  179. package/lib/theme-chalk/src/switch.scss +0 -116
  180. package/lib/theme-chalk/src/table-column.scss +0 -97
  181. package/lib/theme-chalk/src/table.scss +0 -564
  182. package/lib/theme-chalk/src/tabs.scss +0 -602
  183. package/lib/theme-chalk/src/tag.scss +0 -163
  184. package/lib/theme-chalk/src/time-picker.scss +0 -8
  185. package/lib/theme-chalk/src/time-select.scss +0 -37
  186. package/lib/theme-chalk/src/timeline-item.scss +0 -86
  187. package/lib/theme-chalk/src/timeline.scss +0 -14
  188. package/lib/theme-chalk/src/tooltip.scss +0 -141
  189. package/lib/theme-chalk/src/transfer.scss +0 -227
  190. package/lib/theme-chalk/src/tree.scss +0 -123
  191. package/lib/theme-chalk/src/upload.scss +0 -603
  192. /package/lib/theme-chalk/{src/breadcrumb-item.scss → breadcrumb-item.css} +0 -0
  193. /package/lib/theme-chalk/{src/button-group.scss → button-group.css} +0 -0
  194. /package/lib/theme-chalk/{src/checkbox-button.scss → checkbox-button.css} +0 -0
  195. /package/lib/theme-chalk/{src/checkbox-group.scss → checkbox-group.css} +0 -0
  196. /package/lib/theme-chalk/{src/collapse-item.scss → collapse-item.css} +0 -0
  197. /package/lib/theme-chalk/{src/dropdown-item.scss → dropdown-item.css} +0 -0
  198. /package/lib/theme-chalk/{src/dropdown-menu.scss → dropdown-menu.css} +0 -0
  199. /package/lib/theme-chalk/{src/fonts → fonts}/element-icons.ttf +0 -0
  200. /package/lib/theme-chalk/{src/fonts → fonts}/element-icons.woff +0 -0
  201. /package/lib/theme-chalk/{src/form-item.scss → form-item.css} +0 -0
  202. /package/lib/theme-chalk/{src/infinite-scroll.scss → infinite-scroll.css} +0 -0
  203. /package/lib/theme-chalk/{src/infiniteScroll.scss → infiniteScroll.css} +0 -0
  204. /package/lib/theme-chalk/{src/menu-item-group.scss → menu-item-group.css} +0 -0
  205. /package/lib/theme-chalk/{src/menu-item.scss → menu-item.css} +0 -0
  206. /package/lib/theme-chalk/{src/submenu.scss → submenu.css} +0 -0
  207. /package/lib/theme-chalk/{src/tab-pane.scss → tab-pane.css} +0 -0
@@ -1,199 +0,0 @@
1
- @import "mixins/mixins";
2
- @import "mixins/utils";
3
- @import 'mixins/button';
4
- @import "common/var";
5
-
6
- @include b(radio) {
7
- color: $--radio-font-color;
8
- font-weight: $--radio-font-weight;
9
- line-height: 1;
10
- position: relative;
11
- cursor: pointer;
12
- display: inline-block;
13
- white-space: nowrap;
14
- outline: none;
15
- font-size: $--font-size-base;
16
- margin-right: 30px;
17
- @include utils-user-select(none);
18
-
19
- @include when(bordered) {
20
- padding: $--radio-bordered-padding;
21
- border-radius: $--border-radius-base;
22
- border: $--border-base;
23
- box-sizing: border-box;
24
- height: $--radio-bordered-height;
25
-
26
- &.is-checked {
27
- border-color: $--color-primary;
28
- }
29
-
30
- &.is-disabled {
31
- cursor: not-allowed;
32
- border-color: $--border-color-lighter;
33
- }
34
-
35
- & + .el-radio.is-bordered {
36
- margin-left: 10px;
37
- }
38
- }
39
-
40
- @include m(medium) {
41
- &.is-bordered {
42
- padding: $--radio-bordered-medium-padding;
43
- border-radius: $--button-medium-border-radius;
44
- height: $--radio-bordered-medium-height;
45
- .el-radio__label {
46
- font-size: $--button-medium-font-size;
47
- }
48
- .el-radio__inner {
49
- height: $--radio-bordered-medium-input-height;
50
- width: $--radio-bordered-medium-input-width;
51
- }
52
- }
53
- }
54
- @include m(small) {
55
- &.is-bordered {
56
- padding: $--radio-bordered-small-padding;
57
- border-radius: $--button-small-border-radius;
58
- height: $--radio-bordered-small-height;
59
- .el-radio__label {
60
- font-size: $--button-small-font-size;
61
- }
62
- .el-radio__inner {
63
- height: $--radio-bordered-small-input-height;
64
- width: $--radio-bordered-small-input-width;
65
- }
66
- }
67
- }
68
- @include m(mini) {
69
- &.is-bordered {
70
- padding: $--radio-bordered-mini-padding;
71
- border-radius: $--button-mini-border-radius;
72
- height: $--radio-bordered-mini-height;
73
- .el-radio__label {
74
- font-size: $--button-mini-font-size;
75
- }
76
- .el-radio__inner {
77
- height: $--radio-bordered-mini-input-height;
78
- width: $--radio-bordered-mini-input-width;
79
- }
80
- }
81
- }
82
-
83
- &:last-child {
84
- margin-right: 0;
85
- }
86
-
87
- @include e(input) {
88
- white-space: nowrap;
89
- cursor: pointer;
90
- outline: none;
91
- display: inline-block;
92
- line-height: 1;
93
- position: relative;
94
- vertical-align: middle;
95
-
96
- @include when(disabled) {
97
- .el-radio__inner {
98
- background-color: $--radio-disabled-input-fill;
99
- border-color: $--radio-disabled-input-border-color;
100
- cursor: not-allowed;
101
-
102
- &::after {
103
- cursor: not-allowed;
104
- background-color: $--radio-disabled-icon-color;
105
- }
106
-
107
- & + .el-radio__label {
108
- cursor: not-allowed;
109
- }
110
- }
111
- &.is-checked {
112
- .el-radio__inner {
113
- background-color: $--radio-disabled-checked-input-fill;
114
- border-color: $--radio-disabled-checked-input-border-color;
115
-
116
- &::after {
117
- background-color: $--radio-disabled-checked-icon-color;
118
- }
119
- }
120
- }
121
- & + span.el-radio__label {
122
- color: $--color-text-placeholder;
123
- cursor: not-allowed;
124
- }
125
- }
126
-
127
- @include when(checked) {
128
- .el-radio__inner {
129
- border-color: $--radio-checked-input-border-color;
130
- background: $--radio-checked-icon-color;
131
-
132
- &::after {
133
- transform: translate(-50%, -50%) scale(1);
134
- }
135
- }
136
-
137
- & + .el-radio__label {
138
- color: $--radio-checked-font-color;
139
- }
140
- }
141
-
142
- @include when(focus) {
143
- .el-radio__inner {
144
- border-color: $--radio-input-border-color-hover;
145
- }
146
- }
147
- }
148
- @include e(inner) {
149
- border: $--radio-input-border;
150
- border-radius: $--radio-input-border-radius;
151
- width: $--radio-input-width;
152
- height: $--radio-input-height;
153
- background-color: $--radio-input-background-color;
154
- position: relative;
155
- cursor: pointer;
156
- display: inline-block;
157
- box-sizing: border-box;
158
-
159
- &:hover {
160
- border-color: $--radio-input-border-color-hover;
161
- }
162
-
163
- &::after {
164
- width: 4px;
165
- height: 4px;
166
- border-radius: $--radio-input-border-radius;
167
- background-color: $--color-white;
168
- content: "";
169
- position: absolute;
170
- left: 50%;
171
- top: 50%;
172
- transform: translate(-50%, -50%) scale(0);
173
- transition: transform .15s ease-in;
174
- }
175
- }
176
-
177
- @include e(original) {
178
- opacity: 0;
179
- outline: none;
180
- position: absolute;
181
- z-index: -1;
182
- top: 0;
183
- left: 0;
184
- right: 0;
185
- bottom: 0;
186
- margin: 0;
187
- }
188
-
189
- &:focus:not(.is-focus):not(:active):not(.is-disabled) { /*获得焦点时 样式提醒*/
190
- .el-radio__inner {
191
- box-shadow: 0 0 2px 2px $--radio-input-border-color-hover;
192
- }
193
- }
194
-
195
- @include e(label) {
196
- font-size: $--radio-font-size;
197
- padding-left: 10px;
198
- }
199
- }
@@ -1,49 +0,0 @@
1
- @import "mixins/mixins";
2
- @import "common/var";
3
-
4
- @include b(rate) {
5
- height: $--rate-height;
6
- line-height: 1;
7
-
8
- &:focus, &:active {
9
- outline-width: 0;
10
- }
11
-
12
- @include e(item) {
13
- display: inline-block;
14
- position: relative;
15
- font-size: 0;
16
- vertical-align: middle;
17
- }
18
-
19
- @include e(icon) {
20
- position: relative;
21
- display: inline-block;
22
- font-size: $--rate-icon-size;
23
- margin-right: $--rate-icon-margin;
24
- color: $--rate-icon-color;
25
- transition: .3s;
26
- &.hover {
27
- transform: scale(1.15);
28
- }
29
-
30
- .path2 {
31
- position: absolute;
32
- left: 0;
33
- top: 0;
34
- }
35
- }
36
-
37
- @include e(decimal) {
38
- position: absolute;
39
- top: 0;
40
- left: 0;
41
- display: inline-block;
42
- overflow: hidden;
43
- }
44
-
45
- @include e(text) {
46
- font-size: $--rate-font-size;
47
- vertical-align: middle;
48
- }
49
- }
@@ -1,79 +0,0 @@
1
- @import 'common/var';
2
-
3
- body {
4
- font-family: "Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif;
5
- font-weight: 400;
6
- font-size: $--font-size-base;
7
- color: $--color-black;
8
- -webkit-font-smoothing: antialiased;
9
- }
10
-
11
- a {
12
- color: $--color-primary;
13
- text-decoration: none;
14
-
15
- &:hover,
16
- &:focus {
17
- color: mix($--color-white, $--color-primary, $--button-hover-tint-percent);
18
- }
19
-
20
- &:active {
21
- color: mix($--color-black, $--color-primary, $--button-active-shade-percent);
22
- }
23
- }
24
-
25
- h1, h2, h3, h4, h5, h6 {
26
- color: $--color-text-regular;
27
- font-weight: inherit;
28
-
29
- &:first-child {
30
- margin-top: 0;
31
- }
32
-
33
- &:last-child {
34
- margin-bottom: 0;
35
- }
36
- }
37
-
38
- h1 {
39
- font-size: #{$--font-size-base + 6px};
40
- }
41
-
42
- h2 {
43
- font-size: #{$--font-size-base + 4px};
44
- }
45
-
46
- h3 {
47
- font-size: #{$--font-size-base + 2px};
48
- }
49
-
50
- h4, h5, h6, p {
51
- font-size: inherit;
52
- }
53
-
54
- p {
55
- line-height: 1.8;
56
-
57
- &:first-child {
58
- margin-top: 0;
59
- }
60
-
61
- &:last-child {
62
- margin-bottom: 0;
63
- }
64
- }
65
-
66
- sup, sub {
67
- font-size: #{$--font-size-base - 1px};
68
- }
69
-
70
- small {
71
- font-size: #{$--font-size-base - 2px};
72
- }
73
-
74
- hr {
75
- margin-top: 20px;
76
- margin-bottom: 20px;
77
- border: 0;
78
- border-top: 1px solid #eeeeee;
79
- }
@@ -1,61 +0,0 @@
1
- @import 'mixins/mixins';
2
- @import 'common/var';
3
-
4
- @include b(result) {
5
- display: flex;
6
- justify-content: center;
7
- align-items: center;
8
- flex-direction: column;
9
- text-align: center;
10
- box-sizing: border-box;
11
- padding: $--result-padding;
12
-
13
- @include e(icon) {
14
- svg {
15
- width: $--result-icon-font-size;
16
- height: $--result-icon-font-size;
17
- }
18
- }
19
-
20
- @include e(title) {
21
- margin-top: $--result-title-margin-top;
22
-
23
- p {
24
- margin: 0;
25
- font-size: $--result-title-font-size;
26
- color: $--color-text-primary;
27
- line-height: 1.3;
28
- }
29
- }
30
-
31
- @include e(subtitle) {
32
- margin-top: $--result-subtitle-margin-top;
33
-
34
- p {
35
- margin: 0;
36
- font-size: $--font-size-base;
37
- color: $--color-text-regular;
38
- line-height: 1.3;
39
- }
40
- }
41
-
42
- @include e(extra) {
43
- margin-top: $--result-extra-margin-top;
44
- }
45
-
46
- .icon-success {
47
- fill: $--result-success-color;
48
- }
49
-
50
- .icon-error {
51
- fill: $--result-danger-color;
52
- }
53
-
54
- .icon-info {
55
- fill: $--result-info-color;
56
- }
57
-
58
- .icon-warning {
59
- fill: $--result-warning-color;
60
- }
61
- }
@@ -1,43 +0,0 @@
1
- @import "common/var";
2
- @import "mixins/mixins";
3
- @import "mixins/utils";
4
-
5
- @include b(row) {
6
- position: relative;
7
- box-sizing: border-box;
8
- @include utils-clearfix;
9
-
10
- @include m(flex) {
11
- display: flex;
12
- &:before,
13
- &:after {
14
- display: none;
15
- }
16
-
17
- @include when(justify-center) {
18
- justify-content: center;
19
- }
20
- @include when(justify-end) {
21
- justify-content: flex-end;
22
- }
23
- @include when(justify-space-between) {
24
- justify-content: space-between;
25
- }
26
- @include when(justify-space-around) {
27
- justify-content: space-around;
28
- }
29
-
30
- @include when(align-top) {
31
- align-items: flex-start;
32
- }
33
-
34
- @include when(align-middle) {
35
- align-items: center;
36
- }
37
- @include when(align-bottom) {
38
- align-items: flex-end;
39
- }
40
- }
41
-
42
- }
43
-
@@ -1,72 +0,0 @@
1
- @import "mixins/mixins";
2
- @import "common/var";
3
-
4
- @include b(scrollbar) {
5
- overflow: hidden;
6
- position: relative;
7
-
8
- &:hover,
9
- &:active,
10
- &:focus {
11
- > .el-scrollbar__bar {
12
- opacity: 1;
13
- transition: opacity 340ms ease-out;
14
- }
15
- }
16
-
17
- @include e(wrap) {
18
- overflow: scroll;
19
- height: 100%;
20
-
21
- @include m(hidden-default) {
22
- scrollbar-width: none;
23
- &::-webkit-scrollbar {
24
- width: 0;
25
- height: 0;
26
- }
27
- }
28
- }
29
-
30
- @include e(thumb) {
31
- position: relative;
32
- display: block;
33
- width: 0;
34
- height: 0;
35
- cursor: pointer;
36
- border-radius: inherit;
37
- background-color: $--scrollbar-background-color;
38
- transition: .3s background-color;
39
-
40
- &:hover {
41
- background-color: $--scrollbar-hover-background-color;
42
- }
43
- }
44
-
45
- @include e(bar) {
46
- position: absolute;
47
- right: 2px;
48
- bottom: 2px;
49
- z-index: 1;
50
- border-radius: 4px;
51
- opacity: 0;
52
- transition: opacity 120ms ease-out;
53
-
54
- @include when(vertical) {
55
- width: 6px;
56
- top: 2px;
57
-
58
- > div {
59
- width: 100%;
60
- }
61
- }
62
-
63
- @include when(horizontal) {
64
- height: 6px;
65
- left: 2px;
66
-
67
- > div {
68
- height: 100%;
69
- }
70
- }
71
- }
72
- }
@@ -1,62 +0,0 @@
1
- @import "mixins/mixins";
2
- @import "common/var";
3
- @import "./popper";
4
-
5
- @include b(select-dropdown) {
6
- position: absolute;
7
- z-index: #{$--index-top + 1};
8
- border: $--select-dropdown-border;
9
- border-radius: $--border-radius-base;
10
- background-color: $--select-dropdown-background;
11
- box-shadow: $--select-dropdown-shadow;
12
- box-sizing: border-box;
13
- margin: 5px 0;
14
-
15
- @include when(multiple) {
16
- & .el-select-dropdown__item {
17
- padding-right: 40px;
18
- }
19
- & .el-select-dropdown__item.selected {
20
- color: $--select-option-selected-font-color;
21
- background-color: $--select-dropdown-background;
22
-
23
- &.hover {
24
- background-color: $--select-option-hover-background;
25
- }
26
-
27
- &::after {
28
- position: absolute;
29
- right: 20px;
30
- font-family: 'element-icons';
31
- content: "\e6da";
32
- font-size: 12px;
33
- font-weight: bold;
34
- -webkit-font-smoothing: antialiased;
35
- -moz-osx-font-smoothing: grayscale;
36
- }
37
- }
38
- }
39
-
40
- .el-scrollbar.is-empty .el-select-dropdown__list{
41
- padding: 0;
42
- }
43
- }
44
-
45
- @include b(select-dropdown__empty) {
46
- padding: $--select-dropdown-empty-padding;
47
- margin: 0;
48
- text-align: center;
49
- color: $--select-dropdown-empty-color;
50
- font-size: $--select-font-size;
51
- }
52
-
53
- @include b(select-dropdown__wrap) {
54
- max-height: $--select-dropdown-max-height;
55
- }
56
-
57
- @include b(select-dropdown__list) {
58
- list-style: none;
59
- padding: $--select-dropdown-padding;
60
- margin: 0;
61
- box-sizing: border-box;
62
- }
@@ -1,152 +0,0 @@
1
- @import "mixins/mixins";
2
- @import "mixins/utils";
3
- @import "common/var";
4
- @import "select-dropdown";
5
- @import "input";
6
- @import "tag";
7
- @import "option";
8
- @import "option-group";
9
- @import "scrollbar";
10
-
11
- @include b(select) {
12
- display: inline-block;
13
- position: relative;
14
-
15
- .el-select__tags
16
- >span {
17
- display: contents;
18
- }
19
-
20
- &:hover {
21
- .el-input__inner {
22
- border-color: $--select-border-color-hover;
23
- }
24
- }
25
-
26
- .el-input__inner {
27
- cursor: pointer;
28
- padding-right: 35px;
29
-
30
- &:focus {
31
- border-color: $--select-input-focus-border-color;
32
- }
33
- }
34
-
35
- .el-input {
36
- & .el-select__caret {
37
- color: $--select-input-color;
38
- font-size: $--select-input-font-size;
39
- transition: transform .3s;
40
- transform: rotateZ(180deg);
41
- cursor: pointer;
42
-
43
- @include when(reverse) {
44
- transform: rotateZ(0deg);
45
- }
46
-
47
- @include when(show-close) {
48
- font-size: $--select-font-size;
49
- text-align: center;
50
- transform: rotateZ(180deg);
51
- border-radius: $--border-radius-circle;
52
- color: $--select-input-color;
53
- transition: $--color-transition-base;
54
-
55
- &:hover {
56
- color: $--select-close-hover-color;
57
- }
58
- }
59
- }
60
-
61
- &.is-disabled {
62
- & .el-input__inner {
63
- cursor: not-allowed;
64
-
65
- &:hover {
66
- border-color: $--select-disabled-border;
67
- }
68
- }
69
- }
70
-
71
- &.is-focus .el-input__inner {
72
- border-color: $--select-input-focus-border-color;
73
- }
74
- }
75
-
76
- > .el-input {
77
- display: block;
78
- }
79
-
80
- @include e(input) {
81
- border: none;
82
- outline: none;
83
- padding: 0;
84
- margin-left: 15px;
85
- color: $--select-multiple-input-color;
86
- font-size: $--select-font-size;
87
- appearance: none;
88
- height: 28px;
89
- background-color: transparent;
90
- @include when(mini) {
91
- height: 14px;
92
- }
93
- }
94
-
95
- @include e(close) {
96
- cursor: pointer;
97
- position: absolute;
98
- top: 8px;
99
- z-index: $--index-top;
100
- right: 25px;
101
- color: $--select-input-color;
102
- line-height: 18px;
103
- font-size: $--select-input-font-size;
104
-
105
- &:hover {
106
- color: $--select-close-hover-color;
107
- }
108
- }
109
-
110
- @include e(tags) {
111
- position: absolute;
112
- line-height: normal;
113
- white-space: normal;
114
- z-index: $--index-normal;
115
- top: 50%;
116
- transform: translateY(-50%);
117
- display: flex;
118
- align-items: center;
119
- flex-wrap: wrap;
120
- }
121
-
122
- @include e(tags-text) {
123
- overflow: hidden;
124
- text-overflow: ellipsis;
125
- }
126
-
127
- .el-tag {
128
- box-sizing: border-box;
129
- border-color: transparent;
130
- margin: 2px 0 2px 6px;
131
- background-color: #f0f2f5;
132
- display: flex;
133
- max-width: 100%;
134
- align-items: center;
135
-
136
- &__close.el-icon-close {
137
- background-color: $--color-text-placeholder;
138
- top: 0;
139
- color: $--color-white;
140
- flex-shrink: 0;
141
-
142
- &:hover {
143
- background-color: $--color-text-secondary;
144
- }
145
-
146
- &::before {
147
- display: block;
148
- transform: translate(0, .5px);
149
- }
150
- }
151
- }
152
- }