Attendee ticket page: Allow to hide prices (#3104)

Co-authored-by: Richard Schreiber <schreiber@rami.io>
This commit is contained in:
Raphael Michel
2023-02-09 14:37:10 +01:00
committed by GitHub
parent fba55f0292
commit 18986caa49
7 changed files with 165 additions and 123 deletions

View File

@@ -64,9 +64,15 @@
.singleprice, .totalprice {
width: percentage((3 / $grid-columns));
}
&.hide-prices .product {
width: percentage((10 / $grid-columns));
}
&.has-downloads .product {
width: percentage((5 / $grid-columns));
}
&.has-downloads.hide-prices .product {
width: percentage((8 / $grid-columns));
}
.addon-signifier {
display: inline-block;
padding-left: 10px;
@@ -103,7 +109,7 @@
.cart .firstchild-in-panel .cart-row:first-child {
padding-top: 0;
}
.cart [role=rowgroup]:last-child {
.cart .cart-rowgroup-total {
border-top: 1px solid $table-border-color;
}
.cart .total strong {
@@ -196,15 +202,23 @@
.totalprice {
width: 50%;
}
.product, &.has-downloads .product {
&.hide-prices .product {
width: 75%;
}
.product, &.has-downloads .product, &.has-downloads.hide-prices .product {
width: 100%;
}
&.has-downloads.hide-prices .download-desktop {
margin-left: 50%;
}
&.total .product {
width: 50%;
}
.count {
clear: both;
width: 25%;
}
&:not(.hide-prices) .count {
clear: both;
text-align: left;
}
.singleprice {