Further improvements to the print stylesheet

This commit is contained in:
Raphael Michel
2019-04-08 17:42:06 +02:00
parent 7164124a70
commit 36e0afc09e
2 changed files with 8 additions and 5 deletions

View File

@@ -113,7 +113,7 @@
{% endblocktrans %}
</div>
{% if cart.positions|length > 1 and can_download_multi %}
<p>
<p class="info-download">
{% trans "Download all tickets at once:" %}
{% for b in download_buttons %}
{% if b.multi %}
@@ -131,7 +131,7 @@
{% endif %}
{% elif not download_buttons and ticket_download_date %}
{% if order.status == 'p' %}
<div class="alert alert-info">
<div class="alert alert-info info-download">
{% blocktrans trimmed with date=ticket_download_date|date:"SHORT_DATE_FORMAT" %}
You will be able to download your tickets here starting on {{ date }}.
{% endblocktrans %}

View File

@@ -26,7 +26,7 @@
width: 50%;
}
.cart-row.has-downloads .product {
width: percentage((9 / $grid-columns));
width: 80%;
}
.cart-row .count {
width: 10%;
@@ -42,9 +42,12 @@
display: none;
}
@media(max-width: $screen-sm-max) {
.cart-row.has-downloads .product {
.cart-row .product {
width: 50%;
}
.cart-row.has-downloads .product {
width: 80%;
}
}
@media (min-width: $screen-sm-min) {
.dl-horizontal dt {
@@ -59,4 +62,4 @@
@include make-grid(md);
@include make-grid(lg);
}
}
}