Keep Authoring within its stack and theme, and cover its wiring

- Keep the documented 72px / flex-grow 1 action sizing and the 360px
  panel width; the larger type applies to the Authoring panel only, so
  CCTV and Street Level buttons are unchanged.
- Scope the primary and file-row styles to the panel so Cyber's shared
  button surface no longer overrides them.
- Shorten the scene PLAY in Spanish and Russian so it does not break
  mid-word, and fix two translation inconsistencies.
- Map the spoken name "authoring" to the panel.
- Clear the has-shots marker when the controls are destroyed.
- Test the idle button states through published changes, the PLAY
  translation context, and where the sharing row is placed.
This commit is contained in:
Said Turksever committed 2026-10-29 11:48:52 +00:00
1 parent 452292001a
commit 4192a6f87d
8 files changed
+157 -15

No files matched your search

+8 -10
View File
@@ -1,6 +1,6 @@
/* ── Scene Director Panel ───────────────────── */
#scene-panel {
--panel-expanded-width: 372px;
--panel-expanded-width: 360px;
/* Secondary text in Authoring: dimmer than labels, but legible on the globe. */
--scene-quiet: rgba(232, 234, 237, 0.62);
position: fixed;
@@ -179,6 +179,9 @@ html:not([lang='en']) #scene-panel .scene-controls .scene-btn {
.scene-btn {
flex: 1;
min-width: 72px;
}
#scene-panel .scene-btn {
font-size: 10px;
padding: 8px 10px;
}
@@ -206,21 +209,16 @@ html:not([lang='en']) #scene-panel .scene-controls .scene-btn {
margin-top: 2px;
}
/* One primary action per step: CAPTURE SHOT and PLAY. */
.scene-btn-primary:not(:disabled) {
/* One primary action per step: CAPTURE SHOT and PLAY. The panel id keeps
this above Cyber's shared button surface. */
#scene-panel .scene-btn-primary:not(:disabled) {
color: var(--accent);
border-color: color-mix(in srgb, var(--accent) 55%, transparent);
background: color-mix(in srgb, var(--accent) 10%, transparent);
}
#scene-capture-btn {
flex: 2 1 0;
}
/* The file row is housekeeping; it stays quieter than the steps above. */
.scene-file-controls .scene-btn {
flex: 1 1 0;
min-width: 0;
#scene-panel .scene-file-controls .scene-btn {
font-size: 9px;
background: transparent;
}