website/assets/sass/pricing.scss

77 lines
1.3 KiB
SCSS
Raw Permalink Normal View History

2022-12-10 10:37:36 +00:00
.pricing-layout {
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr;
column-gap: 1rem;
}
.forfait-price, .move-price {
font-weight: bold;
2022-12-10 10:37:36 +00:00
}
.operations-container {
grid-column: 2/5;
}
.operations-mosaic {
columns: 2;
grid-gap: 1rem;
2022-12-10 10:37:36 +00:00
}
.operations-category {
page-break-inside: avoid;
2022-12-10 10:37:36 +00:00
}
.operations-table {
// card
2022-12-10 10:37:36 +00:00
border: 1px solid black;
border-radius: 5px;
width: 100%;
border-collapse: separate;
background: lighten($background-dark, 8%);
padding-bottom: .2rem;
2022-12-10 10:37:36 +00:00
th {
opacity: 0.6;
text-align: left;
padding-bottom: .5rem;
margin-bottom: 1rem;
border-bottom: 1px solid gray;
}
tr:nth-child(even) {
background-color: $background-dark;
}
td, th {
padding: .5rem 1rem;
2022-12-10 10:37:36 +00:00
}
.operation-price {
text-align: right;
min-width: 4rem;
// prevent collapse of the prices
2022-12-10 10:37:36 +00:00
}
td.operation-price {
color: $primary;
}
}
@media (max-width: $md-breakpoint) {
.pricing-layout {
grid-template-columns: 1fr;
}
.operations-container {
grid-column: initial;
}
.operations-mosaic {
columns: initial;
}
.operations-category {
margin-bottom: 1rem;
}
}
@media (min-width: $lg-breakpoint) {
.operations-mosaic {
columns: 3;
}
}