dbbebefb by Jeff Balicki

wp update

Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent e8801477
Showing 1000 changed files with 1331 additions and 835 deletions

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

......@@ -51,14 +51,14 @@
<h2>System Requirements</h2>
<ul>
<li><a href="https://secure.php.net/">PHP</a> version <strong>5.6.20</strong> or greater.</li>
<li><a href="https://secure.php.net/">PHP</a> version <strong>7.0</strong> or greater.</li>
<li><a href="https://www.mysql.com/">MySQL</a> version <strong>5.0</strong> or greater.</li>
</ul>
<h3>Recommendations</h3>
<ul>
<li><a href="https://secure.php.net/">PHP</a> version <strong>7.4</strong> or greater.</li>
<li><a href="https://www.mysql.com/">MySQL</a> version <strong>5.7</strong> or greater OR <a href="https://mariadb.org/">MariaDB</a> version <strong>10.3</strong> or greater.</li>
<li><a href="https://www.mysql.com/">MySQL</a> version <strong>5.7</strong> or greater OR <a href="https://mariadb.org/">MariaDB</a> version <strong>10.4</strong> or greater.</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>
......
......@@ -87,7 +87,7 @@ do_action( 'activate_header' );
*/
function do_activate_header() {
/**
* Fires before the Site Activation page is loaded.
* Fires within the `<head>` section of the Site Activation page.
*
* Fires on the {@see 'wp_head'} action.
*
......@@ -120,7 +120,7 @@ add_filter( 'wp_robots', 'wp_robots_sensitive_page' );
get_header( 'wp-activate' );
$blog_details = get_blog_details();
$blog_details = get_site();
?>
<div id="signup-content" class="widecolumn">
......
......@@ -109,7 +109,7 @@ var ajaxurl = '<?php echo esc_js( admin_url( 'admin-ajax.php', 'relative' ) ); ?
<?php
/**
* Enqueue scripts for all admin pages.
* Fires when enqueuing scripts for all admin pages.
*
* @since 2.8.0
*
......@@ -242,7 +242,7 @@ unset( $error_get_last );
$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 esc_attr( $admin_body_classes ); ?>">
<script type="text/javascript">
document.body.className = document.body.className.replace('no-js','js');
</script>
......
......@@ -348,7 +348,7 @@ if ( isset( $plugin_page ) ) {
define( 'WP_IMPORTING', true );
/**
* Whether to filter imported data through kses on import.
* Filters whether to filter imported data through kses on import.
*
* Multisite uses this hook to filter all data through kses by default,
* as a super administrator may be assisting an untrusted user.
......
......@@ -113,8 +113,8 @@ if ( isset( $_REQUEST['post_id'] ) ) {
$id = media_handle_upload( 'async-upload', $post_id );
if ( is_wp_error( $id ) ) {
printf(
'<div class="error-div error">%s <strong>%s</strong><br />%s</div>',
$message = sprintf(
'%s <strong>%s</strong><br />%s',
sprintf(
'<button type="button" class="dismiss button-link" onclick="jQuery(this).parents(\'div.media-item\').slideUp(200, function(){jQuery(this).remove();});">%s</button>',
__( 'Dismiss' )
......@@ -126,6 +126,13 @@ if ( is_wp_error( $id ) ) {
),
esc_html( $id->get_error_message() )
);
wp_admin_notice(
$message,
array(
'additional_classes' => array( 'error-div', 'error' ),
'paragraph_wrap' => false,
)
);
exit;
}
......
......@@ -137,9 +137,16 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
<div class="wrap">
<h1><?php echo esc_html( $title ); ?></h1>
<?php if ( is_wp_error( $error ) ) : ?>
<div class="notice notice-error"><p><?php echo $error->get_error_message(); ?></p></div>
<?php endif; ?>
<?php
if ( is_wp_error( $error ) ) {
wp_admin_notice(
$error->get_error_message(),
array(
'type' => 'error',
)
);
}
?>
<div class="card auth-app-card">
<h2 class="title"><?php _e( 'An application would like to connect to your account.' ); ?></h2>
......@@ -194,24 +201,25 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
}
?>
<?php if ( $new_password ) : ?>
<div class="notice notice-success notice-alt below-h2">
<p class="application-password-display">
<label for="new-application-password-value">
<?php
printf(
if ( $new_password ) :
$message = '<p class="application-password-display">
<label for="new-application-password-value">' . sprintf(
/* translators: %s: Application name. */
esc_html__( 'Your new password for %s is:' ),
'<strong>' . esc_html( $app_name ) . '</strong>'
);
?>
) . '
</label>
<input id="new-application-password-value" type="text" class="code" readonly="readonly" value="<?php esc_attr( WP_Application_Passwords::chunk_password( $new_password ) ); ?>" />
<input id="new-application-password-value" type="text" class="code" readonly="readonly" value="' . esc_attr( WP_Application_Passwords::chunk_password( $new_password ) ) . '" />
</p>
<p><?php _e( 'Be sure to save this in a safe location. You will not be able to retrieve it.' ); ?></p>
</div>
<p>' . __( 'Be sure to save this in a safe location. You will not be able to retrieve it.' ) . '</p>';
$args = array(
'type' => 'success',
'additional_classes' => array( 'notice-alt', 'below-h2' ),
'paragraph_wrap' => false,
);
wp_admin_notice( $message, $args );
<?php
/**
* Fires in the Authorize Application Password new password section in the no-JS version.
*
......@@ -226,8 +234,8 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
* @param WP_User $user The user authorizing the application.
*/
do_action( 'wp_authorize_application_password_form_approved_no_js', $new_password, $request, $user );
else :
?>
<?php else : ?>
<form action="<?php echo esc_url( admin_url( 'authorize-application.php' ) ); ?>" method="post" class="form-wrap">
<?php wp_nonce_field( 'authorize_application_password' ); ?>
<input type="hidden" name="action" value="authorize_application_password" />
......
......@@ -161,11 +161,23 @@ switch ( $action ) {
break;
}
if ( $message ) {
echo '<div id="message" class="notice notice-info"><p>' . $message . '</p></div>';
wp_admin_notice(
$message,
array(
'type' => 'info',
'id' => 'message',
)
);
}
}
wp_admin_notice(
'<strong>' . __( 'Caution:' ) . '</strong> ' . $caution_msg,
array(
'type' => 'warning',
'id' => 'message',
)
);
?>
<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>
......@@ -282,7 +294,7 @@ switch ( $action ) {
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' ) ) {
if ( wp_get_referer() && ! $noredir && ! str_contains( wp_get_referer(), 'comment.php' ) ) {
$redir = wp_get_referer();
} elseif ( wp_get_original_referer() && ! $noredir ) {
$redir = wp_get_original_referer();
......
<?php
/**
* Contribute administration panel.
*
* @package WordPress
* @subpackage Administration
*/
/** WordPress Administration Bootstrap */
require_once __DIR__ . '/admin.php';
// Used in the HTML title tag.
$title = __( 'Get Involved' );
list( $display_version ) = explode( '-', get_bloginfo( 'version' ) );
require_once ABSPATH . 'wp-admin/admin-header.php';
?>
<div class="wrap about__container">
<div class="about__header">
<div class="about__header-title">
<h1>
<?php _e( 'Get Involved' ); ?>
</h1>
</div>
<div class="about__header-text"></div>
</div>
<nav class="about__header-navigation nav-tab-wrapper wp-clearfix" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>">
<a href="about.php" class="nav-tab"><?php _e( 'What&#8217;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="privacy.php" class="nav-tab"><?php _e( 'Privacy' ); ?></a>
<a href="contribute.php" class="nav-tab nav-tab-active" aria-current="page"><?php _e( 'Get Involved' ); ?></a>
</nav>
<div class="about__section has-2-columns is-wider-right">
<div class="column">
<img src="<?php echo esc_url( admin_url( 'images/contribute-main.svg?ver=6.4' ) ); ?>" alt="" width="290" height="290" />
</div>
<div class="column is-vertically-aligned-center">
<p><?php _e( 'Do you use WordPress for work, for personal projects, or even just for fun? You can help shape the long-term success of the open source project that powers millions of websites around the world.' ); ?></p>
<p><?php _e( 'Join the diverse WordPress contributor community and connect with other people who are passionate about maintaining a free and open web.' ); ?></p>
<ul>
<li><?php _e( 'Be part of a global open source community.' ); ?></li>
<li><?php _e( 'Apply your skills or learn new ones.' ); ?></li>
<li><?php _e( 'Grow your network and make friends.' ); ?></li>
</ul>
</div>
</div>
<div class="about__section has-2-columns is-wider-left">
<div class="column is-vertically-aligned-center">
<h3><?php _e( 'No-code contribution' ); ?></h3>
<p><?php _e( 'WordPress may thrive on technical contributions, but you don&#8217;t have to code to contribute. Here are some of the ways you can make an impact without writing a single line of code:' ); ?></p>
<ul>
<li><?php _e( '<strong>Share</strong> your knowledge in the WordPress support forums.' ); ?></li>
<li><?php _e( '<strong>Write</strong> or improve documentation for WordPress.' ); ?></li>
<li><?php _e( '<strong>Translate</strong> WordPress into your local language.' ); ?></li>
<li><?php _e( '<strong>Create</strong> and improve WordPress educational materials.' ); ?></li>
<li><?php _e( '<strong>Promote</strong> the WordPress project to your community.' ); ?></li>
<li><?php _e( '<strong>Curate</strong> submissions or take photos for the Photo Directory.' ); ?></li>
<li><?php _e( '<strong>Organize</strong> or participate in local Meetups and WordCamps.' ); ?></li>
<li><?php _e( '<strong>Lend</strong> your creative imagination to the WordPress UI design.' ); ?></li>
<li><?php _e( '<strong>Edit</strong> videos and add captions to WordPress.tv.' ); ?></li>
<li><?php _e( '<strong>Explore</strong> ways to reduce the environmental impact of websites.' ); ?></li>
</ul>
</div>
<div class="column">
<img src="<?php echo esc_url( admin_url( 'images/contribute-no-code.svg?ver=6.4' ) ); ?>" alt="" width="290" height="290" />
</div>
</div>
<div class="about__section has-2-columns is-wider-right">
<div class="column">
<img src="<?php echo esc_url( admin_url( 'images/contribute-code.svg?ver=6.4' ) ); ?>" alt="" width="290" height="290" />
</div>
<div class="column is-vertically-aligned-center">
<h3><?php _e( 'Code-based contribution' ); ?></h3>
<p><?php _e( 'If you do code, or want to learn how, you can contribute technically in numerous ways:' ); ?></p>
<ul>
<li><?php _e( '<strong>Find</strong> and report bugs in the WordPress core software.' ); ?></li>
<li><?php _e( '<strong>Test</strong> new releases and proposed features for the Block Editor.' ); ?></li>
<li><?php _e( '<strong>Write</strong> and submit patches to fix bugs or help build new features.' ); ?></li>
<li><?php _e( '<strong>Contribute</strong> to the code, improve the UX, and test the WordPress app.' ); ?></li>
</ul>
<p><?php _e( 'WordPress embraces new technologies, while being committed to backward compatibility. The WordPress project uses the following languages and libraries:' ); ?></p>
<ul>
<li><?php _e( 'WordPress Core and Block Editor: HTML, CSS, PHP, SQL, JavaScript, and React.' ); ?></li>
<li><?php _e( 'WordPress app: Kotlin, Java, Swift, Objective-C, Vue, Python, and TypeScript.' ); ?></li>
</ul>
</div>
</div>
<div class="about__section is-feature has-accent-4-background-color">
<div class="column">
<h2><?php _e( 'Shape the future of the web with WordPress' ); ?></h2>
<p><?php _e( 'Finding the area that aligns with your skills and interests is the first step toward meaningful contribution. With more than 20 Make WordPress teams working on different parts of the open source WordPress project, there&#8217;s a place for everyone, no matter what your skill set is.' ); ?></p>
<p><a href="<?php echo esc_url( __( 'https://make.wordpress.org/contribute/' ) ); ?>"><?php _e( 'Find your team &rarr;' ); ?></a></p>
</div>
</div>
</div>
<?php
require_once ABSPATH . 'wp-admin/admin-footer.php';
......@@ -28,15 +28,7 @@ $credits = wp_credits();
</h1>
</div>
<div class="about__header-text">
<?php
printf(
/* translators: %s: Version number. */
__( 'WordPress %s was created by a worldwide team of passionate individuals' ),
$display_version
);
?>
</div>
<div class="about__header-text"></div>
</div>
<nav class="about__header-navigation nav-tab-wrapper wp-clearfix" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>">
......@@ -44,6 +36,7 @@ $credits = wp_credits();
<a href="credits.php" class="nav-tab nav-tab-active" aria-current="page"><?php _e( 'Credits' ); ?></a>
<a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
<a href="privacy.php" class="nav-tab"><?php _e( 'Privacy' ); ?></a>
<a href="contribute.php" class="nav-tab"><?php _e( 'Get Involved' ); ?></a>
</nav>
<div class="about__section has-1-column has-gutters">
......@@ -59,7 +52,7 @@ $credits = wp_credits();
);
?>
<br />
<a href="https://make.wordpress.org/"><?php _e( 'Get involved in WordPress.' ); ?></a>
<a href="<?php echo esc_url( __( 'https://make.wordpress.org/contribute/' ) ); ?>"><?php _e( 'Get involved in WordPress.' ); ?></a>
</p>
<?php else : ?>
......@@ -67,7 +60,7 @@ $credits = wp_credits();
<p>
<?php _e( 'Want to see your name in lights on this page?' ); ?>
<br />
<a href="https://make.wordpress.org/"><?php _e( 'Get involved in WordPress.' ); ?></a>
<a href="<?php echo esc_url( __( 'https://make.wordpress.org/contribute/' ) ); ?>"><?php _e( 'Get involved in WordPress.' ); ?></a>
</p>
<?php endif; ?>
......
......@@ -2,7 +2,7 @@
/*------------------------------------------------------------------------------
22.0 - About Pages
1.0 Global: About, Credits, Freedoms, Privacy
1.0 Global: About, Credits, Freedoms, Privacy, Get Involved
1.1 Layout
1.2 Typography & Elements
1.3 Header
......@@ -22,16 +22,18 @@
.about__container {
/* Section backgrounds */
--background: #1d35b4;
--subtle-background: #eff2ff;
--background: #EAE9E7;
--subtle-background: #EAE9E7;
/* Main text color */
--text: #000;
--text: #1e1e1e;
--text-light: #fff;
/* Accent colors: used in header, on special classes. */
--accent-1: #1d35b4; /* Link color, credit image overlay */
--accent-2: #33f078; /* Accent background */
--accent-1: #C94C26; /* Link color */
--accent-2: #CFCABE; /* Accent background */
--accent-3: #f0f0f1; /* hr background */
--accent-4: #B1C5A4; /* Light green */
/* Navigation colors. */
--nav-background: #fff;
......@@ -43,20 +45,22 @@
}
/*------------------------------------------------------------------------------
1.0 - Global: About, Credits, Freedoms, Privacy
1.0 - Global: About, Credits, Freedoms, Privacy, Get Involved
------------------------------------------------------------------------------*/
.about-php,
.credits-php,
.freedoms-php,
.privacy-php {
.privacy-php,
.contribute-php {
background: #fff;
}
.about-php #wpcontent,
.credits-php #wpcontent,
.freedoms-php #wpcontent,
.privacy-php #wpcontent {
.privacy-php #wpcontent,
.contribute-php #wpcontent {
background: #fff;
padding: 0 24px;
}
......@@ -65,7 +69,8 @@
.about-php.auto-fold #wpcontent,
.credits-php.auto-fold #wpcontent,
.freedoms-php.auto-fold #wpcontent,
.privacy-php.auto-fold #wpcontent {
.privacy-php.auto-fold #wpcontent,
.contribute-php.auto-fold #wpcontent {
padding-right: 24px;
}
}
......@@ -109,6 +114,10 @@
background-color: var(--accent-2);
}
.about__container .has-accent-4-background-color {
background-color: var(--accent-4);
}
.about__container .has-transparent-background-color {
background-color: transparent;
}
......@@ -366,7 +375,6 @@
.about__container h1 {
padding: 0;
color: inherit;
}
.about__container h1,
......@@ -409,14 +417,14 @@
}
.about__section a {
color: var(--accent-1);
color: var(--text);
text-decoration: underline;
}
.about__section a:hover,
.about__section a:active,
.about__section a:focus {
color: var(--accent-1);
color: var(--text);
text-decoration: none;
}
......@@ -473,24 +481,20 @@
margin-top: 1.5em;
}
.about__container .column .about__image {
margin-bottom: calc(var(--gap) / 2);
}
.about__container hr {
margin: 0 var(--gap);
height: var(--gap);
margin: calc(var(--gap) / 2) var(--gap);
height: 0;
border: none;
border-top: 4px solid var(--accent-2);
border-top: 4px solid var(--accent-3);
}
.about__container hr.is-small {
height: calc(var(--gap) / 4);
margin-top: 0;
margin-bottom: 0;
}
.about__container hr.is-large {
height: calc(var(--gap) * 2);
margin: calc(var(--gap) / 2) auto;
margin: var(--gap) auto;
}
.about__container div.updated,
......@@ -531,27 +535,34 @@
position: relative;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
align-items: start;
justify-content: end;
box-sizing: border-box;
padding: calc(var(--gap) * 2) 0;
min-height: 420px;
padding: var(--gap) 0;
height: clamp(12.5rem, -1.25rem + 36.67vw, 26.25rem);
color: var(--text-light);
background: var(--background) url('../images/about-header-about.svg?ver=6.2') no-repeat;
background-size: cover;
background-position: center;
background-image: url('../images/about-header-about.svg?ver=6.4'), url('../images/about-header-background.svg?ver=6.4');
background-size: auto 70%, cover;
border-radius: 5px;
background-repeat: no-repeat;
background-position: left 7% center, top right;
background-color: var(--background);
}
.credits-php .about__header {
background-image: url('../images/about-header-credits.svg?ver=6.2');
background-image: url('../images/about-header-credits.svg?ver=6.4'), url('../images/about-header-background.svg?ver=6.4');
}
.freedoms-php .about__header {
background-image: url('../images/about-header-freedoms.svg?ver=6.2');
background-image: url('../images/about-header-freedoms.svg?ver=6.4'), url('../images/about-header-background.svg?ver=6.4');
}
.privacy-php .about__header {
background-image: url('../images/about-header-privacy.svg?ver=6.2');
background-image: url('../images/about-header-privacy.svg?ver=6.4'), url('../images/about-header-background.svg?ver=6.4');
}
.contribute-php .about__header {
background-image: url('../images/about-header-contribute.svg?ver=6.4'), url('../images/about-header-background.svg?ver=6.4');
}
.about__header-image {
......@@ -560,34 +571,32 @@
.about__header-title {
box-sizing: border-box;
margin: 0 var(--gap);
margin: 0 calc(var(--gap) + 2rem);
padding: 0;
text-align: center;
max-width: 55%;
}
.about__header-title h1 {
margin: 0 0 1rem;
padding: 0;
/* Fluid font size scales on browser size 960px - 1200px. */
font-size: clamp(3rem, 20vw - 9rem, 6rem);
font-size: clamp(2rem, 20vw - 9rem, 4rem);
line-height: 1;
font-weight: 600;
}
.about-php .about__header-title h1,
.credits-php .about__header-title h1,
.freedoms-php .about__header-title h1,
.privacy-php .about__header-title h1,
.freedoms-php .about__header-title h1 {
.contribute-php .about__header-title h1 {
/* Fluid font size scales on browser size 960px - 1200px. */
font-size: clamp(3rem, 10vw - 3rem, 4.5rem);
}
.about__header-title h1 span {
color: var(--accent-2);
font-size: clamp(2rem, 10vw - 3rem, 4rem);
}
.about__header-text {
box-sizing: border-box;
max-width: 22em;
max-width: 26em;
margin: 0 auto;
padding: 0;
font-size: 1.6rem;
......@@ -641,17 +650,19 @@
}
@media screen and (max-width: 960px) {
.about__header-title h1 {
/* Fluid font size scales on browser size 600px - 960px. */
font-size: clamp(3rem, 13.33vw - 2rem, 6rem);
}
.about-php .about__header-title h1,
.credits-php .about__header-title h1,
.freedoms-php .about__header-title h1,
.privacy-php .about__header-title h1,
.freedoms-php .about__header-title h1 {
.contribute-php .about__header-title h1 {
/* Fluid font size scales on browser size 600px - 960px. */
font-size: clamp(3rem, 6.67vw - 0.5rem, 4.5rem);
}
.about__header-navigation .nav-tab {
padding: calc(var(--gap) * 0.75) calc(var(--gap) * 0.5);
}
}
@media screen and (max-width: 782px) {
......@@ -685,13 +696,12 @@
.about__header {
min-height: auto;
}
}
@media screen and (max-width: 480px) {
.about__header,
.credits-php .about__header,
.freedoms-php .about__header,
.privacy-php .about__header,
.freedoms-php .about__header {
.contribute-php .about__header {
background-image: none;
}
......@@ -728,7 +738,7 @@
------------------------------------------------------------------------------*/
.about__section .wp-people-group-title {
margin-bottom: calc(var(--gap) * 2);
margin-bottom: calc(var(--gap) * 2 - 10px);
text-align: center;
}
......@@ -743,7 +753,7 @@
display: inline-block;
vertical-align: top;
box-sizing: border-box;
margin-bottom: var(--gap);
margin-bottom: calc(var(--gap) - 10px);
width: 25%;
text-align: center;
}
......@@ -760,14 +770,12 @@
height: 140px;
border-radius: 100%;
overflow: hidden;
background: var(--accent-1);
}
.about__section .wp-person .gravatar {
width: 140px;
height: 140px;
filter: grayscale(100%);
mix-blend-mode: screen;
}
.about__section .compact .wp-person-avatar,
......@@ -777,8 +785,10 @@
}
.about__section .wp-person .web {
display: block;
font-size: 1.4em;
font-weight: 600;
padding: 10px 10px 0;
text-decoration: none;
}
......
/*------------------------------------------------------------------------------
22.0 - About Pages
1.0 Global: About, Credits, Freedoms, Privacy
1.0 Global: About, Credits, Freedoms, Privacy, Get Involved
1.1 Layout
1.2 Typography & Elements
1.3 Header
......@@ -21,16 +21,18 @@
.about__container {
/* Section backgrounds */
--background: #1d35b4;
--subtle-background: #eff2ff;
--background: #EAE9E7;
--subtle-background: #EAE9E7;
/* Main text color */
--text: #000;
--text: #1e1e1e;
--text-light: #fff;
/* Accent colors: used in header, on special classes. */
--accent-1: #1d35b4; /* Link color, credit image overlay */
--accent-2: #33f078; /* Accent background */
--accent-1: #C94C26; /* Link color */
--accent-2: #CFCABE; /* Accent background */
--accent-3: #f0f0f1; /* hr background */
--accent-4: #B1C5A4; /* Light green */
/* Navigation colors. */
--nav-background: #fff;
......@@ -42,20 +44,22 @@
}
/*------------------------------------------------------------------------------
1.0 - Global: About, Credits, Freedoms, Privacy
1.0 - Global: About, Credits, Freedoms, Privacy, Get Involved
------------------------------------------------------------------------------*/
.about-php,
.credits-php,
.freedoms-php,
.privacy-php {
.privacy-php,
.contribute-php {
background: #fff;
}
.about-php #wpcontent,
.credits-php #wpcontent,
.freedoms-php #wpcontent,
.privacy-php #wpcontent {
.privacy-php #wpcontent,
.contribute-php #wpcontent {
background: #fff;
padding: 0 24px;
}
......@@ -64,7 +68,8 @@
.about-php.auto-fold #wpcontent,
.credits-php.auto-fold #wpcontent,
.freedoms-php.auto-fold #wpcontent,
.privacy-php.auto-fold #wpcontent {
.privacy-php.auto-fold #wpcontent,
.contribute-php.auto-fold #wpcontent {
padding-left: 24px;
}
}
......@@ -108,6 +113,10 @@
background-color: var(--accent-2);
}
.about__container .has-accent-4-background-color {
background-color: var(--accent-4);
}
.about__container .has-transparent-background-color {
background-color: transparent;
}
......@@ -365,7 +374,6 @@
.about__container h1 {
padding: 0;
color: inherit;
}
.about__container h1,
......@@ -408,14 +416,14 @@
}
.about__section a {
color: var(--accent-1);
color: var(--text);
text-decoration: underline;
}
.about__section a:hover,
.about__section a:active,
.about__section a:focus {
color: var(--accent-1);
color: var(--text);
text-decoration: none;
}
......@@ -472,24 +480,20 @@
margin-top: 1.5em;
}
.about__container .column .about__image {
margin-bottom: calc(var(--gap) / 2);
}
.about__container hr {
margin: 0 var(--gap);
height: var(--gap);
margin: calc(var(--gap) / 2) var(--gap);
height: 0;
border: none;
border-top: 4px solid var(--accent-2);
border-top: 4px solid var(--accent-3);
}
.about__container hr.is-small {
height: calc(var(--gap) / 4);
margin-top: 0;
margin-bottom: 0;
}
.about__container hr.is-large {
height: calc(var(--gap) * 2);
margin: calc(var(--gap) / 2) auto;
margin: var(--gap) auto;
}
.about__container div.updated,
......@@ -530,27 +534,34 @@
position: relative;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
align-items: start;
justify-content: end;
box-sizing: border-box;
padding: calc(var(--gap) * 2) 0;
min-height: 420px;
padding: var(--gap) 0;
height: clamp(12.5rem, -1.25rem + 36.67vw, 26.25rem);
color: var(--text-light);
background: var(--background) url('../images/about-header-about.svg?ver=6.2') no-repeat;
background-size: cover;
background-position: center;
background-image: url('../images/about-header-about.svg?ver=6.4'), url('../images/about-header-background.svg?ver=6.4');
background-size: auto 70%, cover;
border-radius: 5px;
background-repeat: no-repeat;
background-position: right 7% center, top left;
background-color: var(--background);
}
.credits-php .about__header {
background-image: url('../images/about-header-credits.svg?ver=6.2');
background-image: url('../images/about-header-credits.svg?ver=6.4'), url('../images/about-header-background.svg?ver=6.4');
}
.freedoms-php .about__header {
background-image: url('../images/about-header-freedoms.svg?ver=6.2');
background-image: url('../images/about-header-freedoms.svg?ver=6.4'), url('../images/about-header-background.svg?ver=6.4');
}
.privacy-php .about__header {
background-image: url('../images/about-header-privacy.svg?ver=6.2');
background-image: url('../images/about-header-privacy.svg?ver=6.4'), url('../images/about-header-background.svg?ver=6.4');
}
.contribute-php .about__header {
background-image: url('../images/about-header-contribute.svg?ver=6.4'), url('../images/about-header-background.svg?ver=6.4');
}
.about__header-image {
......@@ -559,34 +570,32 @@
.about__header-title {
box-sizing: border-box;
margin: 0 var(--gap);
margin: 0 calc(var(--gap) + 2rem);
padding: 0;
text-align: center;
max-width: 55%;
}
.about__header-title h1 {
margin: 0 0 1rem;
padding: 0;
/* Fluid font size scales on browser size 960px - 1200px. */
font-size: clamp(3rem, 20vw - 9rem, 6rem);
font-size: clamp(2rem, 20vw - 9rem, 4rem);
line-height: 1;
font-weight: 600;
}
.about-php .about__header-title h1,
.credits-php .about__header-title h1,
.freedoms-php .about__header-title h1,
.privacy-php .about__header-title h1,
.freedoms-php .about__header-title h1 {
.contribute-php .about__header-title h1 {
/* Fluid font size scales on browser size 960px - 1200px. */
font-size: clamp(3rem, 10vw - 3rem, 4.5rem);
}
.about__header-title h1 span {
color: var(--accent-2);
font-size: clamp(2rem, 10vw - 3rem, 4rem);
}
.about__header-text {
box-sizing: border-box;
max-width: 22em;
max-width: 26em;
margin: 0 auto;
padding: 0;
font-size: 1.6rem;
......@@ -640,17 +649,19 @@
}
@media screen and (max-width: 960px) {
.about__header-title h1 {
/* Fluid font size scales on browser size 600px - 960px. */
font-size: clamp(3rem, 13.33vw - 2rem, 6rem);
}
.about-php .about__header-title h1,
.credits-php .about__header-title h1,
.freedoms-php .about__header-title h1,
.privacy-php .about__header-title h1,
.freedoms-php .about__header-title h1 {
.contribute-php .about__header-title h1 {
/* Fluid font size scales on browser size 600px - 960px. */
font-size: clamp(3rem, 6.67vw - 0.5rem, 4.5rem);
}
.about__header-navigation .nav-tab {
padding: calc(var(--gap) * 0.75) calc(var(--gap) * 0.5);
}
}
@media screen and (max-width: 782px) {
......@@ -684,13 +695,12 @@
.about__header {
min-height: auto;
}
}
@media screen and (max-width: 480px) {
.about__header,
.credits-php .about__header,
.freedoms-php .about__header,
.privacy-php .about__header,
.freedoms-php .about__header {
.contribute-php .about__header {
background-image: none;
}
......@@ -727,7 +737,7 @@
------------------------------------------------------------------------------*/
.about__section .wp-people-group-title {
margin-bottom: calc(var(--gap) * 2);
margin-bottom: calc(var(--gap) * 2 - 10px);
text-align: center;
}
......@@ -742,7 +752,7 @@
display: inline-block;
vertical-align: top;
box-sizing: border-box;
margin-bottom: var(--gap);
margin-bottom: calc(var(--gap) - 10px);
width: 25%;
text-align: center;
}
......@@ -759,14 +769,12 @@
height: 140px;
border-radius: 100%;
overflow: hidden;
background: var(--accent-1);
}
.about__section .wp-person .gravatar {
width: 140px;
height: 140px;
filter: grayscale(100%);
mix-blend-mode: screen;
}
.about__section .compact .wp-person-avatar,
......@@ -776,8 +784,10 @@
}
.about__section .wp-person .web {
display: block;
font-size: 1.4em;
font-weight: 600;
padding: 10px 10px 0;
text-decoration: none;
}
......
......@@ -786,19 +786,3 @@ div#wp-responsive-toggle a:before {
color: $link;
}
}
/* Welcome Panel */
@if ( $custom-welcome-panel == "true" ) {
.welcome-panel {
background-color: $dashboard-accent-1;
}
.welcome-panel-header-image .curve,
.welcome-panel-header-image .dot {
fill: $dashboard-accent-2;
}
[class*="welcome-panel-icon"] {
background-color: $dashboard-icon-background;
}
}
......
......@@ -708,17 +708,3 @@ div#wp-responsive-toggle a:before {
border-bottom-color: #e1a948;
color: #0073aa;
}
\ No newline at end of file
/* Welcome Panel */
.welcome-panel {
background-color: #4796b3;
}
.welcome-panel-header-image .curve,
.welcome-panel-header-image .dot {
fill: #52accc;
}
[class*=welcome-panel-icon] {
background-color: #096484;
}
\ No newline at end of file
......
......@@ -708,17 +708,3 @@ div#wp-responsive-toggle a:before {
border-bottom-color: #e1a948;
color: #0073aa;
}
\ No newline at end of file
/* Welcome Panel */
.welcome-panel {
background-color: #4796b3;
}
.welcome-panel-header-image .curve,
.welcome-panel-header-image .dot {
fill: #52accc;
}
[class*=welcome-panel-icon] {
background-color: #096484;
}
\ No newline at end of file
......
......@@ -171,7 +171,7 @@ textarea:focus {
color: #9ea476;
}
.wp-core-ui .wp-ui-text-icon {
color: hsl(27.6923076923deg, 7%, 95%);
color: hsl(27.6923076923, 7%, 95%);
}
/* List tables */
......@@ -200,7 +200,7 @@ textarea:focus {
}
#adminmenu div.wp-menu-image:before {
color: hsl(27.6923076923deg, 7%, 95%);
color: hsl(27.6923076923, 7%, 95%);
}
#adminmenu a:hover,
......@@ -313,7 +313,7 @@ ul#adminmenu > li.current > a.current:after {
/* Admin Menu: collapse button */
#collapse-button {
color: hsl(27.6923076923deg, 7%, 95%);
color: hsl(27.6923076923, 7%, 95%);
}
#collapse-button:hover,
......@@ -338,7 +338,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .ab-icon:before,
#wpadminbar .ab-item:before,
#wpadminbar .ab-item:after {
color: hsl(27.6923076923deg, 7%, 95%);
color: hsl(27.6923076923, 7%, 95%);
}
#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item,
......@@ -382,7 +382,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .quicklinks li .blavatar,
#wpadminbar .menupop .menupop > .ab-item:before {
color: hsl(27.6923076923deg, 7%, 95%);
color: hsl(27.6923076923, 7%, 95%);
}
#wpadminbar .quicklinks .menupop ul li a:hover,
......@@ -417,12 +417,12 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar.mobile .quicklinks .hover .ab-icon:before,
#wpadminbar.mobile .quicklinks .hover .ab-item:before {
color: hsl(27.6923076923deg, 7%, 95%);
color: hsl(27.6923076923, 7%, 95%);
}
/* Admin Bar: search */
#wpadminbar #adminbarsearch:before {
color: hsl(27.6923076923deg, 7%, 95%);
color: hsl(27.6923076923, 7%, 95%);
}
#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus {
......@@ -558,7 +558,7 @@ body.more-filters-opened .more-filters:focus:before {
/* Responsive Component */
div#wp-responsive-toggle a:before {
color: hsl(27.6923076923deg, 7%, 95%);
color: hsl(27.6923076923, 7%, 95%);
}
.wp-responsive-open div#wp-responsive-toggle a {
......@@ -571,7 +571,7 @@ div#wp-responsive-toggle a:before {
}
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before {
color: hsl(27.6923076923deg, 7%, 95%);
color: hsl(27.6923076923, 7%, 95%);
}
/* TinyMCE */
......@@ -675,17 +675,3 @@ div#wp-responsive-toggle a:before {
border-bottom-color: #c7a589;
color: #0073aa;
}
\ No newline at end of file
/* Welcome Panel */
.welcome-panel {
background-color: #46403c;
}
.welcome-panel-header-image .curve,
.welcome-panel-header-image .dot {
fill: #59524c;
}
[class*=welcome-panel-icon] {
background-color: #59524c;
}
\ No newline at end of file
......
......@@ -171,7 +171,7 @@ textarea:focus {
color: #9ea476;
}
.wp-core-ui .wp-ui-text-icon {
color: hsl(27.6923076923deg, 7%, 95%);
color: hsl(27.6923076923, 7%, 95%);
}
/* List tables */
......@@ -200,7 +200,7 @@ textarea:focus {
}
#adminmenu div.wp-menu-image:before {
color: hsl(27.6923076923deg, 7%, 95%);
color: hsl(27.6923076923, 7%, 95%);
}
#adminmenu a:hover,
......@@ -313,7 +313,7 @@ ul#adminmenu > li.current > a.current:after {
/* Admin Menu: collapse button */
#collapse-button {
color: hsl(27.6923076923deg, 7%, 95%);
color: hsl(27.6923076923, 7%, 95%);
}
#collapse-button:hover,
......@@ -338,7 +338,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .ab-icon:before,
#wpadminbar .ab-item:before,
#wpadminbar .ab-item:after {
color: hsl(27.6923076923deg, 7%, 95%);
color: hsl(27.6923076923, 7%, 95%);
}
#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item,
......@@ -382,7 +382,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .quicklinks li .blavatar,
#wpadminbar .menupop .menupop > .ab-item:before {
color: hsl(27.6923076923deg, 7%, 95%);
color: hsl(27.6923076923, 7%, 95%);
}
#wpadminbar .quicklinks .menupop ul li a:hover,
......@@ -417,12 +417,12 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar.mobile .quicklinks .hover .ab-icon:before,
#wpadminbar.mobile .quicklinks .hover .ab-item:before {
color: hsl(27.6923076923deg, 7%, 95%);
color: hsl(27.6923076923, 7%, 95%);
}
/* Admin Bar: search */
#wpadminbar #adminbarsearch:before {
color: hsl(27.6923076923deg, 7%, 95%);
color: hsl(27.6923076923, 7%, 95%);
}
#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus {
......@@ -558,7 +558,7 @@ body.more-filters-opened .more-filters:focus:before {
/* Responsive Component */
div#wp-responsive-toggle a:before {
color: hsl(27.6923076923deg, 7%, 95%);
color: hsl(27.6923076923, 7%, 95%);
}
.wp-responsive-open div#wp-responsive-toggle a {
......@@ -571,7 +571,7 @@ div#wp-responsive-toggle a:before {
}
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before {
color: hsl(27.6923076923deg, 7%, 95%);
color: hsl(27.6923076923, 7%, 95%);
}
/* TinyMCE */
......@@ -675,17 +675,3 @@ div#wp-responsive-toggle a:before {
border-bottom-color: #c7a589;
color: #0073aa;
}
\ No newline at end of file
/* Welcome Panel */
.welcome-panel {
background-color: #46403c;
}
.welcome-panel-header-image .curve,
.welcome-panel-header-image .dot {
fill: #59524c;
}
[class*=welcome-panel-icon] {
background-color: #59524c;
}
\ No newline at end of file
......
......@@ -708,17 +708,3 @@ div#wp-responsive-toggle a:before {
border-bottom-color: #a3b745;
color: #0073aa;
}
\ No newline at end of file
/* Welcome Panel */
.welcome-panel {
background-color: #413256;
}
.welcome-panel-header-image .curve,
.welcome-panel-header-image .dot {
fill: #523f6d;
}
[class*=welcome-panel-icon] {
background-color: #523f6d;
}
\ No newline at end of file
......
......@@ -708,17 +708,3 @@ div#wp-responsive-toggle a:before {
border-bottom-color: #a3b745;
color: #0073aa;
}
\ No newline at end of file
/* Welcome Panel */
.welcome-panel {
background-color: #413256;
}
.welcome-panel-header-image .curve,
.welcome-panel-header-image .dot {
fill: #523f6d;
}
[class*=welcome-panel-icon] {
background-color: #523f6d;
}
\ No newline at end of file
......
......@@ -709,20 +709,6 @@ div#wp-responsive-toggle a:before {
color: #0073aa;
}
/* Welcome Panel */
.welcome-panel {
background-color: #04a4cc;
}
.welcome-panel-header-image .curve,
.welcome-panel-header-image .dot {
fill: #17b5dd;
}
[class*=welcome-panel-icon] {
background-color: #333;
}
/* Override the theme filter highlight color for this scheme */
.theme-section.current,
.theme-filter.current {
......
......@@ -709,20 +709,6 @@ div#wp-responsive-toggle a:before {
color: #0073aa;
}
/* Welcome Panel */
.welcome-panel {
background-color: #04a4cc;
}
.welcome-panel-header-image .curve,
.welcome-panel-header-image .dot {
fill: #17b5dd;
}
[class*=welcome-panel-icon] {
background-color: #333;
}
/* Override the theme filter highlight color for this scheme */
.theme-section.current,
.theme-filter.current {
......
......@@ -192,7 +192,7 @@ textarea:focus {
color: #69a8bb;
}
.wp-core-ui .wp-ui-text-icon {
color: hsl(206.6666666667deg, 7%, 95%);
color: hsl(206.6666666667, 7%, 95%);
}
/* List tables */
......@@ -233,7 +233,7 @@ textarea:focus {
}
#adminmenu div.wp-menu-image:before {
color: hsl(206.6666666667deg, 7%, 95%);
color: hsl(206.6666666667, 7%, 95%);
}
#adminmenu a:hover,
......@@ -346,7 +346,7 @@ ul#adminmenu > li.current > a.current:after {
/* Admin Menu: collapse button */
#collapse-button {
color: hsl(206.6666666667deg, 7%, 95%);
color: hsl(206.6666666667, 7%, 95%);
}
#collapse-button:hover,
......@@ -371,7 +371,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .ab-icon:before,
#wpadminbar .ab-item:before,
#wpadminbar .ab-item:after {
color: hsl(206.6666666667deg, 7%, 95%);
color: hsl(206.6666666667, 7%, 95%);
}
#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item,
......@@ -415,7 +415,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .quicklinks li .blavatar,
#wpadminbar .menupop .menupop > .ab-item:before {
color: hsl(206.6666666667deg, 7%, 95%);
color: hsl(206.6666666667, 7%, 95%);
}
#wpadminbar .quicklinks .menupop ul li a:hover,
......@@ -450,12 +450,12 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar.mobile .quicklinks .hover .ab-icon:before,
#wpadminbar.mobile .quicklinks .hover .ab-item:before {
color: hsl(206.6666666667deg, 7%, 95%);
color: hsl(206.6666666667, 7%, 95%);
}
/* Admin Bar: search */
#wpadminbar #adminbarsearch:before {
color: hsl(206.6666666667deg, 7%, 95%);
color: hsl(206.6666666667, 7%, 95%);
}
#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus {
......@@ -591,7 +591,7 @@ body.more-filters-opened .more-filters:focus:before {
/* Responsive Component */
div#wp-responsive-toggle a:before {
color: hsl(206.6666666667deg, 7%, 95%);
color: hsl(206.6666666667, 7%, 95%);
}
.wp-responsive-open div#wp-responsive-toggle a {
......@@ -604,7 +604,7 @@ div#wp-responsive-toggle a:before {
}
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before {
color: hsl(206.6666666667deg, 7%, 95%);
color: hsl(206.6666666667, 7%, 95%);
}
/* TinyMCE */
......@@ -708,17 +708,3 @@ div#wp-responsive-toggle a:before {
border-bottom-color: #e14d43;
color: #0073aa;
}
\ No newline at end of file
/* Welcome Panel */
.welcome-panel {
background-color: #26292c;
}
.welcome-panel-header-image .curve,
.welcome-panel-header-image .dot {
fill: #3b464b;
}
[class*=welcome-panel-icon] {
background-color: #3b464b;
}
\ No newline at end of file
......
......@@ -192,7 +192,7 @@ textarea:focus {
color: #69a8bb;
}
.wp-core-ui .wp-ui-text-icon {
color: hsl(206.6666666667deg, 7%, 95%);
color: hsl(206.6666666667, 7%, 95%);
}
/* List tables */
......@@ -233,7 +233,7 @@ textarea:focus {
}
#adminmenu div.wp-menu-image:before {
color: hsl(206.6666666667deg, 7%, 95%);
color: hsl(206.6666666667, 7%, 95%);
}
#adminmenu a:hover,
......@@ -346,7 +346,7 @@ ul#adminmenu > li.current > a.current:after {
/* Admin Menu: collapse button */
#collapse-button {
color: hsl(206.6666666667deg, 7%, 95%);
color: hsl(206.6666666667, 7%, 95%);
}
#collapse-button:hover,
......@@ -371,7 +371,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .ab-icon:before,
#wpadminbar .ab-item:before,
#wpadminbar .ab-item:after {
color: hsl(206.6666666667deg, 7%, 95%);
color: hsl(206.6666666667, 7%, 95%);
}
#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item,
......@@ -415,7 +415,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .quicklinks li .blavatar,
#wpadminbar .menupop .menupop > .ab-item:before {
color: hsl(206.6666666667deg, 7%, 95%);
color: hsl(206.6666666667, 7%, 95%);
}
#wpadminbar .quicklinks .menupop ul li a:hover,
......@@ -450,12 +450,12 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar.mobile .quicklinks .hover .ab-icon:before,
#wpadminbar.mobile .quicklinks .hover .ab-item:before {
color: hsl(206.6666666667deg, 7%, 95%);
color: hsl(206.6666666667, 7%, 95%);
}
/* Admin Bar: search */
#wpadminbar #adminbarsearch:before {
color: hsl(206.6666666667deg, 7%, 95%);
color: hsl(206.6666666667, 7%, 95%);
}
#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus {
......@@ -591,7 +591,7 @@ body.more-filters-opened .more-filters:focus:before {
/* Responsive Component */
div#wp-responsive-toggle a:before {
color: hsl(206.6666666667deg, 7%, 95%);
color: hsl(206.6666666667, 7%, 95%);
}
.wp-responsive-open div#wp-responsive-toggle a {
......@@ -604,7 +604,7 @@ div#wp-responsive-toggle a:before {
}
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before {
color: hsl(206.6666666667deg, 7%, 95%);
color: hsl(206.6666666667, 7%, 95%);
}
/* TinyMCE */
......@@ -708,17 +708,3 @@ div#wp-responsive-toggle a:before {
border-bottom-color: #e14d43;
color: #0073aa;
}
\ No newline at end of file
/* Welcome Panel */
.welcome-panel {
background-color: #26292c;
}
.welcome-panel-header-image .curve,
.welcome-panel-header-image .dot {
fill: #3b464b;
}
[class*=welcome-panel-icon] {
background-color: #3b464b;
}
\ No newline at end of file
......
......@@ -192,7 +192,7 @@ textarea:focus {
color: #3858e9;
}
.wp-core-ui .wp-ui-text-icon {
color: hsl(0deg, 7%, 95%);
color: hsl(0, 7%, 95%);
}
/* List tables */
......@@ -233,7 +233,7 @@ textarea:focus {
}
#adminmenu div.wp-menu-image:before {
color: hsl(0deg, 7%, 95%);
color: hsl(0, 7%, 95%);
}
#adminmenu a:hover,
......@@ -346,7 +346,7 @@ ul#adminmenu > li.current > a.current:after {
/* Admin Menu: collapse button */
#collapse-button {
color: hsl(0deg, 7%, 95%);
color: hsl(0, 7%, 95%);
}
#collapse-button:hover,
......@@ -371,7 +371,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .ab-icon:before,
#wpadminbar .ab-item:before,
#wpadminbar .ab-item:after {
color: hsl(0deg, 7%, 95%);
color: hsl(0, 7%, 95%);
}
#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item,
......@@ -415,7 +415,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .quicklinks li .blavatar,
#wpadminbar .menupop .menupop > .ab-item:before {
color: hsl(0deg, 7%, 95%);
color: hsl(0, 7%, 95%);
}
#wpadminbar .quicklinks .menupop ul li a:hover,
......@@ -450,12 +450,12 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar.mobile .quicklinks .hover .ab-icon:before,
#wpadminbar.mobile .quicklinks .hover .ab-item:before {
color: hsl(0deg, 7%, 95%);
color: hsl(0, 7%, 95%);
}
/* Admin Bar: search */
#wpadminbar #adminbarsearch:before {
color: hsl(0deg, 7%, 95%);
color: hsl(0, 7%, 95%);
}
#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus {
......@@ -591,7 +591,7 @@ body.more-filters-opened .more-filters:focus:before {
/* Responsive Component */
div#wp-responsive-toggle a:before {
color: hsl(0deg, 7%, 95%);
color: hsl(0, 7%, 95%);
}
.wp-responsive-open div#wp-responsive-toggle a {
......@@ -604,7 +604,7 @@ div#wp-responsive-toggle a:before {
}
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before {
color: hsl(0deg, 7%, 95%);
color: hsl(0, 7%, 95%);
}
/* TinyMCE */
......@@ -708,5 +708,3 @@ div#wp-responsive-toggle a:before {
border-bottom-color: #3858e9;
color: #3858e9;
}
\ No newline at end of file
/* Welcome Panel */
\ No newline at end of file
......
......@@ -192,7 +192,7 @@ textarea:focus {
color: #3858e9;
}
.wp-core-ui .wp-ui-text-icon {
color: hsl(0deg, 7%, 95%);
color: hsl(0, 7%, 95%);
}
/* List tables */
......@@ -233,7 +233,7 @@ textarea:focus {
}
#adminmenu div.wp-menu-image:before {
color: hsl(0deg, 7%, 95%);
color: hsl(0, 7%, 95%);
}
#adminmenu a:hover,
......@@ -346,7 +346,7 @@ ul#adminmenu > li.current > a.current:after {
/* Admin Menu: collapse button */
#collapse-button {
color: hsl(0deg, 7%, 95%);
color: hsl(0, 7%, 95%);
}
#collapse-button:hover,
......@@ -371,7 +371,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .ab-icon:before,
#wpadminbar .ab-item:before,
#wpadminbar .ab-item:after {
color: hsl(0deg, 7%, 95%);
color: hsl(0, 7%, 95%);
}
#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item,
......@@ -415,7 +415,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .quicklinks li .blavatar,
#wpadminbar .menupop .menupop > .ab-item:before {
color: hsl(0deg, 7%, 95%);
color: hsl(0, 7%, 95%);
}
#wpadminbar .quicklinks .menupop ul li a:hover,
......@@ -450,12 +450,12 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar.mobile .quicklinks .hover .ab-icon:before,
#wpadminbar.mobile .quicklinks .hover .ab-item:before {
color: hsl(0deg, 7%, 95%);
color: hsl(0, 7%, 95%);
}
/* Admin Bar: search */
#wpadminbar #adminbarsearch:before {
color: hsl(0deg, 7%, 95%);
color: hsl(0, 7%, 95%);
}
#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus {
......@@ -591,7 +591,7 @@ body.more-filters-opened .more-filters:focus:before {
/* Responsive Component */
div#wp-responsive-toggle a:before {
color: hsl(0deg, 7%, 95%);
color: hsl(0, 7%, 95%);
}
.wp-responsive-open div#wp-responsive-toggle a {
......@@ -604,7 +604,7 @@ div#wp-responsive-toggle a:before {
}
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before {
color: hsl(0deg, 7%, 95%);
color: hsl(0, 7%, 95%);
}
/* TinyMCE */
......@@ -708,5 +708,3 @@ div#wp-responsive-toggle a:before {
border-bottom-color: #3858e9;
color: #3858e9;
}
\ No newline at end of file
/* Welcome Panel */
\ No newline at end of file
......
......@@ -675,17 +675,3 @@ div#wp-responsive-toggle a:before {
border-bottom-color: #9ebaa0;
color: #0073aa;
}
\ No newline at end of file
/* Welcome Panel */
.welcome-panel {
background-color: #627c83;
}
.welcome-panel-header-image .curve,
.welcome-panel-header-image .dot {
fill: #738e96;
}
[class*=welcome-panel-icon] {
background-color: #738e96;
}
\ No newline at end of file
......
......@@ -675,17 +675,3 @@ div#wp-responsive-toggle a:before {
border-bottom-color: #9ebaa0;
color: #0073aa;
}
\ No newline at end of file
/* Welcome Panel */
.welcome-panel {
background-color: #627c83;
}
.welcome-panel-header-image .curve,
.welcome-panel-header-image .dot {
fill: #738e96;
}
[class*=welcome-panel-icon] {
background-color: #738e96;
}
\ No newline at end of file
......
......@@ -192,7 +192,7 @@ textarea:focus {
color: #ccaf0b;
}
.wp-core-ui .wp-ui-text-icon {
color: hsl(2.1582733813deg, 7%, 95%);
color: hsl(2.1582733813, 7%, 95%);
}
/* List tables */
......@@ -233,7 +233,7 @@ textarea:focus {
}
#adminmenu div.wp-menu-image:before {
color: hsl(2.1582733813deg, 7%, 95%);
color: hsl(2.1582733813, 7%, 95%);
}
#adminmenu a:hover,
......@@ -346,7 +346,7 @@ ul#adminmenu > li.current > a.current:after {
/* Admin Menu: collapse button */
#collapse-button {
color: hsl(2.1582733813deg, 7%, 95%);
color: hsl(2.1582733813, 7%, 95%);
}
#collapse-button:hover,
......@@ -371,7 +371,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .ab-icon:before,
#wpadminbar .ab-item:before,
#wpadminbar .ab-item:after {
color: hsl(2.1582733813deg, 7%, 95%);
color: hsl(2.1582733813, 7%, 95%);
}
#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item,
......@@ -415,7 +415,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .quicklinks li .blavatar,
#wpadminbar .menupop .menupop > .ab-item:before {
color: hsl(2.1582733813deg, 7%, 95%);
color: hsl(2.1582733813, 7%, 95%);
}
#wpadminbar .quicklinks .menupop ul li a:hover,
......@@ -450,12 +450,12 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar.mobile .quicklinks .hover .ab-icon:before,
#wpadminbar.mobile .quicklinks .hover .ab-item:before {
color: hsl(2.1582733813deg, 7%, 95%);
color: hsl(2.1582733813, 7%, 95%);
}
/* Admin Bar: search */
#wpadminbar #adminbarsearch:before {
color: hsl(2.1582733813deg, 7%, 95%);
color: hsl(2.1582733813, 7%, 95%);
}
#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus {
......@@ -591,7 +591,7 @@ body.more-filters-opened .more-filters:focus:before {
/* Responsive Component */
div#wp-responsive-toggle a:before {
color: hsl(2.1582733813deg, 7%, 95%);
color: hsl(2.1582733813, 7%, 95%);
}
.wp-responsive-open div#wp-responsive-toggle a {
......@@ -604,7 +604,7 @@ div#wp-responsive-toggle a:before {
}
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before {
color: hsl(2.1582733813deg, 7%, 95%);
color: hsl(2.1582733813, 7%, 95%);
}
/* TinyMCE */
......@@ -708,17 +708,3 @@ div#wp-responsive-toggle a:before {
border-bottom-color: #dd823b;
color: #0073aa;
}
\ No newline at end of file
/* Welcome Panel */
.welcome-panel {
background-color: #be3631;
}
.welcome-panel-header-image .curve,
.welcome-panel-header-image .dot {
fill: #cf4944;
}
[class*=welcome-panel-icon] {
background-color: #cf4944;
}
\ No newline at end of file
......
......@@ -192,7 +192,7 @@ textarea:focus {
color: #ccaf0b;
}
.wp-core-ui .wp-ui-text-icon {
color: hsl(2.1582733813deg, 7%, 95%);
color: hsl(2.1582733813, 7%, 95%);
}
/* List tables */
......@@ -233,7 +233,7 @@ textarea:focus {
}
#adminmenu div.wp-menu-image:before {
color: hsl(2.1582733813deg, 7%, 95%);
color: hsl(2.1582733813, 7%, 95%);
}
#adminmenu a:hover,
......@@ -346,7 +346,7 @@ ul#adminmenu > li.current > a.current:after {
/* Admin Menu: collapse button */
#collapse-button {
color: hsl(2.1582733813deg, 7%, 95%);
color: hsl(2.1582733813, 7%, 95%);
}
#collapse-button:hover,
......@@ -371,7 +371,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .ab-icon:before,
#wpadminbar .ab-item:before,
#wpadminbar .ab-item:after {
color: hsl(2.1582733813deg, 7%, 95%);
color: hsl(2.1582733813, 7%, 95%);
}
#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item,
......@@ -415,7 +415,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .quicklinks li .blavatar,
#wpadminbar .menupop .menupop > .ab-item:before {
color: hsl(2.1582733813deg, 7%, 95%);
color: hsl(2.1582733813, 7%, 95%);
}
#wpadminbar .quicklinks .menupop ul li a:hover,
......@@ -450,12 +450,12 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar.mobile .quicklinks .hover .ab-icon:before,
#wpadminbar.mobile .quicklinks .hover .ab-item:before {
color: hsl(2.1582733813deg, 7%, 95%);
color: hsl(2.1582733813, 7%, 95%);
}
/* Admin Bar: search */
#wpadminbar #adminbarsearch:before {
color: hsl(2.1582733813deg, 7%, 95%);
color: hsl(2.1582733813, 7%, 95%);
}
#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input:focus {
......@@ -591,7 +591,7 @@ body.more-filters-opened .more-filters:focus:before {
/* Responsive Component */
div#wp-responsive-toggle a:before {
color: hsl(2.1582733813deg, 7%, 95%);
color: hsl(2.1582733813, 7%, 95%);
}
.wp-responsive-open div#wp-responsive-toggle a {
......@@ -604,7 +604,7 @@ div#wp-responsive-toggle a:before {
}
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before {
color: hsl(2.1582733813deg, 7%, 95%);
color: hsl(2.1582733813, 7%, 95%);
}
/* TinyMCE */
......@@ -708,17 +708,3 @@ div#wp-responsive-toggle a:before {
border-bottom-color: #dd823b;
color: #0073aa;
}
\ No newline at end of file
/* Welcome Panel */
.welcome-panel {
background-color: #be3631;
}
.welcome-panel-header-image .curve,
.welcome-panel-header-image .dot {
fill: #cf4944;
}
[class*=welcome-panel-icon] {
background-color: #cf4944;
}
\ No newline at end of file
......
......@@ -139,6 +139,11 @@
height: auto; /* Fixes a Safari+VoiceOver bug, see ticket #42006 */
}
.screen-reader-text + .dashicons-external {
margin-top: -1px;
margin-right: 2px;
}
.screen-reader-shortcut {
position: absolute;
top: -1000em;
......@@ -192,7 +197,6 @@ p.popular-tags,
.wp-editor-container,
.popular-tags,
.feature-filter,
.imgedit-group,
.comment-ays {
border: 1px solid #c3c4c7;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
......@@ -205,7 +209,6 @@ p.popular-tags,
.widgets-holder-wrap,
.popular-tags,
.feature-filter,
.imgedit-group,
.comment-ays {
background: #fff;
}
......@@ -556,6 +559,14 @@ code {
margin-right: 0;
}
.js-update-details-toggle .dashicons {
text-decoration: none;
}
.js-update-details-toggle[aria-expanded="true"] .dashicons::before {
content: "\f142";
}
.no-js .widefat thead .check-column input,
.no-js .widefat tfoot .check-column input {
display: none;
......@@ -576,10 +587,6 @@ code {
margin: 10px 2px 0 20px;
}
.wrap.block-editor-no-js {
padding-right: 20px;
}
.wrap > h2:first-child, /* Back-compat for pre-4.4 */
.wrap [class$="icon32"] + h2, /* Back-compat for pre-4.4 */
.postbox .inside h2, /* Back-compat for pre-4.4 */
......@@ -618,20 +625,26 @@ code {
.wrap .add-new-h2:active, /* deprecated */
.wrap .page-title-action,
.wrap .page-title-action:active {
margin-right: 4px;
padding: 4px 8px;
display: inline-block;
position: relative;
top: -3px;
box-sizing: border-box;
cursor: pointer;
white-space: nowrap;
text-decoration: none;
border: 1px solid #2271b1;
border-radius: 2px;
text-shadow: none;
font-weight: 600;
top: -3px;
margin-right: 4px;
border: 1px solid #2271b1;
border-radius: 3px;
background: #f6f7f7;
font-size: 13px;
line-height: normal; /* IE8-IE11 need this for buttons */
font-weight: 400;
line-height: 2.15384615;
color: #2271b1; /* use the standard color used for buttons */
background: #f6f7f7;
cursor: pointer;
padding: 0 10px;
min-height: 30px;
-webkit-appearance: none;
}
.wrap .wp-heading-inline + .page-title-action {
......@@ -1084,7 +1097,6 @@ th.action-links {
}
.wp-filter .search-form input[type="search"] {
margin: 1px 0;
width: 280px;
max-width: 100%;
}
......@@ -3164,6 +3176,7 @@ img {
font-family: Consolas, Monaco, monospace;
font-size: 13px;
background: #f6f7f7;
-o-tab-size: 4;
tab-size: 4;
}
......@@ -4066,6 +4079,7 @@ img {
}
.wp-filter .search-form input[type="search"] {
width: 100%;
font-size: 1rem;
}
......@@ -4119,9 +4133,16 @@ img {
.nav-tab-active:focus:active {
border-bottom: 1px solid #c3c4c7;
}
}
.wp-filter .search-form input[type="search"] {
width: 100%;
@media screen and (max-width: 480px) {
.metabox-prefs-container {
display: grid;
}
.metabox-prefs-container > * {
display: inline-block;
padding: 2px;
}
}
......
This diff could not be displayed because it is too large.
......@@ -138,6 +138,11 @@
height: auto; /* Fixes a Safari+VoiceOver bug, see ticket #42006 */
}
.screen-reader-text + .dashicons-external {
margin-top: -1px;
margin-left: 2px;
}
.screen-reader-shortcut {
position: absolute;
top: -1000em;
......@@ -191,7 +196,6 @@ p.popular-tags,
.wp-editor-container,
.popular-tags,
.feature-filter,
.imgedit-group,
.comment-ays {
border: 1px solid #c3c4c7;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
......@@ -204,7 +208,6 @@ p.popular-tags,
.widgets-holder-wrap,
.popular-tags,
.feature-filter,
.imgedit-group,
.comment-ays {
background: #fff;
}
......@@ -555,6 +558,14 @@ code {
margin-left: 0;
}
.js-update-details-toggle .dashicons {
text-decoration: none;
}
.js-update-details-toggle[aria-expanded="true"] .dashicons::before {
content: "\f142";
}
.no-js .widefat thead .check-column input,
.no-js .widefat tfoot .check-column input {
display: none;
......@@ -575,10 +586,6 @@ code {
margin: 10px 20px 0 2px;
}
.wrap.block-editor-no-js {
padding-left: 20px;
}
.wrap > h2:first-child, /* Back-compat for pre-4.4 */
.wrap [class$="icon32"] + h2, /* Back-compat for pre-4.4 */
.postbox .inside h2, /* Back-compat for pre-4.4 */
......@@ -617,20 +624,26 @@ code {
.wrap .add-new-h2:active, /* deprecated */
.wrap .page-title-action,
.wrap .page-title-action:active {
margin-left: 4px;
padding: 4px 8px;
display: inline-block;
position: relative;
top: -3px;
box-sizing: border-box;
cursor: pointer;
white-space: nowrap;
text-decoration: none;
border: 1px solid #2271b1;
border-radius: 2px;
text-shadow: none;
font-weight: 600;
top: -3px;
margin-left: 4px;
border: 1px solid #2271b1;
border-radius: 3px;
background: #f6f7f7;
font-size: 13px;
line-height: normal; /* IE8-IE11 need this for buttons */
font-weight: 400;
line-height: 2.15384615;
color: #2271b1; /* use the standard color used for buttons */
background: #f6f7f7;
cursor: pointer;
padding: 0 10px;
min-height: 30px;
-webkit-appearance: none;
}
.wrap .wp-heading-inline + .page-title-action {
......@@ -1083,7 +1096,6 @@ th.action-links {
}
.wp-filter .search-form input[type="search"] {
margin: 1px 0;
width: 280px;
max-width: 100%;
}
......@@ -3163,6 +3175,7 @@ img {
font-family: Consolas, Monaco, monospace;
font-size: 13px;
background: #f6f7f7;
-o-tab-size: 4;
tab-size: 4;
}
......@@ -4065,6 +4078,7 @@ img {
}
.wp-filter .search-form input[type="search"] {
width: 100%;
font-size: 1rem;
}
......@@ -4118,9 +4132,16 @@ img {
.nav-tab-active:focus:active {
border-bottom: 1px solid #c3c4c7;
}
}
.wp-filter .search-form input[type="search"] {
width: 100%;
@media screen and (max-width: 480px) {
.metabox-prefs-container {
display: grid;
}
.metabox-prefs-container > * {
display: inline-block;
padding: 2px;
}
}
......
This diff could not be displayed because it is too large.
......@@ -1605,6 +1605,7 @@ p.customize-section-description {
font-family: Consolas, Monaco, monospace;
font-size: 12px;
padding: 6px 8px;
-o-tab-size: 2;
tab-size: 2;
}
.customize-control-code_editor textarea,
......@@ -2318,7 +2319,7 @@ p.customize-section-description {
.wp-customizer .theme-overlay .theme-actions {
text-align: left; /* Because there're only one or two actions, match the UI pattern of media modals and right-align the action. */
padding: 10px 25px;
padding: 10px 25px 5px;
background: #f0f0f1;
border-top: 1px solid #dcdcde;
}
......@@ -2327,13 +2328,6 @@ p.customize-section-description {
margin-right: 8px;
}
.control-panel-themes .theme-actions .delete-theme {
right: 15px; /* these override themes.css on mobile */
left: auto;
bottom: auto;
position: absolute;
}
.modal-open .in-themes-panel #customize-controls .wp-full-overlay-sidebar-content {
overflow: visible; /* Prevent the top-level Customizer controls from becoming visible when elements on the right of the details modal are focused. */
}
......
This diff could not be displayed because it is too large.
......@@ -1604,6 +1604,7 @@ p.customize-section-description {
font-family: Consolas, Monaco, monospace;
font-size: 12px;
padding: 6px 8px;
-o-tab-size: 2;
tab-size: 2;
}
.customize-control-code_editor textarea,
......@@ -2317,7 +2318,7 @@ p.customize-section-description {
.wp-customizer .theme-overlay .theme-actions {
text-align: right; /* Because there're only one or two actions, match the UI pattern of media modals and right-align the action. */
padding: 10px 25px;
padding: 10px 25px 5px;
background: #f0f0f1;
border-top: 1px solid #dcdcde;
}
......@@ -2326,13 +2327,6 @@ p.customize-section-description {
margin-left: 8px;
}
.control-panel-themes .theme-actions .delete-theme {
left: 15px; /* these override themes.css on mobile */
right: auto;
bottom: auto;
position: absolute;
}
.modal-open .in-themes-panel #customize-controls .wp-full-overlay-sidebar-content {
overflow: visible; /* Prevent the top-level Customizer controls from becoming visible when elements on the right of the details modal are focused. */
}
......
This diff could not be displayed because it is too large.
......@@ -121,7 +121,7 @@
position: relative;
overflow: auto;
margin: 16px 0;
background-color: #1d35b4;
background-color: #151515;
font-size: 14px;
line-height: 1.3;
clear: both;
......@@ -559,6 +559,10 @@
display: block;
}
.community-events .ce-separator::before {
content: "\2022";
}
.event-icon {
height: 18px;
padding-left: 10px;
......@@ -890,31 +894,32 @@ body #dashboard-widgets .postbox form .submit {
#future-posts ul,
#published-posts ul {
clear: both;
margin-bottom: 0;
margin: 8px -12px 0 -12px;
}
#future-posts li,
#published-posts li {
margin-bottom: 8px;
display: grid;
grid-template-columns: clamp(160px, calc(2vw + 140px), 200px) auto;
column-gap: 10px;
color: #646970;
padding: 4px 12px;
}
#future-posts ul span,
#published-posts ul span {
display: inline-block;
margin-left: 5px;
min-width: 150px;
color: #646970;
#future-posts li:nth-child(odd),
#published-posts li:nth-child(odd) {
background-color: #f6f7f7;
}
.activity-block {
border-bottom: 1px solid #f0f0f1;
margin: 0 -12px;
margin: 0 -12px 6px -12px;
padding: 8px 12px 4px;
}
.activity-block:last-child {
border-bottom: none;
margin-bottom: 0;
}
.activity-block .subsubsub li {
......
......@@ -120,7 +120,7 @@
position: relative;
overflow: auto;
margin: 16px 0;
background-color: #1d35b4;
background-color: #151515;
font-size: 14px;
line-height: 1.3;
clear: both;
......@@ -558,6 +558,10 @@
display: block;
}
.community-events .ce-separator::before {
content: "\2022";
}
.event-icon {
height: 18px;
padding-right: 10px;
......@@ -889,31 +893,32 @@ body #dashboard-widgets .postbox form .submit {
#future-posts ul,
#published-posts ul {
clear: both;
margin-bottom: 0;
margin: 8px -12px 0 -12px;
}
#future-posts li,
#published-posts li {
margin-bottom: 8px;
display: grid;
grid-template-columns: clamp(160px, calc(2vw + 140px), 200px) auto;
column-gap: 10px;
color: #646970;
padding: 4px 12px;
}
#future-posts ul span,
#published-posts ul span {
display: inline-block;
margin-right: 5px;
min-width: 150px;
color: #646970;
#future-posts li:nth-child(odd),
#published-posts li:nth-child(odd) {
background-color: #f6f7f7;
}
.activity-block {
border-bottom: 1px solid #f0f0f1;
margin: 0 -12px;
margin: 0 -12px 6px -12px;
padding: 8px 12px 4px;
}
.activity-block:last-child {
border-bottom: none;
margin-bottom: 0;
}
.activity-block .subsubsub li {
......
......@@ -1069,6 +1069,10 @@ form#tags-filter {
padding: 0 8px 8px;
}
#postcustom #postcustomstuff .add-custom-field {
padding: 12px 8px 8px;
}
#side-sortables #postcustom #postcustomstuff .submit {
margin: 0;
padding: 0;
......@@ -1119,7 +1123,8 @@ form#tags-filter {
width: auto;
}
#postcustomstuff #newmetaleft a {
#postcustomstuff #newmetaleft a,
#postcustomstuff #newmeta-button {
display: inline-block;
margin: 0 8px 8px;
text-decoration: none;
......
......@@ -1068,6 +1068,10 @@ form#tags-filter {
padding: 0 8px 8px;
}
#postcustom #postcustomstuff .add-custom-field {
padding: 12px 8px 8px;
}
#side-sortables #postcustom #postcustomstuff .submit {
margin: 0;
padding: 0;
......@@ -1118,7 +1122,8 @@ form#tags-filter {
width: auto;
}
#postcustomstuff #newmetaleft a {
#postcustomstuff #newmetaleft a,
#postcustomstuff #newmeta-button {
display: inline-block;
margin: 0 8px 8px;
text-decoration: none;
......
......@@ -548,10 +548,67 @@ fieldset label,
.wp-generate-pw {
margin-top: 1em;
position: relative;
}
.wp-pwd button {
height: min-content;
}
.wp-pwd button.pwd-toggle .dashicons {
position: relative;
top: 0.25rem;
}
.wp-pwd {
margin-top: 1em;
position: relative;
}
.mailserver-pass-wrap .wp-pwd {
display: inline-block;
margin-top: 0;
}
/* rtl:ignore */
#mailserver_pass {
padding-right: 2.5rem;
}
/* rtl:ignore */
.mailserver-pass-wrap .button.wp-hide-pw {
background: transparent;
border: 1px solid transparent;
box-shadow: none;
font-size: 14px;
line-height: 2;
width: 2.5rem;
min-width: 40px;
margin: 0;
padding: 0 9px;
position: absolute;
right: 0;
top: 0;
}
.mailserver-pass-wrap .button.wp-hide-pw:hover {
background: transparent;
border-color: transparent;
}
.mailserver-pass-wrap .button.wp-hide-pw:focus {
background: transparent;
border-color: #3582c4;
border-radius: 4px;
box-shadow: 0 0 0 1px #3582c4;
/* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
}
.mailserver-pass-wrap .button.wp-hide-pw:active {
background: transparent;
box-shadow: none;
transform: none;
}
#misc-publishing-actions label {
......@@ -594,6 +651,10 @@ fieldset label,
opacity: 1;
}
.password-input-wrapper {
display: inline-block;
}
.password-input-wrapper input {
font-family: Consolas, Monaco, monospace;
}
......@@ -672,7 +733,7 @@ input[type="text"].ui-autocomplete-loading,
input[type="email"].ui-autocomplete-loading {
background-image: url(../images/loading.gif);
background-repeat: no-repeat;
background-position: left center;
background-position: left 5px center;
visibility: visible;
}
......@@ -1584,13 +1645,15 @@ table.form-table td .updated p {
padding: 8px;
}
.password-input-wrapper {
display: block;
}
p.search-box {
float: none;
position: absolute;
bottom: 0;
width: 98%;
height: 90px;
width: 100%;
margin-bottom: 20px;
display: flex;
}
p.search-box input[name="s"] {
......@@ -1646,6 +1709,11 @@ table.form-table td .updated p {
font-size: 14px;
}
.form-table td > label:first-child {
display: inline-block;
margin-top: 0.35em;
}
.background-position-control .button-group > label {
font-size: 0;
}
......@@ -1722,6 +1790,15 @@ table.form-table td .updated p {
display: inline-block;
}
.mailserver-pass-wrap .wp-pwd {
display: block;
}
/* rtl:ignore */
#mailserver_pass {
padding-left: 10px;
}
.options-general-php input[type="text"].small-text {
max-width: 6.25em;
margin: 0;
......
......@@ -547,10 +547,67 @@ fieldset label,
.wp-generate-pw {
margin-top: 1em;
position: relative;
}
.wp-pwd button {
height: min-content;
}
.wp-pwd button.pwd-toggle .dashicons {
position: relative;
top: 0.25rem;
}
.wp-pwd {
margin-top: 1em;
position: relative;
}
.mailserver-pass-wrap .wp-pwd {
display: inline-block;
margin-top: 0;
}
/* rtl:ignore */
#mailserver_pass {
padding-right: 2.5rem;
}
/* rtl:ignore */
.mailserver-pass-wrap .button.wp-hide-pw {
background: transparent;
border: 1px solid transparent;
box-shadow: none;
font-size: 14px;
line-height: 2;
width: 2.5rem;
min-width: 40px;
margin: 0;
padding: 0 9px;
position: absolute;
right: 0;
top: 0;
}
.mailserver-pass-wrap .button.wp-hide-pw:hover {
background: transparent;
border-color: transparent;
}
.mailserver-pass-wrap .button.wp-hide-pw:focus {
background: transparent;
border-color: #3582c4;
border-radius: 4px;
box-shadow: 0 0 0 1px #3582c4;
/* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
}
.mailserver-pass-wrap .button.wp-hide-pw:active {
background: transparent;
box-shadow: none;
transform: none;
}
#misc-publishing-actions label {
......@@ -593,6 +650,10 @@ fieldset label,
opacity: 1;
}
.password-input-wrapper {
display: inline-block;
}
.password-input-wrapper input {
font-family: Consolas, Monaco, monospace;
}
......@@ -671,7 +732,7 @@ input[type="text"].ui-autocomplete-loading,
input[type="email"].ui-autocomplete-loading {
background-image: url(../images/loading.gif);
background-repeat: no-repeat;
background-position: right center;
background-position: right 5px center;
visibility: visible;
}
......@@ -1583,13 +1644,15 @@ table.form-table td .updated p {
padding: 8px;
}
.password-input-wrapper {
display: block;
}
p.search-box {
float: none;
position: absolute;
bottom: 0;
width: 98%;
height: 90px;
width: 100%;
margin-bottom: 20px;
display: flex;
}
p.search-box input[name="s"] {
......@@ -1645,6 +1708,11 @@ table.form-table td .updated p {
font-size: 14px;
}
.form-table td > label:first-child {
display: inline-block;
margin-top: 0.35em;
}
.background-position-control .button-group > label {
font-size: 0;
}
......@@ -1721,6 +1789,15 @@ table.form-table td .updated p {
display: inline-block;
}
.mailserver-pass-wrap .wp-pwd {
display: block;
}
/* rtl:ignore */
#mailserver_pass {
padding-left: 10px;
}
.options-general-php input[type="text"].small-text {
max-width: 6.25em;
margin: 0;
......
......@@ -132,7 +132,7 @@ textarea {
font-size: 14px;
text-align: right;
padding: 10px 0 10px 20px;
width: 140px;
width: 115px;
vertical-align: top;
}
......@@ -146,12 +146,30 @@ textarea {
font-size: 11px;
}
.form-table .setup-description {
margin: 4px 0 0;
line-height: 1.6;
}
.form-table input {
line-height: 1.33333333;
font-size: 15px;
padding: 3px 5px;
}
.wp-pwd {
margin-top: 0;
}
.form-table .wp-pwd {
display: flex;
column-gap: 4px;
}
.form-table .password-input-wrapper {
width: 100%;
}
input,
submit {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
......@@ -162,7 +180,7 @@ submit {
.form-table input[type=url],
.form-table input[type=password],
#pass-strength-result {
width: 218px;
width: 100%;
}
.form-table th p {
......@@ -287,6 +305,10 @@ body.rtl,
box-sizing: border-box;
}
#pwd {
padding-left: 2.5rem;
}
.wp-pwd #pass1 {
padding-left: 50px;
}
......
/*! This file is auto-generated */
html{background:#f0f0f1;margin:0 20px}body{background:#fff;border:1px solid #c3c4c7;color:#3c434a;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;margin:140px auto 25px;padding:20px 20px 10px;max-width:700px;-webkit-font-smoothing:subpixel-antialiased;box-shadow:0 1px 1px rgba(0,0,0,.04)}a{color:#2271b1}a:active,a:hover{color:#135e96}a:focus{color:#043959;box-shadow:0 0 0 1px #4f94d4,0 0 2px 1px rgba(79,148,212,.8)}h1,h2{border-bottom:1px solid #dcdcde;clear:both;color:#646970;font-size:24px;padding:0 0 7px;font-weight:400}h3{font-size:16px}dd,dt,li,p{padding-bottom:2px;font-size:14px;line-height:1.5}.code,code{font-family:Consolas,Monaco,monospace}dl,ol,ul{padding:5px 22px 5px 5px}a img{border:0}abbr{border:0;font-variant:normal}fieldset{border:0;padding:0;margin:0}label{cursor:pointer}#logo{margin:-130px auto 25px;padding:0 0 25px;width:84px;height:84px;overflow:hidden;background-image:url(../images/w-logo-blue.png?ver=20131202);background-image:none,url(../images/wordpress-logo.svg?ver=20131107);background-size:84px;background-position:center top;background-repeat:no-repeat;color:#3c434a;font-size:20px;font-weight:400;line-height:1.3em;text-decoration:none;text-align:center;text-indent:-9999px;outline:0}.step{margin:20px 0 15px}.step,th{text-align:right;padding:0}.language-chooser.wp-core-ui .step .button.button-large{font-size:14px}textarea{border:1px solid #dcdcde;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;width:100%;box-sizing:border-box}.form-table{border-collapse:collapse;margin-top:1em;width:100%}.form-table td{margin-bottom:9px;padding:10px 0 10px 20px;font-size:14px;vertical-align:top}.form-table th{font-size:14px;text-align:right;padding:10px 0 10px 20px;width:140px;vertical-align:top}.form-table code{line-height:1.28571428;font-size:14px}.form-table p{margin:4px 0 0;font-size:11px}.form-table input{line-height:1.33333333;font-size:15px;padding:3px 5px}input,submit{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif}#pass-strength-result,.form-table input[type=email],.form-table input[type=password],.form-table input[type=text],.form-table input[type=url]{width:218px}.form-table th p{font-weight:400}.form-table.install-success td,.form-table.install-success th{vertical-align:middle;padding:16px 0 16px 20px}.form-table.install-success td p{margin:0;font-size:14px}.form-table.install-success td code{margin:0;font-size:18px}#error-page{margin-top:50px}#error-page p{font-size:14px;line-height:1.28571428;margin:25px 0 20px}#error-page code,.code{font-family:Consolas,Monaco,monospace}.message{border-right:4px solid #d63638;padding:.7em .6em;background-color:#fcf0f1}#admin_email,#dbhost,#dbname,#pass1,#pass2,#prefix,#pwd,#uname,#user_login{direction:ltr}.rtl input,.rtl submit,.rtl textarea,body.rtl{font-family:Tahoma,sans-serif}:lang(he-il) .rtl input,:lang(he-il) .rtl submit,:lang(he-il) .rtl textarea,:lang(he-il) body.rtl{font-family:Arial,sans-serif}@media only screen and (max-width:799px){body{margin-top:115px}#logo a{margin:-125px auto 30px}}@media screen and (max-width:782px){.form-table{margin-top:0}.form-table td,.form-table th{display:block;width:auto;vertical-align:middle}.form-table th{padding:20px 0 0}.form-table td{padding:5px 0;border:0;margin:0}input,textarea{font-size:16px}.form-table span.description,.form-table td input[type=email],.form-table td input[type=password],.form-table td input[type=text],.form-table td input[type=url],.form-table td select,.form-table td textarea{width:100%;font-size:16px;line-height:1.5;padding:7px 10px;display:block;max-width:none;box-sizing:border-box}.wp-pwd #pass1{padding-left:50px}.wp-pwd .button.wp-hide-pw{left:0}#pass-strength-result{width:100%}}body.language-chooser{max-width:300px}.language-chooser select{padding:8px;width:100%;display:block;border:1px solid #dcdcde;background:#fff;color:#2c3338;font-size:16px;font-family:Arial,sans-serif;font-weight:400}.language-chooser select:focus{color:#2c3338}.language-chooser select option:focus,.language-chooser select option:hover{color:#0a4b78}.language-chooser .step{text-align:left}.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;width:1px;word-wrap:normal!important}.spinner{background:url(../images/spinner.gif) no-repeat;background-size:20px 20px;visibility:hidden;opacity:.7;width:20px;height:20px;margin:2px 5px 0}.step .spinner{display:inline-block;vertical-align:middle;margin-left:15px}.button.hide-if-no-js,.hide-if-no-js{display:none}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){.spinner{background-image:url(../images/spinner-2x.gif)}}
\ No newline at end of file
html{background:#f0f0f1;margin:0 20px}body{background:#fff;border:1px solid #c3c4c7;color:#3c434a;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;margin:140px auto 25px;padding:20px 20px 10px;max-width:700px;-webkit-font-smoothing:subpixel-antialiased;box-shadow:0 1px 1px rgba(0,0,0,.04)}a{color:#2271b1}a:active,a:hover{color:#135e96}a:focus{color:#043959;box-shadow:0 0 0 1px #4f94d4,0 0 2px 1px rgba(79,148,212,.8)}h1,h2{border-bottom:1px solid #dcdcde;clear:both;color:#646970;font-size:24px;padding:0 0 7px;font-weight:400}h3{font-size:16px}dd,dt,li,p{padding-bottom:2px;font-size:14px;line-height:1.5}.code,code{font-family:Consolas,Monaco,monospace}dl,ol,ul{padding:5px 22px 5px 5px}a img{border:0}abbr{border:0;font-variant:normal}fieldset{border:0;padding:0;margin:0}label{cursor:pointer}#logo{margin:-130px auto 25px;padding:0 0 25px;width:84px;height:84px;overflow:hidden;background-image:url(../images/w-logo-blue.png?ver=20131202);background-image:none,url(../images/wordpress-logo.svg?ver=20131107);background-size:84px;background-position:center top;background-repeat:no-repeat;color:#3c434a;font-size:20px;font-weight:400;line-height:1.3em;text-decoration:none;text-align:center;text-indent:-9999px;outline:0}.step{margin:20px 0 15px}.step,th{text-align:right;padding:0}.language-chooser.wp-core-ui .step .button.button-large{font-size:14px}textarea{border:1px solid #dcdcde;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;width:100%;box-sizing:border-box}.form-table{border-collapse:collapse;margin-top:1em;width:100%}.form-table td{margin-bottom:9px;padding:10px 0 10px 20px;font-size:14px;vertical-align:top}.form-table th{font-size:14px;text-align:right;padding:10px 0 10px 20px;width:115px;vertical-align:top}.form-table code{line-height:1.28571428;font-size:14px}.form-table p{margin:4px 0 0;font-size:11px}.form-table .setup-description{margin:4px 0 0;line-height:1.6}.form-table input{line-height:1.33333333;font-size:15px;padding:3px 5px}.wp-pwd{margin-top:0}.form-table .wp-pwd{display:flex;column-gap:4px}.form-table .password-input-wrapper{width:100%}input,submit{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif}#pass-strength-result,.form-table input[type=email],.form-table input[type=password],.form-table input[type=text],.form-table input[type=url]{width:100%}.form-table th p{font-weight:400}.form-table.install-success td,.form-table.install-success th{vertical-align:middle;padding:16px 0 16px 20px}.form-table.install-success td p{margin:0;font-size:14px}.form-table.install-success td code{margin:0;font-size:18px}#error-page{margin-top:50px}#error-page p{font-size:14px;line-height:1.28571428;margin:25px 0 20px}#error-page code,.code{font-family:Consolas,Monaco,monospace}.message{border-right:4px solid #d63638;padding:.7em .6em;background-color:#fcf0f1}#admin_email,#dbhost,#dbname,#pass1,#pass2,#prefix,#pwd,#uname,#user_login{direction:ltr}.rtl input,.rtl submit,.rtl textarea,body.rtl{font-family:Tahoma,sans-serif}:lang(he-il) .rtl input,:lang(he-il) .rtl submit,:lang(he-il) .rtl textarea,:lang(he-il) body.rtl{font-family:Arial,sans-serif}@media only screen and (max-width:799px){body{margin-top:115px}#logo a{margin:-125px auto 30px}}@media screen and (max-width:782px){.form-table{margin-top:0}.form-table td,.form-table th{display:block;width:auto;vertical-align:middle}.form-table th{padding:20px 0 0}.form-table td{padding:5px 0;border:0;margin:0}input,textarea{font-size:16px}.form-table span.description,.form-table td input[type=email],.form-table td input[type=password],.form-table td input[type=text],.form-table td input[type=url],.form-table td select,.form-table td textarea{width:100%;font-size:16px;line-height:1.5;padding:7px 10px;display:block;max-width:none;box-sizing:border-box}#pwd{padding-left:2.5rem}.wp-pwd #pass1{padding-left:50px}.wp-pwd .button.wp-hide-pw{left:0}#pass-strength-result{width:100%}}body.language-chooser{max-width:300px}.language-chooser select{padding:8px;width:100%;display:block;border:1px solid #dcdcde;background:#fff;color:#2c3338;font-size:16px;font-family:Arial,sans-serif;font-weight:400}.language-chooser select:focus{color:#2c3338}.language-chooser select option:focus,.language-chooser select option:hover{color:#0a4b78}.language-chooser .step{text-align:left}.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;width:1px;word-wrap:normal!important}.spinner{background:url(../images/spinner.gif) no-repeat;background-size:20px 20px;visibility:hidden;opacity:.7;width:20px;height:20px;margin:2px 5px 0}.step .spinner{display:inline-block;vertical-align:middle;margin-left:15px}.button.hide-if-no-js,.hide-if-no-js{display:none}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){.spinner{background-image:url(../images/spinner-2x.gif)}}
\ No newline at end of file
......
......@@ -131,7 +131,7 @@ textarea {
font-size: 14px;
text-align: left;
padding: 10px 20px 10px 0;
width: 140px;
width: 115px;
vertical-align: top;
}
......@@ -145,12 +145,30 @@ textarea {
font-size: 11px;
}
.form-table .setup-description {
margin: 4px 0 0;
line-height: 1.6;
}
.form-table input {
line-height: 1.33333333;
font-size: 15px;
padding: 3px 5px;
}
.wp-pwd {
margin-top: 0;
}
.form-table .wp-pwd {
display: flex;
column-gap: 4px;
}
.form-table .password-input-wrapper {
width: 100%;
}
input,
submit {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
......@@ -161,7 +179,7 @@ submit {
.form-table input[type=url],
.form-table input[type=password],
#pass-strength-result {
width: 218px;
width: 100%;
}
.form-table th p {
......@@ -286,6 +304,10 @@ body.rtl,
box-sizing: border-box;
}
#pwd {
padding-right: 2.5rem;
}
.wp-pwd #pass1 {
padding-right: 50px;
}
......
/*! This file is auto-generated */
html{background:#f0f0f1;margin:0 20px}body{background:#fff;border:1px solid #c3c4c7;color:#3c434a;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;margin:140px auto 25px;padding:20px 20px 10px;max-width:700px;-webkit-font-smoothing:subpixel-antialiased;box-shadow:0 1px 1px rgba(0,0,0,.04)}a{color:#2271b1}a:active,a:hover{color:#135e96}a:focus{color:#043959;box-shadow:0 0 0 1px #4f94d4,0 0 2px 1px rgba(79,148,212,.8)}h1,h2{border-bottom:1px solid #dcdcde;clear:both;color:#646970;font-size:24px;padding:0 0 7px;font-weight:400}h3{font-size:16px}dd,dt,li,p{padding-bottom:2px;font-size:14px;line-height:1.5}.code,code{font-family:Consolas,Monaco,monospace}dl,ol,ul{padding:5px 5px 5px 22px}a img{border:0}abbr{border:0;font-variant:normal}fieldset{border:0;padding:0;margin:0}label{cursor:pointer}#logo{margin:-130px auto 25px;padding:0 0 25px;width:84px;height:84px;overflow:hidden;background-image:url(../images/w-logo-blue.png?ver=20131202);background-image:none,url(../images/wordpress-logo.svg?ver=20131107);background-size:84px;background-position:center top;background-repeat:no-repeat;color:#3c434a;font-size:20px;font-weight:400;line-height:1.3em;text-decoration:none;text-align:center;text-indent:-9999px;outline:0}.step{margin:20px 0 15px}.step,th{text-align:left;padding:0}.language-chooser.wp-core-ui .step .button.button-large{font-size:14px}textarea{border:1px solid #dcdcde;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;width:100%;box-sizing:border-box}.form-table{border-collapse:collapse;margin-top:1em;width:100%}.form-table td{margin-bottom:9px;padding:10px 20px 10px 0;font-size:14px;vertical-align:top}.form-table th{font-size:14px;text-align:left;padding:10px 20px 10px 0;width:140px;vertical-align:top}.form-table code{line-height:1.28571428;font-size:14px}.form-table p{margin:4px 0 0;font-size:11px}.form-table input{line-height:1.33333333;font-size:15px;padding:3px 5px}input,submit{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif}#pass-strength-result,.form-table input[type=email],.form-table input[type=password],.form-table input[type=text],.form-table input[type=url]{width:218px}.form-table th p{font-weight:400}.form-table.install-success td,.form-table.install-success th{vertical-align:middle;padding:16px 20px 16px 0}.form-table.install-success td p{margin:0;font-size:14px}.form-table.install-success td code{margin:0;font-size:18px}#error-page{margin-top:50px}#error-page p{font-size:14px;line-height:1.28571428;margin:25px 0 20px}#error-page code,.code{font-family:Consolas,Monaco,monospace}.message{border-left:4px solid #d63638;padding:.7em .6em;background-color:#fcf0f1}#admin_email,#dbhost,#dbname,#pass1,#pass2,#prefix,#pwd,#uname,#user_login{direction:ltr}.rtl input,.rtl submit,.rtl textarea,body.rtl{font-family:Tahoma,sans-serif}:lang(he-il) .rtl input,:lang(he-il) .rtl submit,:lang(he-il) .rtl textarea,:lang(he-il) body.rtl{font-family:Arial,sans-serif}@media only screen and (max-width:799px){body{margin-top:115px}#logo a{margin:-125px auto 30px}}@media screen and (max-width:782px){.form-table{margin-top:0}.form-table td,.form-table th{display:block;width:auto;vertical-align:middle}.form-table th{padding:20px 0 0}.form-table td{padding:5px 0;border:0;margin:0}input,textarea{font-size:16px}.form-table span.description,.form-table td input[type=email],.form-table td input[type=password],.form-table td input[type=text],.form-table td input[type=url],.form-table td select,.form-table td textarea{width:100%;font-size:16px;line-height:1.5;padding:7px 10px;display:block;max-width:none;box-sizing:border-box}.wp-pwd #pass1{padding-right:50px}.wp-pwd .button.wp-hide-pw{right:0}#pass-strength-result{width:100%}}body.language-chooser{max-width:300px}.language-chooser select{padding:8px;width:100%;display:block;border:1px solid #dcdcde;background:#fff;color:#2c3338;font-size:16px;font-family:Arial,sans-serif;font-weight:400}.language-chooser select:focus{color:#2c3338}.language-chooser select option:focus,.language-chooser select option:hover{color:#0a4b78}.language-chooser .step{text-align:right}.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;width:1px;word-wrap:normal!important}.spinner{background:url(../images/spinner.gif) no-repeat;background-size:20px 20px;visibility:hidden;opacity:.7;width:20px;height:20px;margin:2px 5px 0}.step .spinner{display:inline-block;vertical-align:middle;margin-right:15px}.button.hide-if-no-js,.hide-if-no-js{display:none}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){.spinner{background-image:url(../images/spinner-2x.gif)}}
\ No newline at end of file
html{background:#f0f0f1;margin:0 20px}body{background:#fff;border:1px solid #c3c4c7;color:#3c434a;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;margin:140px auto 25px;padding:20px 20px 10px;max-width:700px;-webkit-font-smoothing:subpixel-antialiased;box-shadow:0 1px 1px rgba(0,0,0,.04)}a{color:#2271b1}a:active,a:hover{color:#135e96}a:focus{color:#043959;box-shadow:0 0 0 1px #4f94d4,0 0 2px 1px rgba(79,148,212,.8)}h1,h2{border-bottom:1px solid #dcdcde;clear:both;color:#646970;font-size:24px;padding:0 0 7px;font-weight:400}h3{font-size:16px}dd,dt,li,p{padding-bottom:2px;font-size:14px;line-height:1.5}.code,code{font-family:Consolas,Monaco,monospace}dl,ol,ul{padding:5px 5px 5px 22px}a img{border:0}abbr{border:0;font-variant:normal}fieldset{border:0;padding:0;margin:0}label{cursor:pointer}#logo{margin:-130px auto 25px;padding:0 0 25px;width:84px;height:84px;overflow:hidden;background-image:url(../images/w-logo-blue.png?ver=20131202);background-image:none,url(../images/wordpress-logo.svg?ver=20131107);background-size:84px;background-position:center top;background-repeat:no-repeat;color:#3c434a;font-size:20px;font-weight:400;line-height:1.3em;text-decoration:none;text-align:center;text-indent:-9999px;outline:0}.step{margin:20px 0 15px}.step,th{text-align:left;padding:0}.language-chooser.wp-core-ui .step .button.button-large{font-size:14px}textarea{border:1px solid #dcdcde;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;width:100%;box-sizing:border-box}.form-table{border-collapse:collapse;margin-top:1em;width:100%}.form-table td{margin-bottom:9px;padding:10px 20px 10px 0;font-size:14px;vertical-align:top}.form-table th{font-size:14px;text-align:left;padding:10px 20px 10px 0;width:115px;vertical-align:top}.form-table code{line-height:1.28571428;font-size:14px}.form-table p{margin:4px 0 0;font-size:11px}.form-table .setup-description{margin:4px 0 0;line-height:1.6}.form-table input{line-height:1.33333333;font-size:15px;padding:3px 5px}.wp-pwd{margin-top:0}.form-table .wp-pwd{display:flex;column-gap:4px}.form-table .password-input-wrapper{width:100%}input,submit{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif}#pass-strength-result,.form-table input[type=email],.form-table input[type=password],.form-table input[type=text],.form-table input[type=url]{width:100%}.form-table th p{font-weight:400}.form-table.install-success td,.form-table.install-success th{vertical-align:middle;padding:16px 20px 16px 0}.form-table.install-success td p{margin:0;font-size:14px}.form-table.install-success td code{margin:0;font-size:18px}#error-page{margin-top:50px}#error-page p{font-size:14px;line-height:1.28571428;margin:25px 0 20px}#error-page code,.code{font-family:Consolas,Monaco,monospace}.message{border-left:4px solid #d63638;padding:.7em .6em;background-color:#fcf0f1}#admin_email,#dbhost,#dbname,#pass1,#pass2,#prefix,#pwd,#uname,#user_login{direction:ltr}.rtl input,.rtl submit,.rtl textarea,body.rtl{font-family:Tahoma,sans-serif}:lang(he-il) .rtl input,:lang(he-il) .rtl submit,:lang(he-il) .rtl textarea,:lang(he-il) body.rtl{font-family:Arial,sans-serif}@media only screen and (max-width:799px){body{margin-top:115px}#logo a{margin:-125px auto 30px}}@media screen and (max-width:782px){.form-table{margin-top:0}.form-table td,.form-table th{display:block;width:auto;vertical-align:middle}.form-table th{padding:20px 0 0}.form-table td{padding:5px 0;border:0;margin:0}input,textarea{font-size:16px}.form-table span.description,.form-table td input[type=email],.form-table td input[type=password],.form-table td input[type=text],.form-table td input[type=url],.form-table td select,.form-table td textarea{width:100%;font-size:16px;line-height:1.5;padding:7px 10px;display:block;max-width:none;box-sizing:border-box}#pwd{padding-right:2.5rem}.wp-pwd #pass1{padding-right:50px}.wp-pwd .button.wp-hide-pw{right:0}#pass-strength-result{width:100%}}body.language-chooser{max-width:300px}.language-chooser select{padding:8px;width:100%;display:block;border:1px solid #dcdcde;background:#fff;color:#2c3338;font-size:16px;font-family:Arial,sans-serif;font-weight:400}.language-chooser select:focus{color:#2c3338}.language-chooser select option:focus,.language-chooser select option:hover{color:#0a4b78}.language-chooser .step{text-align:right}.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;width:1px;word-wrap:normal!important}.spinner{background:url(../images/spinner.gif) no-repeat;background-size:20px 20px;visibility:hidden;opacity:.7;width:20px;height:20px;margin:2px 5px 0}.step .spinner{display:inline-block;vertical-align:middle;margin-right:15px}.button.hide-if-no-js,.hide-if-no-js{display:none}@media print,(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi){.spinner{background-image:url(../images/spinner-2x.gif)}}
\ No newline at end of file
......
......@@ -462,50 +462,64 @@ table.media .column-title .filename {
width: 160px;
}
.sorting-indicators {
display: grid;
}
.sorting-indicator {
display: block;
visibility: hidden;
width: 10px;
height: 4px;
margin-top: 8px;
margin-top: 4px;
margin-right: 7px;
}
.sorting-indicator:before {
content: "\f142";
font: normal 20px/1 dashicons;
speak: never;
display: inline-block;
padding: 0;
top: -4px;
right: -8px;
color: #3c434a;
line-height: 0.5;
position: relative;
vertical-align: top;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-decoration: none !important;
color: #3c434a;
}
.column-comments .sorting-indicator:before {
top: 0;
right: -10px;
color: #a7aaad;
}
th.sorted.asc .sorting-indicator:before,
th.desc:hover span.sorting-indicator:before,
th.desc a:focus span.sorting-indicator:before {
.sorting-indicator.asc:before {
content: "\f142";
}
th.sorted.desc .sorting-indicator:before,
th.asc:hover span.sorting-indicator:before,
th.asc a:focus span.sorting-indicator:before {
.sorting-indicator.desc:before {
content: "\f140";
}
th.sorted.desc .sorting-indicator.desc:before {
color: #1d2327;
}
th.sorted.asc .sorting-indicator.asc:before {
color: #1d2327;
}
th.sorted.asc a:focus .sorting-indicator.asc:before,
th.sorted.asc:hover .sorting-indicator.asc:before,
th.sorted.desc a:focus .sorting-indicator.desc:before,
th.sorted.desc:hover .sorting-indicator.desc:before {
color: #a7aaad;
}
th.sorted.asc a:focus .sorting-indicator.desc:before,
th.sorted.asc:hover .sorting-indicator.desc:before,
th.sorted.desc a:focus .sorting-indicator.asc:before,
th.sorted.desc:hover .sorting-indicator.asc:before {
color: #1d2327;
}
.wp-list-table .toggle-row {
position: absolute;
left: 8px;
......@@ -553,6 +567,35 @@ th.asc a:focus span.sorting-indicator:before {
content: "\f142";
}
.check-column {
position: relative;
}
.check-column label {
box-sizing: border-box;
width: 100%;
height: 100%;
display: block;
position: absolute;
top: 0;
right: 0;
}
.check-column input {
position: relative;
z-index: 1;
}
.check-column input:where(:not(:disabled)):hover,
.check-column:hover input:where(:not(:disabled)) {
box-shadow: 0 0 0 1px #2271b1;
}
.check-column label:hover,
.check-column input:hover + label {
background: rgba(0, 0, 0, 0.05);
}
.locked-indicator {
display: none;
margin-right: 6px;
......@@ -592,10 +635,6 @@ tr.wp-locked .row-actions .trash {
display: none;
}
.fixed .column-comments .sorting-indicator {
margin-top: 3px;
}
#menu-locations-wrap .widefat {
width: 60%;
}
......@@ -623,14 +662,6 @@ th.sorted a span {
cursor: pointer;
}
th.sorted .sorting-indicator,
th.desc:hover span.sorting-indicator,
th.desc a:focus span.sorting-indicator,
th.asc:hover span.sorting-indicator,
th.asc a:focus span.sorting-indicator {
visibility: visible;
}
.tablenav-pages .current-page {
margin: 0 0 0 2px;
font-size: 13px;
......
......@@ -461,50 +461,64 @@ table.media .column-title .filename {
width: 160px;
}
.sorting-indicators {
display: grid;
}
.sorting-indicator {
display: block;
visibility: hidden;
width: 10px;
height: 4px;
margin-top: 8px;
margin-top: 4px;
margin-left: 7px;
}
.sorting-indicator:before {
content: "\f142";
font: normal 20px/1 dashicons;
speak: never;
display: inline-block;
padding: 0;
top: -4px;
left: -8px;
color: #3c434a;
line-height: 0.5;
position: relative;
vertical-align: top;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-decoration: none !important;
color: #3c434a;
}
.column-comments .sorting-indicator:before {
top: 0;
left: -10px;
color: #a7aaad;
}
th.sorted.asc .sorting-indicator:before,
th.desc:hover span.sorting-indicator:before,
th.desc a:focus span.sorting-indicator:before {
.sorting-indicator.asc:before {
content: "\f142";
}
th.sorted.desc .sorting-indicator:before,
th.asc:hover span.sorting-indicator:before,
th.asc a:focus span.sorting-indicator:before {
.sorting-indicator.desc:before {
content: "\f140";
}
th.sorted.desc .sorting-indicator.desc:before {
color: #1d2327;
}
th.sorted.asc .sorting-indicator.asc:before {
color: #1d2327;
}
th.sorted.asc a:focus .sorting-indicator.asc:before,
th.sorted.asc:hover .sorting-indicator.asc:before,
th.sorted.desc a:focus .sorting-indicator.desc:before,
th.sorted.desc:hover .sorting-indicator.desc:before {
color: #a7aaad;
}
th.sorted.asc a:focus .sorting-indicator.desc:before,
th.sorted.asc:hover .sorting-indicator.desc:before,
th.sorted.desc a:focus .sorting-indicator.asc:before,
th.sorted.desc:hover .sorting-indicator.asc:before {
color: #1d2327;
}
.wp-list-table .toggle-row {
position: absolute;
right: 8px;
......@@ -552,6 +566,35 @@ th.asc a:focus span.sorting-indicator:before {
content: "\f142";
}
.check-column {
position: relative;
}
.check-column label {
box-sizing: border-box;
width: 100%;
height: 100%;
display: block;
position: absolute;
top: 0;
left: 0;
}
.check-column input {
position: relative;
z-index: 1;
}
.check-column input:where(:not(:disabled)):hover,
.check-column:hover input:where(:not(:disabled)) {
box-shadow: 0 0 0 1px #2271b1;
}
.check-column label:hover,
.check-column input:hover + label {
background: rgba(0, 0, 0, 0.05);
}
.locked-indicator {
display: none;
margin-left: 6px;
......@@ -591,10 +634,6 @@ tr.wp-locked .row-actions .trash {
display: none;
}
.fixed .column-comments .sorting-indicator {
margin-top: 3px;
}
#menu-locations-wrap .widefat {
width: 60%;
}
......@@ -622,14 +661,6 @@ th.sorted a span {
cursor: pointer;
}
th.sorted .sorting-indicator,
th.desc:hover span.sorting-indicator,
th.desc a:focus span.sorting-indicator,
th.asc:hover span.sorting-indicator,
th.asc a:focus span.sorting-indicator {
visibility: visible;
}
.tablenav-pages .current-page {
margin: 0 2px 0 0;
font-size: 13px;
......
......@@ -43,8 +43,8 @@ p {
}
.login .message,
.login .success,
.login #login_error {
.login .notice,
.login .success {
border-right: 4px solid #72aee6;
padding: 12px;
margin-right: 0;
......@@ -58,10 +58,19 @@ p {
border-right-color: #00a32a;
}
.login #login_error {
/* Match border color from common.css */
.login .notice-error {
border-right-color: #d63638;
}
.login .login-error-list {
list-style: none;
}
.login .login-error-list li + li {
margin-top: 4px;
}
#loginform p.submit,
.login-action-lostpassword p.submit {
border: none;
......@@ -238,6 +247,11 @@ p {
margin-bottom: 0;
}
#login form .indicator-hint,
#login #reg_passmail {
margin-bottom: 16px;
}
#login form p.submit {
margin: 0;
padding: 0;
......@@ -343,9 +357,7 @@ p {
font-family: Consolas, Monaco, monospace;
}
.js.login input.password-input,
.js.login-action-rp form .input,
.js.login-action-rp input[type="text"] {
.js.login input.password-input {
padding-left: 2.5rem;
}
......@@ -355,6 +367,8 @@ p {
background: #fff;
}
.js.login-action-resetpass input[type="text"],
.js.login-action-resetpass input[type="password"],
.js.login-action-rp input[type="text"],
.js.login-action-rp input[type="password"] {
margin-bottom: 0;
......@@ -438,8 +452,7 @@ input::-ms-reveal {
height: auto;
}
.login .language-switcher .button-primary {
float: none;
.login .language-switcher .button {
margin-bottom: 0;
}
......@@ -473,7 +486,7 @@ input::-ms-reveal {
}
@media screen and (max-width: 400px) {
.login .language-switcher .button-primary {
.login .language-switcher .button {
display: block;
margin: 5px auto 0;
}
......
......@@ -42,8 +42,8 @@ p {
}
.login .message,
.login .success,
.login #login_error {
.login .notice,
.login .success {
border-left: 4px solid #72aee6;
padding: 12px;
margin-left: 0;
......@@ -57,10 +57,19 @@ p {
border-left-color: #00a32a;
}
.login #login_error {
/* Match border color from common.css */
.login .notice-error {
border-left-color: #d63638;
}
.login .login-error-list {
list-style: none;
}
.login .login-error-list li + li {
margin-top: 4px;
}
#loginform p.submit,
.login-action-lostpassword p.submit {
border: none;
......@@ -237,6 +246,11 @@ p {
margin-bottom: 0;
}
#login form .indicator-hint,
#login #reg_passmail {
margin-bottom: 16px;
}
#login form p.submit {
margin: 0;
padding: 0;
......@@ -342,9 +356,7 @@ p {
font-family: Consolas, Monaco, monospace;
}
.js.login input.password-input,
.js.login-action-rp form .input,
.js.login-action-rp input[type="text"] {
.js.login input.password-input {
padding-right: 2.5rem;
}
......@@ -354,6 +366,8 @@ p {
background: #fff;
}
.js.login-action-resetpass input[type="text"],
.js.login-action-resetpass input[type="password"],
.js.login-action-rp input[type="text"],
.js.login-action-rp input[type="password"] {
margin-bottom: 0;
......@@ -437,8 +451,7 @@ input::-ms-reveal {
height: auto;
}
.login .language-switcher .button-primary {
float: none;
.login .language-switcher .button {
margin-bottom: 0;
}
......@@ -472,7 +485,7 @@ input::-ms-reveal {
}
@media screen and (max-width: 400px) {
.login .language-switcher .button-primary {
.login .language-switcher .button {
display: block;
margin: 5px auto 0;
}
......
......@@ -131,6 +131,7 @@
}
.media-item .edit-attachment.copy-to-clipboard-container {
display: flex;
margin-top: 0;
}
......@@ -584,7 +585,7 @@ border color while dragging a file over the uploader drop area */
margin-top: 0;
}
.media-search-input-label {
.media-frame-content .media-search-input-label {
margin: 0 0 0 .2em;
vertical-align: baseline;
}
......@@ -878,16 +879,16 @@ border color while dragging a file over the uploader drop area */
padding-top: 10px;
}
.imgedit-settings p,
.imgedit-settings fieldset {
.image-editor p,
.image-editor fieldset {
margin: 8px 0;
}
.imgedit-settings legend {
.image-editor legend {
margin-bottom: 5px;
}
.describe .imgedit-wrap .imgedit-settings {
.describe .imgedit-wrap .image-editor {
padding: 0 5px;
}
......@@ -899,19 +900,31 @@ border color while dragging a file over the uploader drop area */
height: auto;
}
.wp_attachment_holder .imgedit-wrap .imgedit-panel-content {
float: right;
padding: 3px 0 0 16px;
min-width: 400px;
max-width: calc( 100% - 266px );
.imgedit-panel-content {
display: flex;
flex-wrap: wrap;
gap: 20px;
margin-bottom: 20px;
}
.imgedit-settings {
max-width: 400px; /* Prevent reflow when help info is expanded. */
}
.imgedit-group-controls > * {
display: none;
}
.imgedit-panel-active .imgedit-group-controls > * {
display: block;
}
.wp_attachment_holder .imgedit-wrap .imgedit-settings {
.wp_attachment_holder .imgedit-wrap .image-editor {
float: left;
width: 250px;
}
.imgedit-settings input {
.image-editor input {
margin-top: 0;
vertical-align: middle;
}
......@@ -946,7 +959,7 @@ border color while dragging a file over the uploader drop area */
}
.media-disabled,
.imgedit-settings .disabled {
.image-editor .disabled {
/* WCAG 1.4.3 Text or images of text that are part of an inactive user
interface component ... have no contrast requirement. */
color: #a7aaad;
......@@ -970,10 +983,6 @@ border color while dragging a file over the uploader drop area */
float: right;
}
.imgedit-menu {
margin: 0 0 12px;
}
.imgedit-menu .note-no-rotate {
clear: both;
margin: 0;
......@@ -986,10 +995,10 @@ border color while dragging a file over the uploader drop area */
min-height: 28px;
font-size: 13px;
line-height: 2;
margin: 0 0 8px 8px;
padding: 0 10px;
}
.imgedit-menu .button:after,
.imgedit-menu .button:before {
font: normal 16px/1 dashicons;
margin-left: 8px;
......@@ -1001,6 +1010,16 @@ border color while dragging a file over the uploader drop area */
-moz-osx-font-smoothing: grayscale;
}
.imgedit-menu .imgedit-rotate.button:after {
content: '\f140';
margin-right: 2px;
margin-left: 0;
}
.imgedit-menu .imgedit-rotate.button[aria-expanded="true"]:after {
content: '\f142';
}
.imgedit-menu .button.disabled {
color: #a7aaad;
border-color: #dcdcde;
......@@ -1015,22 +1034,14 @@ border color while dragging a file over the uploader drop area */
content: "\f165";
}
.imgedit-rleft:before {
content: "\f166";
.imgedit-scale:before {
content: "\f211";
}
.imgedit-rright:before {
.imgedit-rotate:before {
content: "\f167";
}
.imgedit-flipv:before {
content: "\f168";
}
.imgedit-fliph:before {
content: "\f169";
}
.imgedit-undo:before {
content: "\f171";
}
......@@ -1049,23 +1060,19 @@ border color while dragging a file over the uploader drop area */
background-size: 20px 20px;
}
.imgedit-crop {
margin: 0 0 0 8px;
}
.imgedit-rleft {
margin: 0 3px;
.imgedit-crop-wrap {
padding: 20px;
background-image: linear-gradient(-45deg, #c3c4c7 25%, transparent 25%, transparent 75%, #c3c4c7 75%, #c3c4c7), linear-gradient(-45deg, #c3c4c7 25%, transparent 25%, transparent 75%, #c3c4c7 75%, #c3c4c7);
background-position: 100% 0, 10px 10px;
background-size: 20px 20px;
}
.imgedit-rright {
margin: 0 3px 0 8px;
}
.imgedit-flipv {
margin: 0 3px;
.imgedit-crop {
margin: 0 0 0 8px;
}
.imgedit-fliph {
.imgedit-rotate {
margin: 0 3px 0 8px;
}
......@@ -1077,6 +1084,12 @@ border color while dragging a file over the uploader drop area */
margin: 0 3px 0 8px;
}
.imgedit-thumbnail-preview-group {
display: flex;
flex-wrap: wrap;
column-gap: 10px;
}
.imgedit-thumbnail-preview {
margin: 10px 0 0 8px;
}
......@@ -1103,11 +1116,41 @@ border color while dragging a file over the uploader drop area */
padding: .5em 0 0;
}
.imgedit-popup-menu,
.imgedit-help {
display: none;
padding-bottom: 8px;
}
.imgedit-panel-tools > .imgedit-menu {
display: flex;
column-gap: 4px;
align-items: start;
flex-wrap: wrap;
}
.imgedit-popup-menu {
width: calc( 100% - 20px );
position: absolute;
background: #fff;
padding: 10px;
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}
.image-editor .imgedit-menu .imgedit-popup-menu button {
display: block;
margin: 2px 0;
width: 100%;
white-space: break-spaces;
line-height: 1.5;
padding-top: 3px;
padding-bottom: 2px;
}
.imgedit-rotate-menu-container {
position: relative;
}
.imgedit-help.imgedit-restore {
padding-bottom: 0;
}
......@@ -1140,10 +1183,6 @@ border color while dragging a file over the uploader drop area */
padding: 0;
}
.imgedit-submit {
margin: 8px 0 0;
}
.imgedit-submit-btn {
margin-right: 20px;
}
......@@ -1155,8 +1194,11 @@ border color while dragging a file over the uploader drop area */
}
span.imgedit-scale-warn {
color: #d63638;
font-size: 20px;
display: flex;
align-items: center;
margin: 4px;
gap: 4px;
color: #b32d2e;
font-style: normal;
visibility: hidden;
vertical-align: middle;
......@@ -1171,17 +1213,19 @@ span.imgedit-scale-warn {
}
.imgedit-group {
margin-bottom: 8px;
padding: 10px;
margin-bottom: 20px;
}
.imgedit-settings .imgedit-original-dimensions {
.image-editor .imgedit-original-dimensions {
display: inline-block;
}
.imgedit-settings .imgedit-scale input[type="text"],
.imgedit-settings .imgedit-crop-ratio input[type="text"],
.imgedit-settings .imgedit-crop-sel input[type="text"] {
.image-editor .imgedit-scale-controls input[type="text"],
.image-editor .imgedit-crop-ratio input[type="text"],
.image-editor .imgedit-crop-sel input[type="text"],
.image-editor .imgedit-scale-controls input[type="number"],
.image-editor .imgedit-crop-ratio input[type="number"],
.image-editor .imgedit-crop-sel input[type="number"] {
width: 80px;
font-size: 14px;
padding: 0 8px;
......@@ -1195,12 +1239,12 @@ span.imgedit-scale-warn {
color: #3c434a;
}
.imgedit-settings .imgedit-scale-button-wrapper {
.image-editor .imgedit-scale-button-wrapper {
margin-top: 0.3077em;
display: block;
}
.imgedit-settings .imgedit-scale .button {
.image-editor .imgedit-scale-controls .button {
margin-bottom: 0;
}
......@@ -1269,15 +1313,15 @@ audio, video {
padding: 10px 12px 10px 0;
}
.imgedit-settings .imgedit-scale input[type="text"],
.imgedit-settings .imgedit-crop-ratio input[type="text"],
.imgedit-settings .imgedit-crop-sel input[type="text"] {
.image-editor .imgedit-scale input[type="text"],
.image-editor .imgedit-crop-ratio input[type="text"],
.image-editor .imgedit-crop-sel input[type="text"] {
font-size: 16px;
padding: 6px 10px;
}
.wp_attachment_holder .imgedit-wrap .imgedit-panel-content,
.wp_attachment_holder .imgedit-wrap .imgedit-settings {
.wp_attachment_holder .imgedit-wrap .image-editor {
float: none;
width: auto;
max-width: none;
......@@ -1294,16 +1338,16 @@ audio, video {
}
.media-modal .imgedit-wrap .imgedit-panel-content,
.media-modal .imgedit-wrap .imgedit-settings {
.media-modal .imgedit-wrap .image-editor {
position: initial !important;
}
.media-modal .imgedit-wrap .imgedit-settings {
.media-modal .imgedit-wrap .image-editor {
box-sizing: border-box;
width: 100% !important;
}
.imgedit-settings .imgedit-scale-button-wrapper {
.image-editor .imgedit-scale-button-wrapper {
display: inline-block;
}
}
......@@ -1317,7 +1361,6 @@ audio, video {
/**
* Media queries for media grid.
*/
@media only screen and (max-width: 1120px) {
/* override for media-views.css */
#wp-media-grid .wp-filter .attachment-filters {
......@@ -1325,6 +1368,17 @@ audio, video {
}
}
@media only screen and (max-width: 1000px) {
/* override for forms.css */
.wp-filter p.search-box {
float: none;
width: 100%;
margin-bottom: 20px;
display: flex;
}
}
@media only screen and (max-width: 782px) {
.media-frame.mode-select .attachments-browser.fixed .media-toolbar {
top: 46px;
......
......@@ -130,6 +130,7 @@
}
.media-item .edit-attachment.copy-to-clipboard-container {
display: flex;
margin-top: 0;
}
......@@ -583,7 +584,7 @@ border color while dragging a file over the uploader drop area */
margin-top: 0;
}
.media-search-input-label {
.media-frame-content .media-search-input-label {
margin: 0 .2em 0 0;
vertical-align: baseline;
}
......@@ -877,16 +878,16 @@ border color while dragging a file over the uploader drop area */
padding-top: 10px;
}
.imgedit-settings p,
.imgedit-settings fieldset {
.image-editor p,
.image-editor fieldset {
margin: 8px 0;
}
.imgedit-settings legend {
.image-editor legend {
margin-bottom: 5px;
}
.describe .imgedit-wrap .imgedit-settings {
.describe .imgedit-wrap .image-editor {
padding: 0 5px;
}
......@@ -898,19 +899,31 @@ border color while dragging a file over the uploader drop area */
height: auto;
}
.wp_attachment_holder .imgedit-wrap .imgedit-panel-content {
float: left;
padding: 3px 16px 0 0;
min-width: 400px;
max-width: calc( 100% - 266px );
.imgedit-panel-content {
display: flex;
flex-wrap: wrap;
gap: 20px;
margin-bottom: 20px;
}
.imgedit-settings {
max-width: 400px; /* Prevent reflow when help info is expanded. */
}
.imgedit-group-controls > * {
display: none;
}
.imgedit-panel-active .imgedit-group-controls > * {
display: block;
}
.wp_attachment_holder .imgedit-wrap .imgedit-settings {
.wp_attachment_holder .imgedit-wrap .image-editor {
float: right;
width: 250px;
}
.imgedit-settings input {
.image-editor input {
margin-top: 0;
vertical-align: middle;
}
......@@ -945,7 +958,7 @@ border color while dragging a file over the uploader drop area */
}
.media-disabled,
.imgedit-settings .disabled {
.image-editor .disabled {
/* WCAG 1.4.3 Text or images of text that are part of an inactive user
interface component ... have no contrast requirement. */
color: #a7aaad;
......@@ -969,10 +982,6 @@ border color while dragging a file over the uploader drop area */
float: left;
}
.imgedit-menu {
margin: 0 0 12px;
}
.imgedit-menu .note-no-rotate {
clear: both;
margin: 0;
......@@ -985,10 +994,10 @@ border color while dragging a file over the uploader drop area */
min-height: 28px;
font-size: 13px;
line-height: 2;
margin: 0 8px 8px 0;
padding: 0 10px;
}
.imgedit-menu .button:after,
.imgedit-menu .button:before {
font: normal 16px/1 dashicons;
margin-right: 8px;
......@@ -1000,6 +1009,16 @@ border color while dragging a file over the uploader drop area */
-moz-osx-font-smoothing: grayscale;
}
.imgedit-menu .imgedit-rotate.button:after {
content: '\f140';
margin-left: 2px;
margin-right: 0;
}
.imgedit-menu .imgedit-rotate.button[aria-expanded="true"]:after {
content: '\f142';
}
.imgedit-menu .button.disabled {
color: #a7aaad;
border-color: #dcdcde;
......@@ -1014,22 +1033,14 @@ border color while dragging a file over the uploader drop area */
content: "\f165";
}
.imgedit-rleft:before {
content: "\f166";
.imgedit-scale:before {
content: "\f211";
}
.imgedit-rright:before {
.imgedit-rotate:before {
content: "\f167";
}
.imgedit-flipv:before {
content: "\f168";
}
.imgedit-fliph:before {
content: "\f169";
}
.imgedit-undo:before {
content: "\f171";
}
......@@ -1048,23 +1059,19 @@ border color while dragging a file over the uploader drop area */
background-size: 20px 20px;
}
.imgedit-crop {
margin: 0 8px 0 0;
}
.imgedit-rleft {
margin: 0 3px;
.imgedit-crop-wrap {
padding: 20px;
background-image: linear-gradient(45deg, #c3c4c7 25%, transparent 25%, transparent 75%, #c3c4c7 75%, #c3c4c7), linear-gradient(45deg, #c3c4c7 25%, transparent 25%, transparent 75%, #c3c4c7 75%, #c3c4c7);
background-position: 0 0, 10px 10px;
background-size: 20px 20px;
}
.imgedit-rright {
margin: 0 8px 0 3px;
}
.imgedit-flipv {
margin: 0 3px;
.imgedit-crop {
margin: 0 8px 0 0;
}
.imgedit-fliph {
.imgedit-rotate {
margin: 0 8px 0 3px;
}
......@@ -1076,6 +1083,12 @@ border color while dragging a file over the uploader drop area */
margin: 0 8px 0 3px;
}
.imgedit-thumbnail-preview-group {
display: flex;
flex-wrap: wrap;
column-gap: 10px;
}
.imgedit-thumbnail-preview {
margin: 10px 8px 0 0;
}
......@@ -1102,11 +1115,41 @@ border color while dragging a file over the uploader drop area */
padding: .5em 0 0;
}
.imgedit-popup-menu,
.imgedit-help {
display: none;
padding-bottom: 8px;
}
.imgedit-panel-tools > .imgedit-menu {
display: flex;
column-gap: 4px;
align-items: start;
flex-wrap: wrap;
}
.imgedit-popup-menu {
width: calc( 100% - 20px );
position: absolute;
background: #fff;
padding: 10px;
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}
.image-editor .imgedit-menu .imgedit-popup-menu button {
display: block;
margin: 2px 0;
width: 100%;
white-space: break-spaces;
line-height: 1.5;
padding-top: 3px;
padding-bottom: 2px;
}
.imgedit-rotate-menu-container {
position: relative;
}
.imgedit-help.imgedit-restore {
padding-bottom: 0;
}
......@@ -1139,10 +1182,6 @@ border color while dragging a file over the uploader drop area */
padding: 0;
}
.imgedit-submit {
margin: 8px 0 0;
}
.imgedit-submit-btn {
margin-left: 20px;
}
......@@ -1154,8 +1193,11 @@ border color while dragging a file over the uploader drop area */
}
span.imgedit-scale-warn {
color: #d63638;
font-size: 20px;
display: flex;
align-items: center;
margin: 4px;
gap: 4px;
color: #b32d2e;
font-style: normal;
visibility: hidden;
vertical-align: middle;
......@@ -1170,17 +1212,19 @@ span.imgedit-scale-warn {
}
.imgedit-group {
margin-bottom: 8px;
padding: 10px;
margin-bottom: 20px;
}
.imgedit-settings .imgedit-original-dimensions {
.image-editor .imgedit-original-dimensions {
display: inline-block;
}
.imgedit-settings .imgedit-scale input[type="text"],
.imgedit-settings .imgedit-crop-ratio input[type="text"],
.imgedit-settings .imgedit-crop-sel input[type="text"] {
.image-editor .imgedit-scale-controls input[type="text"],
.image-editor .imgedit-crop-ratio input[type="text"],
.image-editor .imgedit-crop-sel input[type="text"],
.image-editor .imgedit-scale-controls input[type="number"],
.image-editor .imgedit-crop-ratio input[type="number"],
.image-editor .imgedit-crop-sel input[type="number"] {
width: 80px;
font-size: 14px;
padding: 0 8px;
......@@ -1194,12 +1238,12 @@ span.imgedit-scale-warn {
color: #3c434a;
}
.imgedit-settings .imgedit-scale-button-wrapper {
.image-editor .imgedit-scale-button-wrapper {
margin-top: 0.3077em;
display: block;
}
.imgedit-settings .imgedit-scale .button {
.image-editor .imgedit-scale-controls .button {
margin-bottom: 0;
}
......@@ -1268,15 +1312,15 @@ audio, video {
padding: 10px 0 10px 12px;
}
.imgedit-settings .imgedit-scale input[type="text"],
.imgedit-settings .imgedit-crop-ratio input[type="text"],
.imgedit-settings .imgedit-crop-sel input[type="text"] {
.image-editor .imgedit-scale input[type="text"],
.image-editor .imgedit-crop-ratio input[type="text"],
.image-editor .imgedit-crop-sel input[type="text"] {
font-size: 16px;
padding: 6px 10px;
}
.wp_attachment_holder .imgedit-wrap .imgedit-panel-content,
.wp_attachment_holder .imgedit-wrap .imgedit-settings {
.wp_attachment_holder .imgedit-wrap .image-editor {
float: none;
width: auto;
max-width: none;
......@@ -1293,16 +1337,16 @@ audio, video {
}
.media-modal .imgedit-wrap .imgedit-panel-content,
.media-modal .imgedit-wrap .imgedit-settings {
.media-modal .imgedit-wrap .image-editor {
position: initial !important;
}
.media-modal .imgedit-wrap .imgedit-settings {
.media-modal .imgedit-wrap .image-editor {
box-sizing: border-box;
width: 100% !important;
}
.imgedit-settings .imgedit-scale-button-wrapper {
.image-editor .imgedit-scale-button-wrapper {
display: inline-block;
}
}
......@@ -1316,7 +1360,6 @@ audio, video {
/**
* Media queries for media grid.
*/
@media only screen and (max-width: 1120px) {
/* override for media-views.css */
#wp-media-grid .wp-filter .attachment-filters {
......@@ -1324,6 +1367,17 @@ audio, video {
}
}
@media only screen and (max-width: 1000px) {
/* override for forms.css */
.wp-filter p.search-box {
float: none;
width: 100%;
margin-bottom: 20px;
display: flex;
}
}
@media only screen and (max-width: 782px) {
.media-frame.mode-select .attachments-browser.fixed .media-toolbar {
top: 46px;
......
......@@ -838,20 +838,13 @@ body.menu-max-depth-11 { min-width: 1280px !important; }
/* Major/minor publishing actions (classes) */
.nav-menus-php .major-publishing-actions {
clear: both;
padding: 10px 0;
line-height: 2.15384615;
}
.nav-menus-php .major-publishing-actions .publishing-action {
text-align: left;
float: left;
display: flex;
align-items: center;
}
/* Same as the Publish Meta Box #delete-action */
.nav-menus-php .delete-action {
float: right;
line-height: 2.1;
.nav-menus-php .major-publishing-actions > * {
margin-left: 10px;
}
.nav-menus-php .major-publishing-actions .form-invalid {
......
......@@ -837,20 +837,13 @@ body.menu-max-depth-11 { min-width: 1280px !important; }
/* Major/minor publishing actions (classes) */
.nav-menus-php .major-publishing-actions {
clear: both;
padding: 10px 0;
line-height: 2.15384615;
}
.nav-menus-php .major-publishing-actions .publishing-action {
text-align: right;
float: right;
display: flex;
align-items: center;
}
/* Same as the Publish Meta Box #delete-action */
.nav-menus-php .delete-action {
float: left;
line-height: 2.1;
.nav-menus-php .major-publishing-actions > * {
margin-right: 10px;
}
.nav-menus-php .major-publishing-actions .form-invalid {
......
......@@ -507,10 +507,12 @@ body.folded .theme-browser ~ .theme-overlay .theme-wrap {
z-index: 30;
box-sizing: border-box;
border-top: 1px solid #f0f0f1;
display: flex;
justify-content: center;
gap: 5px;
}
.theme-overlay .theme-actions a {
margin-left: 5px;
.theme-overlay .theme-actions .button {
margin-bottom: 5px;
}
......@@ -522,26 +524,21 @@ body.folded .theme-browser ~ .theme-overlay .theme-wrap {
.broken-themes a.delete-theme,
.theme-overlay .theme-actions .delete-theme {
color: #d63638;
color: #b32d2e;
text-decoration: none;
border-color: transparent;
box-shadow: none;
background: transparent;
}
.theme-overlay .theme-actions .delete-theme {
position: absolute;
left: 10px;
bottom: 5px;
}
.broken-themes a.delete-theme:hover,
.broken-themes a.delete-theme:focus,
.theme-overlay .theme-actions .delete-theme:hover,
.theme-overlay .theme-actions .delete-theme:focus {
background: #d63638;
background: #b32d2e;
color: #fff;
border-color: #d63638;
border-color: #b32d2e;
box-shadow: 0 0 0 1px #b32d2e;
}
.theme-overlay .theme-actions .active-theme,
......@@ -841,7 +838,7 @@ body.folded .theme-browser ~ .theme-overlay .theme-wrap {
}
}
@media only screen and (max-width: 780px) {
@media only screen and (max-width: 782px) {
body.folded .theme-overlay .theme-wrap,
.theme-overlay .theme-wrap {
top: 0; /* The adminmenu isn't fixed on mobile, so this can use the full viewport height */
......
......@@ -506,10 +506,12 @@ body.folded .theme-browser ~ .theme-overlay .theme-wrap {
z-index: 30;
box-sizing: border-box;
border-top: 1px solid #f0f0f1;
display: flex;
justify-content: center;
gap: 5px;
}
.theme-overlay .theme-actions a {
margin-right: 5px;
.theme-overlay .theme-actions .button {
margin-bottom: 5px;
}
......@@ -521,26 +523,21 @@ body.folded .theme-browser ~ .theme-overlay .theme-wrap {
.broken-themes a.delete-theme,
.theme-overlay .theme-actions .delete-theme {
color: #d63638;
color: #b32d2e;
text-decoration: none;
border-color: transparent;
box-shadow: none;
background: transparent;
}
.theme-overlay .theme-actions .delete-theme {
position: absolute;
right: 10px;
bottom: 5px;
}
.broken-themes a.delete-theme:hover,
.broken-themes a.delete-theme:focus,
.theme-overlay .theme-actions .delete-theme:hover,
.theme-overlay .theme-actions .delete-theme:focus {
background: #d63638;
background: #b32d2e;
color: #fff;
border-color: #d63638;
border-color: #b32d2e;
box-shadow: 0 0 0 1px #b32d2e;
}
.theme-overlay .theme-actions .active-theme,
......@@ -840,7 +837,7 @@ body.folded .theme-browser ~ .theme-overlay .theme-wrap {
}
}
@media only screen and (max-width: 780px) {
@media only screen and (max-width: 782px) {
body.folded .theme-overlay .theme-wrap,
.theme-overlay .theme-wrap {
top: 0; /* The adminmenu isn't fixed on mobile, so this can use the full viewport height */
......
......@@ -116,7 +116,7 @@ wp_enqueue_script( 'customize-controls' );
wp_enqueue_style( 'customize-controls' );
/**
* Enqueue Customizer control scripts.
* Fires when enqueuing Customizer control scripts.
*
* @since 3.4.0
*/
......
......@@ -32,7 +32,14 @@ if ( $doaction ) {
$comment_status = wp_unslash( $_REQUEST['comment_status'] );
$delete_time = wp_unslash( $_REQUEST['pagegen_timestamp'] );
$comment_ids = $wpdb->get_col( $wpdb->prepare( "SELECT comment_ID FROM $wpdb->comments WHERE comment_approved = %s AND %s > comment_date_gmt", $comment_status, $delete_time ) );
$comment_ids = $wpdb->get_col(
$wpdb->prepare(
"SELECT comment_ID FROM $wpdb->comments
WHERE comment_approved = %s AND %s > comment_date_gmt",
$comment_status,
$delete_time
)
);
$doaction = 'delete';
} elseif ( isset( $_REQUEST['delete_comments'] ) ) {
$comment_ids = $_REQUEST['delete_comments'];
......@@ -52,7 +59,19 @@ if ( $doaction ) {
$untrashed = 0;
$deleted = 0;
$redirect_to = remove_query_arg( array( 'trashed', 'untrashed', 'deleted', 'spammed', 'unspammed', 'approved', 'unapproved', 'ids' ), wp_get_referer() );
$redirect_to = remove_query_arg(
array(
'trashed',
'untrashed',
'deleted',
'spammed',
'unspammed',
'approved',
'unapproved',
'ids',
),
wp_get_referer()
);
$redirect_to = add_query_arg( 'paged', $pagenum, $redirect_to );
wp_defer_comment_counting( true );
......@@ -65,31 +84,31 @@ if ( $doaction ) {
switch ( $doaction ) {
case 'approve':
wp_set_comment_status( $comment_id, 'approve' );
$approved++;
++$approved;
break;
case 'unapprove':
wp_set_comment_status( $comment_id, 'hold' );
$unapproved++;
++$unapproved;
break;
case 'spam':
wp_spam_comment( $comment_id );
$spammed++;
++$spammed;
break;
case 'unspam':
wp_unspam_comment( $comment_id );
$unspammed++;
++$unspammed;
break;
case 'trash':
wp_trash_comment( $comment_id );
$trashed++;
++$trashed;
break;
case 'untrash':
wp_untrash_comment( $comment_id );
$untrashed++;
++$untrashed;
break;
case 'delete':
wp_delete_comment( $comment_id );
$deleted++;
++$deleted;
break;
}
}
......@@ -197,7 +216,7 @@ get_current_screen()->add_help_tab(
'title' => __( 'Moderating Comments' ),
'content' =>
'<p>' . __( 'A red bar on the left means the comment is waiting for you to moderate it.' ) . '</p>' .
'<p>' . __( 'In the <strong>Author</strong> column, in addition to the author&#8217;s name, email address, and blog URL, the commenter&#8217;s IP address is shown. Clicking on this link will show you all the comments made from this IP address.' ) . '</p>' .
'<p>' . __( 'In the <strong>Author</strong> column, in addition to the author&#8217;s name, email address, and site URL, the commenter&#8217;s IP address is shown. Clicking on this link will show you all the comments made from this IP address.' ) . '</p>' .
'<p>' . __( 'In the <strong>Comment</strong> column, hovering over any comment gives you options to approve, reply (and approve), quick edit, edit, spam mark, or trash that comment.' ) . '</p>' .
'<p>' . __( 'In the <strong>In response to</strong> column, there are three elements. The text is the name of the post that inspired the comment, and links to the post editor for that entry. The View Post link leads to that post on your live site. The small bubble with the number in it shows the number of approved comments that post has received. If there are pending comments, a red notification circle with the number of pending comments is displayed. Clicking the notification circle will filter the comments screen to show only pending comments on that post.' ) . '</p>' .
'<p>' . __( 'In the <strong>Submitted on</strong> column, the date and time the comment was left on your site appears. Clicking on the date/time link will take you to that comment on your live site.' ) . '</p>' .
......@@ -282,11 +301,24 @@ if ( isset( $_REQUEST['error'] ) ) {
break;
}
if ( $error_msg ) {
echo '<div id="moderated" class="error"><p>' . $error_msg . '</p></div>';
wp_admin_notice(
$error_msg,
array(
'id' => 'moderated',
'additional_classes' => array( 'error' ),
)
);
}
}
if ( isset( $_REQUEST['approved'] ) || isset( $_REQUEST['deleted'] ) || isset( $_REQUEST['trashed'] ) || isset( $_REQUEST['untrashed'] ) || isset( $_REQUEST['spammed'] ) || isset( $_REQUEST['unspammed'] ) || isset( $_REQUEST['same'] ) ) {
if ( isset( $_REQUEST['approved'] )
|| isset( $_REQUEST['deleted'] )
|| isset( $_REQUEST['trashed'] )
|| isset( $_REQUEST['untrashed'] )
|| isset( $_REQUEST['spammed'] )
|| isset( $_REQUEST['unspammed'] )
|| isset( $_REQUEST['same'] )
) {
$approved = isset( $_REQUEST['approved'] ) ? (int) $_REQUEST['approved'] : 0;
$deleted = isset( $_REQUEST['deleted'] ) ? (int) $_REQUEST['deleted'] : 0;
$trashed = isset( $_REQUEST['trashed'] ) ? (int) $_REQUEST['trashed'] : 0;
......@@ -297,35 +329,63 @@ if ( isset( $_REQUEST['approved'] ) || isset( $_REQUEST['deleted'] ) || isset( $
if ( $approved > 0 || $deleted > 0 || $trashed > 0 || $untrashed > 0 || $spammed > 0 || $unspammed > 0 || $same > 0 ) {
if ( $approved > 0 ) {
$messages[] = sprintf(
/* translators: %s: Number of comments. */
$messages[] = sprintf( _n( '%s comment approved.', '%s comments approved.', $approved ), $approved );
_n( '%s comment approved.', '%s comments approved.', $approved ),
$approved
);
}
if ( $spammed > 0 ) {
$ids = isset( $_REQUEST['ids'] ) ? $_REQUEST['ids'] : 0;
$messages[] = sprintf(
/* translators: %s: Number of comments. */
$messages[] = sprintf( _n( '%s comment marked as spam.', '%s comments marked as spam.', $spammed ), $spammed ) . ' <a href="' . esc_url( wp_nonce_url( "edit-comments.php?doaction=undo&action=unspam&ids=$ids", 'bulk-comments' ) ) . '">' . __( 'Undo' ) . '</a><br />';
_n( '%s comment marked as spam.', '%s comments marked as spam.', $spammed ),
$spammed
) . sprintf(
' <a href="%1$s">%2$s</a><br />',
esc_url( wp_nonce_url( "edit-comments.php?doaction=undo&action=unspam&ids=$ids", 'bulk-comments' ) ),
__( 'Undo' )
);
}
if ( $unspammed > 0 ) {
$messages[] = sprintf(
/* translators: %s: Number of comments. */
$messages[] = sprintf( _n( '%s comment restored from the spam.', '%s comments restored from the spam.', $unspammed ), $unspammed );
_n( '%s comment restored from the spam.', '%s comments restored from the spam.', $unspammed ),
$unspammed
);
}
if ( $trashed > 0 ) {
$ids = isset( $_REQUEST['ids'] ) ? $_REQUEST['ids'] : 0;
$messages[] = sprintf(
/* translators: %s: Number of comments. */
$messages[] = sprintf( _n( '%s comment moved to the Trash.', '%s comments moved to the Trash.', $trashed ), $trashed ) . ' <a href="' . esc_url( wp_nonce_url( "edit-comments.php?doaction=undo&action=untrash&ids=$ids", 'bulk-comments' ) ) . '">' . __( 'Undo' ) . '</a><br />';
_n( '%s comment moved to the Trash.', '%s comments moved to the Trash.', $trashed ),
$trashed
) . sprintf(
' <a href="%1$s">%2$s</a><br />',
esc_url( wp_nonce_url( "edit-comments.php?doaction=undo&action=untrash&ids=$ids", 'bulk-comments' ) ),
__( 'Undo' )
);
}
if ( $untrashed > 0 ) {
$messages[] = sprintf(
/* translators: %s: Number of comments. */
$messages[] = sprintf( _n( '%s comment restored from the Trash.', '%s comments restored from the Trash.', $untrashed ), $untrashed );
_n( '%s comment restored from the Trash.', '%s comments restored from the Trash.', $untrashed ),
$untrashed
);
}
if ( $deleted > 0 ) {
$messages[] = sprintf(
/* translators: %s: Number of comments. */
$messages[] = sprintf( _n( '%s comment permanently deleted.', '%s comments permanently deleted.', $deleted ), $deleted );
_n( '%s comment permanently deleted.', '%s comments permanently deleted.', $deleted ),
$deleted
);
}
if ( $same > 0 ) {
......@@ -333,19 +393,38 @@ if ( isset( $_REQUEST['approved'] ) || isset( $_REQUEST['deleted'] ) || isset( $
if ( $comment ) {
switch ( $comment->comment_approved ) {
case '1':
$messages[] = __( 'This comment is already approved.' ) . ' <a href="' . esc_url( admin_url( "comment.php?action=editcomment&c=$same" ) ) . '">' . __( 'Edit comment' ) . '</a>';
$messages[] = __( 'This comment is already approved.' ) . sprintf(
' <a href="%1$s">%2$s</a>',
esc_url( admin_url( "comment.php?action=editcomment&c=$same" ) ),
__( 'Edit comment' )
);
break;
case 'trash':
$messages[] = __( 'This comment is already in the Trash.' ) . ' <a href="' . esc_url( admin_url( 'edit-comments.php?comment_status=trash' ) ) . '"> ' . __( 'View Trash' ) . '</a>';
$messages[] = __( 'This comment is already in the Trash.' ) . sprintf(
' <a href="%1$s">%2$s</a>',
esc_url( admin_url( 'edit-comments.php?comment_status=trash' ) ),
__( 'View Trash' )
);
break;
case 'spam':
$messages[] = __( 'This comment is already marked as spam.' ) . ' <a href="' . esc_url( admin_url( "comment.php?action=editcomment&c=$same" ) ) . '">' . __( 'Edit comment' ) . '</a>';
$messages[] = __( 'This comment is already marked as spam.' ) . sprintf(
' <a href="%1$s">%2$s</a>',
esc_url( admin_url( "comment.php?action=editcomment&c=$same" ) ),
__( 'Edit comment' )
);
break;
}
}
}
echo '<div id="moderated" class="updated notice is-dismissible"><p>' . implode( "<br />\n", $messages ) . '</p></div>';
wp_admin_notice(
implode( "<br />\n", $messages ),
array(
'id' => 'moderated',
'additional_classes' => array( 'updated' ),
'dismissible' => true,
)
);
}
}
?>
......
......@@ -440,17 +440,43 @@ if ( isset( $post_new_file ) && current_user_can( $post_type_object->cap->create
<hr class="wp-header-end">
<?php if ( $notice ) : ?>
<div id="notice" class="notice notice-warning"><p id="has-newer-autosave"><?php echo $notice; ?></p></div>
<?php endif; ?>
<?php if ( $message ) : ?>
<div id="message" class="updated notice notice-success is-dismissible"><p><?php echo $message; ?></p></div>
<?php endif; ?>
<div id="lost-connection-notice" class="error hidden">
<p><span class="spinner"></span> <?php _e( '<strong>Connection lost.</strong> Saving has been disabled until you are reconnected.' ); ?>
<span class="hide-if-no-sessionstorage"><?php _e( 'This post is being backed up in your browser, just in case.' ); ?></span>
</p>
</div>
<?php
if ( $notice ) :
wp_admin_notice(
'<p id="has-newer-autosave">' . $notice . '</p>',
array(
'type' => 'warning',
'id' => 'notice',
'paragraph_wrap' => false,
)
);
endif;
if ( $message ) :
wp_admin_notice(
$message,
array(
'type' => 'success',
'dismissible' => true,
'id' => 'message',
'additional_classes' => array( 'updated' ),
)
);
endif;
$connection_lost_message = sprintf(
'<span class="spinner"></span> %1$s <span class="hide-if-no-sessionstorage">%2$s</span>',
__( '<strong>Connection lost.</strong> Saving has been disabled until you are reconnected.' ),
__( 'This post is being backed up in your browser, just in case.' )
);
wp_admin_notice(
$connection_lost_message,
array(
'id' => 'lost-connection-notice',
'additional_classes' => array( 'error', 'hidden' ),
)
);
?>
<form name="post" action="post.php" method="post" id="post"
<?php
/**
......
......@@ -31,7 +31,7 @@ $current_screen->is_block_editor( true );
// Default to is-fullscreen-mode to avoid jumps in the UI.
add_filter(
'admin_body_class',
static function( $classes ) {
static function ( $classes ) {
return "$classes is-fullscreen-mode";
}
);
......@@ -319,27 +319,45 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
<?php // JavaScript is disabled. ?>
<div class="wrap hide-if-js block-editor-no-js">
<h1 class="wp-heading-inline"><?php echo esc_html( $title ); ?></h1>
<div class="notice notice-error notice-alt">
<p>
<?php
if ( file_exists( WP_PLUGIN_DIR . '/classic-editor/classic-editor.php' ) ) {
// If Classic Editor is already installed, provide a link to activate the plugin.
$installed = true;
$plugin_activate_url = wp_nonce_url( 'plugins.php?action=activate&amp;plugin=classic-editor/classic-editor.php', 'activate-plugin_classic-editor/classic-editor.php' );
$message = sprintf(
/* translators: %s: A link to install the Classic Editor plugin. */
__( 'The block editor requires JavaScript. Please enable JavaScript in your browser settings, or try the <a href="%s">Classic Editor plugin</a>.' ),
esc_url( wp_nonce_url( self_admin_url( 'plugin-install.php?tab=favorites&user=wordpressdotorg&save=0' ), 'save_wporg_username_' . get_current_user_id() ) )
/* translators: %s: Link to activate the Classic Editor plugin. */
__( 'The block editor requires JavaScript. Please enable JavaScript in your browser settings, or activate the <a href="%s">Classic Editor plugin</a>.' ),
esc_url( $plugin_activate_url )
);
} else {
// If Classic Editor is not installed, provide a link to install it.
$installed = false;
$plugin_install_url = wp_nonce_url( self_admin_url( 'update.php?action=install-plugin&plugin=classic-editor' ), 'install-plugin_classic-editor' );
$message = sprintf(
/* translators: %s: Link to install the Classic Editor plugin. */
__( 'The block editor requires JavaScript. Please enable JavaScript in your browser settings, or install the <a href="%s">Classic Editor plugin</a>.' ),
esc_url( $plugin_install_url )
);
}
/**
* Filters the message displayed in the block editor interface when JavaScript is
* not enabled in the browser.
*
* @since 5.0.3
* @since 6.4.0 Added `$installed` parameter.
*
* @param string $message The message being displayed.
* @param WP_Post $post The post being edited.
* @param bool $installed Whether the classic editor is installed.
*/
echo apply_filters( 'block_editor_no_javascript_message', $message, $post );
$message = apply_filters( 'block_editor_no_javascript_message', $message, $post, $installed );
wp_admin_notice(
$message,
array(
'type' => 'error',
)
);
?>
</p>
</div>
</div>
</div>
......
......@@ -87,13 +87,22 @@ echo esc_html( $title );
?>
</h1>
<a href="link-add.php" class="page-title-action"><?php echo esc_html_x( 'Add New', 'link' ); ?></a>
<a href="link-add.php" class="page-title-action"><?php echo esc_html__( 'Add New Link' ); ?></a>
<hr class="wp-header-end">
<?php if ( isset( $_GET['added'] ) ) : ?>
<div id="message" class="updated notice is-dismissible"><p><?php _e( 'Link added.' ); ?></p></div>
<?php endif; ?>
<?php
if ( isset( $_GET['added'] ) ) {
wp_admin_notice(
__( 'Link added.' ),
array(
'id' => 'message',
'additional_classes' => array( 'updated' ),
'dismissible' => true,
)
);
}
?>
<form name="<?php echo esc_attr( $form_name ); ?>" id="<?php echo esc_attr( $form_name ); ?>" method="post" action="link.php">
<?php
......@@ -121,7 +130,7 @@ wp_nonce_field( 'meta-box-order', 'meta-box-order-nonce', false );
<div id="addressdiv" class="postbox">
<h2 class="postbox-header"><label for="link_url"><?php _e( 'Web Address' ); ?></label></h2>
<div class="inside">
<input type="text" name="link_url" size="30" maxlength="255" class="code" value="<?php echo esc_attr( $link->link_url ); ?>" id="link_url" />
<input type="text" name="link_url" size="30" maxlength="255" class="code" value="<?php echo esc_url( $link->link_url ); ?>" id="link_url" />
<p><?php _e( 'Example: <code>https://wordpress.org/</code> &#8212; do not forget the <code>https://</code>' ); ?></p>
</div>
</div>
......
......@@ -79,16 +79,18 @@ do_action( "{$taxonomy}_pre_edit_form", $tag, $taxonomy ); ?>
$class = ( isset( $msg ) && 5 === $msg ) ? 'error' : 'success';
if ( $message ) {
?>
<div id="message" class="notice notice-<?php echo $class; ?>">
<p><strong><?php echo $message; ?></strong></p>
<?php if ( $wp_http_referer ) { ?>
<p><a href="<?php echo esc_url( wp_validate_redirect( sanitize_url( $wp_http_referer ), admin_url( 'term.php?taxonomy=' . $taxonomy ) ) ); ?>">
<?php echo esc_html( $tax->labels->back_to_items ); ?>
</a></p>
<?php } ?>
</div>
<?php
$message = '<p><strong>' . $message . '</strong></p>';
if ( $wp_http_referer ) {
$message .= '<p><a href="' . esc_url( wp_validate_redirect( sanitize_url( $wp_http_referer ), admin_url( 'term.php?taxonomy=' . $taxonomy ) ) ) . '">' . esc_html( $tax->labels->back_to_items ) . '</a></p>';
}
wp_admin_notice(
$message,
array(
'type' => $class,
'id' => 'message',
'paragraph_wrap' => false,
)
);
}
?>
......
......@@ -348,9 +348,16 @@ if ( isset( $_REQUEST['s'] ) && strlen( $_REQUEST['s'] ) ) {
<hr class="wp-header-end">
<?php if ( $message ) : ?>
<div id="message" class="<?php echo $class; ?> notice is-dismissible"><p><?php echo $message; ?></p></div>
<?php
<?php
if ( $message ) :
wp_admin_notice(
$message,
array(
'id' => 'message',
'additional_classes' => array( $class ),
'dismissible' => true,
)
);
$_SERVER['REQUEST_URI'] = remove_query_arg( array( 'message', 'error' ), $_SERVER['REQUEST_URI'] );
endif;
?>
......
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.