Sfoglia il codice sorgente

button que sur path ressources

ouidade 1 giorno fa
parent
commit
a6a0e7bf89

+ 7 - 0
web/themes/custom/eql/dist/assets/css/bundle.css

@@ -95,6 +95,10 @@
   font-style: normal;
 }
 /* Colors used for EQL */
+.path-user .buttons-filtres-ressources {
+  display: none;
+}
+
 .layout-container {
   font-family: "Marianne", sans-serif;
   margin: none;
@@ -4014,6 +4018,9 @@ svg.ext {
 .path-projets .region-content #block-contenudelapageprincipale .layout--onecol .block-region-content .block-views-blockprojets-block-1 .view-projets {
   margin: auto;
 }
+.path-projets .region-content #block-contenudelapageprincipale .layout--onecol .block-region-content .block-views-blockprojets-block-1 .view-projets .buttons-filtres-ressources {
+  display: none;
+}
 .path-projets .region-content #block-contenudelapageprincipale .layout--onecol .block-region-content .block-views-blockprojets-block-1 .view-projets #filtres {
   scroll-margin-top: 10rem;
 }

+ 5 - 1
web/themes/custom/eql/scss/global/_layout.scss

@@ -1,5 +1,9 @@
 
-
+.path-user{
+    .buttons-filtres-ressources{
+        display: none;
+    }
+}
 .layout-container {
     font-family: $font-family-default;
     margin: none;

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

@@ -116,7 +116,7 @@
                             }
 
                             .view-projets{
-                               
+                               .buttons-filtres-ressources{display: none;}
                                 // width: 80%;
                                 margin: auto;
 

+ 4 - 3
web/themes/custom/eql/templates/partials/form.html.twig

@@ -12,8 +12,8 @@
  * @ingroup themeable
  */
 #}
-{% if 'path-ressources' in attributes.class %}
-<div class="buttons-filtres-ressources">
+
+  <div class="buttons-filtres-ressources">
    <button class="button-videos" type="button" style=""><a href="/ressources?field_type_de_media_target_id=681&field_type_de_ressource_target_id=All&field_mots_clefs_target_id=All&field_date_de_parution_value=&combine="> Vidéos</a></button>
 
    <button class="button-podcasts" type="button" style=""><a href="/ressources?field_type_de_media_target_id=686&field_type_de_ressource_target_id=All&field_mots_clefs_target_id=All&field_date_de_parution_value=&combine="> Podcasts</a></button>
@@ -23,7 +23,8 @@
    <button class="button-articles" type="button" style=""><a href="/ressources?field_type_de_media_target_id=682&field_type_de_ressource_target_id=All&field_mots_clefs_target_id=All&field_date_de_parution_value=&combine="> Articles</a></button>
    <button class="button-publications-rapports" type="button" style=""><a href="/ressources?field_type_de_media_target_id=685&field_type_de_ressource_target_id=All&field_mots_clefs_target_id=All&field_date_de_parution_value=&combine="> Publications/rapports</a></button>
 </div>
-{% endif %}
+
+
 
 
 <form{{ attributes }}>