@qn-pandora/pandora-component 3.1.1 → 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 (222) hide show
  1. package/CHANGELOG.json +24 -7
  2. package/CHANGELOG.md +16 -7
  3. package/README.md +36 -36
  4. package/es/components/AutoComplete/style.css +25 -29
  5. package/es/components/AutoComplete/style.less +8 -8
  6. package/es/components/Breadcrumb/style.less +9 -9
  7. package/es/components/Button/index.d.ts +0 -8
  8. package/es/components/Button/index.js +4 -4
  9. package/es/components/Button/style.css +100 -104
  10. package/es/components/Button/style.less +51 -62
  11. package/es/components/Card/RowExtra/style.less +8 -8
  12. package/es/components/Card/SearchInput/style.less +8 -8
  13. package/es/components/Card/style.css +28 -2
  14. package/es/components/Card/style.less +11 -11
  15. package/es/components/CheckTransformList/style.css +50 -21
  16. package/es/components/CheckTransformList/style.less +35 -35
  17. package/es/components/Checkbox/style.css +1 -1
  18. package/es/components/Checkbox/style.less +5 -5
  19. package/es/components/CheckboxList/index.d.ts +2 -0
  20. package/es/components/CheckboxList/index.js +2 -2
  21. package/es/components/CheckboxList/style.css +5 -3
  22. package/es/components/CheckboxList/style.less +11 -9
  23. package/es/components/Collapse/style.css +16 -12
  24. package/es/components/Collapse/style.less +57 -57
  25. package/es/components/CollapsiblePanel/style.css +4 -4
  26. package/es/components/CollapsiblePanel/style.less +63 -63
  27. package/es/components/DateTimePicker/Base/style.css +378 -49
  28. package/es/components/DateTimePicker/Base/style.less +160 -164
  29. package/es/components/DateTimePicker/BaseMobile/Absolute/style.less +35 -35
  30. package/es/components/DateTimePicker/BaseMobile/style.css +4 -4
  31. package/es/components/DateTimePicker/BaseMobile/style.less +32 -32
  32. package/es/components/DateTimePicker/Collapse/Panel/style.less +26 -26
  33. package/es/components/DateTimePicker/DisplayInput/style.css +47 -16
  34. package/es/components/DateTimePicker/DisplayInput/style.less +9 -9
  35. package/es/components/DateTimePicker/constants.d.ts +1 -1
  36. package/es/components/DateTimePicker/constants.js +17 -6
  37. package/es/components/DateTimePicker/index.js +1 -1
  38. package/es/components/DateTimePicker/style.css +7 -7
  39. package/es/components/DateTimePicker/style.less +19 -17
  40. package/es/components/DateTimePicker/transform.d.ts +4 -0
  41. package/es/components/DateTimePicker/transform.js +52 -0
  42. package/es/components/Drawer/index.d.ts +55 -2
  43. package/es/components/Drawer/index.js +3 -1
  44. package/es/components/Drawer/style.css +45 -45
  45. package/es/components/Drawer/style.less +17 -17
  46. package/es/components/Input/index.d.ts +1 -2
  47. package/es/components/Input/index.js +0 -2
  48. package/es/components/Input/style.css +47 -16
  49. package/es/components/Input/style.less +12 -12
  50. package/es/components/InputNumber/index.d.ts +1 -8
  51. package/es/components/InputNumber/index.js +1 -35
  52. package/es/components/KeyValuePair/style.less +21 -21
  53. package/es/components/Menu/Option.d.ts +10 -0
  54. package/es/components/Menu/Option.js +18 -2
  55. package/es/components/Menu/index.d.ts +1 -1
  56. package/es/components/Menu/index.js +3 -3
  57. package/es/components/Menu/style.css +20 -10
  58. package/es/components/Menu/style.less +18 -8
  59. package/es/components/Modal/style.less +30 -30
  60. package/es/components/NameExplainTooltip/style.less +10 -10
  61. package/es/components/NameLimiter/style.css +2 -4
  62. package/es/components/NameLimiter/style.less +19 -21
  63. package/es/components/OptionList/InlineOptionList/style.less +16 -16
  64. package/es/components/OptionList/OptionItem/style.css +2 -2
  65. package/es/components/OptionList/OptionItem/style.less +25 -25
  66. package/es/components/OptionList/PopoverOptionList/style.less +30 -30
  67. package/es/components/OptionList/style.css +2 -2
  68. package/es/components/OptionList/style.less +3 -3
  69. package/es/components/RadioGroup/style.css +8 -8
  70. package/es/components/RadioGroup/style.less +32 -32
  71. package/es/components/RangeInput/style.css +427 -27
  72. package/es/components/RangeInput/style.less +37 -37
  73. package/es/components/RemarkName/style.css +2 -4
  74. package/es/components/RemarkName/style.less +2 -2
  75. package/es/components/Selector/style.css +25 -29
  76. package/es/components/Selector/style.less +99 -100
  77. package/es/components/Spin/style.css +0 -1
  78. package/es/components/Spin/style.less +26 -26
  79. package/es/components/Steps/ControlButton/style.less +5 -5
  80. package/es/components/Steps/style.css +8 -6
  81. package/es/components/Steps/style.less +48 -46
  82. package/es/components/Table/ColumnTag/style.less +40 -40
  83. package/es/components/Table/index.js +7 -4
  84. package/es/components/Table/style.css +85 -27
  85. package/es/components/Table/style.less +306 -313
  86. package/es/components/Tabs/style.css +29 -1
  87. package/es/components/Tabs/style.less +33 -31
  88. package/es/components/TagList/Tag/style.less +72 -72
  89. package/es/components/TagList/TagSwitch/style.less +28 -28
  90. package/es/components/TagList/style.css +10 -10
  91. package/es/components/TagList/style.less +28 -28
  92. package/es/components/Timeline/TimelineItem/style.less +49 -49
  93. package/es/components/Timeline/style.less +23 -23
  94. package/es/components/Transfer/List/index.js +3 -3
  95. package/es/components/Transfer/List/style.css +3 -0
  96. package/es/components/Transfer/List/style.less +19 -15
  97. package/es/components/Transfer/ListBody/style.less +18 -18
  98. package/es/components/Transfer/style.css +3 -0
  99. package/es/components/Transfer/style.less +14 -14
  100. package/es/components/TreeSelector/style.css +64 -20
  101. package/es/components/TreeSelector/style.less +56 -54
  102. package/es/hoc/popContainer.d.ts +5 -0
  103. package/es/hoc/popContainer.js +37 -0
  104. package/es/index.css +3011 -2517
  105. package/es/index.d.ts +1 -1
  106. package/es/index.less +49 -50
  107. package/es/style/mixin.less +45 -45
  108. package/es/style/theme.less +389 -379
  109. package/lib/components/AutoComplete/style.css +25 -29
  110. package/lib/components/AutoComplete/style.less +8 -8
  111. package/lib/components/Breadcrumb/style.less +9 -9
  112. package/lib/components/Button/index.d.ts +0 -8
  113. package/lib/components/Button/index.js +4 -4
  114. package/lib/components/Button/style.css +100 -104
  115. package/lib/components/Button/style.less +51 -62
  116. package/lib/components/Card/RowExtra/style.less +8 -8
  117. package/lib/components/Card/SearchInput/style.less +8 -8
  118. package/lib/components/Card/style.css +28 -2
  119. package/lib/components/Card/style.less +11 -11
  120. package/lib/components/CheckTransformList/style.css +50 -21
  121. package/lib/components/CheckTransformList/style.less +35 -35
  122. package/lib/components/Checkbox/style.css +1 -1
  123. package/lib/components/Checkbox/style.less +5 -5
  124. package/lib/components/CheckboxList/index.d.ts +2 -0
  125. package/lib/components/CheckboxList/index.js +2 -2
  126. package/lib/components/CheckboxList/style.css +5 -3
  127. package/lib/components/CheckboxList/style.less +11 -9
  128. package/lib/components/Collapse/style.css +16 -12
  129. package/lib/components/Collapse/style.less +57 -57
  130. package/lib/components/CollapsiblePanel/style.css +4 -4
  131. package/lib/components/CollapsiblePanel/style.less +63 -63
  132. package/lib/components/DateTimePicker/Base/style.css +378 -49
  133. package/lib/components/DateTimePicker/Base/style.less +160 -164
  134. package/lib/components/DateTimePicker/BaseMobile/Absolute/style.less +35 -35
  135. package/lib/components/DateTimePicker/BaseMobile/style.css +4 -4
  136. package/lib/components/DateTimePicker/BaseMobile/style.less +32 -32
  137. package/lib/components/DateTimePicker/Collapse/Panel/style.less +26 -26
  138. package/lib/components/DateTimePicker/DisplayInput/style.css +47 -16
  139. package/lib/components/DateTimePicker/DisplayInput/style.less +9 -9
  140. package/lib/components/DateTimePicker/constants.d.ts +1 -1
  141. package/lib/components/DateTimePicker/constants.js +17 -6
  142. package/lib/components/DateTimePicker/index.js +1 -1
  143. package/lib/components/DateTimePicker/style.css +7 -7
  144. package/lib/components/DateTimePicker/style.less +19 -17
  145. package/lib/components/DateTimePicker/transform.d.ts +4 -0
  146. package/lib/components/DateTimePicker/transform.js +53 -0
  147. package/lib/components/Drawer/index.d.ts +55 -2
  148. package/lib/components/Drawer/index.js +3 -1
  149. package/lib/components/Drawer/style.css +45 -45
  150. package/lib/components/Drawer/style.less +17 -17
  151. package/lib/components/Input/index.d.ts +1 -2
  152. package/lib/components/Input/index.js +0 -2
  153. package/lib/components/Input/style.css +47 -16
  154. package/lib/components/Input/style.less +12 -12
  155. package/lib/components/InputNumber/index.d.ts +1 -8
  156. package/lib/components/InputNumber/index.js +1 -38
  157. package/lib/components/KeyValuePair/style.less +21 -21
  158. package/lib/components/Menu/Option.d.ts +10 -0
  159. package/lib/components/Menu/Option.js +18 -2
  160. package/lib/components/Menu/index.d.ts +1 -1
  161. package/lib/components/Menu/index.js +3 -3
  162. package/lib/components/Menu/style.css +20 -10
  163. package/lib/components/Menu/style.less +18 -8
  164. package/lib/components/Modal/style.less +30 -30
  165. package/lib/components/NameExplainTooltip/style.less +10 -10
  166. package/lib/components/NameLimiter/style.css +2 -4
  167. package/lib/components/NameLimiter/style.less +19 -21
  168. package/lib/components/OptionList/InlineOptionList/style.less +16 -16
  169. package/lib/components/OptionList/OptionItem/style.css +2 -2
  170. package/lib/components/OptionList/OptionItem/style.less +25 -25
  171. package/lib/components/OptionList/PopoverOptionList/style.less +30 -30
  172. package/lib/components/OptionList/style.css +2 -2
  173. package/lib/components/OptionList/style.less +3 -3
  174. package/lib/components/RadioGroup/style.css +8 -8
  175. package/lib/components/RadioGroup/style.less +32 -32
  176. package/lib/components/RangeInput/style.css +427 -27
  177. package/lib/components/RangeInput/style.less +37 -37
  178. package/lib/components/RemarkName/style.css +2 -4
  179. package/lib/components/RemarkName/style.less +2 -2
  180. package/lib/components/Selector/style.css +25 -29
  181. package/lib/components/Selector/style.less +99 -100
  182. package/lib/components/Spin/style.css +0 -1
  183. package/lib/components/Spin/style.less +26 -26
  184. package/lib/components/Steps/ControlButton/style.less +5 -5
  185. package/lib/components/Steps/style.css +8 -6
  186. package/lib/components/Steps/style.less +48 -46
  187. package/lib/components/Table/ColumnTag/style.less +40 -40
  188. package/lib/components/Table/index.js +6 -3
  189. package/lib/components/Table/style.css +85 -27
  190. package/lib/components/Table/style.less +306 -313
  191. package/lib/components/Tabs/style.css +29 -1
  192. package/lib/components/Tabs/style.less +33 -31
  193. package/lib/components/TagList/Tag/style.less +72 -72
  194. package/lib/components/TagList/TagSwitch/style.less +28 -28
  195. package/lib/components/TagList/style.css +10 -10
  196. package/lib/components/TagList/style.less +28 -28
  197. package/lib/components/Timeline/TimelineItem/style.less +49 -49
  198. package/lib/components/Timeline/style.less +23 -23
  199. package/lib/components/Transfer/List/index.js +3 -3
  200. package/lib/components/Transfer/List/style.css +3 -0
  201. package/lib/components/Transfer/List/style.less +19 -15
  202. package/lib/components/Transfer/ListBody/style.less +18 -18
  203. package/lib/components/Transfer/style.css +3 -0
  204. package/lib/components/Transfer/style.less +14 -14
  205. package/lib/components/TreeSelector/style.css +64 -20
  206. package/lib/components/TreeSelector/style.less +56 -54
  207. package/lib/hoc/popContainer.d.ts +5 -0
  208. package/lib/hoc/popContainer.js +47 -0
  209. package/lib/index.css +5102 -4608
  210. package/lib/index.d.ts +1 -1
  211. package/lib/index.less +49 -50
  212. package/lib/style/mixin.less +45 -45
  213. package/lib/style/theme.less +389 -379
  214. package/package.json +79 -108
  215. package/es/components/Input/NumberInput/index.d.ts +0 -29
  216. package/es/components/Input/NumberInput/index.js +0 -116
  217. package/es/components/InputNumber/style.css +0 -400
  218. package/es/components/InputNumber/style.less +0 -45
  219. package/lib/components/Input/NumberInput/index.d.ts +0 -29
  220. package/lib/components/Input/NumberInput/index.js +0 -121
  221. package/lib/components/InputNumber/style.css +0 -400
  222. package/lib/components/InputNumber/style.less +0 -45
@@ -1,313 +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-column-sorter {
25
- .@{ant-prefix}-table-column-sorter-inner {
26
- .on {
27
- color: @theme-color !important;
28
- }
29
- }
30
- }
31
-
32
- .@{ant-prefix}-table-tbody > tr {
33
- .@{ant-prefix}-table-selection-column {
34
- text-align: left;
35
- }
36
- }
37
-
38
- .@{ant-prefix}-table-thead > tr > th,
39
- .@{ant-prefix}-table-tbody > tr > td {
40
- padding: 12px;
41
- line-height: 20px;
42
- }
43
-
44
- .@{ant-prefix}-table-thead > tr > th:first-child,
45
- .@{ant-prefix}-table-tbody > tr > td:first-child {
46
- padding-left: 20px;
47
- }
48
-
49
- .@{ant-prefix}-table-thead > tr > th:last-child,
50
- .@{ant-prefix}-table-tbody > tr > td:last-child {
51
- padding-right: 20px;
52
- }
53
-
54
- .@{ant-prefix}-table-thead > tr > th .anticon-filter {
55
- line-height: 20px;
56
- &.@{ant-prefix}-table-filter-selected {
57
- color: @theme-color;
58
- }
59
- }
60
-
61
- .@{ant-prefix}-table-thead
62
- > tr
63
- > th
64
- .@{ant-prefix}-table-column-sorter
65
- .@{ant-prefix}-table-column-sorter-inner {
66
- margin-left: 8px;
67
- color: @input-placeholder-color;
68
- &:hover {
69
- background: inherit;
70
- }
71
- }
72
-
73
- .@{ant-prefix}-table-thead
74
- > tr
75
- > th
76
- .@{ant-prefix}-table-header-column
77
- .@{ant-prefix}-table-column-sorters
78
- > .@{ant-prefix}-table-column-title {
79
- display: inline-block;
80
- }
81
- .@{ant-prefix}-table-small {
82
- border: none;
83
- }
84
-
85
- .@{ant-prefix}-table-thead > tr > th {
86
- background: @table-thead-bg;
87
- border-bottom: none !important;
88
- color: @table-thead-color;
89
- font-weight: 500;
90
- .@{ant-prefix}-table-selection {
91
- width: 16px;
92
- .@{ant-prefix}-checkbox-wrapper {
93
- display: none;
94
- }
95
- }
96
- }
97
-
98
- .@{ant-prefix}-table-thead
99
- > tr
100
- > th.@{ant-prefix}-table-selection-column
101
- > .@{ant-prefix}-table-header-column {
102
- visibility: hidden;
103
- }
104
-
105
- .@{ant-prefix}-table-thead
106
- > tr
107
- > th
108
- .@{ant-prefix}-table-column-sorter
109
- .@{ant-prefix}-table-column-sorter-inner-full
110
- .@{ant-prefix}-table-column-sorter-down {
111
- margin-top: 0;
112
- }
113
-
114
- .@{ant-prefix}-table-thead
115
- > tr
116
- > th
117
- .@{ant-prefix}-table-column-sorter
118
- .@{ant-prefix}-table-column-sorter-inner-full {
119
- margin-top: -0.3em;
120
- }
121
-
122
- .@{ant-prefix}-table-thead
123
- > tr
124
- > th
125
- .@{ant-prefix}-table-header-column
126
- .@{ant-prefix}-table-column-sorters:hover::before {
127
- background: inherit;
128
- }
129
-
130
- .@{ant-prefix}-table-tbody > tr > td {
131
- border-bottom: none;
132
- }
133
-
134
- .@{ant-prefix}-table-tbody > tr > td.@{ant-prefix}-table-column-sort {
135
- background: none;
136
- }
137
- .@{ant-prefix}-table-tbody > tr > td.@{ant-prefix}-table-selection-column {
138
- padding-left: 20px;
139
- width: 36px;
140
- }
141
-
142
- .@{sdk-prefix}-odd-table-row,
143
- .@{sdk-prefix}-odd-table-row + .@{ant-prefix}-table-expanded-row {
144
- background: @table-row-even-bg;
145
- }
146
- .@{sdk-prefix}-even-table-row,
147
- .@{sdk-prefix}-even-table-row + .@{ant-prefix}-table-expanded-row {
148
- background: @table-row-odd-bg;
149
- }
150
-
151
- .@{ant-prefix}-table-row {
152
- &:hover {
153
- background: @table-row-hover-bg;
154
- }
155
- }
156
-
157
- .@{ant-prefix}-table-row-hover {
158
- background: @table-row-hover-bg;
159
- }
160
-
161
- .@{ant-prefix}-table-placeholder {
162
- border: none;
163
- }
164
-
165
- .@{ant-prefix}-table-tbody > tr.@{ant-prefix}-table-row-selected td {
166
- transition: none;
167
- background: inherit;
168
- }
169
-
170
- .@{ant-prefix}-pagination-item a:hover,
171
- .@{ant-prefix}-pagination-item-link:hover {
172
- text-decoration: none;
173
- }
174
-
175
- .@{ant-prefix}-pagination-item {
176
- border-color: @pagination-item-border-color;
177
- a {
178
- color: @pagination-item-text-color;
179
- }
180
- }
181
-
182
- .@{ant-prefix}-pagination-item:hover,
183
- .@{ant-prefix}-pagination-item-active {
184
- border-color: @table-link-color !important;
185
- a {
186
- color: @table-link-color !important;
187
- }
188
- }
189
-
190
- .@{ant-prefix}-pagination-item-link,
191
- .@{ant-prefix}-pagination-item-link {
192
- border-color: @pagination-item-border-color;
193
- i {
194
- color: @pagination-item-text-color;
195
- }
196
- }
197
-
198
- .@{ant-prefix}-pagination-item-link:hover,
199
- .@{ant-prefix}-pagination-item-link:hover {
200
- border-color: @table-link-color !important;
201
- i {
202
- color: @table-link-color !important;
203
- }
204
- }
205
-
206
- .@{ant-prefix}-pagination-disabled {
207
- .@{ant-prefix}-pagination-item-link:hover,
208
- .@{ant-prefix}-pagination-item-link:hover {
209
- border-color: @pagination-item-border-color !important;
210
- i {
211
- color: @pagination-item-text-color !important;
212
- }
213
- }
214
- }
215
-
216
- .@{ant-prefix}-pagination-options-size-changer {
217
- color: @heading-color;
218
- .@{ant-prefix}-select-selection {
219
- border: solid 1px @pagination-item-border-color;
220
- }
221
- .@{ant-prefix}-select-selection--single {
222
- height: 32px;
223
- position: relative;
224
- .@{ant-prefix}-select-selection__rendered {
225
- line-height: 30px;
226
- }
227
- }
228
- }
229
- .@{ant-prefix}-table-thead > tr > th .@{ant-prefix}-table-filter-column,
230
- .@{ant-prefix}-table-thead > tr > th .@{ant-prefix}-table-column-sorters {
231
- display: flex;
232
- flex-direction: row;
233
- justify-content: flex-start;
234
- .@{ant-prefix}-table-column-title {
235
- flex: 0 1 auto;
236
- padding-right: 0px;
237
- }
238
- .@{ant-prefix}-table-filter-trigger-container {
239
- position: relative;
240
- }
241
- }
242
-
243
- .@{ant-prefix}-table-filter-dropdown .@{ant-prefix}-dropdown-menu {
244
- max-height: 200px;
245
- }
246
-
247
- .@{ant-prefix}-table-tbody > tr.@{ant-prefix}-table-row:hover > td {
248
- background-color: @table-row-hover-bg;
249
- }
250
- .@{ant-prefix}-table-filter-trigger {
251
- display: block;
252
- line-height: 28px;
253
- }
254
- .@{sdk-prefix}-table-empty {
255
- margin: 32px 0;
256
- .@{sdk-prefix}-table-empty-text {
257
- margin-top: 12px;
258
- color: @icon-color;
259
- font-size: 14px;
260
- }
261
- }
262
- }
263
-
264
- .@{sdk-prefix}-table-batch-opt {
265
- position: absolute;
266
- left: 40px;
267
- bottom: 16px;
268
- height: 32px;
269
- line-height: 32px;
270
-
271
- .@{sdk-prefix}-table-batch-opt-label {
272
- color: @heading-color;
273
- margin-right: 12px;
274
- margin-left: 12px;
275
- }
276
-
277
- .@{sdk-prefix}-table-batch-opt-item {
278
- margin-right: 10px;
279
- cursor: pointer;
280
- color: @theme-color;
281
- }
282
-
283
- .@{sdk-prefix}-table-batch-opt-disabled {
284
- pointer-events: none;
285
- color: @font-disable-color-2;
286
- }
287
- }
288
-
289
- .@{sdk-prefix}-table-scrollX {
290
- .@{ant-prefix}-table-scroll > .@{ant-prefix}-table-body {
291
- overflow-x: auto !important;
292
- }
293
- }
294
-
295
- .@{sdk-prefix}-table-scrollY {
296
- .@{ant-prefix}-table-scroll > .@{ant-prefix}-table-body {
297
- overflow-y: auto !important;
298
- }
299
- }
300
-
301
- .@{ant-prefix}-table-row-collapsed::after {
302
- margin-left: 1.2px;
303
- }
304
-
305
- .@{ant-prefix}-table-cell::before {
306
- display: none;
307
- }
308
-
309
- .@{ant-prefix}-empty {
310
- .@{ant-prefix}-empty-description {
311
- color: @input-placeholder-color;
312
- }
313
- }
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
+ }
@@ -355,6 +355,12 @@
355
355
  box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05);
356
356
  }
357
357
  .ant-tabs-dropdown-menu-item {
358
+ display: -webkit-box;
359
+ display: -ms-flexbox;
360
+ display: flex;
361
+ -webkit-box-align: center;
362
+ -ms-flex-align: center;
363
+ align-items: center;
358
364
  min-width: 120px;
359
365
  margin: 0;
360
366
  padding: 5px 12px;
@@ -369,6 +375,26 @@
369
375
  -webkit-transition: all 0.3s;
370
376
  transition: all 0.3s;
371
377
  }
378
+ .ant-tabs-dropdown-menu-item > span {
379
+ -webkit-box-flex: 1;
380
+ -ms-flex: 1;
381
+ flex: 1;
382
+ white-space: nowrap;
383
+ }
384
+ .ant-tabs-dropdown-menu-item-remove {
385
+ -webkit-box-flex: 0;
386
+ -ms-flex: none;
387
+ flex: none;
388
+ margin-left: 12px;
389
+ color: rgba(0, 0, 0, 0.45);
390
+ font-size: 12px;
391
+ background: transparent;
392
+ border: 0;
393
+ cursor: pointer;
394
+ }
395
+ .ant-tabs-dropdown-menu-item-remove:hover {
396
+ color: #2c6dd2;
397
+ }
372
398
  .ant-tabs-dropdown-menu-item:hover {
373
399
  background: rgba(44, 109, 210, 0.05);
374
400
  }
@@ -948,9 +974,11 @@
948
974
  opacity: 1;
949
975
  pointer-events: auto;
950
976
  }
977
+ .pandora-sdk-tabs span.anticon.anticon-reload.pandora-sdk-tabs-refresh-icon {
978
+ margin-right: 0;
979
+ }
951
980
  .pandora-sdk-tabs .pandora-sdk-tabs-refresh-icon {
952
981
  margin-left: 8px;
953
- margin-right: 0 !important;
954
982
  font-size: 12px;
955
983
  color: #d9d9d9;
956
984
  -webkit-transition: color 0.5s, opacity 0.2s;