瀏覽代碼

modif 11_11_20

Tessier 4 年之前
父節點
當前提交
b7609524f9

文件差異過大導致無法顯示
+ 4 - 2
web/themes/custom/popsu_colloque/css-compiled/index.css


文件差異過大導致無法顯示
+ 0 - 0
web/themes/custom/popsu_colloque/css-compiled/index.min.css


+ 5 - 3
web/themes/custom/popsu_colloque/css/components/header/header.scss

@@ -32,8 +32,12 @@ header{
       border-left: 1px solid $color1;
       padding: 0;
       display: none;
+      a{
+        display: flex;
+      }
       @media screen and (min-width: 1200px) {
         display: flex;
+        
       }
       .site_setting_entity{
         display: flex;
@@ -65,12 +69,10 @@ header{
               margin-bottom: 0.6rem;
             }
             &:last-child{
-              p{
                 color: $color2;
                 padding-right: 10px;
-                // width: min-content;
+                width: min-content;
                 margin-bottom: 0;
-              }
             }
           }
         }

+ 0 - 2
web/themes/custom/popsu_colloque/css/configs/typography.scss

@@ -88,12 +88,10 @@
           font-size: 0.9rem;
         }
         &:last-child{
-          p{
             font-family: 'truenoregular';
             font-weight: bold;
             font-size: 0.7rem;
             line-height: 1;
-          }
         }
       }
     }

+ 43 - 0
web/themes/custom/popsu_colloque/template/block/block--renderedsitesettingsblock-2.html.twig

@@ -0,0 +1,43 @@
+{#
+/**
+ * @file
+ * Default theme implementation to display a block.
+ *
+ * Available variables:
+ * - plugin_id: The ID of the block implementation.
+ * - label: The configured label of the block if visible.
+ * - configuration: A list of the block's configuration values.
+ *   - label: The configured label for the block.
+ *   - label_display: The display settings for the label.
+ *   - provider: The module or other provider that provided this block plugin.
+ *   - Block plugin specific settings will also be stored here.
+ * - content: The content of this block.
+ * - attributes: array of HTML attributes populated by modules, intended to
+ *   be added to the main container tag of this template.
+ *   - id: A valid HTML ID and guaranteed unique.
+ * - title_attributes: Same as attributes, except applied to the main title
+ *   tag that appears in the template.
+ * - title_prefix: Additional output populated by modules, intended to be
+ *   displayed in front of the main title tag that appears in the template.
+ * - title_suffix: Additional output populated by modules, intended to be
+ *   displayed after the main title tag that appears in the template.
+ *
+ * @see template_preprocess_block()
+ *
+ * @ingroup themeable
+ */
+#}
+
+
+<div id="block-renderedsitesettingsblock-2">
+  <a href="/" >
+    {{ title_prefix }}
+    {% if label %}
+      <h2{{ title_attributes }}>{{ label }}</h2>
+    {% endif %}
+    {{ title_suffix }}
+    {% block content %}
+      {{ content }}
+    {% endblock %}
+  </a>
+</div>

+ 2 - 1
web/themes/custom/popsu_colloque/template/components/site-setting-entity--information-global.html.twig

@@ -20,7 +20,8 @@
     {{- content.field_title_colloque -}}
     <div class="__info_colloque">
       {{content.field_date_du_colloque}}
-      {{content.field_field_sub_title_wysiwyg}}
+      {# {{content.field_field_sub_title_wysiwyg}} #}
+      {{content.field_sub_title_du_colloque}}
     </div>
   {% endif %}
 </div>

+ 8 - 2
web/themes/custom/popsu_colloque/template/views/fields/views-view-fields--slide_programme.html.twig

@@ -41,7 +41,7 @@
     {{fields.field_image.content}}
   </figure>
   <div class="__wrap">
-    <div class="d-flex">
+    <div class="d-flex flex-wrap">
       <time datetime="{{fields.field_heure_du_moment.content}}" class="__date mr-1">
         {{fields.field_heure_du_moment.content}}
       </time>
@@ -51,8 +51,14 @@
         </div>
       {% endif %}
     </div>
-    <div class="__content">
+
+    <div class="__content {{fields.field_accessible.content}}">
       {{fields.title.content}}
+      {% if fields.field_accessible.content == "1" %}
+        {% else %}
+          {{fields.field_role_de_l_intervenant.content}}
+      {% endif %}
+
     </div>
   </div>
 {% if fields.field_accessible.content %}

部分文件因文件數量過多而無法顯示