Tweaking the colors and timing for the Session Menu in the Launcher

This commit is contained in:
Scott Idem
2026-04-20 13:33:54 -04:00
parent ef5188aa6d
commit 6c6fccdfb4

View File

@@ -113,7 +113,7 @@ let ae_promises: key_val = $state({
// focus on a row for over a second before it fires — still fast for intentional use. // focus on a row for over a second before it fires — still fast for intentional use.
// NOTE: hover-timer only triggers a data PRE-LOAD (preview). The session does not // NOTE: hover-timer only triggers a data PRE-LOAD (preview). The session does not
// actually switch until the operator clicks. See onclick handler below. // actually switch until the operator clicks. See onclick handler below.
let hover_timer_wait = 1200; let hover_timer_wait = 1400;
let hover_timer: any = $state(null); let hover_timer: any = $state(null);
// Navigation Shield Pattern (Refactored 2026-02-11) // Navigation Shield Pattern (Refactored 2026-02-11)
@@ -257,16 +257,12 @@ $effect(() => {
text-left text-sm transition-colors duration-200 text-left text-sm transition-colors duration-200
focus-visible:ring-2 focus-visible:ring-offset-1 focus-visible:ring-2 focus-visible:ring-offset-1
" "
class:preset-filled-primary={slct__event_session_id === class:font-bold={slct__event_session_id === event_session_obj?.id}
event_session_obj?.id} class:preset-tonal-primary={slct__event_session_id === event_session_obj?.id}
class:preset-tonal-secondary={slct__event_session_id != class:preset-outlined-primary-200-800={slct__event_session_id === event_session_obj?.id}
event_session_obj?.id} class:preset-tonal-secondary={slct__event_session_id != event_session_obj?.id}
class:border-secondary-500={slct__event_session_id != class:preset-outlined-secondary-200-800={slct__event_session_id != event_session_obj?.id}
event_session_obj?.id} class:opacity-40={event_session_obj?.hide || event_session_obj?.hide_event_launcher}
class:font-bold={slct__event_session_id ===
event_session_obj?.id}
class:opacity-40={event_session_obj?.hide ||
event_session_obj?.hide_event_launcher}
title={`Session: ${event_session_obj?.name}\nID: ${event_session_obj?.id} | ${ae_util.iso_datetime_formatter(event_session_obj?.start_datetime, $events_loc.launcher.time_format)}`}> title={`Session: ${event_session_obj?.name}\nID: ${event_session_obj?.id} | ${ae_util.iso_datetime_formatter(event_session_obj?.start_datetime, $events_loc.launcher.time_format)}`}>
<!-- Session row layout: [date column | session name] <!-- Session row layout: [date column | session name]
Date column is fixed-width (shrink-0) so name column always Date column is fixed-width (shrink-0) so name column always