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.
- package/lib/element-ui.common.js +1 -1
- package/lib/index.js +1 -1
- package/lib/theme-chalk/alert.css +1 -0
- package/lib/theme-chalk/aside.css +1 -0
- package/lib/theme-chalk/autocomplete.css +1 -0
- package/lib/theme-chalk/avatar.css +1 -0
- package/lib/theme-chalk/backtop.css +1 -0
- package/lib/theme-chalk/badge.css +1 -0
- package/lib/theme-chalk/base.css +1 -1
- package/lib/theme-chalk/breadcrumb.css +1 -0
- package/lib/theme-chalk/button.css +1 -0
- package/lib/theme-chalk/calendar.css +1 -0
- package/lib/theme-chalk/card.css +1 -0
- package/lib/theme-chalk/carousel-item.css +1 -0
- package/lib/theme-chalk/carousel.css +1 -0
- package/lib/theme-chalk/cascader-panel.css +1 -0
- package/lib/theme-chalk/cascader.css +1 -0
- package/lib/theme-chalk/checkbox.css +1 -0
- package/lib/theme-chalk/col.css +1 -0
- package/lib/theme-chalk/collapse.css +1 -0
- package/lib/theme-chalk/color-picker.css +1 -0
- package/lib/theme-chalk/container.css +1 -0
- package/lib/theme-chalk/date-picker.css +1 -0
- package/lib/theme-chalk/descriptions-item.css +1 -0
- package/lib/theme-chalk/descriptions.css +1 -0
- package/lib/theme-chalk/dialog.css +1 -0
- package/lib/theme-chalk/display.css +1 -0
- package/lib/theme-chalk/divider.css +1 -0
- package/lib/theme-chalk/drawer.css +1 -0
- package/lib/theme-chalk/dropdown.css +1 -0
- package/lib/theme-chalk/empty.css +1 -0
- package/lib/theme-chalk/footer.css +1 -0
- package/lib/theme-chalk/form.css +1 -0
- package/lib/theme-chalk/header.css +1 -0
- package/lib/theme-chalk/icon.css +1 -0
- package/lib/theme-chalk/image.css +1 -0
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/input-number.css +1 -0
- package/lib/theme-chalk/input.css +1 -0
- package/lib/theme-chalk/link.css +1 -0
- package/lib/theme-chalk/loading.css +1 -0
- package/lib/theme-chalk/main.css +1 -0
- package/lib/theme-chalk/menu.css +1 -0
- package/lib/theme-chalk/message-box.css +1 -0
- package/lib/theme-chalk/message.css +1 -0
- package/lib/theme-chalk/notification.css +1 -0
- package/lib/theme-chalk/option-group.css +1 -0
- package/lib/theme-chalk/option.css +1 -0
- package/lib/theme-chalk/page-header.css +1 -0
- package/lib/theme-chalk/pagination.css +1 -0
- package/lib/theme-chalk/popconfirm.css +1 -0
- package/lib/theme-chalk/popover.css +1 -0
- package/lib/theme-chalk/popper.css +1 -0
- package/lib/theme-chalk/progress.css +1 -0
- package/lib/theme-chalk/radio-button.css +1 -0
- package/lib/theme-chalk/radio-group.css +1 -0
- package/lib/theme-chalk/radio.css +1 -0
- package/lib/theme-chalk/rate.css +1 -0
- package/lib/theme-chalk/reset.css +1 -0
- package/lib/theme-chalk/result.css +1 -0
- package/lib/theme-chalk/row.css +1 -0
- package/lib/theme-chalk/scrollbar.css +1 -0
- package/lib/theme-chalk/select-dropdown.css +1 -0
- package/lib/theme-chalk/select.css +1 -0
- package/lib/theme-chalk/skeleton-item.css +1 -0
- package/lib/theme-chalk/skeleton.css +1 -0
- package/lib/theme-chalk/slider.css +1 -0
- package/lib/theme-chalk/spinner.css +1 -0
- package/lib/theme-chalk/statistic.css +1 -0
- package/lib/theme-chalk/step.css +1 -0
- package/lib/theme-chalk/steps.css +1 -0
- package/lib/theme-chalk/switch.css +1 -0
- package/lib/theme-chalk/table-column.css +1 -0
- package/lib/theme-chalk/table.css +1 -0
- package/lib/theme-chalk/tabs.css +1 -0
- package/lib/theme-chalk/tag.css +1 -0
- package/lib/theme-chalk/time-picker.css +1 -0
- package/lib/theme-chalk/time-select.css +1 -0
- package/lib/theme-chalk/timeline-item.css +1 -0
- package/lib/theme-chalk/timeline.css +1 -0
- package/lib/theme-chalk/tooltip.css +1 -0
- package/lib/theme-chalk/transfer.css +1 -0
- package/lib/theme-chalk/tree.css +1 -0
- package/lib/theme-chalk/upload.css +1 -0
- package/package.json +2 -2
- package/packages/theme-chalk/src/common/var.scss +16 -16
- package/packages/theme-cy/gulpfile.js +14 -1
- package/src/index.js +1 -1
- package/lib/theme-chalk/README.md +0 -33
- package/lib/theme-chalk/gulpfile.js +0 -40
- package/lib/theme-chalk/package.json +0 -35
- package/lib/theme-chalk/src/alert.scss +0 -147
- package/lib/theme-chalk/src/aside.scss +0 -7
- package/lib/theme-chalk/src/autocomplete.scss +0 -80
- package/lib/theme-chalk/src/avatar.scss +0 -51
- package/lib/theme-chalk/src/backtop.scss +0 -22
- package/lib/theme-chalk/src/badge.scss +0 -57
- package/lib/theme-chalk/src/base.scss +0 -2
- package/lib/theme-chalk/src/breadcrumb.scss +0 -55
- package/lib/theme-chalk/src/button.scss +0 -262
- package/lib/theme-chalk/src/calendar.scss +0 -79
- package/lib/theme-chalk/src/card.scss +0 -32
- package/lib/theme-chalk/src/carousel-item.scss +0 -50
- package/lib/theme-chalk/src/carousel.scss +0 -161
- package/lib/theme-chalk/src/cascader-panel.scss +0 -120
- package/lib/theme-chalk/src/cascader.scss +0 -182
- package/lib/theme-chalk/src/checkbox.scss +0 -359
- package/lib/theme-chalk/src/col.scss +0 -156
- package/lib/theme-chalk/src/collapse.scss +0 -63
- package/lib/theme-chalk/src/color-picker.scss +0 -384
- package/lib/theme-chalk/src/common/popup.scss +0 -42
- package/lib/theme-chalk/src/common/transition.scss +0 -99
- package/lib/theme-chalk/src/common/var.scss +0 -1028
- package/lib/theme-chalk/src/container.scss +0 -14
- package/lib/theme-chalk/src/date-picker/date-picker.scss +0 -97
- package/lib/theme-chalk/src/date-picker/date-range-picker.scss +0 -101
- package/lib/theme-chalk/src/date-picker/date-table.scss +0 -151
- package/lib/theme-chalk/src/date-picker/month-table.scss +0 -82
- package/lib/theme-chalk/src/date-picker/picker-panel.scss +0 -117
- package/lib/theme-chalk/src/date-picker/picker.scss +0 -197
- package/lib/theme-chalk/src/date-picker/time-picker.scss +0 -85
- package/lib/theme-chalk/src/date-picker/time-range-picker.scss +0 -31
- package/lib/theme-chalk/src/date-picker/time-spinner.scss +0 -110
- package/lib/theme-chalk/src/date-picker/year-table.scss +0 -51
- package/lib/theme-chalk/src/date-picker.scss +0 -12
- package/lib/theme-chalk/src/descriptions-item.scss +0 -42
- package/lib/theme-chalk/src/descriptions.scss +0 -111
- package/lib/theme-chalk/src/dialog.scss +0 -123
- package/lib/theme-chalk/src/display.scss +0 -12
- package/lib/theme-chalk/src/divider.scss +0 -47
- package/lib/theme-chalk/src/drawer.scss +0 -219
- package/lib/theme-chalk/src/dropdown.scss +0 -182
- package/lib/theme-chalk/src/empty.scss +0 -45
- package/lib/theme-chalk/src/footer.scss +0 -8
- package/lib/theme-chalk/src/form.scss +0 -167
- package/lib/theme-chalk/src/header.scss +0 -8
- package/lib/theme-chalk/src/icon.scss +0 -1167
- package/lib/theme-chalk/src/image.scss +0 -179
- package/lib/theme-chalk/src/index.scss +0 -90
- package/lib/theme-chalk/src/input-number.scss +0 -180
- package/lib/theme-chalk/src/input.scss +0 -360
- package/lib/theme-chalk/src/link.scss +0 -81
- package/lib/theme-chalk/src/loading.scss +0 -96
- package/lib/theme-chalk/src/main.scss +0 -12
- package/lib/theme-chalk/src/menu.scss +0 -289
- package/lib/theme-chalk/src/message-box.scss +0 -226
- package/lib/theme-chalk/src/message.scss +0 -120
- package/lib/theme-chalk/src/mixins/_button.scss +0 -81
- package/lib/theme-chalk/src/mixins/config.scss +0 -4
- package/lib/theme-chalk/src/mixins/function.scss +0 -44
- package/lib/theme-chalk/src/mixins/mixins.scss +0 -190
- package/lib/theme-chalk/src/mixins/utils.scss +0 -39
- package/lib/theme-chalk/src/notification.scss +0 -99
- package/lib/theme-chalk/src/option-group.scss +0 -42
- package/lib/theme-chalk/src/option.scss +0 -36
- package/lib/theme-chalk/src/page-header.scss +0 -41
- package/lib/theme-chalk/src/pagination.scss +0 -295
- package/lib/theme-chalk/src/popconfirm.scss +0 -16
- package/lib/theme-chalk/src/popover.scss +0 -40
- package/lib/theme-chalk/src/popper.scss +0 -101
- package/lib/theme-chalk/src/progress.scss +0 -141
- package/lib/theme-chalk/src/radio-button.scss +0 -113
- package/lib/theme-chalk/src/radio-group.scss +0 -9
- package/lib/theme-chalk/src/radio.scss +0 -199
- package/lib/theme-chalk/src/rate.scss +0 -49
- package/lib/theme-chalk/src/reset.scss +0 -79
- package/lib/theme-chalk/src/result.scss +0 -61
- package/lib/theme-chalk/src/row.scss +0 -43
- package/lib/theme-chalk/src/scrollbar.scss +0 -72
- package/lib/theme-chalk/src/select-dropdown.scss +0 -62
- package/lib/theme-chalk/src/select.scss +0 -152
- package/lib/theme-chalk/src/skeleton-item.scss +0 -84
- package/lib/theme-chalk/src/skeleton.scss +0 -40
- package/lib/theme-chalk/src/slider.scss +0 -250
- package/lib/theme-chalk/src/spinner.scss +0 -44
- package/lib/theme-chalk/src/statistic.scss +0 -38
- package/lib/theme-chalk/src/step.scss +0 -317
- package/lib/theme-chalk/src/steps.scss +0 -20
- package/lib/theme-chalk/src/switch.scss +0 -116
- package/lib/theme-chalk/src/table-column.scss +0 -97
- package/lib/theme-chalk/src/table.scss +0 -564
- package/lib/theme-chalk/src/tabs.scss +0 -602
- package/lib/theme-chalk/src/tag.scss +0 -163
- package/lib/theme-chalk/src/time-picker.scss +0 -8
- package/lib/theme-chalk/src/time-select.scss +0 -37
- package/lib/theme-chalk/src/timeline-item.scss +0 -86
- package/lib/theme-chalk/src/timeline.scss +0 -14
- package/lib/theme-chalk/src/tooltip.scss +0 -141
- package/lib/theme-chalk/src/transfer.scss +0 -227
- package/lib/theme-chalk/src/tree.scss +0 -123
- package/lib/theme-chalk/src/upload.scss +0 -603
- /package/lib/theme-chalk/{src/breadcrumb-item.scss → breadcrumb-item.css} +0 -0
- /package/lib/theme-chalk/{src/button-group.scss → button-group.css} +0 -0
- /package/lib/theme-chalk/{src/checkbox-button.scss → checkbox-button.css} +0 -0
- /package/lib/theme-chalk/{src/checkbox-group.scss → checkbox-group.css} +0 -0
- /package/lib/theme-chalk/{src/collapse-item.scss → collapse-item.css} +0 -0
- /package/lib/theme-chalk/{src/dropdown-item.scss → dropdown-item.css} +0 -0
- /package/lib/theme-chalk/{src/dropdown-menu.scss → dropdown-menu.css} +0 -0
- /package/lib/theme-chalk/{src/fonts → fonts}/element-icons.ttf +0 -0
- /package/lib/theme-chalk/{src/fonts → fonts}/element-icons.woff +0 -0
- /package/lib/theme-chalk/{src/form-item.scss → form-item.css} +0 -0
- /package/lib/theme-chalk/{src/infinite-scroll.scss → infinite-scroll.css} +0 -0
- /package/lib/theme-chalk/{src/infiniteScroll.scss → infiniteScroll.css} +0 -0
- /package/lib/theme-chalk/{src/menu-item-group.scss → menu-item-group.css} +0 -0
- /package/lib/theme-chalk/{src/menu-item.scss → menu-item.css} +0 -0
- /package/lib/theme-chalk/{src/submenu.scss → submenu.css} +0 -0
- /package/lib/theme-chalk/{src/tab-pane.scss → tab-pane.css} +0 -0
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
@import "mixins/mixins";
|
|
2
|
-
@import "common/var";
|
|
3
|
-
@import "button";
|
|
4
|
-
@import "button-group";
|
|
5
|
-
|
|
6
|
-
@include b(calendar) {
|
|
7
|
-
background-color:#fff;
|
|
8
|
-
|
|
9
|
-
@include e(header) {
|
|
10
|
-
display: flex;
|
|
11
|
-
justify-content: space-between;
|
|
12
|
-
padding: 12px 20px;
|
|
13
|
-
border-bottom: $--table-border;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
@include e(title) {
|
|
17
|
-
color: #000000;
|
|
18
|
-
align-self: center;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
@include e(body) {
|
|
22
|
-
padding: 12px 20px 35px;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
@include b(calendar-table) {
|
|
27
|
-
table-layout: fixed;
|
|
28
|
-
width: 100%;
|
|
29
|
-
|
|
30
|
-
thead th {
|
|
31
|
-
padding: 12px 0;
|
|
32
|
-
color: $--color-text-regular;
|
|
33
|
-
font-weight: normal;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
&:not(.is-range) {
|
|
37
|
-
td.prev,
|
|
38
|
-
td.next {
|
|
39
|
-
color: $--color-text-placeholder;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
td {
|
|
44
|
-
border-bottom: $--calendar-border;
|
|
45
|
-
border-right: $--calendar-border;
|
|
46
|
-
vertical-align: top;
|
|
47
|
-
transition: background-color 0.2s ease;
|
|
48
|
-
|
|
49
|
-
@include when(selected) {
|
|
50
|
-
background-color: $--calendar-selected-background-color;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
@include when(today) {
|
|
54
|
-
color: $--color-primary;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
tr:first-child td {
|
|
59
|
-
border-top: $--calendar-border;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
tr td:first-child {
|
|
63
|
-
border-left: $--calendar-border;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
tr.el-calendar-table__row--hide-border td {
|
|
67
|
-
border-top: none;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
@include b(calendar-day) {
|
|
71
|
-
box-sizing: border-box;
|
|
72
|
-
padding: 8px;
|
|
73
|
-
height: $--calendar-cell-width;
|
|
74
|
-
&:hover {
|
|
75
|
-
cursor: pointer;
|
|
76
|
-
background-color: $--calendar-selected-background-color;
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
@import "mixins/mixins";
|
|
2
|
-
@import "common/var";
|
|
3
|
-
|
|
4
|
-
@include b(card) {
|
|
5
|
-
border-radius: $--card-border-radius;
|
|
6
|
-
border: 1px solid $--card-border-color;
|
|
7
|
-
background-color: $--color-white;
|
|
8
|
-
overflow: hidden;
|
|
9
|
-
color: $--color-text-primary;
|
|
10
|
-
transition: 0.3s;
|
|
11
|
-
|
|
12
|
-
@include when(always-shadow) {
|
|
13
|
-
box-shadow: $--box-shadow-light;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
@include when(hover-shadow) {
|
|
17
|
-
&:hover,
|
|
18
|
-
&:focus {
|
|
19
|
-
box-shadow: $--box-shadow-light;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
@include e(header) {
|
|
24
|
-
padding: #{$--card-padding - 2 $--card-padding};
|
|
25
|
-
border-bottom: 1px solid $--card-border-color;
|
|
26
|
-
box-sizing: border-box;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
@include e(body) {
|
|
30
|
-
padding: $--card-padding;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
@import "mixins/mixins";
|
|
2
|
-
@import "common/var";
|
|
3
|
-
|
|
4
|
-
@include b(carousel) {
|
|
5
|
-
@include e(item) {
|
|
6
|
-
position: absolute;
|
|
7
|
-
top: 0;
|
|
8
|
-
left: 0;
|
|
9
|
-
width: 100%;
|
|
10
|
-
height: 100%;
|
|
11
|
-
display: inline-block;
|
|
12
|
-
overflow: hidden;
|
|
13
|
-
z-index: #{$--index-normal - 1};
|
|
14
|
-
|
|
15
|
-
@include when(active) {
|
|
16
|
-
z-index: #{$--index-normal + 1};
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
@include when(animating) {
|
|
20
|
-
transition: transform .4s ease-in-out;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
@include m(card) {
|
|
24
|
-
width: 50%;
|
|
25
|
-
transition: transform .4s ease-in-out;
|
|
26
|
-
&.is-in-stage {
|
|
27
|
-
cursor: pointer;
|
|
28
|
-
z-index: $--index-normal;
|
|
29
|
-
&:hover .el-carousel__mask,
|
|
30
|
-
&.is-hover .el-carousel__mask {
|
|
31
|
-
opacity: 0.12;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
&.is-active {
|
|
35
|
-
z-index: #{$--index-normal + 1};
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
@include e(mask) {
|
|
41
|
-
position: absolute;
|
|
42
|
-
width: 100%;
|
|
43
|
-
height: 100%;
|
|
44
|
-
top: 0;
|
|
45
|
-
left: 0;
|
|
46
|
-
background-color: $--color-white;
|
|
47
|
-
opacity: 0.24;
|
|
48
|
-
transition: .2s;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
@@ -1,161 +0,0 @@
|
|
|
1
|
-
@import "mixins/mixins";
|
|
2
|
-
@import "common/var";
|
|
3
|
-
|
|
4
|
-
@include b(carousel) {
|
|
5
|
-
position: relative;
|
|
6
|
-
|
|
7
|
-
@include m(horizontal) {
|
|
8
|
-
overflow-x: hidden;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
@include m(vertical) {
|
|
12
|
-
overflow-y: hidden;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
@include e(container) {
|
|
16
|
-
position: relative;
|
|
17
|
-
height: 300px;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
@include e(arrow) {
|
|
21
|
-
border: none;
|
|
22
|
-
outline: none;
|
|
23
|
-
padding: 0;
|
|
24
|
-
margin: 0;
|
|
25
|
-
height: $--carousel-arrow-size;
|
|
26
|
-
width: $--carousel-arrow-size;
|
|
27
|
-
cursor: pointer;
|
|
28
|
-
transition: .3s;
|
|
29
|
-
border-radius: 50%;
|
|
30
|
-
background-color: $--carousel-arrow-background;
|
|
31
|
-
color: $--color-white;
|
|
32
|
-
position: absolute;
|
|
33
|
-
top: 50%;
|
|
34
|
-
z-index: 10;
|
|
35
|
-
transform: translateY(-50%);
|
|
36
|
-
text-align: center;
|
|
37
|
-
font-size: $--carousel-arrow-font-size;
|
|
38
|
-
|
|
39
|
-
@include m(left) {
|
|
40
|
-
left: 16px;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
@include m(right) {
|
|
44
|
-
right: 16px;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
&:hover {
|
|
48
|
-
background-color: $--carousel-arrow-hover-background;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
& i {
|
|
52
|
-
cursor: pointer;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
@include e(indicators) {
|
|
57
|
-
position: absolute;
|
|
58
|
-
list-style: none;
|
|
59
|
-
margin: 0;
|
|
60
|
-
padding: 0;
|
|
61
|
-
z-index: #{$--index-normal + 1};
|
|
62
|
-
|
|
63
|
-
@include m(horizontal) {
|
|
64
|
-
bottom: 0;
|
|
65
|
-
left: 50%;
|
|
66
|
-
transform: translateX(-50%);
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
@include m(vertical) {
|
|
70
|
-
right: 0;
|
|
71
|
-
top: 50%;
|
|
72
|
-
transform: translateY(-50%);
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
@include m(outside) {
|
|
76
|
-
bottom: #{$--carousel-indicator-height + $--carousel-indicator-padding-vertical * 2};
|
|
77
|
-
text-align: center;
|
|
78
|
-
position: static;
|
|
79
|
-
transform: none;
|
|
80
|
-
.el-carousel__indicator:hover button {
|
|
81
|
-
opacity: 0.64;
|
|
82
|
-
}
|
|
83
|
-
button {
|
|
84
|
-
background-color: $--carousel-indicator-out-color;
|
|
85
|
-
opacity: 0.24;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
@include m(labels) {
|
|
90
|
-
left: 0;
|
|
91
|
-
right: 0;
|
|
92
|
-
transform: none;
|
|
93
|
-
text-align: center;
|
|
94
|
-
|
|
95
|
-
.el-carousel__button {
|
|
96
|
-
height: auto;
|
|
97
|
-
width: auto;
|
|
98
|
-
padding: 2px 18px;
|
|
99
|
-
font-size: 12px;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.el-carousel__indicator {
|
|
103
|
-
padding: 6px 4px;
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
@include e(indicator) {
|
|
109
|
-
background-color: transparent;
|
|
110
|
-
cursor: pointer;
|
|
111
|
-
|
|
112
|
-
&:hover button {
|
|
113
|
-
opacity: 0.72;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
@include m(horizontal) {
|
|
117
|
-
display: inline-block;
|
|
118
|
-
padding: $--carousel-indicator-padding-vertical $--carousel-indicator-padding-horizontal;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
@include m(vertical) {
|
|
122
|
-
padding: $--carousel-indicator-padding-horizontal $--carousel-indicator-padding-vertical;
|
|
123
|
-
.el-carousel__button {
|
|
124
|
-
width: $--carousel-indicator-height;
|
|
125
|
-
height: #{$--carousel-indicator-width / 2};
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
@include when(active) {
|
|
130
|
-
button {
|
|
131
|
-
opacity: 1;
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
@include e(button) {
|
|
137
|
-
display: block;
|
|
138
|
-
opacity: 0.48;
|
|
139
|
-
width: $--carousel-indicator-width;
|
|
140
|
-
height: $--carousel-indicator-height;
|
|
141
|
-
background-color: $--color-white;
|
|
142
|
-
border: none;
|
|
143
|
-
outline: none;
|
|
144
|
-
padding: 0;
|
|
145
|
-
margin: 0;
|
|
146
|
-
cursor: pointer;
|
|
147
|
-
transition: .3s;
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
.carousel-arrow-left-enter,
|
|
152
|
-
.carousel-arrow-left-leave-active {
|
|
153
|
-
transform: translateY(-50%) translateX(-10px);
|
|
154
|
-
opacity: 0;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
.carousel-arrow-right-enter,
|
|
158
|
-
.carousel-arrow-right-leave-active {
|
|
159
|
-
transform: translateY(-50%) translateX(10px);
|
|
160
|
-
opacity: 0;
|
|
161
|
-
}
|
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
@import "mixins/mixins";
|
|
2
|
-
@import "common/var";
|
|
3
|
-
@import "./checkbox";
|
|
4
|
-
@import "./radio";
|
|
5
|
-
@import "./scrollbar";
|
|
6
|
-
|
|
7
|
-
@include b(cascader-panel) {
|
|
8
|
-
display: flex;
|
|
9
|
-
border-radius: $--cascader-menu-radius;
|
|
10
|
-
font-size: $--cascader-menu-font-size;
|
|
11
|
-
|
|
12
|
-
@include when(bordered) {
|
|
13
|
-
border: $--cascader-menu-border;
|
|
14
|
-
border-radius: $--cascader-menu-radius;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
@include b(cascader-menu) {
|
|
19
|
-
min-width: 180px;
|
|
20
|
-
box-sizing: border-box;
|
|
21
|
-
color: $--cascader-menu-font-color;
|
|
22
|
-
border-right: $--cascader-menu-border;
|
|
23
|
-
|
|
24
|
-
&:last-child {
|
|
25
|
-
border-right: none;
|
|
26
|
-
.el-cascader-node {
|
|
27
|
-
padding-right: 20px;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
@include e(wrap) {
|
|
32
|
-
height: 204px;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
@include e(list) {
|
|
36
|
-
position: relative;
|
|
37
|
-
min-height: 100%;
|
|
38
|
-
margin: 0;
|
|
39
|
-
padding: 6px 0;
|
|
40
|
-
list-style: none;
|
|
41
|
-
box-sizing: border-box;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
@include e(hover-zone) {
|
|
45
|
-
position: absolute;
|
|
46
|
-
top: 0;
|
|
47
|
-
left: 0;
|
|
48
|
-
width: 100%;
|
|
49
|
-
height: 100%;
|
|
50
|
-
pointer-events: none;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
@include e(empty-text) {
|
|
54
|
-
position: absolute;
|
|
55
|
-
top: 50%;
|
|
56
|
-
left: 50%;
|
|
57
|
-
transform: translate(-50%, -50%);
|
|
58
|
-
text-align: center;
|
|
59
|
-
color: $--cascader-color-empty;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
@include b(cascader-node) {
|
|
64
|
-
position: relative;
|
|
65
|
-
display: flex;
|
|
66
|
-
align-items: center;
|
|
67
|
-
padding: 0 30px 0 20px;
|
|
68
|
-
height: 34px;
|
|
69
|
-
line-height: 34px;
|
|
70
|
-
outline: none;
|
|
71
|
-
|
|
72
|
-
&.is-selectable.in-active-path {
|
|
73
|
-
color: $--cascader-menu-font-color;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
&.in-active-path,
|
|
77
|
-
&.is-selectable.in-checked-path,
|
|
78
|
-
&.is-active {
|
|
79
|
-
color: $--cascader-menu-selected-font-color;
|
|
80
|
-
font-weight: bold;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
&:not(.is-disabled) {
|
|
84
|
-
cursor: pointer;
|
|
85
|
-
&:hover, &:focus {
|
|
86
|
-
background: $--cascader-node-background-hover;
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
@include when(disabled) {
|
|
91
|
-
color: $--cascader-node-color-disabled;
|
|
92
|
-
cursor: not-allowed;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
@include e(prefix) {
|
|
96
|
-
position: absolute;
|
|
97
|
-
left: 10px;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
@include e(postfix) {
|
|
101
|
-
position: absolute;
|
|
102
|
-
right: 10px;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
@include e(label) {
|
|
106
|
-
flex: 1;
|
|
107
|
-
padding: 0 10px;
|
|
108
|
-
white-space: nowrap;
|
|
109
|
-
overflow: hidden;
|
|
110
|
-
text-overflow: ellipsis;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
> .el-radio {
|
|
114
|
-
margin-right: 0;
|
|
115
|
-
|
|
116
|
-
.el-radio__label {
|
|
117
|
-
padding-left: 0;
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
}
|
|
@@ -1,182 +0,0 @@
|
|
|
1
|
-
@import "mixins/mixins";
|
|
2
|
-
@import "common/var";
|
|
3
|
-
@import "./input";
|
|
4
|
-
@import "./popper";
|
|
5
|
-
@import "./tag";
|
|
6
|
-
@import "./cascader-panel";
|
|
7
|
-
|
|
8
|
-
@include b(cascader) {
|
|
9
|
-
display: inline-block;
|
|
10
|
-
position: relative;
|
|
11
|
-
font-size: $--font-size-base;
|
|
12
|
-
line-height: $--input-height;
|
|
13
|
-
|
|
14
|
-
&:not(.is-disabled):hover {
|
|
15
|
-
.el-input__inner {
|
|
16
|
-
cursor: pointer;
|
|
17
|
-
border-color: $--input-hover-border;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.el-input {
|
|
22
|
-
cursor: pointer;
|
|
23
|
-
|
|
24
|
-
.el-input__inner {
|
|
25
|
-
text-overflow: ellipsis;
|
|
26
|
-
|
|
27
|
-
&:focus {
|
|
28
|
-
border-color: $--input-focus-border;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.el-icon-arrow-down {
|
|
33
|
-
transition: transform .3s;
|
|
34
|
-
font-size: 14px;
|
|
35
|
-
|
|
36
|
-
@include when(reverse) {
|
|
37
|
-
transform: rotateZ(180deg);
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.el-icon-circle-close:hover {
|
|
42
|
-
color: $--input-clear-hover-color;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
@include when(focus) {
|
|
46
|
-
.el-input__inner {
|
|
47
|
-
border-color: $--input-focus-border;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
@include m(medium) {
|
|
53
|
-
font-size: $--input-medium-font-size;
|
|
54
|
-
line-height: $--input-medium-height;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
@include m(small) {
|
|
58
|
-
font-size: $--input-small-font-size;
|
|
59
|
-
line-height: $--input-small-height;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
@include m(mini) {
|
|
63
|
-
font-size: $--input-mini-font-size;
|
|
64
|
-
line-height: $--input-mini-height;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
@include when(disabled) {
|
|
68
|
-
.el-cascader__label {
|
|
69
|
-
z-index: #{$--index-normal + 1};
|
|
70
|
-
color: $--disabled-color-base;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
@include e(dropdown) {
|
|
75
|
-
margin: 5px 0;
|
|
76
|
-
font-size: $--cascader-menu-font-size;
|
|
77
|
-
background: $--cascader-menu-fill;
|
|
78
|
-
border: $--cascader-menu-border;
|
|
79
|
-
border-radius: $--cascader-menu-radius;
|
|
80
|
-
box-shadow: $--cascader-menu-shadow;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
@include e(tags) {
|
|
84
|
-
position: absolute;
|
|
85
|
-
left: 0;
|
|
86
|
-
right: 30px;
|
|
87
|
-
top: 50%;
|
|
88
|
-
transform: translateY(-50%);
|
|
89
|
-
display: flex;
|
|
90
|
-
flex-wrap: wrap;
|
|
91
|
-
line-height: normal;
|
|
92
|
-
text-align: left;
|
|
93
|
-
box-sizing: border-box;
|
|
94
|
-
|
|
95
|
-
.el-tag {
|
|
96
|
-
display: inline-flex;
|
|
97
|
-
align-items: center;
|
|
98
|
-
max-width: 100%;
|
|
99
|
-
margin: 2px 0 2px 6px;
|
|
100
|
-
text-overflow: ellipsis;
|
|
101
|
-
background: $--cascader-tag-background;
|
|
102
|
-
|
|
103
|
-
&:not(.is-hit) {
|
|
104
|
-
border-color: transparent;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
> span {
|
|
108
|
-
flex: 1;
|
|
109
|
-
overflow: hidden;
|
|
110
|
-
text-overflow: ellipsis;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
.el-icon-close {
|
|
114
|
-
flex: none;
|
|
115
|
-
background-color: $--color-text-placeholder;
|
|
116
|
-
color: $--color-white;
|
|
117
|
-
|
|
118
|
-
&:hover {
|
|
119
|
-
background-color: $--color-text-secondary;
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
@include e(suggestion-panel) {
|
|
126
|
-
border-radius: $--cascader-menu-radius;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
@include e(suggestion-list) {
|
|
130
|
-
max-height: 204px;
|
|
131
|
-
margin: 0;
|
|
132
|
-
padding: 6px 0;
|
|
133
|
-
font-size: $--font-size-base;
|
|
134
|
-
color: $--cascader-menu-font-color;
|
|
135
|
-
text-align: center;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
@include e(suggestion-item) {
|
|
139
|
-
display: flex;
|
|
140
|
-
justify-content: space-between;
|
|
141
|
-
align-items: center;
|
|
142
|
-
height: 34px;
|
|
143
|
-
padding: 0 15px;
|
|
144
|
-
text-align: left;
|
|
145
|
-
outline: none;
|
|
146
|
-
cursor: pointer;
|
|
147
|
-
|
|
148
|
-
&:hover, &:focus {
|
|
149
|
-
background: $--cascader-node-background-hover;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
&.is-checked {
|
|
153
|
-
color: $--cascader-menu-selected-font-color;
|
|
154
|
-
font-weight: bold;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
> span {
|
|
158
|
-
margin-right: 10px;
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
@include e(empty-text) {
|
|
163
|
-
margin: 10px 0;
|
|
164
|
-
color: $--cascader-color-empty;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
@include e(search-input) {
|
|
168
|
-
flex: 1;
|
|
169
|
-
height: 24px;
|
|
170
|
-
min-width: 60px;
|
|
171
|
-
margin: 2px 0 2px 15px;
|
|
172
|
-
padding: 0;
|
|
173
|
-
color: $--cascader-menu-font-color;
|
|
174
|
-
border: none;
|
|
175
|
-
outline: none;
|
|
176
|
-
box-sizing: border-box;
|
|
177
|
-
|
|
178
|
-
&::placeholder {
|
|
179
|
-
color: $--color-text-placeholder;
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
}
|