Files
MH-DashBoard-organization/frontend/public/styles.css
2026-03-25 13:01:21 +09:00

393 lines
6.8 KiB
CSS

.hidden {
display: none !important;
}
.eyebrow {
margin: 0 0 10px;
color: var(--color-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: var(--radius-lg);
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: 68px;
background: rgba(255, 255, 255, 0.94);
color: var(--color-text);
border-bottom: 1px solid #d7dee8;
display: flex;
align-items: center;
justify-content: space-between;
padding: 10px 22px;
position: sticky;
top: 0;
z-index: 50;
backdrop-filter: blur(12px);
}
.brand-block,
.header-actions {
position: relative;
z-index: 2;
}
.dashboard-header .eyebrow {
color: var(--color-accent);
margin-bottom: 2px;
}
.dashboard-header h2 {
font-size: 28px;
line-height: 1;
letter-spacing: -0.04em;
color: var(--color-text);
}
.header-center {
position: absolute;
left: 50%;
transform: translateX(-50%);
display: inline-flex;
justify-content: center;
gap: 8px;
flex-wrap: nowrap;
white-space: nowrap;
z-index: 1;
}
.nav-pill {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 34px;
padding: 0 14px;
border-radius: 999px;
border: 1px solid #dbe2ea;
background: #f8fafc;
color: var(--color-text-muted);
font-size: 12px;
font-weight: 800;
cursor: pointer;
transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.nav-pill.active {
background: var(--color-accent);
border-color: transparent;
color: #fff;
box-shadow: 0 10px 20px rgba(79, 70, 229, 0.2);
}
.nav-pill.muted {
color: #64748b;
}
.nav-pill:hover {
transform: translateY(-1px);
border-color: #c7d2fe;
box-shadow: 0 8px 18px rgba(148, 163, 184, 0.16);
}
.header-actions {
display: flex;
align-items: center;
gap: 6px;
}
.ghost-button {
min-height: 34px;
border: 1px solid #dbe2ea;
background: #fff;
color: var(--color-text);
padding: 0 12px;
border-radius: 999px;
font-size: 11px;
font-weight: 800;
}
.ghost-button-soft {
background: #f8fafc;
}
.user-chip {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 0 10px;
}
.user-chip-icon {
display: inline-flex;
align-items: center;
justify-content: center;
width: 18px;
height: 18px;
border-radius: 50%;
background: #e2e8f0;
color: #475569;
font-size: 10px;
font-weight: 900;
flex: 0 0 auto;
}
.user-chip-text {
display: flex;
align-items: baseline;
gap: 6px;
white-space: nowrap;
}
.user-chip-text strong,
.user-chip-text em {
font-size: 11px;
font-style: normal;
}
.user-chip-text strong {
color: var(--color-text);
}
.user-chip-text em {
color: var(--color-text-muted);
}
.icon-button {
width: 34px;
padding: 0;
justify-content: center;
}
.icon-button svg {
width: 15px;
height: 15px;
stroke: currentColor;
stroke-width: 1.9;
fill: none;
stroke-linecap: round;
stroke-linejoin: round;
}
.dashboard-main {
flex: 1;
min-height: calc(100vh - 68px);
padding: 0;
}
.main-stage {
height: calc(100vh - 68px);
display: flex;
flex-direction: column;
}
.stage-frame {
flex: 1;
min-height: 0;
overflow: hidden;
}
.stage-frame iframe {
width: 100%;
height: 100%;
border: 0;
background: #fff;
}
.stage-empty {
flex: 1;
min-height: 0;
background: transparent;
}
@media (max-width: 1180px) {
.dashboard-header {
flex-wrap: wrap;
justify-content: space-between;
}
.header-center {
position: static;
transform: none;
order: 3;
width: 100%;
justify-content: flex-start;
margin-top: 8px;
overflow-x: auto;
}
.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: 0;
}
.main-stage {
height: calc(100vh - 68px);
}
}