Skip to content

Commit

Permalink
fix(css): Fix registration styles (Fixes #5)
Browse files Browse the repository at this point in the history
  • Loading branch information
Log1x committed Sep 15, 2020
1 parent 29c58fe commit 7f1f480
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
12 changes: 7 additions & 5 deletions assets/css/login.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
}

#loginform,
#registerform,
#resetpassform,
#lostpasswordform,
.admin-email-confirm-form {
Expand All @@ -47,18 +48,19 @@
@apply .text-brand .mt-1 .border-none;
}

input[type="text"],
input[type="password"] {
input[type='text'],
input[type='email'],
input[type='password'] {
@apply .bg-trim-alt .text-trim-alt-invert .border .border-trim .py-1 .px-2 .mt-1;
}

input[type="checkbox"] {
@apply .bg-trim-alt .text-trim-alt-invert .shadow .border .border-trim
input[type='checkbox'] {
@apply .bg-trim-alt .text-trim-alt-invert .shadow .border .border-trim;
}

input:checked::before {
@apply .opacity-50;
content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%23fff%27%2F%3E%3C%2Fsvg%3E");
content: url('data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%23fff%27%2F%3E%3C%2Fsvg%3E');
}

input:focus,
Expand Down
2 changes: 1 addition & 1 deletion plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Plugin Name: Modern Login
* Plugin URI: https://github.com/log1x/modern-login
* Description: A whitelabeled and modernized wp-login.php
* Version: 1.0.6
* Version: 1.0.7
* Author: Brandon Nifong
* Author URI: https://github.com/log1x
* Licence: MIT
Expand Down
Loading

0 comments on commit 7f1f480

Please sign in to comment.