render_box: adding option addId + styles more generic, less specific

This commit is contained in:
2021-07-30 10:46:16 +02:00
parent 6dac130844
commit 4cac5f9a4a
10 changed files with 71 additions and 72 deletions

View File

@@ -21,12 +21,7 @@
// styles communs pour tous les bandeaux
div.banner {
.id-number {
font-weight: lighter;
font-size: 50%;
&:before { content: '(n°'; }
&:after { content: ')'; }
}
a.phone,
a.email {
color: white;

View File

@@ -2,7 +2,7 @@
section.chill-entity {
// display inline for render raw
// have no effect for render label, row, bloc !
// have no effect for render label, bloc !
display: inline;
// don't break flex cascade with section tag
@@ -13,8 +13,38 @@ section.chill-entity {
}
// specific rules
// address render_box
div.chill-entity {
.chill-entity {
// used for: entity-person, entity-thirdparty
&.entity-person,
&.entity-thirdparty {
div.entity-label {
div.denomination {
&.h3 {
font-size: 1.3em;
font-weight: 700;
}
a {
text-decoration: none;
}
span.badge {
margin-left: 0.3em;
}
span.id-number {
font-weight: lighter;
font-size: 50%;
margin-left: 0.5em;
&:before { content: '(n°'; }
&:after { content: ')'; }
}
}
p.moreinfo {}
}
div.entity-bloc {}
}
// address render_box
&.entity-address {
div.noaddress {}
div.address {