From 8659185c92b0d7fd42d1e2d5f155d314ade49f6f Mon Sep 17 00:00:00 2001 From: RaduCristianPopescu <119046336+RaduCristianPopescu@users.noreply.github.com> Date: Tue, 15 Jul 2025 15:50:06 +0300 Subject: [PATCH 1/4] fixed: settings layout --- css/settings.css | 15 ++++++- includes/layouts/settings.php | 74 ++++++++++++++++++++++------------- 2 files changed, 60 insertions(+), 29 deletions(-) diff --git a/css/settings.css b/css/settings.css index b1433616..0f075a40 100644 --- a/css/settings.css +++ b/css/settings.css @@ -2569,4 +2569,17 @@ li.draggable-item .components-panel__body-toggle.components-button{ .support-box-list > ul{ grid-template-columns: repeat(2, 1fr); } -} \ No newline at end of file +} + +.fz-proxy-info-box { + margin-top: 30px; +} + +.fz-section-title { + margin: 0 0 15px 0; +} + +.fz-section-description p { + margin: 0 0 10px 0; + line-height: 1.6; +} diff --git a/includes/layouts/settings.php b/includes/layouts/settings.php index cb8076a6..e265cd43 100644 --- a/includes/layouts/settings.php +++ b/includes/layouts/settings.php @@ -54,12 +54,6 @@ case 'misc': esc_html_e( 'Miscellaneous', 'feedzy-rss-feeds' ); break; - case 'spinnerchief': - esc_html_e( 'SpinnerChief', 'feedzy-rss-feeds' ); - break; - case 'wordai': - esc_html_e( 'WordAI', 'feedzy-rss-feeds' ); - break; default: echo esc_html( ucwords( str_replace( array( '-', '_' ), ' ', $active_tab ) ) ); break; @@ -278,16 +272,30 @@ class="">
-
-
- - +
+

+
+

+

+ +

+
+
+ +
+
+
+
+ + +
+
@@ -296,43 +304,55 @@ class="form-control" case 'proxy': ?>
+
+

+
+

+

+ +

+
+
- +
- +
- +
- +
@@ -365,9 +385,11 @@ class="form-control" if ( $show_button ) { $disable_button = ! feedzy_is_pro() && in_array( $active_tab, array( 'spinnerchief', 'wordai', 'amazon-product-advertising', 'openai' ), true ) ? ' disabled' : ''; ?> -
+
+
+ @@ -375,9 +397,5 @@ class="form-control"
- -
- -
From f802efea31ba970d67aedd66446b6daac40d5239 Mon Sep 17 00:00:00 2001 From: RaduCristianPopescu <119046336+RaduCristianPopescu@users.noreply.github.com> Date: Tue, 15 Jul 2025 15:56:51 +0300 Subject: [PATCH 2/4] Update includes/layouts/settings.php Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- includes/layouts/settings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/layouts/settings.php b/includes/layouts/settings.php index e265cd43..384833b3 100644 --- a/includes/layouts/settings.php +++ b/includes/layouts/settings.php @@ -383,7 +383,7 @@ class="form-control"
From 7b1dfd8f1e2086fb96dd09abe36f52060c57a0a2 Mon Sep 17 00:00:00 2001 From: RaduCristianPopescu <119046336+RaduCristianPopescu@users.noreply.github.com> Date: Tue, 15 Jul 2025 16:05:40 +0300 Subject: [PATCH 3/4] fixed copilot suggestion --- css/settings.css | 11 +++++++++-- includes/layouts/settings.php | 2 +- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/css/settings.css b/css/settings.css index 0f075a40..4fe28f21 100644 --- a/css/settings.css +++ b/css/settings.css @@ -531,7 +531,7 @@ fieldset[disabled] .form-control { content: ""; width: 24px; height: 24px; - background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18 18L14 14.5' stroke='%23757575' stroke-width='1.5'/%3E%3Ccircle r='4.75' transform='matrix(-1 0 0 1 10.5 11.5)' stroke='%23757575' stroke-width='1.5'/%3E%3C/svg%3E%0A"); + background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18 18L14 14.5' stroke='%23757575' stroke-width='1.5'/%3E%3Ccircle r='4.75' transform='matrix(-1 0 0 1 10.5 11.5)' stroke='%23757575' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; position: absolute; left: 16px; @@ -1530,7 +1530,7 @@ input.fz-switch-toggle[type=checkbox]:checked:before{ } .post-type-feedzy_categories #titlediv #title:focus, -.post-type-feedzy_categories .widefat:focus{ +.post-type_feedzy_categories .widefat:focus{ border-color: #4268CF; } .fz-upsell-notice { @@ -2583,3 +2583,10 @@ li.draggable-item .components-panel__body-toggle.components-button{ margin: 0 0 10px 0; line-height: 1.6; } + +.fz-form-actions { + display: flex; + justify-content: space-between; + align-items: center; + gap: 15px; +} diff --git a/includes/layouts/settings.php b/includes/layouts/settings.php index 384833b3..ce72d5a2 100644 --- a/includes/layouts/settings.php +++ b/includes/layouts/settings.php @@ -385,7 +385,7 @@ class="form-control" if ( $show_button ) { $disable_button = ! feedzy_is_pro() && in_array( $active_tab, array( 'amazon-product-advertising', 'openai' ), true ) ? ' disabled' : ''; ?> -
+
From 66ae9d28428dace7a966596ae6df0061db57dcc4 Mon Sep 17 00:00:00 2001 From: RaduCristianPopescu <119046336+RaduCristianPopescu@users.noreply.github.com> Date: Tue, 15 Jul 2025 16:35:39 +0300 Subject: [PATCH 4/4] link icon --- includes/layouts/settings.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/includes/layouts/settings.php b/includes/layouts/settings.php index ce72d5a2..312fcd63 100644 --- a/includes/layouts/settings.php +++ b/includes/layouts/settings.php @@ -387,7 +387,10 @@ class="form-control" ?>