This commit is contained in:
2026-04-22 13:20:32 +02:00
parent 94569539d7
commit 27fc4829e0
6 changed files with 142 additions and 250 deletions
+1 -5
View File
@@ -173,7 +173,7 @@ function statpress_goals_page() {
</small>
</td>
<td>
<div class="statpress-progress-bar-container">
<div class="statpress-progress-bar-container small">
<div class="statpress-progress-bar" style="width: <?php echo esc_attr( $percentage ); ?>%;"></div>
</div>
<small><?php echo $current_formatted; ?> z <?php echo $target_formatted; ?> (<?php echo round( $percentage, 1 ); ?>%)</small>
@@ -191,9 +191,5 @@ function statpress_goals_page() {
</div>
</div>
</div>
<style>
.statpress-progress-bar-container { background: #e8eaed; border-radius: 10px; height: 12px; width: 100%; overflow: hidden; margin-bottom: 4px; box-shadow: inset 0 1px 2px rgba(0,0,0,0.1); }
.statpress-progress-bar { background: #1a73e8; height: 100%; border-radius: 10px; transition: width 0.5s ease-in-out; }
</style>
<?php
}