Integra el pulido del lanzador y del diálogo QR

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Jorem JuárezandClaude Opus 5 committed 2026-08-18 13:23:57 -06:00
commit 75fb997bc0
2 files changed
+13 -6

No files matched your search

@@ -193,11 +193,12 @@ $beyond-font-family: Manrope, ui-sans-serif, system-ui, sans-serif;
flex-grow: 1.18;
}
// The design has one "you are here" affordance, the focus ring, so the
// current app (.focus, set by the navbar) reuses it. :focus is the
// literal design state and keeps arrow-key navigation visible.
&:focus,
&.focus {
// Keyboard only (18-aug-2026). A plain :focus also fired on click, and
// now that the QR block answers in place the launcher stays up with a
// ring around whatever the pointer last hit. The current app no longer
// reuses this ring either: it would be a contour a mouse user never
// asked for.
&:focus-visible {
outline: 4px solid $beyond-ink;
outline-offset: -6px;
}
@@ -242,8 +243,10 @@ $beyond-font-family: Manrope, ui-sans-serif, system-ui, sans-serif;
border-radius: 20px;
transition: background 140ms ease;
// Same rule as the blocks for the contour; the tint stays on the
// current app because a background is not a focus ring.
&:hover,
&:focus,
&:focus-visible,
&.focus {
background: $beyond-surface-hover;
}
@@ -73,9 +73,13 @@
</DropdownItem>
</t>
<t t-foreach="apps" t-as="app" t-key="app.id">
<!-- closingMode none: this app answers in place (a dialog
or a new tab), so the launcher has to stay up behind
it. Every other block navigates and closes as usual. -->
<DropdownItem
t-if="app.xmlid === 'beyond_attendance_qr.menu_kiosco_app'"
class="{ 'o_app': true, 'beyond_block': true, 'beyond_block_qr': true, focus: menuService.getCurrentApp() === app }"
closingMode="'none'"
onSelected="() => this.onNavBarDropdownItemSelection(app)"
attrs="{ href: getMenuItemHref(app), 'data-menu-xmlid': app.xmlid, 'data-section': app.id }"
>