ouidade před 3 roky
rodič
revize
481d5eb8ab

+ 8 - 3
web/themes/custom/eql/css-compiled/styles.css

@@ -250,7 +250,7 @@ a {
       .block-views-blockactus-blocks-pages-block-1 .view-content .node-type-actualite a {
         color: white; }
 
-.field--type-link {
+.layout--onecol .field--type-link {
   display: block;
   float: right;
   width: fit-content;
@@ -261,11 +261,11 @@ a {
   background-color: white;
   border: 2px solid #009ee3;
   list-style: none; }
-  .field--type-link a {
+  .layout--onecol .field--type-link a {
     text-transform: uppercase;
     font-weight: 700;
     color: #009ee3; }
-  .field--type-link a::after {
+  .layout--onecol .field--type-link a::after {
     display: inline-block;
     content: url("../../images/pictos/polygon2.svg"); }
 
@@ -304,6 +304,11 @@ a {
         font-size: 1.5rem;
         width: 110%; }
 
+.paragraph--type--partenaire .field--name-field-logo {
+  display: block;
+  width: 30%;
+  float: left; }
+
 /*partials*/
 .layout-container {
   position: relative; }

+ 23 - 21
web/themes/custom/eql/scss/pages/_home.scss

@@ -84,30 +84,32 @@
 // }
 
 // bouton voir toutes actus du bandeau bleu
-
-.field--type-link {
-    display: block;
-    float: right;
-    width: fit-content;
-    height: fit-content;
-    padding: 0.4rem 1rem;
-    font-size: 0.8rem;
-    margin: 0;
-    background-color: $white;
-    border: 2px solid $blue-light;  
-    list-style: none; 
-    a{
-        text-transform: uppercase;
-        font-weight: 700;
-        color: $blue-light;
-    } 
-    a::after{
-        display: inline-block;
-        content: url("../../images/pictos/polygon2.svg");
-
+.layout--onecol{
+    .field--type-link {
+        display: block;
+        float: right;
+        width: fit-content;
+        height: fit-content;
+        padding: 0.4rem 1rem;
+        font-size: 0.8rem;
+        margin: 0;
+        background-color: $white;
+        border: 2px solid $blue-light;  
+        list-style: none; 
+        a{
+            text-transform: uppercase;
+            font-weight: 700;
+            color: $blue-light;
+        } 
+        a::after{
+            display: inline-block;
+            content: url("../../images/pictos/polygon2.svg");
+    
+        }
     }
 }
 
+
 // boutons en savoir plus pour lien vers pages statiques
 
 .view-display-id-block_2{

+ 26 - 0
web/themes/custom/eql/scss/pages/_partenaires.scss

@@ -0,0 +1,26 @@
+
+
+
+.field--name-field-partenaires{
+    display: flex;
+    flex-direction: column;
+    .paragraph--type--partenaire{
+
+        .field--name-field-logo{
+            display: block;
+            width: 30%;
+            height: inherit;
+            float: left;
+        }
+        .field--name-field-titre{
+            clear: both;
+            width: 70%;
+            font-weight: 800;
+        }
+        .field--name-field-texte{
+            width: 70%;
+        }
+    
+    }
+    
+}

+ 1 - 0
web/themes/custom/eql/scss/styles.scss

@@ -19,6 +19,7 @@
 // @import "pages/off_canvas_page_wrapper";
 @import "pages/_static";
 @import "pages/_home";
+@import "pages/_partenaires";
 
 
 /*partials*/