@94ai/nf-theme-oem 4.0.4 → 4.0.11

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,4 +1,5 @@
1
1
  @use './base.scss';
2
+
2
3
  .nf-transfer-select__popper {
3
4
  .el-select-dropdown__wrap {
4
5
  max-height: max-content;
@@ -29,6 +30,25 @@
29
30
 
30
31
  .nf-transfer-select {
31
32
  width: 100%;
33
+
34
+ .el-select__tags {
35
+ span {
36
+ .el-tag {
37
+ &:first-child {
38
+ max-width: calc(100% - 60px);
39
+ .el-select__tags-text {
40
+ display: inline-block;
41
+ min-width: 40px;
42
+ max-width: calc(100% - 20px);
43
+ overflow: hidden;
44
+ text-overflow: ellipsis;
45
+ vertical-align: middle;
46
+ }
47
+ }
48
+ }
49
+
50
+ }
51
+ }
32
52
  &.nf-transfer-select-land {
33
53
  width: min-content;
34
54
  padding: 0;
@@ -39,15 +59,19 @@
39
59
  cursor: default;
40
60
  }
41
61
 
42
- .nf-transfer-select__left, .nf-transfer-select__right {
43
- > .el-transfer-panel {
62
+ .nf-transfer-select__left,
63
+ .nf-transfer-select__right {
64
+ >.el-transfer-panel {
44
65
  width: 100%;
45
66
  }
67
+
46
68
  .el-transfer-panel__header {
47
69
  .el-checkbox {
48
70
  display: inline-block;
71
+
49
72
  .el-checkbox__label {
50
73
  font-size: 14px;
74
+
51
75
  span {
52
76
  position: static;
53
77
  font-size: 14px;
@@ -55,14 +79,18 @@
55
79
  }
56
80
  }
57
81
  }
82
+
58
83
  .el-transfer-panel__item {
59
84
  margin-right: 24px;
85
+
60
86
  .el-checkbox__label {
61
87
  font-weight: 400;
62
88
  color: #303133;
89
+
63
90
  span {
64
91
  font-size: 12px;
65
92
  }
93
+
66
94
  .left-item-button {
67
95
  position: absolute;
68
96
  right: 0;
@@ -75,13 +103,14 @@
75
103
 
76
104
  .nf-transfer-select__left {
77
105
  width: 50%;
106
+
78
107
  .el-transfer-panel {
79
108
  border-top-right-radius: 0;
80
109
  border-bottom-right-radius: 0;
81
110
  }
82
111
 
83
112
  .el-transfer__buttons {
84
- & + .el-transfer-panel {
113
+ &+.el-transfer-panel {
85
114
  display: none;
86
115
  }
87
116
  }
@@ -90,10 +119,12 @@
90
119
  .nf-transfer-select__right {
91
120
  top: -100%;
92
121
  width: 50%;
122
+
93
123
  .el-transfer-panel__header {
94
124
  .el-checkbox {
95
125
  pointer-events: none;
96
126
  position: static;
127
+
97
128
  .el-checkbox__input {
98
129
  pointer-events: initial;
99
130
  display: inline-block;
@@ -101,6 +132,7 @@
101
132
  visibility: hidden;
102
133
  position: absolute;
103
134
  right: 44px;
135
+
104
136
  &:before {
105
137
  content: '清除';
106
138
  visibility: initial;
@@ -110,6 +142,7 @@
110
142
  font-size: 12px;
111
143
  }
112
144
  }
145
+
113
146
  .el-checkbox__label {
114
147
  pointer-events: none;
115
148
  padding-left: 0;
@@ -125,9 +158,12 @@
125
158
 
126
159
  .el-checkbox__label {
127
160
  padding-left: 0;
161
+
128
162
  .el-icon-close {
129
- float: right;
130
- margin-top: 9px;
163
+ position: absolute;
164
+ right: 0;
165
+ top: 10px;
166
+ background-color: #fff;
131
167
  }
132
168
  }
133
169
  }
@@ -135,13 +171,14 @@
135
171
  .el-transfer-panel {
136
172
  border-top-left-radius: 0;
137
173
  border-bottom-left-radius: 0;
174
+
138
175
  &:first-child {
139
176
  display: none;
140
177
  }
141
178
  }
142
179
 
143
180
  .el-transfer__buttons {
144
- & + .el-transfer-panel {
181
+ &+.el-transfer-panel {
145
182
  border-left: none;
146
183
  }
147
184
  }
@@ -190,4 +227,4 @@
190
227
  }
191
228
  }
192
229
  }
193
- }
230
+ }
@@ -1 +1,51 @@
1
- //
1
+ .nf-variate-select-popover {
2
+ &.el-popover {
3
+ &.el-popper {
4
+ padding: 0;
5
+ }
6
+ }
7
+ .nf-variable-select-box {
8
+ .nf-variable-select-search {
9
+ padding: 12px;
10
+ }
11
+ .nf-variable-select-variate {
12
+ overflow-y: auto;
13
+ padding-bottom: 12px;
14
+ max-height: 200px;
15
+ &::-webkit-scrollbar {
16
+ width: 6px;
17
+ height: 6px;
18
+ }
19
+
20
+ &::-webkit-scrollbar-thumb {
21
+ border-radius: 3px;
22
+ -moz-border-radius: 3px;
23
+ -webkit-border-radius: 3px;
24
+ background-color: #c3c3c3;
25
+ }
26
+
27
+ &::-webkit-scrollbar-track {
28
+ background-color: transparent;
29
+ }
30
+ .nf-variable-select-variate-item{
31
+ line-height: 30px;
32
+ cursor: pointer;
33
+ padding: 0 12px;
34
+ &:hover{
35
+ background: #daecff;
36
+ }
37
+ }
38
+ .nf-variable-select-nothing {
39
+ text-align: center;
40
+ line-height: 30px;
41
+ font-size: 12px;
42
+ color: #666;
43
+ }
44
+ }
45
+ }
46
+ }
47
+ .nf-variable-select {
48
+ display: inline-block;
49
+ }
50
+
51
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@94ai/nf-theme-oem",
3
- "version": "4.0.4",
3
+ "version": "4.0.11",
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": "e5474a77430cb11157a71911e1accdb641ea4b81"
33
+ "gitHead": "eabce236b110b910ed9cb08ae9c218a7031e38b8"
34
34
  }