Skip to content

Commit 816cc38

Browse files
committed
fix: align help accordions consistently
1 parent 9ade6b6 commit 816cc38

2 files changed

Lines changed: 18 additions & 22 deletions

File tree

website/help.html

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -292,9 +292,8 @@ <h3>Compatibility & troubleshooting</h3>
292292
</div>
293293
</section>
294294

295-
<section id="first-setup" class="support-card support-anchor-section" aria-labelledby="first-setup-title">
296-
<span class="support-eyebrow">First setup</span>
297-
<h2 id="first-setup-title">Install KoalaSync and prepare your browser</h2>
295+
<details id="first-setup" class="support-card support-anchor-section support-accordion" aria-labelledby="first-setup-title">
296+
<summary><span class="support-eyebrow">First setup</span><h2 id="first-setup-title">Install KoalaSync and prepare your browser</h2></summary>
298297
<ol class="support-steps">
299298
<li>Install KoalaSync from the official Chrome, Firefox, or Edge store. Pin the KoalaSync icon to the browser toolbar if you want quicker access.</li>
300299
<li>Each person needs KoalaSync in their own supported desktop browser and their own access to the video website.</li>
@@ -303,11 +302,10 @@ <h2 id="first-setup-title">Install KoalaSync and prepare your browser</h2>
303302
<li>Open the video website. If the browser asks whether KoalaSync may access it, allow access for that site and reload the page.</li>
304303
</ol>
305304
<p>KoalaSync does not provide or stream the video. Everyone opens the same content locally, and KoalaSync coordinates playback controls.</p>
306-
</section>
305+
</details>
307306

308-
<section id="rooms" class="support-card support-anchor-section" aria-labelledby="rooms-title">
309-
<span class="support-eyebrow">Rooms &amp; invitations</span>
310-
<h2 id="rooms-title">Create a room or join your friends</h2>
307+
<details id="rooms" class="support-card support-anchor-section support-accordion" aria-labelledby="rooms-title">
308+
<summary><span class="support-eyebrow">Rooms &amp; invitations</span><h2 id="rooms-title">Create a room or join your friends</h2></summary>
311309
<h3>Create and invite</h3>
312310
<ol class="support-steps">
313311
<li>Open KoalaSync and select <strong>Room</strong>.</li>
@@ -318,31 +316,29 @@ <h3>Create and invite</h3>
318316
<h3>Join</h3>
319317
<p>Open the invite in the same desktop browser profile where KoalaSync is installed. The join page passes the room settings to the extension. You can also use <strong>Manual Connect / Advanced</strong> to enter a room ID and optional password, or select a public room, but manual and legacy joins do not provide the current chat secret.</p>
320318
<p>Room credentials remain available locally until you leave or replace the room. Click <strong>Leave Room</strong> when you are finished.</p>
321-
</section>
319+
</details>
322320

323-
<section id="select-video" class="support-card support-anchor-section" aria-labelledby="select-video-title">
324-
<span class="support-eyebrow">Video selection</span>
325-
<h2 id="select-video-title">Choose the local video tab</h2>
321+
<details id="select-video" class="support-card support-anchor-section support-accordion" aria-labelledby="select-video-title">
322+
<summary><span class="support-eyebrow">Video selection</span><h2 id="select-video-title">Choose the local video tab</h2></summary>
326323
<ol class="support-steps">
327324
<li>Open the video you want to watch and start it once so the player is loaded.</li>
328325
<li>Open KoalaSync, select <strong>Sync</strong>, then choose the browser tab under <strong>Select Video</strong>.</li>
329326
<li>Every participant selects their own local video tab. Selecting yours does not select or open a tab for anyone else.</li>
330327
<li>Use the highlighted matching titles as a hint, not a guarantee. Confirm the episode or video yourself before synchronizing.</li>
331328
</ol>
332329
<p><strong>Hide Clutter Tabs</strong> removes likely non-video tabs from the list. Turn it off under <strong>Settings → Playback &amp; Sync</strong> if the correct tab is missing.</p>
333-
</section>
330+
</details>
334331

335-
<section id="sync-controls" class="support-card support-anchor-section" aria-labelledby="sync-controls-title">
336-
<span class="support-eyebrow">Synchronization &amp; control</span>
337-
<h2 id="sync-controls-title">Play, pause, seek, and Force Sync</h2>
332+
<details id="sync-controls" class="support-card support-anchor-section support-accordion" aria-labelledby="sync-controls-title">
333+
<summary><span class="support-eyebrow">Synchronization &amp; control</span><h2 id="sync-controls-title">Play, pause, seek, and Force Sync</h2></summary>
338334
<p>When room control is open to everyone, actions on the selected player and the popup's <strong>Play</strong> and <strong>Pause</strong> buttons are sent to the room. The <strong>Last Activity Status</strong> shows the most recent room action.</p>
339335
<ul>
340336
<li><strong>Jump to Others:</strong> moves your selected video to the known time reported by other participants. It requires another participant with a usable playback time.</li>
341337
<li><strong>Jump to Me:</strong> uses your selected video's current time as the target and moves the room to you.</li>
342338
<li><strong>Sync:</strong> runs the selected Force Sync mode as a coordinated room action. Use it when normal play, pause, or seeking left someone behind.</li>
343339
</ul>
344340
<p>Force Sync cannot fix different videos, missing website access, an unloaded player, or a site that blocks the required playback action. Check that everyone selected the intended content first.</p>
345-
</section>
341+
</details>
346342

347343
<details id="host-control" class="support-card support-anchor-section support-accordion" aria-labelledby="host-control-title">
348344
<summary><span class="support-eyebrow">Host &amp; Co-Hosts</span><h2 id="host-control-title">Choose who can control the room</h2></summary>

website/styles/support.css

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -254,20 +254,20 @@
254254
.support-accordion > summary::after {
255255
grid-column: 2;
256256
grid-row: 1 / span 2;
257-
content: "+";
258-
display: grid;
257+
content: "";
259258
width: 2rem;
260259
height: 2rem;
261-
place-items: center;
262260
border: 1px solid color-mix(in oklch, var(--accent) 35%, var(--card-border));
263261
border-radius: 999px;
262+
background:
263+
linear-gradient(currentColor, currentColor) center / 10px 1px no-repeat,
264+
linear-gradient(currentColor, currentColor) center / 1px 10px no-repeat;
264265
color: var(--accent);
265-
font-size: 1.35rem;
266-
line-height: 1;
267266
}
268267

269268
.support-accordion[open] > summary::after {
270-
content: "−";
269+
background:
270+
linear-gradient(currentColor, currentColor) center / 10px 1px no-repeat;
271271
}
272272

273273
.support-accordion > summary .support-eyebrow {

0 commit comments

Comments
 (0)