平台编辑弹窗修复与增强:行内输入框被 .modal input 宽度规则撑出容器(提权 .modal .mpe-* 修复);弹窗文案精简去掉外部依赖描述;编辑态支持删除整个平台;新增「保存后立即重启」默认勾选(restart 拆出 restartNow 复用)
This commit is contained in:
@@ -972,19 +972,21 @@ label.icon-btn { cursor: pointer; }
|
||||
.model-en-sw input:checked + .sw-track { background: var(--active); }
|
||||
.model-en-sw input:checked + .sw-track::after { transform: translateX(14px); }
|
||||
|
||||
/* ---------- 平台编辑/新增弹窗(模型池共用) ---------- */
|
||||
/* ---------- 平台编辑/新增弹窗(模型池共用) ----------
|
||||
注:选择器均带 .modal 前缀提权——.modal input{width:100%}(0,1,1) 会盖过
|
||||
单类(0,1,0)与同权但位置靠前的规则,导致行内输入框撑出卡片。 */
|
||||
.modal.modal-wide { max-width: 480px; }
|
||||
.mpe-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 14px 0 8px; font-size: 13px; font-weight: 600; color: var(--ink); }
|
||||
.mpe-sec-head .ghost-btn.sm { flex: none; padding: 4px 12px; font-size: 12.5px; border-radius: 8px; }
|
||||
.mpe-row { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
|
||||
.mpe-row input { margin-bottom: 0; padding: 8px 10px; font-size: 13px; }
|
||||
.mpe-grow { flex: 1; min-width: 0; }
|
||||
.mpe-con { width: 56px; flex: none; }
|
||||
.mpe-mid { width: 104px; flex: none; }
|
||||
.mpe-vis { flex: none; display: flex; align-items: center; gap: 3px; font-size: 12px; color: var(--gray); margin: 0; width: auto; }
|
||||
.mpe-vis input { width: 15px; height: 15px; padding: 0; margin: 0; accent-color: var(--active); cursor: pointer; }
|
||||
.mpe-del { flex: none; border: none; background: none; margin: 0; padding: 2px 7px; cursor: pointer; color: var(--gray-light); font-size: 18px; line-height: 1.2; }
|
||||
.mpe-del:active { color: #c0392b; }
|
||||
.modal .mpe-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 14px 0 8px; font-size: 13px; font-weight: 600; color: var(--ink); }
|
||||
.modal .mpe-sec-head .ghost-btn.sm { flex: none; padding: 4px 12px; font-size: 12.5px; border-radius: 8px; }
|
||||
.modal .mpe-row { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
|
||||
.modal .mpe-row input { width: auto; margin-bottom: 0; padding: 8px 10px; font-size: 13px; }
|
||||
.modal .mpe-grow { flex: 1; min-width: 0; }
|
||||
.modal .mpe-con { flex: none; width: 56px; }
|
||||
.modal .mpe-mid { flex: none; width: 104px; }
|
||||
.modal .mpe-vis { flex: none; display: flex; align-items: center; gap: 3px; font-size: 12px; color: var(--gray); margin: 0; width: auto; }
|
||||
.modal .mpe-vis input { width: 15px; height: 15px; padding: 0; margin: 0; border: none; background: none; accent-color: var(--active); cursor: pointer; }
|
||||
.modal .mpe-del { flex: none; border: none; background: none; margin: 0; padding: 2px 7px; cursor: pointer; color: var(--gray-light); font-size: 18px; line-height: 1.2; }
|
||||
.modal .mpe-del:active { color: #c0392b; }
|
||||
|
||||
/* ---------- 编辑器页(config.yml 原文 / 技能文件) ---------- */
|
||||
.set-editor {
|
||||
|
||||
Reference in New Issue
Block a user