feedback3 WE: spectator seats in the browser — 观战 in the lobby, the 观战席 strip in the room (host removes, 入座), watch-only match screen; docs (community report #26)

This commit is contained in:
sganggs committed 2026-10-04 17:39:30 +08:00
1 parent 42766172d1
commit 976475efff
21 files changed
+352 -30

No files matched your search

+2
View File
@@ -421,6 +421,8 @@
padding: .1rem .26rem; background: rgba(40, 8, 6, .9); border: 1px solid rgba(255, 84, 84, .5); color: var(--red-premium); font-size: .18rem; font-weight: 700;
}
.gm__dead .icon { width: .22rem; height: .22rem; }
/* a spectator seat (community report #26): the same place, the watching pill's amber — nobody was eliminated */
.gm__dead--spectator { background: rgba(24, 16, 4, .92); border-color: rgba(246, 163, 41, .6); color: var(--amber); }
.chud { position: absolute; inset: 0; pointer-events: none; }
.chud > * { pointer-events: auto; }
+29
View File
@@ -208,6 +208,35 @@
.solo-brief li::before { content: ''; display: inline-block; width: .06rem; height: .06rem; margin: 0 .12rem .02rem 0; background: var(--mint-600); transform: rotate(45deg); vertical-align: middle; }
.solo-brief b { color: var(--text-hi); }
/* ---- spectator seats (观战席, community report #26) -------------------------------------------------------------- */
.specbar {
flex: none;
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
gap: .14rem;
padding: 0 .6rem .16rem;
font-size: .15rem;
color: var(--text-lo);
}
.specbar__label { display: flex; align-items: baseline; gap: .06rem; font-weight: 700; color: var(--text-md); }
.specbar__label .icon { width: .18rem; height: .18rem; align-self: center; color: var(--mint-500); }
.specbar__label b { color: var(--mint-400); }
.specbar__who {
display: inline-flex;
align-items: center;
gap: .06rem;
min-height: .36rem;
padding: 0 .14rem;
border: 1px solid var(--line-2);
background: rgba(0, 0, 0, .32);
color: var(--text-hi);
}
.specbar__who.is-me { border-color: var(--mint-600); }
.specbar__who.is-offline { color: var(--text-dim); }
.specbar__who > .icon { width: .16rem; height: .16rem; }
/* ---- bottom bar ----------------------------------------------------------------------------------------- */
.room-bar {
position: relative;