forked from CGM_Public/pretix_original
Order overview: Make table easier to read
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
<th>{% trans "Product" %}</th>
|
||||
<th>{% trans "Canceled" %}¹</th>
|
||||
<th>{% trans "Expired" %}</th>
|
||||
<th colspan="3">{% trans "Purchased" %}</th>
|
||||
<th colspan="3" class="text-center">{% trans "Purchased" %}</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th></th>
|
||||
|
||||
@@ -1,4 +1,9 @@
|
||||
.table-product-overview {
|
||||
|
||||
td:last-child, th:last-child {
|
||||
border-right: 1px solid #ddd;
|
||||
}
|
||||
|
||||
.item.categorized td:first-child {
|
||||
padding-left: 20px;
|
||||
}
|
||||
@@ -9,7 +14,13 @@
|
||||
padding-left: 40px;
|
||||
}
|
||||
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;
|
||||
}
|
||||
span.sum-net, span.sum-gross {
|
||||
@@ -19,6 +30,14 @@
|
||||
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 {
|
||||
margin-top: 20px;
|
||||
|
||||
Reference in New Issue
Block a user