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.
Files changed (67) hide show
  1. package/es/button-drawer/index.js +3 -1
  2. package/es/button-modal/index.js +1 -2
  3. package/es/color-select/style/index.less +4 -2
  4. package/es/highlight-textarea/style/index.less +2 -1
  5. package/es/img-crop/style/index.less +3 -2
  6. package/es/keep-tab/style/index.less +1 -2
  7. package/es/label-auto-complete/style/index.css +1 -1
  8. package/es/label-auto-complete/style/index.less +2 -5
  9. package/es/label-condition-input/style/index.css +2 -2
  10. package/es/label-condition-input/style/index.less +2 -10
  11. package/es/label-customize-range-picker/style/index.less +2 -1
  12. package/es/label-date-picker/style/index.css +7 -3
  13. package/es/label-date-picker/style/index.less +12 -7
  14. package/es/label-input/style/index.css +10 -10
  15. package/es/label-input/style/index.less +1 -12
  16. package/es/label-number-input/style/index.css +2 -2
  17. package/es/label-number-input/style/index.less +2 -11
  18. package/es/label-range-number/style/index.css +9 -11
  19. package/es/label-range-number/style/index.less +17 -19
  20. package/es/label-range-picker/style/index.css +10 -10
  21. package/es/label-range-picker/style/index.less +15 -15
  22. package/es/label-select/style/index.css +1 -2
  23. package/es/label-select/style/index.less +28 -34
  24. package/es/label-text-area/style/index.css +1 -3
  25. package/es/label-text-area/style/index.less +2 -12
  26. package/es/label-tree-select/style/index.css +1 -1
  27. package/es/label-tree-select/style/index.less +2 -4
  28. package/es/number-format-input/style/index.less +6 -4
  29. package/es/single-img-upload/style/index.less +8 -7
  30. package/es/split-pane/style/index.less +3 -1
  31. package/es/step-number-input/style/index.css +2 -2
  32. package/es/step-number-input/style/index.less +6 -5
  33. package/es/style/variables.less +30 -0
  34. package/lib/button-drawer/index.js +3 -1
  35. package/lib/button-modal/index.js +1 -2
  36. package/lib/color-select/style/index.less +4 -2
  37. package/lib/highlight-textarea/style/index.less +2 -1
  38. package/lib/img-crop/style/index.less +3 -2
  39. package/lib/keep-tab/style/index.less +1 -2
  40. package/lib/label-auto-complete/style/index.css +1 -1
  41. package/lib/label-auto-complete/style/index.less +2 -5
  42. package/lib/label-condition-input/style/index.css +2 -2
  43. package/lib/label-condition-input/style/index.less +2 -10
  44. package/lib/label-customize-range-picker/style/index.less +2 -1
  45. package/lib/label-date-picker/style/index.css +7 -3
  46. package/lib/label-date-picker/style/index.less +12 -7
  47. package/lib/label-input/style/index.css +10 -10
  48. package/lib/label-input/style/index.less +1 -12
  49. package/lib/label-number-input/style/index.css +2 -2
  50. package/lib/label-number-input/style/index.less +2 -11
  51. package/lib/label-range-number/style/index.css +9 -11
  52. package/lib/label-range-number/style/index.less +17 -19
  53. package/lib/label-range-picker/style/index.css +10 -10
  54. package/lib/label-range-picker/style/index.less +15 -15
  55. package/lib/label-select/style/index.css +1 -2
  56. package/lib/label-select/style/index.less +28 -34
  57. package/lib/label-text-area/style/index.css +1 -3
  58. package/lib/label-text-area/style/index.less +2 -12
  59. package/lib/label-tree-select/style/index.css +1 -1
  60. package/lib/label-tree-select/style/index.less +2 -4
  61. package/lib/number-format-input/style/index.less +6 -4
  62. package/lib/single-img-upload/style/index.less +8 -7
  63. package/lib/split-pane/style/index.less +3 -1
  64. package/lib/step-number-input/style/index.css +2 -2
  65. package/lib/step-number-input/style/index.less +6 -5
  66. package/lib/style/variables.less +30 -0
  67. package/package.json +2 -2
@@ -1,16 +1,6 @@
1
- /* stylelint-disable indentation */
2
1
  @import '~antd/lib/style/index.less';
3
2
  @import '../../style/themes/default.less';
4
-
5
- @color_9aa5b5: #9aa5b5;
6
- @color_e5e5e5: #e5e5e5;
7
- @color_7d7d7d: #7d7d7d;
8
- @color_a0a0a0: #a0a0a0;
9
- @color_333: #333;
10
- @color_ccc: #ccc;
11
- @white: #fff;
12
- @font-size-base: 14px;
13
- @font-size-sm: @font-size-base - 2px;
3
+ @import '../../style/variables.less';
14
4
 
15
5
  .label-select {
16
6
  position: relative;
@@ -52,18 +42,19 @@
52
42
  }
53
43
  }
54
44
 
55
- .@{ant-prefix}-select-multiple.@{ant-prefix}-select-lg
45
+ .@{ant-prefix}-select-multiple.@{ant-prefix}-select-lg {
56
46
  .@{ant-prefix}-select-selection-item {
57
- width: auto;
58
- height: auto;
59
- margin: 0 4px 4px 0;
60
- padding: 1px 4px;
61
- color: @color_333;
62
- font-size: @font-size-sm;
63
- line-height: 17px;
64
- background-color: @white;
65
- border: 1px solid @color_ccc;
66
- border-radius: 4px;
47
+ width: auto;
48
+ height: auto;
49
+ margin: 0 4px 4px 0;
50
+ padding: 1px 4px;
51
+ color: @color_333;
52
+ font-size: @font-size-sm;
53
+ line-height: 17px;
54
+ background-color: @white;
55
+ border: 1px solid @color_ccc;
56
+ border-radius: 4px;
57
+ }
67
58
  }
68
59
 
69
60
  .@{ant-prefix}-select-allow-clear {
@@ -72,25 +63,28 @@
72
63
  }
73
64
  }
74
65
 
75
- .@{ant-prefix}-select-single.@{ant-prefix}-select-lg:not(.@{ant-prefix}-select-customize-input)
66
+ .@{ant-prefix}-select-single.@{ant-prefix}-select-lg:not(.@{ant-prefix}-select-customize-input) {
76
67
  .@{ant-prefix}-select-selector {
77
- height: 45px;
78
- border: 1px solid @color_e5e5e5;
79
- border-radius: @border-radius-base;
80
- outline: none;
68
+ height: 45px;
69
+ border: 1px solid @color_e5e5e5;
70
+ border-radius: @border-radius-base;
71
+ outline: none;
72
+ }
81
73
  }
82
74
 
83
- .@{ant-prefix}-select-focused:not(.@{ant-prefix}-select-disabled).@{ant-prefix}-select:not(.@{ant-prefix}-select-customize-input)
75
+ .@{ant-prefix}-select-focused:not(.@{ant-prefix}-select-disabled).@{ant-prefix}-select:not(.@{ant-prefix}-select-customize-input) {
84
76
  .@{ant-prefix}-select-selector {
85
- border-color: @labelFocusBorderColor;
86
- box-shadow: none;
77
+ border-color: @labelFocusBorderColor;
78
+ box-shadow: none;
79
+ }
87
80
  }
88
81
 
89
- .@{ant-prefix}-select-single.@{ant-prefix}-select-show-arrow
82
+ .@{ant-prefix}-select-single.@{ant-prefix}-select-show-arrow {
90
83
  .@{ant-prefix}-select-selection-item {
91
- padding-top: 11px;
92
- padding-left: 4px;
93
- font-size: @font-size-base;
84
+ padding-top: 11px;
85
+ padding-left: 4px;
86
+ font-size: @font-size-base;
87
+ }
94
88
  }
95
89
 
96
90
  .@{ant-prefix}-select-selection-search {
@@ -1244,9 +1244,7 @@ html {
1244
1244
  color: #263241;
1245
1245
  font-size: 16px;
1246
1246
  border: 0;
1247
- border-radius: 12px;
1248
1247
  outline: 0;
1249
- transition: border 0.3s;
1250
1248
  }
1251
1249
  .label-textarea:focus + label,
1252
1250
  .label-textarea:not([data-value='0']) + label {
@@ -1269,7 +1267,7 @@ html {
1269
1267
  left: 16px;
1270
1268
  z-index: 2;
1271
1269
  height: 20px;
1272
- color: #9aa5b5;
1270
+ color: #9e9e9e;
1273
1271
  font-size: 14px;
1274
1272
  line-height: 20px;
1275
1273
  transform-origin: top left;
@@ -1,14 +1,6 @@
1
1
  @import '~antd/lib/style/index.less';
2
2
  @import '../../style/themes/default.less';
3
- @color_dfe2e7: #dfe2e7;
4
- @color_9aa5b5: #9aa5b5;
5
- @color_b3b3b3: #b3b3b3;
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-textarea {
14
6
  z-index: 1;
@@ -17,12 +9,10 @@
17
9
  min-height: 28px;
18
10
  margin-bottom: -4px;
19
11
  padding: 0 15px 0 15px;
20
- color: #263241;
12
+ color: @color_263241;
21
13
  font-size: @font-size-lg;
22
14
  border: 0;
23
- border-radius: 12px;
24
15
  outline: 0;
25
- transition: border 0.3s;
26
16
 
27
17
  &:focus + label,
28
18
  &:not([data-value='0']) + label {
@@ -1259,7 +1259,7 @@ html {
1259
1259
  left: 16px;
1260
1260
  z-index: 2;
1261
1261
  height: 20px;
1262
- color: #9aa5b5;
1262
+ color: #9e9e9e;
1263
1263
  font-size: 14px;
1264
1264
  line-height: 20px;
1265
1265
  transform-origin: top left;
@@ -1,9 +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
- @font-size-base: 14px;
4
+ @import '../../style/variables.less';
7
5
 
8
6
  .label-tree-select {
9
7
  position: relative;
@@ -13,7 +11,7 @@
13
11
  .@{ant-prefix}-select:not(.@{ant-prefix}-select-customize-input)
14
12
  .@{ant-prefix}-select-selector {
15
13
  height: 45px;
16
- border: 1px solid #e5e5e5;
14
+ border: 1px solid @color_e5e5e5;
17
15
  border-radius: @border-radius-base;
18
16
  outline: none;
19
17
  }
@@ -1,3 +1,5 @@
1
+ @import '../../style/variables.less';
2
+
1
3
  .rc-number-format-input {
2
4
  position: relative;
3
5
  display: inline-block;
@@ -10,19 +12,19 @@
10
12
  font-size: 14px;
11
13
  line-height: 1.5715;
12
14
  list-style: none;
13
- background-color: #fff;
15
+ background-color: @white;
14
16
  background-image: none;
15
- border: 1px solid #d9d9d9;
17
+ border: 1px solid @color_d9d9d9;
16
18
  border-radius: 2px;
17
19
  transition: all 0.3s;
18
20
 
19
21
  &:hover {
20
- border-color: #40a9ff;
22
+ border-color: @color_40a9ff;
21
23
  border-right-width: 1px !important;
22
24
  }
23
25
 
24
26
  &:focus {
25
- border-color: #40a9ff;
27
+ border-color: @color_40a9ff;
26
28
  border-right-width: 1px !important;
27
29
  outline: 0;
28
30
  box-shadow: 0 0 0 2px rgb(24 144 255 / 20%);
@@ -1,15 +1,16 @@
1
1
  @import '~antd/lib/style/index.less';
2
+ @import '../../style/variables.less';
2
3
 
3
4
  @progress-prefix-cls: ~'@{ant-prefix}';
4
5
 
5
6
  .as-img-upload {
6
7
  width: 335px;
7
8
  height: 140px;
8
- border: 1px solid #cacaca;
9
+ border: 1px solid @color_cacaca;
9
10
  border-radius: 4px;
10
11
 
11
12
  &:hover {
12
- border: 1px solid #1890ff;
13
+ border: 1px solid @color_1890ff;
13
14
  }
14
15
 
15
16
  .rc-upload,
@@ -38,7 +39,7 @@
38
39
  width: 100%;
39
40
  height: 100%;
40
41
  overflow: hidden;
41
- background-color: #fff;
42
+ background-color: @white;
42
43
  }
43
44
 
44
45
  &-close-button {
@@ -49,14 +50,14 @@
49
50
  width: 20px;
50
51
  height: 20px;
51
52
  text-align: center;
52
- background-color: #000;
53
+ background-color: @black;
53
54
  cursor: pointer;
54
55
  opacity: 0.6;
55
56
 
56
57
  .spotecicon {
57
58
  width: 15px;
58
59
  height: 15px;
59
- color: #fff;
60
+ color: @white;
60
61
  }
61
62
  }
62
63
 
@@ -84,7 +85,7 @@
84
85
  .@{ant-prefix}-progress-text {
85
86
  display: block;
86
87
  width: 100%;
87
- color: #fff;
88
+ color: @white;
88
89
  text-align: center;
89
90
  }
90
91
  }
@@ -97,6 +98,6 @@
97
98
 
98
99
  .init-disable {
99
100
  color: rgba(0, 0, 0, 25%);
100
- background-color: #f5f5f5;
101
+ background-color: @color_f5f5f5;
101
102
  cursor: not-allowed;
102
103
  }
@@ -1,7 +1,9 @@
1
+ @import '../../style/variables.less';
2
+
1
3
  .Resizer {
2
4
  z-index: 1;
3
5
  box-sizing: border-box;
4
- background: #000;
6
+ background: @black;
5
7
  background-clip: padding;
6
8
  opacity: 0.2;
7
9
  }
@@ -1251,7 +1251,7 @@ html {
1251
1251
  .count-minus-btn:focus,
1252
1252
  .count-minus-btn:active,
1253
1253
  .count-minus-btn:focus-within {
1254
- color: white;
1254
+ color: #fff;
1255
1255
  background-color: #02a6e3;
1256
1256
  cursor: pointer;
1257
1257
  }
@@ -1264,7 +1264,7 @@ html {
1264
1264
  .count-add-btn:focus,
1265
1265
  .count-add-btn:active,
1266
1266
  .count-add-btn:focus-within {
1267
- color: white;
1267
+ color: #fff;
1268
1268
  background-color: #02a6e3;
1269
1269
  cursor: pointer;
1270
1270
  }
@@ -1,4 +1,5 @@
1
1
  @import '~antd/lib/style/index.less';
2
+ @import '../../style/variables.less';
2
3
 
3
4
  @progress-prefix-cls: ~'@{ant-prefix}';
4
5
 
@@ -21,8 +22,8 @@
21
22
  &:focus,
22
23
  &:active,
23
24
  &:focus-within {
24
- color: white;
25
- background-color: #02a6e3;
25
+ color: @white;
26
+ background-color: @color_02a6e3;
26
27
  cursor: pointer;
27
28
  }
28
29
  }
@@ -36,8 +37,8 @@
36
37
  &:focus,
37
38
  &:active,
38
39
  &:focus-within {
39
- color: white;
40
- background-color: #02a6e3;
40
+ color: @white;
41
+ background-color: @color_02a6e3;
41
42
  cursor: pointer;
42
43
  }
43
44
  }
@@ -50,7 +51,7 @@
50
51
  &:active,
51
52
  &:focus-within {
52
53
  color: rgba(0, 0, 0, 0.25);
53
- background-color: #f5f5f5;
54
+ background-color: @color_f5f5f5;
54
55
  cursor: not-allowed;
55
56
  }
56
57
  }
@@ -0,0 +1,30 @@
1
+ @white: #fff;
2
+ @black: #000;
3
+ @color_333: #333;
4
+ @color_ccc: #ccc;
5
+
6
+ @color_9aa5b5: #9e9e9e;
7
+ @color_a0a0a0: #a0a0a0;
8
+ @color_e5e5e5: #e5e5e5;
9
+ @color_a0a0a0: #a0a0a0;
10
+ @color_323232: #323232;
11
+ @color_02a6e3: #02a6e3;
12
+ @color_f5f5f5: #f5f5f5;
13
+ @color_cacaca: #cacaca;
14
+ @color_1890ff: #1890ff;
15
+ @color_d9d9d9: #d9d9d9;
16
+ @color_40a9ff: #40a9ff;
17
+ @color_dfe2e7: #dfe2e7;
18
+ @color_b3b3b3: #b3b3b3;
19
+ @color_263241: #263241;
20
+ @color_7d7d7d: #7d7d7d;
21
+ @color_f5f6fa: #f5f6fa;
22
+ @color_dc4946: #dc4946;
23
+ @color_a3daff: #a3daff;
24
+ @color_bfbfbf: #bfbfbf;
25
+
26
+ @font-size-base: 14px;
27
+ @font-size-lg: @font-size-base + 2px;
28
+ @font-size_18: 18px;
29
+
30
+ @font-weight-500: 500;
@@ -91,6 +91,7 @@ var react_1 = __importStar(require("react"));
91
91
  var drawer_1 = __importDefault(require("antd/lib/drawer"));
92
92
  var isFunction_1 = __importDefault(require("lodash/isFunction"));
93
93
  var classnames_1 = __importDefault(require("classnames"));
94
+ var CloseOutlined_1 = __importDefault(require("a-icons/lib/CloseOutlined"));
94
95
  var ButtonDrawer = function ButtonDrawer(props, ref) {
95
96
  var _a = __read((0, react_1.useState)(false), 2),
96
97
  drawerVisible = _a[0],
@@ -133,7 +134,8 @@ var ButtonDrawer = function ButtonDrawer(props, ref) {
133
134
  className: (0, classnames_1["default"])('button-drawer', className),
134
135
  title: title,
135
136
  onClose: closeDrawer,
136
- open: drawerVisible
137
+ open: drawerVisible,
138
+ closeIcon: react_1["default"].createElement(CloseOutlined_1["default"], null)
137
139
  }, restProps), (0, isFunction_1["default"])(children) ? children(actionRef.current) : react_1["default"].cloneElement(children, {
138
140
  drawerAction: actionRef.current
139
141
  })));
@@ -101,8 +101,7 @@ var ButtonModal = function ButtonModal(props, ref) {
101
101
  onClose = props.onClose,
102
102
  onOk = props.onOk,
103
103
  onCancel = props.onCancel,
104
- className = props.className,
105
- restModalProps = __rest(props, ["children", "trigger", "onOpen", "onClose", "onOk", "onCancel", "className"]);
104
+ restModalProps = __rest(props, ["children", "trigger", "onOpen", "onClose", "onOk", "onCancel"]);
106
105
  var openModal = function openModal() {
107
106
  setModalVisible(true);
108
107
  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 @primary-color-outline;
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: #bfbfbf;
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: #a3daff;
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: 18px;
41
+ font-size: @font-size_18;
41
42
  }
42
43
 
43
44
  &.rotate button {
44
- font-size: 16px;
45
+ font-size: @font-size-lg;
45
46
 
46
47
  &:first-of-type {
47
48
  transform: rotate(-20deg);
@@ -1,7 +1,6 @@
1
1
  @import '~antd/lib/tabs/style/index.less';
2
2
  @import '~antd/lib/badge/style/index.less';
3
-
4
- @color_dc4946: #dc4946;
3
+ @import '../../style/variables.less';
5
4
 
6
5
  .tab-badge {
7
6
  position: relative;
@@ -1271,7 +1271,7 @@ html {
1271
1271
  left: 16px;
1272
1272
  z-index: 2;
1273
1273
  height: 20px;
1274
- color: #9aa5b5;
1274
+ color: #9e9e9e;
1275
1275
  font-size: 14px;
1276
1276
  line-height: 20px;
1277
1277
  transform-origin: top left;
@@ -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 #e5e5e5;
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: 15px;
1270
+ left: 16px;
1271
1271
  z-index: 2;
1272
1272
  height: 20px;
1273
- color: #9aa5b5;
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: 15px;
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 #f5f6fa;
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-left: 12px;
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: #9aa5b5;
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-left: 12px;
15
- border: 1px solid #e5e5e5;
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: #323232;
37
+ color: @color_323232;
33
38
  }
34
39
  }
35
40