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

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 (170) hide show
  1. package/config/config.js +51 -51
  2. package/config/env.js +4 -4
  3. package/config/index.js +7 -7
  4. package/config/themes/atrovirens/atrovirens.less +667 -667
  5. package/config/themes/atrovirens/var.less +674 -674
  6. package/config/themes/blue/blue.less +669 -669
  7. package/config/themes/blue/var.less +677 -677
  8. package/config/themes/blue-white/blue-white.less +669 -669
  9. package/config/themes/blue-white/var.less +676 -676
  10. package/config/themes/blue-white-tight/blue-white-tight.less +672 -672
  11. package/config/themes/blue-white-tight/var.less +677 -677
  12. package/config/themes/danqing/danqing.less +668 -668
  13. package/config/themes/danqing/danqing.wxss +572 -572
  14. package/config/themes/danqing/var.less +679 -679
  15. package/config/themes/deep/deep.less +669 -669
  16. package/config/themes/deep/var.less +677 -677
  17. package/config/themes/default/default.less +671 -671
  18. package/config/themes/default/var.less +677 -677
  19. package/config/themes/eap/eap.less +671 -671
  20. package/config/themes/eap/var.less +677 -677
  21. package/config/themes/gold/gold.less +671 -671
  22. package/config/themes/gold/var.less +677 -677
  23. package/config/themes/index.js +28 -28
  24. package/config/themes/lime/lime.less +671 -671
  25. package/config/themes/lime/var.less +678 -678
  26. package/config/themes/orange/orange.less +671 -671
  27. package/config/themes/orange/var.less +678 -678
  28. package/config/themes/red/red.less +671 -671
  29. package/config/themes/red/var.less +677 -677
  30. package/config/themes/theme-atrovirens.js +558 -558
  31. package/config/themes/theme-blue.js +558 -558
  32. package/config/themes/theme-bw.js +558 -558
  33. package/config/themes/theme-bwt.js +559 -559
  34. package/config/themes/theme-danqing.js +558 -558
  35. package/config/themes/theme-deep.js +558 -558
  36. package/config/themes/theme-default.js +558 -558
  37. package/config/themes/theme-eap.js +558 -558
  38. package/config/themes/theme-gold.js +558 -558
  39. package/config/themes/theme-lime.js +558 -558
  40. package/config/themes/theme-orange.js +559 -559
  41. package/config/themes/theme-red.js +558 -558
  42. package/config/themes/theme-white.js +557 -557
  43. package/config/themes/white/var.less +675 -675
  44. package/config/themes/white/white.less +668 -668
  45. package/directives/index.js +23 -23
  46. package/directives/module/draggable.js +56 -56
  47. package/directives/module/permission.js +49 -49
  48. package/directives/module/print.js +1 -1
  49. package/directives/module/vue-print-nb/README.md +63 -63
  50. package/directives/module/vue-print-nb/print.js +94 -94
  51. package/directives/module/vue-print-nb/printarea.js +532 -532
  52. package/index.js +10 -10
  53. package/nstyles/common.less +197 -197
  54. package/nstyles/components/404.less +46 -46
  55. package/nstyles/components/button.less +34 -34
  56. package/nstyles/components/date-picker.less +37 -37
  57. package/nstyles/components/drawer.less +20 -20
  58. package/nstyles/components/dropdown.less +18 -18
  59. package/nstyles/components/excel-flow.less +72 -72
  60. package/nstyles/components/form.less +313 -313
  61. package/nstyles/components/index.less +23 -23
  62. package/nstyles/components/layout/collect.less +10 -10
  63. package/nstyles/components/layout/detail-view.less +107 -107
  64. package/nstyles/components/layout/full-screen.less +7 -7
  65. package/nstyles/components/layout/index.less +7 -7
  66. package/nstyles/components/layout/other-menu.less +142 -142
  67. package/nstyles/components/layout/page-view.less +101 -101
  68. package/nstyles/components/layout/sider-trigger.less +41 -41
  69. package/nstyles/components/layout/tags-nav.less +113 -113
  70. package/nstyles/components/modal.less +85 -85
  71. package/nstyles/components/n-button.less +131 -131
  72. package/nstyles/components/n-image-preview.less +131 -131
  73. package/nstyles/components/n-model/index.less +19 -19
  74. package/nstyles/components/n-model/report-index.less +43 -43
  75. package/nstyles/components/n-panel.less +40 -40
  76. package/nstyles/components/n-picker.less +37 -37
  77. package/nstyles/components/n-sign.less +17 -17
  78. package/nstyles/components/n-tooltip.less +10 -10
  79. package/nstyles/components/panel.less +31 -31
  80. package/nstyles/components/select.less +3 -3
  81. package/nstyles/components/sign.less +27 -27
  82. package/nstyles/components/table.less +315 -315
  83. package/nstyles/components/tree.less +158 -158
  84. package/nstyles/components/upload.less +164 -164
  85. package/nstyles/index.less +5 -5
  86. package/nstyles/reset.less +65 -65
  87. package/nstyles/third/ag.less +174 -174
  88. package/nstyles/third/index.less +11 -11
  89. package/nstyles/third/view-design.less +366 -366
  90. package/nstyles/variables/base.less +143 -143
  91. package/nstyles/variables/index.less +4 -4
  92. package/nstyles/variables/theme/default/button.less +7 -7
  93. package/nstyles/variables/theme/default/common.less +57 -57
  94. package/nstyles/variables/theme/default/index.less +7 -7
  95. package/nstyles/variables/theme/default/layout.less +40 -40
  96. package/nstyles/variables/theme/default/table.less +37 -37
  97. package/nstyles/variables/theme/default/tag.less +3 -3
  98. package/nstyles/variables/theme/default/upload.less +3 -3
  99. package/nstyles/variables/theme/index.less +13 -13
  100. package/nstyles/variables/theme/small/button.less +7 -7
  101. package/nstyles/variables/theme/small/common.less +39 -39
  102. package/nstyles/variables/theme/small/index.less +5 -5
  103. package/nstyles/variables/theme/small/layout.less +21 -21
  104. package/nstyles/variables/theme/small/table.less +17 -17
  105. package/nstyles/variables/theme/small/tag.less +3 -3
  106. package/package.json +1 -1
  107. package/plugin/index.js +12 -12
  108. package/plugin/module/date-format.js +30 -30
  109. package/plugin/module/loading.js +26 -26
  110. package/plugin/module/warn-handler.js +11 -11
  111. package/styles/variables.less +21 -21
  112. package/utils/ajax/cacheconf.js +19 -19
  113. package/utils/ajax/content-type.js +30 -30
  114. package/utils/ajax/index.js +12 -12
  115. package/utils/ajax/interceptors.js +97 -97
  116. package/utils/assist.js +147 -147
  117. package/utils/base64.js +126 -126
  118. package/utils/blob.js +47 -47
  119. package/utils/bus.js +3 -3
  120. package/utils/crypto/index.js +48 -48
  121. package/utils/crypto/md5.js +152 -152
  122. package/utils/crypto/sm3.js +235 -235
  123. package/utils/date.js +381 -381
  124. package/utils/dict/built-in-dict.js +20 -20
  125. package/utils/dict/index.js +167 -167
  126. package/utils/dom.js +38 -38
  127. package/utils/event.js +72 -72
  128. package/utils/excel.js +655 -655
  129. package/utils/file.js +19 -19
  130. package/utils/form/validate.js +29 -29
  131. package/utils/half-year.js +68 -68
  132. package/utils/index.js +41 -41
  133. package/utils/json.js +29 -29
  134. package/utils/lodop.js +165 -165
  135. package/utils/menu/before-close.js +17 -17
  136. package/utils/menu/index.js +395 -395
  137. package/utils/mime_type.js +67 -67
  138. package/utils/modelerUtil.js +227 -227
  139. package/utils/n/api.js +22 -22
  140. package/utils/n/date.js +57 -57
  141. package/utils/n/index.js +9 -9
  142. package/utils/n/is-type.js +176 -176
  143. package/utils/n/number.js +144 -144
  144. package/utils/n/permission-cache.js +11 -11
  145. package/utils/n/reuqest/axiosN.js +17 -17
  146. package/utils/n/reuqest/content-type.js +19 -19
  147. package/utils/n/reuqest/interceptors.js +95 -95
  148. package/utils/n/reuqest/url-params.js +12 -12
  149. package/utils/n/storage.js +51 -51
  150. package/utils/n/token.js +51 -51
  151. package/utils/n/user-cache.js +11 -11
  152. package/utils/n/user.js +34 -34
  153. package/utils/n/uuid.js +16 -16
  154. package/utils/n-generator-routers.js +208 -208
  155. package/utils/n-router.js +205 -205
  156. package/utils/n-theme.js +30 -30
  157. package/utils/number.js +180 -180
  158. package/utils/oss.js +57 -57
  159. package/utils/platform.js +1334 -1334
  160. package/utils/quarter.js +58 -58
  161. package/utils/storage.js +198 -198
  162. package/utils/style.js +24 -24
  163. package/utils/theme.js +138 -138
  164. package/utils/transfer-queue.js +7 -7
  165. package/utils/transform.js +204 -204
  166. package/utils/type.js +102 -102
  167. package/utils/util.js +795 -795
  168. package/utils/validator.js +181 -181
  169. package/utils/vxetable/index.js +25 -25
  170. package/utils/zoomScroll.js +9 -9
@@ -1,143 +1,143 @@
1
- /*
2
- * 一些基础变量的定义,分为配色、边距长度、字体、边框圆角、阴影、动画
3
- * 配色和边距不建议直接使用,而是在 theme 中定义具有业务意义的变量
4
- *
5
- * --Author: huxuetong
6
- * --Date: 2023-08-16 16:23:06
7
- * --Last Modified by: huxuetong
8
- * --Last Modified time: 2023-08-19 16:48:38
9
- */
10
-
11
- @ind-blue: #488aff;
12
-
13
- :root {
14
- // 基础样式修改
15
- // Color Palette
16
- --ind-white: #fff;
17
- --ind-white-1: var(--ind-white);
18
- --ind-white-2: rgba(255, 255, 255, 0.85);
19
- --ind-white-3: rgba(255, 255, 255, 0.7);
20
- --ind-white-4: rgba(255, 255, 255, 0.5);
21
- --ind-white-5: rgba(255, 255, 255, 0.3);
22
- --ind-white-6: rgba(255, 255, 255, 0.1);
23
-
24
- --ind-black: #333;
25
- --ind-gray: #333;
26
- --ind-gray-1: #f5f7f9;
27
- --ind-gray-2: #efefef;
28
- --ind-gray-3: #e6e6e6;
29
- --ind-gray-4: var(--ind-gray);
30
- --ind-gray-5: #999;
31
- --ind-gray-6: #555;
32
- --ind-gray-7: var(--ind-black);
33
-
34
- --ind-blue: @ind-blue;
35
- --ind-blue-1: #a3ccfe;
36
- --ind-blue-2: #81b1ff;
37
- --ind-blue-3: #79adff;
38
- --ind-blue-4: #1d70f5;
39
- --ind-blue-5: var(--ind-blue);
40
- --ind-blue-6: #02328f;
41
- --ind-blue-7: #002b7b;
42
- --ind-blue-8: #0c3d98;
43
- --ind-blue-9: #001d55;
44
- --ind-blue-10: #002874;
45
-
46
- --ind-green: #34b11c;
47
- --ind-green-1: #c8fbcb;
48
- --ind-green-2: #94f7a2;
49
- --ind-green-3: #5ce87e;
50
- --ind-green-4: #34d169;
51
- --ind-green-5: var(--ind-green);
52
- --ind-green-6: #009953;
53
- --ind-green-7: #008052;
54
- --ind-green-8: #00674c;
55
- --ind-green-9: #005548;
56
-
57
- --ind-orange: #ff976a;
58
- --ind-orange-1: #fffbe8;
59
- --ind-orange-2: #fbcd65;
60
- --ind-orange-3: #fbcd65;
61
- --ind-orange-4: #f7b73e;
62
- --ind-orange-5: var(--ind-orange);
63
- --ind-orange-6: #ed6a0c;
64
- --ind-orange-8: #ae5e00;
65
- --ind-orange-8: #8c4600;
66
- --ind-orange-9: #743500;
67
- --ind-orange-light: var(--ind-orange-1);
68
- --ind-orange-dark: var(--ind-orange-6);
69
-
70
- --ind-red: #d32913;
71
- --ind-red-1: #fce2ce;
72
- --ind-red-2: #fabf9f;
73
- --ind-red-3: #f1926d;
74
- --ind-red-4: #e46648;
75
- --ind-red-5: var(--ind-red);
76
- --ind-red-6: #b5130d;
77
- --ind-red-7: #970910;
78
- --ind-red-8: #7a0614;
79
- --ind-red-9: #650317;
80
-
81
- // Gradient Colors
82
- --ind-gradient-blue-linear: linear-gradient(to right, #548eff, #6bc5ff);
83
- --ind-gradient-green-linear: linear-gradient(to right, #32c67c, #4edda1);
84
- --ind-gradient-orange-linear: linear-gradient(to right, #ffa724, #e0ac5e);
85
- --ind-gradient-red-linear: linear-gradient(to right, #ff5e67, #ff8fa4);
86
- --ind-gradient-blue-radial: radial-gradient(circle at 50% 84%, #225ed2 0%, #083da3 109%);
87
-
88
- // Padding
89
- --ind-padding-base: 4px;
90
- --ind-padding-xs: 8px;
91
- --ind-padding-sm: 16px;
92
- --ind-padding-md: 24px;
93
- --ind-padding-lg: 32px;
94
- --ind-padding-xl: 48px;
95
-
96
- // Font
97
- --ind-font-size-xs: 10px;
98
- --ind-font-size-sm: 12px;
99
- --ind-font-size-md: 14px;
100
- --ind-font-size-lg: 16px;
101
- --ind-font-size-xl: 18px;
102
- --ind-font-size-xxl: 20px;
103
- --ind-font-weight-normal: 400;
104
- --ind-font-weight-bold: 600;
105
- --ind-font-weight-bolder: 900;
106
- --ind-line-height-xs: 14px;
107
- --ind-line-height-sm: 18px;
108
- --ind-line-height-md: 22px;
109
- --ind-line-height-lg: 24px;
110
- // --ind-base-font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue',
111
- // Helvetica, Segoe UI, Arial, Roboto, 'PingFang SC', 'miui',
112
- // 'Hiragino Sans GB', 'Microsoft Yahei', sans-serif;
113
- // --ind-price-integer-font-family: Avenir-Heavy, PingFang SC, Helvetica Neue,
114
- // Arial, sans-serif;
115
-
116
- // Border
117
- --ind-border-width-base: 1px;
118
- --ind-border-radius-xs: 2px;
119
- --ind-border-radius-sm: 4px;
120
- --ind-border-radius-md: 8px;
121
- --ind-border-radius-lg: 14px;
122
- --ind-border-radius-xl: 20px;
123
- --ind-border-radius-xxl: 32px;
124
- --ind-border-radius-max: 999px;
125
- --ind-border-radius-round: 50%;
126
-
127
- // Box Shadow
128
- --ind-box-shadow-sm-1: 0px 1px 2px -2px rgba(0, 0, 0, 0.16);
129
- --ind-box-shadow-md-1: 0px 3px 6px 0px rgba(0, 0, 0, 0.12);
130
- --ind-box-shadow-lg-1: 0px 5px 12px 4px rgba(0, 0, 0, 0.09);
131
- --ind-box-shadow-sm-2: 0px 3px 6px -4px rgba(0, 0, 0, 0.12);
132
- --ind-box-shadow-md-2: 0px 6px 16px 0px rgba(0, 0, 0, 0.08);
133
- --ind-box-shadow-lg-2: 0px 9px 28px 8px rgba(0, 0, 0, 0.05);
134
- --ind-box-shadow-sm-3: 0px 6px 6px -8px rgba(0, 0, 0, 0.08);
135
- --ind-box-shadow-md-3: 0px 9px 28px 0px rgba(0, 0, 0, 0.05);
136
- --ind-box-shadow-lg-3: 0px 12px 48px 16px rgba(0, 0, 0, 0.03);
137
-
138
- // Animation
139
- --ind-animation-duration-base: 0.3s;
140
- --ind-animation-duration-fast: 0.2s;
141
- --ind-animation-timing-function-enter: ease-out;
142
- --ind-animation-timing-function-leave: ease-in;
143
- }
1
+ /*
2
+ * 一些基础变量的定义,分为配色、边距长度、字体、边框圆角、阴影、动画
3
+ * 配色和边距不建议直接使用,而是在 theme 中定义具有业务意义的变量
4
+ *
5
+ * --Author: huxuetong
6
+ * --Date: 2023-08-16 16:23:06
7
+ * --Last Modified by: huxuetong
8
+ * --Last Modified time: 2023-08-19 16:48:38
9
+ */
10
+
11
+ @ind-blue: #488aff;
12
+
13
+ :root {
14
+ // 基础样式修改
15
+ // Color Palette
16
+ --ind-white: #fff;
17
+ --ind-white-1: var(--ind-white);
18
+ --ind-white-2: rgba(255, 255, 255, 0.85);
19
+ --ind-white-3: rgba(255, 255, 255, 0.7);
20
+ --ind-white-4: rgba(255, 255, 255, 0.5);
21
+ --ind-white-5: rgba(255, 255, 255, 0.3);
22
+ --ind-white-6: rgba(255, 255, 255, 0.1);
23
+
24
+ --ind-black: #333;
25
+ --ind-gray: #333;
26
+ --ind-gray-1: #f5f7f9;
27
+ --ind-gray-2: #efefef;
28
+ --ind-gray-3: #e6e6e6;
29
+ --ind-gray-4: var(--ind-gray);
30
+ --ind-gray-5: #999;
31
+ --ind-gray-6: #555;
32
+ --ind-gray-7: var(--ind-black);
33
+
34
+ --ind-blue: @ind-blue;
35
+ --ind-blue-1: #a3ccfe;
36
+ --ind-blue-2: #81b1ff;
37
+ --ind-blue-3: #79adff;
38
+ --ind-blue-4: #1d70f5;
39
+ --ind-blue-5: var(--ind-blue);
40
+ --ind-blue-6: #02328f;
41
+ --ind-blue-7: #002b7b;
42
+ --ind-blue-8: #0c3d98;
43
+ --ind-blue-9: #001d55;
44
+ --ind-blue-10: #002874;
45
+
46
+ --ind-green: #34b11c;
47
+ --ind-green-1: #c8fbcb;
48
+ --ind-green-2: #94f7a2;
49
+ --ind-green-3: #5ce87e;
50
+ --ind-green-4: #34d169;
51
+ --ind-green-5: var(--ind-green);
52
+ --ind-green-6: #009953;
53
+ --ind-green-7: #008052;
54
+ --ind-green-8: #00674c;
55
+ --ind-green-9: #005548;
56
+
57
+ --ind-orange: #ff976a;
58
+ --ind-orange-1: #fffbe8;
59
+ --ind-orange-2: #fbcd65;
60
+ --ind-orange-3: #fbcd65;
61
+ --ind-orange-4: #f7b73e;
62
+ --ind-orange-5: var(--ind-orange);
63
+ --ind-orange-6: #ed6a0c;
64
+ --ind-orange-8: #ae5e00;
65
+ --ind-orange-8: #8c4600;
66
+ --ind-orange-9: #743500;
67
+ --ind-orange-light: var(--ind-orange-1);
68
+ --ind-orange-dark: var(--ind-orange-6);
69
+
70
+ --ind-red: #d32913;
71
+ --ind-red-1: #fce2ce;
72
+ --ind-red-2: #fabf9f;
73
+ --ind-red-3: #f1926d;
74
+ --ind-red-4: #e46648;
75
+ --ind-red-5: var(--ind-red);
76
+ --ind-red-6: #b5130d;
77
+ --ind-red-7: #970910;
78
+ --ind-red-8: #7a0614;
79
+ --ind-red-9: #650317;
80
+
81
+ // Gradient Colors
82
+ --ind-gradient-blue-linear: linear-gradient(to right, #548eff, #6bc5ff);
83
+ --ind-gradient-green-linear: linear-gradient(to right, #32c67c, #4edda1);
84
+ --ind-gradient-orange-linear: linear-gradient(to right, #ffa724, #e0ac5e);
85
+ --ind-gradient-red-linear: linear-gradient(to right, #ff5e67, #ff8fa4);
86
+ --ind-gradient-blue-radial: radial-gradient(circle at 50% 84%, #225ed2 0%, #083da3 109%);
87
+
88
+ // Padding
89
+ --ind-padding-base: 4px;
90
+ --ind-padding-xs: 8px;
91
+ --ind-padding-sm: 16px;
92
+ --ind-padding-md: 24px;
93
+ --ind-padding-lg: 32px;
94
+ --ind-padding-xl: 48px;
95
+
96
+ // Font
97
+ --ind-font-size-xs: 10px;
98
+ --ind-font-size-sm: 12px;
99
+ --ind-font-size-md: 14px;
100
+ --ind-font-size-lg: 16px;
101
+ --ind-font-size-xl: 18px;
102
+ --ind-font-size-xxl: 20px;
103
+ --ind-font-weight-normal: 400;
104
+ --ind-font-weight-bold: 600;
105
+ --ind-font-weight-bolder: 900;
106
+ --ind-line-height-xs: 14px;
107
+ --ind-line-height-sm: 18px;
108
+ --ind-line-height-md: 22px;
109
+ --ind-line-height-lg: 24px;
110
+ // --ind-base-font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue',
111
+ // Helvetica, Segoe UI, Arial, Roboto, 'PingFang SC', 'miui',
112
+ // 'Hiragino Sans GB', 'Microsoft Yahei', sans-serif;
113
+ // --ind-price-integer-font-family: Avenir-Heavy, PingFang SC, Helvetica Neue,
114
+ // Arial, sans-serif;
115
+
116
+ // Border
117
+ --ind-border-width-base: 1px;
118
+ --ind-border-radius-xs: 2px;
119
+ --ind-border-radius-sm: 4px;
120
+ --ind-border-radius-md: 8px;
121
+ --ind-border-radius-lg: 14px;
122
+ --ind-border-radius-xl: 20px;
123
+ --ind-border-radius-xxl: 32px;
124
+ --ind-border-radius-max: 999px;
125
+ --ind-border-radius-round: 50%;
126
+
127
+ // Box Shadow
128
+ --ind-box-shadow-sm-1: 0px 1px 2px -2px rgba(0, 0, 0, 0.16);
129
+ --ind-box-shadow-md-1: 0px 3px 6px 0px rgba(0, 0, 0, 0.12);
130
+ --ind-box-shadow-lg-1: 0px 5px 12px 4px rgba(0, 0, 0, 0.09);
131
+ --ind-box-shadow-sm-2: 0px 3px 6px -4px rgba(0, 0, 0, 0.12);
132
+ --ind-box-shadow-md-2: 0px 6px 16px 0px rgba(0, 0, 0, 0.08);
133
+ --ind-box-shadow-lg-2: 0px 9px 28px 8px rgba(0, 0, 0, 0.05);
134
+ --ind-box-shadow-sm-3: 0px 6px 6px -8px rgba(0, 0, 0, 0.08);
135
+ --ind-box-shadow-md-3: 0px 9px 28px 0px rgba(0, 0, 0, 0.05);
136
+ --ind-box-shadow-lg-3: 0px 12px 48px 16px rgba(0, 0, 0, 0.03);
137
+
138
+ // Animation
139
+ --ind-animation-duration-base: 0.3s;
140
+ --ind-animation-duration-fast: 0.2s;
141
+ --ind-animation-timing-function-enter: ease-out;
142
+ --ind-animation-timing-function-leave: ease-in;
143
+ }
@@ -1,4 +1,4 @@
1
- // 基础变量
2
- @import './base.less';
3
- // 主题变量
4
- @import './theme/index.less';
1
+ // 基础变量
2
+ @import './base.less';
3
+ // 主题变量
4
+ @import './theme/index.less';
@@ -1,7 +1,7 @@
1
- :root {
2
- --ind-button-height-md: 32px;
3
- --ind-button-padding-md: 15px;
4
-
5
- --ind-button-height-sm: 32px;
6
- --ind-button-padding-sm: 7px;
7
- }
1
+ :root {
2
+ --ind-button-height-md: 32px;
3
+ --ind-button-padding-md: 15px;
4
+
5
+ --ind-button-height-sm: 32px;
6
+ --ind-button-padding-sm: 7px;
7
+ }
@@ -1,57 +1,57 @@
1
- :root {
2
- // 颜色
3
- --ind-primary-color: var(--ind-blue);
4
- --ind-primary-color-tint20: tint(@ind-blue, 20%);
5
- --ind-primary-color-tint70: tint(@ind-blue, 70%);
6
- --ind-primary-color-tint80: tint(@ind-blue, 80%);
7
- --ind-primary-color-tint90: tint(@ind-blue, 90%);
8
- --ind-primary-color-fade20: fade(@ind-blue, 20%);
9
- --ind-primary-color-fade90: fade(@ind-blue, 90%);
10
- --ind-primary-color-tint95-fade50: fade(tint(@ind-blue, 95%), 50%);
11
- --ind-primary-color-shade5: shade(@ind-blue, 5%);
12
- --ind-primary-color-fade90-shade10: shade(fade(@ind-blue, 90%), 10%);
13
-
14
- --ind-bg-color-light: var(--ind-white);
15
- --ind-bg-color-dark: var(--ind-gray-1);
16
- --ind-text-color: var(--ind-black);
17
- --ind-link-hover-color: var(--ind-primary-color-tint20);
18
- --ind-link-active-color: var(--ind-primary-color-shade5);
19
- --ind-desc-color: var(--ind-gray-6);
20
-
21
- --ind-border-color: #ebedf2;
22
-
23
- // 页面的边距
24
- --ind-page-padding: var(--ind-padding-xs);
25
- --ind-sc-padding-top: var(--ind-padding-xs);
26
- --ind-menu-desc-margin-top: 4px;
27
-
28
- // card的样式
29
- --ivu-card-head-padding: 12px 16px;
30
- --ivu-card-head-line-height: 28px;
31
- --ivu-card-head-height: 52px;
32
- --ivu-card-body-padding: 16px;
33
-
34
- // 表单的样式
35
- --ivu-form-item-label-padding: 10px 12px 10px 0;
36
- --ivu-form-v6stle-item-label-paddingleft: 20px;
37
- --ivu-form-item-content-padding: 6px 12px;
38
- --ivu-form-item-label-before-left: 8px;
39
- --ivu-form-item-content-line-height: 32px;
40
-
41
- // tree样式
42
- --ind-tree-wrapper-width: 98%;
43
- --tree-content-padding: 8px;
44
- --ivu-tree-margin: 8px 0;
45
-
46
- // drawer样式
47
- --ind-drawer-content-padding: 16px;
48
- --ind-drawer-footer-padding: 10px 16px;
49
-
50
- // 报表指标样式
51
- --report-index-model-panel-padding: 8px;
52
- --report-index-options-padding-right: 18px;
53
-
54
- // 表格
55
- --ind-table-button-padding: var(--ind-padding-base);
56
- --input-height-table: var(--input-height); // 表格输入框的高度
57
- }
1
+ :root {
2
+ // 颜色
3
+ --ind-primary-color: var(--ind-blue);
4
+ --ind-primary-color-tint20: tint(@ind-blue, 20%);
5
+ --ind-primary-color-tint70: tint(@ind-blue, 70%);
6
+ --ind-primary-color-tint80: tint(@ind-blue, 80%);
7
+ --ind-primary-color-tint90: tint(@ind-blue, 90%);
8
+ --ind-primary-color-fade20: fade(@ind-blue, 20%);
9
+ --ind-primary-color-fade90: fade(@ind-blue, 90%);
10
+ --ind-primary-color-tint95-fade50: fade(tint(@ind-blue, 95%), 50%);
11
+ --ind-primary-color-shade5: shade(@ind-blue, 5%);
12
+ --ind-primary-color-fade90-shade10: shade(fade(@ind-blue, 90%), 10%);
13
+
14
+ --ind-bg-color-light: var(--ind-white);
15
+ --ind-bg-color-dark: var(--ind-gray-1);
16
+ --ind-text-color: var(--ind-black);
17
+ --ind-link-hover-color: var(--ind-primary-color-tint20);
18
+ --ind-link-active-color: var(--ind-primary-color-shade5);
19
+ --ind-desc-color: var(--ind-gray-6);
20
+
21
+ --ind-border-color: #ebedf2;
22
+
23
+ // 页面的边距
24
+ --ind-page-padding: var(--ind-padding-xs);
25
+ --ind-sc-padding-top: var(--ind-padding-xs);
26
+ --ind-menu-desc-margin-top: 4px;
27
+
28
+ // card的样式
29
+ --ivu-card-head-padding: 12px 16px;
30
+ --ivu-card-head-line-height: 28px;
31
+ --ivu-card-head-height: 52px;
32
+ --ivu-card-body-padding: 16px;
33
+
34
+ // 表单的样式
35
+ --ivu-form-item-label-padding: 10px 12px 10px 0;
36
+ --ivu-form-v6stle-item-label-paddingleft: 20px;
37
+ --ivu-form-item-content-padding: 6px 12px;
38
+ --ivu-form-item-label-before-left: 8px;
39
+ --ivu-form-item-content-line-height: 32px;
40
+
41
+ // tree样式
42
+ --ind-tree-wrapper-width: 98%;
43
+ --tree-content-padding: 8px;
44
+ --ivu-tree-margin: 8px 0;
45
+
46
+ // drawer样式
47
+ --ind-drawer-content-padding: 16px;
48
+ --ind-drawer-footer-padding: 10px 16px;
49
+
50
+ // 报表指标样式
51
+ --report-index-model-panel-padding: 8px;
52
+ --report-index-options-padding-right: 18px;
53
+
54
+ // 表格
55
+ --ind-table-button-padding: var(--ind-padding-base);
56
+ --input-height-table: var(--input-height); // 表格输入框的高度
57
+ }
@@ -1,7 +1,7 @@
1
- @import './common.less';
2
-
3
- @import './button.less';
4
- @import './layout.less';
5
- @import './table.less';
6
- @import './tag.less';
7
- @import './upload.less';
1
+ @import './common.less';
2
+
3
+ @import './button.less';
4
+ @import './layout.less';
5
+ @import './table.less';
6
+ @import './tag.less';
7
+ @import './upload.less';
@@ -1,40 +1,40 @@
1
- :root {
2
- // basic layout 系统布局变量 -begin
3
- --main-color: var(--ind-blue);
4
- --deep-mian-color: #2b85e4;
5
- --selected-background: #1890ff;
6
- --selected-background-hover: #384568;
7
- --header-height: 48px;
8
- --header-bg: linear-gradient(90deg, #1d42ab, #2173dc, #1e93ff);
9
- --header-color: hsla(0, 0%, 100%, 0.7);
10
- --header-color-hover: var(--ind-white);
11
- --header-border-bottom-color: #4fe3c1;
12
-
13
- --ind-main-sider-width: 200px;
14
- --ind-main-sider-collapsed-width: 68px;
15
- --menu-black-active-bg: var(--ind-white); //#263353;
16
- --menu-white-group-title-color: var(--ind-text-color); //#B6B6B8;
17
- --ivu-menu-item-font-size: var(--ind-font-size-md);
18
-
19
- --menu-select-bg: #f0faff;
20
- --deep-menu-color: var(--ind-primary-color); //@text-color; //#F3F2F0;
21
- --selected-background: var(--menu-select-bg); //@primary-color;
22
- --selected-background-hover: var(--menu-select-bg); //#384568;
23
- --menu-icon-margin-right: 8px;
24
- --menu-white-group-title-color: #b6b6b8;
25
- // basic layout 系统布局变量 -end
26
-
27
- // page-view layout 系统布局变量 -begin
28
- --ind-panel-vertical-margin: 12px;
29
- --ind-panel-horizon-margin: 16px;
30
- // page-view layout 系统布局变量 -end
31
-
32
- --input-height: 32px; // small 24px
33
- --search-margin-bottom: 24px; // small 16px
34
- --search-button-margin: 16px;
35
-
36
- --menu-name-padding: 15px 28px 15px 30px; // 标题行padding
37
- --menu-title-font-size: 20px;
38
- --menu-title-color: #17233d;
39
- --page-content-padding: 12px;
40
- }
1
+ :root {
2
+ // basic layout 系统布局变量 -begin
3
+ --main-color: var(--ind-blue);
4
+ --deep-mian-color: #2b85e4;
5
+ --selected-background: #1890ff;
6
+ --selected-background-hover: #384568;
7
+ --header-height: 48px;
8
+ --header-bg: linear-gradient(90deg, #1d42ab, #2173dc, #1e93ff);
9
+ --header-color: hsla(0, 0%, 100%, 0.7);
10
+ --header-color-hover: var(--ind-white);
11
+ --header-border-bottom-color: #4fe3c1;
12
+
13
+ --ind-main-sider-width: 200px;
14
+ --ind-main-sider-collapsed-width: 68px;
15
+ --menu-black-active-bg: var(--ind-white); //#263353;
16
+ --menu-white-group-title-color: var(--ind-text-color); //#B6B6B8;
17
+ --ivu-menu-item-font-size: var(--ind-font-size-md);
18
+
19
+ --menu-select-bg: #f0faff;
20
+ --deep-menu-color: var(--ind-primary-color); //@text-color; //#F3F2F0;
21
+ --selected-background: var(--menu-select-bg); //@primary-color;
22
+ --selected-background-hover: var(--menu-select-bg); //#384568;
23
+ --menu-icon-margin-right: 8px;
24
+ --menu-white-group-title-color: #b6b6b8;
25
+ // basic layout 系统布局变量 -end
26
+
27
+ // page-view layout 系统布局变量 -begin
28
+ --ind-panel-vertical-margin: 12px;
29
+ --ind-panel-horizon-margin: 16px;
30
+ // page-view layout 系统布局变量 -end
31
+
32
+ --input-height: 32px; // small 24px
33
+ --search-margin-bottom: 24px; // small 16px
34
+ --search-button-margin: 16px;
35
+
36
+ --menu-name-padding: 15px 28px 15px 30px; // 标题行padding
37
+ --menu-title-font-size: 20px;
38
+ --menu-title-color: #17233d;
39
+ --page-content-padding: 12px;
40
+ }
@@ -1,37 +1,37 @@
1
- :root {
2
- // table layout 系统布局变量 -begin
3
- --check-border: #dcdee2;
4
-
5
- --table-td-hover-bg: tint(#488aff, 90%);
6
-
7
- /*
8
- * ag-grid合计行颜色变量
9
- */
10
- --ag-sum-row-color-10: #cccfd7;
11
- --ag-sum-row-color-5: #dcdfe6;
12
- --ag-sum-row-color-1: #ebedf2;
13
- --ind-table-padding: 16px;
14
- // table layout 系统布局变量 -end
15
-
16
- --ind-ag-grid-size: 6px;
17
- --ind-ag-cell-widget-spacing: 12px;
18
- --ind-ag-font-size: var(--ind-font-size-md);
19
- // --ind-ag-list-item-height: 42px;
20
- --ind-ag-odd-row-background-color: #fcfdfe;
21
- --ind-ag-row-hover-color: rgba(0, 0, 0, 0.05);
22
- --ind-ag-column-hover-color: rgba(0, 0, 0, 0.05);
23
- --ind-ag-cell-header-horizontal-padding: 12px;
24
- --ind-ag-cell-horizontal-padding: 13px;
25
- --ind-ag-row-group-indent-size: 28px;
26
- --ind-ag-selected-row-background-color: #c8dcff;
27
- --ind-ag-header-background-color: #f8f8f9;
28
- --ind-ag-odd-row-background-color: #fff;
29
-
30
- // 以下是 ag 没有的
31
- --ind-ag-cell-icon-margin-left: var(--ind-ag-grid-size);
32
- // --ind-ag-cell-header-horizontal-padding: var(--ag-cell-horizontal-padding);
33
- --ind-ag-cell-line-height: 20px;
34
-
35
- --ind-unit-switch-bottom: 6px;
36
- --ind-other-button-top: 6px;
37
- }
1
+ :root {
2
+ // table layout 系统布局变量 -begin
3
+ --check-border: #dcdee2;
4
+
5
+ --table-td-hover-bg: tint(#488aff, 90%);
6
+
7
+ /*
8
+ * ag-grid合计行颜色变量
9
+ */
10
+ --ag-sum-row-color-10: #cccfd7;
11
+ --ag-sum-row-color-5: #dcdfe6;
12
+ --ag-sum-row-color-1: #ebedf2;
13
+ --ind-table-padding: 16px;
14
+ // table layout 系统布局变量 -end
15
+
16
+ --ind-ag-grid-size: 6px;
17
+ --ind-ag-cell-widget-spacing: 12px;
18
+ --ind-ag-font-size: var(--ind-font-size-md);
19
+ // --ind-ag-list-item-height: 42px;
20
+ --ind-ag-odd-row-background-color: #fcfdfe;
21
+ --ind-ag-row-hover-color: rgba(0, 0, 0, 0.05);
22
+ --ind-ag-column-hover-color: rgba(0, 0, 0, 0.05);
23
+ --ind-ag-cell-header-horizontal-padding: 12px;
24
+ --ind-ag-cell-horizontal-padding: 13px;
25
+ --ind-ag-row-group-indent-size: 28px;
26
+ --ind-ag-selected-row-background-color: #c8dcff;
27
+ --ind-ag-header-background-color: #f8f8f9;
28
+ --ind-ag-odd-row-background-color: #fff;
29
+
30
+ // 以下是 ag 没有的
31
+ --ind-ag-cell-icon-margin-left: var(--ind-ag-grid-size);
32
+ // --ind-ag-cell-header-horizontal-padding: var(--ag-cell-horizontal-padding);
33
+ --ind-ag-cell-line-height: 20px;
34
+
35
+ --ind-unit-switch-bottom: 6px;
36
+ --ind-other-button-top: 6px;
37
+ }
@@ -1,3 +1,3 @@
1
- :root {
2
- --ind-tag-height: 24px;
3
- }
1
+ :root {
2
+ --ind-tag-height: 24px;
3
+ }
@@ -1,3 +1,3 @@
1
- :root {
2
- --file-line-height: 41px;
3
- }
1
+ :root {
2
+ --file-line-height: 41px;
3
+ }
@@ -1,13 +1,13 @@
1
- /*
2
- * 定义不同主题变量,其中default基本等于全局变量
3
- * 别的主题应在default基础上更改
4
- * 若已有主题变量不满足情况,应在default里添加原样式的变量后,在新主题里更改对应的值
5
- *
6
- * @Author: huxuetong
7
- * @Date: 2024-03-12 20:10:04
8
- * @Last Modified by: huxuetong
9
- * @Last Modified time: 2024-03-12 20:11:26
10
- */
11
-
12
- @import './default/index.less';
13
- @import './small/index.less';
1
+ /*
2
+ * 定义不同主题变量,其中default基本等于全局变量
3
+ * 别的主题应在default基础上更改
4
+ * 若已有主题变量不满足情况,应在default里添加原样式的变量后,在新主题里更改对应的值
5
+ *
6
+ * @Author: huxuetong
7
+ * @Date: 2024-03-12 20:10:04
8
+ * @Last Modified by: huxuetong
9
+ * @Last Modified time: 2024-03-12 20:11:26
10
+ */
11
+
12
+ @import './default/index.less';
13
+ @import './small/index.less';
@@ -1,7 +1,7 @@
1
- :root,.ind-small-theme {
2
- --ind-button-height-md: 30px;
3
- --ind-button-padding-md: 7px;
4
-
5
- --ind-button-height-sm: 24px;
6
- --ind-button-padding-sm: 7px; // 3px;
7
- }
1
+ :root,.ind-small-theme {
2
+ --ind-button-height-md: 30px;
3
+ --ind-button-padding-md: 7px;
4
+
5
+ --ind-button-height-sm: 24px;
6
+ --ind-button-padding-sm: 7px; // 3px;
7
+ }