mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-24 00:23:50 +00:00
render box address, remove macro address, refactoring (wip)
This commit is contained in:
@@ -11,3 +11,38 @@ section.chill-entity {
|
||||
flex-grow: 1; flex-shrink: 1; flex-basis: auto;
|
||||
}
|
||||
}
|
||||
|
||||
// specific rules
|
||||
// address render_box
|
||||
div.chill-entity {
|
||||
&.entity-address {
|
||||
div.noaddress {}
|
||||
div.address {
|
||||
margin: 0.7em 0;
|
||||
font-size: 98%;
|
||||
font-variant: small-caps;
|
||||
|
||||
&.multiline {
|
||||
p {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
p {
|
||||
display: inline-block;
|
||||
margin: 0 0 0 1.5em;
|
||||
text-indent: -1.5em;
|
||||
|
||||
&.street {
|
||||
&.street1 {}
|
||||
&.street2, &.streetnumber {}
|
||||
}
|
||||
&.postalcode {
|
||||
span.code {}
|
||||
span.name {}
|
||||
}
|
||||
&.country {}
|
||||
}
|
||||
}
|
||||
span.address-since {}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user