seeder-st2110-components 1.5.10 → 1.6.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/dist/index.css +1 -1
- package/dist/index.esm.js +2744 -2269
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +2140 -1663
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/styles/index.less +89 -16
package/package.json
CHANGED
package/src/styles/index.less
CHANGED
|
@@ -176,10 +176,6 @@
|
|
|
176
176
|
}
|
|
177
177
|
}
|
|
178
178
|
|
|
179
|
-
.flex {
|
|
180
|
-
display: flex;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
179
|
.block {
|
|
184
180
|
display: block;
|
|
185
181
|
}
|
|
@@ -189,6 +185,71 @@
|
|
|
189
185
|
margin-right: auto;
|
|
190
186
|
}
|
|
191
187
|
|
|
188
|
+
.common-header {
|
|
189
|
+
padding: 0 16px;
|
|
190
|
+
height: 50px;
|
|
191
|
+
background-color: #1F1F1F;
|
|
192
|
+
color: rgba(255, 255, 255, 0.85);
|
|
193
|
+
.header-controls {
|
|
194
|
+
display: flex;
|
|
195
|
+
gap: 12px;
|
|
196
|
+
}
|
|
197
|
+
.control-icon {
|
|
198
|
+
width: 32px;
|
|
199
|
+
padding-inline: 6px;
|
|
200
|
+
padding-block: 2px;
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.usage-container {
|
|
205
|
+
display: flex;
|
|
206
|
+
align-items: center;
|
|
207
|
+
height: 32px;
|
|
208
|
+
color: rgba(255, 255, 255, 0.65);
|
|
209
|
+
|
|
210
|
+
.usage-item-wrapper {
|
|
211
|
+
display: flex;
|
|
212
|
+
justify-content: center;
|
|
213
|
+
align-items: center;
|
|
214
|
+
height: 100%;
|
|
215
|
+
width: 90px; /* 固定宽度 */
|
|
216
|
+
min-width: 90px; /* 防止压缩 */
|
|
217
|
+
max-width: 90px; /* 防止扩展 */
|
|
218
|
+
position: relative;
|
|
219
|
+
padding: 0 8px;
|
|
220
|
+
flex-shrink: 0; /* 禁止收缩 */
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
/* 使用伪元素分隔线 */
|
|
224
|
+
.usage-item-wrapper:not(:last-child)::after {
|
|
225
|
+
content: '';
|
|
226
|
+
position: absolute;
|
|
227
|
+
right: 0;
|
|
228
|
+
top: 50%;
|
|
229
|
+
transform: translateY(-50%);
|
|
230
|
+
width: 1px;
|
|
231
|
+
height: 16px;
|
|
232
|
+
background: rgba(253, 253, 253, 0.42);
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.usage-item {
|
|
236
|
+
display: flex;
|
|
237
|
+
align-items: center;
|
|
238
|
+
gap: 4px;
|
|
239
|
+
width: 100%;
|
|
240
|
+
justify-content: center;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
.usage-value {
|
|
244
|
+
display: inline-block;
|
|
245
|
+
min-width: 2.5rem; /* 40px */
|
|
246
|
+
text-align: right;
|
|
247
|
+
font-family: inherit;
|
|
248
|
+
font-variant-numeric: inherit;
|
|
249
|
+
letter-spacing: 0.5px; /* 字母间距,使数字更清晰 */
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
|
|
192
253
|
.text-xl {
|
|
193
254
|
font-size: 1.25rem; /* 20px */
|
|
194
255
|
line-height: 1.75rem; /* 28px */
|
|
@@ -208,18 +269,30 @@
|
|
|
208
269
|
color: rgb(163 163 163);
|
|
209
270
|
}
|
|
210
271
|
|
|
211
|
-
.inline-block {
|
|
212
|
-
display: inline-block;
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
.w-10 {
|
|
216
|
-
width: 2.5rem; /* 40px */
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
.text-center {
|
|
220
|
-
text-align: center;
|
|
221
|
-
}
|
|
222
|
-
|
|
223
272
|
.hidden {
|
|
224
273
|
display: none;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
.draggable-number-input {
|
|
277
|
+
box-sizing: border-box;
|
|
278
|
+
margin: 0;
|
|
279
|
+
padding: 4px 11px;
|
|
280
|
+
color: rgba(255, 255, 255, 0.85);
|
|
281
|
+
font-size: 14px;
|
|
282
|
+
line-height: 1.5714285714285714;
|
|
283
|
+
list-style: none;
|
|
284
|
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
|
|
285
|
+
position: relative;
|
|
286
|
+
display: inline-block;
|
|
287
|
+
width: 100%;
|
|
288
|
+
min-width: 0;
|
|
289
|
+
border-radius: 3px;
|
|
290
|
+
transition: all 0.2s;
|
|
291
|
+
background: #141414;
|
|
292
|
+
border-width: 1px;
|
|
293
|
+
border-style: solid;
|
|
294
|
+
border-color: #424242;
|
|
295
|
+
&:focus-visible {
|
|
296
|
+
outline: none !important;
|
|
297
|
+
}
|
|
225
298
|
}
|