feedback · erreur
Grand panneau d'erreur, pour une page entière (ex: échec de paiement, action qui n'a pas abouti).
<style>
.bn-result {
max-width: 360px;
padding: 2.5rem;
text-align: center;
font-family: 'Inter', sans-serif;
background: #0B0F10;
border: 1px solid rgba(230, 228, 221, 0.1);
border-radius: 8px;
}
.bn-result__icon {
display: flex;
align-items: center;
justify-content: center;
width: 56px;
height: 56px;
margin: 0 auto 1.25rem;
border-radius: 50%;
font-size: 1.4rem;
}
.bn-result__title {
margin: 0 0 0.5rem;
font-size: 1.1rem;
letter-spacing: 0.02em;
text-transform: uppercase;
}
.bn-result__text {
margin: 0 0 1.5rem;
color: #979793;
font-size: 0.85rem;
}
.bn-result__btn {
display: inline-block;
padding: 0.7rem 1.5rem;
border-radius: 999px;
text-decoration: none;
font-size: 0.8rem;
font-weight: 600;
}
.bn-result--error {
border-color: rgba(229, 72, 77, 0.3);
}
.bn-result--error .bn-result__icon {
background: rgba(229, 72, 77, 0.12);
color: #E5484D;
}
.bn-result--error .bn-result__title {
color: #E5484D;
}
.bn-result--error .bn-result__btn {
background: transparent;
border: 1px solid #E5484D;
color: #E5484D;
}
.bn-result--error .bn-result__btn:hover {
background: rgba(229, 72, 77, 0.1);
}
</style>
<div class="bn-result bn-result--error">
<span class="bn-result__icon">!</span>
<h3 class="bn-result__title">Une erreur est survenue</h3>
<p class="bn-result__text">Nous n'avons pas pu traiter votre demande.</p>
<a href="#" class="bn-result__btn">Réessayer →</a>
</div>