Explorar el Código

fix perte css page actu

ouidade hace 3 años
padre
commit
9237a38979

+ 125 - 0
web/themes/custom/eql/css-compiled/styles.css

@@ -697,20 +697,144 @@ a {
         object-fit: cover; }
 
 .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--first {
+  display: flex;
+  justify-content: end;
   margin-top: 18rem; }
+  .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--first .block-entity-fieldnodefield-textes {
+    display: flex;
+    width: 50%;
+    background-color: white;
+    padding-right: 2rem; }
+    .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--first .block-entity-fieldnodefield-textes .field--name-field-titre {
+      display: flex;
+      font-size: 1rem;
+      font-weight: 1000;
+      color: #09398b;
+      border-bottom: 1px solid #009ee3;
+      padding-bottom: 0.5rem;
+      padding-right: 1rem; }
+      .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--first .block-entity-fieldnodefield-textes .field--name-field-titre:hover {
+        text-decoration: underline; }
 
 .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--second {
   flex: 0 1 50%;
   margin-top: 18rem; }
   .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--second .block-region-second {
     width: 90%; }
+    .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--second .block-region-second .block-entity-fieldnodefield-textes {
+      background-color: white; }
+      .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--second .block-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; }
+      .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--second .block-region-second .block-entity-fieldnodefield-textes h4 {
+        text-transform: none !important; }
+        .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--second .block-region-second .block-entity-fieldnodefield-textes h4 img {
+          width: 100%;
+          height: auto; }
+      .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--second .block-region-second .block-entity-fieldnodefield-textes .field--type-text-long {
+        padding-right: 2rem; }
+      .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--second .block-region-second .block-entity-fieldnodefield-textes p {
+        margin-top: 0; }
     .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--second .block-region-second .block-entity-fieldnodebody .panel-body #outputtext {
       overflow-y: visible !important; }
 
 .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third {
   margin-top: 18rem; }
   .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third {
+    display: flex;
+    flex-direction: column;
     width: 65%; }
+    .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .block-entity-fieldnodefield-fichiers {
+      height: fit-content;
+      border: 2px solid #009ee3;
+      background-color: white; }
+    .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .field--name-field-fichiers {
+      min-height: 4rem;
+      background: white;
+      color: #009ee3;
+      padding-left: 1rem;
+      padding-top: 1rem;
+      margin-bottom: 1rem; }
+      .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .field--name-field-fichiers span:nth-of-type(2) {
+        display: none; }
+      .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .field--name-field-fichiers .file--mime-application-pdf {
+        height: inherit;
+        margin: auto; }
+        .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .field--name-field-fichiers .file--mime-application-pdf ::before {
+          content: url("../images/pictos/noun_Download_file_307900.svg");
+          min-width: 50px;
+          height: auto;
+          padding-right: 1rem; }
+        .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .field--name-field-fichiers .file--mime-application-pdf a {
+          hyphens: auto;
+          display: inline-flex;
+          align-items: center;
+          color: #009ee3;
+          font-weight: 800; }
+    .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .block-entity-fieldnodefield-liens .field--name-field-liens .field__item {
+      margin: auto;
+      height: fit-content;
+      border: 2px solid #009ee3;
+      min-height: 4rem;
+      background: white;
+      color: #009ee3;
+      padding-left: 1rem;
+      padding-top: 1rem;
+      margin-bottom: 1rem; }
+    .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .block-entity-fieldnodefield-liens .field--name-field-liens a {
+      display: inline-flex;
+      align-items: center;
+      color: #009ee3;
+      font-weight: 800; }
+      .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .block-entity-fieldnodefield-liens .field--name-field-liens a::before {
+        content: url("../images/pictos/noun_External Link_674151.svg");
+        min-width: 50px;
+        height: auto;
+        padding-right: 1rem; }
+      .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .block-entity-fieldnodefield-liens .field--name-field-liens a svg.ext {
+        display: none; }
+    .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .block-entity-fieldnodefield-ress {
+      margin-top: 3rem; }
+      .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .block-entity-fieldnodefield-ress h2 {
+        font-size: 0.8rem;
+        color: black;
+        font-weight: 900; }
+      .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource {
+        display: flex;
+        flex-direction: column;
+        border: 2px solid #009ee3;
+        padding: 1rem;
+        height: fit-content;
+        margin-bottom: 1rem;
+        background-color: white; }
+        .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource:first-of-type {
+          border-top: 1px solid #009ee3;
+          padding-top: 1rem; }
+          .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource:first-of-type::after {
+            content: url("../images/pictos/noun_Arrow_3771902.svg");
+            align-self: end; }
+        .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource .field--name-title a {
+          color: black;
+          font-size: 1.4rem;
+          font-weight: 600; }
+        .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource .field--name-field-auteur-s- {
+          font-weight: 800; }
+          .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource .field--name-field-auteur-s- p {
+            margin: 0; }
+          .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource .field--name-field-auteur-s- .field__label {
+            display: none; }
+        .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource .field--name-field-edition p {
+          margin: 0; }
+        .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource .field--name-field-edition .field__label {
+          display: none; }
+        .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource .field--name-field-images {
+          width: 50%; }
+          .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource .field--name-field-images img {
+            width: 100%;
+            height: auto; }
 
 .node-id-35 .region-content {
   background: url("../images/pictos/carre-contour-bleu_gouvernance.svg");
@@ -1064,6 +1188,7 @@ a {
     display: none;
     height: inherit; }
   .node-id-40 .layout__region--top .block-region-top .block-entity-fieldnodetitle .field--name-title {
+    background-color: white !important;
     color: #009ee3; }
 
 /*partials*/

+ 183 - 1
web/themes/custom/eql/scss/pages/_actualite.scss

@@ -56,7 +56,29 @@
             }                       
         }
         .layout__region--first{
+            display: flex;
+            justify-content: end;
             margin-top: 18rem;
+            .block-entity-fieldnodefield-textes{
+                display: flex;
+                width: 50%;
+                background-color: $white;
+                padding-right: 2rem;
+                   
+                .field--name-field-titre{
+                    display: flex;
+                    font-size: 1rem;
+                    font-weight: 1000;
+                    color: $blue-dark;
+                    border-bottom: 1px solid $blue-light;
+                    padding-bottom: 0.5rem;
+                    padding-right: 1rem;
+    
+                    &:hover{
+                        text-decoration: underline;
+                    }
+                }
+            }
         }
         .layout__region--second{ 
             // grid-row: 3; 
@@ -64,6 +86,32 @@
             margin-top: 18rem;
             .block-region-second{
                 width: 90%;
+                .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;
+                     
+                        img{
+                            width: 100%;
+                            height: auto;
+                        }
+                    }
+                    .field--type-text-long{
+                        padding-right: 2rem;
+                    }
+                    p{
+                        margin-top: 0;
+                    }
+                }
+                
                 .block-entity-fieldnodebody{
                     
                     .panel-body{
@@ -79,9 +127,143 @@
             // grid-row: 4;
             margin-top: 18rem;
             .block-region-third{
-               width: 65%;
+                display: flex;
+                flex-direction: column;
+                width: 65%;                
+                .block-entity-fieldnodefield-fichiers{
+                    height: fit-content;
+                    border: 2px solid $blue-light;
+                    background-color: $white;
+            
+                }         
+                .field--name-field-fichiers{
+                    min-height: 4rem;
+                    background: $white;
+                    color: $blue-light;
+                    padding-left: 1rem;
+                    padding-top: 1rem;
+                    margin-bottom: 1rem;
+            
+                    span:nth-of-type(2){
+                        display: none;
+                    }
+                    
+                    .file--mime-application-pdf{    
+                        height: inherit;      
+                        margin: auto;  
+                        ::before{
+                            content: url("../images/pictos/noun_Download_file_307900.svg");
+                            min-width:50px;
+                            height: auto;
+                            padding-right: 1rem;
+                        }
+                        a{
+                            hyphens: auto;
+                            display: inline-flex;
+                            align-items: center;
+                            color: $blue-light;
+                            font-weight: 800;
+                            // max-width: 80px ;
+                        }
+                    }
+            
+                }
+                .block-entity-fieldnodefield-liens{
+                    .field--name-field-liens{
+                        .field__item{
+                            margin: auto;  
+                            height: fit-content;
+                            border: 2px solid $blue-light;
+                            min-height: 4rem;
+                            background: $white;
+                            color: $blue-light;
+                            padding-left: 1rem;
+                            padding-top: 1rem;
+                            margin-bottom: 1rem;
+                        }
+                        a{
+                            display: inline-flex;
+                            align-items: center;
+                            color: $blue-light;
+                            font-weight: 800;
+                            &::before{
+                                content: url("../images/pictos/noun_External Link_674151.svg");
+                                min-width: 50px;
+                                height: auto;
+                                padding-right: 1rem;
+                            }
+                            svg.ext{
+                                display: none;
+                            }
+                        }
+                    }
+                
+                }
+               
+            
+                .block-entity-fieldnodefield-ress{
+                    margin-top: 3rem;        
+            
+                    h2{
+                        font-size: 0.8rem;
+                        color: $black;
+                        font-weight: 900;
+                    }
+            
+                    .node-type-ressource{
+                        display: flex;
+                        flex-direction: column;
+                        border: 2px solid $blue-light;
+                        padding: 1rem;
         
+                        height: fit-content;
+                        margin-bottom: 1rem;
+                        background-color: $white;
+                        &:first-of-type{
+                            border-top: 1px solid $blue-light;
+                            padding-top: 1rem;
+                            &::after{
+                                content: url("../images/pictos/noun_Arrow_3771902.svg");
+                                align-self: end;
+                            }
+                        }
+                        .field--name-title{
+                            a{
+                                color: $black;
+                                font-size: 1.4rem;
+                                font-weight: 600;
+        
+                            }
+                        }
+                        .field--name-field-auteur-s-{
+                            font-weight: 800;
+                            p{
+                                margin: 0;
+                            }
+                            .field__label{
+                                display:none;
+                            }
+                        }
+                        .field--name-field-edition{
+                            p{
+                                margin: 0;
+                            }
+                            .field__label{
+                                display:none;
+                            }
+                        }
+                        .field--name-field-images{
+                            width: 50%;
+                            img{
+                                width: 100%;
+                                height: auto;
+                            }
+                        }
+                    }
+                }
+            
             }
+            
         
         }
     }

+ 6 - 2
web/themes/custom/eql/scss/pages/_annuaire-de-ressources.scss → web/themes/custom/eql/scss/pages/_annuaire-de-recherche.scss

@@ -14,8 +14,9 @@
         
             }
             .block-entity-fieldnodetitle{
+                
                 .field--name-title{
-
+                    background-color: $white !important;
                     color: $blue-light;
 
                 }
@@ -24,4 +25,7 @@
     
     }
 
-}
+
+
+}
+

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

@@ -32,7 +32,7 @@
 @import "pages/_toutesressources";
 @import "pages/_ressource";
 @import "pages/_offreDeService";
-@import "pages/_annuaire-de-ressources";
+@import "pages/_annuaire-de-recherche";
 
 
 /*partials*/