memlnaut-nisps/src/components/visual/heatmap-strip.css

135 lines
2.4 KiB
CSS
Raw Normal View History

/* ---- Heatmap strip (top) — interactive bars ---- */
.heatmap-strip {
position: fixed;
top: 0;
left: 0;
right: 0;
height: 22px;
z-index: 20;
background: rgba(13, 13, 13, 0.5);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
display: flex;
align-items: flex-end;
padding: 2px 4px;
}
.heatmap-cells {
display: flex;
flex-direction: row;
flex: 1;
height: 16px;
gap: 1px;
border-radius: 3px;
overflow: hidden;
align-items: stretch;
}
.heatmap-cell {
flex: 1;
min-width: 0;
position: relative;
cursor: pointer;
height: 16px;
background: rgba(255, 255, 255, 0.04);
overflow: hidden;
}
.heatmap-cell.dragging {
cursor: ew-resize;
}
.heatmap-cell-bar {
height: 100%;
border-radius: 0 1px 1px 0;
transition: width 0.15s;
pointer-events: none;
}
.heatmap-cell:hover .heatmap-cell-bar {
filter: brightness(1.3);
}
.heatmap-tooltip {
position: fixed;
top: 32px;
padding: 4px 10px;
background: rgba(0, 0, 0, 0.85);
border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.12));
border-radius: 6px;
font-size: 12px;
color: var(--text, #e0e0e8);
pointer-events: none;
opacity: 0;
transition: opacity 0.15s;
z-index: 25;
white-space: nowrap;
}
.heatmap-tooltip.visible {
opacity: 1;
}
/* Param popup */
.param-popup {
position: fixed;
z-index: 30;
background: rgba(13, 13, 20, 0.92);
border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.12));
border-radius: 8px;
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
padding: 10px 12px;
min-width: 200px;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}
.param-popup-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 8px;
}
.param-popup-name {
font-size: 12px;
font-weight: 600;
color: #fff;
}
.param-popup-value {
font-size: 11px;
color: var(--accent, #00d4ff);
font-variant-numeric: tabular-nums;
}
.param-popup-close {
background: none;
border: none;
color: #888;
font-size: 16px;
cursor: pointer;
padding: 0 2px;
line-height: 1;
}
.param-popup-close:hover {
color: #fff;
}
.param-popup-bar {
width: 100%;
height: 6px;
background: rgba(255, 255, 255, 0.08);
border-radius: 3px;
margin-top: 6px;
position: relative;
overflow: hidden;
}
.param-popup-bar-fill {
height: 100%;
border-radius: 3px;
transition: width 0.15s;
}