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