render_box address: new options and render modes

This commit is contained in:
2021-07-30 14:17:16 +02:00
parent 08cd6c81f2
commit 31c5c8b52a
5 changed files with 153 additions and 48 deletions

View File

@@ -47,27 +47,33 @@ section.chill-entity {
div.entity-bloc {}
}
// address render_box
// used for addresses
&.entity-address {
div.noaddress {}
div.address {
margin: 0.7em 0;
.address {
font-size: 98%;
font-variant: small-caps;
&.multiline {
margin: 0.7em 0;
p {
display: block;
}
}
&.delimiter {
p:not(:first-child):before {
content: '';
}
}
p {
display: inline-block;
margin: 0 0 0 1.5em;
text-indent: -1.5em;
&.street {
&.street1 {}
&.street2, &.streetnumber {}
span.streetnumber {
&::before { content: ", "; }
}
}
&.postalcode {
span.code {}
@@ -76,6 +82,10 @@ section.chill-entity {
&.country {}
}
}
span.address-since {}
.noaddress {}
span.address-since,
span.address-until {}
}
}