Initial upload

This commit is contained in:
antonn committed 2026-06-10 17:04:11 +00:00
1 parent b0bf3b7167
commit a022f29e34
65 files changed
+46484 -4339

No files matched your search

+147 -67
View File
@@ -17,6 +17,20 @@
--menu-top: 100rem;
--menu-left: -5rem;
--watermark-offset-x: 3.5rem;
--login-card-width: min(450px, calc(100vw - 48px));
--login-form-width: min(380px, calc(100vw - 48px));
--login-card-height: 470px;
--login-card-height-2fa: 540px;
--login-form-top: calc(50% + 20px);
--login-form-top-2fa: calc(50% - 4px);
--login-icon-top: calc(50% - 190px);
--login-icon-top-2fa: calc(50% - 218px);
--login-title-top: calc(50% - 104px);
--login-title-top-2fa: calc(50% - 130px);
--login-desc-top: calc(50% - 66px);
--login-desc-top-2fa: calc(50% - 92px);
--login-subline-top: calc(50% - 46px);
--login-subline-top-2fa: calc(50% - 72px);
}
html,
@@ -45,21 +59,23 @@ body {
}
}
form {
.login-form {
position: absolute;
top: var(--login-form-top);
left: 50%;
display: flex;
flex-direction: column;
user-select: none;
gap: 10px;
width: 300px;
margin-top: 300px;
gap: 12px;
width: var(--login-form-width);
margin: 0;
transform: translateX(-50%);
z-index: 100;
transition: top 360ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
@media (max-width: 768px) {
form {
margin-top: 270px;
}
body.login-has-2fa .login-form {
top: var(--login-form-top-2fa);
}
.input-icon {
@@ -78,8 +94,30 @@ form {
position: relative;
display: flex;
align-items: center;
width: 380px;
margin-left: -40px;
width: 100%;
margin-left: 0;
}
.login-two-factor-field {
max-height: 48px;
opacity: 1;
overflow: hidden;
transform: translateY(0);
transition:
max-height 360ms cubic-bezier(0.2, 0.8, 0.2, 1),
opacity 220ms ease,
transform 360ms cubic-bezier(0.2, 0.8, 0.2, 1),
margin 360ms cubic-bezier(0.2, 0.8, 0.2, 1);
will-change: max-height, opacity, transform;
}
.login-two-factor-field[aria-hidden="true"] {
max-height: 0;
opacity: 0;
margin-top: -6px;
margin-bottom: -6px;
pointer-events: none;
transform: translateY(-8px);
}
.input-holder:hover .input-icon {
@@ -144,21 +182,15 @@ button {
.get-started {
position: relative;
border-radius: 12px;
/* Smoother curve */
height: 48px;
/* Slightly taller for touch target size */
width: 380px;
width: 100%;
user-select: none;
margin-top: 50px;
margin-left: -40px;
margin-top: 4px;
margin-left: 0;
font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
/* Apple font */
font-size: 16px;
/* slightly larger */
letter-spacing: -0.01em;
/* Tighter tracking */
letter-spacing: 0;
font-weight: 600;
/* Bolder */
color: #ffffff;
background: linear-gradient(to bottom, #363636, #1a1a1a, #000000);
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
@@ -168,7 +200,7 @@ button {
align-items: center;
justify-content: center;
gap: 0;
transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), background 0.6s ease, box-shadow 0.6s ease;
transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), background 0.6s ease, box-shadow 0.6s ease, margin-top 360ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.get-started__logo {
@@ -182,7 +214,7 @@ button {
@media (max-width: 768px) {
.get-started {
margin-top: 30px;
margin-top: 4px;
}
}
@@ -206,16 +238,25 @@ button {
.menu {
position: absolute;
width: 390px;
height: 480px;
top: 50%;
left: 50%;
box-sizing: border-box;
width: var(--login-card-width);
height: var(--login-card-height);
border-radius: 30px;
padding: 30px;
margin-top: 60px;
margin: 0;
isolation: isolate;
box-shadow: 0px 6px var(--outer-shadow-blur) rgba(0, 0, 0, 0.2);
background-color: rgba(var(--tint-color), var(--tint-opacity));
border: 1px solid rgba(255, 255, 255, 0.25);
pointer-events: none;
transform: translate(-50%, -50%);
transition: height 360ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
body.login-has-2fa .menu {
height: var(--login-card-height-2fa);
}
.menu::before {
@@ -242,24 +283,17 @@ button {
z-index: 1;
}
@media (max-width: 768px) {
.menu {
font-size: 24px;
padding: 20px;
margin-top: 20px;
}
}
.forgot-password {
position: absolute;
position: relative;
align-self: flex-end;
cursor: pointer;
color: #f5f5f7;
/* Matching pure white sub-tone */
user-select: none;
margin-top: 150px;
margin-left: 230px;
margin: -2px 0 0;
font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
font-size: 14px;
line-height: 16px;
font-weight: 500;
white-space: nowrap;
opacity: 0.65;
@@ -285,62 +319,68 @@ button {
}
.sign-up {
position: relative;
position: absolute;
top: var(--login-title-top);
left: 50%;
color: #f5f5f7 !important;
user-select: none;
top: 140px;
font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
font-size: 24px;
font-weight: 600;
letter-spacing: -0.015em;
letter-spacing: 0;
z-index: 1;
text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
transform: translateX(-50%);
white-space: nowrap;
transition: top 360ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
@media (max-width: 768px) {
.sign-up {
top: 100px;
}
body.login-has-2fa .sign-up {
top: var(--login-title-top-2fa);
}
.sign-up-desc {
position: relative;
position: absolute;
top: var(--login-desc-top);
left: 50%;
color: #a1a1a6;
user-select: none;
top: 207px;
text-align: center;
font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
font-size: 15px;
font-weight: 500;
letter-spacing: -0.012em;
letter-spacing: 0;
opacity: 1;
text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
transform: translateX(-50%);
white-space: nowrap;
transition: top 360ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
@media (max-width: 768px) {
.sign-up-desc {
top: 170px;
}
body.login-has-2fa .sign-up-desc {
top: var(--login-desc-top-2fa);
}
.sign-up-sublines {
position: relative;
position: absolute;
top: var(--login-subline-top);
left: 50%;
color: #86868b;
user-select: none;
top: 245px;
text-align: center;
font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
font-size: 14px;
font-weight: 500;
letter-spacing: -0.012em;
letter-spacing: 0;
opacity: 1;
text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
transform: translateX(-50%);
white-space: nowrap;
transition: top 360ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
@media (max-width: 758px) {
.sign-up-sublines {
top: 210px;
}
body.login-has-2fa .sign-up-sublines {
top: var(--login-subline-top-2fa);
}
@@ -371,27 +411,66 @@ button {
.circle-icon {
position: absolute;
top: calc(var(--login-icon-top) - var(--login-form-top));
left: 50%;
display: flex;
align-items: center;
justify-content: center;
background-color: white;
padding: 20px;
padding: 0;
border-radius: 15px;
height: 12px;
width: 9px;
height: 54px;
width: 54px;
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
margin-top: -210px;
margin-left: 120px;
margin: 0;
border: 1px solid #c4c4c4;
box-sizing: border-box;
z-index: 101;
transform: translateX(-50%);
transition: top 360ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
body.login-has-2fa .circle-icon {
top: calc(var(--login-icon-top-2fa) - var(--login-form-top-2fa));
}
.circle-icon__glyph {
color: #000;
font-size: 25px;
margin-top: -50px;
margin-left: -10px;
margin: 0;
}
@media (max-width: 768px) {
.circle-icon {
margin-top: -220px;
:root {
--login-card-width: min(420px, calc(100vw - 32px));
--login-form-width: min(360px, calc(100vw - 56px));
--login-card-height: 450px;
--login-card-height-2fa: 516px;
--login-form-top: calc(50% + 18px);
--login-form-top-2fa: calc(50% - 4px);
--login-icon-top: calc(50% - 182px);
--login-icon-top-2fa: calc(50% - 208px);
--login-title-top: calc(50% - 98px);
--login-title-top-2fa: calc(50% - 124px);
--login-desc-top: calc(50% - 60px);
--login-desc-top-2fa: calc(50% - 88px);
--login-subline-top: calc(50% - 40px);
--login-subline-top-2fa: calc(50% - 69px);
}
.login-form {
width: var(--login-form-width);
}
.menu {
font-size: 24px;
padding: 20px;
}
.sign-up-desc,
.sign-up-sublines {
width: calc(100vw - 56px);
white-space: normal;
}
}
@@ -567,7 +646,8 @@ button {
}
.captcha-modal__widget #recaptchaWidget[hidden],
.captcha-modal__widget #cf-turnstile[hidden] {
.captcha-modal__widget #cf-turnstile[hidden],
.captcha-modal__widget #hcaptchaWidget[hidden] {
display: none;
}