@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,88 @@
|
|
|
1
|
+
@use "./variable.scss" as *;
|
|
2
|
+
|
|
3
|
+
.nf-notification {
|
|
4
|
+
display: flex;
|
|
5
|
+
width: 400px;
|
|
6
|
+
padding: 16px 24px;
|
|
7
|
+
box-sizing: border-box;
|
|
8
|
+
position: fixed;
|
|
9
|
+
background: #FFFFFF;
|
|
10
|
+
box-shadow: 0px 4px 18px 0px rgba(0,0,0,0.1);
|
|
11
|
+
border-radius: 4px;
|
|
12
|
+
transition: opacity .3s,transform .3s,left .3s,right .3s,top .4s,bottom .3s;
|
|
13
|
+
overflow: hidden;
|
|
14
|
+
|
|
15
|
+
&.right {
|
|
16
|
+
right: 16px
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&.left {
|
|
20
|
+
left: 16px
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.nf-notification__group {
|
|
24
|
+
flex: 1;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.nf-notification__title {
|
|
28
|
+
font-size: 16px;
|
|
29
|
+
font-weight: 400;
|
|
30
|
+
color: rgba(0,0,0,0.85);
|
|
31
|
+
line-height: 24px;
|
|
32
|
+
margin: 0 0 12px
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.nf-notification__content {
|
|
36
|
+
font-size: 14px;
|
|
37
|
+
font-weight: 400;
|
|
38
|
+
color: rgba(0,0,0,0.65);
|
|
39
|
+
line-height: 22px;
|
|
40
|
+
text-align: justify
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.nf-notification__content p {
|
|
44
|
+
margin: 0
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.nf-notification__icon {
|
|
48
|
+
height: 24px;
|
|
49
|
+
width: 24px;
|
|
50
|
+
font-size: 24px;
|
|
51
|
+
margin-right: 16px;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.nf-notification__btns {
|
|
55
|
+
margin-top: 16px;
|
|
56
|
+
text-align: right;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.nf-notification__closeBtn {
|
|
60
|
+
position: absolute;
|
|
61
|
+
top: 18px;
|
|
62
|
+
right: 15px;
|
|
63
|
+
cursor: pointer;
|
|
64
|
+
color: #909399;
|
|
65
|
+
font-size: 16px;
|
|
66
|
+
|
|
67
|
+
&:hover {
|
|
68
|
+
color: #606266;
|
|
69
|
+
background-color: #E0E1E5;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.el-icon-success {
|
|
74
|
+
color: #67C23A;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.el-icon-error {
|
|
78
|
+
color: #F45959;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.el-icon-info {
|
|
82
|
+
color: $color-primary;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.el-icon-warning {
|
|
86
|
+
color: #FF882E;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
@use "./variable.scss" as *;
|
|
2
|
+
|
|
3
|
+
// el-popover的popper
|
|
4
|
+
.nf-popup-lazy-select-popover {
|
|
5
|
+
&.el-popover {
|
|
6
|
+
padding-bottom: 0;
|
|
7
|
+
}
|
|
8
|
+
.nf-lazy-select {
|
|
9
|
+
&.nf-virtual-select {
|
|
10
|
+
&.nf-virtual-select-el-select {
|
|
11
|
+
padding: 16px 16px 0;
|
|
12
|
+
margin-left: -16px;
|
|
13
|
+
margin-top: -16px;
|
|
14
|
+
// el-select的popper
|
|
15
|
+
.nf-virtual-select-virtual-list-popper, .nf-virtual-select-el-select-popper {
|
|
16
|
+
// 更改为跟随布局
|
|
17
|
+
display: block!important;
|
|
18
|
+
position: static!important;
|
|
19
|
+
top: 0!important;
|
|
20
|
+
left: 0!important;
|
|
21
|
+
min-width: calc(100% - 16px)!important;
|
|
22
|
+
box-shadow: none;
|
|
23
|
+
border-radius: 0;
|
|
24
|
+
border: none;
|
|
25
|
+
width: calc(100% + 24px);
|
|
26
|
+
margin-left: -12px;
|
|
27
|
+
transition: none;
|
|
28
|
+
margin-top: 12px;
|
|
29
|
+
|
|
30
|
+
.el-scrollbar {
|
|
31
|
+
width: 100%;
|
|
32
|
+
.el-scrollbar__wrap {
|
|
33
|
+
overflow: hidden;
|
|
34
|
+
.el-scrollbar__view {
|
|
35
|
+
padding: 0;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
.el-scrollbar__bar {
|
|
39
|
+
display: none;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.popper__arrow {
|
|
44
|
+
display: none;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
// 非虚拟滚动
|
|
48
|
+
.nf-virtual-select-el-select-popper {
|
|
49
|
+
.el-scrollbar {
|
|
50
|
+
.el-scrollbar__wrap {
|
|
51
|
+
overflow: scroll;
|
|
52
|
+
margin-right: 0!important;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
.el-select__tags { // el-select更改定位跟随父级 多选处理
|
|
57
|
+
transform: translateY(0);
|
|
58
|
+
top: 18px;
|
|
59
|
+
.el-select__input {
|
|
60
|
+
&.is-mini {
|
|
61
|
+
min-height: 24px;
|
|
62
|
+
}
|
|
63
|
+
&.is-medium {
|
|
64
|
+
min-height: 32px;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
.nf-input__prefix { // 搜索图标位置处理
|
|
69
|
+
&.el-input__prefix {
|
|
70
|
+
display: flex;
|
|
71
|
+
align-items: center;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
@use "./variable.scss" as *;
|
|
2
|
+
|
|
3
|
+
.nf-quarter-picker {
|
|
4
|
+
display: inline-block;
|
|
5
|
+
.el-input__inner {
|
|
6
|
+
width: 176px;
|
|
7
|
+
}
|
|
8
|
+
&.el-popover {
|
|
9
|
+
padding: 0;
|
|
10
|
+
.el-date-picker {
|
|
11
|
+
width: 176px;
|
|
12
|
+
.el-picker-panel__body {
|
|
13
|
+
padding: 0 4px;
|
|
14
|
+
.el-date-picker__header {
|
|
15
|
+
padding: 6px;
|
|
16
|
+
.el-date-picker__header-label {
|
|
17
|
+
font-size: 14px;
|
|
18
|
+
color: rgba(0,0,0,0.85);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
.el-picker-panel__content {
|
|
22
|
+
.el-month-table {
|
|
23
|
+
td {
|
|
24
|
+
padding: 9px 3px;
|
|
25
|
+
> div {
|
|
26
|
+
height: 28px;
|
|
27
|
+
padding: 0;
|
|
28
|
+
}
|
|
29
|
+
.cell {
|
|
30
|
+
height: 28px;
|
|
31
|
+
line-height: 28px;
|
|
32
|
+
border-radius: 4px;
|
|
33
|
+
width: fit-content;
|
|
34
|
+
padding: 0px 8px;
|
|
35
|
+
&:hover {
|
|
36
|
+
border: 1px solid $color-primary;
|
|
37
|
+
line-height: 26px;
|
|
38
|
+
color: $color-primary;
|
|
39
|
+
box-sizing: border-box;
|
|
40
|
+
color: $color-primary;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
&.today {
|
|
44
|
+
.cell {
|
|
45
|
+
color: $color-primary;
|
|
46
|
+
font-weight: bold;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
&.current {
|
|
50
|
+
.cell {
|
|
51
|
+
color: white;
|
|
52
|
+
background-color: $color-primary;
|
|
53
|
+
border: none;
|
|
54
|
+
line-height: 26px;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
&.nf-quarter-picker-year-mode {
|
|
63
|
+
.el-date-picker {
|
|
64
|
+
width: 192px;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
@use './base';
|
|
2
|
+
@use "./variable.scss" as *;
|
|
3
|
+
|
|
4
|
+
.nf-radio-group {
|
|
5
|
+
box-sizing: border-box;
|
|
6
|
+
height: fit-content;
|
|
7
|
+
width: fit-content;
|
|
8
|
+
display: flex;
|
|
9
|
+
white-space: nowrap;
|
|
10
|
+
align-items: center;
|
|
11
|
+
justify-content: center;
|
|
12
|
+
border-radius: 2px;
|
|
13
|
+
padding: 2px;
|
|
14
|
+
background-color: #f0f2f5;
|
|
15
|
+
&.small {
|
|
16
|
+
.btn {
|
|
17
|
+
height: 24px;
|
|
18
|
+
font-size: 12px;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
&.large {
|
|
22
|
+
.btn {
|
|
23
|
+
height: 36px;
|
|
24
|
+
font-size: 16px;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
.btn {
|
|
28
|
+
height: 28px;
|
|
29
|
+
font-size: 14px;
|
|
30
|
+
white-space:nowrap;
|
|
31
|
+
box-sizing: border-box;
|
|
32
|
+
display: inline-flex;
|
|
33
|
+
align-items: center;
|
|
34
|
+
color: #303133;
|
|
35
|
+
padding: 0 16px;
|
|
36
|
+
user-select: none;
|
|
37
|
+
&:hover {
|
|
38
|
+
&:not(.disabled) {
|
|
39
|
+
background: #e3e5e8;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
.active_text {
|
|
44
|
+
color: $color-primary;
|
|
45
|
+
background: white;
|
|
46
|
+
border-right: 1px solid #f0f2f5;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.disabled {
|
|
50
|
+
color: #c5c5c5;
|
|
51
|
+
cursor: not-allowed;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
@use "./variable.scss" as *;
|
|
2
|
+
|
|
3
|
+
.nf-resizable-panels-column {
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
|
|
7
|
+
>.nf-resizable-panels-seperator {
|
|
8
|
+
cursor: row-resize;
|
|
9
|
+
width: 100%;
|
|
10
|
+
display: flex;
|
|
11
|
+
flex-direction: column;
|
|
12
|
+
align-items: center;
|
|
13
|
+
justify-content: center;
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
&.nf-seperator-border {
|
|
17
|
+
gap: initial;
|
|
18
|
+
height: 4px;
|
|
19
|
+
justify-content: flex-start;
|
|
20
|
+
|
|
21
|
+
&.nf-resizable-panels-seperator-fill {
|
|
22
|
+
&:hover {
|
|
23
|
+
background: #4a95fc;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&:after {
|
|
28
|
+
content: "";
|
|
29
|
+
width: 100%;
|
|
30
|
+
height: 1px;
|
|
31
|
+
-webkit-transition: all .3s;
|
|
32
|
+
transition: all .3s;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&:hover {
|
|
36
|
+
&:after {
|
|
37
|
+
background: #4a95fc;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&.nf-flex-center {
|
|
42
|
+
justify-content: center;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&.nf-flex-end {
|
|
46
|
+
justify-content: flex-end;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&.nf-flex-start {
|
|
50
|
+
justify-content: flex-start;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
&:not(.nf-seperator-border) {
|
|
55
|
+
gap: 2px;
|
|
56
|
+
height: 8px;
|
|
57
|
+
|
|
58
|
+
&::before, &::after {
|
|
59
|
+
content: '';
|
|
60
|
+
opacity: 0.7;
|
|
61
|
+
width: 12px;
|
|
62
|
+
height: 1px;
|
|
63
|
+
background: rgba(111, 111, 111, 1.00);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.nf-resizable-panels-row {
|
|
72
|
+
display: flex;
|
|
73
|
+
flex-direction: row;
|
|
74
|
+
|
|
75
|
+
>.nf-resizable-panels-seperator {
|
|
76
|
+
align-self: center;
|
|
77
|
+
cursor: col-resize;
|
|
78
|
+
height: 100%;
|
|
79
|
+
display: flex;
|
|
80
|
+
flex-direction: row;
|
|
81
|
+
align-items: center;
|
|
82
|
+
justify-content: center;
|
|
83
|
+
|
|
84
|
+
&.nf-seperator-border {
|
|
85
|
+
gap: initial;
|
|
86
|
+
width: 4px;
|
|
87
|
+
justify-content: flex-start;
|
|
88
|
+
|
|
89
|
+
&.nf-resizable-panels-seperator-fill {
|
|
90
|
+
&:hover {
|
|
91
|
+
background: #4a95fc;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
&:after {
|
|
96
|
+
content: "";
|
|
97
|
+
width: 1px;
|
|
98
|
+
height: 100%;
|
|
99
|
+
-webkit-transition: all .3s;
|
|
100
|
+
transition: all .3s;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
&:hover {
|
|
104
|
+
&:after {
|
|
105
|
+
background: #4a95fc;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
&.nf-flex-center {
|
|
110
|
+
justify-content: center;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
&.nf-flex-end {
|
|
114
|
+
justify-content: flex-end;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
&.nf-flex-start {
|
|
118
|
+
justify-content: flex-start;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
&:not(.nf-seperator-border) {
|
|
123
|
+
gap: 2px;
|
|
124
|
+
width: 8px;
|
|
125
|
+
|
|
126
|
+
&::before, &::after {
|
|
127
|
+
content: '';
|
|
128
|
+
opacity: 0.7;
|
|
129
|
+
width: 1px;
|
|
130
|
+
height: 12px;
|
|
131
|
+
background: rgba(111, 111, 111, 1.00);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
}
|
|
136
|
+
}
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
@use "./variable.scss" as *;
|
|
2
|
+
|
|
3
|
+
.nf-rules {
|
|
4
|
+
.nf-rules-form {
|
|
5
|
+
border-left: 1px solid $color-primary;
|
|
6
|
+
padding-left: 20px;
|
|
7
|
+
min-width:500px;
|
|
8
|
+
max-width: 100%;
|
|
9
|
+
position: relative;
|
|
10
|
+
margin-left: 14px;
|
|
11
|
+
.nf-also-icon {
|
|
12
|
+
position: absolute;
|
|
13
|
+
top: 50%;
|
|
14
|
+
left: -13px;
|
|
15
|
+
width: 22px;
|
|
16
|
+
height: 22px;
|
|
17
|
+
border-radius: 3px;
|
|
18
|
+
border: 1px solid $color-primary;
|
|
19
|
+
display: flex;
|
|
20
|
+
align-items: center;
|
|
21
|
+
justify-content: center;
|
|
22
|
+
font-size: 12px;
|
|
23
|
+
color: $color-primary;
|
|
24
|
+
background-color: white;
|
|
25
|
+
transform: translateY(-50%);
|
|
26
|
+
}
|
|
27
|
+
.nf-rule-item {
|
|
28
|
+
display: flex;
|
|
29
|
+
margin-bottom: 18px;
|
|
30
|
+
&.intention {
|
|
31
|
+
margin-bottom: 10px;
|
|
32
|
+
.el-form-item__error {
|
|
33
|
+
margin-top: -6px;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
.el-date-editor {
|
|
37
|
+
&.el-range-editor {
|
|
38
|
+
&.el-input__inner {
|
|
39
|
+
position: relative;
|
|
40
|
+
>.nf-range-separator {
|
|
41
|
+
padding: 0 5px;
|
|
42
|
+
}
|
|
43
|
+
>.el-range__close-icon {
|
|
44
|
+
position: absolute;
|
|
45
|
+
right: 0;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
.el-input__inner,
|
|
51
|
+
.el-textarea__inner {
|
|
52
|
+
border-radius: 2px;
|
|
53
|
+
padding-left: 8px;
|
|
54
|
+
|
|
55
|
+
&:focus {
|
|
56
|
+
border: 1px solid $color-primary;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
.el-textarea__inner {
|
|
60
|
+
line-height: 16px;
|
|
61
|
+
}
|
|
62
|
+
.el-checkbox-button {
|
|
63
|
+
border-radius: 2px;
|
|
64
|
+
.el-checkbox-button__inner {
|
|
65
|
+
border: 1px solid #DCDFE6;
|
|
66
|
+
width: 28px;
|
|
67
|
+
padding: 7px 0px;
|
|
68
|
+
border-radius: 2px;
|
|
69
|
+
box-shadow: none;
|
|
70
|
+
}
|
|
71
|
+
&:hover {
|
|
72
|
+
.el-checkbox-button__inner {
|
|
73
|
+
background-color: white;
|
|
74
|
+
color: $color-primary;
|
|
75
|
+
border: 1px solid $color-primary;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
&.is-checked {
|
|
79
|
+
.el-checkbox-button__inner {
|
|
80
|
+
border: 1px solid $color-primary;
|
|
81
|
+
background-color: $color-primary;
|
|
82
|
+
color: white;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
.el-input-number {
|
|
87
|
+
.el-input__inner {
|
|
88
|
+
text-align: left;
|
|
89
|
+
}
|
|
90
|
+
&.append_unit {
|
|
91
|
+
position: relative;
|
|
92
|
+
.el-input__inner {
|
|
93
|
+
padding-right: 28px;
|
|
94
|
+
}
|
|
95
|
+
&::after{
|
|
96
|
+
content: attr(data-unit);
|
|
97
|
+
position: absolute;
|
|
98
|
+
top: 1px;
|
|
99
|
+
padding: 0 6px;
|
|
100
|
+
color: #909399;
|
|
101
|
+
background-color: #f5f7fa;
|
|
102
|
+
border-left: 1px solid #dcdfe6;
|
|
103
|
+
border-radius: 0 2px 2px 0;
|
|
104
|
+
bottom: 1px;
|
|
105
|
+
right: 1px;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
.el-select {
|
|
110
|
+
.el-input {
|
|
111
|
+
>.el-input__inner {
|
|
112
|
+
padding-left: 8px;
|
|
113
|
+
padding-right: 25px;
|
|
114
|
+
}
|
|
115
|
+
>.el-input__suffix {
|
|
116
|
+
right: 0;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.el-select-dropdown {
|
|
122
|
+
.el-select-dropdown__item {
|
|
123
|
+
padding: 0 10px;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
.el-form-item {
|
|
127
|
+
margin-bottom: 0;
|
|
128
|
+
.el-form-item__content {
|
|
129
|
+
line-height: 18px;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
.icon-opterate {
|
|
133
|
+
font-size: 20px;
|
|
134
|
+
cursor: pointer;
|
|
135
|
+
&:hover {
|
|
136
|
+
.icon-opterate-subtraction,
|
|
137
|
+
.icon-opterate-plus {
|
|
138
|
+
color: #387bfc;
|
|
139
|
+
background-color: rgba(0,0,0,.05);
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
.icon-opterate-subtraction,
|
|
143
|
+
.icon-opterate-plus {
|
|
144
|
+
display: inline-block;
|
|
145
|
+
border-radius: 4px;
|
|
146
|
+
}
|
|
147
|
+
.icon-opterate-plus {
|
|
148
|
+
padding: 0 3px;
|
|
149
|
+
height: 18px;
|
|
150
|
+
line-height: 18px;
|
|
151
|
+
}
|
|
152
|
+
.icon-opterate-subtraction {
|
|
153
|
+
padding: 0 5px 0;
|
|
154
|
+
line-height: 14px;
|
|
155
|
+
height: 18px;
|
|
156
|
+
transform: translateY(-2px);
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
}
|