Compare commits
46 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fe47e6139d | ||
|
|
854cbe7cf1 | ||
|
|
73d78fbe90 | ||
|
|
a560559c37 | ||
|
|
9c4763f8c4 | ||
|
|
329a17f59a | ||
|
|
58e1032e13 | ||
|
|
d0b90431df | ||
|
|
8742490da7 | ||
|
|
9652a4916b | ||
|
|
9a51ff0799 | ||
|
|
4d1a6af1ba | ||
|
|
05eb0237ce | ||
|
|
a1e4485b61 | ||
|
|
6818f62d6a | ||
|
|
73f3896134 | ||
|
|
7fec14f382 | ||
|
|
ae8722f109 | ||
|
|
444cb81b45 | ||
|
|
dd5cb26de2 | ||
|
|
88c32598af | ||
|
|
902420b294 | ||
|
|
9c0dfce2ac | ||
|
|
8631cb86cf | ||
|
|
1bbe957cc3 | ||
|
|
c63e673361 | ||
|
|
14fa6a89ca | ||
|
|
dcf9711226 | ||
|
|
c959c32860 | ||
|
|
f6cbf30494 | ||
|
|
621f4f97e5 | ||
|
|
b5de2df420 | ||
|
|
0a65e04101 | ||
|
|
4ca40b65ec | ||
|
|
9501efd09f | ||
|
|
6ece312820 | ||
|
|
6b9501b9c7 | ||
|
|
a72eb16e91 | ||
|
|
1a6b25088a | ||
|
|
b4cc5d511b | ||
|
|
7eccc12e97 | ||
|
|
cf2852b778 | ||
|
|
15bf460317 | ||
|
|
beded541a7 | ||
|
|
8664f9f88b | ||
|
|
b42ec35de7 |
@@ -11,7 +11,7 @@
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
define( 'WP_USE_THEMES', true );
|
||||
define('WP_USE_THEMES', true);
|
||||
|
||||
/** Loads the WordPress Environment and Template */
|
||||
require( dirname( __FILE__ ) . '/wp-blog-header.php' );
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
WordPress - Web publishing software
|
||||
|
||||
Copyright 2011-2019 by the contributors
|
||||
Copyright 2011-2016 by the contributors
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<html>
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
@@ -9,6 +9,7 @@
|
||||
<body>
|
||||
<h1 id="logo">
|
||||
<a href="https://wordpress.org/"><img alt="WordPress" src="wp-admin/images/wordpress-logo.png" /></a>
|
||||
<br /> Version 4.6
|
||||
</h1>
|
||||
<p style="text-align: center">Semantic Personal Publishing Platform</p>
|
||||
|
||||
@@ -26,7 +27,7 @@
|
||||
<li>Open <span class="file"><a href="wp-admin/install.php">wp-admin/install.php</a></span> in your browser.</li>
|
||||
</ol>
|
||||
</li>
|
||||
<li>Once the configuration file is set up, the installer will set up the tables needed for your site. If there is an error, double check your <code>wp-config.php</code> file, and try again. If it fails again, please go to the <a href="https://wordpress.org/support/" title="WordPress support">support forums</a> with as much data as you can gather.</li>
|
||||
<li>Once the configuration file is set up, the installer will set up the tables needed for your blog. If there is an error, double check your <code>wp-config.php</code> file, and try again. If it fails again, please go to the <a href="https://wordpress.org/support/" title="WordPress support">support forums</a> with as much data as you can gather.</li>
|
||||
<li><strong>If you did not enter a password, note the password given to you.</strong> If you did not provide a username, it will be <code>admin</code>.</li>
|
||||
<li>The installer should then send you to the <a href="wp-login.php">login page</a>. Sign in with the username and password you chose during the installation. If a password was generated for you, you can then click on “Profile” to change the password.</li>
|
||||
</ol>
|
||||
@@ -58,10 +59,9 @@
|
||||
|
||||
<h3>Recommendations</h3>
|
||||
<ul>
|
||||
<li><a href="https://secure.php.net/">PHP</a> version <strong>7.2</strong> or higher.</li>
|
||||
<li><a href="https://secure.php.net/">PHP</a> version <strong>5.6</strong> or higher.</li>
|
||||
<li><a href="https://www.mysql.com/">MySQL</a> version <strong>5.6</strong> or higher.</li>
|
||||
<li>The <a href="https://httpd.apache.org/docs/2.2/mod/mod_rewrite.html">mod_rewrite</a> Apache module.</li>
|
||||
<li><a href="https://wordpress.org/news/2016/12/moving-toward-ssl/">HTTPS</a> support.</li>
|
||||
<li>A link to <a href="https://wordpress.org/">wordpress.org</a> on your site.</li>
|
||||
</ul>
|
||||
|
||||
|
||||
180
wp-activate.php
180
wp-activate.php
@@ -9,64 +9,17 @@
|
||||
define( 'WP_INSTALLING', true );
|
||||
|
||||
/** Sets up the WordPress Environment. */
|
||||
require( dirname( __FILE__ ) . '/wp-load.php' );
|
||||
require( dirname(__FILE__) . '/wp-load.php' );
|
||||
|
||||
require( dirname( __FILE__ ) . '/wp-blog-header.php' );
|
||||
|
||||
if ( ! is_multisite() ) {
|
||||
if ( !is_multisite() ) {
|
||||
wp_redirect( wp_registration_url() );
|
||||
die();
|
||||
}
|
||||
|
||||
$valid_error_codes = array( 'already_active', 'blog_taken' );
|
||||
|
||||
list( $activate_path ) = explode( '?', wp_unslash( $_SERVER['REQUEST_URI'] ) );
|
||||
$activate_cookie = 'wp-activate-' . COOKIEHASH;
|
||||
|
||||
$key = '';
|
||||
$result = null;
|
||||
|
||||
if ( isset( $_GET['key'] ) && isset( $_POST['key'] ) && $_GET['key'] !== $_POST['key'] ) {
|
||||
wp_die( __( 'A key value mismatch has been detected. Please follow the link provided in your activation email.' ), __( 'An error occurred during the activation' ), 400 );
|
||||
} elseif ( ! empty( $_GET['key'] ) ) {
|
||||
$key = $_GET['key'];
|
||||
} elseif ( ! empty( $_POST['key'] ) ) {
|
||||
$key = $_POST['key'];
|
||||
}
|
||||
|
||||
if ( $key ) {
|
||||
$redirect_url = remove_query_arg( 'key' );
|
||||
|
||||
if ( $redirect_url !== remove_query_arg( false ) ) {
|
||||
setcookie( $activate_cookie, $key, 0, $activate_path, COOKIE_DOMAIN, is_ssl(), true );
|
||||
wp_safe_redirect( $redirect_url );
|
||||
exit;
|
||||
} else {
|
||||
$result = wpmu_activate_signup( $key );
|
||||
}
|
||||
}
|
||||
|
||||
if ( $result === null && isset( $_COOKIE[ $activate_cookie ] ) ) {
|
||||
$key = $_COOKIE[ $activate_cookie ];
|
||||
$result = wpmu_activate_signup( $key );
|
||||
setcookie( $activate_cookie, ' ', time() - YEAR_IN_SECONDS, $activate_path, COOKIE_DOMAIN, is_ssl(), true );
|
||||
}
|
||||
|
||||
if ( $result === null || ( is_wp_error( $result ) && 'invalid_key' === $result->get_error_code() ) ) {
|
||||
status_header( 404 );
|
||||
} elseif ( is_wp_error( $result ) ) {
|
||||
$error_code = $result->get_error_code();
|
||||
|
||||
if ( ! in_array( $error_code, $valid_error_codes ) ) {
|
||||
status_header( 400 );
|
||||
}
|
||||
}
|
||||
|
||||
nocache_headers();
|
||||
|
||||
if ( is_object( $wp_object_cache ) ) {
|
||||
if ( is_object( $wp_object_cache ) )
|
||||
$wp_object_cache->cache_enabled = false;
|
||||
}
|
||||
|
||||
// Fix for page title
|
||||
$wp_query->is_404 = false;
|
||||
@@ -83,24 +36,24 @@ do_action( 'activate_header' );
|
||||
*
|
||||
* Fires on {@see 'wp_head'}.
|
||||
*
|
||||
* @since MU (3.0.0)
|
||||
* @since MU
|
||||
*/
|
||||
function do_activate_header() {
|
||||
/**
|
||||
* Fires before the Site Activation page is loaded.
|
||||
*
|
||||
* Fires on the {@see 'wp_head'} action.
|
||||
*
|
||||
* @since 3.0.0
|
||||
*/
|
||||
do_action( 'activate_wp_head' );
|
||||
*
|
||||
* @since 3.0.0
|
||||
*/
|
||||
do_action( 'activate_wp_head' );
|
||||
}
|
||||
add_action( 'wp_head', 'do_activate_header' );
|
||||
|
||||
/**
|
||||
* Loads styles specific to this page.
|
||||
*
|
||||
* @since MU (3.0.0)
|
||||
* @since MU
|
||||
*/
|
||||
function wpmu_activate_stylesheet() {
|
||||
?>
|
||||
@@ -109,98 +62,94 @@ function wpmu_activate_stylesheet() {
|
||||
#submit, #key { width: 90%; font-size: 24px; }
|
||||
#language { margin-top: .5em; }
|
||||
.error { background: #f66; }
|
||||
span.h3 { padding: 0 8px; font-size: 1.3em; font-weight: 600; }
|
||||
span.h3 { padding: 0 8px; font-size: 1.3em; font-weight: bold; }
|
||||
</style>
|
||||
<?php
|
||||
}
|
||||
add_action( 'wp_head', 'wpmu_activate_stylesheet' );
|
||||
add_action( 'wp_head', 'wp_sensitive_page_meta' );
|
||||
|
||||
get_header( 'wp-activate' );
|
||||
?>
|
||||
|
||||
<div id="signup-content" class="widecolumn">
|
||||
<div class="wp-activate-container">
|
||||
<?php if ( ! $key ) { ?>
|
||||
<?php if ( empty($_GET['key']) && empty($_POST['key']) ) { ?>
|
||||
|
||||
<h2><?php _e( 'Activation Key Required' ); ?></h2>
|
||||
<form name="activateform" id="activateform" method="post" action="<?php echo network_site_url( 'wp-activate.php' ); ?>">
|
||||
<h2><?php _e('Activation Key Required') ?></h2>
|
||||
<form name="activateform" id="activateform" method="post" action="<?php echo network_site_url('wp-activate.php'); ?>">
|
||||
<p>
|
||||
<label for="key"><?php _e( 'Activation Key:' ); ?></label>
|
||||
<br /><input type="text" name="key" id="key" value="" size="50" />
|
||||
<label for="key"><?php _e('Activation Key:') ?></label>
|
||||
<br /><input type="text" name="key" id="key" value="" size="50" />
|
||||
</p>
|
||||
<p class="submit">
|
||||
<input id="submit" type="submit" name="Submit" class="submit" value="<?php esc_attr_e( 'Activate' ); ?>" />
|
||||
<input id="submit" type="submit" name="Submit" class="submit" value="<?php esc_attr_e('Activate') ?>" />
|
||||
</p>
|
||||
</form>
|
||||
|
||||
<?php
|
||||
} else {
|
||||
if ( is_wp_error( $result ) && in_array( $result->get_error_code(), $valid_error_codes ) ) {
|
||||
$signup = $result->get_error_data();
|
||||
?>
|
||||
<h2><?php _e( 'Your account is now active!' ); ?></h2>
|
||||
<?php
|
||||
echo '<p class="lead-in">';
|
||||
if ( $signup->domain . $signup->path == '' ) {
|
||||
printf(
|
||||
/* translators: 1: login URL, 2: username, 3: user email, 4: lost password URL */
|
||||
__( 'Your account has been activated. You may now <a href="%1$s">log in</a> to the site using your chosen username of “%2$s”. Please check your email inbox at %3$s for your password and login instructions. If you do not receive an email, please check your junk or spam folder. If you still do not receive an email within an hour, you can <a href="%4$s">reset your password</a>.' ),
|
||||
network_site_url( 'wp-login.php', 'login' ),
|
||||
$signup->user_login,
|
||||
$signup->user_email,
|
||||
wp_lostpassword_url()
|
||||
);
|
||||
<?php } else {
|
||||
|
||||
$key = !empty($_GET['key']) ? $_GET['key'] : $_POST['key'];
|
||||
$result = wpmu_activate_signup( $key );
|
||||
if ( is_wp_error($result) ) {
|
||||
if ( 'already_active' == $result->get_error_code() || 'blog_taken' == $result->get_error_code() ) {
|
||||
$signup = $result->get_error_data();
|
||||
?>
|
||||
<h2><?php _e('Your account is now active!'); ?></h2>
|
||||
<?php
|
||||
echo '<p class="lead-in">';
|
||||
if ( $signup->domain . $signup->path == '' ) {
|
||||
printf(
|
||||
/* translators: 1: login URL, 2: username, 3: user email, 4: lost password URL */
|
||||
__( 'Your account has been activated. You may now <a href="%1$s">log in</a> to the site using your chosen username of “%2$s”. Please check your email inbox at %3$s for your password and login instructions. If you do not receive an email, please check your junk or spam folder. If you still do not receive an email within an hour, you can <a href="%4$s">reset your password</a>.' ),
|
||||
network_site_url( 'wp-login.php', 'login' ),
|
||||
$signup->user_login,
|
||||
$signup->user_email,
|
||||
wp_lostpassword_url()
|
||||
);
|
||||
} else {
|
||||
printf(
|
||||
/* translators: 1: site URL, 2: site domain, 3: username, 4: user email, 5: lost password URL */
|
||||
__( 'Your site at <a href="%1$s">%2$s</a> is active. You may now log in to your site using your chosen username of “%3$s”. Please check your email inbox at %4$s for your password and login instructions. If you do not receive an email, please check your junk or spam folder. If you still do not receive an email within an hour, you can <a href="%5$s">reset your password</a>.' ),
|
||||
'http://' . $signup->domain,
|
||||
$signup->domain,
|
||||
$signup->user_login,
|
||||
$signup->user_email,
|
||||
wp_lostpassword_url()
|
||||
);
|
||||
}
|
||||
echo '</p>';
|
||||
} else {
|
||||
printf(
|
||||
/* translators: 1: site URL, 2: username, 3: user email, 4: lost password URL */
|
||||
__( 'Your site at %1$s is active. You may now log in to your site using your chosen username of “%2$s”. Please check your email inbox at %3$s for your password and login instructions. If you do not receive an email, please check your junk or spam folder. If you still do not receive an email within an hour, you can <a href="%4$s">reset your password</a>.' ),
|
||||
sprintf( '<a href="http://%1$s">%1$s</a>', $signup->domain ),
|
||||
$signup->user_login,
|
||||
$signup->user_email,
|
||||
wp_lostpassword_url()
|
||||
);
|
||||
}
|
||||
echo '</p>';
|
||||
} elseif ( $result === null || is_wp_error( $result ) ) {
|
||||
?>
|
||||
<h2><?php _e( 'An error occurred during the activation' ); ?></h2>
|
||||
<?php if ( is_wp_error( $result ) ) : ?>
|
||||
?>
|
||||
<h2><?php _e( 'An error occurred during the activation' ); ?></h2>
|
||||
<p><?php echo $result->get_error_message(); ?></p>
|
||||
<?php endif; ?>
|
||||
<?php
|
||||
<?php
|
||||
}
|
||||
} else {
|
||||
$url = isset( $result['blog_id'] ) ? get_home_url( (int) $result['blog_id'] ) : '';
|
||||
$url = isset( $result['blog_id'] ) ? get_blogaddress_by_id( (int) $result['blog_id'] ) : '';
|
||||
$user = get_userdata( (int) $result['user_id'] );
|
||||
?>
|
||||
<h2><?php _e( 'Your account is now active!' ); ?></h2>
|
||||
<h2><?php _e('Your account is now active!'); ?></h2>
|
||||
|
||||
<div id="signup-welcome">
|
||||
<p><span class="h3"><?php _e( 'Username:' ); ?></span> <?php echo $user->user_login; ?></p>
|
||||
<p><span class="h3"><?php _e( 'Password:' ); ?></span> <?php echo $result['password']; ?></p>
|
||||
<p><span class="h3"><?php _e('Username:'); ?></span> <?php echo $user->user_login ?></p>
|
||||
<p><span class="h3"><?php _e('Password:'); ?></span> <?php echo $result['password']; ?></p>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
if ( $url && $url != network_home_url( '', 'http' ) ) :
|
||||
<?php if ( $url && $url != network_home_url( '', 'http' ) ) :
|
||||
switch_to_blog( (int) $result['blog_id'] );
|
||||
$login_url = wp_login_url();
|
||||
restore_current_blog();
|
||||
?>
|
||||
<p class="view">
|
||||
<?php
|
||||
<p class="view"><?php
|
||||
/* translators: 1: site URL, 2: login URL */
|
||||
printf( __( 'Your account is now activated. <a href="%1$s">View your site</a> or <a href="%2$s">Log in</a>' ), $url, esc_url( $login_url ) );
|
||||
?>
|
||||
</p>
|
||||
<?php else : ?>
|
||||
<p class="view">
|
||||
<?php
|
||||
?></p>
|
||||
<?php else: ?>
|
||||
<p class="view"><?php
|
||||
/* translators: 1: login URL, 2: network home URL */
|
||||
printf( __( 'Your account is now activated. <a href="%1$s">Log in</a> or go back to the <a href="%2$s">homepage</a>.' ), network_site_url( 'wp-login.php', 'login' ), network_home_url() );
|
||||
?>
|
||||
</p>
|
||||
<?php
|
||||
endif;
|
||||
?></p>
|
||||
<?php endif;
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -210,5 +159,4 @@ get_header( 'wp-activate' );
|
||||
var key_input = document.getElementById('key');
|
||||
key_input && key_input.focus();
|
||||
</script>
|
||||
<?php
|
||||
get_footer( 'wp-activate' );
|
||||
<?php get_footer( 'wp-activate' );
|
||||
|
||||
@@ -9,330 +9,192 @@
|
||||
/** WordPress Administration Bootstrap */
|
||||
require_once( dirname( __FILE__ ) . '/admin.php' );
|
||||
|
||||
wp_enqueue_script( 'underscore' );
|
||||
if ( ! wp_is_mobile() ) {
|
||||
wp_enqueue_style( 'wp-mediaelement' );
|
||||
wp_enqueue_script( 'wp-mediaelement' );
|
||||
wp_localize_script( 'mediaelement', '_wpmejsSettings', array(
|
||||
'pluginPath' => includes_url( 'js/mediaelement/', 'relative' ),
|
||||
'pauseOtherPlayers' => '',
|
||||
) );
|
||||
}
|
||||
|
||||
/* translators: Page title of the About WordPress page in the admin. */
|
||||
$title = _x( 'About', 'page title' );
|
||||
/**
|
||||
* Replaces the height and width attributes with values for full size.
|
||||
*
|
||||
* wp_video_shortcode() limits the width to 640px.
|
||||
*
|
||||
* @since 4.6.0
|
||||
* @ignore
|
||||
*
|
||||
* @param $output Video shortcode HTML output.
|
||||
* @return string Filtered HTML content to display video.
|
||||
*/
|
||||
function _wp_override_admin_video_width_limit( $output ) {
|
||||
return str_replace( array( '640', '384' ), array( '1050', '630' ), $output );
|
||||
}
|
||||
|
||||
list( $display_version ) = explode( '-', get_bloginfo( 'version' ) );
|
||||
$video_url = 'https://videopress.com/embed/GbdhpGF3?hd=true';
|
||||
$locale = str_replace( '_', '-', get_locale() );
|
||||
list( $locale ) = explode( '-', $locale );
|
||||
if ( 'en' !== $locale ) {
|
||||
$video_url = add_query_arg( 'defaultLangCode', $locale, $video_url );
|
||||
}
|
||||
|
||||
wp_enqueue_style( 'wp-block-library' );
|
||||
$title = __( 'About' );
|
||||
|
||||
list( $display_version ) = explode( '-', $wp_version );
|
||||
|
||||
include( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
?>
|
||||
<div class="wrap about-wrap full-width-layout">
|
||||
<div class="wrap about-wrap">
|
||||
<h1><?php printf( __( 'Welcome to WordPress %s' ), $display_version ); ?></h1>
|
||||
|
||||
<p class="about-text"><?php printf( __( 'Thank you for updating to the latest version!' ), $display_version ); ?></p>
|
||||
|
||||
<p class="about-text"><?php printf( __( 'Thank you for updating to the latest version. WordPress %s changes a lot behind the scenes to make your WordPress experience even better!' ), $display_version ); ?></p>
|
||||
<div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div>
|
||||
|
||||
<h2 class="nav-tab-wrapper wp-clearfix">
|
||||
<a href="about.php" class="nav-tab nav-tab-active"><?php _e( 'What’s New' ); ?></a>
|
||||
<a href="credits.php" class="nav-tab"><?php _e( 'Credits' ); ?></a>
|
||||
<a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
|
||||
<a href="freedoms.php?privacy-notice" class="nav-tab"><?php _e( 'Privacy' ); ?></a>
|
||||
</h2>
|
||||
|
||||
<div class="changelog point-releases">
|
||||
<h3><?php _e( 'Maintenance and Security Releases' ); ?></h3>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: 1: WordPress version number, 2: Plural number of bugs. */
|
||||
_n(
|
||||
'<strong>Version %1$s</strong> addressed %2$s bug.',
|
||||
'<strong>Version %1$s</strong> addressed %2$s bugs.',
|
||||
1
|
||||
),
|
||||
'5.1.8',
|
||||
number_format_i18n( 1 )
|
||||
);
|
||||
?>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: HelpHub URL */
|
||||
__( 'For more information, see <a href="%s">the release notes</a>.' ),
|
||||
sprintf(
|
||||
/* translators: %s: WordPress version */
|
||||
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
|
||||
sanitize_title( '5.1.8' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: WordPress version number */
|
||||
__( '<strong>Version %s</strong> addressed some security issues.' ),
|
||||
'5.1.7'
|
||||
);
|
||||
?>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: HelpHub URL */
|
||||
__( 'For more information, see <a href="%s">the release notes</a>.' ),
|
||||
sprintf(
|
||||
/* translators: %s: WordPress version */
|
||||
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
|
||||
sanitize_title( '5.1.7' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: 1: WordPress version number, 2: plural number of bugs. */
|
||||
_n(
|
||||
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.',
|
||||
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.',
|
||||
1
|
||||
),
|
||||
'5.1.6',
|
||||
number_format_i18n( 1 )
|
||||
);
|
||||
?>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: HelpHub URL */
|
||||
__( 'For more information, see <a href="%s">the release notes</a>.' ),
|
||||
sprintf(
|
||||
/* translators: %s: WordPress version */
|
||||
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
|
||||
sanitize_title( '5.1.6' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: WordPress version number */
|
||||
__( '<strong>Version %s</strong> addressed some security issues.' ),
|
||||
'5.1.5'
|
||||
);
|
||||
?>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: HelpHub URL */
|
||||
__( 'For more information, see <a href="%s">the release notes</a>.' ),
|
||||
sprintf(
|
||||
/* translators: %s: WordPress version */
|
||||
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
|
||||
sanitize_title( '5.1.5' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: WordPress version number */
|
||||
__( '<strong>Version %s</strong> addressed some security issues.' ),
|
||||
'5.1.4'
|
||||
);
|
||||
?>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: HelpHub URL */
|
||||
__( 'For more information, see <a href="%s">the release notes</a>.' ),
|
||||
sprintf(
|
||||
/* translators: %s: WordPress version */
|
||||
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
|
||||
sanitize_title( '5.1.4' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: WordPress version number */
|
||||
__( '<strong>Version %s</strong> addressed some security issues.' ),
|
||||
'5.1.3'
|
||||
);
|
||||
?>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: HelpHub URL */
|
||||
__( 'For more information, see <a href="%s">the release notes</a>.' ),
|
||||
sprintf(
|
||||
/* translators: %s: WordPress version */
|
||||
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
|
||||
sanitize_title( '5.1.3' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: 1: WordPress version number, 2: plural number of bugs. */
|
||||
_n(
|
||||
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.',
|
||||
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.',
|
||||
2
|
||||
),
|
||||
'5.1.2',
|
||||
number_format_i18n( 2 )
|
||||
);
|
||||
?>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: HelpHub URL */
|
||||
__( 'For more information, see <a href="%s">the release notes</a>.' ),
|
||||
sprintf(
|
||||
/* translators: %s: WordPress version */
|
||||
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
|
||||
sanitize_title( '5.1.2' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: 1: WordPress version number, 2: plural number of bugs. */
|
||||
_n(
|
||||
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.',
|
||||
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.',
|
||||
14
|
||||
),
|
||||
'5.1.1',
|
||||
number_format_i18n( 14 )
|
||||
);
|
||||
?>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: HelpHub URL */
|
||||
__( 'For more information, see <a href="%s">the release notes</a>.' ),
|
||||
sprintf(
|
||||
/* translators: %s: WordPress version */
|
||||
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
|
||||
sanitize_title( '5.1.1' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<div class="headline-feature feature-video">
|
||||
<iframe width="1050" height="591" src="<?php echo esc_url( $video_url ); ?>" frameborder="0" allowfullscreen></iframe>
|
||||
<script src="https://videopress.com/videopress-iframe.js"></script>
|
||||
</div>
|
||||
|
||||
<h2 class="feature-section-header"><?php _e( 'A Little Better Every Day' ); ?></h2>
|
||||
<hr>
|
||||
|
||||
<div class="feature-section headline-feature one-col">
|
||||
<div class="streamlined-updates feature-section one-col">
|
||||
<h2><?php _e( 'Streamlined Updates' ); ?></h2>
|
||||
<p><?php _e( 'Don’t lose your place: stay on the same page while you update, install, and delete your plugins and themes.' ); ?></p>
|
||||
<?php
|
||||
if ( ! wp_is_mobile() ) {
|
||||
add_filter( 'wp_video_shortcode', '_wp_override_admin_video_width_limit' );
|
||||
echo wp_video_shortcode( array(
|
||||
'mp4' => 'https://s.w.org/images/core/4.6/streamlined-updates.mp4',
|
||||
'webm' => 'https://s.w.org/images/core/4.6/streamlined-updates.webm',
|
||||
'poster' => 'https://s.w.org/images/core/4.6/streamlined-updates-2000.png?v1',
|
||||
'loop' => true,
|
||||
'autoplay' => true,
|
||||
'width' => 1050,
|
||||
'height' => 630,
|
||||
'class' => 'wp-video-shortcode feature-video',
|
||||
) );
|
||||
remove_filter( 'wp_video_shortcode', '_wp_override_admin_video_width_limit' );
|
||||
} else {
|
||||
echo '<img src="https://s.w.org/images/core/4.6/streamlined-updates-1057.png?v1" alt="" srcset="https://s.w.org/images/core/4.6/streamlined-updates-1664.png?v1 1664w, https://s.w.org/images/core/4.6/streamlined-updates-200.png?v1 200w, https://s.w.org/images/core/4.6/streamlined-updates-1057.png?v1 1057w, https://s.w.org/images/core/4.6/streamlined-updates-2000.png?v1 2000w" sizes="(max-width: 500px) calc(100vw - 40px), (max-width: 782px) calc(100vw - 70px), (max-width: 959px) calc(100vw - 116px), (max-width: 1290px) calc(100vw - 240px), 1050px" />';
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
<hr />
|
||||
|
||||
<div class="native-fonts feature-section one-col">
|
||||
<h2><?php _e( 'Native Fonts' ); ?></h2>
|
||||
<p><?php _e( 'The WordPress dashboard now takes advantage of the fonts you already have, making it load faster and letting you feel more at home on whatever device you use.' ); ?></p>
|
||||
<img src="https://s.w.org/images/core/4.6/native-fonts-992.png?v1" alt="" srcset="https://cldup.com/Hqmo5VLb-E.png?v1 922w, https://s.w.org/images/core/4.6/native-fonts-200.png?v1 200w,https://s.w.org/images/core/4.6/native-fonts-371.png?v1 371w,https://s.w.org/images/core/4.6/native-fonts-510.png?v1 510w, https://s.w.org/images/core/4.6/native-fonts-560.png?v1 560w, https://s.w.org/images/core/4.6/native-fonts-781.png?v1 781w, https://s.w.org/images/core/4.6/native-fonts-2000.png?v1 2000w" sizes="(max-width: 500px) calc(100vw - 40px), (max-width: 782px) calc(100vw - 70px), (max-width: 959px) calc(100vw - 116px), (max-width: 1290px) calc(100vw - 240px), 1050px"/>
|
||||
</div>
|
||||
|
||||
<hr />
|
||||
|
||||
<div class="feature-section two-col">
|
||||
<h2><?php _e( 'Editor Improvements' ); ?></h2>
|
||||
<div class="col">
|
||||
<div class="inline-svg">
|
||||
<img src="https://s.w.org/images/core/5.1/update.svg" alt="">
|
||||
</div>
|
||||
<p><?php _e( 'You’ve successfully upgraded to WordPress 5.1! Following WordPress 5.0—a major release which introduced the new block editor—5.1 focuses on polish, in particular by improving overall performance of the editor. In addition, this release paves the way for a better, faster, and more secure WordPress with some essential tools for site administrators and developers.' ); ?></p>
|
||||
<img src="https://s.w.org/images/core/4.6/inline-link-checker-608.png?v1" alt="" srcset="https://s.w.org/images/core/4.6/inline-link-checker-789.png?v1 789w, https://s.w.org/images/core/4.6/inline-link-checker-200.png?v1 200w, https://s.w.org/images/core/4.6/inline-link-checker-384.png?v1 384w, https://s.w.org/images/core/4.6/inline-link-checker-608.png?v1 608w, https://s.w.org/images/core/4.6/inline-link-checker-992.png?v1 992w" sizes="(max-width: 500px) calc(100vw - 40px), (max-width: 781px) calc((100vw - 70px) * .466), (max-width: 959px) calc((100vw - 116px) * .469), (max-width: 1290px) calc((100vw - 240px) * .472), 496px"/>
|
||||
<h3><?php _e( 'Inline Link Checker' ); ?></h3>
|
||||
<p><?php
|
||||
printf(
|
||||
/* translators: %s: Home URL appended with 'wordpress.org' */
|
||||
__( 'Ever accidentally made a link to %s? Now WordPress automatically checks to make sure you didn’t.' ),
|
||||
home_url( 'wordpress.org' )
|
||||
);
|
||||
?></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="feature-section one-col is-wide wp-clearfix">
|
||||
<div class="col">
|
||||
<h3><?php _e( 'Site Health' ); ?></h3>
|
||||
<div class="inline-svg alignright">
|
||||
<img src="https://s.w.org/images/core/5.1/site-health.svg" alt="">
|
||||
</div>
|
||||
<p><?php printf( __( 'With security and speed in mind, this release introduces WordPress’s first <a href="%s">Site Health</a> features. WordPress will start showing notices to administrators of sites that run long-outdated versions of PHP, which is the programming language that powers WordPress.' ), 'https://make.wordpress.org/core/2019/01/14/php-site-health-mechanisms-in-5-1/' ); ?></p>
|
||||
|
||||
<p><?php _e( 'When installing new plugins, WordPress’s Site Health features will check whether a plugin requires a version of PHP incompatible with your site. If so, WordPress will prevent you from installing that plugin.' ); ?></p>
|
||||
|
||||
<?php
|
||||
$response = wp_check_php_version();
|
||||
if ( $response && isset( $response['is_acceptable'] ) && ! $response['is_acceptable'] && current_user_can( 'update_php' ) ) :
|
||||
?>
|
||||
<p><em><?php _e( 'WordPress has detected your site is running an outdated version of PHP. You will see this notice on your dashboard with instructions for contacting your host.' ); ?></em></p>
|
||||
<?php endif; ?>
|
||||
|
||||
<p><a class="button button-default button-hero" href="<?php echo esc_url( wp_get_update_php_url() ); ?>"><?php _e( 'Learn more about updating PHP' ); ?></a></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="feature-section one-col is-wide wp-clearfix">
|
||||
<div class="col">
|
||||
<h3><?php _e( 'Editor Performance' ); ?></h3>
|
||||
<div class="inline-svg alignright">
|
||||
<img src="https://s.w.org/images/core/5.1/editor-performance.svg" alt="">
|
||||
</div>
|
||||
<p><?php _e( 'Introduced in WordPress 5.0, the new block editor continues to improve. Most significantly, WordPress 5.1 includes solid performance improvements within the editor. The editor should feel a little quicker to start, and typing should feel smoother. Nevertheless, expect more performance improvements in the next releases.' ); ?></p>
|
||||
<?php if ( current_user_can( 'edit_posts' ) ) : ?>
|
||||
<p><a class="button button-default button-hero" href="<?php echo esc_url( admin_url( 'post-new.php' ) ); ?>"><?php _e( 'Build your first post' ); ?></a></p>
|
||||
<?php endif; ?>
|
||||
<img src="https://s.w.org/images/core/4.6/content-recovery-561.png?v1" alt="" srcset="https://s.w.org/images/core/4.6/content-recovery-701.png?v1 701w, https://s.w.org/images/core/4.6/content-recovery-200.png?v1 200w, https://s.w.org/images/core/4.6/content-recovery-400.png?v1 400w, https://s.w.org/images/core/4.6/content-recovery-561.png?v1 561w, https://s.w.org/images/core/4.6/content-recovery-992.png?v1 992w" sizes="(max-width: 500px) calc(100vw - 40px), (max-width: 781px) calc((100vw - 70px) * .466), (max-width: 959px) calc((100vw - 116px) * .469), (max-width: 1290px) calc((100vw - 240px) * .472), 496px"/>
|
||||
<h3><?php _e( 'Content Recovery' ); ?></h3>
|
||||
<p><?php _e( 'As you type, WordPress saves your content to the browser. Recovering saved content is even easier with WordPress 4.6.' ); ?></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<hr />
|
||||
|
||||
<h3 class="under-the-hood-header"><?php _e( 'Developer Happiness' ); ?></h3>
|
||||
<div class="changelog">
|
||||
<h2><?php _e( 'Under the Hood' ); ?></h2>
|
||||
|
||||
<div class="under-the-hood feature-section three-col">
|
||||
<div class="col">
|
||||
<h4><?php _e( 'Multisite Metadata' ); ?></h4>
|
||||
<p>
|
||||
<?php _e( '5.1 introduces a new database table to store metadata associated with sites and allows for the storage of arbitrary site data relevant in a multisite / network context.' ); ?>
|
||||
<br>
|
||||
<?php printf( __( '<a href="%s">Read more.</a>' ), 'https://make.wordpress.org/core/2019/01/28/multisite-support-for-site-metadata-in-5-1/' ); ?>
|
||||
</p>
|
||||
</div>
|
||||
<div class="col">
|
||||
<h4><?php _e( 'Cron API' ); ?></h4>
|
||||
<p>
|
||||
<?php _e( 'The Cron API has been updated with new functions to assist with returning data and includes new filters for modifying cron storage. Other changes in behavior affect cron spawning on servers running FastCGI and PHP-FPM versions 7.0.16 and above.' ); ?>
|
||||
<br>
|
||||
<?php printf( __( '<a href="%s">Read more.</a>' ), 'https://make.wordpress.org/core/2019/01/09/cron-improvements-with-php-fpm-in-wordpress-5-1/' ); ?>
|
||||
</p>
|
||||
</div>
|
||||
<div class="col">
|
||||
<h4><?php _e( 'New JS Build Processes' ); ?></h4>
|
||||
<p>
|
||||
<?php _e( 'WordPress 5.1 features a new JavaScript build option, following the large reorganization of code started in the 5.0 release.' ); ?>
|
||||
<br>
|
||||
<?php printf( __( '<a href="%s">Read more.</a>' ), 'https://make.wordpress.org/core/2018/05/16/preparing-wordpress-for-a-javascript-future-part-1-build-step-and-folder-reorganization/' ); ?>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="under-the-hood feature-section two-col">
|
||||
<div class="col is-span-two">
|
||||
<h4><?php _e( 'Other Developer Goodness' ); ?></h4>
|
||||
<p>
|
||||
<?php _e( 'Miscellaneous improvements include updates to values for the <code>WP_DEBUG_LOG</code> constant, new test config file constant in the test suite, new plugin action hooks, short-circuit filters for <code>wp_unique_post_slug()</code> and <code>WP_User_Query</code> and <code>count_users()</code>, a new <code>human_readable_duration</code> function, improved taxonomy metabox sanitization, limited <code>LIKE</code> support for meta keys when using <code>WP_Meta_Query</code>, a new “doing it wrong” notice when registering REST API endpoints, and more!' ); ?>
|
||||
<br>
|
||||
<?php printf( __( '<a href="%s">Read more.</a>' ), 'https://make.wordpress.org/core/2019/01/23/miscellaneous-developer-focused-changes-in-5-1/' ); ?>
|
||||
</p>
|
||||
<p>
|
||||
<a class="button button-default button-hero" href="<?php echo esc_url( 'https://developer.wordpress.org/' ); ?>"><?php _e( 'Learn how to get started' ); ?></a>
|
||||
</p>
|
||||
</div>
|
||||
<div class="col">
|
||||
<div class="inline-svg">
|
||||
<img src="https://s.w.org/images/core/5.1/under-the-hood.svg" alt="">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<hr />
|
||||
|
||||
<?php if ( ! file_exists( WP_PLUGIN_DIR . '/classic-editor/classic-editor.php' ) ) : ?>
|
||||
<h2 class="feature-section-header"><?php _e( 'Keep it Classic' ); ?></h2>
|
||||
|
||||
<div class="feature-section one-col" id="classic-editor">
|
||||
<div class="under-the-hood three-col">
|
||||
<div class="col">
|
||||
<p><?php _e( 'Prefer to stick with the familiar Classic Editor? No problem! Support for the Classic Editor plugin will remain in WordPress through 2021.' ); ?></p>
|
||||
<p><?php _e( 'The Classic Editor plugin restores the previous WordPress editor and the Edit Post screen. It lets you keep using plugins that extend it, add old-style meta boxes, or otherwise depend on the previous editor. To install, visit your plugins page and click the “Install Now” button next to “Classic Editor”. After the plugin finishes installing, click “Activate”. That’s it!' ); ?></p>
|
||||
<p><?php _e( 'Note to users of assistive technology: if you experience usability issues with the block editor, we recommend you continue to use the Classic Editor.' ); ?></p>
|
||||
<?php if ( current_user_can( 'install_plugins' ) ) { ?>
|
||||
<div class="col cta">
|
||||
<a class="button button-primary button-hero" href="<?php echo esc_url( wp_nonce_url( self_admin_url( 'plugin-install.php?tab=favorites&user=wordpressdotorg&save=0' ), 'save_wporg_username_' . get_current_user_id() ) ); ?>"><?php _e( 'Install the Classic Editor' ); ?></a>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<h3><?php _e( 'Resource Hints' ); ?></h3>
|
||||
<p><?php
|
||||
printf(
|
||||
/* translators: %s: https://make.wordpress.org/core/2016/07/06/resource-hints-in-4-6/ */
|
||||
__( '<a href="%s">Resource hints help browsers</a> decide which resources to fetch and preprocess. WordPress 4.6 adds them automatically for your styles and scripts making your site even faster.' ),
|
||||
'https://make.wordpress.org/core/2016/07/06/resource-hints-in-4-6/'
|
||||
);
|
||||
?></p>
|
||||
</div>
|
||||
<div class="col">
|
||||
<h3><?php _e( 'Robust Requests' ); ?></h3>
|
||||
<p><?php _e( 'The HTTP API now leverages the Requests library, improving HTTP standard support and adding case-insensitive headers, parallel HTTP requests, and support for Internationalized Domain Names.' ); ?></p>
|
||||
</div>
|
||||
<div class="col">
|
||||
<h3><?php
|
||||
/* translators: 1: WP_Term_Query, 2: WP_Post_Type */
|
||||
printf( __( '%1$s and %2$s' ), '<code>WP_Term_Query</code>', '<code>WP_Post_Type</code>' );
|
||||
?></h3>
|
||||
<p><?php
|
||||
printf(
|
||||
/* translators: 1: WP_Term_Query, 2: WP_Post_Type */
|
||||
__( 'A new %1$s class adds flexibility to query term information while a new %2$s object makes interacting with post types more predictable.' ),
|
||||
'<code>WP_Term_Query</code>',
|
||||
'<code>WP_Post_Type</code>'
|
||||
);
|
||||
?></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<hr />
|
||||
<?php endif; ?>
|
||||
<div class="under-the-hood three-col">
|
||||
<div class="col">
|
||||
<h3><?php _e( 'Meta Registration API' ); ?></h3>
|
||||
<p><?php
|
||||
printf(
|
||||
/* translators: %s: https://make.wordpress.org/core/2016/07/08/enhancing-register_meta-in-4-6/ */
|
||||
__( 'The Meta Registration API <a href="%s">has been expanded</a> to support types, descriptions, and REST API visibility.' ),
|
||||
'https://make.wordpress.org/core/2016/07/08/enhancing-register_meta-in-4-6/'
|
||||
);
|
||||
?></p>
|
||||
</div>
|
||||
<div class="col">
|
||||
<h3><?php _e( 'Translations On Demand' ); ?></h3>
|
||||
<p><?php _e( 'WordPress will install and use the newest language packs for your plugins and themes as soon as they’re available from <a href="https://translate.wordpress.org/">WordPress.org’s community of translators</a>.' ); ?></p>
|
||||
</div>
|
||||
<div class="col">
|
||||
<h3><?php _e( 'JavaScript Library Updates' ); ?></h3>
|
||||
<p><?php _e( 'Masonry 3.3.2, imagesLoaded 3.2.0, MediaElement.js 2.22.0, TinyMCE 4.4.1, and Backbone.js 1.3.3 are bundled.' ); ?></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="under-the-hood two-col">
|
||||
<div class="col">
|
||||
<h3><?php _e( 'Customizer APIs for Setting Validation and Notifications' ); ?></h3>
|
||||
<p><?php _e( 'Settings now have an <a href="https://make.wordpress.org/core/2016/07/05/customizer-apis-in-4-6-for-setting-validation-and-notifications/">API for enforcing validation constraints</a>. Likewise, customizer controls now support notifications, which are used to display validation errors instead of failing silently.' ); ?></p>
|
||||
</div>
|
||||
<div class="col">
|
||||
<h3><?php _e( 'Multisite, now faster than ever' ); ?></h3>
|
||||
<p><?php
|
||||
printf(
|
||||
/* translators: 1: WP_Site_Query, 2: WP_Network_Query */
|
||||
__( 'Cached and comprehensive site queries improve your network admin experience. The addition of %1$s and %2$s help craft advanced queries with less effort.' ),
|
||||
'<code>WP_Site_Query</code>',
|
||||
'<code>WP_Network_Query</code>'
|
||||
);
|
||||
?></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<hr />
|
||||
|
||||
<div class="return-to-dashboard">
|
||||
<?php if ( current_user_can( 'update_core' ) && isset( $_GET['updated'] ) ) : ?>
|
||||
@@ -342,6 +204,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
<?php endif; ?>
|
||||
<a href="<?php echo esc_url( self_admin_url() ); ?>"><?php is_blog_admin() ? _e( 'Go to Dashboard → Home' ) : _e( 'Go to Dashboard' ); ?></a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<?php
|
||||
|
||||
@@ -365,22 +228,16 @@ __( '<strong>Version %s</strong> addressed one security issue.' );
|
||||
__( '<strong>Version %s</strong> addressed some security issues.' );
|
||||
|
||||
/* translators: 1: WordPress version number, 2: plural number of bugs. */
|
||||
_n_noop(
|
||||
'<strong>Version %1$s</strong> addressed %2$s bug.',
|
||||
'<strong>Version %1$s</strong> addressed %2$s bugs.'
|
||||
);
|
||||
_n_noop( '<strong>Version %1$s</strong> addressed %2$s bug.',
|
||||
'<strong>Version %1$s</strong> addressed %2$s bugs.' );
|
||||
|
||||
/* translators: 1: WordPress version number, 2: plural number of bugs. Singular security issue. */
|
||||
_n_noop(
|
||||
'<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bug.',
|
||||
'<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bugs.'
|
||||
);
|
||||
_n_noop( '<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bug.',
|
||||
'<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bugs.' );
|
||||
|
||||
/* translators: 1: WordPress version number, 2: plural number of bugs. More than one security issue. */
|
||||
_n_noop(
|
||||
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.',
|
||||
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.'
|
||||
);
|
||||
_n_noop( '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.',
|
||||
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.' );
|
||||
|
||||
/* translators: %s: Codex URL */
|
||||
__( 'For more information, see <a href="%s">the release notes</a>.' );
|
||||
|
||||
@@ -25,9 +25,8 @@ require_once( dirname( dirname( __FILE__ ) ) . '/wp-load.php' );
|
||||
send_origin_headers();
|
||||
|
||||
// Require an action parameter
|
||||
if ( empty( $_REQUEST['action'] ) ) {
|
||||
wp_die( '0', 400 );
|
||||
}
|
||||
if ( empty( $_REQUEST['action'] ) )
|
||||
die( '0' );
|
||||
|
||||
/** Load WordPress Administration APIs */
|
||||
require_once( ABSPATH . 'wp-admin/includes/admin.php' );
|
||||
@@ -45,141 +44,61 @@ nocache_headers();
|
||||
do_action( 'admin_init' );
|
||||
|
||||
$core_actions_get = array(
|
||||
'fetch-list',
|
||||
'ajax-tag-search',
|
||||
'wp-compression-test',
|
||||
'imgedit-preview',
|
||||
'oembed-cache',
|
||||
'autocomplete-user',
|
||||
'dashboard-widgets',
|
||||
'logged-in',
|
||||
'fetch-list', 'ajax-tag-search', 'wp-compression-test', 'imgedit-preview', 'oembed-cache',
|
||||
'autocomplete-user', 'dashboard-widgets', 'logged-in',
|
||||
);
|
||||
|
||||
$core_actions_post = array(
|
||||
'oembed-cache',
|
||||
'image-editor',
|
||||
'delete-comment',
|
||||
'delete-tag',
|
||||
'delete-link',
|
||||
'delete-meta',
|
||||
'delete-post',
|
||||
'trash-post',
|
||||
'untrash-post',
|
||||
'delete-page',
|
||||
'dim-comment',
|
||||
'add-link-category',
|
||||
'add-tag',
|
||||
'get-tagcloud',
|
||||
'get-comments',
|
||||
'replyto-comment',
|
||||
'edit-comment',
|
||||
'add-menu-item',
|
||||
'add-meta',
|
||||
'add-user',
|
||||
'closed-postboxes',
|
||||
'hidden-columns',
|
||||
'update-welcome-panel',
|
||||
'menu-get-metabox',
|
||||
'wp-link-ajax',
|
||||
'menu-locations-save',
|
||||
'menu-quick-search',
|
||||
'meta-box-order',
|
||||
'get-permalink',
|
||||
'sample-permalink',
|
||||
'inline-save',
|
||||
'inline-save-tax',
|
||||
'find_posts',
|
||||
'widgets-order',
|
||||
'save-widget',
|
||||
'delete-inactive-widgets',
|
||||
'set-post-thumbnail',
|
||||
'date_format',
|
||||
'time_format',
|
||||
'wp-remove-post-lock',
|
||||
'dismiss-wp-pointer',
|
||||
'upload-attachment',
|
||||
'get-attachment',
|
||||
'query-attachments',
|
||||
'save-attachment',
|
||||
'save-attachment-compat',
|
||||
'send-link-to-editor',
|
||||
'send-attachment-to-editor',
|
||||
'save-attachment-order',
|
||||
'heartbeat',
|
||||
'get-revision-diffs',
|
||||
'save-user-color-scheme',
|
||||
'update-widget',
|
||||
'query-themes',
|
||||
'parse-embed',
|
||||
'set-attachment-thumbnail',
|
||||
'parse-media-shortcode',
|
||||
'destroy-sessions',
|
||||
'install-plugin',
|
||||
'update-plugin',
|
||||
'crop-image',
|
||||
'generate-password',
|
||||
'save-wporg-username',
|
||||
'delete-plugin',
|
||||
'search-plugins',
|
||||
'search-install-plugins',
|
||||
'activate-plugin',
|
||||
'update-theme',
|
||||
'delete-theme',
|
||||
'install-theme',
|
||||
'get-post-thumbnail-html',
|
||||
'get-community-events',
|
||||
'edit-theme-plugin-file',
|
||||
'wp-privacy-export-personal-data',
|
||||
'wp-privacy-erase-personal-data',
|
||||
'oembed-cache', 'image-editor', 'delete-comment', 'delete-tag', 'delete-link',
|
||||
'delete-meta', 'delete-post', 'trash-post', 'untrash-post', 'delete-page', 'dim-comment',
|
||||
'add-link-category', 'add-tag', 'get-tagcloud', 'get-comments', 'replyto-comment',
|
||||
'edit-comment', 'add-menu-item', 'add-meta', 'add-user', 'closed-postboxes',
|
||||
'hidden-columns', 'update-welcome-panel', 'menu-get-metabox', 'wp-link-ajax',
|
||||
'menu-locations-save', 'menu-quick-search', 'meta-box-order', 'get-permalink',
|
||||
'sample-permalink', 'inline-save', 'inline-save-tax', 'find_posts', 'widgets-order',
|
||||
'save-widget', 'delete-inactive-widgets', 'set-post-thumbnail', 'date_format', 'time_format',
|
||||
'wp-remove-post-lock', 'dismiss-wp-pointer', 'upload-attachment', 'get-attachment',
|
||||
'query-attachments', 'save-attachment', 'save-attachment-compat', 'send-link-to-editor',
|
||||
'send-attachment-to-editor', 'save-attachment-order', 'heartbeat', 'get-revision-diffs',
|
||||
'save-user-color-scheme', 'update-widget', 'query-themes', 'parse-embed', 'set-attachment-thumbnail',
|
||||
'parse-media-shortcode', 'destroy-sessions', 'install-plugin', 'update-plugin', 'press-this-save-post',
|
||||
'press-this-add-category', 'crop-image', 'generate-password', 'save-wporg-username', 'delete-plugin',
|
||||
'search-plugins', 'search-install-plugins', 'activate-plugin', 'update-theme', 'delete-theme',
|
||||
'install-theme', 'get-post-thumbnail-html',
|
||||
);
|
||||
|
||||
// Deprecated
|
||||
$core_actions_post_deprecated = array( 'wp-fullscreen-save-post', 'press-this-save-post', 'press-this-add-category' );
|
||||
$core_actions_post = array_merge( $core_actions_post, $core_actions_post_deprecated );
|
||||
$core_actions_post[] = 'wp-fullscreen-save-post';
|
||||
|
||||
// Register core Ajax calls.
|
||||
if ( ! empty( $_GET['action'] ) && in_array( $_GET['action'], $core_actions_get ) ) {
|
||||
if ( ! empty( $_GET['action'] ) && in_array( $_GET['action'], $core_actions_get ) )
|
||||
add_action( 'wp_ajax_' . $_GET['action'], 'wp_ajax_' . str_replace( '-', '_', $_GET['action'] ), 1 );
|
||||
}
|
||||
|
||||
if ( ! empty( $_POST['action'] ) && in_array( $_POST['action'], $core_actions_post ) ) {
|
||||
if ( ! empty( $_POST['action'] ) && in_array( $_POST['action'], $core_actions_post ) )
|
||||
add_action( 'wp_ajax_' . $_POST['action'], 'wp_ajax_' . str_replace( '-', '_', $_POST['action'] ), 1 );
|
||||
}
|
||||
|
||||
add_action( 'wp_ajax_nopriv_heartbeat', 'wp_ajax_nopriv_heartbeat', 1 );
|
||||
|
||||
$action = ( isset( $_REQUEST['action'] ) ) ? $_REQUEST['action'] : '';
|
||||
|
||||
if ( is_user_logged_in() ) {
|
||||
// If no action is registered, return a Bad Request response.
|
||||
if ( ! has_action( "wp_ajax_{$action}" ) ) {
|
||||
wp_die( '0', 400 );
|
||||
}
|
||||
|
||||
/**
|
||||
* Fires authenticated Ajax actions for logged-in users.
|
||||
*
|
||||
* The dynamic portion of the hook name, `$action`, refers
|
||||
* to the name of the Ajax action callback being fired.
|
||||
* The dynamic portion of the hook name, `$_REQUEST['action']`,
|
||||
* refers to the name of the Ajax action callback being fired.
|
||||
*
|
||||
* @since 2.1.0
|
||||
*/
|
||||
do_action( "wp_ajax_{$action}" );
|
||||
do_action( 'wp_ajax_' . $_REQUEST['action'] );
|
||||
} else {
|
||||
// If no action is registered, return a Bad Request response.
|
||||
if ( ! has_action( "wp_ajax_nopriv_{$action}" ) ) {
|
||||
wp_die( '0', 400 );
|
||||
}
|
||||
|
||||
/**
|
||||
* Fires non-authenticated Ajax actions for logged-out users.
|
||||
*
|
||||
* The dynamic portion of the hook name, `$action`, refers
|
||||
* to the name of the Ajax action callback being fired.
|
||||
* The dynamic portion of the hook name, `$_REQUEST['action']`,
|
||||
* refers to the name of the Ajax action callback being fired.
|
||||
*
|
||||
* @since 2.8.0
|
||||
*/
|
||||
do_action( "wp_ajax_nopriv_{$action}" );
|
||||
do_action( 'wp_ajax_nopriv_' . $_REQUEST['action'] );
|
||||
}
|
||||
// Default status
|
||||
wp_die( '0' );
|
||||
die( '0' );
|
||||
|
||||
@@ -7,9 +7,8 @@
|
||||
*/
|
||||
|
||||
// don't load directly
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
if ( !defined('ABSPATH') )
|
||||
die('-1');
|
||||
|
||||
/**
|
||||
* @global string $hook_suffix
|
||||
@@ -79,8 +78,12 @@ do_action( 'admin_footer', '' );
|
||||
* refers to the global hook suffix of the current page.
|
||||
*
|
||||
* @since 4.6.0
|
||||
*
|
||||
* @global string $hook_suffix
|
||||
*
|
||||
* @param string $hook_suffix The current admin page.
|
||||
*/
|
||||
do_action( "admin_print_footer_scripts-{$hook_suffix}" );
|
||||
do_action( "admin_print_footer_scripts-$hook_suffix" );
|
||||
|
||||
/**
|
||||
* Prints any scripts and data queued for the footer.
|
||||
@@ -96,14 +99,16 @@ do_action( 'admin_print_footer_scripts' );
|
||||
* refers to the global hook suffix of the current page.
|
||||
*
|
||||
* @since 2.8.0
|
||||
*
|
||||
* @global string $hook_suffix
|
||||
* @param string $hook_suffix The current admin page.
|
||||
*/
|
||||
do_action( "admin_footer-{$hook_suffix}" );
|
||||
do_action( "admin_footer-$hook_suffix" );
|
||||
|
||||
// get_site_option() won't exist when auto upgrading from <= 2.7
|
||||
if ( function_exists( 'get_site_option' ) ) {
|
||||
if ( false === get_site_option( 'can_compress_scripts' ) ) {
|
||||
if ( function_exists('get_site_option') ) {
|
||||
if ( false === get_site_option('can_compress_scripts') )
|
||||
compression_test();
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* @subpackage Administration
|
||||
*/
|
||||
|
||||
_deprecated_file( basename( __FILE__ ), '2.5.0', 'wp-admin/includes/admin.php' );
|
||||
_deprecated_file( basename(__FILE__), '2.5.0', 'wp-admin/includes/admin.php' );
|
||||
|
||||
/** WordPress Administration API: Includes all Administration functions. */
|
||||
require_once( ABSPATH . 'wp-admin/includes/admin.php' );
|
||||
require_once(ABSPATH . 'wp-admin/includes/admin.php');
|
||||
|
||||
@@ -6,10 +6,9 @@
|
||||
* @subpackage Administration
|
||||
*/
|
||||
|
||||
@header( 'Content-Type: ' . get_option( 'html_type' ) . '; charset=' . get_option( 'blog_charset' ) );
|
||||
if ( ! defined( 'WP_ADMIN' ) ) {
|
||||
@header('Content-Type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset'));
|
||||
if ( ! defined( 'WP_ADMIN' ) )
|
||||
require_once( dirname( __FILE__ ) . '/admin.php' );
|
||||
}
|
||||
|
||||
/**
|
||||
* In case admin-header.php is included in a function.
|
||||
@@ -19,38 +18,32 @@ if ( ! defined( 'WP_ADMIN' ) ) {
|
||||
* @global WP_Screen $current_screen
|
||||
* @global WP_Locale $wp_locale
|
||||
* @global string $pagenow
|
||||
* @global string $wp_version
|
||||
* @global string $update_title
|
||||
* @global int $total_update_count
|
||||
* @global string $parent_file
|
||||
*/
|
||||
global $title, $hook_suffix, $current_screen, $wp_locale, $pagenow,
|
||||
global $title, $hook_suffix, $current_screen, $wp_locale, $pagenow, $wp_version,
|
||||
$update_title, $total_update_count, $parent_file;
|
||||
|
||||
// Catch plugins that include admin-header.php before admin.php completes.
|
||||
if ( empty( $current_screen ) ) {
|
||||
if ( empty( $current_screen ) )
|
||||
set_current_screen();
|
||||
}
|
||||
|
||||
get_admin_page_title();
|
||||
$title = esc_html( strip_tags( $title ) );
|
||||
|
||||
if ( is_network_admin() ) {
|
||||
/* translators: Network admin screen title. %s: Network name */
|
||||
$admin_title = sprintf( __( 'Network Admin: %s' ), esc_html( get_network()->site_name ) );
|
||||
} elseif ( is_user_admin() ) {
|
||||
/* translators: User dashboard screen title. %s: Network name */
|
||||
$admin_title = sprintf( __( 'User Dashboard: %s' ), esc_html( get_network()->site_name ) );
|
||||
} else {
|
||||
if ( is_network_admin() )
|
||||
$admin_title = sprintf( __( 'Network Admin: %s' ), esc_html( get_current_site()->site_name ) );
|
||||
elseif ( is_user_admin() )
|
||||
$admin_title = sprintf( __( 'User Dashboard: %s' ), esc_html( get_current_site()->site_name ) );
|
||||
else
|
||||
$admin_title = get_bloginfo( 'name' );
|
||||
}
|
||||
|
||||
if ( $admin_title == $title ) {
|
||||
/* translators: Admin screen title. %s: Admin screen name */
|
||||
$admin_title = sprintf( __( '%s — WordPress' ), $title );
|
||||
} else {
|
||||
/* translators: Admin screen title. 1: Admin screen name, 2: Network or site name */
|
||||
if ( $admin_title == $title )
|
||||
$admin_title = sprintf( __( '%1$s — WordPress' ), $title );
|
||||
else
|
||||
$admin_title = sprintf( __( '%1$s ‹ %2$s — WordPress' ), $title, $admin_title );
|
||||
}
|
||||
|
||||
/**
|
||||
* Filters the title tag content for an admin page.
|
||||
@@ -71,19 +64,19 @@ _wp_admin_html_begin();
|
||||
|
||||
wp_enqueue_style( 'colors' );
|
||||
wp_enqueue_style( 'ie' );
|
||||
wp_enqueue_script( 'utils' );
|
||||
wp_enqueue_script('utils');
|
||||
wp_enqueue_script( 'svg-painter' );
|
||||
|
||||
$admin_body_class = preg_replace( '/[^a-z0-9_-]+/i', '-', $hook_suffix );
|
||||
$admin_body_class = preg_replace('/[^a-z0-9_-]+/i', '-', $hook_suffix);
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
addLoadEvent = function(func){if(typeof jQuery!=='undefined')jQuery(document).ready(func);else if(typeof wpOnload!=='function'){wpOnload=func;}else{var oldonload=wpOnload;wpOnload=function(){oldonload();func();}}};
|
||||
var ajaxurl = '<?php echo esc_js( admin_url( 'admin-ajax.php', 'relative' ) ); ?>',
|
||||
pagenow = '<?php echo esc_js( $current_screen->id ); ?>',
|
||||
typenow = '<?php echo esc_js( $current_screen->post_type ); ?>',
|
||||
adminpage = '<?php echo esc_js( $admin_body_class ); ?>',
|
||||
thousandsSeparator = '<?php echo esc_js( $wp_locale->number_format['thousands_sep'] ); ?>',
|
||||
decimalPoint = '<?php echo esc_js( $wp_locale->number_format['decimal_point'] ); ?>',
|
||||
addLoadEvent = function(func){if(typeof jQuery!="undefined")jQuery(document).ready(func);else if(typeof wpOnload!='function'){wpOnload=func;}else{var oldonload=wpOnload;wpOnload=function(){oldonload();func();}}};
|
||||
var ajaxurl = '<?php echo admin_url( 'admin-ajax.php', 'relative' ); ?>',
|
||||
pagenow = '<?php echo $current_screen->id; ?>',
|
||||
typenow = '<?php echo $current_screen->post_type; ?>',
|
||||
adminpage = '<?php echo $admin_body_class; ?>',
|
||||
thousandsSeparator = '<?php echo addslashes( $wp_locale->number_format['thousands_sep'] ); ?>',
|
||||
decimalPoint = '<?php echo addslashes( $wp_locale->number_format['decimal_point'] ); ?>',
|
||||
isRtl = <?php echo (int) is_rtl(); ?>;
|
||||
</script>
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||
@@ -103,7 +96,7 @@ do_action( 'admin_enqueue_scripts', $hook_suffix );
|
||||
*
|
||||
* @since 2.6.0
|
||||
*/
|
||||
do_action( "admin_print_styles-{$hook_suffix}" );
|
||||
do_action( "admin_print_styles-$hook_suffix" );
|
||||
|
||||
/**
|
||||
* Fires when styles are printed for all admin pages.
|
||||
@@ -117,7 +110,7 @@ do_action( 'admin_print_styles' );
|
||||
*
|
||||
* @since 2.1.0
|
||||
*/
|
||||
do_action( "admin_print_scripts-{$hook_suffix}" );
|
||||
do_action( "admin_print_scripts-$hook_suffix" );
|
||||
|
||||
/**
|
||||
* Fires when scripts are printed for all admin pages.
|
||||
@@ -134,7 +127,7 @@ do_action( 'admin_print_scripts' );
|
||||
*
|
||||
* @since 2.1.0
|
||||
*/
|
||||
do_action( "admin_head-{$hook_suffix}" );
|
||||
do_action( "admin_head-$hook_suffix" );
|
||||
|
||||
/**
|
||||
* Fires in head section for all admin pages.
|
||||
@@ -143,58 +136,40 @@ do_action( "admin_head-{$hook_suffix}" );
|
||||
*/
|
||||
do_action( 'admin_head' );
|
||||
|
||||
if ( get_user_setting( 'mfold' ) == 'f' ) {
|
||||
if ( get_user_setting('mfold') == 'f' )
|
||||
$admin_body_class .= ' folded';
|
||||
}
|
||||
|
||||
if ( ! get_user_setting( 'unfold' ) ) {
|
||||
if ( !get_user_setting('unfold') )
|
||||
$admin_body_class .= ' auto-fold';
|
||||
}
|
||||
|
||||
if ( is_admin_bar_showing() ) {
|
||||
if ( is_admin_bar_showing() )
|
||||
$admin_body_class .= ' admin-bar';
|
||||
}
|
||||
|
||||
if ( is_rtl() ) {
|
||||
if ( is_rtl() )
|
||||
$admin_body_class .= ' rtl';
|
||||
}
|
||||
|
||||
if ( $current_screen->post_type ) {
|
||||
if ( $current_screen->post_type )
|
||||
$admin_body_class .= ' post-type-' . $current_screen->post_type;
|
||||
}
|
||||
|
||||
if ( $current_screen->taxonomy ) {
|
||||
if ( $current_screen->taxonomy )
|
||||
$admin_body_class .= ' taxonomy-' . $current_screen->taxonomy;
|
||||
}
|
||||
|
||||
$admin_body_class .= ' branch-' . str_replace( array( '.', ',' ), '-', floatval( get_bloginfo( 'version' ) ) );
|
||||
$admin_body_class .= ' version-' . str_replace( '.', '-', preg_replace( '/^([.0-9]+).*/', '$1', get_bloginfo( 'version' ) ) );
|
||||
$admin_body_class .= ' branch-' . str_replace( array( '.', ',' ), '-', floatval( $wp_version ) );
|
||||
$admin_body_class .= ' version-' . str_replace( '.', '-', preg_replace( '/^([.0-9]+).*/', '$1', $wp_version ) );
|
||||
$admin_body_class .= ' admin-color-' . sanitize_html_class( get_user_option( 'admin_color' ), 'fresh' );
|
||||
$admin_body_class .= ' locale-' . sanitize_html_class( strtolower( str_replace( '_', '-', get_user_locale() ) ) );
|
||||
$admin_body_class .= ' locale-' . sanitize_html_class( strtolower( str_replace( '_', '-', get_locale() ) ) );
|
||||
|
||||
if ( wp_is_mobile() ) {
|
||||
if ( wp_is_mobile() )
|
||||
$admin_body_class .= ' mobile';
|
||||
}
|
||||
|
||||
if ( is_multisite() ) {
|
||||
if ( is_multisite() )
|
||||
$admin_body_class .= ' multisite';
|
||||
}
|
||||
|
||||
if ( is_network_admin() ) {
|
||||
if ( is_network_admin() )
|
||||
$admin_body_class .= ' network-admin';
|
||||
}
|
||||
|
||||
$admin_body_class .= ' no-customize-support no-svg';
|
||||
|
||||
if ( $current_screen->is_block_editor() ) {
|
||||
// Default to is-fullscreen-mode to avoid jumps in the UI.
|
||||
$admin_body_class .= ' block-editor-page is-fullscreen-mode wp-embed-responsive';
|
||||
|
||||
if ( current_theme_supports( 'editor-styles' ) && current_theme_supports( 'dark-editor-style' ) ) {
|
||||
$admin_body_class .= ' is-dark-theme';
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
</head>
|
||||
<?php
|
||||
@@ -213,9 +188,8 @@ if ( $current_screen->is_block_editor() ) {
|
||||
* @param string $classes Space-separated list of CSS classes.
|
||||
*/
|
||||
$admin_body_classes = apply_filters( 'admin_body_class', '' );
|
||||
$admin_body_classes = ltrim( $admin_body_classes . ' ' . $admin_body_class );
|
||||
?>
|
||||
<body class="wp-admin wp-core-ui no-js <?php echo $admin_body_classes; ?>">
|
||||
<body class="wp-admin wp-core-ui no-js <?php echo $admin_body_classes . ' ' . $admin_body_class; ?>">
|
||||
<script type="text/javascript">
|
||||
document.body.className = document.body.className.replace('no-js','js');
|
||||
</script>
|
||||
@@ -228,7 +202,7 @@ if ( current_user_can( 'customize' ) ) {
|
||||
?>
|
||||
|
||||
<div id="wpwrap">
|
||||
<?php require( ABSPATH . 'wp-admin/menu-header.php' ); ?>
|
||||
<?php require(ABSPATH . 'wp-admin/menu-header.php'); ?>
|
||||
<div id="wpcontent">
|
||||
|
||||
<?php
|
||||
@@ -242,13 +216,13 @@ do_action( 'in_admin_header' );
|
||||
|
||||
<div id="wpbody" role="main">
|
||||
<?php
|
||||
unset( $blog_name, $total_update_count, $update_title );
|
||||
unset($title_class, $blog_name, $total_update_count, $update_title);
|
||||
|
||||
$current_screen->set_parentage( $parent_file );
|
||||
|
||||
?>
|
||||
|
||||
<div id="wpbody-content">
|
||||
<div id="wpbody-content" aria-label="<?php esc_attr_e('Main content'); ?>" tabindex="0">
|
||||
<?php
|
||||
|
||||
$current_screen->render_screen_meta();
|
||||
@@ -283,6 +257,5 @@ if ( is_network_admin() ) {
|
||||
*/
|
||||
do_action( 'all_admin_notices' );
|
||||
|
||||
if ( $parent_file == 'options-general.php' ) {
|
||||
require( ABSPATH . 'wp-admin/options-head.php' );
|
||||
}
|
||||
if ( $parent_file == 'options-general.php' )
|
||||
require(ABSPATH . 'wp-admin/options-head.php');
|
||||
|
||||
@@ -13,16 +13,15 @@ if ( ! defined( 'WP_ADMIN' ) ) {
|
||||
define( 'WP_ADMIN', true );
|
||||
}
|
||||
|
||||
if ( defined( 'ABSPATH' ) ) {
|
||||
require_once( ABSPATH . 'wp-load.php' );
|
||||
} else {
|
||||
if ( defined('ABSPATH') )
|
||||
require_once(ABSPATH . 'wp-load.php');
|
||||
else
|
||||
require_once( dirname( dirname( __FILE__ ) ) . '/wp-load.php' );
|
||||
}
|
||||
|
||||
/** Allow for cross-domain requests (from the front end). */
|
||||
send_origin_headers();
|
||||
|
||||
require_once( ABSPATH . 'wp-admin/includes/admin.php' );
|
||||
require_once(ABSPATH . 'wp-admin/includes/admin.php');
|
||||
|
||||
nocache_headers();
|
||||
|
||||
@@ -31,10 +30,10 @@ do_action( 'admin_init' );
|
||||
|
||||
$action = empty( $_REQUEST['action'] ) ? '' : $_REQUEST['action'];
|
||||
|
||||
if ( ! is_user_logged_in() ) {
|
||||
if ( ! wp_validate_auth_cookie() ) {
|
||||
if ( empty( $action ) ) {
|
||||
/**
|
||||
* Fires on a non-authenticated admin post request where no action is supplied.
|
||||
* Fires on a non-authenticated admin post request where no action was supplied.
|
||||
*
|
||||
* @since 2.6.0
|
||||
*/
|
||||
@@ -53,7 +52,7 @@ if ( ! is_user_logged_in() ) {
|
||||
} else {
|
||||
if ( empty( $action ) ) {
|
||||
/**
|
||||
* Fires on an authenticated admin post request where no action is supplied.
|
||||
* Fires on an authenticated admin post request where no action was supplied.
|
||||
*
|
||||
* @since 2.6.0
|
||||
*/
|
||||
|
||||
@@ -15,29 +15,26 @@ if ( ! defined( 'WP_ADMIN' ) ) {
|
||||
define( 'WP_ADMIN', true );
|
||||
}
|
||||
|
||||
if ( ! defined( 'WP_NETWORK_ADMIN' ) ) {
|
||||
define( 'WP_NETWORK_ADMIN', false );
|
||||
}
|
||||
if ( ! defined('WP_NETWORK_ADMIN') )
|
||||
define('WP_NETWORK_ADMIN', false);
|
||||
|
||||
if ( ! defined( 'WP_USER_ADMIN' ) ) {
|
||||
define( 'WP_USER_ADMIN', false );
|
||||
}
|
||||
if ( ! defined('WP_USER_ADMIN') )
|
||||
define('WP_USER_ADMIN', false);
|
||||
|
||||
if ( ! WP_NETWORK_ADMIN && ! WP_USER_ADMIN ) {
|
||||
define( 'WP_BLOG_ADMIN', true );
|
||||
define('WP_BLOG_ADMIN', true);
|
||||
}
|
||||
|
||||
if ( isset( $_GET['import'] ) && ! defined( 'WP_LOAD_IMPORTERS' ) ) {
|
||||
define( 'WP_LOAD_IMPORTERS', true );
|
||||
}
|
||||
if ( isset($_GET['import']) && !defined('WP_LOAD_IMPORTERS') )
|
||||
define('WP_LOAD_IMPORTERS', true);
|
||||
|
||||
require_once( dirname( dirname( __FILE__ ) ) . '/wp-load.php' );
|
||||
require_once(dirname(dirname(__FILE__)) . '/wp-load.php');
|
||||
|
||||
nocache_headers();
|
||||
|
||||
if ( get_option( 'db_upgraded' ) ) {
|
||||
if ( get_option('db_upgraded') ) {
|
||||
flush_rewrite_rules();
|
||||
update_option( 'db_upgraded', false );
|
||||
update_option( 'db_upgraded', false );
|
||||
|
||||
/**
|
||||
* Fires on the next page load after a successful DB upgrade.
|
||||
@@ -45,25 +42,25 @@ if ( get_option( 'db_upgraded' ) ) {
|
||||
* @since 2.8.0
|
||||
*/
|
||||
do_action( 'after_db_upgrade' );
|
||||
} elseif ( get_option( 'db_version' ) != $wp_db_version && empty( $_POST ) ) {
|
||||
if ( ! is_multisite() ) {
|
||||
} elseif ( get_option('db_version') != $wp_db_version && empty($_POST) ) {
|
||||
if ( !is_multisite() ) {
|
||||
wp_redirect( admin_url( 'upgrade.php?_wp_http_referer=' . urlencode( wp_unslash( $_SERVER['REQUEST_URI'] ) ) ) );
|
||||
exit;
|
||||
|
||||
/**
|
||||
* Filters whether to attempt to perform the multisite DB upgrade routine.
|
||||
*
|
||||
* In single site, the user would be redirected to wp-admin/upgrade.php.
|
||||
* In multisite, the DB upgrade routine is automatically fired, but only
|
||||
* when this filter returns true.
|
||||
*
|
||||
* If the network is 50 sites or less, it will run every time. Otherwise,
|
||||
* it will throttle itself to reduce load.
|
||||
*
|
||||
* @since 3.0.0
|
||||
*
|
||||
* @param bool $do_mu_upgrade Whether to perform the Multisite upgrade routine. Default true.
|
||||
*/
|
||||
/**
|
||||
* Filters whether to attempt to perform the multisite DB upgrade routine.
|
||||
*
|
||||
* In single site, the user would be redirected to wp-admin/upgrade.php.
|
||||
* In multisite, the DB upgrade routine is automatically fired, but only
|
||||
* when this filter returns true.
|
||||
*
|
||||
* If the network is 50 sites or less, it will run every time. Otherwise,
|
||||
* it will throttle itself to reduce load.
|
||||
*
|
||||
* @since 3.0.0
|
||||
*
|
||||
* @param bool $do_mu_upgrade Whether to perform the Multisite upgrade routine. Default true.
|
||||
*/
|
||||
} elseif ( apply_filters( 'do_mu_upgrade', true ) ) {
|
||||
$c = get_blog_count();
|
||||
|
||||
@@ -71,36 +68,24 @@ if ( get_option( 'db_upgraded' ) ) {
|
||||
* If there are 50 or fewer sites, run every time. Otherwise, throttle to reduce load:
|
||||
* attempt to do no more than threshold value, with some +/- allowed.
|
||||
*/
|
||||
if ( $c <= 50 || ( $c > 50 && mt_rand( 0, (int) ( $c / 50 ) ) == 1 ) ) {
|
||||
if ( $c <= 50 || ( $c > 50 && mt_rand( 0, (int)( $c / 50 ) ) == 1 ) ) {
|
||||
require_once( ABSPATH . WPINC . '/http.php' );
|
||||
$response = wp_remote_get(
|
||||
admin_url( 'upgrade.php?step=1' ),
|
||||
array(
|
||||
'timeout' => 120,
|
||||
'httpversion' => '1.1',
|
||||
)
|
||||
);
|
||||
$response = wp_remote_get( admin_url( 'upgrade.php?step=1' ), array( 'timeout' => 120, 'httpversion' => '1.1' ) );
|
||||
/** This action is documented in wp-admin/network/upgrade.php */
|
||||
do_action( 'after_mu_upgrade', $response );
|
||||
unset( $response );
|
||||
unset($response);
|
||||
}
|
||||
unset( $c );
|
||||
unset($c);
|
||||
}
|
||||
}
|
||||
|
||||
require_once( ABSPATH . 'wp-admin/includes/admin.php' );
|
||||
require_once(ABSPATH . 'wp-admin/includes/admin.php');
|
||||
|
||||
auth_redirect();
|
||||
|
||||
// Schedule trash collection
|
||||
if ( ! wp_next_scheduled( 'wp_scheduled_delete' ) && ! wp_installing() ) {
|
||||
wp_schedule_event( time(), 'daily', 'wp_scheduled_delete' );
|
||||
}
|
||||
|
||||
// Schedule Transient cleanup.
|
||||
if ( ! wp_next_scheduled( 'delete_expired_transients' ) && ! wp_installing() ) {
|
||||
wp_schedule_event( time(), 'daily', 'delete_expired_transients' );
|
||||
}
|
||||
if ( ! wp_next_scheduled( 'wp_scheduled_delete' ) && ! wp_installing() )
|
||||
wp_schedule_event(time(), 'daily', 'wp_scheduled_delete');
|
||||
|
||||
set_screen_options();
|
||||
|
||||
@@ -109,6 +94,9 @@ $time_format = __( 'g:i a' );
|
||||
|
||||
wp_enqueue_script( 'common' );
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* $pagenow is set in vars.php
|
||||
* $wp_importers is sometimes set in wp-admin/includes/import.php
|
||||
@@ -127,30 +115,27 @@ $page_hook = null;
|
||||
|
||||
$editing = false;
|
||||
|
||||
if ( isset( $_GET['page'] ) ) {
|
||||
if ( isset($_GET['page']) ) {
|
||||
$plugin_page = wp_unslash( $_GET['page'] );
|
||||
$plugin_page = plugin_basename( $plugin_page );
|
||||
$plugin_page = plugin_basename($plugin_page);
|
||||
}
|
||||
|
||||
if ( isset( $_REQUEST['post_type'] ) && post_type_exists( $_REQUEST['post_type'] ) ) {
|
||||
if ( isset( $_REQUEST['post_type'] ) && post_type_exists( $_REQUEST['post_type'] ) )
|
||||
$typenow = $_REQUEST['post_type'];
|
||||
} else {
|
||||
else
|
||||
$typenow = '';
|
||||
}
|
||||
|
||||
if ( isset( $_REQUEST['taxonomy'] ) && taxonomy_exists( $_REQUEST['taxonomy'] ) ) {
|
||||
if ( isset( $_REQUEST['taxonomy'] ) && taxonomy_exists( $_REQUEST['taxonomy'] ) )
|
||||
$taxnow = $_REQUEST['taxonomy'];
|
||||
} else {
|
||||
else
|
||||
$taxnow = '';
|
||||
}
|
||||
|
||||
if ( WP_NETWORK_ADMIN ) {
|
||||
require( ABSPATH . 'wp-admin/network/menu.php' );
|
||||
} elseif ( WP_USER_ADMIN ) {
|
||||
require( ABSPATH . 'wp-admin/user/menu.php' );
|
||||
} else {
|
||||
require( ABSPATH . 'wp-admin/menu.php' );
|
||||
}
|
||||
if ( WP_NETWORK_ADMIN )
|
||||
require(ABSPATH . 'wp-admin/network/menu.php');
|
||||
elseif ( WP_USER_ADMIN )
|
||||
require(ABSPATH . 'wp-admin/user/menu.php');
|
||||
else
|
||||
require(ABSPATH . 'wp-admin/menu.php');
|
||||
|
||||
if ( current_user_can( 'manage_options' ) ) {
|
||||
wp_raise_memory_limit( 'admin' );
|
||||
@@ -168,30 +153,26 @@ if ( current_user_can( 'manage_options' ) ) {
|
||||
*/
|
||||
do_action( 'admin_init' );
|
||||
|
||||
if ( isset( $plugin_page ) ) {
|
||||
if ( ! empty( $typenow ) ) {
|
||||
if ( isset($plugin_page) ) {
|
||||
if ( !empty($typenow) )
|
||||
$the_parent = $pagenow . '?post_type=' . $typenow;
|
||||
} else {
|
||||
else
|
||||
$the_parent = $pagenow;
|
||||
}
|
||||
|
||||
$page_hook = get_plugin_page_hook( $plugin_page, $the_parent );
|
||||
if ( ! $page_hook ) {
|
||||
$page_hook = get_plugin_page_hook( $plugin_page, $plugin_page );
|
||||
if ( ! $page_hook = get_plugin_page_hook($plugin_page, $the_parent) ) {
|
||||
$page_hook = get_plugin_page_hook($plugin_page, $plugin_page);
|
||||
|
||||
// Back-compat for plugins using add_management_page().
|
||||
if ( empty( $page_hook ) && 'edit.php' == $pagenow && '' != get_plugin_page_hook( $plugin_page, 'tools.php' ) ) {
|
||||
if ( empty( $page_hook ) && 'edit.php' == $pagenow && '' != get_plugin_page_hook($plugin_page, 'tools.php') ) {
|
||||
// There could be plugin specific params on the URL, so we need the whole query string
|
||||
if ( ! empty( $_SERVER['QUERY_STRING'] ) ) {
|
||||
$query_string = $_SERVER['QUERY_STRING'];
|
||||
} else {
|
||||
if ( !empty($_SERVER[ 'QUERY_STRING' ]) )
|
||||
$query_string = $_SERVER[ 'QUERY_STRING' ];
|
||||
else
|
||||
$query_string = 'page=' . $plugin_page;
|
||||
}
|
||||
wp_redirect( admin_url( 'tools.php?' . $query_string ) );
|
||||
wp_redirect( admin_url('tools.php?' . $query_string) );
|
||||
exit;
|
||||
}
|
||||
}
|
||||
unset( $the_parent );
|
||||
unset($the_parent);
|
||||
}
|
||||
|
||||
$hook_suffix = '';
|
||||
@@ -206,7 +187,7 @@ if ( isset( $page_hook ) ) {
|
||||
set_current_screen();
|
||||
|
||||
// Handle plugin admin pages.
|
||||
if ( isset( $plugin_page ) ) {
|
||||
if ( isset($plugin_page) ) {
|
||||
if ( $page_hook ) {
|
||||
/**
|
||||
* Fires before a particular screen is loaded.
|
||||
@@ -228,37 +209,23 @@ if ( isset( $plugin_page ) ) {
|
||||
*
|
||||
* @since 2.1.0
|
||||
*/
|
||||
do_action( "load-{$page_hook}" );
|
||||
if ( ! isset( $_GET['noheader'] ) ) {
|
||||
require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
}
|
||||
do_action( 'load-' . $page_hook );
|
||||
if (! isset($_GET['noheader']))
|
||||
require_once(ABSPATH . 'wp-admin/admin-header.php');
|
||||
|
||||
/**
|
||||
* Used to call the registered callback for a plugin screen.
|
||||
*
|
||||
* This hook uses a dynamic hook name, `$page_hook`, which refers to a mixture of plugin
|
||||
* page information including:
|
||||
* 1. The page type. If the plugin page is registered as a submenu page, such as for
|
||||
* Settings, the page type would be 'settings'. Otherwise the type is 'toplevel'.
|
||||
* 2. A separator of '_page_'.
|
||||
* 3. The plugin basename minus the file extension.
|
||||
*
|
||||
* Together, the three parts form the `$page_hook`. Citing the example above,
|
||||
* the hook name used would be 'settings_page_pluginbasename'.
|
||||
*
|
||||
* @see get_plugin_page_hook()
|
||||
*
|
||||
* @ignore
|
||||
* @since 1.5.0
|
||||
*/
|
||||
do_action( $page_hook );
|
||||
} else {
|
||||
if ( validate_file( $plugin_page ) ) {
|
||||
wp_die( __( 'Invalid plugin page.' ) );
|
||||
}
|
||||
if ( validate_file($plugin_page) )
|
||||
wp_die(__('Invalid plugin page'));
|
||||
|
||||
if ( ! ( file_exists( WP_PLUGIN_DIR . "/$plugin_page" ) && is_file( WP_PLUGIN_DIR . "/$plugin_page" ) ) && ! ( file_exists( WPMU_PLUGIN_DIR . "/$plugin_page" ) && is_file( WPMU_PLUGIN_DIR . "/$plugin_page" ) ) ) {
|
||||
wp_die( sprintf( __( 'Cannot load %s.' ), htmlentities( $plugin_page ) ) );
|
||||
}
|
||||
if ( !( file_exists(WP_PLUGIN_DIR . "/$plugin_page") && is_file(WP_PLUGIN_DIR . "/$plugin_page") ) && !( file_exists(WPMU_PLUGIN_DIR . "/$plugin_page") && is_file(WPMU_PLUGIN_DIR . "/$plugin_page") ) )
|
||||
wp_die(sprintf(__('Cannot load %s.'), htmlentities($plugin_page)));
|
||||
|
||||
/**
|
||||
* Fires before a particular screen is loaded.
|
||||
@@ -272,20 +239,18 @@ if ( isset( $plugin_page ) ) {
|
||||
*
|
||||
* @since 1.5.0
|
||||
*/
|
||||
do_action( "load-{$plugin_page}" );
|
||||
do_action( 'load-' . $plugin_page );
|
||||
|
||||
if ( ! isset( $_GET['noheader'] ) ) {
|
||||
require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
}
|
||||
if ( !isset($_GET['noheader']))
|
||||
require_once(ABSPATH . 'wp-admin/admin-header.php');
|
||||
|
||||
if ( file_exists( WPMU_PLUGIN_DIR . "/$plugin_page" ) ) {
|
||||
include( WPMU_PLUGIN_DIR . "/$plugin_page" );
|
||||
} else {
|
||||
include( WP_PLUGIN_DIR . "/$plugin_page" );
|
||||
}
|
||||
if ( file_exists(WPMU_PLUGIN_DIR . "/$plugin_page") )
|
||||
include(WPMU_PLUGIN_DIR . "/$plugin_page");
|
||||
else
|
||||
include(WP_PLUGIN_DIR . "/$plugin_page");
|
||||
}
|
||||
|
||||
include( ABSPATH . 'wp-admin/admin-footer.php' );
|
||||
include(ABSPATH . 'wp-admin/admin-footer.php');
|
||||
|
||||
exit();
|
||||
} elseif ( isset( $_GET['import'] ) ) {
|
||||
@@ -296,12 +261,12 @@ if ( isset( $plugin_page ) ) {
|
||||
wp_die( __( 'Sorry, you are not allowed to import content.' ) );
|
||||
}
|
||||
|
||||
if ( validate_file( $importer ) ) {
|
||||
if ( validate_file($importer) ) {
|
||||
wp_redirect( admin_url( 'import.php?invalid=' . $importer ) );
|
||||
exit;
|
||||
}
|
||||
|
||||
if ( ! isset( $wp_importers[ $importer ] ) || ! is_callable( $wp_importers[ $importer ][2] ) ) {
|
||||
if ( ! isset($wp_importers[$importer]) || ! is_callable($wp_importers[$importer][2]) ) {
|
||||
wp_redirect( admin_url( 'import.php?invalid=' . $importer ) );
|
||||
exit;
|
||||
}
|
||||
@@ -313,19 +278,18 @@ if ( isset( $plugin_page ) ) {
|
||||
*
|
||||
* @since 3.5.0
|
||||
*/
|
||||
do_action( "load-importer-{$importer}" );
|
||||
do_action( 'load-importer-' . $importer );
|
||||
|
||||
$parent_file = 'tools.php';
|
||||
$parent_file = 'tools.php';
|
||||
$submenu_file = 'import.php';
|
||||
$title = __( 'Import' );
|
||||
$title = __('Import');
|
||||
|
||||
if ( ! isset( $_GET['noheader'] ) ) {
|
||||
require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
}
|
||||
if (! isset($_GET['noheader']))
|
||||
require_once(ABSPATH . 'wp-admin/admin-header.php');
|
||||
|
||||
require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
|
||||
require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
|
||||
|
||||
define( 'WP_IMPORTING', true );
|
||||
define('WP_IMPORTING', true);
|
||||
|
||||
/**
|
||||
* Whether to filter imported data through kses on import.
|
||||
@@ -341,12 +305,12 @@ if ( isset( $plugin_page ) ) {
|
||||
kses_init_filters(); // Always filter imported data with kses on multisite.
|
||||
}
|
||||
|
||||
call_user_func( $wp_importers[ $importer ][2] );
|
||||
call_user_func($wp_importers[$importer][2]);
|
||||
|
||||
include( ABSPATH . 'wp-admin/admin-footer.php' );
|
||||
include(ABSPATH . 'wp-admin/admin-footer.php');
|
||||
|
||||
// Make sure rules are flushed
|
||||
flush_rewrite_rules( false );
|
||||
flush_rewrite_rules(false);
|
||||
|
||||
exit();
|
||||
} else {
|
||||
@@ -362,39 +326,35 @@ if ( isset( $plugin_page ) ) {
|
||||
*
|
||||
* @since 2.1.0
|
||||
*/
|
||||
do_action( "load-{$pagenow}" );
|
||||
do_action( 'load-' . $pagenow );
|
||||
|
||||
/*
|
||||
* The following hooks are fired to ensure backward compatibility.
|
||||
* In all other cases, 'load-' . $pagenow should be used instead.
|
||||
*/
|
||||
if ( $typenow == 'page' ) {
|
||||
if ( $pagenow == 'post-new.php' ) {
|
||||
if ( $pagenow == 'post-new.php' )
|
||||
do_action( 'load-page-new.php' );
|
||||
} elseif ( $pagenow == 'post.php' ) {
|
||||
elseif ( $pagenow == 'post.php' )
|
||||
do_action( 'load-page.php' );
|
||||
}
|
||||
} elseif ( $pagenow == 'edit-tags.php' ) {
|
||||
if ( $taxnow == 'category' ) {
|
||||
} elseif ( $pagenow == 'edit-tags.php' ) {
|
||||
if ( $taxnow == 'category' )
|
||||
do_action( 'load-categories.php' );
|
||||
} elseif ( $taxnow == 'link_category' ) {
|
||||
elseif ( $taxnow == 'link_category' )
|
||||
do_action( 'load-edit-link-categories.php' );
|
||||
}
|
||||
} elseif ( 'term.php' === $pagenow ) {
|
||||
} elseif( 'term.php' === $pagenow ) {
|
||||
do_action( 'load-edit-tags.php' );
|
||||
}
|
||||
}
|
||||
|
||||
if ( ! empty( $_REQUEST['action'] ) ) {
|
||||
$action = $_REQUEST['action'];
|
||||
|
||||
/**
|
||||
* Fires when an 'action' request variable is sent.
|
||||
*
|
||||
* The dynamic portion of the hook name, `$action`, refers to
|
||||
* the action derived from the `GET` or `POST` request.
|
||||
* The dynamic portion of the hook name, `$_REQUEST['action']`,
|
||||
* refers to the action derived from the `GET` or `POST` request.
|
||||
*
|
||||
* @since 2.6.0
|
||||
*/
|
||||
do_action( "admin_action_{$action}" );
|
||||
do_action( 'admin_action_' . $_REQUEST['action'] );
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* Server-side file upload handler from wp-plupload or other asynchronous upload methods.
|
||||
* Server-side file upload handler from wp-plupload, swfupload or other asynchronous upload methods.
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Administration
|
||||
@@ -14,15 +14,25 @@ if ( ! defined( 'WP_ADMIN' ) ) {
|
||||
define( 'WP_ADMIN', true );
|
||||
}
|
||||
|
||||
if ( defined( 'ABSPATH' ) ) {
|
||||
require_once( ABSPATH . 'wp-load.php' );
|
||||
} else {
|
||||
if ( defined('ABSPATH') )
|
||||
require_once(ABSPATH . 'wp-load.php');
|
||||
else
|
||||
require_once( dirname( dirname( __FILE__ ) ) . '/wp-load.php' );
|
||||
|
||||
if ( ! ( isset( $_REQUEST['action'] ) && 'upload-attachment' == $_REQUEST['action'] ) ) {
|
||||
// Flash often fails to send cookies with the POST or upload, so we need to pass it in GET or POST instead
|
||||
if ( is_ssl() && empty($_COOKIE[SECURE_AUTH_COOKIE]) && !empty($_REQUEST['auth_cookie']) )
|
||||
$_COOKIE[SECURE_AUTH_COOKIE] = $_REQUEST['auth_cookie'];
|
||||
elseif ( empty($_COOKIE[AUTH_COOKIE]) && !empty($_REQUEST['auth_cookie']) )
|
||||
$_COOKIE[AUTH_COOKIE] = $_REQUEST['auth_cookie'];
|
||||
if ( empty($_COOKIE[LOGGED_IN_COOKIE]) && !empty($_REQUEST['logged_in_cookie']) )
|
||||
$_COOKIE[LOGGED_IN_COOKIE] = $_REQUEST['logged_in_cookie'];
|
||||
unset($current_user);
|
||||
}
|
||||
|
||||
require_once( ABSPATH . 'wp-admin/admin.php' );
|
||||
|
||||
header( 'Content-Type: text/plain; charset=' . get_option( 'blog_charset' ) );
|
||||
header( 'Content-Type: text/html; charset=' . get_option( 'blog_charset' ) );
|
||||
|
||||
if ( isset( $_REQUEST['action'] ) && 'upload-attachment' === $_REQUEST['action'] ) {
|
||||
include( ABSPATH . 'wp-admin/includes/ajax-actions.php' );
|
||||
@@ -39,61 +49,51 @@ if ( ! current_user_can( 'upload_files' ) ) {
|
||||
}
|
||||
|
||||
// just fetch the detail form for that attachment
|
||||
if ( isset( $_REQUEST['attachment_id'] ) && ( $id = intval( $_REQUEST['attachment_id'] ) ) && $_REQUEST['fetch'] ) {
|
||||
if ( isset($_REQUEST['attachment_id']) && ($id = intval($_REQUEST['attachment_id'])) && $_REQUEST['fetch'] ) {
|
||||
$post = get_post( $id );
|
||||
if ( 'attachment' != $post->post_type ) {
|
||||
wp_die( __( 'Invalid post type.' ) );
|
||||
}
|
||||
if ( ! current_user_can( 'edit_post', $id ) ) {
|
||||
if ( 'attachment' != $post->post_type )
|
||||
wp_die( __( 'Unknown post type.' ) );
|
||||
if ( ! current_user_can( 'edit_post', $id ) )
|
||||
wp_die( __( 'Sorry, you are not allowed to edit this item.' ) );
|
||||
}
|
||||
|
||||
switch ( $_REQUEST['fetch'] ) {
|
||||
case 3:
|
||||
if ( $thumb_url = wp_get_attachment_image_src( $id, 'thumbnail', true ) ) {
|
||||
case 3 :
|
||||
if ( $thumb_url = wp_get_attachment_image_src( $id, 'thumbnail', true ) )
|
||||
echo '<img class="pinkynail" src="' . esc_url( $thumb_url[0] ) . '" alt="" />';
|
||||
}
|
||||
echo '<a class="edit-attachment" href="' . esc_url( get_edit_post_link( $id ) ) . '" target="_blank">' . _x( 'Edit', 'media item' ) . '</a>';
|
||||
|
||||
// Title shouldn't ever be empty, but use filename just in case.
|
||||
$file = get_attached_file( $post->ID );
|
||||
$file = get_attached_file( $post->ID );
|
||||
$title = $post->post_title ? $post->post_title : wp_basename( $file );
|
||||
echo '<div class="filename new"><span class="title">' . esc_html( wp_html_excerpt( $title, 60, '…' ) ) . '</span></div>';
|
||||
break;
|
||||
case 2:
|
||||
add_filter( 'attachment_fields_to_edit', 'media_single_attachment_fields_to_edit', 10, 2 );
|
||||
echo get_media_item(
|
||||
$id,
|
||||
array(
|
||||
'send' => false,
|
||||
'delete' => true,
|
||||
)
|
||||
);
|
||||
case 2 :
|
||||
add_filter('attachment_fields_to_edit', 'media_single_attachment_fields_to_edit', 10, 2);
|
||||
echo get_media_item($id, array( 'send' => false, 'delete' => true ));
|
||||
break;
|
||||
default:
|
||||
add_filter( 'attachment_fields_to_edit', 'media_post_single_attachment_fields_to_edit', 10, 2 );
|
||||
echo get_media_item( $id );
|
||||
add_filter('attachment_fields_to_edit', 'media_post_single_attachment_fields_to_edit', 10, 2);
|
||||
echo get_media_item($id);
|
||||
break;
|
||||
}
|
||||
exit;
|
||||
}
|
||||
|
||||
check_admin_referer( 'media-form' );
|
||||
check_admin_referer('media-form');
|
||||
|
||||
$post_id = 0;
|
||||
if ( isset( $_REQUEST['post_id'] ) ) {
|
||||
$post_id = absint( $_REQUEST['post_id'] );
|
||||
if ( ! get_post( $post_id ) || ! current_user_can( 'edit_post', $post_id ) ) {
|
||||
if ( ! get_post( $post_id ) || ! current_user_can( 'edit_post', $post_id ) )
|
||||
$post_id = 0;
|
||||
}
|
||||
}
|
||||
|
||||
$id = media_handle_upload( 'async-upload', $post_id );
|
||||
if ( is_wp_error( $id ) ) {
|
||||
if ( is_wp_error($id) ) {
|
||||
echo '<div class="error-div error">
|
||||
<button type="button" class="dismiss button-link" onclick="jQuery(this).parents(\'div.media-item\').slideUp(200, function(){jQuery(this).remove();});">' . __( 'Dismiss' ) . '</button>
|
||||
<strong>' . sprintf( __( '“%s” has failed to upload.' ), esc_html( $_FILES['async-upload']['name'] ) ) . '</strong><br />' .
|
||||
esc_html( $id->get_error_message() ) . '</div>';
|
||||
<a class="dismiss" href="#" onclick="jQuery(this).parents(\'div.media-item\').slideUp(200, function(){jQuery(this).remove();});">' . __('Dismiss') . '</a>
|
||||
<strong>' . sprintf(__('“%s” has failed to upload.'), esc_html($_FILES['async-upload']['name']) ) . '</strong><br />' .
|
||||
esc_html($id->get_error_message()) . '</div>';
|
||||
exit;
|
||||
}
|
||||
|
||||
@@ -101,7 +101,7 @@ if ( $_REQUEST['short'] ) {
|
||||
// Short form response - attachment ID only.
|
||||
echo $id;
|
||||
} else {
|
||||
// Long form response - big chunk of html.
|
||||
// Long form response - big chunk o html.
|
||||
$type = $_REQUEST['type'];
|
||||
|
||||
/**
|
||||
|
||||
@@ -9,176 +9,169 @@
|
||||
/** Load WordPress Bootstrap */
|
||||
require_once( dirname( __FILE__ ) . '/admin.php' );
|
||||
|
||||
$parent_file = 'edit-comments.php';
|
||||
$parent_file = 'edit-comments.php';
|
||||
$submenu_file = 'edit-comments.php';
|
||||
|
||||
/**
|
||||
* @global string $action
|
||||
*/
|
||||
global $action;
|
||||
wp_reset_vars( array( 'action' ) );
|
||||
wp_reset_vars( array('action') );
|
||||
|
||||
if ( isset( $_POST['deletecomment'] ) ) {
|
||||
if ( isset( $_POST['deletecomment'] ) )
|
||||
$action = 'deletecomment';
|
||||
}
|
||||
|
||||
if ( 'cdc' == $action ) {
|
||||
if ( 'cdc' == $action )
|
||||
$action = 'delete';
|
||||
} elseif ( 'mac' == $action ) {
|
||||
elseif ( 'mac' == $action )
|
||||
$action = 'approve';
|
||||
}
|
||||
|
||||
if ( isset( $_GET['dt'] ) ) {
|
||||
if ( 'spam' == $_GET['dt'] ) {
|
||||
if ( 'spam' == $_GET['dt'] )
|
||||
$action = 'spam';
|
||||
} elseif ( 'trash' == $_GET['dt'] ) {
|
||||
elseif ( 'trash' == $_GET['dt'] )
|
||||
$action = 'trash';
|
||||
}
|
||||
}
|
||||
|
||||
switch( $action ) {
|
||||
|
||||
case 'editcomment' :
|
||||
$title = __('Edit Comment');
|
||||
|
||||
get_current_screen()->add_help_tab( array(
|
||||
'id' => 'overview',
|
||||
'title' => __('Overview'),
|
||||
'content' =>
|
||||
'<p>' . __( 'You can edit the information left in a comment if needed. This is often useful when you notice that a commenter has made a typographical error.' ) . '</p>' .
|
||||
'<p>' . __( 'You can also moderate the comment from this screen using the Status box, where you can also change the timestamp of the comment.' ) . '</p>'
|
||||
) );
|
||||
|
||||
get_current_screen()->set_help_sidebar(
|
||||
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
|
||||
'<p>' . __( '<a href="https://codex.wordpress.org/Administration_Screens#Comments" target="_blank">Documentation on Comments</a>' ) . '</p>' .
|
||||
'<p>' . __( '<a href="https://wordpress.org/support/" target="_blank">Support Forums</a>' ) . '</p>'
|
||||
);
|
||||
|
||||
wp_enqueue_script('comment');
|
||||
require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
|
||||
$comment_id = absint( $_GET['c'] );
|
||||
|
||||
if ( !$comment = get_comment( $comment_id ) )
|
||||
comment_footer_die( __( 'Invalid comment ID.' ) . sprintf(' <a href="%s">' . __('Go back') . '</a>.', 'javascript:history.go(-1)') );
|
||||
|
||||
if ( !current_user_can( 'edit_comment', $comment_id ) )
|
||||
comment_footer_die( __('Sorry, you are not allowed to edit this comment.') );
|
||||
|
||||
if ( 'trash' == $comment->comment_approved )
|
||||
comment_footer_die( __('This comment is in the Trash. Please move it out of the Trash if you want to edit it.') );
|
||||
|
||||
$comment = get_comment_to_edit( $comment_id );
|
||||
|
||||
include( ABSPATH . 'wp-admin/edit-form-comment.php' );
|
||||
|
||||
break;
|
||||
|
||||
case 'delete' :
|
||||
case 'approve' :
|
||||
case 'trash' :
|
||||
case 'spam' :
|
||||
|
||||
$title = __('Moderate Comment');
|
||||
|
||||
$comment_id = absint( $_GET['c'] );
|
||||
|
||||
if ( ! $comment = get_comment( $comment_id ) ) {
|
||||
wp_redirect( admin_url('edit-comments.php?error=1') );
|
||||
die();
|
||||
}
|
||||
|
||||
if ( !current_user_can( 'edit_comment', $comment->comment_ID ) ) {
|
||||
wp_redirect( admin_url('edit-comments.php?error=2') );
|
||||
die();
|
||||
}
|
||||
|
||||
// No need to re-approve/re-trash/re-spam a comment.
|
||||
if ( $action == str_replace( '1', 'approve', $comment->comment_approved ) ) {
|
||||
wp_redirect( admin_url( 'edit-comments.php?same=' . $comment_id ) );
|
||||
die();
|
||||
}
|
||||
|
||||
require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
|
||||
$formaction = $action . 'comment';
|
||||
$nonce_action = 'approve' == $action ? 'approve-comment_' : 'delete-comment_';
|
||||
$nonce_action .= $comment_id;
|
||||
|
||||
?>
|
||||
<div class="wrap">
|
||||
|
||||
<h1><?php echo esc_html( $title ); ?></h1>
|
||||
|
||||
<?php
|
||||
switch ( $action ) {
|
||||
|
||||
case 'editcomment':
|
||||
$title = __( 'Edit Comment' );
|
||||
|
||||
get_current_screen()->add_help_tab(
|
||||
array(
|
||||
'id' => 'overview',
|
||||
'title' => __( 'Overview' ),
|
||||
'content' =>
|
||||
'<p>' . __( 'You can edit the information left in a comment if needed. This is often useful when you notice that a commenter has made a typographical error.' ) . '</p>' .
|
||||
'<p>' . __( 'You can also moderate the comment from this screen using the Status box, where you can also change the timestamp of the comment.' ) . '</p>',
|
||||
)
|
||||
);
|
||||
|
||||
get_current_screen()->set_help_sidebar(
|
||||
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
|
||||
'<p>' . __( '<a href="https://codex.wordpress.org/Administration_Screens#Comments">Documentation on Comments</a>' ) . '</p>' .
|
||||
'<p>' . __( '<a href="https://wordpress.org/support/">Support Forums</a>' ) . '</p>'
|
||||
);
|
||||
|
||||
wp_enqueue_script( 'comment' );
|
||||
require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
|
||||
$comment_id = absint( $_GET['c'] );
|
||||
|
||||
if ( ! $comment = get_comment( $comment_id ) ) {
|
||||
comment_footer_die( __( 'Invalid comment ID.' ) . sprintf( ' <a href="%s">' . __( 'Go back' ) . '</a>.', 'javascript:history.go(-1)' ) );
|
||||
}
|
||||
|
||||
if ( ! current_user_can( 'edit_comment', $comment_id ) ) {
|
||||
comment_footer_die( __( 'Sorry, you are not allowed to edit this comment.' ) );
|
||||
}
|
||||
|
||||
if ( 'trash' == $comment->comment_approved ) {
|
||||
comment_footer_die( __( 'This comment is in the Trash. Please move it out of the Trash if you want to edit it.' ) );
|
||||
}
|
||||
|
||||
$comment = get_comment_to_edit( $comment_id );
|
||||
|
||||
include( ABSPATH . 'wp-admin/edit-form-comment.php' );
|
||||
|
||||
case 'spam' :
|
||||
$caution_msg = __('You are about to mark the following comment as spam:');
|
||||
$button = _x( 'Mark as Spam', 'comment' );
|
||||
break;
|
||||
case 'trash' :
|
||||
$caution_msg = __('You are about to move the following comment to the Trash:');
|
||||
$button = __('Move to Trash');
|
||||
break;
|
||||
case 'delete' :
|
||||
$caution_msg = __('You are about to delete the following comment:');
|
||||
$button = __('Permanently Delete Comment');
|
||||
break;
|
||||
default :
|
||||
$caution_msg = __('You are about to approve the following comment:');
|
||||
$button = __('Approve Comment');
|
||||
break;
|
||||
}
|
||||
|
||||
case 'delete':
|
||||
case 'approve':
|
||||
case 'trash':
|
||||
case 'spam':
|
||||
$title = __( 'Moderate Comment' );
|
||||
|
||||
$comment_id = absint( $_GET['c'] );
|
||||
|
||||
if ( ! $comment = get_comment( $comment_id ) ) {
|
||||
wp_redirect( admin_url( 'edit-comments.php?error=1' ) );
|
||||
die();
|
||||
}
|
||||
|
||||
if ( ! current_user_can( 'edit_comment', $comment->comment_ID ) ) {
|
||||
wp_redirect( admin_url( 'edit-comments.php?error=2' ) );
|
||||
die();
|
||||
}
|
||||
|
||||
// No need to re-approve/re-trash/re-spam a comment.
|
||||
if ( $action == str_replace( '1', 'approve', $comment->comment_approved ) ) {
|
||||
wp_redirect( admin_url( 'edit-comments.php?same=' . $comment_id ) );
|
||||
die();
|
||||
}
|
||||
|
||||
require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
|
||||
$formaction = $action . 'comment';
|
||||
$nonce_action = 'approve' == $action ? 'approve-comment_' : 'delete-comment_';
|
||||
$nonce_action .= $comment_id;
|
||||
|
||||
?>
|
||||
<div class="wrap">
|
||||
|
||||
<h1><?php echo esc_html( $title ); ?></h1>
|
||||
|
||||
<?php
|
||||
switch ( $action ) {
|
||||
case 'spam':
|
||||
$caution_msg = __( 'You are about to mark the following comment as spam:' );
|
||||
$button = _x( 'Mark as Spam', 'comment' );
|
||||
break;
|
||||
case 'trash':
|
||||
$caution_msg = __( 'You are about to move the following comment to the Trash:' );
|
||||
$button = __( 'Move to Trash' );
|
||||
break;
|
||||
case 'delete':
|
||||
$caution_msg = __( 'You are about to delete the following comment:' );
|
||||
$button = __( 'Permanently Delete Comment' );
|
||||
break;
|
||||
default:
|
||||
$caution_msg = __( 'You are about to approve the following comment:' );
|
||||
$button = __( 'Approve Comment' );
|
||||
break;
|
||||
}
|
||||
|
||||
if ( $comment->comment_approved != '0' ) { // if not unapproved
|
||||
$message = '';
|
||||
switch ( $comment->comment_approved ) {
|
||||
case '1':
|
||||
$message = __( 'This comment is currently approved.' );
|
||||
break;
|
||||
case 'spam':
|
||||
$message = __( 'This comment is currently marked as spam.' );
|
||||
break;
|
||||
case 'trash':
|
||||
$message = __( 'This comment is currently in the Trash.' );
|
||||
break;
|
||||
}
|
||||
if ( $message ) {
|
||||
echo '<div id="message" class="notice notice-info"><p>' . $message . '</p></div>';
|
||||
}
|
||||
}
|
||||
?>
|
||||
if ( $comment->comment_approved != '0' ) { // if not unapproved
|
||||
$message = '';
|
||||
switch ( $comment->comment_approved ) {
|
||||
case '1' :
|
||||
$message = __('This comment is currently approved.');
|
||||
break;
|
||||
case 'spam' :
|
||||
$message = __('This comment is currently marked as spam.');
|
||||
break;
|
||||
case 'trash' :
|
||||
$message = __('This comment is currently in the Trash.');
|
||||
break;
|
||||
}
|
||||
if ( $message ) {
|
||||
echo '<div id="message" class="notice notice-info"><p>' . $message . '</p></div>';
|
||||
}
|
||||
}
|
||||
?>
|
||||
<div id="message" class="notice notice-warning"><p><strong><?php _e( 'Caution:' ); ?></strong> <?php echo $caution_msg; ?></p></div>
|
||||
|
||||
<table class="form-table comment-ays">
|
||||
<tr>
|
||||
<th scope="row"><?php _e( 'Author' ); ?></th>
|
||||
<th scope="row"><?php _e('Author'); ?></th>
|
||||
<td><?php comment_author( $comment ); ?></td>
|
||||
</tr>
|
||||
<?php if ( get_comment_author_email( $comment ) ) { ?>
|
||||
<?php if ( get_comment_author_email( $comment ) ) { ?>
|
||||
<tr>
|
||||
<th scope="row"><?php _e( 'Email' ); ?></th>
|
||||
<th scope="row"><?php _e('Email'); ?></th>
|
||||
<td><?php comment_author_email( $comment ); ?></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
<?php if ( get_comment_author_url( $comment ) ) { ?>
|
||||
<?php if ( get_comment_author_url( $comment ) ) { ?>
|
||||
<tr>
|
||||
<th scope="row"><?php _e( 'URL' ); ?></th>
|
||||
<th scope="row"><?php _e('URL'); ?></th>
|
||||
<td><a href="<?php comment_author_url( $comment ); ?>"><?php comment_author_url( $comment ); ?></a></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
<tr>
|
||||
<th scope="row"><?php /* translators: column name or table row header */ _e( 'In Response To' ); ?></th>
|
||||
<td>
|
||||
<?php
|
||||
<?php
|
||||
$post_id = $comment->comment_post_ID;
|
||||
if ( current_user_can( 'edit_post', $post_id ) ) {
|
||||
$post_link = "<a href='" . esc_url( get_edit_post_link( $post_id ) ) . "'>";
|
||||
$post_link = "<a href='" . esc_url( get_edit_post_link( $post_id ) ) . "'>";
|
||||
$post_link .= esc_html( get_the_title( $post_id ) ) . '</a>';
|
||||
} else {
|
||||
$post_link = esc_html( get_the_title( $post_id ) );
|
||||
@@ -195,161 +188,145 @@ switch ( $action ) {
|
||||
'<a href="' . $parent_link . '">' . $name . '</a>'
|
||||
);
|
||||
}
|
||||
?>
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><?php _e( 'Submitted on' ); ?></th>
|
||||
<td>
|
||||
<?php
|
||||
<?php
|
||||
/* translators: 1: comment date, 2: comment time */
|
||||
$submitted = sprintf(
|
||||
__( '%1$s at %2$s' ),
|
||||
$submitted = sprintf( __( '%1$s at %2$s' ),
|
||||
/* translators: comment date format. See https://secure.php.net/date */
|
||||
get_comment_date( __( 'Y/m/d' ), $comment ),
|
||||
get_comment_date( __( 'g:i a' ), $comment )
|
||||
);
|
||||
if ( 'approved' === wp_get_comment_status( $comment ) && ! empty( $comment->comment_post_ID ) ) {
|
||||
if ( 'approved' === wp_get_comment_status( $comment ) && ! empty ( $comment->comment_post_ID ) ) {
|
||||
echo '<a href="' . esc_url( get_comment_link( $comment ) ) . '">' . $submitted . '</a>';
|
||||
} else {
|
||||
echo $submitted;
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><?php /* translators: field name in comment form */ _ex( 'Comment', 'noun' ); ?></th>
|
||||
<td class="comment-content">
|
||||
<?php comment_text( $comment ); ?>
|
||||
<p class="edit-comment"><a href="<?php echo admin_url( "comment.php?action=editcomment&c={$comment->comment_ID}" ); ?>"><?php esc_html_e( 'Edit' ); ?></a></p>
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><?php /* translators: field name in comment form */ _ex('Comment', 'noun'); ?></th>
|
||||
<td class="comment-content">
|
||||
<?php comment_text( $comment ); ?>
|
||||
<p class="edit-comment"><a href="<?php echo admin_url( "comment.php?action=editcomment&c={$comment->comment_ID}" ); ?>"><?php esc_attr_e( 'Edit' ); ?></a></p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<form action="comment.php" method="get" class="comment-ays-submit">
|
||||
<form action="comment.php" method="get" class="comment-ays-submit">
|
||||
|
||||
<p>
|
||||
<?php submit_button( $button, 'primary', 'submit', false ); ?>
|
||||
<a href="<?php echo admin_url( 'edit-comments.php' ); ?>" class="button-cancel"><?php esc_html_e( 'Cancel' ); ?></a>
|
||||
</p>
|
||||
<p>
|
||||
<?php submit_button( $button, 'primary', 'submit', false ); ?>
|
||||
<a href="<?php echo admin_url('edit-comments.php'); ?>" class="button-cancel"><?php esc_attr_e( 'Cancel' ); ?></a>
|
||||
</p>
|
||||
|
||||
<?php wp_nonce_field( $nonce_action ); ?>
|
||||
<input type="hidden" name="action" value="<?php echo esc_attr( $formaction ); ?>" />
|
||||
<input type="hidden" name="c" value="<?php echo esc_attr( $comment->comment_ID ); ?>" />
|
||||
<input type="hidden" name="noredir" value="1" />
|
||||
</form>
|
||||
<?php wp_nonce_field( $nonce_action ); ?>
|
||||
<input type="hidden" name="action" value="<?php echo esc_attr($formaction); ?>" />
|
||||
<input type="hidden" name="c" value="<?php echo esc_attr($comment->comment_ID); ?>" />
|
||||
<input type="hidden" name="noredir" value="1" />
|
||||
</form>
|
||||
|
||||
</div>
|
||||
<?php
|
||||
break;
|
||||
</div>
|
||||
<?php
|
||||
break;
|
||||
|
||||
case 'deletecomment':
|
||||
case 'trashcomment':
|
||||
case 'untrashcomment':
|
||||
case 'spamcomment':
|
||||
case 'unspamcomment':
|
||||
case 'approvecomment':
|
||||
case 'unapprovecomment':
|
||||
$comment_id = absint( $_REQUEST['c'] );
|
||||
case 'deletecomment' :
|
||||
case 'trashcomment' :
|
||||
case 'untrashcomment' :
|
||||
case 'spamcomment' :
|
||||
case 'unspamcomment' :
|
||||
case 'approvecomment' :
|
||||
case 'unapprovecomment' :
|
||||
$comment_id = absint( $_REQUEST['c'] );
|
||||
|
||||
if ( in_array( $action, array( 'approvecomment', 'unapprovecomment' ) ) ) {
|
||||
check_admin_referer( 'approve-comment_' . $comment_id );
|
||||
} else {
|
||||
check_admin_referer( 'delete-comment_' . $comment_id );
|
||||
}
|
||||
if ( in_array( $action, array( 'approvecomment', 'unapprovecomment' ) ) )
|
||||
check_admin_referer( 'approve-comment_' . $comment_id );
|
||||
else
|
||||
check_admin_referer( 'delete-comment_' . $comment_id );
|
||||
|
||||
$noredir = isset( $_REQUEST['noredir'] );
|
||||
$noredir = isset($_REQUEST['noredir']);
|
||||
|
||||
if ( ! $comment = get_comment( $comment_id ) ) {
|
||||
comment_footer_die( __( 'Invalid comment ID.' ) . sprintf( ' <a href="%s">' . __( 'Go back' ) . '</a>.', 'edit-comments.php' ) );
|
||||
}
|
||||
if ( ! current_user_can( 'edit_comment', $comment->comment_ID ) ) {
|
||||
comment_footer_die( __( 'Sorry, you are not allowed to edit comments on this post.' ) );
|
||||
}
|
||||
if ( !$comment = get_comment($comment_id) )
|
||||
comment_footer_die( __( 'Invalid comment ID.' ) . sprintf(' <a href="%s">' . __('Go back') . '</a>.', 'edit-comments.php') );
|
||||
if ( !current_user_can( 'edit_comment', $comment->comment_ID ) )
|
||||
comment_footer_die( __('Sorry, you are not allowed to edit comments on this post.') );
|
||||
|
||||
if ( '' != wp_get_referer() && ! $noredir && false === strpos( wp_get_referer(), 'comment.php' ) ) {
|
||||
$redir = wp_get_referer();
|
||||
} elseif ( '' != wp_get_original_referer() && ! $noredir ) {
|
||||
$redir = wp_get_original_referer();
|
||||
} elseif ( in_array( $action, array( 'approvecomment', 'unapprovecomment' ) ) ) {
|
||||
$redir = admin_url( 'edit-comments.php?p=' . absint( $comment->comment_post_ID ) );
|
||||
} else {
|
||||
$redir = admin_url( 'edit-comments.php' );
|
||||
}
|
||||
if ( '' != wp_get_referer() && ! $noredir && false === strpos(wp_get_referer(), 'comment.php') )
|
||||
$redir = wp_get_referer();
|
||||
elseif ( '' != wp_get_original_referer() && ! $noredir )
|
||||
$redir = wp_get_original_referer();
|
||||
elseif ( in_array( $action, array( 'approvecomment', 'unapprovecomment' ) ) )
|
||||
$redir = admin_url('edit-comments.php?p=' . absint( $comment->comment_post_ID ) );
|
||||
else
|
||||
$redir = admin_url('edit-comments.php');
|
||||
|
||||
$redir = remove_query_arg( array( 'spammed', 'unspammed', 'trashed', 'untrashed', 'deleted', 'ids', 'approved', 'unapproved' ), $redir );
|
||||
$redir = remove_query_arg( array('spammed', 'unspammed', 'trashed', 'untrashed', 'deleted', 'ids', 'approved', 'unapproved'), $redir );
|
||||
|
||||
switch ( $action ) {
|
||||
case 'deletecomment':
|
||||
wp_delete_comment( $comment );
|
||||
$redir = add_query_arg( array( 'deleted' => '1' ), $redir );
|
||||
break;
|
||||
case 'trashcomment':
|
||||
wp_trash_comment( $comment );
|
||||
$redir = add_query_arg(
|
||||
array(
|
||||
'trashed' => '1',
|
||||
'ids' => $comment_id,
|
||||
),
|
||||
$redir
|
||||
);
|
||||
break;
|
||||
case 'untrashcomment':
|
||||
wp_untrash_comment( $comment );
|
||||
$redir = add_query_arg( array( 'untrashed' => '1' ), $redir );
|
||||
break;
|
||||
case 'spamcomment':
|
||||
wp_spam_comment( $comment );
|
||||
$redir = add_query_arg(
|
||||
array(
|
||||
'spammed' => '1',
|
||||
'ids' => $comment_id,
|
||||
),
|
||||
$redir
|
||||
);
|
||||
break;
|
||||
case 'unspamcomment':
|
||||
wp_unspam_comment( $comment );
|
||||
$redir = add_query_arg( array( 'unspammed' => '1' ), $redir );
|
||||
break;
|
||||
case 'approvecomment':
|
||||
wp_set_comment_status( $comment, 'approve' );
|
||||
$redir = add_query_arg( array( 'approved' => 1 ), $redir );
|
||||
break;
|
||||
case 'unapprovecomment':
|
||||
wp_set_comment_status( $comment, 'hold' );
|
||||
$redir = add_query_arg( array( 'unapproved' => 1 ), $redir );
|
||||
break;
|
||||
}
|
||||
switch ( $action ) {
|
||||
case 'deletecomment' :
|
||||
wp_delete_comment( $comment );
|
||||
$redir = add_query_arg( array('deleted' => '1'), $redir );
|
||||
break;
|
||||
case 'trashcomment' :
|
||||
wp_trash_comment( $comment );
|
||||
$redir = add_query_arg( array('trashed' => '1', 'ids' => $comment_id), $redir );
|
||||
break;
|
||||
case 'untrashcomment' :
|
||||
wp_untrash_comment( $comment );
|
||||
$redir = add_query_arg( array('untrashed' => '1'), $redir );
|
||||
break;
|
||||
case 'spamcomment' :
|
||||
wp_spam_comment( $comment );
|
||||
$redir = add_query_arg( array('spammed' => '1', 'ids' => $comment_id), $redir );
|
||||
break;
|
||||
case 'unspamcomment' :
|
||||
wp_unspam_comment( $comment );
|
||||
$redir = add_query_arg( array('unspammed' => '1'), $redir );
|
||||
break;
|
||||
case 'approvecomment' :
|
||||
wp_set_comment_status( $comment, 'approve' );
|
||||
$redir = add_query_arg( array( 'approved' => 1 ), $redir );
|
||||
break;
|
||||
case 'unapprovecomment' :
|
||||
wp_set_comment_status( $comment, 'hold' );
|
||||
$redir = add_query_arg( array( 'unapproved' => 1 ), $redir );
|
||||
break;
|
||||
}
|
||||
|
||||
wp_redirect( $redir );
|
||||
die;
|
||||
wp_redirect( $redir );
|
||||
die;
|
||||
|
||||
case 'editedcomment':
|
||||
$comment_id = absint( $_POST['comment_ID'] );
|
||||
$comment_post_id = absint( $_POST['comment_post_ID'] );
|
||||
case 'editedcomment' :
|
||||
|
||||
check_admin_referer( 'update-comment_' . $comment_id );
|
||||
$comment_id = absint( $_POST['comment_ID'] );
|
||||
$comment_post_id = absint( $_POST['comment_post_ID'] );
|
||||
|
||||
edit_comment();
|
||||
check_admin_referer( 'update-comment_' . $comment_id );
|
||||
|
||||
$location = ( empty( $_POST['referredby'] ) ? "edit-comments.php?p=$comment_post_id" : $_POST['referredby'] ) . '#comment-' . $comment_id;
|
||||
edit_comment();
|
||||
|
||||
/**
|
||||
* Filters the URI the user is redirected to after editing a comment in the admin.
|
||||
*
|
||||
* @since 2.1.0
|
||||
*
|
||||
* @param string $location The URI the user will be redirected to.
|
||||
* @param int $comment_id The ID of the comment being edited.
|
||||
*/
|
||||
$location = apply_filters( 'comment_edit_redirect', $location, $comment_id );
|
||||
wp_redirect( $location );
|
||||
$location = ( empty( $_POST['referredby'] ) ? "edit-comments.php?p=$comment_post_id" : $_POST['referredby'] ) . '#comment-' . $comment_id;
|
||||
|
||||
exit();
|
||||
/**
|
||||
* Filters the URI the user is redirected to after editing a comment in the admin.
|
||||
*
|
||||
* @since 2.1.0
|
||||
*
|
||||
* @param string $location The URI the user will be redirected to.
|
||||
* @param int $comment_id The ID of the comment being edited.
|
||||
*/
|
||||
$location = apply_filters( 'comment_edit_redirect', $location, $comment_id );
|
||||
wp_redirect( $location );
|
||||
|
||||
default:
|
||||
wp_die( __( 'Unknown action.' ) );
|
||||
exit();
|
||||
|
||||
default:
|
||||
wp_die( __('Unknown action.') );
|
||||
|
||||
} // end switch
|
||||
|
||||
|
||||
@@ -12,15 +12,15 @@ require_once( dirname( __FILE__ ) . '/includes/credits.php' );
|
||||
|
||||
$title = __( 'Credits' );
|
||||
|
||||
list( $display_version ) = explode( '-', get_bloginfo( 'version' ) );
|
||||
list( $display_version ) = explode( '-', $wp_version );
|
||||
|
||||
include( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
?>
|
||||
<div class="wrap about-wrap full-width-layout">
|
||||
<div class="wrap about-wrap">
|
||||
|
||||
<h1><?php printf( __( 'Welcome to WordPress %s' ), $display_version ); ?></h1>
|
||||
|
||||
<p class="about-text"><?php printf( __( 'Thank you for updating to the latest version! WordPress %s introduces a robust new content creation experience.' ), $display_version ); ?></p>
|
||||
<p class="about-text"><?php printf( __( 'Thank you for updating to the latest version. WordPress %s changes a lot behind the scenes to make your WordPress experience even better!' ), $display_version ); ?></p>
|
||||
|
||||
<div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div>
|
||||
|
||||
@@ -28,10 +28,8 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
<a href="about.php" class="nav-tab"><?php _e( 'What’s New' ); ?></a>
|
||||
<a href="credits.php" class="nav-tab nav-tab-active"><?php _e( 'Credits' ); ?></a>
|
||||
<a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
|
||||
<a href="freedoms.php?privacy-notice" class="nav-tab"><?php _e( 'Privacy' ); ?></a>
|
||||
</h2>
|
||||
|
||||
<div class="about-wrap-content">
|
||||
<?php
|
||||
|
||||
$credits = wp_credits();
|
||||
@@ -39,52 +37,41 @@ $credits = wp_credits();
|
||||
if ( ! $credits ) {
|
||||
echo '<p class="about-description">';
|
||||
/* translators: 1: https://wordpress.org/about/, 2: https://make.wordpress.org/ */
|
||||
printf(
|
||||
__( 'WordPress is created by a <a href="%1$s">worldwide team</a> of passionate individuals. <a href="%2$s">Get involved in WordPress</a>.' ),
|
||||
printf( __( 'WordPress is created by a <a href="%1$s">worldwide team</a> of passionate individuals. <a href="%2$s">Get involved in WordPress</a>.' ),
|
||||
'https://wordpress.org/about/',
|
||||
__( 'https://make.wordpress.org/' )
|
||||
);
|
||||
echo '</p>';
|
||||
echo '</div>';
|
||||
echo '</div>';
|
||||
include( ABSPATH . 'wp-admin/admin-footer.php' );
|
||||
exit;
|
||||
}
|
||||
|
||||
echo '<p class="about-description">' . __( 'WordPress is created by a worldwide team of passionate individuals.' ) . "</p>\n";
|
||||
|
||||
echo '<p>' . sprintf(
|
||||
/* translators: %s: https://make.wordpress.org/ */
|
||||
__( 'Want to see your name in lights on this page? <a href="%s">Get involved in WordPress</a>.' ),
|
||||
__( 'https://make.wordpress.org/' )
|
||||
) . '</p>';
|
||||
|
||||
foreach ( $credits['groups'] as $group_slug => $group_data ) {
|
||||
if ( $group_data['name'] ) {
|
||||
if ( 'Translators' == $group_data['name'] ) {
|
||||
// Considered a special slug in the API response. (Also, will never be returned for en_US.)
|
||||
$title = _x( 'Translators', 'Translate this to be the equivalent of English Translators in your language for the credits page Translators section' );
|
||||
} elseif ( isset( $group_data['placeholders'] ) ) {
|
||||
// phpcs:ignore WordPress.WP.I18n.LowLevelTranslationFunction,WordPress.WP.I18n.NonSingularStringLiteralText
|
||||
$title = vsprintf( translate( $group_data['name'] ), $group_data['placeholders'] );
|
||||
} else {
|
||||
// phpcs:ignore WordPress.WP.I18n.LowLevelTranslationFunction,WordPress.WP.I18n.NonSingularStringLiteralText
|
||||
$title = translate( $group_data['name'] );
|
||||
}
|
||||
|
||||
echo '<h3 class="wp-people-group">' . esc_html( $title ) . "</h3>\n";
|
||||
}
|
||||
|
||||
if ( ! empty( $group_data['shuffle'] ) ) {
|
||||
if ( ! empty( $group_data['shuffle'] ) )
|
||||
shuffle( $group_data['data'] ); // We were going to sort by ability to pronounce "hierarchical," but that wouldn't be fair to Matt.
|
||||
}
|
||||
|
||||
switch ( $group_data['type'] ) {
|
||||
case 'list':
|
||||
case 'list' :
|
||||
array_walk( $group_data['data'], '_wp_credits_add_profile_link', $credits['data']['profiles'] );
|
||||
echo '<p class="wp-credits-list">' . wp_sprintf( '%l.', $group_data['data'] ) . "</p>\n\n";
|
||||
break;
|
||||
case 'libraries':
|
||||
case 'libraries' :
|
||||
array_walk( $group_data['data'], '_wp_credits_build_object_link' );
|
||||
echo '<p class="wp-credits-list">' . wp_sprintf( '%l.', $group_data['data'] ) . "</p>\n\n";
|
||||
break;
|
||||
@@ -95,25 +82,29 @@ foreach ( $credits['groups'] as $group_slug => $group_data ) {
|
||||
foreach ( $group_data['data'] as $person_data ) {
|
||||
echo '<li class="wp-person" id="wp-person-' . esc_attr( $person_data[2] ) . '">' . "\n\t";
|
||||
echo '<a href="' . esc_url( sprintf( $credits['data']['profiles'], $person_data[2] ) ) . '" class="web">';
|
||||
$size = 'compact' == $group_data['type'] ? 30 : 60;
|
||||
$data = get_avatar_data( $person_data[1] . '@md5.gravatar.com', array( 'size' => $size ) );
|
||||
$size *= 2;
|
||||
$size = 'compact' == $group_data['type'] ? 30 : 60;
|
||||
$data = get_avatar_data( $person_data[1] . '@md5.gravatar.com', array( 'size' => $size ) );
|
||||
$size *= 2;
|
||||
$data2x = get_avatar_data( $person_data[1] . '@md5.gravatar.com', array( 'size' => $size ) );
|
||||
echo '<img src="' . esc_url( $data['url'] ) . '" srcset="' . esc_url( $data2x['url'] ) . ' 2x" class="gravatar" alt="" />' . "\n";
|
||||
echo esc_html( $person_data[0] ) . "</a>\n\t";
|
||||
if ( ! $compact ) {
|
||||
// phpcs:ignore WordPress.WP.I18n.LowLevelTranslationFunction,WordPress.WP.I18n.NonSingularStringLiteralText
|
||||
if ( ! $compact )
|
||||
echo '<span class="title">' . translate( $person_data[3] ) . "</span>\n";
|
||||
}
|
||||
echo "</li>\n";
|
||||
}
|
||||
echo "</ul>\n";
|
||||
break;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
</div>
|
||||
<p class="clear"><?php
|
||||
/* translators: %s: https://make.wordpress.org/ */
|
||||
printf( __( 'Want to see your name in lights on this page? <a href="%s">Get involved in WordPress</a>.' ),
|
||||
__( 'https://make.wordpress.org/' )
|
||||
);
|
||||
?></p>
|
||||
|
||||
</div>
|
||||
<?php
|
||||
|
||||
@@ -124,7 +115,7 @@ return;
|
||||
// These are strings returned by the API that we want to be translatable
|
||||
__( 'Project Leaders' );
|
||||
__( 'Core Contributors to WordPress %s' );
|
||||
__( 'Noteworthy Contributors' );
|
||||
__( 'Contributing Developers' );
|
||||
__( 'Cofounder, Project Lead' );
|
||||
__( 'Lead Developer' );
|
||||
__( 'Release Lead' );
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
2.0 About Page
|
||||
2.1 Typography
|
||||
2.2 Structure
|
||||
2.3 Floating Header Layout
|
||||
3.0 Credits & Freedoms Pages
|
||||
------------------------------------------------------------------------------*/
|
||||
|
||||
@@ -23,14 +22,6 @@
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.about-wrap.full-width-layout {
|
||||
max-width: 1200px;
|
||||
}
|
||||
|
||||
.about-wrap-content {
|
||||
max-width: 1050px;
|
||||
}
|
||||
|
||||
.about-wrap div.updated,
|
||||
.about-wrap div.error,
|
||||
.about-wrap .notice {
|
||||
@@ -40,38 +31,17 @@
|
||||
.about-wrap hr {
|
||||
border: 0;
|
||||
height: 0;
|
||||
margin: 3em 0 0;
|
||||
margin: 0;
|
||||
border-top: 1px solid rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.about-wrap img {
|
||||
margin: 0;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.about-wrap figure {
|
||||
position: relative;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.about-wrap .feature-section figure img {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.about-wrap figcaption {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
padding: 40px 10px 15px;
|
||||
overflow: auto;
|
||||
box-sizing: border-box;
|
||||
background: linear-gradient(0deg,rgba(0,0,0,.7),rgba(0,0,0,.3) 60%,transparent);
|
||||
font-weight: 600;
|
||||
text-shadow: 0px 0px 5px rgba(0,0,0,.75);
|
||||
}
|
||||
|
||||
.about-wrap .jetpack-video-wrapper {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
@@ -81,6 +51,7 @@
|
||||
.wp-badge {
|
||||
background: #0073aa url(../images/w-logo-white.png?ver=20160308) no-repeat;
|
||||
background-position: center 25px;
|
||||
-webkit-background-size: 80px 80px;
|
||||
background-size: 80px 80px;
|
||||
color: #fff;
|
||||
font-size: 14px;
|
||||
@@ -92,6 +63,7 @@
|
||||
display: inline-block;
|
||||
width: 140px;
|
||||
text-rendering: optimizeLegibility;
|
||||
-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.2);
|
||||
box-shadow: 0 1px 3px rgba(0,0,0,0.2);
|
||||
}
|
||||
|
||||
@@ -121,7 +93,7 @@
|
||||
}
|
||||
|
||||
.about-wrap .feature-section p {
|
||||
max-width: 55em;
|
||||
max-width: 38em;
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
}
|
||||
@@ -136,8 +108,8 @@
|
||||
}
|
||||
|
||||
.about-wrap h2 {
|
||||
margin: 40px 0 .6em;
|
||||
font-size: 2.7em;
|
||||
margin: 50px 0 1em;
|
||||
font-size: 1.8em;
|
||||
line-height: 1.3;
|
||||
font-weight: 300;
|
||||
text-align: center;
|
||||
@@ -145,16 +117,18 @@
|
||||
|
||||
.about-wrap h3 {
|
||||
margin: 1.25em 0 .6em;
|
||||
font-size: 1.4em;
|
||||
font-size: 1.25em;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.about-wrap .under-the-hood-header {
|
||||
margin: 40px 0 0;
|
||||
text-align: center;
|
||||
.about-wrap h4 {
|
||||
color: #23282d;
|
||||
}
|
||||
|
||||
.about-wrap h4 {
|
||||
.about-wrap .changelog h3 {
|
||||
margin: 1.33em 0;
|
||||
font-size: 1em;
|
||||
line-height: inherit;
|
||||
color: #23282d;
|
||||
}
|
||||
|
||||
@@ -164,13 +138,6 @@
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.about-wrap figcaption {
|
||||
font-size: 13px;
|
||||
text-align: center;
|
||||
color: white;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.about-wrap .about-description,
|
||||
.about-wrap .about-text {
|
||||
margin-top: 1.4em;
|
||||
@@ -181,70 +148,56 @@
|
||||
|
||||
.about-wrap .about-text {
|
||||
margin: 1em 0 1em 200px;
|
||||
min-height: 60px;
|
||||
color: #555d66;
|
||||
}
|
||||
|
||||
/* 1.2 - Structure */
|
||||
|
||||
.about-wrap [class$="-col"] {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
flex-wrap: wrap;
|
||||
.about-wrap [class$=col] .col {
|
||||
float: right;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.about-wrap .one-col {
|
||||
margin: 0 auto;
|
||||
max-width: 680px;
|
||||
}
|
||||
|
||||
.about-wrap .one-col.is-wide {
|
||||
max-width: 760px;
|
||||
}
|
||||
|
||||
.about-wrap .under-the-hood {
|
||||
margin: auto;
|
||||
max-width: 1020px;
|
||||
}
|
||||
|
||||
.about-wrap .inline-svg img {
|
||||
max-width: 100%;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.about-wrap .inline-svg.full-width {
|
||||
margin-bottom: 120px;
|
||||
}
|
||||
|
||||
.about-wrap .under-the-hood .inline-svg {
|
||||
margin-right: 100px;
|
||||
}
|
||||
|
||||
.about-wrap [class$="-col"] .col {
|
||||
flex: 1;
|
||||
align-self: flex-start;
|
||||
}
|
||||
|
||||
.about-wrap [class$="-col"] .col + .col {
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
.about-wrap [class$="-col"] .is-span-two {
|
||||
flex: 2;
|
||||
}
|
||||
|
||||
.about-wrap .one-col img {
|
||||
margin: 1em 0 2em;
|
||||
}
|
||||
|
||||
.about-wrap .one-col .alignright img {
|
||||
margin-top: 0;
|
||||
.about-wrap .two-col .col {
|
||||
margin-left: 4.799999999%;
|
||||
width: 47.6%;
|
||||
}
|
||||
|
||||
.about-wrap .two-col img {
|
||||
margin-bottom: 1.5em;
|
||||
}
|
||||
|
||||
.about-wrap .feature-section.two-col .col {
|
||||
display: inline-block;
|
||||
float: none;
|
||||
margin-top: 1em;
|
||||
margin-left: 4.799999999%;
|
||||
width: -webkit-calc( 47.6% - 4px );
|
||||
width: calc( 47.6% - 4px );
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.about-wrap .three-col .col {
|
||||
margin-left: 4.999999999%;
|
||||
width: 29.95%;
|
||||
}
|
||||
|
||||
.about-wrap .two-col .col:nth-of-type(2n),
|
||||
.about-wrap .three-col .col:nth-of-type(3n) {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.about-wrap .under-the-hood {
|
||||
clear: both;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.about-wrap .under-the-hood:nth-of-type(2n),
|
||||
.about-wrap .under-the-hood:nth-of-type(3n) {
|
||||
margin-top: 3em;
|
||||
}
|
||||
|
||||
.about-wrap .feature-video .mejs-controls {
|
||||
display: none !important;
|
||||
}
|
||||
@@ -253,28 +206,6 @@
|
||||
background: transparent; /* Hide loading.gif */
|
||||
}
|
||||
|
||||
.about-wrap video {
|
||||
margin: 1.5em auto;
|
||||
}
|
||||
|
||||
.about-wrap .inline-svg.alignright {
|
||||
margin-right: 80px;
|
||||
}
|
||||
|
||||
.about-wrap .cta {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.about-wrap .cta .button {
|
||||
margin: 0 auto 5px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.about-wrap .feature-section .button {
|
||||
margin-top: 1.5em;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
/* 1.3 - Point Releases */
|
||||
|
||||
.about-wrap .point-releases {
|
||||
@@ -296,8 +227,17 @@
|
||||
|
||||
/* 2.1 - Typography */
|
||||
|
||||
.about-wrap .feature-section-header {
|
||||
margin: 50px 0 0;
|
||||
.about-wrap .headline-feature h2 {
|
||||
margin: 30px 0 30px;
|
||||
font-size: 2.2em;
|
||||
font-weight: 300;
|
||||
line-height: 1.3;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.about-wrap .headline-feature h3 {
|
||||
margin-top: 0;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.about-wrap .feature-section.two-col h3 {
|
||||
@@ -313,13 +253,12 @@
|
||||
margin-top: 0.6em;
|
||||
}
|
||||
|
||||
.about-wrap .lead-description {
|
||||
font-size: 1.5em;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.about-wrap .two-col-text {
|
||||
-webkit-column-count: 2;
|
||||
-moz-column-count: 2;
|
||||
column-count: 2;
|
||||
-webkit-column-gap: 40px;
|
||||
-moz-column-gap: 40px;
|
||||
column-gap: 40px;
|
||||
}
|
||||
|
||||
@@ -332,14 +271,24 @@
|
||||
margin-bottom: 3em;
|
||||
}
|
||||
|
||||
.about-wrap .under-the-hood img + h3 {
|
||||
margin-top: 1.25em;
|
||||
}
|
||||
|
||||
/* 2.2 - Structure */
|
||||
|
||||
.about-wrap .headline-feature {
|
||||
margin-bottom: 40px;
|
||||
.about-wrap .headline-feature.feature-video {
|
||||
position: relative;
|
||||
margin: 40px 0;
|
||||
padding-bottom: 56.25%;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
height: 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.about-wrap .feature-video embed {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.about-wrap .featured-image {
|
||||
@@ -348,10 +297,12 @@
|
||||
|
||||
.about-wrap .feature-section {
|
||||
overflow: hidden;
|
||||
padding: 0 0 40px;
|
||||
}
|
||||
|
||||
.about-wrap .feature-section.no-heading {
|
||||
padding-top: 35px;
|
||||
.about-wrap .headline-feature {
|
||||
margin: 0 auto;
|
||||
max-width: 80%;
|
||||
}
|
||||
|
||||
.about-wrap .feature-section .media-container {
|
||||
@@ -414,7 +365,7 @@
|
||||
}
|
||||
|
||||
.about-wrap .compact {
|
||||
margin-bottom: 0;
|
||||
margin-bottom: 0
|
||||
}
|
||||
|
||||
.about-wrap .wp-person {
|
||||
@@ -482,67 +433,21 @@
|
||||
margin: 0.6em 0;
|
||||
}
|
||||
|
||||
.freedoms-php .about-wrap .col .freedoms-image {
|
||||
background-image: url('https://s.w.org/wp-content/themes/pub/wporg-main/images/freedoms-2x.png');
|
||||
background-size: 100%;
|
||||
padding-top: 100%;
|
||||
}
|
||||
.freedoms-php .about-wrap .col:nth-of-type(2) .freedoms-image {
|
||||
background-position: 100% 34%;
|
||||
}
|
||||
.freedoms-php .about-wrap .col:nth-of-type(3) .freedoms-image {
|
||||
background-position: 100% 66%;
|
||||
}
|
||||
.freedoms-php .about-wrap .col:nth-of-type(4) .freedoms-image {
|
||||
background-position: 100% 100%;
|
||||
}
|
||||
|
||||
/*------------------------------------------------------------------------------
|
||||
4.0 - Media Queries
|
||||
------------------------------------------------------------------------------*/
|
||||
|
||||
@media screen and (max-width: 782px) {
|
||||
@media screen and ( max-width: 782px ) {
|
||||
.about-wrap .two-col-text {
|
||||
-webkit-column-count: 1;
|
||||
-moz-column-count: 1;
|
||||
column-count: 1;
|
||||
}
|
||||
|
||||
.about-wrap .one-col .alignright {
|
||||
margin-right: 20px;
|
||||
max-width: 150px;
|
||||
}
|
||||
|
||||
.about-wrap .two-col .col,
|
||||
.about-wrap .three-col .col,
|
||||
.about-wrap .four-col .col {
|
||||
min-width: 48% !important;
|
||||
max-width: 48% !important;
|
||||
margin-right: 0 !important;
|
||||
}
|
||||
|
||||
.about-wrap .eight-col .col {
|
||||
min-width: 24% !important;
|
||||
}
|
||||
|
||||
.about-wrap .three-col img,
|
||||
.about-wrap .four-col img,
|
||||
.about-wrap .eight-col img {
|
||||
.about-wrap .three-col img {
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.about-wrap figcaption {
|
||||
position: relative;
|
||||
margin-top: 10px;
|
||||
margin-bottom: 15px;
|
||||
padding: 0;
|
||||
background: none;
|
||||
color: #40464D;
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
.about-wrap .under-the-hood .inline-svg {
|
||||
margin-right: 40px;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 500px) {
|
||||
@@ -566,25 +471,12 @@
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.about-wrap .one-col .alignright {
|
||||
max-width: 120px;
|
||||
}
|
||||
|
||||
.about-wrap .feature-section .col {
|
||||
margin-top: 1em;
|
||||
}
|
||||
|
||||
.about-wrap .two-col .col,
|
||||
.about-wrap .three-col .col,
|
||||
.about-wrap .three-col .col {
|
||||
min-width: 100% !important;
|
||||
width: 100% !important;
|
||||
float: none !important;
|
||||
}
|
||||
|
||||
.about-wrap .eight-col .col {
|
||||
min-width: 48% !important;
|
||||
}
|
||||
|
||||
.about-wrap .under-the-hood.four-col .col,
|
||||
.about-wrap .under-the-hood.three-col .col,
|
||||
.about-wrap .under-the-hood.two-col .col,
|
||||
.about-wrap .under-the-hood.one-col .col {
|
||||
@@ -597,25 +489,8 @@
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.about-wrap .under-the-hood img + h3 {
|
||||
margin-top: 1.25em;
|
||||
}
|
||||
|
||||
.about-wrap .under-the-hood .inline-svg {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.about-wrap .inline-svg.full-width {
|
||||
margin-bottom: 60px;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 320px) {
|
||||
.about-wrap .one-col .alignright {
|
||||
float: none;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.about-wrap .one-col .alignright img {
|
||||
margin: 0 0 1em;
|
||||
.about-wrap .under-the-hood:nth-of-type(2n) h3,
|
||||
.about-wrap .under-the-hood:nth-of-type(3n) h3 {
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
3
wp-admin/css/about-rtl.min.css
vendored
3
wp-admin/css/about-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -8,7 +8,6 @@
|
||||
2.0 About Page
|
||||
2.1 Typography
|
||||
2.2 Structure
|
||||
2.3 Floating Header Layout
|
||||
3.0 Credits & Freedoms Pages
|
||||
------------------------------------------------------------------------------*/
|
||||
|
||||
@@ -23,14 +22,6 @@
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.about-wrap.full-width-layout {
|
||||
max-width: 1200px;
|
||||
}
|
||||
|
||||
.about-wrap-content {
|
||||
max-width: 1050px;
|
||||
}
|
||||
|
||||
.about-wrap div.updated,
|
||||
.about-wrap div.error,
|
||||
.about-wrap .notice {
|
||||
@@ -40,38 +31,17 @@
|
||||
.about-wrap hr {
|
||||
border: 0;
|
||||
height: 0;
|
||||
margin: 3em 0 0;
|
||||
margin: 0;
|
||||
border-top: 1px solid rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.about-wrap img {
|
||||
margin: 0;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.about-wrap figure {
|
||||
position: relative;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.about-wrap .feature-section figure img {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.about-wrap figcaption {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
padding: 40px 10px 15px;
|
||||
overflow: auto;
|
||||
box-sizing: border-box;
|
||||
background: linear-gradient(0deg,rgba(0,0,0,.7),rgba(0,0,0,.3) 60%,transparent);
|
||||
font-weight: 600;
|
||||
text-shadow: 0px 0px 5px rgba(0,0,0,.75);
|
||||
}
|
||||
|
||||
.about-wrap .jetpack-video-wrapper {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
@@ -81,6 +51,7 @@
|
||||
.wp-badge {
|
||||
background: #0073aa url(../images/w-logo-white.png?ver=20160308) no-repeat;
|
||||
background-position: center 25px;
|
||||
-webkit-background-size: 80px 80px;
|
||||
background-size: 80px 80px;
|
||||
color: #fff;
|
||||
font-size: 14px;
|
||||
@@ -92,6 +63,7 @@
|
||||
display: inline-block;
|
||||
width: 140px;
|
||||
text-rendering: optimizeLegibility;
|
||||
-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.2);
|
||||
box-shadow: 0 1px 3px rgba(0,0,0,0.2);
|
||||
}
|
||||
|
||||
@@ -121,7 +93,7 @@
|
||||
}
|
||||
|
||||
.about-wrap .feature-section p {
|
||||
max-width: 55em;
|
||||
max-width: 38em;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
@@ -136,8 +108,8 @@
|
||||
}
|
||||
|
||||
.about-wrap h2 {
|
||||
margin: 40px 0 .6em;
|
||||
font-size: 2.7em;
|
||||
margin: 50px 0 1em;
|
||||
font-size: 1.8em;
|
||||
line-height: 1.3;
|
||||
font-weight: 300;
|
||||
text-align: center;
|
||||
@@ -145,16 +117,18 @@
|
||||
|
||||
.about-wrap h3 {
|
||||
margin: 1.25em 0 .6em;
|
||||
font-size: 1.4em;
|
||||
font-size: 1.25em;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.about-wrap .under-the-hood-header {
|
||||
margin: 40px 0 0;
|
||||
text-align: center;
|
||||
.about-wrap h4 {
|
||||
color: #23282d;
|
||||
}
|
||||
|
||||
.about-wrap h4 {
|
||||
.about-wrap .changelog h3 {
|
||||
margin: 1.33em 0;
|
||||
font-size: 1em;
|
||||
line-height: inherit;
|
||||
color: #23282d;
|
||||
}
|
||||
|
||||
@@ -164,13 +138,6 @@
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.about-wrap figcaption {
|
||||
font-size: 13px;
|
||||
text-align: center;
|
||||
color: white;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.about-wrap .about-description,
|
||||
.about-wrap .about-text {
|
||||
margin-top: 1.4em;
|
||||
@@ -181,70 +148,56 @@
|
||||
|
||||
.about-wrap .about-text {
|
||||
margin: 1em 200px 1em 0;
|
||||
min-height: 60px;
|
||||
color: #555d66;
|
||||
}
|
||||
|
||||
/* 1.2 - Structure */
|
||||
|
||||
.about-wrap [class$="-col"] {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
flex-wrap: wrap;
|
||||
.about-wrap [class$=col] .col {
|
||||
float: left;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.about-wrap .one-col {
|
||||
margin: 0 auto;
|
||||
max-width: 680px;
|
||||
}
|
||||
|
||||
.about-wrap .one-col.is-wide {
|
||||
max-width: 760px;
|
||||
}
|
||||
|
||||
.about-wrap .under-the-hood {
|
||||
margin: auto;
|
||||
max-width: 1020px;
|
||||
}
|
||||
|
||||
.about-wrap .inline-svg img {
|
||||
max-width: 100%;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.about-wrap .inline-svg.full-width {
|
||||
margin-bottom: 120px;
|
||||
}
|
||||
|
||||
.about-wrap .under-the-hood .inline-svg {
|
||||
margin-left: 100px;
|
||||
}
|
||||
|
||||
.about-wrap [class$="-col"] .col {
|
||||
flex: 1;
|
||||
align-self: flex-start;
|
||||
}
|
||||
|
||||
.about-wrap [class$="-col"] .col + .col {
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
.about-wrap [class$="-col"] .is-span-two {
|
||||
flex: 2;
|
||||
}
|
||||
|
||||
.about-wrap .one-col img {
|
||||
margin: 1em 0 2em;
|
||||
}
|
||||
|
||||
.about-wrap .one-col .alignright img {
|
||||
margin-top: 0;
|
||||
.about-wrap .two-col .col {
|
||||
margin-right: 4.799999999%;
|
||||
width: 47.6%;
|
||||
}
|
||||
|
||||
.about-wrap .two-col img {
|
||||
margin-bottom: 1.5em;
|
||||
}
|
||||
|
||||
.about-wrap .feature-section.two-col .col {
|
||||
display: inline-block;
|
||||
float: none;
|
||||
margin-top: 1em;
|
||||
margin-right: 4.799999999%;
|
||||
width: -webkit-calc( 47.6% - 4px );
|
||||
width: calc( 47.6% - 4px );
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.about-wrap .three-col .col {
|
||||
margin-right: 4.999999999%;
|
||||
width: 29.95%;
|
||||
}
|
||||
|
||||
.about-wrap .two-col .col:nth-of-type(2n),
|
||||
.about-wrap .three-col .col:nth-of-type(3n) {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.about-wrap .under-the-hood {
|
||||
clear: both;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.about-wrap .under-the-hood:nth-of-type(2n),
|
||||
.about-wrap .under-the-hood:nth-of-type(3n) {
|
||||
margin-top: 3em;
|
||||
}
|
||||
|
||||
.about-wrap .feature-video .mejs-controls {
|
||||
display: none !important;
|
||||
}
|
||||
@@ -253,28 +206,6 @@
|
||||
background: transparent; /* Hide loading.gif */
|
||||
}
|
||||
|
||||
.about-wrap video {
|
||||
margin: 1.5em auto;
|
||||
}
|
||||
|
||||
.about-wrap .inline-svg.alignright {
|
||||
margin-left: 80px;
|
||||
}
|
||||
|
||||
.about-wrap .cta {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.about-wrap .cta .button {
|
||||
margin: 0 auto 5px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.about-wrap .feature-section .button {
|
||||
margin-top: 1.5em;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
/* 1.3 - Point Releases */
|
||||
|
||||
.about-wrap .point-releases {
|
||||
@@ -296,8 +227,17 @@
|
||||
|
||||
/* 2.1 - Typography */
|
||||
|
||||
.about-wrap .feature-section-header {
|
||||
margin: 50px 0 0;
|
||||
.about-wrap .headline-feature h2 {
|
||||
margin: 30px 0 30px;
|
||||
font-size: 2.2em;
|
||||
font-weight: 300;
|
||||
line-height: 1.3;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.about-wrap .headline-feature h3 {
|
||||
margin-top: 0;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.about-wrap .feature-section.two-col h3 {
|
||||
@@ -313,13 +253,12 @@
|
||||
margin-top: 0.6em;
|
||||
}
|
||||
|
||||
.about-wrap .lead-description {
|
||||
font-size: 1.5em;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.about-wrap .two-col-text {
|
||||
-webkit-column-count: 2;
|
||||
-moz-column-count: 2;
|
||||
column-count: 2;
|
||||
-webkit-column-gap: 40px;
|
||||
-moz-column-gap: 40px;
|
||||
column-gap: 40px;
|
||||
}
|
||||
|
||||
@@ -332,14 +271,24 @@
|
||||
margin-bottom: 3em;
|
||||
}
|
||||
|
||||
.about-wrap .under-the-hood img + h3 {
|
||||
margin-top: 1.25em;
|
||||
}
|
||||
|
||||
/* 2.2 - Structure */
|
||||
|
||||
.about-wrap .headline-feature {
|
||||
margin-bottom: 40px;
|
||||
.about-wrap .headline-feature.feature-video {
|
||||
position: relative;
|
||||
margin: 40px 0;
|
||||
padding-bottom: 56.25%;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
height: 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.about-wrap .feature-video embed {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.about-wrap .featured-image {
|
||||
@@ -348,10 +297,12 @@
|
||||
|
||||
.about-wrap .feature-section {
|
||||
overflow: hidden;
|
||||
padding: 0 0 40px;
|
||||
}
|
||||
|
||||
.about-wrap .feature-section.no-heading {
|
||||
padding-top: 35px;
|
||||
.about-wrap .headline-feature {
|
||||
margin: 0 auto;
|
||||
max-width: 80%;
|
||||
}
|
||||
|
||||
.about-wrap .feature-section .media-container {
|
||||
@@ -414,7 +365,7 @@
|
||||
}
|
||||
|
||||
.about-wrap .compact {
|
||||
margin-bottom: 0;
|
||||
margin-bottom: 0
|
||||
}
|
||||
|
||||
.about-wrap .wp-person {
|
||||
@@ -482,67 +433,21 @@
|
||||
margin: 0.6em 0;
|
||||
}
|
||||
|
||||
.freedoms-php .about-wrap .col .freedoms-image {
|
||||
background-image: url('https://s.w.org/wp-content/themes/pub/wporg-main/images/freedoms-2x.png');
|
||||
background-size: 100%;
|
||||
padding-top: 100%;
|
||||
}
|
||||
.freedoms-php .about-wrap .col:nth-of-type(2) .freedoms-image {
|
||||
background-position: 0 34%;
|
||||
}
|
||||
.freedoms-php .about-wrap .col:nth-of-type(3) .freedoms-image {
|
||||
background-position: 0 66%;
|
||||
}
|
||||
.freedoms-php .about-wrap .col:nth-of-type(4) .freedoms-image {
|
||||
background-position: 0 100%;
|
||||
}
|
||||
|
||||
/*------------------------------------------------------------------------------
|
||||
4.0 - Media Queries
|
||||
------------------------------------------------------------------------------*/
|
||||
|
||||
@media screen and (max-width: 782px) {
|
||||
@media screen and ( max-width: 782px ) {
|
||||
.about-wrap .two-col-text {
|
||||
-webkit-column-count: 1;
|
||||
-moz-column-count: 1;
|
||||
column-count: 1;
|
||||
}
|
||||
|
||||
.about-wrap .one-col .alignright {
|
||||
margin-left: 20px;
|
||||
max-width: 150px;
|
||||
}
|
||||
|
||||
.about-wrap .two-col .col,
|
||||
.about-wrap .three-col .col,
|
||||
.about-wrap .four-col .col {
|
||||
min-width: 48% !important;
|
||||
max-width: 48% !important;
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
|
||||
.about-wrap .eight-col .col {
|
||||
min-width: 24% !important;
|
||||
}
|
||||
|
||||
.about-wrap .three-col img,
|
||||
.about-wrap .four-col img,
|
||||
.about-wrap .eight-col img {
|
||||
.about-wrap .three-col img {
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.about-wrap figcaption {
|
||||
position: relative;
|
||||
margin-top: 10px;
|
||||
margin-bottom: 15px;
|
||||
padding: 0;
|
||||
background: none;
|
||||
color: #40464D;
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
.about-wrap .under-the-hood .inline-svg {
|
||||
margin-left: 40px;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 500px) {
|
||||
@@ -566,25 +471,12 @@
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.about-wrap .one-col .alignright {
|
||||
max-width: 120px;
|
||||
}
|
||||
|
||||
.about-wrap .feature-section .col {
|
||||
margin-top: 1em;
|
||||
}
|
||||
|
||||
.about-wrap .two-col .col,
|
||||
.about-wrap .three-col .col,
|
||||
.about-wrap .three-col .col {
|
||||
min-width: 100% !important;
|
||||
width: 100% !important;
|
||||
float: none !important;
|
||||
}
|
||||
|
||||
.about-wrap .eight-col .col {
|
||||
min-width: 48% !important;
|
||||
}
|
||||
|
||||
.about-wrap .under-the-hood.four-col .col,
|
||||
.about-wrap .under-the-hood.three-col .col,
|
||||
.about-wrap .under-the-hood.two-col .col,
|
||||
.about-wrap .under-the-hood.one-col .col {
|
||||
@@ -597,25 +489,8 @@
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.about-wrap .under-the-hood img + h3 {
|
||||
margin-top: 1.25em;
|
||||
}
|
||||
|
||||
.about-wrap .under-the-hood .inline-svg {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.about-wrap .inline-svg.full-width {
|
||||
margin-bottom: 60px;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 320px) {
|
||||
.about-wrap .one-col .alignright {
|
||||
float: none;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.about-wrap .one-col .alignright img {
|
||||
margin: 0 0 1em;
|
||||
.about-wrap .under-the-hood:nth-of-type(2n) h3,
|
||||
.about-wrap .under-the-hood:nth-of-type(3n) h3 {
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
3
wp-admin/css/about.min.css
vendored
3
wp-admin/css/about.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -47,6 +47,7 @@
|
||||
display: inline-block;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
-webkit-transition: all .1s ease-in-out;
|
||||
transition: all .1s ease-in-out;
|
||||
}
|
||||
|
||||
@@ -202,6 +203,7 @@
|
||||
padding: 7px 0 8px;
|
||||
z-index: 9999;
|
||||
background-color: #32373c;
|
||||
-webkit-box-shadow: 0 3px 5px rgba(0,0,0,0.2);
|
||||
box-shadow: 0 3px 5px rgba(0,0,0,0.2);
|
||||
}
|
||||
|
||||
@@ -225,6 +227,7 @@
|
||||
bottom: auto;
|
||||
border: 0 none;
|
||||
margin-top: 0;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
background-color: #32373c;
|
||||
}
|
||||
@@ -261,7 +264,7 @@
|
||||
.folded #adminmenu .wp-has-current-submenu.opensub .wp-submenu,
|
||||
.folded #adminmenu a.menu-top:focus + .wp-submenu,
|
||||
.folded #adminmenu .wp-has-current-submenu a.menu-top:focus + .wp-submenu,
|
||||
.no-js.folded #adminmenu .wp-has-submenu:hover .wp-submenu {
|
||||
.no-js.folded #adminmenu .wp-has-submenu:hover .wp-submenu {
|
||||
top: 0;
|
||||
right: 36px;
|
||||
}
|
||||
@@ -280,9 +283,9 @@
|
||||
|
||||
#adminmenu .wp-submenu a {
|
||||
font-size: 13px;
|
||||
line-height: 18px;
|
||||
line-height: 1.2;
|
||||
margin: 0;
|
||||
padding: 5px 0;
|
||||
padding: 6px 0;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu li.current,
|
||||
@@ -298,13 +301,13 @@
|
||||
.folded #adminmenu .wp-has-current-submenu li > a {
|
||||
padding-left: 16px;
|
||||
padding-right: 14px;
|
||||
/* Exclude from the transition the outline for Windows High Contrast mode */
|
||||
transition: all .1s ease-in-out, outline 0s;
|
||||
-webkit-transition: all .1s ease-in-out;
|
||||
transition: all .1s ease-in-out;
|
||||
}
|
||||
|
||||
#adminmenu .wp-has-current-submenu ul > li > a,
|
||||
.folded #adminmenu li.menu-top .wp-submenu > li > a {
|
||||
padding: 5px 12px;
|
||||
padding: 6px 12px;
|
||||
}
|
||||
|
||||
#adminmenu a.menu-top,
|
||||
@@ -331,6 +334,7 @@
|
||||
#adminmenu .wp-submenu li {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#adminmenu .wp-menu-image img {
|
||||
@@ -354,6 +358,7 @@
|
||||
#adminmenu div.wp-menu-image.svg {
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
-webkit-background-size: 20px auto;
|
||||
background-size: 20px auto;
|
||||
}
|
||||
|
||||
@@ -361,6 +366,7 @@ div.wp-menu-image:before {
|
||||
color: #a0a5aa;
|
||||
color: rgba(240,245,250,0.6);
|
||||
padding: 7px 0;
|
||||
-webkit-transition: all .1s ease-in-out;
|
||||
transition: all .1s ease-in-out;
|
||||
}
|
||||
|
||||
@@ -510,26 +516,29 @@ ul#adminmenu > li.current > a.current:after {
|
||||
border: 0 none;
|
||||
}
|
||||
|
||||
/* @todo: consider to use a single rule for these counters and the list table comments counters. */
|
||||
#adminmenu .awaiting-mod,
|
||||
#adminmenu .update-plugins {
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
margin: 1px 2px 0 0;
|
||||
padding: 0 5px;
|
||||
min-width: 7px;
|
||||
height: 17px;
|
||||
border-radius: 11px;
|
||||
background-color: #ca4a1f;
|
||||
background-color: #d54e21;
|
||||
color: #fff;
|
||||
font-size: 9px;
|
||||
line-height: 17px;
|
||||
text-align: center;
|
||||
font-weight: 600;
|
||||
margin: 1px 2px 0 0;
|
||||
vertical-align: top;
|
||||
-webkit-border-radius: 10px;
|
||||
border-radius: 10px;
|
||||
z-index: 26;
|
||||
}
|
||||
|
||||
#adminmenu li .awaiting-mod span,
|
||||
#adminmenu li span.update-plugins span {
|
||||
display: block;
|
||||
padding: 0 6px;
|
||||
}
|
||||
|
||||
#adminmenu li.current a .awaiting-mod,
|
||||
#adminmenu li a.wp-has-current-submenu .update-plugins {
|
||||
#adminmenu li a.wp-has-current-submenu .update-plugins {
|
||||
background-color: #00b9eb;
|
||||
color: #fff;
|
||||
}
|
||||
@@ -538,84 +547,79 @@ ul#adminmenu > li.current > a.current:after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#collapse-button {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 34px;
|
||||
margin: 0;
|
||||
border: none;
|
||||
padding: 0;
|
||||
position: relative;
|
||||
overflow: visible;
|
||||
background: none;
|
||||
color: #aaa;
|
||||
cursor: pointer;
|
||||
#collapse-menu {
|
||||
font-size: 13px;
|
||||
line-height: 34px;
|
||||
margin-top: 10px;
|
||||
color: #a0a5aa;
|
||||
color: rgba(240,245,250,0.6);
|
||||
-webkit-transition: all .1s ease-in-out;
|
||||
transition: all .1s ease-in-out;
|
||||
}
|
||||
|
||||
#collapse-button:hover {
|
||||
#collapse-menu:hover,
|
||||
#collapse-menu:hover #collapse-button div:after {
|
||||
color: #00b9eb;
|
||||
}
|
||||
|
||||
#collapse-button:focus {
|
||||
color: #00b9eb;
|
||||
/* Only visible in Windows High Contrast mode */
|
||||
outline: 1px solid transparent;
|
||||
outline-offset: -1px;
|
||||
}
|
||||
|
||||
#collapse-button .collapse-button-icon,
|
||||
#collapse-button .collapse-button-label {
|
||||
/* absolutely positioned to avoid 1px shift in IE when button is pressed */
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
#collapse-button .collapse-button-label {
|
||||
top: 8px;
|
||||
}
|
||||
|
||||
#collapse-button .collapse-button-icon {
|
||||
width: 36px;
|
||||
height: 34px;
|
||||
}
|
||||
|
||||
#collapse-button .collapse-button-label {
|
||||
padding: 0 36px 0 0;
|
||||
}
|
||||
|
||||
.folded #collapse-button .collapse-button-label {
|
||||
.folded #collapse-menu span {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#collapse-button .collapse-button-icon:after {
|
||||
#collapse-button,
|
||||
#collapse-button div {
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
}
|
||||
|
||||
#collapse-button {
|
||||
float: right;
|
||||
height: 15px;
|
||||
margin: 10px 11px 10px 8px;
|
||||
width: 15px;
|
||||
-webkit-border-radius: 10px;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
#wpwrap #collapse-button div {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#collapse-button div:after {
|
||||
content: "\f148";
|
||||
display: block;
|
||||
position: relative;
|
||||
top: 7px;
|
||||
text-align: center;
|
||||
line-height: 15px;
|
||||
right: -3px;
|
||||
top: -3px;
|
||||
color: #a0a5aa;
|
||||
color: rgba(240,245,250,0.6);
|
||||
font: normal 20px/1 dashicons !important;
|
||||
speak: none;
|
||||
margin: 0 auto;
|
||||
padding: 0 !important;
|
||||
position: relative;
|
||||
text-align: center;
|
||||
width: 20px;
|
||||
-webkit-transition: all .1s ease-in-out;
|
||||
transition: all .1s ease-in-out;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
/* rtl:ignore */
|
||||
.folded #collapse-button .collapse-button-icon:after,
|
||||
.rtl #collapse-button .collapse-button-icon:after {
|
||||
.folded #collapse-button div:after,
|
||||
.rtl #collapse-button div:after {
|
||||
-webkit-transform: rotate(180deg);
|
||||
-ms-transform: rotate(180deg);
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
|
||||
.rtl.folded #collapse-button .collapse-button-icon:after {
|
||||
.rtl.folded #collapse-button div:after {
|
||||
-webkit-transform: none;
|
||||
-ms-transform: none;
|
||||
transform: none;
|
||||
}
|
||||
|
||||
#collapse-button .collapse-button-icon:after,
|
||||
#collapse-button .collapse-button-label {
|
||||
transition: all .1s ease-in-out;
|
||||
}
|
||||
|
||||
/**
|
||||
* Toolbar menu toggle
|
||||
*/
|
||||
@@ -648,7 +652,7 @@ li#wp-admin-bar-menu-toggle {
|
||||
.auto-fold #adminmenu .wp-has-current-submenu .wp-submenu.sub-open,
|
||||
.auto-fold #adminmenu .wp-has-current-submenu.opensub .wp-submenu,
|
||||
.auto-fold #adminmenu a.menu-top:focus + .wp-submenu,
|
||||
.auto-fold #adminmenu .wp-has-current-submenu a.menu-top:focus + .wp-submenu {
|
||||
.auto-fold #adminmenu .wp-has-current-submenu a.menu-top:focus + .wp-submenu {
|
||||
top: 0px;
|
||||
right: 36px;
|
||||
}
|
||||
@@ -727,22 +731,30 @@ li#wp-admin-bar-menu-toggle {
|
||||
z-index: 10000;
|
||||
}
|
||||
|
||||
.auto-fold #collapse-menu .collapse-button-label {
|
||||
.auto-fold #collapse-menu span {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.auto-fold #collapse-button div {
|
||||
background: none;
|
||||
}
|
||||
|
||||
/* rtl:ignore */
|
||||
.auto-fold #collapse-button .collapse-button-icon:after {
|
||||
.auto-fold #collapse-button div:after {
|
||||
-webkit-transform: rotate(180deg);
|
||||
-ms-transform: rotate(180deg);
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
|
||||
.rtl.auto-fold #collapse-button .collapse-button-icon:after {
|
||||
.rtl.auto-fold #collapse-button div:after {
|
||||
-webkit-transform: none;
|
||||
-ms-transform: none;
|
||||
transform: none;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media screen and (max-width: 782px) {
|
||||
@media screen and ( max-width: 782px ) {
|
||||
.auto-fold #wpcontent {
|
||||
position: relative;
|
||||
margin-right: 0;
|
||||
@@ -817,6 +829,7 @@ li#wp-admin-bar-menu-toggle {
|
||||
display: block;
|
||||
top: 0;
|
||||
right: -1px;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
@@ -858,6 +871,8 @@ li#wp-admin-bar-menu-toggle {
|
||||
padding-left: 10px;
|
||||
z-index: 99999;
|
||||
border: none;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
@@ -901,6 +916,8 @@ li#wp-admin-bar-menu-toggle {
|
||||
border: none;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
|
||||
3
wp-admin/css/admin-menu-rtl.min.css
vendored
3
wp-admin/css/admin-menu-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -47,6 +47,7 @@
|
||||
display: inline-block;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
-webkit-transition: all .1s ease-in-out;
|
||||
transition: all .1s ease-in-out;
|
||||
}
|
||||
|
||||
@@ -202,6 +203,7 @@
|
||||
padding: 7px 0 8px;
|
||||
z-index: 9999;
|
||||
background-color: #32373c;
|
||||
-webkit-box-shadow: 0 3px 5px rgba(0,0,0,0.2);
|
||||
box-shadow: 0 3px 5px rgba(0,0,0,0.2);
|
||||
}
|
||||
|
||||
@@ -225,6 +227,7 @@
|
||||
bottom: auto;
|
||||
border: 0 none;
|
||||
margin-top: 0;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
background-color: #32373c;
|
||||
}
|
||||
@@ -261,7 +264,7 @@
|
||||
.folded #adminmenu .wp-has-current-submenu.opensub .wp-submenu,
|
||||
.folded #adminmenu a.menu-top:focus + .wp-submenu,
|
||||
.folded #adminmenu .wp-has-current-submenu a.menu-top:focus + .wp-submenu,
|
||||
.no-js.folded #adminmenu .wp-has-submenu:hover .wp-submenu {
|
||||
.no-js.folded #adminmenu .wp-has-submenu:hover .wp-submenu {
|
||||
top: 0;
|
||||
left: 36px;
|
||||
}
|
||||
@@ -280,9 +283,9 @@
|
||||
|
||||
#adminmenu .wp-submenu a {
|
||||
font-size: 13px;
|
||||
line-height: 18px;
|
||||
line-height: 1.2;
|
||||
margin: 0;
|
||||
padding: 5px 0;
|
||||
padding: 6px 0;
|
||||
}
|
||||
|
||||
#adminmenu .wp-submenu li.current,
|
||||
@@ -298,13 +301,13 @@
|
||||
.folded #adminmenu .wp-has-current-submenu li > a {
|
||||
padding-right: 16px;
|
||||
padding-left: 14px;
|
||||
/* Exclude from the transition the outline for Windows High Contrast mode */
|
||||
transition: all .1s ease-in-out, outline 0s;
|
||||
-webkit-transition: all .1s ease-in-out;
|
||||
transition: all .1s ease-in-out;
|
||||
}
|
||||
|
||||
#adminmenu .wp-has-current-submenu ul > li > a,
|
||||
.folded #adminmenu li.menu-top .wp-submenu > li > a {
|
||||
padding: 5px 12px;
|
||||
padding: 6px 12px;
|
||||
}
|
||||
|
||||
#adminmenu a.menu-top,
|
||||
@@ -331,6 +334,7 @@
|
||||
#adminmenu .wp-submenu li {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#adminmenu .wp-menu-image img {
|
||||
@@ -354,6 +358,7 @@
|
||||
#adminmenu div.wp-menu-image.svg {
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
-webkit-background-size: 20px auto;
|
||||
background-size: 20px auto;
|
||||
}
|
||||
|
||||
@@ -361,6 +366,7 @@ div.wp-menu-image:before {
|
||||
color: #a0a5aa;
|
||||
color: rgba(240,245,250,0.6);
|
||||
padding: 7px 0;
|
||||
-webkit-transition: all .1s ease-in-out;
|
||||
transition: all .1s ease-in-out;
|
||||
}
|
||||
|
||||
@@ -510,26 +516,29 @@ ul#adminmenu > li.current > a.current:after {
|
||||
border: 0 none;
|
||||
}
|
||||
|
||||
/* @todo: consider to use a single rule for these counters and the list table comments counters. */
|
||||
#adminmenu .awaiting-mod,
|
||||
#adminmenu .update-plugins {
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
margin: 1px 0 0 2px;
|
||||
padding: 0 5px;
|
||||
min-width: 7px;
|
||||
height: 17px;
|
||||
border-radius: 11px;
|
||||
background-color: #ca4a1f;
|
||||
background-color: #d54e21;
|
||||
color: #fff;
|
||||
font-size: 9px;
|
||||
line-height: 17px;
|
||||
text-align: center;
|
||||
font-weight: 600;
|
||||
margin: 1px 0 0 2px;
|
||||
vertical-align: top;
|
||||
-webkit-border-radius: 10px;
|
||||
border-radius: 10px;
|
||||
z-index: 26;
|
||||
}
|
||||
|
||||
#adminmenu li .awaiting-mod span,
|
||||
#adminmenu li span.update-plugins span {
|
||||
display: block;
|
||||
padding: 0 6px;
|
||||
}
|
||||
|
||||
#adminmenu li.current a .awaiting-mod,
|
||||
#adminmenu li a.wp-has-current-submenu .update-plugins {
|
||||
#adminmenu li a.wp-has-current-submenu .update-plugins {
|
||||
background-color: #00b9eb;
|
||||
color: #fff;
|
||||
}
|
||||
@@ -538,84 +547,79 @@ ul#adminmenu > li.current > a.current:after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#collapse-button {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 34px;
|
||||
margin: 0;
|
||||
border: none;
|
||||
padding: 0;
|
||||
position: relative;
|
||||
overflow: visible;
|
||||
background: none;
|
||||
color: #aaa;
|
||||
cursor: pointer;
|
||||
#collapse-menu {
|
||||
font-size: 13px;
|
||||
line-height: 34px;
|
||||
margin-top: 10px;
|
||||
color: #a0a5aa;
|
||||
color: rgba(240,245,250,0.6);
|
||||
-webkit-transition: all .1s ease-in-out;
|
||||
transition: all .1s ease-in-out;
|
||||
}
|
||||
|
||||
#collapse-button:hover {
|
||||
#collapse-menu:hover,
|
||||
#collapse-menu:hover #collapse-button div:after {
|
||||
color: #00b9eb;
|
||||
}
|
||||
|
||||
#collapse-button:focus {
|
||||
color: #00b9eb;
|
||||
/* Only visible in Windows High Contrast mode */
|
||||
outline: 1px solid transparent;
|
||||
outline-offset: -1px;
|
||||
}
|
||||
|
||||
#collapse-button .collapse-button-icon,
|
||||
#collapse-button .collapse-button-label {
|
||||
/* absolutely positioned to avoid 1px shift in IE when button is pressed */
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
#collapse-button .collapse-button-label {
|
||||
top: 8px;
|
||||
}
|
||||
|
||||
#collapse-button .collapse-button-icon {
|
||||
width: 36px;
|
||||
height: 34px;
|
||||
}
|
||||
|
||||
#collapse-button .collapse-button-label {
|
||||
padding: 0 0 0 36px;
|
||||
}
|
||||
|
||||
.folded #collapse-button .collapse-button-label {
|
||||
.folded #collapse-menu span {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#collapse-button .collapse-button-icon:after {
|
||||
#collapse-button,
|
||||
#collapse-button div {
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
}
|
||||
|
||||
#collapse-button {
|
||||
float: left;
|
||||
height: 15px;
|
||||
margin: 10px 8px 10px 11px;
|
||||
width: 15px;
|
||||
-webkit-border-radius: 10px;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
#wpwrap #collapse-button div {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#collapse-button div:after {
|
||||
content: "\f148";
|
||||
display: block;
|
||||
position: relative;
|
||||
top: 7px;
|
||||
text-align: center;
|
||||
line-height: 15px;
|
||||
left: -3px;
|
||||
top: -3px;
|
||||
color: #a0a5aa;
|
||||
color: rgba(240,245,250,0.6);
|
||||
font: normal 20px/1 dashicons !important;
|
||||
speak: none;
|
||||
margin: 0 auto;
|
||||
padding: 0 !important;
|
||||
position: relative;
|
||||
text-align: center;
|
||||
width: 20px;
|
||||
-webkit-transition: all .1s ease-in-out;
|
||||
transition: all .1s ease-in-out;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
/* rtl:ignore */
|
||||
.folded #collapse-button .collapse-button-icon:after,
|
||||
.rtl #collapse-button .collapse-button-icon:after {
|
||||
.folded #collapse-button div:after,
|
||||
.rtl #collapse-button div:after {
|
||||
-webkit-transform: rotate(180deg);
|
||||
-ms-transform: rotate(180deg);
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
|
||||
.rtl.folded #collapse-button .collapse-button-icon:after {
|
||||
.rtl.folded #collapse-button div:after {
|
||||
-webkit-transform: none;
|
||||
-ms-transform: none;
|
||||
transform: none;
|
||||
}
|
||||
|
||||
#collapse-button .collapse-button-icon:after,
|
||||
#collapse-button .collapse-button-label {
|
||||
transition: all .1s ease-in-out;
|
||||
}
|
||||
|
||||
/**
|
||||
* Toolbar menu toggle
|
||||
*/
|
||||
@@ -648,7 +652,7 @@ li#wp-admin-bar-menu-toggle {
|
||||
.auto-fold #adminmenu .wp-has-current-submenu .wp-submenu.sub-open,
|
||||
.auto-fold #adminmenu .wp-has-current-submenu.opensub .wp-submenu,
|
||||
.auto-fold #adminmenu a.menu-top:focus + .wp-submenu,
|
||||
.auto-fold #adminmenu .wp-has-current-submenu a.menu-top:focus + .wp-submenu {
|
||||
.auto-fold #adminmenu .wp-has-current-submenu a.menu-top:focus + .wp-submenu {
|
||||
top: 0px;
|
||||
left: 36px;
|
||||
}
|
||||
@@ -727,22 +731,30 @@ li#wp-admin-bar-menu-toggle {
|
||||
z-index: 10000;
|
||||
}
|
||||
|
||||
.auto-fold #collapse-menu .collapse-button-label {
|
||||
.auto-fold #collapse-menu span {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.auto-fold #collapse-button div {
|
||||
background: none;
|
||||
}
|
||||
|
||||
/* rtl:ignore */
|
||||
.auto-fold #collapse-button .collapse-button-icon:after {
|
||||
.auto-fold #collapse-button div:after {
|
||||
-webkit-transform: rotate(180deg);
|
||||
-ms-transform: rotate(180deg);
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
|
||||
.rtl.auto-fold #collapse-button .collapse-button-icon:after {
|
||||
.rtl.auto-fold #collapse-button div:after {
|
||||
-webkit-transform: none;
|
||||
-ms-transform: none;
|
||||
transform: none;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media screen and (max-width: 782px) {
|
||||
@media screen and ( max-width: 782px ) {
|
||||
.auto-fold #wpcontent {
|
||||
position: relative;
|
||||
margin-left: 0;
|
||||
@@ -817,6 +829,7 @@ li#wp-admin-bar-menu-toggle {
|
||||
display: block;
|
||||
top: 0;
|
||||
left: -1px;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
@@ -858,6 +871,8 @@ li#wp-admin-bar-menu-toggle {
|
||||
padding-right: 10px;
|
||||
z-index: 99999;
|
||||
border: none;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
@@ -901,6 +916,8 @@ li#wp-admin-bar-menu-toggle {
|
||||
border: none;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
|
||||
3
wp-admin/css/admin-menu.min.css
vendored
3
wp-admin/css/admin-menu.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -1,76 +0,0 @@
|
||||
.wrap [class*="CodeMirror-lint-marker"],
|
||||
.wp-core-ui [class*="CodeMirror-lint-message"],
|
||||
.wrap .CodeMirror-lint-marker-multiple {
|
||||
background-image: none;
|
||||
}
|
||||
|
||||
.wp-core-ui .CodeMirror-lint-marker-error,
|
||||
.wp-core-ui .CodeMirror-lint-marker-warning {
|
||||
cursor: help;
|
||||
}
|
||||
|
||||
.wrap .CodeMirror-lint-marker-multiple {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.wrap [class*="CodeMirror-lint-marker"]:before {
|
||||
font: normal 18px/1 dashicons;
|
||||
position: relative;
|
||||
top: -2px;
|
||||
}
|
||||
|
||||
.wp-core-ui [class*="CodeMirror-lint-message"]:before {
|
||||
font: normal 16px/1 dashicons;
|
||||
right: 16px;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.wp-core-ui .CodeMirror-lint-message-error,
|
||||
.wp-core-ui .CodeMirror-lint-message-warning {
|
||||
box-shadow: 0 1px 1px 0 rgba( 0, 0, 0, 0.1 );
|
||||
margin: 5px 0 2px;
|
||||
padding: 3px 28px 3px 12px;
|
||||
}
|
||||
|
||||
.wp-core-ui .CodeMirror-lint-message-warning {
|
||||
background-color: #fff8e5;
|
||||
border-right: 4px solid #ffb900;
|
||||
}
|
||||
|
||||
.wrap .CodeMirror-lint-marker-warning:before,
|
||||
.wp-core-ui .CodeMirror-lint-message-warning:before {
|
||||
content: "\f534";
|
||||
color: #f6a306;
|
||||
}
|
||||
|
||||
.wp-core-ui .CodeMirror-lint-message-error {
|
||||
background-color: #fbeaea;
|
||||
border-right: 4px solid #dc3232;
|
||||
}
|
||||
|
||||
.wrap .CodeMirror-lint-marker-error:before,
|
||||
.wp-core-ui .CodeMirror-lint-message-error:before {
|
||||
content: "\f153";
|
||||
color: #dc3232;
|
||||
}
|
||||
|
||||
.wp-core-ui .CodeMirror-lint-tooltip {
|
||||
background: none;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
direction: rtl;
|
||||
}
|
||||
|
||||
.wrap .CodeMirror .CodeMirror-matchingbracket {
|
||||
background: rgba(255, 150, 0, .3);
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.CodeMirror {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.wrap .CodeMirror .CodeMirror-linenumber {
|
||||
color: #666;
|
||||
}
|
||||
2
wp-admin/css/code-editor-rtl.min.css
vendored
2
wp-admin/css/code-editor-rtl.min.css
vendored
@@ -1,2 +0,0 @@
|
||||
/*! This file is auto-generated */
|
||||
.wp-core-ui [class*=CodeMirror-lint-message],.wrap .CodeMirror-lint-marker-multiple,.wrap [class*=CodeMirror-lint-marker]{background-image:none}.wp-core-ui .CodeMirror-lint-marker-error,.wp-core-ui .CodeMirror-lint-marker-warning{cursor:help}.wrap .CodeMirror-lint-marker-multiple{position:absolute;top:0}.wrap [class*=CodeMirror-lint-marker]:before{font:normal 18px/1 dashicons;position:relative;top:-2px}.wp-core-ui [class*=CodeMirror-lint-message]:before{font:normal 16px/1 dashicons;right:16px;position:absolute}.wp-core-ui .CodeMirror-lint-message-error,.wp-core-ui .CodeMirror-lint-message-warning{box-shadow:0 1px 1px 0 rgba(0,0,0,.1);margin:5px 0 2px;padding:3px 28px 3px 12px}.wp-core-ui .CodeMirror-lint-message-warning{background-color:#fff8e5;border-right:4px solid #ffb900}.wp-core-ui .CodeMirror-lint-message-warning:before,.wrap .CodeMirror-lint-marker-warning:before{content:"\f534";color:#f6a306}.wp-core-ui .CodeMirror-lint-message-error{background-color:#fbeaea;border-right:4px solid #dc3232}.wp-core-ui .CodeMirror-lint-message-error:before,.wrap .CodeMirror-lint-marker-error:before{content:"\f153";color:#dc3232}.wp-core-ui .CodeMirror-lint-tooltip{background:0 0;border:none;border-radius:0;direction:rtl}.wrap .CodeMirror .CodeMirror-matchingbracket{background:rgba(255,150,0,.3);color:inherit}.CodeMirror{text-align:right}.wrap .CodeMirror .CodeMirror-linenumber{color:#666}
|
||||
@@ -1,76 +0,0 @@
|
||||
.wrap [class*="CodeMirror-lint-marker"],
|
||||
.wp-core-ui [class*="CodeMirror-lint-message"],
|
||||
.wrap .CodeMirror-lint-marker-multiple {
|
||||
background-image: none;
|
||||
}
|
||||
|
||||
.wp-core-ui .CodeMirror-lint-marker-error,
|
||||
.wp-core-ui .CodeMirror-lint-marker-warning {
|
||||
cursor: help;
|
||||
}
|
||||
|
||||
.wrap .CodeMirror-lint-marker-multiple {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.wrap [class*="CodeMirror-lint-marker"]:before {
|
||||
font: normal 18px/1 dashicons;
|
||||
position: relative;
|
||||
top: -2px;
|
||||
}
|
||||
|
||||
.wp-core-ui [class*="CodeMirror-lint-message"]:before {
|
||||
font: normal 16px/1 dashicons;
|
||||
left: 16px;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.wp-core-ui .CodeMirror-lint-message-error,
|
||||
.wp-core-ui .CodeMirror-lint-message-warning {
|
||||
box-shadow: 0 1px 1px 0 rgba( 0, 0, 0, 0.1 );
|
||||
margin: 5px 0 2px;
|
||||
padding: 3px 12px 3px 28px;
|
||||
}
|
||||
|
||||
.wp-core-ui .CodeMirror-lint-message-warning {
|
||||
background-color: #fff8e5;
|
||||
border-left: 4px solid #ffb900;
|
||||
}
|
||||
|
||||
.wrap .CodeMirror-lint-marker-warning:before,
|
||||
.wp-core-ui .CodeMirror-lint-message-warning:before {
|
||||
content: "\f534";
|
||||
color: #f6a306;
|
||||
}
|
||||
|
||||
.wp-core-ui .CodeMirror-lint-message-error {
|
||||
background-color: #fbeaea;
|
||||
border-left: 4px solid #dc3232;
|
||||
}
|
||||
|
||||
.wrap .CodeMirror-lint-marker-error:before,
|
||||
.wp-core-ui .CodeMirror-lint-message-error:before {
|
||||
content: "\f153";
|
||||
color: #dc3232;
|
||||
}
|
||||
|
||||
.wp-core-ui .CodeMirror-lint-tooltip {
|
||||
background: none;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
direction: ltr;
|
||||
}
|
||||
|
||||
.wrap .CodeMirror .CodeMirror-matchingbracket {
|
||||
background: rgba(255, 150, 0, .3);
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.CodeMirror {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.wrap .CodeMirror .CodeMirror-linenumber {
|
||||
color: #666;
|
||||
}
|
||||
2
wp-admin/css/code-editor.min.css
vendored
2
wp-admin/css/code-editor.min.css
vendored
@@ -1,2 +0,0 @@
|
||||
/*! This file is auto-generated */
|
||||
.wp-core-ui [class*=CodeMirror-lint-message],.wrap .CodeMirror-lint-marker-multiple,.wrap [class*=CodeMirror-lint-marker]{background-image:none}.wp-core-ui .CodeMirror-lint-marker-error,.wp-core-ui .CodeMirror-lint-marker-warning{cursor:help}.wrap .CodeMirror-lint-marker-multiple{position:absolute;top:0}.wrap [class*=CodeMirror-lint-marker]:before{font:normal 18px/1 dashicons;position:relative;top:-2px}.wp-core-ui [class*=CodeMirror-lint-message]:before{font:normal 16px/1 dashicons;left:16px;position:absolute}.wp-core-ui .CodeMirror-lint-message-error,.wp-core-ui .CodeMirror-lint-message-warning{box-shadow:0 1px 1px 0 rgba(0,0,0,.1);margin:5px 0 2px;padding:3px 12px 3px 28px}.wp-core-ui .CodeMirror-lint-message-warning{background-color:#fff8e5;border-left:4px solid #ffb900}.wp-core-ui .CodeMirror-lint-message-warning:before,.wrap .CodeMirror-lint-marker-warning:before{content:"\f534";color:#f6a306}.wp-core-ui .CodeMirror-lint-message-error{background-color:#fbeaea;border-left:4px solid #dc3232}.wp-core-ui .CodeMirror-lint-message-error:before,.wrap .CodeMirror-lint-marker-error:before{content:"\f153";color:#dc3232}.wp-core-ui .CodeMirror-lint-tooltip{background:0 0;border:none;border-radius:0;direction:ltr}.wrap .CodeMirror .CodeMirror-matchingbracket{background:rgba(255,150,0,.3);color:inherit}.CodeMirror{text-align:left}.wrap .CodeMirror .CodeMirror-linenumber{color:#666}
|
||||
@@ -6,23 +6,43 @@
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Needs higher specificiity. */
|
||||
.wp-picker-container .wp-color-result.button {
|
||||
height: 24px;
|
||||
.wp-color-result {
|
||||
background-color: #f7f7f7;
|
||||
border: 1px solid #ccc;
|
||||
-webkit-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
height: 22px;
|
||||
margin: 0 0px 6px 6px;
|
||||
padding: 0 30px 0 0;
|
||||
font-size: 11px;
|
||||
position: relative;
|
||||
top: 1px;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
vertical-align: bottom;
|
||||
display: inline-block;
|
||||
padding-right: 30px;
|
||||
-webkit-box-shadow: 0 1px 0 #ccc;
|
||||
box-shadow: 0 1px 0 #ccc;
|
||||
}
|
||||
|
||||
.wp-color-result-text {
|
||||
.wp-color-result:after {
|
||||
background: #f7f7f7;
|
||||
-webkit-border-radius: 2px 0 0 2px;
|
||||
border-radius: 2px 0 0 2px;
|
||||
border-right: 1px solid #ccc;
|
||||
color: #555;
|
||||
content: attr( title );
|
||||
display: block;
|
||||
font-size: 11px;
|
||||
line-height: 22px;
|
||||
padding: 0 6px;
|
||||
position: relative;
|
||||
left: 0;
|
||||
text-align: center;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.wp-color-result:hover,
|
||||
@@ -39,37 +59,31 @@
|
||||
border-right: 1px solid #999;
|
||||
}
|
||||
|
||||
.wp-picker-containers {
|
||||
.wp-color-result {
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.wp-color-result.wp-picker-open:after {
|
||||
content: attr( data-current );
|
||||
}
|
||||
|
||||
.wp-picker-container, .wp-picker-container:active {
|
||||
display: inline-block;
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
.wp-color-result:focus {
|
||||
border-color: #5b9dd9;
|
||||
-webkit-box-shadow: 0 0 3px rgba( 0, 115, 170, .8 );
|
||||
box-shadow: 0 0 3px rgba( 0, 115, 170, .8 );
|
||||
}
|
||||
|
||||
.wp-color-result:active {
|
||||
/* See Trac ticket #39662 */
|
||||
transform: none !important;
|
||||
}
|
||||
|
||||
.wp-picker-open + .wp-picker-input-wrap {
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.wp-picker-input-wrap label {
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
/* For the old `custom-background` page, to override the inline-block and margins from `.form-table td fieldset label`. */
|
||||
.form-table .wp-picker-input-wrap label {
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
||||
.wp-picker-input-wrap .button,
|
||||
.wp-customizer .wp-picker-input-wrap .button {
|
||||
.wp-picker-container .button {
|
||||
margin-right: 6px;
|
||||
}
|
||||
|
||||
@@ -78,6 +92,7 @@
|
||||
}
|
||||
|
||||
.wp-picker-container .iris-picker {
|
||||
-webkit-border-radius: 0;
|
||||
border-radius: 0;
|
||||
border-color: #ddd;
|
||||
margin-top: 6px;
|
||||
@@ -89,7 +104,6 @@
|
||||
font-family: monospace;
|
||||
line-height: 16px;
|
||||
margin: 0;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.wp-color-picker::-webkit-input-placeholder {
|
||||
@@ -110,63 +124,3 @@
|
||||
border-color: #c00;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.iris-picker .ui-square-handle:focus,
|
||||
.iris-picker .iris-strip .ui-slider-handle:focus {
|
||||
box-shadow:
|
||||
0 0 0 1px #5b9dd9,
|
||||
0 0 2px 1px rgba(30, 140, 190, .8);
|
||||
}
|
||||
|
||||
.iris-picker .iris-palette:focus {
|
||||
box-shadow:
|
||||
inset 0 0 5px rgba(0,0,0,.4),
|
||||
0 0 0 1px #5b9dd9,
|
||||
0 0 2px 1px rgba(30, 140, 190, .8);
|
||||
}
|
||||
|
||||
@media screen and (max-width: 782px) {
|
||||
.wp-picker-container input[type="text"].wp-color-picker {
|
||||
width: 80px;
|
||||
padding: 6px 5px 5px;
|
||||
font-size: 16px;
|
||||
line-height: 18px;
|
||||
}
|
||||
|
||||
.wp-customizer .wp-picker-container input[type="text"].wp-color-picker {
|
||||
padding: 5px 5px 4px;
|
||||
}
|
||||
|
||||
.wp-picker-container .wp-color-result.button {
|
||||
height: auto;
|
||||
padding: 0 40px 0 0;
|
||||
font-size: 14px;
|
||||
line-height: 29px;
|
||||
}
|
||||
|
||||
.wp-customizer .wp-picker-container .wp-color-result.button {
|
||||
font-size: 13px;
|
||||
line-height: 26px;
|
||||
}
|
||||
|
||||
.wp-picker-container .wp-color-result-text {
|
||||
padding: 0 14px;
|
||||
font-size: inherit;
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
.wp-customizer .wp-picker-container .wp-color-result-text {
|
||||
padding: 0 10px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 640px) {
|
||||
.wp-customizer .wp-picker-container .wp-color-result.button {
|
||||
font-size: 14px;
|
||||
line-height: 29px;
|
||||
}
|
||||
|
||||
.wp-customizer .wp-picker-container input[type="text"].wp-color-picker {
|
||||
padding: 6px 5px;
|
||||
}
|
||||
}
|
||||
|
||||
3
wp-admin/css/color-picker-rtl.min.css
vendored
3
wp-admin/css/color-picker-rtl.min.css
vendored
@@ -1,2 +1 @@
|
||||
/*! This file is auto-generated */
|
||||
.wp-color-picker{width:80px}.wp-picker-container .hidden{display:none}.wp-picker-container .wp-color-result.button{height:24px;margin:0 0 6px 6px;padding:0 30px 0 0;font-size:11px}.wp-color-result-text{background:#f7f7f7;border-radius:2px 0 0 2px;border-right:1px solid #ccc;color:#555;display:block;line-height:22px;padding:0 6px;text-align:center}.wp-color-result:focus,.wp-color-result:hover{background:#fafafa;border-color:#999;color:#23282d}.wp-color-result:focus:after,.wp-color-result:hover:after{color:#23282d;border-color:#a0a5aa;border-right:1px solid #999}.wp-picker-containers{display:inline-block}.wp-color-result:focus{border-color:#5b9dd9;box-shadow:0 0 3px rgba(0,115,170,.8)}.wp-color-result:active{transform:none!important}.wp-picker-open+.wp-picker-input-wrap{display:inline-block;vertical-align:top}.wp-picker-input-wrap label{display:inline-block;vertical-align:top}.form-table .wp-picker-input-wrap label{margin:0!important}.wp-customizer .wp-picker-input-wrap .button,.wp-picker-input-wrap .button{margin-right:6px}.wp-picker-container .iris-square-slider .ui-slider-handle:focus{background-color:#555}.wp-picker-container .iris-picker{border-radius:0;border-color:#ddd;margin-top:6px}.wp-picker-container input[type=text].wp-color-picker{width:65px;font-size:12px;font-family:monospace;line-height:16px;margin:0;vertical-align:top}.wp-color-picker::-webkit-input-placeholder{color:#72777c}.wp-color-picker::-moz-placeholder{color:#72777c;opacity:1}.wp-color-picker:-ms-input-placeholder{color:#72777c}.wp-picker-container input[type=text].iris-error{background-color:#ffebe8;border-color:#c00;color:#000}.iris-picker .iris-strip .ui-slider-handle:focus,.iris-picker .ui-square-handle:focus{box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.iris-picker .iris-palette:focus{box-shadow:inset 0 0 5px rgba(0,0,0,.4),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}@media screen and (max-width:782px){.wp-picker-container input[type=text].wp-color-picker{width:80px;padding:6px 5px 5px;font-size:16px;line-height:18px}.wp-customizer .wp-picker-container input[type=text].wp-color-picker{padding:5px 5px 4px}.wp-picker-container .wp-color-result.button{height:auto;padding:0 40px 0 0;font-size:14px;line-height:29px}.wp-customizer .wp-picker-container .wp-color-result.button{font-size:13px;line-height:26px}.wp-picker-container .wp-color-result-text{padding:0 14px;font-size:inherit;line-height:inherit}.wp-customizer .wp-picker-container .wp-color-result-text{padding:0 10px}}@media screen and (max-width:640px){.wp-customizer .wp-picker-container .wp-color-result.button{font-size:14px;line-height:29px}.wp-customizer .wp-picker-container input[type=text].wp-color-picker{padding:6px 5px}}
|
||||
.wp-color-picker{width:80px}.wp-picker-container .hidden{display:none}.wp-color-result{background-color:#f7f7f7;border:1px solid #ccc;-webkit-border-radius:3px;border-radius:3px;cursor:pointer;height:22px;margin:0 0 6px 6px;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:bottom;display:inline-block;padding-right:30px;-webkit-box-shadow:0 1px 0 #ccc;box-shadow:0 1px 0 #ccc;top:0}.wp-color-result:after{background:#f7f7f7;-webkit-border-radius:2px 0 0 2px;border-radius:2px 0 0 2px;border-right:1px solid #ccc;color:#555;content:attr(title);display:block;font-size:11px;line-height:22px;padding:0 6px;position:relative;left:0;text-align:center;top:0}.wp-color-result:focus,.wp-color-result:hover{background:#fafafa;border-color:#999;color:#23282d}.wp-color-result:focus:after,.wp-color-result:hover:after{color:#23282d;border-color:#a0a5aa;border-right:1px solid #999}.wp-color-result.wp-picker-open:after{content:attr(data-current)}.wp-picker-container,.wp-picker-container:active{display:inline-block;outline:0}.wp-color-result:focus{border-color:#5b9dd9;-webkit-box-shadow:0 0 3px rgba(0,115,170,.8);box-shadow:0 0 3px rgba(0,115,170,.8)}.wp-picker-open+.wp-picker-input-wrap{display:inline-block;vertical-align:top}.wp-picker-container .button{margin-right:6px}.wp-picker-container .iris-square-slider .ui-slider-handle:focus{background-color:#555}.wp-picker-container .iris-picker{-webkit-border-radius:0;border-radius:0;border-color:#ddd;margin-top:6px}.wp-picker-container input[type=text].wp-color-picker{width:65px;font-size:12px;font-family:monospace;line-height:16px;margin:0}.wp-color-picker::-webkit-input-placeholder{color:#72777c}.wp-color-picker::-moz-placeholder{color:#72777c;opacity:1}.wp-color-picker:-ms-input-placeholder{color:#72777c}.wp-picker-container input[type=text].iris-error{background-color:#ffebe8;border-color:#c00;color:#000}
|
||||
@@ -6,23 +6,43 @@
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Needs higher specificiity. */
|
||||
.wp-picker-container .wp-color-result.button {
|
||||
height: 24px;
|
||||
.wp-color-result {
|
||||
background-color: #f7f7f7;
|
||||
border: 1px solid #ccc;
|
||||
-webkit-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
height: 22px;
|
||||
margin: 0 6px 6px 0px;
|
||||
padding: 0 0 0 30px;
|
||||
font-size: 11px;
|
||||
position: relative;
|
||||
top: 1px;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
vertical-align: bottom;
|
||||
display: inline-block;
|
||||
padding-left: 30px;
|
||||
-webkit-box-shadow: 0 1px 0 #ccc;
|
||||
box-shadow: 0 1px 0 #ccc;
|
||||
}
|
||||
|
||||
.wp-color-result-text {
|
||||
.wp-color-result:after {
|
||||
background: #f7f7f7;
|
||||
-webkit-border-radius: 0 2px 2px 0;
|
||||
border-radius: 0 2px 2px 0;
|
||||
border-left: 1px solid #ccc;
|
||||
color: #555;
|
||||
content: attr( title );
|
||||
display: block;
|
||||
font-size: 11px;
|
||||
line-height: 22px;
|
||||
padding: 0 6px;
|
||||
position: relative;
|
||||
right: 0;
|
||||
text-align: center;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.wp-color-result:hover,
|
||||
@@ -39,37 +59,31 @@
|
||||
border-left: 1px solid #999;
|
||||
}
|
||||
|
||||
.wp-picker-containers {
|
||||
.wp-color-result {
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.wp-color-result.wp-picker-open:after {
|
||||
content: attr( data-current );
|
||||
}
|
||||
|
||||
.wp-picker-container, .wp-picker-container:active {
|
||||
display: inline-block;
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
.wp-color-result:focus {
|
||||
border-color: #5b9dd9;
|
||||
-webkit-box-shadow: 0 0 3px rgba( 0, 115, 170, .8 );
|
||||
box-shadow: 0 0 3px rgba( 0, 115, 170, .8 );
|
||||
}
|
||||
|
||||
.wp-color-result:active {
|
||||
/* See Trac ticket #39662 */
|
||||
transform: none !important;
|
||||
}
|
||||
|
||||
.wp-picker-open + .wp-picker-input-wrap {
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.wp-picker-input-wrap label {
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
/* For the old `custom-background` page, to override the inline-block and margins from `.form-table td fieldset label`. */
|
||||
.form-table .wp-picker-input-wrap label {
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
||||
.wp-picker-input-wrap .button,
|
||||
.wp-customizer .wp-picker-input-wrap .button {
|
||||
.wp-picker-container .button {
|
||||
margin-left: 6px;
|
||||
}
|
||||
|
||||
@@ -78,6 +92,7 @@
|
||||
}
|
||||
|
||||
.wp-picker-container .iris-picker {
|
||||
-webkit-border-radius: 0;
|
||||
border-radius: 0;
|
||||
border-color: #ddd;
|
||||
margin-top: 6px;
|
||||
@@ -89,7 +104,6 @@
|
||||
font-family: monospace;
|
||||
line-height: 16px;
|
||||
margin: 0;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.wp-color-picker::-webkit-input-placeholder {
|
||||
@@ -110,63 +124,3 @@
|
||||
border-color: #c00;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.iris-picker .ui-square-handle:focus,
|
||||
.iris-picker .iris-strip .ui-slider-handle:focus {
|
||||
box-shadow:
|
||||
0 0 0 1px #5b9dd9,
|
||||
0 0 2px 1px rgba(30, 140, 190, .8);
|
||||
}
|
||||
|
||||
.iris-picker .iris-palette:focus {
|
||||
box-shadow:
|
||||
inset 0 0 5px rgba(0,0,0,.4),
|
||||
0 0 0 1px #5b9dd9,
|
||||
0 0 2px 1px rgba(30, 140, 190, .8);
|
||||
}
|
||||
|
||||
@media screen and (max-width: 782px) {
|
||||
.wp-picker-container input[type="text"].wp-color-picker {
|
||||
width: 80px;
|
||||
padding: 6px 5px 5px;
|
||||
font-size: 16px;
|
||||
line-height: 18px;
|
||||
}
|
||||
|
||||
.wp-customizer .wp-picker-container input[type="text"].wp-color-picker {
|
||||
padding: 5px 5px 4px;
|
||||
}
|
||||
|
||||
.wp-picker-container .wp-color-result.button {
|
||||
height: auto;
|
||||
padding: 0 0 0 40px;
|
||||
font-size: 14px;
|
||||
line-height: 29px;
|
||||
}
|
||||
|
||||
.wp-customizer .wp-picker-container .wp-color-result.button {
|
||||
font-size: 13px;
|
||||
line-height: 26px;
|
||||
}
|
||||
|
||||
.wp-picker-container .wp-color-result-text {
|
||||
padding: 0 14px;
|
||||
font-size: inherit;
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
.wp-customizer .wp-picker-container .wp-color-result-text {
|
||||
padding: 0 10px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 640px) {
|
||||
.wp-customizer .wp-picker-container .wp-color-result.button {
|
||||
font-size: 14px;
|
||||
line-height: 29px;
|
||||
}
|
||||
|
||||
.wp-customizer .wp-picker-container input[type="text"].wp-color-picker {
|
||||
padding: 6px 5px;
|
||||
}
|
||||
}
|
||||
|
||||
3
wp-admin/css/color-picker.min.css
vendored
3
wp-admin/css/color-picker.min.css
vendored
@@ -1,2 +1 @@
|
||||
/*! This file is auto-generated */
|
||||
.wp-color-picker{width:80px}.wp-picker-container .hidden{display:none}.wp-picker-container .wp-color-result.button{height:24px;margin:0 6px 6px 0;padding:0 0 0 30px;font-size:11px}.wp-color-result-text{background:#f7f7f7;border-radius:0 2px 2px 0;border-left:1px solid #ccc;color:#555;display:block;line-height:22px;padding:0 6px;text-align:center}.wp-color-result:focus,.wp-color-result:hover{background:#fafafa;border-color:#999;color:#23282d}.wp-color-result:focus:after,.wp-color-result:hover:after{color:#23282d;border-color:#a0a5aa;border-left:1px solid #999}.wp-picker-containers{display:inline-block}.wp-color-result:focus{border-color:#5b9dd9;box-shadow:0 0 3px rgba(0,115,170,.8)}.wp-color-result:active{transform:none!important}.wp-picker-open+.wp-picker-input-wrap{display:inline-block;vertical-align:top}.wp-picker-input-wrap label{display:inline-block;vertical-align:top}.form-table .wp-picker-input-wrap label{margin:0!important}.wp-customizer .wp-picker-input-wrap .button,.wp-picker-input-wrap .button{margin-left:6px}.wp-picker-container .iris-square-slider .ui-slider-handle:focus{background-color:#555}.wp-picker-container .iris-picker{border-radius:0;border-color:#ddd;margin-top:6px}.wp-picker-container input[type=text].wp-color-picker{width:65px;font-size:12px;font-family:monospace;line-height:16px;margin:0;vertical-align:top}.wp-color-picker::-webkit-input-placeholder{color:#72777c}.wp-color-picker::-moz-placeholder{color:#72777c;opacity:1}.wp-color-picker:-ms-input-placeholder{color:#72777c}.wp-picker-container input[type=text].iris-error{background-color:#ffebe8;border-color:#c00;color:#000}.iris-picker .iris-strip .ui-slider-handle:focus,.iris-picker .ui-square-handle:focus{box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.iris-picker .iris-palette:focus{box-shadow:inset 0 0 5px rgba(0,0,0,.4),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}@media screen and (max-width:782px){.wp-picker-container input[type=text].wp-color-picker{width:80px;padding:6px 5px 5px;font-size:16px;line-height:18px}.wp-customizer .wp-picker-container input[type=text].wp-color-picker{padding:5px 5px 4px}.wp-picker-container .wp-color-result.button{height:auto;padding:0 0 0 40px;font-size:14px;line-height:29px}.wp-customizer .wp-picker-container .wp-color-result.button{font-size:13px;line-height:26px}.wp-picker-container .wp-color-result-text{padding:0 14px;font-size:inherit;line-height:inherit}.wp-customizer .wp-picker-container .wp-color-result-text{padding:0 10px}}@media screen and (max-width:640px){.wp-customizer .wp-picker-container .wp-color-result.button{font-size:14px;line-height:29px}.wp-customizer .wp-picker-container input[type=text].wp-color-picker{padding:6px 5px}}
|
||||
.wp-color-picker{width:80px}.wp-picker-container .hidden{display:none}.wp-color-result{background-color:#f7f7f7;border:1px solid #ccc;-webkit-border-radius:3px;border-radius:3px;cursor:pointer;height:22px;margin:0 6px 6px 0;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:bottom;display:inline-block;padding-left:30px;-webkit-box-shadow:0 1px 0 #ccc;box-shadow:0 1px 0 #ccc;top:0}.wp-color-result:after{background:#f7f7f7;-webkit-border-radius:0 2px 2px 0;border-radius:0 2px 2px 0;border-left:1px solid #ccc;color:#555;content:attr(title);display:block;font-size:11px;line-height:22px;padding:0 6px;position:relative;right:0;text-align:center;top:0}.wp-color-result:focus,.wp-color-result:hover{background:#fafafa;border-color:#999;color:#23282d}.wp-color-result:focus:after,.wp-color-result:hover:after{color:#23282d;border-color:#a0a5aa;border-left:1px solid #999}.wp-color-result.wp-picker-open:after{content:attr(data-current)}.wp-picker-container,.wp-picker-container:active{display:inline-block;outline:0}.wp-color-result:focus{border-color:#5b9dd9;-webkit-box-shadow:0 0 3px rgba(0,115,170,.8);box-shadow:0 0 3px rgba(0,115,170,.8)}.wp-picker-open+.wp-picker-input-wrap{display:inline-block;vertical-align:top}.wp-picker-container .button{margin-left:6px}.wp-picker-container .iris-square-slider .ui-slider-handle:focus{background-color:#555}.wp-picker-container .iris-picker{-webkit-border-radius:0;border-radius:0;border-color:#ddd;margin-top:6px}.wp-picker-container input[type=text].wp-color-picker{width:65px;font-size:12px;font-family:monospace;line-height:16px;margin:0}.wp-color-picker::-webkit-input-placeholder{color:#72777c}.wp-color-picker::-moz-placeholder{color:#72777c;opacity:1}.wp-color-picker:-ms-input-placeholder{color:#72777c}.wp-picker-container input[type=text].iris-error{background-color:#ffebe8;border-color:#c00;color:#000}
|
||||
@@ -3,7 +3,7 @@
|
||||
@import 'mixins';
|
||||
|
||||
|
||||
body {
|
||||
html {
|
||||
background: $body-background;
|
||||
}
|
||||
|
||||
@@ -84,7 +84,9 @@ input[type=radio]:checked:before {
|
||||
/* List tables */
|
||||
|
||||
.wrap .add-new-h2:hover, /* deprecated */
|
||||
.wrap .page-title-action:hover {
|
||||
.wrap .page-title-action:hover,
|
||||
.tablenav .tablenav-pages a:hover,
|
||||
.tablenav .tablenav-pages a:focus {
|
||||
color: $menu-text;
|
||||
background-color: $menu-background;
|
||||
}
|
||||
@@ -225,15 +227,23 @@ ul#adminmenu > li.current > a.current:after {
|
||||
|
||||
/* Admin Menu: collapse button */
|
||||
|
||||
#collapse-button {
|
||||
#collapse-menu {
|
||||
color: $menu-collapse-text;
|
||||
}
|
||||
|
||||
#collapse-button:hover,
|
||||
#collapse-button:focus {
|
||||
color: $menu-submenu-focus-text;
|
||||
#collapse-menu:hover {
|
||||
color: $menu-collapse-focus-text;
|
||||
}
|
||||
|
||||
#collapse-button div:after {
|
||||
color: $menu-collapse-icon;
|
||||
}
|
||||
|
||||
#collapse-menu:hover #collapse-button div:after {
|
||||
color: $menu-collapse-focus-icon;
|
||||
}
|
||||
|
||||
|
||||
/* Admin Bar */
|
||||
|
||||
#wpadminbar {
|
||||
@@ -314,7 +324,6 @@ ul#adminmenu > li.current > a.current:after {
|
||||
#wpadminbar li:hover .ab-item:before,
|
||||
#wpadminbar li a:focus .ab-icon:before,
|
||||
#wpadminbar li .ab-item:focus:before,
|
||||
#wpadminbar li .ab-item:focus .ab-icon:before,
|
||||
#wpadminbar li.hover .ab-icon:before,
|
||||
#wpadminbar li.hover .ab-item:before,
|
||||
#wpadminbar li:hover #adminbarsearch:before,
|
||||
@@ -406,7 +415,12 @@ ul#adminmenu > li.current > a.current:after {
|
||||
}
|
||||
|
||||
.media-selection .attachment.selection.details .thumbnail {
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px $highlight-color;
|
||||
-webkit-box-shadow:
|
||||
0px 0px 0px 1px #fff,
|
||||
0px 0px 0px 3px $highlight-color;
|
||||
box-shadow:
|
||||
0px 0px 0px 1px #fff,
|
||||
0px 0px 0px 3px $highlight-color;
|
||||
}
|
||||
|
||||
|
||||
@@ -460,6 +474,17 @@ body.more-filters-opened .more-filters:focus:before {
|
||||
color: $menu-highlight-text;
|
||||
}
|
||||
|
||||
/* Customize */
|
||||
|
||||
#customize-theme-controls .widget-area-select .selected {
|
||||
background-color: $menu-highlight-background;
|
||||
color: $menu-highlight-text;
|
||||
}
|
||||
|
||||
#customize-footer-actions .devices button:focus {
|
||||
border-bottom-color: $highlight-color;
|
||||
}
|
||||
|
||||
/* Responsive Component */
|
||||
|
||||
div#wp-responsive-toggle a:before {
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* Button mixin- creates 3d-ish button effect with correct
|
||||
* highlights/shadows, based on a base color.
|
||||
*/
|
||||
@mixin button( $button-color, $text-color: #fff ) {
|
||||
@mixin button( $button-color, $text-color: white ) {
|
||||
background: $button-color;
|
||||
border-color: darken( $button-color, 10% ) darken( $button-color, 15% ) darken( $button-color, 15% );
|
||||
color: $text-color;
|
||||
@@ -25,10 +25,7 @@
|
||||
0 0 2px 1px #33b3db;
|
||||
}
|
||||
|
||||
&:active,
|
||||
&.active,
|
||||
&.active:focus,
|
||||
&.active:hover {
|
||||
&:active {
|
||||
background: darken( $button-color, 10% );
|
||||
border-color: darken( $button-color, 15% );
|
||||
box-shadow: inset 0 2px 0 darken( $button-color, 15% );
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
/*! This file is auto-generated */
|
||||
/*
|
||||
* Button mixin- creates 3d-ish button effect with correct
|
||||
* highlights/shadows, based on a base color.
|
||||
*/
|
||||
body {
|
||||
html {
|
||||
background: #f1f1f1;
|
||||
}
|
||||
|
||||
@@ -41,7 +40,8 @@ input[type=radio]:checked:before {
|
||||
.wp-core-ui .button-primary {
|
||||
background: #e1a948;
|
||||
border-color: #d39323 #bd831f #bd831f;
|
||||
color: #fff;
|
||||
color: white;
|
||||
-webkit-box-shadow: 0 1px 0 #bd831f;
|
||||
box-shadow: 0 1px 0 #bd831f;
|
||||
text-shadow: 0 -1px 1px #bd831f, -1px 0 1px #bd831f, 0 1px 1px #bd831f, 1px 0 1px #bd831f;
|
||||
}
|
||||
@@ -49,17 +49,20 @@ input[type=radio]:checked:before {
|
||||
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
|
||||
background: #e3af55;
|
||||
border-color: #bd831f;
|
||||
color: #fff;
|
||||
color: white;
|
||||
-webkit-box-shadow: 0 1px 0 #bd831f;
|
||||
box-shadow: 0 1px 0 #bd831f;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
-webkit-box-shadow: inset 0 1px 0 #d39323, 0 0 2px 1px #33b3db;
|
||||
box-shadow: inset 0 1px 0 #d39323, 0 0 2px 1px #33b3db;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
|
||||
.wp-core-ui .button-primary:active {
|
||||
background: #d39323;
|
||||
border-color: #bd831f;
|
||||
-webkit-box-shadow: inset 0 2px 0 #bd831f;
|
||||
box-shadow: inset 0 2px 0 #bd831f;
|
||||
}
|
||||
|
||||
@@ -71,10 +74,12 @@ input[type=radio]:checked:before {
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero {
|
||||
-webkit-box-shadow: 0 2px 0 #bd831f !important;
|
||||
box-shadow: 0 2px 0 #bd831f !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero:active {
|
||||
-webkit-box-shadow: inset 0 3px 0 #bd831f !important;
|
||||
box-shadow: inset 0 3px 0 #bd831f !important;
|
||||
}
|
||||
|
||||
@@ -111,7 +116,9 @@ input[type=radio]:checked:before {
|
||||
|
||||
/* List tables */
|
||||
.wrap .add-new-h2:hover,
|
||||
.wrap .page-title-action:hover {
|
||||
.wrap .page-title-action:hover,
|
||||
.tablenav .tablenav-pages a:hover,
|
||||
.tablenav .tablenav-pages a:focus {
|
||||
color: #fff;
|
||||
background-color: #52accc;
|
||||
}
|
||||
@@ -252,12 +259,19 @@ ul#adminmenu > li.current > a.current:after {
|
||||
}
|
||||
|
||||
/* Admin Menu: collapse button */
|
||||
#collapse-button {
|
||||
#collapse-menu {
|
||||
color: #e5f8ff;
|
||||
}
|
||||
|
||||
#collapse-button:hover,
|
||||
#collapse-button:focus {
|
||||
#collapse-menu:hover {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#collapse-button div:after {
|
||||
color: #e5f8ff;
|
||||
}
|
||||
|
||||
#collapse-menu:hover #collapse-button div:after {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
@@ -338,7 +352,6 @@ ul#adminmenu > li.current > a.current:after {
|
||||
#wpadminbar li:hover .ab-item:before,
|
||||
#wpadminbar li a:focus .ab-icon:before,
|
||||
#wpadminbar li .ab-item:focus:before,
|
||||
#wpadminbar li .ab-item:focus .ab-icon:before,
|
||||
#wpadminbar li.hover .ab-icon:before,
|
||||
#wpadminbar li.hover .ab-item:before,
|
||||
#wpadminbar li:hover #adminbarsearch:before,
|
||||
@@ -412,16 +425,19 @@ ul#adminmenu > li.current > a.current:after {
|
||||
}
|
||||
|
||||
.details.attachment {
|
||||
-webkit-box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #096484;
|
||||
box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #096484;
|
||||
}
|
||||
|
||||
.attachment.details .check {
|
||||
background-color: #096484;
|
||||
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px #096484;
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 2px #096484;
|
||||
}
|
||||
|
||||
.media-selection .attachment.selection.details .thumbnail {
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #096484;
|
||||
-webkit-box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #096484;
|
||||
box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #096484;
|
||||
}
|
||||
|
||||
/* Themes */
|
||||
@@ -472,6 +488,16 @@ body.more-filters-opened .more-filters:focus:before {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/* Customize */
|
||||
#customize-theme-controls .widget-area-select .selected {
|
||||
background-color: #096484;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#customize-footer-actions .devices button:focus {
|
||||
border-bottom-color: #096484;
|
||||
}
|
||||
|
||||
/* Responsive Component */
|
||||
div#wp-responsive-toggle a:before {
|
||||
color: #e5f8ff;
|
||||
|
||||
3
wp-admin/css/colors/blue/colors-rtl.min.css
vendored
3
wp-admin/css/colors/blue/colors-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -1,9 +1,8 @@
|
||||
/*! This file is auto-generated */
|
||||
/*
|
||||
* Button mixin- creates 3d-ish button effect with correct
|
||||
* highlights/shadows, based on a base color.
|
||||
*/
|
||||
body {
|
||||
html {
|
||||
background: #f1f1f1;
|
||||
}
|
||||
|
||||
@@ -41,7 +40,8 @@ input[type=radio]:checked:before {
|
||||
.wp-core-ui .button-primary {
|
||||
background: #e1a948;
|
||||
border-color: #d39323 #bd831f #bd831f;
|
||||
color: #fff;
|
||||
color: white;
|
||||
-webkit-box-shadow: 0 1px 0 #bd831f;
|
||||
box-shadow: 0 1px 0 #bd831f;
|
||||
text-shadow: 0 -1px 1px #bd831f, 1px 0 1px #bd831f, 0 1px 1px #bd831f, -1px 0 1px #bd831f;
|
||||
}
|
||||
@@ -49,17 +49,20 @@ input[type=radio]:checked:before {
|
||||
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
|
||||
background: #e3af55;
|
||||
border-color: #bd831f;
|
||||
color: #fff;
|
||||
color: white;
|
||||
-webkit-box-shadow: 0 1px 0 #bd831f;
|
||||
box-shadow: 0 1px 0 #bd831f;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
-webkit-box-shadow: inset 0 1px 0 #d39323, 0 0 2px 1px #33b3db;
|
||||
box-shadow: inset 0 1px 0 #d39323, 0 0 2px 1px #33b3db;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
|
||||
.wp-core-ui .button-primary:active {
|
||||
background: #d39323;
|
||||
border-color: #bd831f;
|
||||
-webkit-box-shadow: inset 0 2px 0 #bd831f;
|
||||
box-shadow: inset 0 2px 0 #bd831f;
|
||||
}
|
||||
|
||||
@@ -71,10 +74,12 @@ input[type=radio]:checked:before {
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero {
|
||||
-webkit-box-shadow: 0 2px 0 #bd831f !important;
|
||||
box-shadow: 0 2px 0 #bd831f !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero:active {
|
||||
-webkit-box-shadow: inset 0 3px 0 #bd831f !important;
|
||||
box-shadow: inset 0 3px 0 #bd831f !important;
|
||||
}
|
||||
|
||||
@@ -111,7 +116,9 @@ input[type=radio]:checked:before {
|
||||
|
||||
/* List tables */
|
||||
.wrap .add-new-h2:hover,
|
||||
.wrap .page-title-action:hover {
|
||||
.wrap .page-title-action:hover,
|
||||
.tablenav .tablenav-pages a:hover,
|
||||
.tablenav .tablenav-pages a:focus {
|
||||
color: #fff;
|
||||
background-color: #52accc;
|
||||
}
|
||||
@@ -252,12 +259,19 @@ ul#adminmenu > li.current > a.current:after {
|
||||
}
|
||||
|
||||
/* Admin Menu: collapse button */
|
||||
#collapse-button {
|
||||
#collapse-menu {
|
||||
color: #e5f8ff;
|
||||
}
|
||||
|
||||
#collapse-button:hover,
|
||||
#collapse-button:focus {
|
||||
#collapse-menu:hover {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#collapse-button div:after {
|
||||
color: #e5f8ff;
|
||||
}
|
||||
|
||||
#collapse-menu:hover #collapse-button div:after {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
@@ -338,7 +352,6 @@ ul#adminmenu > li.current > a.current:after {
|
||||
#wpadminbar li:hover .ab-item:before,
|
||||
#wpadminbar li a:focus .ab-icon:before,
|
||||
#wpadminbar li .ab-item:focus:before,
|
||||
#wpadminbar li .ab-item:focus .ab-icon:before,
|
||||
#wpadminbar li.hover .ab-icon:before,
|
||||
#wpadminbar li.hover .ab-item:before,
|
||||
#wpadminbar li:hover #adminbarsearch:before,
|
||||
@@ -412,16 +425,19 @@ ul#adminmenu > li.current > a.current:after {
|
||||
}
|
||||
|
||||
.details.attachment {
|
||||
-webkit-box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #096484;
|
||||
box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #096484;
|
||||
}
|
||||
|
||||
.attachment.details .check {
|
||||
background-color: #096484;
|
||||
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px #096484;
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 2px #096484;
|
||||
}
|
||||
|
||||
.media-selection .attachment.selection.details .thumbnail {
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #096484;
|
||||
-webkit-box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #096484;
|
||||
box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #096484;
|
||||
}
|
||||
|
||||
/* Themes */
|
||||
@@ -472,6 +488,16 @@ body.more-filters-opened .more-filters:focus:before {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/* Customize */
|
||||
#customize-theme-controls .widget-area-select .selected {
|
||||
background-color: #096484;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#customize-footer-actions .devices button:focus {
|
||||
border-bottom-color: #096484;
|
||||
}
|
||||
|
||||
/* Responsive Component */
|
||||
div#wp-responsive-toggle a:before {
|
||||
color: #e5f8ff;
|
||||
|
||||
3
wp-admin/css/colors/blue/colors.min.css
vendored
3
wp-admin/css/colors/blue/colors.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -1,9 +1,8 @@
|
||||
/*! This file is auto-generated */
|
||||
/*
|
||||
* Button mixin- creates 3d-ish button effect with correct
|
||||
* highlights/shadows, based on a base color.
|
||||
*/
|
||||
body {
|
||||
html {
|
||||
background: #f1f1f1;
|
||||
}
|
||||
|
||||
@@ -41,7 +40,8 @@ input[type=radio]:checked:before {
|
||||
.wp-core-ui .button-primary {
|
||||
background: #c7a589;
|
||||
border-color: #b78b66 #ae7d55 #ae7d55;
|
||||
color: #fff;
|
||||
color: white;
|
||||
-webkit-box-shadow: 0 1px 0 #ae7d55;
|
||||
box-shadow: 0 1px 0 #ae7d55;
|
||||
text-shadow: 0 -1px 1px #ae7d55, -1px 0 1px #ae7d55, 0 1px 1px #ae7d55, 1px 0 1px #ae7d55;
|
||||
}
|
||||
@@ -49,17 +49,20 @@ input[type=radio]:checked:before {
|
||||
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
|
||||
background: #ccad93;
|
||||
border-color: #ae7d55;
|
||||
color: #fff;
|
||||
color: white;
|
||||
-webkit-box-shadow: 0 1px 0 #ae7d55;
|
||||
box-shadow: 0 1px 0 #ae7d55;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
-webkit-box-shadow: inset 0 1px 0 #b78b66, 0 0 2px 1px #33b3db;
|
||||
box-shadow: inset 0 1px 0 #b78b66, 0 0 2px 1px #33b3db;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
|
||||
.wp-core-ui .button-primary:active {
|
||||
background: #b78b66;
|
||||
border-color: #ae7d55;
|
||||
-webkit-box-shadow: inset 0 2px 0 #ae7d55;
|
||||
box-shadow: inset 0 2px 0 #ae7d55;
|
||||
}
|
||||
|
||||
@@ -71,10 +74,12 @@ input[type=radio]:checked:before {
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero {
|
||||
-webkit-box-shadow: 0 2px 0 #ae7d55 !important;
|
||||
box-shadow: 0 2px 0 #ae7d55 !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero:active {
|
||||
-webkit-box-shadow: inset 0 3px 0 #ae7d55 !important;
|
||||
box-shadow: inset 0 3px 0 #ae7d55 !important;
|
||||
}
|
||||
|
||||
@@ -111,7 +116,9 @@ input[type=radio]:checked:before {
|
||||
|
||||
/* List tables */
|
||||
.wrap .add-new-h2:hover,
|
||||
.wrap .page-title-action:hover {
|
||||
.wrap .page-title-action:hover,
|
||||
.tablenav .tablenav-pages a:hover,
|
||||
.tablenav .tablenav-pages a:focus {
|
||||
color: #fff;
|
||||
background-color: #59524c;
|
||||
}
|
||||
@@ -252,13 +259,20 @@ ul#adminmenu > li.current > a.current:after {
|
||||
}
|
||||
|
||||
/* Admin Menu: collapse button */
|
||||
#collapse-button {
|
||||
#collapse-menu {
|
||||
color: #f3f2f1;
|
||||
}
|
||||
|
||||
#collapse-button:hover,
|
||||
#collapse-button:focus {
|
||||
color: #c7a589;
|
||||
#collapse-menu:hover {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#collapse-button div:after {
|
||||
color: #f3f2f1;
|
||||
}
|
||||
|
||||
#collapse-menu:hover #collapse-button div:after {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/* Admin Bar */
|
||||
@@ -338,7 +352,6 @@ ul#adminmenu > li.current > a.current:after {
|
||||
#wpadminbar li:hover .ab-item:before,
|
||||
#wpadminbar li a:focus .ab-icon:before,
|
||||
#wpadminbar li .ab-item:focus:before,
|
||||
#wpadminbar li .ab-item:focus .ab-icon:before,
|
||||
#wpadminbar li.hover .ab-icon:before,
|
||||
#wpadminbar li.hover .ab-item:before,
|
||||
#wpadminbar li:hover #adminbarsearch:before,
|
||||
@@ -412,16 +425,19 @@ ul#adminmenu > li.current > a.current:after {
|
||||
}
|
||||
|
||||
.details.attachment {
|
||||
-webkit-box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #c7a589;
|
||||
box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #c7a589;
|
||||
}
|
||||
|
||||
.attachment.details .check {
|
||||
background-color: #c7a589;
|
||||
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px #c7a589;
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 2px #c7a589;
|
||||
}
|
||||
|
||||
.media-selection .attachment.selection.details .thumbnail {
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #c7a589;
|
||||
-webkit-box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #c7a589;
|
||||
box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #c7a589;
|
||||
}
|
||||
|
||||
/* Themes */
|
||||
@@ -472,6 +488,16 @@ body.more-filters-opened .more-filters:focus:before {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/* Customize */
|
||||
#customize-theme-controls .widget-area-select .selected {
|
||||
background-color: #c7a589;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#customize-footer-actions .devices button:focus {
|
||||
border-bottom-color: #c7a589;
|
||||
}
|
||||
|
||||
/* Responsive Component */
|
||||
div#wp-responsive-toggle a:before {
|
||||
color: #f3f2f1;
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,9 +1,8 @@
|
||||
/*! This file is auto-generated */
|
||||
/*
|
||||
* Button mixin- creates 3d-ish button effect with correct
|
||||
* highlights/shadows, based on a base color.
|
||||
*/
|
||||
body {
|
||||
html {
|
||||
background: #f1f1f1;
|
||||
}
|
||||
|
||||
@@ -41,7 +40,8 @@ input[type=radio]:checked:before {
|
||||
.wp-core-ui .button-primary {
|
||||
background: #c7a589;
|
||||
border-color: #b78b66 #ae7d55 #ae7d55;
|
||||
color: #fff;
|
||||
color: white;
|
||||
-webkit-box-shadow: 0 1px 0 #ae7d55;
|
||||
box-shadow: 0 1px 0 #ae7d55;
|
||||
text-shadow: 0 -1px 1px #ae7d55, 1px 0 1px #ae7d55, 0 1px 1px #ae7d55, -1px 0 1px #ae7d55;
|
||||
}
|
||||
@@ -49,17 +49,20 @@ input[type=radio]:checked:before {
|
||||
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
|
||||
background: #ccad93;
|
||||
border-color: #ae7d55;
|
||||
color: #fff;
|
||||
color: white;
|
||||
-webkit-box-shadow: 0 1px 0 #ae7d55;
|
||||
box-shadow: 0 1px 0 #ae7d55;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
-webkit-box-shadow: inset 0 1px 0 #b78b66, 0 0 2px 1px #33b3db;
|
||||
box-shadow: inset 0 1px 0 #b78b66, 0 0 2px 1px #33b3db;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
|
||||
.wp-core-ui .button-primary:active {
|
||||
background: #b78b66;
|
||||
border-color: #ae7d55;
|
||||
-webkit-box-shadow: inset 0 2px 0 #ae7d55;
|
||||
box-shadow: inset 0 2px 0 #ae7d55;
|
||||
}
|
||||
|
||||
@@ -71,10 +74,12 @@ input[type=radio]:checked:before {
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero {
|
||||
-webkit-box-shadow: 0 2px 0 #ae7d55 !important;
|
||||
box-shadow: 0 2px 0 #ae7d55 !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero:active {
|
||||
-webkit-box-shadow: inset 0 3px 0 #ae7d55 !important;
|
||||
box-shadow: inset 0 3px 0 #ae7d55 !important;
|
||||
}
|
||||
|
||||
@@ -111,7 +116,9 @@ input[type=radio]:checked:before {
|
||||
|
||||
/* List tables */
|
||||
.wrap .add-new-h2:hover,
|
||||
.wrap .page-title-action:hover {
|
||||
.wrap .page-title-action:hover,
|
||||
.tablenav .tablenav-pages a:hover,
|
||||
.tablenav .tablenav-pages a:focus {
|
||||
color: #fff;
|
||||
background-color: #59524c;
|
||||
}
|
||||
@@ -252,13 +259,20 @@ ul#adminmenu > li.current > a.current:after {
|
||||
}
|
||||
|
||||
/* Admin Menu: collapse button */
|
||||
#collapse-button {
|
||||
#collapse-menu {
|
||||
color: #f3f2f1;
|
||||
}
|
||||
|
||||
#collapse-button:hover,
|
||||
#collapse-button:focus {
|
||||
color: #c7a589;
|
||||
#collapse-menu:hover {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#collapse-button div:after {
|
||||
color: #f3f2f1;
|
||||
}
|
||||
|
||||
#collapse-menu:hover #collapse-button div:after {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/* Admin Bar */
|
||||
@@ -338,7 +352,6 @@ ul#adminmenu > li.current > a.current:after {
|
||||
#wpadminbar li:hover .ab-item:before,
|
||||
#wpadminbar li a:focus .ab-icon:before,
|
||||
#wpadminbar li .ab-item:focus:before,
|
||||
#wpadminbar li .ab-item:focus .ab-icon:before,
|
||||
#wpadminbar li.hover .ab-icon:before,
|
||||
#wpadminbar li.hover .ab-item:before,
|
||||
#wpadminbar li:hover #adminbarsearch:before,
|
||||
@@ -412,16 +425,19 @@ ul#adminmenu > li.current > a.current:after {
|
||||
}
|
||||
|
||||
.details.attachment {
|
||||
-webkit-box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #c7a589;
|
||||
box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #c7a589;
|
||||
}
|
||||
|
||||
.attachment.details .check {
|
||||
background-color: #c7a589;
|
||||
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px #c7a589;
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 2px #c7a589;
|
||||
}
|
||||
|
||||
.media-selection .attachment.selection.details .thumbnail {
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #c7a589;
|
||||
-webkit-box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #c7a589;
|
||||
box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #c7a589;
|
||||
}
|
||||
|
||||
/* Themes */
|
||||
@@ -472,6 +488,16 @@ body.more-filters-opened .more-filters:focus:before {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/* Customize */
|
||||
#customize-theme-controls .widget-area-select .selected {
|
||||
background-color: #c7a589;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#customize-footer-actions .devices button:focus {
|
||||
border-bottom-color: #c7a589;
|
||||
}
|
||||
|
||||
/* Responsive Component */
|
||||
div#wp-responsive-toggle a:before {
|
||||
color: #f3f2f1;
|
||||
|
||||
3
wp-admin/css/colors/coffee/colors.min.css
vendored
3
wp-admin/css/colors/coffee/colors.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -1,9 +1,8 @@
|
||||
/*! This file is auto-generated */
|
||||
/*
|
||||
* Button mixin- creates 3d-ish button effect with correct
|
||||
* highlights/shadows, based on a base color.
|
||||
*/
|
||||
body {
|
||||
html {
|
||||
background: #f1f1f1;
|
||||
}
|
||||
|
||||
@@ -41,7 +40,8 @@ input[type=radio]:checked:before {
|
||||
.wp-core-ui .button-primary {
|
||||
background: #a3b745;
|
||||
border-color: #829237 #727f30 #727f30;
|
||||
color: #fff;
|
||||
color: white;
|
||||
-webkit-box-shadow: 0 1px 0 #727f30;
|
||||
box-shadow: 0 1px 0 #727f30;
|
||||
text-shadow: 0 -1px 1px #727f30, -1px 0 1px #727f30, 0 1px 1px #727f30, 1px 0 1px #727f30;
|
||||
}
|
||||
@@ -49,17 +49,20 @@ input[type=radio]:checked:before {
|
||||
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
|
||||
background: #a9bd4f;
|
||||
border-color: #727f30;
|
||||
color: #fff;
|
||||
color: white;
|
||||
-webkit-box-shadow: 0 1px 0 #727f30;
|
||||
box-shadow: 0 1px 0 #727f30;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
-webkit-box-shadow: inset 0 1px 0 #829237, 0 0 2px 1px #33b3db;
|
||||
box-shadow: inset 0 1px 0 #829237, 0 0 2px 1px #33b3db;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
|
||||
.wp-core-ui .button-primary:active {
|
||||
background: #829237;
|
||||
border-color: #727f30;
|
||||
-webkit-box-shadow: inset 0 2px 0 #727f30;
|
||||
box-shadow: inset 0 2px 0 #727f30;
|
||||
}
|
||||
|
||||
@@ -71,10 +74,12 @@ input[type=radio]:checked:before {
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero {
|
||||
-webkit-box-shadow: 0 2px 0 #727f30 !important;
|
||||
box-shadow: 0 2px 0 #727f30 !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero:active {
|
||||
-webkit-box-shadow: inset 0 3px 0 #727f30 !important;
|
||||
box-shadow: inset 0 3px 0 #727f30 !important;
|
||||
}
|
||||
|
||||
@@ -111,7 +116,9 @@ input[type=radio]:checked:before {
|
||||
|
||||
/* List tables */
|
||||
.wrap .add-new-h2:hover,
|
||||
.wrap .page-title-action:hover {
|
||||
.wrap .page-title-action:hover,
|
||||
.tablenav .tablenav-pages a:hover,
|
||||
.tablenav .tablenav-pages a:focus {
|
||||
color: #fff;
|
||||
background-color: #523f6d;
|
||||
}
|
||||
@@ -252,13 +259,20 @@ ul#adminmenu > li.current > a.current:after {
|
||||
}
|
||||
|
||||
/* Admin Menu: collapse button */
|
||||
#collapse-button {
|
||||
#collapse-menu {
|
||||
color: #ece6f6;
|
||||
}
|
||||
|
||||
#collapse-button:hover,
|
||||
#collapse-button:focus {
|
||||
color: #a3b745;
|
||||
#collapse-menu:hover {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#collapse-button div:after {
|
||||
color: #ece6f6;
|
||||
}
|
||||
|
||||
#collapse-menu:hover #collapse-button div:after {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/* Admin Bar */
|
||||
@@ -338,7 +352,6 @@ ul#adminmenu > li.current > a.current:after {
|
||||
#wpadminbar li:hover .ab-item:before,
|
||||
#wpadminbar li a:focus .ab-icon:before,
|
||||
#wpadminbar li .ab-item:focus:before,
|
||||
#wpadminbar li .ab-item:focus .ab-icon:before,
|
||||
#wpadminbar li.hover .ab-icon:before,
|
||||
#wpadminbar li.hover .ab-item:before,
|
||||
#wpadminbar li:hover #adminbarsearch:before,
|
||||
@@ -412,16 +425,19 @@ ul#adminmenu > li.current > a.current:after {
|
||||
}
|
||||
|
||||
.details.attachment {
|
||||
-webkit-box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #a3b745;
|
||||
box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #a3b745;
|
||||
}
|
||||
|
||||
.attachment.details .check {
|
||||
background-color: #a3b745;
|
||||
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px #a3b745;
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 2px #a3b745;
|
||||
}
|
||||
|
||||
.media-selection .attachment.selection.details .thumbnail {
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #a3b745;
|
||||
-webkit-box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #a3b745;
|
||||
box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #a3b745;
|
||||
}
|
||||
|
||||
/* Themes */
|
||||
@@ -472,6 +488,16 @@ body.more-filters-opened .more-filters:focus:before {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/* Customize */
|
||||
#customize-theme-controls .widget-area-select .selected {
|
||||
background-color: #a3b745;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#customize-footer-actions .devices button:focus {
|
||||
border-bottom-color: #a3b745;
|
||||
}
|
||||
|
||||
/* Responsive Component */
|
||||
div#wp-responsive-toggle a:before {
|
||||
color: #ece6f6;
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,9 +1,8 @@
|
||||
/*! This file is auto-generated */
|
||||
/*
|
||||
* Button mixin- creates 3d-ish button effect with correct
|
||||
* highlights/shadows, based on a base color.
|
||||
*/
|
||||
body {
|
||||
html {
|
||||
background: #f1f1f1;
|
||||
}
|
||||
|
||||
@@ -41,7 +40,8 @@ input[type=radio]:checked:before {
|
||||
.wp-core-ui .button-primary {
|
||||
background: #a3b745;
|
||||
border-color: #829237 #727f30 #727f30;
|
||||
color: #fff;
|
||||
color: white;
|
||||
-webkit-box-shadow: 0 1px 0 #727f30;
|
||||
box-shadow: 0 1px 0 #727f30;
|
||||
text-shadow: 0 -1px 1px #727f30, 1px 0 1px #727f30, 0 1px 1px #727f30, -1px 0 1px #727f30;
|
||||
}
|
||||
@@ -49,17 +49,20 @@ input[type=radio]:checked:before {
|
||||
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
|
||||
background: #a9bd4f;
|
||||
border-color: #727f30;
|
||||
color: #fff;
|
||||
color: white;
|
||||
-webkit-box-shadow: 0 1px 0 #727f30;
|
||||
box-shadow: 0 1px 0 #727f30;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
-webkit-box-shadow: inset 0 1px 0 #829237, 0 0 2px 1px #33b3db;
|
||||
box-shadow: inset 0 1px 0 #829237, 0 0 2px 1px #33b3db;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
|
||||
.wp-core-ui .button-primary:active {
|
||||
background: #829237;
|
||||
border-color: #727f30;
|
||||
-webkit-box-shadow: inset 0 2px 0 #727f30;
|
||||
box-shadow: inset 0 2px 0 #727f30;
|
||||
}
|
||||
|
||||
@@ -71,10 +74,12 @@ input[type=radio]:checked:before {
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero {
|
||||
-webkit-box-shadow: 0 2px 0 #727f30 !important;
|
||||
box-shadow: 0 2px 0 #727f30 !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero:active {
|
||||
-webkit-box-shadow: inset 0 3px 0 #727f30 !important;
|
||||
box-shadow: inset 0 3px 0 #727f30 !important;
|
||||
}
|
||||
|
||||
@@ -111,7 +116,9 @@ input[type=radio]:checked:before {
|
||||
|
||||
/* List tables */
|
||||
.wrap .add-new-h2:hover,
|
||||
.wrap .page-title-action:hover {
|
||||
.wrap .page-title-action:hover,
|
||||
.tablenav .tablenav-pages a:hover,
|
||||
.tablenav .tablenav-pages a:focus {
|
||||
color: #fff;
|
||||
background-color: #523f6d;
|
||||
}
|
||||
@@ -252,13 +259,20 @@ ul#adminmenu > li.current > a.current:after {
|
||||
}
|
||||
|
||||
/* Admin Menu: collapse button */
|
||||
#collapse-button {
|
||||
#collapse-menu {
|
||||
color: #ece6f6;
|
||||
}
|
||||
|
||||
#collapse-button:hover,
|
||||
#collapse-button:focus {
|
||||
color: #a3b745;
|
||||
#collapse-menu:hover {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#collapse-button div:after {
|
||||
color: #ece6f6;
|
||||
}
|
||||
|
||||
#collapse-menu:hover #collapse-button div:after {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/* Admin Bar */
|
||||
@@ -338,7 +352,6 @@ ul#adminmenu > li.current > a.current:after {
|
||||
#wpadminbar li:hover .ab-item:before,
|
||||
#wpadminbar li a:focus .ab-icon:before,
|
||||
#wpadminbar li .ab-item:focus:before,
|
||||
#wpadminbar li .ab-item:focus .ab-icon:before,
|
||||
#wpadminbar li.hover .ab-icon:before,
|
||||
#wpadminbar li.hover .ab-item:before,
|
||||
#wpadminbar li:hover #adminbarsearch:before,
|
||||
@@ -412,16 +425,19 @@ ul#adminmenu > li.current > a.current:after {
|
||||
}
|
||||
|
||||
.details.attachment {
|
||||
-webkit-box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #a3b745;
|
||||
box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #a3b745;
|
||||
}
|
||||
|
||||
.attachment.details .check {
|
||||
background-color: #a3b745;
|
||||
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px #a3b745;
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 2px #a3b745;
|
||||
}
|
||||
|
||||
.media-selection .attachment.selection.details .thumbnail {
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #a3b745;
|
||||
-webkit-box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #a3b745;
|
||||
box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #a3b745;
|
||||
}
|
||||
|
||||
/* Themes */
|
||||
@@ -472,6 +488,16 @@ body.more-filters-opened .more-filters:focus:before {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/* Customize */
|
||||
#customize-theme-controls .widget-area-select .selected {
|
||||
background-color: #a3b745;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#customize-footer-actions .devices button:focus {
|
||||
border-bottom-color: #a3b745;
|
||||
}
|
||||
|
||||
/* Responsive Component */
|
||||
div#wp-responsive-toggle a:before {
|
||||
color: #ece6f6;
|
||||
|
||||
3
wp-admin/css/colors/ectoplasm/colors.min.css
vendored
3
wp-admin/css/colors/ectoplasm/colors.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -1,9 +1,8 @@
|
||||
/*! This file is auto-generated */
|
||||
/*
|
||||
* Button mixin- creates 3d-ish button effect with correct
|
||||
* highlights/shadows, based on a base color.
|
||||
*/
|
||||
body {
|
||||
html {
|
||||
background: #f5f5f5;
|
||||
}
|
||||
|
||||
@@ -41,7 +40,8 @@ input[type=radio]:checked:before {
|
||||
.wp-core-ui .button-primary {
|
||||
background: #04a4cc;
|
||||
border-color: #037c9a #036881 #036881;
|
||||
color: #fff;
|
||||
color: white;
|
||||
-webkit-box-shadow: 0 1px 0 #036881;
|
||||
box-shadow: 0 1px 0 #036881;
|
||||
text-shadow: 0 -1px 1px #036881, -1px 0 1px #036881, 0 1px 1px #036881, 1px 0 1px #036881;
|
||||
}
|
||||
@@ -49,17 +49,20 @@ input[type=radio]:checked:before {
|
||||
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
|
||||
background: #04b0db;
|
||||
border-color: #036881;
|
||||
color: #fff;
|
||||
color: white;
|
||||
-webkit-box-shadow: 0 1px 0 #036881;
|
||||
box-shadow: 0 1px 0 #036881;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
-webkit-box-shadow: inset 0 1px 0 #037c9a, 0 0 2px 1px #33b3db;
|
||||
box-shadow: inset 0 1px 0 #037c9a, 0 0 2px 1px #33b3db;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
|
||||
.wp-core-ui .button-primary:active {
|
||||
background: #037c9a;
|
||||
border-color: #036881;
|
||||
-webkit-box-shadow: inset 0 2px 0 #036881;
|
||||
box-shadow: inset 0 2px 0 #036881;
|
||||
}
|
||||
|
||||
@@ -71,10 +74,12 @@ input[type=radio]:checked:before {
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero {
|
||||
-webkit-box-shadow: 0 2px 0 #036881 !important;
|
||||
box-shadow: 0 2px 0 #036881 !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero:active {
|
||||
-webkit-box-shadow: inset 0 3px 0 #036881 !important;
|
||||
box-shadow: inset 0 3px 0 #036881 !important;
|
||||
}
|
||||
|
||||
@@ -111,7 +116,9 @@ input[type=radio]:checked:before {
|
||||
|
||||
/* List tables */
|
||||
.wrap .add-new-h2:hover,
|
||||
.wrap .page-title-action:hover {
|
||||
.wrap .page-title-action:hover,
|
||||
.tablenav .tablenav-pages a:hover,
|
||||
.tablenav .tablenav-pages a:focus {
|
||||
color: #333;
|
||||
background-color: #e5e5e5;
|
||||
}
|
||||
@@ -252,13 +259,20 @@ ul#adminmenu > li.current > a.current:after {
|
||||
}
|
||||
|
||||
/* Admin Menu: collapse button */
|
||||
#collapse-button {
|
||||
#collapse-menu {
|
||||
color: #777;
|
||||
}
|
||||
|
||||
#collapse-button:hover,
|
||||
#collapse-button:focus {
|
||||
color: #04a4cc;
|
||||
#collapse-menu:hover {
|
||||
color: #333;
|
||||
}
|
||||
|
||||
#collapse-button div:after {
|
||||
color: #999;
|
||||
}
|
||||
|
||||
#collapse-menu:hover #collapse-button div:after {
|
||||
color: #555;
|
||||
}
|
||||
|
||||
/* Admin Bar */
|
||||
@@ -338,7 +352,6 @@ ul#adminmenu > li.current > a.current:after {
|
||||
#wpadminbar li:hover .ab-item:before,
|
||||
#wpadminbar li a:focus .ab-icon:before,
|
||||
#wpadminbar li .ab-item:focus:before,
|
||||
#wpadminbar li .ab-item:focus .ab-icon:before,
|
||||
#wpadminbar li.hover .ab-icon:before,
|
||||
#wpadminbar li.hover .ab-item:before,
|
||||
#wpadminbar li:hover #adminbarsearch:before,
|
||||
@@ -412,16 +425,19 @@ ul#adminmenu > li.current > a.current:after {
|
||||
}
|
||||
|
||||
.details.attachment {
|
||||
-webkit-box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #04a4cc;
|
||||
box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #04a4cc;
|
||||
}
|
||||
|
||||
.attachment.details .check {
|
||||
background-color: #04a4cc;
|
||||
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px #04a4cc;
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 2px #04a4cc;
|
||||
}
|
||||
|
||||
.media-selection .attachment.selection.details .thumbnail {
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #04a4cc;
|
||||
-webkit-box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #04a4cc;
|
||||
box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #04a4cc;
|
||||
}
|
||||
|
||||
/* Themes */
|
||||
@@ -472,6 +488,16 @@ body.more-filters-opened .more-filters:focus:before {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/* Customize */
|
||||
#customize-theme-controls .widget-area-select .selected {
|
||||
background-color: #888;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#customize-footer-actions .devices button:focus {
|
||||
border-bottom-color: #04a4cc;
|
||||
}
|
||||
|
||||
/* Responsive Component */
|
||||
div#wp-responsive-toggle a:before {
|
||||
color: #999;
|
||||
|
||||
3
wp-admin/css/colors/light/colors-rtl.min.css
vendored
3
wp-admin/css/colors/light/colors-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -1,9 +1,8 @@
|
||||
/*! This file is auto-generated */
|
||||
/*
|
||||
* Button mixin- creates 3d-ish button effect with correct
|
||||
* highlights/shadows, based on a base color.
|
||||
*/
|
||||
body {
|
||||
html {
|
||||
background: #f5f5f5;
|
||||
}
|
||||
|
||||
@@ -41,7 +40,8 @@ input[type=radio]:checked:before {
|
||||
.wp-core-ui .button-primary {
|
||||
background: #04a4cc;
|
||||
border-color: #037c9a #036881 #036881;
|
||||
color: #fff;
|
||||
color: white;
|
||||
-webkit-box-shadow: 0 1px 0 #036881;
|
||||
box-shadow: 0 1px 0 #036881;
|
||||
text-shadow: 0 -1px 1px #036881, 1px 0 1px #036881, 0 1px 1px #036881, -1px 0 1px #036881;
|
||||
}
|
||||
@@ -49,17 +49,20 @@ input[type=radio]:checked:before {
|
||||
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
|
||||
background: #04b0db;
|
||||
border-color: #036881;
|
||||
color: #fff;
|
||||
color: white;
|
||||
-webkit-box-shadow: 0 1px 0 #036881;
|
||||
box-shadow: 0 1px 0 #036881;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
-webkit-box-shadow: inset 0 1px 0 #037c9a, 0 0 2px 1px #33b3db;
|
||||
box-shadow: inset 0 1px 0 #037c9a, 0 0 2px 1px #33b3db;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
|
||||
.wp-core-ui .button-primary:active {
|
||||
background: #037c9a;
|
||||
border-color: #036881;
|
||||
-webkit-box-shadow: inset 0 2px 0 #036881;
|
||||
box-shadow: inset 0 2px 0 #036881;
|
||||
}
|
||||
|
||||
@@ -71,10 +74,12 @@ input[type=radio]:checked:before {
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero {
|
||||
-webkit-box-shadow: 0 2px 0 #036881 !important;
|
||||
box-shadow: 0 2px 0 #036881 !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero:active {
|
||||
-webkit-box-shadow: inset 0 3px 0 #036881 !important;
|
||||
box-shadow: inset 0 3px 0 #036881 !important;
|
||||
}
|
||||
|
||||
@@ -111,7 +116,9 @@ input[type=radio]:checked:before {
|
||||
|
||||
/* List tables */
|
||||
.wrap .add-new-h2:hover,
|
||||
.wrap .page-title-action:hover {
|
||||
.wrap .page-title-action:hover,
|
||||
.tablenav .tablenav-pages a:hover,
|
||||
.tablenav .tablenav-pages a:focus {
|
||||
color: #333;
|
||||
background-color: #e5e5e5;
|
||||
}
|
||||
@@ -252,13 +259,20 @@ ul#adminmenu > li.current > a.current:after {
|
||||
}
|
||||
|
||||
/* Admin Menu: collapse button */
|
||||
#collapse-button {
|
||||
#collapse-menu {
|
||||
color: #777;
|
||||
}
|
||||
|
||||
#collapse-button:hover,
|
||||
#collapse-button:focus {
|
||||
color: #04a4cc;
|
||||
#collapse-menu:hover {
|
||||
color: #333;
|
||||
}
|
||||
|
||||
#collapse-button div:after {
|
||||
color: #999;
|
||||
}
|
||||
|
||||
#collapse-menu:hover #collapse-button div:after {
|
||||
color: #555;
|
||||
}
|
||||
|
||||
/* Admin Bar */
|
||||
@@ -338,7 +352,6 @@ ul#adminmenu > li.current > a.current:after {
|
||||
#wpadminbar li:hover .ab-item:before,
|
||||
#wpadminbar li a:focus .ab-icon:before,
|
||||
#wpadminbar li .ab-item:focus:before,
|
||||
#wpadminbar li .ab-item:focus .ab-icon:before,
|
||||
#wpadminbar li.hover .ab-icon:before,
|
||||
#wpadminbar li.hover .ab-item:before,
|
||||
#wpadminbar li:hover #adminbarsearch:before,
|
||||
@@ -412,16 +425,19 @@ ul#adminmenu > li.current > a.current:after {
|
||||
}
|
||||
|
||||
.details.attachment {
|
||||
-webkit-box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #04a4cc;
|
||||
box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #04a4cc;
|
||||
}
|
||||
|
||||
.attachment.details .check {
|
||||
background-color: #04a4cc;
|
||||
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px #04a4cc;
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 2px #04a4cc;
|
||||
}
|
||||
|
||||
.media-selection .attachment.selection.details .thumbnail {
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #04a4cc;
|
||||
-webkit-box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #04a4cc;
|
||||
box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #04a4cc;
|
||||
}
|
||||
|
||||
/* Themes */
|
||||
@@ -472,6 +488,16 @@ body.more-filters-opened .more-filters:focus:before {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/* Customize */
|
||||
#customize-theme-controls .widget-area-select .selected {
|
||||
background-color: #888;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#customize-footer-actions .devices button:focus {
|
||||
border-bottom-color: #04a4cc;
|
||||
}
|
||||
|
||||
/* Responsive Component */
|
||||
div#wp-responsive-toggle a:before {
|
||||
color: #999;
|
||||
|
||||
3
wp-admin/css/colors/light/colors.min.css
vendored
3
wp-admin/css/colors/light/colors.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -1,9 +1,8 @@
|
||||
/*! This file is auto-generated */
|
||||
/*
|
||||
* Button mixin- creates 3d-ish button effect with correct
|
||||
* highlights/shadows, based on a base color.
|
||||
*/
|
||||
body {
|
||||
html {
|
||||
background: #f1f1f1;
|
||||
}
|
||||
|
||||
@@ -41,7 +40,8 @@ input[type=radio]:checked:before {
|
||||
.wp-core-ui .button-primary {
|
||||
background: #e14d43;
|
||||
border-color: #d02c21 #ba281e #ba281e;
|
||||
color: #fff;
|
||||
color: white;
|
||||
-webkit-box-shadow: 0 1px 0 #ba281e;
|
||||
box-shadow: 0 1px 0 #ba281e;
|
||||
text-shadow: 0 -1px 1px #ba281e, -1px 0 1px #ba281e, 0 1px 1px #ba281e, 1px 0 1px #ba281e;
|
||||
}
|
||||
@@ -49,17 +49,20 @@ input[type=radio]:checked:before {
|
||||
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
|
||||
background: #e35950;
|
||||
border-color: #ba281e;
|
||||
color: #fff;
|
||||
color: white;
|
||||
-webkit-box-shadow: 0 1px 0 #ba281e;
|
||||
box-shadow: 0 1px 0 #ba281e;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
-webkit-box-shadow: inset 0 1px 0 #d02c21, 0 0 2px 1px #33b3db;
|
||||
box-shadow: inset 0 1px 0 #d02c21, 0 0 2px 1px #33b3db;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
|
||||
.wp-core-ui .button-primary:active {
|
||||
background: #d02c21;
|
||||
border-color: #ba281e;
|
||||
-webkit-box-shadow: inset 0 2px 0 #ba281e;
|
||||
box-shadow: inset 0 2px 0 #ba281e;
|
||||
}
|
||||
|
||||
@@ -71,10 +74,12 @@ input[type=radio]:checked:before {
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero {
|
||||
-webkit-box-shadow: 0 2px 0 #ba281e !important;
|
||||
box-shadow: 0 2px 0 #ba281e !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero:active {
|
||||
-webkit-box-shadow: inset 0 3px 0 #ba281e !important;
|
||||
box-shadow: inset 0 3px 0 #ba281e !important;
|
||||
}
|
||||
|
||||
@@ -111,7 +116,9 @@ input[type=radio]:checked:before {
|
||||
|
||||
/* List tables */
|
||||
.wrap .add-new-h2:hover,
|
||||
.wrap .page-title-action:hover {
|
||||
.wrap .page-title-action:hover,
|
||||
.tablenav .tablenav-pages a:hover,
|
||||
.tablenav .tablenav-pages a:focus {
|
||||
color: #fff;
|
||||
background-color: #363b3f;
|
||||
}
|
||||
@@ -252,13 +259,20 @@ ul#adminmenu > li.current > a.current:after {
|
||||
}
|
||||
|
||||
/* Admin Menu: collapse button */
|
||||
#collapse-button {
|
||||
#collapse-menu {
|
||||
color: #f1f2f3;
|
||||
}
|
||||
|
||||
#collapse-button:hover,
|
||||
#collapse-button:focus {
|
||||
color: #e14d43;
|
||||
#collapse-menu:hover {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#collapse-button div:after {
|
||||
color: #f1f2f3;
|
||||
}
|
||||
|
||||
#collapse-menu:hover #collapse-button div:after {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/* Admin Bar */
|
||||
@@ -338,7 +352,6 @@ ul#adminmenu > li.current > a.current:after {
|
||||
#wpadminbar li:hover .ab-item:before,
|
||||
#wpadminbar li a:focus .ab-icon:before,
|
||||
#wpadminbar li .ab-item:focus:before,
|
||||
#wpadminbar li .ab-item:focus .ab-icon:before,
|
||||
#wpadminbar li.hover .ab-icon:before,
|
||||
#wpadminbar li.hover .ab-item:before,
|
||||
#wpadminbar li:hover #adminbarsearch:before,
|
||||
@@ -412,16 +425,19 @@ ul#adminmenu > li.current > a.current:after {
|
||||
}
|
||||
|
||||
.details.attachment {
|
||||
-webkit-box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #e14d43;
|
||||
box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #e14d43;
|
||||
}
|
||||
|
||||
.attachment.details .check {
|
||||
background-color: #e14d43;
|
||||
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px #e14d43;
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 2px #e14d43;
|
||||
}
|
||||
|
||||
.media-selection .attachment.selection.details .thumbnail {
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #e14d43;
|
||||
-webkit-box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #e14d43;
|
||||
box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #e14d43;
|
||||
}
|
||||
|
||||
/* Themes */
|
||||
@@ -472,6 +488,16 @@ body.more-filters-opened .more-filters:focus:before {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/* Customize */
|
||||
#customize-theme-controls .widget-area-select .selected {
|
||||
background-color: #e14d43;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#customize-footer-actions .devices button:focus {
|
||||
border-bottom-color: #e14d43;
|
||||
}
|
||||
|
||||
/* Responsive Component */
|
||||
div#wp-responsive-toggle a:before {
|
||||
color: #f1f2f3;
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,9 +1,8 @@
|
||||
/*! This file is auto-generated */
|
||||
/*
|
||||
* Button mixin- creates 3d-ish button effect with correct
|
||||
* highlights/shadows, based on a base color.
|
||||
*/
|
||||
body {
|
||||
html {
|
||||
background: #f1f1f1;
|
||||
}
|
||||
|
||||
@@ -41,7 +40,8 @@ input[type=radio]:checked:before {
|
||||
.wp-core-ui .button-primary {
|
||||
background: #e14d43;
|
||||
border-color: #d02c21 #ba281e #ba281e;
|
||||
color: #fff;
|
||||
color: white;
|
||||
-webkit-box-shadow: 0 1px 0 #ba281e;
|
||||
box-shadow: 0 1px 0 #ba281e;
|
||||
text-shadow: 0 -1px 1px #ba281e, 1px 0 1px #ba281e, 0 1px 1px #ba281e, -1px 0 1px #ba281e;
|
||||
}
|
||||
@@ -49,17 +49,20 @@ input[type=radio]:checked:before {
|
||||
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
|
||||
background: #e35950;
|
||||
border-color: #ba281e;
|
||||
color: #fff;
|
||||
color: white;
|
||||
-webkit-box-shadow: 0 1px 0 #ba281e;
|
||||
box-shadow: 0 1px 0 #ba281e;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
-webkit-box-shadow: inset 0 1px 0 #d02c21, 0 0 2px 1px #33b3db;
|
||||
box-shadow: inset 0 1px 0 #d02c21, 0 0 2px 1px #33b3db;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
|
||||
.wp-core-ui .button-primary:active {
|
||||
background: #d02c21;
|
||||
border-color: #ba281e;
|
||||
-webkit-box-shadow: inset 0 2px 0 #ba281e;
|
||||
box-shadow: inset 0 2px 0 #ba281e;
|
||||
}
|
||||
|
||||
@@ -71,10 +74,12 @@ input[type=radio]:checked:before {
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero {
|
||||
-webkit-box-shadow: 0 2px 0 #ba281e !important;
|
||||
box-shadow: 0 2px 0 #ba281e !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero:active {
|
||||
-webkit-box-shadow: inset 0 3px 0 #ba281e !important;
|
||||
box-shadow: inset 0 3px 0 #ba281e !important;
|
||||
}
|
||||
|
||||
@@ -111,7 +116,9 @@ input[type=radio]:checked:before {
|
||||
|
||||
/* List tables */
|
||||
.wrap .add-new-h2:hover,
|
||||
.wrap .page-title-action:hover {
|
||||
.wrap .page-title-action:hover,
|
||||
.tablenav .tablenav-pages a:hover,
|
||||
.tablenav .tablenav-pages a:focus {
|
||||
color: #fff;
|
||||
background-color: #363b3f;
|
||||
}
|
||||
@@ -252,13 +259,20 @@ ul#adminmenu > li.current > a.current:after {
|
||||
}
|
||||
|
||||
/* Admin Menu: collapse button */
|
||||
#collapse-button {
|
||||
#collapse-menu {
|
||||
color: #f1f2f3;
|
||||
}
|
||||
|
||||
#collapse-button:hover,
|
||||
#collapse-button:focus {
|
||||
color: #e14d43;
|
||||
#collapse-menu:hover {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#collapse-button div:after {
|
||||
color: #f1f2f3;
|
||||
}
|
||||
|
||||
#collapse-menu:hover #collapse-button div:after {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/* Admin Bar */
|
||||
@@ -338,7 +352,6 @@ ul#adminmenu > li.current > a.current:after {
|
||||
#wpadminbar li:hover .ab-item:before,
|
||||
#wpadminbar li a:focus .ab-icon:before,
|
||||
#wpadminbar li .ab-item:focus:before,
|
||||
#wpadminbar li .ab-item:focus .ab-icon:before,
|
||||
#wpadminbar li.hover .ab-icon:before,
|
||||
#wpadminbar li.hover .ab-item:before,
|
||||
#wpadminbar li:hover #adminbarsearch:before,
|
||||
@@ -412,16 +425,19 @@ ul#adminmenu > li.current > a.current:after {
|
||||
}
|
||||
|
||||
.details.attachment {
|
||||
-webkit-box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #e14d43;
|
||||
box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #e14d43;
|
||||
}
|
||||
|
||||
.attachment.details .check {
|
||||
background-color: #e14d43;
|
||||
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px #e14d43;
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 2px #e14d43;
|
||||
}
|
||||
|
||||
.media-selection .attachment.selection.details .thumbnail {
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #e14d43;
|
||||
-webkit-box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #e14d43;
|
||||
box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #e14d43;
|
||||
}
|
||||
|
||||
/* Themes */
|
||||
@@ -472,6 +488,16 @@ body.more-filters-opened .more-filters:focus:before {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/* Customize */
|
||||
#customize-theme-controls .widget-area-select .selected {
|
||||
background-color: #e14d43;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#customize-footer-actions .devices button:focus {
|
||||
border-bottom-color: #e14d43;
|
||||
}
|
||||
|
||||
/* Responsive Component */
|
||||
div#wp-responsive-toggle a:before {
|
||||
color: #f1f2f3;
|
||||
|
||||
3
wp-admin/css/colors/midnight/colors.min.css
vendored
3
wp-admin/css/colors/midnight/colors.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -1,9 +1,8 @@
|
||||
/*! This file is auto-generated */
|
||||
/*
|
||||
* Button mixin- creates 3d-ish button effect with correct
|
||||
* highlights/shadows, based on a base color.
|
||||
*/
|
||||
body {
|
||||
html {
|
||||
background: #f1f1f1;
|
||||
}
|
||||
|
||||
@@ -41,7 +40,8 @@ input[type=radio]:checked:before {
|
||||
.wp-core-ui .button-primary {
|
||||
background: #9ebaa0;
|
||||
border-color: #80a583 #719a74 #719a74;
|
||||
color: #fff;
|
||||
color: white;
|
||||
-webkit-box-shadow: 0 1px 0 #719a74;
|
||||
box-shadow: 0 1px 0 #719a74;
|
||||
text-shadow: 0 -1px 1px #719a74, -1px 0 1px #719a74, 0 1px 1px #719a74, 1px 0 1px #719a74;
|
||||
}
|
||||
@@ -49,17 +49,20 @@ input[type=radio]:checked:before {
|
||||
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
|
||||
background: #a7c0a9;
|
||||
border-color: #719a74;
|
||||
color: #fff;
|
||||
color: white;
|
||||
-webkit-box-shadow: 0 1px 0 #719a74;
|
||||
box-shadow: 0 1px 0 #719a74;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
-webkit-box-shadow: inset 0 1px 0 #80a583, 0 0 2px 1px #33b3db;
|
||||
box-shadow: inset 0 1px 0 #80a583, 0 0 2px 1px #33b3db;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
|
||||
.wp-core-ui .button-primary:active {
|
||||
background: #80a583;
|
||||
border-color: #719a74;
|
||||
-webkit-box-shadow: inset 0 2px 0 #719a74;
|
||||
box-shadow: inset 0 2px 0 #719a74;
|
||||
}
|
||||
|
||||
@@ -71,10 +74,12 @@ input[type=radio]:checked:before {
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero {
|
||||
-webkit-box-shadow: 0 2px 0 #719a74 !important;
|
||||
box-shadow: 0 2px 0 #719a74 !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero:active {
|
||||
-webkit-box-shadow: inset 0 3px 0 #719a74 !important;
|
||||
box-shadow: inset 0 3px 0 #719a74 !important;
|
||||
}
|
||||
|
||||
@@ -111,7 +116,9 @@ input[type=radio]:checked:before {
|
||||
|
||||
/* List tables */
|
||||
.wrap .add-new-h2:hover,
|
||||
.wrap .page-title-action:hover {
|
||||
.wrap .page-title-action:hover,
|
||||
.tablenav .tablenav-pages a:hover,
|
||||
.tablenav .tablenav-pages a:focus {
|
||||
color: #fff;
|
||||
background-color: #738e96;
|
||||
}
|
||||
@@ -252,13 +259,20 @@ ul#adminmenu > li.current > a.current:after {
|
||||
}
|
||||
|
||||
/* Admin Menu: collapse button */
|
||||
#collapse-button {
|
||||
#collapse-menu {
|
||||
color: #f2fcff;
|
||||
}
|
||||
|
||||
#collapse-button:hover,
|
||||
#collapse-button:focus {
|
||||
color: #9ebaa0;
|
||||
#collapse-menu:hover {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#collapse-button div:after {
|
||||
color: #f2fcff;
|
||||
}
|
||||
|
||||
#collapse-menu:hover #collapse-button div:after {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/* Admin Bar */
|
||||
@@ -338,7 +352,6 @@ ul#adminmenu > li.current > a.current:after {
|
||||
#wpadminbar li:hover .ab-item:before,
|
||||
#wpadminbar li a:focus .ab-icon:before,
|
||||
#wpadminbar li .ab-item:focus:before,
|
||||
#wpadminbar li .ab-item:focus .ab-icon:before,
|
||||
#wpadminbar li.hover .ab-icon:before,
|
||||
#wpadminbar li.hover .ab-item:before,
|
||||
#wpadminbar li:hover #adminbarsearch:before,
|
||||
@@ -412,16 +425,19 @@ ul#adminmenu > li.current > a.current:after {
|
||||
}
|
||||
|
||||
.details.attachment {
|
||||
-webkit-box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #9ebaa0;
|
||||
box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #9ebaa0;
|
||||
}
|
||||
|
||||
.attachment.details .check {
|
||||
background-color: #9ebaa0;
|
||||
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px #9ebaa0;
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 2px #9ebaa0;
|
||||
}
|
||||
|
||||
.media-selection .attachment.selection.details .thumbnail {
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #9ebaa0;
|
||||
-webkit-box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #9ebaa0;
|
||||
box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #9ebaa0;
|
||||
}
|
||||
|
||||
/* Themes */
|
||||
@@ -472,6 +488,16 @@ body.more-filters-opened .more-filters:focus:before {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/* Customize */
|
||||
#customize-theme-controls .widget-area-select .selected {
|
||||
background-color: #9ebaa0;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#customize-footer-actions .devices button:focus {
|
||||
border-bottom-color: #9ebaa0;
|
||||
}
|
||||
|
||||
/* Responsive Component */
|
||||
div#wp-responsive-toggle a:before {
|
||||
color: #f2fcff;
|
||||
|
||||
3
wp-admin/css/colors/ocean/colors-rtl.min.css
vendored
3
wp-admin/css/colors/ocean/colors-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -1,9 +1,8 @@
|
||||
/*! This file is auto-generated */
|
||||
/*
|
||||
* Button mixin- creates 3d-ish button effect with correct
|
||||
* highlights/shadows, based on a base color.
|
||||
*/
|
||||
body {
|
||||
html {
|
||||
background: #f1f1f1;
|
||||
}
|
||||
|
||||
@@ -41,7 +40,8 @@ input[type=radio]:checked:before {
|
||||
.wp-core-ui .button-primary {
|
||||
background: #9ebaa0;
|
||||
border-color: #80a583 #719a74 #719a74;
|
||||
color: #fff;
|
||||
color: white;
|
||||
-webkit-box-shadow: 0 1px 0 #719a74;
|
||||
box-shadow: 0 1px 0 #719a74;
|
||||
text-shadow: 0 -1px 1px #719a74, 1px 0 1px #719a74, 0 1px 1px #719a74, -1px 0 1px #719a74;
|
||||
}
|
||||
@@ -49,17 +49,20 @@ input[type=radio]:checked:before {
|
||||
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
|
||||
background: #a7c0a9;
|
||||
border-color: #719a74;
|
||||
color: #fff;
|
||||
color: white;
|
||||
-webkit-box-shadow: 0 1px 0 #719a74;
|
||||
box-shadow: 0 1px 0 #719a74;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
-webkit-box-shadow: inset 0 1px 0 #80a583, 0 0 2px 1px #33b3db;
|
||||
box-shadow: inset 0 1px 0 #80a583, 0 0 2px 1px #33b3db;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
|
||||
.wp-core-ui .button-primary:active {
|
||||
background: #80a583;
|
||||
border-color: #719a74;
|
||||
-webkit-box-shadow: inset 0 2px 0 #719a74;
|
||||
box-shadow: inset 0 2px 0 #719a74;
|
||||
}
|
||||
|
||||
@@ -71,10 +74,12 @@ input[type=radio]:checked:before {
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero {
|
||||
-webkit-box-shadow: 0 2px 0 #719a74 !important;
|
||||
box-shadow: 0 2px 0 #719a74 !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero:active {
|
||||
-webkit-box-shadow: inset 0 3px 0 #719a74 !important;
|
||||
box-shadow: inset 0 3px 0 #719a74 !important;
|
||||
}
|
||||
|
||||
@@ -111,7 +116,9 @@ input[type=radio]:checked:before {
|
||||
|
||||
/* List tables */
|
||||
.wrap .add-new-h2:hover,
|
||||
.wrap .page-title-action:hover {
|
||||
.wrap .page-title-action:hover,
|
||||
.tablenav .tablenav-pages a:hover,
|
||||
.tablenav .tablenav-pages a:focus {
|
||||
color: #fff;
|
||||
background-color: #738e96;
|
||||
}
|
||||
@@ -252,13 +259,20 @@ ul#adminmenu > li.current > a.current:after {
|
||||
}
|
||||
|
||||
/* Admin Menu: collapse button */
|
||||
#collapse-button {
|
||||
#collapse-menu {
|
||||
color: #f2fcff;
|
||||
}
|
||||
|
||||
#collapse-button:hover,
|
||||
#collapse-button:focus {
|
||||
color: #9ebaa0;
|
||||
#collapse-menu:hover {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#collapse-button div:after {
|
||||
color: #f2fcff;
|
||||
}
|
||||
|
||||
#collapse-menu:hover #collapse-button div:after {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/* Admin Bar */
|
||||
@@ -338,7 +352,6 @@ ul#adminmenu > li.current > a.current:after {
|
||||
#wpadminbar li:hover .ab-item:before,
|
||||
#wpadminbar li a:focus .ab-icon:before,
|
||||
#wpadminbar li .ab-item:focus:before,
|
||||
#wpadminbar li .ab-item:focus .ab-icon:before,
|
||||
#wpadminbar li.hover .ab-icon:before,
|
||||
#wpadminbar li.hover .ab-item:before,
|
||||
#wpadminbar li:hover #adminbarsearch:before,
|
||||
@@ -412,16 +425,19 @@ ul#adminmenu > li.current > a.current:after {
|
||||
}
|
||||
|
||||
.details.attachment {
|
||||
-webkit-box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #9ebaa0;
|
||||
box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #9ebaa0;
|
||||
}
|
||||
|
||||
.attachment.details .check {
|
||||
background-color: #9ebaa0;
|
||||
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px #9ebaa0;
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 2px #9ebaa0;
|
||||
}
|
||||
|
||||
.media-selection .attachment.selection.details .thumbnail {
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #9ebaa0;
|
||||
-webkit-box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #9ebaa0;
|
||||
box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #9ebaa0;
|
||||
}
|
||||
|
||||
/* Themes */
|
||||
@@ -472,6 +488,16 @@ body.more-filters-opened .more-filters:focus:before {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/* Customize */
|
||||
#customize-theme-controls .widget-area-select .selected {
|
||||
background-color: #9ebaa0;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#customize-footer-actions .devices button:focus {
|
||||
border-bottom-color: #9ebaa0;
|
||||
}
|
||||
|
||||
/* Responsive Component */
|
||||
div#wp-responsive-toggle a:before {
|
||||
color: #f2fcff;
|
||||
|
||||
3
wp-admin/css/colors/ocean/colors.min.css
vendored
3
wp-admin/css/colors/ocean/colors.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -1,9 +1,8 @@
|
||||
/*! This file is auto-generated */
|
||||
/*
|
||||
* Button mixin- creates 3d-ish button effect with correct
|
||||
* highlights/shadows, based on a base color.
|
||||
*/
|
||||
body {
|
||||
html {
|
||||
background: #f1f1f1;
|
||||
}
|
||||
|
||||
@@ -41,7 +40,8 @@ input[type=radio]:checked:before {
|
||||
.wp-core-ui .button-primary {
|
||||
background: #dd823b;
|
||||
border-color: #c36922 #ad5d1e #ad5d1e;
|
||||
color: #fff;
|
||||
color: white;
|
||||
-webkit-box-shadow: 0 1px 0 #ad5d1e;
|
||||
box-shadow: 0 1px 0 #ad5d1e;
|
||||
text-shadow: 0 -1px 1px #ad5d1e, -1px 0 1px #ad5d1e, 0 1px 1px #ad5d1e, 1px 0 1px #ad5d1e;
|
||||
}
|
||||
@@ -49,17 +49,20 @@ input[type=radio]:checked:before {
|
||||
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
|
||||
background: #df8a48;
|
||||
border-color: #ad5d1e;
|
||||
color: #fff;
|
||||
color: white;
|
||||
-webkit-box-shadow: 0 1px 0 #ad5d1e;
|
||||
box-shadow: 0 1px 0 #ad5d1e;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
-webkit-box-shadow: inset 0 1px 0 #c36922, 0 0 2px 1px #33b3db;
|
||||
box-shadow: inset 0 1px 0 #c36922, 0 0 2px 1px #33b3db;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
|
||||
.wp-core-ui .button-primary:active {
|
||||
background: #c36922;
|
||||
border-color: #ad5d1e;
|
||||
-webkit-box-shadow: inset 0 2px 0 #ad5d1e;
|
||||
box-shadow: inset 0 2px 0 #ad5d1e;
|
||||
}
|
||||
|
||||
@@ -71,10 +74,12 @@ input[type=radio]:checked:before {
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero {
|
||||
-webkit-box-shadow: 0 2px 0 #ad5d1e !important;
|
||||
box-shadow: 0 2px 0 #ad5d1e !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero:active {
|
||||
-webkit-box-shadow: inset 0 3px 0 #ad5d1e !important;
|
||||
box-shadow: inset 0 3px 0 #ad5d1e !important;
|
||||
}
|
||||
|
||||
@@ -111,7 +116,9 @@ input[type=radio]:checked:before {
|
||||
|
||||
/* List tables */
|
||||
.wrap .add-new-h2:hover,
|
||||
.wrap .page-title-action:hover {
|
||||
.wrap .page-title-action:hover,
|
||||
.tablenav .tablenav-pages a:hover,
|
||||
.tablenav .tablenav-pages a:focus {
|
||||
color: #fff;
|
||||
background-color: #cf4944;
|
||||
}
|
||||
@@ -252,13 +259,20 @@ ul#adminmenu > li.current > a.current:after {
|
||||
}
|
||||
|
||||
/* Admin Menu: collapse button */
|
||||
#collapse-button {
|
||||
#collapse-menu {
|
||||
color: #f3f1f1;
|
||||
}
|
||||
|
||||
#collapse-button:hover,
|
||||
#collapse-button:focus {
|
||||
color: #f7e3d3;
|
||||
#collapse-menu:hover {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#collapse-button div:after {
|
||||
color: #f3f1f1;
|
||||
}
|
||||
|
||||
#collapse-menu:hover #collapse-button div:after {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/* Admin Bar */
|
||||
@@ -338,7 +352,6 @@ ul#adminmenu > li.current > a.current:after {
|
||||
#wpadminbar li:hover .ab-item:before,
|
||||
#wpadminbar li a:focus .ab-icon:before,
|
||||
#wpadminbar li .ab-item:focus:before,
|
||||
#wpadminbar li .ab-item:focus .ab-icon:before,
|
||||
#wpadminbar li.hover .ab-icon:before,
|
||||
#wpadminbar li.hover .ab-item:before,
|
||||
#wpadminbar li:hover #adminbarsearch:before,
|
||||
@@ -412,16 +425,19 @@ ul#adminmenu > li.current > a.current:after {
|
||||
}
|
||||
|
||||
.details.attachment {
|
||||
-webkit-box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #dd823b;
|
||||
box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #dd823b;
|
||||
}
|
||||
|
||||
.attachment.details .check {
|
||||
background-color: #dd823b;
|
||||
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px #dd823b;
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 2px #dd823b;
|
||||
}
|
||||
|
||||
.media-selection .attachment.selection.details .thumbnail {
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #dd823b;
|
||||
-webkit-box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #dd823b;
|
||||
box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #dd823b;
|
||||
}
|
||||
|
||||
/* Themes */
|
||||
@@ -472,6 +488,16 @@ body.more-filters-opened .more-filters:focus:before {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/* Customize */
|
||||
#customize-theme-controls .widget-area-select .selected {
|
||||
background-color: #dd823b;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#customize-footer-actions .devices button:focus {
|
||||
border-bottom-color: #dd823b;
|
||||
}
|
||||
|
||||
/* Responsive Component */
|
||||
div#wp-responsive-toggle a:before {
|
||||
color: #f3f1f1;
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,9 +1,8 @@
|
||||
/*! This file is auto-generated */
|
||||
/*
|
||||
* Button mixin- creates 3d-ish button effect with correct
|
||||
* highlights/shadows, based on a base color.
|
||||
*/
|
||||
body {
|
||||
html {
|
||||
background: #f1f1f1;
|
||||
}
|
||||
|
||||
@@ -41,7 +40,8 @@ input[type=radio]:checked:before {
|
||||
.wp-core-ui .button-primary {
|
||||
background: #dd823b;
|
||||
border-color: #c36922 #ad5d1e #ad5d1e;
|
||||
color: #fff;
|
||||
color: white;
|
||||
-webkit-box-shadow: 0 1px 0 #ad5d1e;
|
||||
box-shadow: 0 1px 0 #ad5d1e;
|
||||
text-shadow: 0 -1px 1px #ad5d1e, 1px 0 1px #ad5d1e, 0 1px 1px #ad5d1e, -1px 0 1px #ad5d1e;
|
||||
}
|
||||
@@ -49,17 +49,20 @@ input[type=radio]:checked:before {
|
||||
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus {
|
||||
background: #df8a48;
|
||||
border-color: #ad5d1e;
|
||||
color: #fff;
|
||||
color: white;
|
||||
-webkit-box-shadow: 0 1px 0 #ad5d1e;
|
||||
box-shadow: 0 1px 0 #ad5d1e;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:focus {
|
||||
-webkit-box-shadow: inset 0 1px 0 #c36922, 0 0 2px 1px #33b3db;
|
||||
box-shadow: inset 0 1px 0 #c36922, 0 0 2px 1px #33b3db;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary:active, .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover {
|
||||
.wp-core-ui .button-primary:active {
|
||||
background: #c36922;
|
||||
border-color: #ad5d1e;
|
||||
-webkit-box-shadow: inset 0 2px 0 #ad5d1e;
|
||||
box-shadow: inset 0 2px 0 #ad5d1e;
|
||||
}
|
||||
|
||||
@@ -71,10 +74,12 @@ input[type=radio]:checked:before {
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero {
|
||||
-webkit-box-shadow: 0 2px 0 #ad5d1e !important;
|
||||
box-shadow: 0 2px 0 #ad5d1e !important;
|
||||
}
|
||||
|
||||
.wp-core-ui .button-primary.button-hero:active {
|
||||
-webkit-box-shadow: inset 0 3px 0 #ad5d1e !important;
|
||||
box-shadow: inset 0 3px 0 #ad5d1e !important;
|
||||
}
|
||||
|
||||
@@ -111,7 +116,9 @@ input[type=radio]:checked:before {
|
||||
|
||||
/* List tables */
|
||||
.wrap .add-new-h2:hover,
|
||||
.wrap .page-title-action:hover {
|
||||
.wrap .page-title-action:hover,
|
||||
.tablenav .tablenav-pages a:hover,
|
||||
.tablenav .tablenav-pages a:focus {
|
||||
color: #fff;
|
||||
background-color: #cf4944;
|
||||
}
|
||||
@@ -252,13 +259,20 @@ ul#adminmenu > li.current > a.current:after {
|
||||
}
|
||||
|
||||
/* Admin Menu: collapse button */
|
||||
#collapse-button {
|
||||
#collapse-menu {
|
||||
color: #f3f1f1;
|
||||
}
|
||||
|
||||
#collapse-button:hover,
|
||||
#collapse-button:focus {
|
||||
color: #f7e3d3;
|
||||
#collapse-menu:hover {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#collapse-button div:after {
|
||||
color: #f3f1f1;
|
||||
}
|
||||
|
||||
#collapse-menu:hover #collapse-button div:after {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/* Admin Bar */
|
||||
@@ -338,7 +352,6 @@ ul#adminmenu > li.current > a.current:after {
|
||||
#wpadminbar li:hover .ab-item:before,
|
||||
#wpadminbar li a:focus .ab-icon:before,
|
||||
#wpadminbar li .ab-item:focus:before,
|
||||
#wpadminbar li .ab-item:focus .ab-icon:before,
|
||||
#wpadminbar li.hover .ab-icon:before,
|
||||
#wpadminbar li.hover .ab-item:before,
|
||||
#wpadminbar li:hover #adminbarsearch:before,
|
||||
@@ -412,16 +425,19 @@ ul#adminmenu > li.current > a.current:after {
|
||||
}
|
||||
|
||||
.details.attachment {
|
||||
-webkit-box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #dd823b;
|
||||
box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px #dd823b;
|
||||
}
|
||||
|
||||
.attachment.details .check {
|
||||
background-color: #dd823b;
|
||||
-webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px #dd823b;
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 2px #dd823b;
|
||||
}
|
||||
|
||||
.media-selection .attachment.selection.details .thumbnail {
|
||||
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #dd823b;
|
||||
-webkit-box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #dd823b;
|
||||
box-shadow: 0px 0px 0px 1px #fff, 0px 0px 0px 3px #dd823b;
|
||||
}
|
||||
|
||||
/* Themes */
|
||||
@@ -472,6 +488,16 @@ body.more-filters-opened .more-filters:focus:before {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/* Customize */
|
||||
#customize-theme-controls .widget-area-select .selected {
|
||||
background-color: #dd823b;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#customize-footer-actions .devices button:focus {
|
||||
border-bottom-color: #dd823b;
|
||||
}
|
||||
|
||||
/* Responsive Component */
|
||||
div#wp-responsive-toggle a:before {
|
||||
color: #f3f1f1;
|
||||
|
||||
3
wp-admin/css/colors/sunrise/colors.min.css
vendored
3
wp-admin/css/colors/sunrise/colors.min.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
5
wp-admin/css/common-rtl.min.css
vendored
5
wp-admin/css/common-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
5
wp-admin/css/common.min.css
vendored
5
wp-admin/css/common.min.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
3
wp-admin/css/customize-controls-rtl.min.css
vendored
3
wp-admin/css/customize-controls-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
3
wp-admin/css/customize-controls.min.css
vendored
3
wp-admin/css/customize-controls.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -1,22 +1,6 @@
|
||||
#customize-theme-controls #accordion-section-menu_locations {
|
||||
#accordion-section-menu_locations {
|
||||
position: relative;
|
||||
margin-top: 30px;
|
||||
}
|
||||
|
||||
#customize-theme-controls #accordion-section-menu_locations > .accordion-section-title {
|
||||
border-bottom-color: #ddd;
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
#customize-theme-controls .customize-section-title-nav_menus-heading,
|
||||
#customize-theme-controls .customize-section-title-menu_locations-heading,
|
||||
#customize-theme-controls .customize-section-title-menu_locations-description {
|
||||
padding: 0 12px 0 12px;
|
||||
}
|
||||
|
||||
#customize-theme-controls .customize-control-description.customize-section-title-menu_locations-description {
|
||||
/* Override the default italic style for control descriptions */
|
||||
font-style: normal;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.menu-in-location,
|
||||
@@ -32,30 +16,29 @@
|
||||
color: #555;
|
||||
}
|
||||
|
||||
/* The `edit-menu` and `create-menu` buttons also use the `button-link` class. */
|
||||
.customize-control-nav_menu_location .edit-menu,
|
||||
.customize-control-nav_menu_location .create-menu {
|
||||
/* The `edit-menu` button uses also the `button-link` class. */
|
||||
.customize-control-nav_menu_location .edit-menu {
|
||||
margin-right: 6px;
|
||||
vertical-align: middle;
|
||||
line-height: 28px;
|
||||
color: #0073aa;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
#customize-controls .customize-control-nav_menu_name {
|
||||
margin-bottom: 12px;
|
||||
.customize-control-nav_menu_location .edit-menu:hover,
|
||||
.customize-control-nav_menu_location .edit-menu:active {
|
||||
color: #00a0d2;
|
||||
}
|
||||
|
||||
.customize-control-nav_menu_name p:last-of-type {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
#customize-new-menu-submit {
|
||||
float: left;
|
||||
min-width: 85px;
|
||||
.customize-control-nav_menu_location .edit-menu:focus {
|
||||
color: #124964;
|
||||
}
|
||||
|
||||
.wp-customizer .menu-item-bar .menu-item-handle,
|
||||
.wp-customizer .menu-item-settings,
|
||||
.wp-customizer .menu-item-settings .description-thin {
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
@@ -78,18 +61,9 @@
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.wp-customizer .menu-item-handle:hover {
|
||||
z-index: 8;
|
||||
}
|
||||
|
||||
.customize-control-nav_menu_item.has-notifications .menu-item-handle {
|
||||
border-right: 4px solid #00a0d2;
|
||||
}
|
||||
|
||||
.wp-customizer .menu-item-settings {
|
||||
max-width: 100%;
|
||||
overflow: hidden;
|
||||
z-index: 8;
|
||||
padding: 10px;
|
||||
background: #eee;
|
||||
border: 1px solid #999;
|
||||
@@ -158,6 +132,7 @@
|
||||
|
||||
.customize-control input.menu-name-field {
|
||||
width: 100%; /* Override the 98% default for customizer inputs, to align with the size of menu items. */
|
||||
margin: 12px 0;
|
||||
}
|
||||
|
||||
.wp-customizer .menu-item .item-edit {
|
||||
@@ -168,14 +143,14 @@
|
||||
width: 30px;
|
||||
height: 38px;
|
||||
margin-left: 0 !important;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
outline: none;
|
||||
overflow: hidden;
|
||||
cursor: pointer;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.wp-customizer .menu-item.menu-item-edit-active .item-edit .toggle-indicator:before {
|
||||
.wp-customizer .menu-item.menu-item-edit-active .item-edit .toggle-indicator:after {
|
||||
content: "\f142";
|
||||
}
|
||||
|
||||
@@ -201,31 +176,13 @@
|
||||
border-top: none;
|
||||
}
|
||||
|
||||
.wp-customizer .menu-location-settings {
|
||||
margin-top: 12px;
|
||||
border-top: none;
|
||||
}
|
||||
|
||||
.wp-customizer .control-section-nav_menu .menu-location-settings {
|
||||
margin-top: 24px;
|
||||
border-top: 1px solid #ddd;
|
||||
}
|
||||
|
||||
.wp-customizer .control-section-nav_menu .menu-location-settings,
|
||||
.customize-control-nav_menu_auto_add {
|
||||
padding-top: 12px;
|
||||
}
|
||||
|
||||
.menu-location-settings .customize-control-checkbox .theme-location-set {
|
||||
.menu-settings .customize-control-checkbox label {
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.customize-control-nav_menu_auto_add label {
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.menu-location-settings .new-menu-locations-widget-note {
|
||||
display: block;
|
||||
/* @todo update selector or potentially remove */
|
||||
.menu-settings .customize-control.customize-control-checkbox {
|
||||
margin-bottom: 8px; /* Override collapsing at smaller viewports. */
|
||||
}
|
||||
|
||||
.customize-control-menu {
|
||||
@@ -289,6 +246,7 @@
|
||||
|
||||
.customize-screen-options-toggle:focus:before,
|
||||
#customize-controls .customize-info .customize-help-toggle:focus:before {
|
||||
-webkit-border-radius: 100%;
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
@@ -310,18 +268,18 @@
|
||||
display: inline-block;
|
||||
font-size: 20px;
|
||||
line-height: 1;
|
||||
text-indent: -1px; /* account for the dashicon alignment */
|
||||
}
|
||||
|
||||
.rtl .wp-customizer .toggle-indicator {
|
||||
text-indent: 1px; /* account for the dashicon alignment */
|
||||
}
|
||||
|
||||
.wp-customizer .menu-item .item-edit .toggle-indicator:before,
|
||||
#available-menu-items .accordion-section-title .toggle-indicator:before {
|
||||
.wp-customizer .toggle-indicator:after {
|
||||
content: "\f140";
|
||||
display: block;
|
||||
padding: 1px 0px 1px 2px;
|
||||
speak: none;
|
||||
vertical-align: top;
|
||||
-webkit-border-radius: 50%;
|
||||
border-radius: 50%;
|
||||
color: #72777c;
|
||||
font: normal 20px/1 dashicons;
|
||||
@@ -330,19 +288,19 @@
|
||||
text-decoration: none !important;
|
||||
}
|
||||
|
||||
.control-section-nav_menu .field-link-target,
|
||||
.control-section-nav_menu .field-title-attribute,
|
||||
.control-section-nav_menu .field-css-classes,
|
||||
.control-section-nav_menu .field-xfn,
|
||||
.control-section-nav_menu .field-description {
|
||||
#accordion-panel-nav_menus .field-link-target,
|
||||
#accordion-panel-nav_menus .field-title-attribute,
|
||||
#accordion-panel-nav_menus .field-css-classes,
|
||||
#accordion-panel-nav_menus .field-xfn,
|
||||
#accordion-panel-nav_menus .field-description {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.control-section-nav_menu.field-link-target-active .field-link-target,
|
||||
.control-section-nav_menu.field-title-attribute-active .field-title-attribute,
|
||||
.control-section-nav_menu.field-css-classes-active .field-css-classes,
|
||||
.control-section-nav_menu.field-xfn-active .field-xfn,
|
||||
.control-section-nav_menu.field-description-active .field-description {
|
||||
#accordion-panel-nav_menus.field-link-target-active .field-link-target,
|
||||
#accordion-panel-nav_menus.field-title-attribute-active .field-title-attribute,
|
||||
#accordion-panel-nav_menus.field-css-classes-active .field-css-classes,
|
||||
#accordion-panel-nav_menus.field-xfn-active .field-xfn,
|
||||
#accordion-panel-nav_menus.field-description-active .field-description {
|
||||
display: block;
|
||||
}
|
||||
|
||||
@@ -415,17 +373,18 @@
|
||||
.reordering .menu-item-depth-10 > .menu-item-bar { margin-left: 150px; }
|
||||
.reordering .menu-item-depth-11 > .menu-item-bar { margin-left: 165px; }
|
||||
|
||||
.control-section-nav_menu.menu .menu-item-edit-active {
|
||||
.control-section-nav_menu .menu .menu-item-edit-active {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.control-section-nav_menu.menu .menu-item-edit-active .menu-item-bar {
|
||||
.control-section-nav_menu .menu .menu-item-edit-active .menu-item-bar {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.control-section-nav_menu.menu .sortable-placeholder {
|
||||
.control-section-nav_menu .menu .sortable-placeholder {
|
||||
margin-top: 0;
|
||||
margin-bottom: 1px;
|
||||
max-width: -webkit-calc(100% - 2px);
|
||||
max-width: calc(100% - 2px);
|
||||
float: right;
|
||||
display: list-item;
|
||||
@@ -436,7 +395,7 @@
|
||||
float: none;
|
||||
}
|
||||
|
||||
.control-section-nav_menu.menu ul.menu-item-transport .menu-item-bar {
|
||||
.control-section-nav_menu .menu ul.menu-item-transport .menu-item-bar {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
@@ -469,6 +428,7 @@
|
||||
position: absolute;
|
||||
top: 9px;
|
||||
right: 5px;
|
||||
-webkit-border-radius: 50%;
|
||||
border-radius: 50%;
|
||||
font: normal 20px/1 dashicons;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
@@ -481,9 +441,10 @@
|
||||
|
||||
.menu-item-bar .item-delete:hover,
|
||||
.menu-item-bar .item-delete:focus {
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
outline: none;
|
||||
color: #dc3232;
|
||||
color: #f00;
|
||||
}
|
||||
|
||||
.adding-menu-items .menu-item-bar .item-edit {
|
||||
@@ -511,12 +472,8 @@
|
||||
border-right: none;
|
||||
border-left: none;
|
||||
background: #fff;
|
||||
-webkit-transition: background-color 0.15s;
|
||||
transition: background-color 0.15s;
|
||||
/* Reset the value inherited from the base .accordion-section-title style. Ticket #37589. */
|
||||
-webkit-user-select: auto;
|
||||
-moz-user-select: auto;
|
||||
-ms-user-select: auto;
|
||||
user-select: auto;
|
||||
}
|
||||
|
||||
#available-menu-items .open .accordion-section-title,
|
||||
@@ -529,18 +486,18 @@
|
||||
content: none !important;
|
||||
}
|
||||
|
||||
#available-menu-items .accordion-section-title:hover .toggle-indicator:before,
|
||||
#available-menu-items .button-link:hover .toggle-indicator:before,
|
||||
#available-menu-items .button-link:focus .toggle-indicator:before {
|
||||
#available-menu-items .accordion-section-title:hover .toggle-indicator:after,
|
||||
#available-menu-items .button-link:hover .toggle-indicator:after,
|
||||
#available-menu-items .button-link:focus .toggle-indicator:after {
|
||||
color: #23282d;
|
||||
}
|
||||
|
||||
#available-menu-items .open .accordion-section-title .toggle-indicator:before {
|
||||
#available-menu-items .open .accordion-section-title .toggle-indicator:after {
|
||||
content: "\f142";
|
||||
color: #23282d;
|
||||
}
|
||||
|
||||
#available-menu-items .available-menu-items-list {
|
||||
#available-menu-items .accordion-section-content {
|
||||
overflow-y: auto;
|
||||
max-height: 200px; /* This gets set in JS to fit the screen size, and based on # of sections. */
|
||||
background: transparent;
|
||||
@@ -553,10 +510,10 @@
|
||||
position: absolute;
|
||||
top: 5px;
|
||||
left: 5px;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
outline: none;
|
||||
cursor: pointer;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#available-menu-items .accordion-section-title .no-items,
|
||||
@@ -577,24 +534,9 @@
|
||||
}
|
||||
|
||||
#available-menu-items .accordion-section-content {
|
||||
max-height: 290px;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
position: relative;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
#available-menu-items .accordion-section-content .available-menu-items-list {
|
||||
margin: 0 0 45px 0;
|
||||
padding: 1px 15px 15px 15px;
|
||||
}
|
||||
|
||||
#available-menu-items .accordion-section-content .available-menu-items-list:only-child { /* Types that do not support new items for the current user */
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
#new-custom-menu-item .accordion-section-content {
|
||||
padding: 0 15px 15px 15px;
|
||||
margin: 0;
|
||||
max-height: 290px;
|
||||
}
|
||||
|
||||
#available-menu-items .menu-item-tpl {
|
||||
@@ -603,12 +545,9 @@
|
||||
|
||||
#custom-menu-item-name.invalid,
|
||||
#custom-menu-item-url.invalid,
|
||||
.edit-menu-item-url.invalid,
|
||||
.menu-name-field.invalid,
|
||||
.menu-name-field.invalid:focus,
|
||||
#available-menu-items .new-content-item .create-item-input.invalid,
|
||||
#available-menu-items .new-content-item .create-item-input.invalid:focus {
|
||||
border: 1px solid #dc3232;
|
||||
.menu-name-field.invalid:focus {
|
||||
border: 1px solid #f00;
|
||||
}
|
||||
|
||||
#available-menu-items .menu-item-handle .item-type {
|
||||
@@ -624,6 +563,7 @@
|
||||
}
|
||||
|
||||
#available-menu-items .menu-item-handle {
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
margin-top: -1px;
|
||||
}
|
||||
@@ -644,10 +584,10 @@
|
||||
color: #82878c;
|
||||
width: 30px;
|
||||
height: 38px;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
outline: none;
|
||||
cursor: pointer;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#available-menu-items .menu-item-handle .item-add:focus {
|
||||
@@ -661,6 +601,7 @@
|
||||
top: 3px;
|
||||
display: inline-block;
|
||||
height: 20px;
|
||||
-webkit-border-radius: 50%;
|
||||
border-radius: 50%;
|
||||
font: normal 20px/1.05 dashicons; /* line height is to account for the dashicon's vertical alignment */
|
||||
}
|
||||
@@ -682,30 +623,68 @@
|
||||
margin: 0 20px;
|
||||
}
|
||||
|
||||
#available-menu-items-search .clear-results {
|
||||
position: absolute;
|
||||
top: 18px; /* 12 container padding +1 input margin +1 input border +4 ( 4 is ( 28 input height - 20 button height ) / 2 ) */
|
||||
left: 20px;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
cursor: pointer;
|
||||
background: none;
|
||||
color: #a00;
|
||||
text-decoration: none;
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
#available-menu-items-search .clear-results,
|
||||
#available-menu-items-search.loading .clear-results.is-visible {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#available-menu-items-search .clear-results.is-visible {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.ie8 #available-menu-items-search.loading .clear-results:before {
|
||||
content: ""; /* help IE8 redraw the pseudo element */
|
||||
}
|
||||
|
||||
#available-menu-items-search .clear-results:before {
|
||||
content: "\f335";
|
||||
font: normal 20px/1 dashicons;
|
||||
vertical-align: middle;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
#available-menu-items-search .clear-results:hover,
|
||||
#available-menu-items-search .clear-results:focus {
|
||||
color: #f00;
|
||||
}
|
||||
|
||||
#available-menu-items-search .spinner {
|
||||
position: absolute;
|
||||
top: 20px; /* 13 container padding +1 input margin +6 ( ( 32 input height - 20 spinner height ) / 2 ) */
|
||||
left: 21px;
|
||||
top: 18px; /* 12 container padding +1 input margin +1 input border +4 ( ( 28 input height - 20 button height ) / 2 ) */
|
||||
left: 20px;
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
||||
/* search results list */
|
||||
#available-menu-items #available-menu-items-search .accordion-section-content {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
right: 1px;
|
||||
top: 60px; /* below title div / search input */
|
||||
bottom: 0px; /* 100% height that still triggers lazy load */
|
||||
max-height: none;
|
||||
width: 100%;
|
||||
padding: 1px 15px 15px;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
#available-menu-items-search .nothing-found {
|
||||
/* Compensate the 1px top padding of the container. */
|
||||
margin-top: -1px;
|
||||
}
|
||||
|
||||
#available-menu-items-search .accordion-section-title:after {
|
||||
display: none;
|
||||
}
|
||||
@@ -724,6 +703,7 @@
|
||||
}
|
||||
|
||||
#customize-preview {
|
||||
-webkit-transition: all 0.2s;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
@@ -740,10 +720,6 @@ body.adding-menu-items #customize-preview {
|
||||
opacity: 0.4;
|
||||
}
|
||||
|
||||
body.adding-menu-items #customize-preview iframe {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.menu-item-handle .spinner {
|
||||
display: none;
|
||||
float: right;
|
||||
@@ -768,33 +744,39 @@ body.adding-menu-items #customize-preview iframe {
|
||||
}
|
||||
|
||||
.added-menu-item .menu-item-handle {
|
||||
-webkit-transition-property: opacity, background, color;
|
||||
transition-property: opacity, background, color;
|
||||
-webkit-transition-duration: 1.25s;
|
||||
transition-duration: 1.25s;
|
||||
-webkit-transition-timing-function: cubic-bezier( .25, -2.5, .75, 8 );
|
||||
transition-timing-function: cubic-bezier( .25, -2.5, .75, 8 ); /* Replacement for .hide().fadeIn('slow') in JS to add emphasis when it's loaded. */
|
||||
}
|
||||
|
||||
/* Add/delete Menus */
|
||||
|
||||
#customize-theme-controls .control-panel-content .control-section-nav_menu:nth-last-child(2) .accordion-section-title {
|
||||
border-bottom-color: #ddd;
|
||||
}
|
||||
|
||||
/* @todo update selector */
|
||||
#accordion-section-add_menu {
|
||||
margin: 15px 12px;
|
||||
}
|
||||
|
||||
#accordion-section-add_menu h3 {
|
||||
text-align: left;
|
||||
.new-menu-section-content {
|
||||
display: none;
|
||||
padding: 15px 0 0 0;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
#accordion-section-add_menu h3,
|
||||
#accordion-section-add_menu .customize-add-menu-button {
|
||||
margin: 0;
|
||||
/* @todo update selector */
|
||||
#accordion-section-add_menu .accordion-section-title {
|
||||
padding-right: 45px;
|
||||
}
|
||||
|
||||
#accordion-section-add_menu .customize-add-menu-button {
|
||||
font-weight: 400;
|
||||
/* @todo update selector */
|
||||
#accordion-section-add_menu .accordion-section-title:before {
|
||||
font: normal 20px/1 dashicons;
|
||||
position: absolute;
|
||||
top: 12px;
|
||||
right: 14px;
|
||||
content: "\f132";
|
||||
}
|
||||
|
||||
#create-new-menu-submit {
|
||||
@@ -808,10 +790,6 @@ body.adding-menu-items #customize-preview iframe {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.assigned-menu-locations-title p {
|
||||
margin: 0 0 8px 0;
|
||||
}
|
||||
|
||||
li.assigned-to-menu-location .menu-delete-item {
|
||||
display: none;
|
||||
}
|
||||
@@ -820,6 +798,18 @@ li.assigned-to-menu-location .add-new-menu-item {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
.menu-delete {
|
||||
color: #a00;
|
||||
cursor: pointer;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.menu-delete:hover,
|
||||
.menu-delete:focus {
|
||||
color: #f00;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.menu-item-handle {
|
||||
margin-top: -1px;
|
||||
}
|
||||
@@ -848,12 +838,7 @@ li.assigned-to-menu-location .add-new-menu-item {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.customize-control-nav_menu .new-menu-item-invitation {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.customize-control-nav_menu .customize-control-nav_menu-buttons {
|
||||
.customize-control-nav_menu {
|
||||
margin-top: 12px;
|
||||
}
|
||||
|
||||
@@ -864,24 +849,37 @@ li.assigned-to-menu-location .add-new-menu-item {
|
||||
.wp-customizer .menu-item .submitbox .submitdelete:focus,
|
||||
.customize-screen-options-toggle:focus:before,
|
||||
#customize-controls .customize-info .customize-help-toggle:focus:before,
|
||||
.wp-customizer button:focus .toggle-indicator:before,
|
||||
.wp-customizer button:focus .toggle-indicator:after,
|
||||
#available-menu-items-search .clear-results:focus,
|
||||
.menu-delete:focus,
|
||||
.menu-item-bar .item-delete:focus:before,
|
||||
#available-menu-items .item-add:focus:before {
|
||||
-webkit-box-shadow:
|
||||
0 0 0 1px #5b9dd9,
|
||||
0 0 2px 1px rgba(30, 140, 190, .8);
|
||||
box-shadow:
|
||||
0 0 0 1px #5b9dd9,
|
||||
0 0 2px 1px rgba(30, 140, 190, .8);
|
||||
}
|
||||
|
||||
|
||||
@media screen and (max-width: 782px) {
|
||||
@media screen and ( max-width: 782px ) {
|
||||
#available-menu-items #available-menu-items-search .accordion-section-content {
|
||||
top: 63px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 640px) {
|
||||
#available-menu-items #available-menu-items-search .accordion-section-content {
|
||||
top: 130px;
|
||||
#available-menu-items-search .spinner,
|
||||
#available-menu-items-search .clear-results {
|
||||
top: 20px; /* 12 container padding +1 input margin +1 input border +5.5 ( 5.5 rounded to 6 is ( 31 input height - 20 button height ) / 2 ) */
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and ( max-width: 640px ) {
|
||||
#available-menu-items #available-menu-items-search .accordion-section-content {
|
||||
top: 133px;
|
||||
}
|
||||
|
||||
#available-menu-items-search .clear-results {
|
||||
top: 90px; /* 70 section title height + 12 container padding +1 input margin +1 input border +5.5 ( 5.5 rounded to 6 is ( 31 input height - 20 button height ) / 2 ) */
|
||||
}
|
||||
}
|
||||
|
||||
3
wp-admin/css/customize-nav-menus-rtl.min.css
vendored
3
wp-admin/css/customize-nav-menus-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -1,22 +1,6 @@
|
||||
#customize-theme-controls #accordion-section-menu_locations {
|
||||
#accordion-section-menu_locations {
|
||||
position: relative;
|
||||
margin-top: 30px;
|
||||
}
|
||||
|
||||
#customize-theme-controls #accordion-section-menu_locations > .accordion-section-title {
|
||||
border-bottom-color: #ddd;
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
#customize-theme-controls .customize-section-title-nav_menus-heading,
|
||||
#customize-theme-controls .customize-section-title-menu_locations-heading,
|
||||
#customize-theme-controls .customize-section-title-menu_locations-description {
|
||||
padding: 0 12px 0 12px;
|
||||
}
|
||||
|
||||
#customize-theme-controls .customize-control-description.customize-section-title-menu_locations-description {
|
||||
/* Override the default italic style for control descriptions */
|
||||
font-style: normal;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.menu-in-location,
|
||||
@@ -32,30 +16,29 @@
|
||||
color: #555;
|
||||
}
|
||||
|
||||
/* The `edit-menu` and `create-menu` buttons also use the `button-link` class. */
|
||||
.customize-control-nav_menu_location .edit-menu,
|
||||
.customize-control-nav_menu_location .create-menu {
|
||||
/* The `edit-menu` button uses also the `button-link` class. */
|
||||
.customize-control-nav_menu_location .edit-menu {
|
||||
margin-left: 6px;
|
||||
vertical-align: middle;
|
||||
line-height: 28px;
|
||||
color: #0073aa;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
#customize-controls .customize-control-nav_menu_name {
|
||||
margin-bottom: 12px;
|
||||
.customize-control-nav_menu_location .edit-menu:hover,
|
||||
.customize-control-nav_menu_location .edit-menu:active {
|
||||
color: #00a0d2;
|
||||
}
|
||||
|
||||
.customize-control-nav_menu_name p:last-of-type {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
#customize-new-menu-submit {
|
||||
float: right;
|
||||
min-width: 85px;
|
||||
.customize-control-nav_menu_location .edit-menu:focus {
|
||||
color: #124964;
|
||||
}
|
||||
|
||||
.wp-customizer .menu-item-bar .menu-item-handle,
|
||||
.wp-customizer .menu-item-settings,
|
||||
.wp-customizer .menu-item-settings .description-thin {
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
@@ -78,18 +61,9 @@
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.wp-customizer .menu-item-handle:hover {
|
||||
z-index: 8;
|
||||
}
|
||||
|
||||
.customize-control-nav_menu_item.has-notifications .menu-item-handle {
|
||||
border-left: 4px solid #00a0d2;
|
||||
}
|
||||
|
||||
.wp-customizer .menu-item-settings {
|
||||
max-width: 100%;
|
||||
overflow: hidden;
|
||||
z-index: 8;
|
||||
padding: 10px;
|
||||
background: #eee;
|
||||
border: 1px solid #999;
|
||||
@@ -158,6 +132,7 @@
|
||||
|
||||
.customize-control input.menu-name-field {
|
||||
width: 100%; /* Override the 98% default for customizer inputs, to align with the size of menu items. */
|
||||
margin: 12px 0;
|
||||
}
|
||||
|
||||
.wp-customizer .menu-item .item-edit {
|
||||
@@ -168,14 +143,14 @@
|
||||
width: 30px;
|
||||
height: 38px;
|
||||
margin-right: 0 !important;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
outline: none;
|
||||
overflow: hidden;
|
||||
cursor: pointer;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.wp-customizer .menu-item.menu-item-edit-active .item-edit .toggle-indicator:before {
|
||||
.wp-customizer .menu-item.menu-item-edit-active .item-edit .toggle-indicator:after {
|
||||
content: "\f142";
|
||||
}
|
||||
|
||||
@@ -201,31 +176,13 @@
|
||||
border-top: none;
|
||||
}
|
||||
|
||||
.wp-customizer .menu-location-settings {
|
||||
margin-top: 12px;
|
||||
border-top: none;
|
||||
}
|
||||
|
||||
.wp-customizer .control-section-nav_menu .menu-location-settings {
|
||||
margin-top: 24px;
|
||||
border-top: 1px solid #ddd;
|
||||
}
|
||||
|
||||
.wp-customizer .control-section-nav_menu .menu-location-settings,
|
||||
.customize-control-nav_menu_auto_add {
|
||||
padding-top: 12px;
|
||||
}
|
||||
|
||||
.menu-location-settings .customize-control-checkbox .theme-location-set {
|
||||
.menu-settings .customize-control-checkbox label {
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.customize-control-nav_menu_auto_add label {
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.menu-location-settings .new-menu-locations-widget-note {
|
||||
display: block;
|
||||
/* @todo update selector or potentially remove */
|
||||
.menu-settings .customize-control.customize-control-checkbox {
|
||||
margin-bottom: 8px; /* Override collapsing at smaller viewports. */
|
||||
}
|
||||
|
||||
.customize-control-menu {
|
||||
@@ -289,6 +246,7 @@
|
||||
|
||||
.customize-screen-options-toggle:focus:before,
|
||||
#customize-controls .customize-info .customize-help-toggle:focus:before {
|
||||
-webkit-border-radius: 100%;
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
@@ -310,18 +268,18 @@
|
||||
display: inline-block;
|
||||
font-size: 20px;
|
||||
line-height: 1;
|
||||
text-indent: -1px; /* account for the dashicon alignment */
|
||||
}
|
||||
|
||||
.rtl .wp-customizer .toggle-indicator {
|
||||
text-indent: 1px; /* account for the dashicon alignment */
|
||||
}
|
||||
|
||||
.wp-customizer .menu-item .item-edit .toggle-indicator:before,
|
||||
#available-menu-items .accordion-section-title .toggle-indicator:before {
|
||||
.wp-customizer .toggle-indicator:after {
|
||||
content: "\f140";
|
||||
display: block;
|
||||
padding: 1px 2px 1px 0px;
|
||||
speak: none;
|
||||
vertical-align: top;
|
||||
-webkit-border-radius: 50%;
|
||||
border-radius: 50%;
|
||||
color: #72777c;
|
||||
font: normal 20px/1 dashicons;
|
||||
@@ -330,19 +288,19 @@
|
||||
text-decoration: none !important;
|
||||
}
|
||||
|
||||
.control-section-nav_menu .field-link-target,
|
||||
.control-section-nav_menu .field-title-attribute,
|
||||
.control-section-nav_menu .field-css-classes,
|
||||
.control-section-nav_menu .field-xfn,
|
||||
.control-section-nav_menu .field-description {
|
||||
#accordion-panel-nav_menus .field-link-target,
|
||||
#accordion-panel-nav_menus .field-title-attribute,
|
||||
#accordion-panel-nav_menus .field-css-classes,
|
||||
#accordion-panel-nav_menus .field-xfn,
|
||||
#accordion-panel-nav_menus .field-description {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.control-section-nav_menu.field-link-target-active .field-link-target,
|
||||
.control-section-nav_menu.field-title-attribute-active .field-title-attribute,
|
||||
.control-section-nav_menu.field-css-classes-active .field-css-classes,
|
||||
.control-section-nav_menu.field-xfn-active .field-xfn,
|
||||
.control-section-nav_menu.field-description-active .field-description {
|
||||
#accordion-panel-nav_menus.field-link-target-active .field-link-target,
|
||||
#accordion-panel-nav_menus.field-title-attribute-active .field-title-attribute,
|
||||
#accordion-panel-nav_menus.field-css-classes-active .field-css-classes,
|
||||
#accordion-panel-nav_menus.field-xfn-active .field-xfn,
|
||||
#accordion-panel-nav_menus.field-description-active .field-description {
|
||||
display: block;
|
||||
}
|
||||
|
||||
@@ -415,17 +373,18 @@
|
||||
.reordering .menu-item-depth-10 > .menu-item-bar { margin-right: 150px; }
|
||||
.reordering .menu-item-depth-11 > .menu-item-bar { margin-right: 165px; }
|
||||
|
||||
.control-section-nav_menu.menu .menu-item-edit-active {
|
||||
.control-section-nav_menu .menu .menu-item-edit-active {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.control-section-nav_menu.menu .menu-item-edit-active .menu-item-bar {
|
||||
.control-section-nav_menu .menu .menu-item-edit-active .menu-item-bar {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.control-section-nav_menu.menu .sortable-placeholder {
|
||||
.control-section-nav_menu .menu .sortable-placeholder {
|
||||
margin-top: 0;
|
||||
margin-bottom: 1px;
|
||||
max-width: -webkit-calc(100% - 2px);
|
||||
max-width: calc(100% - 2px);
|
||||
float: left;
|
||||
display: list-item;
|
||||
@@ -436,7 +395,7 @@
|
||||
float: none;
|
||||
}
|
||||
|
||||
.control-section-nav_menu.menu ul.menu-item-transport .menu-item-bar {
|
||||
.control-section-nav_menu .menu ul.menu-item-transport .menu-item-bar {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
@@ -469,6 +428,7 @@
|
||||
position: absolute;
|
||||
top: 9px;
|
||||
left: 5px;
|
||||
-webkit-border-radius: 50%;
|
||||
border-radius: 50%;
|
||||
font: normal 20px/1 dashicons;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
@@ -481,9 +441,10 @@
|
||||
|
||||
.menu-item-bar .item-delete:hover,
|
||||
.menu-item-bar .item-delete:focus {
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
outline: none;
|
||||
color: #dc3232;
|
||||
color: #f00;
|
||||
}
|
||||
|
||||
.adding-menu-items .menu-item-bar .item-edit {
|
||||
@@ -511,12 +472,8 @@
|
||||
border-left: none;
|
||||
border-right: none;
|
||||
background: #fff;
|
||||
-webkit-transition: background-color 0.15s;
|
||||
transition: background-color 0.15s;
|
||||
/* Reset the value inherited from the base .accordion-section-title style. Ticket #37589. */
|
||||
-webkit-user-select: auto;
|
||||
-moz-user-select: auto;
|
||||
-ms-user-select: auto;
|
||||
user-select: auto;
|
||||
}
|
||||
|
||||
#available-menu-items .open .accordion-section-title,
|
||||
@@ -529,18 +486,18 @@
|
||||
content: none !important;
|
||||
}
|
||||
|
||||
#available-menu-items .accordion-section-title:hover .toggle-indicator:before,
|
||||
#available-menu-items .button-link:hover .toggle-indicator:before,
|
||||
#available-menu-items .button-link:focus .toggle-indicator:before {
|
||||
#available-menu-items .accordion-section-title:hover .toggle-indicator:after,
|
||||
#available-menu-items .button-link:hover .toggle-indicator:after,
|
||||
#available-menu-items .button-link:focus .toggle-indicator:after {
|
||||
color: #23282d;
|
||||
}
|
||||
|
||||
#available-menu-items .open .accordion-section-title .toggle-indicator:before {
|
||||
#available-menu-items .open .accordion-section-title .toggle-indicator:after {
|
||||
content: "\f142";
|
||||
color: #23282d;
|
||||
}
|
||||
|
||||
#available-menu-items .available-menu-items-list {
|
||||
#available-menu-items .accordion-section-content {
|
||||
overflow-y: auto;
|
||||
max-height: 200px; /* This gets set in JS to fit the screen size, and based on # of sections. */
|
||||
background: transparent;
|
||||
@@ -553,10 +510,10 @@
|
||||
position: absolute;
|
||||
top: 5px;
|
||||
right: 5px;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
outline: none;
|
||||
cursor: pointer;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#available-menu-items .accordion-section-title .no-items,
|
||||
@@ -577,24 +534,9 @@
|
||||
}
|
||||
|
||||
#available-menu-items .accordion-section-content {
|
||||
max-height: 290px;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
position: relative;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
#available-menu-items .accordion-section-content .available-menu-items-list {
|
||||
margin: 0 0 45px 0;
|
||||
padding: 1px 15px 15px 15px;
|
||||
}
|
||||
|
||||
#available-menu-items .accordion-section-content .available-menu-items-list:only-child { /* Types that do not support new items for the current user */
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
#new-custom-menu-item .accordion-section-content {
|
||||
padding: 0 15px 15px 15px;
|
||||
margin: 0;
|
||||
max-height: 290px;
|
||||
}
|
||||
|
||||
#available-menu-items .menu-item-tpl {
|
||||
@@ -603,12 +545,9 @@
|
||||
|
||||
#custom-menu-item-name.invalid,
|
||||
#custom-menu-item-url.invalid,
|
||||
.edit-menu-item-url.invalid,
|
||||
.menu-name-field.invalid,
|
||||
.menu-name-field.invalid:focus,
|
||||
#available-menu-items .new-content-item .create-item-input.invalid,
|
||||
#available-menu-items .new-content-item .create-item-input.invalid:focus {
|
||||
border: 1px solid #dc3232;
|
||||
.menu-name-field.invalid:focus {
|
||||
border: 1px solid #f00;
|
||||
}
|
||||
|
||||
#available-menu-items .menu-item-handle .item-type {
|
||||
@@ -624,6 +563,7 @@
|
||||
}
|
||||
|
||||
#available-menu-items .menu-item-handle {
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
margin-top: -1px;
|
||||
}
|
||||
@@ -644,10 +584,10 @@
|
||||
color: #82878c;
|
||||
width: 30px;
|
||||
height: 38px;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
outline: none;
|
||||
cursor: pointer;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#available-menu-items .menu-item-handle .item-add:focus {
|
||||
@@ -661,6 +601,7 @@
|
||||
top: 3px;
|
||||
display: inline-block;
|
||||
height: 20px;
|
||||
-webkit-border-radius: 50%;
|
||||
border-radius: 50%;
|
||||
font: normal 20px/1.05 dashicons; /* line height is to account for the dashicon's vertical alignment */
|
||||
}
|
||||
@@ -682,30 +623,68 @@
|
||||
margin: 0 20px;
|
||||
}
|
||||
|
||||
#available-menu-items-search .clear-results {
|
||||
position: absolute;
|
||||
top: 18px; /* 12 container padding +1 input margin +1 input border +4 ( 4 is ( 28 input height - 20 button height ) / 2 ) */
|
||||
right: 20px;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
cursor: pointer;
|
||||
background: none;
|
||||
color: #a00;
|
||||
text-decoration: none;
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
#available-menu-items-search .clear-results,
|
||||
#available-menu-items-search.loading .clear-results.is-visible {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#available-menu-items-search .clear-results.is-visible {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.ie8 #available-menu-items-search.loading .clear-results:before {
|
||||
content: ""; /* help IE8 redraw the pseudo element */
|
||||
}
|
||||
|
||||
#available-menu-items-search .clear-results:before {
|
||||
content: "\f335";
|
||||
font: normal 20px/1 dashicons;
|
||||
vertical-align: middle;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
#available-menu-items-search .clear-results:hover,
|
||||
#available-menu-items-search .clear-results:focus {
|
||||
color: #f00;
|
||||
}
|
||||
|
||||
#available-menu-items-search .spinner {
|
||||
position: absolute;
|
||||
top: 20px; /* 13 container padding +1 input margin +6 ( ( 32 input height - 20 spinner height ) / 2 ) */
|
||||
right: 21px;
|
||||
top: 18px; /* 12 container padding +1 input margin +1 input border +4 ( ( 28 input height - 20 button height ) / 2 ) */
|
||||
right: 20px;
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
||||
/* search results list */
|
||||
#available-menu-items #available-menu-items-search .accordion-section-content {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
left: 1px;
|
||||
top: 60px; /* below title div / search input */
|
||||
bottom: 0px; /* 100% height that still triggers lazy load */
|
||||
max-height: none;
|
||||
width: 100%;
|
||||
padding: 1px 15px 15px;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
#available-menu-items-search .nothing-found {
|
||||
/* Compensate the 1px top padding of the container. */
|
||||
margin-top: -1px;
|
||||
}
|
||||
|
||||
#available-menu-items-search .accordion-section-title:after {
|
||||
display: none;
|
||||
}
|
||||
@@ -724,6 +703,7 @@
|
||||
}
|
||||
|
||||
#customize-preview {
|
||||
-webkit-transition: all 0.2s;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
@@ -740,10 +720,6 @@ body.adding-menu-items #customize-preview {
|
||||
opacity: 0.4;
|
||||
}
|
||||
|
||||
body.adding-menu-items #customize-preview iframe {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.menu-item-handle .spinner {
|
||||
display: none;
|
||||
float: left;
|
||||
@@ -768,33 +744,39 @@ body.adding-menu-items #customize-preview iframe {
|
||||
}
|
||||
|
||||
.added-menu-item .menu-item-handle {
|
||||
-webkit-transition-property: opacity, background, color;
|
||||
transition-property: opacity, background, color;
|
||||
-webkit-transition-duration: 1.25s;
|
||||
transition-duration: 1.25s;
|
||||
-webkit-transition-timing-function: cubic-bezier( .25, -2.5, .75, 8 );
|
||||
transition-timing-function: cubic-bezier( .25, -2.5, .75, 8 ); /* Replacement for .hide().fadeIn('slow') in JS to add emphasis when it's loaded. */
|
||||
}
|
||||
|
||||
/* Add/delete Menus */
|
||||
|
||||
#customize-theme-controls .control-panel-content .control-section-nav_menu:nth-last-child(2) .accordion-section-title {
|
||||
border-bottom-color: #ddd;
|
||||
}
|
||||
|
||||
/* @todo update selector */
|
||||
#accordion-section-add_menu {
|
||||
margin: 15px 12px;
|
||||
}
|
||||
|
||||
#accordion-section-add_menu h3 {
|
||||
text-align: right;
|
||||
.new-menu-section-content {
|
||||
display: none;
|
||||
padding: 15px 0 0 0;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
#accordion-section-add_menu h3,
|
||||
#accordion-section-add_menu .customize-add-menu-button {
|
||||
margin: 0;
|
||||
/* @todo update selector */
|
||||
#accordion-section-add_menu .accordion-section-title {
|
||||
padding-left: 45px;
|
||||
}
|
||||
|
||||
#accordion-section-add_menu .customize-add-menu-button {
|
||||
font-weight: 400;
|
||||
/* @todo update selector */
|
||||
#accordion-section-add_menu .accordion-section-title:before {
|
||||
font: normal 20px/1 dashicons;
|
||||
position: absolute;
|
||||
top: 12px;
|
||||
left: 14px;
|
||||
content: "\f132";
|
||||
}
|
||||
|
||||
#create-new-menu-submit {
|
||||
@@ -808,10 +790,6 @@ body.adding-menu-items #customize-preview iframe {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.assigned-menu-locations-title p {
|
||||
margin: 0 0 8px 0;
|
||||
}
|
||||
|
||||
li.assigned-to-menu-location .menu-delete-item {
|
||||
display: none;
|
||||
}
|
||||
@@ -820,6 +798,18 @@ li.assigned-to-menu-location .add-new-menu-item {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
.menu-delete {
|
||||
color: #a00;
|
||||
cursor: pointer;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.menu-delete:hover,
|
||||
.menu-delete:focus {
|
||||
color: #f00;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.menu-item-handle {
|
||||
margin-top: -1px;
|
||||
}
|
||||
@@ -848,12 +838,7 @@ li.assigned-to-menu-location .add-new-menu-item {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.customize-control-nav_menu .new-menu-item-invitation {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.customize-control-nav_menu .customize-control-nav_menu-buttons {
|
||||
.customize-control-nav_menu {
|
||||
margin-top: 12px;
|
||||
}
|
||||
|
||||
@@ -864,24 +849,37 @@ li.assigned-to-menu-location .add-new-menu-item {
|
||||
.wp-customizer .menu-item .submitbox .submitdelete:focus,
|
||||
.customize-screen-options-toggle:focus:before,
|
||||
#customize-controls .customize-info .customize-help-toggle:focus:before,
|
||||
.wp-customizer button:focus .toggle-indicator:before,
|
||||
.wp-customizer button:focus .toggle-indicator:after,
|
||||
#available-menu-items-search .clear-results:focus,
|
||||
.menu-delete:focus,
|
||||
.menu-item-bar .item-delete:focus:before,
|
||||
#available-menu-items .item-add:focus:before {
|
||||
-webkit-box-shadow:
|
||||
0 0 0 1px #5b9dd9,
|
||||
0 0 2px 1px rgba(30, 140, 190, .8);
|
||||
box-shadow:
|
||||
0 0 0 1px #5b9dd9,
|
||||
0 0 2px 1px rgba(30, 140, 190, .8);
|
||||
}
|
||||
|
||||
|
||||
@media screen and (max-width: 782px) {
|
||||
@media screen and ( max-width: 782px ) {
|
||||
#available-menu-items #available-menu-items-search .accordion-section-content {
|
||||
top: 63px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 640px) {
|
||||
#available-menu-items #available-menu-items-search .accordion-section-content {
|
||||
top: 130px;
|
||||
#available-menu-items-search .spinner,
|
||||
#available-menu-items-search .clear-results {
|
||||
top: 20px; /* 12 container padding +1 input margin +1 input border +5.5 ( 5.5 rounded to 6 is ( 31 input height - 20 button height ) / 2 ) */
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and ( max-width: 640px ) {
|
||||
#available-menu-items #available-menu-items-search .accordion-section-content {
|
||||
top: 133px;
|
||||
}
|
||||
|
||||
#available-menu-items-search .clear-results {
|
||||
top: 90px; /* 70 section title height + 12 container padding +1 input margin +1 input border +5.5 ( 5.5 rounded to 6 is ( 31 input height - 20 button height ) / 2 ) */
|
||||
}
|
||||
}
|
||||
|
||||
3
wp-admin/css/customize-nav-menus.min.css
vendored
3
wp-admin/css/customize-nav-menus.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -18,9 +18,9 @@
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
/* Note: widget-tops are more compact when (max-height: 700px) and (min-width: 981px). */
|
||||
.customize-control-widget_form .widget-top {
|
||||
background: #fff;
|
||||
-webkit-transition: opacity 0.5s;
|
||||
transition: opacity 0.5s;
|
||||
}
|
||||
|
||||
@@ -75,6 +75,7 @@
|
||||
}
|
||||
|
||||
.customize-control-widget_form.wide-widget-control .widget-top {
|
||||
-webkit-transition: background-color 0.4s;
|
||||
transition: background-color 0.4s;
|
||||
}
|
||||
.customize-control-widget_form.wide-widget-control.expanding .widget-top,
|
||||
@@ -88,15 +89,15 @@
|
||||
line-height: 16px;
|
||||
}
|
||||
|
||||
.customize-control-widget_form.expanded .widget-action .toggle-indicator:before {
|
||||
.customize-control-widget_form.expanded a.widget-action:after {
|
||||
content: "\f142";
|
||||
}
|
||||
|
||||
.customize-control-widget_form.wide-widget-control .widget-action .toggle-indicator:before {
|
||||
.customize-control-widget_form.wide-widget-control a.widget-action:after {
|
||||
content: "\f141";
|
||||
}
|
||||
|
||||
.customize-control-widget_form.wide-widget-control.expanded .widget-action .toggle-indicator:before {
|
||||
.customize-control-widget_form.wide-widget-control.expanded a.widget-action:after {
|
||||
content: "\f139";
|
||||
}
|
||||
|
||||
@@ -112,6 +113,7 @@
|
||||
.control-section.accordion-section.highlighted > .accordion-section-title,
|
||||
.customize-control-widget_form.highlighted {
|
||||
outline: none;
|
||||
-webkit-box-shadow: 0 0 2px rgba(30,140,190,0.8);
|
||||
box-shadow: 0 0 2px rgba(30,140,190,0.8);
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
@@ -210,21 +212,6 @@
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* Text Widget */
|
||||
.wp-customizer div.mce-inline-toolbar-grp,
|
||||
.wp-customizer div.mce-tooltip {
|
||||
z-index: 500100 !important;
|
||||
}
|
||||
.wp-customizer .ui-autocomplete.wplink-autocomplete {
|
||||
z-index: 500110; /* originally 100110, but z-index of .wp-full-overlay is 500000 */
|
||||
}
|
||||
.wp-customizer #wp-link-backdrop {
|
||||
z-index: 500100; /* originally 100100, but z-index of .wp-full-overlay is 500000 */
|
||||
}
|
||||
.wp-customizer #wp-link-wrap {
|
||||
z-index: 500105; /* originally 100105, but z-index of .wp-full-overlay is 500000 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Styles for new widget addition panel
|
||||
*/
|
||||
@@ -235,21 +222,15 @@
|
||||
width: auto !important;
|
||||
}
|
||||
|
||||
/* Keep rule that is no longer necessary on widgets.php. */
|
||||
#available-widgets .widget-action {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.ios #available-widgets {
|
||||
-webkit-transition: right 0s;
|
||||
transition: right 0s;
|
||||
}
|
||||
|
||||
#available-widgets .widget-tpl:hover,
|
||||
#available-widgets .widget-tpl.selected {
|
||||
background: #f3f3f5;
|
||||
background: #eee;
|
||||
border-bottom-color: #ccc;
|
||||
color: #0073aa;
|
||||
border-right: 4px solid #0073aa;
|
||||
}
|
||||
|
||||
#customize-controls .widget-title h3 {
|
||||
@@ -267,6 +248,7 @@
|
||||
}
|
||||
|
||||
#customize-preview {
|
||||
-webkit-transition: all 0.2s;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
@@ -305,6 +287,8 @@ body.adding-widget #customize-preview {
|
||||
color: #32373c;
|
||||
font: normal 20px/1 dashicons;
|
||||
text-align: center;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
@@ -437,46 +421,33 @@ body.adding-widget #customize-preview {
|
||||
#available-widgets [class*="twitter"] .widget-title:before { content: "\f301"; }
|
||||
|
||||
@media screen and (max-height: 700px) and (min-width: 981px) {
|
||||
/* Compact widget-tops on smaller laptops, but not tablets. See ticket #27112#comment:4 */
|
||||
.customize-control-widget_form {
|
||||
.customize-control-widget {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.widget-top {
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
margin-top: -1px;
|
||||
}
|
||||
|
||||
.widget-top:hover {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.last-widget {
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.widget-title h3 {
|
||||
padding: 13px 15px;
|
||||
}
|
||||
|
||||
.widget-top .widget-action {
|
||||
padding: 8px 10px;
|
||||
}
|
||||
|
||||
.widget-reorder-nav span {
|
||||
height: 39px;
|
||||
}
|
||||
|
||||
.widget-reorder-nav span:before {
|
||||
line-height: 39px;
|
||||
}
|
||||
|
||||
/* Compact the move widget areas. */
|
||||
#customize-theme-controls .widget-area-select li {
|
||||
padding: 9px 42px 11px 15px;
|
||||
}
|
||||
|
||||
#customize-theme-controls .widget-area-select li:before {
|
||||
top: 8px;
|
||||
}
|
||||
|
||||
3
wp-admin/css/customize-widgets-rtl.min.css
vendored
3
wp-admin/css/customize-widgets-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -18,9 +18,9 @@
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
/* Note: widget-tops are more compact when (max-height: 700px) and (min-width: 981px). */
|
||||
.customize-control-widget_form .widget-top {
|
||||
background: #fff;
|
||||
-webkit-transition: opacity 0.5s;
|
||||
transition: opacity 0.5s;
|
||||
}
|
||||
|
||||
@@ -75,6 +75,7 @@
|
||||
}
|
||||
|
||||
.customize-control-widget_form.wide-widget-control .widget-top {
|
||||
-webkit-transition: background-color 0.4s;
|
||||
transition: background-color 0.4s;
|
||||
}
|
||||
.customize-control-widget_form.wide-widget-control.expanding .widget-top,
|
||||
@@ -88,15 +89,15 @@
|
||||
line-height: 16px;
|
||||
}
|
||||
|
||||
.customize-control-widget_form.expanded .widget-action .toggle-indicator:before {
|
||||
.customize-control-widget_form.expanded a.widget-action:after {
|
||||
content: "\f142";
|
||||
}
|
||||
|
||||
.customize-control-widget_form.wide-widget-control .widget-action .toggle-indicator:before {
|
||||
.customize-control-widget_form.wide-widget-control a.widget-action:after {
|
||||
content: "\f139";
|
||||
}
|
||||
|
||||
.customize-control-widget_form.wide-widget-control.expanded .widget-action .toggle-indicator:before {
|
||||
.customize-control-widget_form.wide-widget-control.expanded a.widget-action:after {
|
||||
content: "\f141";
|
||||
}
|
||||
|
||||
@@ -112,6 +113,7 @@
|
||||
.control-section.accordion-section.highlighted > .accordion-section-title,
|
||||
.customize-control-widget_form.highlighted {
|
||||
outline: none;
|
||||
-webkit-box-shadow: 0 0 2px rgba(30,140,190,0.8);
|
||||
box-shadow: 0 0 2px rgba(30,140,190,0.8);
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
@@ -210,21 +212,6 @@
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* Text Widget */
|
||||
.wp-customizer div.mce-inline-toolbar-grp,
|
||||
.wp-customizer div.mce-tooltip {
|
||||
z-index: 500100 !important;
|
||||
}
|
||||
.wp-customizer .ui-autocomplete.wplink-autocomplete {
|
||||
z-index: 500110; /* originally 100110, but z-index of .wp-full-overlay is 500000 */
|
||||
}
|
||||
.wp-customizer #wp-link-backdrop {
|
||||
z-index: 500100; /* originally 100100, but z-index of .wp-full-overlay is 500000 */
|
||||
}
|
||||
.wp-customizer #wp-link-wrap {
|
||||
z-index: 500105; /* originally 100105, but z-index of .wp-full-overlay is 500000 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Styles for new widget addition panel
|
||||
*/
|
||||
@@ -235,21 +222,15 @@
|
||||
width: auto !important;
|
||||
}
|
||||
|
||||
/* Keep rule that is no longer necessary on widgets.php. */
|
||||
#available-widgets .widget-action {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.ios #available-widgets {
|
||||
-webkit-transition: left 0s;
|
||||
transition: left 0s;
|
||||
}
|
||||
|
||||
#available-widgets .widget-tpl:hover,
|
||||
#available-widgets .widget-tpl.selected {
|
||||
background: #f3f3f5;
|
||||
background: #eee;
|
||||
border-bottom-color: #ccc;
|
||||
color: #0073aa;
|
||||
border-left: 4px solid #0073aa;
|
||||
}
|
||||
|
||||
#customize-controls .widget-title h3 {
|
||||
@@ -267,6 +248,7 @@
|
||||
}
|
||||
|
||||
#customize-preview {
|
||||
-webkit-transition: all 0.2s;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
@@ -305,6 +287,8 @@ body.adding-widget #customize-preview {
|
||||
color: #32373c;
|
||||
font: normal 20px/1 dashicons;
|
||||
text-align: center;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
@@ -437,46 +421,33 @@ body.adding-widget #customize-preview {
|
||||
#available-widgets [class*="twitter"] .widget-title:before { content: "\f301"; }
|
||||
|
||||
@media screen and (max-height: 700px) and (min-width: 981px) {
|
||||
/* Compact widget-tops on smaller laptops, but not tablets. See ticket #27112#comment:4 */
|
||||
.customize-control-widget_form {
|
||||
.customize-control-widget {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.widget-top {
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
margin-top: -1px;
|
||||
}
|
||||
|
||||
.widget-top:hover {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.last-widget {
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.widget-title h3 {
|
||||
padding: 13px 15px;
|
||||
}
|
||||
|
||||
.widget-top .widget-action {
|
||||
padding: 8px 10px;
|
||||
}
|
||||
|
||||
.widget-reorder-nav span {
|
||||
height: 39px;
|
||||
}
|
||||
|
||||
.widget-reorder-nav span:before {
|
||||
line-height: 39px;
|
||||
}
|
||||
|
||||
/* Compact the move widget areas. */
|
||||
#customize-theme-controls .widget-area-select li {
|
||||
padding: 9px 15px 11px 42px;
|
||||
}
|
||||
|
||||
#customize-theme-controls .widget-area-select li:before {
|
||||
top: 8px;
|
||||
}
|
||||
|
||||
3
wp-admin/css/customize-widgets.min.css
vendored
3
wp-admin/css/customize-widgets.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -104,6 +104,7 @@
|
||||
margin: 16px 0;
|
||||
padding: 23px 10px 0;
|
||||
border: 1px solid #e5e5e5;
|
||||
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.04);
|
||||
box-shadow: 0 1px 1px rgba(0,0,0,0.04);
|
||||
background: #fff;
|
||||
font-size: 13px;
|
||||
@@ -153,6 +154,7 @@
|
||||
position: absolute;
|
||||
top: 8px;
|
||||
right: 0;
|
||||
-webkit-transition: all .1s ease-in-out;
|
||||
transition: all .1s ease-in-out;
|
||||
}
|
||||
|
||||
@@ -245,11 +247,6 @@
|
||||
top: -1px;
|
||||
}
|
||||
|
||||
.welcome-panel .welcome-setup-home:before {
|
||||
content: "\f102";
|
||||
top: -1px;
|
||||
}
|
||||
|
||||
.welcome-panel .welcome-view-site:before {
|
||||
content: "\f115";
|
||||
top: -2px;
|
||||
@@ -304,158 +301,6 @@
|
||||
content: "\f153";
|
||||
}
|
||||
|
||||
/* Dashboard WordPress events */
|
||||
|
||||
.community-events-errors {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.community-events-loading {
|
||||
padding: 10px 12px 8px;
|
||||
}
|
||||
|
||||
.community-events {
|
||||
margin-bottom: 6px;
|
||||
padding: 0 12px;
|
||||
}
|
||||
|
||||
.community-events .spinner {
|
||||
float: none;
|
||||
margin: 5px 2px 0;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.community-events-errors[aria-hidden="true"],
|
||||
.community-events-errors [aria-hidden="true"],
|
||||
.community-events-loading[aria-hidden="true"],
|
||||
.community-events[aria-hidden="true"],
|
||||
.community-events [aria-hidden="true"] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.community-events .activity-block:first-child,
|
||||
.community-events h2 {
|
||||
padding-top: 12px;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
.community-events-form {
|
||||
margin: 15px 0 5px;
|
||||
}
|
||||
|
||||
.community-events-form .regular-text {
|
||||
width: 40%;
|
||||
height: 29px;
|
||||
margin: 0;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.community-events li.event-none {
|
||||
border-right: 4px solid #00a0d2;
|
||||
}
|
||||
|
||||
.community-events-form label {
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
line-height: 28px;
|
||||
height: 28px;
|
||||
}
|
||||
|
||||
.community-events .activity-block > p {
|
||||
margin-bottom: 0;
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.community-events-toggle-location {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
#community-events-submit {
|
||||
margin-right: 3px;
|
||||
margin-left: 3px;
|
||||
}
|
||||
|
||||
/* Needs higher specificity than #dashboard-widgets .button-link */
|
||||
#dashboard-widgets .community-events-cancel.button-link {
|
||||
vertical-align: top;
|
||||
/* Same properties as the submit button for cross-browsers alignment. */
|
||||
line-height: 26px;
|
||||
height: 28px;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.community-events ul {
|
||||
background-color: #fafafa;
|
||||
padding-right: 0;
|
||||
padding-left: 0;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.community-events li {
|
||||
margin: 0;
|
||||
padding: 8px 12px;
|
||||
color: #32373c;
|
||||
}
|
||||
.community-events li:first-child {
|
||||
border-top: 1px solid #eee;
|
||||
}
|
||||
|
||||
.community-events li ~ li {
|
||||
border-top: 1px solid #eee;
|
||||
}
|
||||
|
||||
.community-events .activity-block.last {
|
||||
border-bottom: 1px solid #eee;
|
||||
padding-top: 0;
|
||||
margin-top: -1px;
|
||||
}
|
||||
|
||||
.community-events .event-info {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.event-icon {
|
||||
height: 18px;
|
||||
padding-left: 10px;
|
||||
width: 18px;
|
||||
display: none; /* Hide on smaller screens */
|
||||
}
|
||||
|
||||
.event-icon:before {
|
||||
color: #82878C;
|
||||
font-size: 18px;
|
||||
}
|
||||
.event-meetup .event-icon:before {
|
||||
content: "\f484";
|
||||
}
|
||||
.event-wordcamp .event-icon:before {
|
||||
content: "\f486";
|
||||
}
|
||||
|
||||
.community-events .event-title {
|
||||
font-weight: 600;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.community-events .event-date,
|
||||
.community-events .event-time {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.community-events-footer {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
padding: 12px;
|
||||
border-top: 1px solid #eee;
|
||||
color: #ddd;
|
||||
}
|
||||
|
||||
/* Safari 10 + VoiceOver specific: without this, the hidden text gets read out before the link. */
|
||||
.community-events-footer .screen-reader-text {
|
||||
height: inherit;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* Dashboard WordPress news */
|
||||
|
||||
#dashboard_primary .inside {
|
||||
@@ -463,21 +308,19 @@
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#dashboard_primary .widget-loading {
|
||||
#dashboard_primary .widget-loading,
|
||||
#dashboard_primary .dashboard-widget-control-form {
|
||||
padding: 12px 12px 0;
|
||||
margin-bottom: 1em !important; /* Needs to override `.postbox .inside > p:last-child` in common.css */
|
||||
}
|
||||
|
||||
/* Notice when JS is off. */
|
||||
#dashboard_primary .inside .notice {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
body #dashboard-widgets .postbox form .submit {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* Used only for configurable widgets. */
|
||||
.dashboard-widget-control-form {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.dashboard-widget-control-form p {
|
||||
margin-top: 0;
|
||||
}
|
||||
@@ -488,8 +331,9 @@ body #dashboard-widgets .postbox form .submit {
|
||||
}
|
||||
|
||||
#dashboard_primary .rss-widget {
|
||||
border-bottom: 1px solid #eee;
|
||||
font-size: 13px;
|
||||
padding: 0 12px 0;
|
||||
padding: 8px 12px 10px;
|
||||
}
|
||||
|
||||
#dashboard_primary .rss-widget:last-child {
|
||||
@@ -511,8 +355,7 @@ body #dashboard-widgets .postbox form .submit {
|
||||
}
|
||||
|
||||
#dashboard_primary .rss-widget ul li {
|
||||
padding: 4px 0;
|
||||
margin: 0;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
/* Dashboard right now */
|
||||
@@ -620,6 +463,8 @@ form.initial-form.quickpress-open input#title {
|
||||
|
||||
#dashboard_quick_press input,
|
||||
#dashboard_quick_press textarea {
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
}
|
||||
@@ -926,8 +771,7 @@ form.initial-form.quickpress-open input#title {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
#dashboard-widgets a,
|
||||
#dashboard-widgets .button-link {
|
||||
#dashboard-widgets a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
@@ -953,6 +797,7 @@ form.initial-form.quickpress-open input#title {
|
||||
|
||||
#activity-widget #the-comment-list .comment,
|
||||
#activity-widget #the-comment-list .pingback {
|
||||
-webkit-box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.06);
|
||||
box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.06);
|
||||
}
|
||||
|
||||
@@ -1026,9 +871,9 @@ form.initial-form.quickpress-open input#title {
|
||||
}
|
||||
|
||||
a.rsswidget {
|
||||
font-size: 13px;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
line-height: 1.4em;
|
||||
line-height: 1.7em;
|
||||
}
|
||||
|
||||
.rss-widget ul li {
|
||||
@@ -1085,6 +930,7 @@ a.rsswidget {
|
||||
background-image: none;
|
||||
border-color: #edc048;
|
||||
color: #fff;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
@@ -1097,6 +943,7 @@ a.rsswidget {
|
||||
border-bottom-color: #f6e2ac;
|
||||
background: transparent none;
|
||||
color: #fff;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
@@ -1121,28 +968,6 @@ a.rsswidget {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
/* PHP Nag */
|
||||
#dashboard_php_nag .dashicons-warning {
|
||||
color: #ffb900;
|
||||
padding-left: 6px;
|
||||
}
|
||||
|
||||
#dashboard_php_nag.php-insecure .dashicons-warning {
|
||||
color: #df3232;
|
||||
}
|
||||
|
||||
#dashboard_php_nag p {
|
||||
margin: 12px 0;
|
||||
}
|
||||
|
||||
#dashboard_php_nag h3 {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
#dashboard_php_nag .button .dashicons-external {
|
||||
line-height: 25px;
|
||||
}
|
||||
|
||||
/* =Media Queries
|
||||
-------------------------------------------------------------- */
|
||||
|
||||
@@ -1253,41 +1078,12 @@ a.rsswidget {
|
||||
|
||||
}
|
||||
|
||||
@media screen and (max-width: 782px) {
|
||||
@media screen and ( max-width: 782px ) {
|
||||
#dashboard_recent_comments #the-comment-list .comment-item .avatar {
|
||||
height: 30px;
|
||||
width: 30px;
|
||||
margin: 4px 0 5px 10px;
|
||||
}
|
||||
|
||||
.community-events-toggle-location {
|
||||
height: 38px;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
.community-events-form .regular-text {
|
||||
height: 32px;
|
||||
}
|
||||
|
||||
#community-events-submit {
|
||||
margin-bottom: 0;
|
||||
/* Override .wp-core-ui .button */
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.community-events-form label,
|
||||
#dashboard-widgets .community-events-cancel.button-link {
|
||||
/* Same properties as the submit button for cross-browsers alignment. */
|
||||
font-size: 14px;
|
||||
line-height: normal;
|
||||
height: auto;
|
||||
padding: 6px 0;
|
||||
border: 1px solid transparent;
|
||||
}
|
||||
|
||||
.community-events .spinner {
|
||||
margin-top: 7px;
|
||||
}
|
||||
}
|
||||
|
||||
/* Smartphone */
|
||||
@@ -1311,30 +1107,3 @@ a.rsswidget {
|
||||
right: -35px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 355px) {
|
||||
.community-events .event-info {
|
||||
display: table-row;
|
||||
float: right;
|
||||
max-width: 59%;
|
||||
}
|
||||
|
||||
.event-icon,
|
||||
.event-icon[aria-hidden="true"] {
|
||||
display: table-cell;
|
||||
}
|
||||
|
||||
.event-info-inner {
|
||||
display: table-cell;
|
||||
}
|
||||
|
||||
.community-events .event-date-time {
|
||||
float: left;
|
||||
max-width: 39%;
|
||||
}
|
||||
|
||||
.community-events .event-date,
|
||||
.community-events .event-time {
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
|
||||
3
wp-admin/css/dashboard-rtl.min.css
vendored
3
wp-admin/css/dashboard-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -104,6 +104,7 @@
|
||||
margin: 16px 0;
|
||||
padding: 23px 10px 0;
|
||||
border: 1px solid #e5e5e5;
|
||||
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.04);
|
||||
box-shadow: 0 1px 1px rgba(0,0,0,0.04);
|
||||
background: #fff;
|
||||
font-size: 13px;
|
||||
@@ -153,6 +154,7 @@
|
||||
position: absolute;
|
||||
top: 8px;
|
||||
left: 0;
|
||||
-webkit-transition: all .1s ease-in-out;
|
||||
transition: all .1s ease-in-out;
|
||||
}
|
||||
|
||||
@@ -245,11 +247,6 @@
|
||||
top: -1px;
|
||||
}
|
||||
|
||||
.welcome-panel .welcome-setup-home:before {
|
||||
content: "\f102";
|
||||
top: -1px;
|
||||
}
|
||||
|
||||
.welcome-panel .welcome-view-site:before {
|
||||
content: "\f115";
|
||||
top: -2px;
|
||||
@@ -304,158 +301,6 @@
|
||||
content: "\f153";
|
||||
}
|
||||
|
||||
/* Dashboard WordPress events */
|
||||
|
||||
.community-events-errors {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.community-events-loading {
|
||||
padding: 10px 12px 8px;
|
||||
}
|
||||
|
||||
.community-events {
|
||||
margin-bottom: 6px;
|
||||
padding: 0 12px;
|
||||
}
|
||||
|
||||
.community-events .spinner {
|
||||
float: none;
|
||||
margin: 5px 2px 0;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.community-events-errors[aria-hidden="true"],
|
||||
.community-events-errors [aria-hidden="true"],
|
||||
.community-events-loading[aria-hidden="true"],
|
||||
.community-events[aria-hidden="true"],
|
||||
.community-events [aria-hidden="true"] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.community-events .activity-block:first-child,
|
||||
.community-events h2 {
|
||||
padding-top: 12px;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
.community-events-form {
|
||||
margin: 15px 0 5px;
|
||||
}
|
||||
|
||||
.community-events-form .regular-text {
|
||||
width: 40%;
|
||||
height: 29px;
|
||||
margin: 0;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.community-events li.event-none {
|
||||
border-left: 4px solid #00a0d2;
|
||||
}
|
||||
|
||||
.community-events-form label {
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
line-height: 28px;
|
||||
height: 28px;
|
||||
}
|
||||
|
||||
.community-events .activity-block > p {
|
||||
margin-bottom: 0;
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.community-events-toggle-location {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
#community-events-submit {
|
||||
margin-left: 3px;
|
||||
margin-right: 3px;
|
||||
}
|
||||
|
||||
/* Needs higher specificity than #dashboard-widgets .button-link */
|
||||
#dashboard-widgets .community-events-cancel.button-link {
|
||||
vertical-align: top;
|
||||
/* Same properties as the submit button for cross-browsers alignment. */
|
||||
line-height: 26px;
|
||||
height: 28px;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.community-events ul {
|
||||
background-color: #fafafa;
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.community-events li {
|
||||
margin: 0;
|
||||
padding: 8px 12px;
|
||||
color: #32373c;
|
||||
}
|
||||
.community-events li:first-child {
|
||||
border-top: 1px solid #eee;
|
||||
}
|
||||
|
||||
.community-events li ~ li {
|
||||
border-top: 1px solid #eee;
|
||||
}
|
||||
|
||||
.community-events .activity-block.last {
|
||||
border-bottom: 1px solid #eee;
|
||||
padding-top: 0;
|
||||
margin-top: -1px;
|
||||
}
|
||||
|
||||
.community-events .event-info {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.event-icon {
|
||||
height: 18px;
|
||||
padding-right: 10px;
|
||||
width: 18px;
|
||||
display: none; /* Hide on smaller screens */
|
||||
}
|
||||
|
||||
.event-icon:before {
|
||||
color: #82878C;
|
||||
font-size: 18px;
|
||||
}
|
||||
.event-meetup .event-icon:before {
|
||||
content: "\f484";
|
||||
}
|
||||
.event-wordcamp .event-icon:before {
|
||||
content: "\f486";
|
||||
}
|
||||
|
||||
.community-events .event-title {
|
||||
font-weight: 600;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.community-events .event-date,
|
||||
.community-events .event-time {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.community-events-footer {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
padding: 12px;
|
||||
border-top: 1px solid #eee;
|
||||
color: #ddd;
|
||||
}
|
||||
|
||||
/* Safari 10 + VoiceOver specific: without this, the hidden text gets read out before the link. */
|
||||
.community-events-footer .screen-reader-text {
|
||||
height: inherit;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* Dashboard WordPress news */
|
||||
|
||||
#dashboard_primary .inside {
|
||||
@@ -463,21 +308,19 @@
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#dashboard_primary .widget-loading {
|
||||
#dashboard_primary .widget-loading,
|
||||
#dashboard_primary .dashboard-widget-control-form {
|
||||
padding: 12px 12px 0;
|
||||
margin-bottom: 1em !important; /* Needs to override `.postbox .inside > p:last-child` in common.css */
|
||||
}
|
||||
|
||||
/* Notice when JS is off. */
|
||||
#dashboard_primary .inside .notice {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
body #dashboard-widgets .postbox form .submit {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* Used only for configurable widgets. */
|
||||
.dashboard-widget-control-form {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.dashboard-widget-control-form p {
|
||||
margin-top: 0;
|
||||
}
|
||||
@@ -488,8 +331,9 @@ body #dashboard-widgets .postbox form .submit {
|
||||
}
|
||||
|
||||
#dashboard_primary .rss-widget {
|
||||
border-bottom: 1px solid #eee;
|
||||
font-size: 13px;
|
||||
padding: 0 12px 0;
|
||||
padding: 8px 12px 10px;
|
||||
}
|
||||
|
||||
#dashboard_primary .rss-widget:last-child {
|
||||
@@ -511,8 +355,7 @@ body #dashboard-widgets .postbox form .submit {
|
||||
}
|
||||
|
||||
#dashboard_primary .rss-widget ul li {
|
||||
padding: 4px 0;
|
||||
margin: 0;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
/* Dashboard right now */
|
||||
@@ -620,6 +463,8 @@ form.initial-form.quickpress-open input#title {
|
||||
|
||||
#dashboard_quick_press input,
|
||||
#dashboard_quick_press textarea {
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
}
|
||||
@@ -926,8 +771,7 @@ form.initial-form.quickpress-open input#title {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
#dashboard-widgets a,
|
||||
#dashboard-widgets .button-link {
|
||||
#dashboard-widgets a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
@@ -953,6 +797,7 @@ form.initial-form.quickpress-open input#title {
|
||||
|
||||
#activity-widget #the-comment-list .comment,
|
||||
#activity-widget #the-comment-list .pingback {
|
||||
-webkit-box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.06);
|
||||
box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.06);
|
||||
}
|
||||
|
||||
@@ -1026,9 +871,9 @@ form.initial-form.quickpress-open input#title {
|
||||
}
|
||||
|
||||
a.rsswidget {
|
||||
font-size: 13px;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
line-height: 1.4em;
|
||||
line-height: 1.7em;
|
||||
}
|
||||
|
||||
.rss-widget ul li {
|
||||
@@ -1085,6 +930,7 @@ a.rsswidget {
|
||||
background-image: none;
|
||||
border-color: #edc048;
|
||||
color: #fff;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
@@ -1097,6 +943,7 @@ a.rsswidget {
|
||||
border-bottom-color: #f6e2ac;
|
||||
background: transparent none;
|
||||
color: #fff;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
@@ -1121,28 +968,6 @@ a.rsswidget {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
/* PHP Nag */
|
||||
#dashboard_php_nag .dashicons-warning {
|
||||
color: #ffb900;
|
||||
padding-right: 6px;
|
||||
}
|
||||
|
||||
#dashboard_php_nag.php-insecure .dashicons-warning {
|
||||
color: #df3232;
|
||||
}
|
||||
|
||||
#dashboard_php_nag p {
|
||||
margin: 12px 0;
|
||||
}
|
||||
|
||||
#dashboard_php_nag h3 {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
#dashboard_php_nag .button .dashicons-external {
|
||||
line-height: 25px;
|
||||
}
|
||||
|
||||
/* =Media Queries
|
||||
-------------------------------------------------------------- */
|
||||
|
||||
@@ -1253,41 +1078,12 @@ a.rsswidget {
|
||||
|
||||
}
|
||||
|
||||
@media screen and (max-width: 782px) {
|
||||
@media screen and ( max-width: 782px ) {
|
||||
#dashboard_recent_comments #the-comment-list .comment-item .avatar {
|
||||
height: 30px;
|
||||
width: 30px;
|
||||
margin: 4px 10px 5px 0;
|
||||
}
|
||||
|
||||
.community-events-toggle-location {
|
||||
height: 38px;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
.community-events-form .regular-text {
|
||||
height: 32px;
|
||||
}
|
||||
|
||||
#community-events-submit {
|
||||
margin-bottom: 0;
|
||||
/* Override .wp-core-ui .button */
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.community-events-form label,
|
||||
#dashboard-widgets .community-events-cancel.button-link {
|
||||
/* Same properties as the submit button for cross-browsers alignment. */
|
||||
font-size: 14px;
|
||||
line-height: normal;
|
||||
height: auto;
|
||||
padding: 6px 0;
|
||||
border: 1px solid transparent;
|
||||
}
|
||||
|
||||
.community-events .spinner {
|
||||
margin-top: 7px;
|
||||
}
|
||||
}
|
||||
|
||||
/* Smartphone */
|
||||
@@ -1311,30 +1107,3 @@ a.rsswidget {
|
||||
left: -35px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 355px) {
|
||||
.community-events .event-info {
|
||||
display: table-row;
|
||||
float: left;
|
||||
max-width: 59%;
|
||||
}
|
||||
|
||||
.event-icon,
|
||||
.event-icon[aria-hidden="true"] {
|
||||
display: table-cell;
|
||||
}
|
||||
|
||||
.event-info-inner {
|
||||
display: table-cell;
|
||||
}
|
||||
|
||||
.community-events .event-date-time {
|
||||
float: right;
|
||||
max-width: 39%;
|
||||
}
|
||||
|
||||
.community-events .event-date,
|
||||
.community-events .event-time {
|
||||
text-align: right;
|
||||
}
|
||||
}
|
||||
|
||||
3
wp-admin/css/dashboard.min.css
vendored
3
wp-admin/css/dashboard.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -31,6 +31,7 @@ div#media-upload-header {
|
||||
border-bottom: 1px solid #ddd;
|
||||
background-color: #f9f9f9;
|
||||
text-decoration: none;
|
||||
-webkit-transition: none;
|
||||
transition: none;
|
||||
}
|
||||
|
||||
@@ -206,22 +207,6 @@ span.required {
|
||||
margin: 8px 0;
|
||||
}
|
||||
|
||||
#media-upload .tablenav-pages a,
|
||||
#media-upload .tablenav-pages .current {
|
||||
display: inline-block;
|
||||
padding: 4px 5px 6px;
|
||||
font-size: 16px;
|
||||
line-height: 1;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#media-upload .tablenav-pages a {
|
||||
min-width: 17px;
|
||||
border: 1px solid #ccc;
|
||||
background: #f7f7f7;
|
||||
}
|
||||
|
||||
#filter .tablenav select {
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
@@ -294,11 +279,11 @@ span.required {
|
||||
border-bottom: 1px solid #ddd;
|
||||
}
|
||||
|
||||
h3.media-title {
|
||||
h3.media-title {
|
||||
font-size: 1.6em;
|
||||
}
|
||||
|
||||
h4.media-sub-title {
|
||||
h4.media-sub-title {
|
||||
border-bottom: 1px solid #ddd;
|
||||
font-size: 1.3em;
|
||||
margin: 12px;
|
||||
@@ -409,21 +394,25 @@ table.not-image tr.image-only {
|
||||
|
||||
.image-align-none-label {
|
||||
background-image: url(../images/align-none-2x.png?ver=20120916);
|
||||
-webkit-background-size: 21px 15px;
|
||||
background-size: 21px 15px;
|
||||
}
|
||||
|
||||
.image-align-left-label {
|
||||
background-image: url(../images/align-left-2x.png?ver=20120916);
|
||||
-webkit-background-size: 22px 15px;
|
||||
background-size: 22px 15px;
|
||||
}
|
||||
|
||||
.image-align-center-label {
|
||||
background-image: url(../images/align-center-2x.png?ver=20120916);
|
||||
-webkit-background-size: 21px 15px;
|
||||
background-size: 21px 15px;
|
||||
}
|
||||
|
||||
.image-align-right-label {
|
||||
background-image: url(../images/align-right-2x.png?ver=20120916);
|
||||
-webkit-background-size: 22px 15px;
|
||||
background-size: 22px 15px;
|
||||
}
|
||||
}
|
||||
|
||||
3
wp-admin/css/deprecated-media-rtl.min.css
vendored
3
wp-admin/css/deprecated-media-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -31,6 +31,7 @@ div#media-upload-header {
|
||||
border-bottom: 1px solid #ddd;
|
||||
background-color: #f9f9f9;
|
||||
text-decoration: none;
|
||||
-webkit-transition: none;
|
||||
transition: none;
|
||||
}
|
||||
|
||||
@@ -206,22 +207,6 @@ span.required {
|
||||
margin: 8px 0;
|
||||
}
|
||||
|
||||
#media-upload .tablenav-pages a,
|
||||
#media-upload .tablenav-pages .current {
|
||||
display: inline-block;
|
||||
padding: 4px 5px 6px;
|
||||
font-size: 16px;
|
||||
line-height: 1;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#media-upload .tablenav-pages a {
|
||||
min-width: 17px;
|
||||
border: 1px solid #ccc;
|
||||
background: #f7f7f7;
|
||||
}
|
||||
|
||||
#filter .tablenav select {
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
@@ -294,11 +279,11 @@ span.required {
|
||||
border-bottom: 1px solid #ddd;
|
||||
}
|
||||
|
||||
h3.media-title {
|
||||
h3.media-title {
|
||||
font-size: 1.6em;
|
||||
}
|
||||
|
||||
h4.media-sub-title {
|
||||
h4.media-sub-title {
|
||||
border-bottom: 1px solid #ddd;
|
||||
font-size: 1.3em;
|
||||
margin: 12px;
|
||||
@@ -409,21 +394,25 @@ table.not-image tr.image-only {
|
||||
|
||||
.image-align-none-label {
|
||||
background-image: url(../images/align-none-2x.png?ver=20120916);
|
||||
-webkit-background-size: 21px 15px;
|
||||
background-size: 21px 15px;
|
||||
}
|
||||
|
||||
.image-align-left-label {
|
||||
background-image: url(../images/align-left-2x.png?ver=20120916);
|
||||
-webkit-background-size: 22px 15px;
|
||||
background-size: 22px 15px;
|
||||
}
|
||||
|
||||
.image-align-center-label {
|
||||
background-image: url(../images/align-center-2x.png?ver=20120916);
|
||||
-webkit-background-size: 21px 15px;
|
||||
background-size: 21px 15px;
|
||||
}
|
||||
|
||||
.image-align-right-label {
|
||||
background-image: url(../images/align-right-2x.png?ver=20120916);
|
||||
-webkit-background-size: 22px 15px;
|
||||
background-size: 22px 15px;
|
||||
}
|
||||
}
|
||||
|
||||
3
wp-admin/css/deprecated-media.min.css
vendored
3
wp-admin/css/deprecated-media.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -100,6 +100,8 @@ input#link_url {
|
||||
margin-left: 10px;
|
||||
padding: 0;
|
||||
font-size: 11px;
|
||||
text-decoration: underline;
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
#comment-link-box {
|
||||
@@ -118,7 +120,7 @@ input#link_url {
|
||||
#editable-post-name input {
|
||||
font-size: 13px;
|
||||
font-weight: 400;
|
||||
height: 24px;
|
||||
height: 22px;
|
||||
margin: 0;
|
||||
width: 16em;
|
||||
}
|
||||
@@ -127,10 +129,23 @@ input#link_url {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.submitbox .submitdelete {
|
||||
text-decoration: none;
|
||||
padding: 1px 2px;
|
||||
}
|
||||
|
||||
body.post-new-php .submitbox .submitdelete {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* @todo: do we really need this? word on the street is we don't and this
|
||||
stray rule may actually be compensated for elsewhere. */
|
||||
#normal-sortables .submitbox .submitdelete:hover {
|
||||
color: #000;
|
||||
background-color: #f00;
|
||||
border-bottom-color: #f00;
|
||||
}
|
||||
|
||||
.submitbox .submit a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
@@ -154,6 +169,7 @@ body.post-new-php .submitbox .submitdelete {
|
||||
position: relative;
|
||||
min-width: 255px;
|
||||
border: 1px solid #e5e5e5;
|
||||
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.04);
|
||||
box-shadow: 0 1px 1px rgba(0,0,0,0.04);
|
||||
background: #fff;
|
||||
}
|
||||
@@ -167,7 +183,7 @@ body.post-new-php .submitbox .submitdelete {
|
||||
border: 0 none;
|
||||
float: left;
|
||||
padding: 0 12px;
|
||||
margin: 0;
|
||||
margin:0;
|
||||
}
|
||||
|
||||
.category-add input[type="text"],
|
||||
@@ -214,7 +230,7 @@ ul.category-tabs li,
|
||||
|
||||
/* Back-compat for pre-4.4 */
|
||||
#category-adder h4 {
|
||||
margin: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.taxonomy-add-new {
|
||||
@@ -278,8 +294,10 @@ ul.wp-tab-bar li {
|
||||
height: auto;
|
||||
width: auto;
|
||||
vertical-align: top;
|
||||
background-image: -webkit-linear-gradient(-45deg, #c4c4c4 25%, transparent 25%, transparent 75%, #c4c4c4 75%, #c4c4c4), -webkit-linear-gradient(-45deg, #c4c4c4 25%, transparent 25%, transparent 75%, #c4c4c4 75%, #c4c4c4);
|
||||
background-image: linear-gradient(-45deg, #c4c4c4 25%, transparent 25%, transparent 75%, #c4c4c4 75%, #c4c4c4), linear-gradient(-45deg, #c4c4c4 25%, transparent 25%, transparent 75%, #c4c4c4 75%, #c4c4c4);
|
||||
background-position: 100% 0, 10px 10px;
|
||||
-webkit-background-size: 20px 20px;
|
||||
background-size: 20px 20px;
|
||||
}
|
||||
|
||||
@@ -312,6 +330,7 @@ form#tags-filter {
|
||||
border: 1px solid #e5e5e5;
|
||||
border-top: none;
|
||||
background-color: #f7f7f7;
|
||||
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.04);
|
||||
box-shadow: 0 1px 1px rgba(0,0,0,0.04);
|
||||
z-index: 999;
|
||||
}
|
||||
@@ -330,7 +349,7 @@ form#tags-filter {
|
||||
}
|
||||
|
||||
#content-resize-handle {
|
||||
background: transparent url(../images/resize.gif) no-repeat scroll left bottom;
|
||||
background: transparent url(../images/resize.gif) no-repeat scroll right bottom;
|
||||
width: 12px;
|
||||
cursor: row-resize;
|
||||
}
|
||||
@@ -364,6 +383,7 @@ form#tags-filter {
|
||||
}
|
||||
|
||||
.wp-editor-expand #wp-content-editor-container {
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
margin-top: -1px;
|
||||
}
|
||||
@@ -444,7 +464,7 @@ form#tags-filter {
|
||||
height: auto !important;
|
||||
}
|
||||
|
||||
#post-body .misc-pub-post-status:before,
|
||||
#misc-publishing-actions label[for="post_status"]:before,
|
||||
#post-body #visibility:before,
|
||||
.curtime #timestamp:before,
|
||||
#post-body .misc-pub-revisions:before,
|
||||
@@ -452,22 +472,20 @@ span.wp-media-buttons-icon:before {
|
||||
color: #82878c;
|
||||
}
|
||||
|
||||
#post-body .misc-pub-post-status:before,
|
||||
#post-body #visibility:before,
|
||||
.curtime #timestamp:before,
|
||||
#post-body .misc-pub-revisions:before {
|
||||
font: normal 20px/1 dashicons;
|
||||
speak: none;
|
||||
display: inline-block;
|
||||
margin-right: -1px;
|
||||
padding-left: 3px;
|
||||
padding: 0 0 0 2px;
|
||||
top: 0;
|
||||
right: -1px;
|
||||
position: relative;
|
||||
vertical-align: top;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
#post-body .misc-pub-post-status:before {
|
||||
content: "\f173";
|
||||
text-decoration: none !important;
|
||||
}
|
||||
|
||||
#post-body #visibility:before {
|
||||
@@ -476,7 +494,6 @@ span.wp-media-buttons-icon:before {
|
||||
|
||||
.curtime #timestamp:before {
|
||||
content: "\f145";
|
||||
position: relative;
|
||||
top: -1px;
|
||||
}
|
||||
|
||||
@@ -506,6 +523,7 @@ span.wp-media-buttons-icon:before {
|
||||
width: 450px;
|
||||
margin-right: -225px;
|
||||
background: #fff;
|
||||
-webkit-box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 );
|
||||
box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 );
|
||||
line-height: 1.5;
|
||||
z-index: 1000005;
|
||||
@@ -529,8 +547,7 @@ span.wp-media-buttons-icon:before {
|
||||
margin: 25px;
|
||||
}
|
||||
|
||||
#post-lock-dialog .post-locked-message a.button,
|
||||
#file-editor-warning .button {
|
||||
#post-lock-dialog .post-locked-message a.button {
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
@@ -575,9 +592,10 @@ span.wp-media-buttons-icon:before {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.tagchecklist > li {
|
||||
float: right;
|
||||
.tagchecklist span {
|
||||
margin-left: 25px;
|
||||
display: block;
|
||||
float: right;
|
||||
font-size: 13px;
|
||||
line-height: 1.8em;
|
||||
cursor: default;
|
||||
@@ -586,16 +604,16 @@ span.wp-media-buttons-icon:before {
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.tagchecklist .ntdelbutton {
|
||||
position: absolute;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
border: none;
|
||||
margin: 0 -19px 0 0;
|
||||
padding: 0;
|
||||
background: none;
|
||||
.tagchecklist span a {
|
||||
margin: 1px -17px 0 0;
|
||||
cursor: pointer;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
display: block;
|
||||
float: right;
|
||||
text-indent: 0;
|
||||
overflow: hidden;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
#poststuff h3.hndle, /* Back-compat for pre-4.4 */
|
||||
@@ -607,18 +625,10 @@ span.wp-media-buttons-icon:before {
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
#poststuff .stuffbox h2 {
|
||||
padding: 8px 10px;
|
||||
}
|
||||
|
||||
#poststuff .inside {
|
||||
margin: 6px 0 0 0;
|
||||
}
|
||||
|
||||
#poststuff .stuffbox .inside {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#poststuff .inside #parent_id,
|
||||
#poststuff .inside #page_template {
|
||||
max-width: 100%;
|
||||
@@ -629,21 +639,11 @@ span.wp-media-buttons-icon:before {
|
||||
width: 250px;
|
||||
}
|
||||
|
||||
.post-attributes-label-wrapper {
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
.post-attributes-label {
|
||||
vertical-align: baseline;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
#post-visibility-select {
|
||||
line-height: 1.5em;
|
||||
margin-top: 3px;
|
||||
}
|
||||
|
||||
#linksubmitdiv .inside, /* Old Link Manager back-compat. */
|
||||
#poststuff #submitdiv .inside {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
@@ -651,94 +651,7 @@ span.wp-media-buttons-icon:before {
|
||||
|
||||
#post-body-content,
|
||||
.edit-form-section {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
/* Suggested text for privacy policy */
|
||||
.wp-privacy-policy-guide {
|
||||
max-width: 1000px;
|
||||
}
|
||||
|
||||
.privacy-text-box {
|
||||
width: calc(100% - 260px);
|
||||
}
|
||||
|
||||
.privacy-text-box-toc {
|
||||
float: left;
|
||||
width: 250px;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.privacy-text-box-toc p {
|
||||
margin: 0;
|
||||
padding: 0.7em 1em;
|
||||
border-bottom: 1px solid #eee;
|
||||
}
|
||||
|
||||
.privacy-text-box-toc ol {
|
||||
margin-right: 2em;
|
||||
}
|
||||
|
||||
.wp-privacy-policy-guide h3 {
|
||||
font-size: 1.2em;
|
||||
margin: 1em 0 0.5em;
|
||||
}
|
||||
|
||||
.privacy-text-section .privacy-text-copy {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.privacy-text-section {
|
||||
position: relative;
|
||||
border-top: 1px solid #e3e3e3;
|
||||
}
|
||||
|
||||
.privacy-text-box-head,
|
||||
.privacy-text-section.text-removed {
|
||||
padding-bottom: 12px;
|
||||
}
|
||||
|
||||
.text-removed .policy-text {
|
||||
font-style: italic;
|
||||
color: #666;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.privacy-text-actions {
|
||||
height: 32px;
|
||||
line-height: 32px;
|
||||
padding-bottom: 6px;
|
||||
}
|
||||
|
||||
.wp-privacy-policy-guide .policy-text h2 {
|
||||
margin: 1.2em 0 1em;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.suggested-policy-content {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.privacy-text-section a.return-to-top {
|
||||
float: left;
|
||||
margin-left: -250px;
|
||||
margin-top: 6px;
|
||||
}
|
||||
|
||||
.hide-privacy-policy-tutorial .privacy-policy-tutorial {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.wp-suggested-text p {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.wp-suggested-text p.privacy-policy-tutorial {
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
.notice.wp-pp-notice {
|
||||
margin: 15px 0 3px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
/*------------------------------------------------------------------------------
|
||||
@@ -885,6 +798,7 @@ span.wp-media-buttons-icon:before {
|
||||
.post-state-format:before,
|
||||
.post-format-icon:before {
|
||||
color: #ddd;
|
||||
-webkit-transition: all .1s ease-in-out;
|
||||
transition: all .1s ease-in-out;
|
||||
}
|
||||
|
||||
@@ -1011,11 +925,11 @@ a.post-state-format.format-link:before {
|
||||
}
|
||||
|
||||
div.tabs-panel-active {
|
||||
display: block;
|
||||
display:block;
|
||||
}
|
||||
|
||||
div.tabs-panel-inactive {
|
||||
display: none;
|
||||
display:none;
|
||||
}
|
||||
|
||||
#front-page-warning,
|
||||
@@ -1102,12 +1016,8 @@ span.description,
|
||||
13.0 - Tags
|
||||
------------------------------------------------------------------------------*/
|
||||
|
||||
#poststuff .tagsdiv .ajaxtag {
|
||||
margin-top: 1em;
|
||||
}
|
||||
|
||||
#poststuff .tagsdiv .howto {
|
||||
margin: 1em 0 6px 0;
|
||||
margin: 0 0 6px 0;
|
||||
}
|
||||
|
||||
.ajaxtag .newtag {
|
||||
@@ -1151,15 +1061,6 @@ p.popular-tags a {
|
||||
margin: 2px 0 12px;
|
||||
}
|
||||
|
||||
.the-tagcloud ul {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.the-tagcloud ul li {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
/* Suggest.js autocomplete, no more used by core. */
|
||||
.ac_results {
|
||||
display: none;
|
||||
margin: -1px 0 0;
|
||||
@@ -1193,14 +1094,6 @@ p.popular-tags a {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
#edittag {
|
||||
max-width: 800px;
|
||||
}
|
||||
|
||||
.edit-tag-actions {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
/* Comments */
|
||||
|
||||
.comment-php .wp-editor-area {
|
||||
@@ -1218,7 +1111,7 @@ p.popular-tags a {
|
||||
}
|
||||
|
||||
.comment-ays .comment-content a[href]:after {
|
||||
content: "(" attr( href ) ")";
|
||||
content: '(' attr( href ) ')';
|
||||
display: inline-block;
|
||||
padding: 0 4px;
|
||||
color: #72777C;
|
||||
@@ -1231,7 +1124,7 @@ p.popular-tags a {
|
||||
}
|
||||
|
||||
.comment-ays .comment-content p.edit-comment a[href]:after {
|
||||
content: "";
|
||||
content: '';
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
@@ -1255,15 +1148,6 @@ p.popular-tags a {
|
||||
|
||||
.stuffbox .editcomment {
|
||||
clear: none;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
#namediv.stuffbox .editcomment input {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#namediv.stuffbox .editcomment.form-table td {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
#comment-status-radio p {
|
||||
@@ -1326,7 +1210,6 @@ table.links-table {
|
||||
}
|
||||
|
||||
.focus-on .wrap > h1,
|
||||
.focus-on .page-title-action,
|
||||
.focus-on #wpfooter,
|
||||
.focus-on .postbox-container > *,
|
||||
.focus-on div.updated,
|
||||
@@ -1337,8 +1220,11 @@ table.links-table {
|
||||
.focus-on #screen-meta-links,
|
||||
.focus-on #screen-meta {
|
||||
opacity: 0;
|
||||
-webkit-transition-duration: 0.6s;
|
||||
transition-duration: 0.6s;
|
||||
-webkit-transition-property: opacity;
|
||||
transition-property: opacity;
|
||||
-webkit-transition-timing-function: ease-in-out;
|
||||
transition-timing-function: ease-in-out;
|
||||
}
|
||||
|
||||
@@ -1347,7 +1233,6 @@ table.links-table {
|
||||
}
|
||||
|
||||
.focus-off .wrap > h1,
|
||||
.focus-off .page-title-action,
|
||||
.focus-off #wpfooter,
|
||||
.focus-off .postbox-container > *,
|
||||
.focus-off div.updated,
|
||||
@@ -1358,8 +1243,11 @@ table.links-table {
|
||||
.focus-off #screen-meta-links,
|
||||
.focus-off #screen-meta {
|
||||
opacity: 1;
|
||||
-webkit-transition-duration: 0.2s;
|
||||
transition-duration: 0.2s;
|
||||
-webkit-transition-property: opacity;
|
||||
transition-property: opacity;
|
||||
-webkit-transition-timing-function: ease-in-out;
|
||||
transition-timing-function: ease-in-out;
|
||||
}
|
||||
|
||||
@@ -1369,21 +1257,35 @@ table.links-table {
|
||||
|
||||
.focus-on #adminmenuback,
|
||||
.focus-on #adminmenuwrap {
|
||||
-webkit-transition-duration: 0.6s;
|
||||
transition-duration: 0.6s;
|
||||
-webkit-transition-property: -webkit-transform;
|
||||
transition-property: -webkit-transform;
|
||||
transition-property: transform;
|
||||
transition-property: transform, -webkit-transform;
|
||||
-webkit-transition-timing-function: ease-in-out;
|
||||
transition-timing-function: ease-in-out;
|
||||
}
|
||||
|
||||
.focus-on #adminmenuback,
|
||||
.focus-on #adminmenuwrap {
|
||||
-webkit-transform: translateX( 100% );
|
||||
-ms-transform: translateX( 100% );
|
||||
transform: translateX( 100% );
|
||||
}
|
||||
|
||||
.focus-off #adminmenuback,
|
||||
.focus-off #adminmenuwrap {
|
||||
-webkit-transform: translateX( 0 );
|
||||
-ms-transform: translateX( 0 );
|
||||
transform: translateX( 0 );
|
||||
-webkit-transition-duration: 0.2s;
|
||||
transition-duration: 0.2s;
|
||||
-webkit-transition-property: -webkit-transform;
|
||||
transition-property: -webkit-transform;
|
||||
transition-property: transform;
|
||||
transition-property: transform, -webkit-transform;
|
||||
-webkit-transition-timing-function: ease-in-out;
|
||||
transition-timing-function: ease-in-out;
|
||||
}
|
||||
|
||||
@@ -1398,7 +1300,8 @@ table.links-table {
|
||||
(min-resolution: 120dpi) {
|
||||
#content-resize-handle,
|
||||
#post-body .wp_themeSkin .mceStatusbar a.mceResize {
|
||||
background: transparent url(../images/resize-2x.gif) no-repeat scroll left bottom;
|
||||
background: transparent url(../images/resize-2x.gif) no-repeat scroll right bottom;
|
||||
-webkit-background-size: 11px 11px;
|
||||
background-size: 11px 11px;
|
||||
}
|
||||
|
||||
@@ -1444,11 +1347,7 @@ table.links-table {
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 782px) {
|
||||
.wp-core-ui .edit-tag-actions .button-primary {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
@media screen and ( max-width: 782px ) {
|
||||
#post-body-content {
|
||||
min-width: 0;
|
||||
}
|
||||
@@ -1457,20 +1356,12 @@ table.links-table {
|
||||
padding: 10px 10px;
|
||||
}
|
||||
|
||||
#poststuff .stuffbox .inside {
|
||||
padding: 0 0 4px 2px;
|
||||
}
|
||||
|
||||
#poststuff h3.hndle, /* Back-compat for pre-4.4 */
|
||||
#poststuff .stuffbox > h3, /* Back-compat for pre-4.4 */
|
||||
#poststuff h2 {
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
#namediv.stuffbox .editcomment.form-table td {
|
||||
padding: 5px 10px;
|
||||
}
|
||||
|
||||
.post-format-options {
|
||||
padding-left: 0;
|
||||
}
|
||||
@@ -1556,7 +1447,7 @@ table.links-table {
|
||||
margin: 25px 10px;
|
||||
}
|
||||
|
||||
.tagchecklist > li {
|
||||
.tagchecklist span {
|
||||
font-size: 16px;
|
||||
line-height: 1.4;
|
||||
}
|
||||
@@ -1677,19 +1568,4 @@ table.links-table {
|
||||
.links-table td {
|
||||
padding: 10px 0;
|
||||
}
|
||||
|
||||
.privacy-text-box {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.privacy-text-box-toc {
|
||||
float: none;
|
||||
width: auto;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.privacy-text-section a.return-to-top {
|
||||
float: none;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
3
wp-admin/css/edit-rtl.min.css
vendored
3
wp-admin/css/edit-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -100,6 +100,8 @@ input#link_url {
|
||||
margin-right: 10px;
|
||||
padding: 0;
|
||||
font-size: 11px;
|
||||
text-decoration: underline;
|
||||
color: #0073aa;
|
||||
}
|
||||
|
||||
#comment-link-box {
|
||||
@@ -118,7 +120,7 @@ input#link_url {
|
||||
#editable-post-name input {
|
||||
font-size: 13px;
|
||||
font-weight: 400;
|
||||
height: 24px;
|
||||
height: 22px;
|
||||
margin: 0;
|
||||
width: 16em;
|
||||
}
|
||||
@@ -127,10 +129,23 @@ input#link_url {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.submitbox .submitdelete {
|
||||
text-decoration: none;
|
||||
padding: 1px 2px;
|
||||
}
|
||||
|
||||
body.post-new-php .submitbox .submitdelete {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* @todo: do we really need this? word on the street is we don't and this
|
||||
stray rule may actually be compensated for elsewhere. */
|
||||
#normal-sortables .submitbox .submitdelete:hover {
|
||||
color: #000;
|
||||
background-color: #f00;
|
||||
border-bottom-color: #f00;
|
||||
}
|
||||
|
||||
.submitbox .submit a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
@@ -154,6 +169,7 @@ body.post-new-php .submitbox .submitdelete {
|
||||
position: relative;
|
||||
min-width: 255px;
|
||||
border: 1px solid #e5e5e5;
|
||||
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.04);
|
||||
box-shadow: 0 1px 1px rgba(0,0,0,0.04);
|
||||
background: #fff;
|
||||
}
|
||||
@@ -167,7 +183,7 @@ body.post-new-php .submitbox .submitdelete {
|
||||
border: 0 none;
|
||||
float: right;
|
||||
padding: 0 12px;
|
||||
margin: 0;
|
||||
margin:0;
|
||||
}
|
||||
|
||||
.category-add input[type="text"],
|
||||
@@ -214,7 +230,7 @@ ul.category-tabs li,
|
||||
|
||||
/* Back-compat for pre-4.4 */
|
||||
#category-adder h4 {
|
||||
margin: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.taxonomy-add-new {
|
||||
@@ -278,8 +294,10 @@ ul.wp-tab-bar li {
|
||||
height: auto;
|
||||
width: auto;
|
||||
vertical-align: top;
|
||||
background-image: -webkit-linear-gradient(45deg, #c4c4c4 25%, transparent 25%, transparent 75%, #c4c4c4 75%, #c4c4c4), -webkit-linear-gradient(45deg, #c4c4c4 25%, transparent 25%, transparent 75%, #c4c4c4 75%, #c4c4c4);
|
||||
background-image: linear-gradient(45deg, #c4c4c4 25%, transparent 25%, transparent 75%, #c4c4c4 75%, #c4c4c4), linear-gradient(45deg, #c4c4c4 25%, transparent 25%, transparent 75%, #c4c4c4 75%, #c4c4c4);
|
||||
background-position: 0 0, 10px 10px;
|
||||
-webkit-background-size: 20px 20px;
|
||||
background-size: 20px 20px;
|
||||
}
|
||||
|
||||
@@ -312,6 +330,7 @@ form#tags-filter {
|
||||
border: 1px solid #e5e5e5;
|
||||
border-top: none;
|
||||
background-color: #f7f7f7;
|
||||
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.04);
|
||||
box-shadow: 0 1px 1px rgba(0,0,0,0.04);
|
||||
z-index: 999;
|
||||
}
|
||||
@@ -364,6 +383,7 @@ form#tags-filter {
|
||||
}
|
||||
|
||||
.wp-editor-expand #wp-content-editor-container {
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
margin-top: -1px;
|
||||
}
|
||||
@@ -444,7 +464,7 @@ form#tags-filter {
|
||||
height: auto !important;
|
||||
}
|
||||
|
||||
#post-body .misc-pub-post-status:before,
|
||||
#misc-publishing-actions label[for="post_status"]:before,
|
||||
#post-body #visibility:before,
|
||||
.curtime #timestamp:before,
|
||||
#post-body .misc-pub-revisions:before,
|
||||
@@ -452,22 +472,20 @@ span.wp-media-buttons-icon:before {
|
||||
color: #82878c;
|
||||
}
|
||||
|
||||
#post-body .misc-pub-post-status:before,
|
||||
#post-body #visibility:before,
|
||||
.curtime #timestamp:before,
|
||||
#post-body .misc-pub-revisions:before {
|
||||
font: normal 20px/1 dashicons;
|
||||
speak: none;
|
||||
display: inline-block;
|
||||
margin-left: -1px;
|
||||
padding-right: 3px;
|
||||
padding: 0 2px 0 0;
|
||||
top: 0;
|
||||
left: -1px;
|
||||
position: relative;
|
||||
vertical-align: top;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
#post-body .misc-pub-post-status:before {
|
||||
content: "\f173";
|
||||
text-decoration: none !important;
|
||||
}
|
||||
|
||||
#post-body #visibility:before {
|
||||
@@ -476,7 +494,6 @@ span.wp-media-buttons-icon:before {
|
||||
|
||||
.curtime #timestamp:before {
|
||||
content: "\f145";
|
||||
position: relative;
|
||||
top: -1px;
|
||||
}
|
||||
|
||||
@@ -506,6 +523,7 @@ span.wp-media-buttons-icon:before {
|
||||
width: 450px;
|
||||
margin-left: -225px;
|
||||
background: #fff;
|
||||
-webkit-box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 );
|
||||
box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 );
|
||||
line-height: 1.5;
|
||||
z-index: 1000005;
|
||||
@@ -529,8 +547,7 @@ span.wp-media-buttons-icon:before {
|
||||
margin: 25px;
|
||||
}
|
||||
|
||||
#post-lock-dialog .post-locked-message a.button,
|
||||
#file-editor-warning .button {
|
||||
#post-lock-dialog .post-locked-message a.button {
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
@@ -575,9 +592,10 @@ span.wp-media-buttons-icon:before {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.tagchecklist > li {
|
||||
float: left;
|
||||
.tagchecklist span {
|
||||
margin-right: 25px;
|
||||
display: block;
|
||||
float: left;
|
||||
font-size: 13px;
|
||||
line-height: 1.8em;
|
||||
cursor: default;
|
||||
@@ -586,16 +604,16 @@ span.wp-media-buttons-icon:before {
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.tagchecklist .ntdelbutton {
|
||||
position: absolute;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
border: none;
|
||||
margin: 0 0 0 -19px;
|
||||
padding: 0;
|
||||
background: none;
|
||||
.tagchecklist span a {
|
||||
margin: 1px 0 0 -17px;
|
||||
cursor: pointer;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
display: block;
|
||||
float: left;
|
||||
text-indent: 0;
|
||||
overflow: hidden;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
#poststuff h3.hndle, /* Back-compat for pre-4.4 */
|
||||
@@ -607,18 +625,10 @@ span.wp-media-buttons-icon:before {
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
#poststuff .stuffbox h2 {
|
||||
padding: 8px 10px;
|
||||
}
|
||||
|
||||
#poststuff .inside {
|
||||
margin: 6px 0 0 0;
|
||||
}
|
||||
|
||||
#poststuff .stuffbox .inside {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#poststuff .inside #parent_id,
|
||||
#poststuff .inside #page_template {
|
||||
max-width: 100%;
|
||||
@@ -629,21 +639,11 @@ span.wp-media-buttons-icon:before {
|
||||
width: 250px;
|
||||
}
|
||||
|
||||
.post-attributes-label-wrapper {
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
.post-attributes-label {
|
||||
vertical-align: baseline;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
#post-visibility-select {
|
||||
line-height: 1.5em;
|
||||
margin-top: 3px;
|
||||
}
|
||||
|
||||
#linksubmitdiv .inside, /* Old Link Manager back-compat. */
|
||||
#poststuff #submitdiv .inside {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
@@ -651,94 +651,7 @@ span.wp-media-buttons-icon:before {
|
||||
|
||||
#post-body-content,
|
||||
.edit-form-section {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
/* Suggested text for privacy policy */
|
||||
.wp-privacy-policy-guide {
|
||||
max-width: 1000px;
|
||||
}
|
||||
|
||||
.privacy-text-box {
|
||||
width: calc(100% - 260px);
|
||||
}
|
||||
|
||||
.privacy-text-box-toc {
|
||||
float: right;
|
||||
width: 250px;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.privacy-text-box-toc p {
|
||||
margin: 0;
|
||||
padding: 0.7em 1em;
|
||||
border-bottom: 1px solid #eee;
|
||||
}
|
||||
|
||||
.privacy-text-box-toc ol {
|
||||
margin-left: 2em;
|
||||
}
|
||||
|
||||
.wp-privacy-policy-guide h3 {
|
||||
font-size: 1.2em;
|
||||
margin: 1em 0 0.5em;
|
||||
}
|
||||
|
||||
.privacy-text-section .privacy-text-copy {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.privacy-text-section {
|
||||
position: relative;
|
||||
border-top: 1px solid #e3e3e3;
|
||||
}
|
||||
|
||||
.privacy-text-box-head,
|
||||
.privacy-text-section.text-removed {
|
||||
padding-bottom: 12px;
|
||||
}
|
||||
|
||||
.text-removed .policy-text {
|
||||
font-style: italic;
|
||||
color: #666;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.privacy-text-actions {
|
||||
height: 32px;
|
||||
line-height: 32px;
|
||||
padding-bottom: 6px;
|
||||
}
|
||||
|
||||
.wp-privacy-policy-guide .policy-text h2 {
|
||||
margin: 1.2em 0 1em;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.suggested-policy-content {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.privacy-text-section a.return-to-top {
|
||||
float: right;
|
||||
margin-right: -250px;
|
||||
margin-top: 6px;
|
||||
}
|
||||
|
||||
.hide-privacy-policy-tutorial .privacy-policy-tutorial {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.wp-suggested-text p {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.wp-suggested-text p.privacy-policy-tutorial {
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
.notice.wp-pp-notice {
|
||||
margin: 15px 0 3px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
/*------------------------------------------------------------------------------
|
||||
@@ -885,6 +798,7 @@ span.wp-media-buttons-icon:before {
|
||||
.post-state-format:before,
|
||||
.post-format-icon:before {
|
||||
color: #ddd;
|
||||
-webkit-transition: all .1s ease-in-out;
|
||||
transition: all .1s ease-in-out;
|
||||
}
|
||||
|
||||
@@ -1011,11 +925,11 @@ a.post-state-format.format-link:before {
|
||||
}
|
||||
|
||||
div.tabs-panel-active {
|
||||
display: block;
|
||||
display:block;
|
||||
}
|
||||
|
||||
div.tabs-panel-inactive {
|
||||
display: none;
|
||||
display:none;
|
||||
}
|
||||
|
||||
#front-page-warning,
|
||||
@@ -1102,12 +1016,8 @@ span.description,
|
||||
13.0 - Tags
|
||||
------------------------------------------------------------------------------*/
|
||||
|
||||
#poststuff .tagsdiv .ajaxtag {
|
||||
margin-top: 1em;
|
||||
}
|
||||
|
||||
#poststuff .tagsdiv .howto {
|
||||
margin: 1em 0 6px 0;
|
||||
margin: 0 0 6px 0;
|
||||
}
|
||||
|
||||
.ajaxtag .newtag {
|
||||
@@ -1151,15 +1061,6 @@ p.popular-tags a {
|
||||
margin: 2px 0 12px;
|
||||
}
|
||||
|
||||
.the-tagcloud ul {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.the-tagcloud ul li {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
/* Suggest.js autocomplete, no more used by core. */
|
||||
.ac_results {
|
||||
display: none;
|
||||
margin: -1px 0 0;
|
||||
@@ -1193,14 +1094,6 @@ p.popular-tags a {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
#edittag {
|
||||
max-width: 800px;
|
||||
}
|
||||
|
||||
.edit-tag-actions {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
/* Comments */
|
||||
|
||||
.comment-php .wp-editor-area {
|
||||
@@ -1218,7 +1111,7 @@ p.popular-tags a {
|
||||
}
|
||||
|
||||
.comment-ays .comment-content a[href]:after {
|
||||
content: "(" attr( href ) ")";
|
||||
content: '(' attr( href ) ')';
|
||||
display: inline-block;
|
||||
padding: 0 4px;
|
||||
color: #72777C;
|
||||
@@ -1231,7 +1124,7 @@ p.popular-tags a {
|
||||
}
|
||||
|
||||
.comment-ays .comment-content p.edit-comment a[href]:after {
|
||||
content: "";
|
||||
content: '';
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
@@ -1255,15 +1148,6 @@ p.popular-tags a {
|
||||
|
||||
.stuffbox .editcomment {
|
||||
clear: none;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
#namediv.stuffbox .editcomment input {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#namediv.stuffbox .editcomment.form-table td {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
#comment-status-radio p {
|
||||
@@ -1326,7 +1210,6 @@ table.links-table {
|
||||
}
|
||||
|
||||
.focus-on .wrap > h1,
|
||||
.focus-on .page-title-action,
|
||||
.focus-on #wpfooter,
|
||||
.focus-on .postbox-container > *,
|
||||
.focus-on div.updated,
|
||||
@@ -1337,8 +1220,11 @@ table.links-table {
|
||||
.focus-on #screen-meta-links,
|
||||
.focus-on #screen-meta {
|
||||
opacity: 0;
|
||||
-webkit-transition-duration: 0.6s;
|
||||
transition-duration: 0.6s;
|
||||
-webkit-transition-property: opacity;
|
||||
transition-property: opacity;
|
||||
-webkit-transition-timing-function: ease-in-out;
|
||||
transition-timing-function: ease-in-out;
|
||||
}
|
||||
|
||||
@@ -1347,7 +1233,6 @@ table.links-table {
|
||||
}
|
||||
|
||||
.focus-off .wrap > h1,
|
||||
.focus-off .page-title-action,
|
||||
.focus-off #wpfooter,
|
||||
.focus-off .postbox-container > *,
|
||||
.focus-off div.updated,
|
||||
@@ -1358,8 +1243,11 @@ table.links-table {
|
||||
.focus-off #screen-meta-links,
|
||||
.focus-off #screen-meta {
|
||||
opacity: 1;
|
||||
-webkit-transition-duration: 0.2s;
|
||||
transition-duration: 0.2s;
|
||||
-webkit-transition-property: opacity;
|
||||
transition-property: opacity;
|
||||
-webkit-transition-timing-function: ease-in-out;
|
||||
transition-timing-function: ease-in-out;
|
||||
}
|
||||
|
||||
@@ -1369,21 +1257,35 @@ table.links-table {
|
||||
|
||||
.focus-on #adminmenuback,
|
||||
.focus-on #adminmenuwrap {
|
||||
-webkit-transition-duration: 0.6s;
|
||||
transition-duration: 0.6s;
|
||||
-webkit-transition-property: -webkit-transform;
|
||||
transition-property: -webkit-transform;
|
||||
transition-property: transform;
|
||||
transition-property: transform, -webkit-transform;
|
||||
-webkit-transition-timing-function: ease-in-out;
|
||||
transition-timing-function: ease-in-out;
|
||||
}
|
||||
|
||||
.focus-on #adminmenuback,
|
||||
.focus-on #adminmenuwrap {
|
||||
-webkit-transform: translateX( -100% );
|
||||
-ms-transform: translateX( -100% );
|
||||
transform: translateX( -100% );
|
||||
}
|
||||
|
||||
.focus-off #adminmenuback,
|
||||
.focus-off #adminmenuwrap {
|
||||
-webkit-transform: translateX( 0 );
|
||||
-ms-transform: translateX( 0 );
|
||||
transform: translateX( 0 );
|
||||
-webkit-transition-duration: 0.2s;
|
||||
transition-duration: 0.2s;
|
||||
-webkit-transition-property: -webkit-transform;
|
||||
transition-property: -webkit-transform;
|
||||
transition-property: transform;
|
||||
transition-property: transform, -webkit-transform;
|
||||
-webkit-transition-timing-function: ease-in-out;
|
||||
transition-timing-function: ease-in-out;
|
||||
}
|
||||
|
||||
@@ -1399,6 +1301,7 @@ table.links-table {
|
||||
#content-resize-handle,
|
||||
#post-body .wp_themeSkin .mceStatusbar a.mceResize {
|
||||
background: transparent url(../images/resize-2x.gif) no-repeat scroll right bottom;
|
||||
-webkit-background-size: 11px 11px;
|
||||
background-size: 11px 11px;
|
||||
}
|
||||
|
||||
@@ -1444,11 +1347,7 @@ table.links-table {
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 782px) {
|
||||
.wp-core-ui .edit-tag-actions .button-primary {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
@media screen and ( max-width: 782px ) {
|
||||
#post-body-content {
|
||||
min-width: 0;
|
||||
}
|
||||
@@ -1457,20 +1356,12 @@ table.links-table {
|
||||
padding: 10px 10px;
|
||||
}
|
||||
|
||||
#poststuff .stuffbox .inside {
|
||||
padding: 0 2px 4px 0;
|
||||
}
|
||||
|
||||
#poststuff h3.hndle, /* Back-compat for pre-4.4 */
|
||||
#poststuff .stuffbox > h3, /* Back-compat for pre-4.4 */
|
||||
#poststuff h2 {
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
#namediv.stuffbox .editcomment.form-table td {
|
||||
padding: 5px 10px;
|
||||
}
|
||||
|
||||
.post-format-options {
|
||||
padding-right: 0;
|
||||
}
|
||||
@@ -1556,7 +1447,7 @@ table.links-table {
|
||||
margin: 25px 10px;
|
||||
}
|
||||
|
||||
.tagchecklist > li {
|
||||
.tagchecklist span {
|
||||
font-size: 16px;
|
||||
line-height: 1.4;
|
||||
}
|
||||
@@ -1677,19 +1568,4 @@ table.links-table {
|
||||
.links-table td {
|
||||
padding: 10px 0;
|
||||
}
|
||||
|
||||
.privacy-text-box {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.privacy-text-box-toc {
|
||||
float: none;
|
||||
width: auto;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.privacy-text-section a.return-to-top {
|
||||
float: none;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
3
wp-admin/css/edit.min.css
vendored
3
wp-admin/css/edit.min.css
vendored
File diff suppressed because one or more lines are too long
1
wp-admin/css/farbtastic-rtl.min.css
vendored
1
wp-admin/css/farbtastic-rtl.min.css
vendored
@@ -1,2 +1 @@
|
||||
/*! This file is auto-generated */
|
||||
.farbtastic{position:relative}.farbtastic *{position:absolute;cursor:crosshair}.farbtastic,.farbtastic .wheel{width:195px;height:195px}.farbtastic .color,.farbtastic .overlay{top:47px;right:47px;width:101px;height:101px}.farbtastic .wheel{background:url(../images/wheel.png) no-repeat;width:195px;height:195px}.farbtastic .overlay{background:url(../images/mask.png) no-repeat}.farbtastic .marker{width:17px;height:17px;margin:-8px -8px 0 0;overflow:hidden;background:url(../images/marker.png) no-repeat}
|
||||
1
wp-admin/css/farbtastic.min.css
vendored
1
wp-admin/css/farbtastic.min.css
vendored
@@ -1,2 +1 @@
|
||||
/*! This file is auto-generated */
|
||||
.farbtastic{position:relative}.farbtastic *{position:absolute;cursor:crosshair}.farbtastic,.farbtastic .wheel{width:195px;height:195px}.farbtastic .color,.farbtastic .overlay{top:47px;left:47px;width:101px;height:101px}.farbtastic .wheel{background:url(../images/wheel.png) no-repeat;width:195px;height:195px}.farbtastic .overlay{background:url(../images/mask.png) no-repeat}.farbtastic .marker{width:17px;height:17px;margin:-8px 0 0 -8px;overflow:hidden;background:url(../images/marker.png) no-repeat}
|
||||
@@ -1,6 +1,8 @@
|
||||
/* Include margin and padding in the width calculation of input and textarea. */
|
||||
input,
|
||||
textarea {
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
@@ -24,10 +26,12 @@ input[type="week"],
|
||||
select,
|
||||
textarea {
|
||||
border: 1px solid #ddd;
|
||||
-webkit-box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.07 );
|
||||
box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.07 );
|
||||
background-color: #fff;
|
||||
color: #32373c;
|
||||
outline: none;
|
||||
-webkit-transition: 0.05s border-color ease-in-out;
|
||||
transition: 0.05s border-color ease-in-out;
|
||||
}
|
||||
|
||||
@@ -51,9 +55,8 @@ input[type="radio"]:focus,
|
||||
select:focus,
|
||||
textarea:focus {
|
||||
border-color: #5b9dd9;
|
||||
-webkit-box-shadow: 0 0 2px rgba( 30, 140, 190, 0.8 );
|
||||
box-shadow: 0 0 2px rgba( 30, 140, 190, 0.8 );
|
||||
/* Only visible in Windows High Contrast mode */
|
||||
outline: 2px solid transparent;
|
||||
}
|
||||
|
||||
/* rtl:ignore */
|
||||
@@ -86,7 +89,9 @@ input[type="radio"] {
|
||||
width: 16px;
|
||||
min-width: 16px;
|
||||
-webkit-appearance: none;
|
||||
-webkit-box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.1 );
|
||||
box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.1 );
|
||||
-webkit-transition: .05s border-color ease-in-out;
|
||||
transition: .05s border-color ease-in-out;
|
||||
}
|
||||
|
||||
@@ -114,6 +119,7 @@ td > input[type="checkbox"],
|
||||
}
|
||||
|
||||
input[type="radio"] {
|
||||
-webkit-border-radius: 50%;
|
||||
border-radius: 50%;
|
||||
margin-left: 4px;
|
||||
line-height: 10px;
|
||||
@@ -140,6 +146,7 @@ input[type="checkbox"]:checked:before {
|
||||
input[type="radio"]:checked:before {
|
||||
content: "\2022";
|
||||
text-indent: -9999px;
|
||||
-webkit-border-radius: 50px;
|
||||
border-radius: 50px;
|
||||
font-size: 24px;
|
||||
width: 6px;
|
||||
@@ -184,6 +191,7 @@ input,
|
||||
select {
|
||||
font-size: 14px;
|
||||
padding: 3px 5px;
|
||||
-webkit-border-radius: 0;
|
||||
border-radius: 0; /* Reset mobile webkit's default element styling */
|
||||
}
|
||||
|
||||
@@ -196,7 +204,6 @@ textarea {
|
||||
|
||||
.wp-admin input[type="file"] {
|
||||
padding: 3px 0;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
label {
|
||||
@@ -230,20 +237,19 @@ textarea[readonly] {
|
||||
}
|
||||
|
||||
::-moz-placeholder {
|
||||
color: #72777c;
|
||||
opacity: 1;
|
||||
color: #72777c;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
:-ms-input-placeholder {
|
||||
color: #72777c;
|
||||
}
|
||||
|
||||
.form-invalid input,
|
||||
.form-invalid input:focus,
|
||||
.form-invalid select,
|
||||
.form-invalid select:focus {
|
||||
.form-invalid input, .form-invalid input:focus,
|
||||
.form-invalid select, .form-invalid select:focus {
|
||||
border-color: #dc3232 !important;
|
||||
box-shadow: 0 0 2px rgba( 204, 0, 0, 0.8 );
|
||||
-webkit-box-shadow: 0 0 2px rgba( 204, 0, 0, 0.8 );
|
||||
box-shadow: 0 0 2px rgba( 204, 0, 0, 0.8 );
|
||||
}
|
||||
|
||||
.form-table .form-required.form-invalid td:after {
|
||||
@@ -256,11 +262,11 @@ textarea[readonly] {
|
||||
|
||||
/* Adjust error indicator for password layout */
|
||||
.form-table .form-required.user-pass1-wrap.form-invalid td:after {
|
||||
content: "";
|
||||
content: '';
|
||||
}
|
||||
|
||||
.form-table .form-required.user-pass1-wrap.form-invalid .password-input-wrapper:after {
|
||||
content: "\f534";
|
||||
content: '\f534';
|
||||
font: normal 20px/1 dashicons;
|
||||
color: #dc3232;
|
||||
margin: 0 -29px 0 6px;
|
||||
@@ -279,6 +285,7 @@ textarea:disabled,
|
||||
textarea.disabled {
|
||||
background: rgba( 255, 255, 255, 0.5 );
|
||||
border-color: rgba( 222, 222, 222, 0.75 );
|
||||
-webkit-box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.04 );
|
||||
box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.04 );
|
||||
color: rgba( 51, 51, 51, 0.5 );
|
||||
}
|
||||
@@ -288,8 +295,8 @@ input[type="file"].disabled,
|
||||
input[type="range"]:disabled,
|
||||
input[type="range"].disabled {
|
||||
background: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
input[type="checkbox"]:disabled,
|
||||
@@ -331,7 +338,9 @@ input[type="radio"].disabled:checked:before {
|
||||
.submit {
|
||||
padding: 1.5em 0;
|
||||
margin: 5px 0;
|
||||
-webkit-border-bottom-right-radius: 3px;
|
||||
border-bottom-right-radius: 3px;
|
||||
-webkit-border-bottom-left-radius: 3px;
|
||||
border-bottom-left-radius: 3px;
|
||||
border: none;
|
||||
}
|
||||
@@ -375,7 +384,7 @@ textarea.large-text {
|
||||
width: 99%;
|
||||
}
|
||||
|
||||
.regular-text {
|
||||
input.regular-text {
|
||||
width: 25em;
|
||||
}
|
||||
|
||||
@@ -442,19 +451,26 @@ fieldset label,
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.options-media-php [for*="_size_"] {
|
||||
min-width: 10em;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
.options-media-php .small-text[name*="_size_"] {
|
||||
margin: 0 0 1em;
|
||||
}
|
||||
|
||||
.options-media-php label[for*="_size_"],
|
||||
#misc-publishing-actions label {
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
#misc-publishing-actions label[for="post_status"]:before {
|
||||
content: "\f173";
|
||||
display: inline-block;
|
||||
font: normal 20px/1 dashicons;
|
||||
speak: none;
|
||||
right: -1px;
|
||||
padding: 0 0 0 5px;
|
||||
position: relative;
|
||||
top: 0;
|
||||
text-decoration: none !important;
|
||||
vertical-align: top;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
#pass-strength-result {
|
||||
background-color: #eee;
|
||||
border: 1px solid #ddd;
|
||||
@@ -463,6 +479,8 @@ fieldset label,
|
||||
padding: 3px 5px;
|
||||
text-align: center;
|
||||
width: 25em;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
opacity: 0;
|
||||
}
|
||||
@@ -508,7 +526,7 @@ fieldset label,
|
||||
}
|
||||
|
||||
.pw-weak {
|
||||
display: none;
|
||||
display:none;
|
||||
}
|
||||
|
||||
.indicator-hint {
|
||||
@@ -579,6 +597,7 @@ ul#add-to-blog-users {
|
||||
position: absolute;
|
||||
z-index: 10000;
|
||||
border: 1px solid #5b9dd9;
|
||||
-webkit-box-shadow: 0 1px 2px rgba( 30, 140, 190, 0.8 );
|
||||
box-shadow: 0 1px 2px rgba( 30, 140, 190, 0.8 );
|
||||
background-color: #fff;
|
||||
}
|
||||
@@ -588,18 +607,11 @@ ul#add-to-blog-users {
|
||||
padding: 4px 10px;
|
||||
white-space: nowrap;
|
||||
text-align: right;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* Colors for the wplink toolbar autocomplete. */
|
||||
.ui-autocomplete .ui-state-focus {
|
||||
.ui-autocomplete li.ui-state-focus {
|
||||
background-color: #ddd;
|
||||
}
|
||||
|
||||
/* Colors for the tags autocomplete. */
|
||||
.wp-tags-autocomplete .ui-state-focus {
|
||||
background-color: #0073aa;
|
||||
color: #fff;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/*------------------------------------------------------------------------------
|
||||
@@ -644,10 +656,8 @@ ul#add-to-blog-users {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.form-table th.th-full, /* Not used by core. Back-compat for pre-4.8 */
|
||||
.form-table .td-full {
|
||||
.form-table th.th-full {
|
||||
width: auto;
|
||||
padding: 20px 0 20px 10px;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
@@ -726,6 +736,8 @@ table.form-table td .updated p {
|
||||
display: inline-block;
|
||||
width: 24%;
|
||||
padding: 5px 15px 15px;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
margin-bottom: 3px;
|
||||
}
|
||||
@@ -782,6 +794,7 @@ table.form-table td .updated p {
|
||||
min-width: 255px;
|
||||
max-width: 520px;
|
||||
border: 1px solid #e5e5e5;
|
||||
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.04);
|
||||
box-shadow: 0 1px 1px rgba(0,0,0,0.04);
|
||||
background: #fff;
|
||||
}
|
||||
@@ -817,6 +830,7 @@ table.form-table td .updated p {
|
||||
cursor: move;
|
||||
color: #32373c;
|
||||
background: #e5e5e5;
|
||||
-webkit-border-radius: 5px;
|
||||
border-radius: 5px;
|
||||
border: 1px solid #b4b9be;
|
||||
font-style: normal;
|
||||
@@ -838,12 +852,18 @@ table.form-table td .updated p {
|
||||
left: 10px;
|
||||
bottom: 9px;
|
||||
background: transparent;
|
||||
-webkit-transform: skew(-20deg) rotate(-6deg);
|
||||
-ms-transform: skew(-20deg) rotate(-6deg);
|
||||
transform: skew(-20deg) rotate(-6deg);
|
||||
-webkit-box-shadow: 0 10px 8px rgba(0, 0, 0, 0.6);
|
||||
box-shadow: 0 10px 8px rgba(0, 0, 0, 0.6);
|
||||
}
|
||||
|
||||
.pressthis-bookmarklet:hover:after {
|
||||
-webkit-transform: skew(-20deg) rotate(-9deg);
|
||||
-ms-transform: skew(-20deg) rotate(-9deg);
|
||||
transform: skew(-20deg) rotate(-9deg);
|
||||
-webkit-box-shadow: 0 10px 8px rgba(0, 0, 0, 0.7);
|
||||
box-shadow: 0 10px 8px rgba(0, 0, 0, 0.7);
|
||||
}
|
||||
|
||||
@@ -907,7 +927,7 @@ table.form-table td .updated p {
|
||||
|
||||
.options-general-php .spinner {
|
||||
float: none;
|
||||
margin: -3px 3px 0;
|
||||
margin: 0 3px;
|
||||
}
|
||||
|
||||
.settings-php .language-install-spinner,
|
||||
@@ -918,11 +938,6 @@ table.form-table td .updated p {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.form-table.permalink-structure .available-structure-tags li {
|
||||
float: right;
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
/*------------------------------------------------------------------------------
|
||||
21.0 - Network Admin
|
||||
------------------------------------------------------------------------------*/
|
||||
@@ -962,8 +977,6 @@ table.form-table td .updated p {
|
||||
|
||||
.request-filesystem-credentials-dialog {
|
||||
display: none;
|
||||
/* The customizer uses visibility: hidden on the body for full-overlays. */
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
.request-filesystem-credentials-dialog .notification-dialog {
|
||||
@@ -976,8 +989,8 @@ table.form-table td .updated p {
|
||||
}
|
||||
|
||||
#request-filesystem-credentials-title {
|
||||
font-size: 1.3em;
|
||||
margin: 1em 0;
|
||||
font-size: 1.3em;
|
||||
margin: 1em 0;
|
||||
}
|
||||
|
||||
.request-filesystem-credentials-form legend {
|
||||
@@ -1078,147 +1091,11 @@ table.form-table td .updated p {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
/*------------------------------------------------------------------------------
|
||||
Privacy Policy settings screen
|
||||
------------------------------------------------------------------------------*/
|
||||
.tools-privacy-policy-page form {
|
||||
margin-bottom: 1.3em;
|
||||
}
|
||||
|
||||
.tools-privacy-policy-page input.button,
|
||||
.tools-privacy-policy-page select {
|
||||
margin-right: 6px;
|
||||
}
|
||||
|
||||
.tools-privacy-edit {
|
||||
margin: 1.5em 0;
|
||||
}
|
||||
|
||||
.tools-privacy-policy-page span {
|
||||
line-height: 2em;
|
||||
}
|
||||
|
||||
.privacy_requests .column-email {
|
||||
width: 40%;
|
||||
}
|
||||
|
||||
.privacy_requests .column-type {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.privacy_requests thead td:first-child,
|
||||
.privacy_requests tfoot td:first-child {
|
||||
border-right: 4px solid #fff;
|
||||
}
|
||||
|
||||
.privacy_requests tbody th {
|
||||
border-right: 4px solid #fff;
|
||||
background: #fff;
|
||||
box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
.privacy_requests tbody .has-request-results th {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.privacy_requests tbody .request-results th .notice {
|
||||
margin: 0 0 5px;
|
||||
}
|
||||
|
||||
.privacy_requests tbody td {
|
||||
background: #fff;
|
||||
box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
.privacy_requests tbody .has-request-results td {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.privacy_requests .next_steps .button {
|
||||
height: auto;
|
||||
line-height: 1.5;
|
||||
padding: 4px 10px;
|
||||
word-break: break-all;
|
||||
white-space: unset;
|
||||
}
|
||||
|
||||
.privacy_requests .status-request-confirmed th,
|
||||
.privacy_requests .status-request-confirmed td {
|
||||
background-color: #f7fcfe;
|
||||
border-right-color: #00a0d2;
|
||||
}
|
||||
|
||||
.privacy_requests .status-request-failed th,
|
||||
.privacy_requests .status-request-failed td {
|
||||
background-color: #fef7f1;
|
||||
border-right-color: #d64d21;
|
||||
}
|
||||
|
||||
.privacy_requests .export_personal_data_failed a {
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
.status-label {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.status-label.status-request-pending {
|
||||
font-weight: 400;
|
||||
font-style: italic;
|
||||
color: #6c7781;
|
||||
}
|
||||
|
||||
.status-label.status-request-failed {
|
||||
color: #aa0000;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.wp-privacy-request-form {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.wp-privacy-request-form-field {
|
||||
margin: 1.5em 0;
|
||||
}
|
||||
|
||||
.wp-privacy-request-form label {
|
||||
font-weight: 600;
|
||||
line-height: 1.5;
|
||||
padding-bottom: .5em;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.wp-privacy-request-form input {
|
||||
line-height: 1.5;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.email-personal-data::before {
|
||||
display: inline-block;
|
||||
font: normal 20px/1 dashicons;
|
||||
margin: 3px -2px 0 5px;
|
||||
speak: none;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.email-personal-data--sending::before {
|
||||
color: #f56e28;
|
||||
content: "\f463";
|
||||
animation: rotation 2s infinite linear;
|
||||
}
|
||||
|
||||
.email-personal-data--sent::before {
|
||||
color: #79ba49;
|
||||
content: "\f147";
|
||||
}
|
||||
|
||||
|
||||
/* =Media Queries
|
||||
-------------------------------------------------------------- */
|
||||
|
||||
@media screen and (max-width: 782px) {
|
||||
@media screen and ( max-width: 782px ) {
|
||||
/* Input Elements */
|
||||
textarea {
|
||||
-webkit-appearance: none;
|
||||
@@ -1303,6 +1180,8 @@ table.form-table td .updated p {
|
||||
}
|
||||
|
||||
.form-table {
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
@@ -1349,6 +1228,8 @@ table.form-table td .updated p {
|
||||
padding: 7px 10px;
|
||||
display: block;
|
||||
max-width: none;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
@@ -1368,7 +1249,7 @@ table.form-table td .updated p {
|
||||
input[type="number"].small-text,
|
||||
.form-table input[type="text"].small-text {
|
||||
width: auto;
|
||||
max-width: 4.375em; /* 70px, enough for 4 digits to fit comfortably */
|
||||
max-width: 55px;
|
||||
display: inline;
|
||||
padding: 3px 6px;
|
||||
margin: 0 3px;
|
||||
@@ -1376,6 +1257,8 @@ table.form-table td .updated p {
|
||||
|
||||
#pass-strength-result {
|
||||
width: 100%;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
padding: 8px;
|
||||
}
|
||||
@@ -1468,6 +1351,7 @@ table.form-table td .updated p {
|
||||
.wp-pwd button.button {
|
||||
background: transparent;
|
||||
border: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
line-height: 2;
|
||||
margin: 0;
|
||||
@@ -1488,37 +1372,9 @@ table.form-table td .updated p {
|
||||
}
|
||||
|
||||
.options-general-php input[type="text"].small-text {
|
||||
max-width: 6.25em;
|
||||
max-width: 60px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* Privacy Policy settings screen */
|
||||
.tools-privacy-policy-page form.wp-create-privacy-page {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
.tools-privacy-policy-page input#set-page,
|
||||
.tools-privacy-policy-page select {
|
||||
margin: 10px 0 0;
|
||||
}
|
||||
|
||||
.tools-privacy-policy-page .wp-create-privacy-page span {
|
||||
display: block;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
.tools-privacy-policy-page .wp-create-privacy-page .button {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.wp-list-table.privacy_requests tr:not(.inline-edit-row):not(.no-items) td.column-primary:not(.check-column) {
|
||||
display: table-cell;
|
||||
}
|
||||
|
||||
.wp-list-table.privacy_requests.widefat th input,
|
||||
.wp-list-table.privacy_requests.widefat thead td input {
|
||||
margin-right: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 768px) {
|
||||
@@ -1531,7 +1387,7 @@ table.form-table td .updated p {
|
||||
}
|
||||
|
||||
.form-wrap .form-field {
|
||||
padding: 0;
|
||||
padding:0;
|
||||
}
|
||||
|
||||
/* users */
|
||||
@@ -1541,10 +1397,9 @@ table.form-table td .updated p {
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-height: 480px), screen and (max-width: 450px) {
|
||||
/* Request Credentials / File Editor Warning */
|
||||
.request-filesystem-credentials-dialog .notification-dialog,
|
||||
.file-editor-warning .notification-dialog {
|
||||
@media only screen and (max-height: 480px) {
|
||||
/* Request Credentials */
|
||||
.request-filesystem-credentials-dialog .notification-dialog{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
max-height: 100%;
|
||||
@@ -1569,12 +1424,3 @@ table.form-table td .updated p {
|
||||
margin-left: 0.5em;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes rotation {
|
||||
0% {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
100% {
|
||||
transform: rotate(-359deg);
|
||||
}
|
||||
}
|
||||
|
||||
3
wp-admin/css/forms-rtl.min.css
vendored
3
wp-admin/css/forms-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -1,6 +1,8 @@
|
||||
/* Include margin and padding in the width calculation of input and textarea. */
|
||||
input,
|
||||
textarea {
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
@@ -24,10 +26,12 @@ input[type="week"],
|
||||
select,
|
||||
textarea {
|
||||
border: 1px solid #ddd;
|
||||
-webkit-box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.07 );
|
||||
box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.07 );
|
||||
background-color: #fff;
|
||||
color: #32373c;
|
||||
outline: none;
|
||||
-webkit-transition: 0.05s border-color ease-in-out;
|
||||
transition: 0.05s border-color ease-in-out;
|
||||
}
|
||||
|
||||
@@ -51,9 +55,8 @@ input[type="radio"]:focus,
|
||||
select:focus,
|
||||
textarea:focus {
|
||||
border-color: #5b9dd9;
|
||||
-webkit-box-shadow: 0 0 2px rgba( 30, 140, 190, 0.8 );
|
||||
box-shadow: 0 0 2px rgba( 30, 140, 190, 0.8 );
|
||||
/* Only visible in Windows High Contrast mode */
|
||||
outline: 2px solid transparent;
|
||||
}
|
||||
|
||||
/* rtl:ignore */
|
||||
@@ -86,7 +89,9 @@ input[type="radio"] {
|
||||
width: 16px;
|
||||
min-width: 16px;
|
||||
-webkit-appearance: none;
|
||||
-webkit-box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.1 );
|
||||
box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.1 );
|
||||
-webkit-transition: .05s border-color ease-in-out;
|
||||
transition: .05s border-color ease-in-out;
|
||||
}
|
||||
|
||||
@@ -114,6 +119,7 @@ td > input[type="checkbox"],
|
||||
}
|
||||
|
||||
input[type="radio"] {
|
||||
-webkit-border-radius: 50%;
|
||||
border-radius: 50%;
|
||||
margin-right: 4px;
|
||||
line-height: 10px;
|
||||
@@ -140,6 +146,7 @@ input[type="checkbox"]:checked:before {
|
||||
input[type="radio"]:checked:before {
|
||||
content: "\2022";
|
||||
text-indent: -9999px;
|
||||
-webkit-border-radius: 50px;
|
||||
border-radius: 50px;
|
||||
font-size: 24px;
|
||||
width: 6px;
|
||||
@@ -184,6 +191,7 @@ input,
|
||||
select {
|
||||
font-size: 14px;
|
||||
padding: 3px 5px;
|
||||
-webkit-border-radius: 0;
|
||||
border-radius: 0; /* Reset mobile webkit's default element styling */
|
||||
}
|
||||
|
||||
@@ -196,7 +204,6 @@ textarea {
|
||||
|
||||
.wp-admin input[type="file"] {
|
||||
padding: 3px 0;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
label {
|
||||
@@ -230,20 +237,19 @@ textarea[readonly] {
|
||||
}
|
||||
|
||||
::-moz-placeholder {
|
||||
color: #72777c;
|
||||
opacity: 1;
|
||||
color: #72777c;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
:-ms-input-placeholder {
|
||||
color: #72777c;
|
||||
}
|
||||
|
||||
.form-invalid input,
|
||||
.form-invalid input:focus,
|
||||
.form-invalid select,
|
||||
.form-invalid select:focus {
|
||||
.form-invalid input, .form-invalid input:focus,
|
||||
.form-invalid select, .form-invalid select:focus {
|
||||
border-color: #dc3232 !important;
|
||||
box-shadow: 0 0 2px rgba( 204, 0, 0, 0.8 );
|
||||
-webkit-box-shadow: 0 0 2px rgba( 204, 0, 0, 0.8 );
|
||||
box-shadow: 0 0 2px rgba( 204, 0, 0, 0.8 );
|
||||
}
|
||||
|
||||
.form-table .form-required.form-invalid td:after {
|
||||
@@ -256,11 +262,11 @@ textarea[readonly] {
|
||||
|
||||
/* Adjust error indicator for password layout */
|
||||
.form-table .form-required.user-pass1-wrap.form-invalid td:after {
|
||||
content: "";
|
||||
content: '';
|
||||
}
|
||||
|
||||
.form-table .form-required.user-pass1-wrap.form-invalid .password-input-wrapper:after {
|
||||
content: "\f534";
|
||||
content: '\f534';
|
||||
font: normal 20px/1 dashicons;
|
||||
color: #dc3232;
|
||||
margin: 0 6px 0 -29px;
|
||||
@@ -279,6 +285,7 @@ textarea:disabled,
|
||||
textarea.disabled {
|
||||
background: rgba( 255, 255, 255, 0.5 );
|
||||
border-color: rgba( 222, 222, 222, 0.75 );
|
||||
-webkit-box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.04 );
|
||||
box-shadow: inset 0 1px 2px rgba( 0, 0, 0, 0.04 );
|
||||
color: rgba( 51, 51, 51, 0.5 );
|
||||
}
|
||||
@@ -288,8 +295,8 @@ input[type="file"].disabled,
|
||||
input[type="range"]:disabled,
|
||||
input[type="range"].disabled {
|
||||
background: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
input[type="checkbox"]:disabled,
|
||||
@@ -331,7 +338,9 @@ input[type="radio"].disabled:checked:before {
|
||||
.submit {
|
||||
padding: 1.5em 0;
|
||||
margin: 5px 0;
|
||||
-webkit-border-bottom-left-radius: 3px;
|
||||
border-bottom-left-radius: 3px;
|
||||
-webkit-border-bottom-right-radius: 3px;
|
||||
border-bottom-right-radius: 3px;
|
||||
border: none;
|
||||
}
|
||||
@@ -375,7 +384,7 @@ textarea.large-text {
|
||||
width: 99%;
|
||||
}
|
||||
|
||||
.regular-text {
|
||||
input.regular-text {
|
||||
width: 25em;
|
||||
}
|
||||
|
||||
@@ -442,19 +451,26 @@ fieldset label,
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.options-media-php [for*="_size_"] {
|
||||
min-width: 10em;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
.options-media-php .small-text[name*="_size_"] {
|
||||
margin: 0 0 1em;
|
||||
}
|
||||
|
||||
.options-media-php label[for*="_size_"],
|
||||
#misc-publishing-actions label {
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
#misc-publishing-actions label[for="post_status"]:before {
|
||||
content: "\f173";
|
||||
display: inline-block;
|
||||
font: normal 20px/1 dashicons;
|
||||
speak: none;
|
||||
left: -1px;
|
||||
padding: 0 5px 0 0;
|
||||
position: relative;
|
||||
top: 0;
|
||||
text-decoration: none !important;
|
||||
vertical-align: top;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
#pass-strength-result {
|
||||
background-color: #eee;
|
||||
border: 1px solid #ddd;
|
||||
@@ -463,6 +479,8 @@ fieldset label,
|
||||
padding: 3px 5px;
|
||||
text-align: center;
|
||||
width: 25em;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
opacity: 0;
|
||||
}
|
||||
@@ -508,7 +526,7 @@ fieldset label,
|
||||
}
|
||||
|
||||
.pw-weak {
|
||||
display: none;
|
||||
display:none;
|
||||
}
|
||||
|
||||
.indicator-hint {
|
||||
@@ -579,6 +597,7 @@ ul#add-to-blog-users {
|
||||
position: absolute;
|
||||
z-index: 10000;
|
||||
border: 1px solid #5b9dd9;
|
||||
-webkit-box-shadow: 0 1px 2px rgba( 30, 140, 190, 0.8 );
|
||||
box-shadow: 0 1px 2px rgba( 30, 140, 190, 0.8 );
|
||||
background-color: #fff;
|
||||
}
|
||||
@@ -588,18 +607,11 @@ ul#add-to-blog-users {
|
||||
padding: 4px 10px;
|
||||
white-space: nowrap;
|
||||
text-align: left;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* Colors for the wplink toolbar autocomplete. */
|
||||
.ui-autocomplete .ui-state-focus {
|
||||
.ui-autocomplete li.ui-state-focus {
|
||||
background-color: #ddd;
|
||||
}
|
||||
|
||||
/* Colors for the tags autocomplete. */
|
||||
.wp-tags-autocomplete .ui-state-focus {
|
||||
background-color: #0073aa;
|
||||
color: #fff;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/*------------------------------------------------------------------------------
|
||||
@@ -644,10 +656,8 @@ ul#add-to-blog-users {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.form-table th.th-full, /* Not used by core. Back-compat for pre-4.8 */
|
||||
.form-table .td-full {
|
||||
.form-table th.th-full {
|
||||
width: auto;
|
||||
padding: 20px 10px 20px 0;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
@@ -726,6 +736,8 @@ table.form-table td .updated p {
|
||||
display: inline-block;
|
||||
width: 24%;
|
||||
padding: 5px 15px 15px;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
margin-bottom: 3px;
|
||||
}
|
||||
@@ -782,6 +794,7 @@ table.form-table td .updated p {
|
||||
min-width: 255px;
|
||||
max-width: 520px;
|
||||
border: 1px solid #e5e5e5;
|
||||
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.04);
|
||||
box-shadow: 0 1px 1px rgba(0,0,0,0.04);
|
||||
background: #fff;
|
||||
}
|
||||
@@ -817,6 +830,7 @@ table.form-table td .updated p {
|
||||
cursor: move;
|
||||
color: #32373c;
|
||||
background: #e5e5e5;
|
||||
-webkit-border-radius: 5px;
|
||||
border-radius: 5px;
|
||||
border: 1px solid #b4b9be;
|
||||
font-style: normal;
|
||||
@@ -838,12 +852,18 @@ table.form-table td .updated p {
|
||||
right: 10px;
|
||||
bottom: 9px;
|
||||
background: transparent;
|
||||
-webkit-transform: skew(20deg) rotate(6deg);
|
||||
-ms-transform: skew(20deg) rotate(6deg);
|
||||
transform: skew(20deg) rotate(6deg);
|
||||
-webkit-box-shadow: 0 10px 8px rgba(0, 0, 0, 0.6);
|
||||
box-shadow: 0 10px 8px rgba(0, 0, 0, 0.6);
|
||||
}
|
||||
|
||||
.pressthis-bookmarklet:hover:after {
|
||||
-webkit-transform: skew(20deg) rotate(9deg);
|
||||
-ms-transform: skew(20deg) rotate(9deg);
|
||||
transform: skew(20deg) rotate(9deg);
|
||||
-webkit-box-shadow: 0 10px 8px rgba(0, 0, 0, 0.7);
|
||||
box-shadow: 0 10px 8px rgba(0, 0, 0, 0.7);
|
||||
}
|
||||
|
||||
@@ -907,7 +927,7 @@ table.form-table td .updated p {
|
||||
|
||||
.options-general-php .spinner {
|
||||
float: none;
|
||||
margin: -3px 3px 0;
|
||||
margin: 0 3px;
|
||||
}
|
||||
|
||||
.settings-php .language-install-spinner,
|
||||
@@ -918,11 +938,6 @@ table.form-table td .updated p {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.form-table.permalink-structure .available-structure-tags li {
|
||||
float: left;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
/*------------------------------------------------------------------------------
|
||||
21.0 - Network Admin
|
||||
------------------------------------------------------------------------------*/
|
||||
@@ -962,8 +977,6 @@ table.form-table td .updated p {
|
||||
|
||||
.request-filesystem-credentials-dialog {
|
||||
display: none;
|
||||
/* The customizer uses visibility: hidden on the body for full-overlays. */
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
.request-filesystem-credentials-dialog .notification-dialog {
|
||||
@@ -976,8 +989,8 @@ table.form-table td .updated p {
|
||||
}
|
||||
|
||||
#request-filesystem-credentials-title {
|
||||
font-size: 1.3em;
|
||||
margin: 1em 0;
|
||||
font-size: 1.3em;
|
||||
margin: 1em 0;
|
||||
}
|
||||
|
||||
.request-filesystem-credentials-form legend {
|
||||
@@ -1078,147 +1091,11 @@ table.form-table td .updated p {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
/*------------------------------------------------------------------------------
|
||||
Privacy Policy settings screen
|
||||
------------------------------------------------------------------------------*/
|
||||
.tools-privacy-policy-page form {
|
||||
margin-bottom: 1.3em;
|
||||
}
|
||||
|
||||
.tools-privacy-policy-page input.button,
|
||||
.tools-privacy-policy-page select {
|
||||
margin-left: 6px;
|
||||
}
|
||||
|
||||
.tools-privacy-edit {
|
||||
margin: 1.5em 0;
|
||||
}
|
||||
|
||||
.tools-privacy-policy-page span {
|
||||
line-height: 2em;
|
||||
}
|
||||
|
||||
.privacy_requests .column-email {
|
||||
width: 40%;
|
||||
}
|
||||
|
||||
.privacy_requests .column-type {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.privacy_requests thead td:first-child,
|
||||
.privacy_requests tfoot td:first-child {
|
||||
border-left: 4px solid #fff;
|
||||
}
|
||||
|
||||
.privacy_requests tbody th {
|
||||
border-left: 4px solid #fff;
|
||||
background: #fff;
|
||||
box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
.privacy_requests tbody .has-request-results th {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.privacy_requests tbody .request-results th .notice {
|
||||
margin: 0 0 5px;
|
||||
}
|
||||
|
||||
.privacy_requests tbody td {
|
||||
background: #fff;
|
||||
box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
.privacy_requests tbody .has-request-results td {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.privacy_requests .next_steps .button {
|
||||
height: auto;
|
||||
line-height: 1.5;
|
||||
padding: 4px 10px;
|
||||
word-break: break-all;
|
||||
white-space: unset;
|
||||
}
|
||||
|
||||
.privacy_requests .status-request-confirmed th,
|
||||
.privacy_requests .status-request-confirmed td {
|
||||
background-color: #f7fcfe;
|
||||
border-left-color: #00a0d2;
|
||||
}
|
||||
|
||||
.privacy_requests .status-request-failed th,
|
||||
.privacy_requests .status-request-failed td {
|
||||
background-color: #fef7f1;
|
||||
border-left-color: #d64d21;
|
||||
}
|
||||
|
||||
.privacy_requests .export_personal_data_failed a {
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
.status-label {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.status-label.status-request-pending {
|
||||
font-weight: 400;
|
||||
font-style: italic;
|
||||
color: #6c7781;
|
||||
}
|
||||
|
||||
.status-label.status-request-failed {
|
||||
color: #aa0000;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.wp-privacy-request-form {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.wp-privacy-request-form-field {
|
||||
margin: 1.5em 0;
|
||||
}
|
||||
|
||||
.wp-privacy-request-form label {
|
||||
font-weight: 600;
|
||||
line-height: 1.5;
|
||||
padding-bottom: .5em;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.wp-privacy-request-form input {
|
||||
line-height: 1.5;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.email-personal-data::before {
|
||||
display: inline-block;
|
||||
font: normal 20px/1 dashicons;
|
||||
margin: 3px 5px 0 -2px;
|
||||
speak: none;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.email-personal-data--sending::before {
|
||||
color: #f56e28;
|
||||
content: "\f463";
|
||||
animation: rotation 2s infinite linear;
|
||||
}
|
||||
|
||||
.email-personal-data--sent::before {
|
||||
color: #79ba49;
|
||||
content: "\f147";
|
||||
}
|
||||
|
||||
|
||||
/* =Media Queries
|
||||
-------------------------------------------------------------- */
|
||||
|
||||
@media screen and (max-width: 782px) {
|
||||
@media screen and ( max-width: 782px ) {
|
||||
/* Input Elements */
|
||||
textarea {
|
||||
-webkit-appearance: none;
|
||||
@@ -1303,6 +1180,8 @@ table.form-table td .updated p {
|
||||
}
|
||||
|
||||
.form-table {
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
@@ -1349,6 +1228,8 @@ table.form-table td .updated p {
|
||||
padding: 7px 10px;
|
||||
display: block;
|
||||
max-width: none;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
@@ -1368,7 +1249,7 @@ table.form-table td .updated p {
|
||||
input[type="number"].small-text,
|
||||
.form-table input[type="text"].small-text {
|
||||
width: auto;
|
||||
max-width: 4.375em; /* 70px, enough for 4 digits to fit comfortably */
|
||||
max-width: 55px;
|
||||
display: inline;
|
||||
padding: 3px 6px;
|
||||
margin: 0 3px;
|
||||
@@ -1376,6 +1257,8 @@ table.form-table td .updated p {
|
||||
|
||||
#pass-strength-result {
|
||||
width: 100%;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
padding: 8px;
|
||||
}
|
||||
@@ -1468,6 +1351,7 @@ table.form-table td .updated p {
|
||||
.wp-pwd button.button {
|
||||
background: transparent;
|
||||
border: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
line-height: 2;
|
||||
margin: 0;
|
||||
@@ -1488,37 +1372,9 @@ table.form-table td .updated p {
|
||||
}
|
||||
|
||||
.options-general-php input[type="text"].small-text {
|
||||
max-width: 6.25em;
|
||||
max-width: 60px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* Privacy Policy settings screen */
|
||||
.tools-privacy-policy-page form.wp-create-privacy-page {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
.tools-privacy-policy-page input#set-page,
|
||||
.tools-privacy-policy-page select {
|
||||
margin: 10px 0 0;
|
||||
}
|
||||
|
||||
.tools-privacy-policy-page .wp-create-privacy-page span {
|
||||
display: block;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
.tools-privacy-policy-page .wp-create-privacy-page .button {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.wp-list-table.privacy_requests tr:not(.inline-edit-row):not(.no-items) td.column-primary:not(.check-column) {
|
||||
display: table-cell;
|
||||
}
|
||||
|
||||
.wp-list-table.privacy_requests.widefat th input,
|
||||
.wp-list-table.privacy_requests.widefat thead td input {
|
||||
margin-left: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 768px) {
|
||||
@@ -1531,7 +1387,7 @@ table.form-table td .updated p {
|
||||
}
|
||||
|
||||
.form-wrap .form-field {
|
||||
padding: 0;
|
||||
padding:0;
|
||||
}
|
||||
|
||||
/* users */
|
||||
@@ -1541,10 +1397,9 @@ table.form-table td .updated p {
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-height: 480px), screen and (max-width: 450px) {
|
||||
/* Request Credentials / File Editor Warning */
|
||||
.request-filesystem-credentials-dialog .notification-dialog,
|
||||
.file-editor-warning .notification-dialog {
|
||||
@media only screen and (max-height: 480px) {
|
||||
/* Request Credentials */
|
||||
.request-filesystem-credentials-dialog .notification-dialog{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
max-height: 100%;
|
||||
@@ -1569,12 +1424,3 @@ table.form-table td .updated p {
|
||||
margin-right: 0.5em;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes rotation {
|
||||
0% {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
100% {
|
||||
transform: rotate(359deg);
|
||||
}
|
||||
}
|
||||
|
||||
3
wp-admin/css/forms.min.css
vendored
3
wp-admin/css/forms.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -221,7 +221,8 @@ table.fixed td {
|
||||
}
|
||||
|
||||
#wpbody-content input.button,
|
||||
#wpbody-content input.button-primary {
|
||||
#wpbody-content input.button-primary,
|
||||
#wpbody-content input.button-secondary {
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
@@ -285,7 +286,7 @@ table.fixed td {
|
||||
width: 29%;
|
||||
}
|
||||
|
||||
.inline-edit-row .submit {
|
||||
.inline-edit-row p.submit {
|
||||
zoom: 100%;
|
||||
}
|
||||
|
||||
@@ -441,17 +442,13 @@ div#dashboard-widgets {
|
||||
padding-left: 1px;
|
||||
}
|
||||
|
||||
.tagchecklist > li, .tagchecklist .ntdelbutton {
|
||||
.tagchecklist span, .tagchecklist span a {
|
||||
display: inline-block;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.tagchecklist .ntdelbutton:focus .remove-tag-icon:before {
|
||||
outline: 1px solid #5b9dd9;
|
||||
}
|
||||
|
||||
.tablenav .button,
|
||||
.nav .button {
|
||||
.tablenav .button-secondary,
|
||||
.nav .button-secondary {
|
||||
padding-top: 2px;
|
||||
padding-bottom: 2px;
|
||||
}
|
||||
@@ -510,7 +507,7 @@ table.ie-fixed {
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
.tablenav a.button {
|
||||
.tablenav a.button-secondary {
|
||||
display: inline-block;
|
||||
padding: 2px 5px;
|
||||
}
|
||||
@@ -558,7 +555,7 @@ table.ie-fixed {
|
||||
}
|
||||
|
||||
#update-nav-menu #post-body {
|
||||
overflow: hidden;
|
||||
overflow:hidden;
|
||||
}
|
||||
|
||||
.menu li {
|
||||
@@ -639,7 +636,7 @@ input[type="password"],
|
||||
.mce-btn i.mce-i-wp_page,
|
||||
.mce-btn i.mce-i-hr,
|
||||
.mce-close {
|
||||
font-family: tinymce, Arial;
|
||||
font-family: 'tinymce', Arial;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-variant: normal;
|
||||
@@ -650,12 +647,12 @@ input[type="password"],
|
||||
|
||||
.mce-btn i.mce-i-wp_fullscreen,
|
||||
.qt-fullscreen {
|
||||
-ie7-icon: "\e023";
|
||||
-ie7-icon: '\e023';
|
||||
}
|
||||
|
||||
.mce-btn i.mce-i-wp_more,
|
||||
.mce-btn i.mce-i-wp_page {
|
||||
-ie7-icon: "\e027";
|
||||
-ie7-icon: '\e027';
|
||||
}
|
||||
|
||||
.mce-btn i.mce-i-wp_adv {
|
||||
@@ -664,7 +661,7 @@ input[type="password"],
|
||||
|
||||
.mce-btn i.mce-i-help,
|
||||
.mce-btn i.mce-i-wp_help {
|
||||
-ie7-icon: "\e016";
|
||||
-ie7-icon: '\e016';
|
||||
}
|
||||
|
||||
|
||||
|
||||
3
wp-admin/css/ie-rtl.min.css
vendored
3
wp-admin/css/ie-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -221,7 +221,8 @@ table.fixed td {
|
||||
}
|
||||
|
||||
#wpbody-content input.button,
|
||||
#wpbody-content input.button-primary {
|
||||
#wpbody-content input.button-primary,
|
||||
#wpbody-content input.button-secondary {
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
@@ -285,7 +286,7 @@ table.fixed td {
|
||||
width: 29%;
|
||||
}
|
||||
|
||||
.inline-edit-row .submit {
|
||||
.inline-edit-row p.submit {
|
||||
zoom: 100%;
|
||||
}
|
||||
|
||||
@@ -441,17 +442,13 @@ div#dashboard-widgets {
|
||||
padding-right: 1px;
|
||||
}
|
||||
|
||||
.tagchecklist > li, .tagchecklist .ntdelbutton {
|
||||
.tagchecklist span, .tagchecklist span a {
|
||||
display: inline-block;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.tagchecklist .ntdelbutton:focus .remove-tag-icon:before {
|
||||
outline: 1px solid #5b9dd9;
|
||||
}
|
||||
|
||||
.tablenav .button,
|
||||
.nav .button {
|
||||
.tablenav .button-secondary,
|
||||
.nav .button-secondary {
|
||||
padding-top: 2px;
|
||||
padding-bottom: 2px;
|
||||
}
|
||||
@@ -510,7 +507,7 @@ table.ie-fixed {
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
.tablenav a.button {
|
||||
.tablenav a.button-secondary {
|
||||
display: inline-block;
|
||||
padding: 2px 5px;
|
||||
}
|
||||
@@ -558,7 +555,7 @@ table.ie-fixed {
|
||||
}
|
||||
|
||||
#update-nav-menu #post-body {
|
||||
overflow: hidden;
|
||||
overflow:hidden;
|
||||
}
|
||||
|
||||
.menu li {
|
||||
@@ -639,7 +636,7 @@ input[type="password"],
|
||||
.mce-btn i.mce-i-wp_page,
|
||||
.mce-btn i.mce-i-hr,
|
||||
.mce-close {
|
||||
font-family: tinymce, Arial;
|
||||
font-family: 'tinymce', Arial;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-variant: normal;
|
||||
@@ -650,12 +647,12 @@ input[type="password"],
|
||||
|
||||
.mce-btn i.mce-i-wp_fullscreen,
|
||||
.qt-fullscreen {
|
||||
-ie7-icon: "\e023";
|
||||
-ie7-icon: '\e023';
|
||||
}
|
||||
|
||||
.mce-btn i.mce-i-wp_more,
|
||||
.mce-btn i.mce-i-wp_page {
|
||||
-ie7-icon: "\e027";
|
||||
-ie7-icon: '\e027';
|
||||
}
|
||||
|
||||
.mce-btn i.mce-i-wp_adv {
|
||||
@@ -664,7 +661,7 @@ input[type="password"],
|
||||
|
||||
.mce-btn i.mce-i-help,
|
||||
.mce-btn i.mce-i-wp_help {
|
||||
-ie7-icon: "\e016";
|
||||
-ie7-icon: '\e016';
|
||||
}
|
||||
|
||||
|
||||
|
||||
3
wp-admin/css/ie.min.css
vendored
3
wp-admin/css/ie.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -11,6 +11,7 @@ body {
|
||||
padding: 20px 20px 10px 20px;
|
||||
max-width: 700px;
|
||||
-webkit-font-smoothing: subpixel-antialiased;
|
||||
-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.13);
|
||||
box-shadow: 0 1px 3px rgba(0,0,0,0.13);
|
||||
}
|
||||
|
||||
@@ -25,6 +26,9 @@ a:active {
|
||||
|
||||
a:focus {
|
||||
color: #124964;
|
||||
-webkit-box-shadow:
|
||||
0 0 0 1px #5b9dd9,
|
||||
0 0 2px 1px rgba(30, 140, 190, .8);
|
||||
box-shadow:
|
||||
0 0 0 1px #5b9dd9,
|
||||
0 0 2px 1px rgba(30, 140, 190, .8);
|
||||
@@ -63,7 +67,7 @@ ul, ol, dl {
|
||||
}
|
||||
|
||||
a img {
|
||||
border: 0
|
||||
border:0
|
||||
}
|
||||
abbr {
|
||||
border: 0;
|
||||
@@ -84,11 +88,12 @@ label {
|
||||
margin: 6px 0 14px 0;
|
||||
padding: 0 0 7px 0;
|
||||
border-bottom: none;
|
||||
text-align: center
|
||||
text-align:center
|
||||
}
|
||||
#logo a {
|
||||
background-image: url(../images/w-logo-blue.png?ver=20131202);
|
||||
background-image: none, url(../images/wordpress-logo.svg?ver=20131107);
|
||||
-webkit-background-size: 84px;
|
||||
background-size: 84px;
|
||||
background-position: center top;
|
||||
background-repeat: no-repeat;
|
||||
@@ -107,6 +112,11 @@ label {
|
||||
display: block;
|
||||
}
|
||||
|
||||
#logo a:focus {
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.step {
|
||||
margin: 20px 0 15px;
|
||||
}
|
||||
@@ -124,6 +134,8 @@ textarea {
|
||||
border: 1px solid #ddd;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
width: 100%;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
@@ -163,6 +175,7 @@ textarea {
|
||||
font-size: 15px;
|
||||
padding: 3px 5px;
|
||||
border: 1px solid #ddd;
|
||||
-webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,0.07);
|
||||
box-shadow: inset 0 1px 2px rgba(0,0,0,0.07);
|
||||
}
|
||||
|
||||
@@ -224,6 +237,8 @@ submit {
|
||||
padding: 3px 5px;
|
||||
text-align: center;
|
||||
width: 218px;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
opacity: 0;
|
||||
}
|
||||
@@ -330,7 +345,7 @@ body.rtl,
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 782px) {
|
||||
@media screen and ( max-width: 782px ) {
|
||||
|
||||
.form-table {
|
||||
margin-top: 0;
|
||||
@@ -371,6 +386,8 @@ body.rtl,
|
||||
padding: 7px 10px;
|
||||
display: block;
|
||||
max-width: none;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
@@ -398,21 +415,19 @@ body.language-chooser {
|
||||
|
||||
.screen-reader-input,
|
||||
.screen-reader-text {
|
||||
border: 0;
|
||||
clip: rect(1px, 1px, 1px, 1px);
|
||||
-webkit-clip-path: inset(50%);
|
||||
clip-path: inset(50%);
|
||||
height: 1px;
|
||||
margin: -1px;
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
position: absolute;
|
||||
margin: -1px;
|
||||
padding: 0;
|
||||
height: 1px;
|
||||
width: 1px;
|
||||
word-wrap: normal !important;
|
||||
overflow: hidden;
|
||||
clip: rect(0 0 0 0);
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.spinner {
|
||||
background: url(../images/spinner.gif) no-repeat;
|
||||
-webkit-background-size: 20px 20px;
|
||||
background-size: 20px 20px;
|
||||
visibility: hidden;
|
||||
opacity: 0.7;
|
||||
@@ -428,7 +443,7 @@ body.language-chooser {
|
||||
margin-left: 15px;
|
||||
}
|
||||
|
||||
.button.hide-if-no-js,
|
||||
.button-secondary.hide-if-no-js,
|
||||
.hide-if-no-js {
|
||||
display: none;
|
||||
}
|
||||
|
||||
3
wp-admin/css/install-rtl.min.css
vendored
3
wp-admin/css/install-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user