waveshaker commited on
Commit
d5d2bd7
·
verified ·
1 Parent(s): d6ade11

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +23 -18
style.css CHANGED
@@ -79,6 +79,7 @@ select::picker-icon { margin-inline-end: 0px; }
79
  flex-direction: column;
80
  }
81
 
 
82
  .image-preview-box {
83
  width: 100%;
84
  max-width: 100%;
@@ -112,7 +113,7 @@ select::picker-icon { margin-inline-end: 0px; }
112
  text-decoration: underline;
113
  text-decoration-thickness: 1px;
114
  text-underline-offset: 3px;
115
- font-size: 12px; /* 比标题更小 */
116
  font-weight: 500;
117
  transition: opacity 0.2s;
118
  }
@@ -125,6 +126,7 @@ label { margin-bottom: 6px; font-weight: 600; font-size: calc(13px * var(--base-
125
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
126
  .form-row .form-group { margin-bottom: 0 !important; }
127
 
 
128
  input:not([type="checkbox"]), textarea, select {
129
  width: 100%; padding: 10px; border-radius: 6px; border: 1px solid var(--border-light);
130
  background: var(--input-bg); color: var(--text-main); font-size: calc(14px * var(--base-scale));
@@ -146,6 +148,7 @@ textarea {
146
  line-height: 1.5;
147
  }
148
 
 
149
  .slider-group { display: flex; align-items: center; gap: 10px; }
150
  .slider-group input[type="range"] {
151
  flex: 1; padding: 0; height: 6px; background: var(--input-bg); border-radius: 3px;
@@ -169,6 +172,7 @@ textarea {
169
  #generate-btn:hover:not(:disabled) { background: #ff6633; }
170
  #generate-btn:disabled { pointer-events: none; background-color: #555; color: #888; cursor: not-allowed; opacity: 0.6; }
171
 
 
172
  .lora-row {
173
  display: flex; align-items: center; justify-content: space-between;
174
  padding: 8px 0px; border-radius: 6px;
@@ -178,6 +182,7 @@ textarea {
178
  .lora-row input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--accent); }
179
  .lora-row .strength-box { width: 70px; padding: 6px; text-align: center; }
180
 
 
181
  .seed-group { display: flex; gap: 6px; width: 100%; }
182
  .seed-group input { flex: 1; }
183
  .seed-group button {
@@ -188,6 +193,7 @@ textarea {
188
  border-radius: 6px; font-size: calc(16px * var(--base-scale)); cursor: pointer; transition: all 0.2s;
189
  }
190
 
 
191
  .status-dot { width: 10px; height: 10px; border-radius: 50%; transition: background-color 0.3s ease; box-shadow: 0 0 2px rgba(0,0,0,0.5); }
192
  @keyframes breathe-green { 0% { opacity: 0.6; box-shadow: 0 0 4px rgba(0, 200, 81, 0.2); } 50% { opacity: 0.9; box-shadow: 0 0 10px rgba(0, 200, 81, 0.8); } 100% { opacity: 0.6; box-shadow: 0 0 4px rgba(0, 200, 81, 0.2); } }
193
  @keyframes breathe-yellow { 0% { opacity: 0.6; box-shadow: 0 0 4px rgba(255, 187, 51, 0.2); } 50% { opacity: 0.9; box-shadow: 0 0 10px rgba(255, 187, 51, 0.8); } 100% { opacity: 0.6; box-shadow: 0 0 4px rgba(255, 187, 51, 0.2); } }
@@ -196,7 +202,7 @@ textarea {
196
  .status-dot.loading { background-color: var(--loading-yellow); animation: breathe-yellow 1.5s infinite ease-in-out; }
197
  .status-dot.offline { background-color: var(--offline-red); animation: breathe-red 1s infinite ease-in-out; }
198
 
199
-
200
  .te-vae-container {
201
  font-size: 11px;
202
  display: flex;
@@ -207,26 +213,22 @@ textarea {
207
  padding: 0px;
208
  }
209
 
210
- /* ================= TE 相关 ================= */
211
  .te-label {
212
- color: var(--text-muted); /* "TE:" 用暗色 */
213
  font-size: 11px;
214
  }
215
 
216
- .te-value,.vae-value {
217
  color: var(--text-main);
218
  font-size: calc(14px * var(--base-scale));
219
  }
220
 
221
- /* ================= VAE 相关 ================= */
222
  .vae-label, .te-label {
223
  font-weight: 600;
224
  font-size: calc(13px * var(--base-scale));
225
  color: var(--text-muted);
226
  }
227
 
228
-
229
-
230
  /* ==========================================================================
231
  🖼️ Gallery & HUD
232
  ========================================================================== */
@@ -264,9 +266,10 @@ textarea {
264
  border-radius: 12px;
265
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
266
  margin: 0 auto;
267
- border:1px solid var(--border);
268
  }
269
 
 
270
  .selected-hud-bar {
271
  display: flex;
272
  justify-content: space-between;
@@ -325,6 +328,7 @@ textarea {
325
  border-color: var(--accent) !important;
326
  }
327
 
 
328
  .gallery-scroll-container {
329
  flex: 1; overflow-y: auto;
330
  border: 1px solid var(--border); border-radius: 8px;
@@ -345,6 +349,7 @@ textarea {
345
  .lora-card img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: filter 0.3s ease; }
346
  .lora-card:hover img { filter: brightness(1.05); }
347
 
 
348
  .card-info {
349
  position: absolute; bottom: 0; left: 0; right: 0;
350
  padding: 30px 10px 10px 10px;
@@ -371,6 +376,7 @@ textarea {
371
  line-height: 1.6;
372
  }
373
 
 
374
  .log-content {
375
  flex: 1;
376
  padding: 10px 12px;
@@ -381,7 +387,7 @@ textarea {
381
  color: #a0a0a0;
382
  background: #0a0a0a;
383
  max-height: 240px;
384
- height:240px;
385
  border-radius: 8px;
386
  border: 1px solid var(--border);
387
  scroll-behavior: smooth;
@@ -391,7 +397,6 @@ textarea {
391
  .log-line.highlight { color: var(--accent); }
392
  .log-line.error { color: #ff4444; }
393
 
394
- /* 给日志头部的 Checkbox 统一对齐 */
395
  .log-header {
396
  display: flex;
397
  justify-content: space-between;
@@ -420,19 +425,17 @@ textarea {
420
  width: 14px !important;
421
  height: 14px !important;
422
  margin: 0 !important;
 
423
  }
424
 
425
- /* 把日志头部的小 Checkbox 单独拉出来,统一它的对勾位置 */
426
  .log-header input[type="checkbox"]:checked::after {
427
  top: 1px !important;
428
  left: 4px !important;
429
  width: 2px;
430
  height: 6px;
431
  }
432
- .log-header input[type="checkbox"]{
433
- top: 1px !important;
434
- }
435
 
 
436
  .copy-log-btn {
437
  border: none;
438
  cursor: pointer;
@@ -451,6 +454,7 @@ textarea {
451
  padding: 3px 6px;
452
  border-radius: 3px;
453
  }
 
454
  /* ==========================================================================
455
  📱 Responsive & Cursor
456
  ========================================================================== */
@@ -463,7 +467,7 @@ select, input[type="checkbox"] { cursor: pointer; }
463
  .lora-row label, .lora-row input[type="checkbox"] { cursor: pointer; }
464
 
465
  /* ==========================================================================
466
- ✨ Shimmer Effects
467
  ========================================================================== */
468
  .shimmer-overlay {
469
  position: absolute;
@@ -499,7 +503,7 @@ select, input[type="checkbox"] { cursor: pointer; }
499
  }
500
 
501
  /* ==========================================================================
502
- 📐 Aspect Ratio & Checkbox Styling
503
  ========================================================================== */
504
  .aspect-ratio-row { display: flex; gap: 8px; width: 100%; }
505
 
@@ -524,6 +528,7 @@ select, input[type="checkbox"] { cursor: pointer; }
524
  box-shadow: 0 0 6px rgba(255, 127, 80, 0.2);
525
  }
526
 
 
527
  input[type="checkbox"] {
528
  -webkit-appearance: none !important;
529
  appearance: none !important;
@@ -568,4 +573,4 @@ input[type="checkbox"]:checked::after {
568
  background: #333 !important;
569
  border-color: #d65a31 !important;
570
  color: var(--text-main) !important;
571
- }
 
79
  flex-direction: column;
80
  }
81
 
82
+ /* 图像预览区容器 */
83
  .image-preview-box {
84
  width: 100%;
85
  max-width: 100%;
 
113
  text-decoration: underline;
114
  text-decoration-thickness: 1px;
115
  text-underline-offset: 3px;
116
+ font-size: 12px;
117
  font-weight: 500;
118
  transition: opacity 0.2s;
119
  }
 
126
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
127
  .form-row .form-group { margin-bottom: 0 !important; }
128
 
129
+ /* 通用输入控件样式 */
130
  input:not([type="checkbox"]), textarea, select {
131
  width: 100%; padding: 10px; border-radius: 6px; border: 1px solid var(--border-light);
132
  background: var(--input-bg); color: var(--text-main); font-size: calc(14px * var(--base-scale));
 
148
  line-height: 1.5;
149
  }
150
 
151
+ /* 滑块与数字输入组合 */
152
  .slider-group { display: flex; align-items: center; gap: 10px; }
153
  .slider-group input[type="range"] {
154
  flex: 1; padding: 0; height: 6px; background: var(--input-bg); border-radius: 3px;
 
172
  #generate-btn:hover:not(:disabled) { background: #ff6633; }
173
  #generate-btn:disabled { pointer-events: none; background-color: #555; color: #888; cursor: not-allowed; opacity: 0.6; }
174
 
175
+ /* Base LoRA 列表行 */
176
  .lora-row {
177
  display: flex; align-items: center; justify-content: space-between;
178
  padding: 8px 0px; border-radius: 6px;
 
182
  .lora-row input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--accent); }
183
  .lora-row .strength-box { width: 70px; padding: 6px; text-align: center; }
184
 
185
+ /* Seed 输入组 */
186
  .seed-group { display: flex; gap: 6px; width: 100%; }
187
  .seed-group input { flex: 1; }
188
  .seed-group button {
 
193
  border-radius: 6px; font-size: calc(16px * var(--base-scale)); cursor: pointer; transition: all 0.2s;
194
  }
195
 
196
+ /* 后端状态指示灯 */
197
  .status-dot { width: 10px; height: 10px; border-radius: 50%; transition: background-color 0.3s ease; box-shadow: 0 0 2px rgba(0,0,0,0.5); }
198
  @keyframes breathe-green { 0% { opacity: 0.6; box-shadow: 0 0 4px rgba(0, 200, 81, 0.2); } 50% { opacity: 0.9; box-shadow: 0 0 10px rgba(0, 200, 81, 0.8); } 100% { opacity: 0.6; box-shadow: 0 0 4px rgba(0, 200, 81, 0.2); } }
199
  @keyframes breathe-yellow { 0% { opacity: 0.6; box-shadow: 0 0 4px rgba(255, 187, 51, 0.2); } 50% { opacity: 0.9; box-shadow: 0 0 10px rgba(255, 187, 51, 0.8); } 100% { opacity: 0.6; box-shadow: 0 0 4px rgba(255, 187, 51, 0.2); } }
 
202
  .status-dot.loading { background-color: var(--loading-yellow); animation: breathe-yellow 1.5s infinite ease-in-out; }
203
  .status-dot.offline { background-color: var(--offline-red); animation: breathe-red 1s infinite ease-in-out; }
204
 
205
+ /* Text Encoder / VAE 信息展示 */
206
  .te-vae-container {
207
  font-size: 11px;
208
  display: flex;
 
213
  padding: 0px;
214
  }
215
 
 
216
  .te-label {
217
+ color: var(--text-muted);
218
  font-size: 11px;
219
  }
220
 
221
+ .te-value, .vae-value {
222
  color: var(--text-main);
223
  font-size: calc(14px * var(--base-scale));
224
  }
225
 
 
226
  .vae-label, .te-label {
227
  font-weight: 600;
228
  font-size: calc(13px * var(--base-scale));
229
  color: var(--text-muted);
230
  }
231
 
 
 
232
  /* ==========================================================================
233
  🖼️ Gallery & HUD
234
  ========================================================================== */
 
266
  border-radius: 12px;
267
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
268
  margin: 0 auto;
269
+ border: 1px solid var(--border);
270
  }
271
 
272
+ /* 选中 LoRA 的控制栏 */
273
  .selected-hud-bar {
274
  display: flex;
275
  justify-content: space-between;
 
328
  border-color: var(--accent) !important;
329
  }
330
 
331
+ /* 图库滚动容器与网格 */
332
  .gallery-scroll-container {
333
  flex: 1; overflow-y: auto;
334
  border: 1px solid var(--border); border-radius: 8px;
 
349
  .lora-card img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: filter 0.3s ease; }
350
  .lora-card:hover img { filter: brightness(1.05); }
351
 
352
+ /* 卡片底部标题渐变遮罩 */
353
  .card-info {
354
  position: absolute; bottom: 0; left: 0; right: 0;
355
  padding: 30px 10px 10px 10px;
 
376
  line-height: 1.6;
377
  }
378
 
379
+ /* 日志输出面板 */
380
  .log-content {
381
  flex: 1;
382
  padding: 10px 12px;
 
387
  color: #a0a0a0;
388
  background: #0a0a0a;
389
  max-height: 240px;
390
+ height: 240px;
391
  border-radius: 8px;
392
  border: 1px solid var(--border);
393
  scroll-behavior: smooth;
 
397
  .log-line.highlight { color: var(--accent); }
398
  .log-line.error { color: #ff4444; }
399
 
 
400
  .log-header {
401
  display: flex;
402
  justify-content: space-between;
 
425
  width: 14px !important;
426
  height: 14px !important;
427
  margin: 0 !important;
428
+ top: 1px !important;
429
  }
430
 
 
431
  .log-header input[type="checkbox"]:checked::after {
432
  top: 1px !important;
433
  left: 4px !important;
434
  width: 2px;
435
  height: 6px;
436
  }
 
 
 
437
 
438
+ /* 日志复制按钮(绝对定位在日志区右上角) */
439
  .copy-log-btn {
440
  border: none;
441
  cursor: pointer;
 
454
  padding: 3px 6px;
455
  border-radius: 3px;
456
  }
457
+
458
  /* ==========================================================================
459
  📱 Responsive & Cursor
460
  ========================================================================== */
 
467
  .lora-row label, .lora-row input[type="checkbox"] { cursor: pointer; }
468
 
469
  /* ==========================================================================
470
+ ✨ Shimmer Effects (扫光动画)
471
  ========================================================================== */
472
  .shimmer-overlay {
473
  position: absolute;
 
503
  }
504
 
505
  /* ==========================================================================
506
+ 📐 Aspect Ratio & Custom Checkbox
507
  ========================================================================== */
508
  .aspect-ratio-row { display: flex; gap: 8px; width: 100%; }
509
 
 
528
  box-shadow: 0 0 6px rgba(255, 127, 80, 0.2);
529
  }
530
 
531
+ /* 自定义 Checkbox 样式 */
532
  input[type="checkbox"] {
533
  -webkit-appearance: none !important;
534
  appearance: none !important;
 
573
  background: #333 !important;
574
  border-color: #d65a31 !important;
575
  color: var(--text-main) !important;
576
+ }