@ibiz-template/web-theme 1.0.31 → 1.0.32-dev.1
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/CHANGELOG.md +4 -0
- package/dist/index.min.css +1 -1
- package/dist/index.system.min.js +1 -1
- package/dist/index.system.min.js.map +1 -1
- package/es/index.d.ts +4 -1
- package/es/index.mjs +10 -1
- package/es/theme/index.css +1 -1
- package/es/theme/theme/index.css +1 -1
- package/lib/index.cjs +11 -2
- package/lib/theme/index.css +1 -1
- package/lib/theme/theme/index.css +1 -1
- package/package.json +6 -3
- package/src/index.ts +12 -0
- package/src/publish/app-index-view-layout-blank-mode.ts +31 -0
- package/src/publish/app-index-view-layout-center.ts +28 -0
- package/src/publish/app-index-view-layout-top.ts +426 -0
- package/src/publish/app-index-view-layout.ts +476 -0
- package/src/publish/app-login-view.ts +252 -0
- package/src/publish/control-layout/control-layout-model-repository-chart-exp-bar-layout.ts +178 -0
- package/src/publish/control-layout/control-layout-model-repository-data-view-exp-bar-layout.ts +180 -0
- package/src/publish/control-layout/control-layout-model-repository-grid-exp-bar-layout.ts +179 -0
- package/src/publish/control-layout/control-layout-model-repository-list-exp-bar-layout.ts +179 -0
- package/src/publish/control-layout/control-layout-model-repository-search-form-layout.ts +130 -0
- package/src/publish/control-layout/control-layout-model-repository-tree-exp-bar-layout.ts +179 -0
- package/src/publish/index.ts +193 -0
- package/src/publish/view-layout-model-repository/view-layout-model-repository-de-calendar-exp-view-layout.ts +98 -0
- package/src/publish/view-layout-model-repository/view-layout-model-repository-de-calendar-view-layout.ts +206 -0
- package/src/publish/view-layout-model-repository/view-layout-model-repository-de-chart-exp-view-layout.ts +100 -0
- package/src/publish/view-layout-model-repository/view-layout-model-repository-de-chart-view-layout.ts +251 -0
- package/src/publish/view-layout-model-repository/view-layout-model-repository-de-data-view-exp-view-layout.ts +98 -0
- package/src/publish/view-layout-model-repository/view-layout-model-repository-de-data-view-layout.ts +251 -0
- package/src/publish/view-layout-model-repository/view-layout-model-repository-de-edit-view-2-layout.ts +275 -0
- package/src/publish/view-layout-model-repository/view-layout-model-repository-de-edit-view-3-layout.ts +257 -0
- package/src/publish/view-layout-model-repository/view-layout-model-repository-de-edit-view-4-layout.ts +234 -0
- package/src/publish/view-layout-model-repository/view-layout-model-repository-de-edit-view-layout.ts +176 -0
- package/src/publish/view-layout-model-repository/view-layout-model-repository-de-grid-exp-view-layout.ts +98 -0
- package/src/publish/view-layout-model-repository/view-layout-model-repository-de-grid-view-layout.ts +251 -0
- package/src/publish/view-layout-model-repository/view-layout-model-repository-de-index-pickup-data-view-layout.ts +28 -0
- package/src/publish/view-layout-model-repository/view-layout-model-repository-de-kanban-view-layout.ts +251 -0
- package/src/publish/view-layout-model-repository/view-layout-model-repository-de-list-exp-view-layout.ts +98 -0
- package/src/publish/view-layout-model-repository/view-layout-model-repository-de-list-view-layout.ts +251 -0
- package/src/publish/view-layout-model-repository/view-layout-model-repository-de-map-view-layout.ts +321 -0
- package/src/publish/view-layout-model-repository/view-layout-model-repository-de-option-view-layout.ts +228 -0
- package/src/publish/view-layout-model-repository/view-layout-model-repository-de-panel-view-layout.ts +176 -0
- package/src/publish/view-layout-model-repository/view-layout-model-repository-de-pickup-data-view-layout.ts +73 -0
- package/src/publish/view-layout-model-repository/view-layout-model-repository-de-pickup-grid-view-layout.ts +73 -0
- package/src/publish/view-layout-model-repository/view-layout-model-repository-de-pickup-tree-view-layout.ts +72 -0
- package/src/publish/view-layout-model-repository/view-layout-model-repository-de-pickup-view-2-layout.ts +273 -0
- package/src/publish/view-layout-model-repository/view-layout-model-repository-de-pickup-view-layout.ts +228 -0
- package/src/publish/view-layout-model-repository/view-layout-model-repository-de-report-view-layout.ts +221 -0
- package/src/publish/view-layout-model-repository/view-layout-model-repository-de-tab-exp-view-layout.ts +201 -0
- package/src/publish/view-layout-model-repository/view-layout-model-repository-de-tree-exp-view-layout.ts +98 -0
- package/src/publish/view-layout-model-repository/view-layout-model-repository-de-tree-grid-ex-view-layout.ts +250 -0
- package/src/publish/view-layout-model-repository/view-layout-model-repository-de-tree-grid-view-layout.ts +250 -0
- package/src/publish/view-layout-model-repository/view-layout-model-repository-de-tree-view-layout.ts +250 -0
- package/src/publish/view-layout-model-repository/view-layout-model-repository-de-wizard-view-layout.ts +49 -0
- package/src/publish/view-layout-model-repository/view-layout-model-repository-dem-edit-view-9-layout.ts +297 -0
- package/src/publish/view-layout-model-repository/view-layout-model-repository-dem-pickup-view-2-layout.ts +414 -0
- package/src/publish/view-layout-model-repository/view-layout-model-repository-dem-pickup-view-layout.ts +368 -0
- package/src/publish/view-layout-model-repository/view-layout-model-repository-dewf-dyna-action-view-layout.ts +98 -0
- package/src/publish/view-layout-model-repository/view-layout-model-repository-dewf-dyna-edit-view-3-layout.ts +257 -0
- package/src/publish/view-layout-model-repository/view-layout-model-repository-dewf-dyna-edit-view-layout.ts +175 -0
- package/src/publish/view-layout-model-repository/view-layout-model-repository-dewf-dyna-start-view-layout.ts +99 -0
- package/src/publish/view-layout-model-repository/view-layout-model-repository-form-pickup-data-view.ts +28 -0
- package/src/theme/elements/index.scss +35 -0
- package/src/theme/generic/element-plus.scss +452 -0
- package/src/theme/generic/index.scss +2 -0
- package/src/theme/index.scss +17 -0
- package/src/theme/objects/expand/expand.scss +41 -0
- package/src/theme/objects/index.scss +3 -0
- package/src/theme/objects/state/state.scss +1 -0
- package/src/theme/theme/dark/dark-theme.scss +304 -0
- package/src/theme/theme/default/default-theme.scss +404 -0
- package/src/theme/theme/default-dark/default-dark-theme.scss +403 -0
- package/src/theme/theme/index.scss +7 -0
- package/src/theme/theme/light/light-theme.scss +337 -0
- package/src/theme/tumps/index.scss +1 -0
- package/src/theme/var.scss +88 -0
- package/src/types.d.ts +1 -0
- package/es/theme/theme/omni-oa/omni-oa-theme.css +0 -1
- package/lib/theme/theme/omni-oa/omni-oa-theme.css +0 -1
|
@@ -0,0 +1,452 @@
|
|
|
1
|
+
/* stylelint-disable no-descending-specificity */
|
|
2
|
+
:root {
|
|
3
|
+
--el-color-primary: #{getCssVar(color, primary)};
|
|
4
|
+
--el-bg-color: #{getCssVar(color, bg, 0)};
|
|
5
|
+
--el-border-color-light: #{getCssVar(color, border)};
|
|
6
|
+
--el-border-radius-base: #{getCssVar(border, radius, small)};
|
|
7
|
+
--el-mask-color: rgba(#{getCssVar(grey, 6)}, 0.1);
|
|
8
|
+
--el-text-color-regular: #{getCssVar(color, text, 0)};
|
|
9
|
+
--el-text-color-placeholder: #{getCssVar(color, text, 3)};
|
|
10
|
+
--el-font-size-base: #{getCssVar(font-size, regular)};
|
|
11
|
+
--el-disabled-text-color: #{getCssVar(color, disabled, text)};
|
|
12
|
+
--el-disabled-bg-color: #{getCssVar(color, disabled, fill)};
|
|
13
|
+
--el-disabled-border-color: #{getCssVar(color, disabled, border)};
|
|
14
|
+
--el-border-color-hover: #{getCssVar(color, primary, hover)};
|
|
15
|
+
--el-fill-color-light: #{getCssVar(color, bg, 2)};
|
|
16
|
+
--el-border-color: #{getCssVar(color, border)};
|
|
17
|
+
--el-border-color-extra-light: #{getCssVar(color, secondary, light, default)};
|
|
18
|
+
--el-bg-color-overlay: #{getCssVar(color, bg, 3)};
|
|
19
|
+
--el-border-color-lighter: #{getCssVar(color, border)};
|
|
20
|
+
--el-fill-color-blank: transparent;
|
|
21
|
+
--el-fill-color-lighter: #{getCssVar(color, fill, 0)};
|
|
22
|
+
--el-border-color-darker: #{getCssVar(color, border)};
|
|
23
|
+
|
|
24
|
+
// 警告色替换
|
|
25
|
+
--el-color-info: #{getCssVar(color, text, 2)};
|
|
26
|
+
--el-color-success: #{getCssVar(color, success)};
|
|
27
|
+
--el-color-warning: #{getCssVar(color, warning)};
|
|
28
|
+
--el-color-error: #{getCssVar(color, danger)};
|
|
29
|
+
|
|
30
|
+
color: getCssVar(color, text, 0);
|
|
31
|
+
background-color: getCssVar(color, bg, 0);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.el-input-number {
|
|
35
|
+
.el-input__wrapper {
|
|
36
|
+
--el-border-color: #{getCssVar(color, border)};
|
|
37
|
+
--el-input-border-color: #{getCssVar(color, border)};
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
// 去除 溢出阴影
|
|
42
|
+
.el-input-number__increase:hover
|
|
43
|
+
~ .el-input:not(.is-disabled)
|
|
44
|
+
.el-input__wrapper {
|
|
45
|
+
box-shadow: 0 0 0 1px var(--el-input-focus-border-color);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
// 模态
|
|
49
|
+
.el-dialog__headerbtn {
|
|
50
|
+
width: 32px;
|
|
51
|
+
height: 32px;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.el-input,
|
|
55
|
+
.el-textarea,
|
|
56
|
+
.el-date-editor {
|
|
57
|
+
--el-input-text-color: #{getCssVar(editor, default, text-color)};
|
|
58
|
+
--el-input-border-color: #{getCssVar(editor, default, border-color)};
|
|
59
|
+
--el-input-hover-border-color: #{getCssVar(editor, hover, border-color)};
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.el-autocomplete-suggestion {
|
|
63
|
+
--el-fill-color-light: #{getCssVar(editor, hover, bg-color)};
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
// 默认输入框背景色
|
|
67
|
+
.el-input__wrapper {
|
|
68
|
+
--el-input-bg-color: #{getCssVar(editor, default, bg-color)};
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
// 飘窗
|
|
72
|
+
.el-drawer {
|
|
73
|
+
.el-drawer__body {
|
|
74
|
+
padding: 0;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
// 应用菜单
|
|
79
|
+
.el-menu {
|
|
80
|
+
--el-menu-bg-color: transparent;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
// 下拉框
|
|
84
|
+
.el-dropdown-menu {
|
|
85
|
+
background-color: getCssVar('color', 'bg', 3);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.el-dropdown-menu__item {
|
|
89
|
+
color: getCssVar('color', 'text', 0);
|
|
90
|
+
|
|
91
|
+
&:hover {
|
|
92
|
+
color: getCssVar('color', 'primary', 'active', 'text');
|
|
93
|
+
background-color: getCssVar('color', 'primary', 'active');
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
// 树
|
|
98
|
+
.el-tree {
|
|
99
|
+
--el-tree-text-color: #{getCssVar(color, text, 0)};
|
|
100
|
+
--el-tree-node-hover-bg-color: #{getCssVar(color, fill, 0)};
|
|
101
|
+
--el-tree-expand-icon-color: #{getCssVar(color, text, 2)};
|
|
102
|
+
|
|
103
|
+
font-size: getCssVar('font-size', 'regular');
|
|
104
|
+
background-color: transparent;
|
|
105
|
+
|
|
106
|
+
&.el-tree--highlight-current
|
|
107
|
+
.el-tree-node.is-current
|
|
108
|
+
> .el-tree-node__content {
|
|
109
|
+
background-color: #{getCssVar(color, primary, light, default)};
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
// 按钮 begin
|
|
114
|
+
.el-button {
|
|
115
|
+
--el-button-bg-color: #{getCssVar(color, primary)};
|
|
116
|
+
--el-button-text-color: #{getCssVar(color, primary, text)};
|
|
117
|
+
--el-button-hover-text-color: #{getCssVar(color, primary, text)};
|
|
118
|
+
--el-button-hover-bg-color: #{getCssVar(color, primary, hover)};
|
|
119
|
+
--el-button-hover-border-color: #{getCssVar(color, primary, hover)};
|
|
120
|
+
--el-button-active-text-color: #{getCssVar(color, primary, text)};
|
|
121
|
+
--el-button-active-bg-color: #{getCssVar(color, primary, active)};
|
|
122
|
+
--el-button-active-border-color: #{getCssVar(color, primary, active)};
|
|
123
|
+
--el-button-disabled-bg-color: #{getCssVar(color, disabled, bg)};
|
|
124
|
+
--el-button-disabled-text-color: #{getCssVar(color, disabled, text)};
|
|
125
|
+
--el-button-border-color: #{getCssVar(color, border)};
|
|
126
|
+
|
|
127
|
+
border-width: 0;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.el-button--primary {
|
|
131
|
+
--el-button-bg-color: #{getCssVar(color, primary)};
|
|
132
|
+
--el-button-hover-bg-color: #{getCssVar(color, primary, hover)};
|
|
133
|
+
--el-button-active-bg-color: #{getCssVar(color, primary, active)};
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.el-button--info {
|
|
137
|
+
--el-button-bg-color: var(--el-fill-color-blank);
|
|
138
|
+
--el-button-text-color: var(--el-text-color-regular);
|
|
139
|
+
--el-button-disabled-text-color: var(--el-disabled-text-color);
|
|
140
|
+
--el-button-disabled-bg-color: var(--el-fill-color-blank);
|
|
141
|
+
--el-button-disabled-border-color: var(--el-border-color-light);
|
|
142
|
+
--el-button-divide-border-color: #{getCssVar(color, border)};
|
|
143
|
+
--el-button-hover-text-color: var(--el-color-primary);
|
|
144
|
+
--el-button-hover-bg-color: var(--el-color-primary-light-9);
|
|
145
|
+
--el-button-hover-border-color: var(--el-color-primary-light-7);
|
|
146
|
+
--el-button-active-text-color: var(--el-button-hover-text-color);
|
|
147
|
+
--el-button-active-border-color: var(--el-color-primary);
|
|
148
|
+
--el-button-active-bg-color: var(--el-button-hover-bg-color);
|
|
149
|
+
--el-button-outline-color: var(--el-color-primary-light-5);
|
|
150
|
+
--el-button-hover-link-text-color: var(--el-color-info);
|
|
151
|
+
--el-button-active-color: var(--el-text-color-primary);
|
|
152
|
+
|
|
153
|
+
border-width: 1px;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.el-button--success {
|
|
157
|
+
--el-button-bg-color: #{getCssVar(color, success)};
|
|
158
|
+
--el-button-hover-bg-color: #{getCssVar(color, success, hover)};
|
|
159
|
+
--el-button-active-bg-color: #{getCssVar(color, success, active)};
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.el-button--warning {
|
|
163
|
+
--el-button-bg-color: #{getCssVar(color, warning)};
|
|
164
|
+
--el-button-hover-bg-color: #{getCssVar(color, warning, hover)};
|
|
165
|
+
--el-button-active-bg-color: #{getCssVar(color, warning, active)};
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.el-button--danger {
|
|
169
|
+
--el-button-bg-color: #{getCssVar(color, danger)};
|
|
170
|
+
--el-button-hover-bg-color: #{getCssVar(color, danger, hover)};
|
|
171
|
+
--el-button-active-bg-color: #{getCssVar(color, danger, active)};
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.el-button.is-link {
|
|
175
|
+
--el-button-text-color: #{getCssVar(color, link)};
|
|
176
|
+
--el-button-hover-link-text-color: #{getCssVar(color, link, hover)};
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.el-button.is-text {
|
|
180
|
+
--el-button-text-color: #{getCssVar(color, primary)};
|
|
181
|
+
|
|
182
|
+
background-color: transparent;
|
|
183
|
+
border: 0 solid transparent;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.el-button.is-plain {
|
|
187
|
+
--el-button-hover-text-color: #{getCssVar(color, primary, text)};
|
|
188
|
+
--el-button-hover-bg-color: #{getCssVar(color, primary, hover)};
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.el-button.is-text:not(.is-disabled):focus,
|
|
192
|
+
.el-button.is-text:not(.is-disabled):hover {
|
|
193
|
+
background-color: #{getCssVar(color, fill, 0)};
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.el-button [class*=el-icon]+span{
|
|
197
|
+
margin-left: 0;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
// 按钮 end
|
|
201
|
+
|
|
202
|
+
// 表格 begin
|
|
203
|
+
.el-table {
|
|
204
|
+
--el-table-row-hover-bg-color: rgba(#{getCssVar(grey, 1)}, 1);
|
|
205
|
+
--el-table-current-row-bg-color: rgba(#{getCssVar(blue, cyan, 0)}, 1);
|
|
206
|
+
--el-table-bg-color: transparent;
|
|
207
|
+
--el-table-tr-bg-color: transparent;
|
|
208
|
+
--el-table-header-bg-color: transparent;
|
|
209
|
+
--el-table-border: 0.1px solid #{getCssVar(color, border)};
|
|
210
|
+
--el-table-border-color: #{getCssVar(color, border)};
|
|
211
|
+
|
|
212
|
+
font-size: #{getCssVar(font, size, regular)};
|
|
213
|
+
|
|
214
|
+
// 表格底部额外 border
|
|
215
|
+
.el-table__inner-wrapper::before {
|
|
216
|
+
display: none;
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
// 表格分页栏
|
|
221
|
+
.el-pagination {
|
|
222
|
+
--el-pagination-bg-color: transparent;
|
|
223
|
+
--el-pagination-text-color: #{getCssVar(color, text, 2)};
|
|
224
|
+
--el-pagination-hover-color: #{getCssVar(color, text, 0)};
|
|
225
|
+
--el-pagination-button-bg-color: transparent;
|
|
226
|
+
--el-pagination-button-color: #{getCssVar(color, text, 0)};
|
|
227
|
+
--el-pagination-button-disabled-bg-color: transparent;
|
|
228
|
+
--el-disabled-bg-color: transparent;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
.is-background .el-pager li:hover {
|
|
232
|
+
background-color: #{getCssVar(color, fill, 0)};
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.el-popper__arrow {
|
|
236
|
+
display: none;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.el-pagination__jump {
|
|
240
|
+
color: #{getCssVar(color, text, 0)};
|
|
241
|
+
|
|
242
|
+
.el-input__wrapper {
|
|
243
|
+
background-color: #{getCssVar(color, fill, 0)};
|
|
244
|
+
box-shadow: none;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
.el-input__wrapper:hover {
|
|
248
|
+
box-shadow: none;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
.el-input__inner {
|
|
252
|
+
color: #{getCssVar(color, text, 0)};
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
.el-pagination.is-background .el-pager li.is-active {
|
|
257
|
+
color: #{getCssVar(color, primary)};
|
|
258
|
+
background-color: #{getCssVar(color, primary, light, default)};
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
// 表格分页数量选择器
|
|
262
|
+
.el-popper.is-light {
|
|
263
|
+
background-color: #{getCssVar(color, bg, 3)};
|
|
264
|
+
border-width: 0;
|
|
265
|
+
|
|
266
|
+
.el-select-dropdown__item {
|
|
267
|
+
font-weight: #{getCssVar(font-weight, regular)};
|
|
268
|
+
color: #{getCssVar(color, text, 0)};
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
.el-select-dropdown__item.hover,
|
|
272
|
+
.el-select-dropdown__item:hover {
|
|
273
|
+
background-color: #{getCssVar(color, fill, 0)};
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
.el-select-dropdown__item.is-disabled{
|
|
277
|
+
color: #{getCssVar(color, disabled, text)};
|
|
278
|
+
cursor: not-allowed;
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
.el-pagination button {
|
|
283
|
+
--el-button-hover-bg-color: #{getCssVar(color, fill, 0)};
|
|
284
|
+
--el-button-hover-text-color: #{getCssVar(color, text, 0)};
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
.el-pagination__sizes {
|
|
288
|
+
--el-select-border-color-hover: transparent;
|
|
289
|
+
|
|
290
|
+
.el-select {
|
|
291
|
+
--el-select-border-color-hover: transparent;
|
|
292
|
+
--el-select-input-focus-border-color: #{getCssVar(color, focus, border)};
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
.el-input__wrapper {
|
|
296
|
+
background-color: #{getCssVar(color, fill, 0)};
|
|
297
|
+
box-shadow: none;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
.el-input__inner {
|
|
301
|
+
color: #{getCssVar(color, text, 0)};
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
.el-select .el-input.is-focus .el-input__wrapper {
|
|
305
|
+
box-shadow: none;
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
// 表格 end
|
|
310
|
+
|
|
311
|
+
// 卡片 begin
|
|
312
|
+
.el-card {
|
|
313
|
+
--el-card-border-radius: #{getCssVar(border, radius, medium)};
|
|
314
|
+
--el-card-padding: #{getCssVar(spacing, base)};
|
|
315
|
+
--el-card-bg-color: transparent;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
// 卡片 end
|
|
319
|
+
|
|
320
|
+
// 下拉菜单
|
|
321
|
+
.el-scrollbar {
|
|
322
|
+
--el-scrollbar-bg-color: #{getCssVar(color, fill, 2)};
|
|
323
|
+
--el-scrollbar-hover-bg-color: #{getCssVar(color, fill, 2)};
|
|
324
|
+
--el-scrollbar-opacity: 1;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
// 滑动输入条
|
|
328
|
+
.el-slider {
|
|
329
|
+
--el-slider-stop-bg-color: #{getCssVar(color, fill, 0)};
|
|
330
|
+
--el-slider-runway-bg-color: #{getCssVar(color, fill, 0)};
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
// 文件上传
|
|
334
|
+
.el-upload--picture-card {
|
|
335
|
+
border-width: 2px;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
.el-upload--picture-card:hover {
|
|
339
|
+
color: #{getCssVar(color, fill, 0)};
|
|
340
|
+
background-color: #{getCssVar(color, fill, 1)};
|
|
341
|
+
border-color: #{getCssVar(color, border)};
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
// 选择
|
|
345
|
+
.el-select__tags .el-tag--info {
|
|
346
|
+
color: #{getCssVar(editor, default, text-color)};
|
|
347
|
+
background-color: #{getCssVar(color, fill, 0)};
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
// 图片预览
|
|
351
|
+
.el-image {
|
|
352
|
+
.el-image-viewer__actions__inner {
|
|
353
|
+
color: #{getCssVar(color, text, 1)};
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
.el-image-viewer__actions {
|
|
357
|
+
background-color: #{getCssVar(color, bg, 1)};
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
.el-image-viewer__close {
|
|
361
|
+
color: #{getCssVar(color, text, 1)};
|
|
362
|
+
background-color: #{getCssVar(color, bg, 1)};
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
// 评分
|
|
367
|
+
.el-rate {
|
|
368
|
+
--el-rate-fill-color: #{getCssVar(color, primary)};
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
// 弹出框
|
|
372
|
+
.el-alert--info {
|
|
373
|
+
--el-alert-bg-color: #{getCssVar(color, bg, 1)};
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
// 输入框后缀区间隔
|
|
377
|
+
.el-input__suffix-inner {
|
|
378
|
+
gap: getCssVar(spacing, tight);
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
// 多选框
|
|
382
|
+
.el-checkbox{
|
|
383
|
+
--el-checkbox-disabled-input-fill: #{getCssVar(color, disabled, fill)};
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
.el-checkbox__label {
|
|
387
|
+
padding-left: getCssVar(spacing, base-tight);
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
// 单选框
|
|
391
|
+
.el-radio__label {
|
|
392
|
+
padding-left: getCssVar(spacing, base-tight);
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
// 下拉悬浮框
|
|
396
|
+
.el-popper.el-dropdown__popper {
|
|
397
|
+
.el-dropdown-menu {
|
|
398
|
+
padding: getCssVar(spacing, extra-tight) 0;
|
|
399
|
+
background-color: getCssVar(color, primary);
|
|
400
|
+
|
|
401
|
+
.el-dropdown-menu__item {
|
|
402
|
+
padding: getCssVar(spacing, tight) getCssVar(spacing, base);
|
|
403
|
+
color: getCssVar(color, primary, text);
|
|
404
|
+
background-color: getCssVar(color, primary);
|
|
405
|
+
|
|
406
|
+
&:hover {
|
|
407
|
+
background-color: getCssVar(color, primary, hover);
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
&.is-disabled{
|
|
411
|
+
cursor: not-allowed;
|
|
412
|
+
background-color: getCssVar(color, primary, disabled);
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
.el-scrollbar {
|
|
418
|
+
.el-dropdown__list {
|
|
419
|
+
background-color: getCssVar(color, primary);
|
|
420
|
+
|
|
421
|
+
.el-dropdown-menu {
|
|
422
|
+
padding: getCssVar(spacing, extra-tight) 0;
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
.el-dropdown-menu__item {
|
|
426
|
+
padding: getCssVar(spacing, tight) getCssVar(spacing, base);
|
|
427
|
+
color: getCssVar(color, primary, text);
|
|
428
|
+
background-color: getCssVar(color, primary);
|
|
429
|
+
|
|
430
|
+
&:hover {
|
|
431
|
+
background-color: getCssVar(color, primary, hover);
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
&.is-disabled{
|
|
435
|
+
cursor: not-allowed;
|
|
436
|
+
background-color: getCssVar(color, primary, disabled);
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
// 下拉框内浏览器内置样式边框去除
|
|
444
|
+
.el-dropdown .el-tooltip__trigger:focus-visible {
|
|
445
|
+
outline: none;
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
// 模态和飘窗内视图背景色补充
|
|
449
|
+
.el-drawer__body,
|
|
450
|
+
.el-dialog__body {
|
|
451
|
+
background-color: getCssVar(view, bg, color);
|
|
452
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/* 重置标准样式 */
|
|
2
|
+
@import './generic/index';
|
|
3
|
+
|
|
4
|
+
/* 标准元素样式 */
|
|
5
|
+
@import './elements/index';
|
|
6
|
+
|
|
7
|
+
/* 面向对象编写样式 */
|
|
8
|
+
@import './objects/index';
|
|
9
|
+
|
|
10
|
+
/* 特异性最高的样式,唯一可以使用 !important */
|
|
11
|
+
@import './tumps/index';
|
|
12
|
+
|
|
13
|
+
/* 默认主题 */
|
|
14
|
+
@import './theme/index';
|
|
15
|
+
|
|
16
|
+
/* 定义变量 */
|
|
17
|
+
@import './var';
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
// 默认组件的样式扩展
|
|
2
|
+
|
|
3
|
+
@include b(view-detabexpview) {
|
|
4
|
+
position: relative;
|
|
5
|
+
|
|
6
|
+
.#{bem(control-tabexppanel)} {
|
|
7
|
+
.el-tabs__nav-wrap::after {
|
|
8
|
+
background-color: transparent;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@include b(panel-container) {
|
|
14
|
+
|
|
15
|
+
@include m(indexactions) {
|
|
16
|
+
.el-button {
|
|
17
|
+
font-size: 28px;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.el-button:hover {
|
|
21
|
+
background-color: transparent;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@include m(indextopactions) {
|
|
26
|
+
.el-button {
|
|
27
|
+
padding: 0 getCssVar(spacing, tight);
|
|
28
|
+
font-size: 20px;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.el-button:hover {
|
|
32
|
+
background-color: transparent;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.#{bem(panel-container)}.#{bem(panel-container, '', view_footer)} {
|
|
38
|
+
height: 54px;
|
|
39
|
+
padding: 0 getCssVar(spacing, base);
|
|
40
|
+
border-top: 1px solid getCssVar(color, border);
|
|
41
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
// 状态
|