PHRAS-2829 #comment lightbox: fix basket display on mobile #time 1h

This commit is contained in:
Harrys Ravalomanana
2019-11-20 16:37:53 +04:00
parent 4f7b9b2646
commit b98d51397d
2 changed files with 18 additions and 17 deletions

View File

@@ -500,15 +500,13 @@ hr {
padding: 0; padding: 0;
} }
button.confirm_report.ui-button.ui-corner-all.ui-widget { button.confirm_report {
color: #fff; background: #38c!important;
color: #fff!important;
font-size: 12.5px; font-size: 12.5px;
font-weight: bold; font-weight: bold;
padding: 11px; padding: 11px;
display: inline-block; display: inline-block;
width: auto!important;
background: #333;
background-image: linear-gradient(#444,#2d2d2d);
border: 1px solid rgba(255,255,255,.3); border: 1px solid rgba(255,255,255,.3);
text-shadow: 0 1px 0 #111; text-shadow: 0 1px 0 #111;
border-radius: 16px; border-radius: 16px;
@@ -581,3 +579,10 @@ button.confirm_report.ui-button.ui-corner-all.ui-widget {
.thumb_wrapper img.record_image { .thumb_wrapper img.record_image {
max-width: 100%; max-width: 100%;
} }
/*header lightbox*/
.ui-footer .ui-title, .ui-header .ui-title {
min-height: 26px;
padding: 10px 0;
}

View File

@@ -38,9 +38,6 @@
{% set basket_length = basket.getElements().count() %} {% set basket_length = basket.getElements().count() %}
{% trans with {'%basket_length%' : basket_length} %}%basket_length% documents{% endtrans %} {% trans with {'%basket_length%' : basket_length} %}%basket_length% documents{% endtrans %}
</p> </p>
{% if basket.getValidation() %}
<div class="report_wrapper"> <div class="report_wrapper">
<a id="report_summary" class="report_btn report_summary" href="#" onclick="$.ajax({ <a id="report_summary" class="report_btn report_summary" href="#" onclick="$.ajax({
type: 'GET', type: 'GET',
@@ -81,18 +78,17 @@
{% endfor %} {% endfor %}
</ul> </ul>
</div> </div>
{% endif %} <div class="btn-container">
{% if basket.getValidation() and basket.getValidation().getParticipant(app.getAuthenticatedUser()).getCanAgree() %}
<button class="confirm_report" style="width:100%;" title="{{ 'validation::envoyer mon rapport' | trans }}">
{{ 'validation::envoyer mon rapport' | trans }}
<img src="/assets/common/images/icons/loader1F1E1B.gif" style="visibility:hidden;" class="loader"/>
</button>
{% endif %}
</div>
</div> </div>
<div class="report_list_backup" id="report_list_backup">&nbsp;</div> <div class="report_list_backup" id="report_list_backup">&nbsp;</div>
<div class="report_summary_backup " id="report_summary_backup">&nbsp;</div> <div class="report_summary_backup " id="report_summary_backup">&nbsp;</div>
<div data-role="footer">
{% if basket.getValidation() and basket.getValidation().getParticipant(app.getAuthenticatedUser()).getCanAgree() %}
<button class="confirm_report" style="width:100%;" title="{{ 'validation::envoyer mon rapport' | trans }}">
{{ 'validation::envoyer mon rapport' | trans }}
<img src="/assets/common/images/icons/loader1F1E1B.gif" style="visibility:hidden;" class="loader"/>
</button>
{% endif %}
</div>
</div> </div>
{% endblock %} {% endblock %}