@lambo-design/shared 1.0.0-beta.243 → 1.0.0-beta.246

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 (201) hide show
  1. package/config/config.js +51 -51
  2. package/config/env.js +4 -4
  3. package/config/index.js +7 -7
  4. package/config/themes/atrovirens/atrovirens.css +576 -575
  5. package/config/themes/atrovirens/atrovirens.css.map +1 -1
  6. package/config/themes/atrovirens/atrovirens.less +668 -667
  7. package/config/themes/atrovirens/var.less +675 -674
  8. package/config/themes/blue/blue.css +576 -575
  9. package/config/themes/blue/blue.css.map +1 -1
  10. package/config/themes/blue/blue.less +670 -669
  11. package/config/themes/blue/var.less +678 -677
  12. package/config/themes/blue-white/blue-white.css +576 -575
  13. package/config/themes/blue-white/blue-white.css.map +1 -1
  14. package/config/themes/blue-white/blue-white.less +670 -669
  15. package/config/themes/blue-white/var.less +677 -676
  16. package/config/themes/blue-white-tight/blue-white-tight.css +577 -576
  17. package/config/themes/blue-white-tight/blue-white-tight.css.map +1 -1
  18. package/config/themes/blue-white-tight/blue-white-tight.less +672 -672
  19. package/config/themes/blue-white-tight/var.less +678 -677
  20. package/config/themes/danqing/danqing.css +576 -575
  21. package/config/themes/danqing/danqing.css.map +1 -1
  22. package/config/themes/danqing/danqing.less +669 -668
  23. package/config/themes/danqing/danqing.wxss +576 -572
  24. package/config/themes/danqing/var.less +680 -679
  25. package/config/themes/deep/deep.css +576 -575
  26. package/config/themes/deep/deep.css.map +1 -1
  27. package/config/themes/deep/deep.less +670 -669
  28. package/config/themes/deep/var.less +678 -677
  29. package/config/themes/default/default.css +576 -575
  30. package/config/themes/default/default.css.map +1 -1
  31. package/config/themes/default/default.less +672 -671
  32. package/config/themes/default/var.less +678 -677
  33. package/config/themes/eap/eap.css +576 -575
  34. package/config/themes/eap/eap.css.map +1 -1
  35. package/config/themes/eap/eap.less +672 -671
  36. package/config/themes/eap/var.less +678 -677
  37. package/config/themes/gold/gold.css +576 -575
  38. package/config/themes/gold/gold.css.map +1 -1
  39. package/config/themes/gold/gold.less +672 -671
  40. package/config/themes/gold/var.less +678 -677
  41. package/config/themes/index.js +28 -28
  42. package/config/themes/lime/lime.css +576 -575
  43. package/config/themes/lime/lime.css.map +1 -1
  44. package/config/themes/lime/lime.less +672 -671
  45. package/config/themes/lime/var.less +679 -678
  46. package/config/themes/orange/orange.css +576 -575
  47. package/config/themes/orange/orange.css.map +1 -1
  48. package/config/themes/orange/orange.less +672 -671
  49. package/config/themes/orange/var.less +679 -678
  50. package/config/themes/red/red.css +576 -575
  51. package/config/themes/red/red.css.map +1 -1
  52. package/config/themes/red/red.less +672 -671
  53. package/config/themes/red/var.less +678 -677
  54. package/config/themes/theme-atrovirens.js +559 -558
  55. package/config/themes/theme-blue.js +559 -558
  56. package/config/themes/theme-bw.js +559 -558
  57. package/config/themes/theme-bwt.js +561 -559
  58. package/config/themes/theme-danqing.js +559 -558
  59. package/config/themes/theme-deep.js +559 -558
  60. package/config/themes/theme-default.js +559 -558
  61. package/config/themes/theme-eap.js +559 -558
  62. package/config/themes/theme-gold.js +559 -558
  63. package/config/themes/theme-lime.js +559 -558
  64. package/config/themes/theme-orange.js +560 -559
  65. package/config/themes/theme-red.js +559 -558
  66. package/config/themes/theme-white.js +558 -557
  67. package/config/themes/white/var.less +676 -675
  68. package/config/themes/white/white.css +576 -575
  69. package/config/themes/white/white.css.map +1 -1
  70. package/config/themes/white/white.less +669 -668
  71. package/directives/index.js +23 -23
  72. package/directives/module/draggable.js +56 -56
  73. package/directives/module/permission.js +49 -49
  74. package/directives/module/print.js +1 -1
  75. package/directives/module/vue-print-nb/README.md +63 -63
  76. package/directives/module/vue-print-nb/print.js +94 -94
  77. package/directives/module/vue-print-nb/printarea.js +532 -532
  78. package/index.js +10 -10
  79. package/nstyles/common.less +197 -197
  80. package/nstyles/components/404.less +46 -46
  81. package/nstyles/components/button.less +34 -34
  82. package/nstyles/components/date-picker.less +37 -37
  83. package/nstyles/components/drawer.less +20 -20
  84. package/nstyles/components/dropdown.less +18 -18
  85. package/nstyles/components/excel-flow.less +72 -72
  86. package/nstyles/components/form.less +313 -313
  87. package/nstyles/components/index.less +23 -23
  88. package/nstyles/components/layout/collect.less +10 -10
  89. package/nstyles/components/layout/detail-view.less +107 -107
  90. package/nstyles/components/layout/full-screen.less +7 -7
  91. package/nstyles/components/layout/index.less +7 -7
  92. package/nstyles/components/layout/other-menu.less +142 -142
  93. package/nstyles/components/layout/page-view.less +101 -101
  94. package/nstyles/components/layout/sider-trigger.less +41 -41
  95. package/nstyles/components/layout/tags-nav.less +113 -113
  96. package/nstyles/components/modal.less +85 -85
  97. package/nstyles/components/n-button.less +131 -131
  98. package/nstyles/components/n-image-preview.less +131 -131
  99. package/nstyles/components/n-model/index.less +19 -19
  100. package/nstyles/components/n-model/report-index.less +43 -43
  101. package/nstyles/components/n-panel.less +40 -40
  102. package/nstyles/components/n-picker.less +37 -37
  103. package/nstyles/components/n-sign.less +17 -17
  104. package/nstyles/components/n-tooltip.less +10 -10
  105. package/nstyles/components/panel.less +31 -31
  106. package/nstyles/components/select.less +3 -3
  107. package/nstyles/components/sign.less +27 -27
  108. package/nstyles/components/table.less +315 -315
  109. package/nstyles/components/tree.less +158 -158
  110. package/nstyles/components/upload.less +164 -164
  111. package/nstyles/index.less +5 -5
  112. package/nstyles/reset.less +65 -65
  113. package/nstyles/third/ag.less +174 -174
  114. package/nstyles/third/index.less +11 -11
  115. package/nstyles/third/view-design.less +366 -366
  116. package/nstyles/variables/base.less +143 -143
  117. package/nstyles/variables/index.less +4 -4
  118. package/nstyles/variables/theme/default/button.less +7 -7
  119. package/nstyles/variables/theme/default/common.less +57 -57
  120. package/nstyles/variables/theme/default/index.less +7 -7
  121. package/nstyles/variables/theme/default/layout.less +40 -40
  122. package/nstyles/variables/theme/default/table.less +37 -37
  123. package/nstyles/variables/theme/default/tag.less +3 -3
  124. package/nstyles/variables/theme/default/upload.less +3 -3
  125. package/nstyles/variables/theme/index.less +13 -13
  126. package/nstyles/variables/theme/lsv/button.less +7 -0
  127. package/nstyles/variables/theme/lsv/common.less +39 -0
  128. package/nstyles/variables/theme/lsv/index.less +5 -0
  129. package/nstyles/variables/theme/lsv/layout.less +21 -0
  130. package/nstyles/variables/theme/lsv/table.less +20 -0
  131. package/nstyles/variables/theme/lsv/tag.less +3 -0
  132. package/nstyles/variables/theme/small/button.less +7 -7
  133. package/nstyles/variables/theme/small/common.less +39 -39
  134. package/nstyles/variables/theme/small/index.less +5 -5
  135. package/nstyles/variables/theme/small/layout.less +21 -21
  136. package/nstyles/variables/theme/small/table.less +17 -17
  137. package/nstyles/variables/theme/small/tag.less +3 -3
  138. package/package.json +1 -1
  139. package/plugin/index.js +12 -12
  140. package/plugin/module/date-format.js +30 -30
  141. package/plugin/module/loading.js +26 -26
  142. package/plugin/module/warn-handler.js +11 -11
  143. package/styles/variables.less +21 -21
  144. package/utils/ajax/cacheconf.js +19 -19
  145. package/utils/ajax/content-type.js +30 -30
  146. package/utils/ajax/index.js +12 -12
  147. package/utils/ajax/interceptors.js +97 -97
  148. package/utils/ajax/sseFetchUtil.js +71 -71
  149. package/utils/assist.js +147 -147
  150. package/utils/base64.js +126 -126
  151. package/utils/blob.js +47 -47
  152. package/utils/bus.js +3 -3
  153. package/utils/crypto/index.js +48 -48
  154. package/utils/crypto/md5.js +152 -152
  155. package/utils/crypto/sm3.js +235 -235
  156. package/utils/date.js +381 -381
  157. package/utils/dict/built-in-dict.js +20 -20
  158. package/utils/dict/index.js +167 -167
  159. package/utils/dom.js +38 -38
  160. package/utils/event.js +72 -72
  161. package/utils/excel.js +655 -655
  162. package/utils/file.js +19 -19
  163. package/utils/form/validate.js +29 -29
  164. package/utils/half-year.js +68 -68
  165. package/utils/index.js +41 -41
  166. package/utils/json.js +29 -29
  167. package/utils/lodop.js +165 -165
  168. package/utils/menu/before-close.js +17 -17
  169. package/utils/menu/index.js +395 -395
  170. package/utils/mime_type.js +67 -67
  171. package/utils/modelerUtil.js +227 -227
  172. package/utils/n/api.js +22 -22
  173. package/utils/n/date.js +57 -57
  174. package/utils/n/index.js +9 -9
  175. package/utils/n/is-type.js +176 -176
  176. package/utils/n/number.js +144 -144
  177. package/utils/n/permission-cache.js +11 -11
  178. package/utils/n/reuqest/axiosN.js +17 -17
  179. package/utils/n/reuqest/content-type.js +19 -19
  180. package/utils/n/reuqest/interceptors.js +95 -95
  181. package/utils/n/reuqest/url-params.js +12 -12
  182. package/utils/n/storage.js +51 -51
  183. package/utils/n/token.js +51 -51
  184. package/utils/n/user-cache.js +11 -11
  185. package/utils/n/user.js +34 -34
  186. package/utils/n/uuid.js +16 -16
  187. package/utils/n-generator-routers.js +208 -208
  188. package/utils/n-router.js +205 -205
  189. package/utils/n-theme.js +30 -30
  190. package/utils/number.js +180 -180
  191. package/utils/oss.js +57 -57
  192. package/utils/platform.js +1343 -1334
  193. package/utils/quarter.js +58 -58
  194. package/utils/storage.js +198 -198
  195. package/utils/theme.js +138 -138
  196. package/utils/transform.js +204 -204
  197. package/utils/type.js +102 -102
  198. package/utils/util.js +795 -795
  199. package/utils/validator.js +181 -181
  200. package/utils/vxetable/index.js +25 -25
  201. package/utils/zoomScroll.js +9 -9
@@ -1,367 +1,367 @@
1
- /*
2
- * 更改 view-design 的默认样式
3
- *
4
- * @Author: huxuetong
5
- * @Date: 2023-08-16 16:24:23
6
- * @Last Modified by: huxuetong
7
- * @Last Modified time: 2024-04-06 14:15:41
8
- */
9
-
10
- // form-item
11
- .ivu-input {
12
- height: var(--input-height);
13
- }
14
-
15
- .ivu-input-wrapper .ivu-input-icon,
16
- .ivu-select .ivu-select-input,
17
- .ivu-select.ivu-select .ivu-select-selection,
18
- .ivu-select.ivu-select .ivu-select-selection .ivu-select-placeholder,
19
- .ivu-select.ivu-select .ivu-select-selection .ivu-select-selected-value,
20
- .ivu-select-multiple .ivu-select-selection .ivu-select-placeholder,
21
- .ivu-input-wrapper .ivu-input-prefix i,
22
- .ivu-select.ivu-select-multiple .ivu-select-selection .ivu-select-placeholder,
23
- .ivu-select.ivu-select-multiple .ivu-select-selection .ivu-select-selected-value,
24
- .ivu-input-wrapper .ivu-input-suffix i {
25
- height: var(--input-height);
26
- line-height: var(--input-height);
27
- }
28
- .ivu-select .ivu-select-input,
29
- .ivu-select.ivu-select-multiple .ivu-select-input {
30
- top: auto;
31
- }
32
-
33
- .ivu-page.mini .ivu-page-total,
34
- .ivu-page.mini .ivu-page-options-elevator,
35
- .ivu-page.mini .ivu-page-item {
36
- height: var(--input-height);
37
- line-height: var(--input-height);
38
- }
39
-
40
- .ivu-select-default.ivu-select-multiple .ivu-select-selection {
41
- min-height: var(--input-height) !important;
42
- }
43
-
44
- .ivu-page.mini .ivu-page-next,
45
- .ivu-page.mini .ivu-page-prev,
46
- .ivu-page.mini .ivu-page-options-elevator input {
47
- height: var(--input-height);
48
- line-height: calc(var(--input-height) - 2px);
49
- }
50
-
51
- // 双滚动条问题,加上一个像素就好
52
- ul.ivu-page.mini {
53
- margin-bottom: 1px !important;
54
- }
55
-
56
- .ivu-input,
57
- .ivu-select-selection,
58
- .ivu-input-number-input,
59
- .ivu-input-number,
60
- .ivu-radio-inner,
61
- .ivu-checkbox-inner,
62
- .ivu-table-cell-tree {
63
- border-color: #ccc !important;
64
- }
65
-
66
- .ivu-radio-wrapper {
67
- white-space: pre-wrap !important;
68
- }
69
-
70
- .ivu-radio .ivu-radio-inner::after {
71
- top: 50%;
72
- left: 50%;
73
- transform: scale(1) translateX(-50%) translateY(-50%) !important;
74
- }
75
-
76
- .ivu-radio-checked .ivu-radio-inner,
77
- .ivu-checkbox-checked .ivu-checkbox-inner {
78
- border-color: #488aff !important;
79
- }
80
-
81
- .ivu-select-multiple .ivu-select-selection > div {
82
- display: flex;
83
- .ivu-tag {
84
- position: relative;
85
- height: var(--ind-tag-height);
86
- line-height: var(--ind-tag-height);
87
-
88
- .ivu-icon {
89
- position: absolute;
90
- top: calc(50% + 1px);
91
- transform: translateY(-50%);
92
- }
93
- }
94
- }
95
-
96
- .ivu-select-dropdown,
97
- .ivu-tooltip-popper {
98
- z-index: 99999999 !important;
99
- }
100
-
101
- .ivu-select-dropdown,
102
- .ivu-dropdown-transfer {
103
- max-height: 400px;
104
- }
105
-
106
- .ivu-select-item {
107
- padding-top: 4px !important;
108
- padding-bottom: 4px !important;
109
- }
110
-
111
- .selected-input {
112
- .ivu-input {
113
- cursor: pointer;
114
- }
115
-
116
- &.readonly {
117
- .ivu-input {
118
- cursor: default;
119
- }
120
- }
121
- }
122
-
123
- // button
124
- //全局样式,按钮高度-2022年11月11日
125
- .ivu-btn {
126
- height: var(--ind-button-height-md);
127
- padding-left: var(--ind-button-padding-md);
128
- padding-right: var(--ind-button-padding-md);
129
- }
130
- .ivu-btn-small {
131
- height: var(--ind-button-height-sm);
132
- padding-left: var(--ind-button-padding-sm);
133
- padding-right: var(--ind-button-padding-sm);
134
- }
135
- .ivu-btn-icon-only.ivu-btn {
136
- width: var(--ind-button-height-sm);
137
- padding-left: unset;
138
- padding-right: unset;
139
- }
140
-
141
- // poptip
142
- //全局样式,树形选择框宽度-2022年11月11日
143
- .ivu-poptip {
144
- width: 100%;
145
- .ivu-poptip-rel {
146
- width: 100%;
147
- }
148
- }
149
-
150
- // tooltip
151
- // 领导让换个色 begin
152
- .ivu-tooltip-arrow {
153
- border-bottom-color: rgb(232, 233, 234) !important;
154
- }
155
- .ivu-tooltip-inner {
156
- background-color: rgb(232, 233, 234) !important;
157
- color: #333 !important;
158
- }
159
- body > .ivu-tooltip-popper {
160
- .ivu-tooltip-inner {
161
- white-space: pre-wrap;
162
- }
163
- }
164
-
165
- // 领导让换个色 end
166
-
167
- // card
168
- .ivu-card:hover {
169
- box-shadow: none !important;
170
- }
171
- .ivu-card,
172
- .ivu-card-bordered {
173
- border: 1px solid var(--ind-border-color);
174
- .ivu-card-head {
175
- padding: var(--ivu-card-head-padding) !important;
176
- line-height: var(--ivu-card-head-line-height) !important;
177
- height: var(--ivu-card-head-height) !important;
178
- background: #ffffff;
179
- }
180
- }
181
-
182
- .ivu-card-body {
183
- padding: var(--ivu-card-body-padding);
184
- }
185
-
186
- // steps
187
- .ivu-steps.ivu-steps-small .ivu-steps-title {
188
- font-size: 14px !important;
189
- margin-top: 2px;
190
- }
191
-
192
- .ivu-steps .ivu-steps-head-inner {
193
- display: block;
194
- width: 26px !important;
195
- height: 26px !important;
196
- line-height: 24px !important;
197
- margin-right: 8px !important;
198
- text-align: center;
199
- border: 1px solid #ccc;
200
- }
201
-
202
- .ivu-steps.ivu-steps-small .ivu-steps-tail {
203
- top: 13px !important;
204
- padding: 0 10px !important;
205
- }
206
-
207
- .ivu-steps .ivu-steps-head-inner > .ivu-steps-icon.ivu-icon {
208
- font-size: 24px !important;
209
- }
210
-
211
- // modal
212
- .ivu-modal-close .ivu-icon-ios-close {
213
- color: #444;
214
- }
215
-
216
- // row
217
- // 栅格布局的宽度为啥不是100%呢
218
- .ivu-row {
219
- width: 100%;
220
- // min-height: 100%;
221
- }
222
-
223
- // menu
224
- .ivu-menu-vertical .ivu-menu-item,
225
- .ivu-menu-vertical .ivu-menu-submenu-title {
226
- padding-left: 8px;
227
- }
228
-
229
- .ivu-spin-fix {
230
- // z-index: 999999998 !important;
231
- }
232
-
233
- // message
234
- .ivu-message {
235
- zoom: 2;
236
- z-index: 999999999 !important;
237
- }
238
-
239
- .ind-modal:has(.ivu-modal-confirm) {
240
- z-index: 999999998 !important;
241
- }
242
-
243
- // tabs
244
- .ivu-tabs {
245
- display: flex;
246
- flex-direction: column;
247
-
248
- &.ivu-tabs-auto-height {
249
- height: 100%;
250
- }
251
-
252
- .ivu-tabs-bar {
253
- flex-shrink: 0;
254
- }
255
-
256
- .ivu-tabs-content {
257
- flex-grow: 1;
258
- }
259
- }
260
-
261
- // collapse
262
- .ivu-collapse .ivu-collapse-item {
263
- .ivu-collapse-header {
264
- padding: var(--ivu-card-head-padding) !important;
265
- line-height: var(--ivu-card-head-line-height);
266
- height: var(--ivu-card-head-height);
267
- // padding-bottom: 17px;
268
- background-color: #ecf0f4;
269
- border: 1px solid #d2dbe4;
270
- border-bottom: none;
271
- font-size: 16px;
272
- font-weight: bold;
273
- color: #333333;
274
- }
275
- &:last-child {
276
- .ivu-collapse-header {
277
- border-bottom: 1px solid #d2dbe4;
278
- }
279
- .ivu-collapse-content {
280
- border-bottom: 1px solid #d2dbe4;
281
- }
282
- }
283
- }
284
- .ivu-collapse-content {
285
- border: 1px solid #d2dbe4;
286
- border-bottom: none;
287
- }
288
-
289
- // menu
290
- .ivu-menu {
291
- .ivu-menu {
292
- border-top: 1px solid var(--menu-black-active-bg);
293
- border-bottom: none;
294
- }
295
- }
296
-
297
- .ivu-menu-dark {
298
- background: var(--menu-dark-active-bg) !important;
299
- }
300
- .ivu-menu-submenu-title {
301
- background: var(--menu-dark-active-bg);
302
- }
303
-
304
- .ivu-menu-item > i {
305
- margin-right: 12px !important;
306
- }
307
-
308
- .ivu-menu-submenu > .ivu-menu > .ivu-menu-item > i {
309
- margin-right: 8px !important;
310
- }
311
-
312
- // layout
313
- .ivu-layout-sider-children {
314
- margin-right: 1px;
315
- background-color: var(--menu-black-active-bg);
316
- overflow-y: auto;
317
-
318
- &::-webkit-scrollbar {
319
- width: 0;
320
- }
321
- .ivu-menu-dark.ivu-menu-vertical .ivu-menu-item:hover,
322
- .ivu-menu-dark.ivu-menu-vertical .ivu-menu-submenu-title:hover,
323
- .ivu-menu-dark.ivu-menu-vertical .ivu-menu-submenu .ivu-menu-item:hover {
324
- color: var(--main-color);
325
- background: var(--selected-background-hover) !important;
326
- }
327
- .ivu-menu-dark.ivu-menu-vertical .ivu-menu-item,
328
- .ivu-menu-dark.ivu-menu-vertical .ivu-menu-submenu-title,
329
- .ivu-menu-dark.ivu-menu-vertical .ivu-menu-submenu .ivu-menu-item {
330
- font-size: var(--ivu-menu-item-font-size);
331
- background-color: var(--menu-black-active-bg) !important;
332
- }
333
- .ivu-menu-dark.ivu-menu-vertical .ivu-menu-child-item-active > .ivu-menu-submenu-title {
334
- color: black;
335
- font-size: 14px;
336
- }
337
- .ivu-menu-dark.ivu-menu-vertical .ivu-menu-submenu .ivu-menu-item-active,
338
- .ivu-menu-dark.ivu-menu-vertical .ivu-menu-submenu .ivu-menu-item-active:hover {
339
- background: var(--selected-background) !important;
340
- border-right: 3px solid var(--deep-mian-color);
341
- color: var(--deep-menu-color) !important;
342
- }
343
- .ivu-menu-vertical .ivu-menu-submenu-title-icon {
344
- right: 0px;
345
- }
346
- }
347
-
348
- // table
349
- .ivu-table {
350
- line-height: unset !important;
351
- }
352
-
353
- .ivu-input::-webkit-input-placeholder {
354
- font-size: 12px;
355
- // font-size: 14px;
356
- }
357
-
358
- .ivu-spin-large.ivu-spin-fix.ivu-spin-fullscreen{
359
- background-color:rgba(255,255,255,0.1)
360
- }
361
- .extend-height{
362
- min-height: calc(100vh - 85px);
363
- }
364
-
365
- .ivu-card-extra {
366
- top: var(--ivu-card-extra, 3px) !important;
1
+ /*
2
+ * 更改 view-design 的默认样式
3
+ *
4
+ * @Author: huxuetong
5
+ * @Date: 2023-08-16 16:24:23
6
+ * @Last Modified by: huxuetong
7
+ * @Last Modified time: 2024-04-06 14:15:41
8
+ */
9
+
10
+ // form-item
11
+ .ivu-input {
12
+ height: var(--input-height);
13
+ }
14
+
15
+ .ivu-input-wrapper .ivu-input-icon,
16
+ .ivu-select .ivu-select-input,
17
+ .ivu-select.ivu-select .ivu-select-selection,
18
+ .ivu-select.ivu-select .ivu-select-selection .ivu-select-placeholder,
19
+ .ivu-select.ivu-select .ivu-select-selection .ivu-select-selected-value,
20
+ .ivu-select-multiple .ivu-select-selection .ivu-select-placeholder,
21
+ .ivu-input-wrapper .ivu-input-prefix i,
22
+ .ivu-select.ivu-select-multiple .ivu-select-selection .ivu-select-placeholder,
23
+ .ivu-select.ivu-select-multiple .ivu-select-selection .ivu-select-selected-value,
24
+ .ivu-input-wrapper .ivu-input-suffix i {
25
+ height: var(--input-height);
26
+ line-height: var(--input-height);
27
+ }
28
+ .ivu-select .ivu-select-input,
29
+ .ivu-select.ivu-select-multiple .ivu-select-input {
30
+ top: auto;
31
+ }
32
+
33
+ .ivu-page.mini .ivu-page-total,
34
+ .ivu-page.mini .ivu-page-options-elevator,
35
+ .ivu-page.mini .ivu-page-item {
36
+ height: var(--input-height);
37
+ line-height: var(--input-height);
38
+ }
39
+
40
+ .ivu-select-default.ivu-select-multiple .ivu-select-selection {
41
+ min-height: var(--input-height) !important;
42
+ }
43
+
44
+ .ivu-page.mini .ivu-page-next,
45
+ .ivu-page.mini .ivu-page-prev,
46
+ .ivu-page.mini .ivu-page-options-elevator input {
47
+ height: var(--input-height);
48
+ line-height: calc(var(--input-height) - 2px);
49
+ }
50
+
51
+ // 双滚动条问题,加上一个像素就好
52
+ ul.ivu-page.mini {
53
+ margin-bottom: 1px !important;
54
+ }
55
+
56
+ .ivu-input,
57
+ .ivu-select-selection,
58
+ .ivu-input-number-input,
59
+ .ivu-input-number,
60
+ .ivu-radio-inner,
61
+ .ivu-checkbox-inner,
62
+ .ivu-table-cell-tree {
63
+ border-color: #ccc !important;
64
+ }
65
+
66
+ .ivu-radio-wrapper {
67
+ white-space: pre-wrap !important;
68
+ }
69
+
70
+ .ivu-radio .ivu-radio-inner::after {
71
+ top: 50%;
72
+ left: 50%;
73
+ transform: scale(1) translateX(-50%) translateY(-50%) !important;
74
+ }
75
+
76
+ .ivu-radio-checked .ivu-radio-inner,
77
+ .ivu-checkbox-checked .ivu-checkbox-inner {
78
+ border-color: #488aff !important;
79
+ }
80
+
81
+ .ivu-select-multiple .ivu-select-selection > div {
82
+ display: flex;
83
+ .ivu-tag {
84
+ position: relative;
85
+ height: var(--ind-tag-height);
86
+ line-height: var(--ind-tag-height);
87
+
88
+ .ivu-icon {
89
+ position: absolute;
90
+ top: calc(50% + 1px);
91
+ transform: translateY(-50%);
92
+ }
93
+ }
94
+ }
95
+
96
+ .ivu-select-dropdown,
97
+ .ivu-tooltip-popper {
98
+ z-index: 99999999 !important;
99
+ }
100
+
101
+ .ivu-select-dropdown,
102
+ .ivu-dropdown-transfer {
103
+ max-height: 400px;
104
+ }
105
+
106
+ .ivu-select-item {
107
+ padding-top: 4px !important;
108
+ padding-bottom: 4px !important;
109
+ }
110
+
111
+ .selected-input {
112
+ .ivu-input {
113
+ cursor: pointer;
114
+ }
115
+
116
+ &.readonly {
117
+ .ivu-input {
118
+ cursor: default;
119
+ }
120
+ }
121
+ }
122
+
123
+ // button
124
+ //全局样式,按钮高度-2022年11月11日
125
+ .ivu-btn {
126
+ height: var(--ind-button-height-md);
127
+ padding-left: var(--ind-button-padding-md);
128
+ padding-right: var(--ind-button-padding-md);
129
+ }
130
+ .ivu-btn-small {
131
+ height: var(--ind-button-height-sm);
132
+ padding-left: var(--ind-button-padding-sm);
133
+ padding-right: var(--ind-button-padding-sm);
134
+ }
135
+ .ivu-btn-icon-only.ivu-btn {
136
+ width: var(--ind-button-height-sm);
137
+ padding-left: unset;
138
+ padding-right: unset;
139
+ }
140
+
141
+ // poptip
142
+ //全局样式,树形选择框宽度-2022年11月11日
143
+ .ivu-poptip {
144
+ width: 100%;
145
+ .ivu-poptip-rel {
146
+ width: 100%;
147
+ }
148
+ }
149
+
150
+ // tooltip
151
+ // 领导让换个色 begin
152
+ .ivu-tooltip-arrow {
153
+ border-bottom-color: rgb(232, 233, 234) !important;
154
+ }
155
+ .ivu-tooltip-inner {
156
+ background-color: rgb(232, 233, 234) !important;
157
+ color: #333 !important;
158
+ }
159
+ body > .ivu-tooltip-popper {
160
+ .ivu-tooltip-inner {
161
+ white-space: pre-wrap;
162
+ }
163
+ }
164
+
165
+ // 领导让换个色 end
166
+
167
+ // card
168
+ .ivu-card:hover {
169
+ box-shadow: none !important;
170
+ }
171
+ .ivu-card,
172
+ .ivu-card-bordered {
173
+ border: 1px solid var(--ind-border-color);
174
+ .ivu-card-head {
175
+ padding: var(--ivu-card-head-padding) !important;
176
+ line-height: var(--ivu-card-head-line-height) !important;
177
+ height: var(--ivu-card-head-height) !important;
178
+ background: #ffffff;
179
+ }
180
+ }
181
+
182
+ .ivu-card-body {
183
+ padding: var(--ivu-card-body-padding);
184
+ }
185
+
186
+ // steps
187
+ .ivu-steps.ivu-steps-small .ivu-steps-title {
188
+ font-size: 14px !important;
189
+ margin-top: 2px;
190
+ }
191
+
192
+ .ivu-steps .ivu-steps-head-inner {
193
+ display: block;
194
+ width: 26px !important;
195
+ height: 26px !important;
196
+ line-height: 24px !important;
197
+ margin-right: 8px !important;
198
+ text-align: center;
199
+ border: 1px solid #ccc;
200
+ }
201
+
202
+ .ivu-steps.ivu-steps-small .ivu-steps-tail {
203
+ top: 13px !important;
204
+ padding: 0 10px !important;
205
+ }
206
+
207
+ .ivu-steps .ivu-steps-head-inner > .ivu-steps-icon.ivu-icon {
208
+ font-size: 24px !important;
209
+ }
210
+
211
+ // modal
212
+ .ivu-modal-close .ivu-icon-ios-close {
213
+ color: #444;
214
+ }
215
+
216
+ // row
217
+ // 栅格布局的宽度为啥不是100%呢
218
+ .ivu-row {
219
+ width: 100%;
220
+ // min-height: 100%;
221
+ }
222
+
223
+ // menu
224
+ .ivu-menu-vertical .ivu-menu-item,
225
+ .ivu-menu-vertical .ivu-menu-submenu-title {
226
+ padding-left: 8px;
227
+ }
228
+
229
+ .ivu-spin-fix {
230
+ // z-index: 999999998 !important;
231
+ }
232
+
233
+ // message
234
+ .ivu-message {
235
+ zoom: 2;
236
+ z-index: 999999999 !important;
237
+ }
238
+
239
+ .ind-modal:has(.ivu-modal-confirm) {
240
+ z-index: 999999998 !important;
241
+ }
242
+
243
+ // tabs
244
+ .ivu-tabs {
245
+ display: flex;
246
+ flex-direction: column;
247
+
248
+ &.ivu-tabs-auto-height {
249
+ height: 100%;
250
+ }
251
+
252
+ .ivu-tabs-bar {
253
+ flex-shrink: 0;
254
+ }
255
+
256
+ .ivu-tabs-content {
257
+ flex-grow: 1;
258
+ }
259
+ }
260
+
261
+ // collapse
262
+ .ivu-collapse .ivu-collapse-item {
263
+ .ivu-collapse-header {
264
+ padding: var(--ivu-card-head-padding) !important;
265
+ line-height: var(--ivu-card-head-line-height);
266
+ height: var(--ivu-card-head-height);
267
+ // padding-bottom: 17px;
268
+ background-color: #ecf0f4;
269
+ border: 1px solid #d2dbe4;
270
+ border-bottom: none;
271
+ font-size: 16px;
272
+ font-weight: bold;
273
+ color: #333333;
274
+ }
275
+ &:last-child {
276
+ .ivu-collapse-header {
277
+ border-bottom: 1px solid #d2dbe4;
278
+ }
279
+ .ivu-collapse-content {
280
+ border-bottom: 1px solid #d2dbe4;
281
+ }
282
+ }
283
+ }
284
+ .ivu-collapse-content {
285
+ border: 1px solid #d2dbe4;
286
+ border-bottom: none;
287
+ }
288
+
289
+ // menu
290
+ .ivu-menu {
291
+ .ivu-menu {
292
+ border-top: 1px solid var(--menu-black-active-bg);
293
+ border-bottom: none;
294
+ }
295
+ }
296
+
297
+ .ivu-menu-dark {
298
+ background: var(--menu-dark-active-bg) !important;
299
+ }
300
+ .ivu-menu-submenu-title {
301
+ background: var(--menu-dark-active-bg);
302
+ }
303
+
304
+ .ivu-menu-item > i {
305
+ margin-right: 12px !important;
306
+ }
307
+
308
+ .ivu-menu-submenu > .ivu-menu > .ivu-menu-item > i {
309
+ margin-right: 8px !important;
310
+ }
311
+
312
+ // layout
313
+ .ivu-layout-sider-children {
314
+ margin-right: 1px;
315
+ background-color: var(--menu-black-active-bg);
316
+ overflow-y: auto;
317
+
318
+ &::-webkit-scrollbar {
319
+ width: 0;
320
+ }
321
+ .ivu-menu-dark.ivu-menu-vertical .ivu-menu-item:hover,
322
+ .ivu-menu-dark.ivu-menu-vertical .ivu-menu-submenu-title:hover,
323
+ .ivu-menu-dark.ivu-menu-vertical .ivu-menu-submenu .ivu-menu-item:hover {
324
+ color: var(--main-color);
325
+ background: var(--selected-background-hover) !important;
326
+ }
327
+ .ivu-menu-dark.ivu-menu-vertical .ivu-menu-item,
328
+ .ivu-menu-dark.ivu-menu-vertical .ivu-menu-submenu-title,
329
+ .ivu-menu-dark.ivu-menu-vertical .ivu-menu-submenu .ivu-menu-item {
330
+ font-size: var(--ivu-menu-item-font-size);
331
+ background-color: var(--menu-black-active-bg) !important;
332
+ }
333
+ .ivu-menu-dark.ivu-menu-vertical .ivu-menu-child-item-active > .ivu-menu-submenu-title {
334
+ color: black;
335
+ font-size: 14px;
336
+ }
337
+ .ivu-menu-dark.ivu-menu-vertical .ivu-menu-submenu .ivu-menu-item-active,
338
+ .ivu-menu-dark.ivu-menu-vertical .ivu-menu-submenu .ivu-menu-item-active:hover {
339
+ background: var(--selected-background) !important;
340
+ border-right: 3px solid var(--deep-mian-color);
341
+ color: var(--deep-menu-color) !important;
342
+ }
343
+ .ivu-menu-vertical .ivu-menu-submenu-title-icon {
344
+ right: 0px;
345
+ }
346
+ }
347
+
348
+ // table
349
+ .ivu-table {
350
+ line-height: unset !important;
351
+ }
352
+
353
+ .ivu-input::-webkit-input-placeholder {
354
+ font-size: 12px;
355
+ // font-size: 14px;
356
+ }
357
+
358
+ .ivu-spin-large.ivu-spin-fix.ivu-spin-fullscreen{
359
+ background-color:rgba(255,255,255,0.1)
360
+ }
361
+ .extend-height{
362
+ min-height: calc(100vh - 85px);
363
+ }
364
+
365
+ .ivu-card-extra {
366
+ top: var(--ivu-card-extra, 3px) !important;
367
367
  }