fix: v1.5.3 — 弹窗输入框样式统一为 Gitea 地址框
去掉弹窗输入框的自定义 1.5px 边框/浅灰底/聚焦光晕, 改为与 .addrow input(也就是 Gitea 地址框)完全一致: 1px #d0d5dd 边框、padding 11px 14px、focus 紫色边框。 带图标的输入框仍保留 ✏️/🔑 前缀。 manifest 1.5.2 → 1.5.3
This commit is contained in:
@@ -975,20 +975,16 @@ input[readonly]{background:#f6f8fa;color:#646a73;cursor:not-allowed}
|
||||
.modal-field label.mfl{font-size:13px;font-weight:600;color:#374151;display:flex;align-items:center;gap:6px}
|
||||
.modal-field .mfhint{font-size:12px;color:#8a919e;line-height:1.5;margin-top:-2px}
|
||||
.modal-body input[type=text],.modal-body input[type=password]{
|
||||
border:1.5px solid #e5e8ec;border-radius:10px;padding:10px 14px;font-size:14px;outline:none;width:100%;box-sizing:border-box;font-family:inherit;background:#fafbfc;color:#1f2329;transition:all .15s}
|
||||
.modal-body input[type=text]:hover,.modal-body input[type=password]:hover{border-color:#c7cdd4;background:#fff}
|
||||
.modal-body input[type=text]:focus,.modal-body input[type=password]:focus{border-color:#7c3aed;background:#fff;box-shadow:0 0 0 3px rgba(124,58,237,.12)}
|
||||
border:1px solid #d0d5dd;border-radius:10px;padding:11px 14px;font-size:14px;outline:none;width:100%;box-sizing:border-box;font-family:inherit;background:#fff;color:#1f2329}
|
||||
.modal-body input[type=text]:focus,.modal-body input[type=password]:focus{border-color:#7c3aed}
|
||||
.modal-body input[readonly]{background:#f4f5f7;color:#374151;cursor:default;border-style:dashed}
|
||||
.modal-body input[readonly]:hover{background:#f4f5f7;border-color:#e5e8ec}
|
||||
/* 带前缀图标的输入框 */
|
||||
.modal-body input[readonly]:focus{border-color:#d0d5dd}
|
||||
/* 带前缀图标的输入框(保留图标,padding 让出左侧空间) */
|
||||
.mf-input{position:relative}
|
||||
.mf-input .mf-icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);font-size:14px;color:#8a919e;pointer-events:none;line-height:1;transition:color .15s}
|
||||
.mf-input input{padding-left:36px}
|
||||
.mf-input input:focus+.mf-icon,.mf-input input:focus~.mf-icon{color:#7c3aed}
|
||||
.mf-input.mf-token input{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.3px}
|
||||
/* 让第一个字段(备注名)更突出一点 */
|
||||
.modal-field:first-of-type input[type=text]{font-weight:500;background:#fff}
|
||||
.modal-field:first-of-type input[type=text]:focus{background:#fff}
|
||||
.mf-input.mf-token input{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.5px}
|
||||
.mf-info{display:flex;align-items:center;gap:10px;padding:10px 14px;background:#f4f5f7;border:1.5px dashed #e0e3e8;border-radius:10px;color:#374151;font-size:14px}
|
||||
.mf-info .mfi-label{font-size:12px;color:#8a919e;font-weight:500;flex:none}
|
||||
.mf-info .mfi-value{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px;word-break:break-all}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
appname = GiteaHubSync
|
||||
version = 1.5.2
|
||||
version = 1.5.3
|
||||
display_name = Gitea→GitHub 同步助手
|
||||
desc = 每次推送到飞牛 Gitea 的代码,10 秒内自动镜像到 GitHub 的 7 个私有仓库。内置控制面板:自动同步开关、立即同步、仓库状态、同步日志,一键打开 Gitea。数据全部保存在 NAS 本地。
|
||||
platform = all
|
||||
|
||||
Reference in New Issue
Block a user