mirror of
https://github.com/umap-project/umap.git
synced 2025-04-28 19:42:36 +02:00
Better login page styles and incentive (#2293)
Fixes https://github.com/umap-project/umap-dsfr/issues/21
Rel.
24f23874f7
This commit is contained in:
commit
b6229a05b7
3 changed files with 10 additions and 8 deletions
|
@ -24,11 +24,11 @@ input:-moz-placeholder, :-moz-placeholder {
|
||||||
body.login {
|
body.login {
|
||||||
width: 320px;
|
width: 320px;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
text-align: center;
|
background-color: var(--color-lighterGray);
|
||||||
|
color: var(--color-darkerGray);
|
||||||
}
|
}
|
||||||
body.login header {
|
body.login header {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
|
||||||
}
|
}
|
||||||
.login-grid {
|
.login-grid {
|
||||||
display: grid;
|
display: grid;
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
/* Colors. */
|
/* Colors. */
|
||||||
--color-waterMint: #B9F5D2;
|
--color-waterMint: #B9F5D2;
|
||||||
--color-darkBlue: #263B58;
|
--color-darkBlue: #263B58;
|
||||||
|
--color-lighterGray: #f6f6f6;
|
||||||
--color-lightGray: #ddd;
|
--color-lightGray: #ddd;
|
||||||
--color-mediumGray: #3e4444;
|
--color-mediumGray: #3e4444;
|
||||||
--color-darkGray: #323737;
|
--color-darkGray: #323737;
|
||||||
|
|
|
@ -19,10 +19,11 @@
|
||||||
<header class="umap-nav">
|
<header class="umap-nav">
|
||||||
{% include "umap/branding.html" %}
|
{% include "umap/branding.html" %}
|
||||||
</header>
|
</header>
|
||||||
|
<h2>{% trans "To save and easily find your maps, identify yourself." %}</h2>
|
||||||
{% if ENABLE_ACCOUNT_LOGIN %}
|
{% if ENABLE_ACCOUNT_LOGIN %}
|
||||||
<h2>
|
<h3>
|
||||||
{% trans "Please log in with your account" %}
|
{% trans "Please log in with your account:" %}
|
||||||
</h2>
|
</h3>
|
||||||
<div>
|
<div>
|
||||||
{% if form.non_field_errors %}
|
{% if form.non_field_errors %}
|
||||||
<ul class="form-errors">
|
<ul class="form-errors">
|
||||||
|
@ -47,9 +48,9 @@
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if backends.backends|length %}
|
{% if backends.backends|length %}
|
||||||
<h2>
|
<h3>
|
||||||
{% trans "Please choose a provider" %}
|
{% trans "Please choose a provider:" %}
|
||||||
</h2>
|
</h3>
|
||||||
<div>
|
<div>
|
||||||
<ul class="login-grid block-grid">
|
<ul class="login-grid block-grid">
|
||||||
{% for name in backends.backends %}
|
{% for name in backends.backends %}
|
||||||
|
|
Loading…
Reference in a new issue