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

View File

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