ns-base-module 1.1.62 → 1.1.63

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 (167) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +20 -20
  3. package/dist/Button/AntdIconButton.js +2 -2
  4. package/dist/Button/ConfigButton.js +12 -12
  5. package/dist/ChooseModal/index.js +6 -6
  6. package/dist/Entry/components/ChooseModalTable.js +6 -6
  7. package/dist/Entry/components/ImageText.js +5 -5
  8. package/dist/Entry/components/InputNumber.js +10 -10
  9. package/dist/Entry/components/ListSelect.js +6 -6
  10. package/dist/Entry/components/ObjectSelect.js +5 -5
  11. package/dist/Entry/components/Select.js +5 -5
  12. package/dist/Entry/components/TagsDatePicker.js +6 -6
  13. package/dist/Entry/components/TreeSelect.js +5 -5
  14. package/dist/Entry/components/index.scss +97 -97
  15. package/dist/Entry/components/utils.js +5 -5
  16. package/dist/Entry/data.d.ts +133 -133
  17. package/dist/Entry/index.js +6 -6
  18. package/dist/FilterPopover/FilterClearIcon.js +6 -6
  19. package/dist/FilterPopover/index.js +6 -6
  20. package/dist/Icon/index.js +5 -5
  21. package/dist/IconTools/utils.js +5 -5
  22. package/dist/SubtotalsModal/index.js +7 -7
  23. package/dist/TableHeaderConfigPopover/index.js +35 -10
  24. package/dist/TableHeaderConfigPopover/updateColumns.js +5 -5
  25. package/dist/TableHeaderConfigPopover/utils.js +5 -5
  26. package/dist/WidgetConfig/index.js +8 -8
  27. package/dist/umd/ns-base-module.min.js +1 -1
  28. package/dist/utils/cache.js +10 -10
  29. package/dist/utils/language.js +1 -0
  30. package/dist/utils/services/global.js +49 -49
  31. package/dist/utils/utils.js +50 -50
  32. package/package.json +100 -100
  33. package/style/basics.scss +671 -671
  34. package/style/components/ClassFilter.scss +74 -74
  35. package/style/components/FilterPopover.scss +40 -40
  36. package/style/components/SubtotalsModal.scss +388 -388
  37. package/style/components/TableHeaderConfigPopover.scss +105 -105
  38. package/style/components/index.scss +4 -4
  39. package/style/default.scss +1219 -1219
  40. package/style/index.scss +1 -1
  41. package/style/mixins/index.scss +28 -28
  42. package/style/mixins/libs/tint.scss +23 -23
  43. package/style/variables.scss +684 -684
  44. package/types/Action.d.ts +43 -43
  45. package/types/types.d.ts +1 -1
  46. package/dist/Button/AntdIconButton.d.ts +0 -11
  47. package/dist/Button/AntdIconButton.d.ts.map +0 -1
  48. package/dist/Button/ConfigButton.d.ts +0 -18
  49. package/dist/Button/ConfigButton.d.ts.map +0 -1
  50. package/dist/Button/index.d.ts +0 -8
  51. package/dist/Button/index.d.ts.map +0 -1
  52. package/dist/ChooseModal/index.d.ts +0 -21
  53. package/dist/ChooseModal/index.d.ts.map +0 -1
  54. package/dist/ClassFilter/index.d.ts +0 -11
  55. package/dist/ClassFilter/index.d.ts.map +0 -1
  56. package/dist/ClassFilter/indexVertical.d.ts +0 -11
  57. package/dist/ClassFilter/indexVertical.d.ts.map +0 -1
  58. package/dist/ClassFilter/util.d.ts +0 -17
  59. package/dist/ClassFilter/util.d.ts.map +0 -1
  60. package/dist/CopyCol/index.d.ts +0 -4
  61. package/dist/CopyCol/index.d.ts.map +0 -1
  62. package/dist/Entry/EntryCriteria.d.ts +0 -17
  63. package/dist/Entry/EntryCriteria.d.ts.map +0 -1
  64. package/dist/Entry/EntryItem.d.ts +0 -34
  65. package/dist/Entry/EntryItem.d.ts.map +0 -1
  66. package/dist/Entry/components/Checkbox.d.ts +0 -12
  67. package/dist/Entry/components/Checkbox.d.ts.map +0 -1
  68. package/dist/Entry/components/ChooseModalTable.d.ts +0 -15
  69. package/dist/Entry/components/ChooseModalTable.d.ts.map +0 -1
  70. package/dist/Entry/components/Condition.d.ts +0 -9
  71. package/dist/Entry/components/Condition.d.ts.map +0 -1
  72. package/dist/Entry/components/DatePicker.d.ts +0 -12
  73. package/dist/Entry/components/DatePicker.d.ts.map +0 -1
  74. package/dist/Entry/components/Etable2Modal.d.ts +0 -4
  75. package/dist/Entry/components/Etable2Modal.d.ts.map +0 -1
  76. package/dist/Entry/components/Express.d.ts +0 -8
  77. package/dist/Entry/components/Express.d.ts.map +0 -1
  78. package/dist/Entry/components/GroupInput.d.ts +0 -13
  79. package/dist/Entry/components/GroupInput.d.ts.map +0 -1
  80. package/dist/Entry/components/ImageText.d.ts +0 -13
  81. package/dist/Entry/components/ImageText.d.ts.map +0 -1
  82. package/dist/Entry/components/Input.d.ts +0 -27
  83. package/dist/Entry/components/Input.d.ts.map +0 -1
  84. package/dist/Entry/components/InputNumber.d.ts +0 -18
  85. package/dist/Entry/components/InputNumber.d.ts.map +0 -1
  86. package/dist/Entry/components/InputNumberRange.d.ts +0 -10
  87. package/dist/Entry/components/InputNumberRange.d.ts.map +0 -1
  88. package/dist/Entry/components/ListSelect.d.ts +0 -15
  89. package/dist/Entry/components/ListSelect.d.ts.map +0 -1
  90. package/dist/Entry/components/ObjectSelect.d.ts +0 -14
  91. package/dist/Entry/components/ObjectSelect.d.ts.map +0 -1
  92. package/dist/Entry/components/Progress.d.ts +0 -11
  93. package/dist/Entry/components/Progress.d.ts.map +0 -1
  94. package/dist/Entry/components/Radio.d.ts +0 -15
  95. package/dist/Entry/components/Radio.d.ts.map +0 -1
  96. package/dist/Entry/components/Select.d.ts +0 -29
  97. package/dist/Entry/components/Select.d.ts.map +0 -1
  98. package/dist/Entry/components/Switch.d.ts +0 -6
  99. package/dist/Entry/components/Switch.d.ts.map +0 -1
  100. package/dist/Entry/components/TagsDatePicker.d.ts +0 -7
  101. package/dist/Entry/components/TagsDatePicker.d.ts.map +0 -1
  102. package/dist/Entry/components/TimePicker.d.ts +0 -6
  103. package/dist/Entry/components/TimePicker.d.ts.map +0 -1
  104. package/dist/Entry/components/TreeSelect.d.ts +0 -5
  105. package/dist/Entry/components/TreeSelect.d.ts.map +0 -1
  106. package/dist/Entry/components/utils.d.ts +0 -1
  107. package/dist/Entry/components/utils.d.ts.map +0 -1
  108. package/dist/Entry/index.d.ts +0 -54
  109. package/dist/Entry/index.d.ts.map +0 -1
  110. package/dist/FilterPopover/Filter.d.ts +0 -30
  111. package/dist/FilterPopover/Filter.d.ts.map +0 -1
  112. package/dist/FilterPopover/FilterClearIcon.d.ts +0 -8
  113. package/dist/FilterPopover/FilterClearIcon.d.ts.map +0 -1
  114. package/dist/FilterPopover/index.d.ts +0 -21
  115. package/dist/FilterPopover/index.d.ts.map +0 -1
  116. package/dist/FilterPopover/vTableFilter.d.ts +0 -25
  117. package/dist/FilterPopover/vTableFilter.d.ts.map +0 -1
  118. package/dist/Icon/IconCreate.d.ts +0 -11
  119. package/dist/Icon/IconCreate.d.ts.map +0 -1
  120. package/dist/Icon/index.d.ts +0 -6
  121. package/dist/Icon/index.d.ts.map +0 -1
  122. package/dist/IconTools/index.d.ts +0 -13
  123. package/dist/IconTools/index.d.ts.map +0 -1
  124. package/dist/IconTools/utils.d.ts +0 -15
  125. package/dist/IconTools/utils.d.ts.map +0 -1
  126. package/dist/SubtotalsModal/Increment.d.ts +0 -18
  127. package/dist/SubtotalsModal/Increment.d.ts.map +0 -1
  128. package/dist/SubtotalsModal/addSubtotals.d.ts +0 -22
  129. package/dist/SubtotalsModal/addSubtotals.d.ts.map +0 -1
  130. package/dist/SubtotalsModal/dndQuota.d.ts +0 -27
  131. package/dist/SubtotalsModal/dndQuota.d.ts.map +0 -1
  132. package/dist/SubtotalsModal/index.d.ts +0 -22
  133. package/dist/SubtotalsModal/index.d.ts.map +0 -1
  134. package/dist/SubtotalsModal/subtotalTemplate.d.ts +0 -22
  135. package/dist/SubtotalsModal/subtotalTemplate.d.ts.map +0 -1
  136. package/dist/SubtotalsModal/util.d.ts +0 -3
  137. package/dist/SubtotalsModal/util.d.ts.map +0 -1
  138. package/dist/SubtotalsModal/viewSubtotals.d.ts +0 -12
  139. package/dist/SubtotalsModal/viewSubtotals.d.ts.map +0 -1
  140. package/dist/TableHeaderConfigPopover/Dustbin.d.ts +0 -5
  141. package/dist/TableHeaderConfigPopover/Dustbin.d.ts.map +0 -1
  142. package/dist/TableHeaderConfigPopover/index.d.ts +0 -22
  143. package/dist/TableHeaderConfigPopover/index.d.ts.map +0 -1
  144. package/dist/TableHeaderConfigPopover/updateColumns.d.ts +0 -10
  145. package/dist/TableHeaderConfigPopover/updateColumns.d.ts.map +0 -1
  146. package/dist/TableHeaderConfigPopover/utils.d.ts +0 -16
  147. package/dist/TableHeaderConfigPopover/utils.d.ts.map +0 -1
  148. package/dist/WidgetConfig/index.d.ts +0 -40
  149. package/dist/WidgetConfig/index.d.ts.map +0 -1
  150. package/dist/index.d.ts +0 -6
  151. package/dist/index.d.ts.map +0 -1
  152. package/dist/test/index.d.ts +0 -4
  153. package/dist/test/index.d.ts.map +0 -1
  154. package/dist/utils/cache.d.ts +0 -17
  155. package/dist/utils/cache.d.ts.map +0 -1
  156. package/dist/utils/enum.d.ts +0 -22
  157. package/dist/utils/enum.d.ts.map +0 -1
  158. package/dist/utils/errorMsg.d.ts +0 -3
  159. package/dist/utils/errorMsg.d.ts.map +0 -1
  160. package/dist/utils/language.d.ts +0 -283
  161. package/dist/utils/language.d.ts.map +0 -1
  162. package/dist/utils/request.d.ts +0 -1
  163. package/dist/utils/request.d.ts.map +0 -1
  164. package/dist/utils/services/global.d.ts +0 -130
  165. package/dist/utils/services/global.d.ts.map +0 -1
  166. package/dist/utils/utils.d.ts +0 -111
  167. package/dist/utils/utils.d.ts.map +0 -1
package/style/basics.scss CHANGED
@@ -1,671 +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;
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;