diff --git a/promptlib/package.json b/promptlib/package.json index 05383e2..a0d3c74 100644 --- a/promptlib/package.json +++ b/promptlib/package.json @@ -1,7 +1,7 @@ { "name": "@iwb-plugin/promptlib", "private": true, - "version": "1.7.0", + "version": "1.7.1", "description": "提示词库:右栏提示词列表(搜索/分组/收藏/新建编辑/插入画布/复制/删除),数据由宿主 promptlib 能力提供", "ibwPlugin": { "id": "promptlib", diff --git a/promptlib/src/index.js b/promptlib/src/index.js index 7f19477..812b2f3 100644 --- a/promptlib/src/index.js +++ b/promptlib/src/index.js @@ -1684,7 +1684,7 @@ global.IWBPluginHost.register({ id: 'promptlib', name: '提示词库', - version: '1.7.0', + version: '1.7.1', apiVersion: 1, capabilities: ['panels', 'promptlib', 'nodeTypes', 'canvas', 'canvasWrite'], data: { schemaVersion: 3, maxBytes: 4 * 1024 * 1024 }, diff --git a/promptlib/styles.css b/promptlib/styles.css index 17455f1..4a234e9 100644 --- a/promptlib/styles.css +++ b/promptlib/styles.css @@ -413,3 +413,24 @@ body.iwb-plp-dragging, body.iwb-plp-dragging *{user-select:none!important;-webki .iwb-plp-vdesc{width:100%;height:28px;margin-top:5px;border-style:dashed;background:#fbfcfd;font-size:11.5px;color:#6b7280} .iwb-plp-dcov{flex:0 0 auto;width:180px;height:180px;border-radius:12px;overflow:hidden} .iwb-plp-dvar{background:#f1ecff;color:#5a3fd0;border-radius:4px;padding:0 4px;font-weight:500} +/* v1.7.1:编辑面板视觉精修——输入框比底色更亮、去多余边框、细分隔线 */ +.iwb-plp-dialog .iwb-plp-dbody{gap:10px;padding:12px;background:#f4f5f7} +.iwb-plp-dialog .iwb-plp-eleft{flex:0 0 236px;width:236px;background:#fff;border:1px solid #e6e8ec;border-radius:12px;padding:12px} +.iwb-plp-dialog .iwb-plp-emid{background:#fff;border:1px solid #e6e8ec;border-radius:12px;padding:10px 12px 12px} +.iwb-plp-dialog .iwb-plp-emid .iwb-plp-etext{border:1px solid #eef0f3;background:#fbfcfd;border-radius:9px;padding:10px 12px} +.iwb-plp-dialog .iwb-plp-emid .iwb-plp-etext:focus{background:#fff;border-color:#cfc3ff;box-shadow:0 0 0 3px rgba(107,77,255,.08)} +.iwb-plp-dialog .iwb-plp-esplit{flex:0 0 6px;background:transparent;border-radius:4px} +.iwb-plp-dialog .iwb-plp-esplit:hover{background:#e7e9ee} +.iwb-plp-dialog .iwb-plp-esplit::before{content:'';display:block;width:2px;height:30px;border-radius:2px;background:#d7dbe2} +.iwb-plp-dialog .iwb-plp-eright{background:transparent;border:0;padding:2px 0 0} +.iwb-plp-dialog .iwb-plp-vitem{border:0;padding:2px 0} +.iwb-plp-dialog .iwb-plp-vrow2{gap:6px} +.iwb-plp-dialog .iwb-plp-vname{background:#fbfcfd;border:1px solid #eceef2;border-radius:8px;height:32px;padding:0 10px;font-size:12.5px;color:#33383f} +.iwb-plp-dialog .iwb-plp-vname:focus{background:#fff;border-color:#cfc3ff;box-shadow:0 0 0 3px rgba(107,77,255,.08)} +.iwb-plp-dialog .iwb-plp-vi{background:transparent;border:0;color:#aab0ba;width:22px;height:22px;line-height:20px} +.iwb-plp-dialog .iwb-plp-vi:hover{background:#eef0f4;color:#6b7280} +.iwb-plp-dialog .iwb-plp-vi.is-open{background:#f1ecff;color:#5a3fd0} +.iwb-plp-dialog .iwb-plp-vdesc{background:#fbfcfd;border:1px dashed #e2e6ec;border-radius:7px;height:28px;margin-top:4px} +.iwb-plp-dialog .iwb-plp-lrow span{color:#8a919c;font-size:11.5px} +.iwb-plp-dialog .iwb-plp-lrow .iwb-input{background:#fbfcfd;border:1px solid #eceef2;border-radius:8px;height:32px} +.iwb-plp-dialog .iwb-plp-lrow .iwb-input:focus{background:#fff;border-color:#cfc3ff}