更新网页架构,新增外部工具分区,优化web样式

This commit is contained in:
MasonLiu committed 2026-09-08 23:53:35 +08:00
1 parent 0c3d3d4977
commit c5b6f4b4c2
15 files changed
+1207 -713

No files matched your search

+59 -2
View File
@@ -215,7 +215,11 @@ a.quick-chip[data-note]:hover::after { opacity: 1; transform: translateX(-50%) t
font-size: 30px; color: #fff; background: var(--brand-grad); box-shadow: var(--shadow);
}
.board-name { font-size: 19px; font-weight: 700; }
.board-hint { font-size: 13px; color: var(--text-3); }
/* 板块说明文案常显(取消悬停浮层后最多两行,超出截断) */
.board-hint {
font-size: 13px; color: var(--text-3); line-height: 1.5; max-width: 100%;
display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.func-card .fc-icon img.icon-img { width: 24px; height: 24px; }
/* 板块展开说明浮层 */
@@ -236,7 +240,7 @@ a.quick-chip[data-note]:hover::after { opacity: 1; transform: translateX(-50%) t
.quote-pool { display: none; }
/* ============ 页脚 ============ */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); color: var(--text-3); font-size: 13px; }
.footer { margin-top: auto; background: var(--bg-2); border-top: 1px solid var(--line); color: var(--text-3); font-size: 13px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 22px 16px; text-align: center; }
.footer .admin-link { opacity: .65; }
.footer .admin-link:hover { opacity: 1; }
@@ -445,9 +449,62 @@ a.nav-btn[data-note]:hover::after { opacity: 1; transform: translateX(-50%) tran
.t-row .t-desc { flex: 1 1 170px; min-width: 110px; }
.t-row .t-url, .l-row .l-url { flex: 2 1 230px; min-width: 150px; }
.t-row .t-ext { flex: 0 1 132px; min-width: 0; width: 100%; }
.t-row .t-grp { flex: 0 1 168px; min-width: 120px; }
.l-row .l-note { flex: 1 1 170px; min-width: 120px; }
/* 外部工具管理:分区分组折叠 */
.xg { border: 1px dashed var(--line); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.xg-h { display: flex; align-items: center; gap: 8px; padding: 8px 14px; background: var(--bg-2); cursor: pointer; user-select: none; }
.xg-h .xg-arr { flex: 0 0 auto; border: none; background: none; padding: 2px 4px; font-size: 12px; color: var(--text-3); cursor: pointer; transition: transform .18s ease; }
.xg.is-fold .xg-arr { transform: rotate(-90deg); }
.xg-h .xg-name { font-weight: 600; color: var(--text-2); }
.xg-h .xg-cnt { font-size: 12px; color: var(--text-3); }
.xg-h .xg-acts { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.xg-b { padding: 4px 14px 10px; }
.xg-b .t-row:first-child { margin-top: 8px; }
.xg.is-fold .xg-b { display: none; }
.xg.is-hide { display: none; }
.t-row.is-hide { display: none !important; }
/* 外部工具管理:筛选工具条 */
.ext-filter { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.ext-filter select { width: auto; min-width: 130px; flex: 0 1 auto; }
.ext-filter #fKw { flex: 1 1 220px; min-width: 180px; }
.ext-stat { font-size: 13px; color: var(--text-3); white-space: nowrap; margin-left: auto; }
.t-row .ops, .l-row .ops { display: flex; gap: 6px; flex: 0 0 auto; margin-left: auto; }
.t-on { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--text-2); white-space: nowrap; flex: 0 0 auto; }
/* 滑动圆条开关:内部 OFF/ON 文本,用于后台行内即时启停 */
.sw { position: relative; display: inline-flex; align-items: center; flex: 0 0 auto; cursor: pointer; user-select: none; }
.t-row .sw, .l-row .sw { flex: 0 0 auto; }
.sw input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.sw .sw-b {
position: relative; display: inline-block; width: 58px; height: 27px; border-radius: 14px;
background: var(--line-2); overflow: hidden; transition: background .18s ease;
box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
}
.sw .sw-t {
position: absolute; top: 0; height: 100%; line-height: 27px;
font-size: 10px; font-weight: 700; letter-spacing: .5px;
transition: opacity .15s ease; pointer-events: none;
}
.sw .sw-on { left: 6px; color: #fff; opacity: 0; }
.sw .sw-off { right: 6px; color: var(--text-3); opacity: 1; }
.sw .sw-b::after {
content: ''; position: absolute; top: 2px; left: 2px; width: 23px; height: 23px; border-radius: 50%;
background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.28); transition: left .18s ease;
}
.sw input:checked + .sw-b { background: var(--ok); }
.sw input:checked + .sw-b::after { left: 33px; }
.sw input:checked + .sw-b .sw-on { opacity: 1; }
.sw input:checked + .sw-b .sw-off { opacity: 0; }
.sw input:focus-visible + .sw-b { box-shadow: 0 0 0 2px var(--brand); }
/* 后台行内:库首页展示范围多选 */
.t-cats {
display: inline-flex; align-items: center; gap: 3px; flex-wrap: wrap;
font-size: 12px; color: var(--text-3); white-space: nowrap; flex: 0 1 auto;
border: 1px dashed var(--line-2); border-radius: 8px; padding: 4px 8px;
}
.t-cats .t-cats-t { margin-right: 3px; }
.t-cats label { display: inline-flex; align-items: center; gap: 3px; color: var(--text-2); }
.t-cats label input { margin: 0; accent-color: var(--brand); }
.add-btn { margin: 6px 0 18px; }
/* 登录页 */