ns-base-module 1.0.0

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 (148) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +20 -0
  3. package/dist/Button/AntdIconButton.d.ts +11 -0
  4. package/dist/Button/AntdIconButton.d.ts.map +1 -0
  5. package/dist/Button/AntdIconButton.js +22 -0
  6. package/dist/Button/ConfigButton.d.ts +18 -0
  7. package/dist/Button/ConfigButton.d.ts.map +1 -0
  8. package/dist/Button/ConfigButton.js +78 -0
  9. package/dist/Button/index.d.ts +8 -0
  10. package/dist/Button/index.d.ts.map +1 -0
  11. package/dist/Button/index.js +19 -0
  12. package/dist/ClassFilter/index.d.ts +11 -0
  13. package/dist/ClassFilter/index.d.ts.map +1 -0
  14. package/dist/ClassFilter/index.js +119 -0
  15. package/dist/ClassFilter/indexVertical.d.ts +10 -0
  16. package/dist/ClassFilter/indexVertical.d.ts.map +1 -0
  17. package/dist/ClassFilter/indexVertical.js +69 -0
  18. package/dist/ClassFilter/util.d.ts +17 -0
  19. package/dist/ClassFilter/util.d.ts.map +1 -0
  20. package/dist/ClassFilter/util.js +135 -0
  21. package/dist/CopyCol/index.d.ts +4 -0
  22. package/dist/CopyCol/index.d.ts.map +1 -0
  23. package/dist/CopyCol/index.js +57 -0
  24. package/dist/Entry/EntryCriteria.d.ts +17 -0
  25. package/dist/Entry/EntryCriteria.d.ts.map +1 -0
  26. package/dist/Entry/EntryCriteria.js +138 -0
  27. package/dist/Entry/EntryItem.d.ts +34 -0
  28. package/dist/Entry/EntryItem.d.ts.map +1 -0
  29. package/dist/Entry/EntryItem.js +757 -0
  30. package/dist/Entry/components/Checkbox.d.ts +12 -0
  31. package/dist/Entry/components/Checkbox.d.ts.map +1 -0
  32. package/dist/Entry/components/Checkbox.js +15 -0
  33. package/dist/Entry/components/ChooseModalTable.d.ts +15 -0
  34. package/dist/Entry/components/ChooseModalTable.d.ts.map +1 -0
  35. package/dist/Entry/components/ChooseModalTable.js +407 -0
  36. package/dist/Entry/components/Condition.d.ts +9 -0
  37. package/dist/Entry/components/Condition.d.ts.map +1 -0
  38. package/dist/Entry/components/Condition.js +30 -0
  39. package/dist/Entry/components/DatePicker.d.ts +12 -0
  40. package/dist/Entry/components/DatePicker.d.ts.map +1 -0
  41. package/dist/Entry/components/DatePicker.js +12 -0
  42. package/dist/Entry/components/Etable2Modal.d.ts +4 -0
  43. package/dist/Entry/components/Etable2Modal.d.ts.map +1 -0
  44. package/dist/Entry/components/Etable2Modal.js +122 -0
  45. package/dist/Entry/components/Express.d.ts +8 -0
  46. package/dist/Entry/components/Express.d.ts.map +1 -0
  47. package/dist/Entry/components/Express.js +30 -0
  48. package/dist/Entry/components/GroupInput.d.ts +13 -0
  49. package/dist/Entry/components/GroupInput.d.ts.map +1 -0
  50. package/dist/Entry/components/GroupInput.js +77 -0
  51. package/dist/Entry/components/ImageText.d.ts +13 -0
  52. package/dist/Entry/components/ImageText.d.ts.map +1 -0
  53. package/dist/Entry/components/ImageText.js +235 -0
  54. package/dist/Entry/components/Input.d.ts +27 -0
  55. package/dist/Entry/components/Input.d.ts.map +1 -0
  56. package/dist/Entry/components/Input.js +86 -0
  57. package/dist/Entry/components/InputNumber.d.ts +18 -0
  58. package/dist/Entry/components/InputNumber.d.ts.map +1 -0
  59. package/dist/Entry/components/InputNumber.js +111 -0
  60. package/dist/Entry/components/InputNumberRange.d.ts +10 -0
  61. package/dist/Entry/components/InputNumberRange.d.ts.map +1 -0
  62. package/dist/Entry/components/InputNumberRange.js +58 -0
  63. package/dist/Entry/components/ListSelect.d.ts +15 -0
  64. package/dist/Entry/components/ListSelect.d.ts.map +1 -0
  65. package/dist/Entry/components/ListSelect.js +110 -0
  66. package/dist/Entry/components/ObjectSelect.d.ts +14 -0
  67. package/dist/Entry/components/ObjectSelect.d.ts.map +1 -0
  68. package/dist/Entry/components/ObjectSelect.js +91 -0
  69. package/dist/Entry/components/Progress.d.ts +11 -0
  70. package/dist/Entry/components/Progress.d.ts.map +1 -0
  71. package/dist/Entry/components/Progress.js +63 -0
  72. package/dist/Entry/components/Radio.d.ts +15 -0
  73. package/dist/Entry/components/Radio.d.ts.map +1 -0
  74. package/dist/Entry/components/Radio.js +17 -0
  75. package/dist/Entry/components/Select.d.ts +29 -0
  76. package/dist/Entry/components/Select.d.ts.map +1 -0
  77. package/dist/Entry/components/Select.js +113 -0
  78. package/dist/Entry/components/Switch.d.ts +6 -0
  79. package/dist/Entry/components/Switch.d.ts.map +1 -0
  80. package/dist/Entry/components/Switch.js +19 -0
  81. package/dist/Entry/components/TagsDatePicker.d.ts +7 -0
  82. package/dist/Entry/components/TagsDatePicker.d.ts.map +1 -0
  83. package/dist/Entry/components/TagsDatePicker.js +229 -0
  84. package/dist/Entry/components/TimePicker.d.ts +6 -0
  85. package/dist/Entry/components/TimePicker.d.ts.map +1 -0
  86. package/dist/Entry/components/TimePicker.js +6 -0
  87. package/dist/Entry/components/TreeSelect.d.ts +6 -0
  88. package/dist/Entry/components/TreeSelect.d.ts.map +1 -0
  89. package/dist/Entry/components/TreeSelect.js +18 -0
  90. package/dist/Entry/components/index.scss +97 -0
  91. package/dist/Entry/components/utils.d.ts +1 -0
  92. package/dist/Entry/components/utils.d.ts.map +1 -0
  93. package/dist/Entry/components/utils.js +6 -0
  94. package/dist/Entry/data.d.ts +133 -0
  95. package/dist/Entry/index.d.ts +54 -0
  96. package/dist/Entry/index.d.ts.map +1 -0
  97. package/dist/Entry/index.js +45 -0
  98. package/dist/FilterPopover/Filter.d.ts +24 -0
  99. package/dist/FilterPopover/Filter.d.ts.map +1 -0
  100. package/dist/FilterPopover/Filter.js +370 -0
  101. package/dist/FilterPopover/FilterClearIcon.d.ts +8 -0
  102. package/dist/FilterPopover/FilterClearIcon.d.ts.map +1 -0
  103. package/dist/FilterPopover/FilterClearIcon.js +45 -0
  104. package/dist/FilterPopover/index.d.ts +20 -0
  105. package/dist/FilterPopover/index.d.ts.map +1 -0
  106. package/dist/FilterPopover/index.js +136 -0
  107. package/dist/Icon/IconCreate.d.ts +11 -0
  108. package/dist/Icon/IconCreate.d.ts.map +1 -0
  109. package/dist/Icon/IconCreate.js +22 -0
  110. package/dist/Icon/index.d.ts +6 -0
  111. package/dist/Icon/index.d.ts.map +1 -0
  112. package/dist/Icon/index.js +22 -0
  113. package/dist/WidgetConfig/index.d.ts +40 -0
  114. package/dist/WidgetConfig/index.d.ts.map +1 -0
  115. package/dist/WidgetConfig/index.js +129 -0
  116. package/dist/index.d.ts +2 -0
  117. package/dist/index.d.ts.map +1 -0
  118. package/dist/index.js +4 -0
  119. package/dist/test/index.d.ts +4 -0
  120. package/dist/test/index.d.ts.map +1 -0
  121. package/dist/test/index.js +7 -0
  122. package/dist/umd/ns-base-module.min.js +1 -0
  123. package/dist/utils/cache.d.ts +17 -0
  124. package/dist/utils/cache.d.ts.map +1 -0
  125. package/dist/utils/cache.js +127 -0
  126. package/dist/utils/enum.d.ts +22 -0
  127. package/dist/utils/enum.d.ts.map +1 -0
  128. package/dist/utils/enum.js +37 -0
  129. package/dist/utils/language.d.ts +241 -0
  130. package/dist/utils/language.d.ts.map +1 -0
  131. package/dist/utils/language.js +247 -0
  132. package/dist/utils/request.d.ts +15 -0
  133. package/dist/utils/request.d.ts.map +1 -0
  134. package/dist/utils/request.js +180 -0
  135. package/dist/utils/utils.d.ts +113 -0
  136. package/dist/utils/utils.d.ts.map +1 -0
  137. package/dist/utils/utils.js +462 -0
  138. package/package.json +97 -0
  139. package/style/basics.scss +671 -0
  140. package/style/components/ClassFilter.scss +69 -0
  141. package/style/components/FilterPopover.scss +34 -0
  142. package/style/components/index.scss +2 -0
  143. package/style/default.scss +1219 -0
  144. package/style/index.scss +1 -0
  145. package/style/mixins/index.scss +28 -0
  146. package/style/mixins/libs/tint.scss +23 -0
  147. package/style/variables.scss +684 -0
  148. package/types/Action.d.ts +43 -0
@@ -0,0 +1,671 @@
1
+ @import "./variables.scss";
2
+
3
+ //投影类型
4
+ .lc_Shadow_right {
5
+ @extend .lc_Shadow_float_R;
6
+ }
7
+
8
+ .lc_Shadow_left {
9
+ @extend .lc_Shadow_float_L;
10
+ }
11
+
12
+ .lc_Shadow_down {
13
+ @extend .lc_Shadow_float_D;
14
+ }
15
+
16
+ .lc_Shadow_down_new {
17
+ box-shadow: 0px 1px 8px 0px rgba(51, 65, 80, 16%);
18
+ }
19
+
20
+ //===================================
21
+ // 以下是准备废弃的编码,过渡期间使用
22
+ //===================================
23
+
24
+ //品牌色 外边框阴影
25
+ $lc_Color_brand_opacity20: rgba(52, 91, 244, 0.2);
26
+
27
+ //品牌色 新增(2022/8/30)
28
+ $lc_Color_brand_hover: #466bf5;
29
+
30
+ //品牌色 新增(2022/8/30)
31
+ $lc_Color_brand_click: #2c52dc;
32
+
33
+ //品牌色,主要组件正常背景(Normal)
34
+ $lc_Color_brand_1: $lc_Color_brand_normal;
35
+
36
+ // 品牌色20%透明度
37
+ $lc_Color_brand_1_opacity20: $lc_Color_brand_normal_opacity20;
38
+
39
+ //辅助色,脚手架正常背景(Normal)
40
+ $lc_Color_brand_2: $lc_Color_background_d1;
41
+
42
+ //辅助色,脚手架按下背景(Pessed)
43
+ // $lc_Color_brand_3: #23283C; 废弃
44
+
45
+ //辅助色,主要组件按下背景(Pessed)
46
+ // $lc_Color_brand_4: #34384B;
47
+ $lc_Color_brand_4: $lc_Color_brand_click;
48
+
49
+ //辅助色,主要组件鼠标经过背景(Hover)
50
+ $lc_Color_brand_5: $lc_Color_brand_hover;
51
+
52
+ //辅助色,主要组件禁用背景(Disabled)
53
+ $lc_Color_brand_6: $lc_Color_brand_disable;
54
+
55
+ //辅助色,弹层鼠标经过背景
56
+ $lc_Color_brand_7: $lc_Color_brand_lb;
57
+
58
+ //辅助色,页面默认背景(Default)
59
+ $lc_Color_brand_8: $lc_Color_background_d5;
60
+
61
+ //辅助色,线性颜色
62
+ $lc_Color_brand_9: $lc_Color_neutral_6;
63
+
64
+ //辅助色,大部分icon颜色
65
+ $lc_Color_brand_10: $lc_Color_neutral_2;
66
+
67
+ //辅助色,表单title背景
68
+ $lc_Color_brand_12: $lc_Color_neutral_7;
69
+
70
+ //出错(Error)
71
+ $lc_Color_function_1: $lc_Color_error_normal;
72
+
73
+ //警告(Warming)
74
+ $lc_Color_function_2: $lc_Color_warning_normal;
75
+
76
+ //链接(Link)
77
+ $lc_Color_function_3: $lc_Color_info_normal;
78
+
79
+ //成功(Success)
80
+ $lc_Color_function_4: $lc_Color_success_normal;
81
+
82
+ $lc_Color_error_opacity20: $lc_Color_error_normal_opacity20;
83
+
84
+ //===================================
85
+ // OVER
86
+ //===================================
87
+
88
+ //页面标题
89
+ @mixin lc_Font_heading($lineHeight: 30px, $fontWeight: 500) {
90
+ font-weight: $fontWeight;
91
+ font-size: 16px;
92
+ line-height: 16px;
93
+ }
94
+
95
+ //大标题
96
+ @mixin lc_Font_title($lineHeight: 24px, $fontWeight: 500) {
97
+ font-weight: $fontWeight;
98
+ font-size: 14px;
99
+ line-height: 14px;
100
+ }
101
+
102
+ //小标题
103
+ @mixin lc_Font_subhead($lineHeight: 22px, $fontWeight: 500) {
104
+ font-weight: $fontWeight;
105
+ font-size: 14px;
106
+ line-height: $lineHeight;
107
+ }
108
+
109
+ //正文
110
+ @mixin lc_Font_base($lineHeight: 22px, $fontWeight: 400) {
111
+ font-weight: $fontWeight;
112
+ font-size: 14px;
113
+ line-height: $lineHeight;
114
+ }
115
+
116
+ //说明文字
117
+ @mixin lc_Font_caption($lineHeight: 18px, $fontWeight: 400) {
118
+ font-weight: $fontWeight;
119
+ font-size: 12px;
120
+ line-height: $lineHeight;
121
+ }
122
+
123
+ //圆角/Radius
124
+ .lc_Radius_sm {
125
+ border-radius: 2 * $lc_Hd;
126
+ }
127
+
128
+ .lc_Radius_xs {
129
+ border-radius: $lc_Hd;
130
+ }
131
+
132
+ //隔线/Line
133
+ .lc_Line {
134
+ display: block;
135
+ width: 1px;
136
+ height: 7 * $lc_Hd;
137
+ background: $lc_Color_brand_9;
138
+ }
139
+
140
+ //隔线/Line-伪类版本
141
+ @mixin lc_Line_w($type, $dx: 0) {
142
+ .base {
143
+ top: 0;
144
+ left: 0;
145
+ right: 0;
146
+ bottom: 0;
147
+ width: 1px;
148
+ content: "";
149
+ height: 6 * $lc_Hd;
150
+ box-sizing: border-box;
151
+ border-left: 1px solid $lc_Color_neutral_6;
152
+ transform: translateX($dx * $lc_Hd);
153
+ }
154
+ // & when ($type=before) {
155
+ // &::before {
156
+ // .base;
157
+ // }
158
+ // }
159
+
160
+ // & when ($type=after) {
161
+ // &::after {
162
+ // .base;
163
+ // }
164
+ // }
165
+ }
166
+
167
+ $ns_widget: __ns_widget;
168
+
169
+ .ant-layout-content {
170
+ background-color: $lc_Color_brand_8;
171
+
172
+ > div:nth-child(2) {
173
+ background: none !important;
174
+ }
175
+ }
176
+
177
+ // #Container {
178
+ html {
179
+ --antd-wave-shadow-color: $lc_Color_brand_5;
180
+
181
+ body {
182
+ $font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB",
183
+ "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
184
+ color: $lc_Color_neutral_1;
185
+ }
186
+ }
187
+
188
+ .tableTdIdheight0 {
189
+ height: 0 !important;
190
+ min-height: 0 !important;
191
+ z-index: -10;
192
+ }
193
+
194
+ .ant-col {
195
+ min-height: 0;
196
+ }
197
+
198
+ .ant-typography {
199
+ color: $lc_Color_neutral_2;
200
+ }
201
+
202
+ .ant-empty-image {
203
+ height: auto;
204
+ }
205
+
206
+ //解决 日期时间组件 :after » 伪类 出现乱码问题
207
+
208
+ // 》
209
+ .ns-pretwoionc {
210
+ position: relative;
211
+ top: -1px;
212
+ display: inline-block;
213
+ width: 8px;
214
+ height: 8px;
215
+ vertical-align: middle;
216
+ border: 0 solid #aaa;
217
+ border-width: 1.5px 0 0 1.5px;
218
+ border-radius: 1px;
219
+ transform: rotate(-45deg) scale(0.8);
220
+ transition: all 0.3s;
221
+ content: "";
222
+ }
223
+
224
+ .ant-input:focus,
225
+ .ant-input:hover {
226
+ border-color: $lc_Color_brand_1;
227
+ }
228
+
229
+ .ant-input:focus {
230
+ box-shadow: 0 0 0 2px rgba(24, 97, 242, 0.2);
231
+ }
232
+
233
+ .ant-dropdown-menu-item:hover,
234
+ .ant-dropdown-menu-submenu-title:hover {
235
+ background-color: $lc_Color_brand_lb;
236
+ }
237
+
238
+ .ant-calendar-header .ant-calendar-prev-century-btn::before,
239
+ .ant-calendar-header .ant-calendar-prev-decade-btn::before,
240
+ .ant-calendar-header .ant-calendar-prev-year-btn::before,
241
+ .ant-calendar-header .ant-calendar-prev-century-btn::after,
242
+ .ant-calendar-header .ant-calendar-prev-decade-btn::after,
243
+ .ant-calendar-header .ant-calendar-prev-year-btn::after {
244
+ @extend.ns-pretwoionc;
245
+ }
246
+
247
+ .ant-calendar-header .ant-calendar-next-century-btn::before,
248
+ .ant-calendar-header .ant-calendar-next-decade-btn::before,
249
+ .ant-calendar-header .ant-calendar-next-year-btn::before,
250
+ .ant-calendar-header .ant-calendar-next-century-btn::after,
251
+ .ant-calendar-header .ant-calendar-next-decade-btn::after,
252
+ .ant-calendar-header .ant-calendar-next-year-btn::after {
253
+ @extend .ns-pretwoionc;
254
+ }
255
+
256
+ .ant-calendar-header .ant-calendar-prev-month-btn::after,
257
+ .ant-calendar-header .ant-calendar-next-month-btn::after {
258
+ @extend .ns-pretwoionc;
259
+ }
260
+
261
+ .ant-calendar-month-panel-header
262
+ .ant-calendar-month-panel-prev-century-btn::before,
263
+ .ant-calendar-month-panel-header
264
+ .ant-calendar-month-panel-prev-century-btn::after,
265
+ .ant-calendar-month-panel-header
266
+ .ant-calendar-month-panel-prev-decade-btn::before,
267
+ .ant-calendar-month-panel-header
268
+ .ant-calendar-month-panel-prev-decade-btn::after,
269
+ .ant-calendar-month-panel-header
270
+ .ant-calendar-month-panel-prev-year-btn::before,
271
+ .ant-calendar-month-panel-header
272
+ .ant-calendar-month-panel-prev-year-btn::after {
273
+ @extend .ns-pretwoionc;
274
+ }
275
+
276
+ .ant-calendar-month-panel-header
277
+ .ant-calendar-month-panel-next-century-btn::before,
278
+ .ant-calendar-month-panel-header
279
+ .ant-calendar-month-panel-next-century-btn::after,
280
+ .ant-calendar-month-panel-header
281
+ .ant-calendar-month-panel-next-decade-btn::before,
282
+ .ant-calendar-month-panel-header
283
+ .ant-calendar-month-panel-next-decade-btn::after,
284
+ .ant-calendar-month-panel-header
285
+ .ant-calendar-month-panel-next-year-btn::before,
286
+ .ant-calendar-month-panel-header
287
+ .ant-calendar-month-panel-next-year-btn::after {
288
+ @extend .ns-pretwoionc;
289
+ }
290
+
291
+ .ant-calendar-header .ant-calendar-next-century-btn::before,
292
+ .ant-calendar-header .ant-calendar-next-decade-btn::before,
293
+ .ant-calendar-header .ant-calendar-next-year-btn::before,
294
+ .ant-calendar-header .ant-calendar-next-century-btn::after,
295
+ .ant-calendar-header .ant-calendar-next-decade-btn::after,
296
+ .ant-calendar-header .ant-calendar-next-year-btn::after,
297
+ .ant-calendar-header .ant-calendar-next-month-btn::after,
298
+ .ant-calendar-month-panel-header
299
+ .ant-calendar-month-panel-next-century-btn::before,
300
+ .ant-calendar-month-panel-header
301
+ .ant-calendar-month-panel-next-century-btn::after,
302
+ .ant-calendar-month-panel-header
303
+ .ant-calendar-month-panel-next-decade-btn::before,
304
+ .ant-calendar-month-panel-header
305
+ .ant-calendar-month-panel-next-decade-btn::after,
306
+ .ant-calendar-month-panel-header
307
+ .ant-calendar-month-panel-next-year-btn::before,
308
+ .ant-calendar-month-panel-header .ant-calendar-month-panel-next-year-btn:after {
309
+ transform: rotate(135deg) scale(0.8);
310
+ }
311
+
312
+ :hover .ant-calendar-header .ant-calendar-prev-century-btn:hover::before,
313
+ .ant-calendar-header .ant-calendar-prev-decade-btn:hover::before,
314
+ .ant-calendar-header .ant-calendar-prev-year-btn:hover::before,
315
+ .ant-calendar-header .ant-calendar-prev-century-btn:hover::after,
316
+ .ant-calendar-header .ant-calendar-prev-decade-btn:hover::after,
317
+ .ant-calendar-header .ant-calendar-prev-year-btn:hover::after {
318
+ border-color: $lc_Color_brand_normal;
319
+ }
320
+
321
+ .ant-calendar-header .ant-calendar-next-century-btn:hover::before,
322
+ .ant-calendar-header .ant-calendar-next-decade-btn:hover::before,
323
+ .ant-calendar-header .ant-calendar-next-year-btn:hover::before,
324
+ .ant-calendar-header .ant-calendar-next-century-btn:hover::after,
325
+ .ant-calendar-header .ant-calendar-next-decade-btn:hover::after,
326
+ .ant-calendar-header .ant-calendar-next-year-btn:hover::after {
327
+ border-color: $lc_Color_brand_normal;
328
+ }
329
+
330
+ .ant-calendar-header .ant-calendar-prev-month-btn:hover::after,
331
+ .ant-calendar-header .ant-calendar-next-month-btn:hover::after {
332
+ border-color: $lc_Color_brand_normal;
333
+ }
334
+
335
+ .ant-calendar-month-panel-header
336
+ .ant-calendar-month-panel-prev-century-btn:hover::before,
337
+ .ant-calendar-month-panel-header
338
+ .ant-calendar-month-panel-prev-century-btn:hover::after,
339
+ .ant-calendar-month-panel-header
340
+ .ant-calendar-month-panel-prev-decade-btn:hover::before,
341
+ .ant-calendar-month-panel-header
342
+ .ant-calendar-month-panel-prev-decade-btn:hover::after,
343
+ .ant-calendar-month-panel-header
344
+ .ant-calendar-month-panel-prev-year-btn:hover::before,
345
+ .ant-calendar-month-panel-header
346
+ .ant-calendar-month-panel-prev-year-btn:hover::after {
347
+ border-color: $lc_Color_brand_normal;
348
+ }
349
+
350
+ .ant-calendar-month-panel-header
351
+ .ant-calendar-month-panel-next-century-btn:hover::before,
352
+ .ant-calendar-month-panel-header
353
+ .ant-calendar-month-panel-next-century-btn:hover::after,
354
+ .ant-calendar-month-panel-header
355
+ .ant-calendar-month-panel-next-decade-btn:hover::before,
356
+ .ant-calendar-month-panel-header
357
+ .ant-calendar-month-panel-next-decade-btn:hover::after,
358
+ .ant-calendar-month-panel-header
359
+ .ant-calendar-month-panel-next-year-btn:hover::before,
360
+ .ant-calendar-month-panel-header
361
+ .ant-calendar-month-panel-next-year-btn:hover::after {
362
+ border-color: $lc_Color_brand_normal;
363
+ }
364
+
365
+ .ant-calendar-header .ant-calendar-next-century-btn:hover::before,
366
+ .ant-calendar-header .ant-calendar-next-decade-btn:hover::before,
367
+ .ant-calendar-header .ant-calendar-next-year-btn:hover::before,
368
+ .ant-calendar-header .ant-calendar-next-century-btn:hover::after,
369
+ .ant-calendar-header .ant-calendar-next-decade-btn:hover::after,
370
+ .ant-calendar-header .ant-calendar-next-year-btn:hover::after,
371
+ .ant-calendar-header .ant-calendar-next-month-btn:hover::after,
372
+ .ant-calendar-month-panel-header
373
+ .ant-calendar-month-panel-next-century-btn:hover::before,
374
+ .ant-calendar-month-panel-header
375
+ .ant-calendar-month-panel-next-century-btn:hover::after,
376
+ .ant-calendar-month-panel-header
377
+ .ant-calendar-month-panel-next-decade-btn:hover::before,
378
+ .ant-calendar-month-panel-header
379
+ .ant-calendar-month-panel-next-decade-btn:hover::after,
380
+ .ant-calendar-month-panel-header
381
+ .ant-calendar-month-panel-next-year-btn:hover::before,
382
+ .ant-calendar-month-panel-header
383
+ .ant-calendar-month-panel-next-year-btn:hover:after {
384
+ border-color: $lc_Color_brand_normal;
385
+ }
386
+
387
+ a {
388
+ color: $lc_Color_brand_normal;
389
+
390
+ &:hover {
391
+ color: $lc_Color_brand_normal;
392
+ }
393
+ }
394
+
395
+ .ant-spin-dot-item {
396
+ background-color: $lc_Color_brand_normal;
397
+ }
398
+
399
+ .ant-tabs-nav .ant-tabs-tab-active,
400
+ .ant-tabs-nav .ant-tabs-tab:hover {
401
+ color: $lc_Color_brand_normal;
402
+ }
403
+
404
+ .ant-tabs-ink-bar {
405
+ background-color: $lc_Color_brand_normal;
406
+ }
407
+
408
+ .ant-btn {
409
+ @extend .lc_Radius_default;
410
+ @extend .ant-btn-sm;
411
+ &:hover,
412
+ &:focus {
413
+ color: $lc_Color_brand_normal;
414
+ border-color: $lc_Color_brand_normal;
415
+ }
416
+ }
417
+
418
+ .ant-btn-primary,
419
+ .ant-calendar .ant-calendar-ok-btn {
420
+ background-color: $lc_Color_brand_normal !important;
421
+ border-color: $lc_Color_brand_normal;
422
+ color: #fff;
423
+
424
+ &:hover,
425
+ &:focus {
426
+ background-color: $lc_Color_brand_hover;
427
+ border-color: $lc_Color_brand_hover;
428
+ color: #fff;
429
+ }
430
+ }
431
+
432
+ .ant-btn-primary.ant-btn-background-ghost {
433
+ // color: $lc_Color_brand_normal;
434
+ color: #fff;
435
+ border-color: $lc_Color_brand_normal;
436
+
437
+ &:hover,
438
+ &:focus {
439
+ color: #fff;
440
+ border-color: $lc_Color_brand_normal;
441
+ }
442
+ }
443
+
444
+ .ant-btn-danger {
445
+ &:hover,
446
+ &:focus {
447
+ color: #fff;
448
+ border-color: $lc_Color_error_normal;
449
+ }
450
+ }
451
+
452
+ .ant-btn-link {
453
+ color: $lc_Color_brand_normal;
454
+
455
+ &:hover,
456
+ &:focus {
457
+ color: $lc_Color_brand_normal;
458
+ border-color: transparent;
459
+ }
460
+ }
461
+
462
+ .ant-switch:focus {
463
+ box-shadow: $lc_Color_brand_1_opacity20;
464
+ }
465
+
466
+ .ant-switch-checked {
467
+ background-color: $lc_Color_brand_normal;
468
+ }
469
+
470
+ .ant-checkbox-input:focus + .ant-checkbox-inner,
471
+ .ant-checkbox-wrapper:hover .ant-checkbox-inner,
472
+ .ant-checkbox:hover .ant-checkbox-inner {
473
+ border-color: $lc_Color_brand_normal;
474
+ }
475
+
476
+ .ant-select-selection__clear {
477
+ font-size: 14px;
478
+ width: 14px;
479
+ height: 14px;
480
+ margin-top: -7px;
481
+ }
482
+
483
+ .ant-select-tree-checkbox-checked .ant-select-tree-checkbox-inner {
484
+ background-color: $lc_Color_brand_normal;
485
+ border-color: $lc_Color_brand_normal;
486
+ }
487
+
488
+ .ant-steps-item[role="button"]:not(.ant-steps-item-process):hover
489
+ .ant-steps-item-icon
490
+ .ant-steps-icon {
491
+ color: $lc_Color_brand_normal;
492
+ }
493
+
494
+ .ant-radio-input:focus + .ant-radio-inner,
495
+ .ant-radio-wrapper:hover .ant-radio,
496
+ .ant-radio:hover .ant-radio-inner,
497
+ .ant-radio-checked .ant-radio-inner {
498
+ border-color: $lc_Color_brand_normal;
499
+ }
500
+
501
+ .ant-radio-inner:after {
502
+ background-color: $lc_Color_brand_normal;
503
+ }
504
+
505
+ .ant-checkbox-checked .ant-checkbox-inner {
506
+ border-color: $lc_Color_brand_normal;
507
+ background-color: $lc_Color_brand_normal;
508
+ }
509
+
510
+ .ant-pagination-next:focus .ant-pagination-item-link,
511
+ .ant-pagination-next:hover .ant-pagination-item-link,
512
+ .ant-pagination-prev:focus .ant-pagination-item-link,
513
+ .ant-pagination-prev:hover .ant-pagination-item-link,
514
+ .ant-pagination-item:hover a {
515
+ color: $lc_Color_brand_5;
516
+ }
517
+
518
+ .ant-calendar-today .ant-calendar-date {
519
+ color: $lc_Color_brand_normal;
520
+ border-color: $lc_Color_brand_normal;
521
+ }
522
+
523
+ .ant-calendar-selected-day .ant-calendar-date {
524
+ // background-color: $lc_Color_brand_1_opacity20;
525
+ }
526
+
527
+ .ant-calendar-selected-date .ant-calendar-date:hover,
528
+ .ant-calendar-selected-end-date .ant-calendar-date:hover,
529
+ .ant-calendar-selected-start-date .ant-calendar-date:hover {
530
+ background-color: $lc_Color_brand_normal;
531
+ }
532
+
533
+ .ant-calendar-selected-date .ant-calendar-date,
534
+ .ant-calendar-selected-end-date .ant-calendar-date,
535
+ .ant-calendar-selected-start-date .ant-calendar-date {
536
+ background-color: $lc_Color_brand_normal;
537
+ color: #fff;
538
+ }
539
+
540
+ .ant-calendar-date:active {
541
+ background-color: #e6f7ff;
542
+ color: rgba(0, 0, 0, 0.65);
543
+ }
544
+
545
+ .ant-calendar-disabled-cell.ant-calendar-today {
546
+ .ant-calendar-date:before {
547
+ border: 0 none;
548
+ }
549
+ }
550
+
551
+ // form 表单 样式覆盖
552
+ #Container {
553
+ .ant-input-affix-wrapper,
554
+ .ant-select-selector,
555
+ .ant-card {
556
+ @extend .lc_Radius_default;
557
+ }
558
+ }
559
+
560
+ .ant-input,
561
+ .ant-form-item-control-input,
562
+ .ant-input-affix-wrapper,
563
+ .ant-select-selector {
564
+ border-radius: $lc_Hd !important;
565
+ }
566
+ .ant-select-selection-item {
567
+ text-align: left;
568
+ }
569
+ .ant-select-single .ant-select-selector,
570
+ .ant-input-affix-wrapper > input.ant-input,
571
+ .ant-input,
572
+ .ant-select-item.ant-select-item-option,
573
+ .ant-pro-table-alert-info-option,
574
+ .ant-pagination-total-text,
575
+ .ant-space-item,
576
+ .ant-select-selection-item,
577
+ .ant-pagination-item {
578
+ font-size: 12px !important;
579
+ }
580
+ .ant-pro-table-alert-info-option > a {
581
+ color: $lc_Color_brand_normal;
582
+ }
583
+ .ant-pagination-item-active a {
584
+ color: $lc_Color_brand_normal !important;
585
+ border-color: $lc_Color_brand_normal !important;
586
+ }
587
+
588
+ .ant-pro-query-filter-collapse-button {
589
+ color: $lc_Color_brand_normal;
590
+ }
591
+ .ant-input {
592
+ padding: 6px 11px;
593
+ }
594
+
595
+ /* 表格 样式覆盖 */
596
+ .ant-table-cell {
597
+ padding: $lc_Hd * 2;
598
+ }
599
+
600
+ /* 卡片样式覆盖 */
601
+ .ant-card {
602
+ .ant-card-body {
603
+ padding: $lc_Hd * 6;
604
+ }
605
+ .ant-card-head {
606
+ min-height: 36px;
607
+ }
608
+ }
609
+
610
+ /* 面板字体 */
611
+ .ant-card-head-title {
612
+ font-size: $font-size-sm;
613
+ }
614
+ .ant-form-item .ant-form-item-label > label {
615
+ font-size: $font-size-sm;
616
+ }
617
+ .ant-table-wrapper .ant-table.ant-table-small {
618
+ .ant-table-thead > tr > th {
619
+ padding: $lc_Hd * 2;
620
+ }
621
+ font-size: $font-size-sm;
622
+ }
623
+ .ant-pro-query-filter {
624
+ padding: $lc_Hd * 10 $lc_Hd * 5 0;
625
+ }
626
+
627
+ .ant-modal {
628
+ .ant-modal-title,
629
+ .ant-pro-table-list-toolbar-title {
630
+ font-size: $font-size-sm;
631
+ }
632
+ }
633
+ .ant-pro-table-list-toolbar-title,
634
+ .ant-pro-form-group-title {
635
+ font-size: $font-size-sm;
636
+ }
637
+ .ant-pro-form-group-title {
638
+ margin-bottom: $lc_Hd * 2;
639
+ }
640
+
641
+ .ant-select-dropdown {
642
+ @extend .lc_Radius_default;
643
+ }
644
+
645
+ // 设置全局滚动条
646
+ // :global {
647
+ /*滚动条宽 长,滚动条整体部分,其中的属性有width,height,background,border等。*/
648
+ ::-webkit-scrollbar {
649
+ width: 5px;
650
+ height: 5px;
651
+ }
652
+
653
+ /*滚动条的滑轨背景颜色,可以用display:none让其不显示,也可以添加背景图片,颜色改变显示效果。*/
654
+ ::-webkit-scrollbar-track {
655
+ background-color: rgba(0, 0, 0, 0.01);
656
+ -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.05);
657
+ border-radius: 3px;
658
+ }
659
+
660
+ /* 滑块颜色 */
661
+ ::-webkit-scrollbar-thumb {
662
+ background-color: rgba(0, 0, 0, 0.09);
663
+ border-radius: 3px;
664
+
665
+ &:hover {
666
+ background-color: rgba(0, 0, 0, 0.15);
667
+ }
668
+ }
669
+ // }
670
+
671
+ $lc_Color_brand_menu_scroll: #294ccc;