Update admin UI styles and bump version to 1.1.0

Refines admin panel styles for improved consistency and readability, including adjustments to button, card, and editor appearances. Removes dashicons from admin action buttons and navigation tabs for a cleaner interface. Updates plugin version constant to 1.1.0.
This commit is contained in:
feibisi 2025-07-26 12:13:11 +08:00
parent 30e040134d
commit b1aa0b5b77
3 changed files with 22 additions and 24 deletions

View file

@ -159,15 +159,12 @@ class Admin {
<div class="wptag-header-actions">
<?php if ($this->current_user_can_manage_codes()): ?>
<button type="button" class="button" id="wptag-export-btn">
<span class="dashicons dashicons-download"></span>
Export Settings
</button>
<button type="button" class="button" id="wptag-import-btn">
<span class="dashicons dashicons-upload"></span>
Import Settings
</button>
<button type="button" class="button button-secondary" id="wptag-reset-btn">
<span class="dashicons dashicons-admin-generic"></span>
Reset All
</button>
<?php endif; ?>
@ -179,7 +176,6 @@ class Admin {
<a href="?page=wptag-settings&tab=<?php echo esc_attr($category_key); ?>"
class="nav-tab <?php echo $active_tab === $category_key ? 'nav-tab-active' : ''; ?>"
data-tab="<?php echo esc_attr($category_key); ?>">
<span class="dashicons dashicons-chart-area"></span>
<?php echo esc_html(ucfirst($category_key)); ?>
<span class="count">(<?php echo count($category_data['services']); ?>)</span>
</a>
@ -188,7 +184,6 @@ class Admin {
<a href="?page=wptag-settings&tab=services"
class="nav-tab <?php echo $active_tab === 'services' ? 'nav-tab-active' : ''; ?>"
data-tab="services">
<span class="dashicons dashicons-admin-settings"></span>
Services Management
</a>
<?php endif; ?>