Skip to content

Commit 12b1abd

Browse files
chore: css classes naming
1 parent e62dfe3 commit 12b1abd

File tree

2 files changed

+15
-10
lines changed

2 files changed

+15
-10
lines changed

css/settings.css

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2575,14 +2575,19 @@ li.draggable-item .components-panel__body-toggle.components-button{
25752575
}
25762576
}
25772577

2578-
.feedzy_helper_notice {
2578+
.feedzy-helper-notice {
25792579
margin: 15px 0;
25802580
padding: 16px;
25812581
background: #e8f4fd;
25822582
border-left: 4px solid #2271b1;
2583+
font-size: 14px;
2584+
}
2585+
2586+
.feedzy-helper-notice p {
2587+
font-size: 14px;
25832588
}
25842589

2585-
.feedzy_helper_notice_title {
2590+
.feedzy-helper-notice__title {
25862591
color: #0073aa;
25872592
font-weight: 600;
25882593
font-size: 16px;

includes/layouts/settings.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -261,11 +261,11 @@ class="btn btn-outline-primary<?php echo 0 === $index ? ' disabled' : ''; ?>" <?
261261
case 'headers':
262262
?>
263263
<div class="fz-form-wrap">
264-
<div class="feedzy_helper_notice">
265-
<p class="feedzy_helper_notice_title">
264+
<div class="feedzy-helper-notice">
265+
<h5 class="feedzy-helper-notice__title">
266266
<?php esc_html_e( 'Headers Configuration', 'feedzy-rss-feeds' ); ?>
267-
</p>
268-
<p style="font-size: 14px">
267+
</h5>
268+
<p>
269269
<?php
270270
esc_html_e(
271271
'Use this section to add custom HTTP headers (e.g., User-Agent). This can help bypass feed access restrictions, simulate browser requests, or resolve issues where feeds return incomplete or blocked content.',
@@ -295,11 +295,11 @@ class="form-control"
295295
case 'proxy':
296296
?>
297297
<div class="fz-form-wrap">
298-
<div class="feedzy_helper_notice">
299-
<p class="feedzy_helper_notice_title">
298+
<div class="feedzy-helper-notice">
299+
<h5 class="feedzy-helper-notice__title">
300300
<?php esc_html_e( 'Proxy Configuration', 'feedzy-rss-feeds' ); ?>
301-
</p>
302-
<p style="font-size: 14px">
301+
</h5>
302+
<p>
303303
<?php esc_html_e( 'Use a proxy to bypass firewalls, geographic restrictions, or IP blocks from feed sources. This ensures you can reliably access restricted RSS feeds.', 'feedzy-rss-feeds' ); ?>
304304
<a href="<?php echo esc_url( $help_btn_url ); ?>" target="_blank" >
305305
<?php esc_html_e( 'View proxy setup guide', 'feedzy-rss-feeds' ); ?>

0 commit comments

Comments
 (0)