2026-05-28 10:51:50 +02:00
|
|
|
/* ── Item tooltip — "technical sheet" ─────────────────────────────────────── */
|
|
|
|
|
/* */
|
2026-05-30 09:41:56 +02:00
|
|
|
/* Absolutely overlays `.search-slot` in the top-bar. The search bar stays in */
|
|
|
|
|
/* place underneath; only the tooltip's opacity is animated, so there is no */
|
|
|
|
|
/* second element to keep in sync and no display:none flicker between rapid */
|
|
|
|
|
/* hover transitions. RTL just works (inset:0). */
|
2026-05-28 10:51:50 +02:00
|
|
|
/* */
|
2026-05-30 09:41:56 +02:00
|
|
|
/* 3-column CSS grid: [icon] [label] [value] */
|
|
|
|
|
/* All values start at the same x position regardless of label width. */
|
2026-05-28 10:51:50 +02:00
|
|
|
|
|
|
|
|
.path-tooltip {
|
2026-05-30 09:41:56 +02:00
|
|
|
/* Cover the search slot, sit above it (later in DOM order). */
|
|
|
|
|
position: absolute;
|
|
|
|
|
inset: 0;
|
|
|
|
|
/* Opaque background so the search bar underneath is fully masked. */
|
|
|
|
|
background-color: var(--color-bg-surface);
|
2026-05-28 10:51:50 +02:00
|
|
|
|
|
|
|
|
display: grid;
|
|
|
|
|
grid-template-columns: 1em max-content 1fr;
|
|
|
|
|
column-gap: 0.6em;
|
2026-06-15 00:17:17 +02:00
|
|
|
row-gap: var(--space-1-5);
|
2026-05-28 10:51:50 +02:00
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
|
|
color: var(--color-text-muted);
|
2026-06-15 00:17:17 +02:00
|
|
|
font-size: var(--text-xs);
|
2026-05-28 10:51:50 +02:00
|
|
|
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
2026-05-30 09:41:56 +02:00
|
|
|
/* Show instantly. The hide direction (.hidden) overrides this with a
|
|
|
|
|
1s delay so the tooltip lingers after the mouse leaves an item;
|
|
|
|
|
rapid item-to-item moves cancel the pending fade before it fires. */
|
|
|
|
|
opacity: 1;
|
|
|
|
|
transition: opacity 0.2s ease 0s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Hidden state — override the global `.hidden { display:none !important }`
|
|
|
|
|
so we can fade with opacity instead of snapping to display:none. */
|
|
|
|
|
.path-tooltip.hidden {
|
|
|
|
|
display: grid !important;
|
|
|
|
|
opacity: 0;
|
|
|
|
|
transition-delay: 1s;
|
2026-05-28 10:51:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Icon column */
|
|
|
|
|
.path-tooltip__icon {
|
|
|
|
|
color: var(--color-text-faint);
|
|
|
|
|
font-size: 0.7rem;
|
|
|
|
|
text-align: center;
|
|
|
|
|
justify-self: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Label column */
|
|
|
|
|
.path-tooltip__label {
|
2026-06-15 00:17:17 +02:00
|
|
|
font-weight: var(--weight-semibold);
|
2026-05-28 10:51:50 +02:00
|
|
|
color: var(--color-text-secondary);
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.path-tooltip__label::after {
|
2026-05-28 11:55:18 +02:00
|
|
|
content: ":";
|
2026-05-28 10:51:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Value column */
|
|
|
|
|
.path-tooltip__value {
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
min-width: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Path value uses monospace to read folder separators clearly */
|
|
|
|
|
.path-tooltip__value--path {
|
|
|
|
|
font-family: monospace;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* "?" placeholder when data is absent */
|
|
|
|
|
.path-tooltip__value--unknown {
|
|
|
|
|
color: var(--color-text-faint);
|
|
|
|
|
font-style: italic;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* ── Vignette inside tooltip ─────────────────────────────────────────────── */
|
|
|
|
|
/* The vignette name hard-codes 14px; scale it down to match the tooltip. */
|
|
|
|
|
|
|
|
|
|
.path-tooltip .user-vignette {
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
min-width: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.path-tooltip .user-vignette__name {
|
2026-06-15 00:17:17 +02:00
|
|
|
font-size: var(--text-xs);
|
2026-05-28 10:51:50 +02:00
|
|
|
}
|