ff14-mitigator/css/planner.css
Akurosia Kamo 1dfc727940 add missing boss skills by event or by time
add a recheck if delete of boss action is really wanted
toogle boss action to be a tankbuster or not
2026-05-24 10:23:59 +02:00

1189 lines
28 KiB
CSS

/* ── Planner Layout ──────────────────────────────────────────────────────────── */
.planner-layout {
display: grid;
grid-template-columns: 280px 1fr;
gap: 16px;
align-items: start;
min-width: 0;
}
#plan-detail-panel,
#plan-content {
min-width: 0;
}
/* ── 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 ────────────────────────────────────────────────────────────────── */
.job-slots-grid {
display: flex;
gap: 8px;
}
.job-slot {
flex: 1;
min-width: 0;
}
.job-slot select {
width: 100%;
font-size: 13px;
padding: 5px 6px;
border-left: 2px solid var(--border);
}
.job-slot--tank select { border-left-color: var(--blue); }
.job-slot--healer select { border-left-color: var(--green); }
.job-slot--dps select { border-left-color: rgba(200,168,75,.5); }
/* ── Job Slot Player Names ───────────────────────────────────────────────────── */
.job-slot-name {
font-size: 11px;
color: var(--t2);
text-align: center;
margin-top: 3px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 100%;
}
/* ── Name Import Modal ───────────────────────────────────────────────────────── */
.name-import-input-row {
display: flex;
gap: 8px;
}
.name-import-input-row input { flex: 1; }
.name-import-preview {
background: var(--bg2);
border: 1px solid var(--border);
border-radius: var(--r);
overflow: hidden;
margin-bottom: 4px;
max-height: 300px;
overflow-y: auto;
}
.name-import-row {
display: flex;
align-items: center;
gap: 10px;
padding: 6px 12px;
border-bottom: 1px solid var(--border);
}
.name-import-row:last-child { border-bottom: none; }
.name-import-name {
font-size: 14px;
color: var(--t1);
flex: 1;
}
.name-import-name--none {
font-size: 13px;
color: var(--t3);
font-style: italic;
flex: 1;
}
.name-import-disambig {
flex: 1;
font-size: 13px;
padding: 3px 6px;
}
/* ── Mechanic Cards ──────────────────────────────────────────────────────────── */
.mechanic-card {
display: grid;
grid-template-columns: 52px 1fr auto;
gap: 14px;
padding: 12px 6px;
border-bottom: 1px solid var(--border);
align-items: start;
cursor: pointer;
transition: background 0.12s;
border-radius: var(--r);
margin: 0 -6px;
}
.mechanic-card:last-child { border-bottom: none; }
.mechanic-card:hover { background: var(--bg2); }
.mechanic-delete-btn {
opacity: 0;
transition: opacity 0.12s;
margin-top: 2px;
}
.mechanic-card:hover .mechanic-delete-btn { opacity: 1; }
.mechanic-edit-hint {
font-size: 11px;
color: var(--t3);
margin-top: 2px;
opacity: 0;
transition: opacity 0.12s;
}
.mechanic-card:hover .mechanic-edit-hint { opacity: 1; }
.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-avg-hp {
font-size: 12px;
color: var(--t3);
margin-left: 6px;
}
.mechanic-mitig-row { margin-top: -2px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.mechanic-mitig-shield { font-size: 12px; color: var(--t3); }
.mechanic-mitig-val { font-weight: 500; }
.mechanic-mitig--ok { color: var(--green); }
.mechanic-mitig--risk { color: var(--red); }
.mechanic-assignments {
display: flex;
flex-wrap: wrap;
gap: 4px;
margin-top: 2px;
align-items: flex-start;
}
.mechanic-no-assign {
font-size: 12px;
color: var(--t3);
}
.badge-assign {
display: inline-flex;
align-items: center;
gap: 5px;
background: var(--bg2);
border: 1px solid var(--borderem);
border-radius: var(--r);
padding: 4px 10px;
font-size: 13px;
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); }
.badge-assign--missing-job {
border-style: dashed;
opacity: 0.55;
}
.badge-icon {
width: 20px;
height: 20px;
object-fit: contain;
flex-shrink: 0;
}
.badge-remove {
background: none;
border: none;
color: inherit;
padding: 0;
margin-left: 2px;
cursor: pointer;
font-size: 13px;
line-height: 1;
opacity: 0;
transition: opacity 0.12s;
}
.badge-assign:hover .badge-remove { opacity: 0.6; }
.badge-remove:hover { opacity: 1 !important; }
.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;
}
/* ── Ability Assignment Modal ────────────────────────────────────────────────── */
.ability-modal-box {
max-width: 640px;
max-height: 80vh;
overflow-y: auto;
}
.ability-job-group {
margin-bottom: 14px;
}
.ability-job-label {
display: flex;
align-items: center;
gap: 6px;
margin-bottom: 6px;
}
.ability-chips {
display: flex;
flex-wrap: wrap;
gap: 6px;
}
.ability-chip {
display: inline-flex;
align-items: center;
gap: 5px;
background: none;
border: 1px solid var(--borderem);
border-radius: var(--r);
padding: 4px 10px;
font-size: 12px;
color: var(--t2);
cursor: pointer;
transition: all 0.12s;
}
.ability-chip:hover { background: var(--bg3); color: var(--t1); }
.ability-chip.badge-assign-buff.ability-chip--active { background: rgba(200,168,75,.18); border-color: rgba(200,168,75,.6); color: var(--gold); }
.ability-chip.badge-assign-debuff.ability-chip--active { background: rgba(224,92,92,.18); border-color: rgba(224,92,92,.6); color: var(--red); }
.ability-chip.badge-assign-shield.ability-chip--active { background: rgba(74,158,255,.18); border-color: rgba(74,158,255,.6); color: var(--blue); }
.ability-chip--other-job { opacity: 0.45; }
/* ── Equivalents hint ────────────────────────────────────────────────────────── */
.badge-with-hint {
display: inline-flex;
flex-direction: column;
align-items: flex-start;
gap: 2px;
}
.badge-equiv-hint {
font-size: 11px;
color: var(--green);
white-space: nowrap;
padding: 0 2px;
cursor: default;
}
.badge-no-equiv-hint {
font-size: 11px;
color: var(--red);
white-space: nowrap;
padding: 0 2px;
cursor: default;
}
.badge-job-hint {
font-size: 11px;
color: var(--t3);
white-space: nowrap;
padding: 0 2px;
cursor: default;
font-style: italic;
}
/* ── Info Panel ──────────────────────────────────────────────────────────────── */
.planner-info-panel {
margin-top: 14px;
padding-top: 14px;
border-top: 1px solid var(--border);
}
.info-section { margin-bottom: 12px; }
.info-section:last-child { margin-bottom: 0; }
.info-section-title {
font-size: 11px;
color: var(--t3);
text-transform: uppercase;
letter-spacing: 0.06em;
margin-bottom: 8px;
}
.info-legend-items {
display: flex;
flex-direction: column;
gap: 5px;
}
.info-legend-row {
display: flex;
align-items: center;
gap: 8px;
}
.info-legend-dot {
width: 10px;
height: 10px;
border-radius: 2px;
flex-shrink: 0;
}
.info-legend-dot--buff { background: rgba(200,168,75,.8); }
.info-legend-dot--debuff { background: var(--red); }
.info-legend-dot--shield { background: var(--blue); }
.info-legend-label {
font-size: 12px;
color: var(--t2);
}
.info-section--warnings { margin-top: 12px; }
.info-warning {
font-size: 12px;
padding: 3px 0;
}
.info-warning--job { color: var(--t2); }
.info-warning--missing { color: var(--red); }
.info-section--extra { margin-top: 12px; }
.info-extra-row {
display: flex;
align-items: center;
gap: 8px;
}
.info-extra-label {
font-size: 12px;
color: var(--t2);
flex: 1;
}
.info-extra-input-wrap {
display: flex;
align-items: center;
gap: 4px;
}
.info-extra-input {
width: 52px;
font-size: 13px;
padding: 3px 6px;
text-align: right;
}
.info-extra-unit {
font-size: 12px;
color: var(--t3);
}
/* ── Folder Sidebar ──────────────────────────────────────────────────────────── */
.folder-section { margin-bottom: 2px; }
.folder-row {
display: flex;
align-items: center;
gap: 6px;
padding: 7px 10px;
border-radius: var(--r);
cursor: pointer;
transition: background 0.12s;
user-select: none;
}
.folder-row:hover { background: var(--bg2); }
.folder-chevron {
font-size: 9px;
color: var(--t3);
transition: transform 0.15s;
display: inline-block;
width: 10px;
flex-shrink: 0;
}
.folder-chevron.open { transform: rotate(90deg); }
.folder-name-text {
font-size: 13px;
color: var(--t1);
font-weight: 500;
flex: 1;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.folder-name-input {
font-size: 13px !important;
padding: 2px 6px !important;
flex: 1;
width: auto !important;
min-width: 80px;
}
.folder-count {
font-size: 11px;
color: var(--t3);
background: var(--bg3);
border-radius: 10px;
padding: 1px 6px;
flex-shrink: 0;
}
.folder-actions {
display: flex;
gap: 4px;
flex-shrink: 0;
opacity: 0;
transition: opacity 0.12s;
}
.folder-row:hover .folder-actions { opacity: 1; }
.folder-plans { padding-left: 10px; }
.folder-plans.collapsed { display: none; }
.folder-empty {
font-size: 12px;
color: var(--t3);
padding: 5px 10px;
font-style: italic;
}
/* ── Folder Picker Dropdown ──────────────────────────────────────────────────── */
.folder-picker {
background: var(--bgcard);
border: 1px solid var(--borderem);
border-radius: var(--r);
box-shadow: 0 4px 16px rgba(0,0,0,0.5);
min-width: 160px;
overflow: hidden;
}
.folder-picker-option {
padding: 7px 14px;
font-size: 13px;
color: var(--t2);
cursor: pointer;
transition: background 0.1s;
white-space: nowrap;
}
.folder-picker-option:hover { background: var(--bg2); color: var(--t1); }
.folder-picker-option.active { color: var(--gold); }
/* ── Planner Timeline ───────────────────────────────────────────────────────── */
.timeline-hint {
font-size: 12px;
color: var(--t3);
}
.timeline-empty,
.timeline-settings-empty {
font-size: 13px;
color: var(--t3);
padding: 12px 0;
}
.timeline-scroll {
overflow-x: auto;
overflow-y: hidden;
border: 1px solid var(--border);
background: var(--bg1);
max-width: 100%;
width: 100%;
cursor: grab;
user-select: none;
}
.timeline-scroll--dragging {
cursor: grabbing;
}
.timeline-grid {
width: calc(180px + var(--timeline-width));
display: grid;
grid-template-columns: 180px var(--timeline-width);
}
.timeline-row,
.timeline-axis {
display: grid;
grid-template-columns: 180px var(--timeline-width);
min-height: 38px;
grid-column: 1 / -1;
}
.timeline-row-label {
display: flex;
align-items: center;
gap: 8px;
padding: 0 10px;
background: var(--bgcard);
border-right: 1px solid var(--border);
border-bottom: 1px solid var(--border);
font-size: 12px;
color: var(--t2);
min-width: 0;
position: sticky;
left: 0;
z-index: 8;
box-shadow: 8px 0 12px rgba(0,0,0,.18);
}
.timeline-boss-row {
min-height: var(--boss-row-height, 52px);
}
.timeline-boss-row .timeline-row-label {
color: var(--gold);
font-weight: 600;
z-index: 9;
}
.timeline-boss-label {
border-top: none;
border-left: none;
border-radius: 0;
cursor: pointer;
font: inherit;
text-align: left;
width: 100%;
}
.timeline-boss-label:hover {
background: rgba(200,168,75,.08);
}
.timeline-track,
.timeline-axis-track {
position: relative;
min-height: inherit;
border-bottom: 1px solid var(--border);
background:
repeating-linear-gradient(
to right,
transparent 0,
transparent 79px,
rgba(255,255,255,0.07) 80px
);
}
.timeline-hit-line {
position: absolute;
top: 0;
bottom: 0;
width: 1px;
transform: translateX(-50%);
background: rgba(200,168,75,.38);
pointer-events: none;
z-index: 1;
}
.timeline-hit-line--tankbuster {
width: 2px;
background: rgba(177,112,255,.62);
}
.timeline-player-row .timeline-track {
background-color: rgba(255,255,255,0.015);
}
.timeline-job {
width: 36px;
text-align: center;
border-radius: 3px;
padding: 2px 0;
font-size: 11px;
flex-shrink: 0;
}
.timeline-player-name {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.timeline-row-ability {
display: flex;
align-items: center;
gap: 4px;
min-width: 0;
overflow: hidden;
}
.timeline-row-ability-icon {
width: 14px;
height: 14px;
flex-shrink: 0;
border-radius: 2px;
}
.timeline-row-ability-name {
font-size: 11px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.timeline-player-row--job-start .timeline-row-label,
.timeline-player-row--job-start .timeline-track {
border-top: 1px solid var(--border);
}
.timeline-player-row--drop-ok .timeline-track {
background-color: rgba(88,180,116,.08);
}
.timeline-player-row--drop-bad .timeline-track {
background-color: rgba(224,92,92,.08);
}
.timeline-boss-action {
position: absolute;
top: 8px;
transform: translateX(-50%);
max-width: 150px;
padding: 5px 8px;
border: 1px solid rgba(224,92,92,.35);
border-radius: var(--r);
background: rgba(224,92,92,.14);
color: var(--t1);
font-size: 12px;
cursor: pointer;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
z-index: 3;
}
.timeline-boss-action:hover {
border-color: rgba(224,92,92,.7);
background: rgba(224,92,92,.22);
}
.timeline-boss-action--tankbuster {
border-color: rgba(177,112,255,.55);
background: rgba(177,112,255,.18);
color: #dbc7ff;
}
.timeline-boss-action--tankbuster:hover {
border-color: rgba(177,112,255,.85);
background: rgba(177,112,255,.28);
}
.timeline-mitigation {
position: absolute;
top: 6px;
width: var(--cd-width);
min-width: 28px;
height: 26px;
display: flex;
align-items: center;
gap: 4px;
padding: 0 6px;
border: 1px solid var(--borderem);
border-radius: var(--r);
background: var(--bg2);
color: var(--t1);
font-size: 11px;
cursor: grab;
z-index: 4;
overflow: hidden;
}
.timeline-mitigation-active { display: none; }
.timeline-mitigation:active { cursor: grabbing; }
.timeline-mitigation.selected {
outline: 2px solid var(--gold);
outline-offset: 1px;
}
.timeline-mitigation--candidate {
border-style: dashed;
opacity: 0.78;
}
.timeline-mitigation img {
width: 18px;
height: 18px;
object-fit: contain;
flex-shrink: 0;
position: relative;
z-index: 1;
}
.timeline-mitigation span {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
position: relative;
z-index: 1;
}
.timeline-mitigation .timeline-mitigation-active {
z-index: 0;
}
.timeline-mitigation--buff {
border-color: rgba(200,168,75,.5);
color: var(--gold);
background: linear-gradient(to right, rgba(200,168,75,.30) 0%, rgba(200,168,75,.30) var(--active-width), rgba(200,168,75,.06) var(--active-width), rgba(200,168,75,.06) 100%);
}
.timeline-mitigation--debuff {
border-color: rgba(224,92,92,.5);
color: var(--red);
background: linear-gradient(to right, rgba(224,92,92,.30) 0%, rgba(224,92,92,.30) var(--active-width), rgba(224,92,92,.06) var(--active-width), rgba(224,92,92,.06) 100%);
}
.timeline-mitigation--shield {
border-color: rgba(74,158,255,.5);
color: var(--blue);
background: linear-gradient(to right, rgba(74,158,255,.30) 0%, rgba(74,158,255,.30) var(--active-width), rgba(74,158,255,.06) var(--active-width), rgba(74,158,255,.06) 100%);
}
.timeline-drag-preview {
position: absolute;
top: 6px;
width: var(--cd-width);
min-width: 28px;
height: 26px;
display: flex;
align-items: center;
gap: 4px;
padding: 0 6px;
border: 1px solid rgba(200,168,75,.85);
border-radius: var(--r);
background: linear-gradient(to right, rgba(200,168,75,.42) 0%, rgba(200,168,75,.42) var(--active-width), rgba(200,168,75,.14) var(--active-width), rgba(200,168,75,.14) 100%);
color: var(--gold);
font-size: 11px;
pointer-events: none;
z-index: 6;
box-shadow: 0 0 0 1px rgba(0,0,0,.25), 0 0 16px rgba(200,168,75,.18);
overflow: hidden;
}
.timeline-drag-preview::before {
content: "";
position: absolute;
left: 0;
top: -6px;
bottom: -6px;
width: 1px;
background: var(--gold);
box-shadow: 0 0 10px rgba(200,168,75,.55);
}
.timeline-drag-preview--bad {
border-color: rgba(224,92,92,.85);
background: rgba(224,92,92,.18);
color: var(--red);
}
.timeline-drag-preview--bad::before {
background: var(--red);
box-shadow: 0 0 10px rgba(224,92,92,.55);
}
.timeline-drag-preview img {
width: 18px;
height: 18px;
object-fit: contain;
flex-shrink: 0;
position: relative;
z-index: 1;
}
.timeline-drag-preview span {
position: relative;
z-index: 1;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.timeline-drag-preview-active {
position: absolute !important;
left: 0;
top: 0;
bottom: 0;
width: var(--active-width);
background: currentColor;
opacity: .20;
z-index: 0 !important;
}
.timeline-axis {
min-height: 28px;
}
.timeline-axis-track {
border-bottom: none;
}
.timeline-tick {
position: absolute;
top: 6px;
transform: translateX(-50%);
font-size: 11px;
color: var(--t3);
}
.timeline-settings-panel {
display: flex;
align-items: end;
flex-wrap: wrap;
gap: 10px;
margin-top: 12px;
padding-top: 12px;
border-top: 1px solid var(--border);
}
.timeline-settings-title {
font-size: 13px;
color: var(--t1);
font-weight: 600;
width: 100%;
}
.timeline-settings-meta {
font-size: 12px;
color: var(--t3);
width: 100%;
margin-top: -6px;
}
.timeline-settings-panel label {
display: flex;
flex-direction: column;
gap: 4px;
font-size: 11px;
color: var(--t3);
text-transform: uppercase;
letter-spacing: 0.04em;
}
.timeline-setting-input {
width: 86px !important;
font-size: 13px !important;
padding: 5px 7px !important;
}
.timeline-context-menu {
position: fixed;
z-index: 300;
min-width: 190px;
max-width: 280px;
max-height: min(520px, calc(100vh - 24px));
overflow-y: auto;
padding: 5px;
border: 1px solid var(--borderem);
border-radius: var(--r);
background: var(--bgcard);
box-shadow: 0 10px 24px rgba(0,0,0,0.45);
}
.timeline-menu-item {
width: 100%;
display: flex;
align-items: center;
gap: 7px;
padding: 7px 9px;
border: none;
border-radius: 4px;
background: transparent;
color: var(--t2);
font-size: 12px;
text-align: left;
cursor: pointer;
}
.timeline-menu-item:hover {
background: var(--bg2);
color: var(--t1);
}
.timeline-menu-item.disabled,
.timeline-menu-item:disabled {
opacity: 0.38;
cursor: not-allowed;
}
.timeline-menu-header:disabled {
opacity: 1;
padding-top: 9px;
padding-bottom: 4px;
color: var(--gold);
font-size: 11px;
font-weight: 700;
letter-spacing: 0.05em;
text-transform: uppercase;
cursor: default;
}
.timeline-menu-header:hover {
background: transparent;
color: var(--gold);
}
.timeline-menu-item img {
width: 18px;
height: 18px;
object-fit: contain;
flex-shrink: 0;
}
.timeline-menu-item span {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.timeline-menu-empty {
padding: 8px 10px;
color: var(--t3);
font-size: 12px;
}
@media (max-width: 980px) {
.planner-layout {
grid-template-columns: 1fr;
}
.plan-sidebar {
position: static;
}
}