@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,94 @@
|
|
|
1
|
+
@use "./mixin.scss" as *;
|
|
2
|
+
@use "./variable.scss" as *;
|
|
3
|
+
|
|
4
|
+
.nf-button-demo {
|
|
5
|
+
outline: none;
|
|
6
|
+
background-color: #fff;
|
|
7
|
+
color: #333;
|
|
8
|
+
border: 1px solid #eee;
|
|
9
|
+
text-align: center;
|
|
10
|
+
border-radius: 4px;
|
|
11
|
+
box-sizing: border-box;
|
|
12
|
+
cursor: pointer;
|
|
13
|
+
padding: 0 10px;
|
|
14
|
+
|
|
15
|
+
i {
|
|
16
|
+
margin: 0 4px;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&.default {
|
|
20
|
+
background-color: #fff;
|
|
21
|
+
|
|
22
|
+
&:hover {
|
|
23
|
+
color: #4091ff;
|
|
24
|
+
background-color: #ecf5ff;
|
|
25
|
+
|
|
26
|
+
&.plain {
|
|
27
|
+
border-color: #3a8ee6;
|
|
28
|
+
background: #fff;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&:active {
|
|
33
|
+
&.plain {
|
|
34
|
+
color: #3a86;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
border: #3a8ee6;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&.large {
|
|
42
|
+
height: 40px;
|
|
43
|
+
line-height: 36px;
|
|
44
|
+
font-size: 14px;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&.normal {
|
|
48
|
+
height: 36px;
|
|
49
|
+
line-height: 32px;
|
|
50
|
+
font-size: 14px;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&.medium {
|
|
54
|
+
height: 32px;
|
|
55
|
+
line-height: 28px;
|
|
56
|
+
font-size: 14px;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&.small {
|
|
60
|
+
height: 28px;
|
|
61
|
+
line-height: 24px;
|
|
62
|
+
font-size: 12px;
|
|
63
|
+
}
|
|
64
|
+
@each $key, $value in $selectors {
|
|
65
|
+
$str: str-replace($key, "@", '');
|
|
66
|
+
&.#{$str} {
|
|
67
|
+
background-color: map-get($value, default);
|
|
68
|
+
color: #fff;
|
|
69
|
+
@each $key1, $value1 in $value {
|
|
70
|
+
$str1: "&:#{$key1}";
|
|
71
|
+
#{$str1} {
|
|
72
|
+
@include output($key1, $value1);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
@each $key, $value in $selectors-plain {
|
|
79
|
+
$str: str-replace($key, "@", '');
|
|
80
|
+
&.#{$str} {
|
|
81
|
+
&.plain {
|
|
82
|
+
background-color: map-get($value, default);
|
|
83
|
+
color: map-get($value, hover);
|
|
84
|
+
border: 1px solid map-get($value, hover);
|
|
85
|
+
@each $key1, $value1 in $value {
|
|
86
|
+
$str1: "&:#{$key1}";
|
|
87
|
+
#{$str1} {
|
|
88
|
+
@include output-plain($key1, $value1);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
@use "./mixin.scss" as *;
|
|
2
|
+
@use "./variable.scss" as *;
|
|
3
|
+
|
|
4
|
+
.nf-button {
|
|
5
|
+
outline: none;
|
|
6
|
+
background-color: #fff;
|
|
7
|
+
color: rgba($color: #000000, $alpha: 0.65);
|
|
8
|
+
border: 1px solid #DCDFE6;
|
|
9
|
+
text-align: center;
|
|
10
|
+
border-radius: 4px;
|
|
11
|
+
box-sizing: border-box;
|
|
12
|
+
cursor: pointer;
|
|
13
|
+
font-weight: 400;
|
|
14
|
+
line-height: 1;
|
|
15
|
+
@include button-size(7px, 12px, 12px);
|
|
16
|
+
& + & {
|
|
17
|
+
margin-left: 10px;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
& [class*="el-icon-"] {
|
|
21
|
+
& + span {
|
|
22
|
+
margin-left: 6px;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
&.nf-button--large {
|
|
29
|
+
@include button-size(12px, 12px, 14px);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&.nf-button--medium {
|
|
33
|
+
@include button-size(10px, 12px, 14px);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&.nf-button--small {
|
|
37
|
+
@include button-size(9px, 12px, 12px);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&.nf-button--mini {
|
|
41
|
+
@include button-size(7px, 12px, 12px);
|
|
42
|
+
border-radius: 2px;
|
|
43
|
+
}
|
|
44
|
+
&:hover {
|
|
45
|
+
color: $color-primary;
|
|
46
|
+
border-color: $color-primary;
|
|
47
|
+
background-color: rgba($color: $color-primary, $alpha: 0.08);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&:active {
|
|
51
|
+
color: $color-primary;
|
|
52
|
+
border-color: $color-primary;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&.is-disabled {
|
|
56
|
+
color: rgba($color: #000000, $alpha: 0.25) !important;
|
|
57
|
+
background-color: #F5F7FA !important;
|
|
58
|
+
border-color: #DCDFE6 !important;
|
|
59
|
+
cursor: not-allowed;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
&.is-round {
|
|
63
|
+
border-radius: 20px
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
&.is-circle {
|
|
67
|
+
border-radius: 50%;
|
|
68
|
+
padding: 7px;
|
|
69
|
+
&.nf-button--large {
|
|
70
|
+
padding: 12px;
|
|
71
|
+
}
|
|
72
|
+
&.nf-button--medium {
|
|
73
|
+
padding: 10px;
|
|
74
|
+
}
|
|
75
|
+
&.nf-button--small {
|
|
76
|
+
padding: 9px;
|
|
77
|
+
}
|
|
78
|
+
&.nf-button--mini {
|
|
79
|
+
padding: 7px;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
&.is-loading {
|
|
84
|
+
pointer-events: none;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
@each $key, $value in $selectors {
|
|
88
|
+
$str: str-replace('nf-button--' + $key, "@", '');
|
|
89
|
+
&.#{$str} {
|
|
90
|
+
background-color: map-get($value, default);
|
|
91
|
+
border-color: map-get($value, default);
|
|
92
|
+
color: #fff;
|
|
93
|
+
@each $key1, $value1 in $value {
|
|
94
|
+
$str1: "&:#{$key1}";
|
|
95
|
+
#{$str1} {
|
|
96
|
+
@include output($key1, $value1);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
@each $key, $value in $selectors-plain {
|
|
103
|
+
$str: str-replace('nf-button--' + $key, "@", '');
|
|
104
|
+
&.#{$str} {
|
|
105
|
+
&.is-plain {
|
|
106
|
+
background-color: map-get($value, default);
|
|
107
|
+
border-color: map-get($value, active);
|
|
108
|
+
color: map-get($value, active);
|
|
109
|
+
@each $key1, $value1 in $value {
|
|
110
|
+
$str1: "&:#{$key1}";
|
|
111
|
+
#{$str1} {
|
|
112
|
+
@include output-plain($key1, $value1);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
&.nf-button--text {
|
|
120
|
+
border-color: transparent;
|
|
121
|
+
background-color: transparent;
|
|
122
|
+
padding: 7px;
|
|
123
|
+
color: $color-primary;
|
|
124
|
+
font-weight: 500;
|
|
125
|
+
|
|
126
|
+
&:hover {
|
|
127
|
+
background-color: rgba(17,119,255,.08);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
&:active {
|
|
131
|
+
background-color: #DCDFE6;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
&.is-disabled {
|
|
135
|
+
color: rgba($color: #000000, $alpha: 0.3) !important;
|
|
136
|
+
border-color: transparent !important;
|
|
137
|
+
background-color: transparent !important;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
@use "./variable.scss" as *;
|
|
2
|
+
|
|
3
|
+
.nf-conditions {
|
|
4
|
+
.nf-condition-form {
|
|
5
|
+
|
|
6
|
+
>.el-form-item {
|
|
7
|
+
margin-bottom: 8px;
|
|
8
|
+
}
|
|
9
|
+
.condition-header {
|
|
10
|
+
display: flex;
|
|
11
|
+
justify-content: space-between;
|
|
12
|
+
align-items: center;
|
|
13
|
+
margin-bottom: 8px;
|
|
14
|
+
padding: 0 8px 0 12px;
|
|
15
|
+
height: 28px;
|
|
16
|
+
background: #F5F7FA;
|
|
17
|
+
border-radius: 3px;
|
|
18
|
+
font-size: 12px;
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
.remove-condition {
|
|
22
|
+
color: #F45959;
|
|
23
|
+
font-size: 12px;
|
|
24
|
+
cursor: pointer;
|
|
25
|
+
&:hover {
|
|
26
|
+
.remove-condition-icon {
|
|
27
|
+
background-color: rgba(0,0,0,.05);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
.remove-condition-icon {
|
|
31
|
+
padding: 3px 5px;
|
|
32
|
+
border-radius: 4px;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
.condition-footer {
|
|
37
|
+
margin-top: -4px;
|
|
38
|
+
padding-left: 12px;
|
|
39
|
+
.add-condition {
|
|
40
|
+
color: $color-primary;
|
|
41
|
+
cursor: pointer;
|
|
42
|
+
font-size: 12px;
|
|
43
|
+
&:hover {
|
|
44
|
+
.add-condition-icon {
|
|
45
|
+
background-color: rgba(0,0,0,.05);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
.add-condition-icon {
|
|
49
|
+
padding: 3px 5px;
|
|
50
|
+
border-radius: 4px;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
@use "./variable.scss" as *;
|
|
2
|
+
|
|
3
|
+
.nf-confirm {
|
|
4
|
+
|
|
5
|
+
.el-dialog {
|
|
6
|
+
border-radius: 4px;
|
|
7
|
+
margin-top: 35vh !important;
|
|
8
|
+
|
|
9
|
+
.el-dialog__header {
|
|
10
|
+
height: 0 !important;
|
|
11
|
+
border: 0 !important;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.el-dialog__header, .el-dialog__body {
|
|
16
|
+
padding: 0 !important;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.nf-confirm__wrapper {
|
|
20
|
+
display: flex;
|
|
21
|
+
padding: 16px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.nf-confirm__inner {
|
|
25
|
+
flex: 1;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.nf-confirm__icon {
|
|
29
|
+
width: 24px;
|
|
30
|
+
height: 24px;
|
|
31
|
+
font-size: 24px;
|
|
32
|
+
margin-right: 8px;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.nf-confirm__title {
|
|
36
|
+
margin: 0 0 12px;
|
|
37
|
+
font-size: 16px;
|
|
38
|
+
font-weight: 400;
|
|
39
|
+
color: rgba(0,0,0,0.85);
|
|
40
|
+
line-height: 24px;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.nf-confirm__content {
|
|
44
|
+
margin: 0 0 24px;
|
|
45
|
+
font-size: 14px;
|
|
46
|
+
font-weight: 400;
|
|
47
|
+
color: rgba(0,0,0,0.65);
|
|
48
|
+
line-height: 22px;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.nf-confirm__btns {
|
|
52
|
+
display: flex;
|
|
53
|
+
justify-content: right;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.el-icon-success {
|
|
57
|
+
color: #67C23A
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.el-icon-error {
|
|
61
|
+
color: #F45959
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.el-icon-info {
|
|
65
|
+
color: $color-primary
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.el-icon-warning {
|
|
69
|
+
color: #FF882E
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
}
|