From 030ac92e2fdba26cd871a6521a251d352cb78cb9 Mon Sep 17 00:00:00 2001 From: Manuel Cillero Date: Wed, 11 Nov 2026 18:40:03 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20(bootsier):=20Muestra=20el=20acc?= =?UTF-8?q?eso=20en=20una=20tarjeta?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../assets/_bootsier-custom.scss | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/extensions/pagetop-bootsier/assets/_bootsier-custom.scss b/extensions/pagetop-bootsier/assets/_bootsier-custom.scss index 6454a103..ed317b38 100644 --- a/extensions/pagetop-bootsier/assets/_bootsier-custom.scss +++ b/extensions/pagetop-bootsier/assets/_bootsier-custom.scss @@ -358,3 +358,41 @@ fieldset > legend { border-bottom-color: var(--bs-primary); font-weight: 600; } + +// Login page (pagetop-user `LoginForm`): the form inside a centered card, as in Bootstrap's sign-in +// example. The submit button takes the full width of the card. +.user-login-page { + display: flex; + align-items: center; + justify-content: center; + min-height: 70vh; + padding: $spacer * 2 $spacer; + background-color: var(--bs-tertiary-bg); +} + +.user-login-card { + width: 100%; + max-width: 24rem; + padding: $spacer * 2; + background-color: var(--bs-body-bg); + border: var(--bs-border-width) solid var(--bs-border-color-translucent); + border-radius: var(--bs-border-radius-lg); + box-shadow: var(--bs-box-shadow); +} + +.user-login-card .btn[type="submit"] { + width: 100%; + margin-top: $spacer * .5; +} + +.user-register-link, +.user-reset-link { + margin: $spacer 0 0; + text-align: center; +} + +// Form errors of pagetop-user, with the palette of Bootstrap's own alerts. +.user-form-error { + @extend .alert; + @extend .alert-danger; +}