Event index: Increase white-space for products and headlines (#3092)

This commit is contained in:
Richard Schreiber
2023-02-07 15:03:28 +01:00
committed by GitHub
parent 38b8269f14
commit ba2c6e1e58
5 changed files with 20 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
.cart-row {
/* Cart grid */
padding: 10px 0;
padding: 0.75*$line-height-computed 0;
.product>*:last-child {
margin-bottom: 0;
@@ -100,6 +100,9 @@
}
}
.cart .firstchild-in-panel .cart-row:first-child {
padding-top: 0;
}
.cart [role=rowgroup]:last-child {
border-top: 1px solid $table-border-color;
}

View File

@@ -96,9 +96,9 @@
}
&.headline, &.simple {
border-top: 2px solid transparent;
border-top: 1px solid transparent;
&::before {
border-top: 2px solid $table-border-color;
border-top: 1px solid $table-border-color;
}
}
}
@@ -110,14 +110,14 @@ article.item-with-variations {
article.item-with-variations:last-child, .product-row:last-child {
position: relative;
border-bottom: 2px solid transparent;
border-bottom: 1px solid transparent;
&::after {
position: absolute;
bottom: 0;
left: 15px;
width: calc(100% - 30px);
content: '';
border-bottom: 2px solid $table-border-color;
border-bottom: 1px solid $table-border-color;
}
}
article.item-with-variations .product-row:last-child:after {
@@ -146,7 +146,7 @@ article.item-with-variations .product-row:last-child:after {
}
.product-row {
padding: 10px 0;
padding: 0.75*$line-height-computed 0;
.count form {
display: inline;

View File

@@ -1,5 +1,12 @@
@import "../../pretixbase/scss/_contrast.scss";
h1, .h1,
h2, .h2,
h3, .h3 {
margin-top: 2.25 * $line-height-computed;
margin-bottom: 0.75 * $line-height-computed;
}
.page-header {
position: relative;
padding-bottom: 9px;
@@ -150,4 +157,4 @@ footer {
border-top-left-radius: .25em;
border-bottom-left-radius: .25em;
}
}
}

View File

@@ -351,8 +351,8 @@ body.loading .container {
.panel-title a[data-toggle="collapse"], details .panel-title {
display: flex;
padding: 10px 15px;
margin: -10px -15px;
padding: 0.75*$line-height-computed;
margin: -0.75*$line-height-computed;
align-items: center;
justify-content: space-between;
outline: 0;