修复:调整消息中心后台快捷侧边导航悬浮效果
This commit is contained in:
@@ -123,7 +123,7 @@
|
||||
|
||||
- 在 MessageHub 管理页左侧新增快捷导航侧边栏
|
||||
- 可一键跳转到来源系统、通道、测试发送、模板等主要板块
|
||||
- 桌面端侧边栏使用吸顶布局,滚动长页面时仍可快速定位
|
||||
- 桌面端侧边栏改为固定悬浮在左上区域,滚动长页面时始终保持可见
|
||||
- 平板和手机端会自动切换为单列或横向滑动导航,避免占用过多内容区
|
||||
|
||||
## 数据库 SQL
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
:root {
|
||||
color-scheme: light;
|
||||
--quick-nav-width: 220px;
|
||||
--bg: #f4efe5;
|
||||
--panel: rgba(255, 252, 246, 0.9);
|
||||
--panel-strong: #fffdfa;
|
||||
@@ -48,24 +49,28 @@ code {
|
||||
|
||||
.page-layout {
|
||||
display: grid;
|
||||
grid-template-columns: 220px minmax(0, 1fr);
|
||||
grid-template-columns: var(--quick-nav-width) minmax(0, 1fr);
|
||||
gap: 24px;
|
||||
align-items: start;
|
||||
margin-top: 24px;
|
||||
}
|
||||
|
||||
.quick-nav-panel {
|
||||
position: relative;
|
||||
position: fixed;
|
||||
top: 24px;
|
||||
left: max(16px, calc((100vw - min(1480px, calc(100vw - 32px))) / 2));
|
||||
width: var(--quick-nav-width);
|
||||
z-index: 30;
|
||||
}
|
||||
|
||||
.quick-nav-sticky {
|
||||
position: sticky;
|
||||
top: 24px;
|
||||
border: 1px solid rgba(114, 83, 38, 0.15);
|
||||
border-radius: 24px;
|
||||
padding: 18px;
|
||||
background: linear-gradient(180deg, rgba(255, 252, 246, 0.96), rgba(245, 233, 212, 0.9));
|
||||
box-shadow: var(--shadow);
|
||||
max-height: calc(100vh - 48px);
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.quick-nav-eyebrow {
|
||||
@@ -431,8 +436,17 @@ textarea {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.quick-nav-panel {
|
||||
position: relative;
|
||||
top: auto;
|
||||
left: auto;
|
||||
width: auto;
|
||||
z-index: auto;
|
||||
}
|
||||
|
||||
.quick-nav-sticky {
|
||||
position: static;
|
||||
max-height: none;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.quick-nav {
|
||||
|
||||
Reference in New Issue
Block a user