style: 优化后台管理界面样式与导航栏显示效果
continuous-integration/drone/push Build is passing

This commit is contained in:
seahi committed 2026-09-27 21:40:04 +08:00
1 parent f604d3cd55
commit c2e6cf6b06
2 files changed
+7 -5

No files matched your search

@@ -35,7 +35,6 @@
.article-outline { .article-outline {
min-width: 0; min-width: 0;
} }
.count,
.empty { .empty {
margin: 0 0 12px; margin: 0 0 12px;
color: var(--text-muted); color: var(--text-muted);
+7 -4
View File
@@ -181,7 +181,7 @@
<ConfirmDialog /> <ConfirmDialog />
<!-- Floating Controllers (VOID style) --> <!-- Floating Controllers (VOID style) -->
{#if $page.url.pathname.includes('/new') || $page.url.pathname.includes('/settings') || /\/admin\/(posts|pages)\/[^\/]+$/.test($page.url.pathname)} {#if $page.url.pathname.includes('/new') || $page.url.pathname.includes('/settings') || /\/admin\/(posts|pages)\/[^/]+$/.test($page.url.pathname)}
<aside id="ctrler-panel"> <aside id="ctrler-panel">
<div class="ctrler-item" title="返回顶部"> <div class="ctrler-item" title="返回顶部">
<a <a
@@ -288,10 +288,10 @@
align-items: center; align-items: center;
gap: 12px; gap: 12px;
padding: 8px 24px; padding: 8px 24px;
color: #b0b0b0; /* TOC text color */ color: #b0b0b0; /* 参考 TOC 目录普通状态文字颜色与字重 */
text-decoration: none; text-decoration: none;
font-size: 0.95rem; font-size: 0.95rem;
font-weight: 500; font-weight: normal;
transition: all 0.2s; transition: all 0.2s;
position: relative; position: relative;
border-left: 2px solid transparent; border-left: 2px solid transparent;
@@ -301,13 +301,15 @@
color: var(--accent-color, #419b38); color: var(--accent-color, #419b38);
background: rgba(255, 255, 255, 0.03); background: rgba(255, 255, 255, 0.03);
border-left: 2px solid var(--accent-color, #419b38); border-left: 2px solid var(--accent-color, #419b38);
opacity: 1;
} }
.nav-item.active { .nav-item.active {
color: var(--accent-color, #419b38); color: var(--accent-color, #419b38);
font-weight: 700; font-weight: 500;
border-left: 2px solid var(--accent-color, #419b38); border-left: 2px solid var(--accent-color, #419b38);
background: rgba(255, 255, 255, 0.05); background: rgba(255, 255, 255, 0.05);
opacity: 1;
} }
.sidebar-footer { .sidebar-footer {
@@ -334,6 +336,7 @@
.site-link:hover, .site-link:hover,
.site-link.active { .site-link.active {
color: var(--accent-color, #419b38); color: var(--accent-color, #419b38);
opacity: 1;
} }
.user-email { .user-email {