mirror of
https://github.com/forkless/Piperless.git
synced 2026-08-22 02:38:39 +02:00
feat(dashboard): add horizontal storage usage bar with percentage
This commit is contained in:
@@ -108,3 +108,32 @@
|
||||
.piperless-dash-info-storage {
|
||||
border-left: 4px solid #2271b1;
|
||||
}
|
||||
|
||||
/* ── Storage usage bar ─────────────────────────────────────────────────── */
|
||||
.piperless-dash-info-body {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.piperless-dash-bar {
|
||||
width: 100%;
|
||||
height: 6px;
|
||||
background: #dcdcde;
|
||||
border-radius: 3px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.piperless-dash-bar-fill {
|
||||
height: 100%;
|
||||
background: #2271b1;
|
||||
border-radius: 3px;
|
||||
transition: width 0.3s ease;
|
||||
}
|
||||
|
||||
.piperless-dash-bar-label {
|
||||
font-size: 11px;
|
||||
color: #757575;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user