Pārlūkot izejas kodu

css lieu actu dans mosaique

ouidade 2 gadi atpakaļ
vecāks
revīzija
decb4fe409

+ 9 - 1
composer.json

@@ -48,7 +48,15 @@
     "minimum-stability": "stable",
     "prefer-stable": true,
     "config": {
-        "sort-packages": true
+        "sort-packages": true,
+        "allow-plugins": {
+            "composer/installers": true,
+            "drupal/console-extend-plugin": true,
+            "cweagans/composer-patches": true,
+            "drupal/core-composer-scaffold": true,
+            "drupal/core-project-message": false,
+            "wikimedia/composer-merge-plugin": true
+        }
     },
     "extra": {
         "drupal-scaffold": {

+ 10 - 3
web/themes/custom/eql/css-compiled/styles.css

@@ -1124,7 +1124,7 @@ a {
             margin-top: 0.5rem;
             font-size: 0.9rem;
             font-weight: 800;
-            order: 4; }
+            order: 5; }
           .path-actualites .block-region-content .block-views .node-type-actualite div:first-child .field--name-field-date {
             order: 2;
             display: flex;
@@ -1138,8 +1138,15 @@ a {
               font-weight: 800;
               padding-right: 1rem;
               width: fit-content; }
-          .path-actualites .block-region-content .block-views .node-type-actualite div:first-child .field--name-title {
+          .path-actualites .block-region-content .block-views .node-type-actualite div:first-child .field--name-field-lieu {
             order: 3;
+            display: flex;
+            flex-direction: row;
+            justify-content: flex-start; }
+            .path-actualites .block-region-content .block-views .node-type-actualite div:first-child .field--name-field-lieu .field__label {
+              display: none; }
+          .path-actualites .block-region-content .block-views .node-type-actualite div:first-child .field--name-title {
+            order: 4;
             font-size: 0.9rem; }
           .path-actualites .block-region-content .block-views .node-type-actualite div:first-child .field:not(.field--name-field-images) {
             width: 100%; }
@@ -1154,7 +1161,7 @@ a {
             .path-actualites .block-region-content .block-views .node-type-actualite div:first-child .inline.links a {
               display: none; }
           .path-actualites .block-region-content .block-views .node-type-actualite div:first-child .field--name-field-actu-type {
-            order: 5;
+            order: 6;
             padding-top: 1rem; }
 
 .node-id-4 {

+ 15 - 4
web/themes/custom/eql/scss/pages/_toutesactualites.scss

@@ -68,7 +68,7 @@
                         margin-top: 0.5rem;
                         font-size: 0.9rem;
                         font-weight: 800;
-                        order: 4;
+                        order: 5;
                         
                     }
                     .field--name-field-date{
@@ -92,12 +92,22 @@
                             //     padding-left: 0.5rem;
                             //     content: "|";
                             // }
-                          
+                        }
+                    }
 
+                    .field--name-field-lieu{
+                        order: 3;
+                        display: flex;
+                        flex-direction: row;
+                        justify-content: flex-start;
+
+                        .field__label{
+                            display: none;
                         }
                     }
+
                     .field--name-title{
-                        order: 3;
+                        order: 4;
                         font-size: 0.9rem;
 
                     }
@@ -120,9 +130,10 @@
                         // }
                     }
                     .field--name-field-actu-type{
-                        order: 5;
+                        order: 6;
                         padding-top: 1rem;
                     }
+
                 }
             }
         }