refactor(gallery,grouplib): 尺寸收进 token 闭集(1.6.10 / 1.0.5)
validate / validate (push) Canceled after 0s
validate / validate (push) Canceled after 0s
This commit is contained in:
1 parent
17fd3be13b
commit
b8718d6810
6 files changed
+9
-9
No files matched your search
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@iwb-plugin/gallery",
|
"name": "@iwb-plugin/gallery",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "1.6.9",
|
"version": "1.6.10",
|
||||||
"description": "图库:右栏图片墙(筛选/多选/预览/插入画布/下载/删除),数据由宿主 gallery 能力提供",
|
"description": "图库:右栏图片墙(筛选/多选/预览/插入画布/下载/删除),数据由宿主 gallery 能力提供",
|
||||||
"ibwPlugin": {
|
"ibwPlugin": {
|
||||||
"id": "gallery",
|
"id": "gallery",
|
||||||
|
|||||||
@@ -538,7 +538,7 @@
|
|||||||
global.IWBPluginHost.register({
|
global.IWBPluginHost.register({
|
||||||
id: 'gallery',
|
id: 'gallery',
|
||||||
name: '图库',
|
name: '图库',
|
||||||
version: '1.6.9',
|
version: '1.6.10',
|
||||||
apiVersion: 1,
|
apiVersion: 1,
|
||||||
capabilities: ['panels', 'gallery'],
|
capabilities: ['panels', 'gallery'],
|
||||||
data: { schemaVersion: 1, maxBytes: 65536 },
|
data: { schemaVersion: 1, maxBytes: 65536 },
|
||||||
|
|||||||
+4
-4
@@ -13,7 +13,7 @@
|
|||||||
/* ---- 顶栏 ---- */
|
/* ---- 顶栏 ---- */
|
||||||
.iwb-gal-head { display: flex; align-items: center; gap: 6px; min-height: 0; }
|
.iwb-gal-head { display: flex; align-items: center; gap: 6px; min-height: 0; }
|
||||||
.iwb-gal-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
|
.iwb-gal-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
|
||||||
.iwb-gal-actions .iwb-btn-sm { padding: 2px 7px; }
|
.iwb-gal-actions .iwb-btn-sm { padding: 2px 6px; }
|
||||||
|
|
||||||
/* ---- 底栏:左信息 / 右工具组 ---- */
|
/* ---- 底栏:左信息 / 右工具组 ---- */
|
||||||
.iwb-gal-foot {
|
.iwb-gal-foot {
|
||||||
@@ -32,7 +32,7 @@
|
|||||||
.iwb-gal-foot .iwb-gal-icobtn:active {
|
.iwb-gal-foot .iwb-gal-icobtn:active {
|
||||||
width: 20px; height: 20px; min-width: 20px; padding: 0; box-sizing: border-box;
|
width: 20px; height: 20px; min-width: 20px; padding: 0; box-sizing: border-box;
|
||||||
display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
|
display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
|
||||||
border: 0; box-shadow: none; background: transparent; border-radius: 4px;
|
border: 0; box-shadow: none; background: transparent; border-radius: 6px;
|
||||||
color: var(--iwb-text2); line-height: 1; transform: none;
|
color: var(--iwb-text2); line-height: 1; transform: none;
|
||||||
}
|
}
|
||||||
.iwb-gal-foot .iwb-gal-icobtn svg { display: block; pointer-events: none; }
|
.iwb-gal-foot .iwb-gal-icobtn svg { display: block; pointer-events: none; }
|
||||||
@@ -43,7 +43,7 @@
|
|||||||
/* ---- 设置浮层(三个下拉不占前台) ---- */
|
/* ---- 设置浮层(三个下拉不占前台) ---- */
|
||||||
.iwb-gal-settings {
|
.iwb-gal-settings {
|
||||||
position: absolute; right: 8px; bottom: 34px; z-index: 30; width: 176px; max-width: calc(100% - 16px);
|
position: absolute; right: 8px; bottom: 34px; z-index: 30; width: 176px; max-width: calc(100% - 16px);
|
||||||
display: flex; flex-direction: column; gap: 8px; padding: 9px 10px;
|
display: flex; flex-direction: column; gap: 8px; padding: 8px 10px;
|
||||||
background: var(--iwb-layer); border: 1px solid var(--iwb-border); border-radius: 8px;
|
background: var(--iwb-layer); border: 1px solid var(--iwb-border); border-radius: 8px;
|
||||||
box-shadow: 0 6px 18px rgba(0, 0, 0, .14);
|
box-shadow: 0 6px 18px rgba(0, 0, 0, .14);
|
||||||
}
|
}
|
||||||
@@ -65,7 +65,7 @@
|
|||||||
font-size: 11px; color: var(--iwb-text2); background: var(--iwb-layer2); word-break: break-all;
|
font-size: 11px; color: var(--iwb-text2); background: var(--iwb-layer2); word-break: break-all;
|
||||||
}
|
}
|
||||||
.iwb-history-actions { display: flex; gap: 4px; padding: 4px 2px 0; }
|
.iwb-history-actions { display: flex; gap: 4px; padding: 4px 2px 0; }
|
||||||
.iwb-history-actions .iwb-btn-sm { padding: 1px 6px; font-size: 10px; }
|
.iwb-history-actions .iwb-btn-sm { padding: 2px 6px; font-size: 11px; }
|
||||||
.iwb-history-more { display: flex; justify-content: center; padding: 4px 0 2px; }
|
.iwb-history-more { display: flex; justify-content: center; padding: 4px 0 2px; }
|
||||||
/* 只作用于图库自己的空态提示:不加前缀会泄漏到设置页等使用 .iwb-hint 的地方(文字被居中) */
|
/* 只作用于图库自己的空态提示:不加前缀会泄漏到设置页等使用 .iwb-hint 的地方(文字被居中) */
|
||||||
.iwb-history-embedded .iwb-hint { font-size: 11px; color: var(--iwb-text2); text-align: center; padding: 12px 6px; }
|
.iwb-history-embedded .iwb-hint { font-size: 11px; color: var(--iwb-text2); text-align: center; padding: 12px 6px; }
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@iwb-plugin/grouplib",
|
"name": "@iwb-plugin/grouplib",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "1.0.4",
|
"version": "1.0.5",
|
||||||
"description": "节点组:左栏收藏的节点组列表(分组/改名/删除/拖入画布实例化),数据由宿主 grouplib 能力提供",
|
"description": "节点组:左栏收藏的节点组列表(分组/改名/删除/拖入画布实例化),数据由宿主 grouplib 能力提供",
|
||||||
"ibwPlugin": {
|
"ibwPlugin": {
|
||||||
"id": "grouplib",
|
"id": "grouplib",
|
||||||
|
|||||||
@@ -439,7 +439,7 @@
|
|||||||
global.IWBPluginHost.register({
|
global.IWBPluginHost.register({
|
||||||
id: 'grouplib',
|
id: 'grouplib',
|
||||||
name: '节点组',
|
name: '节点组',
|
||||||
version: '1.0.4',
|
version: '1.0.5',
|
||||||
apiVersion: 1,
|
apiVersion: 1,
|
||||||
capabilities: ['panels', 'grouplib'],
|
capabilities: ['panels', 'grouplib'],
|
||||||
data: { schemaVersion: 1, maxBytes: 65536 },
|
data: { schemaVersion: 1, maxBytes: 65536 },
|
||||||
|
|||||||
+1
-1
@@ -36,7 +36,7 @@
|
|||||||
.iwb-glp-dragging { opacity: .55; }
|
.iwb-glp-dragging { opacity: .55; }
|
||||||
/* 空态:虚线框 */
|
/* 空态:虚线框 */
|
||||||
.iwb-glp-empty {
|
.iwb-glp-empty {
|
||||||
margin: 4px 0; padding: 14px 12px; border-radius: 10px; text-align: center;
|
margin: 4px 0; padding: 12px 12px; border-radius: 10px; text-align: center;
|
||||||
border: 1px dashed var(--iwb-border2, #b9bfca); color: var(--iwb-text2, #4d5668);
|
border: 1px dashed var(--iwb-border2, #b9bfca); color: var(--iwb-text2, #4d5668);
|
||||||
font-size: 12px; line-height: 1.7;
|
font-size: 12px; line-height: 1.7;
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user