@qn-pandora/pandora-component 4.3.4 → 4.3.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (120) hide show
  1. package/CHANGELOG.json +20 -0
  2. package/CHANGELOG.md +8 -1
  3. package/README.md +36 -36
  4. package/es/components/AutoComplete/style.less +8 -8
  5. package/es/components/Breadcrumb/style.less +9 -9
  6. package/es/components/Button/style.less +51 -51
  7. package/es/components/Card/RowExtra/style.less +8 -8
  8. package/es/components/Card/SearchInput/style.less +8 -8
  9. package/es/components/Card/style.less +11 -11
  10. package/es/components/CheckTransformList/style.less +35 -35
  11. package/es/components/Checkbox/style.less +5 -5
  12. package/es/components/CheckboxList/style.less +11 -11
  13. package/es/components/Collapse/style.less +58 -58
  14. package/es/components/CollapsiblePanel/style.less +63 -63
  15. package/es/components/DateTimePicker/Base/style.less +160 -160
  16. package/es/components/DateTimePicker/BaseMobile/Absolute/style.less +35 -35
  17. package/es/components/DateTimePicker/BaseMobile/style.less +32 -32
  18. package/es/components/DateTimePicker/Collapse/Panel/style.less +26 -26
  19. package/es/components/DateTimePicker/DisplayInput/style.less +9 -9
  20. package/es/components/DateTimePicker/constants.d.ts +2 -2
  21. package/es/components/DateTimePicker/style.less +19 -19
  22. package/es/components/Descriptions/style.less +16 -16
  23. package/es/components/Drawer/CloseIcon/style.less +8 -8
  24. package/es/components/Drawer/style.less +61 -61
  25. package/es/components/FileResumable/style.less +94 -94
  26. package/es/components/Input/style.less +12 -12
  27. package/es/components/KeyValuePair/style.less +25 -25
  28. package/es/components/Menu/style.less +18 -18
  29. package/es/components/Modal/style.less +30 -30
  30. package/es/components/NameExplainTooltip/style.less +10 -10
  31. package/es/components/NameLimiter/style.less +19 -19
  32. package/es/components/OptionList/InlineOptionList/style.less +16 -16
  33. package/es/components/OptionList/OptionItem/style.less +25 -25
  34. package/es/components/OptionList/PopoverOptionList/style.less +30 -30
  35. package/es/components/OptionList/style.less +3 -3
  36. package/es/components/RadioGroup/style.less +41 -41
  37. package/es/components/RangeInput/style.less +37 -37
  38. package/es/components/RemarkName/style.less +2 -2
  39. package/es/components/Selector/style.less +99 -99
  40. package/es/components/Spin/style.less +26 -26
  41. package/es/components/Steps/ControlButton/style.less +5 -5
  42. package/es/components/Steps/style.less +48 -48
  43. package/es/components/Table/ColumnSetting/index.js +5 -1
  44. package/es/components/Table/ColumnSetting/style.less +46 -46
  45. package/es/components/Table/ColumnTag/style.less +40 -40
  46. package/es/components/Table/style.css +21 -0
  47. package/es/components/Table/style.less +344 -321
  48. package/es/components/Tabs/style.less +33 -33
  49. package/es/components/TagList/Tag/style.less +72 -72
  50. package/es/components/TagList/TagSwitch/style.less +28 -28
  51. package/es/components/TagList/style.less +28 -28
  52. package/es/components/Timeline/TimelineItem/style.less +49 -49
  53. package/es/components/Timeline/style.less +23 -23
  54. package/es/components/Transfer/List/style.less +19 -19
  55. package/es/components/Transfer/ListBody/style.less +18 -18
  56. package/es/components/Transfer/style.less +14 -14
  57. package/es/components/TreeSelector/style.less +56 -56
  58. package/es/index.css +2263 -2242
  59. package/es/index.less +53 -53
  60. package/es/style/mixin.less +45 -45
  61. package/es/style/theme.less +414 -412
  62. package/lib/components/AutoComplete/style.less +8 -8
  63. package/lib/components/Breadcrumb/style.less +9 -9
  64. package/lib/components/Button/style.less +51 -51
  65. package/lib/components/Card/RowExtra/style.less +8 -8
  66. package/lib/components/Card/SearchInput/style.less +8 -8
  67. package/lib/components/Card/style.less +11 -11
  68. package/lib/components/CheckTransformList/style.less +35 -35
  69. package/lib/components/Checkbox/style.less +5 -5
  70. package/lib/components/CheckboxList/style.less +11 -11
  71. package/lib/components/Collapse/style.less +58 -58
  72. package/lib/components/CollapsiblePanel/style.less +63 -63
  73. package/lib/components/DateTimePicker/Base/style.less +160 -160
  74. package/lib/components/DateTimePicker/BaseMobile/Absolute/style.less +35 -35
  75. package/lib/components/DateTimePicker/BaseMobile/style.less +32 -32
  76. package/lib/components/DateTimePicker/Collapse/Panel/style.less +26 -26
  77. package/lib/components/DateTimePicker/DisplayInput/style.less +9 -9
  78. package/lib/components/DateTimePicker/constants.d.ts +2 -2
  79. package/lib/components/DateTimePicker/style.less +19 -19
  80. package/lib/components/Descriptions/style.less +16 -16
  81. package/lib/components/Drawer/CloseIcon/style.less +8 -8
  82. package/lib/components/Drawer/style.less +61 -61
  83. package/lib/components/FileResumable/style.less +94 -94
  84. package/lib/components/Input/style.less +12 -12
  85. package/lib/components/KeyValuePair/style.less +25 -25
  86. package/lib/components/Menu/style.less +18 -18
  87. package/lib/components/Modal/style.less +30 -30
  88. package/lib/components/NameExplainTooltip/style.less +10 -10
  89. package/lib/components/NameLimiter/style.less +19 -19
  90. package/lib/components/OptionList/InlineOptionList/style.less +16 -16
  91. package/lib/components/OptionList/OptionItem/style.less +25 -25
  92. package/lib/components/OptionList/PopoverOptionList/style.less +30 -30
  93. package/lib/components/OptionList/style.less +3 -3
  94. package/lib/components/RadioGroup/style.less +41 -41
  95. package/lib/components/RangeInput/style.less +37 -37
  96. package/lib/components/RemarkName/style.less +2 -2
  97. package/lib/components/Selector/style.less +99 -99
  98. package/lib/components/Spin/style.less +26 -26
  99. package/lib/components/Steps/ControlButton/style.less +5 -5
  100. package/lib/components/Steps/style.less +48 -48
  101. package/lib/components/Table/ColumnSetting/index.js +5 -1
  102. package/lib/components/Table/ColumnSetting/style.less +46 -46
  103. package/lib/components/Table/ColumnTag/style.less +40 -40
  104. package/lib/components/Table/style.css +21 -0
  105. package/lib/components/Table/style.less +344 -321
  106. package/lib/components/Tabs/style.less +33 -33
  107. package/lib/components/TagList/Tag/style.less +72 -72
  108. package/lib/components/TagList/TagSwitch/style.less +28 -28
  109. package/lib/components/TagList/style.less +28 -28
  110. package/lib/components/Timeline/TimelineItem/style.less +49 -49
  111. package/lib/components/Timeline/style.less +23 -23
  112. package/lib/components/Transfer/List/style.less +19 -19
  113. package/lib/components/Transfer/ListBody/style.less +18 -18
  114. package/lib/components/Transfer/style.less +14 -14
  115. package/lib/components/TreeSelector/style.less +56 -56
  116. package/lib/index.css +212 -191
  117. package/lib/index.less +53 -53
  118. package/lib/style/mixin.less +45 -45
  119. package/lib/style/theme.less +414 -412
  120. package/package.json +83 -83
@@ -1,61 +1,61 @@
1
- @import 'antd/lib/drawer/style/index.less';
2
- @import '../../style/theme.less';
3
-
4
- .@{sdk-prefix}-drawer {
5
- .@{ant-prefix}-drawer-content-wrapper {
6
- width: 50%;
7
- min-width: 300px;
8
- }
9
- .@{ant-prefix}-drawer-content > div {
10
- position: relative;
11
- }
12
- .@{ant-prefix}-drawer-close-x {
13
- width: 60px;
14
- height: 60px;
15
- line-height: 60px;
16
- }
17
- .@{ant-prefix}-drawer-header-title {
18
- overflow: hidden;
19
- }
20
- }
21
-
22
- .@{sdk-prefix}-drawer-size-small {
23
- max-width: 38%;
24
- }
25
- .@{sdk-prefix}-drawer-size-default {
26
- max-width: 50%;
27
- }
28
- .@{sdk-prefix}-drawer-size-large {
29
- max-width: 75%;
30
- }
31
-
32
- .@{sdk-prefix}-drawer-no-mask {
33
- .@{ant-prefix}-drawer-content-wrapper {
34
- width: 100%;
35
- }
36
- }
37
-
38
- .@{sdk-prefix}-scroll-handler {
39
- position: absolute;
40
- width: 5px;
41
- padding: 4px 0 0;
42
- top: 0;
43
- left: 0;
44
- bottom: 0;
45
- z-index: 100;
46
- cursor: ew-resize;
47
- }
48
-
49
- .@{sdk-prefix}-drawer-close-icon {
50
- margin-left: 24px;
51
- }
52
-
53
- .@{sdk-prefix}-drawer-header-full-icon {
54
- margin-left: 24px;
55
- color: @font-color-7;
56
- font-size: 14px;
57
- }
58
-
59
- .@{sdk-prefix}-drawer-no-mask {
60
- background-color: @normal-color;
61
- }
1
+ @import 'antd/lib/drawer/style/index.less';
2
+ @import '../../style/theme.less';
3
+
4
+ .@{sdk-prefix}-drawer {
5
+ .@{ant-prefix}-drawer-content-wrapper {
6
+ width: 50%;
7
+ min-width: 300px;
8
+ }
9
+ .@{ant-prefix}-drawer-content > div {
10
+ position: relative;
11
+ }
12
+ .@{ant-prefix}-drawer-close-x {
13
+ width: 60px;
14
+ height: 60px;
15
+ line-height: 60px;
16
+ }
17
+ .@{ant-prefix}-drawer-header-title {
18
+ overflow: hidden;
19
+ }
20
+ }
21
+
22
+ .@{sdk-prefix}-drawer-size-small {
23
+ max-width: 38%;
24
+ }
25
+ .@{sdk-prefix}-drawer-size-default {
26
+ max-width: 50%;
27
+ }
28
+ .@{sdk-prefix}-drawer-size-large {
29
+ max-width: 75%;
30
+ }
31
+
32
+ .@{sdk-prefix}-drawer-no-mask {
33
+ .@{ant-prefix}-drawer-content-wrapper {
34
+ width: 100%;
35
+ }
36
+ }
37
+
38
+ .@{sdk-prefix}-scroll-handler {
39
+ position: absolute;
40
+ width: 5px;
41
+ padding: 4px 0 0;
42
+ top: 0;
43
+ left: 0;
44
+ bottom: 0;
45
+ z-index: 100;
46
+ cursor: ew-resize;
47
+ }
48
+
49
+ .@{sdk-prefix}-drawer-close-icon {
50
+ margin-left: 24px;
51
+ }
52
+
53
+ .@{sdk-prefix}-drawer-header-full-icon {
54
+ margin-left: 24px;
55
+ color: @font-color-7;
56
+ font-size: 14px;
57
+ }
58
+
59
+ .@{sdk-prefix}-drawer-no-mask {
60
+ background-color: @normal-color;
61
+ }
@@ -1,94 +1,94 @@
1
- @import 'antd/lib/upload/style/index.less';
2
- @import '../../style/theme.less';
3
-
4
- .@{sdk-prefix}-file-resumable {
5
- cursor: pointer;
6
- }
7
-
8
- .@{sdk-prefix}-file-resumable-run-container {
9
- text-align: right;
10
- .@{sdk-prefix}-file-resumable-run-container-icon {
11
- color: @theme-color;
12
- cursor: pointer;
13
- font-size: 14px;
14
- margin: 0 6px;
15
- }
16
-
17
- .@{sdk-prefix}-file-resumable-run-container-icon-disabled {
18
- color: @font-disable-color;
19
- &:hover {
20
- cursor: not-allowed;
21
- }
22
- }
23
- }
24
-
25
- .@{sdk-prefix}-file-resumable-upload-icon {
26
- font-size: 50px;
27
- color: @icon-color;
28
- }
29
-
30
- .downloadIcon {
31
- color: @theme-color;
32
- cursor: pointer;
33
- font-size: 20px;
34
- }
35
-
36
- .@{sdk-prefix}-file-resumable:hover {
37
- border-color: @theme-color;
38
- }
39
-
40
- .@{sdk-prefix}-file-resumable-img-container {
41
- background: @normal-color;
42
- border: 1px dashed @border-color-1;
43
- width: 50px;
44
- height: 50px;
45
- padding: 4px;
46
- border-radius: 2px;
47
- align-items: center;
48
- cursor: pointer;
49
- position: relative;
50
- font-size: 16px;
51
- display: flex;
52
- justify-content: center;
53
- .@{sdk-prefix}-file-resumable-img-operator {
54
- display: flex;
55
- justify-content: center;
56
- align-items: center;
57
- position: absolute;
58
- top: 4px;
59
- left: 4px;
60
- right: 4px;
61
- bottom: 4px;
62
- .anticon {
63
- font-size: 16px;
64
- }
65
- }
66
- .@{sdk-prefix}-file-resumable-img-hidden-plus-icon {
67
- display: none;
68
- }
69
-
70
- .@{sdk-prefix}-file-resumable-img-box {
71
- max-width: 100%;
72
- max-height: 100%;
73
- padding: 4px;
74
- }
75
-
76
- &:hover {
77
- .@{sdk-prefix}-file-resumable-img-operator {
78
- background: @image-operator-hover-bg;
79
- display: flex;
80
- .anticon {
81
- font-size: 16px;
82
- color: @normal-color;
83
- }
84
- }
85
- }
86
- }
87
- .@{sdk-prefix}-file-resumable-img.ant-upload.ant-upload-drag {
88
- width: 50px;
89
- height: 50px;
90
- border: none;
91
- .@{ant-prefix}-upload-btn {
92
- padding: 0;
93
- }
94
- }
1
+ @import 'antd/lib/upload/style/index.less';
2
+ @import '../../style/theme.less';
3
+
4
+ .@{sdk-prefix}-file-resumable {
5
+ cursor: pointer;
6
+ }
7
+
8
+ .@{sdk-prefix}-file-resumable-run-container {
9
+ text-align: right;
10
+ .@{sdk-prefix}-file-resumable-run-container-icon {
11
+ color: @theme-color;
12
+ cursor: pointer;
13
+ font-size: 14px;
14
+ margin: 0 6px;
15
+ }
16
+
17
+ .@{sdk-prefix}-file-resumable-run-container-icon-disabled {
18
+ color: @font-disable-color;
19
+ &:hover {
20
+ cursor: not-allowed;
21
+ }
22
+ }
23
+ }
24
+
25
+ .@{sdk-prefix}-file-resumable-upload-icon {
26
+ font-size: 50px;
27
+ color: @icon-color;
28
+ }
29
+
30
+ .downloadIcon {
31
+ color: @theme-color;
32
+ cursor: pointer;
33
+ font-size: 20px;
34
+ }
35
+
36
+ .@{sdk-prefix}-file-resumable:hover {
37
+ border-color: @theme-color;
38
+ }
39
+
40
+ .@{sdk-prefix}-file-resumable-img-container {
41
+ background: @normal-color;
42
+ border: 1px dashed @border-color-1;
43
+ width: 50px;
44
+ height: 50px;
45
+ padding: 4px;
46
+ border-radius: 2px;
47
+ align-items: center;
48
+ cursor: pointer;
49
+ position: relative;
50
+ font-size: 16px;
51
+ display: flex;
52
+ justify-content: center;
53
+ .@{sdk-prefix}-file-resumable-img-operator {
54
+ display: flex;
55
+ justify-content: center;
56
+ align-items: center;
57
+ position: absolute;
58
+ top: 4px;
59
+ left: 4px;
60
+ right: 4px;
61
+ bottom: 4px;
62
+ .anticon {
63
+ font-size: 16px;
64
+ }
65
+ }
66
+ .@{sdk-prefix}-file-resumable-img-hidden-plus-icon {
67
+ display: none;
68
+ }
69
+
70
+ .@{sdk-prefix}-file-resumable-img-box {
71
+ max-width: 100%;
72
+ max-height: 100%;
73
+ padding: 4px;
74
+ }
75
+
76
+ &:hover {
77
+ .@{sdk-prefix}-file-resumable-img-operator {
78
+ background: @image-operator-hover-bg;
79
+ display: flex;
80
+ .anticon {
81
+ font-size: 16px;
82
+ color: @normal-color;
83
+ }
84
+ }
85
+ }
86
+ }
87
+ .@{sdk-prefix}-file-resumable-img.ant-upload.ant-upload-drag {
88
+ width: 50px;
89
+ height: 50px;
90
+ border: none;
91
+ .@{ant-prefix}-upload-btn {
92
+ padding: 0;
93
+ }
94
+ }
@@ -1,12 +1,12 @@
1
- @import 'antd/lib/input/style/index.less';
2
- @import '../../style/theme.less';
3
-
4
- .@{ant-prefix}-input {
5
- &[disabled] {
6
- border-color: @input-disabled-border-color;
7
- }
8
- }
9
-
10
- .@{ant-prefix}-input-group-addon {
11
- color: @font-color-6;
12
- }
1
+ @import 'antd/lib/input/style/index.less';
2
+ @import '../../style/theme.less';
3
+
4
+ .@{ant-prefix}-input {
5
+ &[disabled] {
6
+ border-color: @input-disabled-border-color;
7
+ }
8
+ }
9
+
10
+ .@{ant-prefix}-input-group-addon {
11
+ color: @font-color-6;
12
+ }
@@ -1,25 +1,25 @@
1
- @import '../../style/theme.less';
2
-
3
- .@{sdk-prefix}-key-value-label,
4
- .@{sdk-prefix}-key-value-value {
5
- display: inline-block;
6
- overflow: hidden;
7
- text-overflow: ellipsis;
8
- white-space: nowrap;
9
- line-height: 1.8;
10
- vertical-align: middle; // overflow:hidden和display: inline-block一起使用时会造成baseline的移动,进而增大高度
11
- }
12
-
13
- .@{sdk-prefix}-key-value-label {
14
- color: @font-color-6;
15
- width: 30%;
16
- }
17
- .@{sdk-prefix}-key-value-label-top {
18
- padding-top: 10px;
19
- vertical-align: top;
20
- }
21
-
22
- .@{sdk-prefix}-key-value-value {
23
- color: @font-color-7;
24
- width: 70%;
25
- }
1
+ @import '../../style/theme.less';
2
+
3
+ .@{sdk-prefix}-key-value-label,
4
+ .@{sdk-prefix}-key-value-value {
5
+ display: inline-block;
6
+ overflow: hidden;
7
+ text-overflow: ellipsis;
8
+ white-space: nowrap;
9
+ line-height: 1.8;
10
+ vertical-align: middle; // overflow:hidden和display: inline-block一起使用时会造成baseline的移动,进而增大高度
11
+ }
12
+
13
+ .@{sdk-prefix}-key-value-label {
14
+ color: @font-color-6;
15
+ width: 30%;
16
+ }
17
+ .@{sdk-prefix}-key-value-label-top {
18
+ padding-top: 10px;
19
+ vertical-align: top;
20
+ }
21
+
22
+ .@{sdk-prefix}-key-value-value {
23
+ color: @font-color-7;
24
+ width: 70%;
25
+ }
@@ -1,18 +1,18 @@
1
- @import 'antd/lib/menu/style/index.less';
2
- @import '../../style/theme.less';
3
-
4
- .@{ant-prefix}-menu-vertical.@{ant-prefix}-menu-sub:not([class*='-active']),
5
- .@{ant-prefix}-menu-vertical-left.@{ant-prefix}-menu-sub:not([class*='-active']),
6
- .@{ant-prefix}-menu-vertical-right.@{ant-prefix}-menu-sub:not([class*='-active']) {
7
- max-height: 320px;
8
- }
9
- .@{ant-prefix}-menu-item {
10
- .@{sdk-prefix}-menu-item-a {
11
- color: @font-color-7;
12
- }
13
- }
14
- .@{ant-prefix}-menu-horizontal
15
- > .@{ant-prefix}-menu-item
16
- .@{sdk-prefix}-menu-item-a {
17
- color: @font-color-7;
18
- }
1
+ @import 'antd/lib/menu/style/index.less';
2
+ @import '../../style/theme.less';
3
+
4
+ .@{ant-prefix}-menu-vertical.@{ant-prefix}-menu-sub:not([class*='-active']),
5
+ .@{ant-prefix}-menu-vertical-left.@{ant-prefix}-menu-sub:not([class*='-active']),
6
+ .@{ant-prefix}-menu-vertical-right.@{ant-prefix}-menu-sub:not([class*='-active']) {
7
+ max-height: 320px;
8
+ }
9
+ .@{ant-prefix}-menu-item {
10
+ .@{sdk-prefix}-menu-item-a {
11
+ color: @font-color-7;
12
+ }
13
+ }
14
+ .@{ant-prefix}-menu-horizontal
15
+ > .@{ant-prefix}-menu-item
16
+ .@{sdk-prefix}-menu-item-a {
17
+ color: @font-color-7;
18
+ }
@@ -1,30 +1,30 @@
1
- @import 'antd/lib/modal/style/index.less';
2
- @import '../../style/theme.less';
3
-
4
- .@{sdk-prefix}-modal {
5
- .@{ant-prefix}-modal-header {
6
- border-color: @modal-header-border-color;
7
- }
8
- .@{ant-prefix}-modal-body {
9
- max-height: 70vh;
10
- overflow-y: auto;
11
- background: @normal-color;
12
- padding: 0px 60px;
13
- padding-top: 24px;
14
- border-radius: 0 0 2px 2px;
15
- }
16
- .@{ant-prefix}-modal-footer {
17
- border: none;
18
- padding: 32px 24px 24px 24px;
19
- .@{ant-prefix}-btn {
20
- min-width: 60px;
21
- height: 32px;
22
- margin-left: 12px;
23
- font-size: 14px;
24
- color: @text-color;
25
- }
26
- .@{ant-prefix}-btn-primary {
27
- color: @normal-color;
28
- }
29
- }
30
- }
1
+ @import 'antd/lib/modal/style/index.less';
2
+ @import '../../style/theme.less';
3
+
4
+ .@{sdk-prefix}-modal {
5
+ .@{ant-prefix}-modal-header {
6
+ border-color: @modal-header-border-color;
7
+ }
8
+ .@{ant-prefix}-modal-body {
9
+ max-height: 70vh;
10
+ overflow-y: auto;
11
+ background: @normal-color;
12
+ padding: 0px 60px;
13
+ padding-top: 24px;
14
+ border-radius: 0 0 2px 2px;
15
+ }
16
+ .@{ant-prefix}-modal-footer {
17
+ border: none;
18
+ padding: 32px 24px 24px 24px;
19
+ .@{ant-prefix}-btn {
20
+ min-width: 60px;
21
+ height: 32px;
22
+ margin-left: 12px;
23
+ font-size: 14px;
24
+ color: @text-color;
25
+ }
26
+ .@{ant-prefix}-btn-primary {
27
+ color: @normal-color;
28
+ }
29
+ }
30
+ }
@@ -1,10 +1,10 @@
1
- @import '../../style/theme.less';
2
-
3
- .@{sdk-prefix}-name-explain-icon {
4
- color: @icon-color;
5
- transition: color 0.3s;
6
- &:hover,
7
- .@{ant-prefix}-tooltip-open {
8
- color: @theme-color;
9
- }
10
- }
1
+ @import '../../style/theme.less';
2
+
3
+ .@{sdk-prefix}-name-explain-icon {
4
+ color: @icon-color;
5
+ transition: color 0.3s;
6
+ &:hover,
7
+ .@{ant-prefix}-tooltip-open {
8
+ color: @theme-color;
9
+ }
10
+ }
@@ -1,19 +1,19 @@
1
- @import 'antd/lib/tooltip/style/index.less';
2
- @import '../../style/theme.less';
3
-
4
- .@{sdk-prefix}-name-limit {
5
- max-width: 100%;
6
- display: inline-block;
7
- vertical-align: top;
8
- white-space: nowrap;
9
- text-overflow: ellipsis;
10
- overflow: hidden;
11
- }
12
-
13
- .@{sdk-prefix}-name-limit-tooltip {
14
- .@{ant-prefix}-tooltip-inner {
15
- max-width: 400px;
16
- max-height: 200px;
17
- overflow: auto;
18
- }
19
- }
1
+ @import 'antd/lib/tooltip/style/index.less';
2
+ @import '../../style/theme.less';
3
+
4
+ .@{sdk-prefix}-name-limit {
5
+ max-width: 100%;
6
+ display: inline-block;
7
+ vertical-align: top;
8
+ white-space: nowrap;
9
+ text-overflow: ellipsis;
10
+ overflow: hidden;
11
+ }
12
+
13
+ .@{sdk-prefix}-name-limit-tooltip {
14
+ .@{ant-prefix}-tooltip-inner {
15
+ max-width: 400px;
16
+ max-height: 200px;
17
+ overflow: auto;
18
+ }
19
+ }
@@ -1,16 +1,16 @@
1
- @import 'antd/lib/divider/style/index.less';
2
- @import '../../../style/theme.less';
3
-
4
- .@{sdk-prefix}-popover-inline-list {
5
- display: inline-block;
6
- vertical-align: middle;
7
-
8
- .@{sdk-prefix}-popover-inline-item {
9
- display: inline-block;
10
- height: 100%;
11
- margin-right: 12px;
12
- i {
13
- color: @theme-color;
14
- }
15
- }
16
- }
1
+ @import 'antd/lib/divider/style/index.less';
2
+ @import '../../../style/theme.less';
3
+
4
+ .@{sdk-prefix}-popover-inline-list {
5
+ display: inline-block;
6
+ vertical-align: middle;
7
+
8
+ .@{sdk-prefix}-popover-inline-item {
9
+ display: inline-block;
10
+ height: 100%;
11
+ margin-right: 12px;
12
+ i {
13
+ color: @theme-color;
14
+ }
15
+ }
16
+ }
@@ -1,25 +1,25 @@
1
- @import 'antd/lib/tooltip/style/index.less';
2
- @import '../../../style/theme.less';
3
-
4
- .@{sdk-prefix}-item {
5
- color: @theme-color;
6
- cursor: pointer;
7
- & > .anticon {
8
- color: inherit;
9
- }
10
- &.@{sdk-prefix}-disabled {
11
- color: @font-disable-color-2;
12
- cursor: not-allowed;
13
- pointer-events: none;
14
- .anticon {
15
- color: @font-disable-color-2;
16
- }
17
- }
18
- &.@{sdk-prefix}-active {
19
- background: @select-popover-hover-color;
20
- }
21
- a {
22
- color: inherit;
23
- cursor: inherit;
24
- }
25
- }
1
+ @import 'antd/lib/tooltip/style/index.less';
2
+ @import '../../../style/theme.less';
3
+
4
+ .@{sdk-prefix}-item {
5
+ color: @theme-color;
6
+ cursor: pointer;
7
+ & > .anticon {
8
+ color: inherit;
9
+ }
10
+ &.@{sdk-prefix}-disabled {
11
+ color: @font-disable-color-2;
12
+ cursor: not-allowed;
13
+ pointer-events: none;
14
+ .anticon {
15
+ color: @font-disable-color-2;
16
+ }
17
+ }
18
+ &.@{sdk-prefix}-active {
19
+ background: @select-popover-hover-color;
20
+ }
21
+ a {
22
+ color: inherit;
23
+ cursor: inherit;
24
+ }
25
+ }