cy-element-ui 1.0.46 → 1.0.48
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.
- package/README.md +1 -1
- package/lib/alert.js +4 -4
- package/lib/aside.js +77 -77
- package/lib/autocomplete.js +159 -3940
- package/lib/avatar.js +108 -108
- package/lib/backtop.js +110 -110
- package/lib/badge.js +108 -108
- package/lib/breadcrumb-item.js +4 -4
- package/lib/breadcrumb.js +4 -4
- package/lib/button-group.js +4 -4
- package/lib/button.js +4 -4
- package/lib/calendar.js +46 -1545
- package/lib/card.js +96 -96
- package/lib/carousel-item.js +108 -452
- package/lib/carousel.js +116 -185
- package/lib/cascader-panel.js +187 -2270
- package/lib/cascader.js +275 -6452
- package/lib/checkbox-button.js +11 -43
- package/lib/checkbox-group.js +15 -47
- package/lib/checkbox.js +15 -47
- package/lib/col.js +2 -2
- package/lib/collapse-item.js +110 -815
- package/lib/collapse.js +108 -108
- package/lib/color-picker.js +153 -3953
- package/lib/container.js +88 -88
- package/lib/date-picker.js +419 -5230
- package/lib/descriptions-item.js +2 -2
- package/lib/descriptions.js +8 -63
- package/lib/dialog.js +22 -1200
- package/lib/divider.js +104 -104
- package/lib/drawer.js +105 -875
- package/lib/dropdown-item.js +11 -43
- package/lib/dropdown-menu.js +75 -2277
- package/lib/dropdown.js +136 -1072
- package/lib/element-ui.common.js +29785 -42723
- package/lib/empty.js +7 -603
- package/lib/fileUpload.js +109 -2477
- package/lib/footer.js +77 -77
- package/lib/form-item.js +28 -418
- package/lib/form.js +15 -29
- package/lib/header.js +77 -77
- package/lib/icon.js +4 -4
- package/lib/image.js +49 -1376
- package/lib/index.js +1 -1
- package/lib/infinite-scroll.js +21 -311
- package/lib/input-number.js +33 -1422
- package/lib/input.js +37 -507
- package/lib/link.js +4 -4
- package/lib/loading.js +67 -804
- package/lib/main.js +64 -64
- package/lib/menu-item-group.js +4 -4
- package/lib/menu-item.js +61 -2945
- package/lib/menu.js +54 -745
- package/lib/message-box.js +80 -2537
- package/lib/message.js +24 -1102
- package/lib/notification.js +25 -1102
- package/lib/option-group.js +11 -43
- package/lib/option.js +18 -394
- package/lib/page-header.js +87 -683
- package/lib/pagination.js +139 -6078
- package/lib/popconfirm.js +219 -3508
- package/lib/popover.js +99 -2624
- package/lib/progress.js +4 -4
- package/lib/radio-button.js +11 -43
- package/lib/radio-group.js +11 -43
- package/lib/radio.js +15 -47
- package/lib/rate.js +113 -756
- package/lib/result.js +4 -4
- package/lib/row.js +2 -2
- package/lib/scrollbar.js +50 -735
- package/lib/select.js +209 -4352
- package/lib/selectDisplayInput.js +108 -108
- package/lib/skeleton-item.js +2 -2
- package/lib/skeleton.js +108 -108
- package/lib/slider.js +120 -4266
- package/lib/spinner.js +4 -4
- package/lib/statistic.js +117 -9605
- package/lib/step.js +108 -108
- package/lib/steps.js +99 -514
- package/lib/subTitle.js +91 -91
- package/lib/submenu.js +121 -2442
- package/lib/switch.js +21 -476
- package/lib/tab-pane.js +4 -4
- package/lib/tabDialog.js +37 -1563
- package/lib/table-column.js +32 -880
- package/lib/table.js +424 -4467
- package/lib/tabs.js +12 -425
- package/lib/tag.js +4 -4
- package/lib/theme-chalk/README.md +33 -0
- package/lib/theme-chalk/base.css +1 -1
- package/lib/theme-chalk/gulpfile.js +27 -0
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/package.json +35 -0
- package/lib/theme-chalk/src/alert.scss +147 -0
- package/lib/theme-chalk/src/aside.scss +7 -0
- package/lib/theme-chalk/src/autocomplete.scss +80 -0
- package/lib/theme-chalk/src/avatar.scss +51 -0
- package/lib/theme-chalk/src/backtop.scss +22 -0
- package/lib/theme-chalk/src/badge.scss +57 -0
- package/lib/theme-chalk/src/base.scss +2 -0
- package/lib/theme-chalk/src/breadcrumb.scss +55 -0
- package/lib/theme-chalk/src/button.scss +262 -0
- package/lib/theme-chalk/src/calendar.scss +79 -0
- package/lib/theme-chalk/src/card.scss +32 -0
- package/lib/theme-chalk/src/carousel-item.scss +50 -0
- package/lib/theme-chalk/src/carousel.scss +161 -0
- package/lib/theme-chalk/src/cascader-panel.scss +120 -0
- package/lib/theme-chalk/src/cascader.scss +182 -0
- package/lib/theme-chalk/src/checkbox.scss +359 -0
- package/lib/theme-chalk/src/col.scss +156 -0
- package/lib/theme-chalk/src/collapse.scss +63 -0
- package/lib/theme-chalk/src/color-picker.scss +384 -0
- package/lib/theme-chalk/src/common/popup.scss +42 -0
- package/lib/theme-chalk/src/common/transition.scss +99 -0
- package/lib/theme-chalk/src/common/var.scss +1028 -0
- package/lib/theme-chalk/src/container.scss +14 -0
- package/lib/theme-chalk/src/date-picker/date-picker.scss +97 -0
- package/lib/theme-chalk/src/date-picker/date-range-picker.scss +101 -0
- package/lib/theme-chalk/src/date-picker/date-table.scss +151 -0
- package/lib/theme-chalk/src/date-picker/month-table.scss +82 -0
- package/lib/theme-chalk/src/date-picker/picker-panel.scss +117 -0
- package/lib/theme-chalk/src/date-picker/picker.scss +197 -0
- package/lib/theme-chalk/src/date-picker/time-picker.scss +85 -0
- package/lib/theme-chalk/src/date-picker/time-range-picker.scss +31 -0
- package/lib/theme-chalk/src/date-picker/time-spinner.scss +110 -0
- package/lib/theme-chalk/src/date-picker/year-table.scss +51 -0
- package/lib/theme-chalk/src/date-picker.scss +12 -0
- package/lib/theme-chalk/src/descriptions-item.scss +42 -0
- package/lib/theme-chalk/src/descriptions.scss +111 -0
- package/lib/theme-chalk/src/dialog.scss +123 -0
- package/lib/theme-chalk/src/display.scss +12 -0
- package/lib/theme-chalk/src/divider.scss +47 -0
- package/lib/theme-chalk/src/drawer.scss +219 -0
- package/lib/theme-chalk/src/dropdown.scss +182 -0
- package/lib/theme-chalk/src/empty.scss +45 -0
- package/lib/theme-chalk/src/footer.scss +8 -0
- package/lib/theme-chalk/src/form.scss +167 -0
- package/lib/theme-chalk/src/header.scss +8 -0
- package/lib/theme-chalk/src/icon.scss +1167 -0
- package/lib/theme-chalk/src/image.scss +179 -0
- package/lib/theme-chalk/src/index.scss +90 -0
- package/lib/theme-chalk/src/input-number.scss +180 -0
- package/lib/theme-chalk/src/input.scss +360 -0
- package/lib/theme-chalk/src/link.scss +81 -0
- package/lib/theme-chalk/src/loading.scss +96 -0
- package/lib/theme-chalk/src/main.scss +12 -0
- package/lib/theme-chalk/src/menu.scss +289 -0
- package/lib/theme-chalk/src/message-box.scss +226 -0
- package/lib/theme-chalk/src/message.scss +120 -0
- package/lib/theme-chalk/src/mixins/_button.scss +81 -0
- package/lib/theme-chalk/src/mixins/config.scss +4 -0
- package/lib/theme-chalk/src/mixins/function.scss +44 -0
- package/lib/theme-chalk/src/mixins/mixins.scss +190 -0
- package/lib/theme-chalk/src/mixins/utils.scss +39 -0
- package/lib/theme-chalk/src/notification.scss +99 -0
- package/lib/theme-chalk/src/option-group.scss +42 -0
- package/lib/theme-chalk/src/option.scss +36 -0
- package/lib/theme-chalk/src/page-header.scss +41 -0
- package/lib/theme-chalk/src/pagination.scss +295 -0
- package/lib/theme-chalk/src/popconfirm.scss +16 -0
- package/lib/theme-chalk/src/popover.scss +40 -0
- package/lib/theme-chalk/src/popper.scss +101 -0
- package/lib/theme-chalk/src/progress.scss +141 -0
- package/lib/theme-chalk/src/radio-button.scss +113 -0
- package/lib/theme-chalk/src/radio-group.scss +9 -0
- package/lib/theme-chalk/src/radio.scss +199 -0
- package/lib/theme-chalk/src/rate.scss +49 -0
- package/lib/theme-chalk/src/reset.scss +79 -0
- package/lib/theme-chalk/src/result.scss +61 -0
- package/lib/theme-chalk/src/row.scss +43 -0
- package/lib/theme-chalk/src/scrollbar.scss +72 -0
- package/lib/theme-chalk/src/select-dropdown.scss +62 -0
- package/lib/theme-chalk/src/select.scss +152 -0
- package/lib/theme-chalk/src/skeleton-item.scss +84 -0
- package/lib/theme-chalk/src/skeleton.scss +40 -0
- package/lib/theme-chalk/src/slider.scss +250 -0
- package/lib/theme-chalk/src/spinner.scss +44 -0
- package/lib/theme-chalk/src/statistic.scss +38 -0
- package/lib/theme-chalk/src/step.scss +317 -0
- package/lib/theme-chalk/src/steps.scss +20 -0
- package/lib/theme-chalk/src/switch.scss +116 -0
- package/lib/theme-chalk/src/table-column.scss +97 -0
- package/lib/theme-chalk/src/table.scss +564 -0
- package/lib/theme-chalk/src/tabs.scss +602 -0
- package/lib/theme-chalk/src/tag.scss +163 -0
- package/lib/theme-chalk/src/time-picker.scss +8 -0
- package/lib/theme-chalk/src/time-select.scss +37 -0
- package/lib/theme-chalk/src/timeline-item.scss +86 -0
- package/lib/theme-chalk/src/timeline.scss +14 -0
- package/lib/theme-chalk/src/tooltip.scss +141 -0
- package/lib/theme-chalk/src/transfer.scss +227 -0
- package/lib/theme-chalk/src/tree.scss +123 -0
- package/lib/theme-chalk/src/upload.scss +603 -0
- package/lib/time-picker.js +285 -5013
- package/lib/time-select.js +181 -4949
- package/lib/timeline-item.js +108 -108
- package/lib/timeline.js +82 -82
- package/lib/tooltip.js +41 -2566
- package/lib/transfer.js +142 -2136
- package/lib/tree.js +55 -1372
- package/lib/treeSelect.js +106 -3421
- package/lib/upload.js +28 -1047
- package/package.json +3 -3
- package/packages/theme-chalk/gulpfile.js +1 -14
- package/packages/theme-chalk/src/common/var.scss +16 -16
- package/packages/theme-cy/gulpfile.js +1 -14
- package/src/index.js +1 -1
- package/lib/theme-chalk/alert.css +0 -1
- package/lib/theme-chalk/aside.css +0 -1
- package/lib/theme-chalk/autocomplete.css +0 -1
- package/lib/theme-chalk/avatar.css +0 -1
- package/lib/theme-chalk/backtop.css +0 -1
- package/lib/theme-chalk/badge.css +0 -1
- package/lib/theme-chalk/breadcrumb.css +0 -1
- package/lib/theme-chalk/button.css +0 -1
- package/lib/theme-chalk/calendar.css +0 -1
- package/lib/theme-chalk/card.css +0 -1
- package/lib/theme-chalk/carousel-item.css +0 -1
- package/lib/theme-chalk/carousel.css +0 -1
- package/lib/theme-chalk/cascader-panel.css +0 -1
- package/lib/theme-chalk/cascader.css +0 -1
- package/lib/theme-chalk/checkbox.css +0 -1
- package/lib/theme-chalk/col.css +0 -1
- package/lib/theme-chalk/collapse.css +0 -1
- package/lib/theme-chalk/color-picker.css +0 -1
- package/lib/theme-chalk/container.css +0 -1
- package/lib/theme-chalk/date-picker.css +0 -1
- package/lib/theme-chalk/descriptions-item.css +0 -1
- package/lib/theme-chalk/descriptions.css +0 -1
- package/lib/theme-chalk/dialog.css +0 -1
- package/lib/theme-chalk/display.css +0 -1
- package/lib/theme-chalk/divider.css +0 -1
- package/lib/theme-chalk/drawer.css +0 -1
- package/lib/theme-chalk/dropdown.css +0 -1
- package/lib/theme-chalk/empty.css +0 -1
- package/lib/theme-chalk/footer.css +0 -1
- package/lib/theme-chalk/form.css +0 -1
- package/lib/theme-chalk/header.css +0 -1
- package/lib/theme-chalk/icon.css +0 -1
- package/lib/theme-chalk/image.css +0 -1
- package/lib/theme-chalk/input-number.css +0 -1
- package/lib/theme-chalk/input.css +0 -1
- package/lib/theme-chalk/link.css +0 -1
- package/lib/theme-chalk/loading.css +0 -1
- package/lib/theme-chalk/main.css +0 -1
- package/lib/theme-chalk/menu.css +0 -1
- package/lib/theme-chalk/message-box.css +0 -1
- package/lib/theme-chalk/message.css +0 -1
- package/lib/theme-chalk/notification.css +0 -1
- package/lib/theme-chalk/option-group.css +0 -1
- package/lib/theme-chalk/option.css +0 -1
- package/lib/theme-chalk/page-header.css +0 -1
- package/lib/theme-chalk/pagination.css +0 -1
- package/lib/theme-chalk/popconfirm.css +0 -1
- package/lib/theme-chalk/popover.css +0 -1
- package/lib/theme-chalk/popper.css +0 -1
- package/lib/theme-chalk/progress.css +0 -1
- package/lib/theme-chalk/radio-button.css +0 -1
- package/lib/theme-chalk/radio-group.css +0 -1
- package/lib/theme-chalk/radio.css +0 -1
- package/lib/theme-chalk/rate.css +0 -1
- package/lib/theme-chalk/reset.css +0 -1
- package/lib/theme-chalk/result.css +0 -1
- package/lib/theme-chalk/row.css +0 -1
- package/lib/theme-chalk/scrollbar.css +0 -1
- package/lib/theme-chalk/select-dropdown.css +0 -1
- package/lib/theme-chalk/select.css +0 -1
- package/lib/theme-chalk/skeleton-item.css +0 -1
- package/lib/theme-chalk/skeleton.css +0 -1
- package/lib/theme-chalk/slider.css +0 -1
- package/lib/theme-chalk/spinner.css +0 -1
- package/lib/theme-chalk/statistic.css +0 -1
- package/lib/theme-chalk/step.css +0 -1
- package/lib/theme-chalk/steps.css +0 -1
- package/lib/theme-chalk/switch.css +0 -1
- package/lib/theme-chalk/table-column.css +0 -1
- package/lib/theme-chalk/table.css +0 -1
- package/lib/theme-chalk/tabs.css +0 -1
- package/lib/theme-chalk/tag.css +0 -1
- package/lib/theme-chalk/time-picker.css +0 -1
- package/lib/theme-chalk/time-select.css +0 -1
- package/lib/theme-chalk/timeline-item.css +0 -1
- package/lib/theme-chalk/timeline.css +0 -1
- package/lib/theme-chalk/tooltip.css +0 -1
- package/lib/theme-chalk/transfer.css +0 -1
- package/lib/theme-chalk/tree.css +0 -1
- package/lib/theme-chalk/upload.css +0 -1
- /package/lib/theme-chalk/{breadcrumb-item.css → src/breadcrumb-item.scss} +0 -0
- /package/lib/theme-chalk/{button-group.css → src/button-group.scss} +0 -0
- /package/lib/theme-chalk/{checkbox-button.css → src/checkbox-button.scss} +0 -0
- /package/lib/theme-chalk/{checkbox-group.css → src/checkbox-group.scss} +0 -0
- /package/lib/theme-chalk/{collapse-item.css → src/collapse-item.scss} +0 -0
- /package/lib/theme-chalk/{dropdown-item.css → src/dropdown-item.scss} +0 -0
- /package/lib/theme-chalk/{dropdown-menu.css → src/dropdown-menu.scss} +0 -0
- /package/lib/theme-chalk/{fonts → src/fonts}/element-icons.ttf +0 -0
- /package/lib/theme-chalk/{fonts → src/fonts}/element-icons.woff +0 -0
- /package/lib/theme-chalk/{form-item.css → src/form-item.scss} +0 -0
- /package/lib/theme-chalk/{infinite-scroll.css → src/infinite-scroll.scss} +0 -0
- /package/lib/theme-chalk/{infiniteScroll.css → src/infiniteScroll.scss} +0 -0
- /package/lib/theme-chalk/{menu-item-group.css → src/menu-item-group.scss} +0 -0
- /package/lib/theme-chalk/{menu-item.css → src/menu-item.scss} +0 -0
- /package/lib/theme-chalk/{submenu.css → src/submenu.scss} +0 -0
- /package/lib/theme-chalk/{tab-pane.css → src/tab-pane.scss} +0 -0
|
@@ -0,0 +1,317 @@
|
|
|
1
|
+
@import "mixins/mixins";
|
|
2
|
+
@import "common/var";
|
|
3
|
+
|
|
4
|
+
@include b(step) {
|
|
5
|
+
position: relative;
|
|
6
|
+
flex-shrink: 1;
|
|
7
|
+
|
|
8
|
+
@include pseudo(last-of-type) {
|
|
9
|
+
@include e(line) {
|
|
10
|
+
display: none;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
// 只有未设置 space 的情况下才自适应宽度
|
|
14
|
+
@include when(flex) {
|
|
15
|
+
flex-basis: auto !important;
|
|
16
|
+
flex-shrink: 0;
|
|
17
|
+
flex-grow: 0;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@include e((main, description)) {
|
|
21
|
+
padding-right: 0;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@include e(head) {
|
|
26
|
+
position: relative;
|
|
27
|
+
width: 100%;
|
|
28
|
+
|
|
29
|
+
@include when(process) {
|
|
30
|
+
color: $--color-text-primary;
|
|
31
|
+
border-color: $--color-text-primary;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
@include when(wait) {
|
|
35
|
+
color: $--color-text-placeholder;
|
|
36
|
+
border-color: $--color-text-placeholder;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
@include when(success) {
|
|
40
|
+
color: $--color-success;
|
|
41
|
+
border-color: $--color-success;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
@include when(error) {
|
|
45
|
+
color: $--color-danger;
|
|
46
|
+
border-color: $--color-danger;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
@include when(finish) {
|
|
50
|
+
color: $--color-primary;
|
|
51
|
+
border-color: $--color-primary;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
@include e(icon) {
|
|
56
|
+
position: relative;
|
|
57
|
+
z-index: 1;
|
|
58
|
+
display: inline-flex;
|
|
59
|
+
justify-content: center;
|
|
60
|
+
align-items: center;
|
|
61
|
+
width: 24px;
|
|
62
|
+
height: 24px;
|
|
63
|
+
font-size: 14px;
|
|
64
|
+
box-sizing: border-box;
|
|
65
|
+
background: $--color-white;
|
|
66
|
+
transition: .15s ease-out;
|
|
67
|
+
|
|
68
|
+
@include when(text) {
|
|
69
|
+
border-radius: 50%;
|
|
70
|
+
border: 2px solid;
|
|
71
|
+
border-color: inherit;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
@include when(icon) {
|
|
75
|
+
width: 40px;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
@include e(icon-inner) {
|
|
80
|
+
display: inline-block;
|
|
81
|
+
user-select: none;
|
|
82
|
+
text-align: center;
|
|
83
|
+
font-weight: bold;
|
|
84
|
+
line-height: 1;
|
|
85
|
+
color: inherit;
|
|
86
|
+
|
|
87
|
+
&[class*=el-icon]:not(.is-status) {
|
|
88
|
+
font-size: 25px;
|
|
89
|
+
font-weight: normal;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
// 组件自身表示状态的图标
|
|
93
|
+
@include when(status) {
|
|
94
|
+
transform: translateY(1px);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
@include e(line) {
|
|
99
|
+
position: absolute;
|
|
100
|
+
border-color: inherit;
|
|
101
|
+
background-color: $--color-text-placeholder;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
@include e(line-inner) {
|
|
105
|
+
display: block;
|
|
106
|
+
border-width: 1px;
|
|
107
|
+
border-style: solid;
|
|
108
|
+
border-color: inherit;
|
|
109
|
+
transition: .15s ease-out;
|
|
110
|
+
box-sizing: border-box;
|
|
111
|
+
width: 0;
|
|
112
|
+
height: 0;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
@include e(main) {
|
|
116
|
+
white-space: normal;
|
|
117
|
+
text-align: left;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
@include e(title) {
|
|
121
|
+
font-size: 16px;
|
|
122
|
+
line-height: 38px;
|
|
123
|
+
|
|
124
|
+
@include when(process) {
|
|
125
|
+
font-weight: bold;
|
|
126
|
+
color: $--color-text-primary;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
@include when(wait) {
|
|
130
|
+
color: $--color-text-placeholder;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
@include when(success) {
|
|
134
|
+
color: $--color-success;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
@include when(error) {
|
|
138
|
+
color: $--color-danger;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
@include when(finish) {
|
|
142
|
+
color: $--color-primary;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
@include e(description) {
|
|
147
|
+
padding-right: 10%;
|
|
148
|
+
margin-top: -5px;
|
|
149
|
+
font-size: 12px;
|
|
150
|
+
line-height: 20px;
|
|
151
|
+
font-weight: normal;
|
|
152
|
+
|
|
153
|
+
@include when(process) {
|
|
154
|
+
color: $--color-text-primary;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
@include when(wait) {
|
|
158
|
+
color: $--color-text-placeholder;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
@include when(success) {
|
|
162
|
+
color: $--color-success;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
@include when(error) {
|
|
166
|
+
color: $--color-danger;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
@include when(finish) {
|
|
170
|
+
color: $--color-primary;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
@include when(horizontal) {
|
|
175
|
+
display: inline-block;
|
|
176
|
+
|
|
177
|
+
@include e(line) {
|
|
178
|
+
height: 2px;
|
|
179
|
+
top: 11px;
|
|
180
|
+
left: 0;
|
|
181
|
+
right: 0;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
@include when(vertical) {
|
|
186
|
+
display: flex;
|
|
187
|
+
|
|
188
|
+
@include e(head) {
|
|
189
|
+
flex-grow: 0;
|
|
190
|
+
width: 24px;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
@include e(main) {
|
|
194
|
+
padding-left: 10px;
|
|
195
|
+
flex-grow: 1;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
@include e(title) {
|
|
199
|
+
line-height: 24px;
|
|
200
|
+
padding-bottom: 8px;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
@include e(line) {
|
|
204
|
+
width: 2px;
|
|
205
|
+
top: 0;
|
|
206
|
+
bottom: 0;
|
|
207
|
+
left: 11px;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
@include e(icon) {
|
|
211
|
+
@include when(icon) {
|
|
212
|
+
width: 24px;
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
@include when(center) {
|
|
218
|
+
|
|
219
|
+
@include e(head) {
|
|
220
|
+
text-align: center;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
@include e(main) {
|
|
224
|
+
text-align: center;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
@include e(description) {
|
|
228
|
+
padding-left: 20%;
|
|
229
|
+
padding-right: 20%;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
@include e(line) {
|
|
233
|
+
left: 50%;
|
|
234
|
+
right: -50%;
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
@include when(simple) {
|
|
239
|
+
display: flex;
|
|
240
|
+
align-items: center;
|
|
241
|
+
|
|
242
|
+
@include e(head) {
|
|
243
|
+
width: auto;
|
|
244
|
+
font-size: 0;
|
|
245
|
+
padding-right: 10px;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
@include e(icon) {
|
|
249
|
+
background: transparent;
|
|
250
|
+
width: 16px;
|
|
251
|
+
height: 16px;
|
|
252
|
+
font-size: 12px;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
@include e(icon-inner) {
|
|
256
|
+
&[class*=el-icon]:not(.is-status) {
|
|
257
|
+
font-size: 18px;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
&.is-status {
|
|
261
|
+
transform: scale(.8) translateY(1px);
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
@include e(main) {
|
|
266
|
+
position: relative;
|
|
267
|
+
display: flex;
|
|
268
|
+
align-items: stretch;
|
|
269
|
+
flex-grow: 1;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
@include e(title) {
|
|
273
|
+
font-size: 16px;
|
|
274
|
+
line-height: 20px;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
@include pseudo('not(:last-of-type)') {
|
|
278
|
+
@include e(title) {
|
|
279
|
+
max-width: 50%;
|
|
280
|
+
word-break: break-all;
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
@include e(arrow) {
|
|
285
|
+
flex-grow: 1;
|
|
286
|
+
display: flex;
|
|
287
|
+
align-items: center;
|
|
288
|
+
justify-content: center;
|
|
289
|
+
|
|
290
|
+
&::before,
|
|
291
|
+
&::after {
|
|
292
|
+
content: '';
|
|
293
|
+
display: inline-block;
|
|
294
|
+
position: absolute;
|
|
295
|
+
height: 15px;
|
|
296
|
+
width: 1px;
|
|
297
|
+
background: $--color-text-placeholder;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
&::before {
|
|
301
|
+
transform: rotate(-45deg) translateY(-4px);
|
|
302
|
+
transform-origin: 0 0;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
&::after {
|
|
306
|
+
transform: rotate(45deg) translateY(4px);
|
|
307
|
+
transform-origin: 100% 100%;
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
@include pseudo(last-of-type) {
|
|
312
|
+
@include e(arrow) {
|
|
313
|
+
display: none;
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
@import "mixins/mixins";
|
|
2
|
+
|
|
3
|
+
@include b(steps) {
|
|
4
|
+
display: flex;
|
|
5
|
+
|
|
6
|
+
@include m(simple) {
|
|
7
|
+
padding: 13px 8%;
|
|
8
|
+
border-radius: 4px;
|
|
9
|
+
background: $--background-color-base;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
@include m(horizontal) {
|
|
13
|
+
white-space: nowrap;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
@include m(vertical) {
|
|
17
|
+
height: 100%;
|
|
18
|
+
flex-flow: column;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
@import "mixins/mixins";
|
|
2
|
+
@import "common/var";
|
|
3
|
+
|
|
4
|
+
@include b(switch) {
|
|
5
|
+
display: inline-flex;
|
|
6
|
+
align-items: center;
|
|
7
|
+
position: relative;
|
|
8
|
+
font-size: $--switch-font-size;
|
|
9
|
+
line-height: $--switch-height;
|
|
10
|
+
height: $--switch-height;
|
|
11
|
+
vertical-align: middle;
|
|
12
|
+
@include when(disabled) {
|
|
13
|
+
& .el-switch__core,
|
|
14
|
+
& .el-switch__label {
|
|
15
|
+
cursor: not-allowed;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@include e(label) {
|
|
20
|
+
transition: .2s;
|
|
21
|
+
height: $--switch-height;
|
|
22
|
+
display: inline-block;
|
|
23
|
+
font-size: $--switch-font-size;
|
|
24
|
+
font-weight: 500;
|
|
25
|
+
cursor: pointer;
|
|
26
|
+
vertical-align: middle;
|
|
27
|
+
color: $--color-text-primary;
|
|
28
|
+
|
|
29
|
+
@include when(active) {
|
|
30
|
+
color: $--color-primary;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
@include m(left) {
|
|
34
|
+
margin-right: 10px;
|
|
35
|
+
}
|
|
36
|
+
@include m(right) {
|
|
37
|
+
margin-left: 10px;
|
|
38
|
+
}
|
|
39
|
+
& * {
|
|
40
|
+
line-height: 1;
|
|
41
|
+
font-size: $--switch-font-size;
|
|
42
|
+
display: inline-block;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
@include e(input) {
|
|
47
|
+
position: absolute;
|
|
48
|
+
width: 0;
|
|
49
|
+
height: 0;
|
|
50
|
+
opacity: 0;
|
|
51
|
+
margin: 0;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
@include e(core) {
|
|
55
|
+
margin: 0;
|
|
56
|
+
display: inline-block;
|
|
57
|
+
position: relative;
|
|
58
|
+
width: $--switch-width;
|
|
59
|
+
height: $--switch-height;
|
|
60
|
+
border: 1px solid $--switch-off-color;
|
|
61
|
+
outline: none;
|
|
62
|
+
border-radius: $--switch-core-border-radius;
|
|
63
|
+
box-sizing: border-box;
|
|
64
|
+
background: $--switch-off-color;
|
|
65
|
+
cursor: pointer;
|
|
66
|
+
transition: border-color .3s, background-color .3s;
|
|
67
|
+
vertical-align: middle;
|
|
68
|
+
|
|
69
|
+
&:after {
|
|
70
|
+
content: "";
|
|
71
|
+
position: absolute;
|
|
72
|
+
top: 1px;
|
|
73
|
+
left: 1px;
|
|
74
|
+
border-radius: $--border-radius-circle;
|
|
75
|
+
transition: all .3s;
|
|
76
|
+
width: $--switch-button-size;
|
|
77
|
+
height: $--switch-button-size;
|
|
78
|
+
background-color: $--color-white;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
@include when(checked) {
|
|
83
|
+
.el-switch__core {
|
|
84
|
+
border-color: $--switch-on-color;
|
|
85
|
+
background-color: $--switch-on-color;
|
|
86
|
+
&::after {
|
|
87
|
+
left: 100%;
|
|
88
|
+
margin-left: -$--switch-button-size - 1px;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
@include when(disabled) {
|
|
94
|
+
opacity: 0.6;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
@include m(wide) {
|
|
98
|
+
.el-switch__label {
|
|
99
|
+
&.el-switch__label--left {
|
|
100
|
+
span {
|
|
101
|
+
left: 10px;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
&.el-switch__label--right {
|
|
105
|
+
span {
|
|
106
|
+
right: 10px;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
& .label-fade-enter,
|
|
113
|
+
& .label-fade-leave-active {
|
|
114
|
+
opacity: 0;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
@import "mixins/mixins";
|
|
2
|
+
@import "checkbox";
|
|
3
|
+
@import "tag";
|
|
4
|
+
@import "common/var";
|
|
5
|
+
|
|
6
|
+
@include b(table-column) {
|
|
7
|
+
@include m(selection) {
|
|
8
|
+
.cell {
|
|
9
|
+
padding-left: 14px;
|
|
10
|
+
padding-right: 14px;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
@include b(table-filter) {
|
|
16
|
+
border: solid 1px $--border-color-lighter;
|
|
17
|
+
border-radius: 2px;
|
|
18
|
+
background-color: $--color-white;
|
|
19
|
+
box-shadow: $--dropdown-menu-box-shadow;
|
|
20
|
+
box-sizing: border-box;
|
|
21
|
+
margin: 2px 0;
|
|
22
|
+
|
|
23
|
+
/** used for dropdown mode */
|
|
24
|
+
@include e(list) {
|
|
25
|
+
padding: 5px 0;
|
|
26
|
+
margin: 0;
|
|
27
|
+
list-style: none;
|
|
28
|
+
min-width: 100px;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@include e(list-item) {
|
|
32
|
+
line-height: 36px;
|
|
33
|
+
padding: 0 10px;
|
|
34
|
+
cursor: pointer;
|
|
35
|
+
font-size: $--font-size-base;
|
|
36
|
+
|
|
37
|
+
&:hover {
|
|
38
|
+
background-color: $--dropdown-menuItem-hover-fill;
|
|
39
|
+
color: $--dropdown-menuItem-hover-color;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
@include when(active) {
|
|
43
|
+
background-color: $--color-primary;
|
|
44
|
+
color: $--color-white;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
@include e(content) {
|
|
49
|
+
min-width: 100px;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
@include e(bottom) {
|
|
53
|
+
border-top: 1px solid $--border-color-lighter;
|
|
54
|
+
padding: 8px;
|
|
55
|
+
|
|
56
|
+
button {
|
|
57
|
+
background: transparent;
|
|
58
|
+
border: none;
|
|
59
|
+
color: $--color-text-regular;
|
|
60
|
+
cursor: pointer;
|
|
61
|
+
font-size: $--font-size-small;
|
|
62
|
+
padding: 0 3px;
|
|
63
|
+
|
|
64
|
+
&:hover {
|
|
65
|
+
color: $--color-primary;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
&:focus {
|
|
69
|
+
outline: none;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
&.is-disabled {
|
|
73
|
+
color: $--disabled-color-base;
|
|
74
|
+
cursor: not-allowed;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
@include e(wrap) {
|
|
80
|
+
max-height: 280px;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
@include e(checkbox-group) {
|
|
84
|
+
padding: 10px;
|
|
85
|
+
|
|
86
|
+
label.el-checkbox {
|
|
87
|
+
display: block;
|
|
88
|
+
margin-right: 5px;
|
|
89
|
+
margin-bottom: 8px;
|
|
90
|
+
margin-left: 5px;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.el-checkbox:last-child {
|
|
94
|
+
margin-bottom: 0;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|