tours: add neutral styles for idp pages (#30142)

This commit is contained in:
Serghei Mihai 2019-02-12 12:00:58 +01:00
parent 9c4050ce3d
commit 9b41d65b5d
3 changed files with 71 additions and 0 deletions

View File

@ -9,6 +9,56 @@
font-style: normal;
}
/* styles for authentic page */
body.authentic-page {
background: #efefef;
div#header-wrapper {
border-top: 0;
background: none;
}
div#header {
#toplinks {
top: -50px;
}
h1#logo {
padding-left: 0;
margin: 50px 0 10px 0;
a {
margin: 0;
background-image: url('img/logo.png'), url('img/logo-ville.png');
background-position: center left, center right;
background-repeat: no-repeat, no-repeat;
background-size: contain, contain;
@media screen and (max-width: $mobile-limit) {
background-image: url('img/logo.png');
background-repeat: no-repeat;;
background-position: center left;
}
}
}
}
div#nav-wrapper {
display: none;
}
div.block, div.a2-block {
h2 {
background: #6699cc;
}
}
div#footer-wrapper {
border: 0;
}
button {
color: #ffffff;
background: #7aa63e;
&:hover {
background: #6699cc;
}
}
}
div#header-wrapper {
border-top: 25px solid #ffffff;
background: url('img/back-header.png');

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

View File

@ -0,0 +1,21 @@
{% extends "authentic2/base.html" %}
{% block extra-body-class %}authentic-page{% endblock %}
{% block placeholder-content %}
{% block messages %}
{% if messages %}
<div id="messages">
<ul class="messages">
{% for message in messages %}
<li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
{% endfor %}
</ul>
</div>
{% endif %}
{% endblock %}
{% block content %}
{% endblock %}
{% endblock %}