element-sim 1.1.0 → 1.1.3

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 (36) hide show
  1. package/CHANGELOG.es.md +9 -1
  2. package/lib/element-sim.common.js +1 -1
  3. package/lib/index.js +1 -1
  4. package/lib/theme-chalk/button.css +1 -1
  5. package/lib/theme-chalk/calendar.css +1 -1
  6. package/lib/theme-chalk/cascader-panel.css +1 -1
  7. package/lib/theme-chalk/cascader.css +1 -1
  8. package/lib/theme-chalk/checkbox.css +1 -1
  9. package/lib/theme-chalk/dropdown.css +1 -1
  10. package/lib/theme-chalk/index.css +1 -1
  11. package/lib/theme-chalk/message-box.css +1 -1
  12. package/lib/theme-chalk/message.css +1 -1
  13. package/lib/theme-chalk/table-column.css +1 -1
  14. package/lib/theme-chalk/table.css +1 -1
  15. package/lib/theme-chalk/transfer.css +1 -1
  16. package/lib/theme-chalk/tree.css +1 -1
  17. package/package.json +1 -1
  18. package/packages/theme-chalk/lib/button.css +1 -1
  19. package/packages/theme-chalk/lib/calendar.css +1 -1
  20. package/packages/theme-chalk/lib/cascader-panel.css +1 -1
  21. package/packages/theme-chalk/lib/cascader.css +1 -1
  22. package/packages/theme-chalk/lib/checkbox.css +1 -1
  23. package/packages/theme-chalk/lib/dropdown.css +1 -1
  24. package/packages/theme-chalk/lib/index.css +1 -1
  25. package/packages/theme-chalk/lib/message-box.css +1 -1
  26. package/packages/theme-chalk/lib/message.css +1 -1
  27. package/packages/theme-chalk/lib/table-column.css +1 -1
  28. package/packages/theme-chalk/lib/table.css +1 -1
  29. package/packages/theme-chalk/lib/transfer.css +1 -1
  30. package/packages/theme-chalk/lib/tree.css +1 -1
  31. package/packages/theme-chalk/src/button.scss +5 -0
  32. package/packages/theme-chalk/src/checkbox.scss +1 -1
  33. package/packages/theme-chalk/src/common/var.scss +3 -3
  34. package/packages/theme-chalk/src/message.scss +10 -9
  35. package/packages/theme-chalk/src/table.scss +25 -9
  36. package/src/index.js +1 -1
@@ -115,10 +115,13 @@
115
115
  background: $--background-color-base;
116
116
  }
117
117
  }
118
+ th:nth-last-of-type(2) >.cell{
119
+ padding-right: 24px;
120
+ }
118
121
  }
119
122
 
120
123
  .el-table__cell {
121
- padding: 12px 0;
124
+ padding: 17px 0;
122
125
  min-width: 0;
123
126
  box-sizing: border-box;
124
127
  text-overflow: ellipsis;
@@ -148,23 +151,27 @@
148
151
  }
149
152
  }
150
153
 
154
+ th.el-table__cell {
155
+ padding: 15px 0;
156
+ }
157
+
151
158
  @include m(medium) {
152
159
  .el-table__cell {
153
- padding: 10px 0;
160
+ padding: 14px 0;
154
161
  }
155
162
  }
156
163
 
157
164
  @include m(small) {
158
165
  font-size: 12px;
159
166
  .el-table__cell {
160
- padding: 8px 0;
167
+ padding: 12px 0;
161
168
  }
162
169
  }
163
170
 
164
171
  @include m(mini) {
165
172
  font-size: 12px;
166
173
  .el-table__cell {
167
- padding: 6px 0;
174
+ padding: 10px 0;
168
175
  }
169
176
  }
170
177
 
@@ -174,6 +181,10 @@
174
181
  input[type="checkbox"] {
175
182
  margin: 0;
176
183
  }
184
+ td:first-child >.cell, th:first-child >.cell {
185
+ padding-left: 24px;
186
+ padding-right: 22px;
187
+ }
177
188
  }
178
189
 
179
190
  th.el-table__cell.is-leaf,
@@ -195,14 +206,18 @@
195
206
  box-sizing: border-box;
196
207
  position: relative;
197
208
  vertical-align: middle;
198
- padding-left: 10px;
199
- padding-right: 10px;
209
+ // padding-left: 10px;
210
+ padding-right: 50px;
211
+ line-height: 20px;
200
212
  width: 100%;
201
213
 
202
214
  &.highlight {
203
215
  color: $--color-primary;
204
216
  }
205
217
  }
218
+ &:last-of-type .cell{
219
+ padding-right: 24px;
220
+ }
206
221
 
207
222
  &.required > div::before {
208
223
  display: inline-block;
@@ -232,9 +247,10 @@
232
247
  text-overflow: ellipsis;
233
248
  white-space: normal;
234
249
  word-break: break-all;
235
- line-height: 23px;
236
- padding-left: 10px;
237
- padding-right: 10px;
250
+ line-height: 22px;
251
+ height: 22px;
252
+ // padding-left: 10px;
253
+ padding-right: 24px;
238
254
 
239
255
  &.el-tooltip {
240
256
  white-space: nowrap;
package/src/index.js CHANGED
@@ -212,7 +212,7 @@ if (typeof window !== 'undefined' && window.Vue) {
212
212
  }
213
213
 
214
214
  export default {
215
- version: '1.1.0',
215
+ version: '1.1.3',
216
216
  locale: locale.use,
217
217
  i18n: locale.i18n,
218
218
  install,