Files
MH-DashBoard-organization/frontend/public/styles.css
2026-03-25 11:54:52 +09:00

354 lines
6.2 KiB
CSS

:root {
--bg: #f1f5f9;
--bg-strong: #e2e8f0;
--panel: rgba(255, 255, 255, 0.92);
--line: rgba(148, 163, 184, 0.35);
--text: #0f172a;
--muted: #64748b;
--header: #1e293b;
--accent: #4f46e5;
--accent-soft: #e0e7ff;
--shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
}
* {
box-sizing: border-box;
}
html,
body {
margin: 0;
min-height: 100%;
font-family: "Pretendard", sans-serif;
color: var(--text);
background:
radial-gradient(circle at top left, rgba(79, 70, 229, 0.12), transparent 22%),
radial-gradient(circle at bottom right, rgba(148, 163, 184, 0.18), transparent 28%),
var(--bg);
}
body {
min-height: 100vh;
}
button,
input,
a {
font: inherit;
}
.hidden {
display: none !important;
}
.eyebrow {
margin: 0 0 10px;
color: var(--accent);
font-size: 11px;
font-weight: 900;
letter-spacing: 0.16em;
text-transform: uppercase;
}
.login-screen {
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;
place-items: center;
}
.login-card h1,
.dashboard-header h2,
.stage-topline h3 {
margin: 0;
}
.login-card {
width: min(640px, 100%);
min-height: 210px;
display: grid;
grid-template-columns: 1.3fr 0.7fr;
overflow: hidden;
border: 1px solid rgba(255, 255, 255, 0.14);
border-radius: 22px;
background: rgba(71, 85, 105, 0.34);
box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24);
backdrop-filter: blur(14px);
}
.login-brand {
display: flex;
flex-direction: column;
justify-content: center;
padding: 30px 30px;
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: 10px;
color: rgba(255, 255, 255, 0.72);
font-size: 10px;
letter-spacing: 0.18em;
}
.login-brand h1 {
font-size: clamp(1.7rem, 3.2vw, 2.5rem);
line-height: 0.96;
letter-spacing: -0.04em;
color: #f8fafc;
}
.login-form-wrap {
padding: 24px 20px;
display: grid;
align-content: center;
gap: 10px;
background: rgba(15, 23, 42, 0.12);
}
.login-card label {
display: flex;
flex-direction: column;
gap: 4px;
font-size: 11px;
font-weight: 800;
color: rgba(255, 255, 255, 0.9);
}
.login-card input {
min-height: 34px;
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 999px;
padding: 8px 14px;
background: rgba(255, 255, 255, 0.1);
color: #f8fafc;
font-size: 11px;
outline: none;
}
.login-card input::placeholder {
color: rgba(226, 232, 240, 0.55);
}
.login-card input:focus {
border-color: rgba(255, 255, 255, 0.32);
box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}
.login-card button,
.ghost-button,
.stage-link {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 48px;
border-radius: 14px;
font-weight: 800;
text-decoration: none;
cursor: pointer;
}
.login-card button {
margin-top: 2px;
border: none;
color: #fff;
background: rgba(31, 41, 55, 0.82);
box-shadow: 0 14px 30px rgba(15, 23, 42, 0.22);
min-height: 34px;
border-radius: 999px;
font-size: 11px;
}
.helper-text {
margin: 0;
min-height: 16px;
font-size: 10px;
color: rgba(248, 250, 252, 0.8);
}
.helper-text:empty {
visibility: hidden;
}
.dashboard-shell {
min-height: 100vh;
display: flex;
flex-direction: column;
}
.dashboard-header {
min-height: 88px;
background: rgba(30, 41, 59, 0.96);
color: #fff;
border-bottom: 1px solid rgba(148, 163, 184, 0.2);
display: grid;
grid-template-columns: auto 1fr auto;
align-items: center;
gap: 20px;
padding: 18px 26px;
position: sticky;
top: 0;
z-index: 50;
backdrop-filter: blur(16px);
}
.dashboard-header .eyebrow {
color: #a5b4fc;
margin-bottom: 6px;
}
.header-center {
display: flex;
justify-content: center;
gap: 10px;
flex-wrap: wrap;
}
.nav-pill {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 40px;
padding: 0 16px;
border-radius: 999px;
border: 1px solid rgba(255, 255, 255, 0.1);
background: rgba(255, 255, 255, 0.08);
color: #e2e8f0;
font-size: 13px;
font-weight: 800;
}
.nav-pill.active {
background: var(--accent);
border-color: transparent;
color: #fff;
box-shadow: 0 10px 24px rgba(79, 70, 229, 0.3);
}
.nav-pill.muted {
color: #94a3b8;
}
.header-actions {
display: flex;
align-items: center;
gap: 12px;
}
.status-badge,
.user-badge {
display: inline-flex;
align-items: center;
min-height: 40px;
padding: 0 14px;
border-radius: 999px;
font-size: 12px;
font-weight: 800;
}
.status-badge {
background: rgba(79, 70, 229, 0.18);
color: #c7d2fe;
}
.user-badge {
background: rgba(255, 255, 255, 0.1);
color: #fff;
}
.ghost-button {
border: 1px solid rgba(255, 255, 255, 0.16);
background: transparent;
color: #fff;
padding: 0 16px;
}
.dashboard-main {
flex: 1;
min-height: calc(100vh - 88px);
padding: 14px;
}
.main-stage {
height: calc(100vh - 116px);
display: flex;
flex-direction: column;
}
.stage-frame {
flex: 1;
min-height: 0;
border-radius: 28px;
border: 1px solid rgba(148, 163, 184, 0.26);
background: rgba(255, 255, 255, 0.85);
box-shadow: var(--shadow);
overflow: hidden;
}
.stage-frame iframe {
width: 100%;
height: 100%;
border: 0;
background: #fff;
}
@media (max-width: 1180px) {
.dashboard-header {
grid-template-columns: 1fr;
align-items: flex-start;
}
.header-center {
justify-content: flex-start;
}
.header-actions {
flex-wrap: wrap;
}
}
@media (max-width: 980px) {
.login-screen {
padding: 16px;
}
.login-backdrop {
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;
}
}
@media (max-width: 720px) {
.dashboard-main {
padding: 10px;
}
.main-stage {
height: calc(100vh - 108px);
}
}