Improve detail event display

This commit is contained in:
Kiyomichi Kosaka
2025-06-20 13:41:48 +02:00
parent 3f7a343b17
commit 26cfa8b868
3 changed files with 71 additions and 22 deletions
+7 -7
View File
@@ -441,11 +441,11 @@
.event-box, .event-line {
position: absolute;
left: var(--scale-width);
background: rgba(255,0,255,0.4);
border: 1px solid rgba(0,255,255,0.7);
background: var(--bg-color, rgba(255,0,255,0.4));
border: 1px solid var(--border-color, rgba(0,255,255,0.7));
border-radius: 4px;
padding: 2px 4px;
color: #fff;
color: var(--text-color, #fff);
font-size: 0.75em;
overflow: visible;
white-space: nowrap;
@@ -476,15 +476,15 @@
left: 50%;
transform: translate(-50%, -2px);
margin-bottom: 2px;
background: rgba(255,0,255,0.5);
border: 1px solid rgba(0,255,255,0.8);
background: var(--bg-color, rgba(255,0,255,0.5));
border: 1px solid var(--border-color, rgba(0,255,255,0.8));
border-radius: 4px;
padding: 2px 6px;
white-space: nowrap;
color: #fff;
color: var(--text-color, #fff);
font-size: 0.75em;
font-weight: 600;
text-shadow: 0 0 4px #ff00ff;
text-shadow: 0 0 4px var(--border-color, #ff00ff);
z-index: 4;
}