@94ai/nf-theme-oem 0.0.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/README.md +17 -0
- package/lib/_mixin.scss +28 -0
- package/lib/_variable.scss +58 -0
- package/lib/base.scss +117 -0
- package/lib/common-util.scss +1 -0
- package/lib/common-utils.scss +1 -0
- package/lib/css/base.css +1 -0
- package/lib/css/common-util.css +0 -0
- package/lib/css/common-utils.css +0 -0
- package/lib/css/images/audio_more.png +0 -0
- package/lib/css/images/audio_pause.png +0 -0
- package/lib/css/images/audio_play.png +0 -0
- package/lib/css/images/audio_volume.png +0 -0
- package/lib/css/images/bg.png +0 -0
- package/lib/css/index.css +1 -0
- package/lib/css/nf-action.css +1 -0
- package/lib/css/nf-address-select.css +1 -0
- package/lib/css/nf-address.css +1 -0
- package/lib/css/nf-alert.css +1 -0
- package/lib/css/nf-audio.css +1 -0
- package/lib/css/nf-button-demo.css +1 -0
- package/lib/css/nf-button.css +1 -0
- package/lib/css/nf-conditions.css +1 -0
- package/lib/css/nf-confirm.css +1 -0
- package/lib/css/nf-date-picker.css +1 -0
- package/lib/css/nf-double-half-year.css +1 -0
- package/lib/css/nf-double-quarter.css +1 -0
- package/lib/css/nf-double-time.css +0 -0
- package/lib/css/nf-double-week.css +1 -0
- package/lib/css/nf-double-year.css +1 -0
- package/lib/css/nf-drawer.css +1 -0
- package/lib/css/nf-empty.css +1 -0
- package/lib/css/nf-font/iconfont.css +866 -0
- package/lib/css/nf-font/iconfont.eot +0 -0
- package/lib/css/nf-font/iconfont.js +1 -0
- package/lib/css/nf-font/iconfont.json +1493 -0
- package/lib/css/nf-font/iconfont.svg +443 -0
- package/lib/css/nf-font/iconfont.ttf +0 -0
- package/lib/css/nf-font/iconfont.woff +0 -0
- package/lib/css/nf-font/iconfont.woff2 +0 -0
- package/lib/css/nf-font.css +1 -0
- package/lib/css/nf-form-item.css +1 -0
- package/lib/css/nf-form.css +0 -0
- package/lib/css/nf-half-year-picker.css +1 -0
- package/lib/css/nf-iconfont-icon.css +1 -0
- package/lib/css/nf-import-template.css +1 -0
- package/lib/css/nf-indicator-plane.css +1 -0
- package/lib/css/nf-infinite-menu.css +0 -0
- package/lib/css/nf-input.css +1 -0
- package/lib/css/nf-keywords.css +1 -0
- package/lib/css/nf-lazy-select.css +0 -0
- package/lib/css/nf-menu.css +0 -0
- package/lib/css/nf-message.css +1 -0
- package/lib/css/nf-microphone.css +0 -0
- package/lib/css/nf-notification.css +1 -0
- package/lib/css/nf-popup-lazy-select.css +1 -0
- package/lib/css/nf-quarter-picker.css +1 -0
- package/lib/css/nf-radio-group.css +1 -0
- package/lib/css/nf-resizable-panels.css +1 -0
- package/lib/css/nf-rules.css +1 -0
- package/lib/css/nf-search-form.css +1 -0
- package/lib/css/nf-select-transfer.css +1 -0
- package/lib/css/nf-softphone.css +1 -0
- package/lib/css/nf-svg-icon.css +0 -0
- package/lib/css/nf-table.css +1 -0
- package/lib/css/nf-tag.css +1 -0
- package/lib/css/nf-text-overflow.css +1 -0
- package/lib/css/nf-timezone-picker.css +0 -0
- package/lib/css/nf-toast-demo.css +1 -0
- package/lib/css/nf-toast-font/iconfont.eot +0 -0
- package/lib/css/nf-toast-font/iconfont.svg +35 -0
- package/lib/css/nf-toast-font/iconfont.ttf +0 -0
- package/lib/css/nf-toast-font/iconfont.woff +0 -0
- package/lib/css/nf-toast-font/iconfont.woff2 +0 -0
- package/lib/css/nf-toast-font.css +1 -0
- package/lib/css/nf-transfer-select.css +1 -0
- package/lib/css/nf-variable-select.css +1 -0
- package/lib/css/nf-virtual-select.css +1 -0
- package/lib/css/nf-year-picker.css +0 -0
- package/lib/images/audio_more.png +0 -0
- package/lib/images/audio_pause.png +0 -0
- package/lib/images/audio_play.png +0 -0
- package/lib/images/audio_volume.png +0 -0
- package/lib/images/bg.png +0 -0
- package/lib/index.scss +44 -0
- package/lib/index.ts +1 -0
- package/lib/nf-action.scss +67 -0
- package/lib/nf-address-select.scss +58 -0
- package/lib/nf-address.scss +56 -0
- package/lib/nf-alert.scss +182 -0
- package/lib/nf-audio.scss +474 -0
- package/lib/nf-button-demo.scss +94 -0
- package/lib/nf-button.scss +140 -0
- package/lib/nf-conditions.scss +55 -0
- package/lib/nf-confirm.scss +72 -0
- package/lib/nf-date-picker.scss +473 -0
- package/lib/nf-double-half-year.scss +95 -0
- package/lib/nf-double-quarter.scss +96 -0
- package/lib/nf-double-time.scss +1 -0
- package/lib/nf-double-week.scss +43 -0
- package/lib/nf-double-year.scss +112 -0
- package/lib/nf-drawer.scss +104 -0
- package/lib/nf-empty.scss +47 -0
- package/lib/nf-font/iconfont.css +866 -0
- package/lib/nf-font/iconfont.eot +0 -0
- package/lib/nf-font/iconfont.js +1 -0
- package/lib/nf-font/iconfont.json +1493 -0
- package/lib/nf-font/iconfont.svg +443 -0
- package/lib/nf-font/iconfont.ttf +0 -0
- package/lib/nf-font/iconfont.woff +0 -0
- package/lib/nf-font/iconfont.woff2 +0 -0
- package/lib/nf-font.scss +866 -0
- package/lib/nf-form-item.scss +20 -0
- package/lib/nf-form.scss +0 -0
- package/lib/nf-half-year-picker.scss +64 -0
- package/lib/nf-iconfont-icon.scss +1 -0
- package/lib/nf-import-template.scss +65 -0
- package/lib/nf-indicator-plane.scss +235 -0
- package/lib/nf-infinite-menu.scss +1 -0
- package/lib/nf-input.scss +24 -0
- package/lib/nf-keywords.scss +142 -0
- package/lib/nf-lazy-select.scss +0 -0
- package/lib/nf-menu.scss +2 -0
- package/lib/nf-message.scss +74 -0
- package/lib/nf-microphone.scss +1 -0
- package/lib/nf-notification.scss +88 -0
- package/lib/nf-popup-lazy-select.scss +78 -0
- package/lib/nf-quarter-picker.scss +68 -0
- package/lib/nf-radio-group.scss +53 -0
- package/lib/nf-resizable-panels.scss +136 -0
- package/lib/nf-rules.scss +161 -0
- package/lib/nf-search-form.scss +288 -0
- package/lib/nf-softphone.scss +27 -0
- package/lib/nf-svg-icon.scss +1 -0
- package/lib/nf-table.scss +443 -0
- package/lib/nf-tag.scss +61 -0
- package/lib/nf-text-overflow.scss +32 -0
- package/lib/nf-timezone-picker.scss +1 -0
- package/lib/nf-toast-demo.scss +50 -0
- package/lib/nf-toast-font/iconfont.eot +0 -0
- package/lib/nf-toast-font/iconfont.svg +35 -0
- package/lib/nf-toast-font/iconfont.ttf +0 -0
- package/lib/nf-toast-font/iconfont.woff +0 -0
- package/lib/nf-toast-font/iconfont.woff2 +0 -0
- package/lib/nf-toast-font.scss +30 -0
- package/lib/nf-transfer-select.scss +261 -0
- package/lib/nf-variable-select.scss +53 -0
- package/lib/nf-virtual-select.scss +79 -0
- package/lib/nf-year-picker.scss +0 -0
- package/package.json +34 -0
|
@@ -0,0 +1,443 @@
|
|
|
1
|
+
@use './base.scss';
|
|
2
|
+
@use "./variable.scss" as *;
|
|
3
|
+
|
|
4
|
+
.nf-table {
|
|
5
|
+
position: relative;
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: column;
|
|
8
|
+
|
|
9
|
+
.el-table__fixed-right:before, .el-table__fixed:before {
|
|
10
|
+
background: none;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
>.nf-table-content {
|
|
14
|
+
flex: 1;
|
|
15
|
+
min-height: 0;
|
|
16
|
+
display: flex;
|
|
17
|
+
flex-direction: column;
|
|
18
|
+
>.nf-column-display {
|
|
19
|
+
position: absolute;
|
|
20
|
+
top: 0;
|
|
21
|
+
right: 0;
|
|
22
|
+
}
|
|
23
|
+
>.nf-table-container {
|
|
24
|
+
flex: 1;
|
|
25
|
+
min-height: 0;
|
|
26
|
+
.operation-icon-column-check {
|
|
27
|
+
font-size: 14px;
|
|
28
|
+
margin-left: 10px;
|
|
29
|
+
font-weight: 600;
|
|
30
|
+
color: rgba(48, 49, 51, 0.65);
|
|
31
|
+
cursor: pointer;
|
|
32
|
+
transform: translateY(2px);
|
|
33
|
+
display: inline-block;
|
|
34
|
+
padding: 0 4px;
|
|
35
|
+
&:hover {
|
|
36
|
+
background-color: #E0E1E5;
|
|
37
|
+
border-radius: 2px;
|
|
38
|
+
color: $color-primary;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
&.nf-default-table-border {
|
|
42
|
+
&.el-table--border {
|
|
43
|
+
border: none;
|
|
44
|
+
&::after {
|
|
45
|
+
width: 0;
|
|
46
|
+
}
|
|
47
|
+
// &::before {
|
|
48
|
+
// width: 0;
|
|
49
|
+
// }
|
|
50
|
+
td {
|
|
51
|
+
border: none;
|
|
52
|
+
border-bottom: 1px solid #EBEEF5;
|
|
53
|
+
padding: 10px 0;
|
|
54
|
+
line-height: 20px;
|
|
55
|
+
}
|
|
56
|
+
.el-table__header {
|
|
57
|
+
background: #F5F7FA;
|
|
58
|
+
th {
|
|
59
|
+
background: #F5F7FA;
|
|
60
|
+
border-right-color: transparent;
|
|
61
|
+
border: none;
|
|
62
|
+
.cell {
|
|
63
|
+
font-weight: 600;
|
|
64
|
+
color: rgba(0,0,0,0.65);
|
|
65
|
+
padding: 0 10px;
|
|
66
|
+
}
|
|
67
|
+
&:last-child{
|
|
68
|
+
.cell {
|
|
69
|
+
&::after {
|
|
70
|
+
display: none;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
.el-table__header {
|
|
78
|
+
background: #F5F7FA;
|
|
79
|
+
th {
|
|
80
|
+
user-select: auto;
|
|
81
|
+
padding: 0;
|
|
82
|
+
&:not(th:nth-last-child(1)) {
|
|
83
|
+
border: none;
|
|
84
|
+
}
|
|
85
|
+
.cell {
|
|
86
|
+
position: relative;
|
|
87
|
+
font-size: 14px;
|
|
88
|
+
color: #303133;
|
|
89
|
+
font-weight: 600;
|
|
90
|
+
padding: 0;
|
|
91
|
+
|
|
92
|
+
&::after {
|
|
93
|
+
position: absolute;
|
|
94
|
+
content: "";
|
|
95
|
+
display: block;
|
|
96
|
+
right: 0;
|
|
97
|
+
top: 50%;
|
|
98
|
+
transform: translateY(-50%);
|
|
99
|
+
width: 2px;
|
|
100
|
+
height: 16px;
|
|
101
|
+
background-color: #E9EBF0;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
&:nth-last-child(2),&:nth-last-child(1) {
|
|
105
|
+
.cell {
|
|
106
|
+
&::after {
|
|
107
|
+
display: none;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
>.nf-action-box {
|
|
119
|
+
padding: 16px 0 0 10px;
|
|
120
|
+
border-top: none;
|
|
121
|
+
>.nf-pagination-box {
|
|
122
|
+
text-align: center;
|
|
123
|
+
>.el-pager {
|
|
124
|
+
>li {
|
|
125
|
+
&:hover, &.active {
|
|
126
|
+
background: rgba(17,119,255,0.08);
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
.el-checkbox__label {
|
|
132
|
+
color: rgba(0,0,0,0.65);
|
|
133
|
+
font-weight: 400;
|
|
134
|
+
font-size: 12px;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.el-table__header-wrapper {
|
|
140
|
+
background-color: #F5F7FA;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.el-table__body-wrapper{
|
|
144
|
+
.el-table__empty-block {
|
|
145
|
+
width: 100% !important;
|
|
146
|
+
position: sticky;
|
|
147
|
+
left: 0;
|
|
148
|
+
top: 0;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.el-table {
|
|
153
|
+
color: rgba(0,0,0,0.85);
|
|
154
|
+
.cell {
|
|
155
|
+
padding: 0 10px;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.el-table__fixed-right-patch {
|
|
160
|
+
background-color: #F5F7FA;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.el-table--border {
|
|
164
|
+
&::after {
|
|
165
|
+
background-color: transparent;
|
|
166
|
+
}
|
|
167
|
+
th, td {
|
|
168
|
+
&:first-child {
|
|
169
|
+
.cell {
|
|
170
|
+
padding-left: 10px;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
td {
|
|
177
|
+
.cell {
|
|
178
|
+
min-height: 28px;
|
|
179
|
+
}
|
|
180
|
+
.nf-button--text {
|
|
181
|
+
padding-right: 4px;
|
|
182
|
+
padding-left: 4px;
|
|
183
|
+
&:hover {
|
|
184
|
+
color: $color-primary;
|
|
185
|
+
background-color: rgba(17,119,255,.08);
|
|
186
|
+
}
|
|
187
|
+
&:active {
|
|
188
|
+
color: $color-primary;
|
|
189
|
+
background-color: #DCDFE6;
|
|
190
|
+
}
|
|
191
|
+
& + .nf-button--text {
|
|
192
|
+
margin-left: 5px;
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.nf-action {
|
|
198
|
+
padding-left: 0;
|
|
199
|
+
margin-left: -4px;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.nf-search-form {
|
|
203
|
+
padding-bottom: 0;
|
|
204
|
+
margin-right: -16px;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.el-pagination__editor.el-input .el-input__inner {
|
|
208
|
+
height: 24px;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.el-pagination__jump {
|
|
212
|
+
margin-left: 8px;
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
.nf-table-nf-column-check-dialog {
|
|
218
|
+
.el-dialog__body {
|
|
219
|
+
padding: 16px;
|
|
220
|
+
}
|
|
221
|
+
.el-dialog__footer {
|
|
222
|
+
padding: 0 0 0 0;
|
|
223
|
+
.nf-table-nf-column-check-dialog-button-confirm {
|
|
224
|
+
margin-right: 16px;
|
|
225
|
+
}
|
|
226
|
+
.nf-table-nf-column-check-dialog-button-cancel {
|
|
227
|
+
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
.el-dialog__header {
|
|
231
|
+
border-bottom: 1px solid #EBEEF5;
|
|
232
|
+
}
|
|
233
|
+
.nf-table-nf-column-check-dialog-button-container {
|
|
234
|
+
border-top: 1px solid #EBEEF5;
|
|
235
|
+
height: 64px;
|
|
236
|
+
line-height: 64px;
|
|
237
|
+
}
|
|
238
|
+
.nf-table-nf-column-check-dialog-check-content {
|
|
239
|
+
padding: 0 12px;
|
|
240
|
+
.nf-check-item {
|
|
241
|
+
margin-bottom: 12px;
|
|
242
|
+
.nf-check-title {
|
|
243
|
+
font-size: 16px;
|
|
244
|
+
font-weight: bold;
|
|
245
|
+
padding: 10px 0;
|
|
246
|
+
}
|
|
247
|
+
.nf-check-box {
|
|
248
|
+
padding: 5px;
|
|
249
|
+
width: 33.3%;
|
|
250
|
+
margin-right: 0;
|
|
251
|
+
box-sizing: border-box;
|
|
252
|
+
.el-checkbox__label {
|
|
253
|
+
overflow: hidden;
|
|
254
|
+
text-overflow: ellipsis;
|
|
255
|
+
width: calc(100% - 22px);
|
|
256
|
+
vertical-align: middle;
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
.nf-table-nf-column-check-drawer {
|
|
265
|
+
ul,p {
|
|
266
|
+
margin: 0;
|
|
267
|
+
padding: 0;
|
|
268
|
+
}
|
|
269
|
+
height: 100%;
|
|
270
|
+
display: flex;
|
|
271
|
+
.ghost {
|
|
272
|
+
opacity: 0;
|
|
273
|
+
background: #F5F7FA;
|
|
274
|
+
}
|
|
275
|
+
.nf-handle {
|
|
276
|
+
cursor: move;
|
|
277
|
+
display: inline-block;width: 200px;
|
|
278
|
+
}
|
|
279
|
+
.slide-fade-enter-active,
|
|
280
|
+
.slide-fade-leave-active {
|
|
281
|
+
transition: all .5s ease;
|
|
282
|
+
}
|
|
283
|
+
.slide-fade-enter,
|
|
284
|
+
.slide-fade-leave-to {
|
|
285
|
+
transform: translateX(20px);
|
|
286
|
+
opacity: 0;
|
|
287
|
+
}
|
|
288
|
+
.nf-not-chosen, .nf-already-chosen {
|
|
289
|
+
width: 340px;
|
|
290
|
+
height: 100%;
|
|
291
|
+
overflow-y: auto;
|
|
292
|
+
overflow-x: hidden;
|
|
293
|
+
box-sizing: border-box;
|
|
294
|
+
}
|
|
295
|
+
.nf-not-chosen {
|
|
296
|
+
border-right: 1px solid #EBEEF5;
|
|
297
|
+
height: 100%;
|
|
298
|
+
overflow: hidden;
|
|
299
|
+
.nf-select-column {
|
|
300
|
+
padding: 0 16px;
|
|
301
|
+
height: calc(100% - 124px);
|
|
302
|
+
width: 100%;
|
|
303
|
+
overflow: overlay;
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
.nf-check-title {
|
|
307
|
+
margin: 8px 0;
|
|
308
|
+
padding-left: 8px;
|
|
309
|
+
height: 20px;
|
|
310
|
+
line-height: 20px;
|
|
311
|
+
color: rgba(0,0,0,0.5);
|
|
312
|
+
font-size: 14px;
|
|
313
|
+
}
|
|
314
|
+
.nf-search-column {
|
|
315
|
+
padding: 16px 16px 8px;
|
|
316
|
+
}
|
|
317
|
+
.nf-already-chosen {
|
|
318
|
+
overflow: hidden;
|
|
319
|
+
.nf-selected-column {
|
|
320
|
+
height: 32px;
|
|
321
|
+
margin: 16px 16px 12px;
|
|
322
|
+
padding: 0 8px;
|
|
323
|
+
display: flex;
|
|
324
|
+
align-items: center;
|
|
325
|
+
justify-content: space-between;
|
|
326
|
+
font-size: 14px;
|
|
327
|
+
color: #7f7f7f;
|
|
328
|
+
border-bottom: 1px solid #F0F3F7;
|
|
329
|
+
box-sizing: border-box;
|
|
330
|
+
span {
|
|
331
|
+
color: $color-primary;
|
|
332
|
+
cursor: pointer;
|
|
333
|
+
&:active {
|
|
334
|
+
color: rgba(17, 119, 255, .8);
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
.nf-drag-container {
|
|
339
|
+
height: calc(100% - 80px);
|
|
340
|
+
overflow-x: hidden;
|
|
341
|
+
overflow-y: overlay;
|
|
342
|
+
}
|
|
343
|
+
.nf-drag-element {
|
|
344
|
+
height: 36px;
|
|
345
|
+
padding: 0 4px 0 28px;
|
|
346
|
+
position: relative;
|
|
347
|
+
display: flex;
|
|
348
|
+
align-items: center;
|
|
349
|
+
justify-content: space-between;
|
|
350
|
+
font-size: 14px;
|
|
351
|
+
color: #303133;
|
|
352
|
+
&:hover {
|
|
353
|
+
background-color: #F2F3F5;
|
|
354
|
+
border-radius: 4px;
|
|
355
|
+
}
|
|
356
|
+
& > span {
|
|
357
|
+
display: flex;
|
|
358
|
+
align-items: center;
|
|
359
|
+
}
|
|
360
|
+
.icon-ketuozhuai {
|
|
361
|
+
left: 8px;
|
|
362
|
+
position: absolute;
|
|
363
|
+
font-size: 18px;
|
|
364
|
+
color: rgba(0,0,0,0.45);
|
|
365
|
+
}
|
|
366
|
+
i:not(.icon-ketuozhuai) {
|
|
367
|
+
display: block;
|
|
368
|
+
width: 20px;
|
|
369
|
+
height: 20px;
|
|
370
|
+
text-align: center;
|
|
371
|
+
line-height: 20px;
|
|
372
|
+
font-size: 20px;
|
|
373
|
+
color: rgba(0,0,0,0.45);
|
|
374
|
+
cursor: pointer;
|
|
375
|
+
&.icon-guanbi1 {
|
|
376
|
+
font-size: 19px;
|
|
377
|
+
margin-left: 8px;
|
|
378
|
+
}
|
|
379
|
+
&:hover {
|
|
380
|
+
background-color: rgba(0,0,0,0.05);
|
|
381
|
+
border-radius: 10px;
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
.nf-fixed, .nf-not-fixed {
|
|
387
|
+
padding: 0 16px;
|
|
388
|
+
p {
|
|
389
|
+
margin-bottom: 8px;
|
|
390
|
+
padding: 0 8px;
|
|
391
|
+
line-height: 20px;
|
|
392
|
+
font-size: 14px;
|
|
393
|
+
color: #7f7f7f;
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
.nf-fixed {
|
|
397
|
+
margin-bottom: 8px;
|
|
398
|
+
}
|
|
399
|
+
.nf-search-column {
|
|
400
|
+
.el-input__prefix {
|
|
401
|
+
left: 12px;
|
|
402
|
+
}
|
|
403
|
+
.el-input__icon {
|
|
404
|
+
font-size: 14px;
|
|
405
|
+
color: rgba(0,0,0,0.5);
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
.el-input--small {
|
|
409
|
+
font-size: 14px;
|
|
410
|
+
}
|
|
411
|
+
.el-checkbox {
|
|
412
|
+
height: 36px;
|
|
413
|
+
padding-left: 8px;
|
|
414
|
+
margin-right: 0;
|
|
415
|
+
display: flex;
|
|
416
|
+
align-items: center;
|
|
417
|
+
color: #303133;
|
|
418
|
+
border-radius: 4px;
|
|
419
|
+
&:hover {
|
|
420
|
+
background-color: #F2F3F5;
|
|
421
|
+
}
|
|
422
|
+
.el-checkbox__label {
|
|
423
|
+
font-weight: 400;
|
|
424
|
+
padding-left: 16px;
|
|
425
|
+
}
|
|
426
|
+
&.is-checked .el-checkbox__input.is-checked + .el-checkbox__label {
|
|
427
|
+
color: #303133;
|
|
428
|
+
}
|
|
429
|
+
&.is-disabled {
|
|
430
|
+
cursor: not-allowed;
|
|
431
|
+
.el-checkbox__input.is-checked + .el-checkbox__label {
|
|
432
|
+
color: #bfbfbf;
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
el-checkbox-group {
|
|
437
|
+
display: flex;
|
|
438
|
+
flex-direction: column;
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
|
|
443
|
+
|
package/lib/nf-tag.scss
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
@use "./variable.scss" as *;
|
|
2
|
+
|
|
3
|
+
.nf-tag--success {
|
|
4
|
+
background: #f0f9ec;
|
|
5
|
+
color: #67C23A;
|
|
6
|
+
.circle {
|
|
7
|
+
background: #67C23A;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
.nf-tag--warning {
|
|
11
|
+
background: #fff3ec;
|
|
12
|
+
color: #FF6611;
|
|
13
|
+
.circle{
|
|
14
|
+
background: #FF6611;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
.nf-tag--tip {
|
|
18
|
+
background: #f6f0ff;
|
|
19
|
+
color: #8840FA;
|
|
20
|
+
.circle{
|
|
21
|
+
background: #8840FA;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
.nf-tag--info {
|
|
25
|
+
background: #e7f1ff;
|
|
26
|
+
color: $color-primary;
|
|
27
|
+
.circle{
|
|
28
|
+
background: $color-primary;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
.nf-tag--disabled {
|
|
32
|
+
background: #F6F5FA;
|
|
33
|
+
color: rgba(0, 0, 0, .65);
|
|
34
|
+
.circle{
|
|
35
|
+
background: rgba(0, 0, 0, .5);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
.nf-tag--danger {
|
|
39
|
+
background: rgba(252,57,57,0.08);
|
|
40
|
+
color: #FC3939;
|
|
41
|
+
.circle{
|
|
42
|
+
background: #FC3939;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
.nf-tag {
|
|
46
|
+
align-items: center;
|
|
47
|
+
justify-content: center;
|
|
48
|
+
padding: 0 8px;
|
|
49
|
+
line-height: 22px;
|
|
50
|
+
display: inline-block;
|
|
51
|
+
border-radius: 2px;
|
|
52
|
+
font-size: 12px;
|
|
53
|
+
.circle {
|
|
54
|
+
width: 4px;
|
|
55
|
+
height: 4px;
|
|
56
|
+
display: inline-block;
|
|
57
|
+
vertical-align: middle;
|
|
58
|
+
border-radius: 50%;
|
|
59
|
+
margin-right: 4px;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
@use "./variable.scss" as *;
|
|
2
|
+
|
|
3
|
+
.nf-text-overflow {
|
|
4
|
+
font-size: 12px;
|
|
5
|
+
font-weight: 400;
|
|
6
|
+
line-height: 20px;
|
|
7
|
+
|
|
8
|
+
.nf-text-overflow__content {
|
|
9
|
+
color: rgba(0,0,0,0.85);
|
|
10
|
+
overflow: hidden;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.nf-text-overflow__action {
|
|
14
|
+
margin-top: 6px;
|
|
15
|
+
color: rgba(0,0,0,0.45);
|
|
16
|
+
line-height: 18px;
|
|
17
|
+
padding: 3px 4px;
|
|
18
|
+
display: inline-flex;
|
|
19
|
+
align-items: center;
|
|
20
|
+
cursor: pointer;
|
|
21
|
+
|
|
22
|
+
&:hover {
|
|
23
|
+
color: $color-primary;
|
|
24
|
+
background: #EBEEF5;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.nf-text-overflow__icon {
|
|
28
|
+
margin-left: 4px;
|
|
29
|
+
font-size: 16px;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
@use './nf-toast-font.scss';
|
|
2
|
+
@use "./variable.scss" as *;
|
|
3
|
+
|
|
4
|
+
.nf-toast-demo {
|
|
5
|
+
transition: all 1s;
|
|
6
|
+
position: fixed;
|
|
7
|
+
left: 50%;
|
|
8
|
+
transform: translateX(-50%);
|
|
9
|
+
top: 16px;
|
|
10
|
+
height: 40px;
|
|
11
|
+
padding: 0 20px;
|
|
12
|
+
color: black;
|
|
13
|
+
background-color: white;
|
|
14
|
+
line-height: 40px;
|
|
15
|
+
font-size: 14px;
|
|
16
|
+
box-shadow: 2px 2px 10px #999;
|
|
17
|
+
transition: all 1s;
|
|
18
|
+
.iconfonttoast {
|
|
19
|
+
font-size: 20px;
|
|
20
|
+
vertical-align: middle;
|
|
21
|
+
margin-right: 5px;
|
|
22
|
+
margin-left: -8px;
|
|
23
|
+
}
|
|
24
|
+
.close {
|
|
25
|
+
color: gray;
|
|
26
|
+
margin-left: 10px;
|
|
27
|
+
margin-right: 0px;
|
|
28
|
+
cursor: pointer;
|
|
29
|
+
}
|
|
30
|
+
.iconsuccess {
|
|
31
|
+
color: green;
|
|
32
|
+
}
|
|
33
|
+
.iconinfo {
|
|
34
|
+
color: #349dff;
|
|
35
|
+
}
|
|
36
|
+
.iconerror {
|
|
37
|
+
color: #ff5153;
|
|
38
|
+
}
|
|
39
|
+
.iconwarning {
|
|
40
|
+
color: #ffb00f;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
.nf-toast-demo-fade-enter-active,
|
|
44
|
+
.nf-toast-demo-fade-leave-active {
|
|
45
|
+
transition: opacity 0.5s;
|
|
46
|
+
}
|
|
47
|
+
.nf-toast-demo-fade-enter,
|
|
48
|
+
.nf-toast-demo-fade-leave-to {
|
|
49
|
+
opacity: 0;
|
|
50
|
+
}
|
|
Binary file
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
<?xml version="1.0" standalone="no"?>
|
|
2
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
|
|
3
|
+
<!--
|
|
4
|
+
2013-9-30: Created.
|
|
5
|
+
-->
|
|
6
|
+
<svg>
|
|
7
|
+
<metadata>
|
|
8
|
+
Created by iconfont
|
|
9
|
+
</metadata>
|
|
10
|
+
<defs>
|
|
11
|
+
|
|
12
|
+
<font id="iconfont" horiz-adv-x="1024" >
|
|
13
|
+
<font-face
|
|
14
|
+
font-family="iconfont"
|
|
15
|
+
font-weight="500"
|
|
16
|
+
font-stretch="normal"
|
|
17
|
+
units-per-em="1024"
|
|
18
|
+
ascent="896"
|
|
19
|
+
descent="-128"
|
|
20
|
+
/>
|
|
21
|
+
<missing-glyph />
|
|
22
|
+
|
|
23
|
+
<glyph glyph-name="success" unicode="" d="M512 724c-194.4 0-352-157.6-352-352 0-194.416 157.6-352 352-352s352 157.6 352 352c0 194.416-157.6 352-352 352zM727.072 473.136l-241.312-236.32c-1.216-2.016-2.688-4.064-4.672-6.048l-11.312-11.312c-6.256-6.256-13.616-9.024-16.432-6.208l-114.944 120.288c-2.816 2.816-0.048 10.16 6.208 16.4l11.312 11.328c6.24 6.256 13.6 9.024 16.416 6.208l86.16-90.144 234.64 229.776c6.24 6.256 16.368 6.256 22.624 0l11.312-11.312c6.256-6.272 6.256-16.4 0-22.656z" horiz-adv-x="1024" />
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
<glyph glyph-name="info" unicode="" d="M512 716.8a332.8 332.8 0 1 0 0-665.6 332.8 332.8 0 0 0 0 665.6z m0-51.2a281.6 281.6 0 1 1 0-563.2 281.6 281.6 0 0 1 0 563.2zM512.768 556.032a38.7072 38.7072 0 1 0 0-77.3632 38.7072 38.7072 0 0 0 0 77.3632zM546.4576 217.3952h-27.2384c-14.2848 0-29.0304 12.3904-29.0304 23.7056V397.9776h-9.728a25.8048 25.8048 0 1 0 0 51.6096s31.488 0.1024 32.3072 0c13.1072-0.9728 22.5792-6.656 22.5792-17.3568v-163.2768h11.1104a25.8048 25.8048 0 1 0 0-51.5584z" horiz-adv-x="1024" />
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
<glyph glyph-name="error" unicode="" d="M676.053333 545.792l-1.152 1.152a25.6 25.6 0 0 1-36.181333 0L512 420.266667l-126.72 126.72a25.557333 25.557333 0 0 1-36.224 0 25.514667 25.514667 0 0 1 0-36.266667L475.818667 384 349.013333 257.28a25.514667 25.514667 0 0 1 0-36.138667l1.194667-1.152a25.6 25.6 0 0 1 36.224 0l126.72 126.72 126.72-126.72a25.6 25.6 0 1 1 36.181333 36.224l-126.72 126.72 126.72 126.72a25.6 25.6 0 0 1 0 36.181334m107.434667 109.738666a383.914667 383.914667 0 0 1-543.018667 0 383.957333 383.957333 0 0 1 0-543.018666 383.872 383.872 0 0 1 543.018667 0 383.872 383.872 0 0 1 0 543.018666m-36.181333-506.837333a332.757333 332.757333 0 0 0-470.613334 0 332.672 332.672 0 0 0 0 470.613333 332.714667 332.714667 0 0 0 470.613334 0 332.714667 332.714667 0 0 0 0-470.613333" horiz-adv-x="1024" />
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
</font>
|
|
35
|
+
</defs></svg>
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
@font-face {
|
|
2
|
+
font-family: "nf-iconfont-toast-demo";
|
|
3
|
+
src: url('nf-toast-font/iconfont.eot?t=1595579048114'); /* IE9 */
|
|
4
|
+
src: url('nf-toast-font/iconfont.eot?t=1595579048114#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
|
5
|
+
url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAAPcAAsAAAAACCgAAAOPAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCDHAqDbINUATYCJAMQCwoABCAFhG0HQBs+BxGF9JH9kCSEKkjAIQ8KAACQCX6IIEwbBAAADKXk4Wu/13N39//sgwAqRJmJZUsqOhOVtHWkWbGur9FVop6N6P+suc8OlRMkjdc1seYNsdshKpdmdosiBiGNZok0TdDMEnVby/a9CBOhrsmfd9UXsFezdz072dDG4zRKvcOCcEj+55jpMsHyr20uUUkRSUF7A5xF6oDysvCaTvROGA/chsyOJyVbZBexK5DPE2gt2hfn54EJqAo4LRBP8o0lqCmXUsMM1TosubZAfIEyNelZDwA++38f/6AvKkgGGaD0el20CscvLqURWVFmtghQjxeAchMZ+yjEfWnoDnKY3Ze11u7iEFWVGGvt4IUuFgXNXkwV/csjZIkYAtT34EDIZX5yiZTg54GqzEzzdRK8kGsqGnwF/gBQ5v1EUuS+te+r0KWmpp1sdiKXIwsFKp8nJ0woajLhYouVIKxWjKSsDIaZZTuViiZy9GIGybZbJpiry2pLQp6c6r0jeElrsMitRM03DLr3dtsFbjGgE+ILmGTYoAbZIOczBEWao05cTFnlVDpvyC5BliMwBWF5fvI6a8gb5AkDU7BFli1mzMjdHWK2vAqqix/O/f/7bO5MCpTsY7qpX5gQKpvJqY9nYZ20pQ7+PxiRVAoxWl4F7YpLui5YHg8L/cUoeJ34Wefb+Poa/icEUc9oh6+u0l1d84Q/+ti8hmBN4593CK7AC/RcArl17AdbD8Ib8EKN2O937X7LBbp8RjIcR1i7uxzGIf+eVMn0zQ/dqxFrbq6P1sjlp/s0aMQwpKXBi/Jt5xvyRecB+WWOv33MO6fD/eX+v3aXO/aDm4r5NUUOfpm6tfrfqlsOFFsL7lJMHVE54eIkUSahRV7+aJEpv2NYZlvXE6rZGJIRC5BV68iC3YeBzgEMVUfQ2nO5uTONdUVpsOuTgzDhC5Ix3yGb8EAW7A8MzPmDoYlAoHUT23t2NmNrcmAMBROIPiCPqVHxyiRovGL6UoWc1PqsZ2STJ8C1nGzhgg3yGBeY19QTUaCYajhzL8OqItBMBcZiZSJ6Z9uq7JusmOrWxBmGQgIlQOQDyMVIQ7HRYpL7/SuUelEJcU1fS/YZYka+OXBZnBbIi6lp1XctrzFepTxCKEBhpAbOXDmqVMg26fJDBRQTlqxHWtux0TDV1mTNb6mf8Ay04EElUuQoMTDy9CWO0ZhefvodfWQmbrUAAA==') format('woff2'),
|
|
6
|
+
url('nf-toast-font/iconfont.woff?t=1595579048114') format('woff'),
|
|
7
|
+
url('nf-toast-font/iconfont.ttf?t=1595579048114') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */
|
|
8
|
+
url('nf-toast-font/iconfont.svg?t=1595579048114#iconfont') format('svg'); /* iOS 4.1- */
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.nf-iconfont-toast-demo {
|
|
12
|
+
font-family: "nf-iconfont-toast-demo" !important;
|
|
13
|
+
font-size: 16px;
|
|
14
|
+
font-style: normal;
|
|
15
|
+
-webkit-font-smoothing: antialiased;
|
|
16
|
+
-moz-osx-font-smoothing: grayscale;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.iconsuccess:before {
|
|
20
|
+
content: "\e640";
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.iconinfo:before {
|
|
24
|
+
content: "\e678";
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.iconerror:before {
|
|
28
|
+
content: "\e66f";
|
|
29
|
+
}
|
|
30
|
+
|