Dual-layer text on progress bars: dark text on bar, light text on track (JDownloader style)
Build and Release / build (push) Has been cancelled
Build and Release / build (push) Has been cancelled
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
578d050926
commit
c07c0fbdf7
+42
-8
@@ -669,18 +669,36 @@ body,
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 10px;
|
||||
font-weight: 600;
|
||||
font-weight: 700;
|
||||
font-variant-numeric: tabular-nums;
|
||||
color: var(--text);
|
||||
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
|
||||
color: var(--muted);
|
||||
white-space: nowrap;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.progress-size-text-filled {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 10px;
|
||||
font-weight: 700;
|
||||
font-variant-numeric: tabular-nums;
|
||||
color: #0a0f1a;
|
||||
white-space: nowrap;
|
||||
z-index: 2;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.progress-size-small {
|
||||
height: 14px;
|
||||
}
|
||||
|
||||
.progress-size-small .progress-size-text {
|
||||
.progress-size-small .progress-size-text,
|
||||
.progress-size-small .progress-size-text-filled {
|
||||
font-size: 9px;
|
||||
}
|
||||
|
||||
@@ -714,16 +732,32 @@ body,
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
color: var(--text);
|
||||
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
|
||||
font-weight: 700;
|
||||
color: var(--muted);
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.progress-inline-text-filled {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 11px;
|
||||
font-weight: 700;
|
||||
color: #0a0f1a;
|
||||
z-index: 2;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.progress-inline-small {
|
||||
height: 14px;
|
||||
}
|
||||
|
||||
.progress-inline-small .progress-inline-text {
|
||||
.progress-inline-small .progress-inline-text,
|
||||
.progress-inline-small .progress-inline-text-filled {
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user