UI improvements: added Kadence theme buttons, fixed panel spacing, and added consistent styling across panels

This commit is contained in:
Marcus Quinn
2025-03-17 01:37:16 +00:00
parent 8afd7958d7
commit 3a6a89d2e8
4 changed files with 30 additions and 6 deletions

View File

@ -503,10 +503,16 @@ input:checked + .wp-toggle-slider:before {
position: relative; position: relative;
background: #fff; background: #fff;
border: 1px solid #ddd; border: 1px solid #ddd;
border-radius: 3px; border-radius: 8px;
box-shadow: 0 1px 1px rgba(0,0,0,.04); box-shadow: 0 1px 3px rgba(0,0,0,0.1);
margin-bottom: 20px; margin-bottom: 20px;
overflow: hidden; overflow: hidden;
transition: all 0.2s ease;
}
.theme-card:hover {
border-color: #2271b1;
box-shadow: 0 2px 6px rgba(0,0,0,0.15);
} }
.theme-image { .theme-image {

View File

@ -428,11 +428,17 @@ body.wp-admin .plugin-card-bottom .compatibility-untested *,
padding: 0 10px; padding: 0 10px;
background: #fff; background: #fff;
border: 1px solid #dcdcde; border: 1px solid #dcdcde;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
position: relative; position: relative;
box-sizing: border-box; box-sizing: border-box;
width: 100%; width: 100%;
border-radius: 3px; border-radius: 8px;
transition: all 0.2s ease;
}
.wp-filter:hover {
border-color: #2271b1;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
} }
.filter-links { .filter-links {

View File

@ -76,6 +76,18 @@ if (!defined('ABSPATH')) {
<a class="button button-secondary preview install-theme-preview" href="<?php echo esc_url($theme_data->preview_url); ?>" target="_blank"> <a class="button button-secondary preview install-theme-preview" href="<?php echo esc_url($theme_data->preview_url); ?>" target="_blank">
<?php esc_html_e('Preview'); ?> <?php esc_html_e('Preview'); ?>
</a> </a>
<a class="button button-secondary" href="https://www.kadencewp.com/kadence-theme/starter-templates/" target="_blank">
<?php esc_html_e('Templates'); ?>
</a>
<a class="button button-secondary" href="https://www.kadencewp.com/wordpress-solutions/kadence-ai/" target="_blank">
<?php esc_html_e('Starter AI'); ?>
</a>
<a class="button button-secondary" href="https://www.kadencewp.com/kadence-theme/marketplace/" target="_blank">
<?php esc_html_e('Marketplace'); ?>
</a>
<a class="button button-secondary" href="https://www.kadencewp.com/pricing/" target="_blank">
<?php esc_html_e('Pricing'); ?>
</a>
<a class="button button-primary" href="https://www.kadencewp.com/kadence-theme/" target="_blank"> <a class="button button-primary" href="https://www.kadencewp.com/kadence-theme/" target="_blank">
<?php esc_html_e('Go Pro'); ?> <?php esc_html_e('Go Pro'); ?>
</a> </a>

View File

@ -1764,7 +1764,7 @@ function wp_allstars_settings_page() {
?> ?>
<div class="wpa-pro-plugin"> <div class="wpa-pro-plugin">
<h3><?php echo esc_html($provider['name']); ?></h3> <h3><?php echo esc_html($provider['name']); ?></h3>
<p><?php echo esc_html($provider['description']); ?></p> <p style="min-height: 80px;"><?php echo esc_html($provider['description']); ?></p>
<?php if (isset($provider['button_group'])): ?> <?php if (isset($provider['button_group'])): ?>
<div class="button-group"> <div class="button-group">
<?php foreach ($provider['button_group'] as $button): ?> <?php foreach ($provider['button_group'] as $button): ?>
@ -2141,7 +2141,7 @@ function wp_allstars_settings_page() {
?> ?>
<div class="wpa-pro-plugin"> <div class="wpa-pro-plugin">
<h3><?php echo esc_html($tool['name']); ?></h3> <h3><?php echo esc_html($tool['name']); ?></h3>
<p><?php echo esc_html($tool['description']); ?></p> <p style="min-height: 80px;"><?php echo esc_html($tool['description']); ?></p>
<?php if (isset($tool['button_group'])): ?> <?php if (isset($tool['button_group'])): ?>
<div class="button-group"> <div class="button-group">
<?php foreach ($tool['button_group'] as $button): ?> <?php foreach ($tool['button_group'] as $button): ?>