element-sim 1.1.19 → 1.1.21
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/CHANGELOG.zh-CN.md +8 -0
- package/lib/cascader.js +3 -3
- package/lib/element-sim.common.js +18 -147
- package/lib/index.js +1 -1
- package/lib/select.js +3 -132
- package/lib/submenu.js +1 -1
- package/lib/theme-chalk/alert.css +1 -1
- package/lib/theme-chalk/autocomplete.css +1 -1
- package/lib/theme-chalk/avatar.css +1 -1
- package/lib/theme-chalk/breadcrumb.css +1 -1
- package/lib/theme-chalk/button.css +1 -1
- package/lib/theme-chalk/calendar.css +1 -1
- package/lib/theme-chalk/card.css +1 -1
- package/lib/theme-chalk/cascader-panel.css +1 -1
- package/lib/theme-chalk/cascader.css +1 -1
- package/lib/theme-chalk/checkbox.css +1 -1
- package/lib/theme-chalk/collapse.css +1 -1
- package/lib/theme-chalk/color-picker.css +1 -1
- package/lib/theme-chalk/date-picker.css +1 -1
- package/lib/theme-chalk/descriptions.css +1 -1
- package/lib/theme-chalk/dialog.css +1 -1
- package/lib/theme-chalk/divider.css +1 -1
- package/lib/theme-chalk/drawer.css +1 -1
- package/lib/theme-chalk/dropdown.css +1 -1
- package/lib/theme-chalk/form.css +1 -1
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/input-number.css +1 -1
- package/lib/theme-chalk/input.css +1 -1
- package/lib/theme-chalk/link.css +1 -1
- package/lib/theme-chalk/menu.css +1 -1
- package/lib/theme-chalk/message-box.css +1 -1
- package/lib/theme-chalk/message.css +1 -1
- package/lib/theme-chalk/notification.css +1 -1
- package/lib/theme-chalk/option.css +1 -1
- package/lib/theme-chalk/page-header.css +1 -1
- package/lib/theme-chalk/pagination.css +1 -1
- package/lib/theme-chalk/popover.css +1 -1
- package/lib/theme-chalk/progress.css +1 -1
- package/lib/theme-chalk/radio-button.css +1 -1
- package/lib/theme-chalk/radio.css +1 -1
- package/lib/theme-chalk/reset.css +1 -1
- package/lib/theme-chalk/result.css +1 -1
- package/lib/theme-chalk/select-dropdown.css +1 -1
- package/lib/theme-chalk/select.css +1 -1
- package/lib/theme-chalk/skeleton-item.css +1 -1
- package/lib/theme-chalk/skeleton.css +1 -1
- package/lib/theme-chalk/slider.css +1 -1
- package/lib/theme-chalk/statistic.css +1 -1
- package/lib/theme-chalk/step.css +1 -1
- package/lib/theme-chalk/switch.css +1 -1
- package/lib/theme-chalk/table-column.css +1 -1
- package/lib/theme-chalk/table.css +1 -1
- package/lib/theme-chalk/tabs.css +1 -1
- package/lib/theme-chalk/tag.css +1 -1
- package/lib/theme-chalk/time-picker.css +1 -1
- package/lib/theme-chalk/time-select.css +1 -1
- package/lib/theme-chalk/timeline-item.css +1 -1
- package/lib/theme-chalk/tooltip.css +1 -1
- package/lib/theme-chalk/transfer.css +1 -1
- package/lib/theme-chalk/tree.css +1 -1
- package/lib/theme-chalk/upload.css +1 -1
- package/package.json +1 -1
- package/packages/cascader/src/cascader.vue +1 -1
- package/packages/menu/src/submenu.vue +1 -1
- package/packages/select/src/select.vue +1 -2
- package/packages/theme-chalk/lib/alert.css +1 -1
- package/packages/theme-chalk/lib/autocomplete.css +1 -1
- package/packages/theme-chalk/lib/avatar.css +1 -1
- package/packages/theme-chalk/lib/breadcrumb.css +1 -1
- package/packages/theme-chalk/lib/button.css +1 -1
- package/packages/theme-chalk/lib/calendar.css +1 -1
- package/packages/theme-chalk/lib/card.css +1 -1
- package/packages/theme-chalk/lib/cascader-panel.css +1 -1
- package/packages/theme-chalk/lib/cascader.css +1 -1
- package/packages/theme-chalk/lib/checkbox.css +1 -1
- package/packages/theme-chalk/lib/collapse.css +1 -1
- package/packages/theme-chalk/lib/color-picker.css +1 -1
- package/packages/theme-chalk/lib/date-picker.css +1 -1
- package/packages/theme-chalk/lib/descriptions.css +1 -1
- package/packages/theme-chalk/lib/dialog.css +1 -1
- package/packages/theme-chalk/lib/divider.css +1 -1
- package/packages/theme-chalk/lib/drawer.css +1 -1
- package/packages/theme-chalk/lib/dropdown.css +1 -1
- package/packages/theme-chalk/lib/form.css +1 -1
- package/packages/theme-chalk/lib/index.css +1 -1
- package/packages/theme-chalk/lib/input-number.css +1 -1
- package/packages/theme-chalk/lib/input.css +1 -1
- package/packages/theme-chalk/lib/link.css +1 -1
- package/packages/theme-chalk/lib/menu.css +1 -1
- package/packages/theme-chalk/lib/message-box.css +1 -1
- package/packages/theme-chalk/lib/message.css +1 -1
- package/packages/theme-chalk/lib/notification.css +1 -1
- package/packages/theme-chalk/lib/option.css +1 -1
- package/packages/theme-chalk/lib/page-header.css +1 -1
- package/packages/theme-chalk/lib/pagination.css +1 -1
- package/packages/theme-chalk/lib/popover.css +1 -1
- package/packages/theme-chalk/lib/progress.css +1 -1
- package/packages/theme-chalk/lib/radio-button.css +1 -1
- package/packages/theme-chalk/lib/radio.css +1 -1
- package/packages/theme-chalk/lib/reset.css +1 -1
- package/packages/theme-chalk/lib/result.css +1 -1
- package/packages/theme-chalk/lib/select-dropdown.css +1 -1
- package/packages/theme-chalk/lib/select.css +1 -1
- package/packages/theme-chalk/lib/skeleton-item.css +1 -1
- package/packages/theme-chalk/lib/skeleton.css +1 -1
- package/packages/theme-chalk/lib/slider.css +1 -1
- package/packages/theme-chalk/lib/statistic.css +1 -1
- package/packages/theme-chalk/lib/step.css +1 -1
- package/packages/theme-chalk/lib/switch.css +1 -1
- package/packages/theme-chalk/lib/table-column.css +1 -1
- package/packages/theme-chalk/lib/table.css +1 -1
- package/packages/theme-chalk/lib/tabs.css +1 -1
- package/packages/theme-chalk/lib/tag.css +1 -1
- package/packages/theme-chalk/lib/time-picker.css +1 -1
- package/packages/theme-chalk/lib/time-select.css +1 -1
- package/packages/theme-chalk/lib/timeline-item.css +1 -1
- package/packages/theme-chalk/lib/tooltip.css +1 -1
- package/packages/theme-chalk/lib/transfer.css +1 -1
- package/packages/theme-chalk/lib/tree.css +1 -1
- package/packages/theme-chalk/lib/upload.css +1 -1
- package/packages/theme-chalk/src/button.scss +10 -3
- package/packages/theme-chalk/src/cascader-panel.scss +1 -1
- package/packages/theme-chalk/src/common/var.scss +14 -11
- package/packages/theme-chalk/src/dialog.scss +3 -3
- package/packages/theme-chalk/src/drawer.scss +9 -2
- package/packages/theme-chalk/src/form.scss +2 -2
- package/packages/theme-chalk/src/menu.scss +1 -1
- package/packages/theme-chalk/src/message-box.scss +2 -2
- package/packages/theme-chalk/src/message.scss +2 -1
- package/packages/theme-chalk/src/table-column.scss +1 -1
- package/packages/theme-chalk/src/table.scss +8 -0
- package/packages/theme-chalk/src/tag.scss +2 -2
- package/src/index.js +1 -1
|
@@ -61,11 +61,11 @@
|
|
|
61
61
|
@include e(title) {
|
|
62
62
|
line-height: $--dialog-font-line-height;
|
|
63
63
|
font-size: $--dialog-title-font-size;
|
|
64
|
-
color: $--color-
|
|
64
|
+
color: $--color-black;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
@include e(body) {
|
|
68
|
-
padding: ($--dialog-padding-primary + 10px) $--dialog-padding-primary;
|
|
68
|
+
padding: ($--dialog-padding-primary + 10px) ($--dialog-padding-primary + 4px);
|
|
69
69
|
color: $--color-text-regular;
|
|
70
70
|
font-size: $--dialog-content-font-size;
|
|
71
71
|
word-break: break-all;
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
padding-top: 19px;
|
|
77
77
|
text-align: right;
|
|
78
78
|
box-sizing: border-box;
|
|
79
|
-
border-top: 1px solid #F2F3F5;
|
|
79
|
+
// border-top: 1px solid #F2F3F5;
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
// 内容居中布局
|
|
@@ -138,7 +138,7 @@ $directions: rtl, ltr, ttb, btt;
|
|
|
138
138
|
|
|
139
139
|
&__header {
|
|
140
140
|
align-items: center;
|
|
141
|
-
color:
|
|
141
|
+
color: $--color-black;
|
|
142
142
|
display: flex;
|
|
143
143
|
margin-bottom: 10px;
|
|
144
144
|
padding: $--dialog-padding-primary;
|
|
@@ -159,9 +159,16 @@ $directions: rtl, ltr, ttb, btt;
|
|
|
159
159
|
&__close-btn {
|
|
160
160
|
border: none;
|
|
161
161
|
cursor: pointer;
|
|
162
|
-
font-size: $--font-size-extra-large;
|
|
162
|
+
// font-size: $--font-size-extra-large;
|
|
163
163
|
color: inherit;
|
|
164
164
|
background-color: transparent;
|
|
165
|
+
font-size: $--message-close-size;
|
|
166
|
+
|
|
167
|
+
&:focus, &:hover {
|
|
168
|
+
.el-dialog__close {
|
|
169
|
+
color: $--color-primary;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
165
172
|
}
|
|
166
173
|
|
|
167
174
|
&__body {
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
@include b(form-item) {
|
|
39
|
-
margin-bottom:
|
|
39
|
+
margin-bottom: 32px;
|
|
40
40
|
@include utils-clearfix;
|
|
41
41
|
|
|
42
42
|
& .el-form-item {
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
font-size: $--form-label-font-size;
|
|
100
100
|
color: $--color-text-regular;
|
|
101
101
|
line-height: 40px;
|
|
102
|
-
padding: 0
|
|
102
|
+
padding: 0 8px 0 0;
|
|
103
103
|
box-sizing: border-box;
|
|
104
104
|
}
|
|
105
105
|
@include e(content) {
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
position: absolute;
|
|
99
99
|
top: 50%;
|
|
100
100
|
transform: translateY(-50%);
|
|
101
|
-
font-size:
|
|
101
|
+
font-size: 18px !important;
|
|
102
102
|
|
|
103
103
|
&::before {
|
|
104
104
|
// 防止图标切割
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
+ .el-message-box__message {
|
|
109
|
-
padding-left:
|
|
109
|
+
padding-left: 30px;
|
|
110
110
|
padding-right: 12px;
|
|
111
111
|
}
|
|
112
112
|
|
|
@@ -214,6 +214,10 @@
|
|
|
214
214
|
margin-right: 5px;
|
|
215
215
|
vertical-align: middle;
|
|
216
216
|
}
|
|
217
|
+
|
|
218
|
+
&:first-child .cell {
|
|
219
|
+
padding-left: 24px;
|
|
220
|
+
}
|
|
217
221
|
}
|
|
218
222
|
|
|
219
223
|
td.el-table__cell {
|
|
@@ -224,6 +228,10 @@
|
|
|
224
228
|
&.gutter {
|
|
225
229
|
width: 0;
|
|
226
230
|
}
|
|
231
|
+
|
|
232
|
+
&:first-child .cell {
|
|
233
|
+
padding-left: 24px;
|
|
234
|
+
}
|
|
227
235
|
}
|
|
228
236
|
|
|
229
237
|
.cell {
|
|
@@ -94,9 +94,9 @@
|
|
|
94
94
|
@include b(tag) {
|
|
95
95
|
@include genTheme(10%, 20%, 100%, 100%);
|
|
96
96
|
display: inline-block;
|
|
97
|
-
height:
|
|
97
|
+
height: 26px;
|
|
98
98
|
padding: $--tag-padding;
|
|
99
|
-
line-height:
|
|
99
|
+
line-height: 22px;
|
|
100
100
|
font-size: $--tag-font-size;
|
|
101
101
|
color: $--tag-primary-color;
|
|
102
102
|
border-width: 1px;
|