Remove heading tags from modal titles
This commit is contained in:
parent
91252aa1eb
commit
798300a3b4
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -25,7 +25,7 @@ $site_modal = get_option( 'fictioneer_enable_site_age_confirmation' );
|
||||
|
||||
<div class="modal__wrapper">
|
||||
|
||||
<h4 class="modal__header"><?php _e( 'Age Confirmation', 'fictioneer' ); ?></h4>
|
||||
<div class="modal__header"><?php _e( 'Age Confirmation', 'fictioneer' ); ?></div>
|
||||
|
||||
<?php if ( $site_modal ) : ?>
|
||||
<div class="modal__row modal__description _large"><?php
|
||||
|
@ -21,7 +21,7 @@ defined( 'ABSPATH' ) OR exit;
|
||||
<label class="close" for="modal-bbcodes-toggle" tabindex="0" aria-label="<?php esc_attr_e( 'Close modal', 'fictioneer' ); ?>">
|
||||
<?php fictioneer_icon( 'fa-xmark' ); ?>
|
||||
</label>
|
||||
<h4 class="modal__header drag-anchor"><?php echo fcntr( 'bbcodes_modal' ); ?></h4>
|
||||
<div class="modal__header drag-anchor"><?php echo fcntr( 'bbcodes_modal' ); ?></div>
|
||||
|
||||
<?php
|
||||
$preview_image = '';
|
||||
|
@ -30,7 +30,7 @@ foreach ( $changelog as $entry ) {
|
||||
<label class="close" for="modal-chapter-changelog-toggle" tabindex="0" aria-label="<?php esc_attr_e( 'Close modal', 'fictioneer' ); ?>">
|
||||
<?php fictioneer_icon( 'fa-xmark' ); ?>
|
||||
</label>
|
||||
<h4 class="modal__header drag-anchor"><?php _e( 'Changelog', 'fictioneer' ); ?></h4>
|
||||
<div class="modal__header drag-anchor"><?php _e( 'Changelog', 'fictioneer' ); ?></div>
|
||||
|
||||
<div class="modal__row _textarea">
|
||||
<textarea class="modal__textarea _changelog" readonly><?php echo $output; ?></textarea>
|
||||
|
@ -21,7 +21,7 @@ defined( 'ABSPATH' ) OR exit;
|
||||
<label class="close" for="modal-formatting-toggle" tabindex="0" aria-label="<?php esc_attr_e( 'Close modal', 'fictioneer' ); ?>">
|
||||
<?php fictioneer_icon( 'fa-xmark' ); ?>
|
||||
</label>
|
||||
<h4 class="modal__header drag-anchor"><?php echo fcntr( 'formatting_modal' ); ?></h4>
|
||||
<div class="modal__header drag-anchor"><?php echo fcntr( 'formatting_modal' ); ?></div>
|
||||
|
||||
<div class="modal__row reader-settings__row _vertical-shrink-spacing">
|
||||
<i class="fa-solid fa-adjust reset setting-darken-reset" title="<?php esc_attr_e( 'Darken Background', 'fictioneer' ); ?>"></i>
|
||||
|
@ -21,7 +21,7 @@ defined( 'ABSPATH' ) OR exit;
|
||||
<label class="close" for="modal-login-toggle" tabindex="0" aria-label="<?php esc_attr_e( 'Close modal', 'fictioneer' ); ?>">
|
||||
<?php fictioneer_icon( 'fa-xmark' ); ?>
|
||||
</label>
|
||||
<h4 class="modal__header drag-anchor"><?php echo fcntr( 'login_modal' ); ?></h4>
|
||||
<div class="modal__header drag-anchor"><?php echo fcntr( 'login_modal' ); ?></div>
|
||||
|
||||
<?php
|
||||
$info = fictioneer_replace_key_value(
|
||||
|
@ -21,7 +21,7 @@ defined( 'ABSPATH' ) OR exit;
|
||||
<label class="close" for="modal-sharing-toggle" tabindex="0" aria-label="<?php esc_attr_e( 'Close modal', 'fictioneer' ); ?>">
|
||||
<?php fictioneer_icon( 'fa-xmark' ); ?>
|
||||
</label>
|
||||
<h4 class="modal__header drag-anchor"><?php _ex( 'Share', 'Share modal heading.', 'fictioneer' ); ?></h4>
|
||||
<div class="modal__header drag-anchor"><?php _ex( 'Share', 'Share modal heading.', 'fictioneer' ); ?></div>
|
||||
|
||||
<div class="modal__row media-buttons _modal">
|
||||
<?php if ( ! get_option( 'fictioneer_disable_facebook_share' ) ) : ?>
|
||||
|
@ -21,7 +21,7 @@ defined( 'ABSPATH' ) OR exit;
|
||||
<label class="close" for="modal-site-settings-toggle" tabindex="0" aria-label="<?php esc_attr_e( 'Close modal', 'fictioneer' ); ?>">
|
||||
<?php fictioneer_icon( 'fa-xmark' ); ?>
|
||||
</label>
|
||||
<h4 class="modal__header drag-anchor"><?php echo fcntr( 'site_settings' ); ?></h4>
|
||||
<div class="modal__header drag-anchor"><?php echo fcntr( 'site_settings' ); ?></div>
|
||||
<div class="modal__description modal__row site-settings__description site-settings__row">
|
||||
<p><?php _e( 'You can toggle selected features and styles per device/browser to boost performance. Some options may not be available.', 'fictioneer' ); ?></p>
|
||||
</div>
|
||||
|
@ -25,7 +25,7 @@ defined( 'ABSPATH' ) OR exit;
|
||||
<?php fictioneer_icon( 'fa-xmark' ); ?>
|
||||
</label>
|
||||
|
||||
<h4 class="modal__header drag-anchor"><?php _ex( 'Suggestion', 'Suggestion modal heading.', 'fictioneer' ); ?></h4>
|
||||
<div class="modal__header drag-anchor"><?php _ex( 'Suggestion', 'Suggestion modal heading.', 'fictioneer' ); ?></div>
|
||||
|
||||
<div class="modal__row suggestions__display">
|
||||
<div class="suggestions__original">
|
||||
|
@ -27,7 +27,7 @@ defined( 'ABSPATH' ) OR exit;
|
||||
<?php fictioneer_icon( 'fa-xmark' ); ?>
|
||||
</label>
|
||||
|
||||
<h4 class="modal__header drag-anchor"><?php _ex( 'TTS Settings', 'TTS modal heading.', 'fictioneer' ); ?></h4>
|
||||
<div class="modal__header drag-anchor"><?php _ex( 'TTS Settings', 'TTS modal heading.', 'fictioneer' ); ?></div>
|
||||
|
||||
<div class="modal__description modal__row">
|
||||
<p><?php _e( 'The text-to-speech engine is an experimental browser feature. It might not always work as intended. On Android, you need the following app permissions for this to work: ', 'fictioneer' ); ?></p>
|
||||
|
@ -21,10 +21,9 @@
|
||||
border-radius: var(--layout-border-radius-small) 0 0 var(--layout-border-radius-small);
|
||||
}
|
||||
|
||||
&__header:is(h4) {
|
||||
&__header {
|
||||
color: var(--fg-400);
|
||||
font-size: 16px;
|
||||
line-height: 1;
|
||||
font: var(--font-weight-heading) 16px/1 var(--ff-heading);
|
||||
text-transform: uppercase;
|
||||
padding: 12px 40px 12px 12px;
|
||||
margin: 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user