diff --git a/web/themes/custom/eql/css-compiled/styles.css b/web/themes/custom/eql/css-compiled/styles.css index 5cc66ec..9c6263c 100644 --- a/web/themes/custom/eql/css-compiled/styles.css +++ b/web/themes/custom/eql/css-compiled/styles.css @@ -3063,9 +3063,11 @@ a { justify-content: space-evenly; width: 90%; } .path-node.page-node-type-projet .layout-content .region-content #block-contenudelapageprincipale .layout--threecol-25-50-25 .layout__region--top .top_bottom .block-entity-fieldnodefield-adresse { - padding-left: 1rem; + padding-left: 1.5rem; width: 30%; } .path-node.page-node-type-projet .layout-content .region-content #block-contenudelapageprincipale .layout--threecol-25-50-25 .layout__region--top .top_bottom .block-entity-fieldnodefield-adresse .field--name-field-adresse { + display: flex; + flex-direction: row; margin-top: .83em; } .path-node.page-node-type-projet .layout-content .region-content #block-contenudelapageprincipale .layout--threecol-25-50-25 .layout__region--top .top_bottom .block-entity-fieldnodefield-adresse .field--name-field-adresse .address { margin: auto; @@ -3073,8 +3075,9 @@ a { flex-direction: column; justify-content: start; margin: 0; } - .path-node.page-node-type-projet .layout-content .region-content #block-contenudelapageprincipale .layout--threecol-25-50-25 .layout__region--top .top_bottom .block-entity-fieldnodefield-adresse .field--name-field-adresse::after { - content: ""; } + .path-node.page-node-type-projet .layout-content .region-content #block-contenudelapageprincipale .layout--threecol-25-50-25 .layout__region--top .top_bottom .block-entity-fieldnodefield-adresse .field--name-field-adresse::before { + content: url("../images/pictos/picto_lieu.svg"); + padding-right: 1rem; } .path-node.page-node-type-projet .layout-content .region-content #block-contenudelapageprincipale .layout--threecol-25-50-25 .layout__region--top .top_bottom .block-entity-fieldnodefield-etape-du-projet { padding-left: 1rem; padding-right: 1rem; diff --git a/web/themes/custom/eql/images/pictos/picto_lieu.svg b/web/themes/custom/eql/images/pictos/picto_lieu.svg new file mode 100644 index 0000000..cdd700c --- /dev/null +++ b/web/themes/custom/eql/images/pictos/picto_lieu.svg @@ -0,0 +1,79 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/web/themes/custom/eql/scss/pages/_projet.scss b/web/themes/custom/eql/scss/pages/_projet.scss index 11764ea..f83c2fd 100644 --- a/web/themes/custom/eql/scss/pages/_projet.scss +++ b/web/themes/custom/eql/scss/pages/_projet.scss @@ -96,10 +96,12 @@ width: 90%; .block-entity-fieldnodefield-adresse{ - padding-left: 1rem; + padding-left: 1.5rem; // margin-block-start: .83em; width: 30%; .field--name-field-adresse{ + display: flex; + flex-direction: row; margin-top: .83em; .address{ margin: auto; @@ -112,8 +114,9 @@ // margin-right: 0.3rem; // } } - &::after{ - content: ""; + &::before{ + content: url("../images/pictos/picto_lieu.svg"); + padding-right: 1rem; } } }