Book a callGitHub147

Couldn't load your statements

The bank didn't answer in time. Your money and your settings are not affected.

Error 504 · ref 7f3a-21c

Live preview: try it.

Source
<!-- Icons: Lucide (lucide.dev), ISC licence -->
<style>
.odl-error-retry { box-sizing: border-box; inline-size: 100%; max-inline-size: 36rem; margin-inline: auto; container-type: inline-size; color: var(--ds-color-text-primary); font: var(--ds-text-body-md); text-wrap: pretty; }
.odl-error-retry .odl-card { box-sizing: border-box; display: grid; grid-template-columns: auto minmax(0, 1fr);
  gap: var(--ds-space-stack-lg) var(--ds-space-inline-md); align-items: start; padding: var(--ds-space-inset-xl); background: var(--ds-color-surface-raised); color: var(--ds-color-text-primary);
  border: var(--ds-border-width-default) solid var(--ds-color-border-danger); border-radius: var(--ds-radius-container); font: var(--ds-text-body-md); text-wrap: pretty; }
.odl-error-retry *, .odl-error-retry *::before { box-sizing: border-box; }
.odl-error-retry svg { flex: none; fill: none; stroke: currentColor; stroke-width: var(--ds-icon-stroke-md); }
.odl-error-retry .odl-icon { display: grid; place-items: center; inline-size: var(--ds-size-control-md); block-size: var(--ds-size-control-md); border-radius: var(--ds-radius-full);
  background: var(--ds-color-bg-danger-subtle); color: var(--ds-color-text-danger); }
.odl-error-retry .odl-icon svg { inline-size: var(--ds-size-icon-md); block-size: var(--ds-size-icon-md); }
.odl-error-retry .odl-text { display: grid; gap: var(--ds-space-stack-sm); min-inline-size: 0; align-self: center; }
.odl-error-retry h3 { margin: 0; font: var(--ds-text-title-md); overflow-wrap: anywhere; text-wrap: balance; }
.odl-error-retry .odl-message { margin: 0; color: var(--ds-color-text-secondary); overflow-wrap: anywhere; }
.odl-error-retry .odl-detail { justify-self: start; max-inline-size: 100%; margin: var(--ds-space-stack-xs) 0 0; padding: var(--ds-space-2) var(--ds-space-inset-sm); border-radius: var(--ds-radius-control-sm);
  background: var(--ds-color-surface-sunken); color: var(--ds-color-text-secondary); font: var(--ds-text-code-sm); overflow-wrap: anywhere; }
.odl-error-retry .odl-acts { grid-column: 2; display: flex; flex-wrap: wrap; gap: var(--ds-space-inline-sm); }
.odl-error-retry button { display: inline-flex; align-items: center; justify-content: center; gap: var(--ds-space-inline-sm); max-inline-size: 100%;
  min-block-size: max(var(--ds-size-control-md), var(--ds-size-target-min)); padding: var(--ds-space-inset-xs) var(--ds-space-inset-lg); border-radius: var(--ds-radius-control);
  font: var(--ds-text-label-lg); font-weight: var(--ds-font-weight-label); text-align: center; overflow-wrap: anywhere; cursor: pointer;
  transition: background-color var(--ds-motion-duration-short) var(--ds-motion-easing-standard); }
.odl-error-retry button svg { inline-size: var(--ds-size-icon-sm); block-size: var(--ds-size-icon-sm); }
.odl-error-retry .odl-retry { border: var(--ds-border-width-default) solid transparent; background: var(--ds-color-bg-action-primary); color: var(--ds-color-text-on-action); }
.odl-error-retry .odl-retry:hover { background: var(--ds-color-bg-action-primary-hover); }
.odl-error-retry .odl-other { border: var(--ds-border-width-default) solid var(--ds-color-border-default); background: var(--ds-color-surface-raised); color: var(--ds-color-text-primary); }
.odl-error-retry .odl-other:hover { background: var(--ds-color-bg-neutral-subtle); }
.odl-error-retry button:focus-visible { outline: var(--ds-focus-ring-width) solid var(--ds-color-border-focus); outline-offset: var(--ds-focus-ring-offset); }
/* Phone: the icon sits above the words, and the buttons take the full width. */
@container (max-width: 26rem) {
  .odl-error-retry .odl-card { grid-template-columns: minmax(0, 1fr); padding: var(--ds-space-inset-lg); }
  .odl-error-retry .odl-acts { grid-column: 1; }
  .odl-error-retry button { flex: 1 1 100%; }
}
/* Disabled or still loading: quiet but readable (AA), never the faint disabled pair. */
.odl-error-retry button:disabled { cursor: not-allowed; background: var(--ds-color-bg-neutral-subtle); border-color: var(--ds-color-border-subtle); color: var(--ds-color-text-secondary); }
@media (prefers-reduced-motion: reduce) { .odl-error-retry, .odl-error-retry *, .odl-error-retry *::before { transition: none !important; animation: none !important; } }
</style>
<section class="odl-error-retry" aria-labelledby="odl-er-title"><div class="odl-card">
  <span class="odl-icon" aria-hidden="true"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="10"/><line x1="12" x2="12" y1="8" y2="12"/><line x1="12" x2="12.01" y1="16" y2="16"/></svg></span>
  <div class="odl-text">
    <h3 id="odl-er-title" data-od-slot="title">Couldn't load your statements</h3>
    <p class="odl-message" data-od-slot="message">The bank didn't answer in time. Your money and your settings are not affected.</p>
    <p class="odl-detail" data-od-slot="detail" data-od-optional>Error 504 · ref 7f3a-21c</p>
  </div>
  <div class="odl-acts"><button type="button" class="odl-retry" data-od-action="retry"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8"/><path d="M21 3v5h-5"/></svg><span data-od-slot="label">Try again</span></button><button type="button" class="odl-other" data-od-action="secondary">Check service status</button></div>
</div></section>

More like this

ConsumerFriendly · Social

Activity list

Likes, follows and mentions grouped under Today and This week.

B2BQuiet · Any product

Alert banners

Four inline notices (info, success, warning and danger).

B2BFriendly · Any product

Empty state

What a list shows when there is nothing in it.

Your kit

Nothing here yet. Add parts with Add to kit, and a look if you want the whole system.

    Parts
    0
    Files to fetch
    0 KB
    Licence
    MIT
    Total
    Free, now and later

    How do you want it?

    Your prompt

    No sign-up. Nothing leaves your browser until you paste it.

    Free