Kevin il y a 4 ans
Parent
commit
5a031a63e5

Fichier diff supprimé car celui-ci est trop grand
+ 24 - 10
web/themes/custom/popsu_colloque/css-compiled/index.css


Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
web/themes/custom/popsu_colloque/css-compiled/index.min.css


+ 25 - 9
web/themes/custom/popsu_colloque/css/components/slides/slides.scss

@@ -1,3 +1,23 @@
+@media screen and (min-width: 576px) {
+  #block-views-block-slide-programme-block-1,
+  #block-views-block-dernieres-publications-block-1{
+    .views{
+      section{
+        .head{
+          display: flex!important;
+          width: 100%;
+          justify-content: space-between;
+          align-items: center;
+          .more_link{
+            margin: 0;
+
+          }
+        }
+      }
+    }
+  }
+}
+
 #block-views-block-slide-programme-block-1{
   .__slide{
     article{
@@ -6,11 +26,6 @@
   }
 }
 
-#block-views-block-dernieres-publications-block-1{
-  .__media{
-    padding: 1rem 0;
-  }
-}
 #block-views-block-slide-programme-block-1,
 #block-views-block-dernieres-publications-block-1{
   section:not(.wrap_head){
@@ -19,10 +34,11 @@
   .views{
     section{
       .head{
-        display: flex;
-        width: 100%;
-        justify-content: space-between;
-        align-items: center;
+        display: block;
+        .more_link{
+          margin: 0.5rem 0;
+          width: fit-content;
+        }
       }
       .thumbnails{
         margin: 1rem;

+ 36 - 14
web/themes/custom/popsu_colloque/css/components/thumbnails/thumbnails.scss

@@ -10,20 +10,6 @@
    a{
      display: block;
      height: 100%;
-     & > .__wrap{
-       padding: 1rem;
-     }
-   }
-   .__media{
-     margin-right: 1rem;
-     figure{
-       height: 100%;
-       img{
-         width: 100%;
-         height: 100%;
-         object-fit: cover;
-       }
-     }
    }
    .__content{
      margin-top: 1rem;
@@ -31,6 +17,28 @@
   .d-flex{
      // padding: 1rem;
    }
+   &.programme{
+     .__wrap{
+       padding: 1rem;
+     }
+   }
+   &.publications{
+     width: 100%;
+     .__media{
+       padding: 1rem;
+       figure{
+         height: 100%;
+         img{
+           width: 100%;
+           height: 100%;
+           object-fit: cover;
+         }
+       }
+     }
+     .__content{
+       margin: 1rem 1rem 1rem 0;
+     }
+   }
  }
 
  .thumbnails{
@@ -57,6 +65,15 @@
     }
   }
 }
+
+
+@media screen and (min-width: 768px) {
+  .thumbnails{
+    &.publications{
+      width: calc(100% / 2 - #{$gutter1} * 2);
+    }
+  }
+}
 @media screen and (min-width: 992px) {
   .programme{
     .row{
@@ -70,6 +87,11 @@
       }
     }
   }
+  .thumbnails{
+    &.publications{
+      width: calc(100% / 4 - #{$gutter1} * 4);
+    }
+  }
 }
 
 .thumbnails_participants{

+ 14 - 3
web/themes/custom/popsu_colloque/css/typography.scss

@@ -181,15 +181,26 @@ a{
     font-size: 0.9rem;
     text-transform: uppercase;
   }
-
-  .__content{
-    a{
+  &.programme{
+    .__content{
       font-family: 'truenoregular';
       font-weight: bold;
       font-size: 1rem;
       text-transform: uppercase;
     }
   }
+  &.publications{
+    .__content{
+      div{
+        font-family: 'cormorantBold';
+        font-size: 1.2rem;
+      }
+      span{
+        font-family: 'cormorantBoldItalic';
+        font-size: 1.2rem;
+      }
+    }
+  }
 }
 
 .paragraph--type--role-de-l-intervenant{

+ 1 - 0
web/themes/custom/popsu_colloque/template/views/fields/node--view--dernieres-publications.html.twig

@@ -80,6 +80,7 @@
     </div>
     <div class="__wrap">
       <div class="__content">
+        {{content.field_auteur|raw}}
         {{ label|raw }}
         {{content.field_complement_d_info|raw}}
       </div>

+ 1 - 1
web/themes/custom/popsu_colloque/template/views/lists/views-view-unformatted--dernieres_publications.html.twig

@@ -27,7 +27,7 @@
         default_row_class ? 'views-row',
       ]
     %}
-    <article class="thumbnails col-lg-3 col-sm-6 col-12">
+    <article class="thumbnails publications">
       {{- row.content -}}
     </article>
   {% endfor %}

+ 1 - 1
web/themes/custom/popsu_colloque/template/views/lists/views-view-unformatted--programme.html.twig

@@ -34,7 +34,7 @@
     {% for row in rows %}
       {%
         set row_classes = [
-          default_row_class ? 'thumbnails',
+          default_row_class ? 'thumbnails programme',
         ]
       %}
       <div{{ row.attributes.addClass(row_classes) }}>

+ 1 - 1
web/themes/custom/popsu_colloque/template/views/lists/views-view-unformatted--slide_programme.html.twig

@@ -24,7 +24,7 @@
       default_row_class ? 'views-row',
     ]
   %}
-  <article class="thumbnails">
+  <article class="thumbnails programme">
     {{- row.content -}}
   </article>
 {% endfor %}

Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff