로그인 화면 디자인 재구성
This commit is contained in:
@@ -11,36 +11,27 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<section id="login-panel" class="login-screen">
|
<section id="login-panel" class="login-screen">
|
||||||
<div class="login-hero">
|
<div class="login-backdrop">
|
||||||
<p class="eyebrow">MH Dashboard</p>
|
<form id="login-form" class="login-card">
|
||||||
<h1>조직도를 기준으로<br>메인 화면을 구성합니다.</h1>
|
<div class="login-brand">
|
||||||
<p class="hero-text">
|
<p class="eyebrow">MH Dash Board</p>
|
||||||
현재는 조직도 모듈이 메인 화면입니다. 이후 다른 기능이 합쳐지더라도
|
<h1>MH Dash Board</h1>
|
||||||
같은 헤더와 같은 화면 체계 안에서 확장될 수 있도록 구조를 먼저 맞춥니다.
|
</div>
|
||||||
</p>
|
|
||||||
<div class="hero-points">
|
|
||||||
<span>API 기반 조직 데이터</span>
|
|
||||||
<span>고정 헤더 구조</span>
|
|
||||||
<span>확장 가능한 메인 레이아웃</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<form id="login-form" class="login-card">
|
<div class="login-form-wrap">
|
||||||
<div class="login-card-head">
|
<label>
|
||||||
<p class="eyebrow">Preview Login</p>
|
<span>사번</span>
|
||||||
<h2>조직도 메인 진입</h2>
|
<input name="username" type="text" placeholder="사번 입력" required>
|
||||||
</div>
|
</label>
|
||||||
<label>
|
<label>
|
||||||
<span>아이디</span>
|
<span>비번</span>
|
||||||
<input name="username" type="text" placeholder="예: admin" required>
|
<input name="password" type="password" placeholder="비밀번호 입력" required>
|
||||||
</label>
|
</label>
|
||||||
<label>
|
<button type="submit">로그인</button>
|
||||||
<span>비밀번호</span>
|
<p id="login-message" class="helper-text"></p>
|
||||||
<input name="password" type="password" placeholder="아무 값이나 입력" required>
|
</div>
|
||||||
</label>
|
</form>
|
||||||
<button type="submit">메인 화면 열기</button>
|
</div>
|
||||||
<p id="login-message" class="helper-text">사내망 시연용 임시 로그인입니다.</p>
|
|
||||||
</form>
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section id="dashboard-panel" class="dashboard-shell hidden">
|
<section id="dashboard-panel" class="dashboard-shell hidden">
|
||||||
|
|||||||
@@ -52,103 +52,96 @@ a {
|
|||||||
|
|
||||||
.login-screen {
|
.login-screen {
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
|
padding: 24px;
|
||||||
|
background:
|
||||||
|
linear-gradient(135deg, rgba(15, 23, 42, 0.42), rgba(30, 41, 59, 0.18)),
|
||||||
|
url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1800&q=80")
|
||||||
|
center center / cover no-repeat;
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-backdrop {
|
||||||
|
min-height: calc(100vh - 48px);
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 1.15fr 0.85fr;
|
place-items: center;
|
||||||
gap: 28px;
|
|
||||||
padding: 32px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.login-hero,
|
.login-card h1,
|
||||||
.login-card {
|
|
||||||
border: 1px solid var(--line);
|
|
||||||
border-radius: 30px;
|
|
||||||
background: var(--panel);
|
|
||||||
box-shadow: var(--shadow);
|
|
||||||
backdrop-filter: blur(14px);
|
|
||||||
}
|
|
||||||
|
|
||||||
.login-hero {
|
|
||||||
padding: 44px;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
justify-content: center;
|
|
||||||
min-height: calc(100vh - 64px);
|
|
||||||
}
|
|
||||||
|
|
||||||
.login-hero h1,
|
|
||||||
.login-card h2,
|
|
||||||
.dashboard-header h2,
|
.dashboard-header h2,
|
||||||
.stage-topline h3 {
|
.stage-topline h3 {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.login-hero h1 {
|
|
||||||
font-size: clamp(2.4rem, 5vw, 4.8rem);
|
|
||||||
line-height: 0.96;
|
|
||||||
letter-spacing: -0.04em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hero-text,
|
|
||||||
.helper-text {
|
|
||||||
color: var(--muted);
|
|
||||||
line-height: 1.7;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hero-text {
|
|
||||||
max-width: 680px;
|
|
||||||
margin: 20px 0 0;
|
|
||||||
font-size: 16px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hero-points {
|
|
||||||
display: flex;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
gap: 12px;
|
|
||||||
margin-top: 28px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hero-points span {
|
|
||||||
padding: 12px 16px;
|
|
||||||
border-radius: 999px;
|
|
||||||
background: #fff;
|
|
||||||
border: 1px solid rgba(79, 70, 229, 0.12);
|
|
||||||
color: #334155;
|
|
||||||
font-size: 13px;
|
|
||||||
font-weight: 800;
|
|
||||||
}
|
|
||||||
|
|
||||||
.login-card {
|
.login-card {
|
||||||
align-self: center;
|
width: min(1240px, 100%);
|
||||||
padding: 28px;
|
min-height: 360px;
|
||||||
display: grid;
|
display: grid;
|
||||||
gap: 16px;
|
grid-template-columns: 1.45fr 0.55fr;
|
||||||
|
overflow: hidden;
|
||||||
|
border: 1px solid rgba(255, 255, 255, 0.14);
|
||||||
|
border-radius: 28px;
|
||||||
|
background: rgba(71, 85, 105, 0.34);
|
||||||
|
box-shadow: 0 28px 80px rgba(15, 23, 42, 0.28);
|
||||||
|
backdrop-filter: blur(18px);
|
||||||
}
|
}
|
||||||
|
|
||||||
.login-card-head {
|
.login-brand {
|
||||||
margin-bottom: 8px;
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: center;
|
||||||
|
padding: 56px 52px;
|
||||||
|
border-right: 1px solid rgba(255, 255, 255, 0.08);
|
||||||
|
background:
|
||||||
|
linear-gradient(90deg, rgba(15, 23, 42, 0.08), rgba(255, 255, 255, 0.02)),
|
||||||
|
linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(15, 23, 42, 0.08));
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-brand .eyebrow {
|
||||||
|
margin-bottom: 14px;
|
||||||
|
color: rgba(255, 255, 255, 0.72);
|
||||||
|
letter-spacing: 0.22em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-brand h1 {
|
||||||
|
font-size: clamp(3rem, 5vw, 4.8rem);
|
||||||
|
line-height: 0.95;
|
||||||
|
letter-spacing: -0.05em;
|
||||||
|
color: #f8fafc;
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-form-wrap {
|
||||||
|
padding: 52px 34px;
|
||||||
|
display: grid;
|
||||||
|
align-content: center;
|
||||||
|
gap: 18px;
|
||||||
|
background: rgba(15, 23, 42, 0.12);
|
||||||
}
|
}
|
||||||
|
|
||||||
.login-card label {
|
.login-card label {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 8px;
|
gap: 8px;
|
||||||
font-size: 13px;
|
font-size: 15px;
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
color: #475569;
|
color: rgba(255, 255, 255, 0.9);
|
||||||
}
|
}
|
||||||
|
|
||||||
.login-card input {
|
.login-card input {
|
||||||
min-height: 52px;
|
min-height: 54px;
|
||||||
border: 1px solid rgba(148, 163, 184, 0.45);
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
||||||
border-radius: 16px;
|
border-radius: 999px;
|
||||||
padding: 14px 16px;
|
padding: 14px 20px;
|
||||||
background: #fff;
|
background: rgba(255, 255, 255, 0.1);
|
||||||
|
color: #f8fafc;
|
||||||
outline: none;
|
outline: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.login-card input::placeholder {
|
||||||
|
color: rgba(226, 232, 240, 0.55);
|
||||||
|
}
|
||||||
|
|
||||||
.login-card input:focus {
|
.login-card input:focus {
|
||||||
border-color: rgba(79, 70, 229, 0.55);
|
border-color: rgba(255, 255, 255, 0.32);
|
||||||
box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
|
box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
|
||||||
}
|
}
|
||||||
|
|
||||||
.login-card button,
|
.login-card button,
|
||||||
@@ -165,15 +158,22 @@ a {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.login-card button {
|
.login-card button {
|
||||||
margin-top: 8px;
|
margin-top: 6px;
|
||||||
border: none;
|
border: none;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
background: var(--accent);
|
background: rgba(31, 41, 55, 0.82);
|
||||||
|
box-shadow: 0 14px 30px rgba(15, 23, 42, 0.22);
|
||||||
}
|
}
|
||||||
|
|
||||||
.helper-text {
|
.helper-text {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
min-height: 20px;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
|
color: rgba(248, 250, 252, 0.8);
|
||||||
|
}
|
||||||
|
|
||||||
|
.helper-text:empty {
|
||||||
|
visibility: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dashboard-shell {
|
.dashboard-shell {
|
||||||
@@ -346,12 +346,25 @@ a {
|
|||||||
|
|
||||||
@media (max-width: 980px) {
|
@media (max-width: 980px) {
|
||||||
.login-screen {
|
.login-screen {
|
||||||
grid-template-columns: 1fr;
|
padding: 16px;
|
||||||
padding: 20px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.login-hero {
|
.login-backdrop {
|
||||||
min-height: auto;
|
min-height: calc(100vh - 32px);
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-card {
|
||||||
|
grid-template-columns: 1fr;
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-brand {
|
||||||
|
padding: 40px 28px 20px;
|
||||||
|
border-right: 0;
|
||||||
|
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-form-wrap {
|
||||||
|
padding: 28px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user