misc: fix profile block position (#19786)

This commit is contained in:
Serghei Mihai 2017-11-07 10:40:24 +01:00
parent 2cf6a01013
commit db80008189
2 changed files with 7 additions and 2 deletions

View File

@ -704,12 +704,17 @@ div.cut-edit {
padding-right: 10%;
border-right: 1px solid #ccc;
width: 60%;
margin-bottom: 10ex;
&.validated {
margin-bottom: 1ex;
}
@media screen and (max-width: $mobile-limit) {
border: 0;
border-bottom: 1px solid #ccc;
float: none;
padding: 0;
width: auto;
padding-bottom: 3ex;
}
ul.profile {
padding: 2.5ex 5em 2.5ex 14em;
@ -747,7 +752,7 @@ div.cut-edit {
color: #fff;
padding: 1ex 1em;
border-radius: 0.3em;
margin: 4ex 0;
margin: 4ex 0 0 0;
div.info {
float: left;
width: 50%;

View File

@ -11,7 +11,7 @@
</div>
<div id="cut-account">
<div class="progress">
<div class="progress{% if user.attributes.validated and user.attributes.validation_context %} validated{% endif %}">
<h2 id="mon-compte">Mon compte</h2>
<ul class="profile profile-{% if user.attributes.validation_context == 'FC' %}fc-validated{% elif user.attributes.validated and user.attributes.validation_context != 'FC' %}guichet-validated{% else %}completed{% endif %}-{% if cut_core_filled %}{% if cut_crown_filled %}3{% else %}2{% endif %}{% else %}1{% endif %}-3">
<li>DONNÉES OBLIGATOIRES</li>