ff14-mitigator/css/layout.css
xziino d792d5b718 Initial commit: FFLogs mitigation analyzer
Two-tab app: report viewer + analysis tab with AoE timeline,
per-player mitigation icons (local XIVAPI PNGs), and fight-wide
buff/debuff window tracking.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-20 10:42:38 +02:00

171 lines
4.6 KiB
CSS

/* ── App Shell ──────────────────────────────────────────────────────────────── */
#app {
display: flex;
flex-direction: column;
min-height: 100vh;
}
/* ── Topbar ─────────────────────────────────────────────────────────────────── */
#topbar {
display: flex;
align-items: center;
gap: 16px;
padding: 0 20px;
height: 52px;
background: var(--bg1);
border-bottom: 1px solid var(--border);
position: sticky;
top: 0;
z-index: 100;
flex-shrink: 0;
}
.logo {
font-family: var(--font-d);
font-size: 15px;
color: var(--gold);
letter-spacing: 0.05em;
white-space: nowrap;
}
.logo span {
font-family: var(--font-b);
font-size: 11px;
color: var(--t3);
margin-left: 8px;
font-weight: 400;
}
/* ── Tabs ───────────────────────────────────────────────────────────────────── */
.tabs {
display: flex;
gap: 2px;
margin-left: auto;
}
.tab {
padding: 5px 14px;
border: none;
background: transparent;
color: var(--t2);
font-size: 13px;
cursor: pointer;
border-radius: var(--r);
font-family: var(--font-b);
transition: all 0.15s;
border-bottom: 2px solid transparent;
}
.tab:hover { background: var(--bg3); color: var(--t1); }
.tab.active { background: var(--bg3); color: var(--gold); border-bottom-color: var(--gold); }
/* ── Main content ───────────────────────────────────────────────────────────── */
#main {
flex: 1;
padding: 20px;
max-width: 1360px;
margin: 0 auto;
width: 100%;
}
/* ── Two-column panel layout (timeline + detail) ────────────────────────────── */
.panel-layout {
display: grid;
grid-template-columns: 1fr 360px;
gap: 16px;
align-items: start;
}
@media (max-width: 900px) {
.panel-layout { grid-template-columns: 1fr; }
}
/* ── Form helpers ───────────────────────────────────────────────────────────── */
.form-row {
display: flex;
gap: 10px;
align-items: flex-end;
flex-wrap: wrap;
}
.fg {
display: flex;
flex-direction: column;
gap: 5px;
flex: 1;
min-width: 120px;
}
.fg label {
font-size: 11px;
color: var(--t2);
}
/* ── Topbar user badge ───────────────────────────────────────────────────────── */
.topbar-user {
margin-left: auto;
font-size: 12px;
color: var(--t2);
white-space: nowrap;
}
/* ── Login Overlay ───────────────────────────────────────────────────────────── */
#login-overlay {
position: fixed;
inset: 0;
background: var(--bg0);
display: flex;
align-items: center;
justify-content: center;
z-index: 999;
padding: 20px;
}
.login-card {
background: var(--bgcard);
border: 1px solid var(--borderem);
border-radius: var(--rl);
padding: 48px 40px;
max-width: 420px;
width: 100%;
text-align: center;
}
.login-logo {
font-family: var(--font-d);
font-size: 18px;
color: var(--gold);
letter-spacing: 0.06em;
margin-bottom: 6px;
}
.login-logo span {
display: block;
font-family: var(--font-b);
font-size: 11px;
color: var(--t3);
font-weight: 400;
margin-top: 4px;
letter-spacing: 0;
}
.login-desc {
font-size: 13px;
color: var(--t2);
line-height: 1.7;
margin: 24px 0 20px;
}
.btn-login {
width: 100%;
justify-content: center;
padding: 11px 20px;
font-size: 14px;
font-family: var(--font-d);
letter-spacing: 0.04em;
text-decoration: none;
}
.login-hint {
font-size: 11px;
color: var(--t3);
line-height: 1.6;
margin-top: 16px;
}