@94ai/nf-theme-oem 8.1.9 → 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
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@94ai/nf-theme-oem",
3
- "version": "8.1.9",
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": "eb0b1c5ee29b277208e13eeebdb43d1b07554ce3"
33
+ "gitHead": "2a8f23b9a3256ed3dc3303d38d2be483cf095e4d"
34
34
  }