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,359 +0,0 @@
1
- @import "common/var";
2
- @import "mixins/mixins";
3
- @import "mixins/_button";
4
- @import "mixins/utils";
5
-
6
- @include b(checkbox) {
7
- color: $--checkbox-font-color;
8
- font-weight: $--checkbox-font-weight;
9
- font-size: $--font-size-base;
10
- position: relative;
11
- cursor: pointer;
12
- display: inline-block;
13
- white-space: nowrap;
14
- user-select: none;
15
- margin-right: 30px;
16
-
17
- @include when(bordered) {
18
- padding: $--checkbox-bordered-padding;
19
- border-radius: $--border-radius-base;
20
- border: $--border-base;
21
- box-sizing: border-box;
22
- line-height: normal;
23
- height: $--checkbox-bordered-height;
24
-
25
- &.is-checked {
26
- border-color: $--color-primary;
27
- }
28
-
29
- &.is-disabled {
30
- border-color: $--border-color-lighter;
31
- cursor: not-allowed;
32
- }
33
-
34
- & + .el-checkbox.is-bordered {
35
- margin-left: 10px;
36
- }
37
-
38
- &.el-checkbox--medium {
39
- padding: $--checkbox-bordered-medium-padding;
40
- border-radius: $--button-medium-border-radius;
41
- height: $--checkbox-bordered-medium-height;
42
-
43
- .el-checkbox__label {
44
- line-height: 17px;
45
- font-size: $--button-medium-font-size;
46
- }
47
-
48
- .el-checkbox__inner {
49
- height: $--checkbox-bordered-medium-input-height;
50
- width: $--checkbox-bordered-medium-input-width;
51
- }
52
- }
53
-
54
- &.el-checkbox--small {
55
- padding: $--checkbox-bordered-small-padding;
56
- border-radius: $--button-small-border-radius;
57
- height: $--checkbox-bordered-small-height;
58
-
59
- .el-checkbox__label {
60
- line-height: 15px;
61
- font-size: $--button-small-font-size;
62
- }
63
-
64
- .el-checkbox__inner {
65
- height: $--checkbox-bordered-small-input-height;
66
- width: $--checkbox-bordered-small-input-width;
67
-
68
- &::after {
69
- height: 6px;
70
- width: 2px;
71
- }
72
- }
73
- }
74
-
75
- &.el-checkbox--mini {
76
- padding: $--checkbox-bordered-mini-padding;
77
- border-radius: $--button-mini-border-radius;
78
- height: $--checkbox-bordered-mini-height;
79
-
80
- .el-checkbox__label {
81
- line-height: 12px;
82
- font-size: $--button-mini-font-size;
83
- }
84
-
85
- .el-checkbox__inner {
86
- height: $--checkbox-bordered-mini-input-height;
87
- width: $--checkbox-bordered-mini-input-width;
88
- &::after {
89
- height: 6px;
90
- width: 2px;
91
- }
92
- }
93
- }
94
- }
95
-
96
- @include e(input) {
97
- white-space: nowrap;
98
- cursor: pointer;
99
- outline: none;
100
- display: inline-block;
101
- line-height: 1;
102
- position: relative;
103
- vertical-align: middle;
104
-
105
- @include when(disabled) {
106
- .el-checkbox__inner {
107
- background-color: $--checkbox-disabled-input-fill;
108
- border-color: $--checkbox-disabled-border-color;
109
- cursor: not-allowed;
110
-
111
- &::after {
112
- cursor: not-allowed;
113
- border-color: $--checkbox-disabled-icon-color;
114
- }
115
-
116
- & + .el-checkbox__label {
117
- cursor: not-allowed;
118
- }
119
- }
120
-
121
- &.is-checked {
122
- .el-checkbox__inner {
123
- background-color: $--checkbox-disabled-checked-input-fill;
124
- border-color: $--checkbox-disabled-checked-input-border-color;
125
-
126
- &::after {
127
- border-color: $--checkbox-disabled-checked-icon-color;
128
- }
129
- }
130
- }
131
-
132
- &.is-indeterminate {
133
- .el-checkbox__inner {
134
- background-color: $--checkbox-disabled-checked-input-fill;
135
- border-color: $--checkbox-disabled-checked-input-border-color;
136
-
137
- &::before {
138
- background-color: $--checkbox-disabled-checked-icon-color;
139
- border-color: $--checkbox-disabled-checked-icon-color;
140
- }
141
- }
142
- }
143
-
144
- & + span.el-checkbox__label {
145
- color: $--disabled-color-base;
146
- cursor: not-allowed;
147
- }
148
- }
149
-
150
- @include when(checked) {
151
- .el-checkbox__inner {
152
- background-color: $--checkbox-checked-background-color;
153
- border-color: $--checkbox-checked-input-border-color;
154
-
155
- &::after {
156
- transform: rotate(45deg) scaleY(1);
157
- }
158
- }
159
-
160
- & + .el-checkbox__label {
161
- color: $--checkbox-checked-font-color;
162
- }
163
- }
164
- @include when(focus) { /*focus时 视觉上区分*/
165
- .el-checkbox__inner {
166
- border-color: $--checkbox-input-border-color-hover;
167
- }
168
- }
169
- @include when(indeterminate) {
170
- .el-checkbox__inner {
171
- background-color: $--checkbox-checked-background-color;
172
- border-color: $--checkbox-checked-input-border-color;
173
-
174
- &::before {
175
- content: '';
176
- position: absolute;
177
- display: block;
178
- background-color: $--checkbox-checked-icon-color;
179
- height: 2px;
180
- transform: scale(0.5);
181
- left: 0;
182
- right: 0;
183
- top: 5px;
184
- }
185
-
186
- &::after {
187
- display: none;
188
- }
189
- }
190
- }
191
- }
192
- @include e(inner) {
193
- display: inline-block;
194
- position: relative;
195
- border: $--checkbox-input-border;
196
- border-radius: $--checkbox-border-radius;
197
- box-sizing: border-box;
198
- width: $--checkbox-input-width;
199
- height: $--checkbox-input-height;
200
- background-color: $--checkbox-background-color;
201
- z-index: $--index-normal;
202
- transition: border-color .25s cubic-bezier(.71,-.46,.29,1.46),
203
- background-color .25s cubic-bezier(.71,-.46,.29,1.46);
204
-
205
- &:hover {
206
- border-color: $--checkbox-input-border-color-hover;
207
- }
208
-
209
- &::after {
210
- box-sizing: content-box;
211
- content: "";
212
- border: 1px solid $--checkbox-checked-icon-color;
213
- border-left: 0;
214
- border-top: 0;
215
- height: 7px;
216
- left: 4px;
217
- position: absolute;
218
- top: 1px;
219
- transform: rotate(45deg) scaleY(0);
220
- width: 3px;
221
- transition: transform .15s ease-in .05s;
222
- transform-origin: center;
223
- }
224
- }
225
-
226
- @include e(original) {
227
- opacity: 0;
228
- outline: none;
229
- position: absolute;
230
- margin: 0;
231
- width: 0;
232
- height: 0;
233
- z-index: -1;
234
- }
235
-
236
- @include e(label) {
237
- display: inline-block;
238
- padding-left: 10px;
239
- line-height: 19px;
240
- font-size: $--checkbox-font-size;
241
- }
242
-
243
- &:last-of-type {
244
- margin-right: 0;
245
- }
246
- }
247
-
248
- @include b(checkbox-button) {
249
- position: relative;
250
- display: inline-block;
251
-
252
- @include e(inner) {
253
- display: inline-block;
254
- line-height: 1;
255
- font-weight: $--checkbox-font-weight;
256
- white-space: nowrap;
257
- vertical-align: middle;
258
- cursor: pointer;
259
- background: $--button-default-background-color;
260
- border: $--border-base;
261
- border-left: 0;
262
- color: $--button-default-font-color;
263
- -webkit-appearance: none;
264
- text-align: center;
265
- box-sizing: border-box;
266
- outline: none;
267
- margin: 0;
268
- position: relative;
269
- transition: $--all-transition;
270
- @include utils-user-select(none);
271
-
272
- @include button-size($--button-padding-vertical, $--button-padding-horizontal, $--button-font-size, 0);
273
-
274
- &:hover {
275
- color: $--color-primary;
276
- }
277
-
278
- & [class*="el-icon-"] {
279
- line-height: 0.9;
280
-
281
- & + span {
282
- margin-left: 5px;
283
- }
284
- }
285
- }
286
-
287
- @include e(original) {
288
- opacity: 0;
289
- outline: none;
290
- position: absolute;
291
- margin: 0;
292
- z-index: -1;
293
- }
294
-
295
- &.is-checked {
296
- & .el-checkbox-button__inner {
297
- color: $--checkbox-button-checked-font-color;
298
- background-color: $--checkbox-button-checked-background-color;
299
- border-color: $--checkbox-button-checked-border-color;
300
- box-shadow: -1px 0 0 0 $--color-primary-light-4;
301
- }
302
- &:first-child .el-checkbox-button__inner {
303
- border-left-color: $--checkbox-button-checked-border-color;
304
- }
305
- }
306
-
307
- &.is-disabled {
308
- & .el-checkbox-button__inner {
309
- color: $--button-disabled-font-color;
310
- cursor: not-allowed;
311
- background-image: none;
312
- background-color: $--button-disabled-background-color;
313
- border-color: $--button-disabled-border-color;
314
- box-shadow: none;
315
- }
316
- &:first-child .el-checkbox-button__inner {
317
- border-left-color: $--button-disabled-border-color;
318
- }
319
- }
320
-
321
- &:first-child {
322
- .el-checkbox-button__inner {
323
- border-left: $--border-base;
324
- border-radius: $--border-radius-base 0 0 $--border-radius-base;
325
- box-shadow: none !important;
326
- }
327
- }
328
-
329
- &.is-focus {
330
- & .el-checkbox-button__inner {
331
- border-color: $--checkbox-button-checked-border-color;
332
- }
333
- }
334
-
335
- &:last-child {
336
- .el-checkbox-button__inner {
337
- border-radius: 0 $--border-radius-base $--border-radius-base 0;
338
- }
339
- }
340
- @include m(medium) {
341
- .el-checkbox-button__inner {
342
- @include button-size($--button-medium-padding-vertical, $--button-medium-padding-horizontal, $--button-medium-font-size, 0);
343
- }
344
- }
345
- @include m(small) {
346
- .el-checkbox-button__inner {
347
- @include button-size($--button-small-padding-vertical, $--button-small-padding-horizontal, $--button-small-font-size, 0);
348
- }
349
- }
350
- @include m(mini) {
351
- .el-checkbox-button__inner {
352
- @include button-size($--button-mini-padding-vertical, $--button-mini-padding-horizontal, $--button-mini-font-size, 0);
353
- }
354
- }
355
- }
356
-
357
- @include b(checkbox-group) {
358
- font-size: 0;
359
- }
@@ -1,156 +0,0 @@
1
- @import "./common/var.scss";
2
- @import "./mixins/mixins.scss";
3
-
4
- [class*="el-col-"] {
5
- float: left;
6
- box-sizing: border-box;
7
- }
8
-
9
- .el-col-0 {
10
- display: none;
11
- }
12
-
13
- @for $i from 0 through 24 {
14
- .el-col-#{$i} {
15
- width: (1 / 24 * $i * 100) * 1%;
16
- }
17
-
18
- .el-col-offset-#{$i} {
19
- margin-left: (1 / 24 * $i * 100) * 1%;
20
- }
21
-
22
- .el-col-pull-#{$i} {
23
- position: relative;
24
- right: (1 / 24 * $i * 100) * 1%;
25
- }
26
-
27
- .el-col-push-#{$i} {
28
- position: relative;
29
- left: (1 / 24 * $i * 100) * 1%;
30
- }
31
- }
32
-
33
- @include res(xs) {
34
- .el-col-xs-0 {
35
- display: none;
36
- }
37
- @for $i from 0 through 24 {
38
- .el-col-xs-#{$i} {
39
- width: (1 / 24 * $i * 100) * 1%;
40
- }
41
-
42
- .el-col-xs-offset-#{$i} {
43
- margin-left: (1 / 24 * $i * 100) * 1%;
44
- }
45
-
46
- .el-col-xs-pull-#{$i} {
47
- position: relative;
48
- right: (1 / 24 * $i * 100) * 1%;
49
- }
50
-
51
- .el-col-xs-push-#{$i} {
52
- position: relative;
53
- left: (1 / 24 * $i * 100) * 1%;
54
- }
55
- }
56
- }
57
-
58
- @include res(sm) {
59
- .el-col-sm-0 {
60
- display: none;
61
- }
62
- @for $i from 0 through 24 {
63
- .el-col-sm-#{$i} {
64
- width: (1 / 24 * $i * 100) * 1%;
65
- }
66
-
67
- .el-col-sm-offset-#{$i} {
68
- margin-left: (1 / 24 * $i * 100) * 1%;
69
- }
70
-
71
- .el-col-sm-pull-#{$i} {
72
- position: relative;
73
- right: (1 / 24 * $i * 100) * 1%;
74
- }
75
-
76
- .el-col-sm-push-#{$i} {
77
- position: relative;
78
- left: (1 / 24 * $i * 100) * 1%;
79
- }
80
- }
81
- }
82
-
83
- @include res(md) {
84
- .el-col-md-0 {
85
- display: none;
86
- }
87
- @for $i from 0 through 24 {
88
- .el-col-md-#{$i} {
89
- width: (1 / 24 * $i * 100) * 1%;
90
- }
91
-
92
- .el-col-md-offset-#{$i} {
93
- margin-left: (1 / 24 * $i * 100) * 1%;
94
- }
95
-
96
- .el-col-md-pull-#{$i} {
97
- position: relative;
98
- right: (1 / 24 * $i * 100) * 1%;
99
- }
100
-
101
- .el-col-md-push-#{$i} {
102
- position: relative;
103
- left: (1 / 24 * $i * 100) * 1%;
104
- }
105
- }
106
- }
107
-
108
- @include res(lg) {
109
- .el-col-lg-0 {
110
- display: none;
111
- }
112
- @for $i from 0 through 24 {
113
- .el-col-lg-#{$i} {
114
- width: (1 / 24 * $i * 100) * 1%;
115
- }
116
-
117
- .el-col-lg-offset-#{$i} {
118
- margin-left: (1 / 24 * $i * 100) * 1%;
119
- }
120
-
121
- .el-col-lg-pull-#{$i} {
122
- position: relative;
123
- right: (1 / 24 * $i * 100) * 1%;
124
- }
125
-
126
- .el-col-lg-push-#{$i} {
127
- position: relative;
128
- left: (1 / 24 * $i * 100) * 1%;
129
- }
130
- }
131
- }
132
-
133
- @include res(xl) {
134
- .el-col-xl-0 {
135
- display: none;
136
- }
137
- @for $i from 0 through 24 {
138
- .el-col-xl-#{$i} {
139
- width: (1 / 24 * $i * 100) * 1%;
140
- }
141
-
142
- .el-col-xl-offset-#{$i} {
143
- margin-left: (1 / 24 * $i * 100) * 1%;
144
- }
145
-
146
- .el-col-xl-pull-#{$i} {
147
- position: relative;
148
- right: (1 / 24 * $i * 100) * 1%;
149
- }
150
-
151
- .el-col-xl-push-#{$i} {
152
- position: relative;
153
- left: (1 / 24 * $i * 100) * 1%;
154
- }
155
- }
156
- }
@@ -1,63 +0,0 @@
1
- @import "mixins/mixins";
2
- @import "common/var";
3
- @import "common/transition";
4
-
5
- @include b(collapse) {
6
- border-top: 1px solid $--collapse-border-color;
7
- border-bottom: 1px solid $--collapse-border-color;
8
- }
9
- @include b(collapse-item) {
10
- @include when(disabled) {
11
- .el-collapse-item__header {
12
- color: $--font-color-disabled-base;
13
- cursor: not-allowed;
14
- }
15
- }
16
- @include e(header) {
17
- display: flex;
18
- align-items: center;
19
- height: $--collapse-header-height;
20
- line-height: $--collapse-header-height;
21
- background-color: $--collapse-header-background-color;
22
- color: $--collapse-header-font-color;
23
- cursor: pointer;
24
- border-bottom: 1px solid $--collapse-border-color;
25
- font-size: $--collapse-header-font-size;
26
- font-weight: 500;
27
- transition: border-bottom-color .3s;
28
- outline: none;
29
- @include e(arrow) {
30
- margin: 0 8px 0 auto;
31
- transition: transform .3s;
32
- font-weight: 300;
33
- @include when(active) {
34
- transform: rotate(90deg);
35
- }
36
- }
37
- &.focusing:focus:not(:hover){
38
- color: $--color-primary;
39
- }
40
- @include when(active) {
41
- border-bottom-color: transparent;
42
- }
43
- }
44
-
45
- @include e(wrap) {
46
- will-change: height;
47
- background-color: $--collapse-content-background-color;
48
- overflow: hidden;
49
- box-sizing: border-box;
50
- border-bottom: 1px solid $--collapse-border-color;
51
- }
52
-
53
- @include e(content) {
54
- padding-bottom: 25px;
55
- font-size: $--collapse-content-font-size;
56
- color: $--collapse-content-font-color;
57
- line-height: 1.769230769230769;
58
- }
59
-
60
- &:last-child {
61
- margin-bottom: -1px;
62
- }
63
- }