Browse Source

fix bug node id 4

ouidade 3 years ago
parent
commit
0ea8885a94

+ 27 - 11
web/themes/custom/eql/css-compiled/styles.css

@@ -192,9 +192,15 @@ a {
     color: #09398b;
     text-transform: uppercase; }
   .layout__region--second .block-entity-fieldnodefield-textes h4 {
-    text-transform: none !important; }
+    text-transform: none !important;
+    width: 25%; }
+    .layout__region--second .block-entity-fieldnodefield-textes h4 img {
+      width: 100%;
+      height: auto; }
   .layout__region--second .block-entity-fieldnodefield-textes .field--type-text-long {
     padding-right: 2rem; }
+  .layout__region--second .block-entity-fieldnodefield-textes p {
+    margin-top: 0; }
 
 .layout__region--third .block-entity-fieldnodefield-fichiers {
   height: fit-content;
@@ -658,6 +664,20 @@ a {
       color: white;
       background-color: #009ee3;
       text-transform: uppercase; }
+  .node-id-4 .layout__region--second {
+    width: 25%; }
+    .node-id-4 .layout__region--second .block-entity-fieldnodefield-textes {
+      background-color: white; }
+      .node-id-4 .layout__region--second .block-entity-fieldnodefield-textes .field--name-field-titre {
+        font-size: 1.5rem;
+        font-weight: 1000;
+        font-family: 'Source Code Pro';
+        color: #09398b;
+        text-transform: uppercase; }
+      .node-id-4 .layout__region--second .block-entity-fieldnodefield-textes h4 {
+        text-transform: none !important; }
+      .node-id-4 .layout__region--second .block-entity-fieldnodefield-textes .field--type-text-long {
+        padding-right: 2rem; }
 
 .node-id-5 .region-content {
   background: url("../images/pictos/carre-contour-bleu_contact.svg");
@@ -817,18 +837,14 @@ header {
         display: flex;
         flex-direction: column;
         padding: 1rem; }
-      #header-top .region-header-top-left ul li {
-        width: 200px; }
-        #header-top .region-header-top-left ul li a {
-          color: black; }
-        #header-top .region-header-top-left ul li .is-active {
-          color: #009ee3; }
-        #header-top .region-header-top-left ul li :hover {
-          color: #009ee3; }
+      #header-top .region-header-top-left ul li a {
+        color: black; }
+      #header-top .region-header-top-left ul li .is-active {
+        color: #009ee3; }
+      #header-top .region-header-top-left ul li :hover {
+        color: #009ee3; }
     #header-top .region-header-top-left ul div:first-child li div {
       display: none; }
-    #header-top .region-header-top-left ul div:nth-child(2) li div {
-      display: none; }
     #header-top .region-header-top-left :hover ul div:first-child li div {
       display: block;
       background-color: white;

+ 21 - 0
web/themes/custom/eql/scss/pages/_programme.scss

@@ -23,4 +23,25 @@
         }
     
     }
+    .layout__region--second{            // paragraphe texte
+        width: 25%;
+        .block-entity-fieldnodefield-textes{
+            
+            background-color: $white;
+            .field--name-field-titre{
+                font-size: 1.5rem;
+                font-weight: 1000;
+                font-family: 'Source Code Pro';
+                color: $blue-dark;
+                text-transform: uppercase;
+            }
+            h4{
+                text-transform: none !important;
+            }
+            .field--type-text-long{
+                padding-right: 2rem;
+            }
+        }
+        
+    }
 }

+ 8 - 0
web/themes/custom/eql/scss/pages/_static.scss

@@ -58,10 +58,18 @@
         }
         h4{
             text-transform: none !important;
+            width: 25%;
+            img{
+                width: 100%;
+                height: auto;
+            }
         }
         .field--type-text-long{
             padding-right: 2rem;
         }
+        p{
+            margin-top: 0;
+        }
     }
     
 }

+ 4 - 4
web/themes/custom/eql/scss/partials/_header.scss

@@ -68,7 +68,7 @@ header{
                 // padding-right: 2rem;
             }
             li{
-               width: 200px;
+            //    width: 200px;
                 a {
                     color: $black;
                 }
@@ -83,9 +83,9 @@ header{
         ul div:first-child li div{
             display: none;
         }
-        ul div:nth-child(2) li div{
-            display: none;
-        }
+        // ul div:nth-child(2) li div{
+        //     display: none;
+        // }
         // ul:is(.ul1 .sous-liste .ul2){
         //     display: none;
         // }