diff options
| author | 2020-03-08 00:14:29 +0100 | |
|---|---|---|
| committer | 2020-03-08 00:14:29 +0100 | |
| commit | 51edbc1578fe49b281b39d91451d2b9df0092028 (patch) | |
| tree | d82c6181797cbebe38e7a6dc5934237dc6597b15 /p | |
| parent | 128b3367880fd18e4179123b4e533d14902b484c (diff) | |
Improve login and registration pages (#2794)
* Keep the user on login page on failure
* Show an error if username already exists
* Check the password format in the backend
* Return a better message if username is invalid
* Add a title to the login page
* wip: Improve look of login and register pages
* Set a capital M in username help message
On the registration page, username tip started with a minuscule, while
the password tip started with a capital.
* Change message if username is taken
Diffstat (limited to 'p')
| -rw-r--r-- | p/themes/Origine/origine.css | 37 |
1 files changed, 32 insertions, 5 deletions
diff --git a/p/themes/Origine/origine.css b/p/themes/Origine/origine.css index ec2eda215..ee4a49085 100644 --- a/p/themes/Origine/origine.css +++ b/p/themes/Origine/origine.css @@ -693,23 +693,50 @@ a.btn { /*=== Prompt (centered) */ .prompt { + max-width: 20rem; + margin-left: auto; + margin-right: auto; + padding-left: .5rem; + padding-right: .5rem; + text-align: center; } -.prompt label { +.prompt form { + margin-top: 2rem; + margin-bottom: 3rem; + text-align: left; } -.prompt form { - margin: 10px auto 20px auto; - width: 200px; +.prompt .form-group { + margin-bottom: 1rem; +} + +.prompt .form-group::after { + display: none; } +.prompt .form-group.form-group-actions { + display: flex; + margin-top: 2rem; + + align-items: center; + justify-content: space-between; +} + +.prompt .stick, .prompt input { - margin: 5px auto; width: 100%; } +.prompt .btn.btn-important { + padding-left: 1.5rem; + padding-right: 1.5rem; + + font-size: 1.1rem; +} + .prompt p { margin: 20px 0; } |
