mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +00:00
render_box: adding option addId + styles more generic, less specific
This commit is contained in:
@@ -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;
|
||||
|
@@ -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 {
|
||||
|
Reference in New Issue
Block a user