ns-base-module 1.1.61 → 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 (168) 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 +36 -11
  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.css +1 -1
  28. package/dist/umd/ns-base-module.min.js +1 -1
  29. package/dist/utils/cache.js +10 -10
  30. package/dist/utils/language.js +1 -0
  31. package/dist/utils/services/global.js +49 -49
  32. package/dist/utils/utils.js +50 -50
  33. package/package.json +100 -100
  34. package/style/basics.scss +671 -671
  35. package/style/components/ClassFilter.scss +74 -74
  36. package/style/components/FilterPopover.scss +40 -40
  37. package/style/components/SubtotalsModal.scss +388 -388
  38. package/style/components/TableHeaderConfigPopover.scss +105 -105
  39. package/style/components/index.scss +4 -4
  40. package/style/default.scss +1219 -1219
  41. package/style/index.scss +1 -1
  42. package/style/mixins/index.scss +28 -28
  43. package/style/mixins/libs/tint.scss +23 -23
  44. package/style/variables.scss +684 -684
  45. package/types/Action.d.ts +43 -43
  46. package/types/types.d.ts +1 -1
  47. package/dist/Button/AntdIconButton.d.ts +0 -11
  48. package/dist/Button/AntdIconButton.d.ts.map +0 -1
  49. package/dist/Button/ConfigButton.d.ts +0 -18
  50. package/dist/Button/ConfigButton.d.ts.map +0 -1
  51. package/dist/Button/index.d.ts +0 -8
  52. package/dist/Button/index.d.ts.map +0 -1
  53. package/dist/ChooseModal/index.d.ts +0 -21
  54. package/dist/ChooseModal/index.d.ts.map +0 -1
  55. package/dist/ClassFilter/index.d.ts +0 -11
  56. package/dist/ClassFilter/index.d.ts.map +0 -1
  57. package/dist/ClassFilter/indexVertical.d.ts +0 -11
  58. package/dist/ClassFilter/indexVertical.d.ts.map +0 -1
  59. package/dist/ClassFilter/util.d.ts +0 -17
  60. package/dist/ClassFilter/util.d.ts.map +0 -1
  61. package/dist/CopyCol/index.d.ts +0 -4
  62. package/dist/CopyCol/index.d.ts.map +0 -1
  63. package/dist/Entry/EntryCriteria.d.ts +0 -17
  64. package/dist/Entry/EntryCriteria.d.ts.map +0 -1
  65. package/dist/Entry/EntryItem.d.ts +0 -34
  66. package/dist/Entry/EntryItem.d.ts.map +0 -1
  67. package/dist/Entry/components/Checkbox.d.ts +0 -12
  68. package/dist/Entry/components/Checkbox.d.ts.map +0 -1
  69. package/dist/Entry/components/ChooseModalTable.d.ts +0 -15
  70. package/dist/Entry/components/ChooseModalTable.d.ts.map +0 -1
  71. package/dist/Entry/components/Condition.d.ts +0 -9
  72. package/dist/Entry/components/Condition.d.ts.map +0 -1
  73. package/dist/Entry/components/DatePicker.d.ts +0 -12
  74. package/dist/Entry/components/DatePicker.d.ts.map +0 -1
  75. package/dist/Entry/components/Etable2Modal.d.ts +0 -4
  76. package/dist/Entry/components/Etable2Modal.d.ts.map +0 -1
  77. package/dist/Entry/components/Express.d.ts +0 -8
  78. package/dist/Entry/components/Express.d.ts.map +0 -1
  79. package/dist/Entry/components/GroupInput.d.ts +0 -13
  80. package/dist/Entry/components/GroupInput.d.ts.map +0 -1
  81. package/dist/Entry/components/ImageText.d.ts +0 -13
  82. package/dist/Entry/components/ImageText.d.ts.map +0 -1
  83. package/dist/Entry/components/Input.d.ts +0 -27
  84. package/dist/Entry/components/Input.d.ts.map +0 -1
  85. package/dist/Entry/components/InputNumber.d.ts +0 -18
  86. package/dist/Entry/components/InputNumber.d.ts.map +0 -1
  87. package/dist/Entry/components/InputNumberRange.d.ts +0 -10
  88. package/dist/Entry/components/InputNumberRange.d.ts.map +0 -1
  89. package/dist/Entry/components/ListSelect.d.ts +0 -15
  90. package/dist/Entry/components/ListSelect.d.ts.map +0 -1
  91. package/dist/Entry/components/ObjectSelect.d.ts +0 -14
  92. package/dist/Entry/components/ObjectSelect.d.ts.map +0 -1
  93. package/dist/Entry/components/Progress.d.ts +0 -11
  94. package/dist/Entry/components/Progress.d.ts.map +0 -1
  95. package/dist/Entry/components/Radio.d.ts +0 -15
  96. package/dist/Entry/components/Radio.d.ts.map +0 -1
  97. package/dist/Entry/components/Select.d.ts +0 -29
  98. package/dist/Entry/components/Select.d.ts.map +0 -1
  99. package/dist/Entry/components/Switch.d.ts +0 -6
  100. package/dist/Entry/components/Switch.d.ts.map +0 -1
  101. package/dist/Entry/components/TagsDatePicker.d.ts +0 -7
  102. package/dist/Entry/components/TagsDatePicker.d.ts.map +0 -1
  103. package/dist/Entry/components/TimePicker.d.ts +0 -6
  104. package/dist/Entry/components/TimePicker.d.ts.map +0 -1
  105. package/dist/Entry/components/TreeSelect.d.ts +0 -5
  106. package/dist/Entry/components/TreeSelect.d.ts.map +0 -1
  107. package/dist/Entry/components/utils.d.ts +0 -1
  108. package/dist/Entry/components/utils.d.ts.map +0 -1
  109. package/dist/Entry/index.d.ts +0 -54
  110. package/dist/Entry/index.d.ts.map +0 -1
  111. package/dist/FilterPopover/Filter.d.ts +0 -30
  112. package/dist/FilterPopover/Filter.d.ts.map +0 -1
  113. package/dist/FilterPopover/FilterClearIcon.d.ts +0 -8
  114. package/dist/FilterPopover/FilterClearIcon.d.ts.map +0 -1
  115. package/dist/FilterPopover/index.d.ts +0 -21
  116. package/dist/FilterPopover/index.d.ts.map +0 -1
  117. package/dist/FilterPopover/vTableFilter.d.ts +0 -25
  118. package/dist/FilterPopover/vTableFilter.d.ts.map +0 -1
  119. package/dist/Icon/IconCreate.d.ts +0 -11
  120. package/dist/Icon/IconCreate.d.ts.map +0 -1
  121. package/dist/Icon/index.d.ts +0 -6
  122. package/dist/Icon/index.d.ts.map +0 -1
  123. package/dist/IconTools/index.d.ts +0 -13
  124. package/dist/IconTools/index.d.ts.map +0 -1
  125. package/dist/IconTools/utils.d.ts +0 -15
  126. package/dist/IconTools/utils.d.ts.map +0 -1
  127. package/dist/SubtotalsModal/Increment.d.ts +0 -18
  128. package/dist/SubtotalsModal/Increment.d.ts.map +0 -1
  129. package/dist/SubtotalsModal/addSubtotals.d.ts +0 -22
  130. package/dist/SubtotalsModal/addSubtotals.d.ts.map +0 -1
  131. package/dist/SubtotalsModal/dndQuota.d.ts +0 -27
  132. package/dist/SubtotalsModal/dndQuota.d.ts.map +0 -1
  133. package/dist/SubtotalsModal/index.d.ts +0 -22
  134. package/dist/SubtotalsModal/index.d.ts.map +0 -1
  135. package/dist/SubtotalsModal/subtotalTemplate.d.ts +0 -22
  136. package/dist/SubtotalsModal/subtotalTemplate.d.ts.map +0 -1
  137. package/dist/SubtotalsModal/util.d.ts +0 -3
  138. package/dist/SubtotalsModal/util.d.ts.map +0 -1
  139. package/dist/SubtotalsModal/viewSubtotals.d.ts +0 -12
  140. package/dist/SubtotalsModal/viewSubtotals.d.ts.map +0 -1
  141. package/dist/TableHeaderConfigPopover/Dustbin.d.ts +0 -5
  142. package/dist/TableHeaderConfigPopover/Dustbin.d.ts.map +0 -1
  143. package/dist/TableHeaderConfigPopover/index.d.ts +0 -22
  144. package/dist/TableHeaderConfigPopover/index.d.ts.map +0 -1
  145. package/dist/TableHeaderConfigPopover/updateColumns.d.ts +0 -10
  146. package/dist/TableHeaderConfigPopover/updateColumns.d.ts.map +0 -1
  147. package/dist/TableHeaderConfigPopover/utils.d.ts +0 -16
  148. package/dist/TableHeaderConfigPopover/utils.d.ts.map +0 -1
  149. package/dist/WidgetConfig/index.d.ts +0 -40
  150. package/dist/WidgetConfig/index.d.ts.map +0 -1
  151. package/dist/index.d.ts +0 -6
  152. package/dist/index.d.ts.map +0 -1
  153. package/dist/test/index.d.ts +0 -4
  154. package/dist/test/index.d.ts.map +0 -1
  155. package/dist/utils/cache.d.ts +0 -17
  156. package/dist/utils/cache.d.ts.map +0 -1
  157. package/dist/utils/enum.d.ts +0 -22
  158. package/dist/utils/enum.d.ts.map +0 -1
  159. package/dist/utils/errorMsg.d.ts +0 -3
  160. package/dist/utils/errorMsg.d.ts.map +0 -1
  161. package/dist/utils/language.d.ts +0 -283
  162. package/dist/utils/language.d.ts.map +0 -1
  163. package/dist/utils/request.d.ts +0 -1
  164. package/dist/utils/request.d.ts.map +0 -1
  165. package/dist/utils/services/global.d.ts +0 -130
  166. package/dist/utils/services/global.d.ts.map +0 -1
  167. package/dist/utils/utils.d.ts +0 -111
  168. package/dist/utils/utils.d.ts.map +0 -1
@@ -1,1219 +1,1219 @@
1
- /**
2
- * Default variables
3
- */
4
- // @use "sass:color";
5
- @import "./mixins/libs/tint";
6
-
7
- // rgba转hex
8
- @function rgba-to-rgb($rgba, $opacity: 0, $background: #fff) {
9
- @if $opacity > 0 {
10
- @if $opacity < 1 {
11
- $opacity: $opacity * 100;
12
- }
13
- @return mix(
14
- mix(
15
- rgb(red($rgba), green($rgba), blue($rgba)),
16
- $background,
17
- alpha($rgba) * 100%
18
- ),
19
- rgb(255, 255, 255),
20
- $opacity
21
- );
22
- }
23
- @return mix(
24
- rgb(red($rgba), green($rgba), blue($rgba)),
25
- $background,
26
- alpha($rgba) * 100%
27
- );
28
- }
29
-
30
- $lc_mbHd: 2px;
31
-
32
- /**
33
- * 品牌色
34
- * lc_mbColor_brand_*
35
- * lc_mbColor_brand2_*
36
- */
37
- // sketch算法: 叠加9%黑色 color.mix($color_brand, black, 85.1%)
38
- :root,
39
- body {
40
- --color_brand: #0273b0;
41
- }
42
- $color_brand: #315bf4;
43
- $color_brand_map: (
44
- normal: var(--lc_mbColor_brand_normal, $color_brand),
45
- press: var(--lc_mbColor_brand_press, #2a4dd0),
46
- 3: var(--lc_mbColor_brand_3, rgba($color_brand, 0.85)),
47
- 4: var(--lc_mbColor_brand_4, rgba($color_brand, 0.65)),
48
- 5: var(--lc_mbColor_brand_5, rgba($color_brand, 0.45)),
49
- 6: var(--lc_mbColor_brand_6, rgba($color_brand, 0.25)),
50
- 7: var(--lc_mbColor_brand_7, rgba($color_brand, 0.15)),
51
- 8: var(--lc_mbColor_brand_8, rgba($color_brand, 0.09)),
52
- 9: var(--lc_mbColor_brand_9, rgba($color_brand, 0.04)),
53
- bg: var(--lc_mbColor_brand_bg, #f5f7fa),
54
- );
55
- $lc_mbColor_brand_normal: map-get($color_brand_map, normal);
56
- $lc_mbColor_brand_press: map-get($color_brand_map, press);
57
- $lc_mbColor_brand_3: var(--lc_mbColor_brand_3, map-get($color_brand_map, 3));
58
- $lc_mbColor_brand_4: var(--lc_mbColor_brand_4, map-get($color_brand_map, 4));
59
- $lc_mbColor_brand_5: var(--lc_mbColor_brand_5, map-get($color_brand_map, 5));
60
- $lc_mbColor_brand_6: var(--lc_mbColor_brand_6, map-get($color_brand_map, 6));
61
- $lc_mbColor_brand_7: var(--lc_mbColor_brand_7, map-get($color_brand_map, 7));
62
- $lc_mbColor_brand_8: var(--lc_mbColor_brand_8, map-get($color_brand_map, 8));
63
- $lc_mbColor_brand_9: var(--lc_mbColor_brand_9, map-get($color_brand_map, 9));
64
- $lc_mbColor_brand_bg: var(--lc_mbColor_brand_bg, map-get($color_brand_map, bg));
65
- @each $name, $value in $color_brand_map {
66
- .lc_mbColor_brand_#{$name}_background {
67
- background-color: $value;
68
- }
69
- .lc_mbColor_brand_#{$name} {
70
- color: $value;
71
- }
72
- }
73
-
74
- $color_brand2: #fe6010;
75
- $color_brand2_map: (
76
- normal: var(--lc_mbColor_brand2_normal, $color_brand2),
77
- press: var(--lc_mbColor_brand2_press, #f25a0f),
78
- 3: var(--lc_mbColor_brand2_3, rgba($color_brand2, 0.85)),
79
- 4: var(--lc_mbColor_brand2_4, rgba($color_brand2, 0.65)),
80
- 5: var(--lc_mbColor_brand2_5, rgba($color_brand2, 0.45)),
81
- 6: var(--lc_mbColor_brand2_6, rgba($color_brand2, 0.25)),
82
- 7: var(--lc_mbColor_brand2_7, rgba($color_brand2, 0.15)),
83
- 8: var(--lc_mbColor_brand2_8, rgba($color_brand2, 0.09)),
84
- 9: var(--lc_mbColor_brand2_9, rgba($color_brand2, 0.04)),
85
- gradient_start: var(--lc_mbColor_brand2_gradient_start, #ff9f19),
86
- gradient_start_press: var(--lc_mbColor_brand2_gradient_start, #ed902f),
87
- gradient_start_disable:
88
- var(--lc_mbColor_brand2_gradient_start, rgba(#ff9f19, 0.25)),
89
- );
90
- $lc_mbColor_brand2_normal: map-get($color_brand2_map, normal);
91
- $lc_mbColor_brand2_press: map-get($color_brand2_map, press);
92
- $lc_mbColor_brand2_3: var(--lc_mbColor_brand2_3, map-get($color_brand2_map, 3));
93
- $lc_mbColor_brand2_4: var(--lc_mbColor_brand2_4, map-get($color_brand2_map, 4));
94
- $lc_mbColor_brand2_5: var(--lc_mbColor_brand2_5, map-get($color_brand2_map, 5));
95
- $lc_mbColor_brand2_6: var(--lc_mbColor_brand2_6, map-get($color_brand2_map, 6));
96
- $lc_mbColor_brand2_7: var(--lc_mbColor_brand2_7, map-get($color_brand2_map, 7));
97
- $lc_mbColor_brand2_8: var(--lc_mbColor_brand2_8, map-get($color_brand2_map, 8));
98
- $lc_mbColor_brand2_9: var(--lc_mbColor_brand2_9, map-get($color_brand2_map, 9));
99
- @each $name, $value in $color_brand2_map {
100
- .lc_mbColor_brand2_#{$name}_background {
101
- background-color: $value;
102
- }
103
- .lc_mbColor_brand2_#{$name} {
104
- color: $value;
105
- }
106
- }
107
-
108
- // 品牌渐变色
109
- $lc_mbColor_gradient_270deg_brand2_normal: linear-gradient(
110
- to right,
111
- map-get($color_brand2_map, gradient_start),
112
- map-get($color_brand2_map, normal)
113
- );
114
- $lc_mbColor_gradient_360deg_brand2_normal: linear-gradient(
115
- to bottom,
116
- map-get($color_brand2_map, gradient_start),
117
- map-get($color_brand2_map, normal)
118
- );
119
- $lc_mbColor_gradient_315deg_brand2_normal: linear-gradient(
120
- 315deg,
121
- map-get($color_brand2_map, normal),
122
- map-get($color_brand2_map, gradient_start)
123
- );
124
- $lc_mbColor_gradient_270deg_brand2_press: linear-gradient(
125
- to right,
126
- map-get($color_brand2_map, gradient_start_press),
127
- map-get($color_brand2_map, press)
128
- );
129
- $lc_mbColor_gradient_360deg_brand2_press: linear-gradient(
130
- to bottom,
131
- map-get($color_brand2_map, gradient_start_press),
132
- map-get($color_brand2_map, press)
133
- );
134
- $lc_mbColor_gradient_315deg_brand2_press: linear-gradient(
135
- 315deg,
136
- map-get($color_brand2_map, press),
137
- map-get($color_brand2_map, gradient_start_press)
138
- );
139
- $lc_mbColor_gradient_270deg_brand2_disable: linear-gradient(
140
- to right,
141
- map-get($color_brand2_map, gradient_start_disable),
142
- map-get($color_brand2_map, 6)
143
- );
144
- $lc_mbColor_gradient_360deg_brand2_disable: linear-gradient(
145
- to bottom,
146
- map-get($color_brand2_map, gradient_start_disable),
147
- map-get($color_brand2_map, 6)
148
- );
149
- $lc_mbColor_gradient_315deg_brand2_disable: linear-gradient(
150
- 315deg,
151
- map-get($color_brand2_map, 6),
152
- map-get($color_brand2_map, gradient_start_disable)
153
- );
154
- .lc_mbColor_gradient_270deg_brand2_normal {
155
- background-image: $lc_mbColor_gradient_270deg_brand2_normal;
156
- }
157
- .lc_mbColor_gradient_360deg_brand2_normal {
158
- background-image: $lc_mbColor_gradient_360deg_brand2_normal;
159
- }
160
- .lc_mbColor_gradient_315deg_brand2_normal {
161
- background-image: $lc_mbColor_gradient_315deg_brand2_normal;
162
- }
163
- .lc_mbColor_gradient_270deg_brand2_press {
164
- background-image: $lc_mbColor_gradient_270deg_brand2_press;
165
- }
166
- .lc_mbColor_gradient_360deg_brand2_press {
167
- background-image: $lc_mbColor_gradient_360deg_brand2_press;
168
- }
169
- .lc_mbColor_gradient_315deg_brand2_press {
170
- background-image: $lc_mbColor_gradient_360deg_brand2_press;
171
- }
172
- .lc_mbColor_gradient_270deg_brand2_disable {
173
- background-image: $lc_mbColor_gradient_270deg_brand2_disable;
174
- }
175
- .lc_mbColor_gradient_360deg_brand2_disable {
176
- background-image: $lc_mbColor_gradient_360deg_brand2_disable;
177
- }
178
- .lc_mbColor_gradient_315deg_brand2_disable {
179
- background-image: $lc_mbColor_gradient_360deg_brand2_disable;
180
- }
181
-
182
- /**
183
- * 金额色 lc_mbColor_price*
184
- */
185
- $lc_mbColor_price1: var(--lc_mbColor_price1, #fe6010);
186
- $lc_mbColor_price2: var(--lc_mbColor_price2, #ff2f2f);
187
- $lc_mbColor_price3: var(--lc_mbColor_price3, #b38555);
188
- $lc_mbColor_price4: var(--lc_mbColor_price4, #262626);
189
- $lc_mbColor_price5: var(--lc_mbColor_price5, #fff);
190
- $lc_mbColor_price6: var(--lc_mbColor_price6, #ffd1a5);
191
-
192
- .lc_mbColor_price1 {
193
- color: $lc_mbColor_price1;
194
- }
195
- .lc_mbColor_price2 {
196
- color: $lc_mbColor_price2;
197
- }
198
- .lc_mbColor_price3 {
199
- color: $lc_mbColor_price3;
200
- }
201
- .lc_mbColor_price4 {
202
- color: $lc_mbColor_price4;
203
- }
204
- .lc_mbColor_price5 {
205
- color: $lc_mbColor_price5;
206
- }
207
- .lc_mbColor_price6 {
208
- color: $lc_mbColor_price6;
209
- }
210
-
211
- /**
212
- * 中性色
213
- * lc_mbColor_neutral_*
214
- */
215
- $color_neutral_b: #000;
216
- $color_neutral_map: (
217
- b1: var(--lc_mbColor_neutral_b1, rgba-to-rgb(rgba($color_neutral_b, 0.85))),
218
- b2: var(--lc_mbColor_neutral_b2, rgba-to-rgb(rgba($color_neutral_b, 0.65))),
219
- b3: var(--lc_mbColor_neutral_b3, rgba-to-rgb(rgba($color_neutral_b, 0.45))),
220
- b4: var(--lc_mbColor_neutral_b4, rgba-to-rgb(rgba($color_neutral_b, 0.25))),
221
- b5: var(--lc_mbColor_neutral_b5, rgba-to-rgb(rgba($color_neutral_b, 0.15))),
222
- b6: var(--lc_mbColor_neutral_b6, rgba-to-rgb(rgba($color_neutral_b, 0.09))),
223
- b7: var(--lc_mbColor_neutral_b7, rgba-to-rgb(rgba($color_neutral_b, 0.04))),
224
- b8: var(--lc_mbColor_neutral_b8, rgba-to-rgb(rgba($color_neutral_b, 0.02))),
225
- );
226
- $lc_mbColor_neutral_b1: map-get($color_neutral_map, b1);
227
- $lc_mbColor_neutral_b2: map-get($color_neutral_map, b2);
228
- $lc_mbColor_neutral_b3: map-get($color_neutral_map, b3);
229
- $lc_mbColor_neutral_b4: map-get($color_neutral_map, b4);
230
- $lc_mbColor_neutral_b5: map-get($color_neutral_map, b5);
231
- $lc_mbColor_neutral_b6: map-get($color_neutral_map, b6);
232
- $lc_mbColor_neutral_b7: map-get($color_neutral_map, b7);
233
- $lc_mbColor_neutral_b8: map-get($color_neutral_map, b8);
234
- @each $name, $value in $color_neutral_map {
235
- .lc_mbColor_neutral_#{$name}_background {
236
- background-color: $value;
237
- }
238
- .lc_mbColor_neutral_#{$name} {
239
- color: $value;
240
- }
241
- }
242
-
243
- $color_neutral_w: #fff;
244
- $color_neutral_map: (
245
- w1: var(--lc_mbColor_neutral_w1, rgba($color_neutral_w, 1)),
246
- w2: var(--lc_mbColor_neutral_w2, rgba($color_neutral_w, 0.85)),
247
- w3: var(--lc_mbColor_neutral_w3, rgba($color_neutral_w, 0.65)),
248
- w4: var(--lc_mbColor_neutral_w4, rgba($color_neutral_w, 0.45)),
249
- w5: var(--lc_mbColor_neutral_w5, rgba($color_neutral_w, 0.25)),
250
- w6: var(--lc_mbColor_neutral_w6, rgba($color_neutral_w, 0.15)),
251
- w7: var(--lc_mbColor_neutral_w7, rgba($color_neutral_w, 0.09)),
252
- w8: var(--lc_mbColor_neutral_w8, rgba($color_neutral_w, 0.04)),
253
- );
254
- $lc_mbColor_neutral_w1: map-get($color_neutral_map, w1);
255
- $lc_mbColor_neutral_w2: map-get($color_neutral_map, w2);
256
- $lc_mbColor_neutral_w3: map-get($color_neutral_map, w3);
257
- $lc_mbColor_neutral_w4: map-get($color_neutral_map, w4);
258
- $lc_mbColor_neutral_w5: map-get($color_neutral_map, w5);
259
- $lc_mbColor_neutral_w6: map-get($color_neutral_map, w6);
260
- $lc_mbColor_neutral_w7: map-get($color_neutral_map, w7);
261
- $lc_mbColor_neutral_w8: map-get($color_neutral_map, w8);
262
- @each $name, $value in $color_neutral_map {
263
- .lc_mbColor_neutral_#{$name}_background {
264
- background-color: $value;
265
- }
266
- .lc_mbColor_neutral_#{$name} {
267
- color: $value;
268
- }
269
- }
270
-
271
- /**
272
- * 功能色
273
- * lc_mbColor_function_*
274
- */
275
- $color_error: #ff2f2f;
276
- $color_error_map: (
277
- normal: var(--lc_mbColor_error_normal, $color_error),
278
- press: var(--lc_mb_yxColor_error_press, #d92828),
279
- disable: var(--lc_mb_yxColor_error_disable, rgba($color_error, 0.15)),
280
- lb: var(--lc_mb_yxColor_error_lb, rgba($color_error, 0.09)),
281
- );
282
- $lc_mbColor_error_normal: map-get($color_error_map, normal);
283
- $lc_mbColor_error_press: map-get($color_error_map, press);
284
- $lc_mbColor_error_disable: map-get($color_error_map, disable);
285
- $lc_mbColor_error_lb: map-get($color_error_map, lb);
286
- @each $name, $value in $color_error_map {
287
- .lc_mbColor_error_#{$name}_background {
288
- background-color: $value;
289
- }
290
- .lc_mbColor_error_#{$name} {
291
- color: $value;
292
- }
293
- }
294
-
295
- $color_warning: #ff910a;
296
- $color_warning_map: (
297
- normal: var(--lc_mbColor_warning_normal, $color_warning),
298
- press: var(--lc_mb_yxColor_warning_press, #ed8429),
299
- disable: var(--lc_mb_yxColor_warning_disable, rgba($color_warning, 0.15)),
300
- lb: var(--lc_mb_yxColor_warning_lb, rgba($color_warning, 0.09)),
301
- );
302
- $lc_mbColor_warning_normal: map-get($color_warning_map, normal);
303
- $lc_mbColor_warning_press: map-get($color_warning_map, press);
304
- $lc_mbColor_warning_disable: map-get($color_warning_map, disable);
305
- $lc_mbColor_warning_lb: map-get($color_warning_map, lb);
306
- @each $name, $value in $color_warning_map {
307
- .lc_mbColor_warning_#{$name}_background {
308
- background-color: $value;
309
- }
310
- }
311
-
312
- $color_success: #4cb94b;
313
- $color_success_map: (
314
- normal: var(--lc_mbColor_success_normal, $color_success),
315
- press: var(--lc_mb_yxColor_success_press, #34a84b),
316
- disable: var(--lc_mb_yxColor_success_disable, rgba($color_success, 0.15)),
317
- lb: var(--lc_mb_yxColor_success_lb, rgba($color_success, 0.09)),
318
- );
319
- $lc_mbColor_success_normal: map-get($color_success_map, normal);
320
- $lc_mbColor_success_press: map-get($color_success_map, press);
321
- $lc_mbColor_success_disable: map-get($color_success_map, disable);
322
- $lc_mbColor_success_lb: map-get($color_success_map, lb);
323
- @each $name, $value in $color_success_map {
324
- .lc_mbColor_success_#{$name}_background {
325
- background-color: $value;
326
- }
327
- .lc_mbColor_success_#{$name} {
328
- color: $value;
329
- }
330
- }
331
-
332
- $color_link: #2c8ae8;
333
- $color_link_map: (
334
- normal: var(--lc_mbColor_link_normal, $color_link),
335
- press: var(--lc_mb_yxColor_link_press, #287ed3),
336
- disable: var(--lc_mb_yxColor_link_disable, rgba($color_link, 0.15)),
337
- lb: var(--lc_mb_yxColor_link_lb, rgba($color_link, 0.09)),
338
- );
339
- $lc_mbColor_link_normal: map-get($color_link_map, normal);
340
- $lc_mbColor_link_press: map-get($color_link_map, press);
341
- $lc_mbColor_link_disable: map-get($color_link_map, disable);
342
- $lc_mbColor_link_lb: map-get($color_link_map, lb);
343
- @each $name, $value in $color_link_map {
344
- .lc_mbColor_link_#{$name}_background {
345
- background-color: $value;
346
- }
347
- .lc_mbColor_link_#{$name} {
348
- color: $value;
349
- }
350
- }
351
-
352
- /**
353
- * 辅助色
354
- * lc_mbColor_aux_*
355
- */
356
- $color_aux_1: #ffaa18;
357
- $color_aux_1_map: (
358
- 1: var(--lc_mbColor_aux_1_1, rgba($color_aux_1, 1)),
359
- 2: var(--lc_mbColor_aux_1_2, rgba($color_aux_1, 0.85)),
360
- 3: var(--lc_mbColor_aux_1_3, rgba($color_aux_1, 0.65)),
361
- 4: var(--lc_mbColor_aux_1_4, rgba($color_aux_1, 0.45)),
362
- 5: var(--lc_mbColor_aux_1_5, rgba($color_aux_1, 0.25)),
363
- 6: var(--lc_mbColor_aux_1_6, rgba($color_aux_1, 0.15)),
364
- 7: var(--lc_mbColor_aux_1_7, rgba($color_aux_1, 0.09)),
365
- );
366
- $lc_mbColor_aux_1_1: map-get($color_aux_1_map, 1);
367
- $lc_mbColor_aux_1_2: map-get($color_aux_1_map, 2);
368
- $lc_mbColor_aux_1_3: map-get($color_aux_1_map, 3);
369
- $lc_mbColor_aux_1_4: map-get($color_aux_1_map, 4);
370
- $lc_mbColor_aux_1_5: map-get($color_aux_1_map, 5);
371
- $lc_mbColor_aux_1_6: map-get($color_aux_1_map, 6);
372
- $lc_mbColor_aux_1_7: map-get($color_aux_1_map, 7);
373
- @each $name, $value in $color_aux_1_map {
374
- .lc_mbColor_aux_1_#{$name}_background {
375
- background-color: $value;
376
- }
377
- .lc_mbColor_aux_1_#{$name} {
378
- background-color: $value;
379
- }
380
- }
381
-
382
- $color_aux_2: #00b578;
383
- $color_aux_2_map: (
384
- 1: var(--lc_mbColor_aux_2_1, rgba($color_aux_2, 1)),
385
- 2: var(--lc_mbColor_aux_2_2, rgba($color_aux_2, 0.85)),
386
- 3: var(--lc_mbColor_aux_2_3, rgba($color_aux_2, 0.65)),
387
- 4: var(--lc_mbColor_aux_2_4, rgba($color_aux_2, 0.45)),
388
- 5: var(--lc_mbColor_aux_2_5, rgba($color_aux_2, 0.25)),
389
- 6: var(--lc_mbColor_aux_2_6, rgba($color_aux_2, 0.15)),
390
- 7: var(--lc_mbColor_aux_2_7, rgba($color_aux_2, 0.09)),
391
- );
392
- $lc_mbColor_aux_2_1: map-get($color_aux_2_map, 1);
393
- $lc_mbColor_aux_2_2: map-get($color_aux_2_map, 2);
394
- $lc_mbColor_aux_2_3: map-get($color_aux_2_map, 3);
395
- $lc_mbColor_aux_2_4: map-get($color_aux_2_map, 4);
396
- $lc_mbColor_aux_2_5: map-get($color_aux_2_map, 5);
397
- $lc_mbColor_aux_2_6: map-get($color_aux_2_map, 6);
398
- $lc_mbColor_aux_2_7: map-get($color_aux_2_map, 7);
399
- @each $name, $value in $color_aux_2_map {
400
- .lc_mbColor_aux_2_#{$name}_background {
401
- background-color: $value;
402
- }
403
- .lc_mbColor_aux_2_#{$name} {
404
- background-color: $value;
405
- }
406
- }
407
-
408
- $color_aux_3: #00c8d8;
409
- $color_aux_3_map: (
410
- 1: var(--lc_mbColor_aux_3_1, rgba($color_aux_3, 1)),
411
- 2: var(--lc_mbColor_aux_3_2, rgba($color_aux_3, 0.85)),
412
- 3: var(--lc_mbColor_aux_3_3, rgba($color_aux_3, 0.65)),
413
- 4: var(--lc_mbColor_aux_3_4, rgba($color_aux_3, 0.45)),
414
- 5: var(--lc_mbColor_aux_3_5, rgba($color_aux_3, 0.25)),
415
- 6: var(--lc_mbColor_aux_3_6, rgba($color_aux_3, 0.15)),
416
- 7: var(--lc_mbColor_aux_3_7, rgba($color_aux_3, 0.09)),
417
- );
418
- $lc_mbColor_aux_3_1: map-get($color_aux_3_map, 1);
419
- $lc_mbColor_aux_3_2: map-get($color_aux_3_map, 2);
420
- $lc_mbColor_aux_3_3: map-get($color_aux_3_map, 3);
421
- $lc_mbColor_aux_3_4: map-get($color_aux_3_map, 4);
422
- $lc_mbColor_aux_3_5: map-get($color_aux_3_map, 5);
423
- $lc_mbColor_aux_3_6: map-get($color_aux_3_map, 6);
424
- $lc_mbColor_aux_3_7: map-get($color_aux_3_map, 7);
425
- @each $name, $value in $color_aux_3_map {
426
- .lc_mbColor_aux_3_#{$name}_background {
427
- background-color: $value;
428
- }
429
- .lc_mbColor_aux_3_#{$name} {
430
- background-color: $value;
431
- }
432
- }
433
-
434
- $color_aux_4: #1885f2;
435
- $color_aux_4_map: (
436
- 1: var(--lc_mbColor_aux_4_1, rgba($color_aux_4, 1)),
437
- 2: var(--lc_mbColor_aux_4_2, rgba($color_aux_4, 0.85)),
438
- 3: var(--lc_mbColor_aux_4_3, rgba($color_aux_4, 0.65)),
439
- 4: var(--lc_mbColor_aux_4_4, rgba($color_aux_4, 0.45)),
440
- 5: var(--lc_mbColor_aux_4_5, rgba($color_aux_4, 0.25)),
441
- 6: var(--lc_mbColor_aux_4_6, rgba($color_aux_4, 0.15)),
442
- 7: var(--lc_mbColor_aux_4_7, rgba($color_aux_4, 0.09)),
443
- );
444
- $lc_mbColor_aux_4_1: map-get($color_aux_4_map, 1);
445
- $lc_mbColor_aux_4_2: map-get($color_aux_4_map, 2);
446
- $lc_mbColor_aux_4_3: map-get($color_aux_4_map, 3);
447
- $lc_mbColor_aux_4_4: map-get($color_aux_4_map, 4);
448
- $lc_mbColor_aux_4_5: map-get($color_aux_4_map, 5);
449
- $lc_mbColor_aux_4_6: map-get($color_aux_4_map, 6);
450
- $lc_mbColor_aux_4_7: map-get($color_aux_4_map, 7);
451
- @each $name, $value in $color_aux_4_map {
452
- .lc_mbColor_aux_4_#{$name}_background {
453
- background-color: $value;
454
- }
455
- .lc_mbColor_aux_4_#{$name} {
456
- background-color: $value;
457
- }
458
- }
459
-
460
- /**
461
- * 标签色
462
- * lc_mbColor_tag*
463
- */
464
- $color_tag_1: #ff2f2f;
465
- $color_tag_2: #ffaa18;
466
- $color_tag_3: #4cb94b;
467
- $color_tag_4: #2c8ae8;
468
- $color_tag_5: #fe6010;
469
- $color_tag_6: #595959;
470
-
471
- $lc_mbColor_tag1_dark: var(--lc_mbColor_tag1_dark, $color_tag_1);
472
- $lc_mbColor_tag1_light: var(
473
- --lc_mbColor_tag1_light,
474
- rgba-to-rgb(rgba($color_tag_1, 0.09))
475
- );
476
- $lc_mbColor_tag2_dark: var(--lc_mbColor_tag2_dark, $color_tag_2);
477
- $lc_mbColor_tag2_light: var(
478
- --lc_mbColor_tag2_light,
479
- rgba-to-rgb(rgba($color_tag_2, 0.09))
480
- );
481
- $lc_mbColor_tag3_dark: var(--lc_mbColor_tag3_dark, $color_tag_3);
482
- $lc_mbColor_tag3_light: var(
483
- --lc_mbColor_tag3_light,
484
- rgba-to-rgb(rgba($color_tag_3, 0.09))
485
- );
486
- $lc_mbColor_tag4_dark: var(--lc_mbColor_tag4_dark, $color_tag_4);
487
- $lc_mbColor_tag4_light: var(
488
- --lc_mbColor_tag4_light,
489
- rgba-to-rgb(rgba($color_tag_4, 0.09))
490
- );
491
- $lc_mbColor_tag5_dark: var(--lc_mbColor_tag5_dark, $color_tag_5);
492
- $lc_mbColor_tag5_light: var(
493
- --lc_mbColor_tag5_light,
494
- rgba-to-rgb(rgba($color_tag_5, 0.09))
495
- );
496
- $lc_mbColor_tag6_dark: var(--lc_mbColor_tag6_dark, $color_tag_6);
497
- $lc_mbColor_tag6_light: var(
498
- --lc_mbColor_tag6_light,
499
- rgba-to-rgb(rgba($color_tag_6, 0.04))
500
- );
501
-
502
- /**
503
- * 字体
504
- * lc_mbFont_*
505
- * lc_mbText_*
506
- */
507
- $font_family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
508
- "Helvetica Neue", Arial, "Microsoft YaHei", "Noto Sans", sans-serif,
509
- "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
510
-
511
- body {
512
- font-family: $font_family;
513
- font-size: 12px;
514
- color: $lc_mbColor_neutral_b1;
515
- }
516
-
517
- $font_size_map: 16, 18, 20, 24, 28, 32, 36, 40, 44, 48, 56;
518
-
519
- @each $size in $font_size_map {
520
- // yxFont默认行高和字体一致
521
- .lc_mbFont_size_#{$size} {
522
- font-size: #{$size}px;
523
- line-height: 1em;
524
- }
525
- // Text是带行高的
526
- .lc_mbText_size_#{$size} {
527
- font-size: #{$size}px;
528
- line-height: #{$size}px;
529
- }
530
- }
531
-
532
- $font_weight_map: (
533
- light: 300,
534
- regular: 400,
535
- medium: 400,
536
- semibold: 600,
537
- );
538
-
539
- @each $type, $value in $font_weight_map {
540
- .lc_mbFont_weight_#{$type} {
541
- font-weight: $value;
542
- }
543
- }
544
-
545
- $number_font_family: DINAlternate-Bold;
546
-
547
- .lc_mbFont_family_number {
548
- font-family: $number_font_family;
549
- }
550
-
551
- /**
552
- * 间距 lc_mbSpacing_*
553
- */
554
- $spacing_size_map: (
555
- xl: 24,
556
- lg: 16,
557
- md: 12,
558
- sm: 8,
559
- xs: 4,
560
- );
561
-
562
- $spacing_direction_list: left, top, right, bottom;
563
-
564
- @each $size, $value in $spacing_size_map {
565
- .lc_mbSpacing_#{$size} {
566
- padding: $value * $lc_mbHd;
567
- }
568
- .lc_mbSpacing_horizontal_#{$size} {
569
- padding-left: $value * $lc_mbHd;
570
- padding-right: $value * $lc_mbHd;
571
- }
572
- .lc_mbSpacing_vertical_#{$size} {
573
- padding-top: $value * $lc_mbHd;
574
- padding-bottom: $value * $lc_mbHd;
575
- }
576
- .lc_mbMargin_#{$size} {
577
- margin: $value * $lc_mbHd;
578
- }
579
- @each $direction in $spacing_direction_list {
580
- .lc_mbSpacing_#{$direction}_#{$size} {
581
- padding-#{$direction}: $value * $lc_mbHd;
582
- }
583
- }
584
- }
585
-
586
- @mixin lc_mbFlex_gutter($type, $size) {
587
- .lc_mbFlex_gutterHorizontal_#{$type} {
588
- padding-left: calc(#{$size * $lc-mbHd} / 2);
589
- padding-right: calc(#{$size * $lc-mbHd} / 2);
590
- .lc-col {
591
- margin-left: calc(#{$size * $lc-mbHd} / 2);
592
- margin-right: calc(#{$size * $lc-mbHd} / 2);
593
- }
594
- }
595
- .lc_mbFlex_gutterVertical_#{$type} {
596
- > .lc-col {
597
- margin-bottom: $size * $lc_mbHd;
598
- }
599
- }
600
- }
601
- @include lc_mbFlex_gutter($type: sm, $size: 8);
602
- @include lc_mbFlex_gutter($type: md, $size: 16);
603
- @include lc_mbFlex_gutter($type: lg, $size: 24);
604
-
605
- /**
606
- * 圆角 lc_mbRadio_*
607
- */
608
- $radius_size_map: (
609
- xs: 2,
610
- sm: 4,
611
- md: 8,
612
- lg: 16,
613
- xl: 24,
614
- circle: 9999,
615
- );
616
-
617
- @each $size, $value in $radius_size_map {
618
- .lc_mbRadius_#{$size} {
619
- overflow: hidden;
620
- border-radius: $value * $lc_mbHd;
621
- &:after {
622
- border-radius: $value * $lc_mbHd;
623
- }
624
- }
625
- }
626
-
627
- /**
628
- * 分割线 lc_mbDivider_*
629
- */
630
- .lc_mbDivider_horizontal {
631
- width: 100%;
632
- // @include hairline-bottom($color: $lc_mbColor_neutral_b6);
633
- }
634
- .lc_mbDivider_vertical {
635
- height: 100%;
636
- // @include hairline-left($color: $lc_mbColor_neutral_b6);
637
- }
638
-
639
- /**
640
- * 边框 lc_mbBorder_*
641
- */
642
- $border_color_map: (
643
- md: $lc_mbColor_neutral_b6,
644
- lg: $lc_mbColor_neutral_b5,
645
- badge: $lc_mbColor_neutral_w1,
646
- dashed: $lc_mbColor_neutral_b4,
647
- );
648
-
649
- $border_size_map: (
650
- md: 1px,
651
- lg: 2px,
652
- badge: 1px,
653
- dashed: 1px,
654
- );
655
-
656
- $border_style_map: (
657
- md: solid,
658
- lg: solid,
659
- badge: solid,
660
- dashed: dashed,
661
- );
662
-
663
- $border_width_map: (
664
- md: 1 + #{"PX"},
665
- lg: 2px,
666
- badge: 1 + #{"PX"},
667
- dashed: 1 + #{"PX"},
668
- );
669
-
670
- @mixin lc_mbBorder_Factory($direction, $type) {
671
- $color: map-get($border_color_map, $type);
672
- $style: map-get($border_style_map, $type);
673
- $width: map-get($border_width_map, $type);
674
- .lc_mbBorder_#{$type}_#{$direction} {
675
- @if ($direction == default) {
676
- // @include hairline-surround($color, $style, $width);
677
- }
678
- @if ($direction == U) {
679
- // @include hairline-top($color, $style, $width);
680
- }
681
- @if ($direction == D) {
682
- // @include hairline-bottom($color, $style, $width);
683
- }
684
- @if ($direction == L) {
685
- // @include hairline-left($color, $style, $width);
686
- }
687
- @if ($direction == R) {
688
- // @include hairline-right($color, $style, $width);
689
- }
690
- @if ($direction == UD) {
691
- // @include hairline-bottom($color, $style, $width);
692
- &:after {
693
- border-top-width: $width;
694
- }
695
- }
696
- @if ($direction == LD) {
697
- // @include hairline-bottom($color, $style, $width);
698
- &:after {
699
- border-left-width: $width;
700
- }
701
- }
702
- @if ($direction == LRD) {
703
- // @include hairline-bottom($color, $style, $width);
704
- &:after {
705
- border-left-width: $width;
706
- border-right-width: $width;
707
- }
708
- }
709
- }
710
- }
711
-
712
- @each $type in md, lg, dashed, badge {
713
- @each $direction in default, U, D, L, R, UD, LD, LRD {
714
- @include lc_mbBorder_Factory($direction, $type);
715
- }
716
- }
717
-
718
- /**
719
- * 投影 lc_mbShadow_*
720
- */
721
- $lc_mbShadow_size_map: (
722
- sm: 2,
723
- md: 4,
724
- lg: 8,
725
- );
726
-
727
- $lc_mbShadow_size_color_map: (
728
- sm: $lc_mbColor_neutral_b7,
729
- md: $lc_mbColor_neutral_b6,
730
- lg: $lc_mbColor_neutral_b5,
731
- );
732
-
733
- @each $type, $size in $lc_mbShadow_size_map {
734
- $size1: $size * 1px;
735
- $size2: $size * 2px;
736
- $size3: $size * 4px;
737
- $size4: $size * 8px;
738
- .lc_mbShadow_float_L_size_#{$type} {
739
- box-shadow: -#{$size3}
740
- 0
741
- #{$size4}
742
- 0
743
- map-get($lc_mbShadow_size_color_map, $type);
744
- }
745
- .lc_mbShadow_float_R_size_#{$type} {
746
- box-shadow: #{$size3}
747
- 0
748
- #{$size4}
749
- 0
750
- map-get($lc_mbShadow_size_color_map, $type);
751
- }
752
- .lc_mbShadow_float_U_size_#{$type} {
753
- box-shadow: 0
754
- #{$size3}
755
- #{$size4}
756
- 0
757
- map-get($lc_mbShadow_size_color_map, $type);
758
- }
759
- .lc_mbShadow_float_D_size_#{$type} {
760
- box-shadow: 0 -#{$size3}
761
- #{$size4}
762
- 0
763
- map-get($lc_mbShadow_size_color_map, $type);
764
- }
765
- .lc_mbShadow_float_all_size_#{$type} {
766
- box-shadow: 0 0 #{$size4} 0 map-get($lc_mbShadow_size_color_map, $type);
767
- }
768
- }
769
-
770
- /**
771
- * taro-ui样式变量
772
- */
773
- $hd: 1 !default; // 基本单位
774
-
775
- /* The Color of O2Team Brand */
776
- $color-brand: #6190e8 !default;
777
- $color-brand-light: #78a4f4 !default;
778
- $color-brand-dark: #346fc2 !default;
779
-
780
- /* Color */
781
- $color-success: #13ce66 !default;
782
- $color-error: #ff4949 !default;
783
- $color-warning: #ffc82c !default;
784
- $color-info: #78a4fa !default;
785
-
786
- /* Color Palette */
787
- $color-black-0: #000 !default;
788
- $color-black-1: #333 !default;
789
- $color-black-2: #7f7f7f !default;
790
- $color-black-3: #b2b2b2 !default;
791
-
792
- $color-grey-0: #333 !default;
793
- $color-grey-1: #666 !default;
794
- $color-grey-2: #999 !default;
795
- $color-grey-3: #ccc !default;
796
- $color-grey-4: #e5e5e5 !default;
797
- $color-grey-5: #f0f0f0 !default;
798
- $color-grey-6: #f7f7f7 !default;
799
-
800
- $color-white: #fff !default;
801
-
802
- /* Text Color */
803
- $color-text-base: #333 !default; // 文字的基本色
804
- $color-text-base-inverse: #fff !default; // 反色
805
- $color-text-secondary: #36d57d !default; // 辅助色
806
- $color-text-placeholder: #c9c9c9 !default;
807
- $color-text-disabled: #ccc !default;
808
- $color-text-title: #2c405a !default; // 文章标题
809
- $color-text-paragraph: #3f536e !default; // 文章段落
810
-
811
- /* Link */
812
- $color-link: #6190e8 !default;
813
- $color-link-hover: #79a1eb !default;
814
- $color-link-active: #4f7de2 !default;
815
- $color-link-disabled: #bfbfbf !default;
816
-
817
- /* 背景色 */
818
- $color-bg: #fff !default;
819
- $color-bg-base: #fafbfc !default;
820
- $color-bg-light: #ecf5fd !default;
821
- $color-bg-lighter: tint($color-bg-light, 50%) !default;
822
- $color-bg-grey: #f7f7f7 !default;
823
-
824
- /* 边框颜色 */
825
- $color-border-base: #c5d9e8 !default;
826
- $color-border-split: tint($color-border-base, 20%) !default; // 分割线
827
- $color-border-light: tint($color-border-base, 30%) !default;
828
- $color-border-lighter: tint($color-border-base, 50%) !default;
829
- $color-border-lightest: tint($color-border-base, 80%) !default;
830
- $color-border-grey: #ccc !default;
831
-
832
- /* 图标颜色 */
833
- $color-icon-base: #ccc !default;
834
-
835
- /* Border Radius */
836
- $border-radius-sm: 2px * $hd !default;
837
- $border-radius-md: 4px * $hd !default;
838
- $border-radius-lg: 6px * $hd !default;
839
- $border-radius-circle: 50% !default;
840
-
841
- /* 透明度 */
842
- $opacity-active: 0.6 !default; // Button 等组件点击态额透明度
843
- $opacity-disabled: 0.3 !default; // Button 等组件禁用态的透明度
844
-
845
- /* Font */
846
- $font-size-xs: 10px * $hd !default; // 非常用字号,用于标签 //正文
847
- $font-size-sm: 12px * $hd !default; // 用于辅助信息 //修改标题
848
- $font-size-base: 14px * $hd !default; // 常用字号
849
- $font-size-lg: 16px * $hd !default; // 常规标题
850
- $font-size-xl: 18px * $hd !default; // 大标题
851
- $font-size-xxl: 20px * $hd !default; // 用于大号的数字
852
-
853
- /* Line Height */
854
- $line-height-base: 1 !default; // 单行
855
- $line-height-en: 1.3 !default; // 英文多行
856
- $line-height-zh: 1.5 !default; // 中文多行
857
-
858
- /* 水平间距 */
859
- $spacing-h-sm: 5px * $hd !default;
860
- $spacing-h-md: 8px * $hd !default;
861
- $spacing-h-lg: 12px * $hd !default;
862
- $spacing-h-xl: 16px * $hd !default;
863
-
864
- /* 垂直间距 */
865
- $spacing-v-xs: 3px * $hd !default;
866
- $spacing-v-sm: 6px * $hd !default;
867
- $spacing-v-md: 9px * $hd !default;
868
- $spacing-v-lg: 12px * $hd !default;
869
- $spacing-v-xl: 15px * $hd !default;
870
-
871
- /* 图标尺寸 */
872
- $icon-size-sm: 18px * $hd !default;
873
- $icon-size-md: 22px * $hd !default;
874
- $icon-size-lg: 36px * $hd !default;
875
-
876
- /* z-index */
877
- $zindex-divider: 100 !default;
878
- $zindex-steps: 500 !default;
879
- $zindex-tab: 600 !default;
880
- $zindex-form: 700 !default;
881
- $zindex-nav: 800 !default;
882
- $zindex-search-bar: 800 !default;
883
- $zindex-indexes: 805 !default;
884
- $zindex-flot-layout: 810 !default;
885
- $zindex-drawer: 900 !default;
886
- $zindex-modal: 1000 !default;
887
- $zindex-action-sheet: 1010 !default;
888
- $zindex-picker: 1010 !default;
889
- $zindex-curtain: 1080 !default;
890
- $zindex-message: 1090 !default;
891
- $zindex-toast: 1090 !default;
892
-
893
- /* timing function */
894
- $timing-func: cubic-bezier(0.36, 0.66, 0.04, 1) !default;
895
-
896
- /**
897
- * CSS cubic-bezier timing functions
898
- * http://bourbon.io/docs/#timing-functions
899
- */
900
- $ease-in-quad: cubic-bezier(0.55, 0.085, 0.68, 0.53) !default;
901
- $ease-in-cubic: cubic-bezier(0.55, 0.055, 0.675, 0.19) !default;
902
- $ease-in-quart: cubic-bezier(0.895, 0.03, 0.685, 0.22) !default;
903
- $ease-in-quint: cubic-bezier(0.755, 0.05, 0.855, 0.06) !default;
904
- $ease-in-sine: cubic-bezier(0.47, 0, 0.745, 0.715) !default;
905
- $ease-in-expo: cubic-bezier(0.95, 0.05, 0.795, 0.035) !default;
906
- $ease-in-circ: cubic-bezier(0.6, 0.04, 0.98, 0.335) !default;
907
- $ease-in-back: cubic-bezier(0.6, -0.28, 0.735, 0.045) !default;
908
-
909
- $ease-out-quad: cubic-bezier(0.25, 0.46, 0.45, 0.94) !default;
910
- $ease-out-cubic: cubic-bezier(0.215, 0.61, 0.355, 1) !default;
911
- $ease-out-quart: cubic-bezier(0.165, 0.84, 0.44, 1) !default;
912
- $ease-out-quint: cubic-bezier(0.23, 1, 0.32, 1) !default;
913
- $ease-out-sine: cubic-bezier(0.39, 0.575, 0.565, 1) !default;
914
- $ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1) !default;
915
- $ease-out-circ: cubic-bezier(0.075, 0.82, 0.165, 1) !default;
916
- $ease-out-back: cubic-bezier(0.175, 0.885, 0.32, 1.275) !default;
917
-
918
- $ease-in-out-quad: cubic-bezier(0.455, 0.03, 0.515, 0.955) !default;
919
- $ease-in-out-cubic: cubic-bezier(0.645, 0.045, 0.355, 1) !default;
920
- $ease-in-out-quart: cubic-bezier(0.77, 0, 0.175, 1) !default;
921
- $ease-in-out-quint: cubic-bezier(0.86, 0, 0.07, 1) !default;
922
- $ease-in-out-sine: cubic-bezier(0.445, 0.05, 0.55, 0.95) !default;
923
- $ease-in-out-expo: cubic-bezier(1, 0, 0, 1) !default;
924
- $ease-in-out-circ: cubic-bezier(0.785, 0.135, 0.15, 0.86) !default;
925
- $ease-in-out-back: cubic-bezier(0.68, -0.55, 0.265, 1.55) !default;
926
-
927
- /**
928
- * 组件变量
929
- */
930
-
931
- /* Accordion */
932
- $at-accordion-color-arrow: $color-grey-3 !default;
933
-
934
- /* Activity Indicator */
935
- $at-activity-indicator-font-size: 28px !default;
936
- $at-activity-indicator-font-color: $color-grey-2 !default;
937
-
938
- /* Avatar */
939
- $at-avatar-color: $color-white !default;
940
- $at-avatar-bg-color: $color-grey-4 !default;
941
- $at-avatar-size-sm: 80px !default;
942
- $at-avatar-size-md: 100px !default;
943
- $at-avatar-size-lg: 120px !default;
944
-
945
- /* Badge */
946
- $at-badge-color: $color-white !default;
947
- $at-badge-bg-color: $color-error !default;
948
- $at-badge-bg: $at-badge-bg-color !default;
949
- $at-badge-font-size: $font-size-xs !default;
950
- $at-badge-dot-size: 20px !default;
951
-
952
- /* Button */
953
- $at-button-height: 92px !default;
954
- $at-button-height-sm: 60px !default;
955
- $at-button-color: $color-brand !default;
956
- $at-button-border-color-primary: $color-brand !default;
957
- $at-button-border-color-secondary: $color-brand !default;
958
- $at-button-bg: $at-button-color !default;
959
-
960
- /* Float Button */
961
- $at-fab-size: 56px * $hd !default;
962
- $at-fab-size-sm: 40px * $hd !default;
963
- $at-fab-icon-size: 24px * $hd !default;
964
- $at-fab-bg-color: $color-brand;
965
- $at-fab-bg-color-active: $color-brand-dark;
966
- $at-fab-box-shadow: 0 6px 10px -2px rgba(0, 0, 0, 0.2),
967
- 0 12px 20px 0 rgba(0, 0, 0, 0.14), 0 2px 36px 0 rgba(0, 0, 0, 0.12) !default;
968
- $at-fab-box-shadow-active: 0 14px 16px -8px rgba(0, 0, 0, 0.2),
969
- 0 24px 34px 4px rgba(0, 0, 0, 0.14), 0 10px 44px 8px rgba(0, 0, 0, 0.12) !default;
970
-
971
- /* Calendar */
972
- $at-calendar-day-size: 72px !default;
973
- $at-calendar-mark-size: 8px !default;
974
- $at-calendar-header-color: #b8bfc6 !default;
975
- $at-calendar-main-color: $color-brand !default;
976
- $at-calendar-day-color: #7c86a2 !default;
977
-
978
- /* Card */
979
- $at-card-thumb-size: 32px !default;
980
- $at-card-icon-size: 32px !default;
981
- $at-card-title-color: $color-text-title !default;
982
- $at-card-extra-color: $color-text-title !default;
983
- $at-card-info-color: $color-text-base !default;
984
- $at-card-note-color: $color-grey-2 !default;
985
-
986
- /* Checkbox */
987
- $at-checkbox-circle-size: 40px !default;
988
- $at-checkbox-icon-size: $font-size-sm !default;
989
- $at-checkbox-icon-color: $color-brand !default;
990
- $at-checkbox-icon-color-checked: $color-white !default;
991
- $at-checkbox-title-color: $color-text-base !default;
992
- $at-checkbox-title-font-size: $font-size-lg !default;
993
- $at-checkbox-desc-font-size: $font-size-sm !default;
994
- $at-checkbox-desc-color: $color-grey-2 !default;
995
-
996
- /* Countdown */
997
- $at-countdown-font-size: $font-size-lg !default;
998
- $at-countdown-num-color: $color-text-base !default;
999
- $at-countdown-card-num-color: #ff4949 !default;
1000
- $at-countdown-card-num-bg-color: $color-white !default;
1001
-
1002
- /* Curtain */
1003
- $at-curtain-btn-color: $color-white !default;
1004
-
1005
- /* Divider */
1006
- $at-divider-height: 112px;
1007
- $at-divider-content-color: $color-brand !default;
1008
- $at-divider-font-size: $font-size-lg !default;
1009
- $at-divider-line-color: $color-grey-3 !default;
1010
-
1011
- /* Drawer */
1012
- $at-drawer-content-width: 460px !default;
1013
-
1014
- /* FloatLayout */
1015
- $float-layout-height-min: 600px !default;
1016
- $float-layout-height-max: 950px !default;
1017
- $float-layout-header-bg-color: $color-bg-grey !default;
1018
- $float-layout-title-color: $color-text-base !default;
1019
- $float-layout-title-font-size: $font-size-lg !default;
1020
- $float-layout-btn-color: $color-grey-3 !default;
1021
-
1022
- /* Grid */
1023
- $at-grid-text-color: $color-text-base !default;
1024
- $at-grid-font-size: $font-size-lg !default;
1025
- $at-grid-img-size: 80px !default;
1026
- $at-gird-img-size-sm: 50px !default;
1027
-
1028
- /* ImagePicker */
1029
- $at-image-picker-btn-add-color: $color-grey-3 !default;
1030
- $at-image-picker-btn-remove-color: $color-white !default;
1031
- $at-image-picker-btn-remove-bg-color: $color-grey-2 !default;
1032
-
1033
- /* Indexes */
1034
- $at-indexes-nav-color: $color-link !default;
1035
- $at-indexes-nav-font-size: $font-size-sm !default;
1036
- $at-indexes-title-color: $color-black-2 !default;
1037
- $at-indexes-title-font-size: $font-size-sm !default;
1038
- $at-indexes-title-bg-color: $color-grey-6 !default;
1039
-
1040
- /* InputNumber */
1041
- $at-input-number-text-color: $color-text-base !default;
1042
- $at-input-number-font-size: $font-size-base !default;
1043
- $at-input-number-font-size-lg: $font-size-xl !default;
1044
- $at-input-number-btn-color: $color-brand !default;
1045
- $at-input-number-btn-size: 30px !default;
1046
- $at-input-number-btn-size-lg: 36px !default;
1047
- $at-input-number-width-min: 80px !default;
1048
- $at-input-number-width-min-lg: 120px !default;
1049
-
1050
- /* Input */
1051
- $at-input-label-color: $color-text-base !default;
1052
- $at-input-text-color: $color-text-base !default;
1053
- $at-input-font-size: $font-size-lg !default;
1054
- $at-input-placeholder-color: $color-grey-3 !default;
1055
-
1056
- /* List */
1057
- $at-list-thumb-size: 56px !default;
1058
- $at-list-arrow-color: $color-grey-3 !default;
1059
- $at-list-text-color: $color-text-base !default;
1060
- $at-list-content-color: $color-grey-2 !default;
1061
- $at-list-extra-color: $color-grey-2 !default;
1062
- $at-list-extra-width: 235px !default;
1063
-
1064
- /* LoadMore */
1065
- $at-load-more-height: 80px !default;
1066
- $at-load-more-tips-color: $color-grey-1 !default;
1067
- $at-load-more-tips-size: $font-size-lg !default;
1068
-
1069
- /* Loading */
1070
- $at-loading-size: 36px !default;
1071
- $at-loading-color: $color-brand !default;
1072
-
1073
- /* Message */
1074
- $at-message-color: $color-white !default;
1075
- $at-message-font-size: $font-size-base !default;
1076
- $at-message-bg-color: $color-info !default;
1077
-
1078
- /* Modal */
1079
- $at-modal-width: 540px !default;
1080
- $at-modal-header-text-color: $color-text-base !default;
1081
- $at-modal-content-text-color: $color-text-base !default;
1082
- $at-modal-btn-default-color: $color-text-base !default;
1083
- $at-modal-btn-confirm-color: $color-brand !default;
1084
- $at-modal-bg-color: $color-white !default;
1085
-
1086
- /* NavBar */
1087
- $at-nav-bar-title-color: $color-text-base !default;
1088
- $at-nav-bar-link-color: $color-brand !default;
1089
-
1090
- /* NoticeBar */
1091
- $at-noticebar-text-color: #de8c17 !default;
1092
- $at-noticebar-bg-color: #fcf6ed !default;
1093
- $at-noticebar-font-size: $font-size-sm !default;
1094
- $at-noticebar-icon-size: 30px !default;
1095
- $at-noticebar-btn-close-size: 32px !default;
1096
- $at-noticebar-btn-close-color: $color-grey-3 !default;
1097
-
1098
- /* Pagination */
1099
- $at-pagination-margin: 40px !default;
1100
- $at-pagination-num-color: $color-text-base !default;
1101
- $at-pagination-num-font-size: $font-size-base !default;
1102
- $at-pagination-current-num-color: $color-brand !default;
1103
- $at-pagination-icon-color: $color-text-base !default;
1104
- $at-pagination-icon-font-size: 32px !default;
1105
-
1106
- /* Progress */
1107
- $at-progress-height: 16px !default;
1108
- $at-progress-text-size: $font-size-sm !default;
1109
- $at-progress-icon-size: $font-size-xl !default;
1110
- $at-progress-inner-bg-color: $color-grey-6 !default;
1111
- $at-progress-bar-bg-color: $color-brand-light !default;
1112
- $at-progress-bar-bg-color-active: $color-white !default;
1113
-
1114
- /* Radio */
1115
- $at-radio-title-color: $color-text-base !default;
1116
- $at-radio-title-size: $font-size-lg !default;
1117
- $at-radio-desc-color: $color-grey-2 !default;
1118
- $at-radio-desc-size: $font-size-sm !default;
1119
- $at-radio-check-color: $color-brand !default;
1120
-
1121
- /* Range */
1122
- $at-range-slider-size: 28px !default;
1123
- $at-range-rail-height: 2px !default;
1124
- $at-range-rail-bg-color: #e9e9e9 !default;
1125
- $at-range-track-bg-color: $color-brand !default;
1126
- $at-range-slider-color: $color-white !default;
1127
- $at-range-slider-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.2) !default;
1128
-
1129
- /* Rate */
1130
- $at-rate-icon-size: 20px !default;
1131
- $at-rate-star-color: #ececec !default;
1132
- $at-rate-star-color-on: #ffca3e !default;
1133
-
1134
- /* SearchBar */
1135
- $at-search-bar-btn-color: $color-white !default;
1136
- $at-search-bar-btn-bg-color: $color-brand !default;
1137
-
1138
- /* SegmentedControl */
1139
- $at-segmented-control-color: $color-brand !default;
1140
- $at-segmented-control-color-active: $color-white !default;
1141
- $at-segmented-control-bg-color: transparent !default;
1142
- $at-segmented-control-font-size: $font-size-base !default;
1143
-
1144
- /* Slider */
1145
- $at-slider-text-color: $color-grey-2 !default;
1146
- $at-slider-text-size: $font-size-base !default;
1147
-
1148
- /* Steps */
1149
- $at-steps-circle-size: 56px !default;
1150
- $at-steps-icon-size: $font-size-sm !default;
1151
- $at-steps-color: $color-white !default;
1152
- $at-steps-color-active: $color-grey-2 !default;
1153
- $at-steps-bg-color: $color-grey-4 !default;
1154
- $at-steps-bg-color-active: $color-brand !default;
1155
- $at-steps-line-color: $color-grey-3 !default;
1156
- $at-steps-title-color: $color-black-0 !default;
1157
- $at-steps-title-size: $font-size-lg !default;
1158
- $at-steps-desc-color: $color-grey-3 !default;
1159
- $at-steps-desc-size: $font-size-sm !default;
1160
-
1161
- /* SwipeAction */
1162
- $at-swipe-action-color: $color-white !default;
1163
- $at-swipe-action-font-size: $font-size-base !default;
1164
- $at-swipe-action-bg-color: $color-white !default;
1165
- $at-swipe-action-option-bg-color: $color-grey-2 !default;
1166
-
1167
- /* Switch */
1168
- $at-switch-title-color: $color-text-base !default;
1169
- $at-switch-title-size: $font-size-base !default;
1170
-
1171
- /* TabBar */
1172
- $at-tab-bar-bg-color: $color-white !default;
1173
- $at-tab-bar-color: $color-text-base !default;
1174
- $at-tab-bar-color-active: $color-brand !default;
1175
- $at-tab-bar-font-size: $font-size-base !default;
1176
- $at-tab-bar-icon-color: $color-grey-0 !default;
1177
- $at-tab-bar-icon-font-size: 48px !default;
1178
- $at-tab-bar-icon-image-size: 50px !default;
1179
-
1180
- /* Tabs */
1181
- $at-tabs-color: $color-text-base !default;
1182
- $at-tabs-color-active: $color-brand !default;
1183
- $at-tabs-font-size: $font-size-base !default;
1184
- $at-tabs-line-height: 1px !default;
1185
- $at-tabs-underline-color: $color-grey-5 !default;
1186
- $at-tabs-bg-color: $color-bg !default;
1187
-
1188
- /* Tag */
1189
- $at-tag-height: 60px !default;
1190
- $at-tag-height-sm: 40px !default;
1191
- $at-tag-color: $color-grey-1 !default;
1192
- $at-tag-color-primary: $color-grey-1 !default;
1193
- $at-tag-color-active: $color-brand-light !default;
1194
- $at-tag-color-primary-active: $color-text-base-inverse !default;
1195
- $at-tag-font-size: $font-size-base !default;
1196
- $at-tag-font-size-sm: $font-size-xs !default;
1197
- $at-tag-bg-color: $color-bg-grey !default;
1198
- $at-tag-bg-color-primary: $color-bg-grey !default;
1199
- $at-tag-bg-color-active: $color-white !default;
1200
- $at-tag-bg-color-primary-active: $at-tag-color-active !default;
1201
- $at-tag-border-color: $at-tag-bg-color !default;
1202
- $at-tag-border-color-primary: $at-tag-bg-color !default;
1203
- $at-tag-border-color-active: $at-tag-color-active !default;
1204
-
1205
- /* Textarea */
1206
- $at-textarea-font-size: $font-size-lg !default;
1207
- $at-textarea-tips-color: $color-text-placeholder !default;
1208
- $at-textarea-tips-size: $font-size-base !default;
1209
-
1210
- /* Timeline */
1211
- $at-timeline-offset-left: 40px !default;
1212
- $at-timeline-title-color: $color-grey-0 !default;
1213
- $at-timeline-title-font-size: $font-size-base !default;
1214
- $at-timeline-desc-color: $color-grey-1 !default;
1215
- $at-timeline-desc-font-size: $font-size-sm !default;
1216
- $at-timeline-dot-size: 24px !default;
1217
- $at-timeline-dot-color: $color-bg !default;
1218
- $at-timeline-dot-border-color: $color-brand-light !default;
1219
- $at-timeline-line-color: $color-border-lighter !default;
1
+ /**
2
+ * Default variables
3
+ */
4
+ // @use "sass:color";
5
+ @import "./mixins/libs/tint";
6
+
7
+ // rgba转hex
8
+ @function rgba-to-rgb($rgba, $opacity: 0, $background: #fff) {
9
+ @if $opacity > 0 {
10
+ @if $opacity < 1 {
11
+ $opacity: $opacity * 100;
12
+ }
13
+ @return mix(
14
+ mix(
15
+ rgb(red($rgba), green($rgba), blue($rgba)),
16
+ $background,
17
+ alpha($rgba) * 100%
18
+ ),
19
+ rgb(255, 255, 255),
20
+ $opacity
21
+ );
22
+ }
23
+ @return mix(
24
+ rgb(red($rgba), green($rgba), blue($rgba)),
25
+ $background,
26
+ alpha($rgba) * 100%
27
+ );
28
+ }
29
+
30
+ $lc_mbHd: 2px;
31
+
32
+ /**
33
+ * 品牌色
34
+ * lc_mbColor_brand_*
35
+ * lc_mbColor_brand2_*
36
+ */
37
+ // sketch算法: 叠加9%黑色 color.mix($color_brand, black, 85.1%)
38
+ :root,
39
+ body {
40
+ --color_brand: #0273b0;
41
+ }
42
+ $color_brand: #315bf4;
43
+ $color_brand_map: (
44
+ normal: var(--lc_mbColor_brand_normal, $color_brand),
45
+ press: var(--lc_mbColor_brand_press, #2a4dd0),
46
+ 3: var(--lc_mbColor_brand_3, rgba($color_brand, 0.85)),
47
+ 4: var(--lc_mbColor_brand_4, rgba($color_brand, 0.65)),
48
+ 5: var(--lc_mbColor_brand_5, rgba($color_brand, 0.45)),
49
+ 6: var(--lc_mbColor_brand_6, rgba($color_brand, 0.25)),
50
+ 7: var(--lc_mbColor_brand_7, rgba($color_brand, 0.15)),
51
+ 8: var(--lc_mbColor_brand_8, rgba($color_brand, 0.09)),
52
+ 9: var(--lc_mbColor_brand_9, rgba($color_brand, 0.04)),
53
+ bg: var(--lc_mbColor_brand_bg, #f5f7fa),
54
+ );
55
+ $lc_mbColor_brand_normal: map-get($color_brand_map, normal);
56
+ $lc_mbColor_brand_press: map-get($color_brand_map, press);
57
+ $lc_mbColor_brand_3: var(--lc_mbColor_brand_3, map-get($color_brand_map, 3));
58
+ $lc_mbColor_brand_4: var(--lc_mbColor_brand_4, map-get($color_brand_map, 4));
59
+ $lc_mbColor_brand_5: var(--lc_mbColor_brand_5, map-get($color_brand_map, 5));
60
+ $lc_mbColor_brand_6: var(--lc_mbColor_brand_6, map-get($color_brand_map, 6));
61
+ $lc_mbColor_brand_7: var(--lc_mbColor_brand_7, map-get($color_brand_map, 7));
62
+ $lc_mbColor_brand_8: var(--lc_mbColor_brand_8, map-get($color_brand_map, 8));
63
+ $lc_mbColor_brand_9: var(--lc_mbColor_brand_9, map-get($color_brand_map, 9));
64
+ $lc_mbColor_brand_bg: var(--lc_mbColor_brand_bg, map-get($color_brand_map, bg));
65
+ @each $name, $value in $color_brand_map {
66
+ .lc_mbColor_brand_#{$name}_background {
67
+ background-color: $value;
68
+ }
69
+ .lc_mbColor_brand_#{$name} {
70
+ color: $value;
71
+ }
72
+ }
73
+
74
+ $color_brand2: #fe6010;
75
+ $color_brand2_map: (
76
+ normal: var(--lc_mbColor_brand2_normal, $color_brand2),
77
+ press: var(--lc_mbColor_brand2_press, #f25a0f),
78
+ 3: var(--lc_mbColor_brand2_3, rgba($color_brand2, 0.85)),
79
+ 4: var(--lc_mbColor_brand2_4, rgba($color_brand2, 0.65)),
80
+ 5: var(--lc_mbColor_brand2_5, rgba($color_brand2, 0.45)),
81
+ 6: var(--lc_mbColor_brand2_6, rgba($color_brand2, 0.25)),
82
+ 7: var(--lc_mbColor_brand2_7, rgba($color_brand2, 0.15)),
83
+ 8: var(--lc_mbColor_brand2_8, rgba($color_brand2, 0.09)),
84
+ 9: var(--lc_mbColor_brand2_9, rgba($color_brand2, 0.04)),
85
+ gradient_start: var(--lc_mbColor_brand2_gradient_start, #ff9f19),
86
+ gradient_start_press: var(--lc_mbColor_brand2_gradient_start, #ed902f),
87
+ gradient_start_disable:
88
+ var(--lc_mbColor_brand2_gradient_start, rgba(#ff9f19, 0.25)),
89
+ );
90
+ $lc_mbColor_brand2_normal: map-get($color_brand2_map, normal);
91
+ $lc_mbColor_brand2_press: map-get($color_brand2_map, press);
92
+ $lc_mbColor_brand2_3: var(--lc_mbColor_brand2_3, map-get($color_brand2_map, 3));
93
+ $lc_mbColor_brand2_4: var(--lc_mbColor_brand2_4, map-get($color_brand2_map, 4));
94
+ $lc_mbColor_brand2_5: var(--lc_mbColor_brand2_5, map-get($color_brand2_map, 5));
95
+ $lc_mbColor_brand2_6: var(--lc_mbColor_brand2_6, map-get($color_brand2_map, 6));
96
+ $lc_mbColor_brand2_7: var(--lc_mbColor_brand2_7, map-get($color_brand2_map, 7));
97
+ $lc_mbColor_brand2_8: var(--lc_mbColor_brand2_8, map-get($color_brand2_map, 8));
98
+ $lc_mbColor_brand2_9: var(--lc_mbColor_brand2_9, map-get($color_brand2_map, 9));
99
+ @each $name, $value in $color_brand2_map {
100
+ .lc_mbColor_brand2_#{$name}_background {
101
+ background-color: $value;
102
+ }
103
+ .lc_mbColor_brand2_#{$name} {
104
+ color: $value;
105
+ }
106
+ }
107
+
108
+ // 品牌渐变色
109
+ $lc_mbColor_gradient_270deg_brand2_normal: linear-gradient(
110
+ to right,
111
+ map-get($color_brand2_map, gradient_start),
112
+ map-get($color_brand2_map, normal)
113
+ );
114
+ $lc_mbColor_gradient_360deg_brand2_normal: linear-gradient(
115
+ to bottom,
116
+ map-get($color_brand2_map, gradient_start),
117
+ map-get($color_brand2_map, normal)
118
+ );
119
+ $lc_mbColor_gradient_315deg_brand2_normal: linear-gradient(
120
+ 315deg,
121
+ map-get($color_brand2_map, normal),
122
+ map-get($color_brand2_map, gradient_start)
123
+ );
124
+ $lc_mbColor_gradient_270deg_brand2_press: linear-gradient(
125
+ to right,
126
+ map-get($color_brand2_map, gradient_start_press),
127
+ map-get($color_brand2_map, press)
128
+ );
129
+ $lc_mbColor_gradient_360deg_brand2_press: linear-gradient(
130
+ to bottom,
131
+ map-get($color_brand2_map, gradient_start_press),
132
+ map-get($color_brand2_map, press)
133
+ );
134
+ $lc_mbColor_gradient_315deg_brand2_press: linear-gradient(
135
+ 315deg,
136
+ map-get($color_brand2_map, press),
137
+ map-get($color_brand2_map, gradient_start_press)
138
+ );
139
+ $lc_mbColor_gradient_270deg_brand2_disable: linear-gradient(
140
+ to right,
141
+ map-get($color_brand2_map, gradient_start_disable),
142
+ map-get($color_brand2_map, 6)
143
+ );
144
+ $lc_mbColor_gradient_360deg_brand2_disable: linear-gradient(
145
+ to bottom,
146
+ map-get($color_brand2_map, gradient_start_disable),
147
+ map-get($color_brand2_map, 6)
148
+ );
149
+ $lc_mbColor_gradient_315deg_brand2_disable: linear-gradient(
150
+ 315deg,
151
+ map-get($color_brand2_map, 6),
152
+ map-get($color_brand2_map, gradient_start_disable)
153
+ );
154
+ .lc_mbColor_gradient_270deg_brand2_normal {
155
+ background-image: $lc_mbColor_gradient_270deg_brand2_normal;
156
+ }
157
+ .lc_mbColor_gradient_360deg_brand2_normal {
158
+ background-image: $lc_mbColor_gradient_360deg_brand2_normal;
159
+ }
160
+ .lc_mbColor_gradient_315deg_brand2_normal {
161
+ background-image: $lc_mbColor_gradient_315deg_brand2_normal;
162
+ }
163
+ .lc_mbColor_gradient_270deg_brand2_press {
164
+ background-image: $lc_mbColor_gradient_270deg_brand2_press;
165
+ }
166
+ .lc_mbColor_gradient_360deg_brand2_press {
167
+ background-image: $lc_mbColor_gradient_360deg_brand2_press;
168
+ }
169
+ .lc_mbColor_gradient_315deg_brand2_press {
170
+ background-image: $lc_mbColor_gradient_360deg_brand2_press;
171
+ }
172
+ .lc_mbColor_gradient_270deg_brand2_disable {
173
+ background-image: $lc_mbColor_gradient_270deg_brand2_disable;
174
+ }
175
+ .lc_mbColor_gradient_360deg_brand2_disable {
176
+ background-image: $lc_mbColor_gradient_360deg_brand2_disable;
177
+ }
178
+ .lc_mbColor_gradient_315deg_brand2_disable {
179
+ background-image: $lc_mbColor_gradient_360deg_brand2_disable;
180
+ }
181
+
182
+ /**
183
+ * 金额色 lc_mbColor_price*
184
+ */
185
+ $lc_mbColor_price1: var(--lc_mbColor_price1, #fe6010);
186
+ $lc_mbColor_price2: var(--lc_mbColor_price2, #ff2f2f);
187
+ $lc_mbColor_price3: var(--lc_mbColor_price3, #b38555);
188
+ $lc_mbColor_price4: var(--lc_mbColor_price4, #262626);
189
+ $lc_mbColor_price5: var(--lc_mbColor_price5, #fff);
190
+ $lc_mbColor_price6: var(--lc_mbColor_price6, #ffd1a5);
191
+
192
+ .lc_mbColor_price1 {
193
+ color: $lc_mbColor_price1;
194
+ }
195
+ .lc_mbColor_price2 {
196
+ color: $lc_mbColor_price2;
197
+ }
198
+ .lc_mbColor_price3 {
199
+ color: $lc_mbColor_price3;
200
+ }
201
+ .lc_mbColor_price4 {
202
+ color: $lc_mbColor_price4;
203
+ }
204
+ .lc_mbColor_price5 {
205
+ color: $lc_mbColor_price5;
206
+ }
207
+ .lc_mbColor_price6 {
208
+ color: $lc_mbColor_price6;
209
+ }
210
+
211
+ /**
212
+ * 中性色
213
+ * lc_mbColor_neutral_*
214
+ */
215
+ $color_neutral_b: #000;
216
+ $color_neutral_map: (
217
+ b1: var(--lc_mbColor_neutral_b1, rgba-to-rgb(rgba($color_neutral_b, 0.85))),
218
+ b2: var(--lc_mbColor_neutral_b2, rgba-to-rgb(rgba($color_neutral_b, 0.65))),
219
+ b3: var(--lc_mbColor_neutral_b3, rgba-to-rgb(rgba($color_neutral_b, 0.45))),
220
+ b4: var(--lc_mbColor_neutral_b4, rgba-to-rgb(rgba($color_neutral_b, 0.25))),
221
+ b5: var(--lc_mbColor_neutral_b5, rgba-to-rgb(rgba($color_neutral_b, 0.15))),
222
+ b6: var(--lc_mbColor_neutral_b6, rgba-to-rgb(rgba($color_neutral_b, 0.09))),
223
+ b7: var(--lc_mbColor_neutral_b7, rgba-to-rgb(rgba($color_neutral_b, 0.04))),
224
+ b8: var(--lc_mbColor_neutral_b8, rgba-to-rgb(rgba($color_neutral_b, 0.02))),
225
+ );
226
+ $lc_mbColor_neutral_b1: map-get($color_neutral_map, b1);
227
+ $lc_mbColor_neutral_b2: map-get($color_neutral_map, b2);
228
+ $lc_mbColor_neutral_b3: map-get($color_neutral_map, b3);
229
+ $lc_mbColor_neutral_b4: map-get($color_neutral_map, b4);
230
+ $lc_mbColor_neutral_b5: map-get($color_neutral_map, b5);
231
+ $lc_mbColor_neutral_b6: map-get($color_neutral_map, b6);
232
+ $lc_mbColor_neutral_b7: map-get($color_neutral_map, b7);
233
+ $lc_mbColor_neutral_b8: map-get($color_neutral_map, b8);
234
+ @each $name, $value in $color_neutral_map {
235
+ .lc_mbColor_neutral_#{$name}_background {
236
+ background-color: $value;
237
+ }
238
+ .lc_mbColor_neutral_#{$name} {
239
+ color: $value;
240
+ }
241
+ }
242
+
243
+ $color_neutral_w: #fff;
244
+ $color_neutral_map: (
245
+ w1: var(--lc_mbColor_neutral_w1, rgba($color_neutral_w, 1)),
246
+ w2: var(--lc_mbColor_neutral_w2, rgba($color_neutral_w, 0.85)),
247
+ w3: var(--lc_mbColor_neutral_w3, rgba($color_neutral_w, 0.65)),
248
+ w4: var(--lc_mbColor_neutral_w4, rgba($color_neutral_w, 0.45)),
249
+ w5: var(--lc_mbColor_neutral_w5, rgba($color_neutral_w, 0.25)),
250
+ w6: var(--lc_mbColor_neutral_w6, rgba($color_neutral_w, 0.15)),
251
+ w7: var(--lc_mbColor_neutral_w7, rgba($color_neutral_w, 0.09)),
252
+ w8: var(--lc_mbColor_neutral_w8, rgba($color_neutral_w, 0.04)),
253
+ );
254
+ $lc_mbColor_neutral_w1: map-get($color_neutral_map, w1);
255
+ $lc_mbColor_neutral_w2: map-get($color_neutral_map, w2);
256
+ $lc_mbColor_neutral_w3: map-get($color_neutral_map, w3);
257
+ $lc_mbColor_neutral_w4: map-get($color_neutral_map, w4);
258
+ $lc_mbColor_neutral_w5: map-get($color_neutral_map, w5);
259
+ $lc_mbColor_neutral_w6: map-get($color_neutral_map, w6);
260
+ $lc_mbColor_neutral_w7: map-get($color_neutral_map, w7);
261
+ $lc_mbColor_neutral_w8: map-get($color_neutral_map, w8);
262
+ @each $name, $value in $color_neutral_map {
263
+ .lc_mbColor_neutral_#{$name}_background {
264
+ background-color: $value;
265
+ }
266
+ .lc_mbColor_neutral_#{$name} {
267
+ color: $value;
268
+ }
269
+ }
270
+
271
+ /**
272
+ * 功能色
273
+ * lc_mbColor_function_*
274
+ */
275
+ $color_error: #ff2f2f;
276
+ $color_error_map: (
277
+ normal: var(--lc_mbColor_error_normal, $color_error),
278
+ press: var(--lc_mb_yxColor_error_press, #d92828),
279
+ disable: var(--lc_mb_yxColor_error_disable, rgba($color_error, 0.15)),
280
+ lb: var(--lc_mb_yxColor_error_lb, rgba($color_error, 0.09)),
281
+ );
282
+ $lc_mbColor_error_normal: map-get($color_error_map, normal);
283
+ $lc_mbColor_error_press: map-get($color_error_map, press);
284
+ $lc_mbColor_error_disable: map-get($color_error_map, disable);
285
+ $lc_mbColor_error_lb: map-get($color_error_map, lb);
286
+ @each $name, $value in $color_error_map {
287
+ .lc_mbColor_error_#{$name}_background {
288
+ background-color: $value;
289
+ }
290
+ .lc_mbColor_error_#{$name} {
291
+ color: $value;
292
+ }
293
+ }
294
+
295
+ $color_warning: #ff910a;
296
+ $color_warning_map: (
297
+ normal: var(--lc_mbColor_warning_normal, $color_warning),
298
+ press: var(--lc_mb_yxColor_warning_press, #ed8429),
299
+ disable: var(--lc_mb_yxColor_warning_disable, rgba($color_warning, 0.15)),
300
+ lb: var(--lc_mb_yxColor_warning_lb, rgba($color_warning, 0.09)),
301
+ );
302
+ $lc_mbColor_warning_normal: map-get($color_warning_map, normal);
303
+ $lc_mbColor_warning_press: map-get($color_warning_map, press);
304
+ $lc_mbColor_warning_disable: map-get($color_warning_map, disable);
305
+ $lc_mbColor_warning_lb: map-get($color_warning_map, lb);
306
+ @each $name, $value in $color_warning_map {
307
+ .lc_mbColor_warning_#{$name}_background {
308
+ background-color: $value;
309
+ }
310
+ }
311
+
312
+ $color_success: #4cb94b;
313
+ $color_success_map: (
314
+ normal: var(--lc_mbColor_success_normal, $color_success),
315
+ press: var(--lc_mb_yxColor_success_press, #34a84b),
316
+ disable: var(--lc_mb_yxColor_success_disable, rgba($color_success, 0.15)),
317
+ lb: var(--lc_mb_yxColor_success_lb, rgba($color_success, 0.09)),
318
+ );
319
+ $lc_mbColor_success_normal: map-get($color_success_map, normal);
320
+ $lc_mbColor_success_press: map-get($color_success_map, press);
321
+ $lc_mbColor_success_disable: map-get($color_success_map, disable);
322
+ $lc_mbColor_success_lb: map-get($color_success_map, lb);
323
+ @each $name, $value in $color_success_map {
324
+ .lc_mbColor_success_#{$name}_background {
325
+ background-color: $value;
326
+ }
327
+ .lc_mbColor_success_#{$name} {
328
+ color: $value;
329
+ }
330
+ }
331
+
332
+ $color_link: #2c8ae8;
333
+ $color_link_map: (
334
+ normal: var(--lc_mbColor_link_normal, $color_link),
335
+ press: var(--lc_mb_yxColor_link_press, #287ed3),
336
+ disable: var(--lc_mb_yxColor_link_disable, rgba($color_link, 0.15)),
337
+ lb: var(--lc_mb_yxColor_link_lb, rgba($color_link, 0.09)),
338
+ );
339
+ $lc_mbColor_link_normal: map-get($color_link_map, normal);
340
+ $lc_mbColor_link_press: map-get($color_link_map, press);
341
+ $lc_mbColor_link_disable: map-get($color_link_map, disable);
342
+ $lc_mbColor_link_lb: map-get($color_link_map, lb);
343
+ @each $name, $value in $color_link_map {
344
+ .lc_mbColor_link_#{$name}_background {
345
+ background-color: $value;
346
+ }
347
+ .lc_mbColor_link_#{$name} {
348
+ color: $value;
349
+ }
350
+ }
351
+
352
+ /**
353
+ * 辅助色
354
+ * lc_mbColor_aux_*
355
+ */
356
+ $color_aux_1: #ffaa18;
357
+ $color_aux_1_map: (
358
+ 1: var(--lc_mbColor_aux_1_1, rgba($color_aux_1, 1)),
359
+ 2: var(--lc_mbColor_aux_1_2, rgba($color_aux_1, 0.85)),
360
+ 3: var(--lc_mbColor_aux_1_3, rgba($color_aux_1, 0.65)),
361
+ 4: var(--lc_mbColor_aux_1_4, rgba($color_aux_1, 0.45)),
362
+ 5: var(--lc_mbColor_aux_1_5, rgba($color_aux_1, 0.25)),
363
+ 6: var(--lc_mbColor_aux_1_6, rgba($color_aux_1, 0.15)),
364
+ 7: var(--lc_mbColor_aux_1_7, rgba($color_aux_1, 0.09)),
365
+ );
366
+ $lc_mbColor_aux_1_1: map-get($color_aux_1_map, 1);
367
+ $lc_mbColor_aux_1_2: map-get($color_aux_1_map, 2);
368
+ $lc_mbColor_aux_1_3: map-get($color_aux_1_map, 3);
369
+ $lc_mbColor_aux_1_4: map-get($color_aux_1_map, 4);
370
+ $lc_mbColor_aux_1_5: map-get($color_aux_1_map, 5);
371
+ $lc_mbColor_aux_1_6: map-get($color_aux_1_map, 6);
372
+ $lc_mbColor_aux_1_7: map-get($color_aux_1_map, 7);
373
+ @each $name, $value in $color_aux_1_map {
374
+ .lc_mbColor_aux_1_#{$name}_background {
375
+ background-color: $value;
376
+ }
377
+ .lc_mbColor_aux_1_#{$name} {
378
+ background-color: $value;
379
+ }
380
+ }
381
+
382
+ $color_aux_2: #00b578;
383
+ $color_aux_2_map: (
384
+ 1: var(--lc_mbColor_aux_2_1, rgba($color_aux_2, 1)),
385
+ 2: var(--lc_mbColor_aux_2_2, rgba($color_aux_2, 0.85)),
386
+ 3: var(--lc_mbColor_aux_2_3, rgba($color_aux_2, 0.65)),
387
+ 4: var(--lc_mbColor_aux_2_4, rgba($color_aux_2, 0.45)),
388
+ 5: var(--lc_mbColor_aux_2_5, rgba($color_aux_2, 0.25)),
389
+ 6: var(--lc_mbColor_aux_2_6, rgba($color_aux_2, 0.15)),
390
+ 7: var(--lc_mbColor_aux_2_7, rgba($color_aux_2, 0.09)),
391
+ );
392
+ $lc_mbColor_aux_2_1: map-get($color_aux_2_map, 1);
393
+ $lc_mbColor_aux_2_2: map-get($color_aux_2_map, 2);
394
+ $lc_mbColor_aux_2_3: map-get($color_aux_2_map, 3);
395
+ $lc_mbColor_aux_2_4: map-get($color_aux_2_map, 4);
396
+ $lc_mbColor_aux_2_5: map-get($color_aux_2_map, 5);
397
+ $lc_mbColor_aux_2_6: map-get($color_aux_2_map, 6);
398
+ $lc_mbColor_aux_2_7: map-get($color_aux_2_map, 7);
399
+ @each $name, $value in $color_aux_2_map {
400
+ .lc_mbColor_aux_2_#{$name}_background {
401
+ background-color: $value;
402
+ }
403
+ .lc_mbColor_aux_2_#{$name} {
404
+ background-color: $value;
405
+ }
406
+ }
407
+
408
+ $color_aux_3: #00c8d8;
409
+ $color_aux_3_map: (
410
+ 1: var(--lc_mbColor_aux_3_1, rgba($color_aux_3, 1)),
411
+ 2: var(--lc_mbColor_aux_3_2, rgba($color_aux_3, 0.85)),
412
+ 3: var(--lc_mbColor_aux_3_3, rgba($color_aux_3, 0.65)),
413
+ 4: var(--lc_mbColor_aux_3_4, rgba($color_aux_3, 0.45)),
414
+ 5: var(--lc_mbColor_aux_3_5, rgba($color_aux_3, 0.25)),
415
+ 6: var(--lc_mbColor_aux_3_6, rgba($color_aux_3, 0.15)),
416
+ 7: var(--lc_mbColor_aux_3_7, rgba($color_aux_3, 0.09)),
417
+ );
418
+ $lc_mbColor_aux_3_1: map-get($color_aux_3_map, 1);
419
+ $lc_mbColor_aux_3_2: map-get($color_aux_3_map, 2);
420
+ $lc_mbColor_aux_3_3: map-get($color_aux_3_map, 3);
421
+ $lc_mbColor_aux_3_4: map-get($color_aux_3_map, 4);
422
+ $lc_mbColor_aux_3_5: map-get($color_aux_3_map, 5);
423
+ $lc_mbColor_aux_3_6: map-get($color_aux_3_map, 6);
424
+ $lc_mbColor_aux_3_7: map-get($color_aux_3_map, 7);
425
+ @each $name, $value in $color_aux_3_map {
426
+ .lc_mbColor_aux_3_#{$name}_background {
427
+ background-color: $value;
428
+ }
429
+ .lc_mbColor_aux_3_#{$name} {
430
+ background-color: $value;
431
+ }
432
+ }
433
+
434
+ $color_aux_4: #1885f2;
435
+ $color_aux_4_map: (
436
+ 1: var(--lc_mbColor_aux_4_1, rgba($color_aux_4, 1)),
437
+ 2: var(--lc_mbColor_aux_4_2, rgba($color_aux_4, 0.85)),
438
+ 3: var(--lc_mbColor_aux_4_3, rgba($color_aux_4, 0.65)),
439
+ 4: var(--lc_mbColor_aux_4_4, rgba($color_aux_4, 0.45)),
440
+ 5: var(--lc_mbColor_aux_4_5, rgba($color_aux_4, 0.25)),
441
+ 6: var(--lc_mbColor_aux_4_6, rgba($color_aux_4, 0.15)),
442
+ 7: var(--lc_mbColor_aux_4_7, rgba($color_aux_4, 0.09)),
443
+ );
444
+ $lc_mbColor_aux_4_1: map-get($color_aux_4_map, 1);
445
+ $lc_mbColor_aux_4_2: map-get($color_aux_4_map, 2);
446
+ $lc_mbColor_aux_4_3: map-get($color_aux_4_map, 3);
447
+ $lc_mbColor_aux_4_4: map-get($color_aux_4_map, 4);
448
+ $lc_mbColor_aux_4_5: map-get($color_aux_4_map, 5);
449
+ $lc_mbColor_aux_4_6: map-get($color_aux_4_map, 6);
450
+ $lc_mbColor_aux_4_7: map-get($color_aux_4_map, 7);
451
+ @each $name, $value in $color_aux_4_map {
452
+ .lc_mbColor_aux_4_#{$name}_background {
453
+ background-color: $value;
454
+ }
455
+ .lc_mbColor_aux_4_#{$name} {
456
+ background-color: $value;
457
+ }
458
+ }
459
+
460
+ /**
461
+ * 标签色
462
+ * lc_mbColor_tag*
463
+ */
464
+ $color_tag_1: #ff2f2f;
465
+ $color_tag_2: #ffaa18;
466
+ $color_tag_3: #4cb94b;
467
+ $color_tag_4: #2c8ae8;
468
+ $color_tag_5: #fe6010;
469
+ $color_tag_6: #595959;
470
+
471
+ $lc_mbColor_tag1_dark: var(--lc_mbColor_tag1_dark, $color_tag_1);
472
+ $lc_mbColor_tag1_light: var(
473
+ --lc_mbColor_tag1_light,
474
+ rgba-to-rgb(rgba($color_tag_1, 0.09))
475
+ );
476
+ $lc_mbColor_tag2_dark: var(--lc_mbColor_tag2_dark, $color_tag_2);
477
+ $lc_mbColor_tag2_light: var(
478
+ --lc_mbColor_tag2_light,
479
+ rgba-to-rgb(rgba($color_tag_2, 0.09))
480
+ );
481
+ $lc_mbColor_tag3_dark: var(--lc_mbColor_tag3_dark, $color_tag_3);
482
+ $lc_mbColor_tag3_light: var(
483
+ --lc_mbColor_tag3_light,
484
+ rgba-to-rgb(rgba($color_tag_3, 0.09))
485
+ );
486
+ $lc_mbColor_tag4_dark: var(--lc_mbColor_tag4_dark, $color_tag_4);
487
+ $lc_mbColor_tag4_light: var(
488
+ --lc_mbColor_tag4_light,
489
+ rgba-to-rgb(rgba($color_tag_4, 0.09))
490
+ );
491
+ $lc_mbColor_tag5_dark: var(--lc_mbColor_tag5_dark, $color_tag_5);
492
+ $lc_mbColor_tag5_light: var(
493
+ --lc_mbColor_tag5_light,
494
+ rgba-to-rgb(rgba($color_tag_5, 0.09))
495
+ );
496
+ $lc_mbColor_tag6_dark: var(--lc_mbColor_tag6_dark, $color_tag_6);
497
+ $lc_mbColor_tag6_light: var(
498
+ --lc_mbColor_tag6_light,
499
+ rgba-to-rgb(rgba($color_tag_6, 0.04))
500
+ );
501
+
502
+ /**
503
+ * 字体
504
+ * lc_mbFont_*
505
+ * lc_mbText_*
506
+ */
507
+ $font_family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
508
+ "Helvetica Neue", Arial, "Microsoft YaHei", "Noto Sans", sans-serif,
509
+ "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
510
+
511
+ body {
512
+ font-family: $font_family;
513
+ font-size: 12px;
514
+ color: $lc_mbColor_neutral_b1;
515
+ }
516
+
517
+ $font_size_map: 16, 18, 20, 24, 28, 32, 36, 40, 44, 48, 56;
518
+
519
+ @each $size in $font_size_map {
520
+ // yxFont默认行高和字体一致
521
+ .lc_mbFont_size_#{$size} {
522
+ font-size: #{$size}px;
523
+ line-height: 1em;
524
+ }
525
+ // Text是带行高的
526
+ .lc_mbText_size_#{$size} {
527
+ font-size: #{$size}px;
528
+ line-height: #{$size}px;
529
+ }
530
+ }
531
+
532
+ $font_weight_map: (
533
+ light: 300,
534
+ regular: 400,
535
+ medium: 400,
536
+ semibold: 600,
537
+ );
538
+
539
+ @each $type, $value in $font_weight_map {
540
+ .lc_mbFont_weight_#{$type} {
541
+ font-weight: $value;
542
+ }
543
+ }
544
+
545
+ $number_font_family: DINAlternate-Bold;
546
+
547
+ .lc_mbFont_family_number {
548
+ font-family: $number_font_family;
549
+ }
550
+
551
+ /**
552
+ * 间距 lc_mbSpacing_*
553
+ */
554
+ $spacing_size_map: (
555
+ xl: 24,
556
+ lg: 16,
557
+ md: 12,
558
+ sm: 8,
559
+ xs: 4,
560
+ );
561
+
562
+ $spacing_direction_list: left, top, right, bottom;
563
+
564
+ @each $size, $value in $spacing_size_map {
565
+ .lc_mbSpacing_#{$size} {
566
+ padding: $value * $lc_mbHd;
567
+ }
568
+ .lc_mbSpacing_horizontal_#{$size} {
569
+ padding-left: $value * $lc_mbHd;
570
+ padding-right: $value * $lc_mbHd;
571
+ }
572
+ .lc_mbSpacing_vertical_#{$size} {
573
+ padding-top: $value * $lc_mbHd;
574
+ padding-bottom: $value * $lc_mbHd;
575
+ }
576
+ .lc_mbMargin_#{$size} {
577
+ margin: $value * $lc_mbHd;
578
+ }
579
+ @each $direction in $spacing_direction_list {
580
+ .lc_mbSpacing_#{$direction}_#{$size} {
581
+ padding-#{$direction}: $value * $lc_mbHd;
582
+ }
583
+ }
584
+ }
585
+
586
+ @mixin lc_mbFlex_gutter($type, $size) {
587
+ .lc_mbFlex_gutterHorizontal_#{$type} {
588
+ padding-left: calc(#{$size * $lc-mbHd} / 2);
589
+ padding-right: calc(#{$size * $lc-mbHd} / 2);
590
+ .lc-col {
591
+ margin-left: calc(#{$size * $lc-mbHd} / 2);
592
+ margin-right: calc(#{$size * $lc-mbHd} / 2);
593
+ }
594
+ }
595
+ .lc_mbFlex_gutterVertical_#{$type} {
596
+ > .lc-col {
597
+ margin-bottom: $size * $lc_mbHd;
598
+ }
599
+ }
600
+ }
601
+ @include lc_mbFlex_gutter($type: sm, $size: 8);
602
+ @include lc_mbFlex_gutter($type: md, $size: 16);
603
+ @include lc_mbFlex_gutter($type: lg, $size: 24);
604
+
605
+ /**
606
+ * 圆角 lc_mbRadio_*
607
+ */
608
+ $radius_size_map: (
609
+ xs: 2,
610
+ sm: 4,
611
+ md: 8,
612
+ lg: 16,
613
+ xl: 24,
614
+ circle: 9999,
615
+ );
616
+
617
+ @each $size, $value in $radius_size_map {
618
+ .lc_mbRadius_#{$size} {
619
+ overflow: hidden;
620
+ border-radius: $value * $lc_mbHd;
621
+ &:after {
622
+ border-radius: $value * $lc_mbHd;
623
+ }
624
+ }
625
+ }
626
+
627
+ /**
628
+ * 分割线 lc_mbDivider_*
629
+ */
630
+ .lc_mbDivider_horizontal {
631
+ width: 100%;
632
+ // @include hairline-bottom($color: $lc_mbColor_neutral_b6);
633
+ }
634
+ .lc_mbDivider_vertical {
635
+ height: 100%;
636
+ // @include hairline-left($color: $lc_mbColor_neutral_b6);
637
+ }
638
+
639
+ /**
640
+ * 边框 lc_mbBorder_*
641
+ */
642
+ $border_color_map: (
643
+ md: $lc_mbColor_neutral_b6,
644
+ lg: $lc_mbColor_neutral_b5,
645
+ badge: $lc_mbColor_neutral_w1,
646
+ dashed: $lc_mbColor_neutral_b4,
647
+ );
648
+
649
+ $border_size_map: (
650
+ md: 1px,
651
+ lg: 2px,
652
+ badge: 1px,
653
+ dashed: 1px,
654
+ );
655
+
656
+ $border_style_map: (
657
+ md: solid,
658
+ lg: solid,
659
+ badge: solid,
660
+ dashed: dashed,
661
+ );
662
+
663
+ $border_width_map: (
664
+ md: 1 + #{"PX"},
665
+ lg: 2px,
666
+ badge: 1 + #{"PX"},
667
+ dashed: 1 + #{"PX"},
668
+ );
669
+
670
+ @mixin lc_mbBorder_Factory($direction, $type) {
671
+ $color: map-get($border_color_map, $type);
672
+ $style: map-get($border_style_map, $type);
673
+ $width: map-get($border_width_map, $type);
674
+ .lc_mbBorder_#{$type}_#{$direction} {
675
+ @if ($direction == default) {
676
+ // @include hairline-surround($color, $style, $width);
677
+ }
678
+ @if ($direction == U) {
679
+ // @include hairline-top($color, $style, $width);
680
+ }
681
+ @if ($direction == D) {
682
+ // @include hairline-bottom($color, $style, $width);
683
+ }
684
+ @if ($direction == L) {
685
+ // @include hairline-left($color, $style, $width);
686
+ }
687
+ @if ($direction == R) {
688
+ // @include hairline-right($color, $style, $width);
689
+ }
690
+ @if ($direction == UD) {
691
+ // @include hairline-bottom($color, $style, $width);
692
+ &:after {
693
+ border-top-width: $width;
694
+ }
695
+ }
696
+ @if ($direction == LD) {
697
+ // @include hairline-bottom($color, $style, $width);
698
+ &:after {
699
+ border-left-width: $width;
700
+ }
701
+ }
702
+ @if ($direction == LRD) {
703
+ // @include hairline-bottom($color, $style, $width);
704
+ &:after {
705
+ border-left-width: $width;
706
+ border-right-width: $width;
707
+ }
708
+ }
709
+ }
710
+ }
711
+
712
+ @each $type in md, lg, dashed, badge {
713
+ @each $direction in default, U, D, L, R, UD, LD, LRD {
714
+ @include lc_mbBorder_Factory($direction, $type);
715
+ }
716
+ }
717
+
718
+ /**
719
+ * 投影 lc_mbShadow_*
720
+ */
721
+ $lc_mbShadow_size_map: (
722
+ sm: 2,
723
+ md: 4,
724
+ lg: 8,
725
+ );
726
+
727
+ $lc_mbShadow_size_color_map: (
728
+ sm: $lc_mbColor_neutral_b7,
729
+ md: $lc_mbColor_neutral_b6,
730
+ lg: $lc_mbColor_neutral_b5,
731
+ );
732
+
733
+ @each $type, $size in $lc_mbShadow_size_map {
734
+ $size1: $size * 1px;
735
+ $size2: $size * 2px;
736
+ $size3: $size * 4px;
737
+ $size4: $size * 8px;
738
+ .lc_mbShadow_float_L_size_#{$type} {
739
+ box-shadow: -#{$size3}
740
+ 0
741
+ #{$size4}
742
+ 0
743
+ map-get($lc_mbShadow_size_color_map, $type);
744
+ }
745
+ .lc_mbShadow_float_R_size_#{$type} {
746
+ box-shadow: #{$size3}
747
+ 0
748
+ #{$size4}
749
+ 0
750
+ map-get($lc_mbShadow_size_color_map, $type);
751
+ }
752
+ .lc_mbShadow_float_U_size_#{$type} {
753
+ box-shadow: 0
754
+ #{$size3}
755
+ #{$size4}
756
+ 0
757
+ map-get($lc_mbShadow_size_color_map, $type);
758
+ }
759
+ .lc_mbShadow_float_D_size_#{$type} {
760
+ box-shadow: 0 -#{$size3}
761
+ #{$size4}
762
+ 0
763
+ map-get($lc_mbShadow_size_color_map, $type);
764
+ }
765
+ .lc_mbShadow_float_all_size_#{$type} {
766
+ box-shadow: 0 0 #{$size4} 0 map-get($lc_mbShadow_size_color_map, $type);
767
+ }
768
+ }
769
+
770
+ /**
771
+ * taro-ui样式变量
772
+ */
773
+ $hd: 1 !default; // 基本单位
774
+
775
+ /* The Color of O2Team Brand */
776
+ $color-brand: #6190e8 !default;
777
+ $color-brand-light: #78a4f4 !default;
778
+ $color-brand-dark: #346fc2 !default;
779
+
780
+ /* Color */
781
+ $color-success: #13ce66 !default;
782
+ $color-error: #ff4949 !default;
783
+ $color-warning: #ffc82c !default;
784
+ $color-info: #78a4fa !default;
785
+
786
+ /* Color Palette */
787
+ $color-black-0: #000 !default;
788
+ $color-black-1: #333 !default;
789
+ $color-black-2: #7f7f7f !default;
790
+ $color-black-3: #b2b2b2 !default;
791
+
792
+ $color-grey-0: #333 !default;
793
+ $color-grey-1: #666 !default;
794
+ $color-grey-2: #999 !default;
795
+ $color-grey-3: #ccc !default;
796
+ $color-grey-4: #e5e5e5 !default;
797
+ $color-grey-5: #f0f0f0 !default;
798
+ $color-grey-6: #f7f7f7 !default;
799
+
800
+ $color-white: #fff !default;
801
+
802
+ /* Text Color */
803
+ $color-text-base: #333 !default; // 文字的基本色
804
+ $color-text-base-inverse: #fff !default; // 反色
805
+ $color-text-secondary: #36d57d !default; // 辅助色
806
+ $color-text-placeholder: #c9c9c9 !default;
807
+ $color-text-disabled: #ccc !default;
808
+ $color-text-title: #2c405a !default; // 文章标题
809
+ $color-text-paragraph: #3f536e !default; // 文章段落
810
+
811
+ /* Link */
812
+ $color-link: #6190e8 !default;
813
+ $color-link-hover: #79a1eb !default;
814
+ $color-link-active: #4f7de2 !default;
815
+ $color-link-disabled: #bfbfbf !default;
816
+
817
+ /* 背景色 */
818
+ $color-bg: #fff !default;
819
+ $color-bg-base: #fafbfc !default;
820
+ $color-bg-light: #ecf5fd !default;
821
+ $color-bg-lighter: tint($color-bg-light, 50%) !default;
822
+ $color-bg-grey: #f7f7f7 !default;
823
+
824
+ /* 边框颜色 */
825
+ $color-border-base: #c5d9e8 !default;
826
+ $color-border-split: tint($color-border-base, 20%) !default; // 分割线
827
+ $color-border-light: tint($color-border-base, 30%) !default;
828
+ $color-border-lighter: tint($color-border-base, 50%) !default;
829
+ $color-border-lightest: tint($color-border-base, 80%) !default;
830
+ $color-border-grey: #ccc !default;
831
+
832
+ /* 图标颜色 */
833
+ $color-icon-base: #ccc !default;
834
+
835
+ /* Border Radius */
836
+ $border-radius-sm: 2px * $hd !default;
837
+ $border-radius-md: 4px * $hd !default;
838
+ $border-radius-lg: 6px * $hd !default;
839
+ $border-radius-circle: 50% !default;
840
+
841
+ /* 透明度 */
842
+ $opacity-active: 0.6 !default; // Button 等组件点击态额透明度
843
+ $opacity-disabled: 0.3 !default; // Button 等组件禁用态的透明度
844
+
845
+ /* Font */
846
+ $font-size-xs: 10px * $hd !default; // 非常用字号,用于标签 //正文
847
+ $font-size-sm: 12px * $hd !default; // 用于辅助信息 //修改标题
848
+ $font-size-base: 14px * $hd !default; // 常用字号
849
+ $font-size-lg: 16px * $hd !default; // 常规标题
850
+ $font-size-xl: 18px * $hd !default; // 大标题
851
+ $font-size-xxl: 20px * $hd !default; // 用于大号的数字
852
+
853
+ /* Line Height */
854
+ $line-height-base: 1 !default; // 单行
855
+ $line-height-en: 1.3 !default; // 英文多行
856
+ $line-height-zh: 1.5 !default; // 中文多行
857
+
858
+ /* 水平间距 */
859
+ $spacing-h-sm: 5px * $hd !default;
860
+ $spacing-h-md: 8px * $hd !default;
861
+ $spacing-h-lg: 12px * $hd !default;
862
+ $spacing-h-xl: 16px * $hd !default;
863
+
864
+ /* 垂直间距 */
865
+ $spacing-v-xs: 3px * $hd !default;
866
+ $spacing-v-sm: 6px * $hd !default;
867
+ $spacing-v-md: 9px * $hd !default;
868
+ $spacing-v-lg: 12px * $hd !default;
869
+ $spacing-v-xl: 15px * $hd !default;
870
+
871
+ /* 图标尺寸 */
872
+ $icon-size-sm: 18px * $hd !default;
873
+ $icon-size-md: 22px * $hd !default;
874
+ $icon-size-lg: 36px * $hd !default;
875
+
876
+ /* z-index */
877
+ $zindex-divider: 100 !default;
878
+ $zindex-steps: 500 !default;
879
+ $zindex-tab: 600 !default;
880
+ $zindex-form: 700 !default;
881
+ $zindex-nav: 800 !default;
882
+ $zindex-search-bar: 800 !default;
883
+ $zindex-indexes: 805 !default;
884
+ $zindex-flot-layout: 810 !default;
885
+ $zindex-drawer: 900 !default;
886
+ $zindex-modal: 1000 !default;
887
+ $zindex-action-sheet: 1010 !default;
888
+ $zindex-picker: 1010 !default;
889
+ $zindex-curtain: 1080 !default;
890
+ $zindex-message: 1090 !default;
891
+ $zindex-toast: 1090 !default;
892
+
893
+ /* timing function */
894
+ $timing-func: cubic-bezier(0.36, 0.66, 0.04, 1) !default;
895
+
896
+ /**
897
+ * CSS cubic-bezier timing functions
898
+ * http://bourbon.io/docs/#timing-functions
899
+ */
900
+ $ease-in-quad: cubic-bezier(0.55, 0.085, 0.68, 0.53) !default;
901
+ $ease-in-cubic: cubic-bezier(0.55, 0.055, 0.675, 0.19) !default;
902
+ $ease-in-quart: cubic-bezier(0.895, 0.03, 0.685, 0.22) !default;
903
+ $ease-in-quint: cubic-bezier(0.755, 0.05, 0.855, 0.06) !default;
904
+ $ease-in-sine: cubic-bezier(0.47, 0, 0.745, 0.715) !default;
905
+ $ease-in-expo: cubic-bezier(0.95, 0.05, 0.795, 0.035) !default;
906
+ $ease-in-circ: cubic-bezier(0.6, 0.04, 0.98, 0.335) !default;
907
+ $ease-in-back: cubic-bezier(0.6, -0.28, 0.735, 0.045) !default;
908
+
909
+ $ease-out-quad: cubic-bezier(0.25, 0.46, 0.45, 0.94) !default;
910
+ $ease-out-cubic: cubic-bezier(0.215, 0.61, 0.355, 1) !default;
911
+ $ease-out-quart: cubic-bezier(0.165, 0.84, 0.44, 1) !default;
912
+ $ease-out-quint: cubic-bezier(0.23, 1, 0.32, 1) !default;
913
+ $ease-out-sine: cubic-bezier(0.39, 0.575, 0.565, 1) !default;
914
+ $ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1) !default;
915
+ $ease-out-circ: cubic-bezier(0.075, 0.82, 0.165, 1) !default;
916
+ $ease-out-back: cubic-bezier(0.175, 0.885, 0.32, 1.275) !default;
917
+
918
+ $ease-in-out-quad: cubic-bezier(0.455, 0.03, 0.515, 0.955) !default;
919
+ $ease-in-out-cubic: cubic-bezier(0.645, 0.045, 0.355, 1) !default;
920
+ $ease-in-out-quart: cubic-bezier(0.77, 0, 0.175, 1) !default;
921
+ $ease-in-out-quint: cubic-bezier(0.86, 0, 0.07, 1) !default;
922
+ $ease-in-out-sine: cubic-bezier(0.445, 0.05, 0.55, 0.95) !default;
923
+ $ease-in-out-expo: cubic-bezier(1, 0, 0, 1) !default;
924
+ $ease-in-out-circ: cubic-bezier(0.785, 0.135, 0.15, 0.86) !default;
925
+ $ease-in-out-back: cubic-bezier(0.68, -0.55, 0.265, 1.55) !default;
926
+
927
+ /**
928
+ * 组件变量
929
+ */
930
+
931
+ /* Accordion */
932
+ $at-accordion-color-arrow: $color-grey-3 !default;
933
+
934
+ /* Activity Indicator */
935
+ $at-activity-indicator-font-size: 28px !default;
936
+ $at-activity-indicator-font-color: $color-grey-2 !default;
937
+
938
+ /* Avatar */
939
+ $at-avatar-color: $color-white !default;
940
+ $at-avatar-bg-color: $color-grey-4 !default;
941
+ $at-avatar-size-sm: 80px !default;
942
+ $at-avatar-size-md: 100px !default;
943
+ $at-avatar-size-lg: 120px !default;
944
+
945
+ /* Badge */
946
+ $at-badge-color: $color-white !default;
947
+ $at-badge-bg-color: $color-error !default;
948
+ $at-badge-bg: $at-badge-bg-color !default;
949
+ $at-badge-font-size: $font-size-xs !default;
950
+ $at-badge-dot-size: 20px !default;
951
+
952
+ /* Button */
953
+ $at-button-height: 92px !default;
954
+ $at-button-height-sm: 60px !default;
955
+ $at-button-color: $color-brand !default;
956
+ $at-button-border-color-primary: $color-brand !default;
957
+ $at-button-border-color-secondary: $color-brand !default;
958
+ $at-button-bg: $at-button-color !default;
959
+
960
+ /* Float Button */
961
+ $at-fab-size: 56px * $hd !default;
962
+ $at-fab-size-sm: 40px * $hd !default;
963
+ $at-fab-icon-size: 24px * $hd !default;
964
+ $at-fab-bg-color: $color-brand;
965
+ $at-fab-bg-color-active: $color-brand-dark;
966
+ $at-fab-box-shadow: 0 6px 10px -2px rgba(0, 0, 0, 0.2),
967
+ 0 12px 20px 0 rgba(0, 0, 0, 0.14), 0 2px 36px 0 rgba(0, 0, 0, 0.12) !default;
968
+ $at-fab-box-shadow-active: 0 14px 16px -8px rgba(0, 0, 0, 0.2),
969
+ 0 24px 34px 4px rgba(0, 0, 0, 0.14), 0 10px 44px 8px rgba(0, 0, 0, 0.12) !default;
970
+
971
+ /* Calendar */
972
+ $at-calendar-day-size: 72px !default;
973
+ $at-calendar-mark-size: 8px !default;
974
+ $at-calendar-header-color: #b8bfc6 !default;
975
+ $at-calendar-main-color: $color-brand !default;
976
+ $at-calendar-day-color: #7c86a2 !default;
977
+
978
+ /* Card */
979
+ $at-card-thumb-size: 32px !default;
980
+ $at-card-icon-size: 32px !default;
981
+ $at-card-title-color: $color-text-title !default;
982
+ $at-card-extra-color: $color-text-title !default;
983
+ $at-card-info-color: $color-text-base !default;
984
+ $at-card-note-color: $color-grey-2 !default;
985
+
986
+ /* Checkbox */
987
+ $at-checkbox-circle-size: 40px !default;
988
+ $at-checkbox-icon-size: $font-size-sm !default;
989
+ $at-checkbox-icon-color: $color-brand !default;
990
+ $at-checkbox-icon-color-checked: $color-white !default;
991
+ $at-checkbox-title-color: $color-text-base !default;
992
+ $at-checkbox-title-font-size: $font-size-lg !default;
993
+ $at-checkbox-desc-font-size: $font-size-sm !default;
994
+ $at-checkbox-desc-color: $color-grey-2 !default;
995
+
996
+ /* Countdown */
997
+ $at-countdown-font-size: $font-size-lg !default;
998
+ $at-countdown-num-color: $color-text-base !default;
999
+ $at-countdown-card-num-color: #ff4949 !default;
1000
+ $at-countdown-card-num-bg-color: $color-white !default;
1001
+
1002
+ /* Curtain */
1003
+ $at-curtain-btn-color: $color-white !default;
1004
+
1005
+ /* Divider */
1006
+ $at-divider-height: 112px;
1007
+ $at-divider-content-color: $color-brand !default;
1008
+ $at-divider-font-size: $font-size-lg !default;
1009
+ $at-divider-line-color: $color-grey-3 !default;
1010
+
1011
+ /* Drawer */
1012
+ $at-drawer-content-width: 460px !default;
1013
+
1014
+ /* FloatLayout */
1015
+ $float-layout-height-min: 600px !default;
1016
+ $float-layout-height-max: 950px !default;
1017
+ $float-layout-header-bg-color: $color-bg-grey !default;
1018
+ $float-layout-title-color: $color-text-base !default;
1019
+ $float-layout-title-font-size: $font-size-lg !default;
1020
+ $float-layout-btn-color: $color-grey-3 !default;
1021
+
1022
+ /* Grid */
1023
+ $at-grid-text-color: $color-text-base !default;
1024
+ $at-grid-font-size: $font-size-lg !default;
1025
+ $at-grid-img-size: 80px !default;
1026
+ $at-gird-img-size-sm: 50px !default;
1027
+
1028
+ /* ImagePicker */
1029
+ $at-image-picker-btn-add-color: $color-grey-3 !default;
1030
+ $at-image-picker-btn-remove-color: $color-white !default;
1031
+ $at-image-picker-btn-remove-bg-color: $color-grey-2 !default;
1032
+
1033
+ /* Indexes */
1034
+ $at-indexes-nav-color: $color-link !default;
1035
+ $at-indexes-nav-font-size: $font-size-sm !default;
1036
+ $at-indexes-title-color: $color-black-2 !default;
1037
+ $at-indexes-title-font-size: $font-size-sm !default;
1038
+ $at-indexes-title-bg-color: $color-grey-6 !default;
1039
+
1040
+ /* InputNumber */
1041
+ $at-input-number-text-color: $color-text-base !default;
1042
+ $at-input-number-font-size: $font-size-base !default;
1043
+ $at-input-number-font-size-lg: $font-size-xl !default;
1044
+ $at-input-number-btn-color: $color-brand !default;
1045
+ $at-input-number-btn-size: 30px !default;
1046
+ $at-input-number-btn-size-lg: 36px !default;
1047
+ $at-input-number-width-min: 80px !default;
1048
+ $at-input-number-width-min-lg: 120px !default;
1049
+
1050
+ /* Input */
1051
+ $at-input-label-color: $color-text-base !default;
1052
+ $at-input-text-color: $color-text-base !default;
1053
+ $at-input-font-size: $font-size-lg !default;
1054
+ $at-input-placeholder-color: $color-grey-3 !default;
1055
+
1056
+ /* List */
1057
+ $at-list-thumb-size: 56px !default;
1058
+ $at-list-arrow-color: $color-grey-3 !default;
1059
+ $at-list-text-color: $color-text-base !default;
1060
+ $at-list-content-color: $color-grey-2 !default;
1061
+ $at-list-extra-color: $color-grey-2 !default;
1062
+ $at-list-extra-width: 235px !default;
1063
+
1064
+ /* LoadMore */
1065
+ $at-load-more-height: 80px !default;
1066
+ $at-load-more-tips-color: $color-grey-1 !default;
1067
+ $at-load-more-tips-size: $font-size-lg !default;
1068
+
1069
+ /* Loading */
1070
+ $at-loading-size: 36px !default;
1071
+ $at-loading-color: $color-brand !default;
1072
+
1073
+ /* Message */
1074
+ $at-message-color: $color-white !default;
1075
+ $at-message-font-size: $font-size-base !default;
1076
+ $at-message-bg-color: $color-info !default;
1077
+
1078
+ /* Modal */
1079
+ $at-modal-width: 540px !default;
1080
+ $at-modal-header-text-color: $color-text-base !default;
1081
+ $at-modal-content-text-color: $color-text-base !default;
1082
+ $at-modal-btn-default-color: $color-text-base !default;
1083
+ $at-modal-btn-confirm-color: $color-brand !default;
1084
+ $at-modal-bg-color: $color-white !default;
1085
+
1086
+ /* NavBar */
1087
+ $at-nav-bar-title-color: $color-text-base !default;
1088
+ $at-nav-bar-link-color: $color-brand !default;
1089
+
1090
+ /* NoticeBar */
1091
+ $at-noticebar-text-color: #de8c17 !default;
1092
+ $at-noticebar-bg-color: #fcf6ed !default;
1093
+ $at-noticebar-font-size: $font-size-sm !default;
1094
+ $at-noticebar-icon-size: 30px !default;
1095
+ $at-noticebar-btn-close-size: 32px !default;
1096
+ $at-noticebar-btn-close-color: $color-grey-3 !default;
1097
+
1098
+ /* Pagination */
1099
+ $at-pagination-margin: 40px !default;
1100
+ $at-pagination-num-color: $color-text-base !default;
1101
+ $at-pagination-num-font-size: $font-size-base !default;
1102
+ $at-pagination-current-num-color: $color-brand !default;
1103
+ $at-pagination-icon-color: $color-text-base !default;
1104
+ $at-pagination-icon-font-size: 32px !default;
1105
+
1106
+ /* Progress */
1107
+ $at-progress-height: 16px !default;
1108
+ $at-progress-text-size: $font-size-sm !default;
1109
+ $at-progress-icon-size: $font-size-xl !default;
1110
+ $at-progress-inner-bg-color: $color-grey-6 !default;
1111
+ $at-progress-bar-bg-color: $color-brand-light !default;
1112
+ $at-progress-bar-bg-color-active: $color-white !default;
1113
+
1114
+ /* Radio */
1115
+ $at-radio-title-color: $color-text-base !default;
1116
+ $at-radio-title-size: $font-size-lg !default;
1117
+ $at-radio-desc-color: $color-grey-2 !default;
1118
+ $at-radio-desc-size: $font-size-sm !default;
1119
+ $at-radio-check-color: $color-brand !default;
1120
+
1121
+ /* Range */
1122
+ $at-range-slider-size: 28px !default;
1123
+ $at-range-rail-height: 2px !default;
1124
+ $at-range-rail-bg-color: #e9e9e9 !default;
1125
+ $at-range-track-bg-color: $color-brand !default;
1126
+ $at-range-slider-color: $color-white !default;
1127
+ $at-range-slider-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.2) !default;
1128
+
1129
+ /* Rate */
1130
+ $at-rate-icon-size: 20px !default;
1131
+ $at-rate-star-color: #ececec !default;
1132
+ $at-rate-star-color-on: #ffca3e !default;
1133
+
1134
+ /* SearchBar */
1135
+ $at-search-bar-btn-color: $color-white !default;
1136
+ $at-search-bar-btn-bg-color: $color-brand !default;
1137
+
1138
+ /* SegmentedControl */
1139
+ $at-segmented-control-color: $color-brand !default;
1140
+ $at-segmented-control-color-active: $color-white !default;
1141
+ $at-segmented-control-bg-color: transparent !default;
1142
+ $at-segmented-control-font-size: $font-size-base !default;
1143
+
1144
+ /* Slider */
1145
+ $at-slider-text-color: $color-grey-2 !default;
1146
+ $at-slider-text-size: $font-size-base !default;
1147
+
1148
+ /* Steps */
1149
+ $at-steps-circle-size: 56px !default;
1150
+ $at-steps-icon-size: $font-size-sm !default;
1151
+ $at-steps-color: $color-white !default;
1152
+ $at-steps-color-active: $color-grey-2 !default;
1153
+ $at-steps-bg-color: $color-grey-4 !default;
1154
+ $at-steps-bg-color-active: $color-brand !default;
1155
+ $at-steps-line-color: $color-grey-3 !default;
1156
+ $at-steps-title-color: $color-black-0 !default;
1157
+ $at-steps-title-size: $font-size-lg !default;
1158
+ $at-steps-desc-color: $color-grey-3 !default;
1159
+ $at-steps-desc-size: $font-size-sm !default;
1160
+
1161
+ /* SwipeAction */
1162
+ $at-swipe-action-color: $color-white !default;
1163
+ $at-swipe-action-font-size: $font-size-base !default;
1164
+ $at-swipe-action-bg-color: $color-white !default;
1165
+ $at-swipe-action-option-bg-color: $color-grey-2 !default;
1166
+
1167
+ /* Switch */
1168
+ $at-switch-title-color: $color-text-base !default;
1169
+ $at-switch-title-size: $font-size-base !default;
1170
+
1171
+ /* TabBar */
1172
+ $at-tab-bar-bg-color: $color-white !default;
1173
+ $at-tab-bar-color: $color-text-base !default;
1174
+ $at-tab-bar-color-active: $color-brand !default;
1175
+ $at-tab-bar-font-size: $font-size-base !default;
1176
+ $at-tab-bar-icon-color: $color-grey-0 !default;
1177
+ $at-tab-bar-icon-font-size: 48px !default;
1178
+ $at-tab-bar-icon-image-size: 50px !default;
1179
+
1180
+ /* Tabs */
1181
+ $at-tabs-color: $color-text-base !default;
1182
+ $at-tabs-color-active: $color-brand !default;
1183
+ $at-tabs-font-size: $font-size-base !default;
1184
+ $at-tabs-line-height: 1px !default;
1185
+ $at-tabs-underline-color: $color-grey-5 !default;
1186
+ $at-tabs-bg-color: $color-bg !default;
1187
+
1188
+ /* Tag */
1189
+ $at-tag-height: 60px !default;
1190
+ $at-tag-height-sm: 40px !default;
1191
+ $at-tag-color: $color-grey-1 !default;
1192
+ $at-tag-color-primary: $color-grey-1 !default;
1193
+ $at-tag-color-active: $color-brand-light !default;
1194
+ $at-tag-color-primary-active: $color-text-base-inverse !default;
1195
+ $at-tag-font-size: $font-size-base !default;
1196
+ $at-tag-font-size-sm: $font-size-xs !default;
1197
+ $at-tag-bg-color: $color-bg-grey !default;
1198
+ $at-tag-bg-color-primary: $color-bg-grey !default;
1199
+ $at-tag-bg-color-active: $color-white !default;
1200
+ $at-tag-bg-color-primary-active: $at-tag-color-active !default;
1201
+ $at-tag-border-color: $at-tag-bg-color !default;
1202
+ $at-tag-border-color-primary: $at-tag-bg-color !default;
1203
+ $at-tag-border-color-active: $at-tag-color-active !default;
1204
+
1205
+ /* Textarea */
1206
+ $at-textarea-font-size: $font-size-lg !default;
1207
+ $at-textarea-tips-color: $color-text-placeholder !default;
1208
+ $at-textarea-tips-size: $font-size-base !default;
1209
+
1210
+ /* Timeline */
1211
+ $at-timeline-offset-left: 40px !default;
1212
+ $at-timeline-title-color: $color-grey-0 !default;
1213
+ $at-timeline-title-font-size: $font-size-base !default;
1214
+ $at-timeline-desc-color: $color-grey-1 !default;
1215
+ $at-timeline-desc-font-size: $font-size-sm !default;
1216
+ $at-timeline-dot-size: 24px !default;
1217
+ $at-timeline-dot-color: $color-bg !default;
1218
+ $at-timeline-dot-border-color: $color-brand-light !default;
1219
+ $at-timeline-line-color: $color-border-lighter !default;