{#
framework/_empty_state_css.html.twig
==============================================================================
The shared "nothing here" state, for lists that are NOT inside a cp scope.
WHY THIS EXISTS SEPARATELY FROM .cp-empty. Phase 0 added cp-empty/cp-loading/
cp-error, and they work — but they live in _cp_tokens under the `.cp-scope`
namespace. Measured across the 415 row-loops that lack an empty branch, only 37
are on cp-scoped pages; 378 are not (the Tax module, for one, never loads
_cp_tokens at all). Using .cp-empty there would emit unstyled text.
So this is deliberately namespace-free and token-optional: every value has a
literal fallback, so it looks right whether or not --cp-* is in scope. It is
loaded from codecovers_header, which 381 templates pull in.
Do not reach for this inside a cp page — use cp-empty there; the two are the
same idea rendered by whichever design system the page actually has.
==============================================================================
#}
<style type="text/css">
.hb-empty {
display: block;
padding: 26px 16px;
text-align: center;
color: var(--cp-text-faint, #76899a);
font-size: var(--cp-fs-sm, 12.5px);
line-height: 1.5;
}
.hb-empty .hb-empty-t {
display: block;
font-weight: 600;
color: var(--cp-text-muted, #3f5560);
font-size: var(--cp-fs-base, 13px);
margin-bottom: 2px;
}
/* the way out of the dead end — an empty list with no next step is most of
why a screen reads as broken rather than merely empty */
.hb-empty .hb-empty-act {
display: inline-block;
margin-top: 10px;
}
td > .hb-empty, th > .hb-empty { width: 100%; }
</style>