Commit e4ad5a3e authored by Simon's avatar Simon

release 1.25.2

parent f0c434c5
...@@ -20,9 +20,9 @@ ...@@ -20,9 +20,9 @@
## Production ## Production
- build CSS & JS assets - `C:\web\dev.biuro\ npm run build` - build CSS & JS assets - `C:\web\dev.biuro\ npm run build`
- build new image `docker build -t biuro/web:1.25.1 .` (update version number) - build new image `docker build -t biuro/web:1.25.2 .` (update version number)
- login to biuro docker account `docker login --username=biuro --password=9Ndtjd2vKsLvGuFOeFq1KdJs` - login to biuro docker account `docker login --username=biuro --password=9Ndtjd2vKsLvGuFOeFq1KdJs`
- push image to docker repository - `docker push biuro/web:1.25.1` - push image to docker repository - `docker push biuro/web:1.25.2`
## Production ## Production
- update biuro/web image version in .env file (staging or www) - update biuro/web image version in .env file (staging or www)
......
...@@ -33,8 +33,9 @@ final class WPSEO_Admin_Asset_Yoast_Components_L10n { ...@@ -33,8 +33,9 @@ final class WPSEO_Admin_Asset_Yoast_Components_L10n {
*/ */
public function localize_script( $script_handle ) { public function localize_script( $script_handle ) {
$translations = [ $translations = [
'yoast-components' => $this->get_translations( 'yoast-components' ), 'yoast-components' => $this->get_translations( 'yoast-components' ),
'wordpress-seo' => $this->get_translations( 'wordpress-seojs' ), 'wordpress-seo' => $this->get_translations( 'wordpress-seojs' ),
'yoast-schema-blocks' => $this->get_translations( 'yoast-schema-blocks' ),
]; ];
$this->asset_manager->localize_script( $script_handle, 'wpseoYoastJSL10n', $translations ); $this->asset_manager->localize_script( $script_handle, 'wpseoYoastJSL10n', $translations );
} }
......
...@@ -22,14 +22,14 @@ class WPSEO_Admin_Gutenberg_Compatibility_Notification implements WPSEO_WordPres ...@@ -22,14 +22,14 @@ class WPSEO_Admin_Gutenberg_Compatibility_Notification implements WPSEO_WordPres
* *
* @var WPSEO_Gutenberg_Compatibility * @var WPSEO_Gutenberg_Compatibility
*/ */
private $compatibility_checker; protected $compatibility_checker;
/** /**
* Instance of Yoast Notification Center. * Instance of Yoast Notification Center.
* *
* @var Yoast_Notification_Center * @var Yoast_Notification_Center
*/ */
private $notification_center; protected $notification_center;
/** /**
* WPSEO_Admin_Gutenberg_Compatibility_Notification constructor. * WPSEO_Admin_Gutenberg_Compatibility_Notification constructor.
...@@ -54,7 +54,19 @@ class WPSEO_Admin_Gutenberg_Compatibility_Notification implements WPSEO_WordPres ...@@ -54,7 +54,19 @@ class WPSEO_Admin_Gutenberg_Compatibility_Notification implements WPSEO_WordPres
* @return void * @return void
*/ */
public function manage_notification() { public function manage_notification() {
if ( ! $this->compatibility_checker->is_installed() || $this->compatibility_checker->is_fully_compatible() ) { /**
* Filter: 'yoast_display_gutenberg_compat_notification' - Allows developer to disable the Gutenberg compatibility
* notification.
*
* @api bool
*/
$display_notification = apply_filters( 'yoast_display_gutenberg_compat_notification', true );
if (
! $this->compatibility_checker->is_installed()
|| $this->compatibility_checker->is_fully_compatible()
|| ! $display_notification
) {
$this->notification_center->remove_notification_by_id( $this->notification_id ); $this->notification_center->remove_notification_by_id( $this->notification_id );
return; return;
...@@ -68,7 +80,7 @@ class WPSEO_Admin_Gutenberg_Compatibility_Notification implements WPSEO_WordPres ...@@ -68,7 +80,7 @@ class WPSEO_Admin_Gutenberg_Compatibility_Notification implements WPSEO_WordPres
* *
* @return void * @return void
*/ */
private function add_notification() { protected function add_notification() {
$level = $this->compatibility_checker->is_below_minimum() ? Yoast_Notification::ERROR : Yoast_Notification::WARNING; $level = $this->compatibility_checker->is_below_minimum() ? Yoast_Notification::ERROR : Yoast_Notification::WARNING;
$message = sprintf( $message = sprintf(
......
...@@ -15,14 +15,14 @@ class WPSEO_Gutenberg_Compatibility { ...@@ -15,14 +15,14 @@ class WPSEO_Gutenberg_Compatibility {
* *
* @var string * @var string
*/ */
const CURRENT_RELEASE = '10.4.1'; const CURRENT_RELEASE = '10.6.0';
/** /**
* The minimally supported version of Gutenberg by the plugin. * The minimally supported version of Gutenberg by the plugin.
* *
* @var string * @var string
*/ */
const MINIMUM_SUPPORTED = '10.4.1'; const MINIMUM_SUPPORTED = '10.6.0';
/** /**
* Holds the current version. * Holds the current version.
......
...@@ -29,6 +29,7 @@ class WPSEO_Replacevar_Editor { ...@@ -29,6 +29,7 @@ class WPSEO_Replacevar_Editor {
* @type string $label_title Optional. The label to use for the title field. * @type string $label_title Optional. The label to use for the title field.
* @type string $label_description Optional. The label to use for the description field. * @type string $label_description Optional. The label to use for the description field.
* @type string $description_placeholder Optional. The placeholder text to use for the description field. * @type string $description_placeholder Optional. The placeholder text to use for the description field.
* @type bool $has_new_badge Optional. Whether to show the "New" badge.
* } * }
*/ */
private $arguments; private $arguments;
...@@ -48,6 +49,7 @@ class WPSEO_Replacevar_Editor { ...@@ -48,6 +49,7 @@ class WPSEO_Replacevar_Editor {
* @type string $label_title Optional. The label to use for the title field. * @type string $label_title Optional. The label to use for the title field.
* @type string $label_description Optional. The label to use for the description field. * @type string $label_description Optional. The label to use for the description field.
* @type string $description_placeholder Optional. The placeholder text to use for the description field. * @type string $description_placeholder Optional. The placeholder text to use for the description field.
* @type bool $has_new_badge Optional. Whether to show the "New" badge.
* } * }
*/ */
public function __construct( Yoast_Form $yform, $arguments ) { public function __construct( Yoast_Form $yform, $arguments ) {
...@@ -58,6 +60,7 @@ class WPSEO_Replacevar_Editor { ...@@ -58,6 +60,7 @@ class WPSEO_Replacevar_Editor {
'label_title' => '', 'label_title' => '',
'label_description' => '', 'label_description' => '',
'description_placeholder' => '', 'description_placeholder' => '',
'has_new_badge' => false,
] ]
); );
...@@ -73,6 +76,7 @@ class WPSEO_Replacevar_Editor { ...@@ -73,6 +76,7 @@ class WPSEO_Replacevar_Editor {
'label_title' => (string) $arguments['label_title'], 'label_title' => (string) $arguments['label_title'],
'label_description' => (string) $arguments['label_description'], 'label_description' => (string) $arguments['label_description'],
'description_placeholder' => (string) $arguments['description_placeholder'], 'description_placeholder' => (string) $arguments['description_placeholder'],
'has_new_badge' => (bool) $arguments['has_new_badge'],
]; ];
} }
...@@ -97,7 +101,8 @@ class WPSEO_Replacevar_Editor { ...@@ -97,7 +101,8 @@ class WPSEO_Replacevar_Editor {
data-react-replacevar-paper-style="%5$s" data-react-replacevar-paper-style="%5$s"
data-react-replacevar-label-title="%6$s" data-react-replacevar-label-title="%6$s"
data-react-replacevar-label-description="%7$s" data-react-replacevar-label-description="%7$s"
data-react-replacevar-description-placeholder="%8$s"></div>', data-react-replacevar-description-placeholder="%8$s"
data-react-replacevar-has-new-badge="%9$s"></div>',
esc_attr( $this->arguments['title'] ), esc_attr( $this->arguments['title'] ),
esc_attr( $this->arguments['description'] ), esc_attr( $this->arguments['description'] ),
esc_attr( $this->arguments['page_type_recommended'] ), esc_attr( $this->arguments['page_type_recommended'] ),
...@@ -105,7 +110,8 @@ class WPSEO_Replacevar_Editor { ...@@ -105,7 +110,8 @@ class WPSEO_Replacevar_Editor {
esc_attr( $this->arguments['paper_style'] ), esc_attr( $this->arguments['paper_style'] ),
esc_attr( $this->arguments['label_title'] ), esc_attr( $this->arguments['label_title'] ),
esc_attr( $this->arguments['label_description'] ), esc_attr( $this->arguments['label_description'] ),
esc_attr( $this->arguments['description_placeholder'] ) esc_attr( $this->arguments['description_placeholder'] ),
esc_attr( $this->arguments['has_new_badge'] )
); );
} }
......
...@@ -40,6 +40,10 @@ class WPSEO_Tracking_Settings_Data implements WPSEO_Collection { ...@@ -40,6 +40,10 @@ class WPSEO_Tracking_Settings_Data implements WPSEO_Collection {
'og_frontpage_desc', 'og_frontpage_desc',
'og_frontpage_image', 'og_frontpage_image',
'og_frontpage_image_id', 'og_frontpage_image_id',
'open_graph_frontpage_title',
'open_graph_frontpage_desc',
'open_graph_frontpage_image',
'open_graph_frontpage_image_id',
'pinterest_url', 'pinterest_url',
'pinterestverify', 'pinterestverify',
'twitter_site', 'twitter_site',
...@@ -148,6 +152,10 @@ class WPSEO_Tracking_Settings_Data implements WPSEO_Collection { ...@@ -148,6 +152,10 @@ class WPSEO_Tracking_Settings_Data implements WPSEO_Collection {
'og_frontpage_desc', 'og_frontpage_desc',
'og_frontpage_image', 'og_frontpage_image',
'og_frontpage_image_id', 'og_frontpage_image_id',
'open_graph_frontpage_title',
'open_graph_frontpage_desc',
'open_graph_frontpage_image',
'open_graph_frontpage_image_id',
'opengraph', 'opengraph',
'pinterest_url', 'pinterest_url',
'pinterestverify', 'pinterestverify',
......
...@@ -5,6 +5,8 @@ ...@@ -5,6 +5,8 @@
* @package WPSEO\Admin\Views * @package WPSEO\Admin\Views
*/ */
use Yoast\WP\SEO\Presenters\Admin\Alert_Presenter;
/** /**
* Class Yoast_View_Utils. * Class Yoast_View_Utils.
*/ */
...@@ -63,4 +65,60 @@ class Yoast_View_Utils { ...@@ -63,4 +65,60 @@ class Yoast_View_Utils {
return $help_panel; return $help_panel;
} }
/**
* Generates the OpenGraph disabled alert, depending on whether the OpenGraph feature is disabled.
*
* @param string $type The type of message. Can be altered to taxonomies or archives. Empty string by default.
*
* @return string The alert. Returns an empty string if the setting is enabled.
*/
public function generate_opengraph_disabled_alert( $type = '' ) {
$is_enabled = WPSEO_Options::get( 'opengraph', true );
if ( $is_enabled || ! YoastSEO()->helpers->product->is_premium() ) {
return '';
}
$message = sprintf(
/* translators: 1: link open tag; 2: link close tag. */
\esc_html__(
'The frontpage settings and the social image, social title and social description are hidden for all content types. If you want to show these settings, please enable the ‘Open Graph meta data’ setting on the %1$sFacebook tab of the Social section%2$s.',
'wordpress-seo'
),
'<a href="' . \esc_url( \admin_url( 'admin.php?page=wpseo_social#top#facebook' ) ) . '">',
'</a>'
);
if ( $type === 'taxonomies' ) {
$message = sprintf(
/* translators: 1: link open tag; 2: link close tag. */
\esc_html__(
'The social image, social title and social description are hidden for all taxonomies. If you want to show these settings, please enable the ‘Open Graph meta data’ setting on the %1$sFacebook tab of the Social section%2$s.',
'wordpress-seo'
),
'<a href="' . \esc_url( \admin_url( 'admin.php?page=wpseo_social#top#facebook' ) ) . '">',
'</a>'
);
}
if ( $type === 'archives' ) {
$message = sprintf(
/* translators: 1: link open tag; 2: link close tag. */
\esc_html__(
'The social image, social title and social description are hidden for all archives. If you want to show these settings, please enable the ‘Open Graph meta data’ setting on the %1$sFacebook tab of the Social section%2$s.',
'wordpress-seo'
),
'<a href="' . \esc_url( \admin_url( 'admin.php?page=wpseo_social#top#facebook' ) ) . '">',
'</a>'
);
}
$alert = new Alert_Presenter( $message, 'info' );
return sprintf(
'<div class="yoast-measure padded">%s</div>',
$alert->present()
);
}
} }
...@@ -63,13 +63,13 @@ class Yoast_Integration_Toggles { ...@@ -63,13 +63,13 @@ class Yoast_Integration_Toggles {
protected function load_toggles() { protected function load_toggles() {
$integration_toggles = [ $integration_toggles = [
(object) [ (object) [
/* translators: %s: 'SEMrush' */ /* translators: %s: 'Semrush' */
'name' => sprintf( __( '%s integration', 'wordpress-seo' ), 'SEMrush' ), 'name' => sprintf( __( '%s integration', 'wordpress-seo' ), 'Semrush' ),
'setting' => 'semrush_integration_active', 'setting' => 'semrush_integration_active',
'label' => sprintf( 'label' => sprintf(
/* translators: %s: 'SEMrush' */ /* translators: %s: 'Semrush' */
__( 'The %s integration offers suggestions and insights for keywords related to the entered focus keyphrase.', 'wordpress-seo' ), __( 'The %s integration offers suggestions and insights for keywords related to the entered focus keyphrase.', 'wordpress-seo' ),
'SEMrush' 'Semrush'
), ),
'order' => 10, 'order' => 10,
], ],
......
...@@ -19,6 +19,7 @@ $yform->toggle_switch( ...@@ -19,6 +19,7 @@ $yform->toggle_switch(
?> ?>
<div id='author-archives-titles-metas-content' class='archives-titles-metas-content'> <div id='author-archives-titles-metas-content' class='archives-titles-metas-content'>
<div class="yoast-settings-section">
<?php <?php
$author_archives_help = new WPSEO_Admin_Help_Panel( $author_archives_help = new WPSEO_Admin_Help_Panel(
...@@ -64,9 +65,12 @@ $yform->index_switch( ...@@ -64,9 +65,12 @@ $yform->index_switch(
?> ?>
</div> </div>
</div>
<?php <?php
echo '<div class="yoast-settings-section">';
$recommended_replace_vars = new WPSEO_Admin_Recommended_Replace_Vars(); $recommended_replace_vars = new WPSEO_Admin_Recommended_Replace_Vars();
$editor_specific_replace_vars = new WPSEO_Admin_Editor_Specific_Replace_Vars(); $editor_specific_replace_vars = new WPSEO_Admin_Editor_Specific_Replace_Vars();
$editor = new WPSEO_Replacevar_Editor( $editor = new WPSEO_Replacevar_Editor(
...@@ -82,12 +86,12 @@ $editor = new WPSEO_Replacevar_Editor( ...@@ -82,12 +86,12 @@ $editor = new WPSEO_Replacevar_Editor(
$editor->render(); $editor->render();
echo '</div>';
/** /**
* Allow adding custom fields to the admin meta page - Author Archives tab. * Allow adding custom fields to the admin meta page - Author archives panel in the Archives tab.
*
* @since 16.2
* *
* @param WPSEO_Admin_Pages $yform The WPSEO_Admin_Pages object * @param Yoast_Form $yform The Yoast_Form object.
*/ */
do_action( 'Yoast\WP\SEO\admin_author_archives_meta', $yform ); do_action( 'Yoast\WP\SEO\admin_author_archives_meta', $yform );
?> ?>
......
...@@ -18,6 +18,7 @@ $yform->toggle_switch( ...@@ -18,6 +18,7 @@ $yform->toggle_switch(
?> ?>
<div id='date-archives-titles-metas-content' class='archives-titles-metas-content'> <div id='date-archives-titles-metas-content' class='archives-titles-metas-content'>
<div class="yoast-settings-section">
<?php <?php
$date_archives_help = new WPSEO_Admin_Help_Panel( $date_archives_help = new WPSEO_Admin_Help_Panel(
'noindex-archive-wpseo', 'noindex-archive-wpseo',
...@@ -37,6 +38,9 @@ $yform->toggle_switch( ...@@ -37,6 +38,9 @@ $yform->toggle_switch(
$date_archives_help->get_button_html() . $date_archives_help->get_panel_html() $date_archives_help->get_button_html() . $date_archives_help->get_panel_html()
); );
echo '</div>';
echo '<div class="yoast-settings-section">';
$recommended_replace_vars = new WPSEO_Admin_Recommended_Replace_Vars(); $recommended_replace_vars = new WPSEO_Admin_Recommended_Replace_Vars();
$editor_specific_replace_vars = new WPSEO_Admin_Editor_Specific_Replace_Vars(); $editor_specific_replace_vars = new WPSEO_Admin_Editor_Specific_Replace_Vars();
...@@ -53,12 +57,12 @@ $yform->toggle_switch( ...@@ -53,12 +57,12 @@ $yform->toggle_switch(
$editor->render(); $editor->render();
echo '</div>';
/** /**
* Allow adding custom fields to the admin meta page - Date Archives tab. * Allow adding custom fields to the admin meta page - Date archives panel in the Archives tab.
*
* @since 16.2
* *
* @param WPSEO_Admin_Pages $yform The WPSEO_Admin_Pages object * @param Yoast_Form $yform The Yoast_Form object.
*/ */
do_action( 'Yoast\WP\SEO\admin_date_archives_meta', $yform ); do_action( 'Yoast\WP\SEO\admin_date_archives_meta', $yform );
?> ?>
......
...@@ -19,6 +19,14 @@ echo '<h3>' . esc_html( sprintf( __( 'Settings for single %s URLs', 'wordpress-s ...@@ -19,6 +19,14 @@ echo '<h3>' . esc_html( sprintf( __( 'Settings for single %s URLs', 'wordpress-s
require __DIR__ . '/post_type/post-type.php'; require __DIR__ . '/post_type/post-type.php';
/**
* Allow adding custom fields to the admin meta page, just before the archive settings - Content Types tab.
*
* @param Yoast_Form $yform The Yoast_Form object.
* @param string $name The post type name.
*/
do_action( 'Yoast\WP\SEO\admin_post_types_beforearchive', $yform, $wpseo_post_type->name );
if ( $wpseo_post_type->name === 'product' && YoastSEO()->helpers->woocommerce->is_active() ) { if ( $wpseo_post_type->name === 'product' && YoastSEO()->helpers->woocommerce->is_active() ) {
require __DIR__ . '/post_type/woocommerce-shop-page.php'; require __DIR__ . '/post_type/woocommerce-shop-page.php';
...@@ -31,6 +39,8 @@ if ( WPSEO_Post_Type::has_archive( $wpseo_post_type ) ) { ...@@ -31,6 +39,8 @@ if ( WPSEO_Post_Type::has_archive( $wpseo_post_type ) ) {
/* translators: %s is the plural version of the post type's name. */ /* translators: %s is the plural version of the post type's name. */
echo '<h3>' . esc_html( sprintf( __( 'Settings for %s archive', 'wordpress-seo' ), $plural_label ) ) . '</h3>'; echo '<h3>' . esc_html( sprintf( __( 'Settings for %s archive', 'wordpress-seo' ), $plural_label ) ) . '</h3>';
echo '<div class="yoast-settings-section">';
$custom_post_type_archive_help = $view_utils->search_results_setting_help( $wpseo_post_type, 'archive' ); $custom_post_type_archive_help = $view_utils->search_results_setting_help( $wpseo_post_type, 'archive' );
$yform->index_switch( $yform->index_switch(
...@@ -43,6 +53,10 @@ if ( WPSEO_Post_Type::has_archive( $wpseo_post_type ) ) { ...@@ -43,6 +53,10 @@ if ( WPSEO_Post_Type::has_archive( $wpseo_post_type ) ) {
$custom_post_type_archive_help->get_button_html() . $custom_post_type_archive_help->get_panel_html() $custom_post_type_archive_help->get_button_html() . $custom_post_type_archive_help->get_panel_html()
); );
echo '</div>';
echo '<div class="yoast-settings-section">';
$page_type = $recommended_replace_vars->determine_for_archive( $wpseo_post_type->name ); $page_type = $recommended_replace_vars->determine_for_archive( $wpseo_post_type->name );
$editor = new WPSEO_Replacevar_Editor( $editor = new WPSEO_Replacevar_Editor(
...@@ -57,6 +71,16 @@ if ( WPSEO_Post_Type::has_archive( $wpseo_post_type ) ) { ...@@ -57,6 +71,16 @@ if ( WPSEO_Post_Type::has_archive( $wpseo_post_type ) ) {
); );
$editor->render(); $editor->render();
echo '</div>';
/**
* Allow adding custom fields to the admin meta page at the end of the archive settings for a post type - Content Types tab.
*
* @param Yoast_Form $yform The Yoast_Form object.
* @param string $name The post type name.
*/
do_action( 'Yoast\WP\SEO\admin_post_types_archive', $yform, $wpseo_post_type->name );
if ( WPSEO_Options::get( 'breadcrumbs-enable' ) === true ) { if ( WPSEO_Options::get( 'breadcrumbs-enable' ) === true ) {
/* translators: %s is the plural version of the post type's name. */ /* translators: %s is the plural version of the post type's name. */
echo '<h4>' . esc_html( sprintf( __( 'Breadcrumb settings for %s archive', 'wordpress-seo' ), $plural_label ) ) . '</h4>'; echo '<h4>' . esc_html( sprintf( __( 'Breadcrumb settings for %s archive', 'wordpress-seo' ), $plural_label ) ) . '</h4>';
...@@ -67,7 +91,14 @@ if ( WPSEO_Post_Type::has_archive( $wpseo_post_type ) ) { ...@@ -67,7 +91,14 @@ if ( WPSEO_Post_Type::has_archive( $wpseo_post_type ) ) {
/** /**
* Allow adding a custom checkboxes to the admin meta page - Post Types tab. * Allow adding a custom checkboxes to the admin meta page - Post Types tab.
* *
* @api WPSEO_Admin_Pages $yform The WPSEO_Admin_Pages object * @deprecated 16.3 Use the {@see 'Yoast\WP\SEO\admin_post_types_beforearchive'} action instead.
* @api String $name The post type name *
* @param Yoast_Form $yform The Yoast_Form object.
* @param string $name The post type name.
*/ */
do_action( 'wpseo_admin_page_meta_post_types', $yform, $wpseo_post_type->name ); do_action_deprecated(
'wpseo_admin_page_meta_post_types',
[ $yform, $wpseo_post_type->name ],
'16.3',
'Yoast\WP\SEO\admin_post_types_beforearchive'
);
...@@ -16,6 +16,7 @@ use Yoast\WP\SEO\Helpers\Schema\Article_Helper; ...@@ -16,6 +16,7 @@ use Yoast\WP\SEO\Helpers\Schema\Article_Helper;
$show_post_type_help = $view_utils->search_results_setting_help( $wpseo_post_type ); $show_post_type_help = $view_utils->search_results_setting_help( $wpseo_post_type );
$noindex_option_name = 'noindex-' . $wpseo_post_type->name; $noindex_option_name = 'noindex-' . $wpseo_post_type->name;
echo '<div class="yoast-settings-section">';
$yform->index_switch( $yform->index_switch(
$noindex_option_name, $noindex_option_name,
...@@ -29,6 +30,10 @@ $yform->show_hide_switch( ...@@ -29,6 +30,10 @@ $yform->show_hide_switch(
sprintf( esc_html__( 'Show SEO settings for %1$s', 'wordpress-seo' ), '<strong>' . $wpseo_post_type->labels->name . '</strong>' ) sprintf( esc_html__( 'Show SEO settings for %1$s', 'wordpress-seo' ), '<strong>' . $wpseo_post_type->labels->name . '</strong>' )
); );
echo '</div>';
echo '<div class="yoast-settings-section">';
$editor = new WPSEO_Replacevar_Editor( $editor = new WPSEO_Replacevar_Editor(
$yform, $yform,
[ [
...@@ -41,16 +46,18 @@ $editor = new WPSEO_Replacevar_Editor( ...@@ -41,16 +46,18 @@ $editor = new WPSEO_Replacevar_Editor(
); );
$editor->render(); $editor->render();
echo '</div>';
/** /**
* Allow adding custom fields to the admin meta page - Post Types tab. * Allow adding custom fields to the admin meta page - Content Types tab.
* *
* @since 16.2 * @param Yoast_Form $yform The Yoast_Form object.
* * @param string $name The post type name.
* @param WPSEO_Admin_Pages $yform The WPSEO_Admin_Pages object
* @param string $name The post type name
*/ */
do_action( 'Yoast\WP\SEO\admin_post_types_meta', $yform, $wpseo_post_type->name ); do_action( 'Yoast\WP\SEO\admin_post_types_meta', $yform, $wpseo_post_type->name );
echo '<div class="yoast-settings-section">';
// Schema settings. // Schema settings.
$article_helper = new Article_Helper(); $article_helper = new Article_Helper();
$schema_page_type_option = 'schema-page-type-' . $wpseo_post_type->name; $schema_page_type_option = 'schema-page-type-' . $wpseo_post_type->name;
...@@ -68,3 +75,5 @@ printf( ...@@ -68,3 +75,5 @@ printf(
WPSEO_Options::get_default( 'wpseo_titles', $schema_page_type_option ), WPSEO_Options::get_default( 'wpseo_titles', $schema_page_type_option ),
WPSEO_Options::get_default( 'wpseo_titles', $schema_article_type_option ) WPSEO_Options::get_default( 'wpseo_titles', $schema_article_type_option )
); );
echo '</div>';
...@@ -21,6 +21,7 @@ if ( $wpseo_taxonomy->name === 'post_format' ) { ...@@ -21,6 +21,7 @@ if ( $wpseo_taxonomy->name === 'post_format' ) {
); );
} }
echo '<div class="yoast-settings-section">';
echo "<div id='" . esc_attr( $wpseo_taxonomy->name ) . "-titles-metas'>"; echo "<div id='" . esc_attr( $wpseo_taxonomy->name ) . "-titles-metas'>";
$taxonomies_help = $view_utils->search_results_setting_help( $wpseo_taxonomy ); $taxonomies_help = $view_utils->search_results_setting_help( $wpseo_taxonomy );
...@@ -31,6 +32,18 @@ $yform->index_switch( ...@@ -31,6 +32,18 @@ $yform->index_switch(
$taxonomies_help->get_button_html() . $taxonomies_help->get_panel_html() $taxonomies_help->get_button_html() . $taxonomies_help->get_panel_html()
); );
if ( $wpseo_taxonomy->name !== 'post_format' ) {
$yform->show_hide_switch(
'display-metabox-tax-' . $wpseo_taxonomy->name,
/* translators: %s: Expands to an indexable object's name, like a post type or taxonomy. */
sprintf( __( 'Show SEO settings for %1$s', 'wordpress-seo' ), '<strong>' . $title . '</strong>' )
);
}
echo '</div>';
echo '</div>';
echo '<div class="yoast-settings-section">';
// Determine the page type for the term, this is needed for the recommended replacement variables. // Determine the page type for the term, this is needed for the recommended replacement variables.
$page_type = $recommended_replace_vars->determine_for_term( $wpseo_taxonomy->name ); $page_type = $recommended_replace_vars->determine_for_term( $wpseo_taxonomy->name );
...@@ -47,20 +60,27 @@ $editor = new WPSEO_Replacevar_Editor( ...@@ -47,20 +60,27 @@ $editor = new WPSEO_Replacevar_Editor(
); );
$editor->render(); $editor->render();
if ( $wpseo_taxonomy->name !== 'post_format' ) { echo '</div>';
$yform->show_hide_switch(
'display-metabox-tax-' . $wpseo_taxonomy->name,
/* translators: %s expands to an indexable object's name, like a post type or taxonomy */
sprintf( __( 'Show SEO settings for %1$s', 'wordpress-seo' ), '<strong>' . $title . '</strong>' )
);
}
/** /**
* Allow adding custom checkboxes to the admin meta page - Taxonomies tab. * Allow adding custom checkboxes to the admin meta page - Taxonomies tab.
* *
* @api WPSEO_Admin_Pages $yform The WPSEO_Admin_Pages object * @param Yoast_Form $yform The Yoast_Form object.
* @api Object $tax The taxonomy * @param WP_Taxonomy $wpseo_taxonomy The taxonomy.
*/ */
do_action( 'wpseo_admin_page_meta_taxonomies', $yform, $wpseo_taxonomy ); do_action( 'Yoast\WP\SEO\admin_taxonomies_meta', $yform, $wpseo_taxonomy );
echo '</div>'; /**
* Allow adding custom checkboxes to the admin meta page - Taxonomies tab.
*
* @deprecated 16.3 Use {@see 'Yoast\WP\SEO\admin_taxonomies_meta'} instead.
*
* @param Yoast_Form $yform The Yoast_Form object.
* @param WP_Taxonomy $wpseo_taxonomy The taxonomy.
*/
do_action_deprecated(
'wpseo_admin_page_meta_taxonomies',
[ $yform, $wpseo_taxonomy ],
'16.3',
'Yoast\WP\SEO\admin_taxonomies_meta'
);
...@@ -25,11 +25,11 @@ echo '<p>'; ...@@ -25,11 +25,11 @@ echo '<p>';
esc_html_e( 'The settings on this page allow you to specify what the default search appearance should be for any type of content you have. You can choose which content types appear in search results and what their default description should be.', 'wordpress-seo' ); esc_html_e( 'The settings on this page allow you to specify what the default search appearance should be for any type of content you have. You can choose which content types appear in search results and what their default description should be.', 'wordpress-seo' );
echo '</p>'; echo '</p>';
if ( is_array( $wpseo_post_types ) && $wpseo_post_types !== [] ) { $view_utils = new Yoast_View_Utils();
$view_utils = new Yoast_View_Utils(); $recommended_replace_vars = new WPSEO_Admin_Recommended_Replace_Vars();
$recommended_replace_vars = new WPSEO_Admin_Recommended_Replace_Vars(); $editor_specific_replace_vars = new WPSEO_Admin_Editor_Specific_Replace_Vars();
$editor_specific_replace_vars = new WPSEO_Admin_Editor_Specific_Replace_Vars();
if ( is_array( $wpseo_post_types ) && $wpseo_post_types !== [] ) {
foreach ( array_values( $wpseo_post_types ) as $wpseo_post_type_index => $yoast_seo_post_type ) { foreach ( array_values( $wpseo_post_types ) as $wpseo_post_type_index => $yoast_seo_post_type ) {
$wpseo_post_type_presenter = new WPSEO_Paper_Presenter( $wpseo_post_type_presenter = new WPSEO_Paper_Presenter(
$yoast_seo_post_type->labels->name, $yoast_seo_post_type->labels->name,
......
...@@ -13,14 +13,14 @@ if ( ! defined( 'WPSEO_VERSION' ) ) { ...@@ -13,14 +13,14 @@ if ( ! defined( 'WPSEO_VERSION' ) ) {
exit(); exit();
} }
echo '<h2>' . esc_html__( 'Facebook settings', 'wordpress-seo' ) . '</h2>'; echo '<h2>' . \esc_html__( 'Facebook settings', 'wordpress-seo' ) . '</h2>';
$yform->light_switch( 'opengraph', __( 'Add Open Graph meta data', 'wordpress-seo' ) ); $yform->light_switch( 'opengraph', \__( 'Add Open Graph meta data', 'wordpress-seo' ) );
?> ?>
<p> <p>
<?php <?php
esc_html_e( 'Enable this feature if you want Facebook and other social media to display a preview with images and a text excerpt when a link to your site is shared.', 'wordpress-seo' ); \esc_html_e( 'Enable this feature if you want Facebook and other social media to display a preview with images and a text excerpt when a link to your site is shared.', 'wordpress-seo' );
?> ?>
</p> </p>
...@@ -84,10 +84,10 @@ $yform->hidden( 'og_default_image_id', 'og_default_image_id' ); ...@@ -84,10 +84,10 @@ $yform->hidden( 'og_default_image_id', 'og_default_image_id' );
?> ?>
<p> <p>
<?php esc_html_e( 'This image is used if the post/page being shared does not contain any images.', 'wordpress-seo' ); ?> <?php \esc_html_e( 'This image is used if the post/page being shared does not contain any images.', 'wordpress-seo' ); ?>
</p> </p>
<div id="yoast-og-default-image-select"></div> <div id="yoast-og-default-image-select"></div>
</div> </div>
<?php <?php
do_action( 'wpseo_admin_opengraph_section' ); \do_action( 'wpseo_admin_opengraph_section' );
.yoast-labeled-inserter{position:relative;width:100%}.yoast-labeled-inserter:before{content:attr(data-label);position:absolute;right:0;height:100%;color:#000}.yoast-labeled-inserter>.block-editor-inserter{width:100%}.yoast-warning-block{border-width:0 4px 0 0;border-style:solid;padding:16px;font-size:13px;font-family:Arial,Roboto-Regular,HelveticaNeue,sans-serif}.yoast-warning-block.required{background:#f8ebea;border-color:#cd423b}.yoast-warning-block.recommended{background:#fef8ee;border-color:#f0b650}.yoast-warning-block>.yoast-warning-block-message{margin:0;font-family:Arial,Roboto-Regular,HelveticaNeue,sans-serif}.yoast-warning-block>div{text-align:left;padding-top:8px}.yoast-warning-block>div>button{background:none;border:none}.wp-block .yoast-warning-block>.yoast-warning-block-message>a,.yoast-warning-block>div>button{text-decoration:underline;color:#0073aa}.yoast-warning-block>div>button:not(:last-child){margin-left:24px}.yoast-block-sidebar-title{font-weight:600;color:#303030}.yoast-block-suggestions{width:100%;padding:0 15px 0 5px}.yoast-block-sidebar-warnings{width:100%;padding:0 15px 0 0}.yoast-block-sidebar-warning{list-style:none;color:#707070}.yoast-block-sidebar-warning>.yoast-svg-icon{margin-right:-1.5em;margin-left:.5em;color:red}.yoast-block-suggestion{list-style:disc;color:#707070}.yoast-block-suggestion--added{color:#404040}.yoast-block-suggestion-checkmark{color:#6ea029}.yoast-block-suggestion-button{cursor:pointer;float:left;color:#006dac;text-decoration:underline;border:0;background:100%}.yoast-block-date-picker-container>button{background:none;border:none;color:#747474;font-family:inherit}.yoast-block-date-picker{z-index:1}.yoast-block-date-picker .components-datetime__time>fieldset{margin:0}.yoast-block-date-picker .components-datetime__time>fieldset:last-child{display:none}.yoast-schema-blocks-icon svg{fill:none} .yoast-labeled-inserter{position:relative;width:100%}.yoast-labeled-inserter:before{content:attr(data-label);position:absolute;right:0;height:100%;color:#000}.yoast-labeled-inserter>.block-editor-inserter{width:100%}.yoast-warning-block{border-width:0 4px 0 0;border-style:solid;padding:16px;font-size:13px;font-family:Arial,Roboto-Regular,HelveticaNeue,sans-serif}.yoast-warning-block.required{background:#f8ebea;border-color:#cd423b}.yoast-warning-block.recommended{background:#fef8ee;border-color:#f0b650}.yoast-warning-block>.yoast-warning-block-message{margin:0;font-family:Arial,Roboto-Regular,HelveticaNeue,sans-serif}.yoast-warning-block>div{text-align:left;padding-top:8px}.yoast-warning-block>div>button{background:none;border:none;text-decoration:underline;color:#0073aa}.yoast-schema-block-appender__content{color:rgba(30,30,30,.6)}.wp-block .yoast-warning-block>.yoast-warning-block-message>a{text-decoration:underline;color:#0073aa}.yoast-warning-block>div>button:not(:last-child){margin-left:24px}.yoast-block-sidebar-title{font-weight:600;color:#303030;padding:10px 0 0}.yoast-block-sidebar-header{width:100%;margin-bottom:14px}.yoast-block-suggestions{width:100%;padding:0 15px 0 5px}.yoast-inline-icon{vertical-align:middle}.yoast-block-sidebar-warnings{width:100%}.yoast-block-sidebar-warning{list-style:none;color:#404040;padding:0 17px 0 0}.yoast-block-sidebar-warning>.yoast-svg-icon{margin-right:-1.5em;margin-left:.5em;color:red}.yoast-block-suggestion{list-style:disc;color:#707070}.yoast-block-suggestion--added{color:#404040}.yoast-block-suggestion-checkmark{color:#6ea029}.yoast-block-suggestion-button{cursor:pointer;float:left;color:#006dac;text-decoration:underline;border:0;background:100%}.yoast-block-date-picker-container>button{background:none;border:none;color:#747474;font-family:inherit}.yoast-block-date-picker{z-index:1}.yoast-block-date-picker .components-datetime__time>fieldset{margin:0}.yoast-block-date-picker .components-datetime__time>fieldset:last-child{display:none}.yoast-schema-blocks-icon svg{fill:none}
\ No newline at end of file \ No newline at end of file
.yoast-labeled-inserter{position:relative;width:100%}.yoast-labeled-inserter:before{content:attr(data-label);position:absolute;left:0;height:100%;color:#000}.yoast-labeled-inserter>.block-editor-inserter{width:100%}.yoast-warning-block{border-width:0 0 0 4px;border-style:solid;padding:16px;font-size:13px;font-family:Arial,Roboto-Regular,HelveticaNeue,sans-serif}.yoast-warning-block.required{background:#f8ebea;border-color:#cd423b}.yoast-warning-block.recommended{background:#fef8ee;border-color:#f0b650}.yoast-warning-block>.yoast-warning-block-message{margin:0;font-family:Arial,Roboto-Regular,HelveticaNeue,sans-serif}.yoast-warning-block>div{text-align:right;padding-top:8px}.yoast-warning-block>div>button{background:none;border:none}.wp-block .yoast-warning-block>.yoast-warning-block-message>a,.yoast-warning-block>div>button{text-decoration:underline;color:#0073aa}.yoast-warning-block>div>button:not(:last-child){margin-right:24px}.yoast-block-sidebar-title{font-weight:600;color:#303030}.yoast-block-suggestions{width:100%;padding:0 5px 0 15px}.yoast-block-sidebar-warnings{width:100%;padding:0 0 0 15px}.yoast-block-sidebar-warning{list-style:none;color:#707070}.yoast-block-sidebar-warning>.yoast-svg-icon{margin-left:-1.5em;margin-right:.5em;color:red}.yoast-block-suggestion{list-style:disc;color:#707070}.yoast-block-suggestion--added{color:#404040}.yoast-block-suggestion-checkmark{color:#6ea029}.yoast-block-suggestion-button{cursor:pointer;float:right;color:#006dac;text-decoration:underline;border:0;background:0}.yoast-block-date-picker-container>button{background:none;border:none;color:#747474;font-family:inherit}.yoast-block-date-picker{z-index:1}.yoast-block-date-picker .components-datetime__time>fieldset{margin:0}.yoast-block-date-picker .components-datetime__time>fieldset:last-child{display:none}.yoast-schema-blocks-icon svg{fill:none} .yoast-labeled-inserter{position:relative;width:100%}.yoast-labeled-inserter:before{content:attr(data-label);position:absolute;left:0;height:100%;color:#000}.yoast-labeled-inserter>.block-editor-inserter{width:100%}.yoast-warning-block{border-width:0 0 0 4px;border-style:solid;padding:16px;font-size:13px;font-family:Arial,Roboto-Regular,HelveticaNeue,sans-serif}.yoast-warning-block.required{background:#f8ebea;border-color:#cd423b}.yoast-warning-block.recommended{background:#fef8ee;border-color:#f0b650}.yoast-warning-block>.yoast-warning-block-message{margin:0;font-family:Arial,Roboto-Regular,HelveticaNeue,sans-serif}.yoast-warning-block>div{text-align:right;padding-top:8px}.yoast-warning-block>div>button{background:none;border:none;text-decoration:underline;color:#0073aa}.yoast-schema-block-appender__content{color:rgba(30,30,30,.6)}.wp-block .yoast-warning-block>.yoast-warning-block-message>a{text-decoration:underline;color:#0073aa}.yoast-warning-block>div>button:not(:last-child){margin-right:24px}.yoast-block-sidebar-title{font-weight:600;color:#303030;padding:10px 0 0}.yoast-block-sidebar-header{width:100%;margin-bottom:14px}.yoast-block-suggestions{width:100%;padding:0 5px 0 15px}.yoast-inline-icon{vertical-align:middle}.yoast-block-sidebar-warnings{width:100%}.yoast-block-sidebar-warning{list-style:none;color:#404040;padding:0 0 0 17px}.yoast-block-sidebar-warning>.yoast-svg-icon{margin-left:-1.5em;margin-right:.5em;color:red}.yoast-block-suggestion{list-style:disc;color:#707070}.yoast-block-suggestion--added{color:#404040}.yoast-block-suggestion-checkmark{color:#6ea029}.yoast-block-suggestion-button{cursor:pointer;float:right;color:#006dac;text-decoration:underline;border:0;background:0}.yoast-block-date-picker-container>button{background:none;border:none;color:#747474;font-family:inherit}.yoast-block-date-picker{z-index:1}.yoast-block-date-picker .components-datetime__time>fieldset{margin:0}.yoast-block-date-picker .components-datetime__time>fieldset:last-child{display:none}.yoast-schema-blocks-icon svg{fill:none}
\ No newline at end of file \ No newline at end of file
@import url(../src/score_icon.css);
.adminbar-seo-score {
margin: 10px 0 0 4px !important;
}
#wpadminbar .yoast-issue-added,
#wpadminbar .yoast-issue-added:hover {
position: absolute;
top: 32px;
left: 0;
white-space: nowrap;
padding: 2px 12px;
border-radius: 0 10px 10px 10px;
color: white;
background-color: #a4286a;
box-shadow: 1px 1px 1px 1px grey;
}
#wpadminbar .yoast-issue-added {
display: none;
}
#wpadminbar .yoast-issue-counter {
display: inline;
padding: 1px 7px 1px 6px !important;
border-radius: 50%;
color: white;
}
#wpadminbar .yoast-logo.svg {
float: left;
width: 26px;
height: 30px;
background-repeat: no-repeat;
background-position: 0 6px;
background-size: 20px;
background-image: url("data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgc3R5bGU9ImZpbGw6IzgyODc4YyIgdmlld0JveD0iMCAwIDUxMiA1MTIiPjxnPjxnPjxnPjxnPjxwYXRoIGQ9Ik0yMDMuNiwzOTVjNi44LTE3LjQsNi44LTM2LjYsMC01NGwtNzkuNC0yMDRoNzAuOWw0Ny43LDE0OS40bDc0LjgtMjA3LjZIMTE2LjRjLTQxLjgsMC03NiwzNC4yLTc2LDc2VjM1N2MwLDQxLjgsMzQuMiw3Niw3Niw3NkgxNzNDMTg5LDQyNC4xLDE5Ny42LDQxMC4zLDIwMy42LDM5NXoiLz48L2c+PGc+PHBhdGggZD0iTTQ3MS42LDE1NC44YzAtNDEuOC0zNC4yLTc2LTc2LTc2aC0zTDI4NS43LDM2NWMtOS42LDI2LjctMTkuNCw0OS4zLTMwLjMsNjhoMjE2LjJWMTU0Ljh6Ii8+PC9nPjwvZz48cGF0aCBzdHJva2Utd2lkdGg9IjIuOTc0IiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIGQ9Ik0zMzgsMS4zbC05My4zLDI1OS4xbC00Mi4xLTEzMS45aC04OS4xbDgzLjgsMjE1LjJjNiwxNS41LDYsMzIuNSwwLDQ4Yy03LjQsMTktMTksMzcuMy01Myw0MS45bC03LjIsMXY3Nmg4LjNjODEuNywwLDExOC45LTU3LjIsMTQ5LjYtMTQyLjlMNDMxLjYsMS4zSDMzOHogTTI3OS40LDM2MmMtMzIuOSw5Mi02Ny42LDEyOC43LTEyNS43LDEzMS44di00NWMzNy41LTcuNSw1MS4zLTMxLDU5LjEtNTEuMWM3LjUtMTkuMyw3LjUtNDAuNywwLTYwbC03NS0xOTIuN2g1Mi44bDUzLjMsMTY2LjhsMTA1LjktMjk0aDU4LjFMMjc5LjQsMzYyeiIvPjwvZz48L2c+PC9zdmc+");
}
.yoast-issue-counter {
background-color: #d54e21;
}
#wpadminbar #wp-admin-bar-wpseo-licenses .ab-item {
color: #f18500;
}
@media screen and (max-width: 782px) {
.adminbar-seo-score {
margin: 16px 10px 0 2px !important;
}
#wpadminbar #wp-admin-bar-wpseo-menu {
display: block;
position: static;
}
#wpadminbar .yoast-logo.svg {
width: 52px;
height: 46px;
background-position: 50% 8px;
background-size: 30px;
}
#wpadminbar .yoast-logo + .yoast-issue-counter {
margin-left: -5px;
margin-right: 10px;
}
#wpadminbar .ab-sub-wrapper .yoast-issue-counter {
vertical-align: text-top;
position: relative;
top: -5px;
}
#wpadminbar .yoast-issue-added,
#wpadminbar .yoast-issue-added:hover {
top: 46px;
white-space: normal;
line-height: 1.8;
}
#wp-admin-bar-wpseo-menu.menupop .ab-sub-wrapper #wp-admin-bar-wpseo-kwresearch,
#wp-admin-bar-wpseo-menu.menupop .ab-sub-wrapper #wp-admin-bar-wpseo-settings {
display: none;
}
}
/*# sourceMappingURL=adminbar.css.map */
\ No newline at end of file
.yoast-alert {
display: flex;
align-items: flex-start;
padding: 16px;
border: 1px solid rgba(0, 0, 0, 0.2);
font-size: 14px;
line-height: 1.5;
margin: 16px 0;
}
.yoast-alert--error {
color: #8f1919;
background: #f9dcdc;
}
.yoast-alert--info {
color: #00468f;
background: #cce5ff;
}
.yoast-alert--success {
color: #395315;
background: #e2f2cc;
}
.yoast-alert--warning {
color: #674e00;
background: #fff3cd;
}
/* Needs higher specificity than a Gutenberg ruleset selector. */
.yoast-alert__icon.yoast-alert__icon {
display: block;
margin-top: 0.125rem;
margin-right: 8px;
height: 16px;
width: 16px;
max-width: none;
}
.yoast-alert a {
color: #004973;
}
.yoast-badge {
display: inline-block;
min-height: 16px;
padding: 0 8px;
border-radius: 8px;
font-weight: 600;
font-size: 10px;
line-height: 1.6;
}
.yoast-new-badge {
background-color: #cce5ff;
color: #004973;
}
.yoast-badge__is-link {
text-decoration: none;
}
.yoast-badge__is-link:hover,
.yoast-badge__is-link:focus {
background-color: #004973;
color: #fff;
outline: none;
box-shadow: none;
}
.switch-container .yoast-badge {
vertical-align: -1em;
}
.yoast_help + .yoast-badge {
vertical-align: bottom;
}
#yoast-seo-dashboard-widget h3 {
/* csslint allow: qualified-headings */
font-weight: bold;
}
#yoast-seo-dashboard-widget .assessments, #yoast-seo-dashboard-widget .score-assessments {
padding-left: 0;
}
#yoast-seo-dashboard-widget .wordpress-feed {
margin: 16px -12px 0;
padding: 12px 12px 0;
border-top: 1px solid #eee;
}
#yoast-seo-dashboard-widget .wordpress-feed .wordpress-feed__post {
margin-top: 12px;
}
#yoast-seo-dashboard-widget .wordpress-feed .wordpress-feed__footer {
margin: 0 -12px;
padding: 4px 12px 0;
border-top: 1px solid #eee;
}
#yoast-seo-ryte-assessment {
margin: 12px -12px 0;
padding: 12px 12px 0;
border-top: 1px solid #eee;
}
#yoast-seo-ryte-assessment .button {
margin-right: 8px;
}
#yoast-seo-ryte-assessment .button.landing-page {
border-color: #7b1e4f #6f1b47 #6f1b47;
color: #fff;
background: #a4286a;
box-shadow: 0 1px 0 #6f1b47;
}
#yoast-seo-ryte-assessment .button.landing-page:hover, #yoast-seo-ryte-assessment .button.landing-page:focus {
background: #90235d;
border-color: #6f1b47;
}
#yoast-seo-ryte-assessment .button.landing-page:focus {
box-shadow: 0 1px 0 #7b1e4f, 0 0 2px 1px #a35685;
}
#yoast-seo-ryte-assessment .button.landing-page:active {
background: #7b1e4f;
border-color: #6f1b47;
box-shadow: inset 0 2px 0 #6f1b47;
vertical-align: top;
}
#yoast-seo-dashboard-widget:empty:before {
display: block;
content: "";
width: 40px;
height: 40px;
background-image: url("../../images/Yoast_SEO_Icon.svg");
margin: 25px auto;
-webkit-animation: rotate 2s infinite linear;
animation: rotate 2s infinite linear;
}
@-webkit-keyframes rotate {
0% {
-webkit-transform: perspective(120px);
}
100% {
-webkit-transform: perspective(120px) rotateY(360deg);
}
}
@keyframes rotate {
0% {
transform: perspective(120px) rotateX(0deg) rotateY(0deg);
-webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg);
}
100% {
transform: perspective(120px) rotateX(0deg) rotateY(360deg);
-webkit-transform: perspective(120px) rotateX(0deg) rotateY(360deg);
}
}
/*# sourceMappingURL=dashboard.css.map */
\ No newline at end of file
@import url(../src/score_icon.css);
@media screen and (max-width: 782px) {
.column-wpseo-title,
.column-wpseo-score,
.column-wpseo-metadesc,
.column-wpseo-focuskw {
display: none;
}
}
/*# sourceMappingURL=edit-page.css.map */
\ No newline at end of file
/*
* Style adaptions for the Elementor integration
* Mostly fills in the gaps for pieces that normally receive their styles through the block-editor
*/
:root {
--yoast-elementor-color-paragraph: #555D66;
}
.yoast, .yoast h2, .yoast h3 {
font-family: var(--yoast-font-family) !important;
}
.yoast h2 {
color: var(--yoast-color-dark);
font-size: 1.3em;
font-weight: var(--yoast-font-weight-bold);
margin-bottom: 1em;
}
.yoast label, .yoast input, .yoast select:not(:focus), .yoast input:focus, .yoast select:focus {
color: var(--yoast-color-font-default);
background-color: rgba(0,0,0,0);
border-color: var(--yoast-color-secondary-darker);
}
.yoast label {
color: var(--yoast-color-label);
}
.yoast input[disabled] {
background-color: var(--yoast-color-inactive-grey-light);
}
.yoast.components-panel__body .yoast-title {
font-weight: 500;
}
.yoast-field-group__title b {
font-weight: var(--yoast-font-weight-bold);
}
.yoast h3 span > span {
font-weight: 400;
}
.elementor-panel .elementor-tab-control-yoast-tab a:before, .yoast-element-menu-icon:before {
mask-image: var(--yoast-svg-icon-yoast);
-webkit-mask-image: var(--yoast-svg-icon-yoast);
mask-size: 100% 100%;
-webkit-mask-size: 100% 100%;
height: 16px;
width: 16px;
margin: 0 auto;
/*
Content should contain some text, because that's how Elementor spaces their nav.
Set color to transparent because we don't wan't to see the before's text.
*/
content: ".";
color: transparent;
background-color: #6d7882;
}
.yoast-element-menu-icon {
display: inline-flex;
}
.yoast-element-menu-icon:before {
height: 19px;
width: 19px;
background-color: #a4afb7;
}
.yoast-elementor-panel__fills {
margin-top: 10px;
padding: 5px 5px 0 5px;
color: var(--yoast-color-dark);
background-color: var(--yoast-color-white);
-webkit-font-smoothing: subpixel-antialiased;
}
.yoast li, .yoast p, .yoast small {
margin-bottom: 6px;
line-height: 1.5;
}
.yoast ul[role='list'] li, .yoast p, .yoast small {
color: var(--yoast-elementor-color-paragraph);
}
.yoast-elementor-panel__fills p a, .button-link, .yoast a, .yoast a p {
color: var(--yoast-color-link);
text-decoration: underline;
}
.yoast a.dashicons {
color: var(--yoast-color-inactive-text);
height: 24px;
width: 24px;
vertical-align: text-bottom;
}
.button-link {
border: none;
background: none;
cursor: pointer;
font-size: 1em;
line-height: 1.5;
}
.yoast-elementor-panel__fills .UpsellLinkButton, .yoast .yoast-button-upsell {
line-height: 1.4em;
color: var(--yoast-color-label);
text-decoration: none;
}
.yoast-elementor-panel__fills h3 > button {
border: none;
box-shadow: none;
background: none;
}
.yoast-gutenberg-modal .yoast-notice-container > hr {
border-top-color: #ddd;
border-top-style: solid;
}
.yoast-gutenberg-modal input[type="radio"] {
-webkit-appearance: none;
-moz-appearance: none;
width: 18px;
height: 18px;
padding: 2px;
margin: 0 8px 0 0;
vertical-align: text-bottom;
border-radius: 50%;
transition: all 150ms ease-out 0s;
border: var(--yoast-border-default);
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
position: relative;
overflow: hidden;
cursor: pointer;
}
.yoast-gutenberg-modal input[type="radio"]:checked {
border-color: var(--yoast-color-primary);
background-color: inherit;
}
.yoast-gutenberg-modal input[type='radio']:checked:after {
background: var(--yoast-color-primary);
width: 10px;
height: 10px;
background: var(--yoast-color-primary);
position: absolute;
left: 3px;
top: 3px;
content: "";
display: block;
border-radius: 50%;
}
.yoast-post-settings-modal .yoast-notice-container {
bottom: auto;
}
.yoast-gutenberg-modal .components-popover.components-tooltip {
position: relative;
left: unset !important;
top: 15px !important;
right: 40px;
}
/* Tab-focus styling */
.yoast div:focus, div.yoast:focus {
outline: 0;
}
.yoast a:focus, .yoast .button-link:focus {
color: #124964;
box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8);
outline: 1px solid transparent;
}
.yoast a.dashicons:focus {
color: #1e8cbe;
}
.yoast input[type="radio"]:checked:focus {
box-shadow: var(--yoast-color-focus);
border-color: #fff;
}
.yoast .yoast-button-upsell:focus {
color: #000;
box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.2), 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8);
}
/* Introduction message */
#yoast-introduction {
z-index: 1;
top: 5px!important;
left: 41px!important;
box-shadow: var(--yoast-shadow-default);
text-align: left;
padding: 20px;
}
#yoast-introduction::before {
left: -12px;
top: 8px;
transform: rotate(-90deg);
}
#yoast-introduction > div {
color: var(--yoast-color-default);
}
#yoast-introduction > .dialog-header {
font-weight: var(--yoast-font-weight-bold);
line-height: 1.3;
}
#yoast-introduction > .dialog-buttons-wrapper {
justify-content: flex-end;
margin-top: 12px;
}
/* All hover effects */
@media(hover:hover) {
.yoast a:hover, .yoast a:hover p, .yoast-elementor-panel__fills p a:hover, .button-link:hover {
color: var(--yoast-color-primary-darker);
}
.yoast a.dashicons:hover {
color: var(--yoast-color-link);
}
.yoast-elementor-panel__fills .UpsellLinkButton:hover, .yoast .yoast-button-upsell:hover {
color: var(--yoast-color-label);
}
}
/*# sourceMappingURL=elementor.css.map */
#yst_opengraph_image_warning {
margin-top: 0;
}
.yoast-opengraph-image-notice #set-post-thumbnail > img {
box-shadow: 0 0 0 2px #fff, 0 0 0 5px #dc3232;
}
/*# sourceMappingURL=featured-image.css.map */
\ No newline at end of file
#posts-filter .wpseo-filter-explanation {
margin: 10px 1px 5px;
clear: both;
}
/*# sourceMappingURL=filter-explanation.css.map */
\ No newline at end of file
:root {
--yoast-svg-icon-info: url('data:image/svg+xml,<svg width="1792" height="1792" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" focusable="false"><path fill="%23A4286A" d="M1152 1376v-160q0-14-9-23t-23-9h-96v-512q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v160q0 14 9 23t23 9h96v320h-96q-14 0-23 9t-9 23v160q0 14 9 23t23 9h448q14 0 23-9t9-23zm-128-896v-160q0-14-9-23t-23-9h-192q-14 0-23 9t-9 23v160q0 14 9 23t23 9h192q14 0 23-9t9-23zm640 416q0 209-103 385.5t-279.5 279.5-385.5 103-385.5-103-279.5-279.5-103-385.5 103-385.5 279.5-279.5 385.5-103 385.5 103 279.5 279.5 103 385.5z"/></svg>');
--yoast-svg-icon-check: url('data:image/svg+xml,<svg width="1792" height="1792" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" focusable="false"><path fill="%2377B227" d="M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z"/></svg>');
--yoast-svg-icon-check-ok: url('data:image/svg+xml,<svg width="1792" height="1792" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" focusable="false"><path fill="%2377B227" d="M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z"/></svg>');
--yoast-svg-icon-caret-right: url('data:image/svg+xml,<svg width="16" height="16" viewBox="0 0 192 512" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" focusable="false"><path fill="%23555555" d="M 0 384.662 V 127.338 c 0 -17.818 21.543 -26.741 34.142 -14.142 l 128.662 128.662 c 7.81 7.81 7.81 20.474 0 28.284 L 34.142 398.804 C 21.543 411.404 0 402.48 0 384.662 Z"/></svg>');
--yoast-svg-icon-caret-left: url('data:image/svg+xml,<svg width="16" height="16" viewBox="0 0 192 512" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" focusable="false"><path fill="%23555555" d="M192 127.338v257.324c0 17.818-21.543 26.741-34.142 14.142L29.196 270.142c-7.81-7.81-7.81-20.474 0-28.284l128.662-128.662c12.599-12.6 34.142-3.676 34.142 14.142z"/></svg>');
--yoast-svg-icon-eye: url('data:image/svg+xml,<svg width="1792" height="1792" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" focusable="false"><path fill="%23555555" d="M1664 960q-152-236-381-353 61 104 61 225 0 185-131.5 316.5t-316.5 131.5-316.5-131.5-131.5-316.5q0-121 61-225-229 117-381 353 133 205 333.5 326.5t434.5 121.5 434.5-121.5 333.5-326.5zm-720-384q0-20-14-34t-34-14q-125 0-214.5 89.5t-89.5 214.5q0 20 14 34t34 14 34-14 14-34q0-86 61-147t147-61q20 0 34-14t14-34zm848 384q0 34-20 69-140 230-376.5 368.5t-499.5 138.5-499.5-139-376.5-368q-20-35-20-69t20-69q140-229 376.5-368t499.5-139 499.5 139 376.5 368q20 35 20 69z" /></svg>');
--yoast-svg-icon-list: url('data:image/svg+xml,<svg width="1792" height="1792" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" focusable="false"><path fill="%23555555" d="M384 1408q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm0-512q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zm-1408-928q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zm0-512v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5z"/></svg>');
--yoast-svg-icon-key: url('data:image/svg+xml,<svg width="1792" height="1792" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" focusable="false"><path fill="%23555555" d="M832 512q0-80-56-136t-136-56-136 56-56 136q0 42 19 83-41-19-83-19-80 0-136 56t-56 136 56 136 136 56 136-56 56-136q0-42-19-83 41 19 83 19 80 0 136-56t56-136zm851 704q0 17-49 66t-66 49q-9 0-28.5-16t-36.5-33-38.5-40-24.5-26l-96 96 220 220q28 28 28 68 0 42-39 81t-81 39q-40 0-68-28l-671-671q-176 131-365 131-163 0-265.5-102.5t-102.5-265.5q0-160 95-313t248-248 313-95q163 0 265.5 102.5t102.5 265.5q0 189-131 365l355 355 96-96q-3-3-26-24.5t-40-38.5-33-36.5-16-28.5q0-17 49-66t66-49q13 0 23 10 6 6 46 44.5t82 79.5 86.5 86 73 78 28.5 41z"/></svg>');
--yoast-svg-icon-edit: url('data:image/svg+xml,<svg width="1792" height="1792" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" focusable="false"><path fill="%23555555" d="M491 1536l91-91-235-235-91 91v107h128v128h107zm523-928q0-22-22-22-10 0-17 7l-542 542q-7 7-7 17 0 22 22 22 10 0 17-7l542-542q7-7 7-17zm-54-192l416 416-832 832h-416v-416zm683 96q0 53-37 90l-166 166-416-416 166-165q36-38 90-38 53 0 91 38l235 234q37 39 37 91z" /></svg>');
--yoast-svg-icon-yoast: url('data:image/svg+xml,<svg width="1792" height="1792" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" focusable="false"><path fill="%23999999" d="M403 218h691l-26 72h-665q-110 0-188.5 79t-78.5 189v771q0 95 60.5 169.5t153.5 93.5q23 5 98 5v72h-45q-140 0-239.5-100t-99.5-240v-771q0-140 99.5-240t239.5-100zm851-218h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106l-285-733h228l187 585zm474 558v1111h-795q37-55 45-73h678v-1038q0-85-49.5-155t-129.5-99l25-67q101 34 163.5 123.5t62.5 197.5z"/></svg>');
--yoast-svg-icon-yoast-good: url('data:image/svg+xml,<svg width="1792" height="1792" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" focusable="false"><path fill="%237ad03a" d="M403 218h691l-26 72h-665q-110 0-188.5 79t-78.5 189v771q0 95 60.5 169.5t153.5 93.5q23 5 98 5v72h-45q-140 0-239.5-100t-99.5-240v-771q0-140 99.5-240t239.5-100zm851-218h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106l-285-733h228l187 585zm474 558v1111h-795q37-55 45-73h678v-1038q0-85-49.5-155t-129.5-99l25-67q101 34 163.5 123.5t62.5 197.5z"/></svg>');
--yoast-svg-icon-yoast-ok: url('data:image/svg+xml,<svg width="1792" height="1792" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" focusable="false"><path fill="%23ee7c1b" d="M403 218h691l-26 72h-665q-110 0-188.5 79t-78.5 189v771q0 95 60.5 169.5t153.5 93.5q23 5 98 5v72h-45q-140 0-239.5-100t-99.5-240v-771q0-140 99.5-240t239.5-100zm851-218h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106l-285-733h228l187 585zm474 558v1111h-795q37-55 45-73h678v-1038q0-85-49.5-155t-129.5-99l25-67q101 34 163.5 123.5t62.5 197.5z"/></svg>');
--yoast-svg-icon-yoast-bad: url('data:image/svg+xml,<svg width="1792" height="1792" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" focusable="false"><path fill="%23dc3232" d="M403 218h691l-26 72h-665q-110 0-188.5 79t-78.5 189v771q0 95 60.5 169.5t153.5 93.5q23 5 98 5v72h-45q-140 0-239.5-100t-99.5-240v-771q0-140 99.5-240t239.5-100zm851-218h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106l-285-733h228l187 585zm474 558v1111h-795q37-55 45-73h678v-1038q0-85-49.5-155t-129.5-99l25-67q101 34 163.5 123.5t62.5 197.5z"/></svg>');
--yoast-svg-icon-yoast-noindex: url('data:image/svg+xml,<svg width="1792" height="1792" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg" role="img" aria-hidden="true" focusable="false"><path fill="%231e8cbe" d="M403 218h691l-26 72h-665q-110 0-188.5 79t-78.5 189v771q0 95 60.5 169.5t153.5 93.5q23 5 98 5v72h-45q-140 0-239.5-100t-99.5-240v-771q0-140 99.5-240t239.5-100zm851-218h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106l-285-733h228l187 585zm474 558v1111h-795q37-55 45-73h678v-1038q0-85-49.5-155t-129.5-99l25-67q101 34 163.5 123.5t62.5 197.5z"/></svg>');
}
/*# sourceMappingURL=icons.css.map */
.yoast-text-mark {
background-color: #e1bee7;
}
.yoast-text-mark__highlight {
background-color: #4a148c;
color: white;
}
/*# sourceMappingURL=inside-editor.css.map */
\ No newline at end of file
.wpseo-primary-term > label,
.wpseo-is-primary-term {
font-weight: 600;
}
.wpseo-primary-term > .wpseo-make-primary-term,
.wpseo-term-unchecked > .wpseo-make-primary-term {
display: none;
}
.wpseo-non-primary-term > .wpseo-is-primary-term,
.wpseo-term-unchecked > .wpseo-is-primary-term {
display: none;
}
.wpseo-make-primary-term,
.wpseo-is-primary-term {
float: right;
}
.wpseo-primary-term:before,
.wpseo-primary-term:after,
.wpseo-non-primary-term:before,
.wpseo-non-primary-term:after {
display: table;
content: "";
}
.wpseo-primary-term:after,
.wpseo-non-primary-term:after {
clear: both;
}
/* It is a button, style it like a link */
.wpseo-make-primary-term {
margin: 4px 0 0 0;
padding: 0;
border: none;
color: #0073aa;
background: none;
text-decoration: underline;
cursor: pointer;
}
.wpseo-make-primary-term:hover {
color: #00a0d2;
}
/*# sourceMappingURL=metabox-primary-category.css.map */
\ No newline at end of file
This diff is collapsed.
.yoast-modal__screen-overlay { /* Background */
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
background-color: rgba(164, 40, 106, 0.6);
z-index: 100000;
animation: edit-post__fade-in-animation .2s ease-out 0s;
animation-fill-mode: forwards;
}
.yoast-modal {
background: white;
display: flex;
flex-direction: column;
overflow: hidden;
position: fixed;
height: calc(100% - 96px);
top: 48px;
bottom: 48px;
left: calc(50% - 440px);
max-width: 880px;
width: 100%;
}
.yoast-gutenberg-modal .yoast-icon {
background-color: var(--yoast-color-primary);
mask-image: var(--yoast-svg-icon-yoast);
-webkit-mask-image: var(--yoast-svg-icon-yoast);
mask-size: 100% 100%;
-webkit-mask-size: 100% 100%;
display: inline-block;
width: 20px;
height: 20px;
margin-right: 8px;
}
.yoast-tabs .yoast-modal__content {
display: grid;
grid-template-areas: "heading heading" "menu content" "menu footer";
grid-template-rows: 72px 1fr 88px;
grid-template-columns: 280px 1fr;
}
.yoast-modal__heading {
display: flex;
align-items: center;
box-sizing: border-box;
min-height: 72px;
border-bottom: var(--yoast-border-default);
padding: 0 24px;
grid-area: heading;
background: var(--yoast-color-white);
}
.yoast-modal__heading .yoast-close {
position: absolute;
right: 16px;
}
.yoast-modal__heading h1,
.yoast-gutenberg-modal .components-modal__header-heading {
font-size: 20px;
font-weight: 400;
color: var(--yoast-color-primary);
line-height: 1.2;
margin: 0;
}
.yoast-gutenberg-modal .components-modal__icon-container {
display: inline-flex;
}
.yoast-modal__heading-icon,
.yoast-gutenberg-modal .components-modal__icon-container svg {
fill: var(--yoast-color-primary);
margin-right: 16px;
width: 19px;
height: 20px;
flex-shrink: 0;
}
.yoast-modal__menu {
grid-area: menu;
border-right: var(--yoast-border-default);
overflow-y: auto;
}
.yoast-modal__menu ul {
padding: 0;
margin: 0;
list-style: none;
}
.yoast-modal__menu li {
padding: 12px 16px 11px;
border-bottom: var(--yoast-border-default);
font-size: 16px;
cursor: pointer;
text-decoration: none;
color: var(--yoast-color-default);
display: block;
}
.yoast-modal__menu li:hover {
background-color: #EDD4E1;
}
.yoast-modal__menu li.yoast-tabs__tab--selected {
background-color: var(--yoast-color-primary);
border-bottom: var(--yoast-border-default);
color: white;
}
.yoast-modal__content {
grid-area: content;
overflow-y: auto;
flex-grow: 1;
position: relative;
display: flex;
flex-direction: column;
}
.yoast-modal__section {
grid-area: content;
overflow-y: auto;
flex-grow: 1;
position: relative;
display: flex;
flex-direction: column;
}
.yoast-modal__section * {
max-width: 600px;
}
.yoast-modal__section-header {
position: sticky;
top: 0;
background: var(--yoast-color-white);
padding: 24px 24px 0 24px;
z-index: 10;
}
.yoast-modal__section .yoast-h2 {
border-bottom: var(--yoast-border-default);
padding-bottom: 24px;
}
.yoast-modal__footer {
grid-area: footer;
padding: 0;
border-top: var(--yoast-border-default);
display: flex;
align-self: flex-end;
align-items: center;
justify-content: flex-end;
position: sticky;
bottom: 0;
background: var(--yoast-color-white);
margin: 0 24px;
z-index: 10;
box-sizing: border-box;
min-height: 88px;
width: calc(100% - 48px);
}
.yoast-modal__settings-saved {
position: relative;
margin-right: 16px;
display: inline-flex;
align-items: center;
}
.yoast-modal__settings-saved:before {
content: "";
background: var(--yoast-checkmark--green) no-repeat center;
height: 13px;
width: 14px;
display: inline-block;
margin-right: 8px;
}
.yoast-modal__footer .yoast-button {
display: block;
}
.yoast-modal__section-content {
padding: 24px;
flex-grow: 1;
}
@media screen and (max-width: 880px) {
.yoast-modal {
top: 0;
bottom: 0;
left: 0;
right: 0;
height: auto;
}
}
@media screen and (max-width: 782px) {
.yoast-modal {
overflow-y: initial;
}
.yoast-modal.yoast-modal-collapsible {
padding-bottom: 72px;
}
.yoast-tabs .yoast-modal__content {
grid-template-rows: 48px 1fr 72px;
}
.yoast-modal__heading {
padding: 0 16px;
position: fixed;
top: 0;
width: 100%;
min-height: 48px;
z-index: 11;
}
.yoast-modal__heading h1 {
font-size: var(--yoast-font-size-default);
}
.yoast-close svg {
width: 10px;
}
.yoast-modal__heading-icon {
height: 15px;
margin-right: 8px;
}
.yoast .yoast-close {
right: 3px;
}
.yoast-modal__heading .yoast-h2 {
font-size: var(--yoast-font-size-default);
}
.yoast-modal__section {
overflow: initial;
flex-grow: 0;
}
.yoast-modal__section-content {
padding: 24px 0;
margin: 0 16px;
}
.yoast-modal__section:first-of-type {
margin-top: 48px;
}
.yoast-modal__section:last-of-type {
margin-bottom: 72px;
}
.yoast-modal__section-header {
top: 48px;
position: sticky;
padding: 0;
margin: 0;
}
.yoast-modal__section-open .yoast-modal__section-header {
padding-left: 0;
padding-right: 0;
margin-left: 16px;
margin-right: 16px;
}
.yoast-modal__section-open {
border-bottom: var(--yoast-border-default);
}
.yoast-modal__footer {
width: 100%;
min-height: 72px;
margin: 0;
padding: 0 16px;
position: fixed;
z-index: 11;
}
.yoast-modal-collapsible .yoast-modal__footer {
min-height: 72px;
}
/* collapsible styling */
.yoast-modal-collapsible .yoast-modal__section-content {
padding: 24px 16px;
border-bottom: var(--yoast-border-default);
margin: 0;
}
.yoast-collapsible__hidden {
display: none;
}
.yoast-collapsible__trigger {
padding: 16px;
border: none;
border-bottom: var(--yoast-border-default);
cursor: pointer;
justify-content: space-between;
font-size: var(--yoast-font-size-default);
width: 100%;
text-align: left;
background: white;
color: var(--yoast-color-primary);
}
.yoast-collapsible__trigger[aria-expanded="true"] .yoast-collapsible__icon {
transform: rotatez(180deg);
}
.yoast-collapsible__trigger[aria-expanded="true"] {
padding: 16px 0;
width: calc(100% - 32px);
margin: 0 16px;
}
.yoast-collapsible__icon {
background-color: var(--yoast-color-white);
background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 8" fill="%23404040"><path d="M1.4 0L6 4.6 10.6 0 12 1.4 6 7.5 0 1.4z"/></svg>');
background-position: center center;
background-repeat: no-repeat;
background-size: 10px auto;
width: 19px;
height: 19px;
border: none;
display: block;
float: right;
}
.yoast-collapsible-block {
width: 100%;
margin-top: 48px;
}
.yoast-collapsible-block + .yoast-collapsible-block {
margin-top: 0;
}
}
/* Specific styling for the PostSettingsModal */
.yoast-post-settings-modal {
width: 880px;
height: 100%;
max-width: calc(100% - 48px - 48px);
max-height: calc(100% - 48px - 48px);
overflow: hidden;
}
.yoast-modal-content {
padding: 16px;
}
@media (min-width: 782px) {
.yoast-modal-content--columns {
display: grid;
grid-template-columns: 1fr 1fr;
grid-gap: 24px;
}
}
.yoast-post-settings-modal__button-container {
padding: 16px;
display: flex;
flex-direction: column;
border-bottom: 1px solid rgba( 0,0,0,0.2 );
}
.yoast-post-settings-modal .components-modal__content {
padding: 0;
display: flex;
flex-direction: column;
}
.yoast-post-settings-modal .components-modal__header {
margin: 0;
flex-shrink: 0;
border-bottom: var(--yoast-border-default);
}
.yoast-post-settings-modal .yoast-notice-container {
z-index: 1;
position: sticky;
bottom: 0;
left: 0;
width: 100%;
margin-top: auto;
}
/**
* Add a negative margin so that the hr will overlap with the border of the content above.
*
* As this is only needed when the content overflows, it is hard to make a good CSS rule for this case.
* Adding a negative margin solves the problem and has no noticeable effect when the margin was not really needed.
*/
.yoast-post-settings-modal .yoast-notice-container > hr {
margin-top: -1px;
margin-bottom: 0;
}
.yoast-post-settings-modal .yoast-content-container {
overflow-y: auto;
flex-grow: 1;
}
.yoast-post-settings-modal .yoast-button-container {
display: flex;
flex-direction: row;
justify-content: flex-end;
padding: 24px 24px 24px;
margin: 0;
}
.yoast-post-settings-modal .yoast-button-container p {
color: var(--yoast-color-label-help);
padding-right: 24px;
align-self: center;
}
.yoast-post-settings-modal .yoast-button-container button {
flex-shrink: 0;
max-height: 45px;
align-self: center;
}
/* Responsive CSS for the mobile PostSettingsModal */
@media only screen and (max-width: 600px){
/* Make the modal fullscreen. */
.yoast-post-settings-modal {
max-height: 100%;
max-width: 100%;
}
/* Align the button and notice so that they have the spacing between them. */
.yoast-post-settings-modal .yoast-button-container {
padding: 16px 16px 16px;
justify-content: space-between;
}
/* Unset the padding for the p on mobile devices */
.yoast-post-settings-modal .yoast-button-container p {
padding-right: 0;
}
}
/* Specific styling for the SEMrushRelatedKeyphrasesModal */
.yoast-related-keyphrases-modal {
max-width: 712px;
}
#yoast-get-related-keyphrases-sidebar,
#yoast-get-related-keyphrases-metabox {
margin-top: 8px;
}
.yoast-gutenberg-modal .yoast-related-keyphrases-modal__content {
min-height: 66vh;
position: relative;
}
#yoast-semrush-country-selector {
position: relative;
border: none;
}
.yoast-related-keyphrases-modal__chart {
display: block;
}
@import url(../src/icons.css);
@import "../../node_modules/yoast-components/css/accessibility.scss";
.yoast-notification {
padding: 0 12px;
border-left: 4px solid #fff;
background: #fff;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.yoast-container {
position: relative;
max-width: 1280px;
margin: 20px 0 1px;
padding: 20px 20px 0;
border: 1px solid #e5e5e5;
background-color: #fdfdfd;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}
.yoast-notifications > h2:first-child {
margin: 0;
padding: 9px 0 4px 0;
font-size: 23px;
font-weight: 400;
line-height: 29px;
}
.yoast-notifications .yoast-container h3 {
margin: -20px -20px 0;
padding: 1em;
border-bottom: 1px solid #ccc;
background-color: #fdfdfd;
font-size: 1.4em;
}
.yoast-container .container {
max-width: 980px;
}
.yoast-container .yoast-notification-holder {
display: flex;
position: relative;
}
.restore .dashicons,
.dismiss .dashicons {
font-size: 20px;
width: 20px;
height: 20px;
}
.yoast-bottom-spacing {
margin-bottom: 20px;
}
/* These selectors need a higher specificity than .wp-core-ui .button */
.yoast-notifications .button.restore,
.yoast-notifications .button.dismiss {
position: absolute;
right: 0;
width: 52px;
height: 100%;
line-height: inherit;
padding: 0;
outline: none;
cursor: pointer;
background: transparent;
border: none;
box-shadow: none;
border-radius: 0;
}
.yoast-notifications .button.restore:hover,
.yoast-notifications .button.dismiss:hover {
background: transparent;
}
.yoast-notifications .button.restore:focus,
.yoast-notifications .button.dismiss:focus {
background: transparent;
}
.yoast-notifications .button.restore:focus::before,
.yoast-notifications .button.dismiss:focus::before {
content: "";
display: block;
width: 32px;
height: 32px;
border-radius: 50%;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
box-shadow: 0 0 0 1px #007cba;
/* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
}
.yoast-notifications .button.dismiss.yoast-container__configuration-wizard--dismiss::before {
top: 0;
transform: translate(-50%, 6px);
}
.yoast-container .separator {
margin-top: 1em;
margin-bottom: 1em;
border-top: 1px solid #ddd;
}
.yoast-container .dashicons-yes {
color: #77b227;
}
.yoast-container-disabled {
display: table-cell;
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
border-radius: 4px;
background-color: rgba(232, 232, 232, 0.7);
}
.yoast-no-issues {
padding: 1em 1em 1em 16px;
color: #666;
}
.yoast-muted-title {
overflow: hidden;
font-weight: 600;
font-style: italic;
}
.yoast-muted-title:after {
content: "";
display: inline-block;
height: 0.5em;
vertical-align: bottom;
width: 100%;
margin-right: -100%;
margin-left: 10px;
border-top: 1px solid #ddd;
}
/* Shared style for the problems and notifications. */
.yoast-notifications-active .yoast-notification, .yoast-notifications-dismissed .yoast-notification {
padding-right: 52px;
flex: 1;
}
.yoast-notifications-active .yoast-notification-holder {
margin-bottom: 20px;
}
.yoast-notifications-dismissed.paper.tab-block {
margin: 20px 0 20px 0;
}
.yoast-notifications-dismissed.paper.tab-block .paper-container.toggleable-container {
padding: 0;
}
.yoast-notifications-dismissed.paper.tab-block .paper-container.toggleable-container .yoast-notification-holder:nth-child(odd) {
background-color: #f7f7f7;
}
.yoast-notifications-dismissed.paper.tab-block .paper-container.toggleable-container .yoast-notification-holder:nth-child(odd) .yoast-notification {
background-color: transparent;
}
.yoast-notifications-dismissed .yoast-svg-icon-eye {
background: transparent var(--yoast-svg-icon-eye) no-repeat 0 0;
background-size: 20px;
}
/* Style only for errors / problems. */
#yoast-errors-header .dashicons {
color: #dc3232;
}
#yoast-errors-active .yoast-notification {
border-left-color: #dc3232;
}
#yoast-errors-dismissed .yoast-notification {
border-left-color: #d93f69;
}
/* Style only for warnings / notifications. */
#yoast-warnings-header .dashicons {
color: #5d237a;
}
#yoast-warnings-active .yoast-notification {
border-left-color: #5d237a;
}
#yoast-warnings-dismissed .yoast-notification {
border-left-color: #0075b3;
}
.yoast-notifications .yoast-container__configuration-wizard {
display: flex;
align-items: center;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
background-color: #fff;
min-height: 0;
padding-bottom: 20px;
margin-bottom: 15px;
}
@media screen and (max-width: 768px) {
.yoast-notifications .yoast-container__configuration-wizard img {
display: none;
}
}
.yoast-notifications .yoast-container__configuration-wizard--content {
flex: 1 1 auto;
margin: 12px;
padding: 0;
}
.yoast-notifications .yoast-container__configuration-wizard--content h3 {
border-bottom: 0;
font-size: 1.4em;
line-height: 1;
margin: 0 0 4px 0;
padding: 0;
background: transparent;
}
.yoast-notifications .yoast-container__configuration-wizard--content p {
margin: 1em 0 0;
}
.yoast-notifications .yoast-container__configuration-wizard--content p:last-child {
margin: 0;
}
@media screen and (max-width: 768px) {
.yoast-notifications .yoast-container__configuration-wizard--content {
display: block;
position: relative;
padding: 16px;
}
}
.yoast-notifications .yoast-container__configuration-wizard--dismiss {
text-align: center;
}
@media screen and (max-width: 768px) {
.yoast-notifications .yoast-container__configuration-wizard--dismiss {
width: 40px;
position: absolute;
top: 5px;
right: 5px;
margin: 0;
}
}
.yoast-notifications .yoast-container__configuration-wizard--dismiss .dashicons {
text-decoration: none;
margin-top: 12px;
}
/*# sourceMappingURL=notifications.css.map */
@import '@yoast/schema-blocks/css/schema-blocks.css';
.wpseo-score-icon {
display: inline-block !important;
width: 12px !important;
height: 12px !important;
border-radius: 50% !important;
margin: 3px 10px 0 3px;
background: #888;
vertical-align: top;
}
.wpseo-score-icon.good {
background-color: #7ad03a;
}
.wpseo-score-icon.ok {
background-color: #ee7c1b;
}
.wpseo-score-icon.bad {
background-color: #dc3232;
}
.wpseo-score-icon.na {
background-color: #888;
}
.wpseo-score-icon.noindex {
background-color: #1e8cbe;
}
@import "../../node_modules/draft-js-mention-plugin/lib/plugin.css";
/*rtl:begin:ignore*/
@import "../../node_modules/draft-js/dist/Draft.css";
/*rtl:end:ignore*/
.yoast-schema-settings-container {
margin-top: 18px;
}
.yoast-schema-settings-container:first-child {
margin-top: 0px;
}
.draftJsMentionPlugin__mention__29BEd, .draftJsMentionPlugin__mention__29BEd:visited {
color: #575f67;
cursor: pointer;
display: inline-block;
background: #e6f3ff;
padding-left: 2px;
padding-right: 2px;
border-radius: 2px;
text-decoration: none;
}
.draftJsMentionPlugin__mention__29BEd:hover, .draftJsMentionPlugin__mention__29BEd:focus {
color: #677584;
background: #edf5fd;
outline: 0;
/* reset for :focus */
}
.draftJsMentionPlugin__mention__29BEd:active {
color: #222;
background: #455261;
}
.draftJsMentionPlugin__mentionSuggestionsEntry__3mSwm {
padding: 7px 10px 3px 10px;
transition: background-color 0.4s cubic-bezier(0.27, 1.27, 0.48, 0.56);
}
.draftJsMentionPlugin__mentionSuggestionsEntry__3mSwm:active {
background-color: #cce7ff;
}
.draftJsMentionPlugin__mentionSuggestionsEntryFocused__3LcTd {
background-color: #e6f3ff;
}
.draftJsMentionPlugin__mentionSuggestionsEntryText__3Jobq {
display: inline-block;
margin-left: 8px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 368px;
font-size: 0.9em;
margin-bottom: 0.2em;
}
.draftJsMentionPlugin__mentionSuggestionsEntryAvatar__1xgA9 {
display: inline-block;
width: 24px;
height: 24px;
border-radius: 12px;
}
.draftJsMentionPlugin__mentionSuggestions__2DWjA {
border: 1px solid #eee;
margin-top: 0.4em;
position: absolute;
min-width: 220px;
max-width: 440px;
background: #fff;
border-radius: 2px;
box-shadow: 0px 4px 30px 0px gainsboro;
cursor: pointer;
padding-top: 8px;
padding-bottom: 8px;
z-index: 2;
display: -webkit-box;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
flex-direction: column;
box-sizing: border-box;
-webkit-transform: scale(0);
transform: scale(0);
}
/*rtl:begin:ignore*/
/**
* Draft v0.10.5
*
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
.DraftEditor-editorContainer, .DraftEditor-root, .public-DraftEditor-content {
height: inherit;
text-align: initial;
}
.public-DraftEditor-content[contenteditable=true] {
-webkit-user-modify: read-write-plaintext-only;
}
.DraftEditor-root {
position: relative;
}
.DraftEditor-editorContainer {
background-color: rgba(255, 255, 255, 0);
border-left: .1px solid transparent;
position: relative;
z-index: 1;
}
.public-DraftEditor-block {
position: relative;
}
.DraftEditor-alignLeft .public-DraftStyleDefault-block {
text-align: left;
}
.DraftEditor-alignLeft .public-DraftEditorPlaceholder-root {
left: 0;
text-align: left;
}
.DraftEditor-alignCenter .public-DraftStyleDefault-block {
text-align: center;
}
.DraftEditor-alignCenter .public-DraftEditorPlaceholder-root {
margin: 0 auto;
text-align: center;
width: 100%;
}
.DraftEditor-alignRight .public-DraftStyleDefault-block {
text-align: right;
}
.DraftEditor-alignRight .public-DraftEditorPlaceholder-root {
right: 0;
text-align: right;
}
.public-DraftEditorPlaceholder-root {
color: #9197a3;
position: absolute;
z-index: 1;
}
.public-DraftEditorPlaceholder-hasFocus {
color: #bdc1c9;
}
.DraftEditorPlaceholder-hidden {
display: none;
}
.public-DraftStyleDefault-block {
position: relative;
white-space: pre-wrap;
}
.public-DraftStyleDefault-ltr {
direction: ltr;
text-align: left;
}
.public-DraftStyleDefault-rtl {
direction: rtl;
text-align: right;
}
.public-DraftStyleDefault-listLTR {
direction: ltr;
}
.public-DraftStyleDefault-listRTL {
direction: rtl;
}
.public-DraftStyleDefault-ol, .public-DraftStyleDefault-ul {
margin: 16px 0;
padding: 0;
}
.public-DraftStyleDefault-depth0.public-DraftStyleDefault-listLTR {
margin-left: 1.5em;
}
.public-DraftStyleDefault-depth0.public-DraftStyleDefault-listRTL {
margin-right: 1.5em;
}
.public-DraftStyleDefault-depth1.public-DraftStyleDefault-listLTR {
margin-left: 3em;
}
.public-DraftStyleDefault-depth1.public-DraftStyleDefault-listRTL {
margin-right: 3em;
}
.public-DraftStyleDefault-depth2.public-DraftStyleDefault-listLTR {
margin-left: 4.5em;
}
.public-DraftStyleDefault-depth2.public-DraftStyleDefault-listRTL {
margin-right: 4.5em;
}
.public-DraftStyleDefault-depth3.public-DraftStyleDefault-listLTR {
margin-left: 6em;
}
.public-DraftStyleDefault-depth3.public-DraftStyleDefault-listRTL {
margin-right: 6em;
}
.public-DraftStyleDefault-depth4.public-DraftStyleDefault-listLTR {
margin-left: 7.5em;
}
.public-DraftStyleDefault-depth4.public-DraftStyleDefault-listRTL {
margin-right: 7.5em;
}
.public-DraftStyleDefault-unorderedListItem {
list-style-type: square;
position: relative;
}
.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-depth0 {
list-style-type: disc;
}
.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-depth1 {
list-style-type: circle;
}
.public-DraftStyleDefault-orderedListItem {
list-style-type: none;
position: relative;
}
.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-listLTR:before {
left: -36px;
position: absolute;
text-align: right;
width: 30px;
}
.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-listRTL:before {
position: absolute;
right: -36px;
text-align: left;
width: 30px;
}
.public-DraftStyleDefault-orderedListItem:before {
content: counter(ol0) ". ";
counter-increment: ol0;
}
.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth1:before {
content: counter(ol1) ". ";
counter-increment: ol1;
}
.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth2:before {
content: counter(ol2) ". ";
counter-increment: ol2;
}
.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth3:before {
content: counter(ol3) ". ";
counter-increment: ol3;
}
.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth4:before {
content: counter(ol4) ". ";
counter-increment: ol4;
}
.public-DraftStyleDefault-depth0.public-DraftStyleDefault-reset {
counter-reset: ol0;
}
.public-DraftStyleDefault-depth1.public-DraftStyleDefault-reset {
counter-reset: ol1;
}
.public-DraftStyleDefault-depth2.public-DraftStyleDefault-reset {
counter-reset: ol2;
}
.public-DraftStyleDefault-depth3.public-DraftStyleDefault-reset {
counter-reset: ol3;
}
.public-DraftStyleDefault-depth4.public-DraftStyleDefault-reset {
counter-reset: ol4;
}
/*rtl:end:ignore*/
#person-selector {
width: 100%;
}
/*# sourceMappingURL=search-appearance.css.map */
\ No newline at end of file
.schema-how-to-step,
.schema-faq-section {
position: relative;
padding: 8px 4px 8px 32px;
margin: 4px 0;
border: 1px solid rgba(145, 151, 162, 0.25);
list-style-type: none;
}
.schema-how-to-buttons,
.schema-faq-buttons {
display: flex;
justify-content: center;
}
.schema-how-to-buttons button.components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,
.schema-faq-buttons button.components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover {
box-shadow: none;
color: #007cba;
}
.schema-how-to-step-mover,
.schema-faq-section-mover {
display: inline-block;
}
.schema-how-to-step-mover .editor-block-mover__control,
.schema-faq-section-mover .editor-block-mover__control {
display: inline-flex;
width: 36px;
height: 36px;
}
.schema-how-to-step-name,
.schema-faq-question {
font-weight: 600;
}
.schema-how-to .schema-how-to-steps,
.schema-how-to .schema-how-to-description,
.schema-how-to .schema-how-to-step-name,
.schema-how-to .schema-how-to-step-text,
.schema-faq .schema-faq-question,
.schema-faq .schema-faq-answer {
margin: 0;
line-height: inherit;
}
.schema-how-to .schema-how-to-steps {
padding-top: 0;
}
.schema-how-to-step-button-container,
.schema-faq-section-button-container {
display: inline-flex;
text-align: right;
}
.schema-how-to-step-button-container button.components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover,
.schema-faq-section-button-container button.components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover {
box-shadow: none;
color: #007cba;
}
.schema-how-to-step-controls-container,
.schema-faq-section-controls-container {
text-align: right;
margin-left: -28px;
}
.schema-how-to-step-controls-container .dashicons-arrow-up-alt2,
.schema-faq-section-controls-container .dashicons-arrow-up-alt2 {
position: relative;
top: -1px;
}
.schema-how-to-duration-button .dashicon,
.how-to-step-add-media .dashicon,
.schema-how-to-add-step .dashicon,
.faq-section-add-media .dashicon,
.schema-faq-add-question .dashicon {
margin-right: 4px;
}
.schema-how-to {
padding-top: 4px;
}
.schema-how-to-step-number {
position: absolute;
left: 4px;
width: 24px;
text-align: right;
}
.schema-how-to-duration-flex-container {
display: flex;
align-items: center;
}
.schema-how-to-duration-time-input {
display: inline-flex;
align-items: center;
flex-wrap: nowrap;
}
legend.schema-how-to-duration-legend {
margin-right: 4px;
}
#schema-how-to-duration-days {
margin-right: 8px;
}
.schema-how-to-duration .schema-how-to-duration-input[type="number"] {
width: 40px;
margin: 0 2px;
padding: 6px 4px;
text-align: center;
-moz-appearance: textfield;
}
.schema-how-to-duration .schema-how-to-duration-input[type="number"]::-webkit-outer-spin-button, .schema-how-to-duration .schema-how-to-duration-input[type="number"]::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
.schema-how-to-duration-button.components-icon-button {
margin-left: -8px;
vertical-align: top;
}
.schema-how-to-duration-button.components-icon-button:not(:disabled):not([aria-disabled=true]):not(.is-default):hover {
box-shadow: none;
color: #007cba;
}
.schema-how-to-description {
margin: 8px 0;
}
/*# sourceMappingURL=structured-data-blocks.css.map */
\ No newline at end of file
.yoast-notice-dismiss:before {
display: block !important;
width: 20px;
height: 20px;
color: #b4b9be;
background: none;
font: normal 16px/1 "dashicons";
text-align: center;
content: "\f153";
-webkit-font-smoothing: antialiased !important;
speak: none;
}
.yoast-notice-dismiss {
position: absolute;
top: 0;
right: 1px;
margin: 0;
padding: 9px;
border: none;
color: #b4b9be;
background: none;
cursor: pointer;
}
.yoast-notice-dismiss:before {
position: relative;
top: 0;
left: 0;
line-height: 20px;
}
.yoast-notice-dismiss:hover:before,
.yoast-notice-dismiss:active:before,
.yoast-notice-dismiss:focus:before {
color: #c00;
}
.yoast-notice-dismiss:focus {
outline: none;
color: #c00;
box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, 0.8);
}
.yoast-notice.is-dismissible {
position: relative;
}
.yoast-notice-dismiss {
text-decoration: none;
}
/*# sourceMappingURL=wpseo-dismissible.css.map */
\ No newline at end of file
@import url(../src/score_icon.css);
.wpseo-score-title {
font-weight: 600;
}
#taxonomy_overall {
position: absolute;
top: 0;
margin-left: 87.5%;
}
/*# sourceMappingURL=yst_seo_score.css.map */
\ No newline at end of file
(window.yoastWebpackJsonp=window.yoastWebpackJsonp||[]).push([[1],{368:function(o,t,a){"use strict";!function(o){function t(o,t,a){jQuery.post(ajaxurl,{action:"wpseo_set_ignore",option:o,_wpnonce:a},function(a){a&&(jQuery("#"+t).hide(),jQuery("#hidden_ignore_"+o).val("ignore"))})}function a(){o("#wp-admin-bar-root-default > li").off("mouseenter.yoastalertpopup mouseleave.yoastalertpopup"),o(".yoast-issue-added").fadeOut(200)}function s(t,a){if(o(".yoast-notification-holder").off("click",".restore").off("click",".dismiss"),void 0!==a.html){a.html&&(t.closest(".yoast-container").html(a.html),n());var s=o("#wp-admin-bar-wpseo-menu"),e=s.find(".yoast-issue-counter");e.length||(s.find("> a:first-child").append('<div class="yoast-issue-counter"/>'),e=s.find(".yoast-issue-counter")),e.html(a.total),0===a.total?e.hide():e.show(),o("#toplevel_page_wpseo_dashboard .update-plugins").removeClass().addClass("update-plugins count-"+a.total),o("#toplevel_page_wpseo_dashboard .plugin-count").html(a.total)}}function n(){var t=o(".yoast-notification-holder");t.on("click",".dismiss",function(){var t=o(this),a=t.closest(".yoast-notification-holder");t.closest(".yoast-container").append('<div class="yoast-container-disabled"/>'),o.post(ajaxurl,{action:"yoast_dismiss_notification",notification:a.attr("id"),nonce:a.data("nonce"),data:t.data("json")||a.data("json")},s.bind(this,a),"json")}),t.on("click",".restore",function(){var t=o(this),a=t.closest(".yoast-notification-holder");t.closest(".yoast-container").append('<div class="yoast-container-disabled"/>'),o.post(ajaxurl,{action:"yoast_restore_notification",notification:a.attr("id"),nonce:a.data("nonce"),data:a.data("json")},s.bind(this,a),"json")})}function e(o){o.is(":hidden")||(o.outerWidth()>o.parent().outerWidth()?(o.data("scrollHint").addClass("yoast-has-scroll"),o.data("scrollContainer").addClass("yoast-has-scroll")):(o.data("scrollHint").removeClass("yoast-has-scroll"),o.data("scrollContainer").removeClass("yoast-has-scroll")))}function i(){window.wpseoScrollableTables=o(".yoast-table-scrollable"),window.wpseoScrollableTables.length&&window.wpseoScrollableTables.each(function(){var t=o(this);if(!t.data("scrollContainer")){var a=o("<div />",{class:"yoast-table-scrollable__hintwrapper",html:"<span class='yoast-table-scrollable__hint' aria-hidden='true' />"}).insertBefore(t),s=o("<div />",{class:"yoast-table-scrollable__container",html:"<div class='yoast-table-scrollable__inner' />"}).insertBefore(t);a.find(".yoast-table-scrollable__hint").text(wpseoAdminGlobalL10n.scrollable_table_hint),t.data("scrollContainer",s),t.data("scrollHint",a),t.appendTo(s.find(".yoast-table-scrollable__inner")),e(t)}})}jQuery(document).ready(function(){jQuery(".yoast-dismissible").on("click",".yoast-notice-dismiss",function(){var o=jQuery(this).parent();return jQuery.post(ajaxurl,{action:o.attr("id").replace(/-/g,"_"),_wpnonce:o.data("nonce"),data:o.data("json")}),jQuery.post(ajaxurl,{action:"yoast_dismiss_notification",notification:o.attr("id"),nonce:o.data("nonce"),data:o.data("json")}),o.fadeTo(100,0,function(){o.slideUp(100,function(){o.remove()})}),!1}),jQuery(".yoast-help-button").on("click",function(){var o=jQuery(this),t=jQuery("#"+o.attr("aria-controls")),a=t.is(":visible");jQuery(t).slideToggle(200,function(){o.attr("aria-expanded",!a)})}),jQuery("#robotsmessage button").on("click",function(){t("search_engines_discouraged_notice","robotsmessage",jQuery(this).data("nonce"))})}),window.wpseoSetIgnore=t,window.wpseoDismissLink=function(o){return jQuery('<a href="'+o+'" type="button" class="notice-dismiss"><span class="screen-reader-text">Dismiss this notice.</span></a>')},o(window).on("wp-window-resized orientationchange",function(){window.wpseoScrollableTables&&window.wpseoScrollableTables.length&&function(t){t.each(function(){e(o(this))})}(window.wpseoScrollableTables)}),o(window).on({"Yoast:YoastTabsMounted":function(){setTimeout(function(){i()},100)},"Yoast:YoastTabsSelected":function(){setTimeout(function(){i()},100)}}),o(document).ready(function(){o(".yoast-issue-added").on("mouseenter mouseleave",function(o){o.stopPropagation(),a()}).fadeIn(),o("#wp-admin-bar-root-default > li").on("mouseenter.yoastalertpopup mouseleave.yoastalertpopup",a),setTimeout(a,3e3),n(),function(){var o=jQuery(".wpseo-js-premium-indicator"),t=o.find("svg");if(o.hasClass("wpseo-premium-indicator--no")){var a=t.find("path"),s=o.css("backgroundColor");a.css("fill",s)}t.css("display","block"),o.css({backgroundColor:"transparent",width:"20px",height:"20px"})}(),i()})}(jQuery)}},[[368,0]]]); (window.yoastWebpackJsonp=window.yoastWebpackJsonp||[]).push([[1],{371:function(o,t,a){"use strict";!function(o){function t(o,t,a){jQuery.post(ajaxurl,{action:"wpseo_set_ignore",option:o,_wpnonce:a},function(a){a&&(jQuery("#"+t).hide(),jQuery("#hidden_ignore_"+o).val("ignore"))})}function a(){o("#wp-admin-bar-root-default > li").off("mouseenter.yoastalertpopup mouseleave.yoastalertpopup"),o(".yoast-issue-added").fadeOut(200)}function s(t,a){if(o(".yoast-notification-holder").off("click",".restore").off("click",".dismiss"),void 0!==a.html){a.html&&(t.closest(".yoast-container").html(a.html),n());var s=o("#wp-admin-bar-wpseo-menu"),e=s.find(".yoast-issue-counter");e.length||(s.find("> a:first-child").append('<div class="yoast-issue-counter"/>'),e=s.find(".yoast-issue-counter")),e.html(a.total),0===a.total?e.hide():e.show(),o("#toplevel_page_wpseo_dashboard .update-plugins").removeClass().addClass("update-plugins count-"+a.total),o("#toplevel_page_wpseo_dashboard .plugin-count").html(a.total)}}function n(){var t=o(".yoast-notification-holder");t.on("click",".dismiss",function(){var t=o(this),a=t.closest(".yoast-notification-holder");t.closest(".yoast-container").append('<div class="yoast-container-disabled"/>'),o.post(ajaxurl,{action:"yoast_dismiss_notification",notification:a.attr("id"),nonce:a.data("nonce"),data:t.data("json")||a.data("json")},s.bind(this,a),"json")}),t.on("click",".restore",function(){var t=o(this),a=t.closest(".yoast-notification-holder");t.closest(".yoast-container").append('<div class="yoast-container-disabled"/>'),o.post(ajaxurl,{action:"yoast_restore_notification",notification:a.attr("id"),nonce:a.data("nonce"),data:a.data("json")},s.bind(this,a),"json")})}function e(o){o.is(":hidden")||(o.outerWidth()>o.parent().outerWidth()?(o.data("scrollHint").addClass("yoast-has-scroll"),o.data("scrollContainer").addClass("yoast-has-scroll")):(o.data("scrollHint").removeClass("yoast-has-scroll"),o.data("scrollContainer").removeClass("yoast-has-scroll")))}function i(){window.wpseoScrollableTables=o(".yoast-table-scrollable"),window.wpseoScrollableTables.length&&window.wpseoScrollableTables.each(function(){var t=o(this);if(!t.data("scrollContainer")){var a=o("<div />",{class:"yoast-table-scrollable__hintwrapper",html:"<span class='yoast-table-scrollable__hint' aria-hidden='true' />"}).insertBefore(t),s=o("<div />",{class:"yoast-table-scrollable__container",html:"<div class='yoast-table-scrollable__inner' />"}).insertBefore(t);a.find(".yoast-table-scrollable__hint").text(wpseoAdminGlobalL10n.scrollable_table_hint),t.data("scrollContainer",s),t.data("scrollHint",a),t.appendTo(s.find(".yoast-table-scrollable__inner")),e(t)}})}jQuery(document).ready(function(){jQuery(".yoast-dismissible").on("click",".yoast-notice-dismiss",function(){var o=jQuery(this).parent();return jQuery.post(ajaxurl,{action:o.attr("id").replace(/-/g,"_"),_wpnonce:o.data("nonce"),data:o.data("json")}),jQuery.post(ajaxurl,{action:"yoast_dismiss_notification",notification:o.attr("id"),nonce:o.data("nonce"),data:o.data("json")}),o.fadeTo(100,0,function(){o.slideUp(100,function(){o.remove()})}),!1}),jQuery(".yoast-help-button").on("click",function(){var o=jQuery(this),t=jQuery("#"+o.attr("aria-controls")),a=t.is(":visible");jQuery(t).slideToggle(200,function(){o.attr("aria-expanded",!a)})}),jQuery("#robotsmessage button").on("click",function(){t("search_engines_discouraged_notice","robotsmessage",jQuery(this).data("nonce"))})}),window.wpseoSetIgnore=t,window.wpseoDismissLink=function(o){return jQuery('<a href="'+o+'" type="button" class="notice-dismiss"><span class="screen-reader-text">Dismiss this notice.</span></a>')},o(window).on("wp-window-resized orientationchange",function(){window.wpseoScrollableTables&&window.wpseoScrollableTables.length&&function(t){t.each(function(){e(o(this))})}(window.wpseoScrollableTables)}),o(window).on({"Yoast:YoastTabsMounted":function(){setTimeout(function(){i()},100)},"Yoast:YoastTabsSelected":function(){setTimeout(function(){i()},100)}}),o(document).ready(function(){o(".yoast-issue-added").on("mouseenter mouseleave",function(o){o.stopPropagation(),a()}).fadeIn(),o("#wp-admin-bar-root-default > li").on("mouseenter.yoastalertpopup mouseleave.yoastalertpopup",a),setTimeout(a,3e3),n(),function(){var o=jQuery(".wpseo-js-premium-indicator"),t=o.find("svg");if(o.hasClass("wpseo-premium-indicator--no")){var a=t.find("path"),s=o.css("backgroundColor");a.css("fill",s)}t.css("display","block"),o.css({backgroundColor:"transparent",width:"20px",height:"20px"})}(),i()})}(jQuery)}},[[371,0]]]);
\ No newline at end of file \ No newline at end of file
(window.yoastWebpackJsonp=window.yoastWebpackJsonp||[]).push([[2],{369:function(t,e,n){"use strict";!function(t,e){window.wpseoApi={get:function(t,e,n,o){this.request("GET",t,e,n,o)},post:function(t,e,n,o){this.request("POST",t,e,n,o)},put:function(t,e,n,o){this.request("PUT",t,e,n,o)},patch:function(t,e,n,o){this.request("PATCH",t,e,n,o)},delete:function(t,e,n,o){this.request("DELETE",t,e,n,o)},request:function(n,o,i,s,u){t.isFunction(i)&&void 0===u&&(u=s,s=i,i={}),"POST"!==n&&"GET"!==n&&(i._method=n,n="POST"),t.ajax({url:e.root+"yoast/v1/"+o,method:n,beforeSend:function(t){t.setRequestHeader("X-WP-Nonce",e.nonce)},data:i}).done(s).fail(u)}}}(jQuery,wpApiSettings)}},[[369,0]]]); (window.yoastWebpackJsonp=window.yoastWebpackJsonp||[]).push([[2],{372:function(t,e,n){"use strict";!function(t,e){window.wpseoApi={get:function(t,e,n,o){this.request("GET",t,e,n,o)},post:function(t,e,n,o){this.request("POST",t,e,n,o)},put:function(t,e,n,o){this.request("PUT",t,e,n,o)},patch:function(t,e,n,o){this.request("PATCH",t,e,n,o)},delete:function(t,e,n,o){this.request("DELETE",t,e,n,o)},request:function(n,o,i,s,u){t.isFunction(i)&&void 0===u&&(u=s,s=i,i={}),"POST"!==n&&"GET"!==n&&(i._method=n,n="POST"),t.ajax({url:e.root+"yoast/v1/"+o,method:n,beforeSend:function(t){t.setRequestHeader("X-WP-Nonce",e.nonce)},data:i}).done(s).fail(u)}}}(jQuery,wpApiSettings)}},[[372,0]]]);
\ No newline at end of file \ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment