Custom Tooltip-System: eigenes Tooltip statt Browser-Standard, 200ms Delay, bevorzugt oben, individuelle Tooltips pro Git-Badge

This commit is contained in:
Meleki committed 2026-02-28 23:46:34 +01:00
1 parent 6b7df138de
commit c3812fbf2b
4 files changed
+153 -10

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
.tooltip {
position: fixed;
z-index: 10000;
max-width: 320px;
padding: .4em .7em;
background: var(--f1-bg);
color: var(--text);
border: var(--border-width) solid var(--f3-border);
border-radius: var(--border-radius);
font-size: .85em;
line-height: 1.4;
pointer-events: none;
opacity: 0;
transition: opacity 120ms;
white-space: pre-line;
}
.tooltip.visible {
opacity: 1;
}