diff --git a/login/index.html b/login/index.html index e44650a6..923f218b 100644 --- a/login/index.html +++ b/login/index.html @@ -15,36 +15,58 @@ justify-content: center; align-items: center; background-color: var(--main-bg-color); - display: flex; + display: flex; height: 100dvh; margin: 0; } .auth-card { - background-color: rgba(255, 255, 255, 0.015); + background-color: rgba(255, 255, 255, 0.015); border: var(--border-width) solid var(--light-border-color); border-radius: 1.2rem; width: 100%; max-width: 24rem; - overflow: hidden; - box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.3); + overflow: hidden; + box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.3); } .auth-container { display: flex; - width: 200%; - transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1); + width: 300%; + transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1); } .auth-box { - width: 50%; + width: 33.333%; display: flex; flex-direction: column; - padding: 2.5rem 2rem; + padding: 2.5rem 2rem; } .show-register { - transform: translateX(-50%); + transform: translateX(-33.333%); + } + + .show-captcha { + transform: translateX(-66.666%); + } + + .captcha-img { + width: 100%; + background-color: #222; + margin-bottom: 1rem; + display: flex; + align-items: center; + justify-content: center; + border: var(--border-width) solid var(--light-border-color); + border-radius: 1.2rem; + overflow: hidden; + } + + .captcha-img img { + width: 100%; + height: 100%; + object-fit: cover; } .auth-header { @@ -92,7 +114,7 @@ width: 100%; margin: 0 !important; } - + .submit-button { margin: 1.5rem 0 0 0 !important; @@ -104,9 +126,11 @@ border: none; font-size: 1.05rem; } + button:hover { background-color: rgba(255, 255, 255, 0.5); } + .footer-links { text-align: center; margin-top: 2rem; @@ -146,7 +170,7 @@

Larpix

-

Sign in to your secure instance.

+

Sign in to your larpix instance.

@@ -180,7 +204,7 @@

Join Larpix

-

Start your encrypted journey today.

+

Create new larpix account.

@@ -216,29 +240,80 @@
+
+
+

Verify

+

Prove you are a human.

+
+
+ Captcha +
+ +
+ + +
+ + + +
+ diff --git a/main.js b/main.js index 06515227..a9cb5ede 100644 --- a/main.js +++ b/main.js @@ -1,3 +1,6 @@ +var url = `${window.location.protocol}//${window.location.hostname}`; +var params = new URLSearchParams(window.location.search); + const collapseDmsBtn = document.getElementById("collapse-dms"); const sidebarHome = document.getElementById("sidebar-home");