feat: email and password login
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
|
||||
|
||||
.dialog-skeleton {
|
||||
display: grid;
|
||||
gap: 12px;
|
||||
@@ -12,11 +10,8 @@
|
||||
display: grid;
|
||||
align-items: center;
|
||||
justify-items: center;
|
||||
padding:
|
||||
max(14px, env(safe-area-inset-top))
|
||||
max(14px, env(safe-area-inset-right))
|
||||
max(14px, env(safe-area-inset-bottom))
|
||||
max(14px, env(safe-area-inset-left));
|
||||
padding: max(14px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right))
|
||||
max(14px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
|
||||
overflow: hidden;
|
||||
isolation: isolate;
|
||||
}
|
||||
@@ -116,6 +111,26 @@
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
.password-code-fullscreen {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: 220;
|
||||
background: var(--bg);
|
||||
overflow-y: auto;
|
||||
overscroll-behavior: contain;
|
||||
animation: password-code-fullscreen-enter 0.2s ease-out both;
|
||||
}
|
||||
|
||||
@keyframes password-code-fullscreen-enter {
|
||||
from {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
to {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 720px) {
|
||||
.dialog-card {
|
||||
border-radius: var(--radius-lg);
|
||||
|
||||
@@ -1290,6 +1290,22 @@ a {
|
||||
background: var(--success-soft);
|
||||
}
|
||||
|
||||
.settings-row-linked-with-action {
|
||||
grid-template-columns: 28px minmax(0, 1fr) max-content;
|
||||
}
|
||||
|
||||
.settings-inline-action {
|
||||
justify-self: end;
|
||||
min-height: 34px;
|
||||
max-width: 132px;
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
font-size: 11px;
|
||||
font-weight: 500;
|
||||
line-height: 1.1;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.settings-row-linked > svg:first-child {
|
||||
color: var(--success-text);
|
||||
}
|
||||
@@ -1603,8 +1619,23 @@ a {
|
||||
}
|
||||
|
||||
.auth-card {
|
||||
box-sizing: content-box;
|
||||
display: grid;
|
||||
gap: 14px;
|
||||
align-content: start;
|
||||
overflow: hidden;
|
||||
transition: height 0.22s ease;
|
||||
will-change: height;
|
||||
}
|
||||
|
||||
.auth-mode-panel {
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
min-width: 0;
|
||||
animation: auth-mode-enter 0.18s ease-out both;
|
||||
}
|
||||
|
||||
.auth-mode-panel-password {
|
||||
padding-top: 2px;
|
||||
}
|
||||
|
||||
.auth-pane {
|
||||
@@ -1661,6 +1692,38 @@ a {
|
||||
animation: telegram-button-spin 0.72s linear infinite;
|
||||
}
|
||||
|
||||
.password-switch-divider {
|
||||
height: 1px;
|
||||
background: var(--border);
|
||||
}
|
||||
|
||||
.password-switch-stack {
|
||||
display: grid;
|
||||
gap: 5px;
|
||||
justify-items: center;
|
||||
margin-top: -3px;
|
||||
}
|
||||
|
||||
.password-switch-button,
|
||||
.auth-code-fallback {
|
||||
width: fit-content;
|
||||
justify-self: center;
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
@keyframes auth-mode-enter {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateY(5px) scale(0.985);
|
||||
}
|
||||
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateY(0) scale(1);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes telegram-button-spin {
|
||||
to {
|
||||
transform: rotate(360deg);
|
||||
@@ -2027,9 +2090,14 @@ a {
|
||||
.language-select-content,
|
||||
.dialog-backdrop,
|
||||
.dialog-card,
|
||||
.auth-mode-panel,
|
||||
.toast {
|
||||
animation: none !important;
|
||||
}
|
||||
|
||||
.auth-card {
|
||||
transition: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
@supports not (color: color-mix(in srgb, #000 50%, #fff)) {
|
||||
|
||||
Reference in New Issue
Block a user