Move CSS
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user