@qn-pandora/pandora-component 3.1.1 → 4.0.1
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/CHANGELOG.json +24 -7
- package/CHANGELOG.md +16 -7
- package/README.md +36 -36
- package/es/components/AutoComplete/style.css +25 -29
- package/es/components/AutoComplete/style.less +8 -8
- package/es/components/Breadcrumb/style.less +9 -9
- package/es/components/Button/index.d.ts +0 -8
- package/es/components/Button/index.js +4 -4
- package/es/components/Button/style.css +100 -104
- package/es/components/Button/style.less +51 -62
- package/es/components/Card/RowExtra/style.less +8 -8
- package/es/components/Card/SearchInput/style.less +8 -8
- package/es/components/Card/style.css +28 -2
- package/es/components/Card/style.less +11 -11
- package/es/components/CheckTransformList/style.css +50 -21
- package/es/components/CheckTransformList/style.less +35 -35
- package/es/components/Checkbox/style.css +1 -1
- package/es/components/Checkbox/style.less +5 -5
- package/es/components/CheckboxList/index.d.ts +2 -0
- package/es/components/CheckboxList/index.js +2 -2
- package/es/components/CheckboxList/style.css +5 -3
- package/es/components/CheckboxList/style.less +11 -9
- package/es/components/Collapse/style.css +16 -12
- package/es/components/Collapse/style.less +57 -57
- package/es/components/CollapsiblePanel/style.css +4 -4
- package/es/components/CollapsiblePanel/style.less +63 -63
- package/es/components/DateTimePicker/Base/style.css +378 -49
- package/es/components/DateTimePicker/Base/style.less +160 -164
- package/es/components/DateTimePicker/BaseMobile/Absolute/style.less +35 -35
- package/es/components/DateTimePicker/BaseMobile/style.css +4 -4
- package/es/components/DateTimePicker/BaseMobile/style.less +32 -32
- package/es/components/DateTimePicker/Collapse/Panel/style.less +26 -26
- package/es/components/DateTimePicker/DisplayInput/style.css +47 -16
- package/es/components/DateTimePicker/DisplayInput/style.less +9 -9
- package/es/components/DateTimePicker/constants.d.ts +1 -1
- package/es/components/DateTimePicker/constants.js +17 -6
- package/es/components/DateTimePicker/index.js +1 -1
- package/es/components/DateTimePicker/style.css +7 -7
- package/es/components/DateTimePicker/style.less +19 -17
- package/es/components/DateTimePicker/transform.d.ts +4 -0
- package/es/components/DateTimePicker/transform.js +52 -0
- package/es/components/Drawer/index.d.ts +55 -2
- package/es/components/Drawer/index.js +3 -1
- package/es/components/Drawer/style.css +45 -45
- package/es/components/Drawer/style.less +17 -17
- package/es/components/Input/index.d.ts +1 -2
- package/es/components/Input/index.js +0 -2
- package/es/components/Input/style.css +47 -16
- package/es/components/Input/style.less +12 -12
- package/es/components/InputNumber/index.d.ts +1 -8
- package/es/components/InputNumber/index.js +1 -35
- package/es/components/KeyValuePair/style.less +21 -21
- package/es/components/Menu/Option.d.ts +10 -0
- package/es/components/Menu/Option.js +18 -2
- package/es/components/Menu/index.d.ts +1 -1
- package/es/components/Menu/index.js +3 -3
- package/es/components/Menu/style.css +20 -10
- package/es/components/Menu/style.less +18 -8
- package/es/components/Modal/style.less +30 -30
- package/es/components/NameExplainTooltip/style.less +10 -10
- package/es/components/NameLimiter/style.css +2 -4
- package/es/components/NameLimiter/style.less +19 -21
- package/es/components/OptionList/InlineOptionList/style.less +16 -16
- package/es/components/OptionList/OptionItem/style.css +2 -2
- package/es/components/OptionList/OptionItem/style.less +25 -25
- package/es/components/OptionList/PopoverOptionList/style.less +30 -30
- package/es/components/OptionList/style.css +2 -2
- package/es/components/OptionList/style.less +3 -3
- package/es/components/RadioGroup/style.css +8 -8
- package/es/components/RadioGroup/style.less +32 -32
- package/es/components/RangeInput/style.css +427 -27
- package/es/components/RangeInput/style.less +37 -37
- package/es/components/RemarkName/style.css +2 -4
- package/es/components/RemarkName/style.less +2 -2
- package/es/components/Selector/style.css +25 -29
- package/es/components/Selector/style.less +99 -100
- package/es/components/Spin/style.css +0 -1
- package/es/components/Spin/style.less +26 -26
- package/es/components/Steps/ControlButton/style.less +5 -5
- package/es/components/Steps/style.css +8 -6
- package/es/components/Steps/style.less +48 -46
- package/es/components/Table/ColumnTag/style.less +40 -40
- package/es/components/Table/index.js +7 -4
- package/es/components/Table/style.css +85 -27
- package/es/components/Table/style.less +306 -313
- package/es/components/Tabs/style.css +29 -1
- package/es/components/Tabs/style.less +33 -31
- package/es/components/TagList/Tag/style.less +72 -72
- package/es/components/TagList/TagSwitch/style.less +28 -28
- package/es/components/TagList/style.css +10 -10
- package/es/components/TagList/style.less +28 -28
- package/es/components/Timeline/TimelineItem/style.less +49 -49
- package/es/components/Timeline/style.less +23 -23
- package/es/components/Transfer/List/index.js +3 -3
- package/es/components/Transfer/List/style.css +3 -0
- package/es/components/Transfer/List/style.less +19 -15
- package/es/components/Transfer/ListBody/style.less +18 -18
- package/es/components/Transfer/style.css +3 -0
- package/es/components/Transfer/style.less +14 -14
- package/es/components/TreeSelector/style.css +64 -20
- package/es/components/TreeSelector/style.less +56 -54
- package/es/hoc/popContainer.d.ts +5 -0
- package/es/hoc/popContainer.js +37 -0
- package/es/index.css +3011 -2517
- package/es/index.d.ts +1 -1
- package/es/index.less +49 -50
- package/es/style/mixin.less +45 -45
- package/es/style/theme.less +389 -379
- package/lib/components/AutoComplete/style.css +25 -29
- package/lib/components/AutoComplete/style.less +8 -8
- package/lib/components/Breadcrumb/style.less +9 -9
- package/lib/components/Button/index.d.ts +0 -8
- package/lib/components/Button/index.js +4 -4
- package/lib/components/Button/style.css +100 -104
- package/lib/components/Button/style.less +51 -62
- package/lib/components/Card/RowExtra/style.less +8 -8
- package/lib/components/Card/SearchInput/style.less +8 -8
- package/lib/components/Card/style.css +28 -2
- package/lib/components/Card/style.less +11 -11
- package/lib/components/CheckTransformList/style.css +50 -21
- package/lib/components/CheckTransformList/style.less +35 -35
- package/lib/components/Checkbox/style.css +1 -1
- package/lib/components/Checkbox/style.less +5 -5
- package/lib/components/CheckboxList/index.d.ts +2 -0
- package/lib/components/CheckboxList/index.js +2 -2
- package/lib/components/CheckboxList/style.css +5 -3
- package/lib/components/CheckboxList/style.less +11 -9
- package/lib/components/Collapse/style.css +16 -12
- package/lib/components/Collapse/style.less +57 -57
- package/lib/components/CollapsiblePanel/style.css +4 -4
- package/lib/components/CollapsiblePanel/style.less +63 -63
- package/lib/components/DateTimePicker/Base/style.css +378 -49
- package/lib/components/DateTimePicker/Base/style.less +160 -164
- package/lib/components/DateTimePicker/BaseMobile/Absolute/style.less +35 -35
- package/lib/components/DateTimePicker/BaseMobile/style.css +4 -4
- package/lib/components/DateTimePicker/BaseMobile/style.less +32 -32
- package/lib/components/DateTimePicker/Collapse/Panel/style.less +26 -26
- package/lib/components/DateTimePicker/DisplayInput/style.css +47 -16
- package/lib/components/DateTimePicker/DisplayInput/style.less +9 -9
- package/lib/components/DateTimePicker/constants.d.ts +1 -1
- package/lib/components/DateTimePicker/constants.js +17 -6
- package/lib/components/DateTimePicker/index.js +1 -1
- package/lib/components/DateTimePicker/style.css +7 -7
- package/lib/components/DateTimePicker/style.less +19 -17
- package/lib/components/DateTimePicker/transform.d.ts +4 -0
- package/lib/components/DateTimePicker/transform.js +53 -0
- package/lib/components/Drawer/index.d.ts +55 -2
- package/lib/components/Drawer/index.js +3 -1
- package/lib/components/Drawer/style.css +45 -45
- package/lib/components/Drawer/style.less +17 -17
- package/lib/components/Input/index.d.ts +1 -2
- package/lib/components/Input/index.js +0 -2
- package/lib/components/Input/style.css +47 -16
- package/lib/components/Input/style.less +12 -12
- package/lib/components/InputNumber/index.d.ts +1 -8
- package/lib/components/InputNumber/index.js +1 -38
- package/lib/components/KeyValuePair/style.less +21 -21
- package/lib/components/Menu/Option.d.ts +10 -0
- package/lib/components/Menu/Option.js +18 -2
- package/lib/components/Menu/index.d.ts +1 -1
- package/lib/components/Menu/index.js +3 -3
- package/lib/components/Menu/style.css +20 -10
- package/lib/components/Menu/style.less +18 -8
- package/lib/components/Modal/style.less +30 -30
- package/lib/components/NameExplainTooltip/style.less +10 -10
- package/lib/components/NameLimiter/style.css +2 -4
- package/lib/components/NameLimiter/style.less +19 -21
- package/lib/components/OptionList/InlineOptionList/style.less +16 -16
- package/lib/components/OptionList/OptionItem/style.css +2 -2
- package/lib/components/OptionList/OptionItem/style.less +25 -25
- package/lib/components/OptionList/PopoverOptionList/style.less +30 -30
- package/lib/components/OptionList/style.css +2 -2
- package/lib/components/OptionList/style.less +3 -3
- package/lib/components/RadioGroup/style.css +8 -8
- package/lib/components/RadioGroup/style.less +32 -32
- package/lib/components/RangeInput/style.css +427 -27
- package/lib/components/RangeInput/style.less +37 -37
- package/lib/components/RemarkName/style.css +2 -4
- package/lib/components/RemarkName/style.less +2 -2
- package/lib/components/Selector/style.css +25 -29
- package/lib/components/Selector/style.less +99 -100
- package/lib/components/Spin/style.css +0 -1
- package/lib/components/Spin/style.less +26 -26
- package/lib/components/Steps/ControlButton/style.less +5 -5
- package/lib/components/Steps/style.css +8 -6
- package/lib/components/Steps/style.less +48 -46
- package/lib/components/Table/ColumnTag/style.less +40 -40
- package/lib/components/Table/index.js +6 -3
- package/lib/components/Table/style.css +85 -27
- package/lib/components/Table/style.less +306 -313
- package/lib/components/Tabs/style.css +29 -1
- package/lib/components/Tabs/style.less +33 -31
- package/lib/components/TagList/Tag/style.less +72 -72
- package/lib/components/TagList/TagSwitch/style.less +28 -28
- package/lib/components/TagList/style.css +10 -10
- package/lib/components/TagList/style.less +28 -28
- package/lib/components/Timeline/TimelineItem/style.less +49 -49
- package/lib/components/Timeline/style.less +23 -23
- package/lib/components/Transfer/List/index.js +3 -3
- package/lib/components/Transfer/List/style.css +3 -0
- package/lib/components/Transfer/List/style.less +19 -15
- package/lib/components/Transfer/ListBody/style.less +18 -18
- package/lib/components/Transfer/style.css +3 -0
- package/lib/components/Transfer/style.less +14 -14
- package/lib/components/TreeSelector/style.css +64 -20
- package/lib/components/TreeSelector/style.less +56 -54
- package/lib/hoc/popContainer.d.ts +5 -0
- package/lib/hoc/popContainer.js +47 -0
- package/lib/index.css +5102 -4608
- package/lib/index.d.ts +1 -1
- package/lib/index.less +49 -50
- package/lib/style/mixin.less +45 -45
- package/lib/style/theme.less +389 -379
- package/package.json +79 -108
- package/es/components/Input/NumberInput/index.d.ts +0 -29
- package/es/components/Input/NumberInput/index.js +0 -116
- package/es/components/InputNumber/style.css +0 -400
- package/es/components/InputNumber/style.less +0 -45
- package/lib/components/Input/NumberInput/index.d.ts +0 -29
- package/lib/components/Input/NumberInput/index.js +0 -121
- package/lib/components/InputNumber/style.css +0 -400
- package/lib/components/InputNumber/style.less +0 -45
@@ -17,6 +17,7 @@
|
|
17
17
|
border-radius: 2px;
|
18
18
|
-webkit-transition: all 0.3s;
|
19
19
|
transition: all 0.3s;
|
20
|
+
/* stylelint-disable-next-line selector-no-vendor-prefix */
|
20
21
|
display: -webkit-inline-box;
|
21
22
|
display: -ms-inline-flexbox;
|
22
23
|
display: inline-flex;
|
@@ -26,12 +27,20 @@
|
|
26
27
|
}
|
27
28
|
.ant-input-affix-wrapper::-webkit-input-placeholder {
|
28
29
|
color: #bfbfbf;
|
30
|
+
-webkit-user-select: none;
|
31
|
+
user-select: none;
|
29
32
|
}
|
30
33
|
.ant-input-affix-wrapper::-ms-input-placeholder {
|
31
34
|
color: #bfbfbf;
|
35
|
+
-ms-user-select: none;
|
36
|
+
user-select: none;
|
32
37
|
}
|
33
38
|
.ant-input-affix-wrapper::placeholder {
|
34
39
|
color: #bfbfbf;
|
40
|
+
-webkit-user-select: none;
|
41
|
+
-moz-user-select: none;
|
42
|
+
-ms-user-select: none;
|
43
|
+
user-select: none;
|
35
44
|
}
|
36
45
|
.ant-input-affix-wrapper:placeholder-shown {
|
37
46
|
text-overflow: ellipsis;
|
@@ -46,11 +55,11 @@
|
|
46
55
|
}
|
47
56
|
.ant-input-affix-wrapper:focus,
|
48
57
|
.ant-input-affix-wrapper-focused {
|
49
|
-
border-color: #
|
58
|
+
border-color: #9ca0a6;
|
59
|
+
-webkit-box-shadow: 0 0 0 2px rgba(122, 134, 154, 0.2);
|
60
|
+
box-shadow: 0 0 0 2px rgba(122, 134, 154, 0.2);
|
50
61
|
border-right-width: 1px !important;
|
51
62
|
outline: 0;
|
52
|
-
-webkit-box-shadow: 0 0 0 2px rgba(44, 109, 210, 0.2);
|
53
|
-
box-shadow: 0 0 0 2px rgba(44, 109, 210, 0.2);
|
54
63
|
}
|
55
64
|
.ant-input-rtl .ant-input-affix-wrapper:focus,
|
56
65
|
.ant-input-rtl .ant-input-affix-wrapper-focused {
|
@@ -60,6 +69,9 @@
|
|
60
69
|
.ant-input-affix-wrapper-disabled {
|
61
70
|
color: rgba(0, 0, 0, 0.25);
|
62
71
|
background-color: #f5f5f5;
|
72
|
+
border-color: #bfbfbf;
|
73
|
+
-webkit-box-shadow: none;
|
74
|
+
box-shadow: none;
|
63
75
|
cursor: not-allowed;
|
64
76
|
opacity: 1;
|
65
77
|
}
|
@@ -70,6 +82,9 @@
|
|
70
82
|
.ant-input-affix-wrapper[disabled] {
|
71
83
|
color: rgba(0, 0, 0, 0.25);
|
72
84
|
background-color: #f5f5f5;
|
85
|
+
border-color: #bfbfbf;
|
86
|
+
-webkit-box-shadow: none;
|
87
|
+
box-shadow: none;
|
73
88
|
cursor: not-allowed;
|
74
89
|
opacity: 1;
|
75
90
|
}
|
@@ -159,7 +174,7 @@ textarea.ant-input-affix-wrapper {
|
|
159
174
|
margin-left: 4px;
|
160
175
|
}
|
161
176
|
.anticon.ant-input-clear-icon {
|
162
|
-
margin: 0
|
177
|
+
margin: 0;
|
163
178
|
color: rgba(0, 0, 0, 0.25);
|
164
179
|
font-size: 12px;
|
165
180
|
vertical-align: -1px;
|
@@ -176,8 +191,8 @@ textarea.ant-input-affix-wrapper {
|
|
176
191
|
.anticon.ant-input-clear-icon-hidden {
|
177
192
|
visibility: hidden;
|
178
193
|
}
|
179
|
-
.anticon.ant-input-clear-icon
|
180
|
-
margin
|
194
|
+
.anticon.ant-input-clear-icon-has-suffix {
|
195
|
+
margin: 0 4px;
|
181
196
|
}
|
182
197
|
.ant-input-affix-wrapper-textarea-with-clear-btn {
|
183
198
|
padding: 0 !important;
|
@@ -213,18 +228,27 @@ textarea.ant-input-affix-wrapper {
|
|
213
228
|
border-radius: 2px;
|
214
229
|
-webkit-transition: all 0.3s;
|
215
230
|
transition: all 0.3s;
|
231
|
+
/* stylelint-disable-next-line selector-no-vendor-prefix */
|
216
232
|
}
|
217
233
|
.ant-input::-moz-placeholder {
|
218
234
|
opacity: 1;
|
219
235
|
}
|
220
236
|
.ant-input::-webkit-input-placeholder {
|
221
237
|
color: #bfbfbf;
|
238
|
+
-webkit-user-select: none;
|
239
|
+
user-select: none;
|
222
240
|
}
|
223
241
|
.ant-input::-ms-input-placeholder {
|
224
242
|
color: #bfbfbf;
|
243
|
+
-ms-user-select: none;
|
244
|
+
user-select: none;
|
225
245
|
}
|
226
246
|
.ant-input::placeholder {
|
227
247
|
color: #bfbfbf;
|
248
|
+
-webkit-user-select: none;
|
249
|
+
-moz-user-select: none;
|
250
|
+
-ms-user-select: none;
|
251
|
+
user-select: none;
|
228
252
|
}
|
229
253
|
.ant-input:placeholder-shown {
|
230
254
|
text-overflow: ellipsis;
|
@@ -239,11 +263,11 @@ textarea.ant-input-affix-wrapper {
|
|
239
263
|
}
|
240
264
|
.ant-input:focus,
|
241
265
|
.ant-input-focused {
|
242
|
-
border-color: #
|
266
|
+
border-color: #9ca0a6;
|
267
|
+
-webkit-box-shadow: 0 0 0 2px rgba(122, 134, 154, 0.2);
|
268
|
+
box-shadow: 0 0 0 2px rgba(122, 134, 154, 0.2);
|
243
269
|
border-right-width: 1px !important;
|
244
270
|
outline: 0;
|
245
|
-
-webkit-box-shadow: 0 0 0 2px rgba(44, 109, 210, 0.2);
|
246
|
-
box-shadow: 0 0 0 2px rgba(44, 109, 210, 0.2);
|
247
271
|
}
|
248
272
|
.ant-input-rtl .ant-input:focus,
|
249
273
|
.ant-input-rtl .ant-input-focused {
|
@@ -253,6 +277,9 @@ textarea.ant-input-affix-wrapper {
|
|
253
277
|
.ant-input-disabled {
|
254
278
|
color: rgba(0, 0, 0, 0.25);
|
255
279
|
background-color: #f5f5f5;
|
280
|
+
border-color: #bfbfbf;
|
281
|
+
-webkit-box-shadow: none;
|
282
|
+
box-shadow: none;
|
256
283
|
cursor: not-allowed;
|
257
284
|
opacity: 1;
|
258
285
|
}
|
@@ -263,6 +290,9 @@ textarea.ant-input-affix-wrapper {
|
|
263
290
|
.ant-input[disabled] {
|
264
291
|
color: rgba(0, 0, 0, 0.25);
|
265
292
|
background-color: #f5f5f5;
|
293
|
+
border-color: #bfbfbf;
|
294
|
+
-webkit-box-shadow: none;
|
295
|
+
box-shadow: none;
|
266
296
|
cursor: not-allowed;
|
267
297
|
opacity: 1;
|
268
298
|
}
|
@@ -450,10 +480,6 @@ textarea.ant-input {
|
|
450
480
|
.ant-input-group-sm .ant-select-single .ant-select-selector {
|
451
481
|
height: 26px;
|
452
482
|
}
|
453
|
-
.ant-input-group .ant-input-affix-wrapper:not(:first-child) {
|
454
|
-
border-top-left-radius: 0;
|
455
|
-
border-bottom-left-radius: 0;
|
456
|
-
}
|
457
483
|
.ant-input-group .ant-input-affix-wrapper:not(:last-child) {
|
458
484
|
border-top-right-radius: 0;
|
459
485
|
border-bottom-right-radius: 0;
|
@@ -462,6 +488,11 @@ textarea.ant-input {
|
|
462
488
|
border-top-left-radius: 2px;
|
463
489
|
border-bottom-left-radius: 2px;
|
464
490
|
}
|
491
|
+
.ant-input-group .ant-input-affix-wrapper:not(:first-child),
|
492
|
+
.ant-input-search .ant-input-group .ant-input-affix-wrapper:not(:first-child) {
|
493
|
+
border-top-left-radius: 0;
|
494
|
+
border-bottom-left-radius: 0;
|
495
|
+
}
|
465
496
|
.ant-input-group.ant-input-group-compact {
|
466
497
|
display: block;
|
467
498
|
}
|
@@ -716,9 +747,9 @@ textarea.ant-input {
|
|
716
747
|
.ant-input-textarea-rtl.ant-input-textarea-show-count::after {
|
717
748
|
text-align: left;
|
718
749
|
}
|
719
|
-
.ant-input-affix-wrapper-rtl .ant-input-clear-icon
|
720
|
-
margin-right:
|
721
|
-
margin-left:
|
750
|
+
.ant-input-affix-wrapper-rtl .ant-input-clear-icon-has-suffix {
|
751
|
+
margin-right: 0;
|
752
|
+
margin-left: 4px;
|
722
753
|
}
|
723
754
|
.ant-input-affix-wrapper-rtl .ant-input-clear-icon {
|
724
755
|
right: auto;
|
@@ -777,6 +808,7 @@ textarea.ant-input {
|
|
777
808
|
border: 1px solid #bfbfbf;
|
778
809
|
-webkit-transition: all 0.3s;
|
779
810
|
transition: all 0.3s;
|
811
|
+
/* stylelint-disable-next-line selector-no-vendor-prefix */
|
780
812
|
display: inline-block;
|
781
813
|
width: 90px;
|
782
814
|
margin: 0;
|
@@ -789,12 +821,20 @@ textarea.ant-input {
|
|
789
821
|
}
|
790
822
|
.ant-input-number::-webkit-input-placeholder {
|
791
823
|
color: #bfbfbf;
|
824
|
+
-webkit-user-select: none;
|
825
|
+
user-select: none;
|
792
826
|
}
|
793
827
|
.ant-input-number::-ms-input-placeholder {
|
794
828
|
color: #bfbfbf;
|
829
|
+
-ms-user-select: none;
|
830
|
+
user-select: none;
|
795
831
|
}
|
796
832
|
.ant-input-number::placeholder {
|
797
833
|
color: #bfbfbf;
|
834
|
+
-webkit-user-select: none;
|
835
|
+
-moz-user-select: none;
|
836
|
+
-ms-user-select: none;
|
837
|
+
user-select: none;
|
798
838
|
}
|
799
839
|
.ant-input-number:placeholder-shown {
|
800
840
|
text-overflow: ellipsis;
|
@@ -809,11 +849,11 @@ textarea.ant-input {
|
|
809
849
|
}
|
810
850
|
.ant-input-number:focus,
|
811
851
|
.ant-input-number-focused {
|
812
|
-
border-color: #
|
852
|
+
border-color: #9ca0a6;
|
853
|
+
-webkit-box-shadow: 0 0 0 2px rgba(122, 134, 154, 0.2);
|
854
|
+
box-shadow: 0 0 0 2px rgba(122, 134, 154, 0.2);
|
813
855
|
border-right-width: 1px !important;
|
814
856
|
outline: 0;
|
815
|
-
-webkit-box-shadow: 0 0 0 2px rgba(44, 109, 210, 0.2);
|
816
|
-
box-shadow: 0 0 0 2px rgba(44, 109, 210, 0.2);
|
817
857
|
}
|
818
858
|
.ant-input-rtl .ant-input-number:focus,
|
819
859
|
.ant-input-rtl .ant-input-number-focused {
|
@@ -823,6 +863,9 @@ textarea.ant-input {
|
|
823
863
|
.ant-input-number-disabled {
|
824
864
|
color: rgba(0, 0, 0, 0.25);
|
825
865
|
background-color: #f5f5f5;
|
866
|
+
border-color: #bfbfbf;
|
867
|
+
-webkit-box-shadow: none;
|
868
|
+
box-shadow: none;
|
826
869
|
cursor: not-allowed;
|
827
870
|
opacity: 1;
|
828
871
|
}
|
@@ -833,6 +876,9 @@ textarea.ant-input {
|
|
833
876
|
.ant-input-number[disabled] {
|
834
877
|
color: rgba(0, 0, 0, 0.25);
|
835
878
|
background-color: #f5f5f5;
|
879
|
+
border-color: #bfbfbf;
|
880
|
+
-webkit-box-shadow: none;
|
881
|
+
box-shadow: none;
|
836
882
|
cursor: not-allowed;
|
837
883
|
opacity: 1;
|
838
884
|
}
|
@@ -870,6 +916,327 @@ textarea.ant-input-number {
|
|
870
916
|
.ant-input-number-rtl {
|
871
917
|
direction: rtl;
|
872
918
|
}
|
919
|
+
.ant-input-number-group {
|
920
|
+
-webkit-box-sizing: border-box;
|
921
|
+
box-sizing: border-box;
|
922
|
+
margin: 0;
|
923
|
+
padding: 0;
|
924
|
+
color: rgba(0, 0, 0, 0.65);
|
925
|
+
font-size: 14px;
|
926
|
+
font-variant: tabular-nums;
|
927
|
+
line-height: 1.5715;
|
928
|
+
list-style: none;
|
929
|
+
-webkit-font-feature-settings: 'tnum';
|
930
|
+
font-feature-settings: 'tnum';
|
931
|
+
position: relative;
|
932
|
+
display: table;
|
933
|
+
width: 100%;
|
934
|
+
border-collapse: separate;
|
935
|
+
border-spacing: 0;
|
936
|
+
}
|
937
|
+
.ant-input-number-group[class*='col-'] {
|
938
|
+
float: none;
|
939
|
+
padding-right: 0;
|
940
|
+
padding-left: 0;
|
941
|
+
}
|
942
|
+
.ant-input-number-group > [class*='col-'] {
|
943
|
+
padding-right: 8px;
|
944
|
+
}
|
945
|
+
.ant-input-number-group > [class*='col-']:last-child {
|
946
|
+
padding-right: 0;
|
947
|
+
}
|
948
|
+
.ant-input-number-group-addon,
|
949
|
+
.ant-input-number-group-wrap,
|
950
|
+
.ant-input-number-group > .ant-input-number {
|
951
|
+
display: table-cell;
|
952
|
+
}
|
953
|
+
.ant-input-number-group-addon:not(:first-child):not(:last-child),
|
954
|
+
.ant-input-number-group-wrap:not(:first-child):not(:last-child),
|
955
|
+
.ant-input-number-group > .ant-input-number:not(:first-child):not(:last-child) {
|
956
|
+
border-radius: 0;
|
957
|
+
}
|
958
|
+
.ant-input-number-group-addon,
|
959
|
+
.ant-input-number-group-wrap {
|
960
|
+
width: 1px;
|
961
|
+
white-space: nowrap;
|
962
|
+
vertical-align: middle;
|
963
|
+
}
|
964
|
+
.ant-input-number-group-wrap > * {
|
965
|
+
display: block !important;
|
966
|
+
}
|
967
|
+
.ant-input-number-group .ant-input-number {
|
968
|
+
float: left;
|
969
|
+
width: 100%;
|
970
|
+
margin-bottom: 0;
|
971
|
+
text-align: inherit;
|
972
|
+
}
|
973
|
+
.ant-input-number-group .ant-input-number:focus {
|
974
|
+
z-index: 1;
|
975
|
+
border-right-width: 1px;
|
976
|
+
}
|
977
|
+
.ant-input-number-group .ant-input-number:hover {
|
978
|
+
z-index: 1;
|
979
|
+
border-right-width: 1px;
|
980
|
+
}
|
981
|
+
.ant-input-search-with-button .ant-input-number-group .ant-input-number:hover {
|
982
|
+
z-index: 0;
|
983
|
+
}
|
984
|
+
.ant-input-number-group-addon {
|
985
|
+
position: relative;
|
986
|
+
padding: 0 11px;
|
987
|
+
color: #333333;
|
988
|
+
font-weight: normal;
|
989
|
+
font-size: 14px;
|
990
|
+
text-align: center;
|
991
|
+
background-color: #fafafa;
|
992
|
+
border: 1px solid #bfbfbf;
|
993
|
+
border-radius: 2px;
|
994
|
+
-webkit-transition: all 0.3s;
|
995
|
+
transition: all 0.3s;
|
996
|
+
}
|
997
|
+
.ant-input-number-group-addon .ant-select {
|
998
|
+
margin: -5px -11px;
|
999
|
+
}
|
1000
|
+
.ant-input-number-group-addon .ant-select.ant-select-single:not(.ant-select-customize-input) .ant-select-selector {
|
1001
|
+
background-color: inherit;
|
1002
|
+
border: 1px solid transparent;
|
1003
|
+
-webkit-box-shadow: none;
|
1004
|
+
box-shadow: none;
|
1005
|
+
}
|
1006
|
+
.ant-input-number-group-addon .ant-select-open .ant-select-selector,
|
1007
|
+
.ant-input-number-group-addon .ant-select-focused .ant-select-selector {
|
1008
|
+
color: #7a869a;
|
1009
|
+
}
|
1010
|
+
.ant-input-number-group-addon .ant-cascader-picker {
|
1011
|
+
margin: -9px -12px;
|
1012
|
+
background-color: transparent;
|
1013
|
+
}
|
1014
|
+
.ant-input-number-group-addon .ant-cascader-picker .ant-cascader-input {
|
1015
|
+
text-align: left;
|
1016
|
+
border: 0;
|
1017
|
+
-webkit-box-shadow: none;
|
1018
|
+
box-shadow: none;
|
1019
|
+
}
|
1020
|
+
.ant-input-number-group > .ant-input-number:first-child,
|
1021
|
+
.ant-input-number-group-addon:first-child {
|
1022
|
+
border-top-right-radius: 0;
|
1023
|
+
border-bottom-right-radius: 0;
|
1024
|
+
}
|
1025
|
+
.ant-input-number-group > .ant-input-number:first-child .ant-select .ant-select-selector,
|
1026
|
+
.ant-input-number-group-addon:first-child .ant-select .ant-select-selector {
|
1027
|
+
border-top-right-radius: 0;
|
1028
|
+
border-bottom-right-radius: 0;
|
1029
|
+
}
|
1030
|
+
.ant-input-number-group > .ant-input-number-affix-wrapper:not(:first-child) .ant-input-number {
|
1031
|
+
border-top-left-radius: 0;
|
1032
|
+
border-bottom-left-radius: 0;
|
1033
|
+
}
|
1034
|
+
.ant-input-number-group > .ant-input-number-affix-wrapper:not(:last-child) .ant-input-number {
|
1035
|
+
border-top-right-radius: 0;
|
1036
|
+
border-bottom-right-radius: 0;
|
1037
|
+
}
|
1038
|
+
.ant-input-number-group-addon:first-child {
|
1039
|
+
border-right: 0;
|
1040
|
+
}
|
1041
|
+
.ant-input-number-group-addon:last-child {
|
1042
|
+
border-left: 0;
|
1043
|
+
}
|
1044
|
+
.ant-input-number-group > .ant-input-number:last-child,
|
1045
|
+
.ant-input-number-group-addon:last-child {
|
1046
|
+
border-top-left-radius: 0;
|
1047
|
+
border-bottom-left-radius: 0;
|
1048
|
+
}
|
1049
|
+
.ant-input-number-group > .ant-input-number:last-child .ant-select .ant-select-selector,
|
1050
|
+
.ant-input-number-group-addon:last-child .ant-select .ant-select-selector {
|
1051
|
+
border-top-left-radius: 0;
|
1052
|
+
border-bottom-left-radius: 0;
|
1053
|
+
}
|
1054
|
+
.ant-input-number-group-lg .ant-input-number,
|
1055
|
+
.ant-input-number-group-lg > .ant-input-number-group-addon {
|
1056
|
+
padding: 6.5px 11px;
|
1057
|
+
font-size: 16px;
|
1058
|
+
}
|
1059
|
+
.ant-input-number-group-sm .ant-input-number,
|
1060
|
+
.ant-input-number-group-sm > .ant-input-number-group-addon {
|
1061
|
+
padding: 1px 7px;
|
1062
|
+
}
|
1063
|
+
.ant-input-number-group-lg .ant-select-single .ant-select-selector {
|
1064
|
+
height: 40px;
|
1065
|
+
}
|
1066
|
+
.ant-input-number-group-sm .ant-select-single .ant-select-selector {
|
1067
|
+
height: 26px;
|
1068
|
+
}
|
1069
|
+
.ant-input-number-group .ant-input-number-affix-wrapper:not(:last-child) {
|
1070
|
+
border-top-right-radius: 0;
|
1071
|
+
border-bottom-right-radius: 0;
|
1072
|
+
}
|
1073
|
+
.ant-input-search .ant-input-number-group .ant-input-number-affix-wrapper:not(:last-child) {
|
1074
|
+
border-top-left-radius: 2px;
|
1075
|
+
border-bottom-left-radius: 2px;
|
1076
|
+
}
|
1077
|
+
.ant-input-number-group .ant-input-number-affix-wrapper:not(:first-child),
|
1078
|
+
.ant-input-search .ant-input-number-group .ant-input-number-affix-wrapper:not(:first-child) {
|
1079
|
+
border-top-left-radius: 0;
|
1080
|
+
border-bottom-left-radius: 0;
|
1081
|
+
}
|
1082
|
+
.ant-input-number-group.ant-input-number-group-compact {
|
1083
|
+
display: block;
|
1084
|
+
}
|
1085
|
+
.ant-input-number-group.ant-input-number-group-compact::before {
|
1086
|
+
display: table;
|
1087
|
+
content: '';
|
1088
|
+
}
|
1089
|
+
.ant-input-number-group.ant-input-number-group-compact::after {
|
1090
|
+
display: table;
|
1091
|
+
clear: both;
|
1092
|
+
content: '';
|
1093
|
+
}
|
1094
|
+
.ant-input-number-group.ant-input-number-group-compact-addon:not(:first-child):not(:last-child),
|
1095
|
+
.ant-input-number-group.ant-input-number-group-compact-wrap:not(:first-child):not(:last-child),
|
1096
|
+
.ant-input-number-group.ant-input-number-group-compact > .ant-input-number:not(:first-child):not(:last-child) {
|
1097
|
+
border-right-width: 1px;
|
1098
|
+
}
|
1099
|
+
.ant-input-number-group.ant-input-number-group-compact-addon:not(:first-child):not(:last-child):hover,
|
1100
|
+
.ant-input-number-group.ant-input-number-group-compact-wrap:not(:first-child):not(:last-child):hover,
|
1101
|
+
.ant-input-number-group.ant-input-number-group-compact > .ant-input-number:not(:first-child):not(:last-child):hover {
|
1102
|
+
z-index: 1;
|
1103
|
+
}
|
1104
|
+
.ant-input-number-group.ant-input-number-group-compact-addon:not(:first-child):not(:last-child):focus,
|
1105
|
+
.ant-input-number-group.ant-input-number-group-compact-wrap:not(:first-child):not(:last-child):focus,
|
1106
|
+
.ant-input-number-group.ant-input-number-group-compact > .ant-input-number:not(:first-child):not(:last-child):focus {
|
1107
|
+
z-index: 1;
|
1108
|
+
}
|
1109
|
+
.ant-input-number-group.ant-input-number-group-compact > * {
|
1110
|
+
display: inline-block;
|
1111
|
+
float: none;
|
1112
|
+
vertical-align: top;
|
1113
|
+
border-radius: 0;
|
1114
|
+
}
|
1115
|
+
.ant-input-number-group.ant-input-number-group-compact > .ant-input-number-affix-wrapper {
|
1116
|
+
display: -webkit-inline-box;
|
1117
|
+
display: -ms-inline-flexbox;
|
1118
|
+
display: inline-flex;
|
1119
|
+
}
|
1120
|
+
.ant-input-number-group.ant-input-number-group-compact > .ant-picker-range {
|
1121
|
+
display: -webkit-inline-box;
|
1122
|
+
display: -ms-inline-flexbox;
|
1123
|
+
display: inline-flex;
|
1124
|
+
}
|
1125
|
+
.ant-input-number-group.ant-input-number-group-compact > *:not(:last-child) {
|
1126
|
+
margin-right: -1px;
|
1127
|
+
border-right-width: 1px;
|
1128
|
+
}
|
1129
|
+
.ant-input-number-group.ant-input-number-group-compact .ant-input-number {
|
1130
|
+
float: none;
|
1131
|
+
}
|
1132
|
+
.ant-input-number-group.ant-input-number-group-compact > .ant-select > .ant-select-selector,
|
1133
|
+
.ant-input-number-group.ant-input-number-group-compact > .ant-select-auto-complete .ant-input,
|
1134
|
+
.ant-input-number-group.ant-input-number-group-compact > .ant-cascader-picker .ant-input,
|
1135
|
+
.ant-input-number-group.ant-input-number-group-compact > .ant-input-group-wrapper .ant-input {
|
1136
|
+
border-right-width: 1px;
|
1137
|
+
border-radius: 0;
|
1138
|
+
}
|
1139
|
+
.ant-input-number-group.ant-input-number-group-compact > .ant-select > .ant-select-selector:hover,
|
1140
|
+
.ant-input-number-group.ant-input-number-group-compact > .ant-select-auto-complete .ant-input:hover,
|
1141
|
+
.ant-input-number-group.ant-input-number-group-compact > .ant-cascader-picker .ant-input:hover,
|
1142
|
+
.ant-input-number-group.ant-input-number-group-compact > .ant-input-group-wrapper .ant-input:hover {
|
1143
|
+
z-index: 1;
|
1144
|
+
}
|
1145
|
+
.ant-input-number-group.ant-input-number-group-compact > .ant-select > .ant-select-selector:focus,
|
1146
|
+
.ant-input-number-group.ant-input-number-group-compact > .ant-select-auto-complete .ant-input:focus,
|
1147
|
+
.ant-input-number-group.ant-input-number-group-compact > .ant-cascader-picker .ant-input:focus,
|
1148
|
+
.ant-input-number-group.ant-input-number-group-compact > .ant-input-group-wrapper .ant-input:focus {
|
1149
|
+
z-index: 1;
|
1150
|
+
}
|
1151
|
+
.ant-input-number-group.ant-input-number-group-compact > .ant-select-focused {
|
1152
|
+
z-index: 1;
|
1153
|
+
}
|
1154
|
+
.ant-input-number-group.ant-input-number-group-compact > .ant-select > .ant-select-arrow {
|
1155
|
+
z-index: 1;
|
1156
|
+
}
|
1157
|
+
.ant-input-number-group.ant-input-number-group-compact > *:first-child,
|
1158
|
+
.ant-input-number-group.ant-input-number-group-compact > .ant-select:first-child > .ant-select-selector,
|
1159
|
+
.ant-input-number-group.ant-input-number-group-compact > .ant-select-auto-complete:first-child .ant-input,
|
1160
|
+
.ant-input-number-group.ant-input-number-group-compact > .ant-cascader-picker:first-child .ant-input {
|
1161
|
+
border-top-left-radius: 2px;
|
1162
|
+
border-bottom-left-radius: 2px;
|
1163
|
+
}
|
1164
|
+
.ant-input-number-group.ant-input-number-group-compact > *:last-child,
|
1165
|
+
.ant-input-number-group.ant-input-number-group-compact > .ant-select:last-child > .ant-select-selector,
|
1166
|
+
.ant-input-number-group.ant-input-number-group-compact > .ant-cascader-picker:last-child .ant-input,
|
1167
|
+
.ant-input-number-group.ant-input-number-group-compact > .ant-cascader-picker-focused:last-child .ant-input {
|
1168
|
+
border-right-width: 1px;
|
1169
|
+
border-top-right-radius: 2px;
|
1170
|
+
border-bottom-right-radius: 2px;
|
1171
|
+
}
|
1172
|
+
.ant-input-number-group.ant-input-number-group-compact > .ant-select-auto-complete .ant-input {
|
1173
|
+
vertical-align: top;
|
1174
|
+
}
|
1175
|
+
.ant-input-number-group.ant-input-number-group-compact .ant-input-group-wrapper + .ant-input-group-wrapper {
|
1176
|
+
margin-left: -1px;
|
1177
|
+
}
|
1178
|
+
.ant-input-number-group.ant-input-number-group-compact .ant-input-group-wrapper + .ant-input-group-wrapper .ant-input-affix-wrapper {
|
1179
|
+
border-radius: 0;
|
1180
|
+
}
|
1181
|
+
.ant-input-number-group.ant-input-number-group-compact .ant-input-group-wrapper:not(:last-child).ant-input-search > .ant-input-group > .ant-input-group-addon > .ant-input-search-button {
|
1182
|
+
border-radius: 0;
|
1183
|
+
}
|
1184
|
+
.ant-input-number-group.ant-input-number-group-compact .ant-input-group-wrapper:not(:last-child).ant-input-search > .ant-input-group > .ant-input {
|
1185
|
+
border-radius: 2px 0 0 2px;
|
1186
|
+
}
|
1187
|
+
.ant-input-number-group > .ant-input-number-rtl:first-child,
|
1188
|
+
.ant-input-number-group-rtl .ant-input-number-group-addon:first-child {
|
1189
|
+
border-radius: 0 2px 2px 0;
|
1190
|
+
}
|
1191
|
+
.ant-input-number-group-rtl .ant-input-number-group-addon:first-child {
|
1192
|
+
border-right: 1px solid #bfbfbf;
|
1193
|
+
border-left: 0;
|
1194
|
+
}
|
1195
|
+
.ant-input-number-group-rtl .ant-input-number-group-addon:last-child {
|
1196
|
+
border-right: 0;
|
1197
|
+
border-left: 1px solid #bfbfbf;
|
1198
|
+
}
|
1199
|
+
.ant-input-number-group-rtl.ant-input-number-group > .ant-input-number:last-child,
|
1200
|
+
.ant-input-number-group-rtl.ant-input-number-group-addon:last-child {
|
1201
|
+
border-radius: 2px 0 0 2px;
|
1202
|
+
}
|
1203
|
+
.ant-input-number-group-rtl.ant-input-number-group .ant-input-number-affix-wrapper:not(:first-child) {
|
1204
|
+
border-radius: 2px 0 0 2px;
|
1205
|
+
}
|
1206
|
+
.ant-input-number-group-rtl.ant-input-number-group .ant-input-number-affix-wrapper:not(:last-child) {
|
1207
|
+
border-radius: 0 2px 2px 0;
|
1208
|
+
}
|
1209
|
+
.ant-input-number-group-rtl.ant-input-number-group.ant-input-number-group-compact > *:not(:last-child) {
|
1210
|
+
margin-right: 0;
|
1211
|
+
margin-left: -1px;
|
1212
|
+
border-left-width: 1px;
|
1213
|
+
}
|
1214
|
+
.ant-input-number-group-rtl.ant-input-number-group.ant-input-number-group-compact > *:first-child,
|
1215
|
+
.ant-input-number-group-rtl.ant-input-number-group.ant-input-number-group-compact > .ant-select:first-child > .ant-select-selector,
|
1216
|
+
.ant-input-number-group-rtl.ant-input-number-group.ant-input-number-group-compact > .ant-select-auto-complete:first-child .ant-input,
|
1217
|
+
.ant-input-number-group-rtl.ant-input-number-group.ant-input-number-group-compact > .ant-cascader-picker:first-child .ant-input {
|
1218
|
+
border-radius: 0 2px 2px 0;
|
1219
|
+
}
|
1220
|
+
.ant-input-number-group-rtl.ant-input-number-group.ant-input-number-group-compact > *:last-child,
|
1221
|
+
.ant-input-number-group-rtl.ant-input-number-group.ant-input-number-group-compact > .ant-select:last-child > .ant-select-selector,
|
1222
|
+
.ant-input-number-group-rtl.ant-input-number-group.ant-input-number-group-compact > .ant-select-auto-complete:last-child .ant-input,
|
1223
|
+
.ant-input-number-group-rtl.ant-input-number-group.ant-input-number-group-compact > .ant-cascader-picker:last-child .ant-input,
|
1224
|
+
.ant-input-number-group-rtl.ant-input-number-group.ant-input-number-group-compact > .ant-cascader-picker-focused:last-child .ant-input {
|
1225
|
+
border-left-width: 1px;
|
1226
|
+
border-radius: 2px 0 0 2px;
|
1227
|
+
}
|
1228
|
+
.ant-input-number-group.ant-input-number-group-compact .ant-input-group-wrapper-rtl + .ant-input-group-wrapper-rtl {
|
1229
|
+
margin-right: -1px;
|
1230
|
+
margin-left: 0;
|
1231
|
+
}
|
1232
|
+
.ant-input-number-group.ant-input-number-group-compact .ant-input-group-wrapper-rtl:not(:last-child).ant-input-search > .ant-input-group > .ant-input {
|
1233
|
+
border-radius: 0 2px 2px 0;
|
1234
|
+
}
|
1235
|
+
.ant-input-number-group-wrapper {
|
1236
|
+
display: inline-block;
|
1237
|
+
text-align: start;
|
1238
|
+
vertical-align: top;
|
1239
|
+
}
|
873
1240
|
.ant-input-number-handler {
|
874
1241
|
position: relative;
|
875
1242
|
display: block;
|
@@ -944,11 +1311,11 @@ textarea.ant-input-number {
|
|
944
1311
|
transition: opacity 0.24s linear 0.24s;
|
945
1312
|
}
|
946
1313
|
.ant-input-number-focused {
|
947
|
-
border-color: #
|
1314
|
+
border-color: #9ca0a6;
|
1315
|
+
-webkit-box-shadow: 0 0 0 2px rgba(122, 134, 154, 0.2);
|
1316
|
+
box-shadow: 0 0 0 2px rgba(122, 134, 154, 0.2);
|
948
1317
|
border-right-width: 1px !important;
|
949
1318
|
outline: 0;
|
950
|
-
-webkit-box-shadow: 0 0 0 2px rgba(44, 109, 210, 0.2);
|
951
|
-
box-shadow: 0 0 0 2px rgba(44, 109, 210, 0.2);
|
952
1319
|
}
|
953
1320
|
.ant-input-rtl .ant-input-number-focused {
|
954
1321
|
border-right-width: 0;
|
@@ -957,6 +1324,9 @@ textarea.ant-input-number {
|
|
957
1324
|
.ant-input-number-disabled {
|
958
1325
|
color: rgba(0, 0, 0, 0.25);
|
959
1326
|
background-color: #f5f5f5;
|
1327
|
+
border-color: #bfbfbf;
|
1328
|
+
-webkit-box-shadow: none;
|
1329
|
+
box-shadow: none;
|
960
1330
|
cursor: not-allowed;
|
961
1331
|
opacity: 1;
|
962
1332
|
}
|
@@ -984,19 +1354,30 @@ textarea.ant-input-number {
|
|
984
1354
|
outline: 0;
|
985
1355
|
-webkit-transition: all 0.3s linear;
|
986
1356
|
transition: all 0.3s linear;
|
987
|
-
-
|
1357
|
+
-webkit-appearance: textfield !important;
|
1358
|
+
-moz-appearance: textfield !important;
|
1359
|
+
appearance: textfield !important;
|
1360
|
+
/* stylelint-disable-next-line selector-no-vendor-prefix */
|
988
1361
|
}
|
989
1362
|
.ant-input-number-input::-moz-placeholder {
|
990
1363
|
opacity: 1;
|
991
1364
|
}
|
992
1365
|
.ant-input-number-input::-webkit-input-placeholder {
|
993
1366
|
color: #bfbfbf;
|
1367
|
+
-webkit-user-select: none;
|
1368
|
+
user-select: none;
|
994
1369
|
}
|
995
1370
|
.ant-input-number-input::-ms-input-placeholder {
|
996
1371
|
color: #bfbfbf;
|
1372
|
+
-ms-user-select: none;
|
1373
|
+
user-select: none;
|
997
1374
|
}
|
998
1375
|
.ant-input-number-input::placeholder {
|
999
1376
|
color: #bfbfbf;
|
1377
|
+
-webkit-user-select: none;
|
1378
|
+
-moz-user-select: none;
|
1379
|
+
-ms-user-select: none;
|
1380
|
+
user-select: none;
|
1000
1381
|
}
|
1001
1382
|
.ant-input-number-input:placeholder-shown {
|
1002
1383
|
text-overflow: ellipsis;
|
@@ -1004,7 +1385,9 @@ textarea.ant-input-number {
|
|
1004
1385
|
.ant-input-number-input[type='number']::-webkit-inner-spin-button,
|
1005
1386
|
.ant-input-number-input[type='number']::-webkit-outer-spin-button {
|
1006
1387
|
margin: 0;
|
1388
|
+
/* stylelint-disable-next-line property-no-vendor-prefix */
|
1007
1389
|
-webkit-appearance: none;
|
1390
|
+
appearance: none;
|
1008
1391
|
}
|
1009
1392
|
.ant-input-number-lg {
|
1010
1393
|
padding: 0;
|
@@ -1034,6 +1417,15 @@ textarea.ant-input-number {
|
|
1034
1417
|
}
|
1035
1418
|
.ant-input-number-handler-wrap .ant-input-number-handler .ant-input-number-handler-up-inner,
|
1036
1419
|
.ant-input-number-handler-wrap .ant-input-number-handler .ant-input-number-handler-down-inner {
|
1420
|
+
display: -webkit-box;
|
1421
|
+
display: -ms-flexbox;
|
1422
|
+
display: flex;
|
1423
|
+
-webkit-box-align: center;
|
1424
|
+
-ms-flex-align: center;
|
1425
|
+
align-items: center;
|
1426
|
+
-webkit-box-pack: center;
|
1427
|
+
-ms-flex-pack: center;
|
1428
|
+
justify-content: center;
|
1037
1429
|
min-width: auto;
|
1038
1430
|
margin-right: 0;
|
1039
1431
|
font-size: 7px;
|
@@ -1044,7 +1436,8 @@ textarea.ant-input-number {
|
|
1044
1436
|
.ant-input-number-handler-wrap:hover .ant-input-number-handler {
|
1045
1437
|
height: 40%;
|
1046
1438
|
}
|
1047
|
-
.ant-input-number:hover .ant-input-number-handler-wrap
|
1439
|
+
.ant-input-number:hover .ant-input-number-handler-wrap,
|
1440
|
+
.ant-input-number-focused .ant-input-number-handler-wrap {
|
1048
1441
|
opacity: 1;
|
1049
1442
|
}
|
1050
1443
|
.ant-input-number-handler-up {
|
@@ -1095,16 +1488,23 @@ textarea.ant-input-number {
|
|
1095
1488
|
.ant-input-number-rtl {
|
1096
1489
|
direction: rtl;
|
1097
1490
|
}
|
1491
|
+
.ant-input-number-rtl .ant-input-number-handler {
|
1492
|
+
border-right: 1px solid #e5e5e5;
|
1493
|
+
border-left: 0;
|
1494
|
+
}
|
1098
1495
|
.ant-input-number-rtl .ant-input-number-handler-wrap {
|
1099
1496
|
right: auto;
|
1100
1497
|
left: 0;
|
1101
|
-
border-right: 1px solid #e5e5e5;
|
1102
|
-
border-left: 0;
|
1103
|
-
border-radius: 2px 0 0 2px;
|
1104
1498
|
}
|
1105
1499
|
.ant-input-number-rtl.ant-input-number-borderless .ant-input-number-handler-wrap {
|
1106
1500
|
border-right-width: 0;
|
1107
1501
|
}
|
1502
|
+
.ant-input-number-rtl .ant-input-number-handler-up {
|
1503
|
+
border-top-right-radius: 0;
|
1504
|
+
}
|
1505
|
+
.ant-input-number-rtl .ant-input-number-handler-down {
|
1506
|
+
border-bottom-right-radius: 0;
|
1507
|
+
}
|
1108
1508
|
.ant-input-number-rtl .ant-input-number-input {
|
1109
1509
|
direction: ltr;
|
1110
1510
|
text-align: right;
|