forked from xziino/ff14-mitigator
312 lines
7.8 KiB
CSS
312 lines
7.8 KiB
CSS
/* ── Planner Layout ──────────────────────────────────────────────────────────── */
|
|
.planner-layout {
|
|
display: grid;
|
|
grid-template-columns: 280px 1fr;
|
|
gap: 16px;
|
|
align-items: start;
|
|
}
|
|
|
|
/* ── Plan Sidebar ────────────────────────────────────────────────────────────── */
|
|
.plan-sidebar {
|
|
background: var(--bgcard);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--rl);
|
|
padding: 18px;
|
|
position: sticky;
|
|
top: 74px;
|
|
}
|
|
|
|
.plan-sidebar-header {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-bottom: 14px;
|
|
}
|
|
.plan-sidebar-header .card-title { margin-bottom: 0; flex: 1; }
|
|
|
|
.plan-new-form {
|
|
background: var(--bg2);
|
|
border: 1px solid var(--borderem);
|
|
border-radius: var(--r);
|
|
padding: 10px;
|
|
margin-bottom: 12px;
|
|
}
|
|
.plan-new-form input {
|
|
margin-bottom: 8px;
|
|
font-size: 14px;
|
|
padding: 6px 10px;
|
|
}
|
|
.plan-new-actions {
|
|
display: flex;
|
|
gap: 6px;
|
|
}
|
|
|
|
.plan-list-empty {
|
|
font-size: 13px;
|
|
color: var(--t3);
|
|
text-align: center;
|
|
padding: 24px 0;
|
|
}
|
|
|
|
/* ── Plan Item ───────────────────────────────────────────────────────────────── */
|
|
.plan-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 9px 10px;
|
|
border-radius: var(--r);
|
|
border: 1px solid transparent;
|
|
cursor: pointer;
|
|
transition: all 0.12s;
|
|
margin-bottom: 4px;
|
|
}
|
|
.plan-item:hover { background: var(--bg2); border-color: var(--border); }
|
|
.plan-item.active { background: var(--bg2); border-color: var(--gold); }
|
|
|
|
.plan-item-info { flex: 1; min-width: 0; }
|
|
|
|
.plan-item-name {
|
|
font-size: 14px;
|
|
color: var(--t1);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.plan-item.active .plan-item-name { color: var(--gold); }
|
|
|
|
.plan-item-meta {
|
|
font-size: 12px;
|
|
color: var(--t3);
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.plan-item-actions {
|
|
display: flex;
|
|
gap: 4px;
|
|
flex-shrink: 0;
|
|
opacity: 0;
|
|
transition: opacity 0.12s;
|
|
}
|
|
.plan-item:hover .plan-item-actions { opacity: 1; }
|
|
|
|
.plan-btn {
|
|
background: none;
|
|
border: 1px solid var(--borderem);
|
|
border-radius: var(--r);
|
|
color: var(--t2);
|
|
font-size: 13px;
|
|
padding: 2px 7px;
|
|
cursor: pointer;
|
|
transition: all 0.12s;
|
|
line-height: 1.6;
|
|
}
|
|
.plan-btn:hover { background: var(--bg3); color: var(--t1); }
|
|
.plan-btn.plan-btn-danger { color: var(--red); border-color: rgba(224,92,92,0.3); }
|
|
.plan-btn.plan-btn-danger:hover { background: var(--redbg); }
|
|
|
|
/* ── Plan Detail ─────────────────────────────────────────────────────────────── */
|
|
.plan-detail-header {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 5px;
|
|
}
|
|
|
|
.plan-name-wrap {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.plan-name-text {
|
|
font-family: var(--font-d);
|
|
font-size: 18px;
|
|
color: var(--gold);
|
|
letter-spacing: 0.04em;
|
|
}
|
|
|
|
.plan-name-input {
|
|
font-size: 18px !important;
|
|
font-family: var(--font-d) !important;
|
|
padding: 2px 8px !important;
|
|
width: auto !important;
|
|
min-width: 200px;
|
|
color: var(--gold) !important;
|
|
}
|
|
|
|
.plan-detail-meta {
|
|
font-size: 13px;
|
|
color: var(--t3);
|
|
}
|
|
|
|
/* ── Job Slots Placeholder ───────────────────────────────────────────────────── */
|
|
.job-slots-placeholder {
|
|
padding: 20px;
|
|
text-align: center;
|
|
color: var(--t3);
|
|
font-size: 13px;
|
|
background: var(--bg2);
|
|
border: 1px dashed var(--border);
|
|
border-radius: var(--r);
|
|
}
|
|
|
|
/* ── Mechanic Cards ──────────────────────────────────────────────────────────── */
|
|
.mechanic-card {
|
|
display: grid;
|
|
grid-template-columns: 52px 1fr;
|
|
gap: 14px;
|
|
padding: 12px 0;
|
|
border-bottom: 1px solid var(--border);
|
|
align-items: start;
|
|
}
|
|
.mechanic-card:last-child { border-bottom: none; }
|
|
|
|
.mechanic-time {
|
|
font-family: var(--font-d);
|
|
font-size: 14px;
|
|
color: var(--gold);
|
|
letter-spacing: 0.03em;
|
|
padding-top: 3px;
|
|
}
|
|
|
|
.mechanic-body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.mechanic-phase {
|
|
font-size: 11px;
|
|
color: var(--blue);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.07em;
|
|
}
|
|
|
|
.mechanic-name {
|
|
font-size: 15px;
|
|
color: var(--t1);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.mechanic-dmg {
|
|
font-size: 13px;
|
|
color: var(--t2);
|
|
}
|
|
|
|
.mechanic-assignments {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 4px;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.mechanic-no-assign {
|
|
font-size: 12px;
|
|
color: var(--t3);
|
|
}
|
|
|
|
.badge-assign {
|
|
background: var(--bg2);
|
|
border: 1px solid var(--borderem);
|
|
border-radius: var(--r);
|
|
padding: 2px 8px;
|
|
font-size: 12px;
|
|
color: var(--t2);
|
|
}
|
|
.badge-assign-buff { background: rgba(200,168,75,.08); border-color: rgba(200,168,75,.4); color: var(--gold); }
|
|
.badge-assign-debuff { background: rgba(224,92,92,.08); border-color: rgba(224,92,92,.4); color: var(--red); }
|
|
.badge-assign-shield { background: rgba(74,158,255,.08); border-color: rgba(74,158,255,.4); color: var(--blue); }
|
|
|
|
.mechanic-notes {
|
|
font-size: 12px;
|
|
color: var(--t3);
|
|
font-style: italic;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
/* ── Import Modal ────────────────────────────────────────────────────────────── */
|
|
.modal-overlay {
|
|
position: fixed;
|
|
inset: 0;
|
|
background: rgba(0, 0, 0, 0.72);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 200;
|
|
padding: 20px;
|
|
}
|
|
|
|
.modal-box {
|
|
background: var(--bgcard);
|
|
border: 1px solid var(--borderem);
|
|
border-radius: var(--rl);
|
|
padding: 28px 32px;
|
|
max-width: 480px;
|
|
width: 100%;
|
|
}
|
|
|
|
.modal-title {
|
|
font-family: var(--font-d);
|
|
font-size: 15px;
|
|
color: var(--gold);
|
|
letter-spacing: 0.07em;
|
|
text-transform: uppercase;
|
|
margin-bottom: 22px;
|
|
}
|
|
|
|
.modal-section {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.modal-label {
|
|
font-size: 12px;
|
|
color: var(--t2);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.06em;
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
.modal-radio-label {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
color: var(--t1);
|
|
user-select: none;
|
|
}
|
|
/* Override global input styles that break radio button layout */
|
|
.modal-radio-label input[type="radio"] {
|
|
width: auto;
|
|
min-width: 0;
|
|
padding: 0;
|
|
background: none;
|
|
border: none;
|
|
border-radius: 0;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.modal-subsection {
|
|
margin-left: 24px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
}
|
|
.modal-subsection input,
|
|
.modal-subsection select {
|
|
font-size: 14px;
|
|
padding: 6px 10px;
|
|
}
|
|
|
|
.modal-hint {
|
|
font-size: 12px;
|
|
color: var(--t3);
|
|
}
|
|
|
|
.modal-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
margin-top: 6px;
|
|
}
|