完善样式系统与调试链路底座

This commit is contained in:
2026-03-30 18:19:05 +08:00
parent 2c0fd4c549
commit 3b9117427e
40 changed files with 7526 additions and 389 deletions

View File

@@ -199,6 +199,20 @@ body {
white-space: pre-wrap;
}
.log--debug {
max-height: 280px;
background: #111917;
color: #d6f3df;
font-family: Consolas, "SFMono-Regular", monospace;
}
.log--floating {
min-height: 260px;
max-height: min(44vh, 420px);
font-size: 13px;
line-height: 1.6;
}
.jump-list {
display: flex;
flex-wrap: wrap;
@@ -232,6 +246,49 @@ body {
overflow: hidden;
}
.floating-debug-log {
position: absolute;
right: 20px;
bottom: 20px;
z-index: 600;
width: min(460px, calc(100vw - 480px));
min-width: 360px;
max-width: 520px;
padding: 14px;
border-radius: 22px;
background: rgba(255, 255, 255, 0.94);
border: 1px solid rgba(255, 255, 255, 0.52);
box-shadow: 0 22px 60px rgba(17, 33, 26, 0.22);
backdrop-filter: blur(16px);
}
.floating-debug-log__header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
margin-bottom: 10px;
}
.floating-debug-log__title {
font-size: 14px;
font-weight: 800;
letter-spacing: 0.08em;
color: #4a6a5e;
}
.floating-debug-log__clear {
min-height: 30px;
padding: 0 12px;
border: 0;
border-radius: 999px;
background: rgba(17, 33, 26, 0.1);
color: #244132;
font-size: 12px;
font-weight: 700;
cursor: pointer;
}
#map {
width: 100%;
height: 100vh;