Files
healer-man/src/ui/dpsMeter.css
T
2026-09-12 21:14:41 -04:00

43 lines
2.6 KiB
CSS

.dps-meter {
position: absolute;
z-index: 12;
bottom: max(32px, env(safe-area-inset-bottom));
left: max(14px, env(safe-area-inset-left));
width: min(var(--dps-meter-width, 230px), calc(100% - 28px));
max-height: 220px;
overflow: auto;
padding: 8px;
border: 1px solid var(--edge, #536344);
border-radius: 6px;
background: rgba(5, 17, 12, .9);
color: var(--ink, #ece5d0);
font-size: 11px;
font-variant-numeric: tabular-nums;
pointer-events: auto;
}
.dps-meter > header { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.dps-meter > header strong { color: var(--gold, #d5c28b); font: bold 13px Georgia, serif; }
.dps-meter > header small { flex: 1; color: var(--muted, #a4b69a); font-size: 10px; }
.dps-meter > header span { font-size: 10px; }
.dps-meter > p { margin: 4px 0; color: var(--muted, #a4b69a); font-size: 10px; }
.dps-meter > ol { display: grid; gap: 3px; margin: 0; padding: 0; list-style: none; }
.dps-meter li { position: relative; display: flex; align-items: center; gap: 8px; min-height: 20px; padding: 2px 5px; overflow: hidden; border-radius: 3px; background: #ffffff06; }
.dps-meter li > i { position: absolute; inset: 0 auto 0 0; background: var(--dps-color); opacity: .3; }
.dps-meter li > span { position: relative; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dps-meter li > b { position: relative; font-size: 10px; }
.dps-meter > footer { display: flex; justify-content: space-between; gap: 5px; margin-top: 6px; color: var(--muted, #a4b69a); font-size: 9px; }
.dps-meter > footer b { color: var(--ink, #ece5d0); white-space: nowrap; }
.editable-hud--editing:has(> .dps-meter) { padding-top: 24px; }
.dps-meter--compact { position: relative; inset: auto; width: min(var(--dps-meter-width, 230px), 100%); max-height: 150px; padding: 5px; font-size: 8px; }
.dps-meter--compact > header { gap: 5px; margin-bottom: 3px; }
.dps-meter--compact > header strong { font-size: 10px; }
.dps-meter--compact > header :is(small, span), .dps-meter--compact > p { font-size: 7px; }
.dps-meter--compact > ol { gap: 2px; }
.dps-meter--compact li { min-height: 13px; padding: 1px 4px; }
.dps-meter--compact li > b { font-size: 7px; }
.dps-meter--compact > footer { margin-top: 3px; font-size: 6px; }
.companion-tactical__overview { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 6px; min-width: 0; min-height: 0; }
.companion-tactical__overview > .companion-map-card { grid-template-columns: minmax(0, 1fr) 110px; min-height: 0; }
.ui-layout-editor__dps { padding: 5px 0; }
.ui-layout-editor__dps input[type="range"] { flex: 1; min-width: 0; }