feat: complete bark battle playable demo

This commit is contained in:
2026-05-12 14:42:58 +08:00
parent 22810245f5
commit 33c9079d3b
16 changed files with 639 additions and 196 deletions

View File

@@ -155,18 +155,24 @@
right: 12px;
bottom: max(12px, env(safe-area-inset-bottom));
z-index: 8;
width: min(92vw, 340px);
max-height: 42svh;
overflow: auto;
width: min(78vw, 240px);
max-height: 56px;
overflow: hidden;
border: 1px solid rgba(255, 255, 255, 0.18);
border-radius: 22px;
padding: 12px;
padding: 10px 12px;
color: #fff7ed;
background: rgba(15, 23, 42, 0.72);
box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
backdrop-filter: blur(18px);
}
.bark-battle-debug-panel--expanded {
width: min(92vw, 340px);
max-height: 42svh;
overflow: auto;
}
.bark-battle-debug-panel header,
.bark-battle-debug-panel label {
display: flex;
@@ -175,6 +181,28 @@
gap: 10px;
}
.bark-battle-debug-panel header {
min-height: 34px;
}
.bark-battle-debug-panel__toggle {
border: 0;
border-radius: 999px;
padding: 6px 10px;
color: #1f1147;
background: #facc15;
font-size: 12px;
font-weight: 900;
}
.bark-battle-debug-panel__body {
display: none;
}
.bark-battle-debug-panel--expanded .bark-battle-debug-panel__body {
display: block;
}
.bark-battle-debug-panel label {
margin-top: 8px;
font-size: 12px;
@@ -211,6 +239,10 @@
gap: 6px;
}
.bark-battle-debug-metrics__wide {
grid-column: 1 / -1;
}
.bark-battle-debug-events {
display: grid;
gap: 4px;