Headless Login 데모 앱 초기 구현 및 Mock API 구축
This commit is contained in:
177
public/styles.css
Normal file
177
public/styles.css
Normal file
@@ -0,0 +1,177 @@
|
||||
:root {
|
||||
color: #132238;
|
||||
background:
|
||||
radial-gradient(circle at top, rgba(180, 202, 224, 0.45), transparent 35%),
|
||||
linear-gradient(180deg, #edf3f8 0%, #f7fafc 100%);
|
||||
font-family: 'Segoe UI', 'Noto Sans KR', sans-serif;
|
||||
line-height: 1.5;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
min-width: 320px;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
button,
|
||||
input {
|
||||
font: inherit;
|
||||
}
|
||||
|
||||
.app-shell {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
min-height: 100vh;
|
||||
padding: 48px 24px;
|
||||
}
|
||||
|
||||
.login-panel {
|
||||
width: min(100%, 560px);
|
||||
padding: 40px;
|
||||
border: 1px solid rgba(84, 111, 138, 0.18);
|
||||
border-radius: 28px;
|
||||
background: rgba(255, 255, 255, 0.9);
|
||||
box-shadow: 0 32px 80px rgba(32, 55, 79, 0.12);
|
||||
}
|
||||
|
||||
.panel-heading h1 {
|
||||
margin: 0;
|
||||
font-size: clamp(2rem, 3vw, 2.8rem);
|
||||
line-height: 1.05;
|
||||
}
|
||||
|
||||
.panel-heading p {
|
||||
margin: 12px 0 0;
|
||||
color: #516b86;
|
||||
}
|
||||
|
||||
.login-form {
|
||||
display: grid;
|
||||
gap: 16px;
|
||||
margin-top: 28px;
|
||||
}
|
||||
|
||||
.field {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.field label {
|
||||
color: #1c3954;
|
||||
font-size: 0.96rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.text-input {
|
||||
width: 100%;
|
||||
padding: 16px 18px;
|
||||
border: 1px solid rgba(96, 123, 149, 0.24);
|
||||
border-radius: 18px;
|
||||
background: #fdfefe;
|
||||
color: #132238;
|
||||
transition: all 160ms ease;
|
||||
}
|
||||
|
||||
.text-input:focus {
|
||||
outline: none;
|
||||
border-color: #2f5f8f;
|
||||
box-shadow: 0 0 0 4px rgba(93, 137, 181, 0.14);
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
.input-hint {
|
||||
margin: 0;
|
||||
min-height: 24px;
|
||||
color: #5c748d;
|
||||
font-size: 0.95rem;
|
||||
}
|
||||
|
||||
.primary-button {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-height: 54px;
|
||||
padding: 0 20px;
|
||||
border: 0;
|
||||
border-radius: 18px;
|
||||
background: linear-gradient(180deg, #214e77 0%, #15395b 100%);
|
||||
color: #f8fbff;
|
||||
font-weight: 700;
|
||||
cursor: pointer;
|
||||
box-shadow: 0 20px 40px rgba(22, 57, 92, 0.24);
|
||||
transition: all 160ms ease;
|
||||
}
|
||||
|
||||
.primary-button:hover:not(:disabled) {
|
||||
transform: translateY(-1px);
|
||||
box-shadow: 0 24px 44px rgba(22, 57, 92, 0.3);
|
||||
}
|
||||
|
||||
.primary-button:disabled {
|
||||
cursor: not-allowed;
|
||||
opacity: 0.54;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.status-card,
|
||||
.success-panel {
|
||||
margin-top: 24px;
|
||||
padding: 20px 22px;
|
||||
border-radius: 22px;
|
||||
border: 1px solid rgba(96, 123, 149, 0.18);
|
||||
}
|
||||
|
||||
.status-card {
|
||||
background: #f6f9fb;
|
||||
}
|
||||
|
||||
.status-card strong {
|
||||
display: block;
|
||||
margin-bottom: 8px;
|
||||
color: #18334d;
|
||||
}
|
||||
|
||||
.status-card p,
|
||||
.success-panel p {
|
||||
margin: 0;
|
||||
color: #5a738d;
|
||||
}
|
||||
|
||||
.success-panel {
|
||||
background: linear-gradient(180deg, #f3f8f5 0%, #edf5ef 100%);
|
||||
border-color: rgba(66, 131, 92, 0.18);
|
||||
}
|
||||
|
||||
.success-label {
|
||||
margin-bottom: 8px;
|
||||
color: #38694a;
|
||||
font-size: 0.78rem;
|
||||
font-weight: 800;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.success-panel h3 {
|
||||
margin: 0 0 8px;
|
||||
color: #12301f;
|
||||
font-size: 1.4rem;
|
||||
}
|
||||
|
||||
.hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.app-shell {
|
||||
padding: 24px 16px;
|
||||
}
|
||||
|
||||
.login-panel {
|
||||
padding: 28px 22px;
|
||||
border-radius: 24px;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user