Login and Registration: Update CSS for multisite user actions.

Update the front-end CSS used for multisite user activation and signup. Modify both styles  to help prevent conflicts with existing theme styles and provide more consistent margins, paddings, widths, and font sizes.

Props joedolson, sabernhardt, rishabhwp, r1k0, johnjamesjacoby.
Fixes #63861.
Built from https://develop.svn.wordpress.org/trunk@61662


git-svn-id: http://core.svn.wordpress.org/trunk@60973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
joedolson
2026-02-17 17:05:44 +00:00
parent 7ffc2c4bd0
commit c53de0f876
3 changed files with 11 additions and 10 deletions

View File

@@ -101,13 +101,13 @@ add_action( 'wp_head', 'do_activate_header' );
function wpmu_activate_stylesheet() { function wpmu_activate_stylesheet() {
?> ?>
<style> <style>
.wp-activate-container { width: 90%; margin: 0 auto; } .wp-activate-container { width: 90%; margin: 0 auto; text-align: start; padding: 24px; box-sizing: border-box; }
.wp-activate-container form { margin-top: 2em; } .wp-activate-container form { margin: 24px 0; }
#submit, #key { width: 100%; font-size: 24px; box-sizing: border-box; } .wp-activate-container p { font-size: 18px; }
#key { direction: ltr; } #key, #submit { font-size: 24px; box-sizing: border-box; margin: 5px 0; }
#language { margin-top: 0.5em; } #key { width: 100%; direction: ltr; }
.wp-activate-container .error { background: #f66; color: #333; } #submit { width: auto; }
span.h3 { padding: 0 8px; font-size: 1.3em; font-weight: 600; } span.h3 { font-weight: 600; }
</style> </style>
<?php <?php
} }

View File

@@ -16,7 +16,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '7.0-alpha-61661'; $wp_version = '7.0-alpha-61662';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.

View File

@@ -64,8 +64,9 @@ do_action( 'before_signup_header' );
function wpmu_signup_stylesheet() { function wpmu_signup_stylesheet() {
?> ?>
<style> <style>
.mu_register { width: 90%; margin: 0 auto; } .mu_register { width: 90%; margin: 0 auto; text-align: start; padding: 24px; box-sizing: border-box; }
.mu_register form { margin-top: 2em; } .mu_register p { font-size: 18px; }
.mu_register form { margin: 24px 0; }
.mu_register fieldset, .mu_register fieldset,
.mu_register legend { margin: 0; padding: 0; border: none; } .mu_register legend { margin: 0; padding: 0; border: none; }
.mu_register .error { padding: 10px; color: #333; background: #ffebe8; border: 1px solid #c00; } .mu_register .error { padding: 10px; color: #333; background: #ffebe8; border: 1px solid #c00; }