mirror of
https://github.com/pretix/pretix.git
synced 2026-05-09 15:54:03 +00:00
Order overview: Make table easier to read
This commit is contained in:
@@ -32,7 +32,7 @@
|
|||||||
<th>{% trans "Product" %}</th>
|
<th>{% trans "Product" %}</th>
|
||||||
<th>{% trans "Canceled" %}¹</th>
|
<th>{% trans "Canceled" %}¹</th>
|
||||||
<th>{% trans "Expired" %}</th>
|
<th>{% trans "Expired" %}</th>
|
||||||
<th colspan="3">{% trans "Purchased" %}</th>
|
<th colspan="3" class="text-center">{% trans "Purchased" %}</th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th></th>
|
<th></th>
|
||||||
|
|||||||
@@ -1,4 +1,9 @@
|
|||||||
.table-product-overview {
|
.table-product-overview {
|
||||||
|
|
||||||
|
td:last-child, th:last-child {
|
||||||
|
border-right: 1px solid #ddd;
|
||||||
|
}
|
||||||
|
|
||||||
.item.categorized td:first-child {
|
.item.categorized td:first-child {
|
||||||
padding-left: 20px;
|
padding-left: 20px;
|
||||||
}
|
}
|
||||||
@@ -9,7 +14,13 @@
|
|||||||
padding-left: 40px;
|
padding-left: 40px;
|
||||||
}
|
}
|
||||||
td:not(:first-child),
|
td:not(:first-child),
|
||||||
th:not(:first-child) {
|
th:not(:first-child):not(.text-center) {
|
||||||
|
border-left: 1px solid #ddd;
|
||||||
|
padding-right: 10px !important;
|
||||||
|
padding-left: 10px !important;
|
||||||
|
}
|
||||||
|
td:not(:first-child),
|
||||||
|
th:not(:first-child):not(.text-center) {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
span.sum-net, span.sum-gross {
|
span.sum-net, span.sum-gross {
|
||||||
@@ -19,6 +30,14 @@
|
|||||||
border-top: 2px solid #ddd;
|
border-top: 2px solid #ddd;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@media(min-device-width: $screen-lg-min) {
|
||||||
|
.table-product-overview {
|
||||||
|
td:not(:first-child),
|
||||||
|
th:not(:first-child):not(.text-center) {
|
||||||
|
width: 150px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#sumtoggle {
|
#sumtoggle {
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
|
|||||||
Reference in New Issue
Block a user