|
|
|
|
@@ -12,12 +12,17 @@
|
|
|
|
|
<!-- @UX_FEEDBACK Loading text on submit button while authenticating. -->
|
|
|
|
|
<!-- @UX_RECOVERY User can retry login after error. -->
|
|
|
|
|
<!-- @INVARIANT Shows the ADFS SSO button only when ADFS is configured. -->
|
|
|
|
|
<!-- @UX_STATE Compact -> Below 1024px the hero and form stack; decorative capabilities are hidden to keep sign-in within reach. -->
|
|
|
|
|
<!-- @UX_STATE PasswordVisible -> The reveal control exposes the bound password and announces its pressed state. -->
|
|
|
|
|
<!-- @UX_TEST At 390px and 320px the heading and form fit without horizontal scrolling; at 390px the submit control is visible. -->
|
|
|
|
|
<!-- @RATIONALE A quiet editorial hero and one rounded form card retain the teal identity while standard Input, Button and Card atoms keep focus and keyboard behavior consistent. -->
|
|
|
|
|
<!-- @REJECTED Decorative READY/SYNCED/ONLINE readouts were removed: no health data backs those labels, and they pushed the form farther down on compact screens. -->
|
|
|
|
|
<script lang="ts">
|
|
|
|
|
import { SvelteURLSearchParams } from "svelte/reactivity";
|
|
|
|
|
import { onMount } from 'svelte';
|
|
|
|
|
import { page } from '$app/state';
|
|
|
|
|
import { ROUTES } from '$lib/routes';
|
|
|
|
|
import { Button } from '$lib/ui';
|
|
|
|
|
import { Button, Card, Icon, Input } from '$lib/ui';
|
|
|
|
|
import { auth } from '../../lib/auth/store.svelte.js';
|
|
|
|
|
import { api } from '../../lib/api';
|
|
|
|
|
import { goto } from '$app/navigation';
|
|
|
|
|
@@ -128,184 +133,125 @@ import { SvelteURLSearchParams } from "svelte/reactivity";
|
|
|
|
|
});
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<div class="login-scene">
|
|
|
|
|
<div class="scene-grid" aria-hidden="true"></div>
|
|
|
|
|
<div class="scene-glow scene-glow-cyan" aria-hidden="true"></div>
|
|
|
|
|
<div class="scene-glow scene-glow-violet" aria-hidden="true"></div>
|
|
|
|
|
<div class="relative isolate -m-4 flex min-h-[100svh] flex-col overflow-hidden bg-surface-page text-text">
|
|
|
|
|
<div class="pointer-events-none absolute -left-60 top-16 -z-10 h-[640px] w-[640px] rounded-full bg-primary/10 blur-[120px]" aria-hidden="true"></div>
|
|
|
|
|
<div class="pointer-events-none absolute -right-40 bottom-0 -z-10 h-[460px] w-[460px] rounded-full bg-brand-gradient-to/5 blur-[100px]" aria-hidden="true"></div>
|
|
|
|
|
|
|
|
|
|
<div class="scene-content">
|
|
|
|
|
<section class="intro" aria-label="Superset Tools">
|
|
|
|
|
<div class="brand-mark" aria-hidden="true">
|
|
|
|
|
<span class="mark-core"></span>
|
|
|
|
|
<span class="mark-orbit mark-orbit-one"></span>
|
|
|
|
|
<span class="mark-orbit mark-orbit-two"></span>
|
|
|
|
|
<header class="mx-auto flex w-full max-w-[1240px] items-center justify-between px-6 py-6 sm:px-10 sm:py-8 lg:px-14">
|
|
|
|
|
<div class="flex items-center gap-3">
|
|
|
|
|
<div class="grid h-10 w-10 place-items-center rounded-xl border border-primary/20 bg-primary/5" aria-hidden="true">
|
|
|
|
|
<svg viewBox="0 0 40 40" class="h-8 w-8 text-primary" fill="none">
|
|
|
|
|
<ellipse cx="20" cy="20" rx="15" ry="7" stroke="currentColor" stroke-opacity=".65" transform="rotate(-45 20 20)" />
|
|
|
|
|
<ellipse cx="20" cy="20" rx="15" ry="7" stroke="currentColor" stroke-opacity=".35" transform="rotate(45 20 20)" />
|
|
|
|
|
<circle cx="20" cy="20" r="4" fill="currentColor" />
|
|
|
|
|
</svg>
|
|
|
|
|
</div>
|
|
|
|
|
<p class="eyebrow">SUPERSET / TOOLS <span>{$t.auth?.login_page?.version}</span></p>
|
|
|
|
|
<h1>{$t.auth?.login_page?.headline_first}<br /><em>{$t.auth?.login_page?.headline_second}</em><br />{$t.auth?.login_page?.headline_third}</h1>
|
|
|
|
|
<p class="intro-copy">{$t.auth?.login_page?.intro_short}</p>
|
|
|
|
|
<p class="text-[13px] font-medium tracking-[.12em] sm:text-sm">SUPERSET <span class="font-normal text-text-subtle">/</span> TOOLS</p>
|
|
|
|
|
</div>
|
|
|
|
|
<span class="rounded-full border border-border/80 px-2.5 py-1 font-mono text-[10px] tracking-wide text-text-muted">{$t.auth?.login_page?.version}</span>
|
|
|
|
|
</header>
|
|
|
|
|
|
|
|
|
|
<div class="signal-list" aria-hidden="true">
|
|
|
|
|
<div><span class="signal-dot signal-dot-cyan"></span><span>{$t.auth?.login_page?.workspace}</span><strong>{$t.auth?.login_page?.ready}</strong></div>
|
|
|
|
|
<div><span class="signal-dot signal-dot-amber"></span><span>{$t.auth?.login_page?.pipelines}</span><strong>{$t.auth?.login_page?.synced}</strong></div>
|
|
|
|
|
<div><span class="signal-dot signal-dot-violet"></span><span>{$t.auth?.login_page?.context}</span><strong>{$t.auth?.login_page?.online}</strong></div>
|
|
|
|
|
<div class="mx-auto grid w-full max-w-[1120px] flex-1 items-center gap-8 px-6 pb-10 pt-5 sm:max-w-[620px] sm:gap-10 sm:px-10 sm:py-10 lg:max-w-[1240px] lg:grid-cols-[minmax(0,1fr)_minmax(0,440px)] lg:gap-16 lg:px-14 lg:py-12 xl:gap-24">
|
|
|
|
|
<section class="relative min-w-0" aria-label="Superset Tools">
|
|
|
|
|
<p class="mb-5 hidden items-center gap-2.5 font-mono text-[11px] uppercase tracking-[.17em] text-text-muted lg:flex">
|
|
|
|
|
<span class="h-px w-7 bg-primary/70" aria-hidden="true"></span>
|
|
|
|
|
{$t.auth?.login_page?.workspace_label}
|
|
|
|
|
</p>
|
|
|
|
|
<h1 class="text-[clamp(2.35rem,9.7vw,3.5rem)] font-medium leading-[1.08] tracking-[-.045em] sm:text-[3.75rem] lg:text-[clamp(3.9rem,5.8vw,5rem)]">
|
|
|
|
|
<span class="block">{$t.auth?.login_page?.headline_first}</span>
|
|
|
|
|
<span class="block bg-gradient-to-r from-primary to-brand-gradient-via bg-clip-text text-transparent">{$t.auth?.login_page?.headline_second}</span>
|
|
|
|
|
<span class="block">{$t.auth?.login_page?.headline_third}</span>
|
|
|
|
|
</h1>
|
|
|
|
|
<p class="mt-5 max-w-[340px] text-sm leading-relaxed text-text-muted sm:text-base lg:mt-7 lg:max-w-[370px] lg:leading-7">{$t.auth?.login_page?.intro_short}</p>
|
|
|
|
|
|
|
|
|
|
<div class="mt-10 hidden flex-wrap items-center gap-2 lg:flex">
|
|
|
|
|
<span class="inline-flex items-center gap-2 rounded-full border border-border/80 bg-surface-card/50 px-3 py-2 text-xs text-text-muted"><Icon name="translate" size={14} class="text-primary/80" />{$t.auth?.login_page?.translation}</span>
|
|
|
|
|
<span class="inline-flex items-center gap-2 rounded-full border border-border/80 bg-surface-card/50 px-3 py-2 text-xs text-text-muted"><Icon name="check" size={14} class="text-primary/80" />{$t.auth?.login_page?.validation}</span>
|
|
|
|
|
<span class="inline-flex items-center gap-2 rounded-full border border-border/80 bg-surface-card/50 px-3 py-2 text-xs text-text-muted"><Icon name="layers" size={14} class="text-primary/80" />{$t.auth?.login_page?.migration}</span>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<svg class="pointer-events-none absolute -bottom-32 -left-14 -z-10 hidden h-64 w-[560px] max-w-[calc(100%+3.5rem)] text-primary/10 lg:block" viewBox="0 0 560 256" fill="none" aria-hidden="true">
|
|
|
|
|
<path d="M0 170h110c44 0 58-82 106-82h100c46 0 70 58 116 58h128" stroke="currentColor" />
|
|
|
|
|
<path d="M0 204h74c66 0 82-150 154-150h90c58 0 92 128 150 128h92" stroke="currentColor" />
|
|
|
|
|
<circle cx="216" cy="88" r="5" fill="currentColor" />
|
|
|
|
|
<circle cx="432" cy="146" r="5" fill="currentColor" />
|
|
|
|
|
<circle cx="318" cy="54" r="4" fill="currentColor" />
|
|
|
|
|
</svg>
|
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
<section class="login-panel" aria-labelledby="login-heading">
|
|
|
|
|
<div class="panel-topline"><span>{$t.auth?.login_page?.identity_check}</span><span class="topline-status"><i></i> {$t.auth?.login_page?.secure}</span></div>
|
|
|
|
|
<div class="panel-heading">
|
|
|
|
|
<p class="panel-kicker">{$t.auth?.login_page?.welcome_back}</p>
|
|
|
|
|
<h2 id="login-heading">{$t.auth?.login}</h2>
|
|
|
|
|
<p>{$t.auth?.login_page?.subtitle}</p>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
{#if error}
|
|
|
|
|
<div class="error-message" role="alert">
|
|
|
|
|
<span class="error-icon">!</span>
|
|
|
|
|
<span>{error}</span>
|
|
|
|
|
</div>
|
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
|
|
<form onsubmit={(event) => { event.preventDefault(); handleLogin(); }} class="login-form">
|
|
|
|
|
<div class="field-group">
|
|
|
|
|
<label for="username">{$t.admin?.users?.username}</label>
|
|
|
|
|
<div class="input-shell">
|
|
|
|
|
<span class="field-icon" aria-hidden="true">@</span>
|
|
|
|
|
<input type="text" id="username" bind:value={username} autocomplete="username" placeholder={$t.auth?.login_page?.username_placeholder} required />
|
|
|
|
|
<section class="min-w-0" aria-labelledby="login-heading">
|
|
|
|
|
<Card padding="none" class="overflow-hidden !rounded-3xl border-border/90 bg-surface-card/90 shadow-2xl shadow-surface-overlay">
|
|
|
|
|
<div class="h-px bg-gradient-to-r from-transparent via-primary/50 to-transparent" aria-hidden="true"></div>
|
|
|
|
|
<div class="p-6 sm:p-9">
|
|
|
|
|
<div class="mb-6 hidden h-11 w-11 items-center justify-center rounded-2xl border border-primary/20 bg-primary/10 text-primary sm:flex" aria-hidden="true">
|
|
|
|
|
<svg width="21" height="21" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round">
|
|
|
|
|
<rect x="5" y="10" width="14" height="11" rx="3" /><path d="M8 10V7a4 4 0 0 1 8 0v3m-4 5v2" />
|
|
|
|
|
</svg>
|
|
|
|
|
</div>
|
|
|
|
|
<h2 id="login-heading" class="text-[26px] font-medium leading-tight tracking-[-.025em] sm:text-[30px]">{$t.auth?.login_page?.welcome_back}</h2>
|
|
|
|
|
<p class="mb-7 mt-2 text-sm leading-relaxed text-text-muted">{$t.auth?.login_page?.subtitle}</p>
|
|
|
|
|
|
|
|
|
|
{#if error}
|
|
|
|
|
<div class="mb-5 flex items-start gap-2.5 rounded-xl border border-destructive/35 bg-destructive-light/70 p-3 text-sm leading-relaxed text-destructive" role="alert">
|
|
|
|
|
<Icon name="error" size={18} class="mt-0.5 shrink-0" />
|
|
|
|
|
<span class="min-w-0 break-words">{error}</span>
|
|
|
|
|
</div>
|
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
|
|
<form onsubmit={(event) => { event.preventDefault(); handleLogin(); }} class="grid gap-5" aria-busy={loading}>
|
|
|
|
|
<div>
|
|
|
|
|
<label for="username" class="mb-2 block text-[13px] font-medium text-text-muted">{$t.admin?.users?.username}</label>
|
|
|
|
|
<div class="relative">
|
|
|
|
|
<span class="pointer-events-none absolute left-4 top-1/2 z-10 -translate-y-1/2 text-text-subtle"><Icon name="user" size={18} /></span>
|
|
|
|
|
<Input type="text" id="username" bind:value={username} autocomplete="username" placeholder={$t.auth?.login_page?.username_placeholder} required class="h-[52px] rounded-xl border-border/90 bg-surface-page/60 pl-11 !text-base transition-colors focus-visible:border-primary focus-visible:ring-1 focus-visible:ring-offset-0 sm:!text-sm" />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div>
|
|
|
|
|
<label for="password" class="mb-2 block text-[13px] font-medium text-text-muted">{$t.admin?.users?.password}</label>
|
|
|
|
|
<div class="relative">
|
|
|
|
|
<svg class="pointer-events-none absolute left-4 top-1/2 z-10 h-[18px] w-[18px] -translate-y-1/2 text-text-subtle" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
|
|
|
|
|
<rect x="5" y="10" width="14" height="11" rx="3" /><path d="M8 10V7a4 4 0 0 1 8 0v3m-4 5v2" />
|
|
|
|
|
</svg>
|
|
|
|
|
<Input type={showPassword ? 'text' : 'password'} id="password" bind:value={password} autocomplete="current-password" placeholder={$t.auth?.login_page?.password_placeholder} required class="h-[52px] rounded-xl border-border/90 bg-surface-page/60 pl-11 pr-14 !text-base transition-colors focus-visible:border-primary focus-visible:ring-1 focus-visible:ring-offset-0 sm:!text-sm" />
|
|
|
|
|
<Button type="button" variant="ghost" class="absolute right-1 top-1 z-10 h-11 w-11 !rounded-lg !p-0 text-text-muted hover:text-primary focus-visible:ring-offset-0" onclick={() => showPassword = !showPassword} aria-label={showPassword ? $t.auth?.login_page?.hide_password : $t.auth?.login_page?.show_password} aria-pressed={showPassword}>
|
|
|
|
|
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
|
|
|
|
|
<path d="M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7-10-7-10-7Z" /><circle cx="12" cy="12" r="3" />
|
|
|
|
|
{#if showPassword}<path d="m3 3 18 18" />{/if}
|
|
|
|
|
</svg>
|
|
|
|
|
</Button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<Button type="submit" isLoading={loading} class="mt-1 h-[52px] w-full gap-2 rounded-xl bg-primary px-5 text-sm font-semibold !text-text-inverse shadow-lg shadow-primary/10 hover:bg-primary-hover focus-visible:ring-offset-surface-card">
|
|
|
|
|
<span>{loading ? ($t.auth?.logging_in) : ($t.auth?.login)}</span>
|
|
|
|
|
{#if !loading}<Icon name="arrowRight" size={18} />{/if}
|
|
|
|
|
</Button>
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
|
|
{#if adfsConfigured}
|
|
|
|
|
<div class="mt-6">
|
|
|
|
|
<div class="flex items-center gap-3 text-xs text-text-subtle">
|
|
|
|
|
<span class="h-px flex-1 bg-border" aria-hidden="true"></span>
|
|
|
|
|
<span>{$t.auth?.or_continue_with}</span>
|
|
|
|
|
<span class="h-px flex-1 bg-border" aria-hidden="true"></span>
|
|
|
|
|
</div>
|
|
|
|
|
<Button variant="secondary" onclick={handleADFSLogin} class="mt-5 h-12 w-full gap-2 rounded-xl border border-border bg-surface-muted/50 text-xs text-text-muted hover:border-border-strong hover:bg-surface-muted sm:text-sm">
|
|
|
|
|
<Icon name="admin" size={17} class="shrink-0 text-text-muted" />
|
|
|
|
|
{$t.auth?.corporate_sso}
|
|
|
|
|
</Button>
|
|
|
|
|
</div>
|
|
|
|
|
{/if}
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="field-group">
|
|
|
|
|
<label for="password">{$t.admin?.users?.password}</label>
|
|
|
|
|
<div class="input-shell">
|
|
|
|
|
<span class="field-icon lock-icon" aria-hidden="true">*</span>
|
|
|
|
|
<input type={showPassword ? 'text' : 'password'} id="password" bind:value={password} autocomplete="current-password" placeholder={$t.auth?.login_page?.password_placeholder} required />
|
|
|
|
|
<button type="button" class="reveal-button" onclick={() => showPassword = !showPassword} aria-label={showPassword ? $t.auth?.login_page?.hide_password : $t.auth?.login_page?.show_password}>{showPassword ? $t.auth?.login_page?.hide_password_short : $t.auth?.login_page?.show_password_short}</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<Button type="submit" disabled={loading} class="login-button">
|
|
|
|
|
<span>{loading ? ($t.auth?.logging_in) : ($t.auth?.login)}</span>
|
|
|
|
|
{#if !loading}<span class="button-arrow" aria-hidden="true">-></span>{/if}
|
|
|
|
|
</Button>
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
|
|
{#if adfsConfigured}
|
|
|
|
|
<div class="sso-block">
|
|
|
|
|
<div class="divider"><span>{$t.auth?.or_continue_with}</span></div>
|
|
|
|
|
<Button variant="secondary" onclick={handleADFSLogin} class="sso-button">
|
|
|
|
|
<span class="sso-icon" aria-hidden="true">o</span>
|
|
|
|
|
{$t.auth?.corporate_sso}
|
|
|
|
|
</Button>
|
|
|
|
|
</div>
|
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
|
|
<p class="panel-footer"><span class="footer-lock">*</span> {$t.auth?.login_page?.session_encrypted}</p>
|
|
|
|
|
<p class="border-t border-border/70 bg-surface-page/20 px-5 py-4 text-center text-[11px] leading-relaxed text-text-subtle">{$t.auth?.login_page?.access_note}</p>
|
|
|
|
|
</Card>
|
|
|
|
|
</section>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="scene-footer"><span>{$t.auth?.login_page?.operations_console}</span><span>{$t.auth?.login_page?.built_for_clarity}</span></div>
|
|
|
|
|
<footer class="mx-auto flex w-full max-w-[1240px] items-center justify-between gap-4 px-6 pb-6 font-mono text-[10px] tracking-wide text-text-subtle sm:px-10 sm:pb-8 lg:px-14">
|
|
|
|
|
<span>SUPERSET TOOLS</span>
|
|
|
|
|
<span class="hidden sm:inline">{$t.auth?.login_page?.built_for_clarity}</span>
|
|
|
|
|
</footer>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<style>
|
|
|
|
|
.login-scene {
|
|
|
|
|
position: relative;
|
|
|
|
|
min-height: calc(100vh - 2rem);
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
background: #080e1d;
|
|
|
|
|
color: #e9f2ff;
|
|
|
|
|
isolation: isolate;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.scene-grid {
|
|
|
|
|
position: absolute;
|
|
|
|
|
inset: 0;
|
|
|
|
|
opacity: .26;
|
|
|
|
|
background-image: linear-gradient(rgba(111, 166, 203, .1) 1px, transparent 1px), linear-gradient(90deg, rgba(111, 166, 203, .1) 1px, transparent 1px);
|
|
|
|
|
background-size: 56px 56px;
|
|
|
|
|
mask-image: linear-gradient(to bottom, black, transparent 85%);
|
|
|
|
|
z-index: -2;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.scene-glow { position: absolute; border-radius: 999px; filter: blur(80px); opacity: .28; z-index: -1; pointer-events: none; }
|
|
|
|
|
.scene-glow-cyan { width: 38vw; height: 38vw; left: -16vw; top: 14%; background: #0e7490; }
|
|
|
|
|
.scene-glow-violet { width: 30vw; height: 30vw; right: -12vw; bottom: -10%; background: #5b21b6; opacity: .2; }
|
|
|
|
|
.scene-content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 440px); gap: clamp(3rem, 8vw, 8rem); align-items: center; width: min(100%, 1160px); box-sizing: border-box; min-height: calc(100vh - 7rem); margin: 0 auto; padding: 5rem clamp(1.5rem, 6vw, 5rem); }
|
|
|
|
|
|
|
|
|
|
.intro { min-width: 0; max-width: 440px; }
|
|
|
|
|
.brand-mark { position: relative; width: 54px; height: 54px; margin-bottom: 28px; }
|
|
|
|
|
.mark-core { position: absolute; inset: 17px; border-radius: 50%; background: #56e0e0; box-shadow: 0 0 22px #56e0e0; }
|
|
|
|
|
.mark-orbit { position: absolute; inset: 3px; border: 1px solid rgba(86, 224, 224, .45); border-radius: 50%; transform: rotate(45deg) scaleY(.55); }
|
|
|
|
|
.mark-orbit-two { inset: 9px -4px; transform: rotate(-45deg) scaleY(.55); border-color: rgba(177, 132, 255, .55); }
|
|
|
|
|
.eyebrow, .panel-kicker, .panel-topline, .signal-list, .scene-footer { font-family: 'JetBrains Mono', 'Fira Code', monospace; letter-spacing: .12em; }
|
|
|
|
|
.eyebrow { margin: 0 0 22px; color: #77a4bf; font-size: 11px; }
|
|
|
|
|
.eyebrow span { margin-left: 14px; color: #d0a6ff; }
|
|
|
|
|
h1 { max-width: 100%; margin: 0; font-size: clamp(3.4rem, 6vw, 5.8rem); line-height: .94; letter-spacing: 0; font-weight: 500; overflow-wrap: normal; }
|
|
|
|
|
h1 em { color: #62e2df; font-style: normal; }
|
|
|
|
|
.intro-copy { max-width: 360px; margin: 30px 0 0; color: #9ab1c4; font-size: 15px; line-height: 1.7; }
|
|
|
|
|
.signal-list { display: grid; gap: 12px; max-width: 300px; margin-top: 56px; color: #68859b; font-size: 9px; }
|
|
|
|
|
.signal-list div { display: grid; grid-template-columns: 10px 1fr auto; gap: 10px; align-items: center; }
|
|
|
|
|
.signal-list strong { color: #a7c5d4; font-size: 9px; font-weight: 500; }
|
|
|
|
|
.signal-dot { width: 5px; height: 5px; border-radius: 50%; box-shadow: 0 0 10px currentColor; }
|
|
|
|
|
.signal-dot-cyan { color: #56e0e0; background: currentColor; }
|
|
|
|
|
.signal-dot-amber { color: #f4bd69; background: currentColor; }
|
|
|
|
|
.signal-dot-violet { color: #ba8cff; background: currentColor; }
|
|
|
|
|
|
|
|
|
|
.login-panel { width: 100%; min-width: 0; box-sizing: border-box; padding: 30px; border: 1px solid rgba(151, 197, 220, .2); border-radius: 8px; background: rgba(13, 24, 43, .82); box-shadow: 0 24px 90px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .05); backdrop-filter: blur(20px); }
|
|
|
|
|
.panel-topline { display: flex; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid rgba(151, 197, 220, .14); color: #64859c; font-size: 9px; }
|
|
|
|
|
.topline-status { color: #70d9bf; }
|
|
|
|
|
.topline-status i { display: inline-block; width: 5px; height: 5px; margin-right: 6px; border-radius: 50%; background: #70d9bf; box-shadow: 0 0 9px #70d9bf; }
|
|
|
|
|
.panel-heading { padding: 30px 0 26px; }
|
|
|
|
|
.panel-kicker { margin: 0 0 9px; color: #62e2df; font-size: 10px; }
|
|
|
|
|
.panel-heading h2 { margin: 0; color: #f3f8ff; font-size: 34px; font-weight: 500; letter-spacing: 0; }
|
|
|
|
|
.panel-heading p:last-child { margin: 8px 0 0; color: #7894a8; font-size: 13px; }
|
|
|
|
|
.login-form { display: grid; gap: 19px; }
|
|
|
|
|
.field-group label { display: block; margin-bottom: 8px; color: #a9c0cf; font-family: 'JetBrains Mono', 'Fira Code', monospace; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
|
|
|
|
|
.input-shell { display: flex; align-items: center; height: 48px; border: 1px solid #264158; border-radius: 7px; background: rgba(6, 14, 28, .72); transition: border-color .2s, box-shadow .2s; }
|
|
|
|
|
.input-shell:focus-within { border-color: #56d8d5; box-shadow: 0 0 0 3px rgba(86, 216, 213, .1); }
|
|
|
|
|
.input-shell input { min-width: 0; flex: 1; height: 100%; padding: 0 12px; border: 0; outline: 0; background: transparent; color: #ecf7ff; font-size: 14px; }
|
|
|
|
|
.input-shell input::placeholder { color: #496176; }
|
|
|
|
|
.field-icon { width: 42px; color: #56d8d5; text-align: center; font-family: monospace; font-size: 17px; }
|
|
|
|
|
.lock-icon { color: #bd94fa; font-size: 19px; }
|
|
|
|
|
.reveal-button { flex: 0 0 auto; margin-right: 12px; padding: 5px; border: 0; background: transparent; color: #68879d; cursor: pointer; font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: .08em; }
|
|
|
|
|
.reveal-button:hover { color: #62e2df; }
|
|
|
|
|
:global(.login-button) { width: 100%; height: 50px; margin-top: 7px; border-radius: 7px; background: #56d8d5; color: #07141e; font-weight: 700; box-shadow: 0 8px 24px rgba(86, 216, 213, .18); }
|
|
|
|
|
:global(.login-button:hover) { background: #7be9e3; }
|
|
|
|
|
.button-arrow { margin-left: auto; font-size: 19px; line-height: 0; }
|
|
|
|
|
.error-message { display: flex; gap: 9px; align-items: center; margin-bottom: 18px; padding: 11px 12px; border: 1px solid rgba(248, 113, 113, .35); border-radius: 7px; background: rgba(127, 29, 29, .22); color: #fca5a5; font-size: 12px; line-height: 1.4; }
|
|
|
|
|
.error-icon { display: grid; width: 17px; height: 17px; flex: 0 0 auto; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-family: monospace; font-size: 11px; }
|
|
|
|
|
.sso-block { margin-top: 25px; }
|
|
|
|
|
.divider { display: flex; align-items: center; gap: 12px; color: #5d7890; font-family: 'JetBrains Mono', monospace; font-size: 9px; white-space: nowrap; }
|
|
|
|
|
.divider::before, .divider::after { content: ''; height: 1px; flex: 1; background: rgba(151, 197, 220, .14); }
|
|
|
|
|
:global(.sso-button) { width: 100%; height: 46px; margin-top: 18px; border: 1px solid #2c465d; background: rgba(255, 255, 255, .03); color: #b9cad7; }
|
|
|
|
|
:global(.sso-button:hover) { background: rgba(255, 255, 255, .08); }
|
|
|
|
|
.sso-icon { margin-right: 8px; color: #bd94fa; font-size: 18px; }
|
|
|
|
|
.panel-footer { margin: 25px 0 0; color: #526d82; font-size: 10px; text-align: center; }
|
|
|
|
|
.footer-lock { margin-right: 5px; color: #70d9bf; }
|
|
|
|
|
.scene-footer { display: flex; justify-content: space-between; padding: 0 clamp(1.5rem, 6vw, 5rem) 22px; color: #456076; font-size: 9px; }
|
|
|
|
|
|
|
|
|
|
@media (max-width: 1050px) {
|
|
|
|
|
h1 { font-size: clamp(3.2rem, 6vw, 4.8rem); }
|
|
|
|
|
.scene-content { gap: 3rem; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media (max-width: 900px) {
|
|
|
|
|
.login-scene { min-height: calc(100vh - 2rem); border-radius: 8px; }
|
|
|
|
|
.scene-content { display: block; min-height: auto; padding: 3rem 1.25rem 2rem; }
|
|
|
|
|
.intro { margin-bottom: 3rem; }
|
|
|
|
|
.brand-mark { margin-bottom: 20px; }
|
|
|
|
|
h1 { max-width: 100%; font-size: clamp(2.8rem, 11vw, 4.5rem); }
|
|
|
|
|
.intro-copy { margin-top: 22px; }
|
|
|
|
|
.signal-list { display: none; }
|
|
|
|
|
.login-panel { padding: 22px 18px; }
|
|
|
|
|
.scene-footer { padding: 0 1.25rem 16px; font-size: 8px; }
|
|
|
|
|
.scene-footer span:last-child { display: none; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
|
|
|
.input-shell { transition: none; }
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<!-- #endregion Login.Page.LoginPage -->
|
|
|
|
|
|