mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-26 08:35:00 +00:00
render_box address: new options and render modes
This commit is contained in:
@@ -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 {}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user