style: improve Ralph panel mini ring gradient and meta layout

- Add gradient definition to mini ring SVG so it shows colors when
  collapsed (was only defined in large ring)
- Change meta items to row layout so "Waiting for" and completion
  phrase are inline
- Reduce font sizes for completion phrase and elapsed time
- Add text overflow handling for long completion phrases

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
arkon
2026-01-20 20:00:57 +01:00
co-authored by Claude Opus 4.5
parent 6fddd7d895
commit 141bb40eb4
2 changed files with 28 additions and 6 deletions
+21 -5
View File
@@ -503,6 +503,16 @@ body {
transition: stroke-dashoffset 0.5s ease-out;
}
.ralph-ring-progress-mini {
fill: none;
stroke: url(#ralphGradientMini);
stroke-width: 3;
stroke-linecap: round;
stroke-dasharray: 100;
stroke-dashoffset: 100;
transition: stroke-dashoffset 0.5s ease-out;
}
.ralph-ring-text {
position: absolute;
top: 50%;
@@ -640,21 +650,27 @@ body {
.ralph-meta-compact .ralph-meta-item {
display: flex;
flex-direction: column;
gap: 0;
flex-direction: row;
align-items: center;
gap: 0.4rem;
}
.ralph-meta-compact .ralph-meta-label {
font-size: 0.6rem;
white-space: nowrap;
}
.ralph-meta-compact code {
font-size: 0.7rem;
padding: 0.15rem 0.4rem;
font-size: 0.55rem;
padding: 0.1rem 0.3rem;
max-width: 180px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.ralph-meta-compact span:not(.ralph-meta-label) {
font-size: 0.8rem;
font-size: 0.6rem;
}
/* Compact Tasks Section */