Skip to content

Commit 8d2a365

Browse files
committed
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. git-svn-id: https://develop.svn.wordpress.org/trunk@61662 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 8f6d312 commit 8d2a365

2 files changed

Lines changed: 10 additions & 9 deletions

File tree

src/wp-activate.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -101,13 +101,13 @@ function do_activate_header() {
101101
function wpmu_activate_stylesheet() {
102102
?>
103103
<style>
104-
.wp-activate-container { width: 90%; margin: 0 auto; }
105-
.wp-activate-container form { margin-top: 2em; }
106-
#submit, #key { width: 100%; font-size: 24px; box-sizing: border-box; }
107-
#key { direction: ltr; }
108-
#language { margin-top: 0.5em; }
109-
.wp-activate-container .error { background: #f66; color: #333; }
110-
span.h3 { padding: 0 8px; font-size: 1.3em; font-weight: 600; }
104+
.wp-activate-container { width: 90%; margin: 0 auto; text-align: start; padding: 24px; box-sizing: border-box; }
105+
.wp-activate-container form { margin: 24px 0; }
106+
.wp-activate-container p { font-size: 18px; }
107+
#key, #submit { font-size: 24px; box-sizing: border-box; margin: 5px 0; }
108+
#key { width: 100%; direction: ltr; }
109+
#submit { width: auto; }
110+
span.h3 { font-weight: 600; }
111111
</style>
112112
<?php
113113
}

src/wp-signup.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,9 @@ function do_signup_header() {
6464
function wpmu_signup_stylesheet() {
6565
?>
6666
<style>
67-
.mu_register { width: 90%; margin: 0 auto; }
68-
.mu_register form { margin-top: 2em; }
67+
.mu_register { width: 90%; margin: 0 auto; text-align: start; padding: 24px; box-sizing: border-box; }
68+
.mu_register p { font-size: 18px; }
69+
.mu_register form { margin: 24px 0; }
6970
.mu_register fieldset,
7071
.mu_register legend { margin: 0; padding: 0; border: none; }
7172
.mu_register .error { padding: 10px; color: #333; background: #ffebe8; border: 1px solid #c00; }

0 commit comments

Comments
 (0)