Update Go Pro buttons to use darker green colors with consistent hover states
This commit is contained in:
@ -903,16 +903,17 @@ input:checked + .wp-toggle-slider:before {
|
|||||||
.wpa-pro-plugin .button-group .button.button-primary,
|
.wpa-pro-plugin .button-group .button.button-primary,
|
||||||
.go-pro-button {
|
.go-pro-button {
|
||||||
transition: all 0.3s ease !important;
|
transition: all 0.3s ease !important;
|
||||||
background-color: #27ae60 !important;
|
background-color: #219653 !important; /* Darker green */
|
||||||
border-color: #219653 !important;
|
border-color: #1e874b !important; /* Even darker for border */
|
||||||
|
color: #ffffff !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.button.button-primary[style*="background-color: #27ae60"]:hover,
|
.button.button-primary[style*="background-color: #27ae60"]:hover,
|
||||||
.theme-install-actions .button.button-primary:hover,
|
.theme-install-actions .button.button-primary:hover,
|
||||||
.wpa-pro-plugin .button-group .button.button-primary:hover,
|
.wpa-pro-plugin .button-group .button.button-primary:hover,
|
||||||
.go-pro-button:hover {
|
.go-pro-button:hover {
|
||||||
background-color: #219653 !important;
|
background-color: #1b7b42 !important; /* Even darker green on hover */
|
||||||
border-color: #1e874b !important;
|
border-color: #186a39 !important; /* Darkest for border */
|
||||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -316,7 +316,7 @@ class WP_Allstars_Plugin_Manager {
|
|||||||
$pro_url = self::get_pro_plugin_url($pro_plugin);
|
$pro_url = self::get_pro_plugin_url($pro_plugin);
|
||||||
|
|
||||||
if (!empty($pro_url)) {
|
if (!empty($pro_url)) {
|
||||||
echo '<li><a href="' . esc_url($pro_url) . '" target="_blank" class="button button-primary" style="background-color: #27ae60; border-color: #219653;">' . esc_html__('Go Pro', 'wp-allstars') . '</a></li>';
|
echo '<li><a href="' . esc_url($pro_url) . '" target="_blank" class="button button-primary go-pro-button">' . esc_html__('Go Pro', 'wp-allstars') . '</a></li>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -88,7 +88,7 @@ if (!defined('ABSPATH')) {
|
|||||||
<a class="button button-secondary" href="https://www.kadencewp.com/pricing/" target="_blank">
|
<a class="button button-secondary" href="https://www.kadencewp.com/pricing/" target="_blank">
|
||||||
<?php esc_html_e('Pricing'); ?>
|
<?php esc_html_e('Pricing'); ?>
|
||||||
</a>
|
</a>
|
||||||
<a class="button button-primary" href="https://www.kadencewp.com/kadence-theme/" target="_blank">
|
<a class="button button-primary go-pro-button" href="https://www.kadencewp.com/kadence-theme/" target="_blank">
|
||||||
<?php esc_html_e('Go Pro'); ?>
|
<?php esc_html_e('Go Pro'); ?>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user