fix(ui): VIP equity list wrap and theme toggle moon/sun icons

This commit is contained in:
2026-07-21 18:19:42 +08:00
parent deff20532f
commit f9b495eb14
7 changed files with 305 additions and 44 deletions
+7 -5
View File
@@ -276,9 +276,10 @@ if (!empty($aksrt_bg_styles)) {
?>
<?php if (in_array('pc_nav', $aksrt_theme_toggle_positions, true)) : ?>
<button type="button" class="btn-outline theme-toggle-desktop toggle-theme toggle-radius" id="theme-toggle-desktop" title="<?php esc_attr_e('切换亮暗色', 'aksrt'); ?>">
<i class="fas fa-adjust fa-toggle-theme" aria-hidden="true"></i>
</button>
<button type="button" class="btn-outline theme-toggle-desktop toggle-theme toggle-radius" id="theme-toggle-desktop" aria-pressed="false" title="<?php esc_attr_e('切换亮暗色', 'aksrt'); ?>">
<i class="fas fa-moon theme-icon-moon" aria-hidden="true"></i>
<i class="fas fa-sun theme-icon-sun" aria-hidden="true" style="display:none"></i>
</button>
<?php endif; ?>
</div>
@@ -513,8 +514,9 @@ if (!empty($aksrt_bg_styles)) {
<?php if (in_array('m_menu', $aksrt_theme_toggle_positions, true)) : ?>
<div class="nav-drawer__theme-toggle">
<button type="button" class="btn-outline theme-toggle-mobile toggle-theme toggle-radius" id="theme-toggle-mobile" title="<?php esc_attr_e('切换亮暗色', 'aksrt'); ?>">
<i class="fas fa-adjust fa-toggle-theme" aria-hidden="true"></i>
<button type="button" class="btn-outline theme-toggle-mobile toggle-theme toggle-radius" id="theme-toggle-mobile" aria-pressed="false" title="<?php esc_attr_e('切换亮暗色', 'aksrt'); ?>">
<i class="fas fa-moon theme-icon-moon" aria-hidden="true"></i>
<i class="fas fa-sun theme-icon-sun" aria-hidden="true" style="display:none"></i>
<span><?php esc_html_e('切换主题', 'aksrt'); ?></span>
</button>
</div>