Sfoglia il codice sorgente

picto adresse projet

ouidade 2 anni fa
parent
commit
632222c4f5

+ 6 - 3
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;

+ 79 - 0
web/themes/custom/eql/images/pictos/picto_lieu.svg

@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+   width="9.7085571mm"
+   height="14.110519mm"
+   viewBox="0 0 9.7085571 14.110519"
+   version="1.1"
+   id="svg12671"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:svg="http://www.w3.org/2000/svg">
+  <defs
+     id="defs12668">
+    <clipPath
+       clipPathUnits="userSpaceOnUse"
+       id="clipPath11924">
+      <path
+         d="M 0,0 H 27.5203 V -40 H 0 Z"
+         clip-rule="evenodd"
+         id="path11922" />
+    </clipPath>
+    <clipPath
+       clipPathUnits="userSpaceOnUse"
+       id="clipPath11934">
+      <path
+         d="M 0,-728.83212 H 1260 V 728.83212 H 0 Z"
+         id="path11932" />
+    </clipPath>
+  </defs>
+  <g
+     id="layer1"
+     transform="translate(-93.11088,-92.979589)">
+    <g
+       id="g11914"
+       transform="matrix(0.35277777,0,0,-0.35277777,41.958105,680.58953)">
+      <g
+         id="g11916"
+         transform="translate(145,1665.6661)">
+        <g
+           id="g11918">
+          <g
+             id="g11920"
+             clip-path="url(#clipPath11924)">
+            <g
+               id="g11926"
+               transform="matrix(0.05556,0,0,0.05488,0,-2.19529)">
+              <g
+                 id="g11928">
+                <g
+                   id="g11930" />
+                <g
+                   id="g11946">
+                  <g
+                     clip-path="url(#clipPath11934)"
+                     id="g11944">
+                    <g
+                       transform="translate(0,40)"
+                       id="g11942">
+                      <g
+                         id="g11940">
+                        <g
+                           id="g11938">
+                          <path
+                             d="M 247.684,0 C 384.47,0 495.35,-110.891 495.35,-247.68 c 0,-41.948 -10.458,-82.427 -30.114,-118.459 -0.344,-0.817 -0.745,-1.635 -1.198,-2.437 L 267.504,-717.243 c -8.703,-15.448 -30.942,-15.453 -39.656,-0.01 L 31.0884,-368.587 c -0.724,1.281 -1.3073,2.589 -1.7604,3.906 C 10.1827,-329.019 0,-289.066 0,-247.681 0,-110.894 110.891,-5.3e-4 247.68,-5.3e-4 Z m 0,-45.5307 c -111.646,0 -202.147,-90.5053 -202.147,-202.1463 0,-35.036 8.9011,-68.724 25.6307,-98.599 0.651,-1.161 1.1874,-2.349 1.6145,-3.547 l 174.8938,-309.907 175.44,311.267 c 0.317,0.734 0.677,1.469 1.083,2.188 16.724,29.874 25.631,63.562 25.631,98.598 0,111.64 -90.506,202.1469 -202.147,202.1469 z m 0,-92.8743 c 60.344,0 109.265,-48.922 109.265,-109.271 0,-60.349 -48.921,-109.271 -109.265,-109.271 -60.35,0 -109.271,48.922 -109.271,109.271 0,60.349 48.921,109.271 109.271,109.271 z m 0,-45.531 c -35.203,0 -63.74,-28.536 -63.74,-63.74 0,-35.204 28.536,-63.74 63.74,-63.74 35.204,0 63.74,28.536 63.74,63.74 0,35.204 -28.536,63.74 -63.74,63.74 z"
+                             style="fill:#181715;fill-opacity:1;fill-rule:nonzero;stroke:none"
+                             id="path11936" />
+                        </g>
+                      </g>
+                    </g>
+                  </g>
+                </g>
+              </g>
+            </g>
+          </g>
+        </g>
+      </g>
+    </g>
+  </g>
+</svg>

+ 6 - 3
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;
                                     }
                                 }
                             }