update-core.php 0000644 00000127351 15237775763 0007524 0 ustar 00 current, get_locale() );
if ( 'en_US' === $update->locale && 'en_US' === get_locale() ) {
$version_string = $update->current;
} elseif ( 'en_US' === $update->locale && $update->packages->partial && $wp_version == $update->partial_version ) {
$updates = get_core_updates();
if ( $updates && 1 === count( $updates ) ) {
// If the only available update is a partial builds, it doesn't need a language-specific version string.
$version_string = $update->current;
}
} elseif ( 'en_US' === $update->locale && 'en_US' !== get_locale() ) {
$version_string = sprintf( '%s–%s', $update->current, $update->locale );
}
$current = false;
if ( ! isset( $update->response ) || 'latest' === $update->response ) {
$current = true;
}
$message = '';
$form_action = 'update-core.php?action=do-core-upgrade';
$php_version = phpversion();
$mysql_version = $wpdb->db_version();
$show_buttons = true;
// Nightly build versions have two hyphens and a commit number.
if ( preg_match( '/-\w+-\d+/', $update->current ) ) {
// Retrieve the major version number.
preg_match( '/^\d+.\d+/', $update->current, $update_major );
/* translators: %s: WordPress version. */
$submit = sprintf( __( 'Update to latest %s nightly' ), $update_major[0] );
} else {
/* translators: %s: WordPress version. */
$submit = sprintf( __( 'Update to version %s' ), $version_string );
}
if ( 'development' === $update->response ) {
$message = __( 'You can update to the latest nightly build manually:' );
} else {
if ( $current ) {
/* translators: %s: WordPress version. */
$submit = sprintf( __( 'Re-install version %s' ), $version_string );
$form_action = 'update-core.php?action=do-core-reinstall';
} else {
$php_compat = version_compare( $php_version, $update->php_version, '>=' );
if ( file_exists( WP_CONTENT_DIR . '/db.php' ) && empty( $wpdb->is_mysql ) ) {
$mysql_compat = true;
} else {
$mysql_compat = version_compare( $mysql_version, $update->mysql_version, '>=' );
}
$version_url = sprintf(
/* translators: %s: WordPress version. */
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
sanitize_title( $update->current )
);
$php_update_message = '
' . sprintf(
/* translators: %s: URL to Update PHP page. */
__( 'Learn more about updating PHP .' ),
esc_url( wp_get_update_php_url() )
);
$annotation = wp_get_update_php_annotation();
if ( $annotation ) {
$php_update_message .= '
' . $annotation . ' ';
}
if ( ! $mysql_compat && ! $php_compat ) {
$message = sprintf(
/* translators: 1: URL to WordPress release notes, 2: WordPress version number, 3: Minimum required PHP version number, 4: Minimum required MySQL version number, 5: Current PHP version number, 6: Current MySQL version number. */
__( 'You cannot update because WordPress %2$s requires PHP version %3$s or higher and MySQL version %4$s or higher. You are running PHP version %5$s and MySQL version %6$s.' ),
$version_url,
$update->current,
$update->php_version,
$update->mysql_version,
$php_version,
$mysql_version
) . $php_update_message;
} elseif ( ! $php_compat ) {
$message = sprintf(
/* translators: 1: URL to WordPress release notes, 2: WordPress version number, 3: Minimum required PHP version number, 4: Current PHP version number. */
__( 'You cannot update because WordPress %2$s requires PHP version %3$s or higher. You are running version %4$s.' ),
$version_url,
$update->current,
$update->php_version,
$php_version
) . $php_update_message;
} elseif ( ! $mysql_compat ) {
$message = sprintf(
/* translators: 1: URL to WordPress release notes, 2: WordPress version number, 3: Minimum required MySQL version number, 4: Current MySQL version number. */
__( 'You cannot update because WordPress %2$s requires MySQL version %3$s or higher. You are running version %4$s.' ),
$version_url,
$update->current,
$update->mysql_version,
$mysql_version
);
} else {
$message = sprintf(
/* translators: 1: Installed WordPress version number, 2: URL to WordPress release notes, 3: New WordPress version number, including locale if necessary. */
__( 'You can update from WordPress %1$s to WordPress %3$s manually:' ),
$wp_version,
$version_url,
$version_string
);
}
if ( ! $mysql_compat || ! $php_compat ) {
$show_buttons = false;
}
}
}
echo '
';
echo $message;
echo '
';
echo '';
}
/**
* Display dismissed updates.
*
* @since 2.7.0
*/
function dismissed_updates() {
$dismissed = get_core_updates(
array(
'dismissed' => true,
'available' => false,
)
);
if ( $dismissed ) {
$show_text = esc_js( __( 'Show hidden updates' ) );
$hide_text = esc_js( __( 'Hide hidden updates' ) );
?>
' . __( 'Show hidden updates' ) . ' ';
echo '';
foreach ( (array) $dismissed as $update ) {
echo '';
list_core_update( $update );
echo ' ';
}
echo ' ';
}
}
/**
* Display upgrade WordPress for downloading latest or upgrading automatically form.
*
* @since 2.7.0
*
* @global string $required_php_version The required PHP version string.
* @global string $required_mysql_version The required MySQL version string.
*/
function core_upgrade_preamble() {
global $required_php_version, $required_mysql_version;
$updates = get_core_updates();
// Include an unmodified $wp_version.
require ABSPATH . WPINC . '/version.php';
$is_development_version = preg_match( '/alpha|beta|RC/', $wp_version );
if ( isset( $updates[0]->version ) && version_compare( $updates[0]->version, $wp_version, '>' ) ) {
echo '';
_e( 'An updated version of WordPress is available.' );
echo ' ';
echo '';
printf(
/* translators: 1: Documentation on WordPress backups, 2: Documentation on updating WordPress. */
__( 'Important: Before updating, please back up your database and files . For help with updates, visit the Updating WordPress documentation page.' ),
__( 'https://wordpress.org/support/article/wordpress-backups/' ),
__( 'https://wordpress.org/support/article/updating-wordpress/' )
);
echo '
';
} elseif ( $is_development_version ) {
echo '' . __( 'You are using a development version of WordPress.' ) . ' ';
} else {
echo '' . __( 'You have the latest version of WordPress.' ) . ' ';
}
echo '';
foreach ( (array) $updates as $update ) {
echo '';
list_core_update( $update );
echo ' ';
}
echo ' ';
// Don't show the maintenance mode notice when we are only showing a single re-install option.
if ( $updates && ( count( $updates ) > 1 || 'latest' !== $updates[0]->response ) ) {
echo '' . __( 'While your site is being updated, it will be in maintenance mode. As soon as your updates are complete, this mode will be deactivated.' ) . '
';
} elseif ( ! $updates ) {
list( $normalized_version ) = explode( '-', $wp_version );
echo '' . sprintf(
/* translators: 1: URL to About screen, 2: WordPress version. */
__( 'Learn more about WordPress %2$s .' ),
esc_url( self_admin_url( 'about.php' ) ),
$normalized_version
) . '
';
}
dismissed_updates();
}
/**
* Display WordPress auto-updates settings.
*
* @since 5.6.0
*/
function core_auto_updates_settings() {
if ( isset( $_GET['core-major-auto-updates-saved'] ) ) {
if ( 'enabled' === $_GET['core-major-auto-updates-saved'] ) {
$notice_text = __( 'Automatic updates for all WordPress versions have been enabled. Thank you!' );
echo '';
} elseif ( 'disabled' === $_GET['core-major-auto-updates-saved'] ) {
$notice_text = __( 'WordPress will only receive automatic security and maintenance releases from now on.' );
echo '';
}
}
require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
$updater = new WP_Automatic_Updater();
// Defaults:
$upgrade_dev = get_site_option( 'auto_update_core_dev', 'enabled' ) === 'enabled';
$upgrade_minor = get_site_option( 'auto_update_core_minor', 'enabled' ) === 'enabled';
$upgrade_major = get_site_option( 'auto_update_core_major', 'unset' ) === 'enabled';
$can_set_update_option = true;
// WP_AUTO_UPDATE_CORE = true (all), 'beta', 'rc', 'development', 'branch-development', 'minor', false.
if ( defined( 'WP_AUTO_UPDATE_CORE' ) ) {
if ( false === WP_AUTO_UPDATE_CORE ) {
// Defaults to turned off, unless a filter allows it.
$upgrade_dev = false;
$upgrade_minor = false;
$upgrade_major = false;
} elseif ( true === WP_AUTO_UPDATE_CORE
|| in_array( WP_AUTO_UPDATE_CORE, array( 'beta', 'rc', 'development', 'branch-development' ), true )
) {
// ALL updates for core.
$upgrade_dev = true;
$upgrade_minor = true;
$upgrade_major = true;
} elseif ( 'minor' === WP_AUTO_UPDATE_CORE ) {
// Only minor updates for core.
$upgrade_dev = false;
$upgrade_minor = true;
$upgrade_major = false;
}
// The UI is overridden by the `WP_AUTO_UPDATE_CORE` constant.
$can_set_update_option = false;
}
if ( $updater->is_disabled() ) {
$upgrade_dev = false;
$upgrade_minor = false;
$upgrade_major = false;
/*
* The UI is overridden by the `AUTOMATIC_UPDATER_DISABLED` constant
* or the `automatic_updater_disabled` filter,
* or by `wp_is_file_mod_allowed( 'automatic_updater' )`.
* See `WP_Automatic_Updater::is_disabled()`.
*/
$can_set_update_option = false;
}
// Is the UI overridden by a plugin using the `allow_major_auto_core_updates` filter?
if ( has_filter( 'allow_major_auto_core_updates' ) ) {
$can_set_update_option = false;
}
/** This filter is documented in wp-admin/includes/class-core-upgrader.php */
$upgrade_dev = apply_filters( 'allow_dev_auto_core_updates', $upgrade_dev );
/** This filter is documented in wp-admin/includes/class-core-upgrader.php */
$upgrade_minor = apply_filters( 'allow_minor_auto_core_updates', $upgrade_minor );
/** This filter is documented in wp-admin/includes/class-core-upgrader.php */
$upgrade_major = apply_filters( 'allow_major_auto_core_updates', $upgrade_major );
$auto_update_settings = array(
'dev' => $upgrade_dev,
'minor' => $upgrade_minor,
'major' => $upgrade_major,
);
if ( $upgrade_major ) {
$wp_version = get_bloginfo( 'version' );
$updates = get_core_updates();
if ( isset( $updates[0]->version ) && version_compare( $updates[0]->version, $wp_version, '>' ) ) {
echo '' . wp_get_auto_update_message() . '
';
}
}
$action_url = self_admin_url( 'update-core.php?action=core-major-auto-updates-settings' );
?>
is_vcs_checkout( ABSPATH ) ) {
_e( 'This site appears to be under version control. Automatic updates are disabled.' );
} elseif ( $upgrade_major ) {
_e( 'This site is automatically kept up to date with each new version of WordPress.' );
if ( $can_set_update_option ) {
echo ' ';
printf(
'%s ',
wp_nonce_url( add_query_arg( 'value', 'disable', $action_url ), 'core-major-auto-updates-nonce' ),
__( 'Switch to automatic updates for maintenance and security releases only.' )
);
}
} elseif ( $upgrade_minor ) {
_e( 'This site is automatically kept up to date with maintenance and security releases of WordPress only.' );
if ( $can_set_update_option ) {
echo ' ';
printf(
'%s ',
wp_nonce_url( add_query_arg( 'value', 'enable', $action_url ), 'core-major-auto-updates-nonce' ),
__( 'Enable automatic updates for all new versions of WordPress.' )
);
}
} else {
_e( 'This site will not receive automatic updates for new versions of WordPress.' );
}
?>
' . __( 'Plugins' ) . '';
echo '' . __( 'Your plugins are all up to date.' ) . '
';
return;
}
$form_action = 'update-core.php?action=do-plugin-upgrade';
$core_updates = get_core_updates();
if ( ! isset( $core_updates[0]->response ) || 'latest' === $core_updates[0]->response || 'development' === $core_updates[0]->response || version_compare( $core_updates[0]->current, $cur_wp_version, '=' ) ) {
$core_update_version = false;
} else {
$core_update_version = $core_updates[0]->current;
}
$plugins_count = count( $plugins );
?>
(%d)',
__( 'Plugins' ),
number_format_i18n( $plugins_count )
);
?>
' . __( 'Themes' ) . '';
echo '' . __( 'Your themes are all up to date.' ) . '
';
return;
}
$form_action = 'update-core.php?action=do-theme-upgrade';
$themes_count = count( $themes );
?>
(%d)',
__( 'Themes' ),
number_format_i18n( $themes_count )
);
?>
Please Note: Any customizations you have made to theme files will be lost. Please consider using child themes for modifications.' ),
__( 'https://developer.wordpress.org/themes/advanced-topics/child-themes/' )
);
?>
' . __( 'Translations' ) . '';
echo '' . __( 'Your translations are all up to date.' ) . '
';
}
return;
}
$form_action = 'update-core.php?action=do-translation-upgrade';
?>
new_files ) && ! $update->new_files;
?>
';
return;
}
if ( ! WP_Filesystem( $credentials, ABSPATH, $allow_relaxed_file_ownership ) ) {
// Failed to connect. Error and request again.
request_filesystem_credentials( $url, '', true, ABSPATH, array( 'version', 'locale' ), $allow_relaxed_file_ownership );
echo '';
return;
}
if ( $wp_filesystem->errors->has_errors() ) {
foreach ( $wp_filesystem->errors->get_error_messages() as $message ) {
show_message( $message );
}
echo '';
return;
}
if ( $reinstall ) {
$update->response = 'reinstall';
}
add_filter( 'update_feedback', 'show_message' );
$upgrader = new Core_Upgrader();
$result = $upgrader->upgrade(
$update,
array(
'allow_relaxed_file_ownership' => $allow_relaxed_file_ownership,
)
);
if ( is_wp_error( $result ) ) {
show_message( $result );
if ( 'up_to_date' != $result->get_error_code() && 'locked' != $result->get_error_code() ) {
show_message( __( 'Installation failed.' ) );
}
echo '';
return;
}
show_message( __( 'WordPress updated successfully.' ) );
show_message(
'' . sprintf(
/* translators: 1: WordPress version, 2: URL to About screen. */
__( 'Welcome to WordPress %1$s. You will be redirected to the About WordPress screen. If not, click here .' ),
$result,
esc_url( self_admin_url( 'about.php?updated' ) )
) . ' '
);
show_message(
'' . sprintf(
/* translators: 1: WordPress version, 2: URL to About screen. */
__( 'Welcome to WordPress %1$s. Learn more .' ),
$result,
esc_url( self_admin_url( 'about.php?updated' ) )
) . ' '
);
?>
' . __( 'On this screen, you can update to the latest version of WordPress, as well as update your themes, plugins, and translations from the WordPress.org repositories.' ) . '';
$updates_overview .= '' . __( 'If an update is available, you᾿ll see a notification appear in the Toolbar and navigation menu.' ) . ' ' . __( 'Keeping your site updated is important for security. It also makes the internet a safer place for you and your readers.' ) . '
';
get_current_screen()->add_help_tab(
array(
'id' => 'overview',
'title' => __( 'Overview' ),
'content' => $updates_overview,
)
);
$updates_howto = '' . __( 'WordPress — Updating your WordPress installation is a simple one-click procedure: just click on the “Update now” button when you are notified that a new version is available.' ) . ' ' . __( 'In most cases, WordPress will automatically apply maintenance and security updates in the background for you.' ) . '
';
$updates_howto .= '' . __( 'Themes and Plugins — To update individual themes or plugins from this screen, use the checkboxes to make your selection, then click on the appropriate “Update” button . To update all of your themes or plugins at once, you can check the box at the top of the section to select all before clicking the update button.' ) . '
';
if ( 'en_US' !== get_locale() ) {
$updates_howto .= '' . __( 'Translations — The files translating WordPress into your language are updated for you whenever any other updates occur. But if these files are out of date, you can click the “Update Translations” button.' ) . '
';
}
get_current_screen()->add_help_tab(
array(
'id' => 'how-to-update',
'title' => __( 'How to Update' ),
'content' => $updates_howto,
)
);
$help_sidebar_autoupdates = '';
if ( ( current_user_can( 'update_themes' ) && wp_is_auto_update_enabled_for_type( 'theme' ) ) || ( current_user_can( 'update_plugins' ) && wp_is_auto_update_enabled_for_type( 'plugin' ) ) ) {
$help_tab_autoupdates = '' . __( 'Auto-updates can be enabled or disabled for WordPress major versions and for each individual theme or plugin. Themes or plugins with auto-updates enabled will display the estimated date of the next auto-update. Auto-updates depends on the WP-Cron task scheduling system.' ) . '
';
$help_tab_autoupdates .= '' . __( 'Please note: Third-party themes and plugins, or custom code, may override WordPress scheduling.' ) . '
';
get_current_screen()->add_help_tab(
array(
'id' => 'plugins-themes-auto-updates',
'title' => __( 'Auto-updates' ),
'content' => $help_tab_autoupdates,
)
);
$help_sidebar_autoupdates = '' . __( 'Learn more: Auto-updates documentation ' ) . '
';
}
get_current_screen()->set_help_sidebar(
'' . __( 'For more information:' ) . '
' .
'' . __( 'Documentation on Updating WordPress ' ) . '
' .
$help_sidebar_autoupdates .
'' . __( 'Support ' ) . '
'
);
if ( 'upgrade-core' === $action ) {
// Force a update check when requested.
$force_check = ! empty( $_GET['force-check'] );
wp_version_check( array(), $force_check );
require_once ABSPATH . 'wp-admin/admin-header.php';
?>
';
if ( 'themes' === $upgrade_error ) {
_e( 'Please select one or more themes to update.' );
} else {
_e( 'Please select one or more plugins to update.' );
}
echo '
';
}
$last_update_check = false;
$current = get_site_transient( 'update_core' );
if ( $current && isset( $current->last_checked ) ) {
$last_update_check = $current->last_checked + get_option( 'gmt_offset' ) * HOUR_IN_SECONDS;
}
echo '';
/* translators: Current version of WordPress. */
printf( __( 'Current version: %s' ), get_bloginfo( 'version' ) );
echo ' ';
echo '';
/* translators: 1: Date, 2: Time. */
printf( __( 'Last checked on %1$s at %2$s.' ), date_i18n( __( 'F j, Y' ), $last_update_check ), date_i18n( __( 'g:i a T' ), $last_update_check ) );
echo ' ' . __( 'Check again.' ) . ' ';
echo '
';
if ( current_user_can( 'update_core' ) ) {
core_auto_updates_settings();
core_upgrade_preamble();
}
if ( current_user_can( 'update_plugins' ) ) {
list_plugin_updates();
}
if ( current_user_can( 'update_themes' ) ) {
list_theme_updates();
}
if ( current_user_can( 'update_languages' ) ) {
list_translation_updates();
}
/**
* Fires after the core, plugin, and theme update tables.
*
* @since 2.9.0
*/
do_action( 'core_upgrade_preamble' );
echo '';
wp_localize_script(
'updates',
'_wpUpdatesItemCounts',
array(
'totals' => wp_get_update_data(),
)
);
require_once ABSPATH . 'wp-admin/admin-footer.php';
} elseif ( 'do-core-upgrade' === $action || 'do-core-reinstall' === $action ) {
if ( ! current_user_can( 'update_core' ) ) {
wp_die( __( 'Sorry, you are not allowed to update this site.' ) );
}
check_admin_referer( 'upgrade-core' );
// Do the (un)dismiss actions before headers, so that they can redirect.
if ( isset( $_POST['dismiss'] ) ) {
do_dismiss_core_update();
} elseif ( isset( $_POST['undismiss'] ) ) {
do_undismiss_core_update();
}
require_once ABSPATH . 'wp-admin/admin-header.php';
if ( 'do-core-reinstall' === $action ) {
$reinstall = true;
} else {
$reinstall = false;
}
if ( isset( $_POST['upgrade'] ) ) {
do_core_upgrade( $reinstall );
}
wp_localize_script(
'updates',
'_wpUpdatesItemCounts',
array(
'totals' => wp_get_update_data(),
)
);
require_once ABSPATH . 'wp-admin/admin-footer.php';
} elseif ( 'do-plugin-upgrade' === $action ) {
if ( ! current_user_can( 'update_plugins' ) ) {
wp_die( __( 'Sorry, you are not allowed to update this site.' ) );
}
check_admin_referer( 'upgrade-core' );
if ( isset( $_GET['plugins'] ) ) {
$plugins = explode( ',', $_GET['plugins'] );
} elseif ( isset( $_POST['checked'] ) ) {
$plugins = (array) $_POST['checked'];
} else {
wp_redirect( admin_url( 'update-core.php' ) );
exit;
}
$url = 'update.php?action=update-selected&plugins=' . urlencode( implode( ',', $plugins ) );
$url = wp_nonce_url( $url, 'bulk-update-plugins' );
// Used in the HTML title tag.
$title = __( 'Update Plugins' );
require_once ABSPATH . 'wp-admin/admin-header.php';
?>
wp_get_update_data(),
)
);
require_once ABSPATH . 'wp-admin/admin-footer.php';
} elseif ( 'do-theme-upgrade' === $action ) {
if ( ! current_user_can( 'update_themes' ) ) {
wp_die( __( 'Sorry, you are not allowed to update this site.' ) );
}
check_admin_referer( 'upgrade-core' );
if ( isset( $_GET['themes'] ) ) {
$themes = explode( ',', $_GET['themes'] );
} elseif ( isset( $_POST['checked'] ) ) {
$themes = (array) $_POST['checked'];
} else {
wp_redirect( admin_url( 'update-core.php' ) );
exit;
}
$url = 'update.php?action=update-selected-themes&themes=' . urlencode( implode( ',', $themes ) );
$url = wp_nonce_url( $url, 'bulk-update-themes' );
// Used in the HTML title tag.
$title = __( 'Update Themes' );
require_once ABSPATH . 'wp-admin/admin-header.php';
?>
wp_get_update_data(),
)
);
require_once ABSPATH . 'wp-admin/admin-footer.php';
} elseif ( 'do-translation-upgrade' === $action ) {
if ( ! current_user_can( 'update_languages' ) ) {
wp_die( __( 'Sorry, you are not allowed to update this site.' ) );
}
check_admin_referer( 'upgrade-translations' );
require_once ABSPATH . 'wp-admin/admin-header.php';
require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
$url = 'update-core.php?action=do-translation-upgrade';
$nonce = 'upgrade-translations';
$title = __( 'Update Translations' );
$context = WP_LANG_DIR;
$upgrader = new Language_Pack_Upgrader( new Language_Pack_Upgrader_Skin( compact( 'url', 'nonce', 'title', 'context' ) ) );
$result = $upgrader->bulk_upgrade();
wp_localize_script(
'updates',
'_wpUpdatesItemCounts',
array(
'totals' => wp_get_update_data(),
)
);
require_once ABSPATH . 'wp-admin/admin-footer.php';
} elseif ( 'core-major-auto-updates-settings' === $action ) {
if ( ! current_user_can( 'update_core' ) ) {
wp_die( __( 'Sorry, you are not allowed to update this site.' ) );
}
$redirect_url = self_admin_url( 'update-core.php' );
if ( isset( $_GET['value'] ) ) {
check_admin_referer( 'core-major-auto-updates-nonce' );
if ( 'enable' === $_GET['value'] ) {
update_site_option( 'auto_update_core_major', 'enabled' );
$redirect_url = add_query_arg( 'core-major-auto-updates-saved', 'enabled', $redirect_url );
} elseif ( 'disable' === $_GET['value'] ) {
update_site_option( 'auto_update_core_major', 'disabled' );
$redirect_url = add_query_arg( 'core-major-auto-updates-saved', 'disabled', $redirect_url );
}
}
wp_redirect( $redirect_url );
exit;
} else {
/**
* Fires for each custom update action on the WordPress Updates screen.
*
* The dynamic portion of the hook name, `$action`, refers to the
* passed update action. The hook fires in lieu of all available
* default update actions.
*
* @since 3.2.0
*/
do_action( "update-core-custom_{$action}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
}
media-new.php 0000644 00000006251 15237775763 0007155 0 ustar 00 add_help_tab(
array(
'id' => 'overview',
'title' => __( 'Overview' ),
'content' =>
'' . __( 'You can upload media files here without creating a post first. This allows you to upload files to use with posts and pages later and/or to get a web link for a particular file that you can share. There are three options for uploading files:' ) . '
' .
'' .
'' . __( 'Drag and drop your files into the area below. Multiple files are allowed.' ) . ' ' .
'' . __( 'Clicking Select Files opens a navigation window showing you files in your operating system. Selecting Open after clicking on the file you want activates a progress bar on the uploader screen.' ) . ' ' .
'' . __( 'Revert to the Browser Uploader by clicking the link below the drag and drop box.' ) . ' ' .
' ',
)
);
get_current_screen()->set_help_sidebar(
'' . __( 'For more information:' ) . '
' .
'' . __( 'Documentation on Uploading Media Files ' ) . '
' .
'' . __( 'Support ' ) . '
'
);
require_once ABSPATH . 'wp-admin/admin-header.php';
$form_class = 'media-upload-form type-form validate';
if ( get_user_setting( 'uploader' ) || isset( $_GET['browser-uploader'] ) ) {
$form_class .= ' html-uploader';
}
?>
$post ) );
// Flag that we're loading the block editor.
$current_screen = get_current_screen();
$current_screen->is_block_editor( true );
// Default to is-fullscreen-mode to avoid jumps in the UI.
add_filter(
'admin_body_class',
static function( $classes ) {
return "$classes is-fullscreen-mode";
}
);
/*
* Emoji replacement is disabled for now, until it plays nicely with React.
*/
remove_action( 'admin_print_scripts', 'print_emoji_detection_script' );
/*
* Block editor implements its own Options menu for toggling Document Panels.
*/
add_filter( 'screen_options_show_screen', '__return_false' );
wp_enqueue_script( 'heartbeat' );
wp_enqueue_script( 'wp-edit-post' );
$rest_path = rest_get_route_for_post( $post );
// Preload common data.
$preload_paths = array(
'/wp/v2/types?context=view',
'/wp/v2/taxonomies?context=view',
add_query_arg(
array(
'context' => 'edit',
'per_page' => -1,
),
rest_get_route_for_post_type_items( 'wp_block' )
),
add_query_arg( 'context', 'edit', $rest_path ),
sprintf( '/wp/v2/types/%s?context=edit', $post_type ),
'/wp/v2/users/me',
array( rest_get_route_for_post_type_items( 'attachment' ), 'OPTIONS' ),
array( rest_get_route_for_post_type_items( 'page' ), 'OPTIONS' ),
array( rest_get_route_for_post_type_items( 'wp_block' ), 'OPTIONS' ),
sprintf( '%s/autosaves?context=edit', $rest_path ),
'/wp/v2/settings',
);
block_editor_rest_api_preload( $preload_paths, $block_editor_context );
wp_add_inline_script(
'wp-blocks',
sprintf( 'wp.blocks.setCategories( %s );', wp_json_encode( get_block_categories( $post ) ) ),
'after'
);
/*
* Assign initial edits, if applicable. These are not initially assigned to the persisted post,
* but should be included in its save payload.
*/
$initial_edits = array();
$is_new_post = false;
if ( 'auto-draft' === $post->post_status ) {
$is_new_post = true;
// Override "(Auto Draft)" new post default title with empty string, or filtered value.
if ( post_type_supports( $post->post_type, 'title' ) ) {
$initial_edits['title'] = $post->post_title;
}
if ( post_type_supports( $post->post_type, 'editor' ) ) {
$initial_edits['content'] = $post->post_content;
}
if ( post_type_supports( $post->post_type, 'excerpt' ) ) {
$initial_edits['excerpt'] = $post->post_excerpt;
}
}
// Preload server-registered block schemas.
wp_add_inline_script(
'wp-blocks',
'wp.blocks.unstable__bootstrapServerSideBlockDefinitions(' . wp_json_encode( get_block_editor_server_block_settings() ) . ');'
);
// Get admin url for handling meta boxes.
$meta_box_url = admin_url( 'post.php' );
$meta_box_url = add_query_arg(
array(
'post' => $post->ID,
'action' => 'edit',
'meta-box-loader' => true,
'meta-box-loader-nonce' => wp_create_nonce( 'meta-box-loader' ),
),
$meta_box_url
);
wp_add_inline_script(
'wp-editor',
sprintf( 'var _wpMetaBoxUrl = %s;', wp_json_encode( $meta_box_url ) ),
'before'
);
/*
* Get all available templates for the post/page attributes meta-box.
* The "Default template" array element should only be added if the array is
* not empty so we do not trigger the template select element without any options
* besides the default value.
*/
$available_templates = wp_get_theme()->get_page_templates( get_post( $post->ID ) );
$available_templates = ! empty( $available_templates ) ? array_replace(
array(
/** This filter is documented in wp-admin/includes/meta-boxes.php */
'' => apply_filters( 'default_page_template_title', __( 'Default template' ), 'rest-api' ),
),
$available_templates
) : $available_templates;
// Lock settings.
$user_id = wp_check_post_lock( $post->ID );
if ( $user_id ) {
$locked = false;
/** This filter is documented in wp-admin/includes/post.php */
if ( apply_filters( 'show_post_locked_dialog', true, $post, $user_id ) ) {
$locked = true;
}
$user_details = null;
if ( $locked ) {
$user = get_userdata( $user_id );
$user_details = array(
'avatar' => get_avatar_url( $user_id, array( 'size' => 128 ) ),
'name' => $user->display_name,
);
}
$lock_details = array(
'isLocked' => $locked,
'user' => $user_details,
);
} else {
// Lock the post.
$active_post_lock = wp_set_post_lock( $post->ID );
if ( $active_post_lock ) {
$active_post_lock = esc_attr( implode( ':', $active_post_lock ) );
}
$lock_details = array(
'isLocked' => false,
'activePostLock' => $active_post_lock,
);
}
/**
* Filters the body placeholder text.
*
* @since 5.0.0
* @since 5.8.0 Changed the default placeholder text.
*
* @param string $text Placeholder text. Default 'Type / to choose a block'.
* @param WP_Post $post Post object.
*/
$body_placeholder = apply_filters( 'write_your_story', __( 'Type / to choose a block' ), $post );
$editor_settings = array(
'availableTemplates' => $available_templates,
'disablePostFormats' => ! current_theme_supports( 'post-formats' ),
/** This filter is documented in wp-admin/edit-form-advanced.php */
'titlePlaceholder' => apply_filters( 'enter_title_here', __( 'Add title' ), $post ),
'bodyPlaceholder' => $body_placeholder,
'autosaveInterval' => AUTOSAVE_INTERVAL,
'richEditingEnabled' => user_can_richedit(),
'postLock' => $lock_details,
'postLockUtils' => array(
'nonce' => wp_create_nonce( 'lock-post_' . $post->ID ),
'unlockNonce' => wp_create_nonce( 'update-post_' . $post->ID ),
'ajaxUrl' => admin_url( 'admin-ajax.php' ),
),
'supportsLayout' => WP_Theme_JSON_Resolver::theme_has_support(),
'supportsTemplateMode' => current_theme_supports( 'block-templates' ),
// Whether or not to load the 'postcustom' meta box is stored as a user meta
// field so that we're not always loading its assets.
'enableCustomFields' => (bool) get_user_meta( get_current_user_id(), 'enable_custom_fields', true ),
);
// Add additional back-compat patterns registered by `current_screen` et al.
$editor_settings['__experimentalAdditionalBlockPatterns'] = WP_Block_Patterns_Registry::get_instance()->get_all_registered( true );
$editor_settings['__experimentalAdditionalBlockPatternCategories'] = WP_Block_Pattern_Categories_Registry::get_instance()->get_all_registered( true );
$autosave = wp_get_post_autosave( $post->ID );
if ( $autosave ) {
if ( mysql2date( 'U', $autosave->post_modified_gmt, false ) > mysql2date( 'U', $post->post_modified_gmt, false ) ) {
$editor_settings['autosave'] = array(
'editLink' => get_edit_post_link( $autosave->ID ),
);
} else {
wp_delete_post_revision( $autosave->ID );
}
}
if ( ! empty( $post_type_object->template ) ) {
$editor_settings['template'] = $post_type_object->template;
$editor_settings['templateLock'] = ! empty( $post_type_object->template_lock ) ? $post_type_object->template_lock : false;
}
// If there's no template set on a new post, use the post format, instead.
if ( $is_new_post && ! isset( $editor_settings['template'] ) && 'post' === $post->post_type ) {
$post_format = get_post_format( $post );
if ( in_array( $post_format, array( 'audio', 'gallery', 'image', 'quote', 'video' ), true ) ) {
$editor_settings['template'] = array( array( "core/$post_format" ) );
}
}
if ( wp_is_block_theme() && $editor_settings['supportsTemplateMode'] ) {
$editor_settings['defaultTemplatePartAreas'] = get_allowed_block_template_part_areas();
}
/**
* Scripts
*/
wp_enqueue_media(
array(
'post' => $post->ID,
)
);
wp_tinymce_inline_scripts();
wp_enqueue_editor();
/**
* Styles
*/
wp_enqueue_style( 'wp-edit-post' );
/**
* Fires after block assets have been enqueued for the editing interface.
*
* Call `add_action` on any hook before 'admin_enqueue_scripts'.
*
* In the function call you supply, simply use `wp_enqueue_script` and
* `wp_enqueue_style` to add your functionality to the block editor.
*
* @since 5.0.0
*/
do_action( 'enqueue_block_editor_assets' );
// In order to duplicate classic meta box behaviour, we need to run the classic meta box actions.
require_once ABSPATH . 'wp-admin/includes/meta-boxes.php';
register_and_do_post_meta_boxes( $post );
// Check if the Custom Fields meta box has been removed at some point.
$core_meta_boxes = $wp_meta_boxes[ $current_screen->id ]['normal']['core'];
if ( ! isset( $core_meta_boxes['postcustom'] ) || ! $core_meta_boxes['postcustom'] ) {
unset( $editor_settings['enableCustomFields'] );
}
$editor_settings = get_block_editor_settings( $editor_settings, $block_editor_context );
$init_script = <<post_type,
$post->ID,
wp_json_encode( $editor_settings ),
wp_json_encode( $initial_edits )
);
wp_add_inline_script( 'wp-edit-post', $script );
if ( (int) get_option( 'page_for_posts' ) === $post->ID ) {
add_action( 'admin_enqueue_scripts', '_wp_block_editor_posts_page_notice' );
}
require_once ABSPATH . 'wp-admin/admin-header.php';
?>
Classic Editor plugin.' ),
esc_url( wp_nonce_url( self_admin_url( 'plugin-install.php?tab=favorites&user=wordpressdotorg&save=0' ), 'save_wporg_username_' . get_current_user_id() ) )
);
/**
* Filters the message displayed in the block editor interface when JavaScript is
* not enabled in the browser.
*
* @since 5.0.3
*
* @param string $message The message being displayed.
* @param WP_Post $post The post being edited.
*/
echo apply_filters( 'block_editor_no_javascript_message', $message, $post );
?>
media-upload.php 0000644 00000006762 15237775763 0007657 0 ustar 00 ' . __( 'Something went wrong.' ) . '' .
'' . __( 'Invalid item ID.' ) . '
',
403
);
}
if ( ! empty( $_REQUEST['post_id'] ) && ! current_user_can( 'edit_post', $_REQUEST['post_id'] ) ) {
wp_die(
'' . __( 'You need a higher level of permission.' ) . ' ' .
'' . __( 'Sorry, you are not allowed to edit this item.' ) . '
',
403
);
}
// Upload type: image, video, file, ...?
if ( isset( $_GET['type'] ) ) {
$type = (string) $_GET['type'];
} else {
/**
* Filters the default media upload type in the legacy (pre-3.5.0) media popup.
*
* @since 2.5.0
*
* @param string $type The default media upload type. Possible values include
* 'image', 'audio', 'video', 'file', etc. Default 'file'.
*/
$type = apply_filters( 'media_upload_default_type', 'file' );
}
// Tab: gallery, library, or type-specific.
if ( isset( $_GET['tab'] ) ) {
$tab = (string) $_GET['tab'];
} else {
/**
* Filters the default tab in the legacy (pre-3.5.0) media popup.
*
* @since 2.5.0
*
* @param string $tab The default media popup tab. Default 'type' (From Computer).
*/
$tab = apply_filters( 'media_upload_default_tab', 'type' );
}
$body_id = 'media-upload';
// Let the action code decide how to handle the request.
if ( 'type' === $tab || 'type_url' === $tab || ! array_key_exists( $tab, media_upload_tabs() ) ) {
/**
* Fires inside specific upload-type views in the legacy (pre-3.5.0)
* media popup based on the current tab.
*
* The dynamic portion of the hook name, `$type`, refers to the specific
* media upload type.
*
* The hook only fires if the current `$tab` is 'type' (From Computer),
* 'type_url' (From URL), or, if the tab does not exist (i.e., has not
* been registered via the {@see 'media_upload_tabs'} filter.
*
* Possible hook names include:
*
* - `media_upload_audio`
* - `media_upload_file`
* - `media_upload_image`
* - `media_upload_video`
*
* @since 2.5.0
*/
do_action( "media_upload_{$type}" );
} else {
/**
* Fires inside limited and specific upload-tab views in the legacy
* (pre-3.5.0) media popup.
*
* The dynamic portion of the hook name, `$tab`, refers to the specific
* media upload tab. Possible values include 'library' (Media Library),
* or any custom tab registered via the {@see 'media_upload_tabs'} filter.
*
* @since 2.5.0
*/
do_action( "media_upload_{$tab}" );
}
erase-personal-data.php 0000644 00000016431 15237775763 0011137 0 ustar 00 add_help_tab(
array(
'id' => 'overview',
'title' => __( 'Overview' ),
'content' =>
'' . __( 'This screen is where you manage requests to erase personal data.' ) . '
' .
'' . __( 'Privacy Laws around the world require businesses and online services to delete, anonymize, or forget the data they collect about an individual. The rights those laws enshrine are sometimes called the "Right to be Forgotten".' ) . '
' .
'' . __( 'The tool associates data stored in WordPress with a supplied email address, including profile data and comments.' ) . '
' .
'' . __( 'Note: As this tool only gathers data from WordPress and participating plugins, you may need to do more to comply with erasure requests. For example, you are also responsible for ensuring that data collected by or stored with the 3rd party services your organization uses gets deleted.' ) . '
',
)
);
get_current_screen()->add_help_tab(
array(
'id' => 'default-data',
'title' => __( 'Default Data' ),
'content' =>
'' . __( 'WordPress collects (but never publishes) a limited amount of data from logged-in users but then deletes it or anonymizes it. That data can include: ' ) . '
' .
'' . __( 'Profile Information — user email address, username, display name, nickname, first name, last name, description/bio, and registration date.' ) . '
' .
'' . __( 'Community Events Location — The IP Address of the user which is used for the Upcoming Community Events shown in the dashboard widget.' ) . '
' .
'' . __( 'Session Tokens — User login information, IP Addresses, Expiration Date, User Agent (Browser/OS), and Last Login.' ) . '
' .
'' . __( 'Comments — WordPress does not delete comments. The software does anonymize (but, again, never publishes) the associated Email Address, IP Address, and User Agent (Browser/OS).' ) . '
' .
'' . __( 'Media — A list of URLs for all media file uploads made by the user.' ) . '
',
)
);
$privacy_policy_guide = '' . sprintf(
/* translators: %s: URL to Privacy Policy Guide screen. */
__( 'If you are not sure, check the plugin documentation or contact the plugin author to see if the plugin collects data and if it supports the Data Eraser tool. This information may be available in the Privacy Policy Guide .' ),
admin_url( 'options-privacy.php?tab=policyguide' )
) . '
';
get_current_screen()->add_help_tab(
array(
'id' => 'plugin-data',
'title' => __( 'Plugin Data' ),
'content' =>
'' . __( 'Many plugins may collect or store personal data either in the WordPress database or remotely. Any Erase Personal Data request should delete data from plugins as well.' ) . '
' .
'' . __( 'If you are a plugin author, you can learn more about how to add support for the Personal Data Eraser to a plugin here .' ) . '
' .
$privacy_policy_guide,
)
);
get_current_screen()->set_help_sidebar(
'' . __( 'For more information:' ) . '
' .
'' . __( 'Documentation on Erase Personal Data ' ) . '
' .
'' . __( 'Support ' ) . '
'
);
// Handle list table actions.
_wp_personal_data_handle_actions();
// Cleans up failed and expired requests before displaying the list table.
_wp_personal_data_cleanup_requests();
wp_enqueue_script( 'privacy-tools' );
add_screen_option(
'per_page',
array(
'default' => 20,
'option' => 'remove_personal_data_requests_per_page',
)
);
$_list_table_args = array(
'plural' => 'privacy_requests',
'singular' => 'privacy_request',
);
$requests_table = _get_list_table( 'WP_Privacy_Data_Removal_Requests_List_Table', $_list_table_args );
$requests_table->screen->set_screen_reader_content(
array(
'heading_views' => __( 'Filter erase personal data list' ),
'heading_pagination' => __( 'Erase personal data list navigation' ),
'heading_list' => __( 'Erase personal data list' ),
)
);
$requests_table->process_bulk_action();
$requests_table->prepare_items();
require_once ABSPATH . 'wp-admin/admin-header.php';
?>
li,
ul.ul-square > li,
ol.ol-decimal > li {
margin: 0 0 0.5em;
}
/* rtl:ignore */
.ltr {
direction: ltr;
}
/* rtl:ignore */
.code,
code {
font-family: Consolas, Monaco, monospace;
direction: ltr;
unicode-bidi: embed;
}
kbd,
code {
padding: 3px 5px 2px;
margin: 0 1px;
background: #f0f0f1;
background: rgba(0, 0, 0, 0.07);
font-size: 13px;
}
.subsubsub {
list-style: none;
margin: 8px 0 0;
padding: 0;
font-size: 13px;
float: right;
color: #646970;
}
.subsubsub a {
line-height: 2;
padding: .2em;
text-decoration: none;
}
.subsubsub a .count,
.subsubsub a.current .count {
color: #50575e; /* #f1f1f1 background */
font-weight: 400;
}
.subsubsub a.current {
font-weight: 600;
border: none;
}
.subsubsub li {
display: inline-block;
margin: 0;
padding: 0;
white-space: nowrap;
}
/* .widefat - main style for tables */
.widefat {
border-spacing: 0;
width: 100%;
clear: both;
margin: 0;
}
.widefat * {
word-wrap: break-word;
}
.widefat a,
.widefat button.button-link {
text-decoration: none;
}
.widefat td,
.widefat th {
padding: 8px 10px;
}
.widefat thead th,
.widefat thead td {
border-bottom: 1px solid #c3c4c7;
}
.widefat tfoot th,
.widefat tfoot td {
border-top: 1px solid #c3c4c7;
border-bottom: none;
}
.widefat .no-items td {
border-bottom-width: 0;
}
.widefat td {
vertical-align: top;
}
.widefat td,
.widefat td p,
.widefat td ol,
.widefat td ul {
font-size: 13px;
line-height: 1.5em;
}
.widefat th,
.widefat thead td,
.widefat tfoot td {
text-align: right;
line-height: 1.3em;
font-size: 14px;
}
.widefat th input,
.updates-table td input,
.widefat thead td input,
.widefat tfoot td input {
margin: 0 8px 0 0;
padding: 0;
vertical-align: text-top;
}
.widefat .check-column {
width: 2.2em;
padding: 6px 0 25px;
vertical-align: top;
}
.widefat tbody th.check-column {
padding: 9px 0 22px;
}
.widefat thead td.check-column,
.widefat tbody th.check-column,
.updates-table tbody td.check-column,
.widefat tfoot td.check-column {
padding: 11px 3px 0 0;
}
.widefat thead td.check-column,
.widefat tfoot td.check-column {
padding-top: 4px;
vertical-align: middle;
}
.update-php div.updated,
.update-php div.error {
margin-right: 0;
}
.no-js .widefat thead .check-column input,
.no-js .widefat tfoot .check-column input {
display: none;
}
.widefat .num,
.column-comments,
.column-links,
.column-posts {
text-align: center;
}
.widefat th#comments {
vertical-align: middle;
}
.wrap {
margin: 10px 2px 0 20px;
}
.wrap.block-editor-no-js {
padding-right: 20px;
}
.wrap > h2:first-child, /* Back-compat for pre-4.4 */
.wrap [class$="icon32"] + h2, /* Back-compat for pre-4.4 */
.postbox .inside h2, /* Back-compat for pre-4.4 */
.wrap h1 {
font-size: 23px;
font-weight: 400;
margin: 0;
padding: 9px 0 4px;
line-height: 1.3;
}
.wrap h1.wp-heading-inline {
display: inline-block;
margin-left: 5px;
}
.wp-header-end {
visibility: hidden;
margin: -2px 0 0;
}
.subtitle {
margin: 0;
padding-right: 25px;
color: #50575e;
font-size: 14px;
font-weight: 400;
line-height: 1;
}
.subtitle strong {
word-break: break-all;
}
.wrap .add-new-h2, /* deprecated */
.wrap .add-new-h2:active, /* deprecated */
.wrap .page-title-action,
.wrap .page-title-action:active {
margin-right: 4px;
padding: 4px 8px;
position: relative;
top: -3px;
text-decoration: none;
border: 1px solid #2271b1;
border-radius: 2px;
text-shadow: none;
font-weight: 600;
font-size: 13px;
line-height: normal; /* IE8-IE11 need this for buttons */
color: #2271b1; /* use the standard color used for buttons */
background: #f6f7f7;
cursor: pointer;
}
.wrap .wp-heading-inline + .page-title-action {
margin-right: 0;
}
.wrap .add-new-h2:hover, /* deprecated */
.wrap .page-title-action:hover {
background: #f0f0f1;
border-color: #0a4b78;
color: #0a4b78;
}
/* lower specificity: color needs to be overridden by :hover and :active */
.page-title-action:focus {
color: #0a4b78;
}
/* Dashicon for language options on General Settings and Profile screens */
.form-table th label[for="locale"] .dashicons,
.form-table th label[for="WPLANG"] .dashicons {
margin-right: 5px;
}
.wrap .page-title-action:focus {
border-color: #3582c4;
box-shadow: 0 0 0 1px #3582c4;
/* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
}
.wrap h1.long-header {
padding-left: 0;
}
.wp-dialog {
background-color: #fff;
}
.widgets-chooser ul,
#widgets-left .widget-in-question .widget-top,
#available-widgets .widget-top:hover,
div#widgets-right .widget-top:hover,
#widgets-left .widget-top:hover {
border-color: #8c8f94;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.sorthelper {
background-color: #c5d9ed;
}
.ac_match,
.subsubsub a.current {
color: #000;
}
.striped > tbody > :nth-child(odd),
ul.striped > :nth-child(odd),
.alternate {
background-color: #f6f7f7;
}
.bar {
background-color: #f0f0f1;
border-left-color: #4f94d4;
}
/* Helper classes for plugins to leverage the active WordPress color scheme */
.highlight {
background-color: #f0f6fc;
color: #3c434a;
}
.wp-ui-primary {
color: #fff;
background-color: #2c3338;
}
.wp-ui-text-primary {
color: #2c3338;
}
.wp-ui-highlight {
color: #fff;
background-color: #2271b1;
}
.wp-ui-text-highlight {
color: #2271b1;
}
.wp-ui-notification {
color: #fff;
background-color: #d63638;
}
.wp-ui-text-notification {
color: #d63638;
}
.wp-ui-text-icon {
color: #8c8f94; /* same as new icons */
}
/* For emoji replacement images */
img.emoji {
display: inline !important;
border: none !important;
height: 1em !important;
width: 1em !important;
margin: 0 .07em !important;
vertical-align: -0.1em !important;
background: none !important;
padding: 0 !important;
box-shadow: none !important;
}
/*------------------------------------------------------------------------------
1.0 - Text Styles
------------------------------------------------------------------------------*/
.widget .widget-top,
.postbox .hndle,
.stuffbox .hndle,
.control-section .accordion-section-title,
.sidebar-name,
#nav-menu-header,
#nav-menu-footer,
.menu-item-handle,
.checkbox,
.side-info,
#your-profile #rich_editing,
.widefat thead th,
.widefat thead td,
.widefat tfoot th,
.widefat tfoot td {
line-height: 1.4em;
}
.widget .widget-top,
.menu-item-handle {
background: #f6f7f7;
color: #1d2327;
}
.stuffbox .hndle {
border-bottom: 1px solid #c3c4c7;
}
.quicktags {
background-color: #c3c4c7;
color: #000;
font-size: 12px;
}
.icon32 {
display: none;
}
/* @todo can we combine these into a class or use an existing dashicon one? */
.welcome-panel .welcome-panel-close:before,
.tagchecklist .ntdelbutton .remove-tag-icon:before,
#bulk-titles .ntdelbutton:before,
.notice-dismiss:before {
background: none;
color: #787c82;
content: "\f153";
display: block;
font: normal 16px/20px dashicons;
speak: never;
height: 20px;
text-align: center;
width: 20px;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.welcome-panel .welcome-panel-close:before {
margin: 0;
}
.tagchecklist .ntdelbutton .remove-tag-icon:before {
margin-right: 2px;
border-radius: 50%;
color: #2271b1;
/* vertically center the icon cross browsers */
line-height: 1.28;
}
.tagchecklist .ntdelbutton:focus {
outline: 0;
}
.tagchecklist .ntdelbutton:hover .remove-tag-icon:before,
.tagchecklist .ntdelbutton:focus .remove-tag-icon:before,
#bulk-titles .ntdelbutton:hover:before,
#bulk-titles .ntdelbutton:focus:before {
color: #d63638;
}
.tagchecklist .ntdelbutton:focus .remove-tag-icon:before {
box-shadow:
0 0 0 1px #4f94d4,
0 0 2px 1px rgba(79, 148, 212, 0.8);
}
.key-labels label {
line-height: 24px;
}
strong, b {
font-weight: 600;
}
.pre {
/* https://developer.mozilla.org/en-US/docs/CSS/white-space */
white-space: pre-wrap; /* css-3 */
word-wrap: break-word; /* IE 5.5 - 7 */
}
.howto {
color: #646970;
display: block;
}
p.install-help {
margin: 8px 0;
font-style: italic;
}
.no-break {
white-space: nowrap;
}
hr {
border: 0;
border-top: 1px solid #dcdcde;
border-bottom: 1px solid #f6f7f7;
}
.row-actions span.delete a,
.row-actions span.trash a,
.row-actions span.spam a,
.plugins a.delete,
#all-plugins-table .plugins a.delete,
#search-plugins-table .plugins a.delete,
.submitbox .submitdelete,
#media-items a.delete,
#media-items a.delete-permanently,
#nav-menu-footer .menu-delete,
#delete-link a.delete,
a#remove-post-thumbnail,
.privacy_requests .remove-personal-data .remove-personal-data-handle {
color: #b32d2e;
}
abbr.required,
span.required,
.file-error,
.row-actions .delete a:hover,
.row-actions .trash a:hover,
.row-actions .spam a:hover,
.plugins a.delete:hover,
#all-plugins-table .plugins a.delete:hover,
#search-plugins-table .plugins a.delete:hover,
.submitbox .submitdelete:hover,
#media-items a.delete:hover,
#media-items a.delete-permanently:hover,
#nav-menu-footer .menu-delete:hover,
#delete-link a.delete:hover,
a#remove-post-thumbnail:hover,
.privacy_requests .remove-personal-data .remove-personal-data-handle:hover {
color: #b32d2e;
border: none;
}
/*------------------------------------------------------------------------------
3.0 - Actions
------------------------------------------------------------------------------*/
#major-publishing-actions {
padding: 10px;
clear: both;
border-top: 1px solid #dcdcde;
background: #f6f7f7;
}
#delete-action {
float: right;
line-height: 2.30769231; /* 30px */
}
#delete-link {
line-height: 2.30769231; /* 30px */
vertical-align: middle;
text-align: right;
margin-right: 8px;
}
#delete-link a {
text-decoration: none;
}
#publishing-action {
text-align: left;
float: left;
line-height: 1.9;
}
#publishing-action .spinner {
float: none;
margin-top: 5px;
}
#misc-publishing-actions {
padding: 6px 0 0;
}
.misc-pub-section {
padding: 6px 10px 8px;
}
.misc-pub-filename {
word-wrap: break-word;
}
#minor-publishing-actions {
padding: 10px 10px 0;
text-align: left;
}
#save-post {
float: right;
}
.preview {
float: left;
}
#sticky-span {
margin-right: 18px;
}
.approve,
.unapproved .unapprove {
display: none;
}
.unapproved .approve,
.spam .approve,
.trash .approve {
display: inline;
}
td.action-links,
th.action-links {
text-align: left;
}
#misc-publishing-actions .notice {
margin-right: 10px;
margin-left: 10px;
}
/* Filter bar */
.wp-filter {
display: inline-block;
position: relative;
box-sizing: border-box;
margin: 12px 0 25px;
padding: 0 10px;
width: 100%;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
border: 1px solid #c3c4c7;
background: #fff;
color: #50575e;
font-size: 13px;
}
.wp-filter a {
text-decoration: none;
}
.filter-count {
display: inline-block;
vertical-align: middle;
min-width: 4em;
}
.title-count,
.filter-count .count {
display: inline-block;
position: relative;
top: -1px;
padding: 4px 10px;
border-radius: 30px;
background: #646970;
color: #fff;
font-size: 14px;
font-weight: 600;
}
/* not a part of filter bar, but derived from it, so here for now */
.title-count {
display: inline;
top: -3px;
margin-right: 5px;
margin-left: 20px;
}
.filter-items {
float: right;
}
.filter-links {
display: inline-block;
margin: 0;
}
.filter-links li {
display: inline-block;
margin: 0;
}
.filter-links li > a {
display: inline-block;
margin: 0 10px;
padding: 15px 0;
border-bottom: 4px solid #fff;
color: #646970;
cursor: pointer;
}
.filter-links .current {
box-shadow: none;
border-bottom: 4px solid #646970;
color: #1d2327;
}
.filter-links li > a:hover,
.filter-links li > a:focus,
.show-filters .filter-links a.current:hover,
.show-filters .filter-links a.current:focus {
color: #135e96;
}
.wp-filter .search-form {
float: left;
margin: 10px 0;
}
.wp-filter .search-form input[type="search"] {
margin: 1px 0;
width: 280px;
max-width: 100%;
}
.wp-filter .search-form select {
margin: 0;
}
/* Use flexbox only on the plugins install page. The `filter-links` and search form children will become flex items. */
.plugin-install-php .wp-filter {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
}
.wp-filter .search-form.search-plugins {
/* This element is a flex item: the inherited float won't have any effect. */
margin-top: 0;
}
.wp-filter .search-form.search-plugins select,
.wp-filter .search-form.search-plugins .wp-filter-search {
display: inline-block;
margin-top: 10px;
vertical-align: top;
}
.wp-filter .button.drawer-toggle {
margin: 10px 9px 0;
padding: 0 6px 0 10px;
border-color: transparent;
background-color: transparent;
color: #646970;
vertical-align: baseline;
box-shadow: none;
}
.wp-filter .drawer-toggle:before {
content: "\f111";
margin: 0 0 0 5px;
color: #646970;
font: normal 16px/1 dashicons;
vertical-align: text-bottom;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.wp-filter .button.drawer-toggle:hover,
.wp-filter .drawer-toggle:hover:before,
.wp-filter .button.drawer-toggle:focus,
.wp-filter .drawer-toggle:focus:before {
background-color: transparent;
color: #135e96;
}
.wp-filter .button.drawer-toggle:hover,
.wp-filter .button.drawer-toggle:focus:active {
border-color: transparent;
}
.wp-filter .button.drawer-toggle:focus {
border-color: #4f94d4;
}
.wp-filter .button.drawer-toggle:active {
background: transparent;
box-shadow: none;
transform: none;
}
.wp-filter .drawer-toggle.current:before {
color: #fff;
}
.filter-drawer,
.wp-filter .favorites-form {
display: none;
margin: 0 -20px 0 -10px;
padding: 20px;
border-top: 1px solid #f0f0f1;
background: #f6f7f7;
overflow: hidden;
}
.show-filters .filter-drawer,
.show-favorites-form .favorites-form {
display: block;
}
.show-filters .filter-links a.current {
border-bottom: none;
}
.show-filters .wp-filter .button.drawer-toggle {
border-radius: 2px;
background: #646970;
color: #fff;
}
.show-filters .wp-filter .drawer-toggle:hover,
.show-filters .wp-filter .drawer-toggle:focus {
background: #2271b1;
}
.show-filters .wp-filter .drawer-toggle:before {
color: #fff;
}
.filter-group {
box-sizing: border-box;
position: relative;
float: right;
margin: 0 0 0 1%;
padding: 20px 10px 10px;
width: 24%;
background: #fff;
border: 1px solid #dcdcde;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}
.filter-group legend {
position: absolute;
top: 10px;
display: block;
margin: 0;
padding: 0;
font-size: 1em;
font-weight: 600;
}
.filter-drawer .filter-group-feature {
margin: 28px 0 0;
list-style-type: none;
font-size: 12px;
}
.filter-drawer .filter-group-feature input,
.filter-drawer .filter-group-feature label {
line-height: 1.4;
}
.filter-drawer .filter-group-feature input {
position: absolute;
margin: 0;
}
.filter-group .filter-group-feature label {
display: block;
margin: 14px 23px 14px 0;
}
.filter-drawer .buttons {
clear: both;
margin-bottom: 20px;
}
.filter-drawer .filter-group + .buttons {
margin-bottom: 0;
padding-top: 20px;
}
.filter-drawer .buttons .button span {
display: inline-block;
opacity: 0.8;
font-size: 12px;
text-indent: 10px;
}
.wp-filter .button.clear-filters {
display: none;
margin-right: 10px;
}
.wp-filter .button-link.edit-filters {
padding: 0 5px;
line-height: 2.2;
}
.filtered-by {
display: none;
margin: 0;
}
.filtered-by > span {
font-weight: 600;
}
.filtered-by a {
margin-right: 10px;
}
.filtered-by .tags {
display: inline;
}
.filtered-by .tag {
margin: 0 5px;
padding: 4px 8px;
border: 1px solid #dcdcde;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
background: #fff;
font-size: 11px;
}
.filters-applied .filter-group,
.filters-applied .filter-drawer .buttons,
.filters-applied .filter-drawer br {
display: none;
}
.filters-applied .filtered-by {
display: block;
}
.filters-applied .filter-drawer {
padding: 20px;
}
.show-filters .favorites-form,
.show-filters .content-filterable,
.show-filters.filters-applied.loading-content .content-filterable,
.loading-content .content-filterable,
.error .content-filterable {
display: none;
}
.show-filters.filters-applied .content-filterable {
display: block;
}
.loading-content .spinner {
display: block;
margin: 40px auto 0;
float: none;
}
@media only screen and (max-width: 1120px) {
.filter-drawer {
border-bottom: 1px solid #f0f0f1;
}
.filter-group {
margin-bottom: 0;
margin-top: 5px;
width: 100%;
}
.filter-group li {
margin: 10px 0;
}
}
@media only screen and (max-width: 1000px) {
.filter-items {
float: none;
}
.wp-filter .media-toolbar-primary,
.wp-filter .media-toolbar-secondary,
.wp-filter .search-form {
float: none; /* Remove float from media-views.css */
position: relative;
max-width: 100%;
}
}
@media only screen and (max-width: 782px) {
.filter-group li {
padding: 0;
width: 50%;
}
}
@media only screen and (max-width: 320px) {
.filter-count {
display: none;
}
.wp-filter .drawer-toggle {
margin: 10px 0;
}
.filter-group li,
.wp-filter .search-form input[type="search"] {
width: 100%;
}
}
/*------------------------------------------------------------------------------
4.0 - Notifications
------------------------------------------------------------------------------*/
.notice,
div.updated,
div.error {
background: #fff;
border: 1px solid #c3c4c7;
border-right-width: 4px;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
margin: 5px 15px 2px;
padding: 1px 12px;
}
div[class="update-message"] { /* back-compat for pre-4.6 */
padding: 0.5em 0 0.5em 12px;
}
.notice p,
.notice-title,
div.updated p,
div.error p,
.form-table td .notice p {
margin: 0.5em 0;
padding: 2px;
}
.error a {
text-decoration: underline;
}
.updated a {
padding-bottom: 2px;
}
.notice-alt {
box-shadow: none;
}
.notice-large {
padding: 10px 20px;
}
.notice-title {
display: inline-block;
color: #1d2327;
font-size: 18px;
}
.wp-core-ui .notice.is-dismissible {
padding-left: 38px;
position: relative;
}
.notice-dismiss {
position: absolute;
top: 0;
left: 1px;
border: none;
margin: 0;
padding: 9px;
background: none;
color: #787c82;
cursor: pointer;
}
.notice-dismiss:hover:before,
.notice-dismiss:active:before,
.notice-dismiss:focus:before {
color: #d63638;
}
.notice-dismiss:focus {
outline: none;
box-shadow:
0 0 0 1px #4f94d4,
0 0 2px 1px rgba(79, 148, 212, 0.8);
}
.notice-success,
div.updated {
border-right-color: #00a32a;
}
.notice-success.notice-alt {
background-color: #edfaef;
}
.notice-warning {
border-right-color: #dba617;
}
.notice-warning.notice-alt {
background-color: #fcf9e8;
}
.notice-error,
div.error {
border-right-color: #d63638;
}
.notice-error.notice-alt {
background-color: #fcf0f1;
}
.notice-info {
border-right-color: #72aee6;
}
.notice-info.notice-alt {
background-color: #f0f6fc;
}
.update-message p:before,
.updating-message p:before,
.updated-message p:before,
.import-php .updating-message:before,
.button.updating-message:before,
.button.updated-message:before,
.button.installed:before,
.button.installing:before {
display: inline-block;
font: normal 20px/1 'dashicons';
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
vertical-align: top;
}
.wrap .notice,
.wrap div.updated,
.wrap div.error,
.media-upload-form .notice,
.media-upload-form div.error {
margin: 5px 0 15px;
}
.wrap #templateside .notice {
display: block;
margin: 0;
padding: 5px 8px;
font-weight: 600;
text-decoration: none;
}
.wrap #templateside span.notice {
margin-right: -12px;
}
#templateside li.notice a {
padding: 0;
}
/* Update icon. */
.update-message p:before,
.updating-message p:before,
.import-php .updating-message:before,
.button.updating-message:before,
.button.installing:before {
color: #d63638;
content: "\f463";
}
/* Spins the update icon. */
.updating-message p:before,
.import-php .updating-message:before,
.button.updating-message:before,
.button.installing:before,
.plugins .column-auto-updates .dashicons-update.spin,
.theme-overlay .theme-autoupdate .dashicons-update.spin {
animation: rotation 2s infinite linear;
}
@media (prefers-reduced-motion: reduce) {
.updating-message p:before,
.import-php .updating-message:before,
.button.updating-message:before,
.button.installing:before,
.plugins .column-auto-updates .dashicons-update.spin,
.theme-overlay .theme-autoupdate .dashicons-update.spin {
animation: none;
}
}
.theme-overlay .theme-autoupdate .dashicons-update.spin {
margin-left: 3px;
}
/* Updated icon (check mark). */
.updated-message p:before,
.installed p:before,
.button.updated-message:before {
color: #68de7c;
content: "\f147";
}
/* Error icon. */
.update-message.notice-error p:before {
color: #d63638;
content: "\f534";
}
.wrap .notice p:before,
.import-php .updating-message:before {
margin-left: 6px;
vertical-align: bottom;
}
#update-nag,
.update-nag {
display: inline-block;
line-height: 1.4;
padding: 11px 15px;
font-size: 14px;
margin: 25px 2px 0 20px;
}
ul#dismissed-updates {
display: none;
}
#dismissed-updates li > p {
margin-top: 0;
}
#dismiss,
#undismiss {
margin-right: 0.5em;
}
form.upgrade {
margin-top: 8px;
}
form.upgrade .hint {
font-style: italic;
font-size: 85%;
margin: -0.5em 0 2em;
}
.update-php .spinner {
float: none;
margin: -4px 0;
}
h2.wp-current-version {
margin-bottom: .3em;
}
p.update-last-checked {
margin-top: 0;
}
p.auto-update-status {
margin-top: 2em;
line-height: 1.8;
}
#ajax-loading,
.ajax-loading,
.ajax-feedback,
.imgedit-wait-spin,
.list-ajax-loading { /* deprecated */
visibility: hidden;
}
#ajax-response.alignleft {
margin-right: 2em;
}
.button.updating-message:before,
.button.updated-message:before,
.button.installed:before,
.button.installing:before {
margin: 3px -2px 0 5px;
}
.button-primary.updating-message:before {
color: #fff;
}
.button-primary.updated-message:before {
color: #9ec2e6;
}
.button.updated-message {
transition-property: border, background, color;
transition-duration: .05s;
transition-timing-function: ease-in-out;
}
@media aural {
.wrap .notice p:before,
.button.installing:before,
.button.installed:before,
.update-message p:before {
speak: never;
}
}
/* @todo: this does not need its own section anymore */
/*------------------------------------------------------------------------------
6.0 - Admin Header
------------------------------------------------------------------------------*/
#adminmenu a,
#taglist a,
#catlist a {
text-decoration: none;
}
/*------------------------------------------------------------------------------
6.1 - Screen Options Tabs
------------------------------------------------------------------------------*/
#screen-options-wrap,
#contextual-help-wrap {
margin: 0;
padding: 8px 20px 12px;
position: relative;
}
#contextual-help-wrap {
overflow: auto;
margin-right: 0;
}
#screen-meta-links {
float: left;
margin: 0 0 0 20px;
}
/* screen options and help tabs revert */
#screen-meta {
display: none;
margin: 0 0 -1px 20px;
position: relative;
background-color: #fff;
border: 1px solid #c3c4c7;
border-top: none;
box-shadow: 0 0 0 transparent;
}
#screen-options-link-wrap,
#contextual-help-link-wrap {
float: right;
margin: 0 6px 0 0;
}
#screen-meta-links .screen-meta-toggle {
position: relative;
top: 0;
}
#screen-meta-links .show-settings {
border: 1px solid #c3c4c7;
border-top: none;
height: auto;
margin-bottom: 0;
padding: 3px 16px 3px 6px;
background: #fff;
border-radius: 0 0 4px 4px;
color: #646970;
line-height: 1.7;
box-shadow: 0 0 0 transparent;
transition: box-shadow 0.1s linear;
}
#screen-meta-links .show-settings:hover,
#screen-meta-links .show-settings:active,
#screen-meta-links .show-settings:focus {
color: #2c3338;
}
#screen-meta-links .show-settings:focus {
border-color: #4f94d4;
box-shadow: 0 0 3px rgba(34, 113, 177, 0.8);
}
#screen-meta-links .show-settings:active {
transform: none;
}
#screen-meta-links .show-settings:after {
left: 0;
content: "\f140";
font: normal 20px/1 dashicons;
speak: never;
display: inline-block;
padding: 0 0 0 5px;
bottom: 2px;
position: relative;
vertical-align: bottom;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-decoration: none;
}
#screen-meta-links .screen-meta-active:after {
content: "\f142";
}
/* end screen options and help tabs */
.toggle-arrow {
background-repeat: no-repeat;
background-position: top right;
background-color: transparent;
height: 22px;
line-height: 22px;
display: block;
}
.toggle-arrow-active {
background-position: bottom right;
}
#screen-options-wrap h5, /* Back-compat for old plugins */
#screen-options-wrap legend,
#contextual-help-wrap h5 {
margin: 0;
padding: 8px 0;
font-size: 13px;
font-weight: 600;
}
.metabox-prefs label {
display: inline-block;
padding-left: 15px;
line-height: 2.35;
}
#number-of-columns {
display: inline-block;
vertical-align: middle;
line-height: 30px;
}
.metabox-prefs input[type=checkbox] {
margin-top: 0;
margin-left: 6px;
}
.metabox-prefs label input,
.metabox-prefs label input[type=checkbox] {
margin: -4px 0 0 5px;
}
.metabox-prefs .columns-prefs label input {
margin: -1px 0 0 2px;
}
.metabox-prefs label a {
display: none;
}
.metabox-prefs .screen-options input,
.metabox-prefs .screen-options label {
margin-top: 0;
margin-bottom: 0;
vertical-align: middle;
}
.metabox-prefs .screen-options .screen-per-page {
margin-left: 15px;
padding-left: 0;
}
.metabox-prefs .screen-options label {
line-height: 2.2;
padding-left: 0;
}
.screen-options + .screen-options {
margin-top: 10px;
}
.metabox-prefs .submit {
margin-top: 1em;
padding: 0;
}
/*------------------------------------------------------------------------------
6.2 - Help Menu
------------------------------------------------------------------------------*/
#contextual-help-wrap {
padding: 0;
}
#contextual-help-columns {
position: relative;
}
#contextual-help-back {
position: absolute;
top: 0;
bottom: 0;
right: 150px;
left: 170px;
border: 1px solid #c3c4c7;
border-top: none;
border-bottom: none;
background: #f0f6fc;
}
#contextual-help-wrap.no-sidebar #contextual-help-back {
left: 0;
border-left-width: 0;
border-bottom-left-radius: 2px;
}
.contextual-help-tabs {
float: right;
width: 150px;
margin: 0;
}
.contextual-help-tabs ul {
margin: 1em 0;
}
.contextual-help-tabs li {
margin-bottom: 0;
list-style-type: none;
border-style: solid;
border-width: 0 2px 0 0;
border-color: transparent;
}
.contextual-help-tabs a {
display: block;
padding: 5px 12px 5px 5px;
line-height: 1.4;
text-decoration: none;
border: 1px solid transparent;
border-left: none;
border-right: none;
}
.contextual-help-tabs a:hover {
color: #2c3338;
}
.contextual-help-tabs .active {
padding: 0;
margin: 0 0 0 -1px;
border-right: 2px solid #72aee6;
background: #f0f6fc;
box-shadow: 0 2px 0 rgba(0, 0, 0, 0.02), 0 1px 0 rgba(0, 0, 0, 0.02);
}
.contextual-help-tabs .active a {
border-color: #c3c4c7;
color: #2c3338;
}
.contextual-help-tabs-wrap {
padding: 0 20px;
overflow: auto;
}
.help-tab-content {
display: none;
margin: 0 0 12px 22px;
line-height: 1.6;
}
.help-tab-content.active {
display: block;
}
.help-tab-content ul li {
list-style-type: disc;
margin-right: 18px;
}
.contextual-help-sidebar {
width: 150px;
float: left;
padding: 0 12px 0 8px;
overflow: auto;
}
/*------------------------------------------------------------------------------
8.0 - Layout Blocks
------------------------------------------------------------------------------*/
html.wp-toolbar {
padding-top: 32px;
box-sizing: border-box;
-ms-overflow-style: scrollbar; /* See ticket #48545 */
}
.widefat th,
.widefat td {
color: #50575e;
}
.widefat th,
.widefat thead td,
.widefat tfoot td {
font-weight: 400;
}
.widefat thead tr th,
.widefat thead tr td,
.widefat tfoot tr th,
.widefat tfoot tr td {
color: #2c3338;
}
.widefat td p {
margin: 2px 0 0.8em;
}
.widefat p,
.widefat ol,
.widefat ul {
color: #2c3338;
}
.widefat .column-comment p {
margin: 0.6em 0;
}
.widefat .column-comment ul {
list-style: initial;
margin-right: 2em;
}
/* Screens with postboxes */
.postbox-container {
float: right;
}
.postbox-container .meta-box-sortables {
box-sizing: border-box;
}
#wpbody-content .metabox-holder {
padding-top: 10px;
}
.metabox-holder .postbox-container .meta-box-sortables {
/* The jQuery UI Sortables need some initial height to work properly. */
min-height: 1px;
position: relative;
}
#post-body-content {
width: 100%;
min-width: 463px;
float: right;
}
#post-body.columns-2 #postbox-container-1 {
float: left;
margin-left: -300px;
width: 280px;
}
#post-body.columns-2 #side-sortables {
min-height: 250px;
}
/* one column on the dash */
@media only screen and (max-width: 799px) {
#wpbody-content .metabox-holder .postbox-container .empty-container {
outline: none;
height: 0;
min-height: 0;
}
}
.js .widget .widget-top,
.js .postbox .hndle {
cursor: move;
}
.js .widget .widget-top.is-non-sortable,
.js .postbox .hndle.is-non-sortable {
cursor: auto;
}
/* Configurable dashboard widgets "Configure" edit-box link. */
.hndle a {
font-size: 12px;
font-weight: 400;
}
.postbox-header {
display: flex;
align-items: center;
justify-content: space-between;
border-bottom: 1px solid #c3c4c7;
}
.postbox-header .hndle {
flex-grow: 1;
/* Handle the alignment for the configurable dashboard widgets "Configure" edit-box link. */
display: flex;
justify-content: space-between;
align-items: center;
}
.postbox-header .handle-actions {
flex-shrink: 0;
}
/* Post box order and toggle buttons. */
.postbox .handle-order-higher,
.postbox .handle-order-lower,
.postbox .handlediv {
width: 36px;
height: 36px;
margin: 0;
padding: 0;
border: 0;
background: none;
cursor: pointer;
}
.postbox .handle-order-higher,
.postbox .handle-order-lower {
color: #787c82;
width: 1.62rem;
}
/* Post box order buttons in the block editor meta boxes area. */
.edit-post-meta-boxes-area .postbox .handle-order-higher,
.edit-post-meta-boxes-area .postbox .handle-order-lower {
width: 44px;
height: 44px;
color: #1d2327
}
.postbox .handle-order-higher[aria-disabled="true"],
.postbox .handle-order-lower[aria-disabled="true"] {
cursor: default;
color: #a7aaad;
}
.sortable-placeholder {
border: 1px dashed #c3c4c7;
margin-bottom: 20px;
}
.postbox,
.stuffbox {
margin-bottom: 20px;
padding: 0;
line-height: 1;
}
.postbox.closed {
border-bottom: 0;
}
/* user-select is not a part of the CSS standard - may change behavior in the future */
.postbox .hndle,
.stuffbox .hndle {
-webkit-user-select: none;
user-select: none;
}
.postbox .inside {
padding: 0 12px 12px;
line-height: 1.4;
font-size: 13px;
}
.stuffbox .inside {
padding: 0;
line-height: 1.4;
font-size: 13px;
margin-top: 0;
}
.postbox .inside {
margin: 11px 0;
position: relative;
}
.postbox .inside > p:last-child,
.rss-widget ul li:last-child {
margin-bottom: 1px !important;
}
.postbox.closed h3 {
border: none;
box-shadow: none;
}
.postbox table.form-table {
margin-bottom: 0;
}
.postbox table.widefat {
box-shadow: none;
}
.temp-border {
border: 1px dotted #c3c4c7;
}
.columns-prefs label {
padding: 0 0 0 10px;
}
/* @todo: what is this doing here */
#dashboard_right_now .versions .b,
#post-status-display,
#post-visibility-display,
#adminmenu .wp-submenu li.current,
#adminmenu .wp-submenu li.current a,
#adminmenu .wp-submenu li.current a:hover,
.media-item .percent,
.plugins .name,
#pass-strength-result.strong,
#pass-strength-result.short,
#ed_reply_toolbar #ed_reply_strong,
.item-controls .item-order a,
.feature-filter .feature-name,
#comment-status-display {
font-weight: 600;
}
/*------------------------------------------------------------------------------
21.0 - Admin Footer
------------------------------------------------------------------------------*/
#wpfooter {
position: absolute;
bottom: 0;
right: 0;
left: 0;
padding: 10px 20px;
color: #50575e;
}
#wpfooter p {
font-size: 13px;
margin: 0;
line-height: 1.55;
}
#footer-thankyou {
font-style: italic;
}
/*------------------------------------------------------------------------------
25.0 - Tabbed Admin Screen Interface (Experimental)
------------------------------------------------------------------------------*/
.nav-tab {
float: right;
border: 1px solid #c3c4c7;
border-bottom: none;
margin-right: 0.5em; /* half the font size so set the font size properly */
padding: 5px 10px;
font-size: 14px;
line-height: 1.71428571;
font-weight: 600;
background: #dcdcde;
color: #50575e;
text-decoration: none;
white-space: nowrap;
}
h3 .nav-tab, /* Back-compat for pre-4.4 */
.nav-tab-small .nav-tab {
padding: 5px 14px;
font-size: 12px;
line-height: 1.33;
}
.nav-tab:hover,
.nav-tab:focus {
background-color: #fff;
color: #3c434a;
}
.nav-tab-active,
.nav-tab:focus:active {
box-shadow: none;
}
.nav-tab-active {
margin-bottom: -1px;
color: #3c434a;
}
.nav-tab-active,
.nav-tab-active:hover,
.nav-tab-active:focus,
.nav-tab-active:focus:active {
border-bottom: 1px solid #f0f0f1;
background: #f0f0f1;
color: #000;
}
h1.nav-tab-wrapper, /* Back-compat for pre-4.4 */
.wrap h2.nav-tab-wrapper, /* higher specificity to override .wrap > h2:first-child */
.nav-tab-wrapper {
border-bottom: 1px solid #c3c4c7;
margin: 0;
padding-top: 9px;
padding-bottom: 0;
line-height: inherit;
}
/* Back-compat for plugins. Deprecated. Use .wp-clearfix instead. */
.nav-tab-wrapper:not(.wp-clearfix):after {
content: "";
display: table;
clear: both;
}
/*------------------------------------------------------------------------------
26.0 - Misc
------------------------------------------------------------------------------*/
.spinner {
background: url(../images/spinner.gif) no-repeat;
background-size: 20px 20px;
display: inline-block;
visibility: hidden;
float: left;
vertical-align: middle;
opacity: 0.7;
filter: alpha(opacity=70);
width: 20px;
height: 20px;
margin: 4px 10px 0;
}
.spinner.is-active,
.loading-content .spinner {
visibility: visible;
}
#template > div {
margin-left: 16em;
}
#template .notice {
margin-top: 1em;
margin-left: 3%;
}
#template .notice p {
width: auto;
}
#template .submit .spinner {
float: none;
}
.metabox-holder .stuffbox > h3, /* Back-compat for pre-4.4 */
.metabox-holder .postbox > h3, /* Back-compat for pre-4.4 */
.metabox-holder h3.hndle, /* Back-compat for pre-4.4 */
.metabox-holder h2.hndle {
font-size: 14px;
padding: 8px 12px;
margin: 0;
line-height: 1.4;
}
/* Back-compat for nav-menus screen */
.nav-menus-php .metabox-holder h3 {
padding: 10px 14px 11px 10px;
line-height: 1.5;
}
#templateside ul li a {
text-decoration: none;
}
.plugin-install #description,
.plugin-install-network #description {
width: 60%;
}
table .vers,
table .column-visible,
table .column-rating {
text-align: right;
}
.attention,
.error-message {
color: #d63638;
font-weight: 600;
}
/* Scrollbar fix for bulk upgrade iframe */
body.iframe {
height: 98%;
}
/* Upgrader styles, Specific to Language Packs */
.lp-show-latest p {
display: none;
}
.lp-show-latest p:last-child,
.lp-show-latest .lp-error p {
display: block;
}
/* - Only used once or twice in all of WP - deprecate for global style
------------------------------------------------------------------------------*/
.media-icon {
width: 62px; /* icon + border */
text-align: center;
}
.media-icon img {
border: 1px solid #dcdcde;
border: 1px solid rgba(0, 0, 0, 0.07);
}
#howto {
font-size: 11px;
margin: 0 5px;
display: block;
}
.importers {
font-size: 16px;
width: auto;
}
.importers td {
padding-left: 14px;
line-height: 1.4;
}
.importers .import-system {
max-width: 250px;
}
.importers td.desc {
max-width: 500px;
}
.importer-title,
.importer-desc,
.importer-action {
display: block;
}
.importer-title {
color: #000;
font-size: 14px;
font-weight: 400;
margin-bottom: .2em;
}
.importer-action {
line-height: 1.55; /* Same as with .updating-message */
color: #50575e;
margin-bottom: 1em;
}
#post-body #post-body-content #namediv h3, /* Back-compat for pre-4.4 */
#post-body #post-body-content #namediv h2 {
margin-top: 0;
}
.edit-comment-author {
color: #1d2327;
border-bottom: 1px solid #f0f0f1;
}
#namediv h3 label, /* Back-compat for pre-4.4 */
#namediv h2 label {
vertical-align: baseline;
}
#namediv table {
width: 100%;
}
#namediv td.first {
width: 10px;
white-space: nowrap;
}
#namediv input {
width: 100%;
}
#namediv p {
margin: 10px 0;
}
/* - Used - but could/should be deprecated with a CSS reset
------------------------------------------------------------------------------*/
.zerosize {
height: 0;
width: 0;
margin: 0;
border: 0;
padding: 0;
overflow: hidden;
position: absolute;
}
br.clear {
height: 2px;
line-height: 0.15;
}
.checkbox {
border: none;
margin: 0;
padding: 0;
}
fieldset {
border: 0;
padding: 0;
margin: 0;
}
.post-categories {
display: inline;
margin: 0;
padding: 0;
}
.post-categories li {
display: inline;
}
/* Star Ratings - Back-compat for pre-3.8 */
div.star-holder {
position: relative;
height: 17px;
width: 100px;
background: url(../images/stars.png?ver=20121108) repeat-x bottom right;
}
div.star-holder .star-rating {
background: url(../images/stars.png?ver=20121108) repeat-x top right;
height: 17px;
float: right;
}
/* Star Ratings */
.star-rating {
white-space: nowrap;
}
.star-rating .star {
display: inline-block;
width: 20px;
height: 20px;
-webkit-font-smoothing: antialiased;
font-size: 20px;
line-height: 1;
font-family: dashicons;
text-decoration: inherit;
font-weight: 400;
font-style: normal;
vertical-align: top;
transition: color .1s ease-in;
text-align: center;
color: #dba617;
}
.star-rating .star-full:before {
content: "\f155";
}
.star-rating .star-half:before {
content: "\f459";
}
.rtl .star-rating .star-half {
transform: rotateY(-180deg);
}
.star-rating .star-empty:before {
content: "\f154";
}
div.action-links {
font-weight: 400;
margin: 6px 0 0;
}
/* Plugin install thickbox */
#plugin-information {
background: #fff;
position: fixed;
top: 0;
left: 0;
bottom: 0;
right: 0;
height: 100%;
padding: 0;
}
#plugin-information-scrollable {
overflow: auto;
-webkit-overflow-scrolling: touch;
height: 100%;
}
#plugin-information-title {
padding: 0 26px;
background: #f6f7f7;
font-size: 22px;
font-weight: 600;
line-height: 2.4;
position: relative;
height: 56px;
}
#plugin-information-title.with-banner {
margin-left: 0;
height: 250px;
background-size: cover;
}
#plugin-information-title h2 {
font-size: 1em;
font-weight: 600;
padding: 0;
margin: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
#plugin-information-title.with-banner h2 {
position: relative;
font-family: "Helvetica Neue", sans-serif;
display: inline-block;
font-size: 30px;
line-height: 1.68;
box-sizing: border-box;
max-width: 100%;
padding: 0 15px;
margin-top: 174px;
color: #fff;
background: rgba(29, 35, 39, 0.9);
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
border-radius: 8px;
}
#plugin-information-title div.vignette {
display: none;
}
#plugin-information-title.with-banner div.vignette {
position: absolute;
display: block;
top: 0;
right: 0;
height: 250px;
width: 100%;
background: transparent;
box-shadow: inset 0 0 50px 4px rgba(0, 0, 0, 0.2), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}
#plugin-information-tabs {
padding: 0 16px;
position: relative;
left: 0;
right: 0;
min-height: 36px;
font-size: 0;
z-index: 1;
border-bottom: 1px solid #dcdcde;
background: #f6f7f7;
}
#plugin-information-tabs a {
position: relative;
display: inline-block;
padding: 9px 10px;
margin: 0;
height: 18px;
line-height: 1.3;
font-size: 14px;
text-decoration: none;
transition: none;
}
#plugin-information-tabs a.current {
margin: 0 -1px -1px;
background: #fff;
border: 1px solid #dcdcde;
border-bottom-color: #fff;
padding-top: 8px;
color: #2c3338;
}
#plugin-information-tabs.with-banner a.current {
border-top: none;
padding-top: 9px;
}
#plugin-information-tabs a:active,
#plugin-information-tabs a:focus {
outline: none;
}
#plugin-information-content {
overflow: hidden; /* equal height column trick */
background: #fff;
position: relative;
top: 0;
left: 0;
right: 0;
min-height: 100%;
/* Height of title + tabs + install now */
min-height: calc( 100% - 152px );
}
#plugin-information-content.with-banner {
/* Height of banner + tabs + install now */
min-height: calc( 100% - 346px );
}
#section-holder {
position: relative;
top: 0;
left: 250px;
bottom: 0;
right: 0;
margin-top: 10px;
margin-left: 250px; /* FYI box */
padding: 10px 26px 99999px; /* equal height column trick */
margin-bottom: -99932px; /* 67px less than the padding below to accommodate footer height */
}
#section-holder .notice {
margin: 5px 0 15px;
}
#section-holder .updated {
margin: 16px 0;
}
#plugin-information .fyi {
float: left;
position: relative;
top: 0;
left: 0;
padding: 16px 16px 99999px; /* equal height column trick */
margin-bottom: -99932px; /* 67px less than the padding below to accommodate footer height */
width: 217px;
border-right: 1px solid #dcdcde;
background: #f6f7f7;
color: #646970;
}
#plugin-information .fyi strong {
color: #3c434a;
}
#plugin-information .fyi h3 {
font-weight: 600;
text-transform: uppercase;
font-size: 12px;
color: #646970;
margin: 24px 0 8px;
}
#plugin-information .fyi h2 {
font-size: 0.9em;
margin-bottom: 0;
margin-left: 0;
}
#plugin-information .fyi ul {
padding: 0;
margin: 0;
list-style: none;
}
#plugin-information .fyi li {
margin: 0 0 10px;
}
#plugin-information .fyi-description {
margin-top: 0;
}
#plugin-information .counter-container {
margin: 3px 0;
}
#plugin-information .counter-label {
float: right;
margin-left: 5px;
min-width: 55px;
}
#plugin-information .counter-back {
height: 17px;
width: 92px;
background-color: #dcdcde;
float: right;
}
#plugin-information .counter-bar {
height: 17px;
background-color: #f0c33c; /* slightly lighter than stars due to larger expanse */
float: right;
}
#plugin-information .counter-count {
margin-right: 5px;
}
#plugin-information .fyi ul.contributors {
margin-top: 10px;
}
#plugin-information .fyi ul.contributors li {
display: inline-block;
margin-left: 8px;
vertical-align: middle;
}
#plugin-information .fyi ul.contributors li {
display: inline-block;
margin-left: 8px;
vertical-align: middle;
}
#plugin-information .fyi ul.contributors li img {
vertical-align: middle;
margin-left: 4px;
}
#plugin-information-footer {
padding: 13px 16px;
position: absolute;
left: 0;
bottom: 0;
right: 0;
height: 40px; /* actual height: 40+13+13+1=67 */
border-top: 1px solid #dcdcde;
background: #f6f7f7;
}
/* rtl:ignore */
#plugin-information .section {
direction: ltr;
}
/* rtl:ignore */
#plugin-information .section ul,
#plugin-information .section ol {
list-style-type: disc;
margin-left: 24px;
}
#plugin-information .section,
#plugin-information .section p {
font-size: 14px;
line-height: 1.7;
}
#plugin-information #section-screenshots ol {
list-style: none;
margin: 0;
}
#plugin-information #section-screenshots li img {
vertical-align: text-top;
margin-top: 16px;
max-width: 100%;
width: auto;
height: auto;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
/* rtl:ignore */
#plugin-information #section-screenshots li p {
font-style: italic;
padding-left: 20px;
}
#plugin-information pre {
padding: 7px;
overflow: auto;
border: 1px solid #c3c4c7;
}
#plugin-information blockquote {
border-right: 2px solid #dcdcde;
color: #646970;
font-style: italic;
margin: 1em 0;
padding: 0 1em 0 0;
}
/* rtl:ignore */
#plugin-information .review {
overflow: hidden; /* clearfix */
width: 100%;
margin-bottom: 20px;
border-bottom: 1px solid #dcdcde;
}
#plugin-information .review-title-section {
overflow: hidden; /* clearfix */
}
/* rtl:ignore */
#plugin-information .review-title-section h4 {
display: inline-block;
float: left;
margin: 0 6px 0 0;
}
#plugin-information .reviewer-info p {
clear: both;
margin: 0;
padding-top: 2px;
}
/* rtl:ignore */
#plugin-information .reviewer-info .avatar {
float: left;
margin: 4px 6px 0 0;
}
/* rtl:ignore */
#plugin-information .reviewer-info .star-rating {
float: left;
}
/* rtl:ignore */
#plugin-information .review-meta {
float: left;
margin-left: 0.75em;
}
/* rtl:ignore */
#plugin-information .review-body {
float: left;
width: 100%;
}
.plugin-version-author-uri {
font-size: 13px;
}
/* For non-js plugin installation screen ticket #36430. */
.update-php .button.button-primary {
margin-left: 1em;
}
@media screen and (max-width: 771px) {
#plugin-information-title.with-banner {
height: 100px;
}
#plugin-information-title.with-banner h2 {
margin-top: 30px;
font-size: 20px;
line-height: 2;
max-width: 85%;
}
#plugin-information-title.with-banner div.vignette {
height: 100px;
}
#plugin-information-tabs {
overflow: hidden; /* clearfix */
padding: 0;
height: auto; /* let tabs wrap */
}
#plugin-information-tabs a.current {
margin-bottom: 0;
border-bottom: none;
}
#plugin-information .fyi {
float: none;
border: 1px solid #dcdcde;
position: static;
width: auto;
margin: 26px 26px 0;
padding-bottom: 0; /* reset from the two column height fix */
}
#section-holder {
position: static;
margin: 0;
padding-bottom: 70px; /* reset from the two column height fix, plus accommodate footer */
}
#plugin-information .fyi h3,
#plugin-information .fyi small {
display: none;
}
#plugin-information-footer {
padding: 12px 16px 0;
height: 46px;
}
}
/* Thickbox for the Plugin details modal. */
#TB_window.plugin-details-modal {
background: #fff;
}
#TB_window.plugin-details-modal.thickbox-loading:before {
content: "";
display: block;
width: 20px;
height: 20px;
position: absolute;
right: 50%;
top: 50%;
z-index: -1;
margin: -10px -10px 0 0;
background: #fff url(../images/spinner.gif) no-repeat center;
background-size: 20px 20px;
transform: translateZ(0);
}
@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {
#TB_window.plugin-details-modal.thickbox-loading:before {
background-image: url(../images/spinner-2x.gif);
}
}
.plugin-details-modal #TB_title {
float: right;
height: 1px;
}
.plugin-details-modal #TB_ajaxWindowTitle {
display: none;
}
.plugin-details-modal #TB_closeWindowButton {
right: auto;
left: -30px;
color: #f0f0f1;
}
.plugin-details-modal #TB_closeWindowButton:hover,
.plugin-details-modal #TB_closeWindowButton:focus {
color: #135e96;
outline: none;
box-shadow: none;
}
.plugin-details-modal .tb-close-icon {
display: none;
}
.plugin-details-modal #TB_closeWindowButton:after {
content: "\f335";
font: normal 32px/29px 'dashicons';
speak: never;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* move plugin install close icon to top on narrow screens */
@media screen and (max-width: 830px) {
.plugin-details-modal #TB_closeWindowButton {
left: 0;
top: -30px;
}
}
/* @todo: move this. */
img {
border: none;
}
/* Metabox collapse arrow indicators */
.sidebar-name .toggle-indicator::before,
.meta-box-sortables .postbox .toggle-indicator::before,
.meta-box-sortables .postbox .order-higher-indicator::before,
.meta-box-sortables .postbox .order-lower-indicator::before,
.bulk-action-notice .toggle-indicator::before,
.privacy-text-box .toggle-indicator::before {
content: "\f142";
display: inline-block;
font: normal 20px/1 dashicons;
speak: never;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-decoration: none;
}
.js .widgets-holder-wrap.closed .toggle-indicator::before,
.meta-box-sortables .postbox.closed .handlediv .toggle-indicator::before,
.bulk-action-notice .bulk-action-errors-collapsed .toggle-indicator::before,
.privacy-text-box.closed .toggle-indicator::before {
content: "\f140";
}
.postbox .handle-order-higher .order-higher-indicator::before {
content: "\f343";
color: inherit;
}
.postbox .handle-order-lower .order-lower-indicator::before {
content: "\f347";
color: inherit;
}
.postbox .handle-order-higher .order-higher-indicator::before,
.postbox .handle-order-lower .order-lower-indicator::before {
position: relative;
top: 0.11rem;
width: 20px;
height: 20px;
}
.postbox .handlediv .toggle-indicator::before {
width: 20px;
border-radius: 50%;
}
.postbox .handlediv .toggle-indicator::before {
position: relative;
top: 0.05rem;
text-indent: -1px; /* account for the dashicon glyph uneven horizontal alignment */
}
.rtl .postbox .handlediv .toggle-indicator::before {
text-indent: 1px; /* account for the dashicon glyph uneven horizontal alignment */
}
.bulk-action-notice .toggle-indicator::before {
line-height: 16px;
vertical-align: top;
color: #787c82;
}
.postbox .handle-order-higher:focus,
.postbox .handle-order-lower:focus,
.postbox .handlediv:focus {
box-shadow:
0 0 0 1px #4f94d4,
0 0 2px 1px rgba(79, 148, 212, 0.8);
/* Only visible in Windows High Contrast mode */
outline: 1px solid transparent;
}
.postbox .handle-order-higher:focus .order-higher-indicator::before,
.postbox .handle-order-lower:focus .order-lower-indicator::before,
.postbox .handlediv:focus .toggle-indicator::before {
box-shadow: none;
/* Only visible in Windows High Contrast mode */
outline: 1px solid transparent;
}
/* @todo: appears to be Press This only and overridden */
#photo-add-url-div input[type="text"] {
width: 300px;
}
/* Theme/Plugin file editor */
.alignleft h2 {
margin: 0;
}
#template textarea {
font-family: Consolas, Monaco, monospace;
font-size: 13px;
background: #f6f7f7;
-o-tab-size: 4;
tab-size: 4;
}
#template textarea,
#template .CodeMirror {
width: 100%;
min-height: 60vh;
height: calc( 100vh - 295px );
border: 1px solid #dcdcde;
box-sizing: border-box;
}
#templateside > h2 {
padding-top: 6px;
padding-bottom: 7px;
margin: 0;
}
#templateside ol,
#templateside ul {
margin: 0;
padding: 0;
}
#templateside > ul {
box-sizing: border-box;
margin-top: 0;
overflow: auto;
padding: 0;
min-height: 60vh;
height: calc(100vh - 295px);
background-color: #f6f7f7;
border: 1px solid #dcdcde;
border-right: none;
}
#templateside ul ul {
padding-right: 12px;
}
#templateside > ul > li > ul[role=group] {
padding-right: 0;
}
/*
* Styles for Theme and Plugin file editors.
*/
/* Hide collapsed items. */
[role="treeitem"][aria-expanded="false"] > ul {
display: none;
}
/* Use arrow dashicons for folder states, but hide from screen readers. */
[role="treeitem"] span[aria-hidden] {
display: inline;
font-family: dashicons;
font-size: 20px;
position: absolute;
pointer-events: none;
}
[role="treeitem"][aria-expanded="false"] > .folder-label .icon:after {
content: "\f141";
}
[role="treeitem"][aria-expanded="true"] > .folder-label .icon:after {
content: "\f140";
}
[role="treeitem"] .folder-label {
display: block;
padding: 3px 12px 3px 3px;
cursor: pointer;
}
/* Remove outline, and create our own focus and hover styles */
[role="treeitem"] {
outline: 0;
}
[role="treeitem"] .folder-label.focus {
color: #043959;
box-shadow:
0 0 0 1px #4f94d4,
0 0 2px 1px rgba(79, 148, 212, 0.8);
}
[role="treeitem"].hover,
[role="treeitem"] .folder-label.hover {
background-color: #f0f0f1;
}
.tree-folder {
margin: 0;
position: relative;
}
[role="treeitem"] li {
position: relative;
}
/* Styles for folder indicators/depth */
.tree-folder .tree-folder::after {
content: "";
display: block;
position: absolute;
right: 2px;
border-right: 1px solid #c3c4c7;
top: -13px;
bottom: 10px;
}
.tree-folder > li::before {
content: "";
position: absolute;
display: block;
border-right: 1px solid #c3c4c7;
right: 2px;
top: -5px;
height: 18px;
width: 7px;
border-bottom: 1px solid #c3c4c7;
}
.tree-folder > li::after {
content: "";
position: absolute;
display: block;
border-right: 1px solid #c3c4c7;
right: 2px;
bottom: -7px;
top: 0;
}
/* current-file needs to adjustment for .notice styles */
#templateside .current-file {
margin: -4px 0 -2px;
}
.tree-folder > .current-file::before {
right: 4px;
height: 15px;
width: 0;
border-right: none;
top: 3px;
}
.tree-folder > .current-file::after {
bottom: -4px;
height: 7px;
right: 2px;
top: auto;
}
/* Lines shouldn't continue on last item */
.tree-folder > li:last-child::after,
.tree-folder li:last-child > .tree-folder::after {
display: none;
}
#theme-plugin-editor-selector,
#theme-plugin-editor-label,
#documentation label {
font-weight: 600;
}
#theme-plugin-editor-label {
display: inline-block;
margin-bottom: 1em;
}
/* rtl:ignore */
#template textarea,
#docs-list {
direction: ltr;
}
.fileedit-sub #theme,
.fileedit-sub #plugin {
max-width: 40%;
}
.fileedit-sub .alignright {
text-align: left;
}
#template p {
width: 97%;
}
#file-editor-linting-error {
margin-top: 1em;
margin-bottom: 1em;
}
#file-editor-linting-error > .notice {
margin: 0;
display: inline-block;
}
#file-editor-linting-error > .notice > p {
width: auto;
}
#template .submit {
margin-top: 1em;
padding: 0;
}
#template .submit input[type=submit][disabled] {
cursor: not-allowed;
}
#templateside {
float: left;
width: 16em;
word-wrap: break-word;
}
#postcustomstuff p.submit {
margin: 0;
}
#templateside h4 {
margin: 1em 0 0;
}
#templateside li {
margin: 4px 0;
}
#templateside li:not(.howto) a,
.theme-editor-php .highlight {
display: block;
padding: 3px 12px 3px 0;
text-decoration: none;
}
#templateside li:not(.howto) > a:first-of-type {
padding-top: 0;
}
#templateside li.howto {
padding: 6px 12px 12px;
}
.theme-editor-php .highlight {
margin: -3px -12px -3px 3px;
}
#templateside .highlight {
border: none;
font-weight: 600;
}
.nonessential {
color: #646970;
font-size: 11px;
font-style: italic;
padding-right: 12px;
}
#documentation {
margin-top: 10px;
}
#documentation label {
line-height: 1.8;
vertical-align: baseline;
}
.fileedit-sub {
padding: 10px 0 8px;
line-height: 180%;
}
#file-editor-warning .file-editor-warning-content {
margin: 25px;
}
/* @todo: can we use a common class for these? */
.nav-menus-php .item-edit:before,
.widget-top .widget-action .toggle-indicator:before,
.control-section .accordion-section-title:after,
.accordion-section-title:after {
content: "\f140";
font: normal 20px/1 dashicons;
speak: never;
display: block;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-decoration: none;
}
.widget-top .widget-action .toggle-indicator:before {
padding: 1px 0 1px 2px;
border-radius: 50%;
}
.handlediv,
.postbox .handlediv.button-link,
.item-edit,
.toggle-indicator,
.accordion-section-title:after {
color: #787c82;
}
.widget-action {
color: #50575e; /* #fafafa background in the Widgets screen */
}
.widget-top:hover .widget-action,
.widget-action:focus,
.handlediv:hover,
.handlediv:focus,
.postbox .handlediv.button-link:hover,
.postbox .handlediv.button-link:focus,
.item-edit:hover,
.item-edit:focus,
.sidebar-name:hover .toggle-indicator,
.accordion-section-title:hover:after {
color: #1d2327;
/* Only visible in Windows High Contrast mode */
outline: 1px solid transparent;
}
.widget-top .widget-action:focus .toggle-indicator:before {
box-shadow:
0 0 0 1px #4f94d4,
0 0 2px 1px rgba(79, 148, 212, 0.8);
}
.control-section .accordion-section-title:after,
.accordion-section-title:after {
float: left;
left: 20px;
top: -2px;
}
.control-section.open .accordion-section-title:after,
#customize-info.open .accordion-section-title:after,
.nav-menus-php .menu-item-edit-active .item-edit:before,
.widget.open .widget-top .widget-action .toggle-indicator:before,
.widget.widget-in-question .widget-top .widget-action .toggle-indicator:before {
content: "\f142";
}
/*!
* jQuery UI Draggable/Sortable 1.11.4
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/
.ui-draggable-handle,
.ui-sortable-handle {
touch-action: none;
}
/* Accordion */
.accordion-section {
border-bottom: 1px solid #dcdcde;
margin: 0;
}
.accordion-section.open .accordion-section-content,
.no-js .accordion-section .accordion-section-content {
display: block;
}
.accordion-section.open:hover {
border-bottom-color: #dcdcde;
}
.accordion-section-content {
display: none;
padding: 10px 20px 15px;
overflow: hidden;
background: #fff;
}
.accordion-section-title {
margin: 0;
padding: 12px 15px 15px;
position: relative;
border-right: 1px solid #dcdcde;
border-left: 1px solid #dcdcde;
-webkit-user-select: none;
user-select: none;
}
.js .accordion-section-title {
cursor: pointer;
}
.js .accordion-section-title:after {
position: absolute;
top: 12px;
left: 10px;
z-index: 1;
}
.accordion-section-title:focus {
/* Only visible in Windows High Contrast mode */
outline: 1px solid transparent;
}
.accordion-section-title:hover:after,
.accordion-section-title:focus:after {
border-color: #a7aaad transparent;
/* Only visible in Windows High Contrast mode */
outline: 1px solid transparent;
}
.cannot-expand .accordion-section-title {
cursor: auto;
}
.cannot-expand .accordion-section-title:after {
display: none;
}
.control-section .accordion-section-title,
.customize-pane-child .accordion-section-title {
border-right: none;
border-left: none;
padding: 10px 14px 11px 10px;
line-height: 1.55;
background: #fff;
}
.control-section .accordion-section-title:after,
.customize-pane-child .accordion-section-title:after {
top: calc(50% - 10px); /* Arrow height is 20px, so use half of that to vertically center */
}
.js .control-section:hover .accordion-section-title,
.js .control-section .accordion-section-title:hover,
.js .control-section.open .accordion-section-title,
.js .control-section .accordion-section-title:focus {
color: #1d2327;
background: #f6f7f7;
}
.control-section.open .accordion-section-title {
/* When expanded */
border-bottom: 1px solid #dcdcde;
}
/* Edit Site */
.network-admin .edit-site-actions {
margin-top: 0;
}
/* My Sites */
.my-sites {
display: block;
overflow: auto;
zoom: 1;
}
.my-sites li {
display: block;
padding: 8px 3%;
min-height: 130px;
margin: 0;
}
@media only screen and (max-width: 599px) {
.my-sites li {
min-height: 0;
}
}
@media only screen and (min-width: 600px) {
.my-sites.striped li {
background-color: #fff;
position: relative;
}
.my-sites.striped li:after {
content: "";
width: 1px;
height: 100%;
position: absolute;
top: 0;
left: 0;
background: #c3c4c7;
}
}
@media only screen and (min-width: 600px) and (max-width: 699px) {
.my-sites li{
float: right;
width: 44%;
}
.my-sites.striped li {
background-color: #fff;
}
.my-sites.striped li:nth-of-type(2n+1) {
clear: right;
}
.my-sites.striped li:nth-of-type(2n+2):after {
content: none;
}
.my-sites li:nth-of-type(4n+1),
.my-sites li:nth-of-type(4n+2) {
background-color: #f6f7f7;
}
}
@media only screen and (min-width: 700px) and (max-width: 1199px) {
.my-sites li {
float: right;
width: 27.333333%;
background-color: #fff;
}
.my-sites.striped li:nth-of-type(3n+3):after {
content: none;
}
.my-sites li:nth-of-type(6n+1),
.my-sites li:nth-of-type(6n+2),
.my-sites li:nth-of-type(6n+3) {
background-color: #f6f7f7;
}
}
@media only screen and (min-width: 1200px) and (max-width: 1399px) {
.my-sites li {
float: right;
width: 21%;
padding: 8px 2%;
background-color: #fff;
}
.my-sites.striped li:nth-of-type(4n+1) {
clear: right;
}
.my-sites.striped li:nth-of-type(4n+4):after {
content: none;
}
.my-sites li:nth-of-type(8n+1),
.my-sites li:nth-of-type(8n+2),
.my-sites li:nth-of-type(8n+3),
.my-sites li:nth-of-type(8n+4) {
background-color: #f6f7f7;
}
}
@media only screen and (min-width: 1400px) and (max-width: 1599px) {
.my-sites li {
float: right;
width: 16%;
padding: 8px 2%;
background-color: #fff;
}
.my-sites.striped li:nth-of-type(5n+1) {
clear: right;
}
.my-sites.striped li:nth-of-type(5n+5):after {
content: none;
}
.my-sites li:nth-of-type(10n+1),
.my-sites li:nth-of-type(10n+2),
.my-sites li:nth-of-type(10n+3),
.my-sites li:nth-of-type(10n+4),
.my-sites li:nth-of-type(10n+5) {
background-color: #f6f7f7;
}
}
@media only screen and (min-width: 1600px) {
.my-sites li {
float: right;
width: 12.666666%;
padding: 8px 2%;
background-color: #fff;
}
.my-sites.striped li:nth-of-type(6n+1) {
clear: right;
}
.my-sites.striped li:nth-of-type(6n+6):after {
content: none;
}
.my-sites li:nth-of-type(12n+1),
.my-sites li:nth-of-type(12n+2),
.my-sites li:nth-of-type(12n+3),
.my-sites li:nth-of-type(12n+4),
.my-sites li:nth-of-type(12n+5),
.my-sites li:nth-of-type(12n+6) {
background-color: #f6f7f7;
}
}
.my-sites li a {
text-decoration: none;
}
/* =Media Queries
-------------------------------------------------------------- */
/**
* HiDPI Displays
*/
@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {
/* Back-compat for pre-3.8 */
div.star-holder,
div.star-holder .star-rating {
background: url(../images/stars-2x.png?ver=20121108) repeat-x bottom right;
background-size: 21px 37px;
}
.spinner {
background-image: url(../images/spinner-2x.gif);
}
}
@media screen and (max-width: 782px) {
html.wp-toolbar {
padding-top: 46px;
}
.screen-reader-shortcut:focus {
top: -39px;
}
body {
min-width: 240px;
overflow-x: hidden;
}
body * {
-webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
}
#wpcontent {
position: relative;
margin-right: 0;
padding-right: 10px;
}
#wpbody-content {
padding-bottom: 100px;
}
.wrap {
clear: both;
margin-left: 12px;
margin-right: 0;
}
/* categories */
#col-left,
#col-right {
float: none;
width: auto;
}
#col-left .col-wrap,
#col-right .col-wrap {
padding: 0;
}
/* Hidden Elements */
#collapse-menu,
.post-format-select {
display: none !important;
}
.wrap h1.wp-heading-inline {
margin-bottom: 0.5em;
}
.wrap .add-new-h2, /* deprecated */
.wrap .add-new-h2:active, /* deprecated */
.wrap .page-title-action,
.wrap .page-title-action:active {
padding: 10px 15px;
font-size: 14px;
white-space: nowrap;
}
/* Feedback Messages */
.notice,
.wrap div.updated,
.wrap div.error,
.media-upload-form div.error {
margin: 20px 0 10px;
padding: 5px 10px;
font-size: 14px;
line-height: 175%;
}
.wp-core-ui .notice.is-dismissible {
padding-left: 46px;
}
.notice-dismiss {
padding: 13px;
}
.wrap .icon32 + h2 {
margin-top: -2px;
}
.wp-responsive-open #wpbody {
left: -16em;
}
code {
word-wrap: break-word;
word-wrap: anywhere; /* Firefox. Allow breaking long words anywhere */
word-break: break-word; /* Webkit: Treated similarly to word-wrap: break-word */
}
/* General Metabox */
.postbox {
font-size: 14px;
}
.metabox-holder h3.hndle, /* Back-compat for pre-4.4 */
.metabox-holder .stuffbox > h3, /* Back-compat for pre-4.4 */
.metabox-holder .postbox > h3, /* Back-compat for pre-4.4 */
.metabox-holder h2 {
padding: 12px;
}
.postbox .handlediv {
margin-top: 3px;
}
/* Subsubsub Nav */
.subsubsub {
font-size: 16px;
text-align: center;
margin-bottom: 15px;
}
/* Theme/Plugin File Editor */
#template textarea,
#template .CodeMirror {
box-sizing: border-box;
}
#templateside {
float: none;
width: auto;
}
#templateside > ul {
border-right: 1px solid #dcdcde;
}
#templateside li {
margin: 0;
}
#templateside li:not(.howto) a {
display: block;
padding: 5px;
}
#templateside li.howto {
padding: 12px;
}
#templateside .highlight {
padding: 5px;
margin-right: -5px;
margin-top: -5px;
}
#template > div,
#template .notice {
float: none;
margin: 1em 0;
width: auto;
}
#template .CodeMirror,
#template textarea {
width: 100%;
}
#templateside ul ul {
padding-right: 1.5em;
}
[role="treeitem"] .folder-label {
display: block;
padding: 5px;
}
.tree-folder > li::before,
.tree-folder > li::after,
.tree-folder .tree-folder::after {
right: -8px;
}
.tree-folder > li::before {
top: 0;
height: 13px;
}
.tree-folder > .current-file::before {
right: -5px;
top: 7px;
width: 4px;
}
.tree-folder > .current-file::after {
height: 9px;
right: -8px;
}
.wrap #templateside span.notice {
margin-right: -5px;
width: 100%;
}
.fileedit-sub .alignright {
float: right;
margin-top: 15px;
width: 100%;
text-align: right;
}
.fileedit-sub .alignright label {
display: block;
}
.fileedit-sub #theme,
.fileedit-sub #plugin {
margin-right: 0;
max-width: 70%;
}
.fileedit-sub input[type="submit"] {
margin-bottom: 0;
}
#documentation label[for="docs-list"] {
display: block;
}
#documentation select[name="docs-list"] {
margin-right: 0;
max-width: 60%;
}
#documentation input[type="button"] {
margin-bottom: 0;
}
#wpfooter {
display: none;
}
#comments-form .checkforspam {
display: none;
}
.edit-comment-author {
margin: 2px 0 0;
}
.filter-drawer .filter-group-feature input,
.filter-drawer .filter-group-feature label {
line-height: 2.1;
}
.filter-drawer .filter-group-feature label {
margin-right: 32px;
}
.wp-filter .button.drawer-toggle {
font-size: 13px;
line-height: 2;
height: 28px;
}
/* Fix help tab columns for smaller screens */
#screen-meta #contextual-help-wrap {
overflow: visible;
}
#screen-meta #contextual-help-back,
#screen-meta .contextual-help-sidebar {
display: none;
}
#screen-meta .contextual-help-tabs {
clear: both;
width: 100%;
float: none;
}
#screen-meta .contextual-help-tabs ul {
margin: 0 0 1em;
padding: 1em 0 0;
}
#screen-meta .contextual-help-tabs .active {
margin: 0;
}
#screen-meta .contextual-help-tabs-wrap {
clear: both;
max-width: 100%;
float: none;
}
#screen-meta,
#screen-meta-links {
margin-left: 10px;
}
#screen-meta-links {
margin-bottom: 20px; /* Add margins beneath links for better spacing between boxes and elements */
}
.wp-filter .search-form input[type="search"] {
font-size: 1rem;
}
.wp-filter .search-form.search-plugins {
/* This element is a flex item. */
min-width: 100%;
}
}
/* Smartphone */
@media screen and (max-width: 600px) {
/* Disable horizontal scroll when responsive menu is open
since we push the main content off to the right. */
#wpwrap.wp-responsive-open {
overflow-x: hidden;
}
html.wp-toolbar {
padding-top: 0;
}
.screen-reader-shortcut:focus {
top: 7px;
}
#wpbody {
padding-top: 46px;
}
/* Keep full-width boxes on Edit Post page from causing horizontal scroll */
div#post-body.metabox-holder.columns-1 {
overflow-x: hidden;
}
h1.nav-tab-wrapper,
.wrap h2.nav-tab-wrapper,
.nav-tab-wrapper {
border-bottom: 0;
}
h1 .nav-tab,
h2 .nav-tab,
h3 .nav-tab,
nav .nav-tab {
margin: 10px 0 0 10px;
border-bottom: 1px solid #c3c4c7;
}
.nav-tab-active:hover,
.nav-tab-active:focus,
.nav-tab-active:focus:active {
border-bottom: 1px solid #c3c4c7;
}
.wp-filter .search-form input[type="search"] {
width: 100%;
}
}
@media screen and (max-width: 320px) {
/* Prevent default center alignment and larger font for the Right Now widget when
the network dashboard is viewed on a small mobile device. */
#network_dashboard_right_now .subsubsub {
font-size: 14px;
text-align: right;
}
}
css/list-tables.css 0000644 00000121034 15237775763 0010320 0 ustar 00 .response-links {
display: block;
margin-bottom: 1em;
}
.response-links a {
display: block;
}
.response-links a.comments-edit-item-link {
font-weight: 600;
}
.response-links a.comments-view-item-link {
font-size: 12px;
}
.post-com-count-wrapper strong {
font-weight: 400;
}
.comments-view-item-link {
display: inline-block;
clear: both;
}
.column-response .post-com-count-wrapper,
.column-comments .post-com-count-wrapper {
white-space: nowrap;
word-wrap: normal;
}
/* comments bubble common */
.column-response .post-com-count,
.column-comments .post-com-count {
display: inline-block;
vertical-align: top;
}
/* comments bubble approved */
.column-response .post-com-count-no-comments,
.column-response .post-com-count-approved,
.column-comments .post-com-count-no-comments,
.column-comments .post-com-count-approved {
margin-top: 5px;
}
.column-response .comment-count-no-comments,
.column-response .comment-count-approved,
.column-comments .comment-count-no-comments,
.column-comments .comment-count-approved {
box-sizing: border-box;
display: block;
padding: 0 8px;
min-width: 24px;
height: 2em;
border-radius: 5px;
background-color: #646970;
color: #fff;
font-size: 11px;
line-height: 1.90909090;
text-align: center;
}
.column-response .post-com-count-no-comments:after,
.column-response .post-com-count-approved:after,
.column-comments .post-com-count-no-comments:after,
.column-comments .post-com-count-approved:after {
content: "";
display: block;
margin-left: 8px;
width: 0;
height: 0;
border-top: 5px solid #646970;
border-right: 5px solid transparent;
}
.column-response a.post-com-count-approved:hover .comment-count-approved,
.column-response a.post-com-count-approved:focus .comment-count-approved,
.column-comments a.post-com-count-approved:hover .comment-count-approved,
.column-comments a.post-com-count-approved:focus .comment-count-approved {
background: #2271b1;
}
.column-response a.post-com-count-approved:hover:after,
.column-response a.post-com-count-approved:focus:after,
.column-comments a.post-com-count-approved:hover:after,
.column-comments a.post-com-count-approved:focus:after {
border-top-color: #2271b1;
}
/* @todo: consider to use a single rule for these counters and the admin menu counters. */
.column-response .post-com-count-pending,
.column-comments .post-com-count-pending {
position: relative;
left: -3px;
padding: 0 5px;
min-width: 7px;
height: 17px;
border: 2px solid #fff;
border-radius: 11px;
background: #d63638;
color: #fff;
font-size: 9px;
line-height: 1.88888888;
text-align: center;
}
.column-response .post-com-count-no-pending,
.column-comments .post-com-count-no-pending {
display: none;
}
/* comments */
.commentlist li {
padding: 1em 1em .2em;
margin: 0;
border-bottom: 1px solid #c3c4c7;
}
.commentlist li li {
border-bottom: 0;
padding: 0;
}
.commentlist p {
padding: 0;
margin: 0 0 .8em;
}
#submitted-on,
.submitted-on {
color: #50575e;
}
/* reply to comments */
#replyrow td {
padding: 2px;
}
#replysubmit {
margin: 0;
padding: 5px 7px 10px;
overflow: hidden;
}
#replysubmit .reply-submit-buttons {
margin-bottom: 0;
}
#replysubmit .button {
margin-right: 5px;
}
#replysubmit .spinner {
float: none;
margin: -4px 0 0;
}
#replyrow.inline-edit-row fieldset.comment-reply {
font-size: inherit;
line-height: inherit;
}
#replyrow legend {
margin: 0;
padding: .2em 5px 0;
font-size: 13px;
line-height: 1.4;
font-weight: 600;
}
#replyrow.inline-edit-row label {
display: inline;
vertical-align: baseline;
line-height: inherit;
}
#edithead .inside,
#commentsdiv #edithead .inside {
float: left;
padding: 3px 0 2px 5px;
margin: 0;
text-align: center;
}
#edithead .inside input {
width: 180px;
}
#edithead label {
padding: 2px 0;
}
#replycontainer {
padding: 5px;
}
#replycontent {
height: 120px;
box-shadow: none;
}
#replyerror {
border-color: #dcdcde;
background-color: #f6f7f7;
}
/* @todo: is this used? */
.commentlist .avatar {
vertical-align: text-top;
}
#the-comment-list tr.undo,
#the-comment-list div.undo {
background-color: #f6f7f7;
}
#the-comment-list .unapproved th,
#the-comment-list .unapproved td {
background-color: #fcf9e8;
}
#the-comment-list .unapproved th.check-column {
border-left: 4px solid #d63638;
}
#the-comment-list .unapproved th.check-column input {
margin-left: 4px;
}
#the-comment-list .approve a {
color: #007017;
}
#the-comment-list .unapprove a {
color: #996800;
}
#the-comment-list th,
#the-comment-list td {
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}
#the-comment-list tr:last-child th,
#the-comment-list tr:last-child td {
box-shadow: none;
}
#the-comment-list tr.unapproved + tr.approved th,
#the-comment-list tr.unapproved + tr.approved td {
border-top: 1px solid rgba(0, 0, 0, 0.03);
}
/* table vim shortcuts */
.vim-current,
.vim-current th,
.vim-current td {
background-color: #f0f6fc !important;
}
th .comment-grey-bubble {
height: 16px;
width: 16px;
}
th .comment-grey-bubble:before {
content: "\f101";
font: normal 20px/.5 dashicons;
speak: never;
display: inline-block;
padding: 0;
top: 4px;
left: -4px;
position: relative;
vertical-align: top;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-decoration: none !important;
color: #3c434a;
}
/*------------------------------------------------------------------------------
10.0 - List Posts (/Pages/etc)
------------------------------------------------------------------------------*/
table.fixed {
table-layout: fixed;
}
.fixed .column-rating,
.fixed .column-visible {
width: 8%;
}
.fixed .column-posts,
.fixed .column-parent,
.fixed .column-links,
.fixed .column-author,
.fixed .column-format {
width: 10%;
}
.fixed .column-date {
width: 14%;
}
.column-date span[title] {
-webkit-text-decoration: dotted underline;
text-decoration: dotted underline;
}
.fixed .column-posts {
width: 74px;
}
.fixed .column-role,
.fixed .column-posts {
-webkit-hyphens: auto;
hyphens: auto;
}
.fixed .column-comment .comment-author {
display: none;
}
.fixed .column-response,
.fixed .column-categories,
.fixed .column-tags,
.fixed .column-rel,
.fixed .column-role {
width: 15%;
}
.fixed .column-slug {
width: 25%;
}
.fixed .column-locations {
width: 35%;
}
.fixed .column-comments {
width: 5.5em;
padding: 8px 0;
text-align: left;
}
.fixed .column-comments .vers {
padding-left: 3px;
}
td.column-title strong,
td.plugin-title strong {
display: block;
margin-bottom: .2em;
font-size: 14px;
}
td.column-title p,
td.plugin-title p {
margin: 6px 0;
}
/* Media file column */
table.media .column-title .media-icon {
float: left;
min-height: 60px;
margin: 0 9px 0 0;
}
table.media .column-title .media-icon img {
max-width: 60px;
height: auto;
vertical-align: top; /* Remove descender white-space. */
}
table.media .column-title .has-media-icon ~ .row-actions {
margin-left: 70px; /* 60px image + margin */
}
table.media .column-title .filename {
margin-bottom: 0.2em;
}
/* Media Copy to clipboard row action */
.media .row-actions .copy-to-clipboard-container {
display: inline;
position: relative;
}
.media .row-actions .copy-to-clipboard-container .success {
position: absolute;
left: 50%;
transform: translate(-50%, -100%);
background: #000;
color: #fff;
border-radius: 5px;
margin: 0;
padding: 2px 5px;
}
/* @todo: pick a consistent list table selector */
.wp-list-table a {
transition: none;
}
#the-list tr:last-child td,
#the-list tr:last-child th {
border-bottom: none !important;
box-shadow: none;
}
#comments-form .fixed .column-author {
width: 20%;
}
#commentsdiv.postbox .inside {
margin: 0;
padding: 0;
}
#commentsdiv .inside .row-actions {
line-height: 1.38461538;
}
#commentsdiv .inside .column-author {
width: 25%;
}
#commentsdiv .column-comment p {
margin: 0.6em 0;
padding: 0;
}
#commentsdiv #replyrow td {
padding: 0;
}
#commentsdiv p {
padding: 8px 10px;
margin: 0;
}
#commentsdiv .comments-box {
border: 0 none;
}
#commentsdiv .comments-box thead th,
#commentsdiv .comments-box thead td {
background: transparent;
padding: 0 7px 4px;
}
#commentsdiv .comments-box tr:last-child td {
border-bottom: 0 none;
}
#commentsdiv #edithead .inside input {
width: 160px;
}
.sorting-indicator {
display: block;
visibility: hidden;
width: 10px;
height: 4px;
margin-top: 8px;
margin-left: 7px;
}
.sorting-indicator:before {
content: "\f142";
font: normal 20px/1 dashicons;
speak: never;
display: inline-block;
padding: 0;
top: -4px;
left: -8px;
color: #3c434a;
line-height: 0.5;
position: relative;
vertical-align: top;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-decoration: none !important;
color: #3c434a;
}
.column-comments .sorting-indicator:before {
top: 0;
left: -10px;
}
th.sorted.asc .sorting-indicator:before,
th.desc:hover span.sorting-indicator:before,
th.desc a:focus span.sorting-indicator:before {
content: "\f142";
}
th.sorted.desc .sorting-indicator:before,
th.asc:hover span.sorting-indicator:before,
th.asc a:focus span.sorting-indicator:before {
content: "\f140";
}
.wp-list-table .toggle-row {
position: absolute;
right: 8px;
top: 10px;
display: none;
padding: 0;
width: 40px;
height: 40px;
border: none;
outline: none;
background: transparent;
}
.wp-list-table .toggle-row:hover {
cursor: pointer;
}
.wp-list-table .toggle-row:focus:before {
box-shadow:
0 0 0 1px #4f94d4,
0 0 2px 1px rgba(79, 148, 212, 0.8);
}
.wp-list-table .toggle-row:active {
box-shadow: none;
}
.wp-list-table .toggle-row:before {
position: absolute;
top: -5px;
left: 10px;
border-radius: 50%;
display: block;
padding: 1px 2px 1px 0;
color: #3c434a; /* same as table headers sort arrows */
content: "\f140";
font: normal 20px/1 dashicons;
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
speak: never;
}
.wp-list-table .is-expanded .toggle-row:before {
content: "\f142";
}
.locked-indicator {
display: none;
margin-left: 6px;
height: 20px;
width: 16px;
}
.locked-indicator-icon:before {
color: #8c8f94;
content: "\f160";
display: inline-block;
font: normal 20px/1 dashicons;
speak: never;
vertical-align: middle;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.locked-info {
display: none;
margin-top: 4px;
}
.locked-text {
vertical-align: top;
}
.wp-locked .locked-indicator,
.wp-locked .locked-info {
display: block;
}
tr.wp-locked .check-column label,
tr.wp-locked .check-column input[type="checkbox"],
tr.wp-locked .row-actions .inline,
tr.wp-locked .row-actions .trash {
display: none;
}
.fixed .column-comments .sorting-indicator {
margin-top: 3px;
}
#menu-locations-wrap .widefat {
width: 60%;
}
.widefat th.sortable,
.widefat th.sorted {
padding: 0;
}
th.sortable a,
th.sorted a {
display: block;
overflow: hidden;
padding: 8px;
}
.fixed .column-comments.sortable a,
.fixed .column-comments.sorted a {
padding: 8px 0;
}
th.sortable a span,
th.sorted a span {
float: left;
cursor: pointer;
}
th.sorted .sorting-indicator,
th.desc:hover span.sorting-indicator,
th.desc a:focus span.sorting-indicator,
th.asc:hover span.sorting-indicator,
th.asc a:focus span.sorting-indicator {
visibility: visible;
}
.tablenav-pages .current-page {
margin: 0 2px 0 0;
font-size: 13px;
text-align: center;
}
.tablenav .total-pages {
margin-right: 2px;
}
.tablenav #table-paging {
margin-left: 2px;
}
.tablenav {
clear: both;
height: 30px;
margin: 6px 0 4px;
padding-top: 5px;
vertical-align: middle;
}
.tablenav.themes {
max-width: 98%;
}
.tablenav .tablenav-pages {
float: right;
margin: 0 0 9px;
}
.tablenav .no-pages,
.tablenav .one-page .pagination-links {
display: none;
}
.tablenav .tablenav-pages .button,
.tablenav .tablenav-pages .tablenav-pages-navspan {
display: inline-block;
vertical-align: baseline;
min-width: 30px;
min-height: 30px;
margin: 0;
padding: 0 4px;
font-size: 16px;
line-height: 1.625; /* 26px */
text-align: center;
}
.tablenav .displaying-num {
margin-right: 7px;
}
.tablenav .one-page .displaying-num {
display: inline-block;
margin: 5px 0;
}
.tablenav .actions {
padding: 0 8px 0 0;
}
.wp-filter .actions {
display: inline-block;
vertical-align: middle;
}
.tablenav .delete {
margin-right: 20px;
}
/* This view-switcher is still used on multisite. */
.tablenav .view-switch {
float: right;
margin: 0 5px;
padding-top: 3px;
}
.wp-filter .view-switch {
display: inline-block;
vertical-align: middle;
padding: 12px 0;
margin: 0 8px 0 2px;
}
.media-toolbar.wp-filter .view-switch {
margin: 0 12px 0 2px;
}
.view-switch a {
float: left;
width: 28px;
height: 28px;
text-align: center;
line-height: 1.84615384;
text-decoration: none;
}
.view-switch a:before {
color: #c3c4c7;
display: inline-block;
font: normal 20px/1 dashicons;
speak: never;
vertical-align: middle;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.view-switch a:hover:before,
.view-switch a:focus:before {
color: #787c82;
}
.view-switch a.current:before {
color: #2271b1;
}
.view-switch .view-list:before {
content: "\f163";
}
.view-switch .view-excerpt:before {
content: "\f164";
}
.view-switch .view-grid:before {
content: "\f509";
}
.filter {
float: left;
margin: -5px 0 0 10px;
}
.filter .subsubsub {
margin-left: -10px;
margin-top: 13px;
}
.screen-per-page {
width: 4em;
}
#posts-filter .wp-filter {
margin-bottom: 0;
}
#posts-filter fieldset {
float: left;
margin: 0 1.5ex 1em 0;
padding: 0;
}
#posts-filter fieldset legend {
padding: 0 0 .2em 1px;
}
p.pagenav {
margin: 0;
display: inline;
}
.pagenav span {
font-weight: 600;
margin: 0 6px;
}
.row-title {
font-size: 14px !important;
font-weight: 600;
}
.column-comment .comment-author {
margin-bottom: 0.6em;
}
.column-author img,
.column-username img,
.column-comment .comment-author img {
float: left;
margin-right: 10px;
margin-top: 1px;
}
.row-actions {
color: #a7aaad;
font-size: 13px;
padding: 2px 0 0;
position: relative;
left: -9999em;
}
/* ticket #34150 */
.rtl .row-actions a {
display: inline-block;
}
.row-actions .network_only,
.row-actions .network_active {
color: #000;
}
.no-js .row-actions,
tr:hover .row-actions,
.mobile .row-actions,
.row-actions.visible,
.comment-item:hover .row-actions {
position: static;
}
/* deprecated */
.row-actions-visible {
padding: 2px 0 0;
}
/*------------------------------------------------------------------------------
10.1 - Inline Editing
------------------------------------------------------------------------------*/
/*
.quick-edit* is for Quick Edit
.bulk-edit* is for Bulk Edit
.inline-edit* is for everything
*/
/* Layout */
#wpbody-content .inline-edit-row fieldset {
float: left;
margin: 0;
padding: 0 12px 0 0;
width: 100%;
box-sizing: border-box;
}
#wpbody-content .inline-edit-row td fieldset:last-of-type {
padding-right: 0;
}
tr.inline-edit-row td {
padding: 0;
/* Prevents the focus style on .inline-edit-wrapper from being cutted-off */
position: relative;
}
.inline-edit-wrapper {
display: flow-root;
padding: 0 12px;
border: 1px solid transparent;
border-radius: 4px;
}
.inline-edit-wrapper:focus {
border-color: #2271b1;
box-shadow: 0 0 0 1px #2271b1;
/* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
}
#wpbody-content .quick-edit-row-post .inline-edit-col-left {
width: 40%;
}
#wpbody-content .quick-edit-row-post .inline-edit-col-right {
width: 39%;
}
#wpbody-content .inline-edit-row-post .inline-edit-col-center {
width: 20%;
}
#wpbody-content .quick-edit-row-page .inline-edit-col-left {
width: 50%;
}
#wpbody-content .quick-edit-row-page .inline-edit-col-right,
#wpbody-content .bulk-edit-row-post .inline-edit-col-right {
width: 50%;
}
#wpbody-content .bulk-edit-row .inline-edit-col-left {
width: 30%;
}
#wpbody-content .bulk-edit-row-page .inline-edit-col-right {
width: 69%;
}
#wpbody-content .bulk-edit-row .inline-edit-col-bottom {
float: right;
width: 69%;
}
#wpbody-content .inline-edit-row-page .inline-edit-col-right {
margin-top: 27px;
}
.inline-edit-row fieldset .inline-edit-group {
clear: both;
line-height: 2.5;
}
.inline-edit-row .submit {
display: flex;
flex-wrap: wrap;
align-items: center;
clear: both;
margin: 0;
padding: 0.5em 0 1em;
}
.inline-edit-save.submit .button {
margin-right: 8px;
}
.inline-edit-save .spinner {
float: none;
margin: 0;
}
.inline-edit-row .notice-error {
box-sizing: border-box;
min-width: 100%;
margin-top: 1em;
}
.inline-edit-row .notice-error .error {
margin: 0.5em 0;
padding: 2px;
}
/* Positioning */
/* Needs higher specificity for the padding */
#the-list .inline-edit-row .inline-edit-legend {
margin: 0;
padding: 0.2em 0;
line-height: 2.5;
font-weight: 600;
}
.inline-edit-row fieldset span.title,
.inline-edit-row fieldset span.checkbox-title {
margin: 0;
padding: 0;
}
.inline-edit-row fieldset label,
.inline-edit-row fieldset span.inline-edit-categories-label {
display: block;
margin: .2em 0;
line-height: 2.5;
}
.inline-edit-row fieldset.inline-edit-date label {
display: inline-block;
margin: 0;
vertical-align: baseline;
line-height: 2;
}
.inline-edit-row fieldset label.inline-edit-tags {
margin-top: 0;
}
.inline-edit-row fieldset label.inline-edit-tags span.title {
margin: .2em 0;
width: auto;
}
.inline-edit-row fieldset label span.title,
.inline-edit-row fieldset.inline-edit-date legend {
display: block;
float: left;
width: 6em;
line-height: 2.5;
}
#posts-filter fieldset.inline-edit-date legend {
padding: 0;
}
.inline-edit-row fieldset label span.input-text-wrap,
.inline-edit-row fieldset .timestamp-wrap {
display: block;
margin-left: 6em;
}
.quick-edit-row-post fieldset.inline-edit-col-right label span.title {
width: auto;
padding-right: 0.5em;
}
.inline-edit-row .inline-edit-or {
margin: .2em 6px .2em 0;
line-height: 2.5;
}
.inline-edit-row .input-text-wrap input[type=text] {
width: 100%;
}
.inline-edit-row fieldset label input[type=checkbox] {
vertical-align: middle;
}
.inline-edit-row fieldset label textarea {
width: 100%;
height: 4em;
vertical-align: top;
}
#wpbody-content .bulk-edit-row fieldset .inline-edit-group label {
max-width: 50%;
}
#wpbody-content .quick-edit-row fieldset .inline-edit-group label.alignleft:first-child {
margin-right: 0.5em
}
.inline-edit-col-right .input-text-wrap input.inline-edit-menu-order-input {
width: 6em;
}
/* Styling */
.inline-edit-row .inline-edit-legend {
text-transform: uppercase;
}
/* Specific Elements */
.inline-edit-row fieldset .inline-edit-date {
float: left;
}
.inline-edit-row fieldset input[name=jj],
.inline-edit-row fieldset input[name=hh],
.inline-edit-row fieldset input[name=mn],
.inline-edit-row fieldset input[name=aa] {
vertical-align: middle;
text-align: center;
padding: 0 4px;
}
.inline-edit-row fieldset label input.inline-edit-password-input {
width: 8em;
}
#bulk-titles-list,
#bulk-titles-list li,
.inline-edit-row fieldset ul.cat-checklist li,
.inline-edit-row fieldset ul.cat-checklist input {
margin: 0;
position: relative; /* RTL fix, #WP27629 */
}
.inline-edit-row fieldset ul.cat-checklist input {
margin-top: -1px;
margin-left: 3px;
}
.inline-edit-row fieldset label input.inline-edit-menu-order-input {
width: 3em;
}
.inline-edit-row fieldset label input.inline-edit-slug-input {
width: 75%;
}
.inline-edit-row #post_parent,
.inline-edit-row select[name="page_template"] {
max-width: 80%;
}
.quick-edit-row-post fieldset label.inline-edit-status {
float: left;
}
#bulk-titles,
ul.cat-checklist {
height: 14em;
border: 1px solid #ddd;
margin: 0 0 5px;
padding: 0.2em 5px;
overflow-y: scroll;
}
#bulk-titles .ntdelbutton,
#bulk-titles .ntdeltitle,
.inline-edit-row fieldset ul.cat-checklist label {
display: inline-block;
margin: 0;
padding: 3px 0;
line-height: 20px;
vertical-align: top;
}
#bulk-titles .ntdelitem {
padding-left: 23px;
}
#bulk-titles .ntdelbutton {
width: 26px;
height: 26px;
margin: 0 0 0 -26px;
text-align: center;
border-radius: 3px;
}
#bulk-titles .ntdelbutton:before {
display: inline-block;
vertical-align: top;
}
#bulk-titles .ntdelbutton:focus {
box-shadow: 0 0 0 2px #3582c4;
/* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
/* Reset inherited offset from Gutenberg */
outline-offset: 0;
}
/*------------------------------------------------------------------------------
17.0 - Plugins
------------------------------------------------------------------------------*/
.plugins tbody th.check-column,
.plugins tbody {
padding: 8px 0 0 2px;
}
.plugins tbody th.check-column input[type=checkbox] {
margin-top: 4px;
}
.updates-table .plugin-title p {
margin-top: 0;
}
.plugins thead td.check-column,
.plugins tfoot td.check-column,
.plugins .inactive th.check-column {
padding-left: 6px;
}
.plugins,
.plugins th,
.plugins td {
color: #000;
}
.plugins tr {
background: #fff;
}
.plugins p {
margin: 0 4px;
padding: 0;
}
.plugins .desc p {
margin: 0 0 8px;
}
.plugins td.desc {
line-height: 1.5;
}
.plugins .desc ul,
.plugins .desc ol {
margin: 0 0 0 2em;
}
.plugins .desc ul {
list-style-type: disc;
}
.plugins .row-actions {
font-size: 13px;
padding: 0;
}
.plugins .inactive td,
.plugins .inactive th,
.plugins .active td,
.plugins .active th {
padding: 10px 9px;
}
.plugins .active td,
.plugins .active th {
background-color: #f0f6fc;
}
.plugins .update th,
.plugins .update td {
border-bottom: 0;
}
.plugins .inactive td,
.plugins .inactive th,
.plugins .active td,
.plugins .active th,
.plugin-install #the-list td,
.upgrade .plugins td,
.upgrade .plugins th {
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}
.plugins tr.active.plugin-update-tr + tr.inactive th,
.plugins tr.active.plugin-update-tr + tr.inactive td,
.plugins tr.active + tr.inactive th,
.plugins tr.active + tr.inactive td {
border-top: 1px solid rgba(0, 0, 0, 0.03);
box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.02), inset 0 -1px 0 #dcdcde;
}
.plugins .update td,
.plugins .update th,
.upgrade .plugins tr:last-of-type td,
.upgrade .plugins tr:last-of-type th,
.plugins tr.active + tr.inactive.update th,
.plugins tr.active + tr.inactive.update td,
.plugins .updated td,
.plugins .updated th,
.plugins tr.active + tr.inactive.updated th,
.plugins tr.active + tr.inactive.updated td {
box-shadow: none;
}
.plugins .active th.check-column,
.plugin-update-tr.active td {
border-left: 4px solid #72aee6;
}
.wp-list-table.plugins .plugin-title,
.wp-list-table.plugins .theme-title {
padding-right: 12px;
white-space: nowrap;
}
.plugins .plugin-title img,
.plugins .plugin-title .dashicons {
float: left;
padding: 0 10px 0 0;
width: 64px;
height: 64px;
}
.plugins .plugin-title .dashicons:before {
padding: 2px;
background-color: #f0f0f1;
box-shadow: inset 0 0 10px rgba(167, 170, 173, 0.15);
font-size: 60px;
color: #c3c4c7;
}
#update-themes-table .plugin-title img,
#update-themes-table .plugin-title .dashicons {
width: 85px;
}
.plugins .column-auto-updates {
width: 14.2em;
}
.plugins .inactive .plugin-title strong {
font-weight: 400;
}
.plugins .second,
.plugins .row-actions {
padding: 0 0 5px;
}
.plugins .row-actions {
white-space: normal;
min-width: 12em;
}
.plugins .update .second,
.plugins .update .row-actions,
.plugins .updated .second,
.plugins .updated .row-actions {
padding-bottom: 0;
}
.plugins-php .widefat tfoot th,
.plugins-php .widefat tfoot td {
border-top-style: solid;
border-top-width: 1px;
}
.plugins .plugin-update-tr .plugin-update {
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
overflow: hidden; /* clearfix */
padding: 0;
}
.plugins .plugin-update-tr .notice,
.plugins .plugin-update-tr div[class="update-message"] { /* back-compat for pre-4.6 */
margin: 5px 20px 15px 40px;
}
.plugins .notice p {
margin: 0.5em 0;
}
.plugins .plugin-description a,
.plugins .plugin-update a,
.updates-table .plugin-title a {
text-decoration: underline;
}
.plugins tr.paused th.check-column {
border-left: 4px solid #d63638;
}
.plugins tr.paused th,
.plugins tr.paused td {
background-color: #f6f7f7;
}
.plugins tr.paused .plugin-title,
.plugins .paused .dashicons-warning {
color: #d63638;
}
.plugins .paused .error-display p,
.plugins .paused .error-display code {
font-size: 90%;
color: rgba(0, 0, 0, 0.7);
}
.plugins .resume-link {
color: #d63638;
}
.plugin-card .update-now:before {
color: #d63638;
content: "\f463";
display: inline-block;
font: normal 20px/1 dashicons;
margin: 3px 5px 0 -2px;
speak: never;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
vertical-align: top;
}
.plugin-card .updating-message:before {
content: "\f463";
animation: rotation 2s infinite linear;
}
@keyframes rotation {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(359deg);
}
}
.plugin-card .updated-message:before {
color: #68de7c;
content: "\f147";
}
.plugin-install-php h2 {
clear: both;
}
.plugin-install-php h3 {
margin: 2.5em 0 8px;
}
.plugin-install-php .wp-filter {
margin-bottom: 0;
}
/* Plugin card table view */
.plugin-group {
overflow: hidden; /* clearfix */
margin-top: 1.5em;
}
.plugin-group h3 {
margin-top: 0;
}
.plugin-card {
float: left;
margin: 0 8px 16px;
width: 48.5%;
width: calc( 50% - 8px );
background-color: #fff;
border: 1px solid #dcdcde;
box-sizing: border-box;
}
.plugin-card:nth-child(odd) {
clear: both;
margin-left: 0;
}
.plugin-card:nth-child(even) {
margin-right: 0;
}
@media screen and (min-width: 1600px) and ( max-width: 2299px ) {
.plugin-card {
width: 30%;
width: calc( 33.1% - 8px );
}
.plugin-card:nth-child(odd) {
clear: none;
margin-left: 8px;
}
.plugin-card:nth-child(even) {
margin-right: 8px;
}
.plugin-card:nth-child(3n+1) {
clear: both;
margin-left: 0;
}
.plugin-card:nth-child(3n) {
margin-right: 0;
}
}
@media screen and (min-width: 2300px) {
.plugin-card {
width: 25%;
width: calc( 25% - 12px );
}
.plugin-card:nth-child(odd) {
clear: none;
margin-left: 8px;
}
.plugin-card:nth-child(even) {
margin-right: 8px;
}
.plugin-card:nth-child(4n+1) {
clear: both;
margin-left: 0;
}
.plugin-card:nth-child(4n) {
margin-right: 0;
}
}
.plugin-card-top {
position: relative;
padding: 20px 20px 10px;
min-height: 135px;
}
div.action-links,
.plugin-action-buttons {
margin: 0; /* Override existing margins */
}
.plugin-card h3 {
margin: 0 12px 12px 0;
font-size: 18px;
line-height: 1.3;
}
.plugin-card .name,
.plugin-card .desc {
margin-left: 148px; /* icon + margin */
margin-right: 128px; /* action links + margin */
}
.plugin-card .action-links {
position: absolute;
top: 20px;
right: 20px;
width: 120px;
}
.plugin-action-buttons {
clear: right;
float: right;
margin-bottom: 1em;
text-align: right;
}
.plugin-action-buttons li {
margin-bottom: 10px;
}
.plugin-card-bottom {
clear: both;
padding: 12px 20px;
background-color: #f6f7f7;
border-top: 1px solid #dcdcde;
overflow: hidden;
}
.plugin-card-bottom .star-rating {
display: inline;
}
.plugin-card-update-failed .update-now {
font-weight: 600;
}
.plugin-card-update-failed .notice-error {
margin: 0;
padding-left: 16px;
box-shadow: 0 -1px 0 #dcdcde;
}
.plugin-card-update-failed .plugin-card-bottom {
display: none;
}
.plugin-card .column-rating {
line-height: 1.76923076;
}
.plugin-card .column-rating,
.plugin-card .column-updated {
margin-bottom: 4px;
}
.plugin-card .column-rating,
.plugin-card .column-downloaded {
float: left;
clear: left;
max-width: 180px;
}
.plugin-card .column-updated,
.plugin-card .column-compatibility {
text-align: right;
float: right;
clear: right;
width: 65%;
width: calc( 100% - 180px );
}
.plugin-card .column-compatibility span:before {
font: normal 20px/.5 dashicons;
speak: never;
display: inline-block;
padding: 0;
top: 4px;
left: -2px;
position: relative;
vertical-align: top;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-decoration: none !important;
color: #3c434a;
}
.plugin-card .column-compatibility .compatibility-incompatible:before {
content: "\f158";
color: #d63638;
}
.plugin-card .column-compatibility .compatibility-compatible:before {
content: "\f147";
color: #007017;
}
.plugin-card .notice {
margin: 20px 20px 0;
}
.plugin-icon {
position: absolute;
top: 20px;
left: 20px;
width: 128px;
height: 128px;
margin: 0 20px 20px 0;
}
.no-plugin-results {
color: #646970; /* same as no themes and no media */
font-size: 18px;
font-style: normal;
margin: 0;
padding: 100px 0 0;
text-align: center;
}
/* ms */
/* Background Color for Site Status */
.wp-list-table .site-deleted,
.wp-list-table tr.site-deleted,
.wp-list-table .site-archived,
.wp-list-table tr.site-archived {
background: #fcf0f1;
}
.wp-list-table .site-spammed,
.wp-list-table tr.site-spammed,
.wp-list-table .site-mature,
.wp-list-table tr.site-mature {
background: #fcf9e8;
}
.sites.fixed .column-lastupdated,
.sites.fixed .column-registered {
width: 20%;
}
.sites.fixed .column-users {
width: 80px;
}
/* =Media Queries
-------------------------------------------------------------- */
@media screen and (max-width: 1100px) and (min-width: 782px), (max-width: 480px) {
.plugin-card .action-links {
position: static;
margin-left: 148px;
width: auto;
}
.plugin-action-buttons {
float: none;
margin: 1em 0 0;
text-align: left;
}
.plugin-action-buttons li {
display: inline-block;
vertical-align: middle;
}
.plugin-action-buttons li .button {
margin-right: 20px;
}
.plugin-card h3 {
margin-right: 24px;
}
.plugin-card .name,
.plugin-card .desc {
margin-right: 0;
}
.plugin-card .desc p:first-of-type {
margin-top: 0;
}
}
@media screen and (max-width: 782px) {
/* WP List Table Options & Filters */
.tablenav {
height: auto;
}
.tablenav.top {
margin: 20px 0 5px;
}
.tablenav.bottom {
position: relative;
margin-top: 15px;
}
.tablenav br {
display: none;
}
.tablenav br.clear {
display: block;
}
.tablenav.top .actions,
.tablenav .view-switch {
display: none;
}
.view-switch a {
width: 36px;
height: 36px;
line-height: 2.53846153;
}
/* Pagination */
.tablenav.top .displaying-num {
display: none;
}
.tablenav.bottom .displaying-num {
position: absolute;
right: 0;
top: 11px;
margin: 0;
font-size: 14px;
}
.tablenav .tablenav-pages {
width: 100%;
text-align: center;
margin: 0 0 25px;
}
.tablenav.bottom .tablenav-pages {
margin-top: 25px;
}
.tablenav.top .tablenav-pages.one-page {
display: none;
}
.tablenav.bottom .tablenav-pages.one-page {
margin-top: 15px;
height: 0;
}
.tablenav-pages .pagination-links {
font-size: 16px;
}
.tablenav .tablenav-pages .button,
.tablenav .tablenav-pages .tablenav-pages-navspan {
min-width: 44px;
padding: 12px 8px;
font-size: 18px;
line-height: 1;
}
.tablenav-pages .pagination-links .current-page {
min-width: 44px;
padding: 12px 6px;
font-size: 16px;
line-height: 1.125;
}
/* WP List Table Adjustments: General */
.form-wrap > p {
display: none;
}
.wp-list-table th.column-primary ~ th,
.wp-list-table tr:not(.inline-edit-row):not(.no-items) td.column-primary ~ td:not(.check-column) {
display: none;
}
.wp-list-table thead th.column-primary {
width: 100%;
}
/* Checkboxes need to show */
.wp-list-table tr th.check-column {
display: table-cell;
}
.wp-list-table .check-column {
width: 2.5em;
}
.wp-list-table .column-primary .toggle-row {
display: block;
}
.wp-list-table tr:not(.inline-edit-row):not(.no-items) td:not(.check-column) {
position: relative;
clear: both;
width: auto !important; /* needs to override some columns that are more specifically targeted */
}
.wp-list-table td.column-primary {
padding-right: 50px; /* space for toggle button */
}
.wp-list-table tr:not(.inline-edit-row):not(.no-items) td.column-primary ~ td:not(.check-column) {
padding: 3px 8px 3px 35%;
}
.wp-list-table tr:not(.inline-edit-row):not(.no-items) td:not(.column-primary)::before {
position: absolute;
left: 10px; /* match padding of regular table cell */
display: block;
overflow: hidden;
width: 32%; /* leave a little space for a gutter */
content: attr(data-colname);
white-space: nowrap;
text-overflow: ellipsis;
}
.wp-list-table .is-expanded td:not(.hidden) {
display: block !important;
overflow: hidden; /* clearfix */
}
/* Special cases */
.widefat .num,
.column-posts {
text-align: left;
}
#comments-form .fixed .column-author,
#commentsdiv .fixed .column-author {
display: none !important;
}
.fixed .column-comment .comment-author {
display: block;
}
/* Comment author hidden via Screen Options */
.fixed .column-author.hidden ~ .column-comment .comment-author {
display: none;
}
#the-comment-list .is-expanded td {
box-shadow: none;
}
#the-comment-list .is-expanded td:last-child {
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}
/* Show comment bubble as text instead */
.post-com-count .screen-reader-text {
position: static;
-webkit-clip-path: none;
clip-path: none;
width: auto;
height: auto;
margin: 0;
}
.column-response .post-com-count-no-comments:after,
.column-response .post-com-count-approved:after,
.column-comments .post-com-count-no-comments:after,
.column-comments .post-com-count-approved:after {
content: none;
}
.column-response .post-com-count [aria-hidden="true"],
.column-comments .post-com-count [aria-hidden="true"] {
display: none;
}
.column-response .post-com-count-wrapper,
.column-comments .post-com-count-wrapper {
white-space: normal;
}
.column-response .post-com-count-wrapper > a,
.column-comments .post-com-count-wrapper > a {
display: block;
}
.column-response .post-com-count-no-comments,
.column-response .post-com-count-approved,
.column-comments .post-com-count-no-comments,
.column-comments .post-com-count-approved {
margin-top: 0;
margin-right: 0.5em;
}
.column-response .post-com-count-pending,
.column-comments .post-com-count-pending {
position: static;
height: auto;
min-width: 0;
padding: 0;
border: none;
border-radius: 0;
background: none;
color: #b32d2e;
font-size: inherit;
line-height: inherit;
text-align: left;
}
.column-response .post-com-count-pending:hover,
.column-comments .post-com-count-pending:hover {
color: #d63638;
}
.widefat thead td.check-column,
.widefat tfoot td.check-column {
padding-top: 10px;
}
.row-actions {
margin-left: -8px;
margin-right: -8px;
padding-top: 4px;
}
/* Make row actions more easy to select on mobile */
body:not(.plugins-php) .row-actions {
display: flex;
flex-wrap: wrap;
gap: 8px;
color: transparent;
}
.row-actions span a,
.row-actions span .button-link {
display: inline-block;
padding: 4px 8px;
line-height: 1.5;
}
.row-actions span.approve:before,
.row-actions span.unapprove:before {
content: "| ";
}
/* Quick Edit and Bulk Edit */
#wpbody-content .quick-edit-row-post .inline-edit-col-left,
#wpbody-content .quick-edit-row-post .inline-edit-col-right,
#wpbody-content .inline-edit-row-post .inline-edit-col-center,
#wpbody-content .quick-edit-row-page .inline-edit-col-left,
#wpbody-content .quick-edit-row-page .inline-edit-col-right,
#wpbody-content .bulk-edit-row-post .inline-edit-col-right,
#wpbody-content .bulk-edit-row .inline-edit-col-left,
#wpbody-content .bulk-edit-row-page .inline-edit-col-right,
#wpbody-content .bulk-edit-row .inline-edit-col-bottom {
float: none;
width: 100%;
padding: 0;
}
#the-list .inline-edit-row .inline-edit-legend,
.inline-edit-row span.title {
font-size: 16px;
}
.inline-edit-row p.howto {
font-size: 14px;
}
#wpbody-content .inline-edit-row-page .inline-edit-col-right {
margin-top: 0;
}
#wpbody-content .quick-edit-row fieldset .inline-edit-col label,
#wpbody-content .quick-edit-row fieldset .inline-edit-group label,
#wpbody-content .bulk-edit-row fieldset .inline-edit-col label,
#wpbody-content .bulk-edit-row fieldset .inline-edit-group label {
max-width: none;
float: none;
margin-bottom: 5px;
}
#wpbody .bulk-edit-row fieldset select {
display: block;
width: 100%;
max-width: none;
box-sizing: border-box;
}
.inline-edit-row fieldset input[name=jj],
.inline-edit-row fieldset input[name=hh],
.inline-edit-row fieldset input[name=mn],
.inline-edit-row fieldset input[name=aa] {
font-size: 16px;
line-height: 2;
padding: 3px 4px;
}
#bulk-titles .ntdelbutton,
#bulk-titles .ntdeltitle,
.inline-edit-row fieldset ul.cat-checklist label {
padding: 6px 0;
font-size: 16px;
line-height: 28px;
}
#bulk-titles .ntdelitem {
padding-left: 37px;
}
#bulk-titles .ntdelbutton {
width: 40px;
height: 40px;
margin: 0 0 0 -40px;
overflow: hidden;
}
#bulk-titles .ntdelbutton:before {
font-size: 20px;
line-height: 28px;
}
.inline-edit-row fieldset label span.title,
.inline-edit-row fieldset.inline-edit-date legend {
float: none;
}
.inline-edit-row fieldset .inline-edit-col label.inline-edit-tags {
padding: 0;
}
.inline-edit-row fieldset label span.input-text-wrap,
.inline-edit-row fieldset .timestamp-wrap {
margin-left: 0;
}
.inline-edit-row .inline-edit-or {
margin: 0 6px 0 0;
}
#edithead .inside,
#commentsdiv #edithead .inside {
float: none;
text-align: left;
padding: 3px 5px;
}
#commentsdiv #edithead .inside input,
#edithead .inside input {
width: 100%;
}
#edithead label {
display: block;
}
/* Updates */
#wpbody-content .updates-table .plugin-title {
width: auto;
white-space: normal;
}
/* Links */
.link-manager-php #posts-filter {
margin-top: 25px;
}
.link-manager-php .tablenav.bottom {
overflow: hidden;
}
/* List tables that don't toggle rows */
.comments-box .toggle-row,
.wp-list-table.plugins .toggle-row {
display: none;
}
/* Plugin/Theme Management */
#wpbody-content .wp-list-table.plugins td {
display: block;
width: auto;
padding: 10px 9px; /* reset from other list tables that have a label at this width */
}
/* Plugin description hidden via Screen Options */
#wpbody-content .wp-list-table.plugins .desc.hidden {
display: none;
}
#wpbody-content .wp-list-table.plugins .column-description {
padding-top: 2px;
}
#wpbody-content .wp-list-table.plugins .plugin-title,
#wpbody-content .wp-list-table.plugins .theme-title {
padding-right: 12px;
white-space: normal;
}
.wp-list-table.plugins .plugin-title,
.wp-list-table.plugins .theme-title {
padding-top: 13px;
padding-bottom: 4px;
}
.plugins #the-list tr > td:not(:last-child),
.plugins #the-list .update th,
.plugins #the-list .update td,
.wp-list-table.plugins #the-list .theme-title {
box-shadow: none;
border-top: none;
}
.plugins #the-list tr td {
border-top: none;
}
.plugins tbody {
padding: 1px 0 0;
}
.plugins tr.active + tr.inactive th.check-column,
.plugins tr.active + tr.inactive td.column-description,
.plugins .plugin-update-tr:before {
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}
.plugins tr.active + tr.inactive th.check-column,
.plugins tr.active + tr.inactive td {
border-top: none;
}
/* mimic the checkbox th */
.plugins .plugin-update-tr:before {
content: "";
display: table-cell;
}
.plugins #the-list .plugin-update-tr .plugin-update {
border-left: none;
}
.plugin-update-tr .update-message {
margin-left: 0;
}
.plugins .active.update + .plugin-update-tr:before,
.plugins .active.updated + .plugin-update-tr:before {
background-color: #f0f6fc;
border-left: 4px solid #72aee6;
}
.plugins .plugin-update-tr .update-message {
margin-left: 0;
}
.wp-list-table.plugins .plugin-title strong,
.wp-list-table.plugins .theme-title strong {
font-size: 1.4em;
line-height: 1.5;
}
.plugins tbody th.check-column {
padding: 8px 0 0 5px;
}
.plugins thead td.check-column,
.plugins tfoot td.check-column,
.plugins .inactive th.check-column {
padding-left: 9px;
}
/* Add New plugins page */
table.plugin-install .column-name,
table.plugin-install .column-version,
table.plugin-install .column-rating,
table.plugin-install .column-description {
display: block;
width: auto;
}
table.plugin-install th.column-name,
table.plugin-install th.column-version,
table.plugin-install th.column-rating,
table.plugin-install th.column-description {
display: none;
}
table.plugin-install td.column-name strong {
font-size: 1.4em;
line-height: 1.6em;
}
table.plugin-install #the-list td {
box-shadow: none;
}
table.plugin-install #the-list tr {
display: block;
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}
.plugin-card {
margin-left: 0;
margin-right: 0;
width: 100%;
}
table.media .column-title .has-media-icon ~ .row-actions {
margin-left: 0;
clear: both;
}
}
@media screen and (max-width: 480px) {
.tablenav-pages .current-page {
margin: 0;
}
.tablenav.bottom .displaying-num {
position: relative;
top: 0;
display: block;
text-align: right;
padding-bottom: 0.5em;
}
.tablenav.bottom .tablenav-pages.one-page {
height: auto;
}
.tablenav-pages .tablenav-paging-text {
float: left;
width: 100%;
padding-top: 0.5em;
}
}
css/color-picker.css.css.tar.gz 0000644 00000002175 15237775763 0012465 0 ustar 00 WKo6ޫ+ewkٲQP{ioE$eD-I-wDɱ,˯11goR.\D^ NM!h RHT<05ˏ'
Q9؏w8<2\W``,>!eDץT}ZL~ɆS(qǻrňL0nmj[KPRV6(וO)*eɬ(.q¹yoy|&jc:urLh՚KEգsAZaJynͧ
R\6Ϋ>cأiV