grandlyon-glc: define pages width excepting user's profile page (#63886)

This commit is contained in:
Serghei Mihai 2022-04-13 12:27:45 +02:00
parent 57b8fbe850
commit b9d54744cf
5 changed files with 22 additions and 9 deletions

View File

@ -93,12 +93,16 @@ div.error {
}
}
div#header {
div#header-wrapper {
background: #fff;
border-top: 25px solid $primary-color;
@media screen and ($max-mobile-viewport) {
border-top: 3px solid $primary-color;
}
}
div#header {
max-width: 100%;
h1#logo {
display: flex;
justify-content: center;
@ -141,6 +145,15 @@ div#header {
}
}
}
.authentic-page.authenticated-user div#main-content-wrapper {
max-width: 100%;
}
div#main-content, div#login-footer {
a, input {
font-size: 1.4rem;
}
}
div#main-content {
.field-live-hint button {
@ -197,9 +210,6 @@ div#main-content {
}
}
}
a, input {
font-size: 1.4rem;
}
input, button {
width: 100%;
border-radius: 0.1em;
@ -443,7 +453,6 @@ div.a2-authorization {
}
div#toplinks {
position: absolute;
top: 40%;
right: 1%;
border: 0;
@ -483,7 +492,6 @@ div#toplinks {
#login-footer {
background: #fff;
width: $width;
padding-bottom: 2rem;
margin-top: 2.5rem;
&::before {

View File

@ -1,4 +1,4 @@
$width: 100%;
$width: 1200px;
$mobile-limit: 960px;
$common-screen-width: 1366px;
$body-background: #f2f2f2;

View File

@ -14,7 +14,7 @@
</div>
{% endblock %}
{% block login-post %}
{% block footer-pre %}
{% if registration_authorized and "admin-cut" not in request.get_host %}
<div id="login-footer">
<h2>Pas encore de compte ?</h2>

View File

@ -10,6 +10,11 @@
</h1>
{% endblock %}
{% block footer-pre %}
{% skeleton_extra_placeholder footer-pre %}
{% end_skeleton_extra_placeholder %}
{% endblock %}
{% block footer-post %}
<div id="footer-post">
<div class="footer-post-top">

View File

@ -17,7 +17,7 @@
</div>
{% endblock %}
{% block registration-post %}
{% block footer-pre %}
<div id="login-footer">
<h2>Vous avez déjà un compte</h2>
<p><a href="{{ login_url }}" class="button">Se connecter</a></p>