Updated: 2026-06-26
Audited: 2026-06-26
border/blue-dk #05273e) bottom border. No image, no icon, no badge. Used in
Advocacy for items such as "DONATE & JOIN" CTAs' supporting text rows and disclosure links. Distinguished from
card-sm (which has an image) and notification-flight-status (which has flight data).
psH738AqHDxuMyFm897f9r ·
Advocacy screen (4877:11274) · captured 2026-06-26
New ViewModel needed — not yet in ComponentViewModels.cs. Add CardNotificationViewModel extending ComponentViewModel.
| Screen | Context | Notes |
|---|---|---|
| Advocacy (4877:11274) | Below "DONATE & JOIN" outline button | Vertical stack of disclosure rows for advocacy sub-topics; navy border visually separates items from the Advocacy section background |
border/blue-dk (navy #05273e) — not the standard border/default (#d2d4d6) used on form-field rows. The navy border is intentional and creates a stronger visual division on the Advocacy screen's light background.notification-flight-status is a flight-data card with icon, route, date, and expand button. card-notification is a plain text row from the Advocacy section.Target home: ALPAMobile.HybridUi. Component file: CardNotification.razor. New ViewModel required: CardNotificationViewModel.
| Parameter | Type | Required | Description |
|---|---|---|---|
Vm | CardNotificationViewModel | Yes | Row text and navigation link. |
OnTap | EventCallback<CardNotificationViewModel> | No | Fires when row tapped. Consumer navigates to Vm.Link. |
@* Advocacy section — stack of disclosure rows *@
@foreach (var item in AdvocacyItems)
{
<AlpaCardNotification Vm="@item"
OnTap="@NavigateToAdvocacyItem" />
}
Classes will live in ALPAMobile.HybridUi/wwwroot/css/alpa-components.css under the alpa-card-notification BEM block.
| Class | Scope | Key rules |
|---|---|---|
.alpa-card-notification | Row root (a or div) | display:flex; align-items:center; gap:16px; padding:16px; border-bottom:1px solid var(--border-blue-dk, #05273e); background:white; cursor:pointer |
.alpa-card-notification__text | Label text | flex:1; font-family:var(--font-family/alt); font-weight:600; font-size:18px; color:var(--text-primary, #05273e); line-height:1.3 |
.alpa-card-notification__chevron | Trailing chevron icon | width:18px; height:18px; flex-shrink:0; color:var(--text-primary, #05273e) |