assui 3.1.12 → 3.1.14
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/es/button-drawer/index.js +3 -1
- package/es/button-modal/index.js +1 -2
- package/es/color-select/style/index.less +4 -2
- package/es/highlight-textarea/style/index.less +2 -1
- package/es/img-crop/style/index.less +3 -2
- package/es/keep-tab/style/index.less +1 -2
- package/es/label-auto-complete/style/index.css +1 -1
- package/es/label-auto-complete/style/index.less +2 -5
- package/es/label-condition-input/style/index.css +2 -2
- package/es/label-condition-input/style/index.less +2 -10
- package/es/label-customize-range-picker/style/index.less +2 -1
- package/es/label-date-picker/style/index.css +7 -3
- package/es/label-date-picker/style/index.less +12 -7
- package/es/label-input/style/index.css +10 -10
- package/es/label-input/style/index.less +1 -12
- package/es/label-number-input/style/index.css +2 -2
- package/es/label-number-input/style/index.less +2 -11
- package/es/label-range-number/style/index.css +9 -11
- package/es/label-range-number/style/index.less +17 -19
- package/es/label-range-picker/style/index.css +10 -10
- package/es/label-range-picker/style/index.less +15 -15
- package/es/label-select/style/index.css +1 -2
- package/es/label-select/style/index.less +28 -34
- package/es/label-text-area/style/index.css +1 -3
- package/es/label-text-area/style/index.less +2 -12
- package/es/label-tree-select/style/index.css +1 -1
- package/es/label-tree-select/style/index.less +2 -4
- package/es/number-format-input/style/index.less +6 -4
- package/es/single-img-upload/style/index.less +8 -7
- package/es/split-pane/style/index.less +3 -1
- package/es/step-number-input/style/index.css +2 -2
- package/es/step-number-input/style/index.less +6 -5
- package/es/style/variables.less +30 -0
- package/lib/button-drawer/index.js +3 -1
- package/lib/button-modal/index.js +1 -2
- package/lib/color-select/style/index.less +4 -2
- package/lib/highlight-textarea/style/index.less +2 -1
- package/lib/img-crop/style/index.less +3 -2
- package/lib/keep-tab/style/index.less +1 -2
- package/lib/label-auto-complete/style/index.css +1 -1
- package/lib/label-auto-complete/style/index.less +2 -5
- package/lib/label-condition-input/style/index.css +2 -2
- package/lib/label-condition-input/style/index.less +2 -10
- package/lib/label-customize-range-picker/style/index.less +2 -1
- package/lib/label-date-picker/style/index.css +7 -3
- package/lib/label-date-picker/style/index.less +12 -7
- package/lib/label-input/style/index.css +10 -10
- package/lib/label-input/style/index.less +1 -12
- package/lib/label-number-input/style/index.css +2 -2
- package/lib/label-number-input/style/index.less +2 -11
- package/lib/label-range-number/style/index.css +9 -11
- package/lib/label-range-number/style/index.less +17 -19
- package/lib/label-range-picker/style/index.css +10 -10
- package/lib/label-range-picker/style/index.less +15 -15
- package/lib/label-select/style/index.css +1 -2
- package/lib/label-select/style/index.less +28 -34
- package/lib/label-text-area/style/index.css +1 -3
- package/lib/label-text-area/style/index.less +2 -12
- package/lib/label-tree-select/style/index.css +1 -1
- package/lib/label-tree-select/style/index.less +2 -4
- package/lib/number-format-input/style/index.less +6 -4
- package/lib/single-img-upload/style/index.less +8 -7
- package/lib/split-pane/style/index.less +3 -1
- package/lib/step-number-input/style/index.css +2 -2
- package/lib/step-number-input/style/index.less +6 -5
- package/lib/style/variables.less +30 -0
- package/package.json +2 -2
|
@@ -48,6 +48,7 @@ import React, { useState, useRef, useImperativeHandle } from 'react';
|
|
|
48
48
|
import Drawer from "antd/es/drawer";
|
|
49
49
|
import isFunction from 'lodash/isFunction';
|
|
50
50
|
import classNames from 'classnames';
|
|
51
|
+
import CloseOutlined from "a-icons/es/CloseOutlined";
|
|
51
52
|
var ButtonDrawer = function ButtonDrawer(props, ref) {
|
|
52
53
|
var _a = __read(useState(false), 2),
|
|
53
54
|
drawerVisible = _a[0],
|
|
@@ -90,7 +91,8 @@ var ButtonDrawer = function ButtonDrawer(props, ref) {
|
|
|
90
91
|
className: classNames('button-drawer', className),
|
|
91
92
|
title: title,
|
|
92
93
|
onClose: closeDrawer,
|
|
93
|
-
open: drawerVisible
|
|
94
|
+
open: drawerVisible,
|
|
95
|
+
closeIcon: /*#__PURE__*/React.createElement(CloseOutlined, null)
|
|
94
96
|
}, restProps), isFunction(children) ? children(actionRef.current) : /*#__PURE__*/React.cloneElement(children, {
|
|
95
97
|
drawerAction: actionRef.current
|
|
96
98
|
})));
|
package/es/button-modal/index.js
CHANGED
|
@@ -58,8 +58,7 @@ var ButtonModal = function ButtonModal(props, ref) {
|
|
|
58
58
|
onClose = props.onClose,
|
|
59
59
|
onOk = props.onOk,
|
|
60
60
|
onCancel = props.onCancel,
|
|
61
|
-
|
|
62
|
-
restModalProps = __rest(props, ["children", "trigger", "onOpen", "onClose", "onOk", "onCancel", "className"]);
|
|
61
|
+
restModalProps = __rest(props, ["children", "trigger", "onOpen", "onClose", "onOk", "onCancel"]);
|
|
63
62
|
var openModal = function openModal() {
|
|
64
63
|
setModalVisible(true);
|
|
65
64
|
onOpen === null || onOpen === void 0 ? void 0 : onOpen();
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@import '~antd/lib/style/index.less';
|
|
2
|
+
@import '../../style/variables.less';
|
|
2
3
|
|
|
3
4
|
.color-select-wrap {
|
|
4
5
|
display: flex;
|
|
@@ -20,7 +21,8 @@
|
|
|
20
21
|
border-color: @primary-color-hover;
|
|
21
22
|
border-right-width: 1px;
|
|
22
23
|
outline: 0;
|
|
23
|
-
box-shadow: @input-outline-offset @outline-blur-size @outline-width
|
|
24
|
+
box-shadow: @input-outline-offset @outline-blur-size @outline-width
|
|
25
|
+
@primary-color-outline;
|
|
24
26
|
}
|
|
25
27
|
|
|
26
28
|
&-value {
|
|
@@ -29,7 +31,7 @@
|
|
|
29
31
|
}
|
|
30
32
|
|
|
31
33
|
&-placeholder {
|
|
32
|
-
color:
|
|
34
|
+
color: @color_bfbfbf;
|
|
33
35
|
}
|
|
34
36
|
|
|
35
37
|
.color-select-arrow {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@import '~antd/lib/input/style/index.less';
|
|
2
|
+
@import '../../style/variables.less';
|
|
2
3
|
|
|
3
4
|
.highlight-textarea {
|
|
4
5
|
position: relative;
|
|
@@ -39,6 +40,6 @@
|
|
|
39
40
|
.highlight-content mark {
|
|
40
41
|
padding: 0;
|
|
41
42
|
color: inherit;
|
|
42
|
-
background-color:
|
|
43
|
+
background-color: @color_a3daff;
|
|
43
44
|
}
|
|
44
45
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@import '~antd/lib/style/index.less';
|
|
2
|
+
@import '../../style/variables.less';
|
|
2
3
|
|
|
3
4
|
@pkg: ~'@{ant-prefix}-img-crop';
|
|
4
5
|
.@{pkg}-modal {
|
|
@@ -37,11 +38,11 @@
|
|
|
37
38
|
}
|
|
38
39
|
|
|
39
40
|
&.zoom button {
|
|
40
|
-
font-size:
|
|
41
|
+
font-size: @font-size_18;
|
|
41
42
|
}
|
|
42
43
|
|
|
43
44
|
&.rotate button {
|
|
44
|
-
font-size:
|
|
45
|
+
font-size: @font-size-lg;
|
|
45
46
|
|
|
46
47
|
&:first-of-type {
|
|
47
48
|
transform: rotate(-20deg);
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
/* stylelint-disable indentation */
|
|
2
2
|
@import '~antd/lib/style/index.less';
|
|
3
3
|
@import '../../style/themes/default.less';
|
|
4
|
-
|
|
5
|
-
@color_9aa5b5: #9aa5b5;
|
|
6
|
-
@color_a0a0a0: #a0a0a0;
|
|
7
|
-
@font-size-base: 14px;
|
|
4
|
+
@import '../../style/variables.less';
|
|
8
5
|
|
|
9
6
|
.label-auto-complete {
|
|
10
7
|
position: relative;
|
|
@@ -20,7 +17,7 @@
|
|
|
20
17
|
.@{ant-prefix}-select-single.@{ant-prefix}-select-lg:not(.@{ant-prefix}-select-customize-input)
|
|
21
18
|
.@{ant-prefix}-select-selector {
|
|
22
19
|
height: 45px;
|
|
23
|
-
border: 1px solid
|
|
20
|
+
border: 1px solid @color_e5e5e5;
|
|
24
21
|
border-radius: @border-radius-base;
|
|
25
22
|
outline: none;
|
|
26
23
|
}
|
|
@@ -1267,10 +1267,10 @@ html {
|
|
|
1267
1267
|
.label-condition-input-text {
|
|
1268
1268
|
position: absolute;
|
|
1269
1269
|
top: 12px;
|
|
1270
|
-
left:
|
|
1270
|
+
left: 16px;
|
|
1271
1271
|
z-index: 2;
|
|
1272
1272
|
height: 20px;
|
|
1273
|
-
color: #
|
|
1273
|
+
color: #9e9e9e;
|
|
1274
1274
|
font-size: 14px;
|
|
1275
1275
|
line-height: 20px;
|
|
1276
1276
|
transform-origin: top left;
|
|
@@ -1,14 +1,6 @@
|
|
|
1
1
|
@import '~antd/lib/style/index.less';
|
|
2
2
|
@import '../../style/themes/default.less';
|
|
3
|
-
|
|
4
|
-
@color_263241: #263241;
|
|
5
|
-
@color_9aa5b5: #9aa5b5;
|
|
6
|
-
@color_e5e5e5: #e5e5e5;
|
|
7
|
-
|
|
8
|
-
@font-size-base: 14px;
|
|
9
|
-
@font-size-lg: @font-size-base + 2px;
|
|
10
|
-
|
|
11
|
-
@font-weight-500: 500;
|
|
3
|
+
@import '../../style/variables.less';
|
|
12
4
|
|
|
13
5
|
.label-condition-input {
|
|
14
6
|
z-index: 1;
|
|
@@ -47,7 +39,7 @@
|
|
|
47
39
|
&-text {
|
|
48
40
|
position: absolute;
|
|
49
41
|
top: 12px;
|
|
50
|
-
left:
|
|
42
|
+
left: 16px;
|
|
51
43
|
z-index: 2;
|
|
52
44
|
height: 20px;
|
|
53
45
|
color: @color_9aa5b5;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@import '~antd/lib/style/index.less';
|
|
2
|
+
@import '../../style/variables.less';
|
|
2
3
|
|
|
3
4
|
.label-customize-range-picker-panel {
|
|
4
5
|
.customize-select-text {
|
|
@@ -7,7 +8,7 @@
|
|
|
7
8
|
|
|
8
9
|
.check-wrapper {
|
|
9
10
|
padding: 8px 11px 6px;
|
|
10
|
-
border-bottom: 1px solid
|
|
11
|
+
border-bottom: 1px solid @color_f5f6fa;
|
|
11
12
|
|
|
12
13
|
.@{ant-prefix}-checkbox-wrapper {
|
|
13
14
|
pointer-events: none;
|
|
@@ -1238,10 +1238,15 @@ html {
|
|
|
1238
1238
|
position: relative;
|
|
1239
1239
|
width: 220px;
|
|
1240
1240
|
height: 100%;
|
|
1241
|
+
cursor: pointer;
|
|
1242
|
+
}
|
|
1243
|
+
.label-date-picker:not(.label-date-picker-label-scale) .ant-picker-input > input {
|
|
1244
|
+
cursor: pointer;
|
|
1241
1245
|
}
|
|
1242
1246
|
.label-date-picker .ant-picker {
|
|
1243
1247
|
height: 45px;
|
|
1244
|
-
padding-
|
|
1248
|
+
padding-right: 15px;
|
|
1249
|
+
padding-left: 15px;
|
|
1245
1250
|
border: 1px solid #e5e5e5;
|
|
1246
1251
|
border-radius: 2px;
|
|
1247
1252
|
outline: none;
|
|
@@ -1249,7 +1254,6 @@ html {
|
|
|
1249
1254
|
.label-date-picker .ant-picker-input input {
|
|
1250
1255
|
position: relative;
|
|
1251
1256
|
top: 9px;
|
|
1252
|
-
padding-left: 3px;
|
|
1253
1257
|
}
|
|
1254
1258
|
.label-date-picker .ant-picker-focused {
|
|
1255
1259
|
border-color: #000;
|
|
@@ -1265,7 +1269,7 @@ html {
|
|
|
1265
1269
|
left: 16px;
|
|
1266
1270
|
z-index: 2;
|
|
1267
1271
|
height: 20px;
|
|
1268
|
-
color: #
|
|
1272
|
+
color: #9e9e9e;
|
|
1269
1273
|
font-size: 14px;
|
|
1270
1274
|
line-height: 20px;
|
|
1271
1275
|
transform-origin: top left;
|
|
@@ -1,25 +1,30 @@
|
|
|
1
1
|
@import '~antd/lib/style/index.less';
|
|
2
2
|
@import '../../style/themes/default.less';
|
|
3
|
-
|
|
4
|
-
@color_9aa5b5: #9aa5b5;
|
|
5
|
-
@font-size-base: 14px;
|
|
3
|
+
@import '../../style/variables.less';
|
|
6
4
|
|
|
7
5
|
.label-date-picker {
|
|
8
6
|
position: relative;
|
|
9
7
|
width: 220px;
|
|
10
8
|
height: 100%;
|
|
9
|
+
cursor: pointer;
|
|
10
|
+
|
|
11
|
+
&:not(.label-date-picker-label-scale) {
|
|
12
|
+
.@{ant-prefix}-picker-input > input {
|
|
13
|
+
cursor: pointer;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
11
16
|
|
|
12
17
|
.@{ant-prefix}-picker {
|
|
13
18
|
height: 45px;
|
|
14
|
-
padding-
|
|
15
|
-
|
|
19
|
+
padding-right: 15px;
|
|
20
|
+
padding-left: 15px;
|
|
21
|
+
border: 1px solid @color_e5e5e5;
|
|
16
22
|
border-radius: @border-radius-base;
|
|
17
23
|
outline: none;
|
|
18
24
|
|
|
19
25
|
&-input input {
|
|
20
26
|
position: relative;
|
|
21
27
|
top: @pickerInputTop;
|
|
22
|
-
padding-left: 3px;
|
|
23
28
|
}
|
|
24
29
|
|
|
25
30
|
&-focused {
|
|
@@ -29,7 +34,7 @@
|
|
|
29
34
|
|
|
30
35
|
&-suffix .spotecicon {
|
|
31
36
|
width: 14px;
|
|
32
|
-
color:
|
|
37
|
+
color: @color_323232;
|
|
33
38
|
}
|
|
34
39
|
}
|
|
35
40
|
|
|
@@ -131,7 +131,7 @@ sup {
|
|
|
131
131
|
top: -0.5em;
|
|
132
132
|
}
|
|
133
133
|
a {
|
|
134
|
-
color: #
|
|
134
|
+
color: #1890ff;
|
|
135
135
|
text-decoration: none;
|
|
136
136
|
background-color: transparent;
|
|
137
137
|
outline: none;
|
|
@@ -140,10 +140,10 @@ a {
|
|
|
140
140
|
-webkit-text-decoration-skip: objects;
|
|
141
141
|
}
|
|
142
142
|
a:hover {
|
|
143
|
-
color: #
|
|
143
|
+
color: #40a9ff;
|
|
144
144
|
}
|
|
145
145
|
a:active {
|
|
146
|
-
color: #
|
|
146
|
+
color: #096dd9;
|
|
147
147
|
}
|
|
148
148
|
a:active,
|
|
149
149
|
a:hover {
|
|
@@ -299,11 +299,11 @@ mark {
|
|
|
299
299
|
}
|
|
300
300
|
::-moz-selection {
|
|
301
301
|
color: #fff;
|
|
302
|
-
background: #
|
|
302
|
+
background: #1890ff;
|
|
303
303
|
}
|
|
304
304
|
::selection {
|
|
305
305
|
color: #fff;
|
|
306
|
-
background: #
|
|
306
|
+
background: #1890ff;
|
|
307
307
|
}
|
|
308
308
|
.clearfix::before {
|
|
309
309
|
display: table;
|
|
@@ -617,7 +617,7 @@ mark {
|
|
|
617
617
|
position: relative;
|
|
618
618
|
}
|
|
619
619
|
html {
|
|
620
|
-
--antd-wave-shadow-color: #
|
|
620
|
+
--antd-wave-shadow-color: #1890ff;
|
|
621
621
|
--scroll-bar: 0;
|
|
622
622
|
}
|
|
623
623
|
[ant-click-animating-without-extra-node='true']::after,
|
|
@@ -629,7 +629,7 @@ html {
|
|
|
629
629
|
left: 0;
|
|
630
630
|
display: block;
|
|
631
631
|
border-radius: inherit;
|
|
632
|
-
box-shadow: 0 0 0 0 #
|
|
632
|
+
box-shadow: 0 0 0 0 #1890ff;
|
|
633
633
|
box-shadow: 0 0 0 0 var(--antd-wave-shadow-color);
|
|
634
634
|
opacity: 0.2;
|
|
635
635
|
animation: fadeEffect 2s cubic-bezier(0.08, 0.82, 0.17, 1), waveEffect 0.4s cubic-bezier(0.08, 0.82, 0.17, 1);
|
|
@@ -639,7 +639,7 @@ html {
|
|
|
639
639
|
}
|
|
640
640
|
@keyframes waveEffect {
|
|
641
641
|
100% {
|
|
642
|
-
box-shadow: 0 0 0 #
|
|
642
|
+
box-shadow: 0 0 0 #1890ff;
|
|
643
643
|
box-shadow: 0 0 0 6px var(--antd-wave-shadow-color);
|
|
644
644
|
}
|
|
645
645
|
}
|
|
@@ -1294,7 +1294,7 @@ html {
|
|
|
1294
1294
|
left: 15px;
|
|
1295
1295
|
z-index: 2;
|
|
1296
1296
|
height: 20px;
|
|
1297
|
-
color: #
|
|
1297
|
+
color: #9e9e9e;
|
|
1298
1298
|
font-size: 14px;
|
|
1299
1299
|
line-height: 20px;
|
|
1300
1300
|
transform-origin: top left;
|
|
@@ -1302,5 +1302,5 @@ html {
|
|
|
1302
1302
|
transition: all 0.2s ease-out;
|
|
1303
1303
|
}
|
|
1304
1304
|
.label-input-open-eye {
|
|
1305
|
-
color: #
|
|
1305
|
+
color: #1890ff;
|
|
1306
1306
|
}
|
|
@@ -1,17 +1,6 @@
|
|
|
1
1
|
@import '~antd/lib/style/index.less';
|
|
2
2
|
@import '../../style/themes/default.less';
|
|
3
|
-
|
|
4
|
-
@primary-color: #ff6b00;
|
|
5
|
-
@color_263241: #263241;
|
|
6
|
-
@color_9aa5b5: #9aa5b5;
|
|
7
|
-
@color_b3b3b3: #b3b3b3;
|
|
8
|
-
@color_e5e5e5: #e5e5e5;
|
|
9
|
-
@color_a0a0a0: #a0a0a0;
|
|
10
|
-
|
|
11
|
-
@font-size-base: 14px;
|
|
12
|
-
@font-size-lg: @font-size-base + 2px;
|
|
13
|
-
|
|
14
|
-
@font-weight-500: 500;
|
|
3
|
+
@import '../../style/variables.less';
|
|
15
4
|
|
|
16
5
|
.label-input {
|
|
17
6
|
z-index: 1;
|
|
@@ -1270,10 +1270,10 @@ html {
|
|
|
1270
1270
|
.label-number-input-warper .label-number-input-text {
|
|
1271
1271
|
position: absolute;
|
|
1272
1272
|
top: 12px;
|
|
1273
|
-
left:
|
|
1273
|
+
left: 16px;
|
|
1274
1274
|
z-index: 2;
|
|
1275
1275
|
height: 20px;
|
|
1276
|
-
color: #
|
|
1276
|
+
color: #9e9e9e;
|
|
1277
1277
|
font-size: 14px;
|
|
1278
1278
|
line-height: 20px;
|
|
1279
1279
|
transform-origin: top left;
|
|
@@ -1,15 +1,6 @@
|
|
|
1
1
|
@import '~antd/lib/style/index.less';
|
|
2
2
|
@import '../../style/themes/default.less';
|
|
3
|
-
|
|
4
|
-
@color_263241: #263241;
|
|
5
|
-
@color_9aa5b5: #9aa5b5;
|
|
6
|
-
@color_e5e5e5: #e5e5e5;
|
|
7
|
-
@color_a0a0a0: #a0a0a0;
|
|
8
|
-
|
|
9
|
-
@font-size-base: 14px;
|
|
10
|
-
@font-size-lg: @font-size-base + 2px;
|
|
11
|
-
|
|
12
|
-
@font-weight-500: 500;
|
|
3
|
+
@import '../../style/variables.less';
|
|
13
4
|
|
|
14
5
|
.label-number-input-warper {
|
|
15
6
|
position: relative;
|
|
@@ -51,7 +42,7 @@
|
|
|
51
42
|
&-text {
|
|
52
43
|
position: absolute;
|
|
53
44
|
top: 12px;
|
|
54
|
-
left:
|
|
45
|
+
left: 16px;
|
|
55
46
|
z-index: 2;
|
|
56
47
|
height: 20px;
|
|
57
48
|
color: @color_9aa5b5;
|
|
@@ -1240,10 +1240,13 @@ html {
|
|
|
1240
1240
|
height: 45px;
|
|
1241
1241
|
background-color: #fff;
|
|
1242
1242
|
border: 1px solid #e5e5e5;
|
|
1243
|
-
border-radius:
|
|
1243
|
+
border-radius: 2px;
|
|
1244
1244
|
cursor: pointer;
|
|
1245
1245
|
transition: all 0.2s ease-out;
|
|
1246
1246
|
}
|
|
1247
|
+
.label-range-number:not(.label-range-number-label-scale) .a-number-input > input {
|
|
1248
|
+
cursor: pointer;
|
|
1249
|
+
}
|
|
1247
1250
|
.label-range-number:hover {
|
|
1248
1251
|
border: 1px solid #a0a0a0;
|
|
1249
1252
|
}
|
|
@@ -1255,7 +1258,7 @@ html {
|
|
|
1255
1258
|
position: relative;
|
|
1256
1259
|
display: inline-flex;
|
|
1257
1260
|
height: 45px;
|
|
1258
|
-
padding-left:
|
|
1261
|
+
padding-left: 15px;
|
|
1259
1262
|
outline: none;
|
|
1260
1263
|
}
|
|
1261
1264
|
.label-range-number .a-number-input input {
|
|
@@ -1269,6 +1272,7 @@ html {
|
|
|
1269
1272
|
position: relative;
|
|
1270
1273
|
top: 18px;
|
|
1271
1274
|
height: 14px;
|
|
1275
|
+
margin: 0 3px;
|
|
1272
1276
|
padding: 0;
|
|
1273
1277
|
}
|
|
1274
1278
|
.label-range-number .a-number-range-separator,
|
|
@@ -1276,25 +1280,19 @@ html {
|
|
|
1276
1280
|
opacity: 0;
|
|
1277
1281
|
}
|
|
1278
1282
|
.label-range-number .a-number .ant-input {
|
|
1279
|
-
padding: 0
|
|
1283
|
+
padding: 0;
|
|
1280
1284
|
border-radius: 0;
|
|
1281
1285
|
}
|
|
1282
1286
|
.label-range-number-text {
|
|
1283
1287
|
position: absolute;
|
|
1284
|
-
top:
|
|
1285
|
-
left:
|
|
1288
|
+
top: 12px;
|
|
1289
|
+
left: 16px;
|
|
1286
1290
|
z-index: 2;
|
|
1287
|
-
display: flex;
|
|
1288
|
-
align-items: center;
|
|
1289
|
-
width: calc(100% - 12px);
|
|
1290
|
-
height: 100%;
|
|
1291
|
-
margin-left: 12px;
|
|
1292
1291
|
color: #9e9e9e;
|
|
1293
1292
|
font-weight: 400;
|
|
1294
1293
|
font-size: 14px;
|
|
1295
1294
|
line-height: 20px;
|
|
1296
1295
|
transform-origin: top left;
|
|
1297
|
-
cursor: pointer;
|
|
1298
1296
|
transition: all 0.2s ease-out;
|
|
1299
1297
|
}
|
|
1300
1298
|
.label-range-number-label-scale .a-number-range-separator,
|
|
@@ -1,26 +1,29 @@
|
|
|
1
1
|
@import '~antd/lib/style/index.less';
|
|
2
2
|
@import '../../style/themes/default.less';
|
|
3
|
-
|
|
4
|
-
@color_9aa5b5: #9e9e9e;
|
|
5
|
-
@color_a0a0a0: #a0a0a0;
|
|
6
|
-
@font-size-base: 14px;
|
|
3
|
+
@import '../../style/variables.less';
|
|
7
4
|
|
|
8
5
|
.label-range-number {
|
|
9
6
|
position: relative;
|
|
10
7
|
width: 220px;
|
|
11
8
|
height: 45px;
|
|
12
|
-
background-color:
|
|
13
|
-
border: 1px solid
|
|
14
|
-
border-radius:
|
|
9
|
+
background-color: @white;
|
|
10
|
+
border: 1px solid @color_e5e5e5;
|
|
11
|
+
border-radius: @border-radius-base;
|
|
15
12
|
cursor: pointer;
|
|
16
13
|
transition: all 0.2s ease-out;
|
|
17
14
|
|
|
15
|
+
&:not(.label-range-number-label-scale) {
|
|
16
|
+
.a-number-input > input {
|
|
17
|
+
cursor: pointer;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
18
21
|
&:hover {
|
|
19
|
-
border: 1px solid
|
|
22
|
+
border: 1px solid @color_a0a0a0;
|
|
20
23
|
}
|
|
21
24
|
|
|
22
25
|
&-focused {
|
|
23
|
-
border-color:
|
|
26
|
+
border-color: @black;
|
|
24
27
|
box-shadow: none;
|
|
25
28
|
}
|
|
26
29
|
|
|
@@ -28,7 +31,7 @@
|
|
|
28
31
|
position: relative;
|
|
29
32
|
display: inline-flex;
|
|
30
33
|
height: 45px;
|
|
31
|
-
padding-left:
|
|
34
|
+
padding-left: 15px;
|
|
32
35
|
outline: none;
|
|
33
36
|
|
|
34
37
|
&-input input {
|
|
@@ -43,6 +46,7 @@
|
|
|
43
46
|
position: relative;
|
|
44
47
|
top: 18px;
|
|
45
48
|
height: 14px;
|
|
49
|
+
margin: 0 3px;
|
|
46
50
|
padding: 0;
|
|
47
51
|
}
|
|
48
52
|
|
|
@@ -52,27 +56,21 @@
|
|
|
52
56
|
}
|
|
53
57
|
|
|
54
58
|
.@{ant-prefix}-input {
|
|
55
|
-
padding: 0
|
|
59
|
+
padding: 0;
|
|
56
60
|
border-radius: 0;
|
|
57
61
|
}
|
|
58
62
|
}
|
|
59
63
|
|
|
60
64
|
&-text {
|
|
61
65
|
position: absolute;
|
|
62
|
-
top:
|
|
63
|
-
left:
|
|
66
|
+
top: 12px;
|
|
67
|
+
left: 16px;
|
|
64
68
|
z-index: 2;
|
|
65
|
-
display: flex;
|
|
66
|
-
align-items: center;
|
|
67
|
-
width: calc(100% - 12px);
|
|
68
|
-
height: 100%;
|
|
69
|
-
margin-left: 12px;
|
|
70
69
|
color: @color_9aa5b5;
|
|
71
70
|
font-weight: 400;
|
|
72
71
|
font-size: @font-size-base;
|
|
73
72
|
line-height: 20px;
|
|
74
73
|
transform-origin: top left;
|
|
75
|
-
cursor: pointer;
|
|
76
74
|
transition: all 0.2s ease-out;
|
|
77
75
|
}
|
|
78
76
|
|
|
@@ -1243,9 +1243,13 @@ html {
|
|
|
1243
1243
|
.label-range-picker:not(.label-range-picker-disabled):hover .ant-picker {
|
|
1244
1244
|
border-color: #a0a0a0;
|
|
1245
1245
|
}
|
|
1246
|
+
.label-range-picker:not(.label-range-picker-label-scale) .ant-picker-input > input {
|
|
1247
|
+
cursor: pointer;
|
|
1248
|
+
}
|
|
1246
1249
|
.label-range-picker .ant-picker {
|
|
1247
1250
|
height: 45px;
|
|
1248
|
-
padding-
|
|
1251
|
+
padding-right: 15px;
|
|
1252
|
+
padding-left: 15px;
|
|
1249
1253
|
border: 1px solid #e5e5e5;
|
|
1250
1254
|
border-radius: 2px;
|
|
1251
1255
|
outline: none;
|
|
@@ -1254,7 +1258,6 @@ html {
|
|
|
1254
1258
|
position: relative;
|
|
1255
1259
|
top: 9px;
|
|
1256
1260
|
width: 85px;
|
|
1257
|
-
padding-left: 3px;
|
|
1258
1261
|
}
|
|
1259
1262
|
.label-range-picker .ant-picker-focused {
|
|
1260
1263
|
border-color: #000;
|
|
@@ -1263,6 +1266,7 @@ html {
|
|
|
1263
1266
|
.label-range-picker .ant-picker-range-separator {
|
|
1264
1267
|
position: relative;
|
|
1265
1268
|
top: 8px;
|
|
1269
|
+
margin: 0 3px;
|
|
1266
1270
|
padding: 0;
|
|
1267
1271
|
}
|
|
1268
1272
|
.label-range-picker .ant-picker-range-separator,
|
|
@@ -1278,15 +1282,11 @@ html {
|
|
|
1278
1282
|
}
|
|
1279
1283
|
.label-range-picker-text {
|
|
1280
1284
|
position: absolute;
|
|
1281
|
-
top:
|
|
1282
|
-
left:
|
|
1285
|
+
top: 12px;
|
|
1286
|
+
left: 16px;
|
|
1283
1287
|
z-index: 2;
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
width: calc(100% - 12px);
|
|
1287
|
-
height: 100%;
|
|
1288
|
-
margin-left: 12px;
|
|
1289
|
-
color: #9aa5b5;
|
|
1288
|
+
height: 20px;
|
|
1289
|
+
color: #9e9e9e;
|
|
1290
1290
|
font-size: 14px;
|
|
1291
1291
|
line-height: 20px;
|
|
1292
1292
|
transform-origin: top left;
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
@import '~antd/lib/style/index.less';
|
|
2
2
|
@import '../../style/themes/default.less';
|
|
3
|
-
|
|
4
|
-
@color_9aa5b5: #9aa5b5;
|
|
5
|
-
@color_a0a0a0: #a0a0a0;
|
|
6
|
-
@font-size-base: 14px;
|
|
3
|
+
@import '../../style/variables.less';
|
|
7
4
|
|
|
8
5
|
.label-range-picker {
|
|
9
6
|
position: relative;
|
|
@@ -17,10 +14,17 @@
|
|
|
17
14
|
}
|
|
18
15
|
}
|
|
19
16
|
|
|
17
|
+
&:not(.label-range-picker-label-scale) {
|
|
18
|
+
.@{ant-prefix}-picker-input > input {
|
|
19
|
+
cursor: pointer;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
20
23
|
.@{ant-prefix}-picker {
|
|
21
24
|
height: 45px;
|
|
22
|
-
padding-
|
|
23
|
-
|
|
25
|
+
padding-right: 15px;
|
|
26
|
+
padding-left: 15px;
|
|
27
|
+
border: 1px solid @color_e5e5e5;
|
|
24
28
|
border-radius: @border-radius-base;
|
|
25
29
|
outline: none;
|
|
26
30
|
|
|
@@ -28,7 +32,6 @@
|
|
|
28
32
|
position: relative;
|
|
29
33
|
top: @pickerInputTop;
|
|
30
34
|
width: 85px;
|
|
31
|
-
padding-left: 3px;
|
|
32
35
|
}
|
|
33
36
|
|
|
34
37
|
&-focused {
|
|
@@ -39,6 +42,7 @@
|
|
|
39
42
|
&-range-separator {
|
|
40
43
|
position: relative;
|
|
41
44
|
top: 8px;
|
|
45
|
+
margin: 0 3px;
|
|
42
46
|
padding: 0;
|
|
43
47
|
}
|
|
44
48
|
|
|
@@ -53,20 +57,16 @@
|
|
|
53
57
|
|
|
54
58
|
&-suffix .spotecicon {
|
|
55
59
|
width: 14px;
|
|
56
|
-
color:
|
|
60
|
+
color: @color_323232;
|
|
57
61
|
}
|
|
58
62
|
}
|
|
59
63
|
|
|
60
64
|
&-text {
|
|
61
65
|
position: absolute;
|
|
62
|
-
top:
|
|
63
|
-
left:
|
|
66
|
+
top: 12px;
|
|
67
|
+
left: 16px;
|
|
64
68
|
z-index: 2;
|
|
65
|
-
|
|
66
|
-
align-items: center;
|
|
67
|
-
width: calc(100% - 12px);
|
|
68
|
-
height: 100%;
|
|
69
|
-
margin-left: 12px;
|
|
69
|
+
height: 20px;
|
|
70
70
|
color: @color_9aa5b5;
|
|
71
71
|
font-size: @font-size-base;
|
|
72
72
|
line-height: 20px;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/* stylelint-disable indentation */
|
|
2
1
|
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
|
|
3
2
|
/* stylelint-disable no-duplicate-selectors */
|
|
4
3
|
/* stylelint-disable */
|
|
@@ -1315,7 +1314,7 @@ html {
|
|
|
1315
1314
|
left: 16px;
|
|
1316
1315
|
z-index: 2;
|
|
1317
1316
|
height: 20px;
|
|
1318
|
-
color: #
|
|
1317
|
+
color: #9e9e9e;
|
|
1319
1318
|
font-size: 14px;
|
|
1320
1319
|
line-height: 20px;
|
|
1321
1320
|
transform-origin: top left;
|