Efradeca commited on
Commit
c4d286f
·
verified ·
1 Parent(s): 3d8abff

Update HUD control buttons

Browse files
frontend/css/immersive.css CHANGED
@@ -158,10 +158,13 @@ body.reduced-motion .orch.is-handoff { animation: none; }
158
  /* ---- bottom controls ---- */
159
  .controls { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 7; display: flex; gap: 10px; }
160
  .ctl {
161
- width: 44px; height: 44px; border-radius: 50%; cursor: pointer; font-size: 17px;
 
162
  background: var(--glass); border: 1px solid var(--glass-line); color: var(--ink);
163
  display: grid; place-items: center; backdrop-filter: blur(8px); transition: transform 0.15s, border-color 0.2s, background 0.2s;
164
  }
 
 
165
  .ctl:hover { transform: translateY(-2px); border-color: rgba(231, 183, 90, 0.5); }
166
  .ctl--lang { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; }
167
  .ctl.is-active { border-color: var(--gold); color: var(--gold); }
 
158
  /* ---- bottom controls ---- */
159
  .controls { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 7; display: flex; gap: 10px; }
160
  .ctl {
161
+ width: 44px; height: 44px; border-radius: 50%; cursor: pointer; font-size: 19px;
162
+ line-height: 1;
163
  background: var(--glass); border: 1px solid var(--glass-line); color: var(--ink);
164
  display: grid; place-items: center; backdrop-filter: blur(8px); transition: transform 0.15s, border-color 0.2s, background 0.2s;
165
  }
166
+ /* the mic is the primary "speak more" action — render it a touch larger and crisper than the rest */
167
+ #mic-mini { font-size: 23px; }
168
  .ctl:hover { transform: translateY(-2px); border-color: rgba(231, 183, 90, 0.5); }
169
  .ctl--lang { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; }
170
  .ctl.is-active { border-color: var(--gold); color: var(--gold); }
frontend/index.html CHANGED
@@ -56,7 +56,7 @@
56
 
57
  <button id="mic-btn" class="mic" type="button" aria-label="Hold the mic and speak your story">
58
  <span class="mic__ring"></span>
59
- <span class="mic__dot">🎙</span>
60
  </button>
61
  <p class="mic__hint" id="mic-hint">
62
  <span data-en>Tap, speak, tap again — watch it become a world.</span>
@@ -97,10 +97,10 @@
97
 
98
  <!-- Bottom controls (appear once a world is live). -->
99
  <div id="controls" class="controls" hidden>
100
- <button id="mic-mini" class="ctl" type="button" title="Speak more" aria-label="Speak more">🎙</button>
101
  <button id="save-btn" class="ctl" type="button" title="Save your world" aria-label="Save your world">🎬</button>
102
  <button id="stop-btn" class="ctl" type="button" title="New world" aria-label="New world">⟲</button>
103
- <button id="rm-btn" class="ctl" type="button" title="Reduce motion" aria-label="Reduce motion"></button>
104
  <button id="about-btn" class="ctl" type="button" title="About" aria-label="About">ⓘ</button>
105
  </div>
106
 
 
56
 
57
  <button id="mic-btn" class="mic" type="button" aria-label="Hold the mic and speak your story">
58
  <span class="mic__ring"></span>
59
+ <span class="mic__dot">🎤</span>
60
  </button>
61
  <p class="mic__hint" id="mic-hint">
62
  <span data-en>Tap, speak, tap again — watch it become a world.</span>
 
97
 
98
  <!-- Bottom controls (appear once a world is live). -->
99
  <div id="controls" class="controls" hidden>
100
+ <button id="mic-mini" class="ctl" type="button" title="Speak more" aria-label="Speak more">🎤</button>
101
  <button id="save-btn" class="ctl" type="button" title="Save your world" aria-label="Save your world">🎬</button>
102
  <button id="stop-btn" class="ctl" type="button" title="New world" aria-label="New world">⟲</button>
103
+ <button id="rm-btn" class="ctl" type="button" title="Reduce motion" aria-label="Reduce motion">🐢</button>
104
  <button id="about-btn" class="ctl" type="button" title="About" aria-label="About">ⓘ</button>
105
  </div>
106