Editor: Update WordPress packages to use with WordPress 5.8

In the response to the discussion during the Dev Chat, I'm doing a first pass to keep WordPress packages up to date in the WordPress 5.8 release cycle.

See https://github.com/WordPress/wordpress-develop/pull/1176 for more details.

Props youknowriad, aristath, andraganescu.
See #52991.


Built from https://develop.svn.wordpress.org/trunk@50761


git-svn-id: http://core.svn.wordpress.org/trunk@50370 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
gziolo 2021-04-15 15:19:43 +00:00
parent 660443bbc7
commit ad48a15387
180 changed files with 27367 additions and 22678 deletions

View File

@ -184,18 +184,9 @@ if ( ! $max_upload_size ) {
// Editor Styles.
$styles = array(
array(
'css' => file_get_contents(
is_rtl()
? ABSPATH . WPINC . '/css/dist/editor/editor-styles-rtl.css'
: ABSPATH . WPINC . '/css/dist/editor/editor-styles.css'
),
),
);
$styles[] = array(
'css' => 'body { font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif }',
),
);
if ( $editor_styles && current_theme_supports( 'editor-styles' ) ) {
foreach ( $editor_styles as $style ) {
if ( preg_match( '~^(https?:)?//~', $style ) ) {
@ -217,17 +208,6 @@ if ( $editor_styles && current_theme_supports( 'editor-styles' ) ) {
}
}
// Default editor styles.
$default_editor_styles = array(
array(
'css' => file_get_contents(
is_rtl()
? ABSPATH . WPINC . '/css/dist/editor/editor-styles-rtl.css'
: ABSPATH . WPINC . '/css/dist/editor/editor-styles.css'
),
),
);
// Image sizes.
/** This filter is documented in wp-admin/includes/media.php */
@ -324,7 +304,6 @@ $editor_settings = array(
'maxUploadFileSize' => $max_upload_size,
'allowedMimeTypes' => get_allowed_mime_types(),
'styles' => $styles,
'defaultEditorStyles' => $default_editor_styles,
'imageSizes' => $available_image_sizes,
'imageDefaultSize' => $image_default_size,
'imageDimensions' => $image_dimensions,

File diff suppressed because one or more lines are too long

View File

@ -3,20 +3,19 @@
* Align block support flag.
*
* @package WordPress
* @since 5.6.0
*/
/**
* Registers the align block attribute for block types that support it.
*
* @since 5.6.0
* @access private
*
* @param WP_Block_Type $block_type Block Type.
*/
function wp_register_alignment_support( $block_type ) {
$has_align_support = false;
if ( property_exists( $block_type, 'supports' ) ) {
$has_align_support = _wp_array_get( $block_type->supports, array( 'align' ), false );
}
$has_align_support = block_has_support( $block_type, array( 'align' ), false );
if ( $has_align_support ) {
if ( ! $block_type->attributes ) {
$block_type->attributes = array();
@ -35,6 +34,7 @@ function wp_register_alignment_support( $block_type ) {
* Add CSS classes for block alignment to the incoming attributes array.
* This will be applied to the block markup in the front-end.
*
* @since 5.6.0
* @access private
*
* @param WP_Block_Type $block_type Block Type.
@ -44,10 +44,7 @@ function wp_register_alignment_support( $block_type ) {
*/
function wp_apply_alignment_support( $block_type, $block_attributes ) {
$attributes = array();
$has_align_support = false;
if ( property_exists( $block_type, 'supports' ) ) {
$has_align_support = _wp_array_get( $block_type->supports, array( 'align' ), false );
}
$has_align_support = block_has_support( $block_type, array( 'align' ), false );
if ( $has_align_support ) {
$has_block_alignment = array_key_exists( 'align', $block_attributes );

View File

@ -0,0 +1,89 @@
<?php
/**
* Border block support flag.
*
* @package WordPress
* @since 5.8.0
*/
/**
* Registers the style attribute used by the border feature if needed for block types that
* support borders.
*
* @since 5.8.0
* @access private
*
* @param WP_Block_Type $block_type Block Type.
*/
function wp_register_border_support( $block_type ) {
// Determine border related features supported.
// Border width, style etc can be added in the future.
$has_border_radius_support = block_has_support( $block_type, array( '__experimentalBorder', 'radius' ), false );
// Setup attributes and styles within that if needed.
if ( ! $block_type->attributes ) {
$block_type->attributes = array();
}
if ( $has_border_radius_support && ! array_key_exists( 'style', $block_type->attributes ) ) {
$block_type->attributes['style'] = array(
'type' => 'object',
);
}
}
/**
* Adds CSS classes and inline styles for border styles to the incoming
* attributes array. This will be applied to the block markup in the front-end.
*
* @since 5.8.0
* @access private
*
* @param WP_Block_type $block_type Block type.
* @param array $block_attributes Block attributes.
*
* @return array Border CSS classes and inline styles.
*/
function wp_apply_border_support( $block_type, $block_attributes ) {
$border_support = _wp_array_get( $block_type->supports, array( '__experimentalBorder' ), false );
if (
is_array( $border_support ) &&
array_key_exists( '__experimentalSkipSerialization', $border_support ) &&
$border_support['__experimentalSkipSerialization']
) {
return array();
}
// Arrays used to ease addition of further border related features in future.
$styles = array();
// Border Radius.
$has_border_radius_support = block_has_support( $block_type, array( '__experimentalBorder', 'radius' ), false );
if ( $has_border_radius_support ) {
if ( isset( $block_attributes['style']['border']['radius'] ) ) {
$border_radius = intval( $block_attributes['style']['border']['radius'] );
$styles[] = sprintf( 'border-radius: %dpx;', $border_radius );
}
}
// Border width, style etc can be added here.
// Collect classes and styles.
$attributes = array();
if ( ! empty( $styles ) ) {
$attributes['style'] = implode( ' ', $styles );
}
return $attributes;
}
// Register the block support.
WP_Block_Supports::get_instance()->register(
'border',
array(
'register_attribute' => 'wp_register_border_support',
'apply' => 'wp_apply_border_support',
)
);

View File

@ -3,11 +3,13 @@
* Colors block support flag.
*
* @package WordPress
* @since 5.6.0
*/
/**
* Registers the style and colors block attributes for block types that support it.
*
* @since 5.6.0
* @access private
*
* @param WP_Block_Type $block_type Block Type.
@ -20,12 +22,17 @@ function wp_register_colors_support( $block_type ) {
$has_text_colors_support = true === $color_support || ( is_array( $color_support ) && _wp_array_get( $color_support, array( 'text' ), true ) );
$has_background_colors_support = true === $color_support || ( is_array( $color_support ) && _wp_array_get( $color_support, array( 'background' ), true ) );
$has_gradients_support = _wp_array_get( $color_support, array( 'gradients' ), false );
$has_link_colors_support = _wp_array_get( $color_support, array( 'link' ), false );
$has_color_support = $has_text_colors_support ||
$has_background_colors_support ||
$has_gradients_support ||
$has_link_colors_support;
if ( ! $block_type->attributes ) {
$block_type->attributes = array();
}
if ( $has_text_colors_support && ! array_key_exists( 'style', $block_type->attributes ) ) {
if ( $has_color_support && ! array_key_exists( 'style', $block_type->attributes ) ) {
$block_type->attributes['style'] = array(
'type' => 'object',
);
@ -55,6 +62,7 @@ function wp_register_colors_support( $block_type ) {
* Add CSS classes and inline styles for colors to the incoming attributes array.
* This will be applied to the block markup in the front-end.
*
* @since 5.6.0
* @access private
*
* @param WP_Block_Type $block_type Block type.
@ -64,6 +72,15 @@ function wp_register_colors_support( $block_type ) {
*/
function wp_apply_colors_support( $block_type, $block_attributes ) {
$color_support = _wp_array_get( $block_type->supports, array( 'color' ), false );
if (
is_array( $color_support ) &&
array_key_exists( '__experimentalSkipSerialization', $color_support ) &&
$color_support['__experimentalSkipSerialization']
) {
return array();
}
$has_text_colors_support = true === $color_support || ( is_array( $color_support ) && _wp_array_get( $color_support, array( 'text' ), true ) );
$has_background_colors_support = true === $color_support || ( is_array( $color_support ) && _wp_array_get( $color_support, array( 'background' ), true ) );
$has_link_colors_support = _wp_array_get( $color_support, array( 'link' ), false );

View File

@ -3,20 +3,20 @@
* Custom classname block support flag.
*
* @package WordPress
* @since 5.6.0
*/
/**
* Registers the custom classname block attribute for block types that support it.
*
* @since 5.6.0
* @access private
*
* @param WP_Block_Type $block_type Block Type.
*/
function wp_register_custom_classname_support( $block_type ) {
$has_custom_classname_support = true;
if ( property_exists( $block_type, 'supports' ) ) {
$has_custom_classname_support = _wp_array_get( $block_type->supports, array( 'customClassName' ), true );
}
$has_custom_classname_support = block_has_support( $block_type, array( 'customClassName' ), true );
if ( $has_custom_classname_support ) {
if ( ! $block_type->attributes ) {
$block_type->attributes = array();
@ -33,6 +33,7 @@ function wp_register_custom_classname_support( $block_type ) {
/**
* Add the custom classnames to the output.
*
* @since 5.6.0
* @access private
*
* @param WP_Block_Type $block_type Block Type.
@ -41,11 +42,8 @@ function wp_register_custom_classname_support( $block_type ) {
* @return array Block CSS classes and inline styles.
*/
function wp_apply_custom_classname_support( $block_type, $block_attributes ) {
$has_custom_classname_support = true;
$has_custom_classname_support = block_has_support( $block_type, array( 'customClassName' ), true );
$attributes = array();
if ( property_exists( $block_type, 'supports' ) ) {
$has_custom_classname_support = _wp_array_get( $block_type->supports, array( 'customClassName' ), true );
}
if ( $has_custom_classname_support ) {
$has_custom_classnames = array_key_exists( 'className', $block_attributes );

View File

@ -3,6 +3,7 @@
* Generated classname block support flag.
*
* @package WordPress
* @since 5.6.0
*/
/**
@ -45,16 +46,12 @@ function wp_get_block_default_classname( $block_name ) {
* @access private
*
* @param WP_Block_Type $block_type Block Type.
* @param array $block_attributes Block attributes.
*
* @return array Block CSS classes and inline styles.
*/
function wp_apply_generated_classname_support( $block_type, $block_attributes ) {
$has_generated_classname_support = true;
function wp_apply_generated_classname_support( $block_type ) {
$attributes = array();
if ( property_exists( $block_type, 'supports' ) ) {
$has_generated_classname_support = _wp_array_get( $block_type->supports, array( 'className' ), true );
}
$has_generated_classname_support = block_has_support( $block_type, array( 'className' ), true );
if ( $has_generated_classname_support ) {
$block_classname = wp_get_block_default_classname( $block_type->name );

View File

@ -0,0 +1,42 @@
<?php
/**
* Layout block support flag.
*
* @package WordPress
* @since 5.8.0
*/
/**
* For themes without theme.json file, make sure
* to restore the inner div for the group block
* to avoid breaking styles relying on that div.
*
* @since 5.8.0
* @access private
*
* @param string $block_content Rendered block content.
* @param array $block Block object.
* @return string Filtered block content.
*/
function wp_restore_group_inner_container( $block_content, $block ) {
$group_with_inner_container_regex = '/(^\s*<div\b[^>]*wp-block-group(\s|")[^>]*>)(\s*<div\b[^>]*wp-block-group__inner-container(\s|")[^>]*>)((.|\S|\s)*)/';
if (
'core/group' !== $block['blockName'] ||
1 === preg_match( $group_with_inner_container_regex, $block_content )
) {
return $block_content;
}
$replace_regex = '/(^\s*<div\b[^>]*wp-block-group[^>]*>)(.*)(<\/div>\s*$)/ms';
$updated_content = preg_replace_callback(
$replace_regex,
function( $matches ) {
return $matches[1] . '<div class="wp-block-group__inner-container">' . $matches[2] . '</div>' . $matches[3];
},
$block_content
);
return $updated_content;
}
add_filter( 'render_block', 'wp_restore_group_inner_container', 10, 2 );

View File

@ -0,0 +1,66 @@
<?php
/**
* Padding block support flag.
*
* @package WordPress
* @since 5.8.0
*/
/**
* Registers the style block attribute for block types that support it.
*
* @since 5.8.0
* @access private
*
* @param WP_Block_Type $block_type Block Type.
*/
function wp_register_padding_support( $block_type ) {
$has_padding_support = block_has_support( $block_type, array( 'spacing', 'padding' ), false );
// Setup attributes and styles within that if needed.
if ( ! $block_type->attributes ) {
$block_type->attributes = array();
}
if ( $has_padding_support && ! array_key_exists( 'style', $block_type->attributes ) ) {
$block_type->attributes['style'] = array(
'type' => 'object',
);
}
}
/**
* Add CSS classes for block padding to the incoming attributes array.
* This will be applied to the block markup in the front-end.
*
* @since 5.8.0
* @access private
*
* @param WP_Block_Type $block_type Block Type.
* @param array $block_attributes Block attributes.
*
* @return array Block padding CSS classes and inline styles.
*/
function wp_apply_padding_support( $block_type, $block_attributes ) {
$has_padding_support = block_has_support( $block_type, array( 'spacing', 'padding' ), false );
$styles = array();
if ( $has_padding_support ) {
$padding_value = _wp_array_get( $block_attributes, array( 'style', 'spacing', 'padding' ), null );
if ( null !== $padding_value ) {
foreach ( $padding_value as $key => $value ) {
$styles[] = sprintf( 'padding-%s: %s;', $key, $value );
}
}
}
return empty( $styles ) ? array() : array( 'style' => implode( ' ', $styles ) );
}
// Register the block support.
WP_Block_Supports::get_instance()->register(
'padding',
array(
'register_attribute' => 'wp_register_padding_support',
'apply' => 'wp_apply_padding_support',
)
);

View File

@ -3,31 +3,41 @@
* Typography block support flag.
*
* @package WordPress
* @since 5.6.0
*/
/**
* Registers the style and typography block attributes for block types that support it.
*
* @since 5.6.0
* @access private
*
* @param WP_Block_Type $block_type Block Type.
*/
function wp_register_typography_support( $block_type ) {
$has_font_size_support = false;
if ( property_exists( $block_type, 'supports' ) ) {
$has_font_size_support = _wp_array_get( $block_type->supports, array( '__experimentalFontSize' ), false );
if ( ! property_exists( $block_type, 'supports' ) ) {
return;
}
$has_line_height_support = false;
if ( property_exists( $block_type, 'supports' ) ) {
$has_line_height_support = _wp_array_get( $block_type->supports, array( '__experimentalLineHeight' ), false );
}
$has_font_size_support = _wp_array_get( $block_type->supports, array( 'fontSize' ), false );
$has_font_style_support = _wp_array_get( $block_type->supports, array( '__experimentalFontStyle' ), false );
$has_font_weight_support = _wp_array_get( $block_type->supports, array( '__experimentalFontWeight' ), false );
$has_line_height_support = _wp_array_get( $block_type->supports, array( 'lineHeight' ), false );
$has_text_decoration_support = _wp_array_get( $block_type->supports, array( '__experimentalTextDecoration' ), false );
$has_text_transform_support = _wp_array_get( $block_type->supports, array( '__experimentalTextTransform' ), false );
$has_typography_support = $has_font_size_support
|| $has_font_weight_support
|| $has_font_style_support
|| $has_line_height_support
|| $has_text_transform_support
|| $has_text_decoration_support;
if ( ! $block_type->attributes ) {
$block_type->attributes = array();
}
if ( ( $has_font_size_support || $has_line_height_support ) && ! array_key_exists( 'style', $block_type->attributes ) ) {
if ( $has_typography_support && ! array_key_exists( 'style', $block_type->attributes ) ) {
$block_type->attributes['style'] = array(
'type' => 'object',
);
@ -41,28 +51,33 @@ function wp_register_typography_support( $block_type ) {
}
/**
* Add CSS classes and inline styles for font sizes to the incoming attributes array.
* This will be applied to the block markup in the front-end.
* Add CSS classes and inline styles for typography features such as font sizes
* to the incoming attributes array. This will be applied to the block markup in
* the front-end.
*
* @since 5.6.0
* @access private
*
* @param WP_Block_Type $block_type Block type.
* @param array $block_attributes Block attributes.
*
* @return array Font size CSS classes and inline styles.
* @return array Typography CSS classes and inline styles.
*/
function wp_apply_typography_support( $block_type, $block_attributes ) {
$has_font_size_support = false;
$classes = array();
$styles = array();
if ( property_exists( $block_type, 'supports' ) ) {
$has_font_size_support = _wp_array_get( $block_type->supports, array( 'fontSize' ), false );
if ( ! property_exists( $block_type, 'supports' ) ) {
return array();
}
$has_line_height_support = false;
if ( property_exists( $block_type, 'supports' ) ) {
$classes = array();
$styles = array();
$has_font_family_support = _wp_array_get( $block_type->supports, array( '__experimentalFontFamily' ), false );
$has_font_style_support = _wp_array_get( $block_type->supports, array( '__experimentalFontStyle' ), false );
$has_font_weight_support = _wp_array_get( $block_type->supports, array( '__experimentalFontWeight' ), false );
$has_font_size_support = _wp_array_get( $block_type->supports, array( 'fontSize' ), false );
$has_line_height_support = _wp_array_get( $block_type->supports, array( 'lineHeight' ), false );
}
$has_text_decoration_support = _wp_array_get( $block_type->supports, array( '__experimentalTextDecoration' ), false );
$has_text_transform_support = _wp_array_get( $block_type->supports, array( '__experimentalTextTransform' ), false );
// Font Size.
if ( $has_font_size_support ) {
@ -73,7 +88,42 @@ function wp_apply_typography_support( $block_type, $block_attributes ) {
if ( $has_named_font_size ) {
$classes[] = sprintf( 'has-%s-font-size', $block_attributes['fontSize'] );
} elseif ( $has_custom_font_size ) {
$styles[] = sprintf( 'font-size: %spx;', $block_attributes['style']['typography']['fontSize'] );
$styles[] = sprintf( 'font-size: %s;', $block_attributes['style']['typography']['fontSize'] );
}
}
// Font Family.
if ( $has_font_family_support ) {
$has_font_family = isset( $block_attributes['style']['typography']['fontFamily'] );
// Apply required class and style.
if ( $has_font_family ) {
$font_family = $block_attributes['style']['typography']['fontFamily'];
if ( strpos( $font_family, 'var:preset|font-family' ) !== false ) {
// Get the name from the string and add proper styles.
$index_to_splice = strrpos( $font_family, '|' ) + 1;
$font_family_name = substr( $font_family, $index_to_splice );
$styles[] = sprintf( 'font-family: var(--wp--preset--font-family--%s);', $font_family_name );
} else {
$styles[] = sprintf( 'font-family: %s;', $block_attributes['style']['color']['fontFamily'] );
}
}
}
// Font style.
if ( $has_font_style_support ) {
// Apply font style.
$font_style = wp_typography_get_css_variable_inline_style( $block_attributes, 'fontStyle', 'font-style' );
if ( $font_style ) {
$styles[] = $font_style;
}
}
// Font weight.
if ( $has_font_weight_support ) {
// Apply font weight.
$font_weight = wp_typography_get_css_variable_inline_style( $block_attributes, 'fontWeight', 'font-weight' );
if ( $font_weight ) {
$styles[] = $font_weight;
}
}
@ -86,6 +136,22 @@ function wp_apply_typography_support( $block_type, $block_attributes ) {
}
}
// Text Decoration.
if ( $has_text_decoration_support ) {
$text_decoration_style = wp_typography_get_css_variable_inline_style( $block_attributes, 'textDecoration', 'text-decoration' );
if ( $text_decoration_style ) {
$styles[] = $text_decoration_style;
}
}
// Text Transform.
if ( $has_text_transform_support ) {
$text_transform_style = wp_typography_get_css_variable_inline_style( $block_attributes, 'textTransform', 'text-transform' );
if ( $text_transform_style ) {
$styles[] = $text_transform_style;
}
}
$attributes = array();
if ( ! empty( $classes ) ) {
$attributes['class'] = implode( ' ', $classes );
@ -97,6 +163,41 @@ function wp_apply_typography_support( $block_type, $block_attributes ) {
return $attributes;
}
/**
* Generates an inline style for a typography feature e.g. text decoration,
* text transform, and font style.
*
* @since 5.8.0
* @access private
*
* @param array $attributes Block's attributes.
* @param string $feature Key for the feature within the typography styles.
* @param string $css_property Slug for the CSS property the inline style sets.
*
* @return string CSS inline style.
*/
function wp_typography_get_css_variable_inline_style( $attributes, $feature, $css_property ) {
// Retrieve current attribute value or skip if not found.
$style_value = _wp_array_get( $attributes, array( 'style', 'typography', $feature ), false );
if ( ! $style_value ) {
return;
}
// If we don't have a preset CSS variable, we'll assume it's a regular CSS value.
if ( strpos( $style_value, "var:preset|{$css_property}|" ) === false ) {
return sprintf( '%s:%s;', $css_property, $style_value );
}
// We have a preset CSS variable as the style.
// Get the style value from the string and return CSS style.
$index_to_splice = strrpos( $style_value, '|' ) + 1;
$slug = substr( $style_value, $index_to_splice );
// Return the actual CSS inline style e.g. `text-decoration:var(--wp--preset--text-decoration--underline);`.
return sprintf( '%s:var(--wp--preset--%s--%s);', $css_property, $css_property, $slug );
}
// Register the block support.
WP_Block_Supports::get_instance()->register(
'typography',
array(

View File

@ -908,3 +908,23 @@ function register_block_style( $block_name, $style_properties ) {
function unregister_block_style( $block_name, $block_style_name ) {
return WP_Block_Styles_Registry::get_instance()->unregister( $block_name, $block_style_name );
}
/**
* Checks whether the current block type supports the feature requested.
*
* @since 5.8.0
*
* @param WP_Block_Type $block_type Block type to check for support.
* @param string $feature Name of the feature to check support for.
* @param mixed $default Fallback value for feature support, defaults to false.
*
* @return boolean Whether or not the feature is supported.
*/
function block_has_support( $block_type, $feature, $default = false ) {
$block_support = $default;
if ( $block_type && property_exists( $block_type, 'supports' ) ) {
$block_support = _wp_array_get( $block_type->supports, $feature, $default );
}
return true === $block_support || is_array( $block_support );
}

View File

@ -29,7 +29,7 @@ function render_block_core_block( $attributes ) {
trigger_error(
sprintf(
// translators: %s is the user-provided title of the reusable block.
__( 'Could not render Reusable Block <strong>%s</strong>: blocks cannot be rendered inside themselves.' ),
__( 'Could not render Reusable Block <strong>%s</strong>. Block cannot be rendered inside itself.' ),
$reusable_block->post_title
),
E_USER_WARNING

View File

@ -61,8 +61,12 @@
"anchor": true,
"align": true,
"alignWide": false,
"color": {
"__experimentalSkipSerialization": true,
"gradients": true
},
"reusable": false,
"__experimentalSelector": ".wp-block-button > a"
"__experimentalSelector": ".wp-block-button__link"
},
"editorStyle": "wp-block-button-editor",
"style": "wp-block-button"

View File

@ -12,10 +12,7 @@
}
},
"supports": {
"align": [
"wide",
"full"
],
"align": [ "wide", "full" ],
"anchor": true,
"html": false,
"color": {
@ -26,8 +23,12 @@
"padding": true
},
"__experimentalBorder": {
"radius": true
}
"color": true,
"radius": true,
"style": true,
"width": true
},
"__experimentalLayout": true
},
"editorStyle": "wp-block-group-editor",
"style": "wp-block-group"

View File

@ -52,7 +52,6 @@ function register_core_block_types_from_metadata() {
'separator',
'social-links',
'spacer',
'subhead',
'table',
'text-columns',
'verse',

View File

@ -11,6 +11,7 @@
*
* @var int
*/
global $block_core_latest_posts_excerpt_length;
$block_core_latest_posts_excerpt_length = 0;
/**

View File

@ -13,6 +13,9 @@
},
"supports": {
"anchor": true,
"color": {
"gradients": true
},
"fontSize": true
},
"style": "wp-block-preformatted"

View File

@ -36,7 +36,7 @@ function render_block_core_search( $attributes ) {
$label_markup = '';
$input_markup = '';
$button_markup = '';
$width_styles = '';
$inline_styles = styles_for_block_core_search( $attributes );
if ( $show_label ) {
if ( ! empty( $attributes['label'] ) ) {
@ -56,10 +56,11 @@ function render_block_core_search( $attributes ) {
if ( $show_input ) {
$input_markup = sprintf(
'<input type="search" id="%s" class="wp-block-search__input" name="s" value="%s" placeholder="%s" required />',
'<input type="search" id="%s" class="wp-block-search__input" name="s" value="%s" placeholder="%s" %s required />',
$input_id,
esc_attr( get_search_query() ),
esc_attr( $attributes['placeholder'] )
esc_attr( $attributes['placeholder'] ),
$inline_styles['shared']
);
}
@ -80,20 +81,16 @@ function render_block_core_search( $attributes ) {
}
$button_markup = sprintf(
'<button type="submit"class="wp-block-search__button ' . $button_classes . '">%s</button>',
'<button type="submit" class="wp-block-search__button %s"%s>%s</button>',
$button_classes,
$inline_styles['shared'],
$button_internal_markup
);
}
if ( ! empty( $attributes['width'] ) && ! empty( $attributes['widthUnit'] ) ) {
if ( ! empty( $attributes['buttonPosition'] ) && 'button-only' !== $attributes['buttonPosition'] ) {
$width_styles = ' style="width: ' . $attributes['width'] . $attributes['widthUnit'] . ';"';
}
}
$field_markup = sprintf(
'<div class="wp-block-search__inside-wrapper"%s>%s</div>',
$width_styles,
$inline_styles['wrapper'],
$input_markup . $button_markup
);
$wrapper_attributes = get_block_wrapper_attributes( array( 'class' => $classnames ) );
@ -159,3 +156,58 @@ function classnames_for_block_core_search( $attributes ) {
return implode( ' ', $classnames );
}
/**
* Builds an array of inline styles for the search block.
*
* The result will contain one entry for shared styles such as those for the
* inner input or button and a second for the inner wrapper should the block
* be positioning the button "inside".
*
* @param array $attributes The block attributes.
*
* @return array Style HTML attribute.
*/
function styles_for_block_core_search( $attributes ) {
$shared_styles = array();
$wrapper_styles = array();
// Add width styles.
$has_width = ! empty( $attributes['width'] ) && ! empty( $attributes['widthUnit'] );
$button_only = ! empty( $attributes['buttonPosition'] ) && 'button-only' === $attributes['buttonPosition'];
if ( $has_width && ! $button_only ) {
$wrapper_styles[] = sprintf(
'width: %d%s;',
esc_attr( $attributes['width'] ),
esc_attr( $attributes['widthUnit'] )
);
}
// Add border radius styles.
$has_border_radius = ! empty( $attributes['style']['border']['radius'] );
if ( $has_border_radius ) {
// Shared style for button and input radius values.
$border_radius = $attributes['style']['border']['radius'];
$shared_styles[] = sprintf( 'border-radius: %spx;', esc_attr( $border_radius ) );
// Apply wrapper border radius if button placed inside.
$button_inside = ! empty( $attributes['buttonPosition'] ) &&
'button-inside' === $attributes['buttonPosition'];
if ( $button_inside ) {
// We adjust the border radius value for the outer wrapper element
// to make it visually consistent with the radius applied to inner
// elements.
$default_padding = 4;
$adjusted_radius = $border_radius + $default_padding;
$wrapper_styles[] = sprintf( 'border-radius: %dpx;', esc_attr( $adjusted_radius ) );
}
}
return array(
'shared' => ! empty( $shared_styles ) ? sprintf( ' style="%s"', implode( ' ', $shared_styles ) ) : '',
'wrapper' => ! empty( $wrapper_styles ) ? sprintf( ' style="%s"', implode( ' ', $wrapper_styles ) ) : '',
);
}

View File

@ -34,6 +34,10 @@
},
"supports": {
"align": [ "left", "center", "right" ],
"__experimentalBorder": {
"radius": true,
"__experimentalSkipSerialization": true
},
"html": false
},
"editorStyle": "wp-block-search-editor",

View File

@ -19,7 +19,12 @@ function render_block_core_social_link( $attributes, $content, $block ) {
$service = ( isset( $attributes['service'] ) ) ? $attributes['service'] : 'Icon';
$url = ( isset( $attributes['url'] ) ) ? $attributes['url'] : false;
$label = ( isset( $attributes['label'] ) ) ? $attributes['label'] : block_core_social_link_get_name( $service );
$label = ( isset( $attributes['label'] ) ) ? $attributes['label'] : sprintf(
/* translators: %1$s: Social-network name. %2$s: URL. */
__( '%1$s: %2$s', 'gutenberg' ),
block_core_social_link_get_name( $service ),
$url
);
$class_name = isset( $attributes['className'] ) ? ' ' . $attributes['className'] : false;
// Don't render a link if there is no URL set.

View File

@ -6,8 +6,14 @@
"height": {
"type": "number",
"default": 100
},
"width": {
"type": "number"
}
},
"usesContext": [
"orientation"
],
"supports": {
"anchor": true
},

View File

@ -1,21 +0,0 @@
{
"apiVersion": 2,
"name": "core/subhead",
"category": "text",
"attributes": {
"align": {
"type": "string"
},
"content": {
"type": "string",
"source": "html",
"selector": "p"
}
},
"supports": {
"inserter": false,
"multiple": false
},
"editorStyle": "wp-block-subhead-editor",
"style": "wp-block-subhead"
}

View File

@ -17,7 +17,10 @@
"supports": {
"anchor": true,
"__experimentalFontFamily": true,
"fontSize": true
"fontSize": true,
"spacing": {
"padding": true
}
},
"style": "wp-block-verse",
"editorStyle": "wp-block-verse-editor"

View File

@ -68,9 +68,6 @@
/**
* Reset the WP Admin page styles for Gutenberg-like pages.
*/
/**
* These are default block editor widths in case the theme doesn't provide them.
*/
:root {
--wp-admin-theme-color: #007cba;
--wp-admin-theme-color-darker-10: #006ba1;
@ -83,18 +80,15 @@
}
}
.block-directory-block-ratings {
.block-directory-block-ratings > span {
display: flex;
}
.block-directory-block-ratings > div {
line-height: 1;
display: flex;
}
.block-directory-block-ratings .block-directory-block-ratings__rating-count {
font-size: ms(-2);
}
.block-directory-block-ratings svg {
fill: #ffb900;
fill: #1e1e1e;
margin-right: -4px;
}
.block-directory-block-ratings .block-directory-block-ratings__star-empty {
fill: #ccc;
}
.block-directory-compact-list {
@ -125,135 +119,93 @@
font-size: 11px;
}
.block-directory-downloadable-block-author-info__content {
font-size: 12px;
}
.block-directory-downloadable-block-author-info__content-author {
margin-bottom: 4px;
font-size: 13px;
}
.block-directory-downloadable-block-header__row {
display: flex;
flex-grow: 1;
}
.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column {
display: flex;
flex-direction: column;
flex-grow: 1;
padding-right: 12px;
}
.block-directory-downloadable-block-header__title {
margin: 0;
font-size: 13px;
color: currentColor;
}
.block-directory-downloadable-block-icon {
width: 36px;
height: 36px;
min-width: 54px;
width: 54px;
height: 54px;
vertical-align: middle;
border: 1px solid #ddd;
}
.block-directory-downloadable-block-icon .block-editor-block-icon {
width: 36px;
height: 36px;
font-size: 36px;
background-color: #ddd;
}
.block-directory-downloadable-block-icon > img {
.block-directory-downloadable-block-list-item {
padding: 12px;
width: 100%;
height: auto;
text-align: right;
display: -ms-grid;
display: grid;
-ms-grid-columns: auto 1fr;
grid-template-columns: auto 1fr;
}
.block-directory-downloadable-block-list-item:hover {
box-shadow: 0 0 0 2px #007cba;
box-shadow: 0 0 0 2px var(--wp-admin-theme-color);
}
.block-directory-downloadable-block-list-item.is-busy {
background: transparent;
}
.block-directory-downloadable-block-list-item.is-busy .block-directory-downloadable-block-list-item__author {
border: 0;
clip: rect(1px, 1px, 1px, 1px);
-webkit-clip-path: inset(50%);
clip-path: inset(50%);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
word-wrap: normal !important;
}
.block-directory-downloadable-block-list-item:disabled, .block-directory-downloadable-block-list-item[aria-disabled] {
opacity: 1;
}
.block-directory-downloadable-block-info__content {
margin: 0 0 16px;
font-size: 13px;
.block-directory-downloadable-block-list-item__icon {
position: relative;
margin-left: 16px;
align-self: flex-start;
}
.block-directory-downloadable-block-info__meta {
.block-directory-downloadable-block-list-item__icon .block-directory-downloadable-block-list-item__spinner {
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: rgba(255, 255, 255, 0.75);
display: flex;
align-items: center;
margin-bottom: 2px;
color: #757575;
font-size: 12px;
}
.block-directory-downloadable-block-info__meta:last-child {
margin-bottom: 0;
}
.block-directory-downloadable-block-info__icon {
margin-left: 4px;
fill: #757575;
}
.block-directory-downloadable-block-list-item {
width: 100%;
padding: 0;
margin: 0;
display: flex;
flex-direction: row;
font-size: 13px;
color: #1e1e1e;
align-items: flex-start;
justify-content: center;
background: transparent;
word-break: break-word;
border-top: 1px solid #ddd;
border-bottom: 1px solid #ddd;
transition: all 0.05s ease-in-out;
position: relative;
text-align: right;
overflow: hidden;
}
@media (prefers-reduced-motion: reduce) {
.block-directory-downloadable-block-list-item {
transition-duration: 0s;
}
}
.block-directory-downloadable-block-list-item + .block-directory-downloadable-block-list-item {
border-top: none;
}
.block-directory-downloadable-block-list-item:last-child:not(:only-of-type) {
border-top: 0;
.block-directory-block-ratings {
display: block;
margin-top: 4px;
}
.block-directory-downloadable-block-list-item:last-child {
border-bottom: 0;
.block-directory-downloadable-block-list-item__details {
color: #1e1e1e;
}
.block-directory-downloadable-block-list-item__panel {
display: flex;
flex-grow: 1;
flex-direction: column;
.block-directory-downloadable-block-list-item__title {
display: block;
font-weight: 600;
}
.block-directory-downloadable-block-list-item__header {
display: flex;
flex-direction: column;
padding: 16px 16px 0;
.block-directory-downloadable-block-list-item__author {
display: block;
margin-top: 4px;
font-weight: normal;
}
.block-directory-downloadable-block-list-item__body {
display: flex;
flex-direction: column;
padding: 16px;
}
.block-directory-downloadable-block-list-item__footer {
display: flex;
flex-direction: column;
padding: 16px;
background-color: #f0f0f0;
}
.block-directory-downloadable-block-list-item__content {
color: #757575;
.block-directory-downloadable-block-list-item__desc {
display: block;
margin-top: 8px;
}
.block-directory-downloadable-block-notice {
margin: 0 0 16px;
margin: 8px 0 0;
color: #cc1818;
}
.block-directory-downloadable-block-notice__content {
@ -261,33 +213,40 @@
margin-bottom: 8px;
}
.block-directory-downloadable-blocks-list {
list-style: none;
margin: 0;
overflow: hidden;
display: flex;
flex-wrap: wrap;
}
.block-directory-downloadable-blocks-panel__description {
font-style: italic;
.block-directory-downloadable-blocks-panel {
padding: 16px;
margin: 0;
text-align: right;
color: #757575;
}
.block-directory-downloadable-blocks-panel__description.has-no-results {
.block-directory-downloadable-blocks-panel.has-blocks-loading {
font-style: normal;
padding: 0;
margin: 112px 0;
text-align: center;
color: #757575;
}
.block-directory-downloadable-blocks-panel__description.has-no-results .components-spinner {
.block-directory-downloadable-blocks-panel.has-blocks-loading .components-spinner {
float: inherit;
}
.block-directory-downloadable-blocks-panel__no-local {
margin: 48px 0;
padding: 0 64px;
color: #757575;
text-align: center;
}
.block-directory-downloadable-blocks-panel__title {
margin: 0 0 4px;
font-size: 14px;
}
.block-directory-downloadable-blocks-panel__description {
margin-top: 0;
}
.block-directory-downloadable-blocks-panel button {
margin-top: 4px;
}
.installed-blocks-pre-publish-panel__copy {
margin-top: 0;
}

View File

@ -1 +1 @@
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.block-directory-block-ratings{display:flex}.block-directory-block-ratings>div{line-height:1;display:flex}.block-directory-block-ratings .block-directory-block-ratings__rating-count{font-size:ms(-2)}.block-directory-block-ratings svg{fill:#ffb900}.block-directory-compact-list{margin:0;list-style:none}.block-directory-compact-list__item{display:flex;flex-direction:row;align-items:center;margin-bottom:16px}.block-directory-compact-list__item:last-child{margin-bottom:0}.block-directory-compact-list__item-details{margin-right:8px}.block-directory-compact-list__item-title{font-weight:500}.block-directory-compact-list__item-author{color:#757575;font-size:11px}.block-directory-downloadable-block-author-info__content{font-size:12px}.block-directory-downloadable-block-author-info__content-author{margin-bottom:4px;font-size:13px}.block-directory-downloadable-block-header__row{display:flex;flex-grow:1}.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column{display:flex;flex-direction:column;flex-grow:1;padding-right:12px}.block-directory-downloadable-block-header__title{margin:0;font-size:13px;color:currentColor}.block-directory-downloadable-block-icon{width:36px;height:36px}.block-directory-downloadable-block-icon .block-editor-block-icon{width:36px;height:36px;font-size:36px;background-color:#ddd}.block-directory-downloadable-block-icon>img{width:100%}.block-directory-downloadable-block-info__content{margin:0 0 16px;font-size:13px}.block-directory-downloadable-block-info__meta{display:flex;align-items:center;margin-bottom:2px;color:#757575;font-size:12px}.block-directory-downloadable-block-info__meta:last-child{margin-bottom:0}.block-directory-downloadable-block-info__icon{margin-left:4px;fill:#757575}.block-directory-downloadable-block-list-item{width:100%;padding:0;margin:0;display:flex;flex-direction:row;font-size:13px;color:#1e1e1e;align-items:flex-start;justify-content:center;background:transparent;word-break:break-word;border-top:1px solid #ddd;border-bottom:1px solid #ddd;transition:all .05s ease-in-out;position:relative;text-align:right;overflow:hidden}@media (prefers-reduced-motion:reduce){.block-directory-downloadable-block-list-item{transition-duration:0s}}.block-directory-downloadable-block-list-item+.block-directory-downloadable-block-list-item{border-top:none}.block-directory-downloadable-block-list-item:last-child:not(:only-of-type){border-top:0}.block-directory-downloadable-block-list-item:last-child{border-bottom:0}.block-directory-downloadable-block-list-item__panel{display:flex;flex-grow:1;flex-direction:column}.block-directory-downloadable-block-list-item__header{display:flex;flex-direction:column;padding:16px 16px 0}.block-directory-downloadable-block-list-item__body{display:flex;flex-direction:column;padding:16px}.block-directory-downloadable-block-list-item__footer{display:flex;flex-direction:column;padding:16px;background-color:#f0f0f0}.block-directory-downloadable-block-list-item__content{color:#757575}.block-directory-downloadable-block-notice{margin:0 0 16px}.block-directory-downloadable-block-notice__content{padding-left:12px;margin-bottom:8px}.block-directory-downloadable-blocks-list{list-style:none;margin:0;overflow:hidden;display:flex;flex-wrap:wrap}.block-directory-downloadable-blocks-panel__description{font-style:italic;padding:16px;margin:0;text-align:right;color:#757575}.block-directory-downloadable-blocks-panel__description.has-no-results{font-style:normal;padding:0;margin:112px 0;text-align:center;color:#757575}.block-directory-downloadable-blocks-panel__description.has-no-results .components-spinner{float:inherit}.installed-blocks-pre-publish-panel__copy{margin-top:0}
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.block-directory-block-ratings>span{display:flex}.block-directory-block-ratings svg{fill:#1e1e1e;margin-right:-4px}.block-directory-block-ratings .block-directory-block-ratings__star-empty{fill:#ccc}.block-directory-compact-list{margin:0;list-style:none}.block-directory-compact-list__item{display:flex;flex-direction:row;align-items:center;margin-bottom:16px}.block-directory-compact-list__item:last-child{margin-bottom:0}.block-directory-compact-list__item-details{margin-right:8px}.block-directory-compact-list__item-title{font-weight:500}.block-directory-compact-list__item-author{color:#757575;font-size:11px}.block-directory-downloadable-block-icon{min-width:54px;width:54px;height:54px;vertical-align:middle;border:1px solid #ddd}.block-directory-downloadable-block-list-item{padding:12px;width:100%;height:auto;text-align:right;display:-ms-grid;display:grid;-ms-grid-columns:auto 1fr;grid-template-columns:auto 1fr}.block-directory-downloadable-block-list-item:hover{box-shadow:0 0 0 2px #007cba;box-shadow:0 0 0 2px var(--wp-admin-theme-color)}.block-directory-downloadable-block-list-item.is-busy{background:transparent}.block-directory-downloadable-block-list-item.is-busy .block-directory-downloadable-block-list-item__author{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.block-directory-downloadable-block-list-item:disabled,.block-directory-downloadable-block-list-item[aria-disabled]{opacity:1}.block-directory-downloadable-block-list-item__icon{position:relative;margin-left:16px;align-self:flex-start}.block-directory-downloadable-block-list-item__icon .block-directory-downloadable-block-list-item__spinner{position:absolute;top:0;left:0;bottom:0;right:0;background:hsla(0,0%,100%,.75);display:flex;align-items:center;justify-content:center}.block-directory-block-ratings{display:block;margin-top:4px}.block-directory-downloadable-block-list-item__details{color:#1e1e1e}.block-directory-downloadable-block-list-item__title{display:block;font-weight:600}.block-directory-downloadable-block-list-item__author{display:block;margin-top:4px;font-weight:400}.block-directory-downloadable-block-list-item__desc{display:block;margin-top:8px}.block-directory-downloadable-block-notice{margin:8px 0 0;color:#cc1818}.block-directory-downloadable-block-notice__content{padding-left:12px;margin-bottom:8px}.block-directory-downloadable-blocks-panel{padding:16px}.block-directory-downloadable-blocks-panel.has-blocks-loading{font-style:normal;padding:0;margin:112px 0;text-align:center;color:#757575}.block-directory-downloadable-blocks-panel.has-blocks-loading .components-spinner{float:inherit}.block-directory-downloadable-blocks-panel__no-local{margin:48px 0;padding:0 64px;color:#757575;text-align:center}.block-directory-downloadable-blocks-panel__title{margin:0 0 4px;font-size:14px}.block-directory-downloadable-blocks-panel__description{margin-top:0}.block-directory-downloadable-blocks-panel button{margin-top:4px}.installed-blocks-pre-publish-panel__copy{margin-top:0}

View File

@ -68,9 +68,6 @@
/**
* Reset the WP Admin page styles for Gutenberg-like pages.
*/
/**
* These are default block editor widths in case the theme doesn't provide them.
*/
:root {
--wp-admin-theme-color: #007cba;
--wp-admin-theme-color-darker-10: #006ba1;
@ -83,18 +80,15 @@
}
}
.block-directory-block-ratings {
.block-directory-block-ratings > span {
display: flex;
}
.block-directory-block-ratings > div {
line-height: 1;
display: flex;
}
.block-directory-block-ratings .block-directory-block-ratings__rating-count {
font-size: ms(-2);
}
.block-directory-block-ratings svg {
fill: #ffb900;
fill: #1e1e1e;
margin-left: -4px;
}
.block-directory-block-ratings .block-directory-block-ratings__star-empty {
fill: #ccc;
}
.block-directory-compact-list {
@ -125,135 +119,93 @@
font-size: 11px;
}
.block-directory-downloadable-block-author-info__content {
font-size: 12px;
}
.block-directory-downloadable-block-author-info__content-author {
margin-bottom: 4px;
font-size: 13px;
}
.block-directory-downloadable-block-header__row {
display: flex;
flex-grow: 1;
}
.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column {
display: flex;
flex-direction: column;
flex-grow: 1;
padding-left: 12px;
}
.block-directory-downloadable-block-header__title {
margin: 0;
font-size: 13px;
color: currentColor;
}
.block-directory-downloadable-block-icon {
width: 36px;
height: 36px;
min-width: 54px;
width: 54px;
height: 54px;
vertical-align: middle;
border: 1px solid #ddd;
}
.block-directory-downloadable-block-icon .block-editor-block-icon {
width: 36px;
height: 36px;
font-size: 36px;
background-color: #ddd;
}
.block-directory-downloadable-block-icon > img {
.block-directory-downloadable-block-list-item {
padding: 12px;
width: 100%;
height: auto;
text-align: left;
display: -ms-grid;
display: grid;
-ms-grid-columns: auto 1fr;
grid-template-columns: auto 1fr;
}
.block-directory-downloadable-block-list-item:hover {
box-shadow: 0 0 0 2px #007cba;
box-shadow: 0 0 0 2px var(--wp-admin-theme-color);
}
.block-directory-downloadable-block-list-item.is-busy {
background: transparent;
}
.block-directory-downloadable-block-list-item.is-busy .block-directory-downloadable-block-list-item__author {
border: 0;
clip: rect(1px, 1px, 1px, 1px);
-webkit-clip-path: inset(50%);
clip-path: inset(50%);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
word-wrap: normal !important;
}
.block-directory-downloadable-block-list-item:disabled, .block-directory-downloadable-block-list-item[aria-disabled] {
opacity: 1;
}
.block-directory-downloadable-block-info__content {
margin: 0 0 16px;
font-size: 13px;
.block-directory-downloadable-block-list-item__icon {
position: relative;
margin-right: 16px;
align-self: flex-start;
}
.block-directory-downloadable-block-info__meta {
.block-directory-downloadable-block-list-item__icon .block-directory-downloadable-block-list-item__spinner {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
background: rgba(255, 255, 255, 0.75);
display: flex;
align-items: center;
margin-bottom: 2px;
color: #757575;
font-size: 12px;
}
.block-directory-downloadable-block-info__meta:last-child {
margin-bottom: 0;
}
.block-directory-downloadable-block-info__icon {
margin-right: 4px;
fill: #757575;
}
.block-directory-downloadable-block-list-item {
width: 100%;
padding: 0;
margin: 0;
display: flex;
flex-direction: row;
font-size: 13px;
color: #1e1e1e;
align-items: flex-start;
justify-content: center;
background: transparent;
word-break: break-word;
border-top: 1px solid #ddd;
border-bottom: 1px solid #ddd;
transition: all 0.05s ease-in-out;
position: relative;
text-align: left;
overflow: hidden;
}
@media (prefers-reduced-motion: reduce) {
.block-directory-downloadable-block-list-item {
transition-duration: 0s;
}
}
.block-directory-downloadable-block-list-item + .block-directory-downloadable-block-list-item {
border-top: none;
}
.block-directory-downloadable-block-list-item:last-child:not(:only-of-type) {
border-top: 0;
.block-directory-block-ratings {
display: block;
margin-top: 4px;
}
.block-directory-downloadable-block-list-item:last-child {
border-bottom: 0;
.block-directory-downloadable-block-list-item__details {
color: #1e1e1e;
}
.block-directory-downloadable-block-list-item__panel {
display: flex;
flex-grow: 1;
flex-direction: column;
.block-directory-downloadable-block-list-item__title {
display: block;
font-weight: 600;
}
.block-directory-downloadable-block-list-item__header {
display: flex;
flex-direction: column;
padding: 16px 16px 0;
.block-directory-downloadable-block-list-item__author {
display: block;
margin-top: 4px;
font-weight: normal;
}
.block-directory-downloadable-block-list-item__body {
display: flex;
flex-direction: column;
padding: 16px;
}
.block-directory-downloadable-block-list-item__footer {
display: flex;
flex-direction: column;
padding: 16px;
background-color: #f0f0f0;
}
.block-directory-downloadable-block-list-item__content {
color: #757575;
.block-directory-downloadable-block-list-item__desc {
display: block;
margin-top: 8px;
}
.block-directory-downloadable-block-notice {
margin: 0 0 16px;
margin: 8px 0 0;
color: #cc1818;
}
.block-directory-downloadable-block-notice__content {
@ -261,33 +213,40 @@
margin-bottom: 8px;
}
.block-directory-downloadable-blocks-list {
list-style: none;
margin: 0;
overflow: hidden;
display: flex;
flex-wrap: wrap;
}
.block-directory-downloadable-blocks-panel__description {
font-style: italic;
.block-directory-downloadable-blocks-panel {
padding: 16px;
margin: 0;
text-align: left;
color: #757575;
}
.block-directory-downloadable-blocks-panel__description.has-no-results {
.block-directory-downloadable-blocks-panel.has-blocks-loading {
font-style: normal;
padding: 0;
margin: 112px 0;
text-align: center;
color: #757575;
}
.block-directory-downloadable-blocks-panel__description.has-no-results .components-spinner {
.block-directory-downloadable-blocks-panel.has-blocks-loading .components-spinner {
float: inherit;
}
.block-directory-downloadable-blocks-panel__no-local {
margin: 48px 0;
padding: 0 64px;
color: #757575;
text-align: center;
}
.block-directory-downloadable-blocks-panel__title {
margin: 0 0 4px;
font-size: 14px;
}
.block-directory-downloadable-blocks-panel__description {
margin-top: 0;
}
.block-directory-downloadable-blocks-panel button {
margin-top: 4px;
}
.installed-blocks-pre-publish-panel__copy {
margin-top: 0;
}

View File

@ -1 +1 @@
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.block-directory-block-ratings{display:flex}.block-directory-block-ratings>div{line-height:1;display:flex}.block-directory-block-ratings .block-directory-block-ratings__rating-count{font-size:ms(-2)}.block-directory-block-ratings svg{fill:#ffb900}.block-directory-compact-list{margin:0;list-style:none}.block-directory-compact-list__item{display:flex;flex-direction:row;align-items:center;margin-bottom:16px}.block-directory-compact-list__item:last-child{margin-bottom:0}.block-directory-compact-list__item-details{margin-left:8px}.block-directory-compact-list__item-title{font-weight:500}.block-directory-compact-list__item-author{color:#757575;font-size:11px}.block-directory-downloadable-block-author-info__content{font-size:12px}.block-directory-downloadable-block-author-info__content-author{margin-bottom:4px;font-size:13px}.block-directory-downloadable-block-header__row{display:flex;flex-grow:1}.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column{display:flex;flex-direction:column;flex-grow:1;padding-left:12px}.block-directory-downloadable-block-header__title{margin:0;font-size:13px;color:currentColor}.block-directory-downloadable-block-icon{width:36px;height:36px}.block-directory-downloadable-block-icon .block-editor-block-icon{width:36px;height:36px;font-size:36px;background-color:#ddd}.block-directory-downloadable-block-icon>img{width:100%}.block-directory-downloadable-block-info__content{margin:0 0 16px;font-size:13px}.block-directory-downloadable-block-info__meta{display:flex;align-items:center;margin-bottom:2px;color:#757575;font-size:12px}.block-directory-downloadable-block-info__meta:last-child{margin-bottom:0}.block-directory-downloadable-block-info__icon{margin-right:4px;fill:#757575}.block-directory-downloadable-block-list-item{width:100%;padding:0;margin:0;display:flex;flex-direction:row;font-size:13px;color:#1e1e1e;align-items:flex-start;justify-content:center;background:transparent;word-break:break-word;border-top:1px solid #ddd;border-bottom:1px solid #ddd;transition:all .05s ease-in-out;position:relative;text-align:left;overflow:hidden}@media (prefers-reduced-motion:reduce){.block-directory-downloadable-block-list-item{transition-duration:0s}}.block-directory-downloadable-block-list-item+.block-directory-downloadable-block-list-item{border-top:none}.block-directory-downloadable-block-list-item:last-child:not(:only-of-type){border-top:0}.block-directory-downloadable-block-list-item:last-child{border-bottom:0}.block-directory-downloadable-block-list-item__panel{display:flex;flex-grow:1;flex-direction:column}.block-directory-downloadable-block-list-item__header{display:flex;flex-direction:column;padding:16px 16px 0}.block-directory-downloadable-block-list-item__body{display:flex;flex-direction:column;padding:16px}.block-directory-downloadable-block-list-item__footer{display:flex;flex-direction:column;padding:16px;background-color:#f0f0f0}.block-directory-downloadable-block-list-item__content{color:#757575}.block-directory-downloadable-block-notice{margin:0 0 16px}.block-directory-downloadable-block-notice__content{padding-right:12px;margin-bottom:8px}.block-directory-downloadable-blocks-list{list-style:none;margin:0;overflow:hidden;display:flex;flex-wrap:wrap}.block-directory-downloadable-blocks-panel__description{font-style:italic;padding:16px;margin:0;text-align:left;color:#757575}.block-directory-downloadable-blocks-panel__description.has-no-results{font-style:normal;padding:0;margin:112px 0;text-align:center;color:#757575}.block-directory-downloadable-blocks-panel__description.has-no-results .components-spinner{float:inherit}.installed-blocks-pre-publish-panel__copy{margin-top:0}
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.block-directory-block-ratings>span{display:flex}.block-directory-block-ratings svg{fill:#1e1e1e;margin-left:-4px}.block-directory-block-ratings .block-directory-block-ratings__star-empty{fill:#ccc}.block-directory-compact-list{margin:0;list-style:none}.block-directory-compact-list__item{display:flex;flex-direction:row;align-items:center;margin-bottom:16px}.block-directory-compact-list__item:last-child{margin-bottom:0}.block-directory-compact-list__item-details{margin-left:8px}.block-directory-compact-list__item-title{font-weight:500}.block-directory-compact-list__item-author{color:#757575;font-size:11px}.block-directory-downloadable-block-icon{min-width:54px;width:54px;height:54px;vertical-align:middle;border:1px solid #ddd}.block-directory-downloadable-block-list-item{padding:12px;width:100%;height:auto;text-align:left;display:-ms-grid;display:grid;-ms-grid-columns:auto 1fr;grid-template-columns:auto 1fr}.block-directory-downloadable-block-list-item:hover{box-shadow:0 0 0 2px #007cba;box-shadow:0 0 0 2px var(--wp-admin-theme-color)}.block-directory-downloadable-block-list-item.is-busy{background:transparent}.block-directory-downloadable-block-list-item.is-busy .block-directory-downloadable-block-list-item__author{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.block-directory-downloadable-block-list-item:disabled,.block-directory-downloadable-block-list-item[aria-disabled]{opacity:1}.block-directory-downloadable-block-list-item__icon{position:relative;margin-right:16px;align-self:flex-start}.block-directory-downloadable-block-list-item__icon .block-directory-downloadable-block-list-item__spinner{position:absolute;top:0;right:0;bottom:0;left:0;background:hsla(0,0%,100%,.75);display:flex;align-items:center;justify-content:center}.block-directory-block-ratings{display:block;margin-top:4px}.block-directory-downloadable-block-list-item__details{color:#1e1e1e}.block-directory-downloadable-block-list-item__title{display:block;font-weight:600}.block-directory-downloadable-block-list-item__author{display:block;margin-top:4px;font-weight:400}.block-directory-downloadable-block-list-item__desc{display:block;margin-top:8px}.block-directory-downloadable-block-notice{margin:8px 0 0;color:#cc1818}.block-directory-downloadable-block-notice__content{padding-right:12px;margin-bottom:8px}.block-directory-downloadable-blocks-panel{padding:16px}.block-directory-downloadable-blocks-panel.has-blocks-loading{font-style:normal;padding:0;margin:112px 0;text-align:center;color:#757575}.block-directory-downloadable-blocks-panel.has-blocks-loading .components-spinner{float:inherit}.block-directory-downloadable-blocks-panel__no-local{margin:48px 0;padding:0 64px;color:#757575;text-align:center}.block-directory-downloadable-blocks-panel__title{margin:0 0 4px;font-size:14px}.block-directory-downloadable-blocks-panel__description{margin-top:0}.block-directory-downloadable-blocks-panel button{margin-top:4px}.installed-blocks-pre-publish-panel__copy{margin-top:0}

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -68,9 +68,6 @@
/**
* Reset the WP Admin page styles for Gutenberg-like pages.
*/
/**
* These are default block editor widths in case the theme doesn't provide them.
*/
:root {
--wp-admin-theme-color: #007cba;
--wp-admin-theme-color-darker-10: #006ba1;
@ -225,7 +222,7 @@
:root .has-midnight-gradient-background {
background: linear-gradient(-135deg, #020381 0%, #2874fc 100%);
}
:root .has-link-color a {
:root .has-link-color a:not(.wp-block-button__link) {
color: #00e;
color: var(--wp--style--color--link, #00e);
}
@ -271,3 +268,51 @@
.aligncenter {
clear: both;
}
.items-justified-left {
justify-content: flex-start;
}
.items-justified-center {
justify-content: center;
}
.items-justified-right {
justify-content: flex-end;
}
.items-justified-space-between {
justify-content: space-between;
}
.screen-reader-text {
border: 0;
clip: rect(1px, 1px, 1px, 1px);
-webkit-clip-path: inset(50%);
clip-path: inset(50%);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
word-wrap: normal !important;
}
.screen-reader-text:focus {
background-color: #ddd;
clip: auto !important;
-webkit-clip-path: none;
clip-path: none;
color: #444;
display: block;
font-size: 1em;
height: auto;
right: 5px;
line-height: normal;
padding: 15px 23px 14px;
text-decoration: none;
top: 5px;
width: auto;
z-index: 100000;
}

File diff suppressed because one or more lines are too long

View File

@ -68,9 +68,6 @@
/**
* Reset the WP Admin page styles for Gutenberg-like pages.
*/
/**
* These are default block editor widths in case the theme doesn't provide them.
*/
:root {
--wp-admin-theme-color: #007cba;
--wp-admin-theme-color-darker-10: #006ba1;
@ -225,7 +222,7 @@
:root .has-midnight-gradient-background {
background: linear-gradient(135deg, #020381 0%, #2874fc 100%);
}
:root .has-link-color a {
:root .has-link-color a:not(.wp-block-button__link) {
color: #00e;
color: var(--wp--style--color--link, #00e);
}
@ -273,3 +270,51 @@
.aligncenter {
clear: both;
}
.items-justified-left {
justify-content: flex-start;
}
.items-justified-center {
justify-content: center;
}
.items-justified-right {
justify-content: flex-end;
}
.items-justified-space-between {
justify-content: space-between;
}
.screen-reader-text {
border: 0;
clip: rect(1px, 1px, 1px, 1px);
-webkit-clip-path: inset(50%);
clip-path: inset(50%);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
word-wrap: normal !important;
}
.screen-reader-text:focus {
background-color: #ddd;
clip: auto !important;
-webkit-clip-path: none;
clip-path: none;
color: #444;
display: block;
font-size: 1em;
height: auto;
left: 5px;
line-height: normal;
padding: 15px 23px 14px;
text-decoration: none;
top: 5px;
width: auto;
z-index: 100000;
}

View File

@ -1 +1 @@
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}:root .has-pale-pink-background-color{background-color:#f78da7}:root .has-vivid-red-background-color{background-color:#cf2e2e}:root .has-luminous-vivid-orange-background-color{background-color:#ff6900}:root .has-luminous-vivid-amber-background-color{background-color:#fcb900}:root .has-light-green-cyan-background-color{background-color:#7bdcb5}:root .has-vivid-green-cyan-background-color{background-color:#00d084}:root .has-pale-cyan-blue-background-color{background-color:#8ed1fc}:root .has-vivid-cyan-blue-background-color{background-color:#0693e3}:root .has-vivid-purple-background-color{background-color:#9b51e0}:root .has-white-background-color{background-color:#fff}:root .has-very-light-gray-background-color{background-color:#eee}:root .has-cyan-bluish-gray-background-color{background-color:#abb8c3}:root .has-very-dark-gray-background-color{background-color:#313131}:root .has-black-background-color{background-color:#000}:root .has-pale-pink-color{color:#f78da7}:root .has-vivid-red-color{color:#cf2e2e}:root .has-luminous-vivid-orange-color{color:#ff6900}:root .has-luminous-vivid-amber-color{color:#fcb900}:root .has-light-green-cyan-color{color:#7bdcb5}:root .has-vivid-green-cyan-color{color:#00d084}:root .has-pale-cyan-blue-color{color:#8ed1fc}:root .has-vivid-cyan-blue-color{color:#0693e3}:root .has-vivid-purple-color{color:#9b51e0}:root .has-white-color{color:#fff}:root .has-very-light-gray-color{color:#eee}:root .has-cyan-bluish-gray-color{color:#abb8c3}:root .has-very-dark-gray-color{color:#313131}:root .has-black-color{color:#000}:root .has-vivid-cyan-blue-to-vivid-purple-gradient-background{background:linear-gradient(135deg,#0693e3,#9b51e0)}:root .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background{background:linear-gradient(135deg,#00d084,#0693e3)}:root .has-light-green-cyan-to-vivid-green-cyan-gradient-background{background:linear-gradient(135deg,#7adcb4,#00d082)}:root .has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background{background:linear-gradient(135deg,#fcb900,#ff6900)}:root .has-luminous-vivid-orange-to-vivid-red-gradient-background{background:linear-gradient(135deg,#ff6900,#cf2e2e)}:root .has-very-light-gray-to-cyan-bluish-gray-gradient-background{background:linear-gradient(135deg,#eee,#a9b8c3)}:root .has-cool-to-warm-spectrum-gradient-background{background:linear-gradient(135deg,#4aeadc,#9778d1 20%,#cf2aba 40%,#ee2c82 60%,#fb6962 80%,#fef84c)}:root .has-blush-light-purple-gradient-background{background:linear-gradient(135deg,#ffceec,#9896f0)}:root .has-blush-bordeaux-gradient-background{background:linear-gradient(135deg,#fecda5,#fe2d2d 50%,#6b003e)}:root .has-purple-crush-gradient-background{background:linear-gradient(135deg,#34e2e4,#4721fb 50%,#ab1dfe)}:root .has-luminous-dusk-gradient-background{background:linear-gradient(135deg,#ffcb70,#c751c0 50%,#4158d0)}:root .has-hazy-dawn-gradient-background{background:linear-gradient(135deg,#faaca8,#dad0ec)}:root .has-pale-ocean-gradient-background{background:linear-gradient(135deg,#fff5cb,#b6e3d4 50%,#33a7b5)}:root .has-electric-grass-gradient-background{background:linear-gradient(135deg,#caf880,#71ce7e)}:root .has-subdued-olive-gradient-background{background:linear-gradient(135deg,#fafae1,#67a671)}:root .has-atomic-cream-gradient-background{background:linear-gradient(135deg,#fdd79a,#004a59)}:root .has-nightshade-gradient-background{background:linear-gradient(135deg,#330968,#31cdcf)}:root .has-midnight-gradient-background{background:linear-gradient(135deg,#020381,#2874fc)}:root .has-link-color a{color:#00e;color:var(--wp--style--color--link,#00e)}.has-small-font-size{font-size:.8125em}.has-normal-font-size,.has-regular-font-size{font-size:1em}.has-medium-font-size{font-size:1.25em}.has-large-font-size{font-size:2.25em}.has-huge-font-size,.has-larger-font-size{font-size:2.625em}.has-text-align-center{text-align:center}.has-text-align-left{text-align:left}.has-text-align-right{text-align:right}#end-resizable-editor-section{display:none}.aligncenter{clear:both}
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}:root .has-pale-pink-background-color{background-color:#f78da7}:root .has-vivid-red-background-color{background-color:#cf2e2e}:root .has-luminous-vivid-orange-background-color{background-color:#ff6900}:root .has-luminous-vivid-amber-background-color{background-color:#fcb900}:root .has-light-green-cyan-background-color{background-color:#7bdcb5}:root .has-vivid-green-cyan-background-color{background-color:#00d084}:root .has-pale-cyan-blue-background-color{background-color:#8ed1fc}:root .has-vivid-cyan-blue-background-color{background-color:#0693e3}:root .has-vivid-purple-background-color{background-color:#9b51e0}:root .has-white-background-color{background-color:#fff}:root .has-very-light-gray-background-color{background-color:#eee}:root .has-cyan-bluish-gray-background-color{background-color:#abb8c3}:root .has-very-dark-gray-background-color{background-color:#313131}:root .has-black-background-color{background-color:#000}:root .has-pale-pink-color{color:#f78da7}:root .has-vivid-red-color{color:#cf2e2e}:root .has-luminous-vivid-orange-color{color:#ff6900}:root .has-luminous-vivid-amber-color{color:#fcb900}:root .has-light-green-cyan-color{color:#7bdcb5}:root .has-vivid-green-cyan-color{color:#00d084}:root .has-pale-cyan-blue-color{color:#8ed1fc}:root .has-vivid-cyan-blue-color{color:#0693e3}:root .has-vivid-purple-color{color:#9b51e0}:root .has-white-color{color:#fff}:root .has-very-light-gray-color{color:#eee}:root .has-cyan-bluish-gray-color{color:#abb8c3}:root .has-very-dark-gray-color{color:#313131}:root .has-black-color{color:#000}:root .has-vivid-cyan-blue-to-vivid-purple-gradient-background{background:linear-gradient(135deg,#0693e3,#9b51e0)}:root .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background{background:linear-gradient(135deg,#00d084,#0693e3)}:root .has-light-green-cyan-to-vivid-green-cyan-gradient-background{background:linear-gradient(135deg,#7adcb4,#00d082)}:root .has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background{background:linear-gradient(135deg,#fcb900,#ff6900)}:root .has-luminous-vivid-orange-to-vivid-red-gradient-background{background:linear-gradient(135deg,#ff6900,#cf2e2e)}:root .has-very-light-gray-to-cyan-bluish-gray-gradient-background{background:linear-gradient(135deg,#eee,#a9b8c3)}:root .has-cool-to-warm-spectrum-gradient-background{background:linear-gradient(135deg,#4aeadc,#9778d1 20%,#cf2aba 40%,#ee2c82 60%,#fb6962 80%,#fef84c)}:root .has-blush-light-purple-gradient-background{background:linear-gradient(135deg,#ffceec,#9896f0)}:root .has-blush-bordeaux-gradient-background{background:linear-gradient(135deg,#fecda5,#fe2d2d 50%,#6b003e)}:root .has-purple-crush-gradient-background{background:linear-gradient(135deg,#34e2e4,#4721fb 50%,#ab1dfe)}:root .has-luminous-dusk-gradient-background{background:linear-gradient(135deg,#ffcb70,#c751c0 50%,#4158d0)}:root .has-hazy-dawn-gradient-background{background:linear-gradient(135deg,#faaca8,#dad0ec)}:root .has-pale-ocean-gradient-background{background:linear-gradient(135deg,#fff5cb,#b6e3d4 50%,#33a7b5)}:root .has-electric-grass-gradient-background{background:linear-gradient(135deg,#caf880,#71ce7e)}:root .has-subdued-olive-gradient-background{background:linear-gradient(135deg,#fafae1,#67a671)}:root .has-atomic-cream-gradient-background{background:linear-gradient(135deg,#fdd79a,#004a59)}:root .has-nightshade-gradient-background{background:linear-gradient(135deg,#330968,#31cdcf)}:root .has-midnight-gradient-background{background:linear-gradient(135deg,#020381,#2874fc)}:root .has-link-color a:not(.wp-block-button__link){color:#00e;color:var(--wp--style--color--link,#00e)}.has-small-font-size{font-size:.8125em}.has-normal-font-size,.has-regular-font-size{font-size:1em}.has-medium-font-size{font-size:1.25em}.has-large-font-size{font-size:2.25em}.has-huge-font-size,.has-larger-font-size{font-size:2.625em}.has-text-align-center{text-align:center}.has-text-align-left{text-align:left}.has-text-align-right{text-align:right}#end-resizable-editor-section{display:none}.aligncenter{clear:both}.items-justified-left{justify-content:flex-start}.items-justified-center{justify-content:center}.items-justified-right{justify-content:flex-end}.items-justified-space-between{justify-content:space-between}.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.screen-reader-text:focus{background-color:#ddd;clip:auto!important;-webkit-clip-path:none;clip-path:none;color:#444;display:block;font-size:1em;height:auto;left:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}

View File

@ -68,9 +68,6 @@
/**
* Reset the WP Admin page styles for Gutenberg-like pages.
*/
/**
* These are default block editor widths in case the theme doesn't provide them.
*/
#start-resizable-editor-section {
display: none;
}
@ -240,9 +237,6 @@ div[data-type="core/button"] {
margin-bottom: 0;
}
.wp-block-cover {
height: 100%;
}
.wp-block-cover.is-placeholder {
min-height: auto !important;
padding: 0 !important;
@ -296,6 +290,41 @@ div[data-type="core/button"] {
height: auto !important;
}
.wp-block-cover > .components-drop-zone.is-active {
transition: 0.2s opacity, 0.2s border;
}
@media (prefers-reduced-motion: reduce) {
.wp-block-cover > .components-drop-zone.is-active {
transition-duration: 0s;
transition-delay: 0s;
}
}
.wp-block-cover > .components-drop-zone.is-dragging-over-element {
background-color: transparent;
border: 48px solid var(--wp-admin-theme-color);
}
.wp-block-cover > .components-drop-zone.is-dragging-over-element .components-drop-zone__content {
transform: none;
}
.wp-block-cover > .components-drop-zone .components-drop-zone__content {
display: flex;
align-items: center;
top: -36px;
right: -36px;
transform: none;
}
.wp-block-cover > .components-drop-zone .components-drop-zone__content-icon,
.wp-block-cover > .components-drop-zone .components-drop-zone__content-text {
display: inline;
}
.wp-block-cover > .components-drop-zone .components-drop-zone__content-icon {
margin: 0;
margin-left: 8px;
}
.wp-block-cover > .components-drop-zone .components-drop-zone__content-text {
font-size: 13px;
}
.wp-block-embed {
margin-right: 0;
margin-left: 0;
@ -352,13 +381,9 @@ div[data-type="core/button"] {
.wp-block-file .wp-block-file__content-wrapper {
flex-grow: 1;
}
.wp-block-file .wp-block-file__textlink {
display: inline-block;
.wp-block-file a {
min-width: 1em;
}
.wp-block-file .wp-block-file__textlink:focus {
box-shadow: none;
}
.wp-block-file .wp-block-file__button-richtext-wrapper {
display: inline-block;
margin-right: 0.75em;
@ -591,6 +616,7 @@ div[data-type="core/freeform"]::before {
@media (prefers-reduced-motion: reduce) {
div[data-type="core/freeform"]::before {
transition-duration: 0s;
transition-delay: 0s;
}
}
div[data-type="core/freeform"].is-selected::before {
@ -634,7 +660,7 @@ div[data-type="core/freeform"].is-selected .block-library-rich-text__tinymce::af
margin-bottom: 8px;
padding: 0;
}
div[data-type="core/freeform"].is-selected .block-library-classic__toolbar, div[data-type="core/freeform"].is-typing .block-library-classic__toolbar {
div[data-type="core/freeform"].is-selected .block-library-classic__toolbar {
display: block;
border-color: #1e1e1e;
}
@ -756,6 +782,7 @@ figure.wp-block-gallery {
@media (prefers-reduced-motion: reduce) {
.block-library-gallery-item__inline-menu {
transition-duration: 0s;
transition-delay: 0s;
}
}
.block-library-gallery-item__inline-menu:hover {
@ -799,38 +826,6 @@ figure.wp-block-gallery {
right: 0;
left: 0;
}
.wp-block-group > .wp-block-group__inner-container > [data-align=full] {
margin-right: auto;
margin-left: auto;
}
.wp-block-group.has-background > .wp-block-group__inner-container > [data-align=full] {
margin-right: -30px;
width: calc(100% + 60px);
}
/**
* Group: Full Width Alignment
*/
[data-align=full] .wp-block-group > .wp-block-group__inner-container > .wp-block {
padding-right: 14px;
padding-left: 14px;
}
@media (min-width: 600px) {
[data-align=full] .wp-block-group > .wp-block-group__inner-container > .wp-block {
padding-right: 0;
padding-left: 0;
}
}
[data-align=full] .wp-block-group > .wp-block-group__inner-container > [data-align=full] {
padding-left: 0;
padding-right: 0;
right: 0;
width: 100%;
max-width: none;
}
[data-align=full] .wp-block-group.has-background > .wp-block-group__inner-container > [data-align=full] {
width: calc(100% + 60px);
}
[data-type="core/group"].is-selected .block-list-appender {
margin-right: 0;
@ -1006,21 +1001,6 @@ figure.wp-block-image:not(.wp-block) {
padding-left: 0;
}
.wp-block-latest-comments.has-avatars .avatar {
margin-left: 10px;
}
.wp-block-latest-comments__comment-excerpt p {
font-size: 14px;
line-height: 1.8;
margin: 5px 0 20px;
padding-top: 0;
}
.wp-block-latest-comments.has-avatars .wp-block-latest-comments__comment {
min-height: 36px;
}
.wp-block-latest-posts {
padding-right: 2.5em;
}
@ -1036,9 +1016,42 @@ figure.wp-block-image:not(.wp-block) {
margin-bottom: 20px;
}
ol.has-background.has-background,
ul.has-background.has-background {
padding: 1.25em 2.375em;
.wp-block-legacy-widget__edit-form {
background: #fff;
border-radius: 2px;
border: 1px solid #1e1e1e;
padding: 8px 14px;
}
.wp-block-legacy-widget__edit-form .wp-block-legacy-widget__edit-form-title {
border-bottom: 1px solid #1e1e1e;
color: #000;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-size: 13px;
font-weight: 600;
margin: -8px -14px 0;
padding: 14px 18px;
}
.wp-block-legacy-widget__edit-form .widget-inside {
border: none;
box-shadow: none;
display: block;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}
.wp-block-legacy-widget__edit-form .widget.open {
z-index: 0;
}
.wp-block-legacy-widget__edit-preview {
overflow: auto;
}
.wp-block-legacy-widget-inspector-card {
padding: 0 60px 16px 16px;
}
.interface-complementary-area .wp-block-legacy-widget-inspector-card__name {
margin: 0 0 5px;
font-weight: 500;
}
.wp-block-media-text .__resizable_base__ {
@ -1103,51 +1116,63 @@ ul.has-background.has-background {
border-top: 3px dashed #ccc;
}
.editor-styles-wrapper .wp-block-navigation ul,
.editor-styles-wrapper .wp-block-navigation ol {
/**
* Editor only CSS.
*/
.editor-styles-wrapper .wp-block-navigation ul {
margin-top: 0;
margin-bottom: 0;
margin-right: 0;
padding-right: 0;
}
.editor-styles-wrapper .wp-block-navigation .block-editor-block-list__block {
margin: 0;
}
.wp-block-navigation .block-list-appender {
display: inline-flex;
-ms-grid-row-align: center;
align-self: center;
width: 24px;
height: 24px;
}
.wp-block-navigation.is-vertical .block-list-appender {
margin: 8px;
}
.wp-block-navigation__inserter-content {
padding: 16px;
}
.wp-block-navigation__container {
min-height: 44px;
.editor-styles-wrapper .wp-block-navigation .block-editor-block-list__block.wp-block-navigation-link {
margin: 0 0 0 0.5em;
}
.editor-styles-wrapper .wp-block-navigation .block-editor-block-list__block.has-child .block-editor-block-list__block.wp-block-navigation-link {
margin: 0;
}
.editor-styles-wrapper .wp-block-navigation .block-editor-block-list__block.wp-block-pages-list__item:last-child, .editor-styles-wrapper .wp-block-navigation .block-editor-block-list__block.wp-block-navigation-link:last-child {
margin-left: 0;
}
/**
* Submenus.
*/
.wp-block-navigation__container.is-parent-of-selected-block {
visibility: visible;
opacity: 1;
}
.has-child > .wp-block-navigation__container, .has-child:hover > .wp-block-navigation__container {
.wp-block-navigation__container,
.wp-block-navigation-link {
background-color: inherit;
}
.wp-block-navigation:not(.is-selected):not(.has-child-selected) .has-child:hover > .wp-block-navigation-link__container {
opacity: 0;
visibility: hidden;
}
.has-child.is-selected > .wp-block-navigation__container, .has-child.has-child-selected > .wp-block-navigation__container, .is-dragging-components-draggable .has-child.is-dragging-within > .wp-block-navigation__container {
.has-child.is-selected > .wp-block-navigation-link__container, .has-child.has-child-selected > .wp-block-navigation-link__container {
opacity: 1;
visibility: visible;
}
.is-dragging-components-draggable .has-child.is-dragging-within > .wp-block-navigation-link__container {
opacity: 1;
visibility: visible;
}
.is-editing > .wp-block-navigation__container {
visibility: visible;
opacity: 1;
display: flex;
flex-direction: column;
}
.is-dragging-components-draggable .wp-block-navigation-link > .wp-block-navigation__container {
opacity: 1;
visibility: hidden;
@ -1212,52 +1237,6 @@ ul.has-background.has-background {
display: none;
}
.is-editing > .wp-block-navigation__container {
visibility: visible;
opacity: 1;
display: flex;
flex-direction: column;
}
.wp-block-navigation-placeholder {
min-height: 44px;
}
.wp-block-navigation-placeholder .components-spinner {
margin-top: -4px;
margin-right: 4px;
vertical-align: middle;
margin-left: 7px;
}
.wp-block-navigation-placeholder .components-custom-select-control__button {
height: auto;
padding: 0.375rem 1.5rem 0.375rem 0.75rem;
min-width: 13.75rem;
}
.wp-block-navigation-placeholder .components-custom-select-control.has-menus .components-custom-select-control__item.is-create-empty-option {
position: relative;
margin-top: 20px;
}
.wp-block-navigation-placeholder .components-custom-select-control.has-menus .components-custom-select-control__item.is-create-empty-option::before {
content: "";
position: absolute;
top: -10px;
right: 25px;
left: 25px;
height: 15px;
border-top: 1px solid #757575;
}
.wp-block-navigation-placeholder .components-custom-select-control__label {
margin-bottom: 1rem;
font-size: 13px;
font-weight: normal;
}
.wp-block-navigation-placeholder .components-custom-select-control__menu {
margin: 0;
max-height: none;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-size: 13px;
}
.wp-block-navigation .block-editor-button-block-appender {
justify-content: flex-start;
}
@ -1265,12 +1244,20 @@ ul.has-background.has-background {
/**
* Setup state
*/
.wp-block-navigation-placeholder,
.wp-block-navigation-placeholder__preview,
.is-selected .wp-block-navigation__container {
min-height: 44px;
}
.wp-block-navigation-placeholder .components-spinner {
margin-top: -4px;
margin-right: 4px;
vertical-align: middle;
margin-left: 7px;
}
.wp-block-navigation-placeholder__preview {
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
display: flex;
flex-direction: row;
align-items: center;
@ -1279,6 +1266,7 @@ ul.has-background.has-background {
@media (prefers-reduced-motion: reduce) {
.wp-block-navigation-placeholder__preview {
transition-duration: 0s;
transition-delay: 0s;
}
}
.wp-block-navigation-placeholder__preview .wp-block-navigation-link.wp-block-navigation-link {
@ -1288,12 +1276,20 @@ ul.has-background.has-background {
height: 16px;
margin: 12px 0 12px 24px;
}
.wp-block-navigation-placeholder__preview svg {
fill: currentColor;
}
.wp-block-navigation-placeholder__preview .wp-block-navigation-link.wp-block-navigation-link,
.wp-block-navigation-placeholder__preview svg {
opacity: 0.3;
}
.is-selected .wp-block-navigation-placeholder__preview {
opacity: 0.2;
opacity: 0;
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
}
.wp-block-navigation-placeholder__controls {
@ -1306,6 +1302,8 @@ ul.has-background.has-background {
display: none;
position: relative;
z-index: 1;
float: right;
width: 100%;
}
.is-selected .wp-block-navigation-placeholder__controls {
display: flex;
@ -1320,6 +1318,26 @@ ul.has-background.has-background {
margin-left: 12px;
height: 36px;
}
.wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator {
margin-left: 12px;
padding: 6px 0;
align-items: center;
justify-content: flex-start;
display: none;
margin-right: 5px;
}
.wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator svg {
margin-left: 4px;
}
.is-vertical .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator {
margin-bottom: 4px;
margin-right: 0;
}
@media (min-width: 600px) {
.wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator {
display: inline-flex;
}
}
.is-vertical .wp-block-navigation-placeholder,
.is-vertical .wp-block-navigation-placeholder__preview,
@ -1338,54 +1356,94 @@ ul.has-background.has-background {
font-size: 13px;
}
.wp-block-navigation-placeholder__actions .components-button.components-dropdown-menu__toggle.has-icon {
padding: 6px 12px;
padding: 6px 12px 6px 4px;
display: flex;
flex-direction: row-reverse;
}
.wp-block-navigation-placeholder__actions .components-dropdown,
.wp-block-navigation-placeholder__actions > .components-button {
margin-left: 12px;
}
.wp-block-navigation-link__field .components-text-control__input.components-text-control__input,
.wp-block-navigation-link__container {
border-radius: 0;
line-height: 36px;
min-height: 36px;
}
/**
* Adjust Navigation Item.
* Submenus.
*/
.wp-block-navigation-link .block-editor-block-list__layout {
.wp-block-navigation .has-child {
cursor: pointer;
}
.wp-block-navigation .has-child .submenu-container,
.wp-block-navigation .has-child .wp-block-navigation-link__container {
z-index: 28;
}
.wp-block-navigation .has-child.is-selected > .wp-block-navigation-link__container, .wp-block-navigation .has-child.has-child-selected > .wp-block-navigation-link__container {
visibility: visible !important;
opacity: 1 !important;
}
/**
* Navigation Items.
*/
.wp-block-navigation-link .wp-block-navigation-link__container {
display: block;
}
.wp-block-navigation-link .wp-block-navigation-link__content {
cursor: text;
}
.wp-block-navigation-link.is-editing, .wp-block-navigation-link.is-selected {
min-width: 20px;
}
.wp-block-navigation-link .block-editor-rich-text__editable.is-selected:not(.keep-placeholder-on-focus):not(:focus)[data-rich-text-placeholder]::after {
display: inline-block;
}
.wp-block-navigation-link .block-list-appender {
margin: 16px;
margin-right: 10px;
margin-top: 10px;
}
.wp-block-navigation-link__separator {
margin: 8px 0 8px;
border-top: 1px solid #ddd;
}
.components-popover.wp-block-navigation-link__dropdown-content {
margin-top: -1px;
margin-right: -4px;
}
.wp-block-navigation-link__dropdown-content .components-popover__content > div {
padding: 8px 0;
margin-top: 16px;
margin-left: auto;
margin-bottom: 16px;
margin-right: 16px;
}
.wp-block-navigation .block-editor-block-list__block[data-type="core/navigation-link"] > .block-editor-block-list__insertion-point {
display: none;
}
/**
* Menu item setup state. Is shown when a menu item has no URL configured.
*/
.wp-block-navigation-link__placeholder {
position: relative;
cursor: pointer;
margin: 2px;
}
.wp-block-navigation-link__placeholder .wp-block-navigation-link__placeholder-text {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-size: 13px;
}
.wp-block-navigation-link__placeholder::before {
content: "";
display: block;
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
border-radius: 2px;
opacity: 0.1;
}
.is-dark-theme .wp-block-navigation-link__placeholder::before {
opacity: 0.2;
}
.is-editing .wp-block-navigation-link__placeholder::before {
background: currentColor;
}
.wp-block-navigation .wp-block-navigation-link:not(.is-editing) .wp-block-navigation-link__content.wp-block-navigation-link__placeholder {
box-shadow: inset 0 0 0 1px #757575;
border-radius: 2px;
color: var(--wp-admin-theme-color);
}
.block-editor-block-list__block[data-type="core/nextpage"] {
max-width: 100%;
text-align: center;
@ -1419,10 +1477,36 @@ ul.has-background.has-background {
border-top: 3px dashed #ccc;
}
.wp-block-navigation .wp-block-page-list > div,
.wp-block-navigation .wp-block-page-list {
background-color: inherit;
}
.wp-block-pages-list__item__link {
pointer-events: none;
}
.wp-block-page-list .components-placeholder {
min-height: 0;
padding: 0;
background-color: inherit;
}
.wp-block-page-list .components-placeholder .components-spinner {
margin: 0.5em;
}
.block-editor-block-list__block[data-type="core/paragraph"].has-drop-cap:focus {
min-height: auto !important;
}
.block-editor-block-list__block[data-empty=true] [data-rich-text-placeholder] {
opacity: 1;
}
.block-editor-block-list__block[data-empty=true] + .block-editor-block-list__block[data-empty=true] [data-rich-text-placeholder] {
opacity: 0;
}
.wp-block-post-content__placeholder {
height: 100px;
border: 1px dashed;
@ -1489,10 +1573,6 @@ ul.has-background.has-background {
color: inherit;
}
.wp-block-quote__citation {
font-size: 13px;
}
.wp-block-rss li a > div {
display: inline;
}
@ -1523,6 +1603,10 @@ ul.has-background.has-background {
margin-left: 8px;
}
.wp-block[data-align=center] .wp-block-search .wp-block-search__inside-wrapper {
margin: auto;
}
.wp-block-search .wp-block-search__input {
padding: 8px;
}
@ -1567,6 +1651,7 @@ ul.has-background.has-background {
@media (prefers-reduced-motion: reduce) {
.blocks-shortcode__textarea {
transition-duration: 0s;
transition-delay: 0s;
}
}
@media (min-width: 600px) {
@ -1608,9 +1693,18 @@ ul.has-background.has-background {
text-align: center;
}
.wp-block-site-logo a {
pointer-events: none;
}
.wp-block-site-logo.is-resized {
display: table;
}
.wp-block-site-logo:not(.is-resized) {
width: 120px;
}
.wp-block-site-logo:not(.is-resized) img {
width: 100%;
}
.wp-block-site-logo .custom-logo-link {
cursor: inherit;
}
@ -1624,6 +1718,34 @@ ul.has-background.has-background {
display: block;
max-width: 100%;
}
.wp-block-site-logo .components-placeholder {
min-height: auto;
height: 120px;
padding: 8px;
}
.wp-block-site-logo .components-placeholder .components-placeholder__label {
white-space: nowrap;
}
.wp-block-site-logo .components-placeholder .components-placeholder__label .block-editor-block-icon {
margin-left: 4px;
}
.wp-block-site-logo .components-placeholder .components-form-file-upload {
display: none;
}
.wp-block-site-logo .components-placeholder .components-placeholder__preview {
position: absolute;
top: 4px;
left: 4px;
bottom: 4px;
right: 4px;
background: rgba(255, 255, 255, 0.8);
display: flex;
align-items: center;
justify-content: center;
}
.wp-block-site-logo .components-placeholder .components-drop-zone__content-text {
display: none;
}
.wp-block-social-links .wp-social-link {
line-height: 0;
@ -1662,10 +1784,12 @@ ul.has-background.has-background {
@media (prefers-reduced-motion: reduce) {
.wp-block-social-links__social-placeholder {
transition-duration: 0s;
transition-delay: 0s;
}
}
.is-selected .wp-block-social-links__social-placeholder {
opacity: 0.1;
.is-selected > .wp-block-social-links__social-placeholder {
opacity: 0;
width: 0;
}
.wp-block-social-links__social-placeholder > .wp-social-link {
padding-right: 0 !important;
@ -1677,7 +1801,6 @@ ul.has-background.has-background {
}
.wp-block-social-links__social-placeholder > .wp-block-social-links__social-placeholder-icons {
display: flex;
position: absolute;
}
.wp-block-social-links__social-placeholder + .block-list-appender,
.wp-block-social-links__social-placeholder .wp-social-link {
@ -1688,6 +1811,9 @@ ul.has-background.has-background {
padding-right: calc((2/3) * 1em);
padding-left: calc((2/3) * 1em);
}
.wp-block-social-links__social-placeholder + .block-list-appender {
box-shadow: inset 0 0 0 1px #757575;
}
.wp-block-social-links__social-placeholder .wp-social-link::before {
content: "";
display: block;
@ -1700,26 +1826,31 @@ ul.has-background.has-background {
}
.wp-block-social-links .block-list-appender {
margin: 4px 0 4px auto;
border-radius: 9999px;
}
.wp-block-social-links .block-list-appender .block-editor-inserter {
display: flex;
align-items: center;
justify-content: center;
margin: 0;
}
.wp-block-social-links .block-list-appender::before {
content: "";
display: block;
font-size: inherit;
width: 1em;
height: 1em;
}
.wp-block-social-links .block-list-appender .block-editor-inserter {
position: absolute;
.has-small-icon-size .wp-block-social-links .block-list-appender {
font-size: 16px;
}
.wp-block-social-links .block-list-appender .block-editor-button-block-appender.block-list-appender__toggle {
margin: 0;
.has-normal-icon-size .wp-block-social-links .block-list-appender {
font-size: 24px;
}
.wp-block-social-links.is-style-logos-only .block-list-appender {
padding: 4px;
.has-large-icon-size .wp-block-social-links .block-list-appender {
font-size: 36px;
}
.has-huge-icon-size .wp-block-social-links .block-list-appender {
font-size: 48px;
}
.wp-block-social-links .block-list-appender::before {
content: none;
}
.wp-block[data-align=center] > .wp-block-social-links {
@ -1736,6 +1867,7 @@ ul.has-background.has-background {
@media (prefers-reduced-motion: reduce) {
.wp-social-link.wp-social-link__is-incomplete {
transition-duration: 0s;
transition-delay: 0s;
}
}
@ -1771,16 +1903,12 @@ ul.has-background.has-background {
.block-library-spacer__resize-container {
clear: both;
margin-bottom: 28px;
}
.block-library-spacer__resize-container .components-resizable-box__handle::before {
content: none;
}
.edit-post-visual-editor p.wp-block-subhead {
color: #555;
font-size: 1.1em;
font-style: italic;
.block-library-spacer__resize-container.resize-horizontal {
margin-bottom: 0;
}
.wp-block-table {
@ -1804,9 +1932,6 @@ ul.has-background.has-background {
.wp-block[data-align=center] > .wp-block-table table {
margin: 0 auto;
}
.wp-block-table table {
border-collapse: collapse;
}
.wp-block-table td,
.wp-block-table th {
border: 1px solid;
@ -1918,37 +2043,11 @@ ul.has-background.has-background {
font-weight: 500;
}
.wp-block-template-part__block-control-group {
display: flex;
.block-editor-block-list__block[data-type="core/template-part"].has-child-selected::after {
border: 1px dotted #1e1e1e;
}
.wp-block-template-part__block-control-group .wp-block-template-part__name-panel {
outline: 1px solid transparent;
padding: 8px 12px 8px 0;
}
.wp-block-template-part__block-control-group .wp-block-template-part__name-panel .components-base-control__field {
align-items: center;
display: flex;
margin-bottom: 0;
}
.wp-block-template-part__block-control-group .wp-block-template-part__name-panel .components-base-control__label {
margin-bottom: 0;
margin-left: 8px;
}
.is-navigate-mode .is-selected .wp-block-template-part__name-panel {
box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
}
.is-dark-theme .is-navigate-mode .is-selected .wp-block-template-part__name-panel {
box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
}
.block-editor-block-list__block[data-type="core/template-part"].is-selected::after, .block-editor-block-list__block[data-type="core/template-part"].has-child-selected::after {
top: 1px;
bottom: 1px;
right: 1px;
left: 1px;
border-radius: 1px;
box-shadow: 0 0 0 1px #1e1e1e;
.block-editor-block-list__block[data-type="core/template-part"].has-child-selected.is-hovered::after, .block-editor-block-list__block[data-type="core/template-part"].has-child-selected.is-highlighted::after {
border: none;
}
.wp-block-text-columns .block-editor-rich-text__editable:focus {
@ -1957,7 +2056,6 @@ ul.has-background.has-background {
pre.wp-block-verse {
color: #1e1e1e;
padding: 1em;
}
.wp-block[data-align=center] > .wp-block-video {
@ -2045,14 +2143,15 @@ pre.wp-block-verse {
margin-bottom: 4px;
}
.wp-block.wp-block-query-loop {
max-width: 100%;
padding-right: 0;
list-style: none;
.wp-block-query-title__placeholder {
padding: 1em 0;
border: 1px dashed;
}
.editor-styles-wrapper .wp-block.wp-block-query {
max-width: 100%;
.wp-block.wp-block-query-loop {
padding-right: 0;
margin-right: 0;
list-style: none;
}
.block-library-query-toolbar__popover .components-popover__content {
@ -2063,6 +2162,105 @@ pre.wp-block-verse {
padding: 0 56px 16px 16px;
}
.wp-block-query .components-placeholder .block-setup-navigation {
padding: 12px 0 0;
}
.wp-block-query .components-placeholder .block-attributes-setup-container {
padding-top: 24px;
}
.wp-block-query .components-placeholder .block-attributes-setup-container .components-base-control__help {
margin: 12px auto;
}
.block-setup-block-layout-list__container {
display: flex;
flex-direction: row;
flex-wrap: wrap;
}
.block-setup-block-layout-list__container .block-setup-block-layout-list__list-item {
cursor: pointer;
margin: 0 0 12px 12px;
width: 200px;
text-align: center;
display: flex;
flex-direction: column;
}
.block-setup-block-layout-list__container .block-setup-block-layout-list__list-item.is-block-variation {
width: 90px;
}
.block-setup-block-layout-list__container .block-setup-block-layout-list__list-item.is-block-variation button {
display: inline-flex;
margin-left: 0;
height: auto;
}
.block-setup-block-layout-list__container .block-setup-block-layout-list__list-item .block-setup-block-layout-list__item-title {
padding: 4px 0;
font-size: 12px;
}
.block-setup-block-layout-list__container .block-setup-block-layout-list__list-item .block-setup-block-layout-list__item {
height: 100%;
display: flex;
flex-direction: column;
padding: 2px;
transition: all 0.05s ease-in-out;
border-radius: 2px;
border: 1px solid #ddd;
}
@media (prefers-reduced-motion: reduce) {
.block-setup-block-layout-list__container .block-setup-block-layout-list__list-item .block-setup-block-layout-list__item {
transition-duration: 0s;
transition-delay: 0s;
}
}
.block-setup-block-layout-list__container .block-setup-block-layout-list__list-item .block-setup-block-layout-list__item:hover {
border: 1px solid var(--wp-admin-theme-color);
}
.block-setup-block-layout-list__container .block-setup-block-layout-list__list-item .block-setup-block-layout-list__item:focus {
box-shadow: inset 0 0 0 1px #fff, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
outline: 2px solid transparent;
}
.block-setup-block-layout-list__container .block-setup-block-layout-list__list-item .block-setup-block-layout-list__item .block-editor-block-preview__container {
margin: auto 0;
cursor: pointer;
}
.block-setup-block-layout-list__container .block-setup-block-layout-list__list-item .block-setup-block-layout-list__item .block-setup-block-layout-list__item-variation-icon {
color: var(--wp-admin-theme-color);
padding: 6px;
border-radius: 2px;
box-shadow: inset 0 0 0 1px var(--wp-admin-theme-color);
display: inline-flex;
margin: 12px auto auto auto;
}
.block-setup-block-layout-list__container .block-setup-block-layout-list__list-item .block-setup-block-layout-list__item .block-setup-block-layout-list__item-variation-icon svg {
fill: currentColor;
outline: none;
}
.block-setup-block-layout-list__container .block-setup-block-layout-list__list-item.is-block-variation .block-setup-block-layout-list__item {
height: 90px;
}
.block-setup-block-layout-list__container .block-setup-block-layout-list__list-item:not(.is-block-variation) + .block-setup-block-layout-list__list-item.is-block-variation .block-setup-block-layout-list__item {
height: 100%;
}
.components-button.block-setup-block-layout-back-button.is-tertiary.has-icon {
color: inherit;
padding-right: 0;
display: inline-flex;
margin-left: auto;
margin-top: -12px;
}
.components-button.block-setup-block-layout-back-button.is-tertiary.has-icon:hover:not(:disabled) {
box-shadow: none;
color: var(--wp-admin-theme-color);
}
.components-button.block-setup-block-layout-back-button.is-tertiary.has-icon:active:not(:disabled) {
background: transparent;
color: #ddd;
}
.components-button.block-setup-block-layout-back-button.is-tertiary.has-icon svg {
margin-left: 0;
}
.wp-block > .wp-block-query-pagination {
display: flex;
flex-wrap: wrap;
@ -2129,6 +2327,11 @@ div[data-type="core/post-featured-image"] img {
margin: 0;
}
.wp-block-term-description__placeholder {
padding: 1em 0;
border: 1px dashed;
}
:root .editor-styles-wrapper {
/* stylelint-disable function-comma-space-after */
/* stylelint-enable function-comma-space-after */
@ -2300,11 +2503,6 @@ div[data-type="core/post-featured-image"] img {
* These are only output in the editor, but styles here are NOT prefixed .editor-styles-wrapper.
* This allows us to create normalization styles that are easily overridden by editor styles.
*/
.block-editor-block-list__block {
margin-top: 28px;
margin-bottom: 28px;
}
#end-resizable-editor-section {
display: none;
}

File diff suppressed because one or more lines are too long

View File

@ -68,9 +68,6 @@
/**
* Reset the WP Admin page styles for Gutenberg-like pages.
*/
/**
* These are default block editor widths in case the theme doesn't provide them.
*/
#start-resizable-editor-section {
display: none;
}
@ -241,9 +238,6 @@ div[data-type="core/button"] {
margin-bottom: 0;
}
.wp-block-cover {
height: 100%;
}
.wp-block-cover.is-placeholder {
min-height: auto !important;
padding: 0 !important;
@ -297,6 +291,41 @@ div[data-type="core/button"] {
height: auto !important;
}
.wp-block-cover > .components-drop-zone.is-active {
transition: 0.2s opacity, 0.2s border;
}
@media (prefers-reduced-motion: reduce) {
.wp-block-cover > .components-drop-zone.is-active {
transition-duration: 0s;
transition-delay: 0s;
}
}
.wp-block-cover > .components-drop-zone.is-dragging-over-element {
background-color: transparent;
border: 48px solid var(--wp-admin-theme-color);
}
.wp-block-cover > .components-drop-zone.is-dragging-over-element .components-drop-zone__content {
transform: none;
}
.wp-block-cover > .components-drop-zone .components-drop-zone__content {
display: flex;
align-items: center;
top: -36px;
left: -36px;
transform: none;
}
.wp-block-cover > .components-drop-zone .components-drop-zone__content-icon,
.wp-block-cover > .components-drop-zone .components-drop-zone__content-text {
display: inline;
}
.wp-block-cover > .components-drop-zone .components-drop-zone__content-icon {
margin: 0;
margin-right: 8px;
}
.wp-block-cover > .components-drop-zone .components-drop-zone__content-text {
font-size: 13px;
}
.wp-block-embed {
margin-left: 0;
margin-right: 0;
@ -353,13 +382,9 @@ div[data-type="core/button"] {
.wp-block-file .wp-block-file__content-wrapper {
flex-grow: 1;
}
.wp-block-file .wp-block-file__textlink {
display: inline-block;
.wp-block-file a {
min-width: 1em;
}
.wp-block-file .wp-block-file__textlink:focus {
box-shadow: none;
}
.wp-block-file .wp-block-file__button-richtext-wrapper {
display: inline-block;
margin-left: 0.75em;
@ -596,6 +621,7 @@ div[data-type="core/freeform"]::before {
@media (prefers-reduced-motion: reduce) {
div[data-type="core/freeform"]::before {
transition-duration: 0s;
transition-delay: 0s;
}
}
div[data-type="core/freeform"].is-selected::before {
@ -639,7 +665,7 @@ div[data-type="core/freeform"].is-selected .block-library-rich-text__tinymce::af
margin-bottom: 8px;
padding: 0;
}
div[data-type="core/freeform"].is-selected .block-library-classic__toolbar, div[data-type="core/freeform"].is-typing .block-library-classic__toolbar {
div[data-type="core/freeform"].is-selected .block-library-classic__toolbar {
display: block;
border-color: #1e1e1e;
}
@ -761,6 +787,7 @@ figure.wp-block-gallery {
@media (prefers-reduced-motion: reduce) {
.block-library-gallery-item__inline-menu {
transition-duration: 0s;
transition-delay: 0s;
}
}
.block-library-gallery-item__inline-menu:hover {
@ -804,38 +831,6 @@ figure.wp-block-gallery {
left: 0;
right: 0;
}
.wp-block-group > .wp-block-group__inner-container > [data-align=full] {
margin-left: auto;
margin-right: auto;
}
.wp-block-group.has-background > .wp-block-group__inner-container > [data-align=full] {
margin-left: -30px;
width: calc(100% + 60px);
}
/**
* Group: Full Width Alignment
*/
[data-align=full] .wp-block-group > .wp-block-group__inner-container > .wp-block {
padding-left: 14px;
padding-right: 14px;
}
@media (min-width: 600px) {
[data-align=full] .wp-block-group > .wp-block-group__inner-container > .wp-block {
padding-left: 0;
padding-right: 0;
}
}
[data-align=full] .wp-block-group > .wp-block-group__inner-container > [data-align=full] {
padding-right: 0;
padding-left: 0;
left: 0;
width: 100%;
max-width: none;
}
[data-align=full] .wp-block-group.has-background > .wp-block-group__inner-container > [data-align=full] {
width: calc(100% + 60px);
}
[data-type="core/group"].is-selected .block-list-appender {
margin-left: 0;
@ -1011,21 +1006,6 @@ figure.wp-block-image:not(.wp-block) {
padding-right: 0;
}
.wp-block-latest-comments.has-avatars .avatar {
margin-right: 10px;
}
.wp-block-latest-comments__comment-excerpt p {
font-size: 14px;
line-height: 1.8;
margin: 5px 0 20px;
padding-top: 0;
}
.wp-block-latest-comments.has-avatars .wp-block-latest-comments__comment {
min-height: 36px;
}
.wp-block-latest-posts {
padding-left: 2.5em;
}
@ -1041,9 +1021,42 @@ figure.wp-block-image:not(.wp-block) {
margin-bottom: 20px;
}
ol.has-background.has-background,
ul.has-background.has-background {
padding: 1.25em 2.375em;
.wp-block-legacy-widget__edit-form {
background: #fff;
border-radius: 2px;
border: 1px solid #1e1e1e;
padding: 8px 14px;
}
.wp-block-legacy-widget__edit-form .wp-block-legacy-widget__edit-form-title {
border-bottom: 1px solid #1e1e1e;
color: #000;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-size: 13px;
font-weight: 600;
margin: -8px -14px 0;
padding: 14px 18px;
}
.wp-block-legacy-widget__edit-form .widget-inside {
border: none;
box-shadow: none;
display: block;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}
.wp-block-legacy-widget__edit-form .widget.open {
z-index: 0;
}
.wp-block-legacy-widget__edit-preview {
overflow: auto;
}
.wp-block-legacy-widget-inspector-card {
padding: 0 16px 16px 60px;
}
.interface-complementary-area .wp-block-legacy-widget-inspector-card__name {
margin: 0 0 5px;
font-weight: 500;
}
.wp-block-media-text .__resizable_base__ {
@ -1108,51 +1121,63 @@ ul.has-background.has-background {
border-top: 3px dashed #ccc;
}
.editor-styles-wrapper .wp-block-navigation ul,
.editor-styles-wrapper .wp-block-navigation ol {
/**
* Editor only CSS.
*/
.editor-styles-wrapper .wp-block-navigation ul {
margin-top: 0;
margin-bottom: 0;
margin-left: 0;
padding-left: 0;
}
.editor-styles-wrapper .wp-block-navigation .block-editor-block-list__block {
margin: 0;
}
.wp-block-navigation .block-list-appender {
display: inline-flex;
-ms-grid-row-align: center;
align-self: center;
width: 24px;
height: 24px;
}
.wp-block-navigation.is-vertical .block-list-appender {
margin: 8px;
}
.wp-block-navigation__inserter-content {
padding: 16px;
}
.wp-block-navigation__container {
min-height: 44px;
.editor-styles-wrapper .wp-block-navigation .block-editor-block-list__block.wp-block-navigation-link {
margin: 0 0.5em 0 0;
}
.editor-styles-wrapper .wp-block-navigation .block-editor-block-list__block.has-child .block-editor-block-list__block.wp-block-navigation-link {
margin: 0;
}
.editor-styles-wrapper .wp-block-navigation .block-editor-block-list__block.wp-block-pages-list__item:last-child, .editor-styles-wrapper .wp-block-navigation .block-editor-block-list__block.wp-block-navigation-link:last-child {
margin-right: 0;
}
/**
* Submenus.
*/
.wp-block-navigation__container.is-parent-of-selected-block {
visibility: visible;
opacity: 1;
}
.has-child > .wp-block-navigation__container, .has-child:hover > .wp-block-navigation__container {
.wp-block-navigation__container,
.wp-block-navigation-link {
background-color: inherit;
}
.wp-block-navigation:not(.is-selected):not(.has-child-selected) .has-child:hover > .wp-block-navigation-link__container {
opacity: 0;
visibility: hidden;
}
.has-child.is-selected > .wp-block-navigation__container, .has-child.has-child-selected > .wp-block-navigation__container, .is-dragging-components-draggable .has-child.is-dragging-within > .wp-block-navigation__container {
.has-child.is-selected > .wp-block-navigation-link__container, .has-child.has-child-selected > .wp-block-navigation-link__container {
opacity: 1;
visibility: visible;
}
.is-dragging-components-draggable .has-child.is-dragging-within > .wp-block-navigation-link__container {
opacity: 1;
visibility: visible;
}
.is-editing > .wp-block-navigation__container {
visibility: visible;
opacity: 1;
display: flex;
flex-direction: column;
}
.is-dragging-components-draggable .wp-block-navigation-link > .wp-block-navigation__container {
opacity: 1;
visibility: hidden;
@ -1217,52 +1242,6 @@ ul.has-background.has-background {
display: none;
}
.is-editing > .wp-block-navigation__container {
visibility: visible;
opacity: 1;
display: flex;
flex-direction: column;
}
.wp-block-navigation-placeholder {
min-height: 44px;
}
.wp-block-navigation-placeholder .components-spinner {
margin-top: -4px;
margin-left: 4px;
vertical-align: middle;
margin-right: 7px;
}
.wp-block-navigation-placeholder .components-custom-select-control__button {
height: auto;
padding: 0.375rem 0.75rem 0.375rem 1.5rem;
min-width: 13.75rem;
}
.wp-block-navigation-placeholder .components-custom-select-control.has-menus .components-custom-select-control__item.is-create-empty-option {
position: relative;
margin-top: 20px;
}
.wp-block-navigation-placeholder .components-custom-select-control.has-menus .components-custom-select-control__item.is-create-empty-option::before {
content: "";
position: absolute;
top: -10px;
left: 25px;
right: 25px;
height: 15px;
border-top: 1px solid #757575;
}
.wp-block-navigation-placeholder .components-custom-select-control__label {
margin-bottom: 1rem;
font-size: 13px;
font-weight: normal;
}
.wp-block-navigation-placeholder .components-custom-select-control__menu {
margin: 0;
max-height: none;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-size: 13px;
}
.wp-block-navigation .block-editor-button-block-appender {
justify-content: flex-start;
}
@ -1270,12 +1249,20 @@ ul.has-background.has-background {
/**
* Setup state
*/
.wp-block-navigation-placeholder,
.wp-block-navigation-placeholder__preview,
.is-selected .wp-block-navigation__container {
min-height: 44px;
}
.wp-block-navigation-placeholder .components-spinner {
margin-top: -4px;
margin-left: 4px;
vertical-align: middle;
margin-right: 7px;
}
.wp-block-navigation-placeholder__preview {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
display: flex;
flex-direction: row;
align-items: center;
@ -1284,6 +1271,7 @@ ul.has-background.has-background {
@media (prefers-reduced-motion: reduce) {
.wp-block-navigation-placeholder__preview {
transition-duration: 0s;
transition-delay: 0s;
}
}
.wp-block-navigation-placeholder__preview .wp-block-navigation-link.wp-block-navigation-link {
@ -1293,12 +1281,20 @@ ul.has-background.has-background {
height: 16px;
margin: 12px 24px 12px 0;
}
.wp-block-navigation-placeholder__preview svg {
fill: currentColor;
}
.wp-block-navigation-placeholder__preview .wp-block-navigation-link.wp-block-navigation-link,
.wp-block-navigation-placeholder__preview svg {
opacity: 0.3;
}
.is-selected .wp-block-navigation-placeholder__preview {
opacity: 0.2;
opacity: 0;
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
}
.wp-block-navigation-placeholder__controls {
@ -1311,6 +1307,8 @@ ul.has-background.has-background {
display: none;
position: relative;
z-index: 1;
float: left;
width: 100%;
}
.is-selected .wp-block-navigation-placeholder__controls {
display: flex;
@ -1325,6 +1323,26 @@ ul.has-background.has-background {
margin-right: 12px;
height: 36px;
}
.wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator {
margin-right: 12px;
padding: 6px 0;
align-items: center;
justify-content: flex-start;
display: none;
margin-left: 5px;
}
.wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator svg {
margin-right: 4px;
}
.is-vertical .wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator {
margin-bottom: 4px;
margin-left: 0;
}
@media (min-width: 600px) {
.wp-block-navigation-placeholder__controls .wp-block-navigation-placeholder__actions__indicator {
display: inline-flex;
}
}
.is-vertical .wp-block-navigation-placeholder,
.is-vertical .wp-block-navigation-placeholder__preview,
@ -1343,54 +1361,94 @@ ul.has-background.has-background {
font-size: 13px;
}
.wp-block-navigation-placeholder__actions .components-button.components-dropdown-menu__toggle.has-icon {
padding: 6px 12px;
padding: 6px 4px 6px 12px;
display: flex;
flex-direction: row-reverse;
}
.wp-block-navigation-placeholder__actions .components-dropdown,
.wp-block-navigation-placeholder__actions > .components-button {
margin-right: 12px;
}
.wp-block-navigation-link__field .components-text-control__input.components-text-control__input,
.wp-block-navigation-link__container {
border-radius: 0;
line-height: 36px;
min-height: 36px;
}
/**
* Adjust Navigation Item.
* Submenus.
*/
.wp-block-navigation-link .block-editor-block-list__layout {
.wp-block-navigation .has-child {
cursor: pointer;
}
.wp-block-navigation .has-child .submenu-container,
.wp-block-navigation .has-child .wp-block-navigation-link__container {
z-index: 28;
}
.wp-block-navigation .has-child.is-selected > .wp-block-navigation-link__container, .wp-block-navigation .has-child.has-child-selected > .wp-block-navigation-link__container {
visibility: visible !important;
opacity: 1 !important;
}
/**
* Navigation Items.
*/
.wp-block-navigation-link .wp-block-navigation-link__container {
display: block;
}
.wp-block-navigation-link .wp-block-navigation-link__content {
cursor: text;
}
.wp-block-navigation-link.is-editing, .wp-block-navigation-link.is-selected {
min-width: 20px;
}
.wp-block-navigation-link .block-editor-rich-text__editable.is-selected:not(.keep-placeholder-on-focus):not(:focus)[data-rich-text-placeholder]::after {
display: inline-block;
}
.wp-block-navigation-link .block-list-appender {
margin: 16px;
margin-left: 10px;
margin-top: 10px;
}
.wp-block-navigation-link__separator {
margin: 8px 0 8px;
border-top: 1px solid #ddd;
}
.components-popover.wp-block-navigation-link__dropdown-content {
margin-top: -1px;
margin-left: -4px;
}
.wp-block-navigation-link__dropdown-content .components-popover__content > div {
padding: 8px 0;
margin-top: 16px;
margin-right: auto;
margin-bottom: 16px;
margin-left: 16px;
}
.wp-block-navigation .block-editor-block-list__block[data-type="core/navigation-link"] > .block-editor-block-list__insertion-point {
display: none;
}
/**
* Menu item setup state. Is shown when a menu item has no URL configured.
*/
.wp-block-navigation-link__placeholder {
position: relative;
cursor: pointer;
margin: 2px;
}
.wp-block-navigation-link__placeholder .wp-block-navigation-link__placeholder-text {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-size: 13px;
}
.wp-block-navigation-link__placeholder::before {
content: "";
display: block;
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
border-radius: 2px;
opacity: 0.1;
}
.is-dark-theme .wp-block-navigation-link__placeholder::before {
opacity: 0.2;
}
.is-editing .wp-block-navigation-link__placeholder::before {
background: currentColor;
}
.wp-block-navigation .wp-block-navigation-link:not(.is-editing) .wp-block-navigation-link__content.wp-block-navigation-link__placeholder {
box-shadow: inset 0 0 0 1px #757575;
border-radius: 2px;
color: var(--wp-admin-theme-color);
}
.block-editor-block-list__block[data-type="core/nextpage"] {
max-width: 100%;
text-align: center;
@ -1424,10 +1482,36 @@ ul.has-background.has-background {
border-top: 3px dashed #ccc;
}
.wp-block-navigation .wp-block-page-list > div,
.wp-block-navigation .wp-block-page-list {
background-color: inherit;
}
.wp-block-pages-list__item__link {
pointer-events: none;
}
.wp-block-page-list .components-placeholder {
min-height: 0;
padding: 0;
background-color: inherit;
}
.wp-block-page-list .components-placeholder .components-spinner {
margin: 0.5em;
}
.block-editor-block-list__block[data-type="core/paragraph"].has-drop-cap:focus {
min-height: auto !important;
}
.block-editor-block-list__block[data-empty=true] [data-rich-text-placeholder] {
opacity: 1;
}
.block-editor-block-list__block[data-empty=true] + .block-editor-block-list__block[data-empty=true] [data-rich-text-placeholder] {
opacity: 0;
}
.wp-block-post-content__placeholder {
height: 100px;
border: 1px dashed;
@ -1494,10 +1578,6 @@ ul.has-background.has-background {
color: inherit;
}
.wp-block-quote__citation {
font-size: 13px;
}
.wp-block-rss li a > div {
display: inline;
}
@ -1528,6 +1608,10 @@ ul.has-background.has-background {
margin-right: 8px;
}
.wp-block[data-align=center] .wp-block-search .wp-block-search__inside-wrapper {
margin: auto;
}
.wp-block-search .wp-block-search__input {
padding: 8px;
}
@ -1572,6 +1656,7 @@ ul.has-background.has-background {
@media (prefers-reduced-motion: reduce) {
.blocks-shortcode__textarea {
transition-duration: 0s;
transition-delay: 0s;
}
}
@media (min-width: 600px) {
@ -1613,9 +1698,18 @@ ul.has-background.has-background {
text-align: center;
}
.wp-block-site-logo a {
pointer-events: none;
}
.wp-block-site-logo.is-resized {
display: table;
}
.wp-block-site-logo:not(.is-resized) {
width: 120px;
}
.wp-block-site-logo:not(.is-resized) img {
width: 100%;
}
.wp-block-site-logo .custom-logo-link {
cursor: inherit;
}
@ -1629,6 +1723,34 @@ ul.has-background.has-background {
display: block;
max-width: 100%;
}
.wp-block-site-logo .components-placeholder {
min-height: auto;
height: 120px;
padding: 8px;
}
.wp-block-site-logo .components-placeholder .components-placeholder__label {
white-space: nowrap;
}
.wp-block-site-logo .components-placeholder .components-placeholder__label .block-editor-block-icon {
margin-right: 4px;
}
.wp-block-site-logo .components-placeholder .components-form-file-upload {
display: none;
}
.wp-block-site-logo .components-placeholder .components-placeholder__preview {
position: absolute;
top: 4px;
right: 4px;
bottom: 4px;
left: 4px;
background: rgba(255, 255, 255, 0.8);
display: flex;
align-items: center;
justify-content: center;
}
.wp-block-site-logo .components-placeholder .components-drop-zone__content-text {
display: none;
}
.wp-block-social-links .wp-social-link {
line-height: 0;
@ -1667,10 +1789,12 @@ ul.has-background.has-background {
@media (prefers-reduced-motion: reduce) {
.wp-block-social-links__social-placeholder {
transition-duration: 0s;
transition-delay: 0s;
}
}
.is-selected .wp-block-social-links__social-placeholder {
opacity: 0.1;
.is-selected > .wp-block-social-links__social-placeholder {
opacity: 0;
width: 0;
}
.wp-block-social-links__social-placeholder > .wp-social-link {
padding-left: 0 !important;
@ -1682,7 +1806,6 @@ ul.has-background.has-background {
}
.wp-block-social-links__social-placeholder > .wp-block-social-links__social-placeholder-icons {
display: flex;
position: absolute;
}
.wp-block-social-links__social-placeholder + .block-list-appender,
.wp-block-social-links__social-placeholder .wp-social-link {
@ -1693,6 +1816,9 @@ ul.has-background.has-background {
padding-left: calc((2/3) * 1em);
padding-right: calc((2/3) * 1em);
}
.wp-block-social-links__social-placeholder + .block-list-appender {
box-shadow: inset 0 0 0 1px #757575;
}
.wp-block-social-links__social-placeholder .wp-social-link::before {
content: "";
display: block;
@ -1705,26 +1831,31 @@ ul.has-background.has-background {
}
.wp-block-social-links .block-list-appender {
margin: 4px auto 4px 0;
border-radius: 9999px;
}
.wp-block-social-links .block-list-appender .block-editor-inserter {
display: flex;
align-items: center;
justify-content: center;
margin: 0;
}
.wp-block-social-links .block-list-appender::before {
content: "";
display: block;
font-size: inherit;
width: 1em;
height: 1em;
}
.wp-block-social-links .block-list-appender .block-editor-inserter {
position: absolute;
.has-small-icon-size .wp-block-social-links .block-list-appender {
font-size: 16px;
}
.wp-block-social-links .block-list-appender .block-editor-button-block-appender.block-list-appender__toggle {
margin: 0;
.has-normal-icon-size .wp-block-social-links .block-list-appender {
font-size: 24px;
}
.wp-block-social-links.is-style-logos-only .block-list-appender {
padding: 4px;
.has-large-icon-size .wp-block-social-links .block-list-appender {
font-size: 36px;
}
.has-huge-icon-size .wp-block-social-links .block-list-appender {
font-size: 48px;
}
.wp-block-social-links .block-list-appender::before {
content: none;
}
.wp-block[data-align=center] > .wp-block-social-links {
@ -1741,6 +1872,7 @@ ul.has-background.has-background {
@media (prefers-reduced-motion: reduce) {
.wp-social-link.wp-social-link__is-incomplete {
transition-duration: 0s;
transition-delay: 0s;
}
}
@ -1776,16 +1908,12 @@ ul.has-background.has-background {
.block-library-spacer__resize-container {
clear: both;
margin-bottom: 28px;
}
.block-library-spacer__resize-container .components-resizable-box__handle::before {
content: none;
}
.edit-post-visual-editor p.wp-block-subhead {
color: #555;
font-size: 1.1em;
font-style: italic;
.block-library-spacer__resize-container.resize-horizontal {
margin-bottom: 0;
}
.wp-block-table {
@ -1809,9 +1937,6 @@ ul.has-background.has-background {
.wp-block[data-align=center] > .wp-block-table table {
margin: 0 auto;
}
.wp-block-table table {
border-collapse: collapse;
}
.wp-block-table td,
.wp-block-table th {
border: 1px solid;
@ -1923,37 +2048,11 @@ ul.has-background.has-background {
font-weight: 500;
}
.wp-block-template-part__block-control-group {
display: flex;
.block-editor-block-list__block[data-type="core/template-part"].has-child-selected::after {
border: 1px dotted #1e1e1e;
}
.wp-block-template-part__block-control-group .wp-block-template-part__name-panel {
outline: 1px solid transparent;
padding: 8px 0 8px 12px;
}
.wp-block-template-part__block-control-group .wp-block-template-part__name-panel .components-base-control__field {
align-items: center;
display: flex;
margin-bottom: 0;
}
.wp-block-template-part__block-control-group .wp-block-template-part__name-panel .components-base-control__label {
margin-bottom: 0;
margin-right: 8px;
}
.is-navigate-mode .is-selected .wp-block-template-part__name-panel {
box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
}
.is-dark-theme .is-navigate-mode .is-selected .wp-block-template-part__name-panel {
box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
}
.block-editor-block-list__block[data-type="core/template-part"].is-selected::after, .block-editor-block-list__block[data-type="core/template-part"].has-child-selected::after {
top: 1px;
bottom: 1px;
left: 1px;
right: 1px;
border-radius: 1px;
box-shadow: 0 0 0 1px #1e1e1e;
.block-editor-block-list__block[data-type="core/template-part"].has-child-selected.is-hovered::after, .block-editor-block-list__block[data-type="core/template-part"].has-child-selected.is-highlighted::after {
border: none;
}
.wp-block-text-columns .block-editor-rich-text__editable:focus {
@ -1962,7 +2061,6 @@ ul.has-background.has-background {
pre.wp-block-verse {
color: #1e1e1e;
padding: 1em;
}
.wp-block[data-align=center] > .wp-block-video {
@ -2050,14 +2148,15 @@ pre.wp-block-verse {
margin-bottom: 4px;
}
.wp-block.wp-block-query-loop {
max-width: 100%;
padding-left: 0;
list-style: none;
.wp-block-query-title__placeholder {
padding: 1em 0;
border: 1px dashed;
}
.editor-styles-wrapper .wp-block.wp-block-query {
max-width: 100%;
.wp-block.wp-block-query-loop {
padding-left: 0;
margin-left: 0;
list-style: none;
}
.block-library-query-toolbar__popover .components-popover__content {
@ -2068,6 +2167,105 @@ pre.wp-block-verse {
padding: 0 16px 16px 56px;
}
.wp-block-query .components-placeholder .block-setup-navigation {
padding: 12px 0 0;
}
.wp-block-query .components-placeholder .block-attributes-setup-container {
padding-top: 24px;
}
.wp-block-query .components-placeholder .block-attributes-setup-container .components-base-control__help {
margin: 12px auto;
}
.block-setup-block-layout-list__container {
display: flex;
flex-direction: row;
flex-wrap: wrap;
}
.block-setup-block-layout-list__container .block-setup-block-layout-list__list-item {
cursor: pointer;
margin: 0 12px 12px 0;
width: 200px;
text-align: center;
display: flex;
flex-direction: column;
}
.block-setup-block-layout-list__container .block-setup-block-layout-list__list-item.is-block-variation {
width: 90px;
}
.block-setup-block-layout-list__container .block-setup-block-layout-list__list-item.is-block-variation button {
display: inline-flex;
margin-right: 0;
height: auto;
}
.block-setup-block-layout-list__container .block-setup-block-layout-list__list-item .block-setup-block-layout-list__item-title {
padding: 4px 0;
font-size: 12px;
}
.block-setup-block-layout-list__container .block-setup-block-layout-list__list-item .block-setup-block-layout-list__item {
height: 100%;
display: flex;
flex-direction: column;
padding: 2px;
transition: all 0.05s ease-in-out;
border-radius: 2px;
border: 1px solid #ddd;
}
@media (prefers-reduced-motion: reduce) {
.block-setup-block-layout-list__container .block-setup-block-layout-list__list-item .block-setup-block-layout-list__item {
transition-duration: 0s;
transition-delay: 0s;
}
}
.block-setup-block-layout-list__container .block-setup-block-layout-list__list-item .block-setup-block-layout-list__item:hover {
border: 1px solid var(--wp-admin-theme-color);
}
.block-setup-block-layout-list__container .block-setup-block-layout-list__list-item .block-setup-block-layout-list__item:focus {
box-shadow: inset 0 0 0 1px #fff, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
outline: 2px solid transparent;
}
.block-setup-block-layout-list__container .block-setup-block-layout-list__list-item .block-setup-block-layout-list__item .block-editor-block-preview__container {
margin: auto 0;
cursor: pointer;
}
.block-setup-block-layout-list__container .block-setup-block-layout-list__list-item .block-setup-block-layout-list__item .block-setup-block-layout-list__item-variation-icon {
color: var(--wp-admin-theme-color);
padding: 6px;
border-radius: 2px;
box-shadow: inset 0 0 0 1px var(--wp-admin-theme-color);
display: inline-flex;
margin: 12px auto auto auto;
}
.block-setup-block-layout-list__container .block-setup-block-layout-list__list-item .block-setup-block-layout-list__item .block-setup-block-layout-list__item-variation-icon svg {
fill: currentColor;
outline: none;
}
.block-setup-block-layout-list__container .block-setup-block-layout-list__list-item.is-block-variation .block-setup-block-layout-list__item {
height: 90px;
}
.block-setup-block-layout-list__container .block-setup-block-layout-list__list-item:not(.is-block-variation) + .block-setup-block-layout-list__list-item.is-block-variation .block-setup-block-layout-list__item {
height: 100%;
}
.components-button.block-setup-block-layout-back-button.is-tertiary.has-icon {
color: inherit;
padding-left: 0;
display: inline-flex;
margin-right: auto;
margin-top: -12px;
}
.components-button.block-setup-block-layout-back-button.is-tertiary.has-icon:hover:not(:disabled) {
box-shadow: none;
color: var(--wp-admin-theme-color);
}
.components-button.block-setup-block-layout-back-button.is-tertiary.has-icon:active:not(:disabled) {
background: transparent;
color: #ddd;
}
.components-button.block-setup-block-layout-back-button.is-tertiary.has-icon svg {
margin-right: 0;
}
.wp-block > .wp-block-query-pagination {
display: flex;
flex-wrap: wrap;
@ -2137,6 +2335,11 @@ div[data-type="core/post-featured-image"] img {
margin: 0;
}
.wp-block-term-description__placeholder {
padding: 1em 0;
border: 1px dashed;
}
:root .editor-styles-wrapper {
/* stylelint-disable function-comma-space-after */
/* stylelint-enable function-comma-space-after */
@ -2308,11 +2511,6 @@ div[data-type="core/post-featured-image"] img {
* These are only output in the editor, but styles here are NOT prefixed .editor-styles-wrapper.
* This allows us to create normalization styles that are easily overridden by editor styles.
*/
.block-editor-block-list__block {
margin-top: 28px;
margin-bottom: 28px;
}
#end-resizable-editor-section {
display: none;
}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,180 @@
/**
* Colors
*/
/**
* Breakpoints & Media Queries
*/
/**
* SCSS Variables.
*
* Please use variables from this sheet to ensure consistency across the UI.
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
*/
/**
* Colors
*/
/**
* Fonts & basic variables.
*/
/**
* Grid System.
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
*/
/**
* Dimensions.
*/
/**
* Shadows.
*/
/**
* Editor widths.
*/
/**
* Block & Editor UI.
*/
/**
* Block paddings.
*/
/**
* React Native specific.
* These variables do not appear to be used anywhere else.
*/
/**
* Breakpoint mixins
*/
/**
* Long content fade mixin
*
* Creates a fading overlay to signify that the content is longer
* than the space allows.
*/
/**
* Focus styles.
*/
/**
* Applies editor left position to the selector passed as argument
*/
/**
* Styles that are reused verbatim in a few places
*/
/**
* Allows users to opt-out of animations via OS-level preferences.
*/
/**
* Reset default styles for JavaScript UI based pages.
* This is a WP-admin agnostic reset
*/
/**
* Reset the WP Admin page styles for Gutenberg-like pages.
*/
/**
* Editor Normalization Styles
*
* These are only output in the editor, but styles here are prefixed .editor-styles-wrapper and affect the theming
* of the editor by themes.
*/
.editor-styles-wrapper {
padding: 8px;
/**
* The following styles revert to the browser defaults overriding the WPAdmin styles.
* This is only needed while the block editor is not being loaded in an iframe.
*/
font-family: serif;
font-size: initial;
line-height: initial;
color: initial;
}
.editor-styles-wrapper .block-editor-block-list__layout.is-root-container > .wp-block[data-align=full] {
margin-right: -8px;
margin-left: -8px;
}
.editor-styles-wrapper .wp-align-wrapper {
max-width: 840px;
}
.editor-styles-wrapper .wp-align-wrapper > .wp-block, .editor-styles-wrapper .wp-align-wrapper.wp-align-full {
max-width: none;
}
.editor-styles-wrapper .wp-align-wrapper.wp-align-wide {
max-width: 840px;
}
.editor-styles-wrapper a {
transition: none;
}
.editor-styles-wrapper code,
.editor-styles-wrapper kbd {
padding: 0;
margin: 0;
background: inherit;
font-size: inherit;
font-family: monospace;
}
.editor-styles-wrapper p {
font-size: revert;
line-height: revert;
margin: revert;
}
.editor-styles-wrapper ul,
.editor-styles-wrapper ol {
margin: revert;
padding: revert;
list-style-type: revert;
box-sizing: revert;
}
.editor-styles-wrapper ul ul,
.editor-styles-wrapper ul ol,
.editor-styles-wrapper ol ul,
.editor-styles-wrapper ol ol {
margin: revert;
}
.editor-styles-wrapper ul li,
.editor-styles-wrapper ol li {
margin: revert;
}
.editor-styles-wrapper ul ul,
.editor-styles-wrapper ol ul {
list-style-type: revert;
}
.editor-styles-wrapper h1,
.editor-styles-wrapper h2,
.editor-styles-wrapper h3,
.editor-styles-wrapper h4,
.editor-styles-wrapper h5,
.editor-styles-wrapper h6 {
font-size: revert;
margin: revert;
color: revert;
line-height: revert;
font-weight: revert;
}
.editor-styles-wrapper select {
font-family: system-ui;
-webkit-appearance: revert;
color: revert;
border: revert;
border-radius: revert;
background: revert;
box-shadow: revert;
text-shadow: revert;
outline: revert;
cursor: revert;
transform: revert;
font-size: revert;
line-height: revert;
padding: revert;
margin: revert;
min-height: revert;
max-width: revert;
vertical-align: revert;
font-weight: revert;
}
.editor-styles-wrapper select:disabled,
.editor-styles-wrapper select:focus {
color: revert;
border-color: revert;
background: revert;
box-shadow: revert;
text-shadow: revert;
cursor: revert;
transform: revert;
}

View File

@ -0,0 +1 @@
.editor-styles-wrapper{padding:8px;font-family:serif;font-size:medium;line-height:normal;color:initial}.editor-styles-wrapper .block-editor-block-list__layout.is-root-container>.wp-block[data-align=full]{margin-right:-8px;margin-left:-8px}.editor-styles-wrapper .wp-align-wrapper{max-width:840px}.editor-styles-wrapper .wp-align-wrapper.wp-align-full,.editor-styles-wrapper .wp-align-wrapper>.wp-block{max-width:none}.editor-styles-wrapper .wp-align-wrapper.wp-align-wide{max-width:840px}.editor-styles-wrapper a{transition:none}.editor-styles-wrapper code,.editor-styles-wrapper kbd{padding:0;margin:0;background:inherit;font-size:inherit;font-family:monospace}.editor-styles-wrapper p{font-size:revert;line-height:revert;margin:revert}.editor-styles-wrapper ol,.editor-styles-wrapper ul{margin:revert;padding:revert;list-style-type:revert;box-sizing:revert}.editor-styles-wrapper ol li,.editor-styles-wrapper ol ol,.editor-styles-wrapper ol ul,.editor-styles-wrapper ul li,.editor-styles-wrapper ul ol,.editor-styles-wrapper ul ul{margin:revert}.editor-styles-wrapper ol ul,.editor-styles-wrapper ul ul{list-style-type:revert}.editor-styles-wrapper h1,.editor-styles-wrapper h2,.editor-styles-wrapper h3,.editor-styles-wrapper h4,.editor-styles-wrapper h5,.editor-styles-wrapper h6{font-size:revert;margin:revert;color:revert;line-height:revert;font-weight:revert}.editor-styles-wrapper select{font-family:system-ui;-webkit-appearance:revert;color:revert;border:revert;border-radius:revert;background:revert;box-shadow:revert;text-shadow:revert;outline:revert;cursor:revert;transform:revert;font-size:revert;line-height:revert;padding:revert;margin:revert;min-height:revert;max-width:revert;vertical-align:revert;font-weight:revert}.editor-styles-wrapper select:disabled,.editor-styles-wrapper select:focus{color:revert;border-color:revert;background:revert;box-shadow:revert;text-shadow:revert;cursor:revert;transform:revert}

View File

@ -0,0 +1,180 @@
/**
* Colors
*/
/**
* Breakpoints & Media Queries
*/
/**
* SCSS Variables.
*
* Please use variables from this sheet to ensure consistency across the UI.
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
*/
/**
* Colors
*/
/**
* Fonts & basic variables.
*/
/**
* Grid System.
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
*/
/**
* Dimensions.
*/
/**
* Shadows.
*/
/**
* Editor widths.
*/
/**
* Block & Editor UI.
*/
/**
* Block paddings.
*/
/**
* React Native specific.
* These variables do not appear to be used anywhere else.
*/
/**
* Breakpoint mixins
*/
/**
* Long content fade mixin
*
* Creates a fading overlay to signify that the content is longer
* than the space allows.
*/
/**
* Focus styles.
*/
/**
* Applies editor left position to the selector passed as argument
*/
/**
* Styles that are reused verbatim in a few places
*/
/**
* Allows users to opt-out of animations via OS-level preferences.
*/
/**
* Reset default styles for JavaScript UI based pages.
* This is a WP-admin agnostic reset
*/
/**
* Reset the WP Admin page styles for Gutenberg-like pages.
*/
/**
* Editor Normalization Styles
*
* These are only output in the editor, but styles here are prefixed .editor-styles-wrapper and affect the theming
* of the editor by themes.
*/
.editor-styles-wrapper {
padding: 8px;
/**
* The following styles revert to the browser defaults overriding the WPAdmin styles.
* This is only needed while the block editor is not being loaded in an iframe.
*/
font-family: serif;
font-size: initial;
line-height: initial;
color: initial;
}
.editor-styles-wrapper .block-editor-block-list__layout.is-root-container > .wp-block[data-align=full] {
margin-left: -8px;
margin-right: -8px;
}
.editor-styles-wrapper .wp-align-wrapper {
max-width: 840px;
}
.editor-styles-wrapper .wp-align-wrapper > .wp-block, .editor-styles-wrapper .wp-align-wrapper.wp-align-full {
max-width: none;
}
.editor-styles-wrapper .wp-align-wrapper.wp-align-wide {
max-width: 840px;
}
.editor-styles-wrapper a {
transition: none;
}
.editor-styles-wrapper code,
.editor-styles-wrapper kbd {
padding: 0;
margin: 0;
background: inherit;
font-size: inherit;
font-family: monospace;
}
.editor-styles-wrapper p {
font-size: revert;
line-height: revert;
margin: revert;
}
.editor-styles-wrapper ul,
.editor-styles-wrapper ol {
margin: revert;
padding: revert;
list-style-type: revert;
box-sizing: revert;
}
.editor-styles-wrapper ul ul,
.editor-styles-wrapper ul ol,
.editor-styles-wrapper ol ul,
.editor-styles-wrapper ol ol {
margin: revert;
}
.editor-styles-wrapper ul li,
.editor-styles-wrapper ol li {
margin: revert;
}
.editor-styles-wrapper ul ul,
.editor-styles-wrapper ol ul {
list-style-type: revert;
}
.editor-styles-wrapper h1,
.editor-styles-wrapper h2,
.editor-styles-wrapper h3,
.editor-styles-wrapper h4,
.editor-styles-wrapper h5,
.editor-styles-wrapper h6 {
font-size: revert;
margin: revert;
color: revert;
line-height: revert;
font-weight: revert;
}
.editor-styles-wrapper select {
font-family: system-ui;
-webkit-appearance: revert;
color: revert;
border: revert;
border-radius: revert;
background: revert;
box-shadow: revert;
text-shadow: revert;
outline: revert;
cursor: revert;
transform: revert;
font-size: revert;
line-height: revert;
padding: revert;
margin: revert;
min-height: revert;
max-width: revert;
vertical-align: revert;
font-weight: revert;
}
.editor-styles-wrapper select:disabled,
.editor-styles-wrapper select:focus {
color: revert;
border-color: revert;
background: revert;
box-shadow: revert;
text-shadow: revert;
cursor: revert;
transform: revert;
}

View File

@ -0,0 +1 @@
.editor-styles-wrapper{padding:8px;font-family:serif;font-size:medium;line-height:normal;color:initial}.editor-styles-wrapper .block-editor-block-list__layout.is-root-container>.wp-block[data-align=full]{margin-left:-8px;margin-right:-8px}.editor-styles-wrapper .wp-align-wrapper{max-width:840px}.editor-styles-wrapper .wp-align-wrapper.wp-align-full,.editor-styles-wrapper .wp-align-wrapper>.wp-block{max-width:none}.editor-styles-wrapper .wp-align-wrapper.wp-align-wide{max-width:840px}.editor-styles-wrapper a{transition:none}.editor-styles-wrapper code,.editor-styles-wrapper kbd{padding:0;margin:0;background:inherit;font-size:inherit;font-family:monospace}.editor-styles-wrapper p{font-size:revert;line-height:revert;margin:revert}.editor-styles-wrapper ol,.editor-styles-wrapper ul{margin:revert;padding:revert;list-style-type:revert;box-sizing:revert}.editor-styles-wrapper ol li,.editor-styles-wrapper ol ol,.editor-styles-wrapper ol ul,.editor-styles-wrapper ul li,.editor-styles-wrapper ul ol,.editor-styles-wrapper ul ul{margin:revert}.editor-styles-wrapper ol ul,.editor-styles-wrapper ul ul{list-style-type:revert}.editor-styles-wrapper h1,.editor-styles-wrapper h2,.editor-styles-wrapper h3,.editor-styles-wrapper h4,.editor-styles-wrapper h5,.editor-styles-wrapper h6{font-size:revert;margin:revert;color:revert;line-height:revert;font-weight:revert}.editor-styles-wrapper select{font-family:system-ui;-webkit-appearance:revert;color:revert;border:revert;border-radius:revert;background:revert;box-shadow:revert;text-shadow:revert;outline:revert;cursor:revert;transform:revert;font-size:revert;line-height:revert;padding:revert;margin:revert;min-height:revert;max-width:revert;vertical-align:revert;font-weight:revert}.editor-styles-wrapper select:disabled,.editor-styles-wrapper select:focus{color:revert;border-color:revert;background:revert;box-shadow:revert;text-shadow:revert;cursor:revert;transform:revert}

View File

@ -69,13 +69,13 @@
/**
* Reset the WP Admin page styles for Gutenberg-like pages.
*/
/**
* These are default block editor widths in case the theme doesn't provide them.
*/
#start-resizable-editor-section {
display: none;
}
.wp-block-audio {
margin: 0 0 1em 0;
}
.wp-block-audio figcaption {
margin-top: 0.5em;
margin-bottom: 1em;
@ -88,16 +88,16 @@
.wp-block-button__link {
color: #fff;
background-color: #32373c;
border: none;
border-radius: 1.55em;
border-radius: 9999px;
box-shadow: none;
cursor: pointer;
display: inline-block;
font-size: 1.125em;
padding: 0.667em 1.333em;
padding: calc(0.667em + 2px) calc(1.333em + 2px);
text-align: center;
text-decoration: none;
overflow-wrap: break-word;
box-sizing: border-box;
}
.wp-block-button__link:hover, .wp-block-button__link:focus, .wp-block-button__link:active, .wp-block-button__link:visited {
color: #fff;
@ -141,12 +141,13 @@
.is-style-outline > .wp-block-button__link,
.wp-block-button__link.is-style-outline {
border: 2px solid;
border: 2px solid currentColor;
padding: 0.667em 1.333em;
}
.is-style-outline > .wp-block-button__link:not(.has-text-color),
.wp-block-button__link.is-style-outline:not(.has-text-color) {
color: #32373c;
color: currentColor;
}
.is-style-outline > .wp-block-button__link:not(.has-background),
@ -277,6 +278,7 @@
.wp-block-columns {
display: flex;
margin-bottom: 1.75em;
box-sizing: border-box;
flex-wrap: wrap;
/**
* All Columns Alignment
@ -512,15 +514,13 @@
.wp-block-cover-image h4:not(.has-text-color),
.wp-block-cover-image h5:not(.has-text-color),
.wp-block-cover-image h6:not(.has-text-color),
.wp-block-cover-image .wp-block-subhead:not(.has-text-color),
.wp-block-cover p:not(.has-text-color),
.wp-block-cover h1:not(.has-text-color),
.wp-block-cover h2:not(.has-text-color),
.wp-block-cover h3:not(.has-text-color),
.wp-block-cover h4:not(.has-text-color),
.wp-block-cover h5:not(.has-text-color),
.wp-block-cover h6:not(.has-text-color),
.wp-block-cover .wp-block-subhead:not(.has-text-color) {
.wp-block-cover h6:not(.has-text-color) {
color: inherit;
}
.wp-block-cover-image.is-position-top-left,
@ -676,7 +676,7 @@ section.wp-block-cover-image > h2,
}
.wp-block-embed {
margin-bottom: 1em;
margin: 0 0 1em 0;
}
.wp-block-embed figcaption {
margin-top: 0.5em;
@ -774,6 +774,7 @@ section.wp-block-cover-image > h2,
flex-direction: column;
justify-content: center;
position: relative;
align-self: flex-start;
width: calc(50% - 1em);
}
.wp-block-gallery .blocks-gallery-image:nth-of-type(even),
@ -843,6 +844,12 @@ section.wp-block-cover-image > h2,
.blocks-gallery-grid figcaption {
flex-grow: 1;
}
.wp-block-gallery.is-cropped .blocks-gallery-image, .wp-block-gallery.is-cropped .blocks-gallery-item,
.blocks-gallery-grid.is-cropped .blocks-gallery-image,
.blocks-gallery-grid.is-cropped .blocks-gallery-item {
-ms-grid-row-align: inherit;
align-self: inherit;
}
.wp-block-gallery.is-cropped .blocks-gallery-image a,
.wp-block-gallery.is-cropped .blocks-gallery-image img, .wp-block-gallery.is-cropped .blocks-gallery-item a,
.wp-block-gallery.is-cropped .blocks-gallery-item img,
@ -981,7 +988,7 @@ h6.has-background {
}
.wp-block-image {
margin-bottom: 1em;
margin: 0 0 1em 0;
}
.wp-block-image img {
max-width: 100%;
@ -1051,6 +1058,10 @@ h6.has-background {
}
}
ol.wp-block-latest-comments {
padding-right: 0;
}
.wp-block-latest-comments__comment {
line-height: 1.1;
list-style: none;
@ -1307,14 +1318,22 @@ ul.has-background {
grid-row: 2;
}
}
.wp-block-navigation:not(.has-background) .wp-block-navigation__container .wp-block-navigation__container {
color: #1e1e1e;
background-color: #fff;
min-width: 200px;
.wp-block-navigation ul,
.wp-block-navigation ul li {
list-style: none;
padding: 0;
}
.items-justified-left > ul {
justify-content: flex-start;
.wp-block-navigation__container {
align-items: center;
list-style: none;
margin: 0;
padding-right: 0;
display: flex;
flex-wrap: wrap;
}
.is-vertical .wp-block-navigation__container {
display: block;
}
.items-justified-center > ul {
@ -1329,60 +1348,121 @@ ul.has-background {
justify-content: space-between;
}
.wp-block-navigation-link {
.wp-block-navigation .wp-block-pages-list__item,
.wp-block-navigation .wp-block-navigation-link {
display: flex;
align-items: center;
position: relative;
margin: 0;
margin: 0 0 0 0.5em;
}
.wp-block-navigation-link .wp-block-navigation__container:empty {
.wp-block-navigation .wp-block-pages-list__item .wp-block-navigation-link__container:empty,
.wp-block-navigation .wp-block-navigation-link .wp-block-navigation-link__container:empty {
display: none;
}
.wp-block-navigation__container {
list-style: none;
margin: 0;
padding-right: 0;
display: flex;
flex-wrap: wrap;
.wp-block-navigation .wp-block-navigation__container > .wp-block-pages-list__item:last-child,
.wp-block-navigation .wp-block-navigation__container > .wp-block-navigation-link:last-child {
margin-left: 0;
}
.is-vertical .wp-block-navigation__container {
.wp-block-navigation .wp-block-pages-list__item__link,
.wp-block-navigation .wp-block-navigation-link__content {
color: inherit;
display: block;
padding: 0.5em 1em;
}
.has-child > .wp-block-navigation-link__content {
.wp-block-navigation[style*=text-decoration] .wp-block-pages-list__item,
.wp-block-navigation[style*=text-decoration] .wp-block-navigation-link__container,
.wp-block-navigation[style*=text-decoration] .wp-block-navigation-link {
text-decoration: inherit;
}
.wp-block-navigation[style*=text-decoration] .wp-block-pages-list__item__link,
.wp-block-navigation[style*=text-decoration] .wp-block-navigation-link__content {
text-decoration: inherit;
}
.wp-block-navigation[style*=text-decoration] .wp-block-pages-list__item__link:focus, .wp-block-navigation[style*=text-decoration] .wp-block-pages-list__item__link:active,
.wp-block-navigation[style*=text-decoration] .wp-block-navigation-link__content:focus,
.wp-block-navigation[style*=text-decoration] .wp-block-navigation-link__content:active {
text-decoration: inherit;
}
.wp-block-navigation:not([style*=text-decoration]) .wp-block-pages-list__item__link,
.wp-block-navigation:not([style*=text-decoration]) .wp-block-navigation-link__content {
text-decoration: none;
}
.wp-block-navigation:not([style*=text-decoration]) .wp-block-pages-list__item__link:focus, .wp-block-navigation:not([style*=text-decoration]) .wp-block-pages-list__item__link:active,
.wp-block-navigation:not([style*=text-decoration]) .wp-block-navigation-link__content:focus,
.wp-block-navigation:not([style*=text-decoration]) .wp-block-navigation-link__content:active {
text-decoration: none;
}
.wp-block-navigation .wp-block-navigation-link__label {
word-break: normal;
overflow-wrap: break-word;
}
.wp-block-navigation .wp-block-page-list__submenu-icon,
.wp-block-navigation .wp-block-navigation-link__submenu-icon {
height: inherit;
padding: 0.375em 0 0.375em 1em;
}
.wp-block-navigation .wp-block-page-list__submenu-icon svg,
.wp-block-navigation .wp-block-navigation-link__submenu-icon svg {
stroke: currentColor;
}
.wp-block-navigation .has-child > .wp-block-pages-list__item__link,
.wp-block-navigation .has-child > .wp-block-navigation-link__content {
padding-left: 0.5em;
}
.has-child .wp-block-navigation__container {
border: 1px solid rgba(0, 0, 0, 0.15);
.wp-block-navigation .has-child .submenu-container,
.wp-block-navigation .has-child .wp-block-navigation-link__container {
background-color: inherit;
color: inherit;
position: absolute;
right: 0;
top: 100%;
width: -webkit-fit-content;
width: -moz-fit-content;
width: fit-content;
z-index: 2;
display: flex;
flex-direction: column;
align-items: normal;
min-width: 200px;
opacity: 0;
transition: opacity 0.1s linear;
visibility: hidden;
}
.has-child .wp-block-navigation__container > .wp-block-navigation-link > .wp-block-navigation-link__content {
.wp-block-navigation .has-child .submenu-container > .wp-block-pages-list__item,
.wp-block-navigation .has-child .submenu-container > .wp-block-navigation-link,
.wp-block-navigation .has-child .wp-block-navigation-link__container > .wp-block-pages-list__item,
.wp-block-navigation .has-child .wp-block-navigation-link__container > .wp-block-navigation-link {
margin: 0;
}
.wp-block-navigation .has-child .submenu-container > .wp-block-pages-list__item > .wp-block-pages-list__item__link,
.wp-block-navigation .has-child .submenu-container > .wp-block-pages-list__item > .wp-block-navigation-link__content,
.wp-block-navigation .has-child .submenu-container > .wp-block-navigation-link > .wp-block-pages-list__item__link,
.wp-block-navigation .has-child .submenu-container > .wp-block-navigation-link > .wp-block-navigation-link__content,
.wp-block-navigation .has-child .wp-block-navigation-link__container > .wp-block-pages-list__item > .wp-block-pages-list__item__link,
.wp-block-navigation .has-child .wp-block-navigation-link__container > .wp-block-pages-list__item > .wp-block-navigation-link__content,
.wp-block-navigation .has-child .wp-block-navigation-link__container > .wp-block-navigation-link > .wp-block-pages-list__item__link,
.wp-block-navigation .has-child .wp-block-navigation-link__container > .wp-block-navigation-link > .wp-block-navigation-link__content {
flex-grow: 1;
}
.has-child .wp-block-navigation__container > .wp-block-navigation-link > .wp-block-navigation-link__submenu-icon {
.wp-block-navigation .has-child .submenu-container > .wp-block-pages-list__item > .wp-block-page-list__submenu-icon,
.wp-block-navigation .has-child .submenu-container > .wp-block-pages-list__item > .wp-block-navigation-link__submenu-icon,
.wp-block-navigation .has-child .submenu-container > .wp-block-navigation-link > .wp-block-page-list__submenu-icon,
.wp-block-navigation .has-child .submenu-container > .wp-block-navigation-link > .wp-block-navigation-link__submenu-icon,
.wp-block-navigation .has-child .wp-block-navigation-link__container > .wp-block-pages-list__item > .wp-block-page-list__submenu-icon,
.wp-block-navigation .has-child .wp-block-navigation-link__container > .wp-block-pages-list__item > .wp-block-navigation-link__submenu-icon,
.wp-block-navigation .has-child .wp-block-navigation-link__container > .wp-block-navigation-link > .wp-block-page-list__submenu-icon,
.wp-block-navigation .has-child .wp-block-navigation-link__container > .wp-block-navigation-link > .wp-block-navigation-link__submenu-icon {
padding-left: 0.5em;
}
@media (min-width: 782px) {
.has-child .wp-block-navigation__container {
right: 1.5em;
}
.has-child .wp-block-navigation__container .wp-block-navigation__container {
.wp-block-navigation .has-child .submenu-container .submenu-container,
.wp-block-navigation .has-child .submenu-container .wp-block-navigation-link__container,
.wp-block-navigation .has-child .wp-block-navigation-link__container .submenu-container,
.wp-block-navigation .has-child .wp-block-navigation-link__container .wp-block-navigation-link__container {
right: 100%;
top: -1px;
top: 0;
}
.has-child .wp-block-navigation__container .wp-block-navigation__container::before {
.wp-block-navigation .has-child .submenu-container .submenu-container::before,
.wp-block-navigation .has-child .submenu-container .wp-block-navigation-link__container::before,
.wp-block-navigation .has-child .wp-block-navigation-link__container .submenu-container::before,
.wp-block-navigation .has-child .wp-block-navigation-link__container .wp-block-navigation-link__container::before {
content: "";
position: absolute;
left: 100%;
@ -1391,74 +1471,86 @@ ul.has-background {
width: 0.5em;
background: transparent;
}
.has-child .wp-block-navigation__container .wp-block-navigation-link__submenu-icon svg {
transform: rotate(0);
.wp-block-navigation .has-child .submenu-container .wp-block-page-list__submenu-icon svg,
.wp-block-navigation .has-child .submenu-container .wp-block-navigation-link__submenu-icon svg,
.wp-block-navigation .has-child .wp-block-navigation-link__container .wp-block-page-list__submenu-icon svg,
.wp-block-navigation .has-child .wp-block-navigation-link__container .wp-block-navigation-link__submenu-icon svg {
transform: rotate(90deg);
}
}
.has-child:hover {
cursor: pointer;
}
.has-child:hover > .wp-block-navigation__container {
.wp-block-navigation .has-child:hover > .wp-block-navigation-link__container {
visibility: visible;
opacity: 1;
display: flex;
flex-direction: column;
}
.has-child:focus-within {
cursor: pointer;
}
.has-child:focus-within > .wp-block-navigation__container {
.wp-block-navigation .has-child:focus-within > .wp-block-navigation-link__container {
visibility: visible;
opacity: 1;
}
.wp-block-navigation .has-child:hover {
cursor: pointer;
}
.wp-block-navigation .has-child:hover > .submenu-container {
visibility: visible;
opacity: 1;
}
.wp-block-navigation .has-child:focus-within {
cursor: pointer;
}
.wp-block-navigation .has-child:focus-within > .submenu-container {
visibility: visible;
opacity: 1;
}
.wp-block-navigation.items-justified-space-between > .submenu-container > .has-child:last-child .submenu-container,
.wp-block-navigation.items-justified-space-between > .submenu-container > .has-child:last-child .wp-block-navigation-link__container, .wp-block-navigation.items-justified-space-between > .wp-block-navigation__container > .has-child:last-child .submenu-container,
.wp-block-navigation.items-justified-space-between > .wp-block-navigation__container > .has-child:last-child .wp-block-navigation-link__container, .wp-block-navigation.items-justified-right .has-child .submenu-container,
.wp-block-navigation.items-justified-right .has-child .wp-block-navigation-link__container {
right: auto;
left: 0;
}
.wp-block-navigation.items-justified-space-between > .submenu-container > .has-child:last-child .submenu-container .submenu-container,
.wp-block-navigation.items-justified-space-between > .submenu-container > .has-child:last-child .submenu-container .wp-block-navigation-link__container,
.wp-block-navigation.items-justified-space-between > .submenu-container > .has-child:last-child .wp-block-navigation-link__container .submenu-container,
.wp-block-navigation.items-justified-space-between > .submenu-container > .has-child:last-child .wp-block-navigation-link__container .wp-block-navigation-link__container, .wp-block-navigation.items-justified-space-between > .wp-block-navigation__container > .has-child:last-child .submenu-container .submenu-container,
.wp-block-navigation.items-justified-space-between > .wp-block-navigation__container > .has-child:last-child .submenu-container .wp-block-navigation-link__container,
.wp-block-navigation.items-justified-space-between > .wp-block-navigation__container > .has-child:last-child .wp-block-navigation-link__container .submenu-container,
.wp-block-navigation.items-justified-space-between > .wp-block-navigation__container > .has-child:last-child .wp-block-navigation-link__container .wp-block-navigation-link__container, .wp-block-navigation.items-justified-right .has-child .submenu-container .submenu-container,
.wp-block-navigation.items-justified-right .has-child .submenu-container .wp-block-navigation-link__container,
.wp-block-navigation.items-justified-right .has-child .wp-block-navigation-link__container .submenu-container,
.wp-block-navigation.items-justified-right .has-child .wp-block-navigation-link__container .wp-block-navigation-link__container {
right: auto;
left: 100%;
}
.wp-block-navigation:not(.has-background) .submenu-container,
.wp-block-navigation:not(.has-background) .wp-block-navigation__container .wp-block-navigation-link__container {
background-color: #fff;
color: #000;
border: 1px solid rgba(0, 0, 0, 0.15);
}
.wp-block-navigation:not(.has-background) .submenu-container .submenu-container,
.wp-block-navigation:not(.has-background) .submenu-container .wp-block-navigation-link__container,
.wp-block-navigation:not(.has-background) .wp-block-navigation__container .wp-block-navigation-link__container .submenu-container,
.wp-block-navigation:not(.has-background) .wp-block-navigation__container .wp-block-navigation-link__container .wp-block-navigation-link__container {
top: -1px;
}
.wp-block-navigation .wp-block-page-list {
display: flex;
flex-direction: column;
flex-wrap: wrap;
background-color: inherit;
}
.wp-block-navigation .wp-block-pages-list__item {
background-color: inherit;
}
.wp-block-navigation .wp-block-page-list__submenu-icon {
display: none;
}
.wp-block-navigation .show-submenu-icons .wp-block-page-list__submenu-icon {
display: block;
}
.wp-block-navigation[style*=text-decoration] .wp-block-navigation__container,
.wp-block-navigation[style*=text-decoration] .wp-block-navigation-link {
text-decoration: inherit;
}
.wp-block-navigation[style*=text-decoration] .wp-block-navigation-link__content {
text-decoration: inherit;
}
.wp-block-navigation[style*=text-decoration] .wp-block-navigation-link__content:focus, .wp-block-navigation[style*=text-decoration] .wp-block-navigation-link__content:active {
text-decoration: inherit;
}
.wp-block-navigation:not([style*=text-decoration]) .wp-block-navigation-link__content {
text-decoration: none;
}
.wp-block-navigation:not([style*=text-decoration]) .wp-block-navigation-link__content:focus, .wp-block-navigation:not([style*=text-decoration]) .wp-block-navigation-link__content:active {
text-decoration: none;
}
.wp-block-navigation-link__content {
color: inherit;
padding: 0.5em 1em;
}
.wp-block-navigation-link__content + .wp-block-navigation-link__content {
padding-top: 0;
}
.has-text-color .wp-block-navigation-link__content {
color: inherit;
}
.wp-block-navigation-link__label {
word-break: normal;
overflow-wrap: break-word;
}
.wp-block-navigation-link__submenu-icon {
height: inherit;
padding: 0.375em 0 0.375em 1em;
}
.wp-block-navigation-link__submenu-icon svg {
fill: currentColor;
}
@media (min-width: 782px) {
.wp-block-navigation-link__submenu-icon svg {
transform: rotate(-90deg);
}
.is-vertical .wp-block-navigation__container .wp-block-page-list {
display: block;
}
.is-small-text {
@ -1487,6 +1579,10 @@ ul.has-background {
font-style: normal;
}
p.has-drop-cap.has-background {
overflow: hidden;
}
p.has-background {
padding: 1.25em 2.375em;
}
@ -1525,7 +1621,7 @@ p.has-text-color a {
color: #fff;
background-color: #32373c;
border: none;
border-radius: 1.55em;
border-radius: 9999px;
box-shadow: none;
cursor: pointer;
display: inline-block;
@ -1539,14 +1635,21 @@ p.has-text-color a {
color: #fff;
}
.wp-block-post-excerpt__more-link {
display: inline-block;
}
.wp-block-preformatted {
white-space: pre-wrap;
}
.wp-block-preformatted.has-background {
padding: 1.25em 2.375em;
}
.wp-block-pullquote {
margin: 0 0 1em 0;
padding: 3em 0;
margin-right: 0;
margin-left: 0;
text-align: center;
}
.wp-block-pullquote.alignleft, .wp-block-pullquote.alignright {
@ -1772,7 +1875,14 @@ p.has-text-color a {
.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__button {
padding: 0.125em 0.5em;
}
.wp-block-search.aligncenter .wp-block-search__inside-wrapper {
margin: auto;
}
.wp-block-separator {
border-top: 1px solid currentColor;
border-bottom: 1px solid currentColor;
}
.wp-block-separator.is-style-wide {
border-bottom-width: 1px;
}
@ -1780,7 +1890,7 @@ p.has-text-color a {
background: none !important;
border: none;
text-align: center;
max-width: none;
width: none;
line-height: 1;
height: auto;
}
@ -1793,20 +1903,25 @@ p.has-text-color a {
font-family: serif;
}
.wp-block-custom-logo {
.wp-block-site-logo {
line-height: 0;
}
.wp-block-custom-logo .aligncenter {
.wp-block-site-logo a {
display: inline-block;
}
.wp-block-site-logo:not(.is-resized) img {
width: 120px;
}
.wp-block-site-logo .aligncenter {
display: table;
}
.wp-block-custom-logo.is-style-rounded img {
.wp-block-site-logo.is-style-rounded img {
border-radius: 9999px;
}
.wp-block-social-links {
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
padding-right: 0;
padding-left: 0;
text-indent: 0;
@ -1857,6 +1972,7 @@ p.has-text-color a {
@media (prefers-reduced-motion: reduce) {
.wp-social-link {
transition-duration: 0s;
transition-delay: 0s;
}
}
.wp-social-link a {
@ -2155,8 +2271,7 @@ p.has-text-color a {
color: #3499cd;
}
.wp-block-social-links.is-style-logos-only .wp-social-link-yelp {
background-color: #d32422;
color: #fff;
color: #d32422;
}
.wp-block-social-links.is-style-logos-only .wp-social-link-youtube {
color: #f00;
@ -2174,12 +2289,6 @@ p.has-text-color a {
clear: both;
}
p.wp-block-subhead {
font-size: 1.1em;
font-style: italic;
opacity: 0.75;
}
.wp-block-tag-cloud.aligncenter {
text-align: center;
}
@ -2189,9 +2298,11 @@ p.wp-block-subhead {
}
.wp-block-table {
margin: 0 0 1em 0;
overflow-x: auto;
}
.wp-block-table table {
border-collapse: collapse;
width: 100%;
}
.wp-block-table .has-fixed-layout {
@ -2283,8 +2394,7 @@ pre.wp-block-verse {
}
.wp-block-video {
margin-right: 0;
margin-left: 0;
margin: 0 0 1em 0;
}
.wp-block-video video {
width: 100%;
@ -2453,7 +2563,7 @@ pre.wp-block-verse {
:root .has-midnight-gradient-background {
background: linear-gradient(-135deg, #020381 0%, #2874fc 100%);
}
:root .has-link-color a {
:root .has-link-color a:not(.wp-block-button__link) {
color: #00e;
color: var(--wp--style--color--link, #00e);
}
@ -2499,3 +2609,51 @@ pre.wp-block-verse {
.aligncenter {
clear: both;
}
.items-justified-left {
justify-content: flex-start;
}
.items-justified-center {
justify-content: center;
}
.items-justified-right {
justify-content: flex-end;
}
.items-justified-space-between {
justify-content: space-between;
}
.screen-reader-text {
border: 0;
clip: rect(1px, 1px, 1px, 1px);
-webkit-clip-path: inset(50%);
clip-path: inset(50%);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
word-wrap: normal !important;
}
.screen-reader-text:focus {
background-color: #ddd;
clip: auto !important;
-webkit-clip-path: none;
clip-path: none;
color: #444;
display: block;
font-size: 1em;
height: auto;
right: 5px;
line-height: normal;
padding: 15px 23px 14px;
text-decoration: none;
top: 5px;
width: auto;
z-index: 100000;
}

File diff suppressed because one or more lines are too long

View File

@ -69,13 +69,13 @@
/**
* Reset the WP Admin page styles for Gutenberg-like pages.
*/
/**
* These are default block editor widths in case the theme doesn't provide them.
*/
#start-resizable-editor-section {
display: none;
}
.wp-block-audio {
margin: 0 0 1em 0;
}
.wp-block-audio figcaption {
margin-top: 0.5em;
margin-bottom: 1em;
@ -88,16 +88,16 @@
.wp-block-button__link {
color: #fff;
background-color: #32373c;
border: none;
border-radius: 1.55em;
border-radius: 9999px;
box-shadow: none;
cursor: pointer;
display: inline-block;
font-size: 1.125em;
padding: 0.667em 1.333em;
padding: calc(0.667em + 2px) calc(1.333em + 2px);
text-align: center;
text-decoration: none;
overflow-wrap: break-word;
box-sizing: border-box;
}
.wp-block-button__link:hover, .wp-block-button__link:focus, .wp-block-button__link:active, .wp-block-button__link:visited {
color: #fff;
@ -142,12 +142,13 @@
.is-style-outline > .wp-block-button__link,
.wp-block-button__link.is-style-outline {
border: 2px solid;
border: 2px solid currentColor;
padding: 0.667em 1.333em;
}
.is-style-outline > .wp-block-button__link:not(.has-text-color),
.wp-block-button__link.is-style-outline:not(.has-text-color) {
color: #32373c;
color: currentColor;
}
.is-style-outline > .wp-block-button__link:not(.has-background),
@ -293,6 +294,7 @@
.wp-block-columns {
display: flex;
margin-bottom: 1.75em;
box-sizing: border-box;
flex-wrap: wrap;
/**
* All Columns Alignment
@ -528,15 +530,13 @@
.wp-block-cover-image h4:not(.has-text-color),
.wp-block-cover-image h5:not(.has-text-color),
.wp-block-cover-image h6:not(.has-text-color),
.wp-block-cover-image .wp-block-subhead:not(.has-text-color),
.wp-block-cover p:not(.has-text-color),
.wp-block-cover h1:not(.has-text-color),
.wp-block-cover h2:not(.has-text-color),
.wp-block-cover h3:not(.has-text-color),
.wp-block-cover h4:not(.has-text-color),
.wp-block-cover h5:not(.has-text-color),
.wp-block-cover h6:not(.has-text-color),
.wp-block-cover .wp-block-subhead:not(.has-text-color) {
.wp-block-cover h6:not(.has-text-color) {
color: inherit;
}
.wp-block-cover-image.is-position-top-left,
@ -692,7 +692,7 @@ section.wp-block-cover-image > h2,
}
.wp-block-embed {
margin-bottom: 1em;
margin: 0 0 1em 0;
}
.wp-block-embed figcaption {
margin-top: 0.5em;
@ -791,6 +791,7 @@ section.wp-block-cover-image > h2,
flex-direction: column;
justify-content: center;
position: relative;
align-self: flex-start;
width: calc(50% - 1em);
}
.wp-block-gallery .blocks-gallery-image:nth-of-type(even),
@ -860,6 +861,12 @@ section.wp-block-cover-image > h2,
.blocks-gallery-grid figcaption {
flex-grow: 1;
}
.wp-block-gallery.is-cropped .blocks-gallery-image, .wp-block-gallery.is-cropped .blocks-gallery-item,
.blocks-gallery-grid.is-cropped .blocks-gallery-image,
.blocks-gallery-grid.is-cropped .blocks-gallery-item {
-ms-grid-row-align: inherit;
align-self: inherit;
}
.wp-block-gallery.is-cropped .blocks-gallery-image a,
.wp-block-gallery.is-cropped .blocks-gallery-image img, .wp-block-gallery.is-cropped .blocks-gallery-item a,
.wp-block-gallery.is-cropped .blocks-gallery-item img,
@ -998,7 +1005,7 @@ h6.has-background {
}
.wp-block-image {
margin-bottom: 1em;
margin: 0 0 1em 0;
}
.wp-block-image img {
max-width: 100%;
@ -1072,6 +1079,10 @@ h6.has-background {
}
}
ol.wp-block-latest-comments {
padding-left: 0;
}
.wp-block-latest-comments__comment {
line-height: 1.1;
list-style: none;
@ -1342,14 +1353,22 @@ ul.has-background {
grid-row: 2;
}
}
.wp-block-navigation:not(.has-background) .wp-block-navigation__container .wp-block-navigation__container {
color: #1e1e1e;
background-color: #fff;
min-width: 200px;
.wp-block-navigation ul,
.wp-block-navigation ul li {
list-style: none;
padding: 0;
}
.items-justified-left > ul {
justify-content: flex-start;
.wp-block-navigation__container {
align-items: center;
list-style: none;
margin: 0;
padding-left: 0;
display: flex;
flex-wrap: wrap;
}
.is-vertical .wp-block-navigation__container {
display: block;
}
.items-justified-center > ul {
@ -1364,60 +1383,121 @@ ul.has-background {
justify-content: space-between;
}
.wp-block-navigation-link {
.wp-block-navigation .wp-block-pages-list__item,
.wp-block-navigation .wp-block-navigation-link {
display: flex;
align-items: center;
position: relative;
margin: 0;
margin: 0 0.5em 0 0;
}
.wp-block-navigation-link .wp-block-navigation__container:empty {
.wp-block-navigation .wp-block-pages-list__item .wp-block-navigation-link__container:empty,
.wp-block-navigation .wp-block-navigation-link .wp-block-navigation-link__container:empty {
display: none;
}
.wp-block-navigation__container {
list-style: none;
margin: 0;
padding-left: 0;
display: flex;
flex-wrap: wrap;
.wp-block-navigation .wp-block-navigation__container > .wp-block-pages-list__item:last-child,
.wp-block-navigation .wp-block-navigation__container > .wp-block-navigation-link:last-child {
margin-right: 0;
}
.is-vertical .wp-block-navigation__container {
.wp-block-navigation .wp-block-pages-list__item__link,
.wp-block-navigation .wp-block-navigation-link__content {
color: inherit;
display: block;
padding: 0.5em 1em;
}
.has-child > .wp-block-navigation-link__content {
.wp-block-navigation[style*=text-decoration] .wp-block-pages-list__item,
.wp-block-navigation[style*=text-decoration] .wp-block-navigation-link__container,
.wp-block-navigation[style*=text-decoration] .wp-block-navigation-link {
text-decoration: inherit;
}
.wp-block-navigation[style*=text-decoration] .wp-block-pages-list__item__link,
.wp-block-navigation[style*=text-decoration] .wp-block-navigation-link__content {
text-decoration: inherit;
}
.wp-block-navigation[style*=text-decoration] .wp-block-pages-list__item__link:focus, .wp-block-navigation[style*=text-decoration] .wp-block-pages-list__item__link:active,
.wp-block-navigation[style*=text-decoration] .wp-block-navigation-link__content:focus,
.wp-block-navigation[style*=text-decoration] .wp-block-navigation-link__content:active {
text-decoration: inherit;
}
.wp-block-navigation:not([style*=text-decoration]) .wp-block-pages-list__item__link,
.wp-block-navigation:not([style*=text-decoration]) .wp-block-navigation-link__content {
text-decoration: none;
}
.wp-block-navigation:not([style*=text-decoration]) .wp-block-pages-list__item__link:focus, .wp-block-navigation:not([style*=text-decoration]) .wp-block-pages-list__item__link:active,
.wp-block-navigation:not([style*=text-decoration]) .wp-block-navigation-link__content:focus,
.wp-block-navigation:not([style*=text-decoration]) .wp-block-navigation-link__content:active {
text-decoration: none;
}
.wp-block-navigation .wp-block-navigation-link__label {
word-break: normal;
overflow-wrap: break-word;
}
.wp-block-navigation .wp-block-page-list__submenu-icon,
.wp-block-navigation .wp-block-navigation-link__submenu-icon {
height: inherit;
padding: 0.375em 1em 0.375em 0;
}
.wp-block-navigation .wp-block-page-list__submenu-icon svg,
.wp-block-navigation .wp-block-navigation-link__submenu-icon svg {
stroke: currentColor;
}
.wp-block-navigation .has-child > .wp-block-pages-list__item__link,
.wp-block-navigation .has-child > .wp-block-navigation-link__content {
padding-right: 0.5em;
}
.has-child .wp-block-navigation__container {
border: 1px solid rgba(0, 0, 0, 0.15);
.wp-block-navigation .has-child .submenu-container,
.wp-block-navigation .has-child .wp-block-navigation-link__container {
background-color: inherit;
color: inherit;
position: absolute;
left: 0;
top: 100%;
width: -webkit-fit-content;
width: -moz-fit-content;
width: fit-content;
z-index: 2;
display: flex;
flex-direction: column;
align-items: normal;
min-width: 200px;
opacity: 0;
transition: opacity 0.1s linear;
visibility: hidden;
}
.has-child .wp-block-navigation__container > .wp-block-navigation-link > .wp-block-navigation-link__content {
.wp-block-navigation .has-child .submenu-container > .wp-block-pages-list__item,
.wp-block-navigation .has-child .submenu-container > .wp-block-navigation-link,
.wp-block-navigation .has-child .wp-block-navigation-link__container > .wp-block-pages-list__item,
.wp-block-navigation .has-child .wp-block-navigation-link__container > .wp-block-navigation-link {
margin: 0;
}
.wp-block-navigation .has-child .submenu-container > .wp-block-pages-list__item > .wp-block-pages-list__item__link,
.wp-block-navigation .has-child .submenu-container > .wp-block-pages-list__item > .wp-block-navigation-link__content,
.wp-block-navigation .has-child .submenu-container > .wp-block-navigation-link > .wp-block-pages-list__item__link,
.wp-block-navigation .has-child .submenu-container > .wp-block-navigation-link > .wp-block-navigation-link__content,
.wp-block-navigation .has-child .wp-block-navigation-link__container > .wp-block-pages-list__item > .wp-block-pages-list__item__link,
.wp-block-navigation .has-child .wp-block-navigation-link__container > .wp-block-pages-list__item > .wp-block-navigation-link__content,
.wp-block-navigation .has-child .wp-block-navigation-link__container > .wp-block-navigation-link > .wp-block-pages-list__item__link,
.wp-block-navigation .has-child .wp-block-navigation-link__container > .wp-block-navigation-link > .wp-block-navigation-link__content {
flex-grow: 1;
}
.has-child .wp-block-navigation__container > .wp-block-navigation-link > .wp-block-navigation-link__submenu-icon {
.wp-block-navigation .has-child .submenu-container > .wp-block-pages-list__item > .wp-block-page-list__submenu-icon,
.wp-block-navigation .has-child .submenu-container > .wp-block-pages-list__item > .wp-block-navigation-link__submenu-icon,
.wp-block-navigation .has-child .submenu-container > .wp-block-navigation-link > .wp-block-page-list__submenu-icon,
.wp-block-navigation .has-child .submenu-container > .wp-block-navigation-link > .wp-block-navigation-link__submenu-icon,
.wp-block-navigation .has-child .wp-block-navigation-link__container > .wp-block-pages-list__item > .wp-block-page-list__submenu-icon,
.wp-block-navigation .has-child .wp-block-navigation-link__container > .wp-block-pages-list__item > .wp-block-navigation-link__submenu-icon,
.wp-block-navigation .has-child .wp-block-navigation-link__container > .wp-block-navigation-link > .wp-block-page-list__submenu-icon,
.wp-block-navigation .has-child .wp-block-navigation-link__container > .wp-block-navigation-link > .wp-block-navigation-link__submenu-icon {
padding-right: 0.5em;
}
@media (min-width: 782px) {
.has-child .wp-block-navigation__container {
left: 1.5em;
}
.has-child .wp-block-navigation__container .wp-block-navigation__container {
.wp-block-navigation .has-child .submenu-container .submenu-container,
.wp-block-navigation .has-child .submenu-container .wp-block-navigation-link__container,
.wp-block-navigation .has-child .wp-block-navigation-link__container .submenu-container,
.wp-block-navigation .has-child .wp-block-navigation-link__container .wp-block-navigation-link__container {
left: 100%;
top: -1px;
top: 0;
}
.has-child .wp-block-navigation__container .wp-block-navigation__container::before {
.wp-block-navigation .has-child .submenu-container .submenu-container::before,
.wp-block-navigation .has-child .submenu-container .wp-block-navigation-link__container::before,
.wp-block-navigation .has-child .wp-block-navigation-link__container .submenu-container::before,
.wp-block-navigation .has-child .wp-block-navigation-link__container .wp-block-navigation-link__container::before {
content: "";
position: absolute;
right: 100%;
@ -1426,74 +1506,86 @@ ul.has-background {
width: 0.5em;
background: transparent;
}
.has-child .wp-block-navigation__container .wp-block-navigation-link__submenu-icon svg {
transform: rotate(0);
.wp-block-navigation .has-child .submenu-container .wp-block-page-list__submenu-icon svg,
.wp-block-navigation .has-child .submenu-container .wp-block-navigation-link__submenu-icon svg,
.wp-block-navigation .has-child .wp-block-navigation-link__container .wp-block-page-list__submenu-icon svg,
.wp-block-navigation .has-child .wp-block-navigation-link__container .wp-block-navigation-link__submenu-icon svg {
transform: rotate(-90deg);
}
}
.has-child:hover {
cursor: pointer;
}
.has-child:hover > .wp-block-navigation__container {
.wp-block-navigation .has-child:hover > .wp-block-navigation-link__container {
visibility: visible;
opacity: 1;
display: flex;
flex-direction: column;
}
.has-child:focus-within {
cursor: pointer;
}
.has-child:focus-within > .wp-block-navigation__container {
.wp-block-navigation .has-child:focus-within > .wp-block-navigation-link__container {
visibility: visible;
opacity: 1;
}
.wp-block-navigation .has-child:hover {
cursor: pointer;
}
.wp-block-navigation .has-child:hover > .submenu-container {
visibility: visible;
opacity: 1;
}
.wp-block-navigation .has-child:focus-within {
cursor: pointer;
}
.wp-block-navigation .has-child:focus-within > .submenu-container {
visibility: visible;
opacity: 1;
}
.wp-block-navigation.items-justified-space-between > .submenu-container > .has-child:last-child .submenu-container,
.wp-block-navigation.items-justified-space-between > .submenu-container > .has-child:last-child .wp-block-navigation-link__container, .wp-block-navigation.items-justified-space-between > .wp-block-navigation__container > .has-child:last-child .submenu-container,
.wp-block-navigation.items-justified-space-between > .wp-block-navigation__container > .has-child:last-child .wp-block-navigation-link__container, .wp-block-navigation.items-justified-right .has-child .submenu-container,
.wp-block-navigation.items-justified-right .has-child .wp-block-navigation-link__container {
left: auto;
right: 0;
}
.wp-block-navigation.items-justified-space-between > .submenu-container > .has-child:last-child .submenu-container .submenu-container,
.wp-block-navigation.items-justified-space-between > .submenu-container > .has-child:last-child .submenu-container .wp-block-navigation-link__container,
.wp-block-navigation.items-justified-space-between > .submenu-container > .has-child:last-child .wp-block-navigation-link__container .submenu-container,
.wp-block-navigation.items-justified-space-between > .submenu-container > .has-child:last-child .wp-block-navigation-link__container .wp-block-navigation-link__container, .wp-block-navigation.items-justified-space-between > .wp-block-navigation__container > .has-child:last-child .submenu-container .submenu-container,
.wp-block-navigation.items-justified-space-between > .wp-block-navigation__container > .has-child:last-child .submenu-container .wp-block-navigation-link__container,
.wp-block-navigation.items-justified-space-between > .wp-block-navigation__container > .has-child:last-child .wp-block-navigation-link__container .submenu-container,
.wp-block-navigation.items-justified-space-between > .wp-block-navigation__container > .has-child:last-child .wp-block-navigation-link__container .wp-block-navigation-link__container, .wp-block-navigation.items-justified-right .has-child .submenu-container .submenu-container,
.wp-block-navigation.items-justified-right .has-child .submenu-container .wp-block-navigation-link__container,
.wp-block-navigation.items-justified-right .has-child .wp-block-navigation-link__container .submenu-container,
.wp-block-navigation.items-justified-right .has-child .wp-block-navigation-link__container .wp-block-navigation-link__container {
left: auto;
right: 100%;
}
.wp-block-navigation:not(.has-background) .submenu-container,
.wp-block-navigation:not(.has-background) .wp-block-navigation__container .wp-block-navigation-link__container {
background-color: #fff;
color: #000;
border: 1px solid rgba(0, 0, 0, 0.15);
}
.wp-block-navigation:not(.has-background) .submenu-container .submenu-container,
.wp-block-navigation:not(.has-background) .submenu-container .wp-block-navigation-link__container,
.wp-block-navigation:not(.has-background) .wp-block-navigation__container .wp-block-navigation-link__container .submenu-container,
.wp-block-navigation:not(.has-background) .wp-block-navigation__container .wp-block-navigation-link__container .wp-block-navigation-link__container {
top: -1px;
}
.wp-block-navigation .wp-block-page-list {
display: flex;
flex-direction: column;
flex-wrap: wrap;
background-color: inherit;
}
.wp-block-navigation .wp-block-pages-list__item {
background-color: inherit;
}
.wp-block-navigation .wp-block-page-list__submenu-icon {
display: none;
}
.wp-block-navigation .show-submenu-icons .wp-block-page-list__submenu-icon {
display: block;
}
.wp-block-navigation[style*=text-decoration] .wp-block-navigation__container,
.wp-block-navigation[style*=text-decoration] .wp-block-navigation-link {
text-decoration: inherit;
}
.wp-block-navigation[style*=text-decoration] .wp-block-navigation-link__content {
text-decoration: inherit;
}
.wp-block-navigation[style*=text-decoration] .wp-block-navigation-link__content:focus, .wp-block-navigation[style*=text-decoration] .wp-block-navigation-link__content:active {
text-decoration: inherit;
}
.wp-block-navigation:not([style*=text-decoration]) .wp-block-navigation-link__content {
text-decoration: none;
}
.wp-block-navigation:not([style*=text-decoration]) .wp-block-navigation-link__content:focus, .wp-block-navigation:not([style*=text-decoration]) .wp-block-navigation-link__content:active {
text-decoration: none;
}
.wp-block-navigation-link__content {
color: inherit;
padding: 0.5em 1em;
}
.wp-block-navigation-link__content + .wp-block-navigation-link__content {
padding-top: 0;
}
.has-text-color .wp-block-navigation-link__content {
color: inherit;
}
.wp-block-navigation-link__label {
word-break: normal;
overflow-wrap: break-word;
}
.wp-block-navigation-link__submenu-icon {
height: inherit;
padding: 0.375em 1em 0.375em 0;
}
.wp-block-navigation-link__submenu-icon svg {
fill: currentColor;
}
@media (min-width: 782px) {
.wp-block-navigation-link__submenu-icon svg {
transform: rotate(90deg);
}
.is-vertical .wp-block-navigation__container .wp-block-page-list {
display: block;
}
.is-small-text {
@ -1522,6 +1614,10 @@ ul.has-background {
font-style: normal;
}
p.has-drop-cap.has-background {
overflow: hidden;
}
p.has-background {
padding: 1.25em 2.375em;
}
@ -1560,7 +1656,7 @@ p.has-text-color a {
color: #fff;
background-color: #32373c;
border: none;
border-radius: 1.55em;
border-radius: 9999px;
box-shadow: none;
cursor: pointer;
display: inline-block;
@ -1574,14 +1670,21 @@ p.has-text-color a {
color: #fff;
}
.wp-block-post-excerpt__more-link {
display: inline-block;
}
.wp-block-preformatted {
white-space: pre-wrap;
}
.wp-block-preformatted.has-background {
padding: 1.25em 2.375em;
}
.wp-block-pullquote {
margin: 0 0 1em 0;
padding: 3em 0;
margin-left: 0;
margin-right: 0;
text-align: center;
}
.wp-block-pullquote.alignleft, .wp-block-pullquote.alignright {
@ -1811,7 +1914,14 @@ p.has-text-color a {
.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__button {
padding: 0.125em 0.5em;
}
.wp-block-search.aligncenter .wp-block-search__inside-wrapper {
margin: auto;
}
.wp-block-separator {
border-top: 1px solid currentColor;
border-bottom: 1px solid currentColor;
}
.wp-block-separator.is-style-wide {
border-bottom-width: 1px;
}
@ -1819,7 +1929,7 @@ p.has-text-color a {
background: none !important;
border: none;
text-align: center;
max-width: none;
width: none;
line-height: 1;
height: auto;
}
@ -1833,20 +1943,25 @@ p.has-text-color a {
font-family: serif;
}
.wp-block-custom-logo {
.wp-block-site-logo {
line-height: 0;
}
.wp-block-custom-logo .aligncenter {
.wp-block-site-logo a {
display: inline-block;
}
.wp-block-site-logo:not(.is-resized) img {
width: 120px;
}
.wp-block-site-logo .aligncenter {
display: table;
}
.wp-block-custom-logo.is-style-rounded img {
.wp-block-site-logo.is-style-rounded img {
border-radius: 9999px;
}
.wp-block-social-links {
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
padding-left: 0;
padding-right: 0;
text-indent: 0;
@ -1897,6 +2012,7 @@ p.has-text-color a {
@media (prefers-reduced-motion: reduce) {
.wp-social-link {
transition-duration: 0s;
transition-delay: 0s;
}
}
.wp-social-link a {
@ -2195,8 +2311,7 @@ p.has-text-color a {
color: #3499cd;
}
.wp-block-social-links.is-style-logos-only .wp-social-link-yelp {
background-color: #d32422;
color: #fff;
color: #d32422;
}
.wp-block-social-links.is-style-logos-only .wp-social-link-youtube {
color: #f00;
@ -2214,12 +2329,6 @@ p.has-text-color a {
clear: both;
}
p.wp-block-subhead {
font-size: 1.1em;
font-style: italic;
opacity: 0.75;
}
.wp-block-tag-cloud.aligncenter {
text-align: center;
}
@ -2229,9 +2338,11 @@ p.wp-block-subhead {
}
.wp-block-table {
margin: 0 0 1em 0;
overflow-x: auto;
}
.wp-block-table table {
border-collapse: collapse;
width: 100%;
}
.wp-block-table .has-fixed-layout {
@ -2323,8 +2434,7 @@ pre.wp-block-verse {
}
.wp-block-video {
margin-left: 0;
margin-right: 0;
margin: 0 0 1em 0;
}
.wp-block-video video {
width: 100%;
@ -2493,7 +2603,7 @@ pre.wp-block-verse {
:root .has-midnight-gradient-background {
background: linear-gradient(135deg, #020381 0%, #2874fc 100%);
}
:root .has-link-color a {
:root .has-link-color a:not(.wp-block-button__link) {
color: #00e;
color: var(--wp--style--color--link, #00e);
}
@ -2541,3 +2651,51 @@ pre.wp-block-verse {
.aligncenter {
clear: both;
}
.items-justified-left {
justify-content: flex-start;
}
.items-justified-center {
justify-content: center;
}
.items-justified-right {
justify-content: flex-end;
}
.items-justified-space-between {
justify-content: space-between;
}
.screen-reader-text {
border: 0;
clip: rect(1px, 1px, 1px, 1px);
-webkit-clip-path: inset(50%);
clip-path: inset(50%);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
word-wrap: normal !important;
}
.screen-reader-text:focus {
background-color: #ddd;
clip: auto !important;
-webkit-clip-path: none;
clip-path: none;
color: #444;
display: block;
font-size: 1em;
height: auto;
left: 5px;
line-height: normal;
padding: 15px 23px 14px;
text-decoration: none;
top: 5px;
width: auto;
z-index: 100000;
}

File diff suppressed because one or more lines are too long

View File

@ -68,9 +68,6 @@
/**
* Reset the WP Admin page styles for Gutenberg-like pages.
*/
/**
* These are default block editor widths in case the theme doesn't provide them.
*/
#start-resizable-editor-section {
display: none;
}
@ -133,25 +130,15 @@
font-style: normal;
}
.wp-block-navigation ul,
.wp-block-navigation ul li {
list-style: none;
}
.wp-block-navigation-link.wp-block-navigation-link {
margin: 0;
}
.wp-block-quote {
border-right: 0.25em solid currentColor;
margin: 0 0 1.75em 0;
padding-right: 1em;
}
.wp-block-quote cite,
.wp-block-quote footer, .wp-block-quote__citation {
.wp-block-quote footer {
color: currentColor;
font-size: 0.8125em;
margin-top: 1em;
position: relative;
font-style: normal;
}
@ -187,7 +174,7 @@
opacity: 0.4;
}
.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
max-width: 100px;
width: 100px;
}
.wp-block-separator.has-background:not(.is-style-dots) {
border-bottom: none;
@ -197,9 +184,6 @@
height: 2px;
}
.wp-block-table {
border-collapse: collapse;
}
.wp-block-table thead {
border-bottom: 3px solid;
}

View File

@ -1 +1 @@
#start-resizable-editor-section{display:none}.wp-block-audio figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-audio figcaption{color:hsla(0,0%,100%,.65)}.wp-block-code{font-family:Menlo,Consolas,monaco,monospace;color:#1e1e1e;padding:.8em 1em;border:1px solid #ddd;border-radius:4px}.wp-block-embed figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-embed figcaption{color:hsla(0,0%,100%,.65)}.blocks-gallery-caption{color:#555;font-size:13px;text-align:center}.is-dark-theme .blocks-gallery-caption{color:hsla(0,0%,100%,.65)}.wp-block-image figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-image figcaption{color:hsla(0,0%,100%,.65)}.wp-block-pullquote{border-top:4px solid;border-bottom:4px solid;margin-bottom:1.75em;color:currentColor}.wp-block-pullquote__citation,.wp-block-pullquote cite,.wp-block-pullquote footer{color:currentColor;text-transform:uppercase;font-size:.8125em;font-style:normal}.wp-block-navigation ul,.wp-block-navigation ul li{list-style:none}.wp-block-navigation-link.wp-block-navigation-link{margin:0}.wp-block-quote{border-right:.25em solid;margin:0 0 1.75em;padding-right:1em}.wp-block-quote__citation,.wp-block-quote cite,.wp-block-quote footer{color:currentColor;font-size:.8125em;margin-top:1em;position:relative;font-style:normal}.wp-block-quote.has-text-align-right{border-right:none;border-left:.25em solid;padding-right:0;padding-left:1em}.wp-block-quote.has-text-align-center{border:none;padding-right:0}.wp-block-quote.is-large,.wp-block-quote.is-style-large{border:none}.wp-block-search .wp-block-search__label{font-weight:700}.wp-block-group.has-background{padding:1.25em 2.375em;margin-top:0;margin-bottom:0}.wp-block-separator{border:none;border-bottom:2px solid;margin-right:auto;margin-left:auto;opacity:.4}.wp-block-separator:not(.is-style-wide):not(.is-style-dots){max-width:100px}.wp-block-separator.has-background:not(.is-style-dots){border-bottom:none;height:1px}.wp-block-separator.has-background:not(.is-style-wide):not(.is-style-dots){height:2px}.wp-block-table{border-collapse:collapse}.wp-block-table thead{border-bottom:3px solid}.wp-block-table tfoot{border-top:3px solid}.wp-block-table td,.wp-block-table th{padding:.5em;border:1px solid;word-break:normal}.wp-block-table figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-table figcaption{color:hsla(0,0%,100%,.65)}.wp-block-video figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-video figcaption{color:hsla(0,0%,100%,.65)}.wp-block-template-part.has-background{padding:1.25em 2.375em;margin-top:0;margin-bottom:0}#end-resizable-editor-section{display:none}
#start-resizable-editor-section{display:none}.wp-block-audio figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-audio figcaption{color:hsla(0,0%,100%,.65)}.wp-block-code{font-family:Menlo,Consolas,monaco,monospace;color:#1e1e1e;padding:.8em 1em;border:1px solid #ddd;border-radius:4px}.wp-block-embed figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-embed figcaption{color:hsla(0,0%,100%,.65)}.blocks-gallery-caption{color:#555;font-size:13px;text-align:center}.is-dark-theme .blocks-gallery-caption{color:hsla(0,0%,100%,.65)}.wp-block-image figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-image figcaption{color:hsla(0,0%,100%,.65)}.wp-block-pullquote{border-top:4px solid;border-bottom:4px solid;margin-bottom:1.75em;color:currentColor}.wp-block-pullquote__citation,.wp-block-pullquote cite,.wp-block-pullquote footer{color:currentColor;text-transform:uppercase;font-size:.8125em;font-style:normal}.wp-block-quote{border-right:.25em solid;margin:0 0 1.75em;padding-right:1em}.wp-block-quote cite,.wp-block-quote footer{color:currentColor;font-size:.8125em;position:relative;font-style:normal}.wp-block-quote.has-text-align-right{border-right:none;border-left:.25em solid;padding-right:0;padding-left:1em}.wp-block-quote.has-text-align-center{border:none;padding-right:0}.wp-block-quote.is-large,.wp-block-quote.is-style-large{border:none}.wp-block-search .wp-block-search__label{font-weight:700}.wp-block-group.has-background{padding:1.25em 2.375em;margin-top:0;margin-bottom:0}.wp-block-separator{border:none;border-bottom:2px solid;margin-right:auto;margin-left:auto;opacity:.4}.wp-block-separator:not(.is-style-wide):not(.is-style-dots){width:100px}.wp-block-separator.has-background:not(.is-style-dots){border-bottom:none;height:1px}.wp-block-separator.has-background:not(.is-style-wide):not(.is-style-dots){height:2px}.wp-block-table thead{border-bottom:3px solid}.wp-block-table tfoot{border-top:3px solid}.wp-block-table td,.wp-block-table th{padding:.5em;border:1px solid;word-break:normal}.wp-block-table figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-table figcaption{color:hsla(0,0%,100%,.65)}.wp-block-video figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-video figcaption{color:hsla(0,0%,100%,.65)}.wp-block-template-part.has-background{padding:1.25em 2.375em;margin-top:0;margin-bottom:0}#end-resizable-editor-section{display:none}

View File

@ -68,9 +68,6 @@
/**
* Reset the WP Admin page styles for Gutenberg-like pages.
*/
/**
* These are default block editor widths in case the theme doesn't provide them.
*/
#start-resizable-editor-section {
display: none;
}
@ -133,25 +130,15 @@
font-style: normal;
}
.wp-block-navigation ul,
.wp-block-navigation ul li {
list-style: none;
}
.wp-block-navigation-link.wp-block-navigation-link {
margin: 0;
}
.wp-block-quote {
border-left: 0.25em solid currentColor;
margin: 0 0 1.75em 0;
padding-left: 1em;
}
.wp-block-quote cite,
.wp-block-quote footer, .wp-block-quote__citation {
.wp-block-quote footer {
color: currentColor;
font-size: 0.8125em;
margin-top: 1em;
position: relative;
font-style: normal;
}
@ -187,7 +174,7 @@
opacity: 0.4;
}
.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
max-width: 100px;
width: 100px;
}
.wp-block-separator.has-background:not(.is-style-dots) {
border-bottom: none;
@ -197,9 +184,6 @@
height: 2px;
}
.wp-block-table {
border-collapse: collapse;
}
.wp-block-table thead {
border-bottom: 3px solid;
}

View File

@ -1 +1 @@
#start-resizable-editor-section{display:none}.wp-block-audio figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-audio figcaption{color:hsla(0,0%,100%,.65)}.wp-block-code{font-family:Menlo,Consolas,monaco,monospace;color:#1e1e1e;padding:.8em 1em;border:1px solid #ddd;border-radius:4px}.wp-block-embed figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-embed figcaption{color:hsla(0,0%,100%,.65)}.blocks-gallery-caption{color:#555;font-size:13px;text-align:center}.is-dark-theme .blocks-gallery-caption{color:hsla(0,0%,100%,.65)}.wp-block-image figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-image figcaption{color:hsla(0,0%,100%,.65)}.wp-block-pullquote{border-top:4px solid;border-bottom:4px solid;margin-bottom:1.75em;color:currentColor}.wp-block-pullquote__citation,.wp-block-pullquote cite,.wp-block-pullquote footer{color:currentColor;text-transform:uppercase;font-size:.8125em;font-style:normal}.wp-block-navigation ul,.wp-block-navigation ul li{list-style:none}.wp-block-navigation-link.wp-block-navigation-link{margin:0}.wp-block-quote{border-left:.25em solid;margin:0 0 1.75em;padding-left:1em}.wp-block-quote__citation,.wp-block-quote cite,.wp-block-quote footer{color:currentColor;font-size:.8125em;margin-top:1em;position:relative;font-style:normal}.wp-block-quote.has-text-align-right{border-left:none;border-right:.25em solid;padding-left:0;padding-right:1em}.wp-block-quote.has-text-align-center{border:none;padding-left:0}.wp-block-quote.is-large,.wp-block-quote.is-style-large{border:none}.wp-block-search .wp-block-search__label{font-weight:700}.wp-block-group.has-background{padding:1.25em 2.375em;margin-top:0;margin-bottom:0}.wp-block-separator{border:none;border-bottom:2px solid;margin-left:auto;margin-right:auto;opacity:.4}.wp-block-separator:not(.is-style-wide):not(.is-style-dots){max-width:100px}.wp-block-separator.has-background:not(.is-style-dots){border-bottom:none;height:1px}.wp-block-separator.has-background:not(.is-style-wide):not(.is-style-dots){height:2px}.wp-block-table{border-collapse:collapse}.wp-block-table thead{border-bottom:3px solid}.wp-block-table tfoot{border-top:3px solid}.wp-block-table td,.wp-block-table th{padding:.5em;border:1px solid;word-break:normal}.wp-block-table figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-table figcaption{color:hsla(0,0%,100%,.65)}.wp-block-video figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-video figcaption{color:hsla(0,0%,100%,.65)}.wp-block-template-part.has-background{padding:1.25em 2.375em;margin-top:0;margin-bottom:0}#end-resizable-editor-section{display:none}
#start-resizable-editor-section{display:none}.wp-block-audio figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-audio figcaption{color:hsla(0,0%,100%,.65)}.wp-block-code{font-family:Menlo,Consolas,monaco,monospace;color:#1e1e1e;padding:.8em 1em;border:1px solid #ddd;border-radius:4px}.wp-block-embed figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-embed figcaption{color:hsla(0,0%,100%,.65)}.blocks-gallery-caption{color:#555;font-size:13px;text-align:center}.is-dark-theme .blocks-gallery-caption{color:hsla(0,0%,100%,.65)}.wp-block-image figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-image figcaption{color:hsla(0,0%,100%,.65)}.wp-block-pullquote{border-top:4px solid;border-bottom:4px solid;margin-bottom:1.75em;color:currentColor}.wp-block-pullquote__citation,.wp-block-pullquote cite,.wp-block-pullquote footer{color:currentColor;text-transform:uppercase;font-size:.8125em;font-style:normal}.wp-block-quote{border-left:.25em solid;margin:0 0 1.75em;padding-left:1em}.wp-block-quote cite,.wp-block-quote footer{color:currentColor;font-size:.8125em;position:relative;font-style:normal}.wp-block-quote.has-text-align-right{border-left:none;border-right:.25em solid;padding-left:0;padding-right:1em}.wp-block-quote.has-text-align-center{border:none;padding-left:0}.wp-block-quote.is-large,.wp-block-quote.is-style-large{border:none}.wp-block-search .wp-block-search__label{font-weight:700}.wp-block-group.has-background{padding:1.25em 2.375em;margin-top:0;margin-bottom:0}.wp-block-separator{border:none;border-bottom:2px solid;margin-left:auto;margin-right:auto;opacity:.4}.wp-block-separator:not(.is-style-wide):not(.is-style-dots){width:100px}.wp-block-separator.has-background:not(.is-style-dots){border-bottom:none;height:1px}.wp-block-separator.has-background:not(.is-style-wide):not(.is-style-dots){height:2px}.wp-block-table thead{border-bottom:3px solid}.wp-block-table tfoot{border-top:3px solid}.wp-block-table td,.wp-block-table th{padding:.5em;border:1px solid;word-break:normal}.wp-block-table figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-table figcaption{color:hsla(0,0%,100%,.65)}.wp-block-video figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-video figcaption{color:hsla(0,0%,100%,.65)}.wp-block-template-part.has-background{padding:1.25em 2.375em;margin-top:0;margin-bottom:0}#end-resizable-editor-section{display:none}

View File

@ -69,9 +69,6 @@
/**
* Reset the WP Admin page styles for Gutenberg-like pages.
*/
/**
* These are default block editor widths in case the theme doesn't provide them.
*/
:root {
--wp-admin-theme-color: #007cba;
--wp-admin-theme-color-darker-10: #006ba1;
@ -91,6 +88,7 @@
@media (prefers-reduced-motion: reduce) {
.components-animate__appear {
animation-duration: 1ms;
animation-delay: 0s;
}
}
.components-animate__appear.is-from-top, .components-animate__appear.is-from-top.is-from-left {
@ -121,6 +119,7 @@
@media (prefers-reduced-motion: reduce) {
.components-animate__slide-in {
animation-duration: 1ms;
animation-delay: 0s;
}
}
.components-animate__slide-in.is-from-left {
@ -196,6 +195,7 @@
.components-button {
display: inline-flex;
text-decoration: none;
font-weight: normal;
font-size: 13px;
margin: 0;
border: 0;
@ -231,6 +231,7 @@
@media (prefers-reduced-motion: reduce) {
.components-button {
transition-duration: 0s;
transition-delay: 0s;
}
}
.components-button[aria-expanded=true], .components-button:hover {
@ -381,6 +382,7 @@
@media (prefers-reduced-motion: reduce) {
.components-button.is-link {
transition-duration: 0s;
transition-delay: 0s;
}
}
.components-button.is-link:hover:not(:disabled), .components-button.is-link:active:not(:disabled) {
@ -437,7 +439,7 @@
display: inline-block;
flex: 0 0 auto;
margin-right: 2px;
margin-left: 10px;
margin-left: 2px;
}
.components-button.has-icon.has-text {
justify-content: left;
@ -445,6 +447,9 @@
.components-button.has-icon.has-text svg {
margin-left: 8px;
}
.components-button.has-icon.has-text .dashicon {
margin-left: 10px;
}
.components-button.is-pressed {
color: #fff;
background: #1e1e1e;
@ -506,6 +511,7 @@
@media (prefers-reduced-motion: reduce) {
.components-checkbox-control__input[type=checkbox] {
transition-duration: 0s;
transition-delay: 0s;
}
}
@media (min-width: 600px) {
@ -599,6 +605,7 @@
@media (prefers-reduced-motion: reduce) {
.components-checkbox-control__input[type=checkbox] {
transition-duration: 0s;
transition-delay: 0s;
}
}
.components-checkbox-control__input[type=checkbox]:focus {
@ -680,6 +687,7 @@ svg.components-checkbox-control__checked {
@media (prefers-reduced-motion: reduce) {
.components-circular-option-picker__option-wrapper {
transition-duration: 0s;
transition-delay: 0s;
}
}
.components-circular-option-picker__option-wrapper:hover {
@ -718,6 +726,7 @@ svg.components-checkbox-control__checked {
@media (prefers-reduced-motion: reduce) {
.components-circular-option-picker__option {
transition-duration: 0s;
transition-delay: 0s;
}
}
.components-circular-option-picker__option:hover {
@ -1020,6 +1029,7 @@ svg.components-checkbox-control__checked {
.components-color-picker__hue-pointer,
.components-color-picker__saturation-pointer {
transition-duration: 0s;
transition-delay: 0s;
}
}
@ -1124,6 +1134,7 @@ input.components-combobox-control__input[type=text]:focus {
@media (prefers-reduced-motion: reduce) {
.components-combobox-control__suggestions-container {
transition-duration: 0s;
transition-delay: 0s;
}
}
@media (min-width: 600px) {
@ -2368,6 +2379,7 @@ input.components-combobox-control__input[type=text]:focus {
.components-datetime select,
.components-datetime input {
transition-duration: 0s;
transition-delay: 0s;
}
}
.components-datetime select,
@ -2580,6 +2592,7 @@ body.is-dragging-components-draggable {
@media (prefers-reduced-motion: reduce) {
.components-drop-zone {
transition-duration: 0s;
transition-delay: 0s;
}
}
.components-drop-zone.is-active {
@ -2590,6 +2603,7 @@ body.is-dragging-components-draggable {
@media (prefers-reduced-motion: reduce) {
.components-drop-zone.is-active {
transition-duration: 0s;
transition-delay: 0s;
}
}
.components-drop-zone.is-dragging-over-element {
@ -2612,6 +2626,7 @@ body.is-dragging-components-draggable {
@media (prefers-reduced-motion: reduce) {
.components-drop-zone__content {
transition-duration: 0s;
transition-delay: 0s;
}
}
@ -2755,6 +2770,7 @@ body.is-dragging-components-draggable {
@media (prefers-reduced-motion: reduce) {
.components-font-size-picker__controls .components-font-size-picker__number {
transition-duration: 0s;
transition-delay: 0s;
}
}
@media (min-width: 600px) {
@ -2838,6 +2854,7 @@ body.is-dragging-components-draggable {
@media (prefers-reduced-motion: reduce) {
.components-form-toggle .components-form-toggle__track {
transition-duration: 0s;
transition-delay: 0s;
}
}
.components-form-toggle .components-form-toggle__thumb {
@ -2856,6 +2873,7 @@ body.is-dragging-components-draggable {
@media (prefers-reduced-motion: reduce) {
.components-form-toggle .components-form-toggle__thumb {
transition-duration: 0s;
transition-delay: 0s;
}
}
.components-form-toggle.is-checked .components-form-toggle__track {
@ -2912,7 +2930,7 @@ body.is-dragging-components-draggable {
line-height: normal;
display: flex;
flex-wrap: wrap;
align-items: flex-start;
align-items: center;
width: 100%;
margin: 0 0 8px 0;
padding: 2px 4px;
@ -2921,6 +2939,7 @@ body.is-dragging-components-draggable {
@media (prefers-reduced-motion: reduce) {
.components-form-token-field__input-container {
transition-duration: 0s;
transition-delay: 0s;
}
}
@media (min-width: 600px) {
@ -3070,7 +3089,9 @@ body.is-dragging-components-draggable {
.components-form-token-field__token-text,
.components-form-token-field__remove-token.components-button {
transition-duration: 0s;
transition-delay: 0s;
animation-duration: 1ms;
animation-delay: 0s;
}
}
@ -3108,6 +3129,7 @@ body.is-dragging-components-draggable {
@media (prefers-reduced-motion: reduce) {
.components-form-token-field__suggestions-list {
transition-duration: 0s;
transition-delay: 0s;
}
}
@ -3184,15 +3206,17 @@ body.is-dragging-components-draggable {
}
}
.components-guide__page-control {
margin: 8px 0 8px 0;
margin: 0;
text-align: center;
}
.components-guide__page-control li {
display: inline-block;
margin: 0;
}
.components-guide__page-control .components-button {
height: 30px;
min-width: 20px;
margin: -6px 0;
}
.components-guide .components-modal__content {
padding: 0;
@ -3277,6 +3301,11 @@ body.is-dragging-components-draggable {
padding-top: 8px;
border-top: 1px solid #1e1e1e;
}
.components-menu-group + .components-menu-group.has-hidden-separator {
border-top: none;
margin-top: 0;
padding-top: 0;
}
.components-menu-group__label {
padding: 0 8px;
@ -3308,6 +3337,14 @@ body.is-dragging-components-draggable {
margin-right: -2px;
margin-left: 8px;
}
.components-menu-item__button.is-primary,
.components-menu-item__button.components-button.is-primary {
justify-content: center;
}
.components-menu-item__button.is-primary .components-menu-item__item,
.components-menu-item__button.components-button.is-primary .components-menu-item__item {
margin-left: 0;
}
.components-menu-item__info-wrapper {
display: flex;
@ -3367,6 +3404,7 @@ body.is-dragging-components-draggable {
@media (prefers-reduced-motion: reduce) {
.components-modal__screen-overlay {
animation-duration: 1ms;
animation-delay: 0s;
}
}
@ -3378,9 +3416,9 @@ body.is-dragging-components-draggable {
right: 0;
box-sizing: border-box;
margin: 0;
border: 1px solid #ddd;
background: #fff;
box-shadow: 0 3px 30px rgba(0, 0, 0, 0.2);
box-shadow: 0 10px 10px rgba(0, 0, 0, 0.25);
border-radius: 2px;
overflow: auto;
}
@media (min-width: 600px) {
@ -3400,6 +3438,7 @@ body.is-dragging-components-draggable {
@media (min-width: 600px) and (prefers-reduced-motion: reduce) {
.components-modal__frame {
animation-duration: 1ms;
animation-delay: 0s;
}
}
@ -3414,7 +3453,7 @@ body.is-dragging-components-draggable {
.components-modal__header {
box-sizing: border-box;
border-bottom: 1px solid #ddd;
padding: 0 24px;
padding: 0 32px;
display: flex;
flex-direction: row;
justify-content: space-between;
@ -3426,7 +3465,7 @@ body.is-dragging-components-draggable {
position: -webkit-sticky;
position: sticky;
top: 0;
margin: 0 -24px 24px;
margin: 0 -32px 24px;
}
@supports (-ms-ime-align: auto) {
.components-modal__header {
@ -3467,7 +3506,7 @@ body.is-dragging-components-draggable {
.components-modal__content {
box-sizing: border-box;
height: 100%;
padding: 0 24px 24px;
padding: 0 32px 24px;
}
@supports (-ms-ime-align: auto) {
.components-modal__content {
@ -3605,6 +3644,7 @@ body.is-dragging-components-draggable {
@media (prefers-reduced-motion: reduce) {
.components-panel__body > .components-panel__body-title {
transition-duration: 0s;
transition-delay: 0s;
}
}
@ -3620,7 +3660,7 @@ body.is-dragging-components-draggable {
.components-panel__body-toggle.components-button {
position: relative;
padding: 16px;
padding: 16px 16px 16px 48px;
outline: none;
width: 100%;
font-weight: 500;
@ -3634,6 +3674,7 @@ body.is-dragging-components-draggable {
@media (prefers-reduced-motion: reduce) {
.components-panel__body-toggle.components-button {
transition-duration: 0s;
transition-delay: 0s;
}
}
.components-panel__body-toggle.components-button:focus {
@ -3653,6 +3694,7 @@ body.is-dragging-components-draggable {
@media (prefers-reduced-motion: reduce) {
.components-panel__body-toggle.components-button .components-panel__arrow {
transition-duration: 0s;
transition-delay: 0s;
}
}
body.rtl .components-panel__body-toggle.components-button .dashicons-arrow-right {
@ -3747,6 +3789,9 @@ body.rtl .components-panel__body-toggle.components-button .dashicons-arrow-right
fill: currentColor;
margin-left: 1ch;
}
.components-placeholder__label:empty {
display: none;
}
.components-placeholder__fieldset,
.components-placeholder__fieldset form {
@ -3783,6 +3828,7 @@ body.rtl .components-panel__body-toggle.components-button .dashicons-arrow-right
@media (prefers-reduced-motion: reduce) {
.components-placeholder__input[type=url] {
transition-duration: 0s;
transition-delay: 0s;
}
}
@media (min-width: 600px) {
@ -4093,6 +4139,7 @@ body.rtl .components-panel__body-toggle.components-button .dashicons-arrow-right
@media (prefers-reduced-motion: reduce) {
.components-radio-control__input[type=radio] {
transition-duration: 0s;
transition-delay: 0s;
}
}
@media (min-width: 600px) {
@ -4203,6 +4250,7 @@ body.rtl .components-panel__body-toggle.components-button .dashicons-arrow-right
@media (prefers-reduced-motion: reduce) {
.components-resizable-box__side-handle::before {
transition-duration: 0s;
transition-delay: 0s;
}
}
@ -4252,6 +4300,7 @@ body.rtl .components-panel__body-toggle.components-button .dashicons-arrow-right
.components-resizable-box__side-handle.components-resizable-box__handle-top:active::before,
.components-resizable-box__side-handle.components-resizable-box__handle-bottom:active::before {
animation-duration: 1ms;
animation-delay: 0s;
}
}
@ -4268,6 +4317,7 @@ body.rtl .components-panel__body-toggle.components-button .dashicons-arrow-right
.components-resizable-box__side-handle.components-resizable-box__handle-left:active::before,
.components-resizable-box__side-handle.components-resizable-box__handle-right:active::before {
animation-duration: 1ms;
animation-delay: 0s;
}
}
@ -4390,6 +4440,7 @@ body.lockscroll {
max-width: 600px;
box-sizing: border-box;
cursor: pointer;
pointer-events: auto;
}
@media (min-width: 600px) {
.components-snackbar {
@ -4452,6 +4503,7 @@ body.lockscroll {
z-index: 100000;
width: 100%;
box-sizing: border-box;
pointer-events: none;
}
.components-snackbar-list__notice-container {
@ -4558,6 +4610,7 @@ body.lockscroll {
.components-text-control__input[type=month],
.components-text-control__input[type=number] {
transition-duration: 0s;
transition-delay: 0s;
}
}
@media (min-width: 600px) {
@ -4767,6 +4820,7 @@ body.lockscroll {
.components-accessible-toolbar .components-button::before,
.components-toolbar .components-button::before {
animation-duration: 1ms;
animation-delay: 0s;
}
}
.components-accessible-toolbar .components-button svg,
@ -4897,63 +4951,177 @@ div.components-toolbar > div + div.has-left-divider::before {
height: 20px;
}
.components-accessible-toolbar .components-toolbar-group > .components-button.components-button.has-icon,
.components-toolbar div > .components-button.components-button.has-icon {
min-width: 36px;
padding-right: 6px;
padding-left: 6px;
}
.components-accessible-toolbar .components-toolbar-group > .components-button.components-button.has-icon svg,
.components-toolbar div > .components-button.components-button.has-icon svg {
min-width: 24px;
}
.components-accessible-toolbar .components-toolbar-group > .components-button.components-button.has-icon::before,
.components-toolbar div > .components-button.components-button.has-icon::before {
right: 2px;
left: 2px;
}
.components-accessible-toolbar .components-toolbar-group > .components-button:first-child.has-icon,
.components-accessible-toolbar .components-toolbar-group > div:first-child > .components-button.has-icon,
.components-toolbar div:first-child .components-button.has-icon {
min-width: 42px;
padding-right: 11px;
padding-left: 6px;
}
.components-accessible-toolbar .components-toolbar-group > .components-button:first-child.has-icon::before,
.components-accessible-toolbar .components-toolbar-group > div:first-child > .components-button.has-icon::before,
.components-toolbar div:first-child .components-button.has-icon::before {
right: 8px;
left: 2px;
}
.components-accessible-toolbar .components-toolbar-group > .components-button:last-of-type.has-icon,
.components-accessible-toolbar .components-toolbar-group > div:last-child > .components-button.has-icon,
.components-toolbar div:last-child .components-button.has-icon {
min-width: 42px;
padding-right: 6px;
padding-left: 11px;
}
.components-accessible-toolbar .components-toolbar-group > .components-button:last-of-type.has-icon::before,
.components-accessible-toolbar .components-toolbar-group > div:last-child > .components-button.has-icon::before,
.components-toolbar div:last-child .components-button.has-icon::before {
right: 2px;
left: 8px;
}
.components-accessible-toolbar .components-toolbar-group > .components-button:first-of-type:last-of-type.has-icon,
.components-accessible-toolbar .components-toolbar-group > div:first-child:last-child > .components-button.has-icon,
.components-toolbar div:first-child:last-child > .components-button.has-icon {
.block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > .components-button:first-child:last-child,
.block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > .components-dropdown:first-child:last-child .components-button, .block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot.components-dropdown > .components-button.components-button, .block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot.components-dropdown > * .components-button,
.block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > .components-button:first-child:last-child,
.block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > .components-dropdown:first-child:last-child .components-button,
.block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot.components-dropdown > .components-button.components-button,
.block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot.components-dropdown > * .components-button,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > .components-button:first-child:last-child,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > .components-dropdown:first-child:last-child .components-button,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar.components-dropdown > .components-button.components-button,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar.components-dropdown > * .components-button,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > .components-button:first-child:last-child,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > .components-dropdown:first-child:last-child .components-button,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown.components-dropdown > .components-button.components-button,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown.components-dropdown > * .components-button,
.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > .components-button:first-child:last-child,
.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > .components-dropdown:first-child:last-child .components-button,
.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group.components-dropdown > .components-button.components-button,
.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group.components-dropdown > * .components-button {
min-width: 48px;
padding-right: 12px;
padding-left: 12px;
}
.components-accessible-toolbar .components-toolbar-group > .components-button:first-of-type:last-of-type.has-icon::before,
.components-accessible-toolbar .components-toolbar-group > div:first-child:last-child > .components-button.has-icon::before,
.components-toolbar div:first-child:last-child > .components-button.has-icon::before {
.block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > .components-button:first-child:last-child::before,
.block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > .components-dropdown:first-child:last-child .components-button::before, .block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot.components-dropdown > .components-button.components-button::before, .block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot.components-dropdown > * .components-button::before,
.block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > .components-button:first-child:last-child::before,
.block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > .components-dropdown:first-child:last-child .components-button::before,
.block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot.components-dropdown > .components-button.components-button::before,
.block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot.components-dropdown > * .components-button::before,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > .components-button:first-child:last-child::before,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > .components-dropdown:first-child:last-child .components-button::before,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar.components-dropdown > .components-button.components-button::before,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar.components-dropdown > * .components-button::before,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > .components-button:first-child:last-child::before,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > .components-dropdown:first-child:last-child .components-button::before,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown.components-dropdown > .components-button.components-button::before,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown.components-dropdown > * .components-button::before,
.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > .components-button:first-child:last-child::before,
.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > .components-dropdown:first-child:last-child .components-button::before,
.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group.components-dropdown > .components-button.components-button::before,
.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group.components-dropdown > * .components-button::before {
right: 8px;
left: 8px;
}
.block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > .components-button:first-child,
.block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > div:first-child > .components-button,
.block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > .components-dropdown:first-child .components-button,
.block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > .components-button:first-child,
.block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > div:first-child > .components-button,
.block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > .components-dropdown:first-child .components-button,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > .components-button:first-child,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > div:first-child > .components-button,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > .components-dropdown:first-child .components-button,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > .components-button:first-child,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > div:first-child > .components-button,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > .components-dropdown:first-child .components-button,
.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > .components-button:first-child,
.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > div:first-child > .components-button,
.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > .components-dropdown:first-child .components-button {
min-width: 42px;
padding-right: 11px;
padding-left: 6px;
}
.block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > .components-button:first-child::before,
.block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > div:first-child > .components-button::before,
.block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > .components-dropdown:first-child .components-button::before,
.block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > .components-button:first-child::before,
.block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > div:first-child > .components-button::before,
.block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > .components-dropdown:first-child .components-button::before,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > .components-button:first-child::before,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > div:first-child > .components-button::before,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > .components-dropdown:first-child .components-button::before,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > .components-button:first-child::before,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > div:first-child > .components-button::before,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > .components-dropdown:first-child .components-button::before,
.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > .components-button:first-child::before,
.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > div:first-child > .components-button::before,
.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > .components-dropdown:first-child .components-button::before {
right: 8px;
left: 2px;
}
.block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > .components-button,
.block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > div > .components-button,
.block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > .components-dropdown .components-button,
.block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > .components-button,
.block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > div > .components-button,
.block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > .components-dropdown .components-button,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > .components-button,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > div > .components-button,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > .components-dropdown .components-button,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > .components-button,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > div > .components-button,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > .components-dropdown .components-button,
.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > .components-button,
.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > div > .components-button,
.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > .components-dropdown .components-button {
min-width: 36px;
padding-right: 6px;
padding-left: 6px;
}
.block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > .components-button svg,
.block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > div > .components-button svg,
.block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > .components-dropdown .components-button svg,
.block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > .components-button svg,
.block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > div > .components-button svg,
.block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > .components-dropdown .components-button svg,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > .components-button svg,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > div > .components-button svg,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > .components-dropdown .components-button svg,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > .components-button svg,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > div > .components-button svg,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > .components-dropdown .components-button svg,
.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > .components-button svg,
.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > div > .components-button svg,
.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > .components-dropdown .components-button svg {
min-width: 24px;
}
.block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > .components-button::before,
.block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > div > .components-button::before,
.block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > .components-dropdown .components-button::before,
.block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > .components-button::before,
.block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > div > .components-button::before,
.block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > .components-dropdown .components-button::before,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > .components-button::before,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > div > .components-button::before,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > .components-dropdown .components-button::before,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > .components-button::before,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > div > .components-button::before,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > .components-dropdown .components-button::before,
.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > .components-button::before,
.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > div > .components-button::before,
.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > .components-dropdown .components-button::before {
right: 2px;
left: 2px;
}
.block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > .components-button:last-child,
.block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > div:last-child > .components-button,
.block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > .components-dropdown:last-child .components-button,
.block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > .components-button:last-child,
.block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > div:last-child > .components-button,
.block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > .components-dropdown:last-child .components-button,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > .components-button:last-child,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > div:last-child > .components-button,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > .components-dropdown:last-child .components-button,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > .components-button:last-child,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > div:last-child > .components-button,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > .components-dropdown:last-child .components-button,
.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > .components-button:last-child,
.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > div:last-child > .components-button,
.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > .components-dropdown:last-child .components-button {
min-width: 42px;
padding-right: 6px;
padding-left: 11px;
}
.block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > .components-button:last-child::before,
.block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > div:last-child > .components-button::before,
.block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > .components-dropdown:last-child .components-button::before,
.block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > .components-button:last-child::before,
.block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > div:last-child > .components-button::before,
.block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > .components-dropdown:last-child .components-button::before,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > .components-button:last-child::before,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > div:last-child > .components-button::before,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > .components-dropdown:last-child .components-button::before,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > .components-button:last-child::before,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > div:last-child > .components-button::before,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > .components-dropdown:last-child .components-button::before,
.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > .components-button:last-child::before,
.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > div:last-child > .components-button::before,
.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > .components-dropdown:last-child .components-button::before {
right: 2px;
left: 8px;
}
.components-tooltip.components-popover {
z-index: 1000002;

File diff suppressed because one or more lines are too long

View File

@ -69,9 +69,6 @@
/**
* Reset the WP Admin page styles for Gutenberg-like pages.
*/
/**
* These are default block editor widths in case the theme doesn't provide them.
*/
:root {
--wp-admin-theme-color: #007cba;
--wp-admin-theme-color-darker-10: #006ba1;
@ -91,6 +88,7 @@
@media (prefers-reduced-motion: reduce) {
.components-animate__appear {
animation-duration: 1ms;
animation-delay: 0s;
}
}
.components-animate__appear.is-from-top, .components-animate__appear.is-from-top.is-from-left {
@ -121,6 +119,7 @@
@media (prefers-reduced-motion: reduce) {
.components-animate__slide-in {
animation-duration: 1ms;
animation-delay: 0s;
}
}
.components-animate__slide-in.is-from-left {
@ -196,6 +195,7 @@
.components-button {
display: inline-flex;
text-decoration: none;
font-weight: normal;
font-size: 13px;
margin: 0;
border: 0;
@ -231,6 +231,7 @@
@media (prefers-reduced-motion: reduce) {
.components-button {
transition-duration: 0s;
transition-delay: 0s;
}
}
.components-button[aria-expanded=true], .components-button:hover {
@ -381,6 +382,7 @@
@media (prefers-reduced-motion: reduce) {
.components-button.is-link {
transition-duration: 0s;
transition-delay: 0s;
}
}
.components-button.is-link:hover:not(:disabled), .components-button.is-link:active:not(:disabled) {
@ -437,7 +439,7 @@
display: inline-block;
flex: 0 0 auto;
margin-left: 2px;
margin-right: 10px;
margin-right: 2px;
}
.components-button.has-icon.has-text {
justify-content: left;
@ -445,6 +447,9 @@
.components-button.has-icon.has-text svg {
margin-right: 8px;
}
.components-button.has-icon.has-text .dashicon {
margin-right: 10px;
}
.components-button.is-pressed {
color: #fff;
background: #1e1e1e;
@ -506,6 +511,7 @@
@media (prefers-reduced-motion: reduce) {
.components-checkbox-control__input[type=checkbox] {
transition-duration: 0s;
transition-delay: 0s;
}
}
@media (min-width: 600px) {
@ -599,6 +605,7 @@
@media (prefers-reduced-motion: reduce) {
.components-checkbox-control__input[type=checkbox] {
transition-duration: 0s;
transition-delay: 0s;
}
}
.components-checkbox-control__input[type=checkbox]:focus {
@ -680,6 +687,7 @@ svg.components-checkbox-control__checked {
@media (prefers-reduced-motion: reduce) {
.components-circular-option-picker__option-wrapper {
transition-duration: 0s;
transition-delay: 0s;
}
}
.components-circular-option-picker__option-wrapper:hover {
@ -718,6 +726,7 @@ svg.components-checkbox-control__checked {
@media (prefers-reduced-motion: reduce) {
.components-circular-option-picker__option {
transition-duration: 0s;
transition-delay: 0s;
}
}
.components-circular-option-picker__option:hover {
@ -1023,6 +1032,7 @@ svg.components-checkbox-control__checked {
.components-color-picker__hue-pointer,
.components-color-picker__saturation-pointer {
transition-duration: 0s;
transition-delay: 0s;
}
}
@ -1128,6 +1138,7 @@ input.components-combobox-control__input[type=text]:focus {
@media (prefers-reduced-motion: reduce) {
.components-combobox-control__suggestions-container {
transition-duration: 0s;
transition-delay: 0s;
}
}
@media (min-width: 600px) {
@ -2375,6 +2386,7 @@ input.components-combobox-control__input[type=text]:focus {
.components-datetime select,
.components-datetime input {
transition-duration: 0s;
transition-delay: 0s;
}
}
.components-datetime select,
@ -2590,6 +2602,7 @@ body.is-dragging-components-draggable {
@media (prefers-reduced-motion: reduce) {
.components-drop-zone {
transition-duration: 0s;
transition-delay: 0s;
}
}
.components-drop-zone.is-active {
@ -2600,6 +2613,7 @@ body.is-dragging-components-draggable {
@media (prefers-reduced-motion: reduce) {
.components-drop-zone.is-active {
transition-duration: 0s;
transition-delay: 0s;
}
}
.components-drop-zone.is-dragging-over-element {
@ -2622,6 +2636,7 @@ body.is-dragging-components-draggable {
@media (prefers-reduced-motion: reduce) {
.components-drop-zone__content {
transition-duration: 0s;
transition-delay: 0s;
}
}
@ -2765,6 +2780,7 @@ body.is-dragging-components-draggable {
@media (prefers-reduced-motion: reduce) {
.components-font-size-picker__controls .components-font-size-picker__number {
transition-duration: 0s;
transition-delay: 0s;
}
}
@media (min-width: 600px) {
@ -2848,6 +2864,7 @@ body.is-dragging-components-draggable {
@media (prefers-reduced-motion: reduce) {
.components-form-toggle .components-form-toggle__track {
transition-duration: 0s;
transition-delay: 0s;
}
}
.components-form-toggle .components-form-toggle__thumb {
@ -2866,6 +2883,7 @@ body.is-dragging-components-draggable {
@media (prefers-reduced-motion: reduce) {
.components-form-toggle .components-form-toggle__thumb {
transition-duration: 0s;
transition-delay: 0s;
}
}
.components-form-toggle.is-checked .components-form-toggle__track {
@ -2922,7 +2940,7 @@ body.is-dragging-components-draggable {
line-height: normal;
display: flex;
flex-wrap: wrap;
align-items: flex-start;
align-items: center;
width: 100%;
margin: 0 0 8px 0;
padding: 2px 4px;
@ -2931,6 +2949,7 @@ body.is-dragging-components-draggable {
@media (prefers-reduced-motion: reduce) {
.components-form-token-field__input-container {
transition-duration: 0s;
transition-delay: 0s;
}
}
@media (min-width: 600px) {
@ -3080,7 +3099,9 @@ body.is-dragging-components-draggable {
.components-form-token-field__token-text,
.components-form-token-field__remove-token.components-button {
transition-duration: 0s;
transition-delay: 0s;
animation-duration: 1ms;
animation-delay: 0s;
}
}
@ -3118,6 +3139,7 @@ body.is-dragging-components-draggable {
@media (prefers-reduced-motion: reduce) {
.components-form-token-field__suggestions-list {
transition-duration: 0s;
transition-delay: 0s;
}
}
@ -3194,15 +3216,17 @@ body.is-dragging-components-draggable {
}
}
.components-guide__page-control {
margin: 8px 0 8px 0;
margin: 0;
text-align: center;
}
.components-guide__page-control li {
display: inline-block;
margin: 0;
}
.components-guide__page-control .components-button {
height: 30px;
min-width: 20px;
margin: -6px 0;
}
.components-guide .components-modal__content {
padding: 0;
@ -3287,6 +3311,11 @@ body.is-dragging-components-draggable {
padding-top: 8px;
border-top: 1px solid #1e1e1e;
}
.components-menu-group + .components-menu-group.has-hidden-separator {
border-top: none;
margin-top: 0;
padding-top: 0;
}
.components-menu-group__label {
padding: 0 8px;
@ -3318,6 +3347,14 @@ body.is-dragging-components-draggable {
margin-left: -2px;
margin-right: 8px;
}
.components-menu-item__button.is-primary,
.components-menu-item__button.components-button.is-primary {
justify-content: center;
}
.components-menu-item__button.is-primary .components-menu-item__item,
.components-menu-item__button.components-button.is-primary .components-menu-item__item {
margin-right: 0;
}
.components-menu-item__info-wrapper {
display: flex;
@ -3377,6 +3414,7 @@ body.is-dragging-components-draggable {
@media (prefers-reduced-motion: reduce) {
.components-modal__screen-overlay {
animation-duration: 1ms;
animation-delay: 0s;
}
}
@ -3388,9 +3426,9 @@ body.is-dragging-components-draggable {
left: 0;
box-sizing: border-box;
margin: 0;
border: 1px solid #ddd;
background: #fff;
box-shadow: 0 3px 30px rgba(0, 0, 0, 0.2);
box-shadow: 0 10px 10px rgba(0, 0, 0, 0.25);
border-radius: 2px;
overflow: auto;
}
@media (min-width: 600px) {
@ -3410,6 +3448,7 @@ body.is-dragging-components-draggable {
@media (min-width: 600px) and (prefers-reduced-motion: reduce) {
.components-modal__frame {
animation-duration: 1ms;
animation-delay: 0s;
}
}
@ -3424,7 +3463,7 @@ body.is-dragging-components-draggable {
.components-modal__header {
box-sizing: border-box;
border-bottom: 1px solid #ddd;
padding: 0 24px;
padding: 0 32px;
display: flex;
flex-direction: row;
justify-content: space-between;
@ -3436,7 +3475,7 @@ body.is-dragging-components-draggable {
position: -webkit-sticky;
position: sticky;
top: 0;
margin: 0 -24px 24px;
margin: 0 -32px 24px;
}
@supports (-ms-ime-align: auto) {
.components-modal__header {
@ -3477,7 +3516,7 @@ body.is-dragging-components-draggable {
.components-modal__content {
box-sizing: border-box;
height: 100%;
padding: 0 24px 24px;
padding: 0 32px 24px;
}
@supports (-ms-ime-align: auto) {
.components-modal__content {
@ -3615,6 +3654,7 @@ body.is-dragging-components-draggable {
@media (prefers-reduced-motion: reduce) {
.components-panel__body > .components-panel__body-title {
transition-duration: 0s;
transition-delay: 0s;
}
}
@ -3630,7 +3670,7 @@ body.is-dragging-components-draggable {
.components-panel__body-toggle.components-button {
position: relative;
padding: 16px;
padding: 16px 48px 16px 16px;
outline: none;
width: 100%;
font-weight: 500;
@ -3646,6 +3686,7 @@ body.is-dragging-components-draggable {
@media (prefers-reduced-motion: reduce) {
.components-panel__body-toggle.components-button {
transition-duration: 0s;
transition-delay: 0s;
}
}
.components-panel__body-toggle.components-button:focus {
@ -3665,6 +3706,7 @@ body.is-dragging-components-draggable {
@media (prefers-reduced-motion: reduce) {
.components-panel__body-toggle.components-button .components-panel__arrow {
transition-duration: 0s;
transition-delay: 0s;
}
}
body.rtl .components-panel__body-toggle.components-button .dashicons-arrow-right {
@ -3759,6 +3801,9 @@ body.rtl .components-panel__body-toggle.components-button .dashicons-arrow-right
fill: currentColor;
margin-right: 1ch;
}
.components-placeholder__label:empty {
display: none;
}
.components-placeholder__fieldset,
.components-placeholder__fieldset form {
@ -3795,6 +3840,7 @@ body.rtl .components-panel__body-toggle.components-button .dashicons-arrow-right
@media (prefers-reduced-motion: reduce) {
.components-placeholder__input[type=url] {
transition-duration: 0s;
transition-delay: 0s;
}
}
@media (min-width: 600px) {
@ -4109,6 +4155,7 @@ body.rtl .components-panel__body-toggle.components-button .dashicons-arrow-right
@media (prefers-reduced-motion: reduce) {
.components-radio-control__input[type=radio] {
transition-duration: 0s;
transition-delay: 0s;
}
}
@media (min-width: 600px) {
@ -4219,6 +4266,7 @@ body.rtl .components-panel__body-toggle.components-button .dashicons-arrow-right
@media (prefers-reduced-motion: reduce) {
.components-resizable-box__side-handle::before {
transition-duration: 0s;
transition-delay: 0s;
}
}
@ -4268,6 +4316,7 @@ body.rtl .components-panel__body-toggle.components-button .dashicons-arrow-right
.components-resizable-box__side-handle.components-resizable-box__handle-top:active::before,
.components-resizable-box__side-handle.components-resizable-box__handle-bottom:active::before {
animation-duration: 1ms;
animation-delay: 0s;
}
}
@ -4284,6 +4333,7 @@ body.rtl .components-panel__body-toggle.components-button .dashicons-arrow-right
.components-resizable-box__side-handle.components-resizable-box__handle-left:active::before,
.components-resizable-box__side-handle.components-resizable-box__handle-right:active::before {
animation-duration: 1ms;
animation-delay: 0s;
}
}
@ -4409,6 +4459,7 @@ body.lockscroll {
max-width: 600px;
box-sizing: border-box;
cursor: pointer;
pointer-events: auto;
}
@media (min-width: 600px) {
.components-snackbar {
@ -4471,6 +4522,7 @@ body.lockscroll {
z-index: 100000;
width: 100%;
box-sizing: border-box;
pointer-events: none;
}
.components-snackbar-list__notice-container {
@ -4577,6 +4629,7 @@ body.lockscroll {
.components-text-control__input[type=month],
.components-text-control__input[type=number] {
transition-duration: 0s;
transition-delay: 0s;
}
}
@media (min-width: 600px) {
@ -4786,6 +4839,7 @@ body.lockscroll {
.components-accessible-toolbar .components-button::before,
.components-toolbar .components-button::before {
animation-duration: 1ms;
animation-delay: 0s;
}
}
.components-accessible-toolbar .components-button svg,
@ -4916,63 +4970,177 @@ div.components-toolbar > div + div.has-left-divider::before {
height: 20px;
}
.components-accessible-toolbar .components-toolbar-group > .components-button.components-button.has-icon,
.components-toolbar div > .components-button.components-button.has-icon {
min-width: 36px;
padding-left: 6px;
padding-right: 6px;
}
.components-accessible-toolbar .components-toolbar-group > .components-button.components-button.has-icon svg,
.components-toolbar div > .components-button.components-button.has-icon svg {
min-width: 24px;
}
.components-accessible-toolbar .components-toolbar-group > .components-button.components-button.has-icon::before,
.components-toolbar div > .components-button.components-button.has-icon::before {
left: 2px;
right: 2px;
}
.components-accessible-toolbar .components-toolbar-group > .components-button:first-child.has-icon,
.components-accessible-toolbar .components-toolbar-group > div:first-child > .components-button.has-icon,
.components-toolbar div:first-child .components-button.has-icon {
min-width: 42px;
padding-left: 11px;
padding-right: 6px;
}
.components-accessible-toolbar .components-toolbar-group > .components-button:first-child.has-icon::before,
.components-accessible-toolbar .components-toolbar-group > div:first-child > .components-button.has-icon::before,
.components-toolbar div:first-child .components-button.has-icon::before {
left: 8px;
right: 2px;
}
.components-accessible-toolbar .components-toolbar-group > .components-button:last-of-type.has-icon,
.components-accessible-toolbar .components-toolbar-group > div:last-child > .components-button.has-icon,
.components-toolbar div:last-child .components-button.has-icon {
min-width: 42px;
padding-left: 6px;
padding-right: 11px;
}
.components-accessible-toolbar .components-toolbar-group > .components-button:last-of-type.has-icon::before,
.components-accessible-toolbar .components-toolbar-group > div:last-child > .components-button.has-icon::before,
.components-toolbar div:last-child .components-button.has-icon::before {
left: 2px;
right: 8px;
}
.components-accessible-toolbar .components-toolbar-group > .components-button:first-of-type:last-of-type.has-icon,
.components-accessible-toolbar .components-toolbar-group > div:first-child:last-child > .components-button.has-icon,
.components-toolbar div:first-child:last-child > .components-button.has-icon {
.block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > .components-button:first-child:last-child,
.block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > .components-dropdown:first-child:last-child .components-button, .block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot.components-dropdown > .components-button.components-button, .block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot.components-dropdown > * .components-button,
.block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > .components-button:first-child:last-child,
.block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > .components-dropdown:first-child:last-child .components-button,
.block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot.components-dropdown > .components-button.components-button,
.block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot.components-dropdown > * .components-button,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > .components-button:first-child:last-child,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > .components-dropdown:first-child:last-child .components-button,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar.components-dropdown > .components-button.components-button,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar.components-dropdown > * .components-button,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > .components-button:first-child:last-child,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > .components-dropdown:first-child:last-child .components-button,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown.components-dropdown > .components-button.components-button,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown.components-dropdown > * .components-button,
.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > .components-button:first-child:last-child,
.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > .components-dropdown:first-child:last-child .components-button,
.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group.components-dropdown > .components-button.components-button,
.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group.components-dropdown > * .components-button {
min-width: 48px;
padding-left: 12px;
padding-right: 12px;
}
.components-accessible-toolbar .components-toolbar-group > .components-button:first-of-type:last-of-type.has-icon::before,
.components-accessible-toolbar .components-toolbar-group > div:first-child:last-child > .components-button.has-icon::before,
.components-toolbar div:first-child:last-child > .components-button.has-icon::before {
.block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > .components-button:first-child:last-child::before,
.block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > .components-dropdown:first-child:last-child .components-button::before, .block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot.components-dropdown > .components-button.components-button::before, .block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot.components-dropdown > * .components-button::before,
.block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > .components-button:first-child:last-child::before,
.block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > .components-dropdown:first-child:last-child .components-button::before,
.block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot.components-dropdown > .components-button.components-button::before,
.block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot.components-dropdown > * .components-button::before,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > .components-button:first-child:last-child::before,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > .components-dropdown:first-child:last-child .components-button::before,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar.components-dropdown > .components-button.components-button::before,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar.components-dropdown > * .components-button::before,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > .components-button:first-child:last-child::before,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > .components-dropdown:first-child:last-child .components-button::before,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown.components-dropdown > .components-button.components-button::before,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown.components-dropdown > * .components-button::before,
.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > .components-button:first-child:last-child::before,
.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > .components-dropdown:first-child:last-child .components-button::before,
.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group.components-dropdown > .components-button.components-button::before,
.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group.components-dropdown > * .components-button::before {
left: 8px;
right: 8px;
}
.block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > .components-button:first-child,
.block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > div:first-child > .components-button,
.block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > .components-dropdown:first-child .components-button,
.block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > .components-button:first-child,
.block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > div:first-child > .components-button,
.block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > .components-dropdown:first-child .components-button,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > .components-button:first-child,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > div:first-child > .components-button,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > .components-dropdown:first-child .components-button,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > .components-button:first-child,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > div:first-child > .components-button,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > .components-dropdown:first-child .components-button,
.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > .components-button:first-child,
.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > div:first-child > .components-button,
.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > .components-dropdown:first-child .components-button {
min-width: 42px;
padding-left: 11px;
padding-right: 6px;
}
.block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > .components-button:first-child::before,
.block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > div:first-child > .components-button::before,
.block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > .components-dropdown:first-child .components-button::before,
.block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > .components-button:first-child::before,
.block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > div:first-child > .components-button::before,
.block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > .components-dropdown:first-child .components-button::before,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > .components-button:first-child::before,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > div:first-child > .components-button::before,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > .components-dropdown:first-child .components-button::before,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > .components-button:first-child::before,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > div:first-child > .components-button::before,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > .components-dropdown:first-child .components-button::before,
.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > .components-button:first-child::before,
.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > div:first-child > .components-button::before,
.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > .components-dropdown:first-child .components-button::before {
left: 8px;
right: 2px;
}
.block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > .components-button,
.block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > div > .components-button,
.block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > .components-dropdown .components-button,
.block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > .components-button,
.block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > div > .components-button,
.block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > .components-dropdown .components-button,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > .components-button,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > div > .components-button,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > .components-dropdown .components-button,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > .components-button,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > div > .components-button,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > .components-dropdown .components-button,
.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > .components-button,
.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > div > .components-button,
.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > .components-dropdown .components-button {
min-width: 36px;
padding-left: 6px;
padding-right: 6px;
}
.block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > .components-button svg,
.block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > div > .components-button svg,
.block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > .components-dropdown .components-button svg,
.block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > .components-button svg,
.block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > div > .components-button svg,
.block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > .components-dropdown .components-button svg,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > .components-button svg,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > div > .components-button svg,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > .components-dropdown .components-button svg,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > .components-button svg,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > div > .components-button svg,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > .components-dropdown .components-button svg,
.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > .components-button svg,
.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > div > .components-button svg,
.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > .components-dropdown .components-button svg {
min-width: 24px;
}
.block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > .components-button::before,
.block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > div > .components-button::before,
.block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > .components-dropdown .components-button::before,
.block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > .components-button::before,
.block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > div > .components-button::before,
.block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > .components-dropdown .components-button::before,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > .components-button::before,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > div > .components-button::before,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > .components-dropdown .components-button::before,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > .components-button::before,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > div > .components-button::before,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > .components-dropdown .components-button::before,
.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > .components-button::before,
.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > div > .components-button::before,
.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > .components-dropdown .components-button::before {
left: 2px;
right: 2px;
}
.block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > .components-button:last-child,
.block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > div:last-child > .components-button,
.block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > .components-dropdown:last-child .components-button,
.block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > .components-button:last-child,
.block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > div:last-child > .components-button,
.block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > .components-dropdown:last-child .components-button,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > .components-button:last-child,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > div:last-child > .components-button,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > .components-dropdown:last-child .components-button,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > .components-button:last-child,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > div:last-child > .components-button,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > .components-dropdown:last-child .components-button,
.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > .components-button:last-child,
.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > div:last-child > .components-button,
.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > .components-dropdown:last-child .components-button {
min-width: 42px;
padding-left: 6px;
padding-right: 11px;
}
.block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > .components-button:last-child::before,
.block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > div:last-child > .components-button::before,
.block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > .components-dropdown:last-child .components-button::before,
.block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > .components-button:last-child::before,
.block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > div:last-child > .components-button::before,
.block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > .components-dropdown:last-child .components-button::before,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > .components-button:last-child::before,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > div:last-child > .components-button::before,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > .components-dropdown:last-child .components-button::before,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > .components-button:last-child::before,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > div:last-child > .components-button::before,
.block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > .components-dropdown:last-child .components-button::before,
.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > .components-button:last-child::before,
.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > div:last-child > .components-button::before,
.block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > .components-dropdown:last-child .components-button::before {
left: 2px;
right: 8px;
}
.components-tooltip.components-popover {
z-index: 1000002;

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,150 @@
/**
* Colors
*/
/**
* Breakpoints & Media Queries
*/
/**
* SCSS Variables.
*
* Please use variables from this sheet to ensure consistency across the UI.
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
*/
/**
* Colors
*/
/**
* Fonts & basic variables.
*/
/**
* Grid System.
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
*/
/**
* Dimensions.
*/
/**
* Shadows.
*/
/**
* Editor widths.
*/
/**
* Block & Editor UI.
*/
/**
* Block paddings.
*/
/**
* React Native specific.
* These variables do not appear to be used anywhere else.
*/
/**
* Breakpoint mixins
*/
/**
* Long content fade mixin
*
* Creates a fading overlay to signify that the content is longer
* than the space allows.
*/
/**
* Focus styles.
*/
/**
* Applies editor left position to the selector passed as argument
*/
/**
* Styles that are reused verbatim in a few places
*/
/**
* Allows users to opt-out of animations via OS-level preferences.
*/
/**
* Reset default styles for JavaScript UI based pages.
* This is a WP-admin agnostic reset
*/
/**
* Reset the WP Admin page styles for Gutenberg-like pages.
*/
:root {
--wp-admin-theme-color: #007cba;
--wp-admin-theme-color-darker-10: #006ba1;
--wp-admin-theme-color-darker-20: #005a87;
--wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
:root {
--wp-admin-border-width-focus: 1.5px;
}
}
.editor-styles-wrapper .wp-block {
margin-right: auto;
margin-left: auto;
}
.wp-block {
max-width: 840px;
margin-top: 28px;
margin-bottom: 28px;
}
.wp-block[data-align=wide] {
max-width: 1100px;
}
.wp-block[data-align=full] {
max-width: none;
}
.wp-block[data-align=left], .wp-block[data-align=right] {
width: 100%;
height: 0;
}
.wp-block[data-align=left]::before, .wp-block[data-align=right]::before {
content: none;
}
.wp-block[data-align=left] > * {
float: left;
margin-right: 2em;
}
.wp-block[data-align=right] > * {
float: right;
margin-left: 2em;
}
.wp-block[data-align=full], .wp-block[data-align=wide] {
clear: both;
}
.wp-block-group > [data-align=full] {
margin-right: auto;
margin-left: auto;
}
.wp-block-group.has-background > [data-align=full] {
margin-right: -30px;
width: calc(100% + 60px);
}
/**
* Group: Full Width Alignment
*/
[data-align=full] .wp-block-group > .wp-block {
padding-right: 14px;
padding-left: 14px;
}
@media (min-width: 600px) {
[data-align=full] .wp-block-group > .wp-block {
padding-right: 0;
padding-left: 0;
}
}
[data-align=full] .wp-block-group > [data-align=full] {
padding-left: 0;
padding-right: 0;
right: 0;
width: 100%;
max-width: none;
}
[data-align=full] .wp-block-group.has-background > [data-align=full] {
width: calc(100% + 60px);
}

View File

@ -0,0 +1 @@
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.editor-styles-wrapper .wp-block{margin-right:auto;margin-left:auto}.wp-block{max-width:840px;margin-top:28px;margin-bottom:28px}.wp-block[data-align=wide]{max-width:1100px}.wp-block[data-align=full]{max-width:none}.wp-block[data-align=left],.wp-block[data-align=right]{width:100%;height:0}.wp-block[data-align=left]:before,.wp-block[data-align=right]:before{content:none}.wp-block[data-align=left]>*{float:left;margin-right:2em}.wp-block[data-align=right]>*{float:right;margin-left:2em}.wp-block[data-align=full],.wp-block[data-align=wide]{clear:both}.wp-block-group>[data-align=full]{margin-right:auto;margin-left:auto}.wp-block-group.has-background>[data-align=full]{margin-right:-30px;width:calc(100% + 60px)}[data-align=full] .wp-block-group>.wp-block{padding-right:14px;padding-left:14px}@media (min-width:600px){[data-align=full] .wp-block-group>.wp-block{padding-right:0;padding-left:0}}[data-align=full] .wp-block-group>[data-align=full]{padding-left:0;padding-right:0;right:0;width:100%;max-width:none}[data-align=full] .wp-block-group.has-background>[data-align=full]{width:calc(100% + 60px)}

View File

@ -0,0 +1,154 @@
/**
* Colors
*/
/**
* Breakpoints & Media Queries
*/
/**
* SCSS Variables.
*
* Please use variables from this sheet to ensure consistency across the UI.
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
*/
/**
* Colors
*/
/**
* Fonts & basic variables.
*/
/**
* Grid System.
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
*/
/**
* Dimensions.
*/
/**
* Shadows.
*/
/**
* Editor widths.
*/
/**
* Block & Editor UI.
*/
/**
* Block paddings.
*/
/**
* React Native specific.
* These variables do not appear to be used anywhere else.
*/
/**
* Breakpoint mixins
*/
/**
* Long content fade mixin
*
* Creates a fading overlay to signify that the content is longer
* than the space allows.
*/
/**
* Focus styles.
*/
/**
* Applies editor left position to the selector passed as argument
*/
/**
* Styles that are reused verbatim in a few places
*/
/**
* Allows users to opt-out of animations via OS-level preferences.
*/
/**
* Reset default styles for JavaScript UI based pages.
* This is a WP-admin agnostic reset
*/
/**
* Reset the WP Admin page styles for Gutenberg-like pages.
*/
:root {
--wp-admin-theme-color: #007cba;
--wp-admin-theme-color-darker-10: #006ba1;
--wp-admin-theme-color-darker-20: #005a87;
--wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
:root {
--wp-admin-border-width-focus: 1.5px;
}
}
.editor-styles-wrapper .wp-block {
margin-left: auto;
margin-right: auto;
}
.wp-block {
max-width: 840px;
margin-top: 28px;
margin-bottom: 28px;
}
.wp-block[data-align=wide] {
max-width: 1100px;
}
.wp-block[data-align=full] {
max-width: none;
}
.wp-block[data-align=left], .wp-block[data-align=right] {
width: 100%;
height: 0;
}
.wp-block[data-align=left]::before, .wp-block[data-align=right]::before {
content: none;
}
.wp-block[data-align=left] > * {
/*!rtl:begin:ignore*/
float: left;
margin-right: 2em;
/*!rtl:end:ignore*/
}
.wp-block[data-align=right] > * {
/*!rtl:begin:ignore*/
float: right;
margin-left: 2em;
/*!rtl:end:ignore*/
}
.wp-block[data-align=full], .wp-block[data-align=wide] {
clear: both;
}
.wp-block-group > [data-align=full] {
margin-left: auto;
margin-right: auto;
}
.wp-block-group.has-background > [data-align=full] {
margin-left: -30px;
width: calc(100% + 60px);
}
/**
* Group: Full Width Alignment
*/
[data-align=full] .wp-block-group > .wp-block {
padding-left: 14px;
padding-right: 14px;
}
@media (min-width: 600px) {
[data-align=full] .wp-block-group > .wp-block {
padding-left: 0;
padding-right: 0;
}
}
[data-align=full] .wp-block-group > [data-align=full] {
padding-right: 0;
padding-left: 0;
left: 0;
width: 100%;
max-width: none;
}
[data-align=full] .wp-block-group.has-background > [data-align=full] {
width: calc(100% + 60px);
}

View File

@ -0,0 +1,5 @@
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.editor-styles-wrapper .wp-block{margin-left:auto;margin-right:auto}.wp-block{max-width:840px;margin-top:28px;margin-bottom:28px}.wp-block[data-align=wide]{max-width:1100px}.wp-block[data-align=full]{max-width:none}.wp-block[data-align=left],.wp-block[data-align=right]{width:100%;height:0}.wp-block[data-align=left]:before,.wp-block[data-align=right]:before{content:none}.wp-block[data-align=left]>*{
/*!rtl:begin:ignore*/float:left;margin-right:2em
/*!rtl:end:ignore*/}.wp-block[data-align=right]>*{
/*!rtl:begin:ignore*/float:right;margin-left:2em
/*!rtl:end:ignore*/}.wp-block[data-align=full],.wp-block[data-align=wide]{clear:both}.wp-block-group>[data-align=full]{margin-left:auto;margin-right:auto}.wp-block-group.has-background>[data-align=full]{margin-left:-30px;width:calc(100% + 60px)}[data-align=full] .wp-block-group>.wp-block{padding-left:14px;padding-right:14px}@media (min-width:600px){[data-align=full] .wp-block-group>.wp-block{padding-left:0;padding-right:0}}[data-align=full] .wp-block-group>[data-align=full]{padding-right:0;padding-left:0;left:0;width:100%;max-width:none}[data-align=full] .wp-block-group.has-background>[data-align=full]{width:calc(100% + 60px)}

View File

@ -68,9 +68,6 @@
/**
* Reset the WP Admin page styles for Gutenberg-like pages.
*/
/**
* These are default block editor widths in case the theme doesn't provide them.
*/
:root {
--wp-admin-theme-color: #007cba;
--wp-admin-theme-color-darker-10: #006ba1;
@ -132,6 +129,8 @@
}
.interface-complementary-area .components-panel {
border: none;
position: relative;
z-index: 0;
}
.interface-complementary-area .components-panel__header {
position: -webkit-sticky;
@ -264,18 +263,6 @@ html.interface-interface-skeleton__html-container {
}
}
/* Mobile menu opened. */
@media (max-width: 783px) {
.auto-fold .wp-responsive-open .interface-interface-skeleton {
right: 190px;
}
}
/* In small screens with responsive menu expanded there is small white space. */
@media (max-width: 600px) {
.auto-fold .wp-responsive-open .interface-interface-skeleton {
margin-right: -18px;
}
}
body.is-fullscreen-mode .interface-interface-skeleton {
right: 0 !important;
}
@ -342,15 +329,6 @@ body.is-fullscreen-mode .interface-interface-skeleton {
border-bottom: 1px solid #e0e0e0;
z-index: 30;
color: #1e1e1e;
position: -webkit-sticky;
position: sticky;
top: 0;
}
@media (min-width: 600px) {
.interface-interface-skeleton__header {
position: initial;
top: 0;
}
}
.interface-interface-skeleton__footer {
@ -664,21 +642,50 @@ body.is-fullscreen-mode .interface-interface-skeleton {
border-radius: 0;
height: 60px;
width: 60px;
}
.edit-post-fullscreen-mode-close.has-icon:hover {
background: #32373d;
position: relative;
}
.edit-post-fullscreen-mode-close.has-icon:active {
color: #fff;
}
.edit-post-fullscreen-mode-close.has-icon:focus {
box-shadow: inset 0 0 0 2px #007cba, inset 0 0 0 3px #fff;
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color), inset 0 0 0 3px #fff;
box-shadow: none;
}
.edit-post-fullscreen-mode-close.has-icon::before {
transition: box-shadow 0.1s ease;
content: "";
display: block;
position: absolute;
top: 9px;
left: 9px;
bottom: 9px;
right: 9px;
border-radius: 4px;
box-shadow: inset 0 0 0 2px #23282e;
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) #23282e;
}
}
@media (min-width: 782px) and (prefers-reduced-motion: reduce) {
.edit-post-fullscreen-mode-close.has-icon::before {
transition-duration: 0s;
transition-delay: 0s;
}
}
@media (min-width: 782px) {
.edit-post-fullscreen-mode-close.has-icon:hover::before {
box-shadow: inset 0 0 0 2px #757575;
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) #757575;
}
}
@media (min-width: 782px) {
.edit-post-fullscreen-mode-close.has-icon:focus::before {
box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.1), inset 0 0 0 2px #007cba;
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) rgba(255, 255, 255, 0.1), inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
}
}
.edit-post-fullscreen-mode-close_site-icon {
width: 36px;
border-radius: 2px;
}
.edit-post-header-toolbar {
@ -698,6 +705,18 @@ body.is-fullscreen-mode .interface-interface-skeleton {
.edit-post-header-toolbar .edit-post-header-toolbar__left > .edit-post-header-toolbar__inserter-toggle {
display: inline-flex;
}
.edit-post-header-toolbar .edit-post-header-toolbar__left > .edit-post-header-toolbar__inserter-toggle svg {
transition: transform cubic-bezier(0.165, 0.84, 0.44, 1) 0.2s;
}
@media (prefers-reduced-motion: reduce) {
.edit-post-header-toolbar .edit-post-header-toolbar__left > .edit-post-header-toolbar__inserter-toggle svg {
transition-duration: 0s;
transition-delay: 0s;
}
}
.edit-post-header-toolbar .edit-post-header-toolbar__left > .edit-post-header-toolbar__inserter-toggle.is-pressed svg {
transform: rotate(-45deg);
}
.edit-post-header-toolbar .block-editor-block-navigation {
display: none;
}
@ -737,6 +756,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
.edit-post-header.has-reduced-ui .edit-post-header-toolbar__left > * + .components-button,
.edit-post-header.has-reduced-ui .edit-post-header-toolbar__left > * + .components-dropdown > [aria-expanded=false] {
transition-duration: 0s;
transition-delay: 0s;
}
}
@media (min-width: 600px) {
@ -991,18 +1011,6 @@ body.is-fullscreen-mode .interface-interface-skeleton {
}
}
/* Mobile menu opened. */
@media (max-width: 783px) {
.auto-fold .wp-responsive-open .edit-post-layout .components-editor-notices__snackbar {
right: 190px;
}
}
/* In small screens with responsive menu expanded there is small white space. */
@media (max-width: 600px) {
.auto-fold .wp-responsive-open .edit-post-layout .components-editor-notices__snackbar {
margin-right: -18px;
}
}
body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
right: 0 !important;
}
@ -1030,6 +1038,7 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
@media (min-width: 782px) and (prefers-reduced-motion: reduce) {
.edit-post-layout .editor-post-publish-panel {
animation-duration: 1ms;
animation-delay: 0s;
}
}
@media (min-width: 782px) {
@ -1079,7 +1088,7 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
}
.edit-post-layout .interface-interface-skeleton__content {
background-color: #ccc;
background-color: #bbb;
}
.edit-post-layout__inserter-panel {
@ -1223,10 +1232,10 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
.edit-post-manage-blocks-modal__results {
height: 100%;
overflow: auto;
margin-right: -24px;
margin-left: -24px;
padding-right: 24px;
padding-left: 24px;
margin-right: -32px;
margin-left: -32px;
padding-right: 32px;
padding-left: 32px;
border-top: 1px solid #ddd;
}
@ -1750,6 +1759,7 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
.edit-post-welcome-guide__image {
background: #00a0d2;
height: 240px;
margin: 0 0 16px;
}
.edit-post-welcome-guide__image__prm-r {
display: none;
@ -1766,7 +1776,7 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-size: 24px;
line-height: 1.4;
margin: 0 0 16px 0;
margin: 16px 0 16px 0;
padding: 0 32px;
}
.edit-post-welcome-guide__text {
@ -1825,6 +1835,15 @@ body.block-editor-page .media-frame select.attachment-filters:last-of-type {
max-width: 100%;
}
.block-editor-page #wpwrap {
overflow-y: auto;
}
@media (min-width: 782px) {
.block-editor-page #wpwrap {
overflow-y: initial;
}
}
.edit-post-header,
.edit-post-visual-editor,
.edit-post-text-editor,
@ -1888,16 +1907,6 @@ body.block-editor-page .media-frame select.attachment-filters:last-of-type {
width: 100%;
}
.wp-block {
max-width: 840px;
}
.wp-block[data-align=wide] {
max-width: 1100px;
}
.wp-block[data-align=full] {
max-width: none;
}
body.admin-color-light {
--wp-admin-theme-color: #0085ba;
--wp-admin-theme-color-darker-10: #0073a1;

File diff suppressed because one or more lines are too long

View File

@ -68,9 +68,6 @@
/**
* Reset the WP Admin page styles for Gutenberg-like pages.
*/
/**
* These are default block editor widths in case the theme doesn't provide them.
*/
:root {
--wp-admin-theme-color: #007cba;
--wp-admin-theme-color-darker-10: #006ba1;
@ -132,6 +129,8 @@
}
.interface-complementary-area .components-panel {
border: none;
position: relative;
z-index: 0;
}
.interface-complementary-area .components-panel__header {
position: -webkit-sticky;
@ -264,18 +263,6 @@ html.interface-interface-skeleton__html-container {
}
}
/* Mobile menu opened. */
@media (max-width: 783px) {
.auto-fold .wp-responsive-open .interface-interface-skeleton {
left: 190px;
}
}
/* In small screens with responsive menu expanded there is small white space. */
@media (max-width: 600px) {
.auto-fold .wp-responsive-open .interface-interface-skeleton {
margin-left: -18px;
}
}
body.is-fullscreen-mode .interface-interface-skeleton {
left: 0 !important;
}
@ -342,15 +329,6 @@ body.is-fullscreen-mode .interface-interface-skeleton {
border-bottom: 1px solid #e0e0e0;
z-index: 30;
color: #1e1e1e;
position: -webkit-sticky;
position: sticky;
top: 0;
}
@media (min-width: 600px) {
.interface-interface-skeleton__header {
position: initial;
top: 0;
}
}
.interface-interface-skeleton__footer {
@ -664,21 +642,50 @@ body.is-fullscreen-mode .interface-interface-skeleton {
border-radius: 0;
height: 60px;
width: 60px;
}
.edit-post-fullscreen-mode-close.has-icon:hover {
background: #32373d;
position: relative;
}
.edit-post-fullscreen-mode-close.has-icon:active {
color: #fff;
}
.edit-post-fullscreen-mode-close.has-icon:focus {
box-shadow: inset 0 0 0 2px #007cba, inset 0 0 0 3px #fff;
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color), inset 0 0 0 3px #fff;
box-shadow: none;
}
.edit-post-fullscreen-mode-close.has-icon::before {
transition: box-shadow 0.1s ease;
content: "";
display: block;
position: absolute;
top: 9px;
right: 9px;
bottom: 9px;
left: 9px;
border-radius: 4px;
box-shadow: inset 0 0 0 2px #23282e;
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) #23282e;
}
}
@media (min-width: 782px) and (prefers-reduced-motion: reduce) {
.edit-post-fullscreen-mode-close.has-icon::before {
transition-duration: 0s;
transition-delay: 0s;
}
}
@media (min-width: 782px) {
.edit-post-fullscreen-mode-close.has-icon:hover::before {
box-shadow: inset 0 0 0 2px #757575;
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) #757575;
}
}
@media (min-width: 782px) {
.edit-post-fullscreen-mode-close.has-icon:focus::before {
box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.1), inset 0 0 0 2px #007cba;
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) rgba(255, 255, 255, 0.1), inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
}
}
.edit-post-fullscreen-mode-close_site-icon {
width: 36px;
border-radius: 2px;
}
.edit-post-header-toolbar {
@ -698,6 +705,18 @@ body.is-fullscreen-mode .interface-interface-skeleton {
.edit-post-header-toolbar .edit-post-header-toolbar__left > .edit-post-header-toolbar__inserter-toggle {
display: inline-flex;
}
.edit-post-header-toolbar .edit-post-header-toolbar__left > .edit-post-header-toolbar__inserter-toggle svg {
transition: transform cubic-bezier(0.165, 0.84, 0.44, 1) 0.2s;
}
@media (prefers-reduced-motion: reduce) {
.edit-post-header-toolbar .edit-post-header-toolbar__left > .edit-post-header-toolbar__inserter-toggle svg {
transition-duration: 0s;
transition-delay: 0s;
}
}
.edit-post-header-toolbar .edit-post-header-toolbar__left > .edit-post-header-toolbar__inserter-toggle.is-pressed svg {
transform: rotate(45deg);
}
.edit-post-header-toolbar .block-editor-block-navigation {
display: none;
}
@ -737,6 +756,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
.edit-post-header.has-reduced-ui .edit-post-header-toolbar__left > * + .components-button,
.edit-post-header.has-reduced-ui .edit-post-header-toolbar__left > * + .components-dropdown > [aria-expanded=false] {
transition-duration: 0s;
transition-delay: 0s;
}
}
@media (min-width: 600px) {
@ -991,18 +1011,6 @@ body.is-fullscreen-mode .interface-interface-skeleton {
}
}
/* Mobile menu opened. */
@media (max-width: 783px) {
.auto-fold .wp-responsive-open .edit-post-layout .components-editor-notices__snackbar {
left: 190px;
}
}
/* In small screens with responsive menu expanded there is small white space. */
@media (max-width: 600px) {
.auto-fold .wp-responsive-open .edit-post-layout .components-editor-notices__snackbar {
margin-left: -18px;
}
}
body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
left: 0 !important;
}
@ -1030,6 +1038,7 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
@media (min-width: 782px) and (prefers-reduced-motion: reduce) {
.edit-post-layout .editor-post-publish-panel {
animation-duration: 1ms;
animation-delay: 0s;
}
}
@media (min-width: 782px) {
@ -1079,7 +1088,7 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
}
.edit-post-layout .interface-interface-skeleton__content {
background-color: #ccc;
background-color: #bbb;
}
.edit-post-layout__inserter-panel {
@ -1223,10 +1232,10 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
.edit-post-manage-blocks-modal__results {
height: 100%;
overflow: auto;
margin-left: -24px;
margin-right: -24px;
padding-left: 24px;
padding-right: 24px;
margin-left: -32px;
margin-right: -32px;
padding-left: 32px;
padding-right: 32px;
border-top: 1px solid #ddd;
}
@ -1754,6 +1763,7 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
.edit-post-welcome-guide__image {
background: #00a0d2;
height: 240px;
margin: 0 0 16px;
}
.edit-post-welcome-guide__image__prm-r {
display: none;
@ -1770,7 +1780,7 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-size: 24px;
line-height: 1.4;
margin: 0 0 16px 0;
margin: 16px 0 16px 0;
padding: 0 32px;
}
.edit-post-welcome-guide__text {
@ -1829,6 +1839,15 @@ body.block-editor-page .media-frame select.attachment-filters:last-of-type {
max-width: 100%;
}
.block-editor-page #wpwrap {
overflow-y: auto;
}
@media (min-width: 782px) {
.block-editor-page #wpwrap {
overflow-y: initial;
}
}
.edit-post-header,
.edit-post-visual-editor,
.edit-post-text-editor,
@ -1892,16 +1911,6 @@ body.block-editor-page .media-frame select.attachment-filters:last-of-type {
width: 100%;
}
.wp-block {
max-width: 840px;
}
.wp-block[data-align=wide] {
max-width: 1100px;
}
.wp-block[data-align=full] {
max-width: none;
}
body.admin-color-light {
--wp-admin-theme-color: #0085ba;
--wp-admin-theme-color-darker-10: #0073a1;

File diff suppressed because one or more lines are too long

View File

@ -1,207 +0,0 @@
/**
* Colors
*/
/**
* Breakpoints & Media Queries
*/
/**
* SCSS Variables.
*
* Please use variables from this sheet to ensure consistency across the UI.
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
*/
/**
* Colors
*/
/**
* Fonts & basic variables.
*/
/**
* Grid System.
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
*/
/**
* Dimensions.
*/
/**
* Shadows.
*/
/**
* Editor widths.
*/
/**
* Block & Editor UI.
*/
/**
* Block paddings.
*/
/**
* React Native specific.
* These variables do not appear to be used anywhere else.
*/
/**
* Breakpoint mixins
*/
/**
* Long content fade mixin
*
* Creates a fading overlay to signify that the content is longer
* than the space allows.
*/
/**
* Focus styles.
*/
/**
* Applies editor left position to the selector passed as argument
*/
/**
* Styles that are reused verbatim in a few places
*/
/**
* Allows users to opt-out of animations via OS-level preferences.
*/
/**
* Reset default styles for JavaScript UI based pages.
* This is a WP-admin agnostic reset
*/
/**
* Reset the WP Admin page styles for Gutenberg-like pages.
*/
/**
* These are default block editor widths in case the theme doesn't provide them.
*/
/**
* Editor Normalization Styles
*
* These are only output in the editor, but styles here are prefixed .editor-styles-wrapper and affect the theming
* of the editor by themes.
* Why do these exist? Why not rely on browser defaults?
* These styles are necessary so long as CSS can bleed from the wp-admin into the editing canvas itself.
* Let's continue working to refactor these away, whether through Shadow DOM or better scoping of upstream styles.
*/
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-size: 16px;
line-height: 1.8;
color: #1e1e1e;
padding: 10px;
}
.block-editor-block-list__layout.is-root-container > .wp-block[data-align=full] {
margin-right: -10px;
margin-left: -10px;
}
/* Headings */
h1,
h2,
h3 {
line-height: 1.4;
}
h1 {
font-size: 2.44em;
margin-top: 0.67em;
margin-bottom: 0.67em;
}
h2 {
font-size: 1.95em;
margin-top: 0.83em;
margin-bottom: 0.83em;
}
h3 {
font-size: 1.56em;
margin-top: 1em;
margin-bottom: 1em;
}
h4 {
font-size: 1.25em;
line-height: 1.5;
margin-top: 1.33em;
margin-bottom: 1.33em;
}
h5 {
font-size: 1em;
margin-top: 1.67em;
margin-bottom: 1.67em;
}
h6 {
font-size: 0.8em;
margin-top: 2.33em;
margin-bottom: 2.33em;
}
h1,
h2,
h3,
h4,
h5,
h6 {
color: inherit;
}
p {
font-size: inherit;
line-height: inherit;
margin-top: 28px;
margin-bottom: 28px;
}
ul,
ol {
margin-bottom: 28px;
padding-right: 1.3em;
margin-right: 1.3em;
}
ul ul,
ul ol,
ol ul,
ol ol {
margin-bottom: 0;
}
ul li,
ol li {
margin-bottom: initial;
}
ul {
list-style-type: disc;
}
ol {
list-style-type: decimal;
}
ul ul,
ol ul {
list-style-type: circle;
}
.wp-align-wrapper {
max-width: 840px;
}
.wp-align-wrapper > .wp-block, .wp-align-wrapper.wp-align-full {
max-width: none;
}
.wp-align-wrapper.wp-align-wide {
max-width: 840px;
}
a {
transition: none;
}
code,
kbd {
padding: 0;
margin: 0;
background: inherit;
font-size: inherit;
font-family: monospace;
}

View File

@ -1 +0,0 @@
body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:16px;line-height:1.8;color:#1e1e1e;padding:10px}.block-editor-block-list__layout.is-root-container>.wp-block[data-align=full]{margin-right:-10px;margin-left:-10px}h1,h2,h3{line-height:1.4}h1{font-size:2.44em;margin-top:.67em;margin-bottom:.67em}h2{font-size:1.95em;margin-top:.83em;margin-bottom:.83em}h3{font-size:1.56em;margin-top:1em;margin-bottom:1em}h4{font-size:1.25em;line-height:1.5;margin-top:1.33em;margin-bottom:1.33em}h5{font-size:1em;margin-top:1.67em;margin-bottom:1.67em}h6{font-size:.8em;margin-top:2.33em;margin-bottom:2.33em}h1,h2,h3,h4,h5,h6{color:inherit}p{font-size:inherit;line-height:inherit;margin-top:28px}ol,p,ul{margin-bottom:28px}ol,ul{padding-right:1.3em;margin-right:1.3em}ol li,ol ol,ol ul,ul li,ul ol,ul ul{margin-bottom:0}ul{list-style-type:disc}ol{list-style-type:decimal}ol ul,ul ul{list-style-type:circle}.wp-align-wrapper{max-width:840px}.wp-align-wrapper.wp-align-full,.wp-align-wrapper>.wp-block{max-width:none}.wp-align-wrapper.wp-align-wide{max-width:840px}a{transition:none}code,kbd{padding:0;margin:0;background:inherit;font-size:inherit;font-family:monospace}

View File

@ -1,207 +0,0 @@
/**
* Colors
*/
/**
* Breakpoints & Media Queries
*/
/**
* SCSS Variables.
*
* Please use variables from this sheet to ensure consistency across the UI.
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
*/
/**
* Colors
*/
/**
* Fonts & basic variables.
*/
/**
* Grid System.
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
*/
/**
* Dimensions.
*/
/**
* Shadows.
*/
/**
* Editor widths.
*/
/**
* Block & Editor UI.
*/
/**
* Block paddings.
*/
/**
* React Native specific.
* These variables do not appear to be used anywhere else.
*/
/**
* Breakpoint mixins
*/
/**
* Long content fade mixin
*
* Creates a fading overlay to signify that the content is longer
* than the space allows.
*/
/**
* Focus styles.
*/
/**
* Applies editor left position to the selector passed as argument
*/
/**
* Styles that are reused verbatim in a few places
*/
/**
* Allows users to opt-out of animations via OS-level preferences.
*/
/**
* Reset default styles for JavaScript UI based pages.
* This is a WP-admin agnostic reset
*/
/**
* Reset the WP Admin page styles for Gutenberg-like pages.
*/
/**
* These are default block editor widths in case the theme doesn't provide them.
*/
/**
* Editor Normalization Styles
*
* These are only output in the editor, but styles here are prefixed .editor-styles-wrapper and affect the theming
* of the editor by themes.
* Why do these exist? Why not rely on browser defaults?
* These styles are necessary so long as CSS can bleed from the wp-admin into the editing canvas itself.
* Let's continue working to refactor these away, whether through Shadow DOM or better scoping of upstream styles.
*/
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-size: 16px;
line-height: 1.8;
color: #1e1e1e;
padding: 10px;
}
.block-editor-block-list__layout.is-root-container > .wp-block[data-align=full] {
margin-left: -10px;
margin-right: -10px;
}
/* Headings */
h1,
h2,
h3 {
line-height: 1.4;
}
h1 {
font-size: 2.44em;
margin-top: 0.67em;
margin-bottom: 0.67em;
}
h2 {
font-size: 1.95em;
margin-top: 0.83em;
margin-bottom: 0.83em;
}
h3 {
font-size: 1.56em;
margin-top: 1em;
margin-bottom: 1em;
}
h4 {
font-size: 1.25em;
line-height: 1.5;
margin-top: 1.33em;
margin-bottom: 1.33em;
}
h5 {
font-size: 1em;
margin-top: 1.67em;
margin-bottom: 1.67em;
}
h6 {
font-size: 0.8em;
margin-top: 2.33em;
margin-bottom: 2.33em;
}
h1,
h2,
h3,
h4,
h5,
h6 {
color: inherit;
}
p {
font-size: inherit;
line-height: inherit;
margin-top: 28px;
margin-bottom: 28px;
}
ul,
ol {
margin-bottom: 28px;
padding-left: 1.3em;
margin-left: 1.3em;
}
ul ul,
ul ol,
ol ul,
ol ol {
margin-bottom: 0;
}
ul li,
ol li {
margin-bottom: initial;
}
ul {
list-style-type: disc;
}
ol {
list-style-type: decimal;
}
ul ul,
ol ul {
list-style-type: circle;
}
.wp-align-wrapper {
max-width: 840px;
}
.wp-align-wrapper > .wp-block, .wp-align-wrapper.wp-align-full {
max-width: none;
}
.wp-align-wrapper.wp-align-wide {
max-width: 840px;
}
a {
transition: none;
}
code,
kbd {
padding: 0;
margin: 0;
background: inherit;
font-size: inherit;
font-family: monospace;
}

View File

@ -1 +0,0 @@
body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:16px;line-height:1.8;color:#1e1e1e;padding:10px}.block-editor-block-list__layout.is-root-container>.wp-block[data-align=full]{margin-left:-10px;margin-right:-10px}h1,h2,h3{line-height:1.4}h1{font-size:2.44em;margin-top:.67em;margin-bottom:.67em}h2{font-size:1.95em;margin-top:.83em;margin-bottom:.83em}h3{font-size:1.56em;margin-top:1em;margin-bottom:1em}h4{font-size:1.25em;line-height:1.5;margin-top:1.33em;margin-bottom:1.33em}h5{font-size:1em;margin-top:1.67em;margin-bottom:1.67em}h6{font-size:.8em;margin-top:2.33em;margin-bottom:2.33em}h1,h2,h3,h4,h5,h6{color:inherit}p{font-size:inherit;line-height:inherit;margin-top:28px}ol,p,ul{margin-bottom:28px}ol,ul{padding-left:1.3em;margin-left:1.3em}ol li,ol ol,ol ul,ul li,ul ol,ul ul{margin-bottom:0}ul{list-style-type:disc}ol{list-style-type:decimal}ol ul,ul ul{list-style-type:circle}.wp-align-wrapper{max-width:840px}.wp-align-wrapper.wp-align-full,.wp-align-wrapper>.wp-block{max-width:none}.wp-align-wrapper.wp-align-wide{max-width:840px}a{transition:none}code,kbd{padding:0;margin:0;background:inherit;font-size:inherit;font-family:monospace}

View File

@ -69,9 +69,6 @@
/**
* Reset the WP Admin page styles for Gutenberg-like pages.
*/
/**
* These are default block editor widths in case the theme doesn't provide them.
*/
:root {
--wp-admin-theme-color: #007cba;
--wp-admin-theme-color-darker-10: #006ba1;
@ -224,17 +221,6 @@
margin-top: 12px;
}
.components-editor-notices__snackbar {
width: 100%;
}
@media (min-width: 782px) {
.components-editor-notices__snackbar {
width: -webkit-fit-content;
width: -moz-fit-content;
width: fit-content;
}
}
.entities-saved-states__panel {
box-sizing: border-box;
background: #fff;
@ -302,7 +288,7 @@
max-width: 780px;
padding: 20px;
margin-top: 60px;
box-shadow: 0 3px 30px rgba(0, 0, 0, 0.2);
box-shadow: 0 10px 10px rgba(0, 0, 0, 0.25);
}
.editor-page-attributes__template {
@ -366,6 +352,7 @@
.editor-post-featured-image__toggle,
.editor-post-featured-image__preview {
transition-duration: 0s;
transition-delay: 0s;
}
}
@ -496,6 +483,31 @@
width: auto;
}
.components-site-card {
display: flex;
align-items: center;
margin: 16px 0;
}
.components-site-icon {
border: none;
border-radius: 2px;
margin-left: 12px;
height: 36px;
width: 36px;
}
.components-site-name {
display: block;
font-size: 14px;
}
.components-site-home {
display: block;
color: #757575;
font-size: 12px;
}
.editor-post-publish-panel__header-publish-button,
.editor-post-publish-panel__header-cancel-button {
flex-grow: 1;
@ -687,6 +699,7 @@
@media (prefers-reduced-motion: reduce) {
.edit-post-text-editor__body textarea.editor-post-text-editor {
transition-duration: 0s;
transition-delay: 0s;
}
}
@media (min-width: 600px) {
@ -753,6 +766,7 @@
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio],
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio] {
transition-duration: 0s;
transition-delay: 0s;
}
}
@media (min-width: 600px) {
@ -863,6 +877,7 @@
@media (prefers-reduced-motion: reduce) {
.editor-post-visibility__dialog-password .editor-post-visibility__dialog-password-input[type=text] {
transition-duration: 0s;
transition-delay: 0s;
}
}
@media (min-width: 600px) {
@ -926,6 +941,7 @@
@media (prefers-reduced-motion: reduce) {
.editor-post-title .editor-post-title__input {
transition-duration: 0s;
transition-delay: 0s;
}
}
@media (min-width: 600px) {
@ -965,6 +981,7 @@
@media (prefers-reduced-motion: reduce) {
.editor-post-title.is-focus-mode .editor-post-title__input {
transition-duration: 0s;
transition-delay: 0s;
}
}
.editor-post-title.is-focus-mode .editor-post-title__input:focus {
@ -1006,6 +1023,7 @@
right: 0;
box-shadow: inset 0 0 0 2px #007cba;
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
pointer-events: none;
}
.table-of-contents__counts {

File diff suppressed because one or more lines are too long

View File

@ -69,9 +69,6 @@
/**
* Reset the WP Admin page styles for Gutenberg-like pages.
*/
/**
* These are default block editor widths in case the theme doesn't provide them.
*/
:root {
--wp-admin-theme-color: #007cba;
--wp-admin-theme-color-darker-10: #006ba1;
@ -224,17 +221,6 @@
margin-top: 12px;
}
.components-editor-notices__snackbar {
width: 100%;
}
@media (min-width: 782px) {
.components-editor-notices__snackbar {
width: -webkit-fit-content;
width: -moz-fit-content;
width: fit-content;
}
}
.entities-saved-states__panel {
box-sizing: border-box;
background: #fff;
@ -302,7 +288,7 @@
max-width: 780px;
padding: 20px;
margin-top: 60px;
box-shadow: 0 3px 30px rgba(0, 0, 0, 0.2);
box-shadow: 0 10px 10px rgba(0, 0, 0, 0.25);
}
.editor-page-attributes__template {
@ -366,6 +352,7 @@
.editor-post-featured-image__toggle,
.editor-post-featured-image__preview {
transition-duration: 0s;
transition-delay: 0s;
}
}
@ -496,6 +483,31 @@
width: auto;
}
.components-site-card {
display: flex;
align-items: center;
margin: 16px 0;
}
.components-site-icon {
border: none;
border-radius: 2px;
margin-right: 12px;
height: 36px;
width: 36px;
}
.components-site-name {
display: block;
font-size: 14px;
}
.components-site-home {
display: block;
color: #757575;
font-size: 12px;
}
.editor-post-publish-panel__header-publish-button,
.editor-post-publish-panel__header-cancel-button {
flex-grow: 1;
@ -687,6 +699,7 @@
@media (prefers-reduced-motion: reduce) {
.edit-post-text-editor__body textarea.editor-post-text-editor {
transition-duration: 0s;
transition-delay: 0s;
}
}
@media (min-width: 600px) {
@ -753,6 +766,7 @@
.edit-post-post-visibility__dialog .editor-post-visibility__dialog-radio[type=radio],
.editor-post-visibility__dialog-fieldset .editor-post-visibility__dialog-radio[type=radio] {
transition-duration: 0s;
transition-delay: 0s;
}
}
@media (min-width: 600px) {
@ -863,6 +877,7 @@
@media (prefers-reduced-motion: reduce) {
.editor-post-visibility__dialog-password .editor-post-visibility__dialog-password-input[type=text] {
transition-duration: 0s;
transition-delay: 0s;
}
}
@media (min-width: 600px) {
@ -926,6 +941,7 @@
@media (prefers-reduced-motion: reduce) {
.editor-post-title .editor-post-title__input {
transition-duration: 0s;
transition-delay: 0s;
}
}
@media (min-width: 600px) {
@ -965,6 +981,7 @@
@media (prefers-reduced-motion: reduce) {
.editor-post-title.is-focus-mode .editor-post-title__input {
transition-duration: 0s;
transition-delay: 0s;
}
}
.editor-post-title.is-focus-mode .editor-post-title__input:focus {
@ -1006,6 +1023,7 @@
left: 0;
box-shadow: inset 0 0 0 2px #007cba;
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
pointer-events: none;
}
.table-of-contents__counts {

File diff suppressed because one or more lines are too long

View File

@ -68,9 +68,6 @@
/**
* Reset the WP Admin page styles for Gutenberg-like pages.
*/
/**
* These are default block editor widths in case the theme doesn't provide them.
*/
:root {
--wp-admin-theme-color: #007cba;
--wp-admin-theme-color-darker-10: #006ba1;

View File

@ -68,9 +68,6 @@
/**
* Reset the WP Admin page styles for Gutenberg-like pages.
*/
/**
* These are default block editor widths in case the theme doesn't provide them.
*/
:root {
--wp-admin-theme-color: #007cba;
--wp-admin-theme-color-darker-10: #006ba1;

View File

@ -68,9 +68,6 @@
/**
* Reset the WP Admin page styles for Gutenberg-like pages.
*/
/**
* These are default block editor widths in case the theme doesn't provide them.
*/
:root {
--wp-admin-theme-color: #007cba;
--wp-admin-theme-color-darker-10: #006ba1;

View File

@ -68,9 +68,6 @@
/**
* Reset the WP Admin page styles for Gutenberg-like pages.
*/
/**
* These are default block editor widths in case the theme doesn't provide them.
*/
:root {
--wp-admin-theme-color: #007cba;
--wp-admin-theme-color-darker-10: #006ba1;

View File

@ -68,9 +68,6 @@
/**
* Reset the WP Admin page styles for Gutenberg-like pages.
*/
/**
* These are default block editor widths in case the theme doesn't provide them.
*/
:root {
--wp-admin-theme-color: #007cba;
--wp-admin-theme-color-darker-10: #006ba1;

View File

@ -68,9 +68,6 @@
/**
* Reset the WP Admin page styles for Gutenberg-like pages.
*/
/**
* These are default block editor widths in case the theme doesn't provide them.
*/
:root {
--wp-admin-theme-color: #007cba;
--wp-admin-theme-color-darker-10: #006ba1;

View File

@ -0,0 +1,89 @@
/**
* Colors
*/
/**
* Breakpoints & Media Queries
*/
/**
* SCSS Variables.
*
* Please use variables from this sheet to ensure consistency across the UI.
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
*/
/**
* Colors
*/
/**
* Fonts & basic variables.
*/
/**
* Grid System.
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
*/
/**
* Dimensions.
*/
/**
* Shadows.
*/
/**
* Editor widths.
*/
/**
* Block & Editor UI.
*/
/**
* Block paddings.
*/
/**
* React Native specific.
* These variables do not appear to be used anywhere else.
*/
/**
* Breakpoint mixins
*/
/**
* Long content fade mixin
*
* Creates a fading overlay to signify that the content is longer
* than the space allows.
*/
/**
* Focus styles.
*/
/**
* Applies editor left position to the selector passed as argument
*/
/**
* Styles that are reused verbatim in a few places
*/
/**
* Allows users to opt-out of animations via OS-level preferences.
*/
/**
* Reset default styles for JavaScript UI based pages.
* This is a WP-admin agnostic reset
*/
/**
* Reset the WP Admin page styles for Gutenberg-like pages.
*/
:root {
--wp-admin-theme-color: #007cba;
--wp-admin-theme-color-darker-10: #006ba1;
--wp-admin-theme-color-darker-20: #005a87;
--wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
:root {
--wp-admin-border-width-focus: 1.5px;
}
}
.reusable-blocks-menu-items__convert-modal {
z-index: 1000001;
}
.reusable-blocks-menu-items__convert-modal-actions {
padding-top: 12px;
}

View File

@ -0,0 +1 @@
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.reusable-blocks-menu-items__convert-modal{z-index:1000001}.reusable-blocks-menu-items__convert-modal-actions{padding-top:12px}

View File

@ -0,0 +1,89 @@
/**
* Colors
*/
/**
* Breakpoints & Media Queries
*/
/**
* SCSS Variables.
*
* Please use variables from this sheet to ensure consistency across the UI.
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
*/
/**
* Colors
*/
/**
* Fonts & basic variables.
*/
/**
* Grid System.
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
*/
/**
* Dimensions.
*/
/**
* Shadows.
*/
/**
* Editor widths.
*/
/**
* Block & Editor UI.
*/
/**
* Block paddings.
*/
/**
* React Native specific.
* These variables do not appear to be used anywhere else.
*/
/**
* Breakpoint mixins
*/
/**
* Long content fade mixin
*
* Creates a fading overlay to signify that the content is longer
* than the space allows.
*/
/**
* Focus styles.
*/
/**
* Applies editor left position to the selector passed as argument
*/
/**
* Styles that are reused verbatim in a few places
*/
/**
* Allows users to opt-out of animations via OS-level preferences.
*/
/**
* Reset default styles for JavaScript UI based pages.
* This is a WP-admin agnostic reset
*/
/**
* Reset the WP Admin page styles for Gutenberg-like pages.
*/
:root {
--wp-admin-theme-color: #007cba;
--wp-admin-theme-color-darker-10: #006ba1;
--wp-admin-theme-color-darker-20: #005a87;
--wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
:root {
--wp-admin-border-width-focus: 1.5px;
}
}
.reusable-blocks-menu-items__convert-modal {
z-index: 1000001;
}
.reusable-blocks-menu-items__convert-modal-actions {
padding-top: 12px;
}

View File

@ -0,0 +1 @@
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-border-width-focus:2px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.reusable-blocks-menu-items__convert-modal{z-index:1000001}.reusable-blocks-menu-items__convert-modal-actions{padding-top:12px}

View File

@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["a11y"] =
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 481);
/******/ return __webpack_require__(__webpack_require__.s = 473);
/******/ })
/************************************************************************/
/******/ ({
@ -94,14 +94,14 @@ this["wp"] = this["wp"] || {}; this["wp"]["a11y"] =
/***/ }),
/***/ 277:
/***/ 273:
/***/ (function(module, exports) {
(function() { module.exports = window["wp"]["domReady"]; }());
/***/ }),
/***/ 481:
/***/ 473:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
@ -113,7 +113,7 @@ __webpack_require__.d(__webpack_exports__, "setup", function() { return /* bindi
__webpack_require__.d(__webpack_exports__, "speak", function() { return /* binding */ speak; });
// EXTERNAL MODULE: external ["wp","domReady"]
var external_wp_domReady_ = __webpack_require__(277);
var external_wp_domReady_ = __webpack_require__(273);
var external_wp_domReady_default = /*#__PURE__*/__webpack_require__.n(external_wp_domReady_);
// EXTERNAL MODULE: external ["wp","i18n"]

View File

@ -1,2 +1,2 @@
/*! This file is auto-generated */
this.wp=this.wp||{},this.wp.a11y=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=481)}({1:function(t,e){t.exports=window.wp.i18n},277:function(t,e){t.exports=window.wp.domReady},481:function(t,e,n){"use strict";n.r(e),n.d(e,"setup",(function(){return u})),n.d(e,"speak",(function(){return d}));var r=n(277),i=n.n(r),o=n(1);function a(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"polite",e=document.createElement("div");e.id="a11y-speak-".concat(t),e.className="a11y-speak-region",e.setAttribute("style","position: absolute;margin: -1px;padding: 0;height: 1px;width: 1px;overflow: hidden;clip: rect(1px, 1px, 1px, 1px);-webkit-clip-path: inset(50%);clip-path: inset(50%);border: 0;word-wrap: normal !important;"),e.setAttribute("aria-live",t),e.setAttribute("aria-relevant","additions text"),e.setAttribute("aria-atomic","true");var n=document,r=n.body;return r&&r.appendChild(e),e}var p="";function u(){var t=document.getElementById("a11y-speak-intro-text"),e=document.getElementById("a11y-speak-assertive"),n=document.getElementById("a11y-speak-polite");null===t&&function(){var t=document.createElement("p");t.id="a11y-speak-intro-text",t.className="a11y-speak-intro-text",t.textContent=Object(o.__)("Notifications"),t.setAttribute("style","position: absolute;margin: -1px;padding: 0;height: 1px;width: 1px;overflow: hidden;clip: rect(1px, 1px, 1px, 1px);-webkit-clip-path: inset(50%);clip-path: inset(50%);border: 0;word-wrap: normal !important;"),t.setAttribute("hidden","hidden");var e=document.body;e&&e.appendChild(t)}(),null===e&&a("assertive"),null===n&&a("polite")}function d(t,e){!function(){for(var t=document.getElementsByClassName("a11y-speak-region"),e=document.getElementById("a11y-speak-intro-text"),n=0;n<t.length;n++)t[n].textContent="";e&&e.setAttribute("hidden","hidden")}(),t=function(t){return t=t.replace(/<[^<>]+>/g," "),p===t&&(t+=" "),p=t,t}(t);var n=document.getElementById("a11y-speak-intro-text"),r=document.getElementById("a11y-speak-assertive"),i=document.getElementById("a11y-speak-polite");r&&"assertive"===e?r.textContent=t:i&&(i.textContent=t),n&&n.removeAttribute("hidden")}i()(u)}});
this.wp=this.wp||{},this.wp.a11y=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=473)}({1:function(t,e){t.exports=window.wp.i18n},273:function(t,e){t.exports=window.wp.domReady},473:function(t,e,n){"use strict";n.r(e),n.d(e,"setup",(function(){return u})),n.d(e,"speak",(function(){return d}));var r=n(273),i=n.n(r),o=n(1);function a(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"polite",e=document.createElement("div");e.id="a11y-speak-".concat(t),e.className="a11y-speak-region",e.setAttribute("style","position: absolute;margin: -1px;padding: 0;height: 1px;width: 1px;overflow: hidden;clip: rect(1px, 1px, 1px, 1px);-webkit-clip-path: inset(50%);clip-path: inset(50%);border: 0;word-wrap: normal !important;"),e.setAttribute("aria-live",t),e.setAttribute("aria-relevant","additions text"),e.setAttribute("aria-atomic","true");var n=document,r=n.body;return r&&r.appendChild(e),e}var p="";function u(){var t=document.getElementById("a11y-speak-intro-text"),e=document.getElementById("a11y-speak-assertive"),n=document.getElementById("a11y-speak-polite");null===t&&function(){var t=document.createElement("p");t.id="a11y-speak-intro-text",t.className="a11y-speak-intro-text",t.textContent=Object(o.__)("Notifications"),t.setAttribute("style","position: absolute;margin: -1px;padding: 0;height: 1px;width: 1px;overflow: hidden;clip: rect(1px, 1px, 1px, 1px);-webkit-clip-path: inset(50%);clip-path: inset(50%);border: 0;word-wrap: normal !important;"),t.setAttribute("hidden","hidden");var e=document.body;e&&e.appendChild(t)}(),null===e&&a("assertive"),null===n&&a("polite")}function d(t,e){!function(){for(var t=document.getElementsByClassName("a11y-speak-region"),e=document.getElementById("a11y-speak-intro-text"),n=0;n<t.length;n++)t[n].textContent="";e&&e.setAttribute("hidden","hidden")}(),t=function(t){return t=t.replace(/<[^<>]+>/g," "),p===t&&(t+=" "),p=t,t}(t);var n=document.getElementById("a11y-speak-intro-text"),r=document.getElementById("a11y-speak-assertive"),i=document.getElementById("a11y-speak-polite");r&&"assertive"===e?r.textContent=t:i&&(i.textContent=t),n&&n.removeAttribute("hidden")}i()(u)}});

View File

@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["annotations"] =
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 471);
/******/ return __webpack_require__(__webpack_require__.s = 464);
/******/ })
/************************************************************************/
/******/ ({
@ -99,11 +99,11 @@ this["wp"] = this["wp"] || {}; this["wp"]["annotations"] =
"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutProperties; });
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(44);
/* harmony import */ var _objectWithoutPropertiesLoose_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(44);
function _objectWithoutProperties(source, excluded) {
if (source == null) return {};
var target = Object(_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(source, excluded);
var target = Object(_objectWithoutPropertiesLoose_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(source, excluded);
var key, i;
if (Object.getOwnPropertySymbols) {
@ -139,10 +139,10 @@ function _arrayWithoutHoles(arr) {
if (Array.isArray(arr)) return Object(arrayLikeToArray["a" /* default */])(arr);
}
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js
var iterableToArray = __webpack_require__(37);
var iterableToArray = __webpack_require__(39);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
var unsupportedIterableToArray = __webpack_require__(31);
var unsupportedIterableToArray = __webpack_require__(28);
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
function _nonIterableSpread() {
@ -159,6 +159,13 @@ function _toConsumableArray(arr) {
/***/ }),
/***/ 19:
/***/ (function(module, exports) {
(function() { module.exports = window["wp"]["richText"]; }());
/***/ }),
/***/ 2:
/***/ (function(module, exports) {
@ -166,7 +173,7 @@ function _toConsumableArray(arr) {
/***/ }),
/***/ 204:
/***/ 203:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
@ -260,13 +267,6 @@ function v4(options, buf, offset) {
/***/ }),
/***/ 21:
/***/ (function(module, exports) {
(function() { module.exports = window["wp"]["richText"]; }());
/***/ }),
/***/ 24:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
@ -284,20 +284,20 @@ function _arrayLikeToArray(arr, len) {
/***/ }),
/***/ 31:
/***/ 28:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _unsupportedIterableToArray; });
/* harmony import */ var _babel_runtime_helpers_esm_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(24);
/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(24);
function _unsupportedIterableToArray(o, minLen) {
if (!o) return;
if (typeof o === "string") return Object(_babel_runtime_helpers_esm_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o, minLen);
if (typeof o === "string") return Object(_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o, minLen);
var n = Object.prototype.toString.call(o).slice(8, -1);
if (n === "Object" && o.constructor) n = o.constructor.name;
if (n === "Map" || n === "Set") return Array.from(o);
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Object(_babel_runtime_helpers_esm_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o, minLen);
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Object(_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o, minLen);
}
/***/ }),
@ -309,7 +309,7 @@ function _unsupportedIterableToArray(o, minLen) {
/***/ }),
/***/ 37:
/***/ 39:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
@ -327,7 +327,7 @@ function _iterableToArray(iter) {
/***/ }),
/***/ 41:
/***/ 40:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
@ -631,7 +631,7 @@ function _objectWithoutPropertiesLoose(source, excluded) {
/***/ }),
/***/ 471:
/***/ 464:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
@ -661,7 +661,7 @@ __webpack_require__.d(actions_namespaceObject, "__experimentalRemoveAnnotationsB
var objectWithoutProperties = __webpack_require__(13);
// EXTERNAL MODULE: external ["wp","richText"]
var external_wp_richText_ = __webpack_require__(21);
var external_wp_richText_ = __webpack_require__(19);
// EXTERNAL MODULE: external ["wp","i18n"]
var external_wp_i18n_ = __webpack_require__(1);
@ -1029,7 +1029,7 @@ function reducer_annotations() {
/* harmony default export */ var reducer = (reducer_annotations);
// EXTERNAL MODULE: ./node_modules/rememo/es/rememo.js
var rememo = __webpack_require__(41);
var rememo = __webpack_require__(40);
// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/store/selectors.js
@ -1123,7 +1123,7 @@ function __experimentalGetAnnotations(state) {
}
// EXTERNAL MODULE: ./node_modules/uuid/dist/esm-browser/v4.js + 4 modules
var v4 = __webpack_require__(204);
var v4 = __webpack_require__(203);
// CONCATENATED MODULE: ./node_modules/@wordpress/annotations/build-module/store/actions.js
/**

File diff suppressed because one or more lines are too long

View File

@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["apiFetch"] =
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 470);
/******/ return __webpack_require__(__webpack_require__.s = 463);
/******/ })
/************************************************************************/
/******/ ({
@ -99,11 +99,11 @@ this["wp"] = this["wp"] || {}; this["wp"]["apiFetch"] =
"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutProperties; });
/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(44);
/* harmony import */ var _objectWithoutPropertiesLoose_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(44);
function _objectWithoutProperties(source, excluded) {
if (source == null) return {};
var target = Object(_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(source, excluded);
var target = Object(_objectWithoutPropertiesLoose_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(source, excluded);
var key, i;
if (Object.getOwnPropertySymbols) {
@ -129,7 +129,7 @@ function _objectWithoutProperties(source, excluded) {
/***/ }),
/***/ 32:
/***/ 29:
/***/ (function(module, exports) {
(function() { module.exports = window["wp"]["url"]; }());
@ -158,50 +158,7 @@ function _objectWithoutPropertiesLoose(source, excluded) {
/***/ }),
/***/ 47:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _asyncToGenerator; });
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
try {
var info = gen[key](arg);
var value = info.value;
} catch (error) {
reject(error);
return;
}
if (info.done) {
resolve(value);
} else {
Promise.resolve(value).then(_next, _throw);
}
}
function _asyncToGenerator(fn) {
return function () {
var self = this,
args = arguments;
return new Promise(function (resolve, reject) {
var gen = fn.apply(self, args);
function _next(value) {
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
}
function _throw(err) {
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
}
_next(undefined);
});
};
}
/***/ }),
/***/ 470:
/***/ 463:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
@ -224,8 +181,15 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (O
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
/**
* @param {string} nonce
* @return {import('../types').APIFetchMiddleware & { nonce: string }} A middleware to enhance a request with a nonce.
*/
function createNonceMiddleware(nonce) {
function middleware(options, next) {
/**
* @type {import('../types').APIFetchMiddleware & { nonce: string }}
*/
var middleware = function middleware(options, next) {
var _options$headers = options.headers,
headers = _options$headers === void 0 ? {} : _options$headers; // If an 'X-WP-Nonce' header (or any case-insensitive variation
// thereof) was specified, no need to add a nonce header.
@ -241,7 +205,7 @@ function createNonceMiddleware(nonce) {
'X-WP-Nonce': middleware.nonce
})
}));
}
};
middleware.nonce = nonce;
return middleware;
@ -256,6 +220,9 @@ function namespace_endpoint_ownKeys(object, enumerableOnly) { var keys = Object.
function namespace_endpoint_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { namespace_endpoint_ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { namespace_endpoint_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
/**
* @type {import('../types').APIFetchMiddleware}
*/
var namespaceAndEndpointMiddleware = function namespaceAndEndpointMiddleware(options, next) {
var path = options.path;
var namespaceTrimmed, endpointTrimmed;
@ -291,6 +258,10 @@ function root_url_objectSpread(target) { for (var i = 1; i < arguments.length; i
* Internal dependencies
*/
/**
* @param {string} rootURL
* @return {import('../types').APIFetchMiddleware} Root URL middleware.
*/
var root_url_createRootURLMiddleware = function createRootURLMiddleware(rootURL) {
return function (options, next) {
@ -358,12 +329,18 @@ function getStablePath(path) {
}) // 'a=5&b=1&c=2'
.join('&');
}
/**
* @param {Record<string, any>} preloadedData
* @return {import('../types').APIFetchMiddleware} Preloading middleware.
*/
function createPreloadingMiddleware(preloadedData) {
var cache = Object.keys(preloadedData).reduce(function (result, path) {
result[getStablePath(path)] = preloadedData[path];
return result;
}, {});
},
/** @type {Record<string, any>} */
{});
return function (options, next) {
var _options$parse = options.parse,
parse = _options$parse === void 0 ? true : _options$parse;
@ -392,15 +369,15 @@ function createPreloadingMiddleware(preloadedData) {
/* harmony default export */ var preloading = (createPreloadingMiddleware);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
var asyncToGenerator = __webpack_require__(48);
// EXTERNAL MODULE: external "regeneratorRuntime"
var external_regeneratorRuntime_ = __webpack_require__(16);
var external_regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(external_regeneratorRuntime_);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
var asyncToGenerator = __webpack_require__(47);
// EXTERNAL MODULE: external ["wp","url"]
var external_wp_url_ = __webpack_require__(32);
var external_wp_url_ = __webpack_require__(29);
// CONCATENATED MODULE: ./node_modules/@wordpress/api-fetch/build-module/middlewares/fetch-all-middleware.js
@ -420,7 +397,14 @@ function fetch_all_middleware_objectSpread(target) { for (var i = 1; i < argumen
* Internal dependencies
*/
// Apply query arguments to both URL and Path, whichever is present.
/**
* Apply query arguments to both URL and Path, whichever is present.
*
* @param {import('../types').APIFetchOptions} props
* @param {Record<string, string | number>} queryArgs
* @return {import('../types').APIFetchOptions} The request with the modified query args
*/
var fetch_all_middleware_modifyQuery = function modifyQuery(_ref, queryArgs) {
var path = _ref.path,
@ -431,12 +415,23 @@ var fetch_all_middleware_modifyQuery = function modifyQuery(_ref, queryArgs) {
url: url && Object(external_wp_url_["addQueryArgs"])(url, queryArgs),
path: path && Object(external_wp_url_["addQueryArgs"])(path, queryArgs)
});
}; // Duplicates parsing functionality from apiFetch.
};
/**
* Duplicates parsing functionality from apiFetch.
*
* @param {Response} response
* @return {Promise<any>} Parsed response json.
*/
var parseResponse = function parseResponse(response) {
return response.json ? response.json() : Promise.reject(response);
};
/**
* @param {string | null} linkHeader
* @return {{ next?: string }} The parsed link header.
*/
var parseLinkHeader = function parseLinkHeader(linkHeader) {
if (!linkHeader) {
@ -448,6 +443,11 @@ var parseLinkHeader = function parseLinkHeader(linkHeader) {
next: match[1]
} : {};
};
/**
* @param {Response} response
* @return {string | undefined} The next page URL.
*/
var getNextPageUrl = function getNextPageUrl(response) {
var _parseLinkHeader = parseLinkHeader(response.headers.get('link')),
@ -455,14 +455,24 @@ var getNextPageUrl = function getNextPageUrl(response) {
return next;
};
/**
* @param {import('../types').APIFetchOptions} options
* @return {boolean} True if the request contains an unbounded query.
*/
var requestContainsUnboundedQuery = function requestContainsUnboundedQuery(options) {
var pathIsUnbounded = options.path && options.path.indexOf('per_page=-1') !== -1;
var urlIsUnbounded = options.url && options.url.indexOf('per_page=-1') !== -1;
var pathIsUnbounded = !!options.path && options.path.indexOf('per_page=-1') !== -1;
var urlIsUnbounded = !!options.url && options.url.indexOf('per_page=-1') !== -1;
return pathIsUnbounded || urlIsUnbounded;
}; // The REST API enforces an upper limit on the per_page option. To handle large
// collections, apiFetch consumers can pass `per_page=-1`; this middleware will
// then recursively assemble a full response array from all available pages.
};
/**
* The REST API enforces an upper limit on the per_page option. To handle large
* collections, apiFetch consumers can pass `per_page=-1`; this middleware will
* then recursively assemble a full response array from all available pages.
*
* @type {import('../types').APIFetchMiddleware}
*/
var fetchAllMiddleware = /*#__PURE__*/function () {
@ -523,7 +533,9 @@ var fetchAllMiddleware = /*#__PURE__*/function () {
case 15:
// Iteratively fetch all remaining pages until no "next" header is found.
mergedResults = [].concat(results);
mergedResults =
/** @type {any[]} */
[].concat(results);
case 16:
if (!nextPage) {
@ -580,7 +592,7 @@ function http_v1_objectSpread(target) { for (var i = 1; i < arguments.length; i+
/**
* Set of HTTP methods which are eligible to be overridden.
*
* @type {Set}
* @type {Set<string>}
*/
var OVERRIDE_METHODS = new Set(['PATCH', 'PUT', 'DELETE']);
/**
@ -599,13 +611,10 @@ var DEFAULT_METHOD = 'GET';
* API Fetch middleware which overrides the request method for HTTP v1
* compatibility leveraging the REST API X-HTTP-Method-Override header.
*
* @param {Object} options Fetch options.
* @param {Function} next [description]
*
* @return {*} The evaluated result of the remaining middleware chain.
* @type {import('../types').APIFetchMiddleware}
*/
function httpV1Middleware(options, next) {
var httpV1Middleware = function httpV1Middleware(options, next) {
var _options = options,
_options$method = _options.method,
method = _options$method === void 0 ? DEFAULT_METHOD : _options$method;
@ -621,7 +630,7 @@ function httpV1Middleware(options, next) {
}
return next(options);
}
};
/* harmony default export */ var http_v1 = (httpV1Middleware);
@ -630,8 +639,11 @@ function httpV1Middleware(options, next) {
* WordPress dependencies
*/
/**
* @type {import('../types').APIFetchMiddleware}
*/
function userLocaleMiddleware(options, next) {
var user_locale_userLocaleMiddleware = function userLocaleMiddleware(options, next) {
if (typeof options.url === 'string' && !Object(external_wp_url_["hasQueryArg"])(options.url, '_locale')) {
options.url = Object(external_wp_url_["addQueryArgs"])(options.url, {
_locale: 'user'
@ -645,9 +657,9 @@ function userLocaleMiddleware(options, next) {
}
return next(options);
}
};
/* harmony default export */ var user_locale = (userLocaleMiddleware);
/* harmony default export */ var user_locale = (user_locale_userLocaleMiddleware);
// CONCATENATED MODULE: ./node_modules/@wordpress/api-fetch/build-module/utils/response.js
/**
@ -660,7 +672,7 @@ function userLocaleMiddleware(options, next) {
* @param {Response} response
* @param {boolean} shouldParseResponse
*
* @return {Promise} Parsed response
* @return {Promise<any> | null | Response} Parsed response.
*/
var response_parseResponse = function parseResponse(response) {
@ -676,6 +688,14 @@ var response_parseResponse = function parseResponse(response) {
return response;
};
/**
* Calls the `json` function on the Response, throwing an error if the response
* doesn't have a json function or if parsing the json itself fails.
*
* @param {Response} response
* @return {Promise<any>} Parsed response.
*/
var response_parseJsonAndNormalizeError = function parseJsonAndNormalizeError(response) {
var invalidJsonError = {
@ -697,7 +717,7 @@ var response_parseJsonAndNormalizeError = function parseJsonAndNormalizeError(re
* @param {Response} response
* @param {boolean} shouldParseResponse
*
* @return {Promise} Parsed response.
* @return {Promise<any>} Parsed response.
*/
@ -707,6 +727,14 @@ var parseResponseAndNormalizeError = function parseResponseAndNormalizeError(res
return parseAndThrowError(res, shouldParseResponse);
});
};
/**
* Parses a response, throwing an error if parsing the response fails.
*
* @param {Response} response
* @param {boolean} shouldParseResponse
* @return {Promise<any>} Parsed response.
*/
function parseAndThrowError(response) {
var shouldParseResponse = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
@ -742,21 +770,22 @@ function media_upload_objectSpread(target) { for (var i = 1; i < arguments.lengt
/**
* Middleware handling media upload failures and retries.
*
* @param {Object} options Fetch options.
* @param {Function} next [description]
*
* @return {*} The evaluated result of the remaining middleware chain.
* @type {import('../types').APIFetchMiddleware}
*/
function mediaUploadMiddleware(options, next) {
var media_upload_mediaUploadMiddleware = function mediaUploadMiddleware(options, next) {
var isMediaUploadRequest = options.path && options.path.indexOf('/wp/v2/media') !== -1 || options.url && options.url.indexOf('/wp/v2/media') !== -1;
if (!isMediaUploadRequest) {
return next(options, next);
return next(options);
}
var retries = 0;
var maxRetries = 5;
/**
* @param {string} attachmentId
* @return {Promise<any>} Processed post response.
*/
var postProcess = function postProcess(attachmentId) {
retries++;
@ -802,9 +831,9 @@ function mediaUploadMiddleware(options, next) {
}).then(function (response) {
return parseResponseAndNormalizeError(response, options.parse);
});
}
};
/* harmony default export */ var media_upload = (mediaUploadMiddleware);
/* harmony default export */ var media_upload = (media_upload_mediaUploadMiddleware);
// CONCATENATED MODULE: ./node_modules/@wordpress/api-fetch/build-module/index.js
@ -835,7 +864,7 @@ function build_module_objectSpread(target) { for (var i = 1; i < arguments.lengt
* Default set of header values which should be sent with every request unless
* explicitly provided through apiFetch options.
*
* @type {Object}
* @type {Record<string, string>}
*/
var DEFAULT_HEADERS = {
@ -855,11 +884,32 @@ var DEFAULT_HEADERS = {
var DEFAULT_OPTIONS = {
credentials: 'include'
};
/** @typedef {import('./types').APIFetchMiddleware} APIFetchMiddleware */
/** @typedef {import('./types').APIFetchOptions} APIFetchOptions */
/**
* @type {import('./types').APIFetchMiddleware[]}
*/
var middlewares = [user_locale, namespace_endpoint, http_v1, fetch_all_middleware];
/**
* Register a middleware
*
* @param {import('./types').APIFetchMiddleware} middleware
*/
function registerMiddleware(middleware) {
middlewares.unshift(middleware);
}
/**
* Checks the status of a response, throwing the Response as an error if
* it is outside the 200 range.
*
* @param {Response} response
* @return {Response} The response if the status is in the 200 range.
*/
var checkStatus = function checkStatus(response) {
if (response.status >= 200 && response.status < 300) {
@ -868,6 +918,12 @@ var checkStatus = function checkStatus(response) {
throw response;
};
/** @typedef {(options: import('./types').APIFetchOptions) => Promise<any>} FetchHandler*/
/**
* @type {FetchHandler}
*/
var build_module_defaultFetchHandler = function defaultFetchHandler(nextOptions) {
var url = nextOptions.url,
@ -887,7 +943,8 @@ var build_module_defaultFetchHandler = function defaultFetchHandler(nextOptions)
headers['Content-Type'] = 'application/json';
}
var responsePromise = window.fetch(url || path, build_module_objectSpread(build_module_objectSpread(build_module_objectSpread({}, DEFAULT_OPTIONS), remainingOptions), {}, {
var responsePromise = window.fetch( // fall back to explicitly passing `window.location` which is the behavior if `undefined` is passed
url || path || window.location.href, build_module_objectSpread(build_module_objectSpread(build_module_objectSpread({}, DEFAULT_OPTIONS), remainingOptions), {}, {
body: body,
headers: headers
}));
@ -907,18 +964,26 @@ var build_module_defaultFetchHandler = function defaultFetchHandler(nextOptions)
};
});
};
/** @type {FetchHandler} */
var fetchHandler = build_module_defaultFetchHandler;
/**
* Defines a custom fetch handler for making the requests that will override
* the default one using window.fetch
*
* @param {Function} newFetchHandler The new fetch handler
* @param {FetchHandler} newFetchHandler The new fetch handler
*/
function setFetchHandler(newFetchHandler) {
fetchHandler = newFetchHandler;
}
/**
* @template T
* @param {import('./types').APIFetchOptions} options
* @return {Promise<T>} A promise representing the request processed via the registered middlewares.
*/
function apiFetch(options) {
// creates a nested function chain that calls all middlewares and finally the `fetchHandler`,
@ -926,7 +991,9 @@ function apiFetch(options) {
// ```
// opts1 => m1( opts1, opts2 => m2( opts2, opts3 => m3( opts3, fetchHandler ) ) );
// ```
var enhancedHandler = middlewares.reduceRight(function (next, middleware) {
var enhancedHandler = middlewares.reduceRight(function (
/** @type {FetchHandler} */
next, middleware) {
return function (workingOptions) {
return middleware(workingOptions, next);
};
@ -937,9 +1004,11 @@ function apiFetch(options) {
} // If the nonce is invalid, refresh it and try again.
return window.fetch(apiFetch.nonceEndpoint).then(checkStatus).then(function (data) {
return window // @ts-ignore
.fetch(apiFetch.nonceEndpoint).then(checkStatus).then(function (data) {
return data.text();
}).then(function (text) {
// @ts-ignore
apiFetch.nonceMiddleware.nonce = text;
return apiFetch(options);
});
@ -956,6 +1025,49 @@ apiFetch.mediaUploadMiddleware = media_upload;
/* harmony default export */ var build_module = __webpack_exports__["default"] = (apiFetch);
/***/ }),
/***/ 48:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _asyncToGenerator; });
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
try {
var info = gen[key](arg);
var value = info.value;
} catch (error) {
reject(error);
return;
}
if (info.done) {
resolve(value);
} else {
Promise.resolve(value).then(_next, _throw);
}
}
function _asyncToGenerator(fn) {
return function () {
var self = this,
args = arguments;
return new Promise(function (resolve, reject) {
var gen = fn.apply(self, args);
function _next(value) {
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
}
function _throw(err) {
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
}
_next(undefined);
});
};
}
/***/ }),
/***/ 5:

File diff suppressed because one or more lines are too long

View File

@ -82,12 +82,12 @@ this["wp"] = this["wp"] || {}; this["wp"]["autop"] =
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 301);
/******/ return __webpack_require__(__webpack_require__.s = 296);
/******/ })
/************************************************************************/
/******/ ({
/***/ 11:
/***/ 12:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
@ -96,7 +96,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["autop"] =
__webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ _slicedToArray; });
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
var arrayWithHoles = __webpack_require__(38);
var arrayWithHoles = __webpack_require__(37);
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
function _iterableToArrayLimit(arr, i) {
@ -126,10 +126,10 @@ function _iterableToArrayLimit(arr, i) {
return _arr;
}
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
var unsupportedIterableToArray = __webpack_require__(31);
var unsupportedIterableToArray = __webpack_require__(28);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
var nonIterableRest = __webpack_require__(39);
var nonIterableRest = __webpack_require__(38);
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js
@ -159,14 +159,32 @@ function _arrayLikeToArray(arr, len) {
/***/ }),
/***/ 301:
/***/ 28:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _unsupportedIterableToArray; });
/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(24);
function _unsupportedIterableToArray(o, minLen) {
if (!o) return;
if (typeof o === "string") return Object(_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o, minLen);
var n = Object.prototype.toString.call(o).slice(8, -1);
if (n === "Object" && o.constructor) n = o.constructor.name;
if (n === "Map" || n === "Set") return Array.from(o);
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Object(_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o, minLen);
}
/***/ }),
/***/ 296:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "autop", function() { return autop; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "removep", function() { return removep; });
/* harmony import */ var _babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(11);
/* harmony import */ var _babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(12);
/**
@ -575,25 +593,7 @@ function removep(html) {
/***/ }),
/***/ 31:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _unsupportedIterableToArray; });
/* harmony import */ var _babel_runtime_helpers_esm_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(24);
function _unsupportedIterableToArray(o, minLen) {
if (!o) return;
if (typeof o === "string") return Object(_babel_runtime_helpers_esm_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o, minLen);
var n = Object.prototype.toString.call(o).slice(8, -1);
if (n === "Object" && o.constructor) n = o.constructor.name;
if (n === "Map" || n === "Set") return Array.from(o);
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Object(_babel_runtime_helpers_esm_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o, minLen);
}
/***/ }),
/***/ 38:
/***/ 37:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
@ -604,7 +604,7 @@ function _arrayWithHoles(arr) {
/***/ }),
/***/ 39:
/***/ 38:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";

File diff suppressed because one or more lines are too long

View File

@ -82,12 +82,12 @@ this["wp"] = this["wp"] || {}; this["wp"]["blob"] =
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 302);
/******/ return __webpack_require__(__webpack_require__.s = 297);
/******/ })
/************************************************************************/
/******/ ({
/***/ 302:
/***/ 297:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";

View File

@ -1,2 +1,2 @@
/*! This file is auto-generated */
this.wp=this.wp||{},this.wp.blob=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=302)}({302:function(e,t,n){"use strict";n.r(t),n.d(t,"createBlobURL",(function(){return f})),n.d(t,"getBlobByURL",(function(){return c})),n.d(t,"getBlobTypeByURL",(function(){return l})),n.d(t,"revokeBlobURL",(function(){return d})),n.d(t,"isBlobURL",(function(){return a}));var r=window.URL,o=r.createObjectURL,u=r.revokeObjectURL,i={};function f(e){var t=o(e);return i[t]=e,t}function c(e){return i[e]}function l(e){var t;return null===(t=c(e))||void 0===t?void 0:t.type.split("/")[0]}function d(e){i[e]&&u(e),delete i[e]}function a(e){return!(!e||!e.indexOf)&&0===e.indexOf("blob:")}}});
this.wp=this.wp||{},this.wp.blob=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=297)}({297:function(e,t,n){"use strict";n.r(t),n.d(t,"createBlobURL",(function(){return f})),n.d(t,"getBlobByURL",(function(){return c})),n.d(t,"getBlobTypeByURL",(function(){return l})),n.d(t,"revokeBlobURL",(function(){return d})),n.d(t,"isBlobURL",(function(){return a}));var r=window.URL,o=r.createObjectURL,u=r.revokeObjectURL,i={};function f(e){var t=o(e);return i[t]=e,t}function c(e){return i[e]}function l(e){var t;return null===(t=c(e))||void 0===t?void 0:t.type.split("/")[0]}function d(e){i[e]&&u(e),delete i[e]}function a(e){return!(!e||!e.indexOf)&&0===e.indexOf("blob:")}}});

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -82,12 +82,12 @@ this["wp"] = this["wp"] || {}; this["wp"]["blockSerializationDefaultParser"] =
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 321);
/******/ return __webpack_require__(__webpack_require__.s = 316);
/******/ })
/************************************************************************/
/******/ ({
/***/ 11:
/***/ 12:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
@ -96,7 +96,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["blockSerializationDefaultParser"] =
__webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ _slicedToArray; });
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
var arrayWithHoles = __webpack_require__(38);
var arrayWithHoles = __webpack_require__(37);
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
function _iterableToArrayLimit(arr, i) {
@ -126,10 +126,10 @@ function _iterableToArrayLimit(arr, i) {
return _arr;
}
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
var unsupportedIterableToArray = __webpack_require__(31);
var unsupportedIterableToArray = __webpack_require__(28);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
var nonIterableRest = __webpack_require__(39);
var nonIterableRest = __webpack_require__(38);
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js
@ -159,31 +159,31 @@ function _arrayLikeToArray(arr, len) {
/***/ }),
/***/ 31:
/***/ 28:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _unsupportedIterableToArray; });
/* harmony import */ var _babel_runtime_helpers_esm_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(24);
/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(24);
function _unsupportedIterableToArray(o, minLen) {
if (!o) return;
if (typeof o === "string") return Object(_babel_runtime_helpers_esm_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o, minLen);
if (typeof o === "string") return Object(_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o, minLen);
var n = Object.prototype.toString.call(o).slice(8, -1);
if (n === "Object" && o.constructor) n = o.constructor.name;
if (n === "Map" || n === "Set") return Array.from(o);
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Object(_babel_runtime_helpers_esm_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o, minLen);
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Object(_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o, minLen);
}
/***/ }),
/***/ 321:
/***/ 316:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "parse", function() { return parse; });
/* harmony import */ var _babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(11);
/* harmony import */ var _babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(12);
var document;
var offset;
@ -567,7 +567,7 @@ function addBlockFromStack(endOffset) {
/***/ }),
/***/ 38:
/***/ 37:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
@ -578,7 +578,7 @@ function _arrayWithHoles(arr) {
/***/ }),
/***/ 39:
/***/ 38:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";

View File

@ -1,2 +1,2 @@
/*! This file is auto-generated */
this.wp=this.wp||{},this.wp.blockSerializationDefaultParser=function(t){var n={};function r(e){if(n[e])return n[e].exports;var o=n[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=n,r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,n){if(1&n&&(t=r(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)r.d(e,o,function(n){return t[n]}.bind(null,o));return e},r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,"a",n),n},r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.p="",r(r.s=321)}({11:function(t,n,r){"use strict";r.d(n,"a",(function(){return i}));var e=r(38);var o=r(31),u=r(39);function i(t,n){return Object(e.a)(t)||function(t,n){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var r=[],e=!0,o=!1,u=void 0;try{for(var i,c=t[Symbol.iterator]();!(e=(i=c.next()).done)&&(r.push(i.value),!n||r.length!==n);e=!0);}catch(t){o=!0,u=t}finally{try{e||null==c.return||c.return()}finally{if(o)throw u}}return r}}(t,n)||Object(o.a)(t,n)||Object(u.a)()}},24:function(t,n,r){"use strict";function e(t,n){(null==n||n>t.length)&&(n=t.length);for(var r=0,e=new Array(n);r<n;r++)e[r]=t[r];return e}r.d(n,"a",(function(){return e}))},31:function(t,n,r){"use strict";r.d(n,"a",(function(){return o}));var e=r(24);function o(t,n){if(t){if("string"==typeof t)return Object(e.a)(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Object(e.a)(t,n):void 0}}},321:function(t,n,r){"use strict";r.r(n),r.d(n,"parse",(function(){return s}));var e,o,u,i,c=r(11),a=/<!--\s+(\/)?wp:([a-z][a-z0-9_-]*\/)?([a-z][a-z0-9_-]*)\s+({(?:(?=([^}]+|}+(?=})|(?!}\s+\/?-->)[^])*)\5|[^]*?)}\s+)?(\/)?-->/g;function l(t,n,r,e,o){return{blockName:t,attrs:n,innerBlocks:r,innerHTML:e,innerContent:o}}function f(t){return l(null,{},[],t,[t])}var s=function(t){e=t,o=0,u=[],i=[],a.lastIndex=0;do{}while(p());return u};function p(){var t=function(){var t=a.exec(e);if(null===t)return["no-more-tokens"];var n=t.index,r=Object(c.a)(t,7),o=r[0],u=r[1],i=r[2],l=r[3],f=r[4],s=r[6],p=o.length,b=!!u,d=!!s,v=(i||"core/")+l,h=!!f,y=h?function(t){try{return JSON.parse(t)}catch(t){return null}}(f):{};if(d)return["void-block",v,y,n,p];if(b)return["block-closer",v,null,n,p];return["block-opener",v,y,n,p]}(),n=Object(c.a)(t,5),r=n[0],s=n[1],p=n[2],h=n[3],y=n[4],k=i.length,O=h>o?o:null;switch(r){case"no-more-tokens":if(0===k)return b(),!1;if(1===k)return v(),!1;for(;0<i.length;)v();return!1;case"void-block":return 0===k?(null!==O&&u.push(f(e.substr(O,h-O))),u.push(l(s,p,[],"",[])),o=h+y,!0):(d(l(s,p,[],"",[]),h,y),o=h+y,!0);case"block-opener":return i.push(function(t,n,r,e,o){return{block:t,tokenStart:n,tokenLength:r,prevOffset:e||n+r,leadingHtmlStart:o}}(l(s,p,[],"",[]),h,y,h+y,O)),o=h+y,!0;case"block-closer":if(0===k)return b(),!1;if(1===k)return v(h),o=h+y,!0;var g=i.pop(),m=e.substr(g.prevOffset,h-g.prevOffset);return g.block.innerHTML+=m,g.block.innerContent.push(m),g.prevOffset=h+y,d(g.block,g.tokenStart,g.tokenLength,h+y),o=h+y,!0;default:return b(),!1}}function b(t){var n=t||e.length-o;0!==n&&u.push(f(e.substr(o,n)))}function d(t,n,r,o){var u=i[i.length-1];u.block.innerBlocks.push(t);var c=e.substr(u.prevOffset,n-u.prevOffset);c&&(u.block.innerHTML+=c,u.block.innerContent.push(c)),u.block.innerContent.push(null),u.prevOffset=o||n+r}function v(t){var n=i.pop(),r=n.block,o=n.leadingHtmlStart,c=n.prevOffset,a=n.tokenStart,l=t?e.substr(c,t-c):e.substr(c);l&&(r.innerHTML+=l,r.innerContent.push(l)),null!==o&&u.push(f(e.substr(o,a-o))),u.push(r)}},38:function(t,n,r){"use strict";function e(t){if(Array.isArray(t))return t}r.d(n,"a",(function(){return e}))},39:function(t,n,r){"use strict";function e(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}r.d(n,"a",(function(){return e}))}});
this.wp=this.wp||{},this.wp.blockSerializationDefaultParser=function(t){var n={};function r(e){if(n[e])return n[e].exports;var o=n[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=n,r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,n){if(1&n&&(t=r(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)r.d(e,o,function(n){return t[n]}.bind(null,o));return e},r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,"a",n),n},r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.p="",r(r.s=316)}({12:function(t,n,r){"use strict";r.d(n,"a",(function(){return i}));var e=r(37);var o=r(28),u=r(38);function i(t,n){return Object(e.a)(t)||function(t,n){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var r=[],e=!0,o=!1,u=void 0;try{for(var i,c=t[Symbol.iterator]();!(e=(i=c.next()).done)&&(r.push(i.value),!n||r.length!==n);e=!0);}catch(t){o=!0,u=t}finally{try{e||null==c.return||c.return()}finally{if(o)throw u}}return r}}(t,n)||Object(o.a)(t,n)||Object(u.a)()}},24:function(t,n,r){"use strict";function e(t,n){(null==n||n>t.length)&&(n=t.length);for(var r=0,e=new Array(n);r<n;r++)e[r]=t[r];return e}r.d(n,"a",(function(){return e}))},28:function(t,n,r){"use strict";r.d(n,"a",(function(){return o}));var e=r(24);function o(t,n){if(t){if("string"==typeof t)return Object(e.a)(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Object(e.a)(t,n):void 0}}},316:function(t,n,r){"use strict";r.r(n),r.d(n,"parse",(function(){return s}));var e,o,u,i,c=r(12),a=/<!--\s+(\/)?wp:([a-z][a-z0-9_-]*\/)?([a-z][a-z0-9_-]*)\s+({(?:(?=([^}]+|}+(?=})|(?!}\s+\/?-->)[^])*)\5|[^]*?)}\s+)?(\/)?-->/g;function l(t,n,r,e,o){return{blockName:t,attrs:n,innerBlocks:r,innerHTML:e,innerContent:o}}function f(t){return l(null,{},[],t,[t])}var s=function(t){e=t,o=0,u=[],i=[],a.lastIndex=0;do{}while(p());return u};function p(){var t=function(){var t=a.exec(e);if(null===t)return["no-more-tokens"];var n=t.index,r=Object(c.a)(t,7),o=r[0],u=r[1],i=r[2],l=r[3],f=r[4],s=r[6],p=o.length,b=!!u,d=!!s,v=(i||"core/")+l,h=!!f,y=h?function(t){try{return JSON.parse(t)}catch(t){return null}}(f):{};if(d)return["void-block",v,y,n,p];if(b)return["block-closer",v,null,n,p];return["block-opener",v,y,n,p]}(),n=Object(c.a)(t,5),r=n[0],s=n[1],p=n[2],h=n[3],y=n[4],k=i.length,O=h>o?o:null;switch(r){case"no-more-tokens":if(0===k)return b(),!1;if(1===k)return v(),!1;for(;0<i.length;)v();return!1;case"void-block":return 0===k?(null!==O&&u.push(f(e.substr(O,h-O))),u.push(l(s,p,[],"",[])),o=h+y,!0):(d(l(s,p,[],"",[]),h,y),o=h+y,!0);case"block-opener":return i.push(function(t,n,r,e,o){return{block:t,tokenStart:n,tokenLength:r,prevOffset:e||n+r,leadingHtmlStart:o}}(l(s,p,[],"",[]),h,y,h+y,O)),o=h+y,!0;case"block-closer":if(0===k)return b(),!1;if(1===k)return v(h),o=h+y,!0;var g=i.pop(),m=e.substr(g.prevOffset,h-g.prevOffset);return g.block.innerHTML+=m,g.block.innerContent.push(m),g.prevOffset=h+y,d(g.block,g.tokenStart,g.tokenLength,h+y),o=h+y,!0;default:return b(),!1}}function b(t){var n=t||e.length-o;0!==n&&u.push(f(e.substr(o,n)))}function d(t,n,r,o){var u=i[i.length-1];u.block.innerBlocks.push(t);var c=e.substr(u.prevOffset,n-u.prevOffset);c&&(u.block.innerHTML+=c,u.block.innerContent.push(c)),u.block.innerContent.push(null),u.prevOffset=o||n+r}function v(t){var n=i.pop(),r=n.block,o=n.leadingHtmlStart,c=n.prevOffset,a=n.tokenStart,l=t?e.substr(c,t-c):e.substr(c);l&&(r.innerHTML+=l,r.innerContent.push(l)),null!==o&&u.push(f(e.substr(o,a-o))),u.push(r)}},37:function(t,n,r){"use strict";function e(t){if(Array.isArray(t))return t}r.d(n,"a",(function(){return e}))},38:function(t,n,r){"use strict";function e(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}r.d(n,"a",(function(){return e}))}});

View File

@ -82,7 +82,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["blocks"] =
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 460);
/******/ return __webpack_require__(__webpack_require__.s = 452);
/******/ })
/************************************************************************/
/******/ ({
@ -102,6 +102,20 @@ this["wp"] = this["wp"] || {}; this["wp"]["blocks"] =
/***/ }),
/***/ 11:
/***/ (function(module, exports) {
(function() { module.exports = window["wp"]["compose"]; }());
/***/ }),
/***/ 116:
/***/ (function(module, exports) {
(function() { module.exports = window["wp"]["autop"]; }());
/***/ }),
/***/ 12:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
@ -110,7 +124,7 @@ this["wp"] = this["wp"] || {}; this["wp"]["blocks"] =
__webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ _slicedToArray; });
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
var arrayWithHoles = __webpack_require__(38);
var arrayWithHoles = __webpack_require__(37);
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
function _iterableToArrayLimit(arr, i) {
@ -140,10 +154,10 @@ function _iterableToArrayLimit(arr, i) {
return _arr;
}
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
var unsupportedIterableToArray = __webpack_require__(31);
var unsupportedIterableToArray = __webpack_require__(28);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
var nonIterableRest = __webpack_require__(39);
var nonIterableRest = __webpack_require__(38);
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js
@ -156,21 +170,7 @@ function _slicedToArray(arr, i) {
/***/ }),
/***/ 115:
/***/ (function(module, exports) {
(function() { module.exports = window["wp"]["autop"]; }());
/***/ }),
/***/ 12:
/***/ (function(module, exports) {
(function() { module.exports = window["wp"]["compose"]; }());
/***/ }),
/***/ 129:
/***/ 127:
/***/ (function(module, exports) {
(function() { module.exports = window["wp"]["shortcode"]; }());
@ -182,16 +182,16 @@ function _slicedToArray(arr, i) {
"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _toArray; });
/* harmony import */ var _babel_runtime_helpers_esm_arrayWithHoles__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(38);
/* harmony import */ var _babel_runtime_helpers_esm_iterableToArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(37);
/* harmony import */ var _babel_runtime_helpers_esm_unsupportedIterableToArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(31);
/* harmony import */ var _babel_runtime_helpers_esm_nonIterableRest__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(39);
/* harmony import */ var _arrayWithHoles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(37);
/* harmony import */ var _iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(39);
/* harmony import */ var _unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(28);
/* harmony import */ var _nonIterableRest_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(38);
function _toArray(arr) {
return Object(_babel_runtime_helpers_esm_arrayWithHoles__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(arr) || Object(_babel_runtime_helpers_esm_iterableToArray__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(arr) || Object(_babel_runtime_helpers_esm_unsupportedIterableToArray__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(arr) || Object(_babel_runtime_helpers_esm_nonIterableRest__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])();
return Object(_arrayWithHoles_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(arr) || Object(_iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])(arr) || Object(_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(arr) || Object(_nonIterableRest_js__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"])();
}
/***/ }),
@ -213,10 +213,10 @@ function _arrayWithoutHoles(arr) {
if (Array.isArray(arr)) return Object(arrayLikeToArray["a" /* default */])(arr);
}
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js
var iterableToArray = __webpack_require__(37);
var iterableToArray = __webpack_require__(39);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
var unsupportedIterableToArray = __webpack_require__(31);
var unsupportedIterableToArray = __webpack_require__(28);
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
function _nonIterableSpread() {
@ -240,7 +240,7 @@ function _toConsumableArray(arr) {
/***/ }),
/***/ 204:
/***/ 203:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
@ -334,7 +334,7 @@ function v4(options, buf, offset) {
/***/ }),
/***/ 215:
/***/ 213:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
@ -419,14 +419,32 @@ function _createClass(Constructor, protoProps, staticProps) {
/***/ }),
/***/ 284:
/***/ 28:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _unsupportedIterableToArray; });
/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(24);
function _unsupportedIterableToArray(o, minLen) {
if (!o) return;
if (typeof o === "string") return Object(_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o, minLen);
var n = Object.prototype.toString.call(o).slice(8, -1);
if (n === "Object" && o.constructor) n = o.constructor.name;
if (n === "Map" || n === "Set") return Array.from(o);
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Object(_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o, minLen);
}
/***/ }),
/***/ 280:
/***/ (function(module, exports) {
(function() { module.exports = window["wp"]["blockSerializationDefaultParser"]; }());
/***/ }),
/***/ 285:
/***/ 281:
/***/ (function(module, exports, __webpack_require__) {
var __WEBPACK_AMD_DEFINE_RESULT__;;/*! showdown v 1.9.1 - 02-11-2019 */
@ -5569,24 +5587,6 @@ if (true) {
/***/ }),
/***/ 31:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _unsupportedIterableToArray; });
/* harmony import */ var _babel_runtime_helpers_esm_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(24);
function _unsupportedIterableToArray(o, minLen) {
if (!o) return;
if (typeof o === "string") return Object(_babel_runtime_helpers_esm_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o, minLen);
var n = Object.prototype.toString.call(o).slice(8, -1);
if (n === "Object" && o.constructor) n = o.constructor.name;
if (n === "Map" || n === "Set") return Array.from(o);
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Object(_babel_runtime_helpers_esm_arrayLikeToArray__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(o, minLen);
}
/***/ }),
/***/ 33:
@ -5607,9 +5607,9 @@ function _unsupportedIterableToArray(o, minLen) {
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _iterableToArray; });
function _iterableToArray(iter) {
if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _arrayWithHoles; });
function _arrayWithHoles(arr) {
if (Array.isArray(arr)) return arr;
}
/***/ }),
@ -5618,9 +5618,9 @@ function _iterableToArray(iter) {
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _arrayWithHoles; });
function _arrayWithHoles(arr) {
if (Array.isArray(arr)) return arr;
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _nonIterableRest; });
function _nonIterableRest() {
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
/***/ }),
@ -5629,9 +5629,9 @@ function _arrayWithHoles(arr) {
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _nonIterableRest; });
function _nonIterableRest() {
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _iterableToArray; });
function _iterableToArray(iter) {
if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter);
}
/***/ }),
@ -5643,7 +5643,7 @@ function _nonIterableRest() {
/***/ }),
/***/ 41:
/***/ 40:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
@ -5932,7 +5932,7 @@ function isShallowEqual( a, b, fromIndex ) {
/***/ }),
/***/ 460:
/***/ 452:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
@ -5957,7 +5957,7 @@ __webpack_require__.d(__webpack_exports__, "pasteHandler", function() { return /
__webpack_require__.d(__webpack_exports__, "rawHandler", function() { return /* reexport */ rawHandler; });
__webpack_require__.d(__webpack_exports__, "getPhrasingContentSchema", function() { return /* reexport */ deprecatedGetPhrasingContentSchema; });
__webpack_require__.d(__webpack_exports__, "serialize", function() { return /* reexport */ serialize; });
__webpack_require__.d(__webpack_exports__, "getBlockContent", function() { return /* reexport */ getBlockContent; });
__webpack_require__.d(__webpack_exports__, "getBlockContent", function() { return /* reexport */ getBlockInnerHTML; });
__webpack_require__.d(__webpack_exports__, "getBlockDefaultClassName", function() { return /* reexport */ getBlockDefaultClassName; });
__webpack_require__.d(__webpack_exports__, "getBlockMenuDefaultClassName", function() { return /* reexport */ getBlockMenuDefaultClassName; });
__webpack_require__.d(__webpack_exports__, "getSaveElement", function() { return /* reexport */ getSaveElement; });
@ -5985,6 +5985,7 @@ __webpack_require__.d(__webpack_exports__, "getBlockSupport", function() { retur
__webpack_require__.d(__webpack_exports__, "hasBlockSupport", function() { return /* reexport */ registration_hasBlockSupport; });
__webpack_require__.d(__webpack_exports__, "getBlockVariations", function() { return /* reexport */ registration_getBlockVariations; });
__webpack_require__.d(__webpack_exports__, "isReusableBlock", function() { return /* reexport */ isReusableBlock; });
__webpack_require__.d(__webpack_exports__, "isTemplatePart", function() { return /* reexport */ isTemplatePart; });
__webpack_require__.d(__webpack_exports__, "getChildBlockNames", function() { return /* reexport */ registration_getChildBlockNames; });
__webpack_require__.d(__webpack_exports__, "hasChildBlocks", function() { return /* reexport */ registration_hasChildBlocks; });
__webpack_require__.d(__webpack_exports__, "hasChildBlocksWithInserterSupport", function() { return /* reexport */ registration_hasChildBlocksWithInserterSupport; });
@ -5998,6 +5999,7 @@ __webpack_require__.d(__webpack_exports__, "normalizeIconObject", function() { r
__webpack_require__.d(__webpack_exports__, "isValidIcon", function() { return /* reexport */ isValidIcon; });
__webpack_require__.d(__webpack_exports__, "__experimentalGetBlockLabel", function() { return /* reexport */ getBlockLabel; });
__webpack_require__.d(__webpack_exports__, "__experimentalGetAccessibleBlockLabel", function() { return /* reexport */ getAccessibleBlockLabel; });
__webpack_require__.d(__webpack_exports__, "__experimentalSanitizeBlockAttributes", function() { return /* reexport */ __experimentalSanitizeBlockAttributes; });
__webpack_require__.d(__webpack_exports__, "doBlocksMatchTemplate", function() { return /* reexport */ doBlocksMatchTemplate; });
__webpack_require__.d(__webpack_exports__, "synchronizeBlocksWithTemplate", function() { return /* reexport */ synchronizeBlocksWithTemplate; });
__webpack_require__.d(__webpack_exports__, "children", function() { return /* reexport */ api_children; });
@ -6102,6 +6104,9 @@ var DEFAULT_CATEGORIES = [{
}, {
slug: 'widgets',
title: Object(external_wp_i18n_["__"])('Widgets')
}, {
slug: 'theme',
title: Object(external_wp_i18n_["__"])('Theme')
}, {
slug: 'embed',
title: Object(external_wp_i18n_["__"])('Embeds')
@ -6303,7 +6308,7 @@ function collections() {
}));
// EXTERNAL MODULE: ./node_modules/rememo/es/rememo.js
var rememo = __webpack_require__(41);
var rememo = __webpack_require__(40);
// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/store/selectors.js
@ -6846,19 +6851,19 @@ var store = Object(external_wp_data_["createReduxStore"])(STORE_NAME, {
Object(external_wp_data_["register"])(store);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules
var slicedToArray = __webpack_require__(11);
var slicedToArray = __webpack_require__(12);
// EXTERNAL MODULE: ./node_modules/uuid/dist/esm-browser/v4.js + 4 modules
var v4 = __webpack_require__(204);
var v4 = __webpack_require__(203);
// EXTERNAL MODULE: external ["wp","hooks"]
var external_wp_hooks_ = __webpack_require__(33);
// EXTERNAL MODULE: ./node_modules/@wordpress/icons/build-module/library/block-default.js
var block_default = __webpack_require__(215);
var block_default = __webpack_require__(213);
// EXTERNAL MODULE: ./node_modules/tinycolor2/tinycolor.js
var tinycolor = __webpack_require__(60);
var tinycolor = __webpack_require__(62);
var tinycolor_default = /*#__PURE__*/__webpack_require__.n(tinycolor);
// EXTERNAL MODULE: external ["wp","element"]
@ -6886,7 +6891,6 @@ function utils_objectSpread(target) { for (var i = 1; i < arguments.length; i++)
/**
* Internal dependencies
*/
@ -7004,19 +7008,6 @@ function normalizeBlockType(blockTypeOrName) {
function getBlockLabel(blockType, attributes) {
var context = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'visual';
// Attempt to find entity title if block is a template part.
// Require slug to request, otherwise entity is uncreated and will throw 404.
if ('core/template-part' === blockType.name && attributes.slug) {
var entity = Object(external_wp_data_["select"])('core').getEntityRecord('postType', 'wp_template_part', attributes.theme + '//' + attributes.slug);
if (entity) {
var _entity$title;
return Object(external_lodash_["startCase"])(((_entity$title = entity.title) === null || _entity$title === void 0 ? void 0 : _entity$title.rendered) || entity.slug);
}
}
var getLabel = blockType.__experimentalLabel,
title = blockType.title;
var label = getLabel && getLabel(attributes, {
@ -7096,7 +7087,7 @@ function getAccessibleBlockLabel(blockType, attributes, position) {
* @return {Object} The sanitized attributes.
*/
function sanitizeBlockAttributes(name, attributes) {
function __experimentalSanitizeBlockAttributes(name, attributes) {
// Get the type definition associated with a registered block.
var blockType = registration_getBlockType(name);
@ -7147,10 +7138,22 @@ var __EXPERIMENTAL_STYLE_PROPERTY = {
value: ['color', 'background'],
support: ['color']
},
borderColor: {
value: ['border', 'color'],
support: ['__experimentalBorder', 'color']
},
borderRadius: {
value: ['border', 'radius'],
support: ['__experimentalBorder', 'radius']
},
borderStyle: {
value: ['border', 'style'],
support: ['__experimentalBorder', 'style']
},
borderWidth: {
value: ['border', 'width'],
support: ['__experimentalBorder', 'width']
},
color: {
value: ['color', 'text'],
support: ['color']
@ -7353,6 +7356,14 @@ function unstable__bootstrapServerSideBlockDefinitions(definitions) {
// Don't overwrite if already set. It covers the case when metadata
// was initialized from the server.
if (serverSideBlockDefinitions[blockName]) {
// We still need to polyfill `apiVersion` for WordPress version
// lower than 5.7. If it isn't present in the definition shared
// from the server, we try to fallback to the definition passed.
// @see https://github.com/WordPress/gutenberg/pull/29279
if (serverSideBlockDefinitions[blockName].apiVersion === undefined && definitions[blockName].apiVersion) {
serverSideBlockDefinitions[blockName].apiVersion = definitions[blockName].apiVersion;
}
continue;
}
@ -7645,6 +7656,19 @@ function registration_hasBlockSupport(nameOrType, feature, defaultSupports) {
function isReusableBlock(blockOrType) {
return blockOrType.name === 'core/block';
}
/**
* Determines whether or not the given block is a template part. This is a
* special block type that allows composing a page template out of reusable
* design elements.
*
* @param {Object} blockOrType Block or Block Type to test.
*
* @return {boolean} Whether the given block is a template part.
*/
function isTemplatePart(blockOrType) {
return blockOrType.name === 'core/template-part';
}
/**
* Returns an array with the child blocks of a given block.
*
@ -7770,7 +7794,9 @@ function factory_objectSpread(target) { for (var i = 1; i < arguments.length; i+
function createBlock(name) {
var attributes = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
var innerBlocks = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
var sanitizedAttributes = sanitizeBlockAttributes(name, attributes);
var sanitizedAttributes = __experimentalSanitizeBlockAttributes(name, attributes);
var clientId = Object(v4["a" /* default */])(); // Blocks are stored with a unique ID, the assigned type name, the block
// attributes, and their inner blocks.
@ -7822,7 +7848,9 @@ function __experimentalCloneSanitizedBlock(block) {
var mergeAttributes = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
var newInnerBlocks = arguments.length > 2 ? arguments[2] : undefined;
var clientId = Object(v4["a" /* default */])();
var sanitizedAttributes = sanitizeBlockAttributes(block.name, factory_objectSpread(factory_objectSpread({}, block.attributes), mergeAttributes));
var sanitizedAttributes = __experimentalSanitizeBlockAttributes(block.name, factory_objectSpread(factory_objectSpread({}, block.attributes), mergeAttributes));
return factory_objectSpread(factory_objectSpread({}, block), {}, {
clientId: clientId,
attributes: sanitizedAttributes,
@ -7921,6 +7949,10 @@ var factory_isPossibleTransformForSource = function isPossibleTransformForSource
}
}
if (transform.usingMobileTransformations && isWildcardBlockTransform(transform) && !factory_isContainerGroupBlock(sourceBlock.name)) {
return false;
}
return true;
};
/**
@ -8089,12 +8121,27 @@ function getBlockTransforms(direction, blockTypeOrName) {
if (!transforms || !Array.isArray(transforms[direction])) {
return [];
} // Map transforms to normal form.
}
var usingMobileTransformations = transforms.supportedMobileTransforms && Array.isArray(transforms.supportedMobileTransforms);
var filteredTransforms = usingMobileTransformations ? Object(external_lodash_["filter"])(transforms[direction], function (t) {
if (!t.blocks || !t.blocks.length) {
return false;
}
return transforms[direction].map(function (transform) {
if (isWildcardBlockTransform(t)) {
return true;
}
return Object(external_lodash_["every"])(t.blocks, function (transformBlockName) {
return transforms.supportedMobileTransforms.includes(transformBlockName);
});
}) : transforms[direction]; // Map transforms to normal form.
return filteredTransforms.map(function (transform) {
return factory_objectSpread(factory_objectSpread({}, transform), {}, {
blockName: blockName
blockName: blockName,
usingMobileTransformations: usingMobileTransformations
});
});
}
@ -8384,10 +8431,10 @@ function query(selector, matchers) {
};
}
// EXTERNAL MODULE: external ["wp","autop"]
var external_wp_autop_ = __webpack_require__(115);
var external_wp_autop_ = __webpack_require__(116);
// EXTERNAL MODULE: external ["wp","blockSerializationDefaultParser"]
var external_wp_blockSerializationDefaultParser_ = __webpack_require__(284);
var external_wp_blockSerializationDefaultParser_ = __webpack_require__(280);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toArray.js
var toArray = __webpack_require__(147);
@ -9300,7 +9347,7 @@ function tokenize(input, options) {
// EXTERNAL MODULE: external ["wp","htmlEntities"]
var external_wp_htmlEntities_ = __webpack_require__(64);
var external_wp_htmlEntities_ = __webpack_require__(57);
// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/validation/logger.js
function createLogger() {
@ -9318,7 +9365,7 @@ function createLogger() {
}
return logger.apply(void 0, ['Block validation: ' + message].concat(args));
}; // In test environments, pre-process the sprintf message to improve
}; // In test environments, pre-process string substitutions to improve
// readability of error messages. We'd prefer to avoid pulling in this
// dependency in runtime environments, and it can be dropped by a combo
// of Webpack env substitution + UglifyJS dead code elimination.
@ -9375,14 +9422,14 @@ function createQueuedLogger() {
}
// EXTERNAL MODULE: external ["wp","isShallowEqual"]
var external_wp_isShallowEqual_ = __webpack_require__(63);
var external_wp_isShallowEqual_ = __webpack_require__(65);
var external_wp_isShallowEqual_default = /*#__PURE__*/__webpack_require__.n(external_wp_isShallowEqual_);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
var esm_extends = __webpack_require__(8);
// EXTERNAL MODULE: external ["wp","compose"]
var external_wp_compose_ = __webpack_require__(12);
var external_wp_compose_ = __webpack_require__(11);
// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/block-content-provider/index.js
@ -9678,8 +9725,7 @@ function serializeAttributes(attributes) {
* @return {string} HTML.
*/
function getBlockContent(block) {
// @todo why not getBlockInnerHtml?
function getBlockInnerHTML(block) {
// If block was parsed as invalid or encounters an error while generating
// save content, use original content instead to avoid content loss. If a
// block contains nested content, exempt it from this condition because we
@ -9732,7 +9778,7 @@ function serializeBlock(block) {
isInnerBlocks = _ref$isInnerBlocks === void 0 ? false : _ref$isInnerBlocks;
var blockName = block.name;
var saveContent = getBlockContent(block);
var saveContent = getBlockInnerHTML(block);
if (blockName === getUnregisteredTypeHandlerName() || !isInnerBlocks && blockName === getFreeformContentHandlerName()) {
return saveContent;
@ -9953,7 +9999,7 @@ var validation_DecodeEntityParser = /*#__PURE__*/function () {
Object(createClass["a" /* default */])(DecodeEntityParser, [{
key: "parse",
value:
/**
* Returns a substitute string for an entity string sequence between `&`
* and `;`, or undefined if no substitution should occur.
@ -9962,7 +10008,7 @@ var validation_DecodeEntityParser = /*#__PURE__*/function () {
*
* @return {?string} Entity substitute value.
*/
value: function parse(entity) {
function parse(entity) {
if (isValidCharacterReference(entity)) {
return Object(external_wp_htmlEntities_["decodeEntities"])('&' + entity + ';');
}
@ -11499,7 +11545,7 @@ function normaliseBlocks(HTML) {
var node = decu.firstChild; // Text nodes: wrap in a paragraph, or append to previous.
if (node.nodeType === node.TEXT_NODE) {
if (!node.nodeValue.trim()) {
if (Object(external_wp_dom_["isEmpty"])(node)) {
decu.removeChild(node);
} else {
if (!accu.lastChild || accu.lastChild.nodeName !== 'P') {
@ -12090,7 +12136,7 @@ function figureContentReducer(node, doc, schema) {
}
// EXTERNAL MODULE: external ["wp","shortcode"]
var external_wp_shortcode_ = __webpack_require__(129);
var external_wp_shortcode_ = __webpack_require__(127);
// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/shortcode-converter.js
@ -12184,7 +12230,7 @@ function segmentHTMLToShortcodeBlock(HTML) {
/* harmony default export */ var shortcode_converter = (segmentHTMLToShortcodeBlock);
// EXTERNAL MODULE: ./node_modules/showdown/dist/showdown.js
var showdown = __webpack_require__(285);
var showdown = __webpack_require__(281);
var showdown_default = /*#__PURE__*/__webpack_require__.n(showdown);
// CONCATENATED MODULE: ./node_modules/@wordpress/blocks/build-module/api/raw-handling/markdown-converter.js
@ -12677,12 +12723,17 @@ function pasteHandler(_ref) {
if (plainText && (!HTML || isPlain(HTML))) {
HTML = markdownConverter(plainText); // Switch to inline mode if:
HTML = plainText; // The markdown converter (Showdown) trims whitespace.
if (!/^\s+$/.test(plainText)) {
HTML = markdownConverter(HTML);
} // Switch to inline mode if:
// * The current mode is AUTO.
// * The original plain text had no line breaks.
// * The original plain text was not an HTML paragraph.
// * The converted text is just a paragraph.
if (mode === 'AUTO' && plainText.indexOf('\n') === -1 && plainText.indexOf('<p>') !== 0 && HTML.indexOf('<p>') === 0) {
mode = 'INLINE';
}
@ -12723,15 +12774,16 @@ function pasteHandler(_ref) {
paste_handler_console.log('Processed HTML piece:\n\n', piece);
return htmlToBlocks(piece);
})); // If we're allowed to return inline content, and there is only one inlineable block,
// and the original plain text content does not have any line breaks, then
// treat it as inline paste.
})); // If we're allowed to return inline content, and there is only one
// inlineable block, and the original plain text content does not have any
// line breaks, then treat it as inline paste.
if (mode === 'AUTO' && blocks.length === 1 && registration_hasBlockSupport(blocks[0].name, '__unstablePasteTextInline', false)) {
var trimmedPlainText = plainText.trim();
// Don't catch line breaks at the start or end.
var trimmedPlainText = plainText.replace(/^[\n]+|[\n]+$/g, '');
if (trimmedPlainText !== '' && trimmedPlainText.indexOf('\n') === -1) {
return Object(external_wp_dom_["removeInvalidHTML"])(getBlockContent(blocks[0]), phrasingContentSchema);
return Object(external_wp_dom_["removeInvalidHTML"])(getBlockInnerHTML(blocks[0]), phrasingContentSchema);
}
}
@ -12769,6 +12821,7 @@ var external_wp_deprecated_default = /*#__PURE__*/__webpack_require__.n(external
function deprecatedGetPhrasingContentSchema(context) {
external_wp_deprecated_default()('wp.blocks.getPhrasingContentSchema', {
since: '5.6',
alternative: 'wp.dom.getPhrasingContentSchema'
});
return Object(external_wp_dom_["getPhrasingContentSchema"])(context);
@ -13115,7 +13168,14 @@ function _defineProperty(obj, key, value) {
/***/ }),
/***/ 60:
/***/ 57:
/***/ (function(module, exports) {
(function() { module.exports = window["wp"]["htmlEntities"]; }());
/***/ }),
/***/ 62:
/***/ (function(module, exports, __webpack_require__) {
var __WEBPACK_AMD_DEFINE_RESULT__;// TinyColor v1.4.2
@ -14316,20 +14376,13 @@ else {}
/***/ }),
/***/ 63:
/***/ 65:
/***/ (function(module, exports) {
(function() { module.exports = window["wp"]["isShallowEqual"]; }());
/***/ }),
/***/ 64:
/***/ (function(module, exports) {
(function() { module.exports = window["wp"]["htmlEntities"]; }());
/***/ }),
/***/ 7:
/***/ (function(module, exports) {

Some files were not shown because too many files have changed in this diff Show More