@mdsfe/mds-ui 0.4.0-rc.7 → 0.4.0-rc.8
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/badge.js +2 -2
- package/dist/bordershadow.js +2 -2
- package/dist/carousel.js +2 -2
- package/dist/cascader.js +4 -4
- package/dist/cascaderpanel.js +16 -16
- package/dist/collapse.js +2 -2
- package/dist/divider.js +2 -2
- package/dist/drawer.js +4 -4
- package/dist/empty.js +2 -2
- 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/form.js +2 -2
- package/dist/icon.js +13 -4
- package/dist/index.js +5 -5
- package/dist/input.js +2 -2
- package/dist/inputnumber.js +2 -2
- package/dist/layout.js +2 -2
- package/dist/list.js +2 -2
- package/dist/loading.js +2 -2
- package/dist/mds-ui.min.css +1 -1
- package/dist/mds-ui.min.js +139 -127
- package/dist/menu.js +4 -4
- package/dist/message.js +2 -2
- package/dist/modal.js +2 -2
- package/dist/notification.js +8 -8
- package/dist/pagination.js +4 -4
- package/dist/popconfirm.js +2 -2
- package/dist/popover.js +2 -2
- package/dist/progress.js +2 -2
- package/dist/radio.js +2 -2
- package/dist/rate.js +2 -2
- package/dist/select.js +7 -7
- package/dist/slider.js +2 -2
- package/dist/slottable.js +7 -7
- package/dist/steps.js +2 -2
- 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 +2 -2
- package/dist/table.js +9 -9
- package/dist/tabs.js +2 -2
- package/dist/tag.js +2 -2
- package/dist/text.js +2 -2
- package/dist/timeline.js +2 -2
- package/dist/timepicker.js +2 -2
- package/dist/tooltip.js +2 -2
- package/dist/transfer.js +6 -6
- package/dist/transition.js +2 -2
- package/dist/tree.js +2 -2
- package/dist/typography.js +2 -2
- package/package.json +1 -1
|
@@ -1 +1,393 @@
|
|
|
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-time-picker-panel {
|
|
5
|
+
margin-left: 2px;
|
|
6
|
+
}
|
|
7
|
+
.mds-time-picker-panel-inner {
|
|
8
|
+
position: relative;
|
|
9
|
+
outline: none;
|
|
10
|
+
list-style: none;
|
|
11
|
+
font-size: 12px;
|
|
12
|
+
text-align: left;
|
|
13
|
+
background-color: #fff;
|
|
14
|
+
background-clip: padding-box;
|
|
15
|
+
line-height: 1.5;
|
|
16
|
+
left: -2px;
|
|
17
|
+
z-index: 10;
|
|
18
|
+
}
|
|
19
|
+
.mds-time-picker-panel-input {
|
|
20
|
+
outline: none;
|
|
21
|
+
float: left;
|
|
22
|
+
font-size: 14px;
|
|
23
|
+
margin: 0;
|
|
24
|
+
padding: 0;
|
|
25
|
+
border: 0;
|
|
26
|
+
width: 100%;
|
|
27
|
+
cursor: auto;
|
|
28
|
+
height: 100%;
|
|
29
|
+
outline: 0;
|
|
30
|
+
}
|
|
31
|
+
.mds-time-picker-panel-input::-moz-placeholder {
|
|
32
|
+
color: #A9ABBA;
|
|
33
|
+
opacity: 1;
|
|
34
|
+
}
|
|
35
|
+
.mds-time-picker-panel-input:-ms-input-placeholder {
|
|
36
|
+
color: #A9ABBA;
|
|
37
|
+
}
|
|
38
|
+
.mds-time-picker-panel-input::-webkit-input-placeholder {
|
|
39
|
+
color: #A9ABBA;
|
|
40
|
+
}
|
|
41
|
+
.mds-time-picker-panel-input-wrap {
|
|
42
|
+
box-sizing: border-box;
|
|
43
|
+
position: relative;
|
|
44
|
+
padding: 6.5px 12px;
|
|
45
|
+
border: 1px solid #1770FF;
|
|
46
|
+
border-radius: 2px;
|
|
47
|
+
}
|
|
48
|
+
.mds-time-picker-panel-input-half {
|
|
49
|
+
width: 70px;
|
|
50
|
+
text-align: center;
|
|
51
|
+
}
|
|
52
|
+
.mds-time-picker-panel-input-wrap-large {
|
|
53
|
+
height: 40px;
|
|
54
|
+
}
|
|
55
|
+
.mds-time-picker-panel-input-wrap-default {
|
|
56
|
+
height: 36px;
|
|
57
|
+
}
|
|
58
|
+
.mds-time-picker-panel-input-wrap-small {
|
|
59
|
+
height: 32px;
|
|
60
|
+
}
|
|
61
|
+
.mds-time-picker-panel-input-wrap-mini {
|
|
62
|
+
height: 28px;
|
|
63
|
+
}
|
|
64
|
+
.mds-time-picker-panel-input-invalid {
|
|
65
|
+
border-color: red;
|
|
66
|
+
}
|
|
67
|
+
.mds-time-picker-panel-input::-webkit-input-placeholder {
|
|
68
|
+
color: #A9ABBA;
|
|
69
|
+
}
|
|
70
|
+
.mds-time-picker-panel-input::-moz-placeholder {
|
|
71
|
+
color: #A9ABBA;
|
|
72
|
+
}
|
|
73
|
+
.mds-time-picker-panel-input::-ms-placeholder {
|
|
74
|
+
color: #A9ABBA;
|
|
75
|
+
}
|
|
76
|
+
.mds-time-picker-panel-input::-o-placeholder {
|
|
77
|
+
color: #A9ABBA;
|
|
78
|
+
}
|
|
79
|
+
.mds-time-picker-panel-box-span {
|
|
80
|
+
float: left;
|
|
81
|
+
margin: 0 7px;
|
|
82
|
+
}
|
|
83
|
+
.mds-time-picker-panel-clear-btn {
|
|
84
|
+
position: absolute;
|
|
85
|
+
right: 5px;
|
|
86
|
+
cursor: pointer;
|
|
87
|
+
overflow: hidden;
|
|
88
|
+
width: 20px;
|
|
89
|
+
height: 20px;
|
|
90
|
+
text-align: center;
|
|
91
|
+
line-height: 20px;
|
|
92
|
+
color: rgba(0, 0, 0, 0.2);
|
|
93
|
+
top: 50%;
|
|
94
|
+
margin: 0;
|
|
95
|
+
margin-top: -10px;
|
|
96
|
+
}
|
|
97
|
+
.mds-time-picker-panel-clear-btn:after {
|
|
98
|
+
font-size: 12px;
|
|
99
|
+
display: inline-block;
|
|
100
|
+
line-height: 1;
|
|
101
|
+
width: 20px;
|
|
102
|
+
transition: color 0.3s ease;
|
|
103
|
+
}
|
|
104
|
+
.mds-time-picker-panel-clear-btn:hover {
|
|
105
|
+
color: rgba(0, 0, 0, 0.43);
|
|
106
|
+
}
|
|
107
|
+
.mds-time-picker-panel-select {
|
|
108
|
+
flex: 1;
|
|
109
|
+
font-size: 12px;
|
|
110
|
+
border-left: 1px solid #e9e9e9;
|
|
111
|
+
box-sizing: border-box;
|
|
112
|
+
overflow: hidden;
|
|
113
|
+
position: relative;
|
|
114
|
+
max-height: 183px;
|
|
115
|
+
}
|
|
116
|
+
.mds-time-picker-panel-select:hover {
|
|
117
|
+
overflow-y: auto;
|
|
118
|
+
}
|
|
119
|
+
.mds-time-picker-panel-select:first-child {
|
|
120
|
+
border-left: 0;
|
|
121
|
+
margin-left: 0;
|
|
122
|
+
}
|
|
123
|
+
.mds-time-picker-panel-select:last-child {
|
|
124
|
+
border-right: 0;
|
|
125
|
+
}
|
|
126
|
+
.mds-time-picker-panel-select:only-child {
|
|
127
|
+
width: 100%;
|
|
128
|
+
}
|
|
129
|
+
.mds-time-picker-panel-select ul {
|
|
130
|
+
list-style: none;
|
|
131
|
+
box-sizing: border-box;
|
|
132
|
+
margin: 0;
|
|
133
|
+
padding: 0 0 120px;
|
|
134
|
+
width: 100%;
|
|
135
|
+
}
|
|
136
|
+
.mds-time-picker-panel-select li {
|
|
137
|
+
list-style: none;
|
|
138
|
+
box-sizing: content-box;
|
|
139
|
+
margin: 0;
|
|
140
|
+
padding: 0 0 0 8px;
|
|
141
|
+
width: 100%;
|
|
142
|
+
height: 32px;
|
|
143
|
+
line-height: 32px;
|
|
144
|
+
font-size: 14px;
|
|
145
|
+
text-align: left;
|
|
146
|
+
cursor: pointer;
|
|
147
|
+
user-select: none;
|
|
148
|
+
transition: background 0.3s;
|
|
149
|
+
}
|
|
150
|
+
.mds-time-picker-panel-select li:hover {
|
|
151
|
+
background: rgba(3, 100, 255, 0.05);
|
|
152
|
+
}
|
|
153
|
+
li.mds-time-picker-panel-select-option-selected {
|
|
154
|
+
background: rgba(3, 100, 255, 0.05);
|
|
155
|
+
font-weight: bold;
|
|
156
|
+
color: #0364FF;
|
|
157
|
+
}
|
|
158
|
+
li.mds-time-picker-panel-select-option-selected:hover {
|
|
159
|
+
background: rgba(3, 100, 255, 0.05);
|
|
160
|
+
}
|
|
161
|
+
li.mds-time-picker-panel-select-option-disabled {
|
|
162
|
+
color: rgba(0, 0, 0, 0.2);
|
|
163
|
+
}
|
|
164
|
+
li.mds-time-picker-panel-select-option-disabled:hover {
|
|
165
|
+
background: transparent;
|
|
166
|
+
cursor: not-allowed;
|
|
167
|
+
}
|
|
168
|
+
.mds-time-picker-panel-picker-half {
|
|
169
|
+
min-width: 308px;
|
|
170
|
+
}
|
|
171
|
+
.mds-time-picker-panel-picker-box {
|
|
172
|
+
display: flex;
|
|
173
|
+
flex-wrap: wrap;
|
|
174
|
+
box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
|
|
175
|
+
border-radius: 2px;
|
|
176
|
+
}
|
|
177
|
+
.mds-time-picker-panel-picker-box-halfbox {
|
|
178
|
+
display: flex;
|
|
179
|
+
flex-wrap: wrap;
|
|
180
|
+
width: 100%;
|
|
181
|
+
background: #fff;
|
|
182
|
+
min-width: 308px;
|
|
183
|
+
padding: 0 21px 25px 21px;
|
|
184
|
+
}
|
|
185
|
+
.mds-time-picker-panel-picker-box-halfbox .mds-time-picker-panel-combobox {
|
|
186
|
+
border: 1px solid #F0F2F5;
|
|
187
|
+
}
|
|
188
|
+
.mds-time-picker-panel-picker-box-half {
|
|
189
|
+
flex: 1;
|
|
190
|
+
}
|
|
191
|
+
.mds-time-picker-panel-picker-box-half h2 {
|
|
192
|
+
margin: 14px 0;
|
|
193
|
+
font-size: 14px;
|
|
194
|
+
font-weight: normal;
|
|
195
|
+
line-height: 20px;
|
|
196
|
+
text-align: center;
|
|
197
|
+
}
|
|
198
|
+
.mds-time-picker-panel-picker-box-half:nth-child(1) {
|
|
199
|
+
margin-right: 24px;
|
|
200
|
+
}
|
|
201
|
+
.mds-time-picker-panel-picker-box-bottom {
|
|
202
|
+
padding: 4px 6px;
|
|
203
|
+
width: 100%;
|
|
204
|
+
border-top: 1px solid #F0F2F5;
|
|
205
|
+
}
|
|
206
|
+
.mds-time-picker-panel-combobox {
|
|
207
|
+
zoom: 1;
|
|
208
|
+
display: flex;
|
|
209
|
+
flex-wrap: wrap;
|
|
210
|
+
width: 100%;
|
|
211
|
+
}
|
|
212
|
+
.mds-time-picker-panel-combobox:before,
|
|
213
|
+
.mds-time-picker-panel-combobox:after {
|
|
214
|
+
content: " ";
|
|
215
|
+
display: table;
|
|
216
|
+
}
|
|
217
|
+
.mds-time-picker-panel-combobox:after {
|
|
218
|
+
clear: both;
|
|
219
|
+
visibility: hidden;
|
|
220
|
+
font-size: 0;
|
|
221
|
+
height: 0;
|
|
222
|
+
}
|
|
223
|
+
.mds-time-picker-panel-addon {
|
|
224
|
+
width: 100%;
|
|
225
|
+
padding: 8px;
|
|
226
|
+
border-top: 1px solid #e9e9e9;
|
|
227
|
+
}
|
|
228
|
+
.mds-time-picker-panel.slide-up-enter.slide-up-enter-active.mds-time-picker-panel-placement-topLeft,
|
|
229
|
+
.mds-time-picker-panel.slide-up-enter.slide-up-enter-active.mds-time-picker-panel-placement-topRight,
|
|
230
|
+
.mds-time-picker-panel.slide-up-appear.slide-up-appear-active.mds-time-picker-panel-placement-topLeft,
|
|
231
|
+
.mds-time-picker-panel.slide-up-appear.slide-up-appear-active.mds-time-picker-panel-placement-topRight {
|
|
232
|
+
animation-name: antSlideDownIn;
|
|
233
|
+
}
|
|
234
|
+
.mds-time-picker-panel.slide-up-enter.slide-up-enter-active.mds-time-picker-panel-placement-bottomLeft,
|
|
235
|
+
.mds-time-picker-panel.slide-up-enter.slide-up-enter-active.mds-time-picker-panel-placement-bottomRight,
|
|
236
|
+
.mds-time-picker-panel.slide-up-appear.slide-up-appear-active.mds-time-picker-panel-placement-bottomLeft,
|
|
237
|
+
.mds-time-picker-panel.slide-up-appear.slide-up-appear-active.mds-time-picker-panel-placement-bottomRight {
|
|
238
|
+
animation-name: antSlideUpIn;
|
|
239
|
+
}
|
|
240
|
+
.mds-time-picker-panel.slide-up-leave.slide-up-leave-active.mds-time-picker-panel-placement-topLeft,
|
|
241
|
+
.mds-time-picker-panel.slide-up-leave.slide-up-leave-active.mds-time-picker-panel-placement-topRight {
|
|
242
|
+
animation-name: antSlideDownOut;
|
|
243
|
+
}
|
|
244
|
+
.mds-time-picker-panel.slide-up-leave.slide-up-leave-active.mds-time-picker-panel-placement-bottomLeft,
|
|
245
|
+
.mds-time-picker-panel.slide-up-leave.slide-up-leave-active.mds-time-picker-panel-placement-bottomRight {
|
|
246
|
+
animation-name: antSlideUpOut;
|
|
247
|
+
}
|
|
248
|
+
.mds-time-picker-panel .lazy-footer {
|
|
249
|
+
display: flex;
|
|
250
|
+
justify-content: flex-end;
|
|
251
|
+
}
|
|
252
|
+
.mds-time-picker {
|
|
253
|
+
outline: none;
|
|
254
|
+
font-size: 12px;
|
|
255
|
+
transition: opacity 0.3s ease;
|
|
256
|
+
width: 240px;
|
|
257
|
+
position: relative;
|
|
258
|
+
display: inline-block;
|
|
259
|
+
padding: 4px 12px;
|
|
260
|
+
height: 36px;
|
|
261
|
+
font-size: 14px;
|
|
262
|
+
line-height: 1.5;
|
|
263
|
+
color: #354052;
|
|
264
|
+
background-color: #fff;
|
|
265
|
+
background-image: none;
|
|
266
|
+
border: 1px solid #D8DCE6;
|
|
267
|
+
border-radius: 2px;
|
|
268
|
+
transition: all .3s;
|
|
269
|
+
}
|
|
270
|
+
.mds-time-picker::-moz-placeholder {
|
|
271
|
+
color: #A9ABBA;
|
|
272
|
+
opacity: 1;
|
|
273
|
+
}
|
|
274
|
+
.mds-time-picker:-ms-input-placeholder {
|
|
275
|
+
color: #A9ABBA;
|
|
276
|
+
}
|
|
277
|
+
.mds-time-picker::-webkit-input-placeholder {
|
|
278
|
+
color: #A9ABBA;
|
|
279
|
+
}
|
|
280
|
+
.mds-time-picker:hover {
|
|
281
|
+
border-color: #0364FF;
|
|
282
|
+
}
|
|
283
|
+
.mds-time-picker:focus {
|
|
284
|
+
border-color: #3f89ff;
|
|
285
|
+
outline: 0;
|
|
286
|
+
}
|
|
287
|
+
.mds-time-picker-disabled {
|
|
288
|
+
background-color: #FAFAFD;
|
|
289
|
+
opacity: 1;
|
|
290
|
+
cursor: not-allowed;
|
|
291
|
+
color: rgba(0, 0, 0, 0.2);
|
|
292
|
+
}
|
|
293
|
+
.mds-time-picker-disabled:hover {
|
|
294
|
+
border-color: #0364FF;
|
|
295
|
+
}
|
|
296
|
+
textarea.mds-time-picker {
|
|
297
|
+
max-width: 100%;
|
|
298
|
+
height: auto;
|
|
299
|
+
vertical-align: bottom;
|
|
300
|
+
transition: all .3s, height 0s;
|
|
301
|
+
}
|
|
302
|
+
.mds-time-picker-lg {
|
|
303
|
+
padding: 6px 12px;
|
|
304
|
+
height: 40px;
|
|
305
|
+
}
|
|
306
|
+
.mds-time-picker-sm {
|
|
307
|
+
padding: 1px 12px;
|
|
308
|
+
height: 32px;
|
|
309
|
+
font-size: 12px;
|
|
310
|
+
}
|
|
311
|
+
.mds-time-picker-mni {
|
|
312
|
+
height: 28px;
|
|
313
|
+
font-size: 12px;
|
|
314
|
+
}
|
|
315
|
+
.mds-time-picker-input::-webkit-input-placeholder {
|
|
316
|
+
color: #A9ABBA;
|
|
317
|
+
}
|
|
318
|
+
.mds-time-picker-input::-moz-placeholder {
|
|
319
|
+
color: #A9ABBA;
|
|
320
|
+
}
|
|
321
|
+
.mds-time-picker-input::-ms-placeholder {
|
|
322
|
+
color: #A9ABBA;
|
|
323
|
+
}
|
|
324
|
+
.mds-time-picker-input::-o-placeholder {
|
|
325
|
+
color: #A9ABBA;
|
|
326
|
+
}
|
|
327
|
+
.mds-time-picker[disabled] {
|
|
328
|
+
background-color: #FAFAFD;
|
|
329
|
+
opacity: 1;
|
|
330
|
+
cursor: not-allowed;
|
|
331
|
+
color: rgba(0, 0, 0, 0.2);
|
|
332
|
+
}
|
|
333
|
+
.mds-time-picker[disabled]:hover {
|
|
334
|
+
border-color: #0364FF;
|
|
335
|
+
}
|
|
336
|
+
.mds-time-picker-disabled {
|
|
337
|
+
background: #fafafd;
|
|
338
|
+
}
|
|
339
|
+
.mds-time-picker-disabled:hover {
|
|
340
|
+
border-color: #d8dce6!important;
|
|
341
|
+
}
|
|
342
|
+
.mds-time-picker-disabled input {
|
|
343
|
+
background: #fafafd;
|
|
344
|
+
}
|
|
345
|
+
.mds-time-picker-box {
|
|
346
|
+
height: 100%;
|
|
347
|
+
}
|
|
348
|
+
.mds-time-picker-box-span {
|
|
349
|
+
margin: 0 7px;
|
|
350
|
+
max-width: 16px;
|
|
351
|
+
min-width: 16px;
|
|
352
|
+
text-align: center;
|
|
353
|
+
}
|
|
354
|
+
.mds-time-picker-box-half {
|
|
355
|
+
width: 70px;
|
|
356
|
+
height: 100%;
|
|
357
|
+
text-align: center;
|
|
358
|
+
}
|
|
359
|
+
.mds-time-picker-input {
|
|
360
|
+
border: none;
|
|
361
|
+
height: 100%;
|
|
362
|
+
}
|
|
363
|
+
.mds-time-picker-large {
|
|
364
|
+
padding: 6px 12px;
|
|
365
|
+
height: 40px;
|
|
366
|
+
}
|
|
367
|
+
.mds-time-picker-small {
|
|
368
|
+
padding: 1px 12px;
|
|
369
|
+
height: 32px;
|
|
370
|
+
font-size: 12px;
|
|
371
|
+
}
|
|
372
|
+
.mds-time-picker-mini {
|
|
373
|
+
height: 28px;
|
|
374
|
+
font-size: 12px;
|
|
375
|
+
}
|
|
376
|
+
.mds-time-picker-open {
|
|
377
|
+
opacity: 0;
|
|
378
|
+
}
|
|
379
|
+
.mds-time-picker-icon {
|
|
380
|
+
position: absolute;
|
|
381
|
+
user-select: none;
|
|
382
|
+
transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
|
|
383
|
+
width: 14px;
|
|
384
|
+
height: 12px;
|
|
385
|
+
line-height: 12px;
|
|
386
|
+
right: 8px;
|
|
387
|
+
color: #CCD2DB;
|
|
388
|
+
top: 50%;
|
|
389
|
+
margin-top: -6px;
|
|
390
|
+
}
|
|
391
|
+
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
|
|
392
|
+
/* stylelint-disable declaration-bang-space-before */
|
|
393
|
+
/* stylelint-disable declaration-bang-space-before */
|
package/dist/style/tooltip.css
CHANGED
|
@@ -1 +1,161 @@
|
|
|
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-tooltip {
|
|
5
|
+
position: absolute;
|
|
6
|
+
border-radius: 4px;
|
|
7
|
+
padding: 10px;
|
|
8
|
+
font-size: 12px;
|
|
9
|
+
line-height: 1.5;
|
|
10
|
+
min-width: 10px;
|
|
11
|
+
word-wrap: break-word;
|
|
12
|
+
font-size: 14px;
|
|
13
|
+
}
|
|
14
|
+
.mds-tooltip .popper__arrow,
|
|
15
|
+
.mds-tooltip .popper__arrow::after {
|
|
16
|
+
position: absolute;
|
|
17
|
+
display: block;
|
|
18
|
+
width: 0;
|
|
19
|
+
height: 0;
|
|
20
|
+
border-color: transparent;
|
|
21
|
+
border-style: solid;
|
|
22
|
+
}
|
|
23
|
+
.mds-tooltip .popper__arrow::after {
|
|
24
|
+
content: " ";
|
|
25
|
+
border-width: 5px;
|
|
26
|
+
}
|
|
27
|
+
.mds-tooltip-hidden {
|
|
28
|
+
display: none;
|
|
29
|
+
}
|
|
30
|
+
.mds-tooltip.dark-mode {
|
|
31
|
+
background: #303133;
|
|
32
|
+
color: #ffffff;
|
|
33
|
+
}
|
|
34
|
+
.mds-tooltip.light-mode {
|
|
35
|
+
background: #ffffff;
|
|
36
|
+
box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
|
|
37
|
+
}
|
|
38
|
+
.mds-tooltip-placement-top,
|
|
39
|
+
.mds-tooltip-placement-top-start,
|
|
40
|
+
.mds-tooltip-placement-top-end {
|
|
41
|
+
margin-bottom: 9px;
|
|
42
|
+
}
|
|
43
|
+
.mds-tooltip-placement-right,
|
|
44
|
+
.mds-tooltip-placement-right-start,
|
|
45
|
+
.mds-tooltip-placement-right-end {
|
|
46
|
+
margin-left: 9px;
|
|
47
|
+
}
|
|
48
|
+
.mds-tooltip-placement-bottom,
|
|
49
|
+
.mds-tooltip-placement-bottom-start,
|
|
50
|
+
.mds-tooltip-placement-bottom-end {
|
|
51
|
+
margin-top: 9px;
|
|
52
|
+
}
|
|
53
|
+
.mds-tooltip-placement-left,
|
|
54
|
+
.mds-tooltip-placement-left-start,
|
|
55
|
+
.mds-tooltip-placement-left-end {
|
|
56
|
+
margin-right: 9px;
|
|
57
|
+
}
|
|
58
|
+
.mds-tooltip-placement-top .popper__arrow,
|
|
59
|
+
.mds-tooltip-placement-top-start .popper__arrow,
|
|
60
|
+
.mds-tooltip-placement-top-end .popper__arrow {
|
|
61
|
+
bottom: -6px;
|
|
62
|
+
border-width: 6px 6px 0;
|
|
63
|
+
border-top-color: #354052;
|
|
64
|
+
}
|
|
65
|
+
.mds-tooltip-placement-top .popper__arrow::after,
|
|
66
|
+
.mds-tooltip-placement-top-start .popper__arrow::after,
|
|
67
|
+
.mds-tooltip-placement-top-end .popper__arrow::after {
|
|
68
|
+
bottom: 1px;
|
|
69
|
+
border-top-color: #354052;
|
|
70
|
+
border-width: 5px 5px 0;
|
|
71
|
+
margin-left: -5px;
|
|
72
|
+
}
|
|
73
|
+
.mds-tooltip-placement-top.light-mode .popper__arrow,
|
|
74
|
+
.mds-tooltip-placement-top-start.light-mode .popper__arrow,
|
|
75
|
+
.mds-tooltip-placement-top-end.light-mode .popper__arrow {
|
|
76
|
+
border-top-color: #ebeef5;
|
|
77
|
+
}
|
|
78
|
+
.mds-tooltip-placement-top.light-mode .popper__arrow::after,
|
|
79
|
+
.mds-tooltip-placement-top-start.light-mode .popper__arrow::after,
|
|
80
|
+
.mds-tooltip-placement-top-end.light-mode .popper__arrow::after {
|
|
81
|
+
border-top-color: #fff;
|
|
82
|
+
}
|
|
83
|
+
.mds-tooltip-placement-right .popper__arrow,
|
|
84
|
+
.mds-tooltip-placement-right-start .popper__arrow,
|
|
85
|
+
.mds-tooltip-placement-right-end .popper__arrow {
|
|
86
|
+
left: -6px;
|
|
87
|
+
border-width: 6px 6px 6px 0;
|
|
88
|
+
border-right-color: #354052;
|
|
89
|
+
}
|
|
90
|
+
.mds-tooltip-placement-right .popper__arrow::after,
|
|
91
|
+
.mds-tooltip-placement-right-start .popper__arrow::after,
|
|
92
|
+
.mds-tooltip-placement-right-end .popper__arrow::after {
|
|
93
|
+
left: 1px;
|
|
94
|
+
border-right-color: #354052;
|
|
95
|
+
border-width: 5px 5px 5px 0;
|
|
96
|
+
bottom: -5px;
|
|
97
|
+
}
|
|
98
|
+
.mds-tooltip-placement-right.light-mode .popper__arrow,
|
|
99
|
+
.mds-tooltip-placement-right-start.light-mode .popper__arrow,
|
|
100
|
+
.mds-tooltip-placement-right-end.light-mode .popper__arrow {
|
|
101
|
+
border-right-color: #ebeef5;
|
|
102
|
+
}
|
|
103
|
+
.mds-tooltip-placement-right.light-mode .popper__arrow::after,
|
|
104
|
+
.mds-tooltip-placement-right-start.light-mode .popper__arrow::after,
|
|
105
|
+
.mds-tooltip-placement-right-end.light-mode .popper__arrow::after {
|
|
106
|
+
border-right-color: #fff;
|
|
107
|
+
}
|
|
108
|
+
.mds-tooltip-placement-left .popper__arrow,
|
|
109
|
+
.mds-tooltip-placement-left-start .popper__arrow,
|
|
110
|
+
.mds-tooltip-placement-left-end .popper__arrow {
|
|
111
|
+
right: -6px;
|
|
112
|
+
border-width: 6px 0 6px 6px;
|
|
113
|
+
border-left-color: #354052;
|
|
114
|
+
}
|
|
115
|
+
.mds-tooltip-placement-left .popper__arrow::after,
|
|
116
|
+
.mds-tooltip-placement-left-start .popper__arrow::after,
|
|
117
|
+
.mds-tooltip-placement-left-end .popper__arrow::after {
|
|
118
|
+
right: 1px;
|
|
119
|
+
border-left-color: #354052;
|
|
120
|
+
border-width: 5px 0 5px 5px;
|
|
121
|
+
margin-left: -5px;
|
|
122
|
+
bottom: -5px;
|
|
123
|
+
}
|
|
124
|
+
.mds-tooltip-placement-left.light-mode .popper__arrow,
|
|
125
|
+
.mds-tooltip-placement-left-start.light-mode .popper__arrow,
|
|
126
|
+
.mds-tooltip-placement-left-end.light-mode .popper__arrow {
|
|
127
|
+
border-left-color: #ebeef5;
|
|
128
|
+
}
|
|
129
|
+
.mds-tooltip-placement-left.light-mode .popper__arrow::after,
|
|
130
|
+
.mds-tooltip-placement-left-start.light-mode .popper__arrow::after,
|
|
131
|
+
.mds-tooltip-placement-left-end.light-mode .popper__arrow::after {
|
|
132
|
+
border-left-color: #fff;
|
|
133
|
+
}
|
|
134
|
+
.mds-tooltip-placement-bottom .popper__arrow,
|
|
135
|
+
.mds-tooltip-placement-bottom-start .popper__arrow,
|
|
136
|
+
.mds-tooltip-placement-bottom-end .popper__arrow {
|
|
137
|
+
top: -6px;
|
|
138
|
+
border-width: 0 6px 6px;
|
|
139
|
+
border-bottom-color: #354052;
|
|
140
|
+
}
|
|
141
|
+
.mds-tooltip-placement-bottom .popper__arrow::after,
|
|
142
|
+
.mds-tooltip-placement-bottom-start .popper__arrow::after,
|
|
143
|
+
.mds-tooltip-placement-bottom-end .popper__arrow::after {
|
|
144
|
+
top: 1px;
|
|
145
|
+
border-top-color: #354052;
|
|
146
|
+
border-width: 0 5px 5px;
|
|
147
|
+
margin-left: -5px;
|
|
148
|
+
}
|
|
149
|
+
.mds-tooltip-placement-bottom.light-mode .popper__arrow,
|
|
150
|
+
.mds-tooltip-placement-bottom-start.light-mode .popper__arrow,
|
|
151
|
+
.mds-tooltip-placement-bottom-end.light-mode .popper__arrow {
|
|
152
|
+
border-bottom-color: #ebeef5;
|
|
153
|
+
}
|
|
154
|
+
.mds-tooltip-placement-bottom.light-mode .popper__arrow::after,
|
|
155
|
+
.mds-tooltip-placement-bottom-start.light-mode .popper__arrow::after,
|
|
156
|
+
.mds-tooltip-placement-bottom-end.light-mode .popper__arrow::after {
|
|
157
|
+
border-bottom-color: #fff;
|
|
158
|
+
}
|
|
159
|
+
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
|
|
160
|
+
/* stylelint-disable declaration-bang-space-before */
|
|
161
|
+
/* stylelint-disable declaration-bang-space-before */
|