From 409e4ae98f814f0f8b38886cbc2ed3a3f12d682d Mon Sep 17 00:00:00 2001 From: Andrii Solianyk Date: Fri, 21 Nov 2025 17:25:30 +0100 Subject: [PATCH] css migration --- src/main/resources/static/css/password.css | 24 ++++++++++++++++++++ src/main/resources/templates/password.html | 26 ---------------------- 2 files changed, 24 insertions(+), 26 deletions(-) diff --git a/src/main/resources/static/css/password.css b/src/main/resources/static/css/password.css index e48f06a..e70d734 100644 --- a/src/main/resources/static/css/password.css +++ b/src/main/resources/static/css/password.css @@ -181,3 +181,27 @@ input[type="password"]:focus { color: #fca5a5; } } + +#strengthBarContainer { + width: min(92vw, 480px); + margin: 10px auto 0; + height: 10px; + background: #e2e8f0; + border-radius: 8px; + overflow: hidden; +} + +#strengthBarFill { + height: 100%; + width: 0; + background: var(--bad); + transition: width 200ms ease, background-color 200ms ease; +} + +ul#tipsList { + width: min(92vw, 480px); + margin: 10px auto 0; + padding-left: 20px; + font-size: 14px; + color: var(--text); +} diff --git a/src/main/resources/templates/password.html b/src/main/resources/templates/password.html index 49acbb8..a52c609 100644 --- a/src/main/resources/templates/password.html +++ b/src/main/resources/templates/password.html @@ -5,32 +5,6 @@ PassMetric -

Sprawdź siłę hasła