Files
pirats/frontend/src/assets/css/lobby.css
Tim McCarthy bfe982251e Add teaching mode: admin can seed themselves as scene-1 Deep
An admin can now opt into "teaching mode" from the lobby, seeding
themselves as the Rank-3 player who must play the Deep in the first
scene (instead of leaving it to the random starting-rank roll), so they
can run the table for new crews.

- Game.teaching_deep_player_id (+ Alembic migration)
- maybe_finish_assign_techniques honors it before rolling ranks, so both
  the normal flow and the dev-mode skip path respect it
- Admin-gated POST .../teaching-mode toggle (pre-rank phases only)
- Lobby checkbox UI, greyed out if another admin already volunteered

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-14 09:14:58 -07:00

62 lines
928 B
CSS

/* --- Lobby / Ship's Hold --- */
.lobby-view {
max-width: 700px;
margin: 2rem auto;
}
.lobby-status-box {
margin: 2rem 0;
}
.links-box {
text-align: left;
margin-bottom: 2rem;
}
.teaching-box {
text-align: left;
margin-bottom: 2rem;
padding: 1rem 1.25rem;
}
.teaching-box .checkbox-label.disabled {
opacity: 0.6;
cursor: not-allowed;
}
.teaching-box .info-text {
margin: 0.5rem 0 0;
font-size: 0.85rem;
}
.link-item {
margin-bottom: 1.5rem;
}
.link-item h4 {
color: var(--text);
margin-bottom: 0.5rem;
}
.copy-container {
display: flex;
gap: 0.5rem;
}
.copy-input {
flex: 1;
background: var(--bg-deep);
font-size: 0.95rem;
padding: 0.5rem 1rem;
}
.copy-input.admin-input {
border-color: var(--edge-accent);
color: var(--accent);
}
.admin-link-item {
border-top: 1px dashed var(--edge-accent);
padding-top: 1.5rem;
}