dtable-ui-component 6.0.24-beta1 → 6.0.25

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.
Files changed (72) hide show
  1. package/lib/ActionSheet/index.js +194 -0
  2. package/lib/ActionSheet/style/index.css +365 -0
  3. package/lib/ActivityIndicator/index.css +108 -0
  4. package/lib/ActivityIndicator/index.js +76 -0
  5. package/lib/Badge/index.css +96 -0
  6. package/lib/Badge/index.js +65 -0
  7. package/lib/DateEditor/mb-date-editor-popover/index.js +3 -3
  8. package/lib/DatePicker/index.js +120 -0
  9. package/lib/DatePicker/locale/en_US.js +14 -0
  10. package/lib/DatePicker/locale/ru_RU.js +14 -0
  11. package/lib/DatePicker/locale/sv_SE.js +14 -0
  12. package/lib/DatePicker/locale/zh_CN.js +14 -0
  13. package/lib/DatePicker/style/index.css +290 -0
  14. package/lib/DatePicker/utils.js +36 -0
  15. package/lib/Drawer/index.css +142 -0
  16. package/lib/Drawer/index.js +21 -0
  17. package/lib/Icon/index.css +50 -0
  18. package/lib/Icon/index.js +34 -0
  19. package/lib/Icon/load-sprite.js +56 -0
  20. package/lib/InputItem/custom-input.js +321 -0
  21. package/lib/InputItem/custom-keyboard.js +162 -0
  22. package/lib/InputItem/index.js +388 -0
  23. package/lib/InputItem/input.js +45 -0
  24. package/lib/InputItem/locale/en_US.js +12 -0
  25. package/lib/InputItem/locale/ru_RU.js +12 -0
  26. package/lib/InputItem/locale/sv_SE.js +12 -0
  27. package/lib/InputItem/locale/zh_CN.js +12 -0
  28. package/lib/InputItem/portal.js +23 -0
  29. package/lib/InputItem/style/index.css +512 -0
  30. package/lib/List/index.css +381 -0
  31. package/lib/List/index.js +41 -0
  32. package/lib/List/list-item.js +169 -0
  33. package/lib/Modal/alert.js +82 -0
  34. package/lib/Modal/index.js +15 -0
  35. package/lib/Modal/modal.js +118 -0
  36. package/lib/Modal/operation.js +77 -0
  37. package/lib/Modal/prompt.js +207 -0
  38. package/lib/Picker/AbstractPicker.js +190 -0
  39. package/lib/Picker/index.js +28 -0
  40. package/lib/Picker/locale/en_US.js +12 -0
  41. package/lib/Picker/locale/ru_RU.js +12 -0
  42. package/lib/Picker/locale/sv_SE.js +12 -0
  43. package/lib/Picker/locale/zh_CN.js +12 -0
  44. package/lib/Picker/popupProps.js +12 -0
  45. package/lib/Picker/style/index.css +141 -0
  46. package/lib/Popover/index.js +62 -0
  47. package/lib/Popover/item.js +55 -0
  48. package/lib/Popover/style/index.css +229 -0
  49. package/lib/Progress/index.css +22 -0
  50. package/lib/Progress/index.js +65 -0
  51. package/lib/Radio/Radio.js +47 -0
  52. package/lib/Radio/RadioItem.js +57 -0
  53. package/lib/Radio/index.css +90 -0
  54. package/lib/Radio/index.js +12 -0
  55. package/lib/TabBar/Tab.js +76 -0
  56. package/lib/TabBar/index.css +138 -0
  57. package/lib/TabBar/index.js +128 -0
  58. package/lib/Tabs/index.css +443 -0
  59. package/lib/Tabs/index.js +38 -0
  60. package/lib/TextareaItem/index.css +231 -0
  61. package/lib/TextareaItem/index.js +231 -0
  62. package/lib/Toast/index.css +65 -0
  63. package/lib/Toast/index.js +131 -0
  64. package/lib/_util/class.js +34 -0
  65. package/lib/_util/closest.js +17 -0
  66. package/lib/_util/exenv.js +8 -0
  67. package/lib/_util/getDataAttr.js +15 -0
  68. package/lib/_util/getLocale.js +42 -0
  69. package/lib/index.js +103 -5
  70. package/lib/utils/utils.js +2 -3
  71. package/package.json +12 -3
  72. package/lib/BodyPortal/index.js +0 -29
@@ -0,0 +1,512 @@
1
+ .am-list-item .am-input-control .fake-input-container {
2
+ height: 30px;
3
+ line-height: 30px;
4
+ position: relative;
5
+ }
6
+
7
+ .am-list-item .am-input-control .fake-input-container .fake-input {
8
+ position: absolute;
9
+ top: 0;
10
+ left: 0;
11
+ width: 100%;
12
+ height: 100%;
13
+ margin-right: 5px;
14
+ -webkit-text-decoration: rtl;
15
+ text-decoration: rtl;
16
+ text-align: right;
17
+ color: #000;
18
+ font-size: 17px;
19
+ overflow: hidden;
20
+ text-overflow: ellipsis;
21
+ white-space: nowrap;
22
+ }
23
+
24
+ .am-list-item .am-input-control .fake-input-container .fake-input.fake-input-disabled {
25
+ color: #bbb;
26
+ }
27
+
28
+ .am-list-item .am-input-control .fake-input-container .fake-input.focus {
29
+ -webkit-transition: color .2s;
30
+ transition: color .2s;
31
+ }
32
+
33
+ .am-list-item .am-input-control .fake-input-container .fake-input.focus:after {
34
+ content: "";
35
+ position: absolute;
36
+ right: 0;
37
+ top: 10%;
38
+ height: 80%;
39
+ border-right: 1.5px solid #108ee9;
40
+ -webkit-animation: keyboard-cursor infinite 1s step-start;
41
+ animation: keyboard-cursor infinite 1s step-start;
42
+ }
43
+
44
+ .am-list-item .am-input-control .fake-input-container .fake-input-placeholder {
45
+ position: absolute;
46
+ top: 0;
47
+ left: 0;
48
+ width: 100%;
49
+ height: 100%;
50
+ color: #bbb;
51
+ text-align: right;
52
+ }
53
+
54
+ .am-list-item .am-input-control .fake-input-container-left .fake-input {
55
+ text-align: left;
56
+ }
57
+
58
+ .am-list-item .am-input-control .fake-input-container-left .fake-input.focus:after {
59
+ position: relative;
60
+ }
61
+
62
+ .am-list-item .am-input-control .fake-input-container-left .fake-input-placeholder {
63
+ text-align: left;
64
+ }
65
+
66
+ .am-number-keyboard-wrapper {
67
+ position: fixed;
68
+ bottom: 0;
69
+ left: 0;
70
+ right: 0;
71
+ width: 100%;
72
+ z-index: 10000;
73
+ font-family: 'PingFang SC';
74
+ background-color: #f6f6f7;
75
+ -webkit-transition-duration: 0.2s;
76
+ transition-duration: 0.2s;
77
+ -webkit-transition-property: -webkit-transform display;
78
+ transition-property: -webkit-transform display;
79
+ transition-property: transform display;
80
+ transition-property: transform display, -webkit-transform display;
81
+ -webkit-transform: translateZ(0);
82
+ transform: translateZ(0);
83
+ padding-bottom: env(safe-area-inset-bottom);
84
+ }
85
+
86
+ .am-number-keyboard-wrapper.am-number-keyboard-wrapper-hide {
87
+ bottom: -500px;
88
+ }
89
+
90
+ .am-number-keyboard-wrapper table {
91
+ width: 100%;
92
+ padding: 0;
93
+ margin: 0;
94
+ border-collapse: collapse;
95
+ border-top: 1PX solid #ddd;
96
+ }
97
+
98
+ @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
99
+ html:not([data-scale]) .am-number-keyboard-wrapper table {
100
+ border-top: none;
101
+ }
102
+
103
+ html:not([data-scale]) .am-number-keyboard-wrapper table::before {
104
+ content: '';
105
+ position: absolute;
106
+ background-color: #ddd;
107
+ display: block;
108
+ z-index: 1;
109
+ top: 0;
110
+ right: auto;
111
+ bottom: auto;
112
+ left: 0;
113
+ width: 100%;
114
+ height: 1PX;
115
+ -webkit-transform-origin: 50% 50%;
116
+ -ms-transform-origin: 50% 50%;
117
+ transform-origin: 50% 50%;
118
+ -webkit-transform: scaleY(0.5);
119
+ -ms-transform: scaleY(0.5);
120
+ transform: scaleY(0.5);
121
+ }
122
+ }
123
+
124
+ @media (-webkit-min-device-pixel-ratio: 2) and (-webkit-min-device-pixel-ratio: 3), (min-resolution: 2dppx) and (min-resolution: 3dppx) {
125
+ html:not([data-scale]) .am-number-keyboard-wrapper table::before {
126
+ -webkit-transform: scaleY(0.33);
127
+ -ms-transform: scaleY(0.33);
128
+ transform: scaleY(0.33);
129
+ }
130
+ }
131
+
132
+ .am-number-keyboard-wrapper table tr {
133
+ width: 100%;
134
+ padding: 0;
135
+ margin: 0;
136
+ }
137
+
138
+ .am-number-keyboard-wrapper table tr .am-number-keyboard-item {
139
+ width: 25%;
140
+ padding: 0;
141
+ margin: 0;
142
+ height: 50px;
143
+ text-align: center;
144
+ font-size: 25.5px;
145
+ color: #2a2b2c;
146
+ position: relative;
147
+ }
148
+
149
+ .am-number-keyboard-wrapper table tr .am-number-keyboard-item:not(.keyboard-confirm) {
150
+ border-left: 1PX solid #ddd;
151
+ border-bottom: 1PX solid #ddd;
152
+ }
153
+
154
+ @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
155
+ html:not([data-scale]) .am-number-keyboard-wrapper table tr .am-number-keyboard-item:not(.keyboard-confirm) {
156
+ border-left: none;
157
+ }
158
+
159
+ html:not([data-scale]) .am-number-keyboard-wrapper table tr .am-number-keyboard-item:not(.keyboard-confirm)::before {
160
+ content: '';
161
+ position: absolute;
162
+ background-color: #ddd;
163
+ display: block;
164
+ z-index: 1;
165
+ top: 0;
166
+ right: auto;
167
+ bottom: auto;
168
+ left: 0;
169
+ width: 1PX;
170
+ height: 100%;
171
+ -webkit-transform-origin: 100% 50%;
172
+ -ms-transform-origin: 100% 50%;
173
+ transform-origin: 100% 50%;
174
+ -webkit-transform: scaleX(0.5);
175
+ -ms-transform: scaleX(0.5);
176
+ transform: scaleX(0.5);
177
+ }
178
+ }
179
+
180
+ @media (-webkit-min-device-pixel-ratio: 2) and (-webkit-min-device-pixel-ratio: 3), (min-resolution: 2dppx) and (min-resolution: 3dppx) {
181
+ html:not([data-scale]) .am-number-keyboard-wrapper table tr .am-number-keyboard-item:not(.keyboard-confirm)::before {
182
+ -webkit-transform: scaleX(0.33);
183
+ -ms-transform: scaleX(0.33);
184
+ transform: scaleX(0.33);
185
+ }
186
+ }
187
+
188
+ @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
189
+ html:not([data-scale]) .am-number-keyboard-wrapper table tr .am-number-keyboard-item:not(.keyboard-confirm) {
190
+ border-bottom: none;
191
+ }
192
+
193
+ html:not([data-scale]) .am-number-keyboard-wrapper table tr .am-number-keyboard-item:not(.keyboard-confirm)::after {
194
+ content: '';
195
+ position: absolute;
196
+ background-color: #ddd;
197
+ display: block;
198
+ z-index: 1;
199
+ top: auto;
200
+ right: auto;
201
+ bottom: 0;
202
+ left: 0;
203
+ width: 100%;
204
+ height: 1PX;
205
+ -webkit-transform-origin: 50% 100%;
206
+ -ms-transform-origin: 50% 100%;
207
+ transform-origin: 50% 100%;
208
+ -webkit-transform: scaleY(0.5);
209
+ -ms-transform: scaleY(0.5);
210
+ transform: scaleY(0.5);
211
+ }
212
+ }
213
+
214
+ @media (-webkit-min-device-pixel-ratio: 2) and (-webkit-min-device-pixel-ratio: 3), (min-resolution: 2dppx) and (min-resolution: 3dppx) {
215
+ html:not([data-scale]) .am-number-keyboard-wrapper table tr .am-number-keyboard-item:not(.keyboard-confirm)::after {
216
+ -webkit-transform: scaleY(0.33);
217
+ -ms-transform: scaleY(0.33);
218
+ transform: scaleY(0.33);
219
+ }
220
+ }
221
+
222
+ .am-number-keyboard-wrapper table tr .am-number-keyboard-item.am-number-keyboard-item-active {
223
+ background-color: #ddd;
224
+ }
225
+
226
+ .am-number-keyboard-wrapper table tr .am-number-keyboard-item.keyboard-confirm {
227
+ color: #fff;
228
+ font-size: 21px;
229
+ background-color: #108ee9;
230
+ border-bottom: 1PX solid #ddd;
231
+ }
232
+
233
+ @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
234
+ html:not([data-scale]) .am-number-keyboard-wrapper table tr .am-number-keyboard-item.keyboard-confirm {
235
+ border-bottom: none;
236
+ }
237
+
238
+ html:not([data-scale]) .am-number-keyboard-wrapper table tr .am-number-keyboard-item.keyboard-confirm::after {
239
+ content: '';
240
+ position: absolute;
241
+ background-color: #ddd;
242
+ display: block;
243
+ z-index: 1;
244
+ top: auto;
245
+ right: auto;
246
+ bottom: 0;
247
+ left: 0;
248
+ width: 100%;
249
+ height: 1PX;
250
+ -webkit-transform-origin: 50% 100%;
251
+ -ms-transform-origin: 50% 100%;
252
+ transform-origin: 50% 100%;
253
+ -webkit-transform: scaleY(0.5);
254
+ -ms-transform: scaleY(0.5);
255
+ transform: scaleY(0.5);
256
+ }
257
+ }
258
+
259
+ @media (-webkit-min-device-pixel-ratio: 2) and (-webkit-min-device-pixel-ratio: 3), (min-resolution: 2dppx) and (min-resolution: 3dppx) {
260
+ html:not([data-scale]) .am-number-keyboard-wrapper table tr .am-number-keyboard-item.keyboard-confirm::after {
261
+ -webkit-transform: scaleY(0.33);
262
+ -ms-transform: scaleY(0.33);
263
+ transform: scaleY(0.33);
264
+ }
265
+ }
266
+
267
+ .am-number-keyboard-wrapper table tr .am-number-keyboard-item.keyboard-confirm.am-number-keyboard-item-active {
268
+ background-color: #0e80d2;
269
+ }
270
+
271
+ .am-number-keyboard-wrapper table tr .am-number-keyboard-item.keyboard-confirm.am-number-keyboard-item-disabled {
272
+ background-color: #0e80d2;
273
+ color: rgba(255, 255, 255, 0.45);
274
+ }
275
+
276
+ .am-number-keyboard-wrapper table tr .am-number-keyboard-item.keyboard-delete {
277
+ background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20version%3D%221%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22204%22%20height%3D%22148%22%20viewBox%3D%220%200%20153.000000%20111.000000%22%3E%3Cpath%20d%3D%22M46.9%204.7c-2.5%202.6-14.1%2015.5-25.8%2028.6L-.1%2057l25.6%2027%2025.7%2027.1%2047.4-.3%2047.4-.3%203.2-3.3%203.3-3.2V7l-3.3-3.2L146%20.5%2098.7.2%2051.5-.1l-4.6%204.8zm97.9%203.5c1.7%201.7%201.7%2092.9%200%2094.6-.9.9-12.6%201.2-46.3%201.2H53.4L31.2%2080.4%209%2056.9l5.1-5.7c2.8-3.1%2012.8-14.4%2022.2-24.9L53.5%207h45c33.8%200%2045.4.3%2046.3%201.2z%22%2F%3E%3Cpath%20d%3D%22M69.5%2031c-1.9%202.1-1.7%202.2%209.3%2013.3L90%2055.5%2078.8%2066.7%2067.5%2078l2.3%202.2%202.2%202.3%2011.3-11.3L94.5%2060l11.2%2011.2L117%2082.5l2.2-2.3%202.3-2.2-11.3-11.3L99%2055.5l11.2-11.2L121.5%2033l-2.3-2.2-2.2-2.3-11.3%2011.3L94.5%2051l-11-11c-6-6-11.2-11-11.6-11-.3%200-1.4.9-2.4%202z%22%2F%3E%3C%2Fsvg%3E");
278
+ background-size: 25.5px 18.5px;
279
+ background-position: 50% 50%;
280
+ background-repeat: no-repeat;
281
+ }
282
+
283
+ .am-number-keyboard-wrapper table tr .am-number-keyboard-item.keyboard-hide {
284
+ background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20version%3D%221%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22260%22%20height%3D%22188%22%20viewBox%3D%220%200%20195.000000%20141.000000%22%3E%3Cpath%20d%3D%22M0%2057v57h195V0H0v57zm183%200v45H12V12h171v45z%22%2F%3E%3Cpath%20d%3D%22M21%2031.5V39h15V24H21v7.5zM48%2031.5V39h15V24H48v7.5zM75%2031.5V39h15V24H75v7.5zM102%2031.5V39h15V24h-15v7.5zM129%2031.5V39h15V24h-15v7.5zM156%2031.5V39h15V24h-15v7.5zM36%2055.5V63h15V48H36v7.5zM63%2055.5V63h15V48H63v7.5zM90%2055.5V63h15V48H90v7.5zM117%2055.5V63h15V48h-15v7.5zM144%2055.5V63h15V48h-15v7.5zM27%2079.5V87h15V72H27v7.5zM48%2079.5V87h96V72H48v7.5zM150%2079.5V87h15V72h-15v7.5zM81%20124.5c0%20.8.7%201.5%201.5%201.5s1.5.7%201.5%201.5.7%201.5%201.5%201.5%201.5.7%201.5%201.5.7%201.5%201.5%201.5%201.5.7%201.5%201.5.7%201.5%201.5%201.5%201.5.7%201.5%201.5.7%201.5%201.5%201.5%201.5.7%201.5%201.5.7%201.5%201.5%201.5%201.5-.7%201.5-1.5.7-1.5%201.5-1.5%201.5-.7%201.5-1.5.7-1.5%201.5-1.5%201.5-.7%201.5-1.5.7-1.5%201.5-1.5%201.5-.7%201.5-1.5.7-1.5%201.5-1.5%201.5-.7%201.5-1.5.7-1.5%201.5-1.5%201.5-.7%201.5-1.5c0-1.3-2.5-1.5-16.5-1.5s-16.5.2-16.5%201.5z%22%2F%3E%3C%2Fsvg%3E");
285
+ background-size: 32.5px 23.5px;
286
+ background-position: 50% 50%;
287
+ background-repeat: no-repeat;
288
+ }
289
+
290
+ .am-number-keyboard-wrapper table tr .am-number-keyboard-item-disabled {
291
+ color: #bbb;
292
+ }
293
+
294
+ @-webkit-keyframes keyboard-cursor {
295
+ 0% {
296
+ opacity: 1;
297
+ }
298
+
299
+ 50% {
300
+ opacity: 0;
301
+ }
302
+
303
+ to {
304
+ opacity: 1;
305
+ }
306
+ }
307
+
308
+ @keyframes keyboard-cursor {
309
+ 0% {
310
+ opacity: 1;
311
+ }
312
+
313
+ 50% {
314
+ opacity: 0;
315
+ }
316
+
317
+ to {
318
+ opacity: 1;
319
+ }
320
+ }
321
+
322
+ .am-list-item.am-input-item {
323
+ height: 44px;
324
+ padding-left: 15px;
325
+ }
326
+
327
+ .am-list-item:not(:last-child) .am-list-line {
328
+ border-bottom: 1PX solid #ddd;
329
+ }
330
+
331
+ @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
332
+ html:not([data-scale]) .am-list-item:not(:last-child) .am-list-line {
333
+ border-bottom: none;
334
+ }
335
+
336
+ html:not([data-scale]) .am-list-item:not(:last-child) .am-list-line::after {
337
+ content: '';
338
+ position: absolute;
339
+ background-color: #ddd;
340
+ display: block;
341
+ z-index: 1;
342
+ top: auto;
343
+ right: auto;
344
+ bottom: 0;
345
+ left: 0;
346
+ width: 100%;
347
+ height: 1PX;
348
+ -webkit-transform-origin: 50% 100%;
349
+ -ms-transform-origin: 50% 100%;
350
+ transform-origin: 50% 100%;
351
+ -webkit-transform: scaleY(0.5);
352
+ -ms-transform: scaleY(0.5);
353
+ transform: scaleY(0.5);
354
+ }
355
+ }
356
+
357
+ @media (-webkit-min-device-pixel-ratio: 2) and (-webkit-min-device-pixel-ratio: 3), (min-resolution: 2dppx) and (min-resolution: 3dppx) {
358
+ html:not([data-scale]) .am-list-item:not(:last-child) .am-list-line::after {
359
+ -webkit-transform: scaleY(0.33);
360
+ -ms-transform: scaleY(0.33);
361
+ transform: scaleY(0.33);
362
+ }
363
+ }
364
+
365
+ .am-list-item .am-input-label {
366
+ color: #000;
367
+ font-size: 17px;
368
+ margin-left: 0;
369
+ margin-right: 5px;
370
+ text-align: left;
371
+ white-space: nowrap;
372
+ overflow: hidden;
373
+ padding: 2px 0;
374
+ }
375
+
376
+ .am-list-item .am-input-label.am-input-label-2 {
377
+ width: 34px;
378
+ }
379
+
380
+ .am-list-item .am-input-label.am-input-label-3 {
381
+ width: 51px;
382
+ }
383
+
384
+ .am-list-item .am-input-label.am-input-label-4 {
385
+ width: 68px;
386
+ }
387
+
388
+ .am-list-item .am-input-label.am-input-label-5 {
389
+ width: 85px;
390
+ }
391
+
392
+ .am-list-item .am-input-label.am-input-label-6 {
393
+ width: 102px;
394
+ }
395
+
396
+ .am-list-item .am-input-label.am-input-label-7 {
397
+ width: 119px;
398
+ }
399
+
400
+ .am-list-item .am-input-control {
401
+ font-size: 17px;
402
+ -webkit-box-flex: 1;
403
+ -webkit-flex: 1;
404
+ -ms-flex: 1;
405
+ flex: 1;
406
+ }
407
+
408
+ .am-list-item .am-input-control input {
409
+ color: #000;
410
+ font-size: 17px;
411
+ -webkit-appearance: none;
412
+ -moz-appearance: none;
413
+ appearance: none;
414
+ width: 100%;
415
+ padding: 2px 0;
416
+ border: 0;
417
+ background-color: transparent;
418
+ line-height: 1;
419
+ -webkit-box-sizing: border-box;
420
+ box-sizing: border-box;
421
+ }
422
+
423
+ .am-list-item .am-input-control input::-webkit-input-placeholder {
424
+ color: #bbb;
425
+ line-height: 1.2;
426
+ }
427
+
428
+ .am-list-item .am-input-control input::-moz-placeholder {
429
+ color: #bbb;
430
+ line-height: 1.2;
431
+ }
432
+
433
+ .am-list-item .am-input-control input::-ms-input-placeholder {
434
+ color: #bbb;
435
+ line-height: 1.2;
436
+ }
437
+
438
+ .am-list-item .am-input-control input::placeholder {
439
+ color: #bbb;
440
+ line-height: 1.2;
441
+ }
442
+
443
+ .am-list-item .am-input-control input:disabled {
444
+ color: #bbb;
445
+ background-color: #fff;
446
+ }
447
+
448
+ .am-list-item .am-input-clear {
449
+ display: none;
450
+ width: 21px;
451
+ height: 21px;
452
+ border-radius: 50%;
453
+ overflow: hidden;
454
+ font-style: normal;
455
+ color: #fff;
456
+ background-color: #ccc;
457
+ background-repeat: no-repeat;
458
+ background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20fill%3D'%23fff'%20viewBox%3D'0%200%2030%2030'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M19%206.41L17.59%205%2012%2010.59%206.41%205%205%206.41%2010.59%2012%205%2017.59%206.41%2019%2012%2013.41%2017.59%2019%2019%2017.59%2013.41%2012z'%2F%3E%3Cpath%20d%3D'M0%200h24v24H0z'%20fill%3D'none'%2F%3E%3C%2Fsvg%3E");
459
+ background-size: 21px auto;
460
+ background-position: 2px 2px;
461
+ }
462
+
463
+ .am-list-item .am-input-clear-active {
464
+ background-color: #108ee9;
465
+ }
466
+
467
+ .am-list-item.am-input-focus .am-input-clear {
468
+ display: block;
469
+ }
470
+
471
+ .am-list-item .am-input-extra {
472
+ -webkit-box-flex: initial;
473
+ -webkit-flex: initial;
474
+ -ms-flex: initial;
475
+ flex: initial;
476
+ min-width: 0;
477
+ max-height: 21px;
478
+ overflow: hidden;
479
+ padding-right: 0;
480
+ line-height: 1;
481
+ color: #888;
482
+ font-size: 15px;
483
+ margin-left: 5px;
484
+ }
485
+
486
+ .am-list-item.am-input-error .am-input-control input {
487
+ color: #f50;
488
+ }
489
+
490
+ .am-list-item.am-input-error .am-input-error-extra {
491
+ height: 21px;
492
+ width: 21px;
493
+ margin-left: 6px;
494
+ background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D'18'%20height%3D'18'%20viewBox%3D'0%200%2018%2018'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cg%20stroke%3D'none'%20stroke-width%3D'1'%20fill%3D'none'%20fill-rule%3D'evenodd'%3E%3Cg%20transform%3D'translate(-300.000000%2C%20-1207.000000)'%20fill%3D'%23FF5500'%3E%3Cg%20id%3D'exclamation-circle-o'%20transform%3D'translate(300.000000%2C%201207.000000)'%3E%3Cpath%20d%3D'M9%2C16.734375%20C10.0441406%2C16.734375%2011.0566406%2C16.5304688%2012.009375%2C16.1279297%20C12.9304688%2C15.7376953%2013.7566406%2C15.1804687%2014.4685547%2C14.4703125%20C15.1787109%2C13.7601563%2015.7376953%2C12.9322266%2016.1261719%2C12.0111328%20C16.5304688%2C11.0566406%2016.734375%2C10.0441406%2016.734375%2C9%20C16.734375%2C7.95585938%2016.5304688%2C6.94335938%2016.1279297%2C5.990625%20C15.7376953%2C5.06953125%2015.1804687%2C4.24335938%2014.4703125%2C3.53144531%20C13.7601563%2C2.82128906%2012.9322266%2C2.26230469%2012.0111328%2C1.87382813%20C11.0566406%2C1.46953125%2010.0441406%2C1.265625%209%2C1.265625%20C7.95585938%2C1.265625%206.94335938%2C1.46953125%205.990625%2C1.87207031%20C5.06953125%2C2.26230469%204.24335938%2C2.81953125%203.53144531%2C3.5296875%20C2.82128906%2C4.23984375%202.26230469%2C5.06777344%201.87382813%2C5.98886719%20C1.46953125%2C6.94335938%201.265625%2C7.95585938%201.265625%2C9%20C1.265625%2C10.0441406%201.46953125%2C11.0566406%201.87207031%2C12.009375%20C2.26230469%2C12.9304688%202.81953125%2C13.7566406%203.5296875%2C14.4685547%20C4.23984375%2C15.1787109%205.06777344%2C15.7376953%205.98886719%2C16.1261719%20C6.94335938%2C16.5304688%207.95585938%2C16.734375%209%2C16.734375%20L9%2C16.734375%20Z%20M9%2C18%20C4.02890625%2C18%200%2C13.9710937%200%2C9%20C0%2C4.02890625%204.02890625%2C0%209%2C0%20C13.9710937%2C0%2018%2C4.02890625%2018%2C9%20C18%2C13.9710937%2013.9710937%2C18%209%2C18%20L9%2C18%20L9%2C18%20Z%20M9%2C6.75%20C8.61152344%2C6.75%208.296875%2C7.06464844%208.296875%2C7.453125%20L8.296875%2C13.9394531%20C8.296875%2C14.3279297%208.61152344%2C14.6425781%209%2C14.6425781%20C9.38847656%2C14.6425781%209.703125%2C14.3279297%209.703125%2C13.9394531%20L9.703125%2C7.453125%20C9.703125%2C7.06464844%209.38847656%2C6.75%209%2C6.75%20L9%2C6.75%20Z%20M8.20898438%2C4.83398438%20C8.20898438%2C5.27085024%208.56313413%2C5.625%209%2C5.625%20C9.43686587%2C5.625%209.79101562%2C5.27085024%209.79101562%2C4.83398438%20C9.79101562%2C4.39711851%209.43686587%2C4.04296875%209%2C4.04296875%20C8.56313413%2C4.04296875%208.20898438%2C4.39711851%208.20898438%2C4.83398438%20L8.20898438%2C4.83398438%20Z'%20id%3D'Shape'%20transform%3D'translate(9.000000%2C%209.000000)%20scale(1%2C%20-1)%20translate(-9.000000%2C%20-9.000000)%20'%3E%3C%2Fpath%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E");
495
+ background-size: 21px auto;
496
+ }
497
+
498
+ .am-list-item.am-input-disabled .am-input-label {
499
+ color: #bbb;
500
+ }
501
+
502
+ .sr-only {
503
+ position: absolute;
504
+ width: 1px;
505
+ height: 1px;
506
+ padding: 0;
507
+ margin: -1px;
508
+ overflow: hidden;
509
+ clip: rect(0, 0, 0, 0);
510
+ white-space: nowrap;
511
+ border: 0;
512
+ }