@94ai/nf-theme-oem 8.1.8 → 8.2.0

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.
@@ -1,142 +1,106 @@
1
1
  @use "./variable.scss" as *;
2
-
3
- .nf-keywords {
4
- .el-input__inner,
5
- .el-textarea__inner {
2
+ @use './nf-font.scss';
3
+ .nf-keyword-inputs-box {
4
+ width: 100%;
5
+ .nf-keyword-inputs {
6
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;
7
+ .nf-keyword-input-item-box {
8
+ width: 100%;
9
+ overflow-y: scroll;
10
+ max-height: 40vh;
11
+ overflow-x: hidden;
16
12
  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;
13
+ .nf-keyword-input-item {
14
+ background-color: #fff;
15
+ border-radius: 2px;
16
+ line-height: 20px;
17
+ font-weight: 400;
18
+ font-size: 12px;
19
+ color: rgba(0,0,0,0.65);
20
+ font-style: normal;
21
+ margin-right: 8px;
22
+ display: inline-block;
23
+ white-space: normal;
24
+ word-break: break-word;
25
+ margin-bottom: 8px;
26
+ span {
27
+ padding: 0 6px;
28
+ }
29
+ i {
30
+ font-size: 12px;
31
+ margin-right: 4px;
32
+ cursor: pointer;
33
+ }
40
34
  }
41
35
  }
42
36
  }
43
- .nf-keywords-no-tag {
44
- width: 100%;
45
- height: 62px;
46
- display: flex;
47
- align-items: center;
48
- justify-content: center;
37
+ .nf-keyword-delete-all {
38
+ height: 20px;
39
+ font-weight: 400;
49
40
  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;
41
+ color: #F45959;
59
42
  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;
43
+ text-align: left;
44
+ font-style: normal;
45
+ margin-top: 8px;
46
+ cursor: pointer;
47
+ display: inline-block;
48
+ span {
75
49
  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;
50
+ vertical-align: middle;
83
51
  }
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);
52
+ }
53
+ .nf-keyword-copy-all {
54
+ @extend .nf-keyword-delete-all;
55
+ margin-right: 16px;
56
+ color: $color-primary;
57
+ }
58
+ }
59
+ .nf-keyword-no-keyword {
60
+ border: 1px solid #DCDFE6;
61
+ background-color: #fff;
62
+ .el-input {
63
+ input {
64
+ border: none !important;
65
+ padding: 0 12px !important;
94
66
  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
67
  }
109
68
  }
110
-
111
- .nf-keywords-key-sty {
112
- color: red;
113
- font-size: 12px;
114
- margin: 4px 0;
69
+ }
70
+ .nf-keyword-has-keyword {
71
+ padding-top: 12px;
72
+ background-color: #f5f7fa;
73
+ .nf-keyword-input-item-box {
74
+ padding: 0 12px;
115
75
  }
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;
76
+ .el-input {
77
+ input {
78
+ height: 32px;
79
+ border: none !important;
80
+ border-radius: 0 !important;
81
+ padding: 0 12px !important;
82
+ background-color: #E8EBF0;
83
+ &::-webkit-input-placeholder {
84
+ color: rgba(0,0,0,0.45);
85
+ }
86
+ &::-moz-placeholder {
87
+ color: rgba(0,0,0,0.45);
88
+ }
89
+ &::-ms-input-placeholder {
90
+ color: rgba(0,0,0,0.45);
91
+ }
92
+ &::placeholder {
93
+ color: rgba(0,0,0,0.45);
139
94
  }
140
95
  }
141
96
  }
142
97
  }
98
+ .nf-keyword-icon {
99
+ font-size: 14px;
100
+ margin-right: 4px;
101
+ }
102
+ .nf-keyword-over-text {
103
+ color: #F45959;
104
+ font-size: 12px;
105
+ padding-left: 12px;
106
+ }
@@ -127,6 +127,7 @@
127
127
  width: 50%;
128
128
 
129
129
  .el-transfer-panel__header {
130
+ position: relative;
130
131
  .el-checkbox {
131
132
  pointer-events: none;
132
133
  position: static;
@@ -134,18 +135,32 @@
134
135
  .el-checkbox__input {
135
136
  pointer-events: initial;
136
137
  display: inline-block;
137
- width: 0;
138
+ width: 16px;
139
+ height: 16px;
138
140
  visibility: hidden;
139
141
  position: absolute;
140
- right: 44px;
142
+ right: 15px;
143
+ top: 50%;
144
+ transform: translateY(-50%);
141
145
 
142
146
  &:before {
143
- content: '清除';
147
+ font-family: 'iconfont';
148
+ content: "\e613";
144
149
  visibility: initial;
145
150
  color: $color-primary;
146
- line-height: 40px;
147
151
  display: inline-block;
148
- font-size: 12px;
152
+ font-size: 16px;
153
+ }
154
+ &:hover {
155
+ &:before {
156
+ transition: 0.3s opacity;
157
+ opacity: 0.8;
158
+ }
159
+ }
160
+ &.is-disabled:hover {
161
+ &:before {
162
+ cursor: not-allowed;
163
+ }
149
164
  }
150
165
  }
151
166
 
@@ -154,6 +169,20 @@
154
169
  padding-left: 0;
155
170
  }
156
171
  }
172
+ .el-transfer-panel__operate {
173
+ position: absolute;
174
+ right: 40px;
175
+ top: 50%;
176
+ transform: translateY(-50%);
177
+ i {
178
+ font-size: 16px;
179
+ color: $color-primary;
180
+ &:hover {
181
+ transition: 0.3s opacity;
182
+ opacity: 0.8;
183
+ }
184
+ }
185
+ }
157
186
  }
158
187
 
159
188
  .el-checkbox__input {
@@ -207,6 +236,9 @@
207
236
  left: 0;
208
237
  }
209
238
  }
239
+ .el-transfer-panel__empty {
240
+ height: auto;
241
+ }
210
242
 
211
243
  .el-transfer-panel__list {
212
244
  &:hover {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@94ai/nf-theme-oem",
3
- "version": "8.1.8",
3
+ "version": "8.2.0",
4
4
  "description": "oem主题包",
5
5
  "keywords": [
6
6
  "theme",
@@ -30,5 +30,5 @@
30
30
  "build": "gulp --require @esbuild-kit/cjs-loader"
31
31
  },
32
32
  "types": "lib/index.ts",
33
- "gitHead": "fef0a793a99381f252b7a22d48ac09d8c3fed698"
33
+ "gitHead": "2a8f23b9a3256ed3dc3303d38d2be483cf095e4d"
34
34
  }