feat: update time tooltip.
Some checks failed
Build and Push Docker Image / buildx (push) Has been cancelled

This commit is contained in:
2025-11-11 16:42:49 +08:00
parent 7bc3e10b52
commit 96042461f9
4 changed files with 248 additions and 14 deletions

View File

@@ -575,6 +575,37 @@ header h1 {
color: white;
}
/* Custom tooltip for modification time */
.tooltip {
position: fixed;
background: #333;
color: white;
padding: 8px 12px;
border-radius: 6px;
font-size: 12px;
z-index: 10001;
white-space: nowrap;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
pointer-events: none;
opacity: 0;
transition: opacity 0.2s ease;
}
.tooltip.show {
opacity: 1;
}
.tooltip::after {
content: '';
position: absolute;
top: 100%;
left: 50%;
margin-left: -6px;
border-width: 6px;
border-style: solid;
border-color: #333 transparent transparent transparent;
}
@media (max-width: 768px) {
.container {
padding: 20px;