@aloudata/aloudata-design 1.1.0 → 1.1.2

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 (37) hide show
  1. package/dist/App/index.d.ts +4 -0
  2. package/dist/App/index.js +26 -0
  3. package/dist/App/style/index.d.ts +2 -0
  4. package/dist/App/style/index.js +2 -0
  5. package/dist/App/style/index.less +1 -0
  6. package/dist/Breadcrumb/style/index.less +1 -1
  7. package/dist/Button/style/index.less +26 -16
  8. package/dist/Button/style/variables.less +9 -6
  9. package/dist/Checkbox/style/index.less +2 -2
  10. package/dist/Divider/style/index.less +1 -1
  11. package/dist/Dropdown/style/index.less +22 -7
  12. package/dist/Empty/style/index.less +3 -3
  13. package/dist/Input/style/index.less +21 -20
  14. package/dist/InputNumber/style/index.less +7 -7
  15. package/dist/Menu/style/dropdown.less +10 -5
  16. package/dist/Menu/style/index.less +4 -4
  17. package/dist/Modal/style/index.less +20 -20
  18. package/dist/Popconfirm/style/index.less +2 -1
  19. package/dist/Popover/style/index.less +1 -1
  20. package/dist/Radio/style/index.less +5 -5
  21. package/dist/Select/style/index.less +67 -58
  22. package/dist/Select/style/size.less +58 -49
  23. package/dist/Select/style/status.less +1 -1
  24. package/dist/Select/style/variables.less +6 -6
  25. package/dist/Spin/index.js +1 -0
  26. package/dist/Spin/style/index.less +7 -1
  27. package/dist/Steps/style/index.less +7 -7
  28. package/dist/Switch/style/index.less +12 -2
  29. package/dist/Tooltip/style/index.less +1 -1
  30. package/dist/Tree/demo/basic/index.js +3 -3
  31. package/dist/Tree/style/index.less +1 -1
  32. package/dist/index.d.ts +1 -0
  33. package/dist/index.js +2 -1
  34. package/dist/notification/demo/index.js +3 -3
  35. package/dist/style/mixins/index.less +4 -0
  36. package/dist/style/themes/default/index.less +3 -8
  37. package/package.json +3 -2
@@ -0,0 +1,4 @@
1
+ import { AppProps } from 'antd';
2
+ import React from 'react';
3
+ declare const AldApp: React.FC<AppProps>;
4
+ export default AldApp;
@@ -0,0 +1,26 @@
1
+ var _excluded = ["children", "className"];
2
+
3
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
4
+
5
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
6
+
7
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
8
+
9
+ import { legacyLogicalPropertiesTransformer, StyleProvider } from '@ant-design/cssinjs';
10
+ import { App } from 'antd';
11
+ import classNames from 'classnames';
12
+ import React from 'react';
13
+
14
+ var AldApp = function AldApp(_ref) {
15
+ var children = _ref.children,
16
+ className = _ref.className,
17
+ restProps = _objectWithoutProperties(_ref, _excluded);
18
+
19
+ return /*#__PURE__*/React.createElement(StyleProvider, {
20
+ transformers: [legacyLogicalPropertiesTransformer]
21
+ }, /*#__PURE__*/React.createElement(App, _extends({
22
+ className: classNames('ald-app', className)
23
+ }, restProps), children));
24
+ };
25
+
26
+ export default AldApp;
@@ -0,0 +1,2 @@
1
+ import '../../style';
2
+ import './index.less';
@@ -0,0 +1,2 @@
1
+ import "../../style";
2
+ import "./index.less";
@@ -0,0 +1 @@
1
+ @import '../../style/index.less';
@@ -1,6 +1,6 @@
1
1
  @import '../../style/index.less';
2
2
 
3
- .ald-breadcrumb.ant-breadcrumb li {
3
+ .ald-breadcrumb.ald-breadcrumb.ant-breadcrumb li {
4
4
  color: @NL50;
5
5
  font-weight: 600;
6
6
  font-size: 24px;
@@ -1,7 +1,7 @@
1
1
  @import '../../style/index.less';
2
2
  @import './variables.less';
3
3
 
4
- .ald-btn {
4
+ .ald-btn.ant-btn {
5
5
  &.ald-btn {
6
6
  // &-loading::before{
7
7
  // // display: none !important;
@@ -194,6 +194,7 @@
194
194
  background-color: @button-link-bg-color;
195
195
  border-color: @button-link-bg-color;
196
196
  box-shadow: none;
197
+ padding: 0 !important;
197
198
 
198
199
  &:focus {
199
200
  color: @button-link-color;
@@ -256,16 +257,19 @@
256
257
  border-radius: 50%;
257
258
  }
258
259
 
259
- .aldicon-icon-left {
260
- svg {
261
- vertical-align: -4px;
262
- }
263
- }
260
+ // .aldicon-icon-left {
261
+ // svg {
262
+ // vertical-align: -4px;
263
+ // }
264
+ // }
264
265
 
265
266
  gap: @button-left-icon-margin-right-large;
266
267
  // .aldicon-icon-left + span {
267
268
  // margin-left: @button-left-icon-margin-right-large;
268
269
  // }
270
+ &:not(.ant-btn-circle):not(.ant-btn-icon-only):not(.ald-btn-link) {
271
+ min-width: @button-text-min-width-large;
272
+ }
269
273
  }
270
274
 
271
275
  &-middle {
@@ -287,16 +291,19 @@
287
291
  border-radius: 50%;
288
292
  }
289
293
 
290
- .aldicon-icon-left {
291
- svg {
292
- vertical-align: -3px;
293
- }
294
- }
294
+ // .aldicon-icon-left {
295
+ // svg {
296
+ // vertical-align: -3px;
297
+ // }
298
+ // }
295
299
 
296
300
  gap: @button-left-icon-margin-right-middle;
297
301
  // .aldicon-icon-left + span {
298
302
  // margin-left: @button-left-icon-margin-right-middle;
299
303
  // }
304
+ &:not(.ant-btn-circle):not(.ant-btn-icon-only):not(.ald-btn-link) {
305
+ min-width: @button-text-min-width-middle;
306
+ }
300
307
  }
301
308
 
302
309
  &-small {
@@ -318,16 +325,19 @@
318
325
  border-radius: 50%;
319
326
  }
320
327
 
321
- .aldicon-icon-left {
322
- svg {
323
- vertical-align: -2px;
324
- }
325
- }
328
+ // .aldicon-icon-left {
329
+ // svg {
330
+ // vertical-align: -2px;
331
+ // }
332
+ // }
326
333
 
327
334
  gap: @button-left-icon-margin-right-small;
328
335
  // .aldicon-icon-left + span {
329
336
  // margin-left: @button-left-icon-margin-right-small;
330
337
  // }
338
+ &:not(.ant-btn-circle):not(.ant-btn-icon-only):not(.ald-btn-link) {
339
+ min-width: @button-text-min-width-small;
340
+ }
331
341
  }
332
342
 
333
343
  // &-mini {
@@ -6,21 +6,24 @@
6
6
  /** size控制 **/
7
7
  @button-height-large: 36px;
8
8
  @button-text-size-large: 16px;
9
- @button-border-radius-large: 6px;
10
- @button-border-padding-large: 5px 23px;
9
+ @button-border-radius-large: 4px;
10
+ @button-border-padding-large: 5px 15px;
11
11
  @button-left-icon-margin-right-large: 8px;
12
+ @button-text-min-width-large: 96px;
12
13
 
13
14
  @button-height-middle: 32px;
14
15
  @button-text-size-middle: 13px;
15
- @button-border-radius-middle: 4px;
16
- @button-border-padding-middle: 5px 19px;
16
+ @button-border-radius-middle: 2px;
17
+ @button-border-padding-middle: 5px 11px;
17
18
  @button-left-icon-margin-right-middle: 4px;
19
+ @button-text-min-width-middle: 76px;
18
20
 
19
21
  @button-height-small: 28px;
20
22
  @button-text-size-small: 12px;
21
- @button-border-radius-small: 4px;
22
- @button-border-padding-small: 5px 15px;
23
+ @button-border-radius-small: 2px;
24
+ @button-border-padding-small: 5px 7px;
23
25
  @button-left-icon-margin-right-small: 4px;
26
+ @button-text-min-width-small: 64px;
24
27
 
25
28
  // @button-height-mini: 24px;
26
29
  // @button-text-size-mini: 12px;
@@ -1,6 +1,6 @@
1
1
  @import '../../style/index.less';
2
2
 
3
- .ald-checkbox {
3
+ .ald-checkbox.ald-checkbox {
4
4
  height: 20px;
5
5
  color: @NL0;
6
6
  font-size: 13px;
@@ -151,7 +151,7 @@
151
151
  }
152
152
  }
153
153
 
154
- .ald-checkbox.ant-checkbox-wrapper-disabled {
154
+ .ald-checkbox.ald-checkbox.ant-checkbox-wrapper-disabled {
155
155
  cursor: default;
156
156
  }
157
157
 
@@ -1,5 +1,5 @@
1
1
  @import '../../style/index.less';
2
2
 
3
3
  .ald-divider {
4
- border-color: @BG70;
4
+ border-color: @BG60;
5
5
  }
@@ -1,6 +1,6 @@
1
1
  @import '../../style/index.less';
2
2
 
3
- @Dropdown-menu-minWidth: 168px;
3
+ @Dropdown-menu-minWidth: 140px;
4
4
 
5
5
  .ant-dropdown-menu > .ant-dropdown-menu {
6
6
  padding: 0;
@@ -22,12 +22,27 @@
22
22
  padding: 4px;
23
23
  color: @NL0;
24
24
  box-shadow: @shadow-L;
25
+
26
+ .ant-dropdown-menu-submenu-title.ant-dropdown-menu-submenu-title {
27
+ &:hover {
28
+ background-color: #f8f8f8;
29
+ }
30
+
31
+ &.ant-dropdown-menu-item-disabled {
32
+ color: @NL80;
33
+ cursor: default;
34
+
35
+ &:hover {
36
+ background-color: @BG100;
37
+ }
38
+ }
39
+ }
25
40
  }
26
41
 
27
- .ald-menu,
28
- .ald-submenu {
42
+ .ald-menu.ald-menu,
43
+ .ald-submenu.ald-submenu {
29
44
  .ant-dropdown-menu-item-active {
30
- background-color: @NL97;
45
+ background-color: #f8f8f8;
31
46
  }
32
47
 
33
48
 
@@ -38,9 +53,9 @@
38
53
  }
39
54
 
40
55
  .ant-dropdown-menu-item,
41
- .ant-dropdown-menu-submenu-title {
56
+ .ant-dropdown-menu-submenu-title.ant-dropdown-menu-submenu-title {
42
57
  &:hover {
43
- background-color: @NL97;
58
+ background-color: #f8f8f8;
44
59
  }
45
60
 
46
61
  &.ant-dropdown-menu-item-disabled {
@@ -54,7 +69,7 @@
54
69
  }
55
70
  }
56
71
 
57
- .ant-dropdown-menu-submenu-title {
72
+ .ant-dropdown-menu-submenu-title.ant-dropdown-menu-submenu-title {
58
73
  padding: 8px 24px 8px 12px;
59
74
  line-height: 20px;
60
75
  border-radius: 0 !important;
@@ -24,15 +24,15 @@
24
24
 
25
25
  .ald-empty-title {
26
26
  color: @NL0;
27
- font-size: 16px;
27
+ font-size: 13px;
28
28
  line-height: 24px;
29
29
  margin-bottom: 4px;
30
- font-weight: 600;
30
+ font-weight: 500;
31
31
  }
32
32
 
33
33
  .ald-empty-description {
34
34
  color: @NL40;
35
- font-size: 14px;
35
+ font-size: 13px;
36
36
  line-height: 20px;
37
37
  font-weight: 400;
38
38
  }
@@ -7,23 +7,23 @@
7
7
  @ald-iconfont-css-prefix: anticon;
8
8
  // size===large
9
9
  @input-height-large: 36px;
10
- @input-padding-large: 5px 13px;
10
+ @input-padding-large: 5px 11px;
11
11
  @input-font-size-large: 16px;
12
- @input-border-radius-large: 6px;
12
+ @input-border-radius-large: 4px;
13
13
  @input-prefix-margin-right-large: 8px;
14
14
  @input-clear-icon-large: 20px;
15
15
  // size===middle
16
16
  @input-height-middle: 32px;
17
- @input-padding-middle: 5px 11px;
18
- @input-font-size-middle: 14px;
19
- @input-border-radius-middle: 4px;
20
- @input-prefix-margin-right-middle: 8px;
17
+ @input-padding-middle: 5px 7px;
18
+ @input-font-size-middle: 13px;
19
+ @input-border-radius-middle: 2px;
20
+ @input-prefix-margin-right-middle: 4px;
21
21
  @input-clear-icon-middle: 16px;
22
22
  // size===small
23
23
  @input-height-small: 28px;
24
- @input-padding-small: 5px 9px;
24
+ @input-padding-small: 5px 7px;
25
25
  @input-font-size-small: 12px;
26
- @input-border-radius-small: 4px;
26
+ @input-border-radius-small: 2px;
27
27
  @input-prefix-margin-right-small: 4px;
28
28
  @input-clear-icon-small: 14px;
29
29
  //custom status
@@ -40,9 +40,9 @@
40
40
  @input-disabled-bg-color: @BG90;
41
41
  @input-disabled-font-color: @NL40;
42
42
 
43
- .ant-input.ald-input,
44
- .ant-input-affix-wrapper.ald-input,
45
- .ald-input .ant-input {
43
+ .ant-input.ald-input.ald-input,
44
+ .ant-input-affix-wrapper.ald-input.ald-input,
45
+ .ald-input.ald-input .ant-input {
46
46
  color: @NL0;
47
47
  font-weight: 400;
48
48
  background-color: @input-bg-color;
@@ -106,7 +106,7 @@
106
106
  }
107
107
  }
108
108
 
109
- .ant-input-affix-wrapper.ant-input-affix-wrapper {
109
+ .ant-input-affix-wrapper.ant-input-affix-wrapper.ant-input-affix-wrapper {
110
110
  background-color: @input-bg-color;
111
111
  border-color: @input-border-color;
112
112
 
@@ -115,6 +115,7 @@
115
115
  &-focused {
116
116
  border-color: @input-active-border-color;
117
117
  // box-shadow: @input-box-shadow-active;
118
+ box-shadow: none;
118
119
  }
119
120
 
120
121
  .ant-input {
@@ -351,23 +352,23 @@
351
352
  border-radius: @border-radius-small;
352
353
  }
353
354
 
354
- textarea.ald-input-textarea-large,
355
- .ald-input-textarea-large .ant-input {
355
+ textarea.ald-input-textarea-large.ald-input-textarea,
356
+ .ald-input-textarea.ald-input-textarea-large .ant-input {
356
357
  .ald-textarea-large();
357
358
  }
358
359
 
359
- textarea.ald-input-textarea-middle,
360
- .ald-input-textarea-middle .ant-input {
360
+ textarea.ald-input-textarea-middle.ald-input-textarea,
361
+ .ald-input-textarea.ald-input-textarea-middle .ant-input {
361
362
  .ald-textarea-middle();
362
363
  }
363
364
 
364
- textarea.ald-input-textarea-small,
365
- .ald-input-textarea-small .ant-input {
365
+ textarea.ald-input-textarea-small.ald-input-textarea,
366
+ .ald-input-textarea.ald-input-textarea-small .ant-input {
366
367
  .ald-textarea-small();
367
368
  }
368
369
 
369
- textarea.ald-input-textarea,
370
- .ald-input-textarea .ant-input {
370
+ textarea.ald-input-textarea.ald-input-textarea,
371
+ .ald-input-textarea.ald-input-textarea .ant-input {
371
372
  color: @NL0;
372
373
  background: @input-bg-color;
373
374
  caret-color: @B60;
@@ -3,18 +3,18 @@
3
3
 
4
4
  @inputNumber-height-large: 36px;
5
5
  @inputNumber-font-size-large: 16px;
6
- @inputNumber-border-radius-large: 6px;
7
- @inputNumber-padding-large: 0 14px;
6
+ @inputNumber-border-radius-large: 4px;
7
+ @inputNumber-padding-large: 0 11px;
8
8
 
9
9
  @inputNumber-height-middle: 32px;
10
- @inputNumber-font-size-middle: 14px;
11
- @inputNumber-border-radius-middle: 4px;
12
- @inputNumber-padding-middle: 0 12px;
10
+ @inputNumber-font-size-middle: 13px;
11
+ @inputNumber-border-radius-middle: 2px;
12
+ @inputNumber-padding-middle: 0 7px;
13
13
 
14
14
  @inputNumber-height-small: 28px;
15
15
  @inputNumber-font-size-small: 12px;
16
- @inputNumber-border-radius-small: 4px;
17
- @inputNumber-padding-small: 0 10px;
16
+ @inputNumber-border-radius-small: 2px;
17
+ @inputNumber-padding-small: 0 7px;
18
18
 
19
19
  //默认
20
20
  @inputNumber-bg-color: @BG100;
@@ -5,11 +5,12 @@
5
5
  border: 1px solid @BG70;
6
6
  border-radius: 2px;
7
7
  box-shadow: @shadow-L;
8
- padding: 4px 0;
8
+ padding: 0;
9
9
 
10
10
  .ant-dropdown-menu-item-divider,
11
11
  .ant-dropdown-menu-submenu-title-divider {
12
12
  background-color: @BG70;
13
+ margin:0;
13
14
  }
14
15
 
15
16
  .ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected {
@@ -17,7 +18,7 @@
17
18
  }
18
19
 
19
20
  .ant-dropdown-menu-item {
20
- padding: 6px 12px;
21
+ padding: 6px 8px;
21
22
  line-height: 20px;
22
23
  font-size: 13px;
23
24
  border-radius: 0;
@@ -34,19 +35,23 @@
34
35
  }
35
36
  }
36
37
 
37
- .ant-dropdown {
38
+ .ant-dropdown.ant-dropdown {
38
39
  .ald-menu.ant-dropdown-menu {
39
40
  .dropdown-menu-content();
40
41
  }
41
42
  }
42
43
 
43
- .ant-dropdown-menu-submenu {
44
+ .ant-dropdown-menu-submenu.ant-dropdown-menu-submenu {
44
45
  .ant-dropdown-menu-sub {
45
46
  .dropdown-menu-content();
46
47
  }
47
48
 
48
49
  &.ant-dropdown-menu-submenu-popup {
49
- min-width: 168px;
50
+ min-width: 140px;
51
+ }
52
+
53
+ &.ant-dropdown-menu-submenu-active {
54
+ background-color: @BG90;
50
55
  }
51
56
  }
52
57
 
@@ -12,7 +12,7 @@
12
12
  .ant-menu-item-selected {
13
13
  margin: 0;
14
14
  height: initial;
15
- padding: 6px 12px;
15
+ padding: 6px 8px;
16
16
  line-height: 20px;
17
17
  font-size: 13px;
18
18
  width: 100%;
@@ -82,7 +82,7 @@
82
82
  }
83
83
  }
84
84
 
85
- .ant-menu-submenu.ant-menu-submenu-popup.ant-menu{
85
+ .ant-menu-submenu.ant-menu-submenu.ant-menu-submenu-popup.ant-menu{
86
86
  .ant-menu-vertical {
87
87
  border: 1px solid @BG70;
88
88
  border-radius: 2px;
@@ -94,7 +94,7 @@
94
94
  .ant-menu-item-selected {
95
95
  margin: 0;
96
96
  height: initial;
97
- padding: 6px 12px;
97
+ padding: 6px 8px;
98
98
  line-height: 20px;
99
99
  font-size: 13px;
100
100
  width: 100%;
@@ -147,7 +147,7 @@
147
147
  }
148
148
 
149
149
  .ant-menu.ant-menu-sub{
150
- padding:4px 0;
150
+ padding: 0;
151
151
  }
152
152
 
153
153
  .ant-menu-title-content{
@@ -1,12 +1,22 @@
1
1
  @import '../../style/index.less';
2
2
 
3
- .ald-modal {
3
+ .ald-modal.ald-modal {
4
4
  .ant-modal-content {
5
5
  padding: 15px 23px;
6
6
  box-shadow: 0 20px 24px -4px rgb(16 24 40 / 8%),
7
7
  0 8px 8px -4px rgb(16 24 40 / 3%);
8
8
  border-radius: 4px;
9
- border:1px solid @BG60;
9
+ border: 1px solid @BG60;
10
+
11
+ .ant-modal-body {
12
+ max-height: 70vh;
13
+ overflow: auto;
14
+ overflow: overlay;
15
+ line-height: 20px;
16
+ font-size: 13px;
17
+
18
+
19
+ }
10
20
  }
11
21
 
12
22
  .ald-modal-close {
@@ -55,32 +65,23 @@
55
65
  }
56
66
  }
57
67
 
58
- .ant-modal-body {
59
- max-height: 70vh;
60
- overflow: auto;
61
- overflow: overlay;
62
- line-height: 20px;
63
- font-size: 13px;
64
- }
65
-
66
68
  .ant-modal-footer {
67
69
  .ant-btn + .ant-btn:not(.ant-dropdown-trigger) {
68
70
  margin-bottom: 0;
69
71
  margin-inline-start: 12px;
70
72
  }
71
73
  }
72
-
73
74
  }
74
75
 
75
- .ald-modal-padding-less{
76
+ .ald-modal-padding-less {
76
77
  .ant-modal-content {
77
- .ant-modal-body{
78
+ .ant-modal-body {
78
79
  margin: 0 -24px;
79
80
  }
80
81
  }
81
82
  }
82
83
 
83
- .ant-modal-confirm {
84
+ .ald-modal.ant-modal-confirm {
84
85
  .ant-modal-confirm-body > .i-icon {
85
86
  & + .ant-modal-confirm-title {
86
87
  flex: 1;
@@ -92,28 +93,27 @@
92
93
  margin-left: 28px;
93
94
  }
94
95
  }
95
-
96
96
  }
97
97
 
98
- .ant-modal-confirm-body{
98
+ .ant-modal-confirm-body {
99
99
  display: block;
100
100
 
101
- > span.anticon{
101
+ > span.anticon {
102
102
  display: none;
103
103
 
104
- +.ant-modal-confirm-title+.ant-modal-confirm-content{
104
+ + .ant-modal-confirm-title + .ant-modal-confirm-content {
105
105
  margin-left: 0;
106
106
  margin-top: 16px;
107
107
  }
108
108
  }
109
- }
109
+ }
110
110
 
111
111
  .ant-modal-confirm-btns {
112
112
  margin-block-start: 16px;
113
113
  }
114
114
  }
115
115
 
116
- .ald-modal-warning {
116
+ .ald-modal.ald-modal-warning {
117
117
  .ant-modal-confirm-btns {
118
118
  .ald-btn {
119
119
  background-color: @SB40;
@@ -1,7 +1,8 @@
1
1
  @import '../../style/index.less';
2
2
 
3
- .ant-popover .ant-popover-inner {
3
+ .ant-popover.ant-popover .ant-popover-inner {
4
4
  padding: 16px;
5
+ border-radius: 4px;
5
6
 
6
7
  .ant-popover-inner-content {
7
8
  .ant-popconfirm-message {
@@ -1,6 +1,6 @@
1
1
  @import '../../style/index.less';
2
2
 
3
- .ald-popover {
3
+ .ald-popover.ald-popover {
4
4
  .ant-popover-title {
5
5
  min-width: 312px;
6
6
  height: 24px;
@@ -7,8 +7,8 @@
7
7
  @radio-group-height-middle: 32px;
8
8
  @radio-group-height-small: 28px;
9
9
  @radio-button-padding: 12px;
10
- @radio-button-padding-large: 14px;
11
- @radio-button-padding-small: 10px;
10
+ @radio-button-padding-large: 12px;
11
+ @radio-button-padding-small: 8px;
12
12
  @radio-button-padding-middle: 12px;
13
13
 
14
14
  // Radio组件基础样式
@@ -70,7 +70,7 @@
70
70
  .ald-radio-checked > .ald-radio-inner {
71
71
  border: 1px solid @B40;
72
72
  background: @B95;
73
- transform: background 0.5s ease;
73
+ transition: background 0.5s ease;
74
74
 
75
75
  &::after {
76
76
  position: absolute;
@@ -219,12 +219,12 @@
219
219
  cursor: pointer;
220
220
 
221
221
  &:first-child {
222
- border-radius: 6px 0 0 6px;
222
+ border-radius: @border-radius-middle 0 0 @border-radius-middle;
223
223
  }
224
224
 
225
225
  &:last-child {
226
226
  border-right: 1px solid @BG60;
227
- border-radius: 0 6px 6px 0;
227
+ border-radius: 0 @border-radius-middle @border-radius-middle 0;
228
228
  }
229
229
 
230
230
  .ald-radio {