@mdsfe/mds-ui 0.4.0-rc.7 → 0.4.0-rc.9
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/dist/affix.js +1 -1
- package/dist/alert.js +1 -1
- package/dist/anchor.js +1 -1
- package/dist/avatar.js +1 -1
- package/dist/backtop.js +1 -1
- package/dist/badge.js +3 -3
- package/dist/bordershadow.js +3 -3
- package/dist/breadcrumb.js +1 -1
- package/dist/button.js +1 -1
- package/dist/card.js +1 -1
- package/dist/carousel.js +3 -3
- package/dist/cascader.js +5 -5
- package/dist/cascaderpanel.js +17 -17
- package/dist/checkbox.js +1 -1
- package/dist/col.js +1 -1
- package/dist/collapse.js +3 -3
- package/dist/color.js +1 -1
- package/dist/datepicker.js +1 -1
- package/dist/divider.js +3 -3
- package/dist/drawer.js +5 -5
- package/dist/dropdown.js +1 -1
- package/dist/empty.js +3 -3
- package/dist/font/full-star.b5fdf00.png +0 -0
- package/dist/font/half-star.2625512.png +0 -0
- package/dist/font/zero-star.177c19c.png +0 -0
- package/dist/font.js +1 -1
- package/dist/form.js +3 -3
- package/dist/icon.js +14 -5
- package/dist/index.js +5 -5
- package/dist/input.js +3 -3
- package/dist/inputnumber.js +3 -3
- package/dist/layout.js +3 -3
- package/dist/list.js +3 -3
- package/dist/loading.js +3 -3
- package/dist/mds-ui.min.css +1 -1
- package/dist/mds-ui.min.js +139 -127
- package/dist/menu.js +5 -5
- package/dist/message.js +3 -3
- package/dist/modal.js +3 -3
- package/dist/notification.js +9 -9
- package/dist/pagination.js +5 -5
- package/dist/popconfirm.js +3 -3
- package/dist/popover.js +3 -3
- package/dist/progress.js +3 -3
- package/dist/radio.js +3 -3
- package/dist/rate.js +3 -3
- package/dist/row.js +1 -1
- package/dist/select.js +8 -8
- package/dist/slider.js +3 -3
- package/dist/slottable.js +8 -8
- package/dist/steps.js +3 -3
- package/dist/style/affix.css +10 -1
- package/dist/style/alert.css +138 -1
- package/dist/style/anchor.css +58 -1
- package/dist/style/avatar.css +73 -1
- package/dist/style/backtop.css +34 -1
- package/dist/style/badge.css +141 -1
- package/dist/style/bordershadow.css +42 -1
- package/dist/style/breadcrumb.css +37 -1
- package/dist/style/button.css +2172 -1
- package/dist/style/card.css +156 -1
- package/dist/style/carousel.css +217 -1
- package/dist/style/cascader.css +214 -1
- package/dist/style/cascaderpanel.css +122 -1
- package/dist/style/checkbox.css +186 -1
- package/dist/style/col.css +2607 -1
- package/dist/style/collapse.css +79 -1
- package/dist/style/color.css +622 -1
- package/dist/style/datepicker.css +542 -1
- package/dist/style/divider.css +47 -1
- package/dist/style/drawer.css +254 -1
- package/dist/style/dropdown.css +274 -1
- package/dist/style/empty.css +49 -1
- package/dist/style/font.css +45 -1
- package/dist/style/form.css +148 -1
- package/dist/style/icon.css +5625 -1
- package/dist/style/index.css +1 -1
- package/dist/style/input.css +760 -1
- package/dist/style/inputnumber.css +314 -1
- package/dist/style/layout.css +58 -1
- package/dist/style/list.css +141 -1
- package/dist/style/loading.css +2329 -1
- package/dist/style/menu.css +658 -1
- package/dist/style/message.css +191 -1
- package/dist/style/modal.css +123 -1
- package/dist/style/notification.css +192 -1
- package/dist/style/pagination.css +1190 -1
- package/dist/style/popconfirm.css +65 -1
- package/dist/style/popover.css +138 -1
- package/dist/style/progress.css +179 -1
- package/dist/style/radio.css +255 -1
- package/dist/style/rate.css +81 -1
- package/dist/style/row.css +2607 -1
- package/dist/style/select.css +221 -1
- package/dist/style/slider.css +80 -1
- package/dist/style/slottable.css +296 -1
- package/dist/style/steps.css +586 -1
- package/dist/style/switch.css +110 -1
- package/dist/style/table.css +2778 -1
- package/dist/style/tabs.css +518 -1
- package/dist/style/tag.css +421 -1
- package/dist/style/text.css +122 -1
- package/dist/style/timeline.css +88 -1
- package/dist/style/timepicker.css +393 -1
- package/dist/style/tooltip.css +161 -1
- package/dist/style/transfer.css +206 -1
- package/dist/style/transition.css +1413 -1
- package/dist/style/tree.css +84 -1
- package/dist/style/typography.css +126 -1
- package/dist/style/upload.css +320 -1
- package/dist/switch.js +3 -3
- package/dist/table.js +10 -10
- package/dist/tabs.js +3 -3
- package/dist/tag.js +3 -3
- package/dist/text.js +3 -3
- package/dist/timeline.js +3 -3
- package/dist/timepicker.js +3 -3
- package/dist/tooltip.js +3 -3
- package/dist/transfer.js +7 -7
- package/dist/transition.js +3 -3
- package/dist/tree.js +3 -3
- package/dist/typography.js +3 -3
- package/dist/upload.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1,542 @@
|
|
|
1
|
-
.mds-date-zoom-in-top-enter-active
|
|
1
|
+
.mds-date-zoom-in-top-enter-active,
|
|
2
|
+
.mds-date-zoom-in-top-leave-active {
|
|
3
|
+
opacity: 1;
|
|
4
|
+
transform: scaleY(1);
|
|
5
|
+
transition: transform 300ms cubic-bezier(0.23, 1, 0.32, 1), opacity 300ms cubic-bezier(0.23, 1, 0.32, 1);
|
|
6
|
+
transform-origin: center top;
|
|
7
|
+
}
|
|
8
|
+
.mds-date-zoom-in-top-enter,
|
|
9
|
+
.mds-date-zoom-in-top-leave-active {
|
|
10
|
+
opacity: 0;
|
|
11
|
+
transform: scaleY(0);
|
|
12
|
+
}
|
|
13
|
+
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
|
|
14
|
+
/* stylelint-disable declaration-bang-space-before */
|
|
15
|
+
/* stylelint-disable declaration-bang-space-before */
|
|
16
|
+
.mds-date-lg {
|
|
17
|
+
height: 42px;
|
|
18
|
+
}
|
|
19
|
+
.mds-date-md {
|
|
20
|
+
height: 36px;
|
|
21
|
+
}
|
|
22
|
+
.mds-date-sm {
|
|
23
|
+
height: 32px;
|
|
24
|
+
}
|
|
25
|
+
.mds-date-mn {
|
|
26
|
+
height: 28px;
|
|
27
|
+
}
|
|
28
|
+
.mds-date-editor,
|
|
29
|
+
.mds-time-picker,
|
|
30
|
+
.mds-time-picker-panel-input-wrap {
|
|
31
|
+
cursor: pointer;
|
|
32
|
+
}
|
|
33
|
+
.mds-date-editor input,
|
|
34
|
+
.mds-time-picker input,
|
|
35
|
+
.mds-time-picker-panel-input-wrap input {
|
|
36
|
+
cursor: inherit;
|
|
37
|
+
}
|
|
38
|
+
.mds-date-editor input:active,
|
|
39
|
+
.mds-time-picker input:active,
|
|
40
|
+
.mds-time-picker-panel-input-wrap input:active {
|
|
41
|
+
outline: none;
|
|
42
|
+
}
|
|
43
|
+
.mds-date-range-picker-panel {
|
|
44
|
+
box-shadow: 0px 4px 10px 0px rgba(196, 196, 196, 0.3);
|
|
45
|
+
}
|
|
46
|
+
.mds-date-other-icon {
|
|
47
|
+
color: #ccd2db;
|
|
48
|
+
}
|
|
49
|
+
.mds-date-close-icon {
|
|
50
|
+
cursor: pointer;
|
|
51
|
+
color: #ccd2db;
|
|
52
|
+
}
|
|
53
|
+
.mds-date-close-icon:hover {
|
|
54
|
+
color: rgba(0, 0, 0, 0.43);
|
|
55
|
+
}
|
|
56
|
+
.mds-date-picker-panel {
|
|
57
|
+
font-size: 12px;
|
|
58
|
+
color: #333333;
|
|
59
|
+
border: 1px solid #e4e7ed;
|
|
60
|
+
box-shadow: 0px 4px 10px 0px rgba(196, 196, 196, 0.3);
|
|
61
|
+
background: #fff;
|
|
62
|
+
border-radius: 4px;
|
|
63
|
+
line-height: 30px;
|
|
64
|
+
width: 322px;
|
|
65
|
+
user-select: none;
|
|
66
|
+
}
|
|
67
|
+
.mds-date-picker-panel-wrapper .mdsicon-line-caret-left-double,
|
|
68
|
+
.mds-date-picker-panel-wrapper .mdsicon-line-caret-left,
|
|
69
|
+
.mds-date-picker-panel-wrapper .mdsicon-line-caret-right-double,
|
|
70
|
+
.mds-date-picker-panel-wrapper .mdsicon-line-caret-right {
|
|
71
|
+
color: #333;
|
|
72
|
+
}
|
|
73
|
+
.mds-date-picker-panel-body {
|
|
74
|
+
display: block;
|
|
75
|
+
}
|
|
76
|
+
.mds-date-picker-panel-body:after {
|
|
77
|
+
content: '';
|
|
78
|
+
display: block;
|
|
79
|
+
clear: both;
|
|
80
|
+
}
|
|
81
|
+
.mds-date-picker-panel-header {
|
|
82
|
+
margin: 12px;
|
|
83
|
+
text-align: center;
|
|
84
|
+
height: 30px;
|
|
85
|
+
}
|
|
86
|
+
.mds-date-picker-panel-header-label {
|
|
87
|
+
color: #333333;
|
|
88
|
+
font-size: 14px;
|
|
89
|
+
font-weight: 600;
|
|
90
|
+
}
|
|
91
|
+
.mds-date-picker-panel-header-base-icon {
|
|
92
|
+
cursor: pointer;
|
|
93
|
+
margin: 8px;
|
|
94
|
+
}
|
|
95
|
+
.mds-date-picker-panel-header-base-left {
|
|
96
|
+
float: left;
|
|
97
|
+
}
|
|
98
|
+
.mds-date-picker-panel-header-base-right {
|
|
99
|
+
float: right;
|
|
100
|
+
}
|
|
101
|
+
.mds-date-picker-panel-content {
|
|
102
|
+
width: 100%;
|
|
103
|
+
position: relative;
|
|
104
|
+
margin: 0px;
|
|
105
|
+
}
|
|
106
|
+
.mds-date-picker-panel-content-thead {
|
|
107
|
+
width: 100%;
|
|
108
|
+
padding: 0px 13px;
|
|
109
|
+
}
|
|
110
|
+
.mds-date-picker-panel-content-thead tr th {
|
|
111
|
+
height: 35px;
|
|
112
|
+
line-height: 17px;
|
|
113
|
+
width: 42px;
|
|
114
|
+
font-size: 12px;
|
|
115
|
+
font-weight: 400;
|
|
116
|
+
color: #333333;
|
|
117
|
+
vertical-align: top;
|
|
118
|
+
}
|
|
119
|
+
.mds-date-picker-panel-content-line {
|
|
120
|
+
width: 100%;
|
|
121
|
+
height: 1px;
|
|
122
|
+
background: #F0F2F5;
|
|
123
|
+
}
|
|
124
|
+
.mds-date-picker-panel-content-tbody {
|
|
125
|
+
width: 100%;
|
|
126
|
+
padding: 15px 13px 15px;
|
|
127
|
+
}
|
|
128
|
+
.mds-date-picker-panel-footer {
|
|
129
|
+
border-top: 1px solid #F0F2F5;
|
|
130
|
+
text-align: right;
|
|
131
|
+
height: 44px;
|
|
132
|
+
line-height: 44px;
|
|
133
|
+
position: relative;
|
|
134
|
+
}
|
|
135
|
+
.mds-date-picker-panel-footer .mds-date-picker-panel-flat-clear {
|
|
136
|
+
left: auto;
|
|
137
|
+
right: 60px;
|
|
138
|
+
top: 50%;
|
|
139
|
+
font-size: 12px;
|
|
140
|
+
}
|
|
141
|
+
.mds-date-picker-panel-footer .mds-date-picker-panel-flat-clear:hover {
|
|
142
|
+
background-color: transparent;
|
|
143
|
+
}
|
|
144
|
+
.mds-date-picker-panel-footer .mds-date-picker-panel-flat-confirm {
|
|
145
|
+
font-size: 12px;
|
|
146
|
+
height: 28px;
|
|
147
|
+
padding: 0 15px;
|
|
148
|
+
margin-right: 4px;
|
|
149
|
+
}
|
|
150
|
+
.mds-date-picker-panel-footer .mds-date-picker-panel-sure-btn {
|
|
151
|
+
margin-left: 0;
|
|
152
|
+
}
|
|
153
|
+
.mds-date-picker-panel-today-btn {
|
|
154
|
+
position: absolute;
|
|
155
|
+
left: 5px;
|
|
156
|
+
top: 50%;
|
|
157
|
+
transform: translateY(-50%);
|
|
158
|
+
}
|
|
159
|
+
.mds-date-picker-panel-ok {
|
|
160
|
+
margin-right: 12px;
|
|
161
|
+
}
|
|
162
|
+
.mds-date-picker-panel-time-btn {
|
|
163
|
+
font-size: 14px;
|
|
164
|
+
color: #0364FF;
|
|
165
|
+
cursor: pointer;
|
|
166
|
+
}
|
|
167
|
+
.mds-date-picker-panel-time-picker {
|
|
168
|
+
margin-right: 8px;
|
|
169
|
+
}
|
|
170
|
+
.mds-date-range-picker-panel {
|
|
171
|
+
width: 645px;
|
|
172
|
+
background: #fff;
|
|
173
|
+
}
|
|
174
|
+
.mds-date-range-picker-panel:after {
|
|
175
|
+
content: '';
|
|
176
|
+
display: table;
|
|
177
|
+
clear: both;
|
|
178
|
+
}
|
|
179
|
+
.mds-date-range-picker-panel .is-left {
|
|
180
|
+
width: 50%;
|
|
181
|
+
float: left;
|
|
182
|
+
border-right: 1px solid #F0F2F5;
|
|
183
|
+
box-sizing: border-box;
|
|
184
|
+
}
|
|
185
|
+
.mds-date-range-picker-panel .is-right {
|
|
186
|
+
width: 50%;
|
|
187
|
+
float: right;
|
|
188
|
+
box-sizing: border-box;
|
|
189
|
+
}
|
|
190
|
+
.mds-date-table {
|
|
191
|
+
table-layout: fixed;
|
|
192
|
+
width: 100%;
|
|
193
|
+
}
|
|
194
|
+
.mds-date-table-header {
|
|
195
|
+
width: 100%;
|
|
196
|
+
}
|
|
197
|
+
.mds-date-table td {
|
|
198
|
+
padding: 5px 0;
|
|
199
|
+
width: 42px;
|
|
200
|
+
box-sizing: border-box;
|
|
201
|
+
text-align: center;
|
|
202
|
+
cursor: pointer;
|
|
203
|
+
position: relative;
|
|
204
|
+
}
|
|
205
|
+
.mds-date-table td div {
|
|
206
|
+
height: 24px;
|
|
207
|
+
box-sizing: border-box;
|
|
208
|
+
}
|
|
209
|
+
.mds-date-table td span {
|
|
210
|
+
width: 24px;
|
|
211
|
+
height: 24px;
|
|
212
|
+
display: block;
|
|
213
|
+
margin: 0 auto;
|
|
214
|
+
line-height: 24px;
|
|
215
|
+
position: absolute;
|
|
216
|
+
left: 50%;
|
|
217
|
+
transform: translateX(-50%);
|
|
218
|
+
border-radius: 50%;
|
|
219
|
+
}
|
|
220
|
+
.mds-date-table td .cell {
|
|
221
|
+
width: 52px;
|
|
222
|
+
height: 24px;
|
|
223
|
+
font-size: 12px;
|
|
224
|
+
display: inline-block;
|
|
225
|
+
line-height: 24px;
|
|
226
|
+
color: #333333;
|
|
227
|
+
margin: 0 auto;
|
|
228
|
+
border-radius: 12px;
|
|
229
|
+
position: absolute;
|
|
230
|
+
left: 50%;
|
|
231
|
+
transform: translateX(-50%);
|
|
232
|
+
}
|
|
233
|
+
.mds-date-table td.today span {
|
|
234
|
+
color: #0364FF;
|
|
235
|
+
}
|
|
236
|
+
.mds-date-table td.today .cell {
|
|
237
|
+
color: #0364FF;
|
|
238
|
+
}
|
|
239
|
+
.mds-date-table td.current span {
|
|
240
|
+
background: #0364FF;
|
|
241
|
+
color: #ffffff;
|
|
242
|
+
}
|
|
243
|
+
.mds-date-table td.current .cell {
|
|
244
|
+
background: #0364FF;
|
|
245
|
+
color: #ffffff;
|
|
246
|
+
}
|
|
247
|
+
.mds-date-table td.selected span {
|
|
248
|
+
background: #0364FF;
|
|
249
|
+
color: #eeeeee;
|
|
250
|
+
}
|
|
251
|
+
.mds-date-table td.selected .cell {
|
|
252
|
+
background: #0364FF;
|
|
253
|
+
color: #ffffff;
|
|
254
|
+
}
|
|
255
|
+
.mds-date-table td.available:hover {
|
|
256
|
+
color: #0364FF;
|
|
257
|
+
}
|
|
258
|
+
.mds-date-table td.in-range div {
|
|
259
|
+
background: #f2f6fc;
|
|
260
|
+
}
|
|
261
|
+
.mds-date-table td.in-range div:hover {
|
|
262
|
+
background: #f2f6fc;
|
|
263
|
+
}
|
|
264
|
+
.mds-date-table td.start-date span,
|
|
265
|
+
.mds-date-table td.end-date span {
|
|
266
|
+
background: #0364FF;
|
|
267
|
+
color: #fff;
|
|
268
|
+
}
|
|
269
|
+
.mds-date-table td.start-date .cell,
|
|
270
|
+
.mds-date-table td.end-date .cell {
|
|
271
|
+
background: #0364FF;
|
|
272
|
+
color: #ffffff;
|
|
273
|
+
}
|
|
274
|
+
.mds-date-table td.start-date,
|
|
275
|
+
.mds-date-table td:first-child.in-range {
|
|
276
|
+
padding-left: 9px;
|
|
277
|
+
}
|
|
278
|
+
.mds-date-table td.start-date div,
|
|
279
|
+
.mds-date-table td:first-child.in-range div {
|
|
280
|
+
border-bottom-left-radius: 12px;
|
|
281
|
+
border-top-left-radius: 12px;
|
|
282
|
+
}
|
|
283
|
+
.mds-date-table td.end-date,
|
|
284
|
+
.mds-date-table td:last-child.in-range {
|
|
285
|
+
padding-right: 9px;
|
|
286
|
+
}
|
|
287
|
+
.mds-date-table td.end-date div,
|
|
288
|
+
.mds-date-table td:last-child.in-range div {
|
|
289
|
+
border-bottom-right-radius: 12px;
|
|
290
|
+
border-top-right-radius: 12px;
|
|
291
|
+
}
|
|
292
|
+
.mds-date-table td.next-month,
|
|
293
|
+
.mds-date-table td.prev-month {
|
|
294
|
+
color: #CCCCCC;
|
|
295
|
+
}
|
|
296
|
+
.mds-date-table td.disabled {
|
|
297
|
+
cursor: not-allowed;
|
|
298
|
+
}
|
|
299
|
+
.mds-date-table td.disabled span {
|
|
300
|
+
background: #f8f8f8;
|
|
301
|
+
color: #CCCCCC;
|
|
302
|
+
cursor: not-allowed;
|
|
303
|
+
}
|
|
304
|
+
.mds-date-table td.disabled .cell {
|
|
305
|
+
background: #f8f8f8;
|
|
306
|
+
color: #CCCCCC;
|
|
307
|
+
cursor: not-allowed;
|
|
308
|
+
transition: none;
|
|
309
|
+
}
|
|
310
|
+
.mds-date-table.is-week-mode .mds-date-table-row:hover div {
|
|
311
|
+
background: #f2f6fc;
|
|
312
|
+
}
|
|
313
|
+
.mds-date-table.is-week-mode .mds-date-table-row:hover div span {
|
|
314
|
+
color: #333333;
|
|
315
|
+
}
|
|
316
|
+
.mds-date-table.is-week-mode .mds-date-table-row.current div {
|
|
317
|
+
background: #f2f6fc;
|
|
318
|
+
}
|
|
319
|
+
/* range 外壳 */
|
|
320
|
+
.mds-date-editor-range {
|
|
321
|
+
padding: 4px 10px;
|
|
322
|
+
border: 1px solid #d8dce6;
|
|
323
|
+
border-radius: 4px;
|
|
324
|
+
transition: all 0.3s;
|
|
325
|
+
position: relative;
|
|
326
|
+
display: flex;
|
|
327
|
+
align-items: center;
|
|
328
|
+
}
|
|
329
|
+
.mds-date-editor-range-icon-pos {
|
|
330
|
+
position: absolute;
|
|
331
|
+
top: 50%;
|
|
332
|
+
transform: translateY(-50%);
|
|
333
|
+
z-index: 2;
|
|
334
|
+
line-height: 0;
|
|
335
|
+
right: 8px;
|
|
336
|
+
}
|
|
337
|
+
.mds-date-editor-range.is-active {
|
|
338
|
+
border-color: #0364FF;
|
|
339
|
+
}
|
|
340
|
+
.mds-date-editor-range-input {
|
|
341
|
+
border: none;
|
|
342
|
+
outline: none;
|
|
343
|
+
display: inline-block;
|
|
344
|
+
height: 100%;
|
|
345
|
+
margin: 0;
|
|
346
|
+
padding: 0;
|
|
347
|
+
width: 42%;
|
|
348
|
+
text-align: center;
|
|
349
|
+
font-size: 14px;
|
|
350
|
+
color: #606266;
|
|
351
|
+
}
|
|
352
|
+
.mds-date-editor-range-input::-moz-placeholder {
|
|
353
|
+
color: #A9ABBA;
|
|
354
|
+
opacity: 1;
|
|
355
|
+
}
|
|
356
|
+
.mds-date-editor-range-input:-ms-input-placeholder {
|
|
357
|
+
color: #A9ABBA;
|
|
358
|
+
}
|
|
359
|
+
.mds-date-editor-range-input::-webkit-input-placeholder {
|
|
360
|
+
color: #A9ABBA;
|
|
361
|
+
}
|
|
362
|
+
.mds-date-time {
|
|
363
|
+
height: 277px;
|
|
364
|
+
display: flex;
|
|
365
|
+
position: relative;
|
|
366
|
+
}
|
|
367
|
+
.mds-date-time::before {
|
|
368
|
+
content: "";
|
|
369
|
+
top: 0%;
|
|
370
|
+
position: absolute;
|
|
371
|
+
height: 32px;
|
|
372
|
+
z-index: -1;
|
|
373
|
+
left: 0;
|
|
374
|
+
right: 0;
|
|
375
|
+
box-sizing: border-box;
|
|
376
|
+
text-align: left;
|
|
377
|
+
background: rgba(3, 100, 255, 0.05);
|
|
378
|
+
}
|
|
379
|
+
.mds-date-time-minutes-spinner ul {
|
|
380
|
+
border-right: 1px solid #F0F2F5;
|
|
381
|
+
border-left: 1px solid #F0F2F5;
|
|
382
|
+
}
|
|
383
|
+
.mds-date-time-spinner {
|
|
384
|
+
flex-grow: 1;
|
|
385
|
+
height: 100%;
|
|
386
|
+
}
|
|
387
|
+
.mds-date-time-spinner-ul {
|
|
388
|
+
height: 100%;
|
|
389
|
+
overflow: scroll;
|
|
390
|
+
}
|
|
391
|
+
.mds-date-time-spinner-ul::after {
|
|
392
|
+
content: "";
|
|
393
|
+
display: block;
|
|
394
|
+
width: 100%;
|
|
395
|
+
height: 245px;
|
|
396
|
+
}
|
|
397
|
+
.mds-date-time-spinner-li {
|
|
398
|
+
width: 100%;
|
|
399
|
+
height: 32px;
|
|
400
|
+
text-align: center;
|
|
401
|
+
color: #606266;
|
|
402
|
+
cursor: pointer;
|
|
403
|
+
}
|
|
404
|
+
.mds-date-time-spinner-li.active:not(.disabled) {
|
|
405
|
+
color: #0366ff;
|
|
406
|
+
font-weight: 700;
|
|
407
|
+
}
|
|
408
|
+
.mds-date-time-spinner-li:hover {
|
|
409
|
+
background: rgba(3, 100, 255, 0.05);
|
|
410
|
+
}
|
|
411
|
+
.mds-date-popper .popper__arrow {
|
|
412
|
+
width: 0px;
|
|
413
|
+
height: 0px;
|
|
414
|
+
}
|
|
415
|
+
.mds-date-popper .is-disabled {
|
|
416
|
+
cursor: not-allowed;
|
|
417
|
+
}
|
|
418
|
+
.mds-date-year-table-box {
|
|
419
|
+
border-top: 1px solid #F0F2F5;
|
|
420
|
+
padding: 15px 13px;
|
|
421
|
+
}
|
|
422
|
+
.mds-date-year-table-box .year-td {
|
|
423
|
+
padding: 12px 0;
|
|
424
|
+
border-radius: 12px;
|
|
425
|
+
transition: background-color 0.2s ease;
|
|
426
|
+
text-align: center;
|
|
427
|
+
cursor: pointer;
|
|
428
|
+
}
|
|
429
|
+
.mds-date-year-table-box .year-td:hover {
|
|
430
|
+
background: #f2f6fc;
|
|
431
|
+
}
|
|
432
|
+
.mds-date-month-table-box {
|
|
433
|
+
border-top: 1px solid #F0F2F5;
|
|
434
|
+
padding: 15px 13px;
|
|
435
|
+
}
|
|
436
|
+
.mds-date-month-table-box .month-td {
|
|
437
|
+
padding: 12px 0;
|
|
438
|
+
border-radius: 12px;
|
|
439
|
+
transition: background-color 0.2s ease;
|
|
440
|
+
text-align: center;
|
|
441
|
+
cursor: pointer;
|
|
442
|
+
}
|
|
443
|
+
.mds-date-month-table-box .month-td:hover {
|
|
444
|
+
background: #f2f6fc;
|
|
445
|
+
}
|
|
446
|
+
.mds-date-time {
|
|
447
|
+
border-top: 1px solid #F0F2F5;
|
|
448
|
+
}
|
|
449
|
+
.mds-time-selecter-wrapper {
|
|
450
|
+
height: 45px;
|
|
451
|
+
padding: 8px 5px 5px;
|
|
452
|
+
border-bottom: 1px solid #e4e4e4;
|
|
453
|
+
display: flex;
|
|
454
|
+
align-items: center;
|
|
455
|
+
}
|
|
456
|
+
.mds-time-selecter-wrapper .mds-time-selecter-date-start {
|
|
457
|
+
margin-left: 5px;
|
|
458
|
+
}
|
|
459
|
+
.mds-time-selecter-wrapper .time-content {
|
|
460
|
+
position: relative;
|
|
461
|
+
}
|
|
462
|
+
.mds-time-selecter-wrapper .time-content .mds-date-time {
|
|
463
|
+
height: 190px;
|
|
464
|
+
}
|
|
465
|
+
.mds-time-selecter-wrapper .time-content .mds-date-time .mds-date-time-spinner .mds-scroll-bar {
|
|
466
|
+
overflow-x: hidden;
|
|
467
|
+
}
|
|
468
|
+
.mds-time-selecter-wrapper .mds-time-selecter-time-start {
|
|
469
|
+
margin-left: 10px;
|
|
470
|
+
}
|
|
471
|
+
.mds-time-selecter-wrapper .mds-time-selecter-spin {
|
|
472
|
+
position: absolute;
|
|
473
|
+
width: 150%;
|
|
474
|
+
z-index: 1;
|
|
475
|
+
background: #ffffff;
|
|
476
|
+
left: 0;
|
|
477
|
+
border: 1px solid #f0f2f5;
|
|
478
|
+
}
|
|
479
|
+
.mds-time-selecter-wrapper .mds-time-selecter-spin .spinner-confirm {
|
|
480
|
+
text-align: right;
|
|
481
|
+
border-top: 1px solid #f0f2f5;
|
|
482
|
+
}
|
|
483
|
+
.mds-time-selecter-wrapper .mds-time-selecter-arrow {
|
|
484
|
+
font-size: 20px;
|
|
485
|
+
margin-left: 5px;
|
|
486
|
+
color: #303133;
|
|
487
|
+
}
|
|
488
|
+
.mds-time-selecter-wrapper .mds-time-selecter-date-end {
|
|
489
|
+
margin-left: 10px;
|
|
490
|
+
}
|
|
491
|
+
.mds-time-selecter-wrapper .mds-time-selecter-time-end {
|
|
492
|
+
margin-left: 10px;
|
|
493
|
+
}
|
|
494
|
+
.mds-quarter-panel {
|
|
495
|
+
background-color: #fff;
|
|
496
|
+
border: 1px solid #e4e7ed;
|
|
497
|
+
border-radius: 4px;
|
|
498
|
+
box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
|
|
499
|
+
}
|
|
500
|
+
.mds-quarter-panel__header {
|
|
501
|
+
display: flex;
|
|
502
|
+
justify-content: space-between;
|
|
503
|
+
align-items: center;
|
|
504
|
+
padding: 12px;
|
|
505
|
+
font-weight: bold;
|
|
506
|
+
color: #333;
|
|
507
|
+
}
|
|
508
|
+
.mds-quarter-panel__header i {
|
|
509
|
+
font-weight: normal;
|
|
510
|
+
color: #333;
|
|
511
|
+
}
|
|
512
|
+
.mds-quarter-panel__body {
|
|
513
|
+
display: flex;
|
|
514
|
+
flex-direction: row;
|
|
515
|
+
justify-content: flex-start;
|
|
516
|
+
gap: 10px;
|
|
517
|
+
padding: 15px;
|
|
518
|
+
border-top: 1px solid #f0f2f5;
|
|
519
|
+
}
|
|
520
|
+
.mds-quarter-panel__quarter {
|
|
521
|
+
min-width: 60px;
|
|
522
|
+
height: 24px;
|
|
523
|
+
line-height: 24px;
|
|
524
|
+
cursor: pointer;
|
|
525
|
+
border-radius: 12px;
|
|
526
|
+
transition: background-color 0.2s ease;
|
|
527
|
+
font-size: 14px;
|
|
528
|
+
text-align: center;
|
|
529
|
+
}
|
|
530
|
+
.mds-quarter-panel__quarter:hover {
|
|
531
|
+
background: #f2f6fc;
|
|
532
|
+
}
|
|
533
|
+
.mds-quarter-panel__quarter.is-selected {
|
|
534
|
+
background: #0364ff;
|
|
535
|
+
color: #fff;
|
|
536
|
+
}
|
|
537
|
+
.mds-quarter-panel__quarter.today {
|
|
538
|
+
color: #0364ff;
|
|
539
|
+
}
|
|
540
|
+
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
|
|
541
|
+
/* stylelint-disable declaration-bang-space-before */
|
|
542
|
+
/* stylelint-disable declaration-bang-space-before */
|
package/dist/style/divider.css
CHANGED
|
@@ -1 +1,47 @@
|
|
|
1
|
-
|
|
1
|
+
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
|
|
2
|
+
/* stylelint-disable declaration-bang-space-before */
|
|
3
|
+
/* stylelint-disable declaration-bang-space-before */
|
|
4
|
+
.mds-input-affix-wrapper.mds-input-search .mds-input:not(:last-child) {
|
|
5
|
+
padding-right: 45px;
|
|
6
|
+
}
|
|
7
|
+
.mds-divider {
|
|
8
|
+
background-color: #f0f2f5;
|
|
9
|
+
position: relative;
|
|
10
|
+
}
|
|
11
|
+
.mds-divider--horizontal {
|
|
12
|
+
display: block;
|
|
13
|
+
height: 1px;
|
|
14
|
+
width: 100%;
|
|
15
|
+
margin: 24px 0;
|
|
16
|
+
}
|
|
17
|
+
.mds-divider--vertical {
|
|
18
|
+
display: inline-block;
|
|
19
|
+
width: 1px;
|
|
20
|
+
height: 1em;
|
|
21
|
+
margin: 0 8px;
|
|
22
|
+
vertical-align: middle;
|
|
23
|
+
position: relative;
|
|
24
|
+
}
|
|
25
|
+
.mds-divider__text {
|
|
26
|
+
position: absolute;
|
|
27
|
+
background-color: #fff;
|
|
28
|
+
padding: 0 40px;
|
|
29
|
+
font-weight: 500;
|
|
30
|
+
color: #303133;
|
|
31
|
+
font-size: 14px;
|
|
32
|
+
}
|
|
33
|
+
.mds-divider__left {
|
|
34
|
+
left: 40px;
|
|
35
|
+
transform: translateY(-50%);
|
|
36
|
+
}
|
|
37
|
+
.mds-divider__center {
|
|
38
|
+
left: 50%;
|
|
39
|
+
transform: translateX(-50%) translateY(-50%);
|
|
40
|
+
}
|
|
41
|
+
.mds-divider__right {
|
|
42
|
+
right: 40px;
|
|
43
|
+
transform: translateY(-50%);
|
|
44
|
+
}
|
|
45
|
+
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
|
|
46
|
+
/* stylelint-disable declaration-bang-space-before */
|
|
47
|
+
/* stylelint-disable declaration-bang-space-before */
|