cy-element-ui 1.0.47 → 1.0.49
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 +108 -108
- package/lib/aside.js +77 -77
- package/lib/autocomplete.js +5199 -360
- package/lib/avatar.js +4 -4
- package/lib/backtop.js +192 -101
- package/lib/badge.js +108 -108
- package/lib/breadcrumb-item.js +108 -108
- package/lib/breadcrumb.js +94 -94
- package/lib/button-group.js +4 -4
- package/lib/button.js +4 -4
- package/lib/calendar.js +1734 -137
- package/lib/card.js +96 -96
- package/lib/carousel-item.js +452 -108
- package/lib/carousel.js +1256 -105
- package/lib/cascader-panel.js +3524 -191
- package/lib/cascader.js +8077 -717
- package/lib/checkbox-button.js +151 -119
- package/lib/checkbox-group.js +47 -15
- package/lib/checkbox.js +47 -15
- package/lib/col.js +2 -2
- package/lib/collapse-item.js +815 -110
- package/lib/collapse.js +108 -108
- package/lib/color-picker.js +4705 -828
- package/lib/container.js +88 -88
- package/lib/date-picker.js +10735 -4739
- package/lib/descriptions-item.js +2 -2
- package/lib/descriptions.js +63 -8
- package/lib/dialog.js +1200 -22
- package/lib/divider.js +104 -104
- package/lib/drawer.js +875 -105
- package/lib/dropdown-item.js +128 -96
- package/lib/dropdown-menu.js +2301 -99
- package/lib/dropdown.js +990 -54
- package/lib/element-ui.common.js +31058 -13663
- package/lib/empty.js +793 -99
- package/lib/fileUpload.js +2542 -26
- package/lib/footer.js +77 -77
- package/lib/form-item.js +3305 -202
- package/lib/form.js +129 -115
- package/lib/header.js +77 -77
- package/lib/icon.js +67 -67
- package/lib/image.js +1662 -146
- package/lib/index.js +1 -1
- package/lib/infinite-scroll.js +435 -26
- package/lib/input-number.js +1421 -32
- package/lib/input.js +509 -37
- package/lib/link.js +4 -4
- package/lib/loading.js +886 -149
- package/lib/main.js +64 -64
- package/lib/menu-item-group.js +103 -103
- package/lib/menu-item.js +3140 -137
- package/lib/menu.js +959 -268
- package/lib/message-box.js +2743 -188
- package/lib/message.js +1196 -118
- package/lib/notification.js +1196 -119
- package/lib/option-group.js +151 -119
- package/lib/option.js +392 -16
- package/lib/page-header.js +781 -87
- package/lib/pagination.js +7747 -646
- package/lib/popconfirm.js +3606 -219
- package/lib/popover.js +2604 -79
- package/lib/progress.js +4 -4
- package/lib/radio-button.js +151 -119
- package/lib/radio-group.js +151 -119
- package/lib/radio.js +47 -15
- package/lib/rate.js +756 -113
- package/lib/result.js +108 -108
- package/lib/row.js +2 -2
- package/lib/scrollbar.js +1813 -41
- package/lib/select.js +5547 -209
- package/lib/selectDisplayInput.js +4 -4
- package/lib/skeleton-item.js +108 -108
- package/lib/skeleton.js +108 -108
- package/lib/slider.js +4768 -530
- package/lib/spinner.js +100 -100
- package/lib/statistic.js +9600 -112
- package/lib/step.js +108 -108
- package/lib/steps.js +514 -99
- package/lib/subTitle.js +91 -91
- package/lib/submenu.js +2397 -76
- package/lib/switch.js +582 -127
- package/lib/tab-pane.js +108 -108
- package/lib/tabDialog.js +1630 -104
- package/lib/table-column.js +1115 -267
- package/lib/table.js +7067 -1253
- package/lib/tabs.js +1615 -113
- 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 +6481 -589
- package/lib/time-select.js +6334 -407
- package/lib/timeline-item.js +108 -108
- package/lib/timeline.js +4 -4
- package/lib/tooltip.js +2688 -44
- package/lib/transfer.js +2238 -146
- package/lib/tree.js +1563 -148
- package/lib/treeSelect.js +3421 -106
- package/lib/upload.js +1198 -31
- 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,97 @@
|
|
|
1
|
+
@import "../common/var";
|
|
2
|
+
@import "../mixins/mixins";
|
|
3
|
+
@import "./picker-panel.scss";
|
|
4
|
+
|
|
5
|
+
@include b(date-picker) {
|
|
6
|
+
width: 322px;
|
|
7
|
+
|
|
8
|
+
&.has-sidebar.has-time {
|
|
9
|
+
width: 434px;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
&.has-sidebar {
|
|
13
|
+
width: 438px;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
&.has-time .el-picker-panel__body-wrapper {
|
|
17
|
+
position: relative;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.el-picker-panel__content {
|
|
21
|
+
width: 292px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
table {
|
|
25
|
+
table-layout: fixed;
|
|
26
|
+
width: 100%;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
@include e(editor-wrap) {
|
|
30
|
+
position: relative;
|
|
31
|
+
display: table-cell;
|
|
32
|
+
padding: 0 5px;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
@include e(time-header) {
|
|
36
|
+
position: relative;
|
|
37
|
+
border-bottom: 1px solid $--datepicker-inner-border-color;
|
|
38
|
+
font-size: 12px;
|
|
39
|
+
padding: 8px 5px 5px 5px;
|
|
40
|
+
display: table;
|
|
41
|
+
width: 100%;
|
|
42
|
+
box-sizing: border-box;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
@include e(header) {
|
|
46
|
+
margin: 12px;
|
|
47
|
+
text-align: center;
|
|
48
|
+
|
|
49
|
+
@include m(bordered) {
|
|
50
|
+
margin-bottom: 0;
|
|
51
|
+
padding-bottom: 12px;
|
|
52
|
+
border-bottom: solid 1px $--border-color-lighter;
|
|
53
|
+
|
|
54
|
+
& + .el-picker-panel__content {
|
|
55
|
+
margin-top: 0;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
@include e(header-label) {
|
|
61
|
+
font-size: 16px;
|
|
62
|
+
font-weight: 500;
|
|
63
|
+
padding: 0 5px;
|
|
64
|
+
line-height: 22px;
|
|
65
|
+
text-align: center;
|
|
66
|
+
cursor: pointer;
|
|
67
|
+
color: $--color-text-regular;
|
|
68
|
+
|
|
69
|
+
&:hover {
|
|
70
|
+
color: $--datepicker-hover-font-color;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
&.active {
|
|
74
|
+
color: $--datepicker-active-color;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
@include e(prev-btn) {
|
|
79
|
+
float: left;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
@include e(next-btn) {
|
|
83
|
+
float: right;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
@include e(time-wrap) {
|
|
87
|
+
padding: 10px;
|
|
88
|
+
text-align: center;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
@include e(time-label) {
|
|
92
|
+
float: left;
|
|
93
|
+
cursor: pointer;
|
|
94
|
+
line-height: 30px;
|
|
95
|
+
margin-left: 10px;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
@import "../common/var";
|
|
2
|
+
|
|
3
|
+
@include b(date-range-picker) {
|
|
4
|
+
width: 646px;
|
|
5
|
+
|
|
6
|
+
&.has-sidebar {
|
|
7
|
+
width: 756px;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
table {
|
|
11
|
+
table-layout: fixed;
|
|
12
|
+
width: 100%;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.el-picker-panel__body {
|
|
16
|
+
min-width: 513px;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.el-picker-panel__content {
|
|
20
|
+
margin: 0;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
@include e(header) {
|
|
24
|
+
position: relative;
|
|
25
|
+
text-align: center;
|
|
26
|
+
height: 28px;
|
|
27
|
+
|
|
28
|
+
[class*=arrow-left] {
|
|
29
|
+
float: left;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
[class*=arrow-right] {
|
|
33
|
+
float: right;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
div {
|
|
37
|
+
font-size: 16px;
|
|
38
|
+
font-weight: 500;
|
|
39
|
+
margin-right: 50px;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
@include e(content) {
|
|
44
|
+
float: left;
|
|
45
|
+
width: 50%;
|
|
46
|
+
box-sizing: border-box;
|
|
47
|
+
margin: 0;
|
|
48
|
+
padding: 16px;
|
|
49
|
+
|
|
50
|
+
@include when(left) {
|
|
51
|
+
border-right: 1px solid $--datepicker-inner-border-color;
|
|
52
|
+
}
|
|
53
|
+
.el-date-range-picker__header {
|
|
54
|
+
|
|
55
|
+
div {
|
|
56
|
+
margin-left: 50px;
|
|
57
|
+
margin-right: 50px;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
@include e(editors-wrap) {
|
|
63
|
+
box-sizing: border-box;
|
|
64
|
+
display: table-cell;
|
|
65
|
+
|
|
66
|
+
@include when(right) {
|
|
67
|
+
text-align: right;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
@include e(time-header) {
|
|
72
|
+
position: relative;
|
|
73
|
+
border-bottom: 1px solid $--datepicker-inner-border-color;
|
|
74
|
+
font-size: 12px;
|
|
75
|
+
padding: 8px 5px 5px 5px;
|
|
76
|
+
display: table;
|
|
77
|
+
width: 100%;
|
|
78
|
+
box-sizing: border-box;
|
|
79
|
+
|
|
80
|
+
> .el-icon-arrow-right {
|
|
81
|
+
font-size: 20px;
|
|
82
|
+
vertical-align: middle;
|
|
83
|
+
display: table-cell;
|
|
84
|
+
color: $--datepicker-icon-color;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
@include e(time-picker-wrap) {
|
|
89
|
+
position: relative;
|
|
90
|
+
display: table-cell;
|
|
91
|
+
padding: 0 5px;
|
|
92
|
+
|
|
93
|
+
.el-picker-panel {
|
|
94
|
+
position: absolute;
|
|
95
|
+
top: 13px;
|
|
96
|
+
right: 0;
|
|
97
|
+
z-index: 1;
|
|
98
|
+
background: $--color-white;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
@import "../common/var";
|
|
2
|
+
@import "../mixins/mixins";
|
|
3
|
+
|
|
4
|
+
@include b(date-table) {
|
|
5
|
+
font-size: 12px;
|
|
6
|
+
user-select: none;
|
|
7
|
+
|
|
8
|
+
@include when(week-mode) {
|
|
9
|
+
.el-date-table__row {
|
|
10
|
+
&:hover {
|
|
11
|
+
div {
|
|
12
|
+
background-color: $--datepicker-inrange-background-color;
|
|
13
|
+
}
|
|
14
|
+
td.available:hover {
|
|
15
|
+
color: $--datepicker-font-color;
|
|
16
|
+
}
|
|
17
|
+
td:first-child div {
|
|
18
|
+
margin-left: 5px;
|
|
19
|
+
border-top-left-radius: 15px;
|
|
20
|
+
border-bottom-left-radius: 15px;
|
|
21
|
+
}
|
|
22
|
+
td:last-child div {
|
|
23
|
+
margin-right: 5px;
|
|
24
|
+
border-top-right-radius: 15px;
|
|
25
|
+
border-bottom-right-radius: 15px;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&.current div {
|
|
30
|
+
background-color: $--datepicker-inrange-background-color;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
td {
|
|
36
|
+
width: 32px;
|
|
37
|
+
height: 30px;
|
|
38
|
+
padding: 4px 0;
|
|
39
|
+
box-sizing: border-box;
|
|
40
|
+
text-align: center;
|
|
41
|
+
cursor: pointer;
|
|
42
|
+
position: relative;
|
|
43
|
+
|
|
44
|
+
& div {
|
|
45
|
+
height: 30px;
|
|
46
|
+
padding: 3px 0;
|
|
47
|
+
box-sizing: border-box;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
& span {
|
|
51
|
+
width: 24px;
|
|
52
|
+
height: 24px;
|
|
53
|
+
display: block;
|
|
54
|
+
margin: 0 auto;
|
|
55
|
+
line-height: 24px;
|
|
56
|
+
position: absolute;
|
|
57
|
+
left: 50%;
|
|
58
|
+
transform: translateX(-50%);
|
|
59
|
+
border-radius: 50%;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
&.next-month,
|
|
63
|
+
&.prev-month {
|
|
64
|
+
color: $--datepicker-off-font-color;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&.today {
|
|
68
|
+
position: relative;
|
|
69
|
+
span {
|
|
70
|
+
color: $--color-primary;
|
|
71
|
+
font-weight: bold;
|
|
72
|
+
}
|
|
73
|
+
&.start-date span,
|
|
74
|
+
&.end-date span {
|
|
75
|
+
color: $--color-white;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
&.available:hover {
|
|
80
|
+
color: $--datepicker-hover-font-color;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
&.in-range div {
|
|
84
|
+
background-color: $--datepicker-inrange-background-color;
|
|
85
|
+
&:hover {
|
|
86
|
+
background-color: $--datepicker-inrange-hover-background-color;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
&.current:not(.disabled) span {
|
|
91
|
+
color: $--color-white;
|
|
92
|
+
background-color: $--datepicker-active-color;
|
|
93
|
+
}
|
|
94
|
+
&.start-date div,
|
|
95
|
+
&.end-date div {
|
|
96
|
+
color: $--color-white;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
&.start-date span,
|
|
100
|
+
&.end-date span {
|
|
101
|
+
background-color: $--datepicker-active-color;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
&.start-date div {
|
|
105
|
+
margin-left: 5px;
|
|
106
|
+
border-top-left-radius: 15px;
|
|
107
|
+
border-bottom-left-radius: 15px;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
&.end-date div {
|
|
111
|
+
margin-right: 5px;
|
|
112
|
+
border-top-right-radius: 15px;
|
|
113
|
+
border-bottom-right-radius: 15px;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
&.disabled div {
|
|
117
|
+
background-color: $--background-color-base;
|
|
118
|
+
opacity: 1;
|
|
119
|
+
cursor: not-allowed;
|
|
120
|
+
color: $--color-text-placeholder;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
&.selected div {
|
|
124
|
+
margin-left: 5px;
|
|
125
|
+
margin-right: 5px;
|
|
126
|
+
background-color: $--datepicker-inrange-background-color;
|
|
127
|
+
border-radius: 15px;
|
|
128
|
+
&:hover {
|
|
129
|
+
background-color: $--datepicker-inrange-hover-background-color;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
&.selected span {
|
|
134
|
+
background-color: $--datepicker-active-color;
|
|
135
|
+
color: $--color-white;
|
|
136
|
+
border-radius: 15px;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
&.week {
|
|
140
|
+
font-size: 80%;
|
|
141
|
+
color: $--datepicker-header-font-color;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
th {
|
|
146
|
+
padding: 5px;
|
|
147
|
+
color: $--datepicker-header-font-color;
|
|
148
|
+
font-weight: 400;
|
|
149
|
+
border-bottom: solid 1px $--border-color-lighter;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
@import "../common/var";
|
|
2
|
+
|
|
3
|
+
@include b(month-table) {
|
|
4
|
+
font-size: 12px;
|
|
5
|
+
margin: -1px;
|
|
6
|
+
border-collapse: collapse;
|
|
7
|
+
|
|
8
|
+
td {
|
|
9
|
+
text-align: center;
|
|
10
|
+
padding: 8px 0px;
|
|
11
|
+
cursor: pointer;
|
|
12
|
+
& div {
|
|
13
|
+
height: 48px;
|
|
14
|
+
padding: 6px 0;
|
|
15
|
+
box-sizing: border-box;
|
|
16
|
+
}
|
|
17
|
+
&.today {
|
|
18
|
+
.cell {
|
|
19
|
+
color: $--color-primary;
|
|
20
|
+
font-weight: bold;
|
|
21
|
+
}
|
|
22
|
+
&.start-date .cell,
|
|
23
|
+
&.end-date .cell {
|
|
24
|
+
color: $--color-white;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&.disabled .cell {
|
|
29
|
+
background-color: $--background-color-base;
|
|
30
|
+
cursor: not-allowed;
|
|
31
|
+
color: $--color-text-placeholder;
|
|
32
|
+
|
|
33
|
+
&:hover {
|
|
34
|
+
color: $--color-text-placeholder;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.cell {
|
|
39
|
+
width: 60px;
|
|
40
|
+
height: 36px;
|
|
41
|
+
display: block;
|
|
42
|
+
line-height: 36px;
|
|
43
|
+
color: $--datepicker-font-color;
|
|
44
|
+
margin: 0 auto;
|
|
45
|
+
border-radius: 18px;
|
|
46
|
+
&:hover {
|
|
47
|
+
color: $--datepicker-hover-font-color;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&.in-range div {
|
|
52
|
+
background-color: $--datepicker-inrange-background-color;
|
|
53
|
+
&:hover {
|
|
54
|
+
background-color: $--datepicker-inrange-hover-background-color;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
&.start-date div,
|
|
58
|
+
&.end-date div {
|
|
59
|
+
color: $--color-white;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
&.start-date .cell,
|
|
63
|
+
&.end-date .cell {
|
|
64
|
+
color: $--color-white;
|
|
65
|
+
background-color: $--datepicker-active-color;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
&.start-date div {
|
|
69
|
+
border-top-left-radius: 24px;
|
|
70
|
+
border-bottom-left-radius: 24px;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
&.end-date div {
|
|
74
|
+
border-top-right-radius: 24px;
|
|
75
|
+
border-bottom-right-radius: 24px;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
&.current:not(.disabled) .cell {
|
|
79
|
+
color: $--datepicker-active-color;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
@import "../common/var";
|
|
2
|
+
|
|
3
|
+
@include b(picker-panel) {
|
|
4
|
+
color: $--color-text-regular;
|
|
5
|
+
border: 1px solid $--datepicker-border-color;
|
|
6
|
+
box-shadow: $--box-shadow-light;
|
|
7
|
+
background: $--color-white;
|
|
8
|
+
border-radius: $--border-radius-base;
|
|
9
|
+
line-height: 30px;
|
|
10
|
+
margin: 5px 0;
|
|
11
|
+
|
|
12
|
+
@include e((body, body-wrapper)) {
|
|
13
|
+
&::after {
|
|
14
|
+
content: "";
|
|
15
|
+
display: table;
|
|
16
|
+
clear: both;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@include e(content) {
|
|
21
|
+
position: relative;
|
|
22
|
+
margin: 15px;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@include e(footer) {
|
|
26
|
+
border-top: 1px solid $--datepicker-inner-border-color;
|
|
27
|
+
padding: 4px;
|
|
28
|
+
text-align: right;
|
|
29
|
+
background-color: $--color-white;
|
|
30
|
+
position: relative;
|
|
31
|
+
font-size: 0;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
@include e(shortcut) {
|
|
35
|
+
display: block;
|
|
36
|
+
width: 100%;
|
|
37
|
+
border: 0;
|
|
38
|
+
background-color: transparent;
|
|
39
|
+
line-height: 28px;
|
|
40
|
+
font-size: 14px;
|
|
41
|
+
color: $--datepicker-font-color;
|
|
42
|
+
padding-left: 12px;
|
|
43
|
+
text-align: left;
|
|
44
|
+
outline: none;
|
|
45
|
+
cursor: pointer;
|
|
46
|
+
|
|
47
|
+
&:hover {
|
|
48
|
+
color: $--datepicker-hover-font-color;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&.active {
|
|
52
|
+
background-color: #e6f1fe;
|
|
53
|
+
color: $--datepicker-active-color;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
@include e(btn) {
|
|
58
|
+
border: 1px solid #dcdcdc;
|
|
59
|
+
color: #333;
|
|
60
|
+
line-height: 24px;
|
|
61
|
+
border-radius: 2px;
|
|
62
|
+
padding: 0 20px;
|
|
63
|
+
cursor: pointer;
|
|
64
|
+
background-color: transparent;
|
|
65
|
+
outline: none;
|
|
66
|
+
font-size: 12px;
|
|
67
|
+
|
|
68
|
+
&[disabled] {
|
|
69
|
+
color: #cccccc;
|
|
70
|
+
cursor: not-allowed;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
@include e(icon-btn) {
|
|
75
|
+
font-size: 12px;
|
|
76
|
+
color: $--datepicker-icon-color;
|
|
77
|
+
border: 0;
|
|
78
|
+
background: transparent;
|
|
79
|
+
cursor: pointer;
|
|
80
|
+
outline: none;
|
|
81
|
+
margin-top: 8px;
|
|
82
|
+
|
|
83
|
+
&:hover {
|
|
84
|
+
color: $--datepicker-hover-font-color;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
@include when(disabled) {
|
|
88
|
+
color: $--font-color-disabled-base;
|
|
89
|
+
|
|
90
|
+
&:hover {
|
|
91
|
+
cursor: not-allowed;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
@include e(link-btn) {
|
|
97
|
+
vertical-align: middle;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.el-picker-panel *[slot=sidebar],
|
|
102
|
+
.el-picker-panel__sidebar {
|
|
103
|
+
position: absolute;
|
|
104
|
+
top: 0;
|
|
105
|
+
bottom: 0;
|
|
106
|
+
width: 110px;
|
|
107
|
+
border-right: 1px solid $--datepicker-inner-border-color;
|
|
108
|
+
box-sizing: border-box;
|
|
109
|
+
padding-top: 6px;
|
|
110
|
+
background-color: $--color-white;
|
|
111
|
+
overflow: auto;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.el-picker-panel *[slot=sidebar] + .el-picker-panel__body,
|
|
115
|
+
.el-picker-panel__sidebar + .el-picker-panel__body {
|
|
116
|
+
margin-left: 110px;
|
|
117
|
+
}
|