From b05f1a731d6a2ff8d774f8a12e05526d629d27d4 Mon Sep 17 00:00:00 2001 From: hyzen Date: Sun, 7 Jun 2026 00:30:37 +0530 Subject: [PATCH] Fix: otp verification --- docs/css/auth-additions.css | 69 ----------- docs/signup/index.html | 16 +-- layouts/signup/single.html | 212 ++++++++++++---------------------- static/css/auth-additions.css | 69 ----------- 4 files changed, 80 insertions(+), 286 deletions(-) diff --git a/docs/css/auth-additions.css b/docs/css/auth-additions.css index f6e4094..9b8bbec 100644 --- a/docs/css/auth-additions.css +++ b/docs/css/auth-additions.css @@ -199,75 +199,6 @@ color: #fff; } -/* ── OTP step indicator ─────────────────────────────────────────────────── */ - -.otp-steps { - display: flex; - align-items: center; - margin-bottom: 1.6rem; -} - -.otp-steps__line { - flex: 1; - height: 2px; - background: var(--background-color1, #ccc); - transition: background 0.25s ease; -} - -.otp-steps__item { - display: flex; - flex-direction: column; - align-items: center; - gap: 0.3rem; -} - -.otp-steps__num { - width: 1.8rem; - height: 1.8rem; - border-radius: 50%; - border: 2px solid var(--background-color1, #ccc); - display: flex; - align-items: center; - justify-content: center; - font-size: 0.78rem; - font-weight: 700; - color: var(--foreground-color3, #888); - background: var(--background-color); - transition: - border-color 0.25s ease, - color 0.25s ease, - background 0.25s ease; -} - -.otp-steps__label { - font-size: 0.7rem; - color: var(--foreground-color3, #888); - white-space: nowrap; - transition: color 0.25s ease; -} - -/* Active step */ -.otp-steps__item--active .otp-steps__num { - border-color: var(--accent-color); - color: var(--accent-color); -} - -.otp-steps__item--active .otp-steps__label { - color: var(--accent-color); - font-weight: 600; -} - -/* Completed step */ -.otp-steps__item--done .otp-steps__num { - border-color: var(--accent-color); - background: var(--accent-color); - color: #fff; -} - -.otp-steps__item--done .otp-steps__label { - color: var(--accent-color); -} - /* ── OTP panel ───────────────────────────────────────────────────────────── */ .otp-panel__hint { diff --git a/docs/signup/index.html b/docs/signup/index.html index 7bf0661..894e300 100644 --- a/docs/signup/index.html +++ b/docs/signup/index.html @@ -5,20 +5,14 @@ Sign Up
-

Sign Up

1 -Details
2 -Verify email
3 -Done
+

Sign Up

(3-32 characters; letters, numbers, _ and - only)
-
- +
-(at least 8 characters)
-
(at least 8 characters)
+
\ No newline at end of file +

\ No newline at end of file diff --git a/layouts/signup/single.html b/layouts/signup/single.html index 0119454..5cb2ba6 100644 --- a/layouts/signup/single.html +++ b/layouts/signup/single.html @@ -5,59 +5,41 @@
- -
-
- 1 - Details -
-
-
- 2 - Verify email -
-
-
- 3 - Done -
-
-
-
-
- - - (3-32 characters; letters, numbers, _ and - only) -
+
+ + + (3-32 characters; letters, numbers, _ and - only) +
-
- - -
+
+ + +
-
- +
+ +
- (at least 8 characters)
+ (at least 8 characters) +
-
- - -
+
+ +