diff --git a/app/static/index.html b/app/static/index.html index e206bae..871b4ab 100644 --- a/app/static/index.html +++ b/app/static/index.html @@ -343,113 +343,46 @@ box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); } - /* Storage Cylinder Chart */ - .storage-cylinder-card { + /* Storage Donut Chart */ + .storage-donut-card { background: linear-gradient(135deg, #2B2B2B 0%, #1E1E1E 100%); border: 1px solid #404040; border-radius: 8px; padding: 20px; - text-align: center; transition: all 0.3s ease; - display: flex; - flex-direction: column; - align-items: center; - justify-content: center; - min-height: 200px; + min-height: 300px; } - .storage-cylinder-card:hover { + .storage-donut-card:hover { transform: translateY(-2px); box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); } - .storage-cylinder { - width: 80px; - height: 120px; - position: relative; - margin: 16px 0; - } - - .cylinder-container { + .storage-donut-chart { width: 100%; - height: 100%; - position: relative; + height: 250px; display: flex; align-items: center; justify-content: center; } - .cylinder-outline { - width: 60px; - height: 100px; - border: 3px solid rgba(255, 255, 255, 0.3); - border-radius: 30px; - position: relative; - background: rgba(255, 255, 255, 0.05); - overflow: hidden; - } - - .cylinder-fill { - position: absolute; - bottom: 0; - left: 0; - width: 100%; - background: linear-gradient(to top, - rgba(34, 197, 94, 0.8) 0%, - rgba(34, 197, 94, 0.6) 50%, - rgba(34, 197, 94, 0.4) 100%); - border-radius: 0 0 27px 27px; - transition: height 0.8s ease-in-out; - min-height: 2px; - } - - .cylinder-top { - position: absolute; - top: -3px; - left: -3px; - width: 66px; - height: 20px; - border: 3px solid rgba(255, 255, 255, 0.3); - border-bottom: none; - border-radius: 33px 33px 0 0; - background: rgba(255, 255, 255, 0.05); - } - - .cylinder-bottom { - position: absolute; - bottom: -3px; - left: -3px; - width: 66px; - height: 20px; - border: 3px solid rgba(255, 255, 255, 0.3); - border-top: none; - border-radius: 0 0 33px 33px; - background: rgba(255, 255, 255, 0.05); - } - - .storage-cylinder-info { - margin-top: 12px; + .storage-donut-info { text-align: center; + margin-top: 16px; } - .storage-cylinder-label { + .storage-donut-title { + font-size: 16px; + font-weight: 600; + color: var(--pf-global--Color--100); + margin-bottom: 8px; + } + + .storage-donut-subtitle { font-size: 14px; color: var(--pf-global--Color--200); margin-bottom: 4px; } - - .storage-cylinder-value { - font-size: 18px; - font-weight: 600; - color: var(--pf-global--Color--100); - margin-bottom: 2px; - } - - .storage-cylinder-percentage { - font-size: 12px; - color: var(--pf-global--success-color--100); - font-weight: 500; - } /* Chart Cards */ .chart-card { @@ -1931,23 +1864,20 @@