|
|
|
@@ -295,7 +295,7 @@ button { font-family: inherit; }
|
|
|
|
|
.iwb-boxsel { position: absolute; border: 1px dashed var(--iwb-brand); background: color-mix(in srgb, var(--iwb-brand) 12%, transparent); z-index: 3; pointer-events: none; }
|
|
|
|
|
/* v3.26.18:右栏挤压到工具栏时自动隐藏(避免两者重叠) */
|
|
|
|
|
.iwb-minimap.iwb-minimap-tight { opacity: 0; transform: translateY(6px); pointer-events: none; }
|
|
|
|
|
.iwb-minimap { transition: opacity .16s ease, transform .16s ease; position: absolute; width: 132px; height: 88px; background: var(--iwb-panel); border: 1px solid var(--iwb-border); border-radius: 8px; z-index: 11; cursor: crosshair; overflow: hidden; touch-action: none; box-shadow: 0 4px 16px rgba(0,0,0,0.12); }
|
|
|
|
|
|
|
|
|
|
.iwb-mini-node { position: absolute; border-radius: 2px; opacity: 0.85; }
|
|
|
|
|
.iwb-mini-view { position: absolute; border: 1px solid var(--iwb-brand); border-radius: 2px; pointer-events: none; }
|
|
|
|
|
.iwb-modal-mask { position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 300; display: flex; align-items: center; justify-content: center; }
|
|
|
|
@@ -1109,10 +1109,10 @@ html { scrollbar-width: thin; scrollbar-color: var(--iwb-border2) color-mix(in s
|
|
|
|
|
.iwb-home-panel { position: absolute; inset: 0; z-index: 20; overflow: auto; background: var(--iwb-home-bg); }
|
|
|
|
|
.iwb-home-title { font-weight: 700; color: var(--iwb-text); }
|
|
|
|
|
.iwb-home-subtitle { margin-top: 8px; color: var(--iwb-text2); }
|
|
|
|
|
.iwb-home-grid { display: grid; }
|
|
|
|
|
|
|
|
|
|
.iwb-home-sec-head { grid-column: 1 / -1; font-size: 12px; font-weight: 700; color: var(--iwb-text2); letter-spacing: .5px; margin: 6px 0 2px; padding-top: 8px; border-top: 1px solid var(--iwb-hr); }
|
|
|
|
|
.iwb-home-sec-head:first-child { border-top: none; padding-top: 0; }
|
|
|
|
|
.iwb-home-card { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 14px; color: var(--iwb-text); text-align: left; cursor: pointer; }
|
|
|
|
|
|
|
|
|
|
.iwb-home-card span { color: var(--iwb-text2); font-size: 12px; }
|
|
|
|
|
.iwb-home-new { align-items: center; justify-content: center; color: var(--iwb-brand); }
|
|
|
|
|
.iwb-canvas-hidden { visibility: hidden; pointer-events: none; }
|
|
|
|
@@ -1131,7 +1131,7 @@ html { scrollbar-width: thin; scrollbar-color: var(--iwb-border2) color-mix(in s
|
|
|
|
|
.iwb-top-nav-workspace .iwb-ic { width: 13px; height: 13px; }
|
|
|
|
|
.iwb-top-nav-sep { width: 1px; height: 22px; margin: 0 6px; background: var(--iwb-border); }
|
|
|
|
|
.iwb-top-nav-spacer { flex: 1 1 auto; }
|
|
|
|
|
.iwb-top-nav-icon { padding: 0; }
|
|
|
|
|
|
|
|
|
|
.iwb-top-nav-icon .iwb-ic { width: 16px; height: 16px; }
|
|
|
|
|
.iwb-wsrail-title, .iwb-wsrail-current, .iwb-wsrail-foot { display: none; }
|
|
|
|
|
.iwb-shell-nav { display: none; }
|
|
|
|
@@ -1142,7 +1142,7 @@ html { scrollbar-width: thin; scrollbar-color: var(--iwb-border2) color-mix(in s
|
|
|
|
|
.iwb-home-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
|
|
|
|
|
/* 仅首页用「深底浅字」;画布内的主按钮(生成 / 批量出图)保持品牌底 + 白字,避免暗色下发灰看不清 */
|
|
|
|
|
.iwb-home-panel .iwb-btn-primary { background: var(--iwb-text); color: var(--iwb-bg); }
|
|
|
|
|
.iwb-home-card { position: relative; padding: 18px 18px 14px; }
|
|
|
|
|
|
|
|
|
|
.iwb-home-card > input { position: absolute; left: 18px; top: 20px; width: 17px; height: 17px; accent-color: var(--iwb-text); z-index: 2; }
|
|
|
|
|
.iwb-home-card-main { display: flex; flex: 1 1 auto; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 10px; width: 100%; min-height: 105px; padding: 26px 0 0; border: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; }
|
|
|
|
|
.iwb-home-card-main strong { padding-left: 30px; font-size: 18px; }
|
|
|
|
@@ -1158,13 +1158,13 @@ html { scrollbar-width: thin; scrollbar-color: var(--iwb-border2) color-mix(in s
|
|
|
|
|
.iwb-top-nav-item:hover, .iwb-top-nav-active { background: transparent; border-color: transparent; color: var(--iwb-text); }
|
|
|
|
|
.iwb-top-nav-active::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px; background: var(--iwb-text); }
|
|
|
|
|
.iwb-top-nav-workspace { min-height: 38px; border-color: var(--iwb-border); margin-left: 8px; }
|
|
|
|
|
.iwb-top-nav-icon { min-height: 38px; }
|
|
|
|
|
|
|
|
|
|
.iwb-top-nav-icon:first-of-type { margin-left: auto; }
|
|
|
|
|
.iwb-wsrail { top: 64px; }
|
|
|
|
|
.iwb-home-panel { padding: 116px max(30px, calc((100vw - 1580px) / 2)) 60px; }
|
|
|
|
|
.iwb-home-head { align-items: center; }
|
|
|
|
|
.iwb-home-title { font-size: 34px; letter-spacing: -.03em; }
|
|
|
|
|
.iwb-home-grid { gap: 18px; }
|
|
|
|
|
|
|
|
|
|
@media (max-width: 900px) { .iwb-top-nav-brand { margin-right: 4px; } .iwb-top-nav-item span, .iwb-top-nav-workspace { display: none; } .iwb-top-nav { padding: 0 8px; } .iwb-home-head { align-items: flex-start; flex-direction: column; } }
|
|
|
|
|
/* v5:三页面语义与编辑器 chrome */
|
|
|
|
|
.iwb-product-nav, .iwb-canvas-topbar { position: absolute; left: 0; right: 0; top: 0; height: 64px; z-index: 35; display: flex; align-items: center; gap: 6px; padding: 0 max(18px, calc((100vw - 1760px) / 2)); background: var(--iwb-bg); border-bottom: 1px solid var(--iwb-border); }
|
|
|
|
@@ -1174,7 +1174,7 @@ html { scrollbar-width: thin; scrollbar-color: var(--iwb-border2) color-mix(in s
|
|
|
|
|
.iwb-product-spacer { flex: 1; }
|
|
|
|
|
.iwb-product-icon, .iwb-canvas-menu, .iwb-top-nav-icon { width: 36px; height: 36px; border: 0; border-radius: 8px; background: transparent; color: var(--iwb-text2); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
|
|
|
|
|
.iwb-product-icon:hover, .iwb-canvas-menu:hover, .iwb-top-nav-icon:hover { background: var(--iwb-layer2); color: var(--iwb-text); }
|
|
|
|
|
.iwb-canvas-topbar { padding-left: 10px; padding-right: 14px; box-shadow: 0 1px 8px rgba(0,0,0,.04); }
|
|
|
|
|
|
|
|
|
|
.iwb-landing-panel { position: absolute; inset: 0; z-index: 20; padding: 64px 8vw 80px; overflow: auto; text-align: center; background-color: var(--iwb-bg); background-image: radial-gradient(circle, color-mix(in srgb, var(--iwb-border) 70%, transparent) 1px, transparent 1.5px); background-size: 28px 28px; }
|
|
|
|
|
.iwb-landing-panel h1 { max-width: 850px; color: var(--iwb-text); }
|
|
|
|
|
.iwb-landing-panel p { max-width: 760px; margin: 0 auto; line-height: 1.8; }
|
|
|
|
@@ -1185,17 +1185,17 @@ html { scrollbar-width: thin; scrollbar-color: var(--iwb-border2) color-mix(in s
|
|
|
|
|
.iwb-wsrail { display: none !important; width: 0 !important; border: 0 !important; }
|
|
|
|
|
.iwb-canvas, .ws-expanded .iwb-canvas { left: 0 !important; }
|
|
|
|
|
.iwb-product-nav { background: var(--iwb-bg); }
|
|
|
|
|
.iwb-canvas-topbar { background: var(--iwb-bg); }
|
|
|
|
|
|
|
|
|
|
.iwb-home-panel, .iwb-landing-panel { left: 0 !important; right: 0 !important; padding-left: max(24px, calc((100vw - 1580px) / 2)); padding-right: max(24px, calc((100vw - 1580px) / 2)); }
|
|
|
|
|
.iwb-home-card { min-width: 0; }
|
|
|
|
|
|
|
|
|
|
/* v7:画布卡片(参考图1)、编辑器顶栏(参考图3)、左侧展开按钮(参考图2) */
|
|
|
|
|
.iwb-home-card { padding: 0; gap: 0; min-height: 172px; overflow: hidden; }
|
|
|
|
|
|
|
|
|
|
.iwb-home-card-top { display: flex; align-items: center; gap: 12px; }
|
|
|
|
|
.iwb-home-card-top > input { position: static; width: 18px; height: 18px; accent-color: var(--iwb-text); z-index: 2; }
|
|
|
|
|
.iwb-home-card-title { flex: 1; min-width: 0; border: 0; background: transparent; color: inherit; cursor: pointer; padding: 0; display: flex; align-items: center; }
|
|
|
|
|
.iwb-home-card-title strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
|
|
|
.iwb-home-card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
|
|
|
|
|
.iwb-home-card-actions { display: flex; gap: 6px; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.iwb-home-card-actions button { border: 0; background: transparent; color: var(--iwb-text2); cursor: pointer; }
|
|
|
|
|
.iwb-home-card-actions button:hover { background: var(--iwb-layer2); color: var(--iwb-text); }
|
|
|
|
|
/* 进入画布加载动画 */
|
|
|
|
@@ -1204,11 +1204,16 @@ html { scrollbar-width: thin; scrollbar-color: var(--iwb-border2) color-mix(in s
|
|
|
|
|
.iwb-enter-text { color: var(--iwb-text2); font-size: 14px; }
|
|
|
|
|
@keyframes iwb-spin { to { transform: rotate(360deg); } }
|
|
|
|
|
/* 编辑器顶栏:紧凑胶囊式,参考图3 */
|
|
|
|
|
.iwb-canvas-topbar { height: 56px; background: var(--iwb-bg); border-bottom: 1px solid var(--iwb-border); padding: 0 12px; box-shadow: none; gap: 2px; }
|
|
|
|
|
|
|
|
|
|
.iwb-canvas-menu { width: 34px; height: 34px; }
|
|
|
|
|
.iwb-canvas-title { margin: 0 6px 0 2px; }
|
|
|
|
|
.iwb-canvas-status { color: var(--iwb-text2); font-size: 12px; }
|
|
|
|
|
.iwb-top-nav-icon { width: 32px; height: 32px; }
|
|
|
|
|
.iwb-top-nav-icon {
|
|
|
|
|
padding: 0;
|
|
|
|
|
min-height: 38px;
|
|
|
|
|
width: 32px;
|
|
|
|
|
height: 32px;
|
|
|
|
|
}
|
|
|
|
|
/* 资源展开按钮:顶部贴左(参考图2),带 panel 图标 */
|
|
|
|
|
/* 左侧资源面板:贴左边展开(参考图2) */
|
|
|
|
|
/* v9:首页不留左栏按钮;优化首页文字与按钮大小;卡片重命名输入框 */
|
|
|
|
@@ -1227,20 +1232,20 @@ html { scrollbar-width: thin; scrollbar-color: var(--iwb-border2) color-mix(in s
|
|
|
|
|
.iwb-home-card-check-placeholder { flex: 0 0 18px; width: 18px; height: 18px; }
|
|
|
|
|
.iwb-home-card.iwb-manage .iwb-home-card-check { display: inline-block; }
|
|
|
|
|
.iwb-home-card.iwb-manage .iwb-home-card-check-placeholder { display: none; }
|
|
|
|
|
.iwb-home-card-actions { opacity: 0; transition: opacity .15s ease; }
|
|
|
|
|
|
|
|
|
|
.iwb-home-card:hover .iwb-home-card-actions,
|
|
|
|
|
.iwb-home-card:focus-within .iwb-home-card-actions { opacity: 1; }
|
|
|
|
|
.iwb-home-card-rename { flex: 1 1 auto; min-width: 0; height: 34px; font-size: 15px; color: var(--iwb-text); background: var(--iwb-bg); border: 1px solid var(--iwb-border2); border-radius: 8px; padding: 0 10px; }
|
|
|
|
|
.iwb-home-actions .iwb-btn { min-height: 36px; }
|
|
|
|
|
/* v11:统一画布卡片对齐与排版 */
|
|
|
|
|
.iwb-home-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; max-width: 1600px; }
|
|
|
|
|
.iwb-home-card { background: color-mix(in srgb, var(--iwb-panel) 52%, var(--iwb-home-bg) 48%); border: 1px solid var(--iwb-border); border-radius: 16px; box-shadow: 0 1px 4px rgba(0,0,0,.05); }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.iwb-home-card:hover { border-color: var(--iwb-border2); background: color-mix(in srgb, var(--iwb-panel) 76%, var(--iwb-home-bg) 24%); box-shadow: 0 4px 14px rgba(0,0,0,.08); }
|
|
|
|
|
.iwb-home-card-top { padding: 24px 22px 0 22px; }
|
|
|
|
|
.iwb-home-card-title strong { font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--iwb-text); }
|
|
|
|
|
.iwb-home-card-meta { color: var(--iwb-text2); font-size: 13px; line-height: 1.5; }
|
|
|
|
|
|
|
|
|
|
.iwb-home-card-foot small { color: var(--iwb-text2); font-size: 12px; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; flex: 1 1 auto; }
|
|
|
|
|
.iwb-home-card-actions { flex: 0 0 auto; }
|
|
|
|
|
|
|
|
|
|
.iwb-home-card-actions button { width: 32px; height: 32px; border-radius: 8px; }
|
|
|
|
|
/* v12:世界容器提升为合成层(节点随世界一起 transform,不单独建层) */
|
|
|
|
|
.iwb-world { will-change: transform; }
|
|
|
|
@@ -1250,7 +1255,7 @@ html { scrollbar-width: thin; scrollbar-color: var(--iwb-border2) color-mix(in s
|
|
|
|
|
.iwb-overlay.drawer-open .iwb-toolbar-wrap { left: var(--iwb-dock-l, 0px) !important; }
|
|
|
|
|
.iwb-overlay.drawer-open .iwb-minimap { margin-left: 0 !important; }
|
|
|
|
|
/* 画布顶栏:标题 + 实时通知 + 右侧图标组(padding-left 14px = 标签条 padding,标题左缘与房子图标对齐;52px 是左侧栏时代的遗留已废弃) */
|
|
|
|
|
.iwb-canvas-topbar { gap: 8px; padding: 0 14px; }
|
|
|
|
|
|
|
|
|
|
.iwb-canvas-meta { display: flex; align-items: center; gap: 8px; overflow: hidden; }
|
|
|
|
|
.iwb-canvas-meta .iwb-status-item { font-size: 11px; color: var(--iwb-text2); white-space: nowrap; }
|
|
|
|
|
.iwb-canvas-meta .iwb-status-ok { color: var(--iwb-brand); }
|
|
|
|
@@ -1284,7 +1289,7 @@ html { scrollbar-width: thin; scrollbar-color: var(--iwb-border2) color-mix(in s
|
|
|
|
|
.iwb-tab-home { padding: 0 9px; }
|
|
|
|
|
.iwb-tab-home .iwb-ic { width: 16px; height: 16px; }
|
|
|
|
|
/* 标签条出现时顶栏下移(仅画布视图;覆盖共享 top:0 规则) */
|
|
|
|
|
.iwb-canvas-topbar { top: 36px; }
|
|
|
|
|
|
|
|
|
|
/* 标签条始终顶左对齐(不随左侧栏展开缩进——标签条在最顶层、横跨全宽) */
|
|
|
|
|
|
|
|
|
|
/* 资源中心浮动窗口:自由拖动、统一白色圆角样式 */
|
|
|
|
@@ -1310,10 +1315,10 @@ html { scrollbar-width: thin; scrollbar-color: var(--iwb-border2) color-mix(in s
|
|
|
|
|
.iwb-full-main > .iwb-groups-embedded, .iwb-full-main > .iwb-history-embedded { width: 100%; flex: 1 1 auto; }
|
|
|
|
|
|
|
|
|
|
/* 我的画布卡片:文本左对齐、底部图标右对齐、批量选中高亮、重命名放大、分类 */
|
|
|
|
|
.iwb-home-card { align-items: flex-start; }
|
|
|
|
|
|
|
|
|
|
.iwb-home-card-title { text-align: left; justify-content: flex-start; width: 100%; }
|
|
|
|
|
.iwb-home-card-title strong { text-align: left; width: 100%; }
|
|
|
|
|
.iwb-home-card-meta { display: flex; align-items: center; gap: 8px; text-align: left; }
|
|
|
|
|
|
|
|
|
|
.iwb-home-card-meta-text { color: var(--iwb-text2); font-size: 13px; }
|
|
|
|
|
.iwb-home-card-cat { border: 1px solid var(--iwb-border); border-radius: 999px; padding: 2px 10px; font-size: 11px; color: var(--iwb-text2); background: color-mix(in srgb, var(--iwb-text) 6%, transparent); cursor: pointer; white-space: nowrap; }
|
|
|
|
|
.iwb-home-card-cat-empty { color: var(--iwb-text2); background: transparent; border-color: var(--iwb-border2); }
|
|
|
|
@@ -1326,9 +1331,9 @@ html { scrollbar-width: thin; scrollbar-color: var(--iwb-border2) color-mix(in s
|
|
|
|
|
|
|
|
|
|
/* 画布库:卡片撑满、去右侧留白、卡片更紧凑 */
|
|
|
|
|
.iwb-home-panel { padding-left: 24px; padding-right: 24px; }
|
|
|
|
|
.iwb-home-card { min-height: 150px; box-sizing: border-box; }
|
|
|
|
|
|
|
|
|
|
.iwb-home-card-top { padding-top: 18px; padding-left: 20px; padding-right: 20px; }
|
|
|
|
|
.iwb-home-card-meta { padding-top: 10px; padding-left: 20px; padding-right: 20px; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* 资源中心窗口四向缩放手柄 */
|
|
|
|
|
|
|
|
|
@@ -1345,12 +1350,12 @@ html { scrollbar-width: thin; scrollbar-color: var(--iwb-border2) color-mix(in s
|
|
|
|
|
.iwb-home-cats { margin-top: 16px; margin-bottom: 4px; }
|
|
|
|
|
|
|
|
|
|
/* 画布卡片:底部三个图标在卡片内右对齐 */
|
|
|
|
|
.iwb-home-card-foot { justify-content: flex-end; }
|
|
|
|
|
.iwb-home-card-actions { width: auto; margin-left: auto; justify-content: flex-end; }
|
|
|
|
|
|
|
|
|
|
.iwb-home-card-actions { display: flex; gap: 6px; opacity: 0; transition: opacity .15s ease; flex: 0 0 auto; width: auto; margin-left: auto; justify-content: flex-end; }
|
|
|
|
|
.iwb-home-card-foot .iwb-home-card-actions { width: auto; }
|
|
|
|
|
|
|
|
|
|
.iwb-home-card-foot { width: 100%; }
|
|
|
|
|
.iwb-home-card-meta { width: 100%; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* 画布库:顶部导航与内容水平对齐(统一左 24px,撑满) */
|
|
|
|
|
.iwb-product-nav { padding-left: 24px; padding-right: 24px; }
|
|
|
|
@@ -1389,13 +1394,13 @@ html { scrollbar-width: thin; scrollbar-color: var(--iwb-border2) color-mix(in s
|
|
|
|
|
.iwb-home-main-head .iwb-btn:hover { background: color-mix(in srgb, var(--iwb-panel) 65%, var(--iwb-home-bg) 35%); }
|
|
|
|
|
.iwb-home-main-head .iwb-btn-primary { background: var(--iwb-text2); border-color: var(--iwb-text2); color: #fff; }
|
|
|
|
|
.iwb-home-main-head .iwb-btn-primary:hover { background: color-mix(in srgb, var(--iwb-text2) 80%, #000); border-color: color-mix(in srgb, var(--iwb-text2) 80%, #000); color: #fff; }
|
|
|
|
|
.iwb-home-grid { margin-top: 22px; max-width: none; width: 100%; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
|
|
|
|
|
.iwb-home-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); max-width: none; margin-top: 22px; width: 100%; }
|
|
|
|
|
|
|
|
|
|
.iwb-home-empty { margin-top: 40px; color: var(--iwb-text2); font-size: 15px; text-align: center; padding: 40px 0; }
|
|
|
|
|
|
|
|
|
|
.iwb-home-card .iwb-home-card-top { padding: 20px 20px 0 20px; }
|
|
|
|
|
.iwb-home-card-meta { padding: 12px 20px 0 20px; }
|
|
|
|
|
.iwb-home-card-foot { padding: 0 20px 18px 20px; }
|
|
|
|
|
|
|
|
|
|
.iwb-home-card-foot { margin-top: auto; display: flex; align-items: center; justify-content: flex-end; gap: 12px; width: 100%; padding: 0 20px 18px 20px; }
|
|
|
|
|
.iwb-home-card-star { border: 0; background: transparent; color: var(--iwb-text2); font-size: 18px; cursor: pointer; line-height: 1; padding: 0; }
|
|
|
|
|
.iwb-home-card-star.on { color: var(--iwb-text); }
|
|
|
|
|
.iwb-home-card-star:hover { color: var(--iwb-text); }
|
|
|
|
@@ -1433,8 +1438,27 @@ html { scrollbar-width: thin; scrollbar-color: var(--iwb-border2) color-mix(in s
|
|
|
|
|
.iwb-overlay .iwb-enter-loading { background: color-mix(in srgb, var(--iwb-bg) 97%, transparent); backdrop-filter: blur(4px); }
|
|
|
|
|
|
|
|
|
|
/* 卡片按参考排版:名字 / 统计 / 底部行(分类chip左+图标右) */
|
|
|
|
|
.iwb-home-card { min-height: 138px; }
|
|
|
|
|
.iwb-home-card-meta { min-height: 18px; }
|
|
|
|
|
.iwb-home-card {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: flex-start;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
gap: 0;
|
|
|
|
|
color: var(--iwb-text);
|
|
|
|
|
text-align: left;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
position: relative;
|
|
|
|
|
padding: 0;
|
|
|
|
|
min-width: 0;
|
|
|
|
|
min-height: 138px;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
background: color-mix(in srgb, var(--iwb-panel) 52%, var(--iwb-home-bg) 48%);
|
|
|
|
|
border: 1px solid var(--iwb-border);
|
|
|
|
|
border-radius: 16px;
|
|
|
|
|
box-shadow: 0 1px 4px rgba(0,0,0,.05);
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
}
|
|
|
|
|
.iwb-home-card-meta { color: var(--iwb-text2); font-size: 13px; line-height: 1.5; display: flex; align-items: center; gap: 8px; text-align: left; padding-top: 10px; padding-left: 20px; padding-right: 20px; width: 100%; padding: 12px 20px 0 20px; min-height: 18px; }
|
|
|
|
|
.iwb-home-card .iwb-home-card-foot { justify-content: space-between; gap: 10px; align-items: center; }
|
|
|
|
|
.iwb-home-card .iwb-home-card-foot .iwb-home-card-cat { flex: 0 0 auto; }
|
|
|
|
|
|
|
|
|
@@ -1473,7 +1497,7 @@ html { scrollbar-width: thin; scrollbar-color: var(--iwb-border2) color-mix(in s
|
|
|
|
|
/* 图库历史项图片:完整展示 + 上限尺寸(放大量大面板也不无限变大) */
|
|
|
|
|
.iwb-history-embedded .iwb-history-item img { max-width: 100%; max-height: none; object-fit: contain; margin: 0 auto; }
|
|
|
|
|
/* 编辑器顶栏:透明悬浮(对齐参考图样式),画布铺满视口让点阵/网格透过顶栏 */
|
|
|
|
|
.iwb-canvas-topbar { background: transparent !important; border-bottom: 0 !important; box-shadow: none !important; pointer-events: none; }
|
|
|
|
|
|
|
|
|
|
.iwb-canvas-topbar button:not(.iwb-canvas-title), .iwb-canvas-topbar input, .iwb-canvas-topbar label { pointer-events: auto; }
|
|
|
|
|
.iwb-canvas-title { pointer-events: auto; }
|
|
|
|
|
.iwb-canvas, .ws-expanded .iwb-canvas { top: 0 !important; }
|
|
|
|
@@ -1988,7 +2012,7 @@ html { scrollbar-width: thin; scrollbar-color: var(--iwb-border2) color-mix(in s
|
|
|
|
|
.iwb-mk-name { display: flex; align-items: center; flex-wrap: wrap; }
|
|
|
|
|
.iwb-mk-desc { flex: 1 1 auto; }
|
|
|
|
|
.iwb-mk-tags { display: flex; flex-wrap: wrap; }
|
|
|
|
|
.iwb-mk-tag { border-radius: 999px; }
|
|
|
|
|
|
|
|
|
|
.iwb-mk-actions { display: flex; justify-content: flex-end; margin-top: 2px; }
|
|
|
|
|
/* 设置行(Obsidian 风格:标题 + 说明 + 右侧控件) */
|
|
|
|
|
.iwb-set-row { display: flex; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--iwb-border); }
|
|
|
|
@@ -2006,7 +2030,7 @@ html { scrollbar-width: thin; scrollbar-color: var(--iwb-border2) color-mix(in s
|
|
|
|
|
|
|
|
|
|
/* 已安装插件:横向列表 */
|
|
|
|
|
.iwb-mk-list { display: flex; flex-direction: column; }
|
|
|
|
|
.iwb-mk-row { display: flex; align-items: center; gap: 12px; }
|
|
|
|
|
|
|
|
|
|
.iwb-mk-row-main { flex: 1 1 auto; min-width: 0; }
|
|
|
|
|
.iwb-mk-row-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
|
|
|
|
|
.iwb-mk-row-name { font-weight: 600; font-size: 14px; }
|
|
|
|
@@ -2015,7 +2039,7 @@ html { scrollbar-width: thin; scrollbar-color: var(--iwb-border2) color-mix(in s
|
|
|
|
|
.iwb-mk-row-desc { color: var(--iwb-text2); font-size: 12.5px; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
|
|
|
.iwb-mk-row-actions { display: flex; align-items: center; flex: 0 0 auto; }
|
|
|
|
|
.iwb-mk-chips { display: flex; gap: 6px; flex-wrap: wrap; margin: 4px 0 10px; }
|
|
|
|
|
.iwb-mk-chip { cursor: pointer; }
|
|
|
|
|
|
|
|
|
|
.iwb-mk-chip.on { border-color: var(--iwb-text); }
|
|
|
|
|
/* 插件设置:行(无边框盒子,只有细分隔线) */
|
|
|
|
|
.iwb-mk-setrow { display: flex; align-items: center; gap: 16px; padding: 14px 2px; border: 0; border-bottom: 1px solid var(--iwb-border); background: transparent; border-radius: 0; margin: 0; }
|
|
|
|
@@ -2036,14 +2060,14 @@ html { scrollbar-width: thin; scrollbar-color: var(--iwb-border2) color-mix(in s
|
|
|
|
|
.iwb-mk-filters .iwb-mk-sep { width: 1px; height: 16px; background: var(--iwb-border); margin: 0 4px; }
|
|
|
|
|
/* 市场卡片:等高、底部按钮对齐 */
|
|
|
|
|
.iwb-mk-grid { align-items: stretch; }
|
|
|
|
|
.iwb-mk-card { display: flex; flex-direction: column; }
|
|
|
|
|
|
|
|
|
|
.iwb-mk-card .iwb-mk-desc { flex: 1 1 auto; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
|
|
|
|
|
.iwb-mk-card .iwb-mk-tags { align-items: center; }
|
|
|
|
|
.iwb-mk-card .iwb-mk-actions { margin-top: auto; display: flex; align-items: center; justify-content: flex-end; min-height: 30px; }
|
|
|
|
|
.iwb-mk-card .iwb-mk-name { line-height: 1.35; }
|
|
|
|
|
.iwb-mk-card .iwb-plugin-tag { font-size: 11px; padding: 0 6px; line-height: 16px; }
|
|
|
|
|
/* 市场卡片:紧凑版(按钮在右上角,去掉底部空档) */
|
|
|
|
|
.iwb-mk-card { min-height: 0; padding: 10px 12px; gap: 6px; border-radius: 10px; }
|
|
|
|
|
|
|
|
|
|
.iwb-mk-head { align-items: flex-start; gap: 8px; }
|
|
|
|
|
.iwb-mk-titles { flex: 1 1 auto; min-width: 0; }
|
|
|
|
|
.iwb-mk-head .iwb-mk-actions { flex: 0 0 auto; margin: 0; padding: 0; min-height: 0; }
|
|
|
|
@@ -2182,14 +2206,29 @@ html { scrollbar-width: thin; scrollbar-color: var(--iwb-border2) color-mix(in s
|
|
|
|
|
box-shadow: 0 8px 24px rgba(0,0,0,.18); white-space: nowrap;
|
|
|
|
|
}
|
|
|
|
|
/* 顶栏与标签条随左右栏内缩(标题跟着缩进;画布仍不动) */
|
|
|
|
|
.iwb-canvas-topbar { left: var(--iwb-dock-l, 0px) !important; right: var(--iwb-dock-r, 0px) !important; }
|
|
|
|
|
.iwb-canvas-topbar { padding-left: 10px; padding-right: 14px; box-shadow: none !important; background: transparent !important; height: 56px; border-bottom: 0 !important; padding: 0 14px; gap: 8px; top: 36px; pointer-events: none; left: var(--iwb-dock-l, 0px) !important; right: var(--iwb-dock-r, 0px) !important; }
|
|
|
|
|
.iwb-tabstrip { left: 0 !important; right: 0 !important; }
|
|
|
|
|
.iwb-tab-spacer { flex: 1 1 auto; }
|
|
|
|
|
.iwb-tab-actions { display: flex; align-items: center; gap: 2px; flex: 0 0 auto; pointer-events: auto; }
|
|
|
|
|
.iwb-tab-actions .iwb-top-nav-icon { width: 28px; height: 28px; min-height: 28px; }
|
|
|
|
|
/* 其它浮层让位(画布不动) */
|
|
|
|
|
.iwb-toolbar-wrap { left: var(--iwb-dock-l, 0px); right: calc(60px + var(--iwb-dock-r, 0px)); }
|
|
|
|
|
.iwb-minimap { right: calc(62px + var(--iwb-dock-r, 0px)); bottom: 14px; }
|
|
|
|
|
.iwb-minimap {
|
|
|
|
|
transition: opacity .16s ease, transform .16s ease;
|
|
|
|
|
position: absolute;
|
|
|
|
|
width: 132px;
|
|
|
|
|
height: 88px;
|
|
|
|
|
background: var(--iwb-panel);
|
|
|
|
|
border: 1px solid var(--iwb-border);
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
z-index: 11;
|
|
|
|
|
cursor: crosshair;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
touch-action: none;
|
|
|
|
|
box-shadow: 0 4px 16px rgba(0,0,0,0.12);
|
|
|
|
|
right: calc(62px + var(--iwb-dock-r, 0px));
|
|
|
|
|
bottom: 14px;
|
|
|
|
|
}
|
|
|
|
|
.iwb-statusbar { right: calc(62px + var(--iwb-dock-r, 0px)); }
|
|
|
|
|
.iwb-hint-bottom { left: calc(var(--iwb-dock-l, 0px) + (100% - var(--iwb-dock-l, 0px) - var(--iwb-dock-r, 0px)) / 2); }
|
|
|
|
|
|
|
|
|
@@ -2343,15 +2382,10 @@ html { scrollbar-width: thin; scrollbar-color: var(--iwb-border2) color-mix(in s
|
|
|
|
|
.iwb-mk-toolbar .iwb-input { border: 0; background: var(--iwb-layer2); box-shadow: none; }
|
|
|
|
|
.iwb-mk-toolbar .iwb-input:focus { box-shadow: 0 0 0 2px color-mix(in srgb, var(--iwb-brand) 22%, transparent); }
|
|
|
|
|
.iwb-mk-filters { margin: 0; gap: 6px; }
|
|
|
|
|
.iwb-mk-chip {
|
|
|
|
|
border: 0; background: var(--iwb-layer); color: var(--iwb-text2);
|
|
|
|
|
padding: 4px 12px; border-radius: 999px; font-size: 12px; line-height: 18px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.iwb-mk-chip:hover { background: var(--iwb-layer2); color: var(--iwb-text); }
|
|
|
|
|
.iwb-mk-chip.on { background: var(--iwb-text); color: var(--iwb-layer); }
|
|
|
|
|
.iwb-mk-card { border-radius: 14px; padding: 14px;
|
|
|
|
|
gap: 10px; min-height: 168px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.iwb-mk-avatar { width: 34px; height: 34px; border-radius: 10px; font-size: 17px; }
|
|
|
|
|
.iwb-mk-name { font-weight: 600; font-size: 13.5px; }
|
|
|
|
|
.iwb-mk-sub { font-size: 11.5px; color: var(--iwb-text2); margin-top: 1px; }
|
|
|
|
@@ -2362,7 +2396,7 @@ html { scrollbar-width: thin; scrollbar-color: var(--iwb-border2) color-mix(in s
|
|
|
|
|
}
|
|
|
|
|
.iwb-mk-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
|
|
|
|
|
.iwb-mk-tags { gap: 4px; }
|
|
|
|
|
.iwb-mk-tag { background: var(--iwb-layer2); color: var(--iwb-text2); font-size: 10.5px; padding: 1px 7px; }
|
|
|
|
|
.iwb-mk-tag { border-radius: 999px; background: var(--iwb-layer2); color: var(--iwb-text2); font-size: 10.5px; padding: 1px 7px; }
|
|
|
|
|
.iwb-mk-actions { gap: 6px; }
|
|
|
|
|
.iwb-mk-actions .iwb-btn { border: 0; background: var(--iwb-layer2); box-shadow: none; }
|
|
|
|
|
.iwb-mk-subtitle { font-size: 11.5px; color: var(--iwb-text2); margin: 2px 0 10px; }
|
|
|
|
@@ -2370,10 +2404,7 @@ html { scrollbar-width: thin; scrollbar-color: var(--iwb-border2) color-mix(in s
|
|
|
|
|
|
|
|
|
|
/* ── v3.26.25 插件市场二次优化:自适应全宽 + 淡描边 + 已安装徽标(去绿色底) ── */
|
|
|
|
|
.iwb-set-page { max-width: none; }
|
|
|
|
|
.iwb-mk-card {
|
|
|
|
|
background: var(--iwb-panel);
|
|
|
|
|
border: 1px solid color-mix(in srgb, var(--iwb-border) 55%, transparent);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.iwb-mk-card.is-installed { background: var(--iwb-panel); }
|
|
|
|
|
.iwb-mk-badge {
|
|
|
|
|
margin-left: 7px; padding: 0 7px; border-radius: 999px; font-size: 10.5px; line-height: 17px;
|
|
|
|
@@ -2388,13 +2419,34 @@ html { scrollbar-width: thin; scrollbar-color: var(--iwb-border2) color-mix(in s
|
|
|
|
|
.iwb-mk-row-actions { gap: 6px; }
|
|
|
|
|
|
|
|
|
|
/* ── v3.26.26 插件市场:补回按钮/卡片的“浮动”触感 ───────────────── */
|
|
|
|
|
.iwb-mk-card { transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease; }
|
|
|
|
|
|
|
|
|
|
.iwb-mk-actions .iwb-btn { transition: transform .12s ease, box-shadow .12s ease, background .12s ease; }
|
|
|
|
|
.iwb-mk-chip { transition: transform .12s ease, background .12s ease, color .12s ease; }
|
|
|
|
|
.iwb-mk-chip {
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
border: 0;
|
|
|
|
|
background: var(--iwb-layer);
|
|
|
|
|
color: var(--iwb-text2);
|
|
|
|
|
padding: 4px 12px;
|
|
|
|
|
border-radius: 999px;
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
line-height: 18px;
|
|
|
|
|
transition: transform .12s ease, background .12s ease, color .12s ease;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ── v3.26.27 插件市场/管理:去掉浮动,只保留颜色反馈;移除按钮给浅底;管理页回到横线分隔 ── */
|
|
|
|
|
.iwb-mk-card, .iwb-mk-card:hover, .iwb-mk-card:active { transform: none; }
|
|
|
|
|
.iwb-mk-card { transition: background .14s ease, border-color .14s ease, box-shadow .14s ease; box-shadow: none; }
|
|
|
|
|
.iwb-mk-card {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
border-radius: 14px;
|
|
|
|
|
padding: 14px;
|
|
|
|
|
gap: 10px;
|
|
|
|
|
min-height: 168px;
|
|
|
|
|
background: var(--iwb-panel);
|
|
|
|
|
border: 1px solid color-mix(in srgb, var(--iwb-border) 55%, transparent);
|
|
|
|
|
transition: background .14s ease, border-color .14s ease, box-shadow .14s ease;
|
|
|
|
|
box-shadow: none;
|
|
|
|
|
}
|
|
|
|
|
.iwb-mk-card:hover {
|
|
|
|
|
background: color-mix(in srgb, var(--iwb-layer) 55%, var(--iwb-panel));
|
|
|
|
|
border-color: color-mix(in srgb, var(--iwb-border2) 62%, transparent);
|
|
|
|
@@ -2418,12 +2470,7 @@ html { scrollbar-width: thin; scrollbar-color: var(--iwb-border2) color-mix(in s
|
|
|
|
|
.iwb-mk-chip, .iwb-mk-chip:hover, .iwb-mk-chip:active { transform: none; }
|
|
|
|
|
/* 管理页:横线分隔 + 悬停变色,不浮动 */
|
|
|
|
|
.iwb-mk-list { gap: 0; }
|
|
|
|
|
.iwb-mk-row {
|
|
|
|
|
background: transparent; border-radius: 0; padding: 12px 6px;
|
|
|
|
|
border-bottom: 1px solid color-mix(in srgb, var(--iwb-border) 62%, transparent);
|
|
|
|
|
transform: none; box-shadow: none;
|
|
|
|
|
transition: background .12s ease;
|
|
|
|
|
}
|
|
|
|
|
.iwb-mk-row { display: flex; align-items: center; gap: 12px; background: transparent; border-radius: 0; padding: 12px 6px; border-bottom: 1px solid color-mix(in srgb, var(--iwb-border) 62%, transparent); transform: none; box-shadow: none; transition: background .12s ease; }
|
|
|
|
|
.iwb-mk-row:last-child { border-bottom: 0; }
|
|
|
|
|
.iwb-mk-row:hover { background: color-mix(in srgb, var(--iwb-text) 3%, transparent); transform: none; box-shadow: none; }
|
|
|
|
|
.iwb-mk-row-actions .iwb-btn { transform: none; box-shadow: none; transition: background .12s ease; }
|
|
|
|
|