Selaa lähdekoodia

ressources liées block third

ouidade 13 tuntia sitten
vanhempi
commit
6cca324965

+ 11 - 4
web/themes/custom/eql/dist/assets/css/bundle.css

@@ -1681,8 +1681,6 @@ svg.ext {
 }
 .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/download.png");
-  min-width: 30px;
-  height: auto;
   padding-right: 1rem;
   margin-right: 1rem;
 }
@@ -1718,8 +1716,6 @@ svg.ext {
 }
 .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/external_link.png");
-  min-width: 30px;
-  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 {
@@ -2895,6 +2891,17 @@ svg.ext {
 .page-node-type-ressource .layout__region--third .block-region-third .block-entity-fieldnodefield-ress .field--name-field-ress .node-type-ressource div ul.links.inline {
   display: none;
 }
+.page-node-type-ressource .layout__region--third .block-region-third .block-entity-fieldnodefield-ress .field--name-field-ress .node-type-ressource.type-les-projets-en-images .field--name-field-images {
+  order: 1;
+  width: 100%;
+}
+.page-node-type-ressource .layout__region--third .block-region-third .block-entity-fieldnodefield-ress .field--name-field-ress .node-type-ressource.type-les-projets-en-images .field--name-field-images .field__item:not(:first-of-type) {
+  display: none;
+}
+.page-node-type-ressource .layout__region--third .block-region-third .block-entity-fieldnodefield-ress .field--name-field-ress .node-type-ressource.type-les-projets-en-images .field--name-field-images img {
+  width: 100%;
+  height: auto;
+}
 .page-node-type-ressource .layout__region--third .block-region-third .block-entity-fieldnodefield-projets-liee {
   order: 1;
 }

+ 4 - 4
web/themes/custom/eql/scss/pages/_actualite.scss

@@ -358,8 +358,8 @@
                         width: fit-content;
                         ::before{
                             content: url("../images/pictos/download.png");
-                            min-width:30px;
-                            height: auto;
+                            // min-width:30px;
+                            // height: auto;
                             padding-right: 1rem;
                             margin-right: 1rem;
                         }
@@ -398,8 +398,8 @@
                             font-weight: 800;
                             &::before{
                                 content: url("../images/pictos/external_link.png");
-                                min-width: 30px;
-                                height: auto;
+                                // min-width: 30px;
+                                // height: auto;
                                 padding-right: 1rem;
                             }
                             svg.ext{

+ 14 - 0
web/themes/custom/eql/scss/pages/_ressource.scss

@@ -499,6 +499,20 @@
                                 }
                             }
                         }
+                        .node-type-ressource.type-les-projets-en-images{
+                            .field--name-field-images{
+                                // display: none;
+                                order: 1;
+                                width: 100%;
+                                .field__item:not(:first-of-type){
+                                    display: none;
+                                }
+                                img{
+                                    width: 100%;
+                                    height: auto;
+                                }
+                            }
+                        }
                     }       
                 }