css lieu actu dans mosaique

This commit is contained in:
2022-11-25 11:43:49 +01:00
parent 2f7bf9dc11
commit decb4fe409
3 changed files with 35 additions and 9 deletions
+9 -1
View File
@@ -48,7 +48,15 @@
"minimum-stability": "stable", "minimum-stability": "stable",
"prefer-stable": true, "prefer-stable": true,
"config": { "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": { "extra": {
"drupal-scaffold": { "drupal-scaffold": {
+10 -3
View File
@@ -1124,7 +1124,7 @@ a {
margin-top: 0.5rem; margin-top: 0.5rem;
font-size: 0.9rem; font-size: 0.9rem;
font-weight: 800; font-weight: 800;
order: 4; } order: 5; }
.path-actualites .block-region-content .block-views .node-type-actualite div:first-child .field--name-field-date { .path-actualites .block-region-content .block-views .node-type-actualite div:first-child .field--name-field-date {
order: 2; order: 2;
display: flex; display: flex;
@@ -1138,8 +1138,15 @@ a {
font-weight: 800; font-weight: 800;
padding-right: 1rem; padding-right: 1rem;
width: fit-content; } 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; 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; } font-size: 0.9rem; }
.path-actualites .block-region-content .block-views .node-type-actualite div:first-child .field:not(.field--name-field-images) { .path-actualites .block-region-content .block-views .node-type-actualite div:first-child .field:not(.field--name-field-images) {
width: 100%; } width: 100%; }
@@ -1154,7 +1161,7 @@ a {
.path-actualites .block-region-content .block-views .node-type-actualite div:first-child .inline.links a { .path-actualites .block-region-content .block-views .node-type-actualite div:first-child .inline.links a {
display: none; } display: none; }
.path-actualites .block-region-content .block-views .node-type-actualite div:first-child .field--name-field-actu-type { .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; } padding-top: 1rem; }
.node-id-4 { .node-id-4 {
@@ -68,7 +68,7 @@
margin-top: 0.5rem; margin-top: 0.5rem;
font-size: 0.9rem; font-size: 0.9rem;
font-weight: 800; font-weight: 800;
order: 4; order: 5;
} }
.field--name-field-date{ .field--name-field-date{
@@ -92,12 +92,22 @@
// padding-left: 0.5rem; // padding-left: 0.5rem;
// content: "|"; // content: "|";
// } // }
} }
} }
.field--name-title{
.field--name-field-lieu{
order: 3; order: 3;
display: flex;
flex-direction: row;
justify-content: flex-start;
.field__label{
display: none;
}
}
.field--name-title{
order: 4;
font-size: 0.9rem; font-size: 0.9rem;
} }
@@ -120,9 +130,10 @@
// } // }
} }
.field--name-field-actu-type{ .field--name-field-actu-type{
order: 5; order: 6;
padding-top: 1rem; padding-top: 1rem;
} }
} }
} }
} }