forked from CGM_Public/pretix_original
* Vendor vue.js * Refactor item_group_by_category to support vouchers * Widget: Show product list * Widget: free prices * Widget: pictures and loading indicator * Widget: First iframe steps * Widget: Do not rerender iframe * Widget: Error handling * Improve widget * Widget: localization tech * Fix invoice style * Voucher attribute and waiting list * Add some iframe chrome * First step to namespaced carts * More isolation steps * More cart isolation things * More cart isolation things * Mobile stuff * Show cart on checkout pages * PayPal and Stripe support * Enable downloads * Locale handling * change text "save URL to this exact page" * Widget: voucher redemption * Widget: CSS * CSS: Responsive * Widget: CSS improvements * Widget: Add embedding code generator * Widget: Error messages and SSL check * First tests * Widget: tests * Don't use IDs in widgets * Widget: static files caching
91 lines
1.8 KiB
SCSS
91 lines
1.8 KiB
SCSS
.cart-row {
|
|
/* Cart grid */
|
|
padding: 10px 0;
|
|
|
|
.count form {
|
|
display: inline;
|
|
}
|
|
.price, .count, .download-desktop {
|
|
text-align: right;
|
|
}
|
|
.price small,
|
|
.availability-box small {
|
|
display: block;
|
|
line-height: 1;
|
|
}
|
|
|
|
&.total {
|
|
border-top: 1px solid $table-border-color;
|
|
}
|
|
|
|
dl {
|
|
padding-left: 20px;
|
|
margin-bottom: 0;
|
|
|
|
dd {
|
|
padding-left: 20px;
|
|
}
|
|
}
|
|
|
|
margin-left: 0;
|
|
margin-right: 0;
|
|
|
|
&>div {
|
|
position: relative;
|
|
min-height: 1px;
|
|
padding-left: ceil(($grid-gutter-width / 2));
|
|
padding-right: floor(($grid-gutter-width / 2));
|
|
float: left;
|
|
}
|
|
.download-mobile {
|
|
display: none;
|
|
width: 100%;
|
|
clear: both;
|
|
}
|
|
.download-desktop {
|
|
display: block;
|
|
width: percentage((4 / $grid-columns));
|
|
}
|
|
.product {
|
|
width: percentage((4 / $grid-columns));
|
|
}
|
|
.count {
|
|
width: percentage((2 / $grid-columns));
|
|
}
|
|
.singleprice, .totalprice {
|
|
width: percentage((3 / $grid-columns));
|
|
}
|
|
&.has-downloads .product {
|
|
width: percentage((5 / $grid-columns));
|
|
}
|
|
.addon-signifier {
|
|
display: inline-block;
|
|
padding-left: 10px;
|
|
font-weight: bold;
|
|
}
|
|
}
|
|
|
|
@media(max-width: $screen-sm-max) {
|
|
.cart-row {
|
|
.download-mobile {
|
|
display: block;
|
|
}
|
|
.download-desktop {
|
|
display: none;
|
|
}
|
|
&.has-downloads .product, .product, .count, .singleprice, .totalprice {
|
|
width: 50%;
|
|
}
|
|
.singleprice {
|
|
clear: both;
|
|
}
|
|
}
|
|
}
|
|
|
|
#cart-deadline-short {
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
.cart-modify {
|
|
margin-left: 10px;
|
|
}
|