@qn-pandora/pandora-component 4.0.0 → 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.
Files changed (124) hide show
  1. package/CHANGELOG.json +17 -0
  2. package/CHANGELOG.md +9 -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 +57 -57
  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/style.less +19 -19
  21. package/es/components/Drawer/index.d.ts +55 -2
  22. package/es/components/Drawer/index.js +3 -1
  23. package/es/components/Drawer/style.less +17 -17
  24. package/es/components/Input/style.less +12 -12
  25. package/es/components/KeyValuePair/style.less +21 -21
  26. package/es/components/Menu/Option.d.ts +6 -0
  27. package/es/components/Menu/Option.js +16 -1
  28. package/es/components/Menu/index.js +3 -3
  29. package/es/components/Menu/style.less +18 -18
  30. package/es/components/Modal/style.less +30 -30
  31. package/es/components/NameExplainTooltip/style.less +10 -10
  32. package/es/components/NameLimiter/style.less +19 -19
  33. package/es/components/OptionList/InlineOptionList/style.less +16 -16
  34. package/es/components/OptionList/OptionItem/style.less +25 -25
  35. package/es/components/OptionList/PopoverOptionList/style.less +30 -30
  36. package/es/components/OptionList/style.less +3 -3
  37. package/es/components/RadioGroup/style.less +32 -32
  38. package/es/components/RangeInput/style.less +37 -37
  39. package/es/components/RemarkName/style.less +2 -2
  40. package/es/components/Selector/style.less +99 -99
  41. package/es/components/Spin/style.less +26 -26
  42. package/es/components/Steps/ControlButton/style.less +5 -5
  43. package/es/components/Steps/style.less +48 -48
  44. package/es/components/Table/ColumnTag/style.less +40 -40
  45. package/es/components/Table/index.js +7 -4
  46. package/es/components/Table/style.css +4 -4
  47. package/es/components/Table/style.less +306 -306
  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/hoc/popContainer.d.ts +5 -0
  59. package/es/hoc/popContainer.js +37 -0
  60. package/es/index.css +1498 -1498
  61. package/es/index.less +49 -49
  62. package/es/style/mixin.less +45 -45
  63. package/es/style/theme.less +389 -381
  64. package/lib/components/AutoComplete/style.less +8 -8
  65. package/lib/components/Breadcrumb/style.less +9 -9
  66. package/lib/components/Button/style.less +51 -51
  67. package/lib/components/Card/RowExtra/style.less +8 -8
  68. package/lib/components/Card/SearchInput/style.less +8 -8
  69. package/lib/components/Card/style.less +11 -11
  70. package/lib/components/CheckTransformList/style.less +35 -35
  71. package/lib/components/Checkbox/style.less +5 -5
  72. package/lib/components/CheckboxList/style.less +11 -11
  73. package/lib/components/Collapse/style.less +57 -57
  74. package/lib/components/CollapsiblePanel/style.less +63 -63
  75. package/lib/components/DateTimePicker/Base/style.less +160 -160
  76. package/lib/components/DateTimePicker/BaseMobile/Absolute/style.less +35 -35
  77. package/lib/components/DateTimePicker/BaseMobile/style.less +32 -32
  78. package/lib/components/DateTimePicker/Collapse/Panel/style.less +26 -26
  79. package/lib/components/DateTimePicker/DisplayInput/style.less +9 -9
  80. package/lib/components/DateTimePicker/style.less +19 -19
  81. package/lib/components/Drawer/index.d.ts +55 -2
  82. package/lib/components/Drawer/index.js +3 -1
  83. package/lib/components/Drawer/style.less +17 -17
  84. package/lib/components/Input/style.less +12 -12
  85. package/lib/components/KeyValuePair/style.less +21 -21
  86. package/lib/components/Menu/Option.d.ts +6 -0
  87. package/lib/components/Menu/Option.js +16 -1
  88. package/lib/components/Menu/index.js +3 -3
  89. package/lib/components/Menu/style.less +18 -18
  90. package/lib/components/Modal/style.less +30 -30
  91. package/lib/components/NameExplainTooltip/style.less +10 -10
  92. package/lib/components/NameLimiter/style.less +19 -19
  93. package/lib/components/OptionList/InlineOptionList/style.less +16 -16
  94. package/lib/components/OptionList/OptionItem/style.less +25 -25
  95. package/lib/components/OptionList/PopoverOptionList/style.less +30 -30
  96. package/lib/components/OptionList/style.less +3 -3
  97. package/lib/components/RadioGroup/style.less +32 -32
  98. package/lib/components/RangeInput/style.less +37 -37
  99. package/lib/components/RemarkName/style.less +2 -2
  100. package/lib/components/Selector/style.less +99 -99
  101. package/lib/components/Spin/style.less +26 -26
  102. package/lib/components/Steps/ControlButton/style.less +5 -5
  103. package/lib/components/Steps/style.less +48 -48
  104. package/lib/components/Table/ColumnTag/style.less +40 -40
  105. package/lib/components/Table/index.js +6 -3
  106. package/lib/components/Table/style.css +4 -4
  107. package/lib/components/Table/style.less +306 -306
  108. package/lib/components/Tabs/style.less +33 -33
  109. package/lib/components/TagList/Tag/style.less +72 -72
  110. package/lib/components/TagList/TagSwitch/style.less +28 -28
  111. package/lib/components/TagList/style.less +28 -28
  112. package/lib/components/Timeline/TimelineItem/style.less +49 -49
  113. package/lib/components/Timeline/style.less +23 -23
  114. package/lib/components/Transfer/List/style.less +19 -19
  115. package/lib/components/Transfer/ListBody/style.less +18 -18
  116. package/lib/components/Transfer/style.less +14 -14
  117. package/lib/components/TreeSelector/style.less +56 -56
  118. package/lib/hoc/popContainer.d.ts +5 -0
  119. package/lib/hoc/popContainer.js +47 -0
  120. package/lib/index.css +1313 -1313
  121. package/lib/index.less +49 -49
  122. package/lib/style/mixin.less +45 -45
  123. package/lib/style/theme.less +389 -381
  124. package/package.json +79 -79
@@ -1,306 +1,306 @@
1
- @import 'antd/lib/table/style/index.less';
2
- @import 'antd/lib/pagination/style/index.less';
3
- @import '../../style/theme.less';
4
- @import '../../style/mixin.less';
5
-
6
- .@{sdk-prefix}-table-wrapper {
7
- a {
8
- color: @table-link-color;
9
-
10
- &:hover {
11
- text-decoration: underline;
12
- }
13
- }
14
- .@{ant-prefix}-table {
15
- color: @heading-color;
16
- font-size: 12px;
17
- colgroup {
18
- .@{ant-prefix}-table-selection-col {
19
- width: 36px;
20
- }
21
- }
22
- }
23
-
24
- .@{ant-prefix}-table-tbody > tr {
25
- .@{ant-prefix}-table-selection-column {
26
- text-align: left;
27
- }
28
- }
29
-
30
- .@{ant-prefix}-table-thead > tr > th,
31
- .@{ant-prefix}-table-tbody > tr > td {
32
- padding: 12px;
33
- line-height: 20px;
34
- }
35
-
36
- .@{ant-prefix}-table-thead > tr > th:first-child,
37
- .@{ant-prefix}-table-tbody > tr > td:first-child {
38
- padding-left: 20px;
39
- }
40
-
41
- .@{ant-prefix}-table-thead > tr > th:last-child,
42
- .@{ant-prefix}-table-tbody > tr > td:last-child {
43
- padding-right: 20px;
44
- }
45
-
46
- .@{ant-prefix}-table-thead > tr > th .anticon-filter {
47
- line-height: 20px;
48
- &.@{ant-prefix}-table-filter-selected {
49
- color: @theme-color;
50
- }
51
- }
52
-
53
- .@{ant-prefix}-table-thead
54
- > tr
55
- > th
56
- .@{ant-prefix}-table-column-sorter
57
- .@{ant-prefix}-table-column-sorter-inner {
58
- margin-left: 8px;
59
- color: @input-placeholder-color;
60
- &:hover {
61
- background: inherit;
62
- }
63
- }
64
-
65
- .@{ant-prefix}-table-thead
66
- > tr
67
- > th
68
- .@{ant-prefix}-table-header-column
69
- .@{ant-prefix}-table-column-sorters
70
- > .@{ant-prefix}-table-column-title {
71
- display: inline-block;
72
- }
73
- .@{ant-prefix}-table-small {
74
- border: none;
75
- }
76
-
77
- .@{ant-prefix}-table-thead > tr > th {
78
- background: @table-thead-bg;
79
- border-bottom: none;
80
- color: @table-thead-color;
81
- font-weight: 500;
82
- .@{ant-prefix}-table-selection {
83
- width: 16px;
84
- .@{ant-prefix}-checkbox-wrapper {
85
- display: none;
86
- }
87
- }
88
- }
89
-
90
- .@{ant-prefix}-table-thead
91
- > tr
92
- > th.@{ant-prefix}-table-selection-column
93
- > .@{ant-prefix}-table-header-column {
94
- visibility: hidden;
95
- }
96
-
97
- .@{ant-prefix}-table-thead
98
- > tr
99
- > th
100
- .@{ant-prefix}-table-column-sorter
101
- .@{ant-prefix}-table-column-sorter-inner-full
102
- .@{ant-prefix}-table-column-sorter-down {
103
- margin-top: 0;
104
- }
105
-
106
- .@{ant-prefix}-table-thead
107
- > tr
108
- > th
109
- .@{ant-prefix}-table-column-sorter
110
- .@{ant-prefix}-table-column-sorter-inner-full {
111
- margin-top: -0.3em;
112
- }
113
-
114
- .@{ant-prefix}-table-thead
115
- > tr
116
- > th
117
- .@{ant-prefix}-table-header-column
118
- .@{ant-prefix}-table-column-sorters:hover::before {
119
- background: inherit;
120
- }
121
-
122
- .@{ant-prefix}-table-tbody > tr > td {
123
- border-bottom: none;
124
- }
125
-
126
- .@{ant-prefix}-table-tbody > tr > td.@{ant-prefix}-table-column-sort {
127
- background: none;
128
- }
129
- .@{ant-prefix}-table-tbody > tr > td.@{ant-prefix}-table-selection-column {
130
- padding-left: 20px;
131
- width: 36px;
132
- }
133
-
134
- .@{sdk-prefix}-odd-table-row,
135
- .@{sdk-prefix}-odd-table-row + .@{ant-prefix}-table-expanded-row {
136
- background: @table-row-even-bg;
137
- }
138
- .@{sdk-prefix}-even-table-row,
139
- .@{sdk-prefix}-even-table-row + .@{ant-prefix}-table-expanded-row {
140
- background: @table-row-odd-bg;
141
- }
142
-
143
- .@{ant-prefix}-table-row {
144
- &:hover {
145
- background: @table-row-hover-bg;
146
- }
147
- }
148
-
149
- .@{ant-prefix}-table-row-hover {
150
- background: @table-row-hover-bg;
151
- }
152
-
153
- .@{ant-prefix}-table-placeholder {
154
- border: none;
155
- }
156
-
157
- .@{ant-prefix}-table-tbody > tr.@{ant-prefix}-table-row-selected td {
158
- transition: none;
159
- background: inherit;
160
- }
161
-
162
- .@{ant-prefix}-pagination-item a:hover,
163
- .@{ant-prefix}-pagination-item-link:hover {
164
- text-decoration: none;
165
- }
166
-
167
- .@{ant-prefix}-pagination-item {
168
- border-color: @pagination-item-border-color;
169
- a {
170
- color: @pagination-item-text-color;
171
- }
172
- }
173
-
174
- .@{ant-prefix}-pagination-item:hover,
175
- .@{ant-prefix}-pagination-item-active {
176
- border-color: @table-link-color;
177
- a {
178
- color: @table-link-color;
179
- }
180
- }
181
-
182
- .@{ant-prefix}-pagination-item-link,
183
- .@{ant-prefix}-pagination-item-link {
184
- border-color: @pagination-item-border-color;
185
- i {
186
- color: @pagination-item-text-color;
187
- }
188
- }
189
-
190
- .@{ant-prefix}-pagination-item-link:hover,
191
- .@{ant-prefix}-pagination-item-link:hover {
192
- border-color: @table-link-color;
193
- i {
194
- color: @table-link-color;
195
- }
196
- }
197
-
198
- .@{ant-prefix}-pagination-disabled {
199
- .@{ant-prefix}-pagination-item-link:hover,
200
- .@{ant-prefix}-pagination-item-link:hover {
201
- border-color: @pagination-item-border-color;
202
- i {
203
- color: @pagination-item-text-color;
204
- }
205
- }
206
- }
207
-
208
- .@{ant-prefix}-pagination-options-size-changer {
209
- color: @heading-color;
210
- .@{ant-prefix}-select-selection {
211
- border: solid 1px @pagination-item-border-color;
212
- }
213
- .@{ant-prefix}-select-selection--single {
214
- height: 32px;
215
- position: relative;
216
- .@{ant-prefix}-select-selection__rendered {
217
- line-height: 30px;
218
- }
219
- }
220
- }
221
- .@{ant-prefix}-table-thead > tr > th .@{ant-prefix}-table-filter-column,
222
- .@{ant-prefix}-table-thead > tr > th .@{ant-prefix}-table-column-sorters {
223
- display: flex;
224
- flex-direction: row;
225
- justify-content: flex-start;
226
- .@{ant-prefix}-table-column-title {
227
- flex: 0 1 auto;
228
- padding-right: 0px;
229
- }
230
- .@{ant-prefix}-table-filter-trigger-container {
231
- position: relative;
232
- }
233
- }
234
-
235
- .@{ant-prefix}-table-filter-dropdown .@{ant-prefix}-dropdown-menu {
236
- max-height: 200px;
237
- }
238
-
239
- .@{ant-prefix}-table-tbody > tr.@{ant-prefix}-table-row:hover > td {
240
- background-color: @table-row-hover-bg;
241
- }
242
- .@{ant-prefix}-table-filter-trigger {
243
- display: block;
244
- line-height: 28px;
245
- }
246
- .@{sdk-prefix}-table-empty {
247
- margin: 32px 0;
248
- .@{sdk-prefix}-table-empty-text {
249
- margin-top: 12px;
250
- color: @icon-color;
251
- font-size: 14px;
252
- }
253
- }
254
- }
255
-
256
- .@{sdk-prefix}-table-batch-opt {
257
- position: absolute;
258
- left: 40px;
259
- bottom: 16px;
260
- height: 32px;
261
- line-height: 32px;
262
-
263
- .@{sdk-prefix}-table-batch-opt-label {
264
- color: @heading-color;
265
- margin-right: 12px;
266
- margin-left: 12px;
267
- }
268
-
269
- .@{sdk-prefix}-table-batch-opt-item {
270
- margin-right: 10px;
271
- cursor: pointer;
272
- color: @theme-color;
273
- }
274
-
275
- .@{sdk-prefix}-table-batch-opt-disabled {
276
- pointer-events: none;
277
- color: @font-disable-color-2;
278
- }
279
- }
280
-
281
- // 表格滚动条样式,覆盖style中的样式important不能去掉
282
- .@{sdk-prefix}-table-scrollX {
283
- .@{ant-prefix}-table-body {
284
- overflow-x: auto !important;
285
- }
286
- }
287
-
288
- .@{sdk-prefix}-table-scrollY {
289
- .@{ant-prefix}-table-body {
290
- overflow-y: auto !important;
291
- }
292
- }
293
-
294
- .@{ant-prefix}-table-row-collapsed::after {
295
- margin-left: 1.2px;
296
- }
297
-
298
- .@{ant-prefix}-table-cell::before {
299
- display: none;
300
- }
301
-
302
- .@{ant-prefix}-empty {
303
- .@{ant-prefix}-empty-description {
304
- color: @input-placeholder-color;
305
- }
306
- }
1
+ @import 'antd/lib/table/style/index.less';
2
+ @import 'antd/lib/pagination/style/index.less';
3
+ @import '../../style/theme.less';
4
+ @import '../../style/mixin.less';
5
+
6
+ .@{sdk-prefix}-table-wrapper {
7
+ a {
8
+ color: @table-link-color;
9
+
10
+ &:hover {
11
+ text-decoration: underline;
12
+ }
13
+ }
14
+ .@{ant-prefix}-table {
15
+ color: @heading-color;
16
+ font-size: 12px;
17
+ colgroup {
18
+ .@{ant-prefix}-table-selection-col {
19
+ width: 36px;
20
+ }
21
+ }
22
+ }
23
+
24
+ .@{ant-prefix}-table-tbody > tr {
25
+ .@{ant-prefix}-table-selection-column {
26
+ text-align: left;
27
+ }
28
+ }
29
+
30
+ .@{ant-prefix}-table-thead > tr > th,
31
+ .@{ant-prefix}-table-tbody > tr > td {
32
+ padding: 12px;
33
+ line-height: 20px;
34
+ }
35
+
36
+ .@{ant-prefix}-table-thead > tr > th:first-child,
37
+ .@{ant-prefix}-table-tbody > tr > td:first-child {
38
+ padding-left: 20px;
39
+ }
40
+
41
+ .@{ant-prefix}-table-thead > tr > th:last-child,
42
+ .@{ant-prefix}-table-tbody > tr > td:last-child {
43
+ padding-right: 20px;
44
+ }
45
+
46
+ .@{ant-prefix}-table-thead > tr > th .anticon-filter {
47
+ line-height: 20px;
48
+ &.@{ant-prefix}-table-filter-selected {
49
+ color: @theme-color;
50
+ }
51
+ }
52
+
53
+ .@{ant-prefix}-table-thead
54
+ > tr
55
+ > th
56
+ .@{ant-prefix}-table-column-sorter
57
+ .@{ant-prefix}-table-column-sorter-inner {
58
+ margin-left: 8px;
59
+ color: @input-placeholder-color;
60
+ &:hover {
61
+ background: inherit;
62
+ }
63
+ }
64
+
65
+ .@{ant-prefix}-table-thead
66
+ > tr
67
+ > th
68
+ .@{ant-prefix}-table-header-column
69
+ .@{ant-prefix}-table-column-sorters
70
+ > .@{ant-prefix}-table-column-title {
71
+ display: inline-block;
72
+ }
73
+ .@{ant-prefix}-table-small {
74
+ border: none;
75
+ }
76
+
77
+ .@{ant-prefix}-table-thead > tr > th {
78
+ background: @table-thead-bg;
79
+ border-bottom: none;
80
+ color: @table-thead-color;
81
+ font-weight: 500;
82
+ .@{ant-prefix}-table-selection {
83
+ width: 16px;
84
+ .@{ant-prefix}-checkbox-wrapper {
85
+ display: none;
86
+ }
87
+ }
88
+ }
89
+
90
+ .@{ant-prefix}-table-thead
91
+ > tr
92
+ > th.@{ant-prefix}-table-selection-column
93
+ > .@{ant-prefix}-table-header-column {
94
+ visibility: hidden;
95
+ }
96
+
97
+ .@{ant-prefix}-table-thead
98
+ > tr
99
+ > th
100
+ .@{ant-prefix}-table-column-sorter
101
+ .@{ant-prefix}-table-column-sorter-inner-full
102
+ .@{ant-prefix}-table-column-sorter-down {
103
+ margin-top: 0;
104
+ }
105
+
106
+ .@{ant-prefix}-table-thead
107
+ > tr
108
+ > th
109
+ .@{ant-prefix}-table-column-sorter
110
+ .@{ant-prefix}-table-column-sorter-inner-full {
111
+ margin-top: -0.3em;
112
+ }
113
+
114
+ .@{ant-prefix}-table-thead
115
+ > tr
116
+ > th
117
+ .@{ant-prefix}-table-header-column
118
+ .@{ant-prefix}-table-column-sorters:hover::before {
119
+ background: inherit;
120
+ }
121
+
122
+ .@{ant-prefix}-table-tbody > tr > td {
123
+ border-bottom: none;
124
+ }
125
+
126
+ .@{ant-prefix}-table-tbody > tr > td.@{ant-prefix}-table-column-sort {
127
+ background: none;
128
+ }
129
+ .@{ant-prefix}-table-tbody > tr > td.@{ant-prefix}-table-selection-column {
130
+ padding-left: 20px;
131
+ width: 36px;
132
+ }
133
+
134
+ .@{sdk-prefix}-odd-table-row,
135
+ .@{sdk-prefix}-odd-table-row + .@{ant-prefix}-table-expanded-row {
136
+ background: @table-row-even-bg;
137
+ }
138
+ .@{sdk-prefix}-even-table-row,
139
+ .@{sdk-prefix}-even-table-row + .@{ant-prefix}-table-expanded-row {
140
+ background: @table-row-odd-bg;
141
+ }
142
+
143
+ .@{ant-prefix}-table-row {
144
+ &:hover {
145
+ background: @table-row-hover-bg;
146
+ }
147
+ }
148
+
149
+ .@{ant-prefix}-table-row-hover {
150
+ background: @table-row-hover-bg;
151
+ }
152
+
153
+ .@{ant-prefix}-table-placeholder {
154
+ border: none;
155
+ }
156
+
157
+ .@{ant-prefix}-table-tbody > tr.@{ant-prefix}-table-row-selected td {
158
+ transition: none;
159
+ background: inherit;
160
+ }
161
+
162
+ .@{ant-prefix}-pagination-item a:hover,
163
+ .@{ant-prefix}-pagination-item-link:hover {
164
+ text-decoration: none;
165
+ }
166
+
167
+ .@{ant-prefix}-pagination-item {
168
+ border-color: @pagination-item-border-color;
169
+ a {
170
+ color: @pagination-item-text-color;
171
+ }
172
+ }
173
+
174
+ .@{ant-prefix}-pagination-item:hover,
175
+ .@{ant-prefix}-pagination-item-active {
176
+ border-color: @table-link-color;
177
+ a {
178
+ color: @table-link-color;
179
+ }
180
+ }
181
+
182
+ .@{ant-prefix}-pagination-item-link,
183
+ .@{ant-prefix}-pagination-item-link {
184
+ border-color: @pagination-item-border-color;
185
+ i {
186
+ color: @pagination-item-text-color;
187
+ }
188
+ }
189
+
190
+ .@{ant-prefix}-pagination-item-link:hover,
191
+ .@{ant-prefix}-pagination-item-link:hover {
192
+ border-color: @table-link-color;
193
+ i {
194
+ color: @table-link-color;
195
+ }
196
+ }
197
+
198
+ .@{ant-prefix}-pagination-disabled {
199
+ .@{ant-prefix}-pagination-item-link:hover,
200
+ .@{ant-prefix}-pagination-item-link:hover {
201
+ border-color: @pagination-item-border-color;
202
+ i {
203
+ color: @pagination-item-text-color;
204
+ }
205
+ }
206
+ }
207
+
208
+ .@{ant-prefix}-pagination-options-size-changer {
209
+ color: @heading-color;
210
+ .@{ant-prefix}-select-selection {
211
+ border: solid 1px @pagination-item-border-color;
212
+ }
213
+ .@{ant-prefix}-select-selection--single {
214
+ height: 32px;
215
+ position: relative;
216
+ .@{ant-prefix}-select-selection__rendered {
217
+ line-height: 30px;
218
+ }
219
+ }
220
+ }
221
+ .@{ant-prefix}-table-thead > tr > th .@{ant-prefix}-table-filter-column,
222
+ .@{ant-prefix}-table-thead > tr > th .@{ant-prefix}-table-column-sorters {
223
+ display: flex;
224
+ flex-direction: row;
225
+ justify-content: flex-start;
226
+ .@{ant-prefix}-table-column-title {
227
+ flex: 0 1 auto;
228
+ padding-right: 0px;
229
+ }
230
+ .@{ant-prefix}-table-filter-trigger-container {
231
+ position: relative;
232
+ }
233
+ }
234
+
235
+ .@{ant-prefix}-table-filter-dropdown .@{ant-prefix}-dropdown-menu {
236
+ max-height: 200px;
237
+ }
238
+
239
+ .@{ant-prefix}-table-tbody > tr.@{ant-prefix}-table-row:hover > td {
240
+ background-color: @table-row-hover-bg;
241
+ }
242
+ .@{ant-prefix}-table-filter-trigger {
243
+ display: block;
244
+ line-height: 28px;
245
+ }
246
+ .@{sdk-prefix}-table-empty {
247
+ margin: 32px 0;
248
+ .@{sdk-prefix}-table-empty-text {
249
+ margin-top: 12px;
250
+ color: @icon-color;
251
+ font-size: 14px;
252
+ }
253
+ }
254
+ }
255
+
256
+ .@{sdk-prefix}-table-batch-opt {
257
+ position: absolute;
258
+ left: 40px;
259
+ bottom: 16px;
260
+ height: 32px;
261
+ line-height: 32px;
262
+
263
+ .@{sdk-prefix}-table-batch-opt-label {
264
+ color: @heading-color;
265
+ margin-right: 12px;
266
+ margin-left: 12px;
267
+ }
268
+
269
+ .@{sdk-prefix}-table-batch-opt-item {
270
+ margin-right: 10px;
271
+ cursor: pointer;
272
+ color: @theme-color;
273
+ }
274
+
275
+ .@{sdk-prefix}-table-batch-opt-disabled {
276
+ pointer-events: none;
277
+ color: @font-disable-color-2;
278
+ }
279
+ }
280
+
281
+ // 表格滚动条样式,覆盖style中的样式important不能去掉
282
+ .@{sdk-prefix}-table-scrollX {
283
+ .@{ant-prefix}-table-body {
284
+ overflow-x: auto !important;
285
+ }
286
+ }
287
+
288
+ .@{sdk-prefix}-table-scrollY {
289
+ .@{ant-prefix}-table-body {
290
+ overflow-y: auto !important;
291
+ }
292
+ }
293
+
294
+ .@{ant-prefix}-table-row-collapsed::after {
295
+ margin-left: 1.2px;
296
+ }
297
+
298
+ .@{ant-prefix}-table-cell::before {
299
+ display: none;
300
+ }
301
+
302
+ .@{ant-prefix}-empty {
303
+ .@{ant-prefix}-empty-description {
304
+ color: @input-placeholder-color;
305
+ }
306
+ }
@@ -1,33 +1,33 @@
1
- @import 'antd/lib/tabs/style/index.less';
2
- @import 'antd/lib/tooltip/style/index.less';
3
- @import '../../style/theme.less';
4
- @import '../../style/mixin.less';
5
-
6
- .@{sdk-prefix}-tabs {
7
- .@{sdk-prefix}-tabs-tab {
8
- position: relative;
9
- }
10
- .@{sdk-prefix}-tabs-active {
11
- .@{sdk-prefix}-tabs-refresh-icon {
12
- opacity: 1;
13
- pointer-events: auto;
14
- }
15
- }
16
- span.anticon.anticon-reload.@{sdk-prefix}-tabs-refresh-icon {
17
- margin-right: 0;
18
- }
19
- .@{sdk-prefix}-tabs-refresh-icon {
20
- margin-left: 8px;
21
- font-size: 12px;
22
- color: @font-disable-color;
23
- transition: color 0.5s, opacity 0.2s;
24
- pointer-events: none;
25
- opacity: 0;
26
- position: absolute;
27
- top: 50%;
28
- transform: translateY(-50%);
29
- &:hover {
30
- color: @theme-color;
31
- }
32
- }
33
- }
1
+ @import 'antd/lib/tabs/style/index.less';
2
+ @import 'antd/lib/tooltip/style/index.less';
3
+ @import '../../style/theme.less';
4
+ @import '../../style/mixin.less';
5
+
6
+ .@{sdk-prefix}-tabs {
7
+ .@{sdk-prefix}-tabs-tab {
8
+ position: relative;
9
+ }
10
+ .@{sdk-prefix}-tabs-active {
11
+ .@{sdk-prefix}-tabs-refresh-icon {
12
+ opacity: 1;
13
+ pointer-events: auto;
14
+ }
15
+ }
16
+ span.anticon.anticon-reload.@{sdk-prefix}-tabs-refresh-icon {
17
+ margin-right: 0;
18
+ }
19
+ .@{sdk-prefix}-tabs-refresh-icon {
20
+ margin-left: 8px;
21
+ font-size: 12px;
22
+ color: @font-disable-color;
23
+ transition: color 0.5s, opacity 0.2s;
24
+ pointer-events: none;
25
+ opacity: 0;
26
+ position: absolute;
27
+ top: 50%;
28
+ transform: translateY(-50%);
29
+ &:hover {
30
+ color: @theme-color;
31
+ }
32
+ }
33
+ }