update login box default style

This commit is contained in:
Frédéric Péters 2017-01-19 11:08:48 +01:00
parent d300907626
commit 0b7ec67843
1 changed files with 8 additions and 13 deletions

View File

@ -1,5 +1,6 @@
{% load i18n static %}<form method="post" id="csam-login">
<div>
<img src="{% static "authentic2_auth_fedict/img/beid_image_mini.png" %}" alt="">
<p>
Pour vous connecter, vous avez besoin de votre carte d'identité
électronique (eID) et d'un lecteur de carte, ou de votre liste de codes
@ -12,16 +13,10 @@
{% endif %}
</div>
</form>
<style>
form#csam-login {
background: transparent url({% static "authentic2_auth_fedict/img/logo-csam-200.png" %}) no-repeat;
padding-left: 220px;
}
@media screen and (max-width: 600px) {
form#csam-login {
background-position: top center;
padding-left: 0;
padding-top: 65px;
}
}
</style>
<script>
$(function() {
$('#csam-login img').on('click', function() {
$('#csam-login input[name={{submit_name}}]').click();
});
});
</script>