From b1c19d0c941b6e713ecc5fe7929a1da9327e15d2 Mon Sep 17 00:00:00 2001 From: sebastian2357 <80636200+sebastian2357@users.noreply.github.com> Date: Wed, 11 Jun 2025 18:45:03 +0200 Subject: [PATCH] fix(webapp): optimize registration layout (#8630) * - fixed nowrap for button - restyled bullets for slider - relocated back links - removed icons * - removed icon from RegistrationSlideEmail too * - added media query for padding * - fixed missing constants * - fixed padding in no-header layout * - fixed sticky footer in registration flow * - removed icons from inputs * - set fixed height for back link * - fixed invite code placeholder * - added auto submit to invite and email code forms - fixed layout password inputs - added layout to checkboxes (create) - removed unnecessary texts - moved backLink for password-reset - tidied up create layout * fixed margin * - fixed nonceLength * lint fixes * corrected path --------- Co-authored-by: Sebastian Stein Co-authored-by: Ulf Gebhardt --- frontend/src/assets/sass/tokens.module.scss | 1 + webapp/assets/_new/styles/tokens.scss | 1 + .../ComponentSlider/ComponentSlider.vue | 5 +- webapp/components/EnterNonce/EnterNonce.vue | 6 +- webapp/components/PageFooter/PageFooter.vue | 15 +- webapp/components/PasswordReset/Request.vue | 2 +- .../Registration/EmailDisplayAndVerify.vue | 1 - .../Registration/RegistrationSlideCreate.vue | 196 +++++++++++------- .../Registration/RegistrationSlideEmail.vue | 15 +- .../Registration/RegistrationSlideInvite.vue | 23 +- .../Registration/RegistrationSlideNonce.vue | 20 +- .../Registration/RegistrationSlider.vue | 20 +- webapp/components/Registration/Signup.vue | 2 - .../_new/generic/BaseButton/BaseButton.vue | 43 +++- webapp/layouts/no-header.vue | 36 +++- webapp/locales/de.json | 3 +- webapp/locales/en.json | 3 +- webapp/locales/es.json | 3 +- webapp/locales/fr.json | 3 +- webapp/locales/it.json | 3 +- webapp/locales/nl.json | 3 +- webapp/locales/pl.json | 3 +- webapp/locales/pt.json | 3 +- webapp/locales/ru.json | 3 +- webapp/pages/password-reset.vue | 10 + webapp/pages/password-reset/request.vue | 6 +- 26 files changed, 271 insertions(+), 158 deletions(-) diff --git a/frontend/src/assets/sass/tokens.module.scss b/frontend/src/assets/sass/tokens.module.scss index 3454ab690..a10e1a256 100644 --- a/frontend/src/assets/sass/tokens.module.scss +++ b/frontend/src/assets/sass/tokens.module.scss @@ -276,6 +276,7 @@ $size-avatar-large: 114px; $size-button-large: 50px; $size-button-base: 36px; $size-button-small: 26px; +$size-button-tiny: 18px; /** * @tokens Size Images diff --git a/webapp/assets/_new/styles/tokens.scss b/webapp/assets/_new/styles/tokens.scss index 42c01d3a8..2a25c54a4 100644 --- a/webapp/assets/_new/styles/tokens.scss +++ b/webapp/assets/_new/styles/tokens.scss @@ -274,6 +274,7 @@ $size-avatar-large: 114px; $size-button-large: 50px; $size-button-base: 36px; $size-button-small: 26px; + $size-button-tiny: 18px; /** * @tokens Size Images diff --git a/webapp/components/ComponentSlider/ComponentSlider.vue b/webapp/components/ComponentSlider/ComponentSlider.vue index 19e82417f..5a8cf55c2 100644 --- a/webapp/components/ComponentSlider/ComponentSlider.vue +++ b/webapp/components/ComponentSlider/ComponentSlider.vue @@ -38,8 +38,8 @@ +