Browse Source

fix bug sur home

ouidade 3 years ago
parent
commit
e812fda99d
24 changed files with 160 additions and 51 deletions
  1. 20 20
      web/themes/custom/eql/css-compiled/styles.css
  2. BIN
      web/themes/custom/eql/images/logos/01_ministere-de-la-culture.jpg
  3. BIN
      web/themes/custom/eql/images/logos/02_ministere-charge-du-logement.jpg
  4. BIN
      web/themes/custom/eql/images/logos/04_cite-de-l-architecture-et-du-patrimoine.jpg
  5. BIN
      web/themes/custom/eql/images/logos/05_puca.jpg
  6. BIN
      web/themes/custom/eql/images/logos/06_MIQCP.jpg
  7. BIN
      web/themes/custom/eql/images/logos/07_caue.jpg
  8. BIN
      web/themes/custom/eql/images/logos/08_reseau-des-mainsons-de-l-architecture.jpg
  9. BIN
      web/themes/custom/eql/images/logos/09_ordre-des-architectes.jpg
  10. BIN
      web/themes/custom/eql/images/logos/10_caisse-des-depots.jpg
  11. BIN
      web/themes/custom/eql/images/logos/11_l-union-sociale-pour-l-habitat.jpg
  12. BIN
      web/themes/custom/eql/images/logos/12_action-logement.jpg
  13. BIN
      web/themes/custom/eql/images/logos/13_ANCT.jpg
  14. BIN
      web/themes/custom/eql/images/logos/14_reseaun-national-des-amenageurs.jpg
  15. 2 0
      web/themes/custom/eql/images/logos/logos_EQL.sla
  16. 2 0
      web/themes/custom/eql/images/logos/logos_EQL_autosave_29_11_2021_14_17.sla
  17. BIN
      web/themes/custom/eql/images/pictos/noun_Arrow_3771902.png
  18. 43 0
      web/themes/custom/eql/images/pictos/noun_Loupe_337697.svg
  19. 60 0
      web/themes/custom/eql/images/pictos/picto_faq.svg
  20. BIN
      web/themes/custom/eql/images/pictos/polygon2.png
  21. BIN
      web/themes/custom/eql/images/pictos/polygon2.svg
  22. 30 29
      web/themes/custom/eql/scss/pages/_faq.scss
  23. 2 1
      web/themes/custom/eql/scss/pages/_home.scss
  24. 1 1
      web/themes/custom/eql/scss/pages/_toutesactualites.scss

+ 20 - 20
web/themes/custom/eql/css-compiled/styles.css

@@ -404,7 +404,8 @@ a {
     display: grid;
     grid-template-columns: 1fr repeat(4, 2fr) 1fr;
     margin: auto;
-    padding-top: 2rem; }
+    padding-top: 2rem;
+    padding-bottom: 4rem; }
     .block-views-blockactus-blocks-pages-block-1 .view-content .views-row:nth-of-type(1) {
       grid-column: 2; }
     .block-views-blockactus-blocks-pages-block-1 .view-content .node-type-actualite {
@@ -449,7 +450,7 @@ a {
         .block-views-blockactus-blocks-pages-block-1 .view-content .node-type-actualite .inline.links a {
           display: none; }
       .block-views-blockactus-blocks-pages-block-1 .view-content .node-type-actualite .field--name-field-actu-type {
-        padding-top: 2rem; }
+        padding-top: 1rem; }
 
 .block-block-content.block-block-content3ee1f633-aaa7-4b4c-a42a-02206e26d3a2 {
   display: grid;
@@ -659,7 +660,7 @@ a {
             .path-actualites .block-region-content .block-views .node-type-actualite div:first-child .inline.links a {
               display: none; }
           .path-actualites .block-region-content .block-views .node-type-actualite div:first-child .field--name-field-actu-type {
-            padding-top: 2rem; }
+            padding-top: 1rem; }
 
 .node-id-4 {
   background: url("../images/pictos/carre-contour-bleu_programme.svg");
@@ -693,25 +694,24 @@ a {
     background-color: #009ee3;
     text-transform: uppercase; }
 
-.block-region-content {
+.block-views-blockfaq-block-1 {
   display: grid;
   grid-template-columns: 1fr repeat(4, 2fr) 1fr; }
-
-.block-views-blockfaq-block-1 {
-  grid-column: 2 / span 3; }
-  .block-views-blockfaq-block-1 .node-type-question_reponse {
-    border-bottom: 1px solid #009ee3; }
-  .block-views-blockfaq-block-1 .field--name-title {
-    display: none; }
-  .block-views-blockfaq-block-1 .field--name-field-question p {
-    font-family: 'Source Code Pro';
-    font-weight: 500;
-    color: #09398b;
-    font-size: 1.5rem; }
-    .block-views-blockfaq-block-1 .field--name-field-question p:after {
-      display: inline-flex;
-      content: url('data:image/svg+xml,<svg width="40" height="20" xmlns="http://www.w3.org/2000/svg" version="1.1"><polyline points="71.9,49 24.3,49 24.3,51 71.9,51 58.1,64.8 59.5,66.2 75.7,50 59.5,33.8 58.1,35.2" transform="scale(0.5) translate(0,-25)"  rotate="-45" fill="rgb(0,158,227)" stroke="rgb(0,158,227)" stroke-width="0.7"/></svg>');
-      justify-self: flex-end; }
+  .block-views-blockfaq-block-1 div:first-child {
+    grid-column: 2 / span 3; }
+    .block-views-blockfaq-block-1 div:first-child .node-type-question_reponse {
+      border-bottom: 1px solid #009ee3; }
+    .block-views-blockfaq-block-1 div:first-child .field--name-title {
+      display: none; }
+    .block-views-blockfaq-block-1 div:first-child .field--name-field-question p {
+      font-family: 'Source Code Pro';
+      font-weight: 500;
+      color: #09398b;
+      font-size: 1.5rem; }
+      .block-views-blockfaq-block-1 div:first-child .field--name-field-question p:after {
+        display: inline-flex;
+        content: url('data:image/svg+xml,<svg width="40" height="20" xmlns="http://www.w3.org/2000/svg" version="1.1"><polyline points="71.9,49 24.3,49 24.3,51 71.9,51 58.1,64.8 59.5,66.2 75.7,50 59.5,33.8 58.1,35.2" transform="scale(0.5) translate(0,-25)"  rotate="-45" fill="rgb(0,158,227)" stroke="rgb(0,158,227)" stroke-width="0.7"/></svg>');
+        justify-self: flex-end; }
 
 /*partials*/
 .layout-container {

BIN
web/themes/custom/eql/images/logos/01_ministere-de-la-culture.jpg


BIN
web/themes/custom/eql/images/logos/02_ministere-charge-du-logement.jpg


BIN
web/themes/custom/eql/images/logos/04_cite-de-l-architecture-et-du-patrimoine.jpg


BIN
web/themes/custom/eql/images/logos/05_puca.jpg


BIN
web/themes/custom/eql/images/logos/06_MIQCP.jpg


BIN
web/themes/custom/eql/images/logos/07_caue.jpg


BIN
web/themes/custom/eql/images/logos/08_reseau-des-mainsons-de-l-architecture.jpg


BIN
web/themes/custom/eql/images/logos/09_ordre-des-architectes.jpg


BIN
web/themes/custom/eql/images/logos/10_caisse-des-depots.jpg


BIN
web/themes/custom/eql/images/logos/11_l-union-sociale-pour-l-habitat.jpg


BIN
web/themes/custom/eql/images/logos/12_action-logement.jpg


BIN
web/themes/custom/eql/images/logos/13_ANCT.jpg


BIN
web/themes/custom/eql/images/logos/14_reseaun-national-des-amenageurs.jpg


File diff suppressed because it is too large
+ 2 - 0
web/themes/custom/eql/images/logos/logos_EQL.sla


File diff suppressed because it is too large
+ 2 - 0
web/themes/custom/eql/images/logos/logos_EQL_autosave_29_11_2021_14_17.sla


BIN
web/themes/custom/eql/images/pictos/noun_Arrow_3771902.png


+ 43 - 0
web/themes/custom/eql/images/pictos/noun_Loupe_337697.svg

@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   version="1.1"
+   x="0px"
+   y="0px"
+   viewBox="0 0 100 125"
+   style="enable-background:new 0 0 100 100;"
+   xml:space="preserve"
+   id="svg8"
+   sodipodi:docname="noun_Loupe_337697.svg"
+   inkscape:version="1.0.2 (e86c870879, 2021-01-15)"><metadata
+     id="metadata14"><rdf:RDF><cc:Work
+         rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs
+     id="defs12" /><sodipodi:namedview
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1"
+     objecttolerance="10"
+     gridtolerance="10"
+     guidetolerance="10"
+     inkscape:pageopacity="0"
+     inkscape:pageshadow="2"
+     inkscape:window-width="1920"
+     inkscape:window-height="1015"
+     id="namedview10"
+     showgrid="false"
+     inkscape:zoom="6.92"
+     inkscape:cx="50"
+     inkscape:cy="74.060694"
+     inkscape:window-x="0"
+     inkscape:window-y="0"
+     inkscape:window-maximized="1"
+     inkscape:current-layer="svg8" /><path
+     d="M91.7,90.5L64.4,63.2c5.3-5.8,8.5-13.4,8.5-21.8c0-17.9-14.6-32.4-32.4-32.4S8,23.4,8,41.3s14.6,32.4,32.4,32.4  c8.4,0,16.1-3.2,21.9-8.5l27.3,27.3L91.7,90.5z M11,41.3c0-16.2,13.2-29.4,29.4-29.4s29.4,13.2,29.4,29.4S56.6,70.8,40.4,70.8  S11,57.6,11,41.3z"
+     id="path2" /></svg>

File diff suppressed because it is too large
+ 60 - 0
web/themes/custom/eql/images/pictos/picto_faq.svg


BIN
web/themes/custom/eql/images/pictos/polygon2.png


BIN
web/themes/custom/eql/images/pictos/polygon2.svg


+ 30 - 29
web/themes/custom/eql/scss/pages/_faq.scss

@@ -1,36 +1,37 @@
 
-.block-region-content{
+.block-views-blockfaq-block-1{
     display: grid;
     grid-template-columns: 1fr repeat(4, 2fr) 1fr;
-}
-.block-views-blockfaq-block-1{
-    grid-column: 2 / span 3;
-    // width: 70%;
-    // margin: auto;
-    .node-type-question_reponse{
-        border-bottom: 1px solid $blue-light;
-        }
-        .field--name-title{
-            display: none;
-                // font-family: 'Source Code Pro' !important;
-                // font-weight: 500 !important;
-                // color: $blue-dark !important;
-            
-             
-        }
-        .field--name-field-question{
-            p{
-                font-family: 'Source Code Pro' ;
-                font-weight: 500 ;
-                color: $blue-dark ;
-                font-size: 1.5rem;
-                &:after{
-                    display:inline-flex;
-                    content: url('data:image/svg+xml,<svg width="40" height="20" xmlns="http://www.w3.org/2000/svg" version="1.1"><polyline points="71.9,49 24.3,49 24.3,51 71.9,51 58.1,64.8 59.5,66.2 75.7,50 59.5,33.8 58.1,35.2" transform="scale(0.5) translate(0,-25)"  rotate="-45" fill="rgb(0,158,227)" stroke="rgb(0,158,227)" stroke-width="0.7"/></svg>');
-                    justify-self: flex-end;
-                }
+    div:first-child{
+        grid-column: 2 / span 3;
+        // width: 70%;
+        // margin: auto;
+        .node-type-question_reponse{
+            border-bottom: 1px solid $blue-light;
             }
-
+            .field--name-title{
+                display: none;
+                    // font-family: 'Source Code Pro' !important;
+                    // font-weight: 500 !important;
+                    // color: $blue-dark !important;
+                
+                 
+            }
+            .field--name-field-question{
+                p{
+                    font-family: 'Source Code Pro' ;
+                    font-weight: 500 ;
+                    color: $blue-dark ;
+                    font-size: 1.5rem;
+                    &:after{
+                        display:inline-flex;
+                        content: url('data:image/svg+xml,<svg width="40" height="20" xmlns="http://www.w3.org/2000/svg" version="1.1"><polyline points="71.9,49 24.3,49 24.3,51 71.9,51 58.1,64.8 59.5,66.2 75.7,50 59.5,33.8 58.1,35.2" transform="scale(0.5) translate(0,-25)"  rotate="-45" fill="rgb(0,158,227)" stroke="rgb(0,158,227)" stroke-width="0.7"/></svg>');
+                        justify-self: flex-end;
+                    }
+                }
     
+        
+        }
     }
 }
+

+ 2 - 1
web/themes/custom/eql/scss/pages/_home.scss

@@ -186,6 +186,7 @@
         grid-template-columns: 1fr repeat(4, 2fr) 1fr;
         margin: auto;
         padding-top: 2rem;
+        padding-bottom: 4rem;
         .views-row:nth-of-type(1) { grid-column: 2; }
 
         .node-type-actualite{
@@ -242,7 +243,7 @@
                 // }
             }
             .field--name-field-actu-type{
-                padding-top: 2rem;
+                padding-top: 1rem;
             }
         }
     }

+ 1 - 1
web/themes/custom/eql/scss/pages/_toutesactualites.scss

@@ -78,7 +78,7 @@
                         // }
                     }
                     .field--name-field-actu-type{
-                        padding-top: 2rem;
+                        padding-top: 1rem;
                     }
                 }
             }

Some files were not shown because too many files changed in this diff