Files
pretix_cgo/src/pretix/static/pretixpresale/scss/_cart.scss
Raphael Michel 2c9b2620ea Add company and address fields to attendees (#1633)
* Add company and address fields to attendees

* Update src/pretix/control/templates/pretixcontrol/event/settings.html

Co-Authored-By: Martin Gross <gross@rami.io>

Co-authored-by: Martin Gross <gross@rami.io>
2020-04-02 14:41:09 +02:00

108 lines
2.0 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:not(.toplevel) {
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;
}
dl {
margin: 5px 0;
dt {
font-weight: normal;
margin-top: 5px;
}
}
}
.apply-voucher {
input {
height: 32px;
}
}
@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;
}
.btn-invisible {
opacity: 0 !important;
}