element-assits 0.0.37 → 0.0.39

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/lib/style.scss CHANGED
@@ -215,6 +215,43 @@ $--color-border-extralight: #F2F6FC !default;
215
215
  }
216
216
  }
217
217
 
218
+ .ea-split-container {
219
+ display: flex;
220
+ &.is-down {
221
+ user-select: none;
222
+ }
223
+ .sc-left {
224
+ flex-grow: 1;
225
+ flex-shrink: 1;
226
+ }
227
+ .sc-right {
228
+ flex-grow: 1;
229
+ flex-shrink: 1;
230
+ }
231
+ .sc-bamboo {
232
+ flex-grow: 0;
233
+ flex-shrink: 0;
234
+ width: 8px;
235
+ border: 1px solid #DCDEE2;
236
+ border-top: none;
237
+ border-bottom: none;
238
+ background-color: #F8F8F9;
239
+ cursor: col-resize;
240
+ user-select: none;
241
+ display: flex;
242
+ flex-direction: column;
243
+ justify-content: center;
244
+ align-items: center;
245
+ margin: 0 16px;
246
+ .sc-texture {
247
+ width: 4px;
248
+ height: 1px;
249
+ background: rgba(23, 35, 61, .25);
250
+ margin-top: 3px;
251
+ }
252
+ }
253
+ }
254
+
218
255
  .ea-button-tooltip + .ea-button-tooltip {
219
256
  margin-left: 10px;
220
257
  }
@@ -280,39 +317,14 @@ td {
280
317
  }
281
318
  }
282
319
 
283
- .ea-split-container {
284
- display: flex;
285
- &.is-down {
286
- user-select: none;
287
- }
288
- .sc-left {
289
- flex-grow: 1;
290
- flex-shrink: 1;
291
- }
292
- .sc-right {
293
- flex-grow: 1;
294
- flex-shrink: 1;
295
- }
296
- .sc-bamboo {
297
- flex-grow: 0;
298
- flex-shrink: 0;
299
- width: 8px;
300
- border: 1px solid #DCDEE2;
301
- border-top: none;
302
- border-bottom: none;
303
- background-color: #F8F8F9;
304
- cursor: col-resize;
305
- user-select: none;
306
- display: flex;
307
- flex-direction: column;
308
- justify-content: center;
309
- align-items: center;
310
- margin: 0 16px;
311
- .sc-texture {
312
- width: 4px;
313
- height: 1px;
314
- background: rgba(23, 35, 61, .25);
315
- margin-top: 3px;
320
+ .ea-tree {
321
+ .ea-tree-real {
322
+ .el-tree-node > .el-tree-node__content{
323
+ border-radius: 4px;
324
+ }
325
+ .el-tree-node.is-current > .el-tree-node__content {
326
+ color: $--color-primary;
327
+ background-color: rgba($--color-primary, 0.1);
316
328
  }
317
329
  }
318
330
  }
@@ -329,18 +341,6 @@ td {
329
341
  text-align: left;
330
342
  }
331
343
 
332
- .ea-tree {
333
- .ea-tree-real {
334
- .el-tree-node > .el-tree-node__content{
335
- border-radius: 4px;
336
- }
337
- .el-tree-node.is-current > .el-tree-node__content {
338
- color: $--color-primary;
339
- background-color: rgba($--color-primary, 0.1);
340
- }
341
- }
342
- }
343
-
344
344
  .ea-desc {
345
345
  font-size: 14px;
346
346
  &__title {
@@ -385,6 +385,33 @@ td {
385
385
  }
386
386
  }
387
387
 
388
+ .file-upload-dialog {
389
+ // 拖拽区域铺满
390
+ .el-upload,
391
+ .el-upload .el-upload-dragger {
392
+ width: 100%;
393
+ }
394
+ // 文件列表项边框
395
+ .el-upload-list {
396
+ .el-upload-list__item {
397
+ border: 1px dashed #aaa;
398
+ .el-icon-close {
399
+ display: inline-block;
400
+ }
401
+ }
402
+ }
403
+ // 清除文件列表变动过渡动画
404
+ .el-list-enter,
405
+ .el-list-enter-active,
406
+ .el-list-enter-to,
407
+ .el-list-leave,
408
+ .el-list-leave-active,
409
+ .el-list-leave-to {
410
+ -webkit-transition: none !important;
411
+ transition: none !important;
412
+ }
413
+ }
414
+
388
415
  .vjs-table {
389
416
  position: relative;
390
417
  overflow: hidden;
@@ -584,33 +611,6 @@ td {
584
611
  .ea-icon-more:before { content: "\e60e" }
585
612
  .eafont.ea-icon-conf.has { color: #000 }
586
613
 
587
- .file-upload-dialog {
588
- // 拖拽区域铺满
589
- .el-upload,
590
- .el-upload .el-upload-dragger {
591
- width: 100%;
592
- }
593
- // 文件列表项边框
594
- .el-upload-list {
595
- .el-upload-list__item {
596
- border: 1px dashed #aaa;
597
- .el-icon-close {
598
- display: inline-block;
599
- }
600
- }
601
- }
602
- // 清除文件列表变动过渡动画
603
- .el-list-enter,
604
- .el-list-enter-active,
605
- .el-list-enter-to,
606
- .el-list-leave,
607
- .el-list-leave-active,
608
- .el-list-leave-to {
609
- -webkit-transition: none !important;
610
- transition: none !important;
611
- }
612
- }
613
-
614
614
  .ea-form .form-group-title {
615
615
  position: relative;
616
616
  height: 32px;
@@ -718,21 +718,6 @@ td {
718
718
  }
719
719
  }
720
720
 
721
- .ea-switch-mini {
722
- .el-switch__core {
723
- width: 30px !important;
724
- height: 16px;
725
- &::after {
726
- width: 12px;
727
- height: 12px;
728
- left: 2px;
729
- }
730
- }
731
- &.is-checked .el-switch__core::after {
732
- margin-left: -13px;
733
- }
734
- }
735
-
736
721
  .ea-select-container {
737
722
  display: flex;
738
723
  justify-content: flex-start;
@@ -772,3 +757,18 @@ td {
772
757
  }
773
758
  }
774
759
  }
760
+
761
+ .ea-switch-mini {
762
+ .el-switch__core {
763
+ width: 30px !important;
764
+ height: 16px;
765
+ &::after {
766
+ width: 12px;
767
+ height: 12px;
768
+ left: 2px;
769
+ }
770
+ }
771
+ &.is-checked .el-switch__core::after {
772
+ margin-left: -13px;
773
+ }
774
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "element-assits",
3
- "version": "0.0.37",
3
+ "version": "0.0.39",
4
4
  "description": "element-ui 的扩展组件库",
5
5
  "main": "lib/index.js",
6
6
  "type": "module",