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;
}
button.confirm_report.ui-button.ui-corner-all.ui-widget {
color: #fff;
button.confirm_report {
background: #38c!important;
color: #fff!important;
font-size: 12.5px;
font-weight: bold;
padding: 11px;
display: inline-block;
width: auto!important;
background: #333;
background-image: linear-gradient(#444,#2d2d2d);
border: 1px solid rgba(255,255,255,.3);
text-shadow: 0 1px 0 #111;
border-radius: 16px;
@@ -581,3 +579,10 @@ button.confirm_report.ui-button.ui-corner-all.ui-widget {
.thumb_wrapper img.record_image {
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() %}
{% trans with {'%basket_length%' : basket_length} %}%basket_length% documents{% endtrans %}
</p>
{% if basket.getValidation() %}
<div class="report_wrapper">
<a id="report_summary" class="report_btn report_summary" href="#" onclick="$.ajax({
type: 'GET',
@@ -81,11 +78,7 @@
{% endfor %}
</ul>
</div>
{% endif %}
</div>
<div class="report_list_backup" id="report_list_backup">&nbsp;</div>
<div class="report_summary_backup " id="report_summary_backup">&nbsp;</div>
<div data-role="footer">
<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 }}
@@ -94,6 +87,9 @@
{% endif %}
</div>
</div>
<div class="report_list_backup" id="report_list_backup">&nbsp;</div>
<div class="report_summary_backup " id="report_summary_backup">&nbsp;</div>
</div>
{% endblock %}