@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.
Files changed (150) hide show
  1. package/README.md +17 -0
  2. package/lib/_mixin.scss +28 -0
  3. package/lib/_variable.scss +58 -0
  4. package/lib/base.scss +117 -0
  5. package/lib/common-util.scss +1 -0
  6. package/lib/common-utils.scss +1 -0
  7. package/lib/css/base.css +1 -0
  8. package/lib/css/common-util.css +0 -0
  9. package/lib/css/common-utils.css +0 -0
  10. package/lib/css/images/audio_more.png +0 -0
  11. package/lib/css/images/audio_pause.png +0 -0
  12. package/lib/css/images/audio_play.png +0 -0
  13. package/lib/css/images/audio_volume.png +0 -0
  14. package/lib/css/images/bg.png +0 -0
  15. package/lib/css/index.css +1 -0
  16. package/lib/css/nf-action.css +1 -0
  17. package/lib/css/nf-address-select.css +1 -0
  18. package/lib/css/nf-address.css +1 -0
  19. package/lib/css/nf-alert.css +1 -0
  20. package/lib/css/nf-audio.css +1 -0
  21. package/lib/css/nf-button-demo.css +1 -0
  22. package/lib/css/nf-button.css +1 -0
  23. package/lib/css/nf-conditions.css +1 -0
  24. package/lib/css/nf-confirm.css +1 -0
  25. package/lib/css/nf-date-picker.css +1 -0
  26. package/lib/css/nf-double-half-year.css +1 -0
  27. package/lib/css/nf-double-quarter.css +1 -0
  28. package/lib/css/nf-double-time.css +0 -0
  29. package/lib/css/nf-double-week.css +1 -0
  30. package/lib/css/nf-double-year.css +1 -0
  31. package/lib/css/nf-drawer.css +1 -0
  32. package/lib/css/nf-empty.css +1 -0
  33. package/lib/css/nf-font/iconfont.css +866 -0
  34. package/lib/css/nf-font/iconfont.eot +0 -0
  35. package/lib/css/nf-font/iconfont.js +1 -0
  36. package/lib/css/nf-font/iconfont.json +1493 -0
  37. package/lib/css/nf-font/iconfont.svg +443 -0
  38. package/lib/css/nf-font/iconfont.ttf +0 -0
  39. package/lib/css/nf-font/iconfont.woff +0 -0
  40. package/lib/css/nf-font/iconfont.woff2 +0 -0
  41. package/lib/css/nf-font.css +1 -0
  42. package/lib/css/nf-form-item.css +1 -0
  43. package/lib/css/nf-form.css +0 -0
  44. package/lib/css/nf-half-year-picker.css +1 -0
  45. package/lib/css/nf-iconfont-icon.css +1 -0
  46. package/lib/css/nf-import-template.css +1 -0
  47. package/lib/css/nf-indicator-plane.css +1 -0
  48. package/lib/css/nf-infinite-menu.css +0 -0
  49. package/lib/css/nf-input.css +1 -0
  50. package/lib/css/nf-keywords.css +1 -0
  51. package/lib/css/nf-lazy-select.css +0 -0
  52. package/lib/css/nf-menu.css +0 -0
  53. package/lib/css/nf-message.css +1 -0
  54. package/lib/css/nf-microphone.css +0 -0
  55. package/lib/css/nf-notification.css +1 -0
  56. package/lib/css/nf-popup-lazy-select.css +1 -0
  57. package/lib/css/nf-quarter-picker.css +1 -0
  58. package/lib/css/nf-radio-group.css +1 -0
  59. package/lib/css/nf-resizable-panels.css +1 -0
  60. package/lib/css/nf-rules.css +1 -0
  61. package/lib/css/nf-search-form.css +1 -0
  62. package/lib/css/nf-select-transfer.css +1 -0
  63. package/lib/css/nf-softphone.css +1 -0
  64. package/lib/css/nf-svg-icon.css +0 -0
  65. package/lib/css/nf-table.css +1 -0
  66. package/lib/css/nf-tag.css +1 -0
  67. package/lib/css/nf-text-overflow.css +1 -0
  68. package/lib/css/nf-timezone-picker.css +0 -0
  69. package/lib/css/nf-toast-demo.css +1 -0
  70. package/lib/css/nf-toast-font/iconfont.eot +0 -0
  71. package/lib/css/nf-toast-font/iconfont.svg +35 -0
  72. package/lib/css/nf-toast-font/iconfont.ttf +0 -0
  73. package/lib/css/nf-toast-font/iconfont.woff +0 -0
  74. package/lib/css/nf-toast-font/iconfont.woff2 +0 -0
  75. package/lib/css/nf-toast-font.css +1 -0
  76. package/lib/css/nf-transfer-select.css +1 -0
  77. package/lib/css/nf-variable-select.css +1 -0
  78. package/lib/css/nf-virtual-select.css +1 -0
  79. package/lib/css/nf-year-picker.css +0 -0
  80. package/lib/images/audio_more.png +0 -0
  81. package/lib/images/audio_pause.png +0 -0
  82. package/lib/images/audio_play.png +0 -0
  83. package/lib/images/audio_volume.png +0 -0
  84. package/lib/images/bg.png +0 -0
  85. package/lib/index.scss +44 -0
  86. package/lib/index.ts +1 -0
  87. package/lib/nf-action.scss +67 -0
  88. package/lib/nf-address-select.scss +58 -0
  89. package/lib/nf-address.scss +56 -0
  90. package/lib/nf-alert.scss +182 -0
  91. package/lib/nf-audio.scss +474 -0
  92. package/lib/nf-button-demo.scss +94 -0
  93. package/lib/nf-button.scss +140 -0
  94. package/lib/nf-conditions.scss +55 -0
  95. package/lib/nf-confirm.scss +72 -0
  96. package/lib/nf-date-picker.scss +473 -0
  97. package/lib/nf-double-half-year.scss +95 -0
  98. package/lib/nf-double-quarter.scss +96 -0
  99. package/lib/nf-double-time.scss +1 -0
  100. package/lib/nf-double-week.scss +43 -0
  101. package/lib/nf-double-year.scss +112 -0
  102. package/lib/nf-drawer.scss +104 -0
  103. package/lib/nf-empty.scss +47 -0
  104. package/lib/nf-font/iconfont.css +866 -0
  105. package/lib/nf-font/iconfont.eot +0 -0
  106. package/lib/nf-font/iconfont.js +1 -0
  107. package/lib/nf-font/iconfont.json +1493 -0
  108. package/lib/nf-font/iconfont.svg +443 -0
  109. package/lib/nf-font/iconfont.ttf +0 -0
  110. package/lib/nf-font/iconfont.woff +0 -0
  111. package/lib/nf-font/iconfont.woff2 +0 -0
  112. package/lib/nf-font.scss +866 -0
  113. package/lib/nf-form-item.scss +20 -0
  114. package/lib/nf-form.scss +0 -0
  115. package/lib/nf-half-year-picker.scss +64 -0
  116. package/lib/nf-iconfont-icon.scss +1 -0
  117. package/lib/nf-import-template.scss +65 -0
  118. package/lib/nf-indicator-plane.scss +235 -0
  119. package/lib/nf-infinite-menu.scss +1 -0
  120. package/lib/nf-input.scss +24 -0
  121. package/lib/nf-keywords.scss +142 -0
  122. package/lib/nf-lazy-select.scss +0 -0
  123. package/lib/nf-menu.scss +2 -0
  124. package/lib/nf-message.scss +74 -0
  125. package/lib/nf-microphone.scss +1 -0
  126. package/lib/nf-notification.scss +88 -0
  127. package/lib/nf-popup-lazy-select.scss +78 -0
  128. package/lib/nf-quarter-picker.scss +68 -0
  129. package/lib/nf-radio-group.scss +53 -0
  130. package/lib/nf-resizable-panels.scss +136 -0
  131. package/lib/nf-rules.scss +161 -0
  132. package/lib/nf-search-form.scss +288 -0
  133. package/lib/nf-softphone.scss +27 -0
  134. package/lib/nf-svg-icon.scss +1 -0
  135. package/lib/nf-table.scss +443 -0
  136. package/lib/nf-tag.scss +61 -0
  137. package/lib/nf-text-overflow.scss +32 -0
  138. package/lib/nf-timezone-picker.scss +1 -0
  139. package/lib/nf-toast-demo.scss +50 -0
  140. package/lib/nf-toast-font/iconfont.eot +0 -0
  141. package/lib/nf-toast-font/iconfont.svg +35 -0
  142. package/lib/nf-toast-font/iconfont.ttf +0 -0
  143. package/lib/nf-toast-font/iconfont.woff +0 -0
  144. package/lib/nf-toast-font/iconfont.woff2 +0 -0
  145. package/lib/nf-toast-font.scss +30 -0
  146. package/lib/nf-transfer-select.scss +261 -0
  147. package/lib/nf-variable-select.scss +53 -0
  148. package/lib/nf-virtual-select.scss +79 -0
  149. package/lib/nf-year-picker.scss +0 -0
  150. package/package.json +34 -0
@@ -0,0 +1,20 @@
1
+ @use './nf-font.scss';
2
+ @use './base.scss';
3
+ @use "./variable.scss" as *;
4
+
5
+ .nf-form-item {
6
+ &.el-form-item {
7
+ .el-form-item__label {
8
+ color: rgba(0,0,0,0.85);
9
+ }
10
+ .el-form-item__content {
11
+ .nf-ml10 {
12
+ > button {
13
+ width: 28px;
14
+ padding-left: 0;
15
+ padding-right: 0;
16
+ }
17
+ }
18
+ }
19
+ }
20
+ }
File without changes
@@ -0,0 +1,64 @@
1
+ @use "./variable.scss" as *;
2
+
3
+ .nf-half-year-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-year-table {
23
+ td {
24
+ padding: 9px 3px;
25
+ .cell {
26
+ height: 28px;
27
+ line-height: 28px;
28
+ border-radius: 4px;
29
+ width: fit-content;
30
+ padding: 0px 8px;
31
+ &:hover {
32
+ border: 1px solid $color-primary;
33
+ line-height: 26px;
34
+ color: $color-primary;
35
+ box-sizing: border-box;
36
+ color: $color-primary;
37
+ }
38
+ }
39
+ &.today {
40
+ .cell {
41
+ color: $color-primary;
42
+ font-weight: bold;
43
+ }
44
+ }
45
+ &.current {
46
+ .cell {
47
+ color: white;
48
+ background-color: $color-primary;
49
+ border: none;
50
+ line-height: 26px;
51
+ }
52
+ }
53
+ }
54
+ }
55
+ }
56
+ }
57
+ }
58
+ &.nf-half-year-picker-year-mode {
59
+ .el-date-picker {
60
+ width: 192px;
61
+ }
62
+ }
63
+ }
64
+ }
@@ -0,0 +1 @@
1
+ @use './nf-font.scss';
@@ -0,0 +1,65 @@
1
+ @use './nf-font.scss';
2
+ @use './base.scss';
3
+ @use "./variable.scss" as *;
4
+
5
+ .nf-import-template {
6
+ width: 100%;
7
+ height: 122px;
8
+ margin-bottom: 8px;
9
+ background: #F5F7FA;
10
+ border-radius: 4px;
11
+ padding: 0 24px;
12
+ user-select: none;
13
+ box-sizing: border-box;
14
+ &:hover {
15
+ background: url('./images/bg.png') no-repeat;
16
+ background-size: cover;
17
+
18
+ .nf-button {
19
+ &.nf-button--primary, .nf-button--primary.is-plain {
20
+ color: $color-primary;
21
+ background-color: #fff;
22
+ border-color: #fff;
23
+ }
24
+ }
25
+ }
26
+
27
+ .nf-icon-danger-prefix {
28
+ font-size: 18px;
29
+ color: #F45959;
30
+ }
31
+
32
+ .nf-error-text {
33
+ padding-left: 12px;
34
+ transform: translateY(-1px);
35
+ display: inline-block;
36
+ }
37
+
38
+ .nf-sub_description {
39
+ font-size: 12px;
40
+ font-weight: 400;
41
+ color: rgba(0, 0, 0, 0.65);
42
+ padding-top: 10px;
43
+ padding-left: 35px;
44
+ }
45
+
46
+ .nf-round {
47
+ width: 20px;
48
+ height: 20px;
49
+ border-radius: 50%;
50
+ font-weight: 500;
51
+ color: #22262B;
52
+ border: 1px solid #22262B;
53
+ text-align: center;
54
+ line-height: 20px;
55
+ font-size: 16px;
56
+ display: inline-block !important;
57
+ }
58
+ .nf-content {
59
+ font-size: 18px;
60
+ font-weight: 500;
61
+ color: rgba(6, 6, 6, 0.85);
62
+ padding-left: 10px;
63
+ }
64
+ }
65
+
@@ -0,0 +1,235 @@
1
+ @use "./variable.scss" as *;
2
+
3
+ .nf-indicator-plane {
4
+ margin: 0 8px 8px 0;
5
+
6
+ .nf-indicator-plane__body {
7
+ display: flex;
8
+ align-items: center;
9
+ }
10
+
11
+ .nf-indicator-plane__footer {
12
+ padding: 4px 0 7px;
13
+ display: flex;
14
+ justify-content: space-between;
15
+ align-items: center;
16
+
17
+ .nf-indicator-plane__desc {
18
+ font-size: 12px;
19
+ font-weight: 400;
20
+ color: rgba(0,0,0,0.65);
21
+ line-height: 22px;
22
+ }
23
+
24
+ .nf-indicator-plane__rate {
25
+ font-size: 16px;
26
+ font-weight: bold;
27
+ color: $color-primary;
28
+ line-height: 27px;
29
+ }
30
+ }
31
+
32
+ &.is-scene-1 {
33
+ border-radius: 4px;
34
+
35
+ .nf-indicator-plane__body {
36
+ padding: 10px;
37
+ background: #FFFFFF;
38
+ border-radius: 4px;
39
+ border: 1px solid #E4EEFF;
40
+
41
+ .nf-indicator-plane__body-middle {
42
+ margin: 0 16px;
43
+
44
+ .nf-indicator-plane__count {
45
+ margin-bottom: 4px;
46
+ font-size: 26px;
47
+ font-weight: bold;
48
+ color: rgba(0,0,0,0.85);
49
+ line-height: 32px;
50
+
51
+ .nf-indicator-plane__unit {
52
+ font-size: 18px;
53
+ }
54
+ }
55
+
56
+ .nf-indicator-plane__name {
57
+ font-size: 12px;
58
+ font-weight: 400;
59
+ color: rgba(0,0,0,0.65);
60
+ line-height: 20px;
61
+ }
62
+ }
63
+ }
64
+ }
65
+
66
+ &.is-scene-2 {
67
+ background: rgba(103,194,58,0.1);
68
+ border-radius: 4px;
69
+
70
+ .nf-indicator-plane__body {
71
+ padding: 14px 0 6px;
72
+
73
+ .nf-indicator-plane__body-middle {
74
+ margin: 0 24px;
75
+
76
+ .nf-indicator-plane__name {
77
+ font-size: 14px;
78
+ font-weight: 400;
79
+ color: rgba(0,0,0,0.5);
80
+ line-height: 22px;
81
+ }
82
+
83
+ .nf-indicator-plane__count {
84
+ font-size: 32px;
85
+ font-weight: 500;
86
+ color: #303133;
87
+ line-height: 44px;
88
+
89
+ .nf-indicator-plane__unit {
90
+ font-size: 18px;
91
+ }
92
+ }
93
+ }
94
+ }
95
+
96
+ .nf-indicator-plane__footer {
97
+ padding: 0 12px;
98
+ height: 36px;
99
+ background: rgba(255,255,255,0.7);
100
+
101
+ .nf-indicator-plane__desc {
102
+ font-size: 14px;
103
+ font-weight: 400;
104
+ color: rgba(0,0,0,0.5);
105
+ line-height: 22px;
106
+
107
+ .nf-indicator-plane__dot {
108
+ display: inline-block;
109
+ width: 6px;
110
+ height: 6px;
111
+ margin-right: 6px;
112
+ background-color: #67C23A;
113
+ border-radius: 50%;
114
+ }
115
+ }
116
+
117
+ .nf-indicator-plane__rate {
118
+ font-size: 16px;
119
+ font-weight: 600;
120
+ color: rgba(0,0,0,0.65);
121
+ line-height: 22px;
122
+ }
123
+ }
124
+ }
125
+
126
+ &.is-scene-3 {
127
+
128
+ .nf-indicator-plane__body {
129
+ background: #FFFFFF;
130
+ border-radius: 4px;
131
+ border: 1px solid #E4EEFF;
132
+
133
+ .nf-indicator-plane__body-left {
134
+ padding: 16px;
135
+ border-right: 1px solid #E4EEFF;
136
+ min-width: 116px;
137
+ box-sizing: border-box;
138
+
139
+ .nf-indicator-plane__name {
140
+ font-size: 12px;
141
+ font-weight: 400;
142
+ color: rgba(0,0,0,0.65);
143
+ line-height: 20px;
144
+ }
145
+
146
+ .nf-indicator-plane__count {
147
+ margin-bottom: 6px;
148
+ font-size: 26px;
149
+ font-weight: bold;
150
+ color: rgba(0,0,0,0.85);
151
+ line-height: 32px;
152
+ }
153
+ }
154
+
155
+ .nf-indicator-plane__body-middle {
156
+ margin-left: 16px;
157
+ flex: 1;
158
+
159
+ .nf-indicator-plane__name {
160
+ font-size: 12px;
161
+ font-weight: 400;
162
+ color: rgba(0,0,0,0.65);
163
+ line-height: 20px;
164
+ }
165
+
166
+ .nf-indicator-plane__count {
167
+ margin-bottom: 6px;
168
+ font-size: 16px;
169
+ font-weight: bold;
170
+ color: #05C9D7;
171
+ line-height: 27px;
172
+ }
173
+ }
174
+ }
175
+ }
176
+
177
+ &.is-scene-4 {
178
+
179
+ .nf-indicator-plane__body {
180
+ background: #FFFFFF;
181
+ border-radius: 4px;
182
+ border: 1px solid #DCDFE6;
183
+
184
+ .nf-indicator-plane__body-middle {
185
+ padding: 12px;
186
+
187
+ .nf-indicator-plane__name {
188
+ font-size: 12px;
189
+ font-weight: 400;
190
+ color: rgba(0,0,0,0.65);
191
+ line-height: 22px;
192
+ }
193
+
194
+ .nf-indicator-plane__count {
195
+ font-size: 14px;
196
+ font-weight: bold;
197
+ color: rgba(0,0,0,0.85);
198
+ line-height: 22px;
199
+
200
+ .nf-indicator-plane__unit {
201
+ font-size: 12px;
202
+ font-weight: normal;
203
+ }
204
+ }
205
+ }
206
+ }
207
+ }
208
+
209
+ &.is-scene-5 {
210
+
211
+ .nf-indicator-plane__body {
212
+ background: #F0F2F5;
213
+ border-radius: 4px;
214
+
215
+ .nf-indicator-plane__body-middle {
216
+ padding: 14px 0;
217
+ margin: 0 24px;
218
+
219
+ .nf-indicator-plane__name {
220
+ font-size: 14px;
221
+ font-weight: 400;
222
+ color: rgba(0,0,0,0.5);
223
+ line-height: 22px;
224
+ }
225
+
226
+ .nf-indicator-plane__count {
227
+ font-size: 32px;
228
+ font-weight: 500;
229
+ color: #303133;
230
+ line-height: 44px;
231
+ }
232
+ }
233
+ }
234
+ }
235
+ }
@@ -0,0 +1 @@
1
+
@@ -0,0 +1,24 @@
1
+ @use "./variable.scss" as *;
2
+
3
+ .nf-input {
4
+ position: relative;
5
+ &.el-textarea {
6
+ .el-input__count {
7
+ display: none;
8
+ }
9
+ }
10
+ &.el-textarea__inner {
11
+ padding-bottom: 18px;
12
+ }
13
+ .nf-input__count {
14
+ position: absolute;
15
+ left: 15px;
16
+ right: 25px;
17
+ bottom: 1px;
18
+ font-size: 12px;
19
+ color: #909399;
20
+ text-align: right;
21
+ line-height: 20px;
22
+ background-color: #fff;
23
+ }
24
+ }
@@ -0,0 +1,142 @@
1
+ @use "./variable.scss" as *;
2
+
3
+ .nf-keywords {
4
+ .el-input__inner,
5
+ .el-textarea__inner {
6
+ border-radius: 2px;
7
+ }
8
+ .nf-keywords-tags {
9
+ position: relative;
10
+ margin-top: 8px;
11
+
12
+ .nf-keywords-tag-wrap-container {
13
+ max-height: 33vh;
14
+ background-color: #F5F7FA;
15
+ padding: 12px 12px 4px 12px;
16
+ box-sizing: border-box;
17
+ overflow-y: auto;
18
+ .rag-occlusion-bottom {
19
+ position: absolute;
20
+ bottom: 36px;
21
+ left: 0;
22
+ width: 100%;
23
+ height: 12px;
24
+ background-color: #F5F7FA;
25
+ }
26
+ .rag-occlusion-top {
27
+ position: absolute;
28
+ top: 0px;
29
+ left: 0;
30
+ width: 100%;
31
+ height: 12px;
32
+ background-color: #F5F7FA;
33
+ }
34
+
35
+ .nf-keywords-tag-wrap {
36
+ width: 100%;
37
+ display: flex;
38
+ flex-wrap: wrap;
39
+ overflow: hidden;
40
+ }
41
+ }
42
+ }
43
+ .nf-keywords-no-tag {
44
+ width: 100%;
45
+ height: 62px;
46
+ display: flex;
47
+ align-items: center;
48
+ justify-content: center;
49
+ font-size: 12px;
50
+ color: rgba(0,0,0,0.65);
51
+ background: #F5F7FA;
52
+ }
53
+
54
+ .nf-keywords-keyword-key {
55
+ margin-right: 8px;
56
+ margin-bottom: 8px;
57
+ padding: 2px 6px;
58
+ min-height: 24px;
59
+ line-height: 20px;
60
+ max-height: 154px;
61
+ white-space: normal;
62
+ word-break: break-word;
63
+ font-size: 12px;
64
+ border: 1px solid #EBEEF5;
65
+ overflow-x: hidden;
66
+ overflow-y: auto;
67
+ border-radius: 2px;
68
+ box-sizing: border-box;
69
+ background-color: #FFFFFF;
70
+ color: rgba(0,0,0,0.65);
71
+ .nf-keywords-keyword-key-close-button {
72
+ border-radius: 50%;
73
+ padding: 0px;
74
+ height: 20px;
75
+ display: inline-block;
76
+ width: 20px;
77
+ margin-left: 0;
78
+ }
79
+ &.disabled {
80
+ color: rgba(0, 0, 0, .65);
81
+ border-color: #DCDFE6;
82
+ background-color: #F5F7FA;
83
+ }
84
+ &::-webkit-scrollbar {
85
+ width: 5px;
86
+ /*对垂直流动条有效*/
87
+ height: 10px;
88
+ /*对水平流动条有效*/
89
+ }
90
+
91
+ /*定义滚动条的轨道颜色、内阴影及圆角*/
92
+ &::-webkit-scrollbar-track {
93
+ -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
94
+ background-color: #fff;
95
+ border-radius: 3px;
96
+ }
97
+
98
+ &::-webkit-scrollbar-thumb {
99
+ border-radius: 7px;
100
+ -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
101
+ background-color: #E8E8E8;
102
+ }
103
+ .nf-keywords-close-btn {
104
+ color: rgba(0,0,0,0.45);
105
+ line-height: 20px;
106
+ font-size: 12px;
107
+ cursor: pointer;
108
+ }
109
+ }
110
+
111
+ .nf-keywords-key-sty {
112
+ color: red;
113
+ font-size: 12px;
114
+ margin: 4px 0;
115
+ }
116
+ .nf-keywords-key-sty-nor {
117
+ margin-top: 8px;
118
+ height: 28px;
119
+ font-size: 12px;
120
+ border-radius: 2px;
121
+ border: none;
122
+ .nf-keywords-key-sty-nor-icon {
123
+ margin-right: 8px;
124
+ transform: translateY(1px)
125
+ }
126
+ .nf-keywords-key-sty-nor-match {
127
+ transform: translateY(-1px);
128
+ display: inline-block;
129
+ color: rgba(0, 0, 0, 0.85);
130
+ }
131
+ .nf-keywords-key-sty-nor-recommend {
132
+ color:red;
133
+ transform: translateY(-1px);
134
+ display: inline-block
135
+ }
136
+ &.nf-alert {
137
+ &.nf-alert--warning {
138
+ border: none;
139
+ }
140
+ }
141
+ }
142
+ }
File without changes
@@ -0,0 +1,2 @@
1
+ //
2
+
@@ -0,0 +1,74 @@
1
+ @use "./variable.scss" as *;
2
+
3
+ .nf-message {
4
+ position: fixed;
5
+ left: 50%;
6
+ top: 20px;
7
+ transform: translateX(-50%);
8
+ background-color: #FFFFFF;
9
+ box-shadow: 0px 2px 30px 0px rgba(0,0,0,0.1);
10
+ border-radius: 4px;
11
+ transition: opacity .3s,transform .4s,top .4s;
12
+ padding: 9px 16px;
13
+ color: rgba(0,0,0,0.65);
14
+ display: flex;
15
+ align-items: center;
16
+
17
+ &.is-center {
18
+ justify-content: center
19
+ }
20
+
21
+ &.is-closable .nf-message__content {
22
+ padding-right: 16px
23
+ }
24
+
25
+ p {
26
+ margin: 0
27
+ }
28
+
29
+ .nf-message__icon {
30
+ margin-right: 8px
31
+ }
32
+
33
+ .nf-message__content {
34
+ padding: 0;
35
+ font-size: 14px;
36
+ line-height: 22px;
37
+ }
38
+
39
+ .nf-message__closeBtn {
40
+ position: absolute;
41
+ top: 50%;
42
+ right: 15px;
43
+ -webkit-transform: translateY(-50%);
44
+ transform: translateY(-50%);
45
+ cursor: pointer;
46
+ color: #C0C4CC;
47
+ font-size: 16px;
48
+
49
+ &:hover {
50
+ color: #909399;
51
+ }
52
+ }
53
+
54
+ .el-icon-success {
55
+ color: #67C23A;
56
+ }
57
+
58
+ .el-icon-error {
59
+ color: #F45959;
60
+ }
61
+
62
+ .el-icon-info {
63
+ color: $color-primary;
64
+ }
65
+
66
+ .el-icon-warning {
67
+ color: #FF882E;
68
+ }
69
+ }
70
+
71
+ .nf-message-fade-enter, .nf-message-fade-leave-active {
72
+ opacity: 0;
73
+ transform: translate(-50%,-100%)
74
+ }
@@ -0,0 +1 @@
1
+ //