fix bug chevauchement page actu

This commit is contained in:
2022-01-06 11:09:02 +01:00
parent dcf9cb3de4
commit 54c2412483
2 changed files with 112 additions and 115 deletions
+105 -110
View File
@@ -758,9 +758,9 @@ a {
display: none; } display: none; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--top { .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--top {
background-color: rgba(0, 158, 227, 0.2); background: linear-gradient(to bottom, rgba(0, 158, 227, 0.2) 60%, white 40%);
height: 40vh; padding-right: 1rem;
padding-right: 1rem; } padding-bottom: 4rem; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--top .block-region-top { .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--top .block-region-top {
display: grid; display: grid;
grid-template-columns: 1fr repeat(8, 1fr) 1fr; grid-template-columns: 1fr repeat(8, 1fr) 1fr;
@@ -797,32 +797,29 @@ a {
max-height: 360px; max-height: 360px;
object-fit: cover; } object-fit: cover; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--first { .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--first .block-region-first {
margin-top: 18rem; } display: flex;
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--first .block-region-first { justify-content: flex-end; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--first .block-region-first .block-entity-fieldnodefield-textes {
display: flex; display: flex;
justify-content: flex-end; } justify-content: flex-end;
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--first .block-region-first .block-entity-fieldnodefield-textes { width: 50%;
background-color: white;
padding-right: 2rem; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--first .block-region-first .block-entity-fieldnodefield-textes .field--name-field-titre {
display: flex; display: flex;
justify-content: flex-end; font-size: 1rem;
width: 50%; font-weight: 1000;
background-color: white; color: #09398b;
padding-right: 2rem; } border-bottom: 1px solid #009ee3;
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--first .block-region-first .block-entity-fieldnodefield-textes .field--name-field-titre { padding-bottom: 0.5rem;
display: flex; padding-right: 1rem;
font-size: 1rem; margin-bottom: 0.8rem; }
font-weight: 1000; .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--first .block-region-first .block-entity-fieldnodefield-textes .field--name-field-titre:hover {
color: #09398b; text-decoration: underline; }
border-bottom: 1px solid #009ee3;
padding-bottom: 0.5rem;
padding-right: 1rem;
margin-bottom: 0.8rem; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--first .block-region-first .block-entity-fieldnodefield-textes .field--name-field-titre:hover {
text-decoration: underline; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--second { .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--second {
flex: 0 1 50%; flex: 0 1 50%; }
margin-top: 18rem; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--second .block-region-second { .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--second .block-region-second {
width: 90%; } width: 90%; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--second .block-region-second .block-entity-fieldnodebody p { .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--second .block-region-second .block-entity-fieldnodebody p {
@@ -854,98 +851,96 @@ a {
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--second .block-region-second .block-entity-fieldnodebody .panel-body #outputtext { .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--second .block-region-second .block-entity-fieldnodebody .panel-body #outputtext {
overflow-y: visible !important; } overflow-y: visible !important; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third { .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third {
margin-top: 18rem; } display: flex;
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third { flex-direction: column;
display: flex; width: 65%; }
flex-direction: column; .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .field--name-field-fichiers .field__item {
width: 65%; } height: fit-content;
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .field--name-field-fichiers .field__item { border: 2px solid #009ee3;
height: fit-content; background-color: white;
border: 2px solid #009ee3; margin-bottom: 1rem;
background-color: white; min-height: 4rem;
margin-bottom: 1rem; color: #009ee3;
min-height: 4rem; padding-left: 1rem;
color: #009ee3; padding-top: 1rem; }
padding-left: 1rem; .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .field--name-field-fichiers span:nth-of-type(2) {
padding-top: 1rem; } display: none; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .field--name-field-fichiers span:nth-of-type(2) { .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .field--name-field-fichiers .file--mime-application-pdf {
display: none; } height: inherit;
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .field--name-field-fichiers .file--mime-application-pdf { margin: auto; }
height: inherit; .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .field--name-field-fichiers .file--mime-application-pdf ::before {
margin: auto; } content: url("../images/pictos/noun_Download_file_307900.svg");
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .field--name-field-fichiers .file--mime-application-pdf ::before { min-width: 40px;
content: url("../images/pictos/noun_Download_file_307900.svg"); height: auto;
min-width: 40px; padding-right: 1rem; }
height: auto; .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .field--name-field-fichiers .file--mime-application-pdf a {
padding-right: 1rem; } hyphens: auto;
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .field--name-field-fichiers .file--mime-application-pdf a {
hyphens: auto;
display: inline-flex;
align-items: center;
color: #009ee3;
font-weight: 800; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .block-entity-fieldnodefield-liens .field--name-field-liens .field__item {
margin: auto;
height: fit-content;
border: 2px solid #009ee3;
min-height: 4rem;
background: white;
color: #009ee3;
padding-left: 1rem;
padding-top: 1rem;
margin-bottom: 1rem; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .block-entity-fieldnodefield-liens .field--name-field-liens a {
display: inline-flex; display: inline-flex;
align-items: center; align-items: center;
color: #009ee3; color: #009ee3;
font-weight: 800; } font-weight: 800; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .block-entity-fieldnodefield-liens .field--name-field-liens a::before { .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .block-entity-fieldnodefield-liens .field--name-field-liens .field__item {
content: url("../images/pictos/noun_External Link_674151.svg"); margin: auto;
min-width: 40px; height: fit-content;
height: auto; border: 2px solid #009ee3;
padding-right: 1rem; } min-height: 4rem;
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .block-entity-fieldnodefield-liens .field--name-field-liens a svg.ext { background: white;
display: none; } color: #009ee3;
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .block-entity-fieldnodefield-ress { padding-left: 1rem;
margin-top: 3rem; } padding-top: 1rem;
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .block-entity-fieldnodefield-ress h2 { margin-bottom: 1rem; }
font-size: 0.8rem; .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .block-entity-fieldnodefield-liens .field--name-field-liens a {
display: inline-flex;
align-items: center;
color: #009ee3;
font-weight: 800; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .block-entity-fieldnodefield-liens .field--name-field-liens a::before {
content: url("../images/pictos/noun_External Link_674151.svg");
min-width: 40px;
height: auto;
padding-right: 1rem; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .block-entity-fieldnodefield-liens .field--name-field-liens a svg.ext {
display: none; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .block-entity-fieldnodefield-ress {
margin-top: 3rem; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .block-entity-fieldnodefield-ress h2 {
font-size: 0.8rem;
color: black;
font-weight: 900; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource {
display: flex;
flex-direction: column;
border: 2px solid #009ee3;
padding: 1rem;
height: fit-content;
margin-bottom: 1rem;
background-color: white; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource:first-of-type {
border-top: 1px solid #009ee3;
padding-top: 1rem; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource:first-of-type::after {
content: url("../images/pictos/noun_Arrow_3771902.svg");
align-self: flex-end; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource .field--name-title a {
color: black; color: black;
font-weight: 900; } font-size: 1.4rem;
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource { font-weight: 600; }
display: flex; .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource .field--name-field-auteur-s- {
flex-direction: column; font-weight: 800; }
border: 2px solid #009ee3; .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource .field--name-field-auteur-s- p {
padding: 1rem;
height: fit-content;
margin-bottom: 1rem;
background-color: white; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource:first-of-type {
border-top: 1px solid #009ee3;
padding-top: 1rem; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource:first-of-type::after {
content: url("../images/pictos/noun_Arrow_3771902.svg");
align-self: flex-end; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource .field--name-title a {
color: black;
font-size: 1.4rem;
font-weight: 600; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource .field--name-field-auteur-s- {
font-weight: 800; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource .field--name-field-auteur-s- p {
margin: 0; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource .field--name-field-auteur-s- .field__label {
display: none; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource .field--name-field-edition p {
margin: 0; } margin: 0; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource .field--name-field-edition .field__label { .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource .field--name-field-auteur-s- .field__label {
display: none; } display: none; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource .field--name-field-images { .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource .field--name-field-edition p {
width: 50%; } margin: 0; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource .field--name-field-images img { .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource .field--name-field-edition .field__label {
width: 100%; display: none; }
height: auto; } .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource .field--name-field-images {
width: 50%; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource .field--name-field-images img {
width: 100%;
height: auto; }
.node-id-35 .region-content { .node-id-35 .region-content {
background: url("../images/pictos/carre-contour-bleu_gouvernance.svg"); background: url("../images/pictos/carre-contour-bleu_gouvernance.svg");
@@ -6,9 +6,11 @@
.layout__region--top{ .layout__region--top{
// grid-row: 1 / span 2; // grid-row: 1 / span 2;
background-color: $background-actus; // background-color: $background-actus;
height: 40vh; // height: 40vh;
background: linear-gradient(to bottom, $background-actus 60%, white 40%);
padding-right: 1rem; padding-right: 1rem;
padding-bottom: 4rem;
.block-region-top{ .block-region-top{
// position: relative; // position: relative;
display: grid; display: grid;
@@ -66,7 +68,7 @@
} }
} }
.layout__region--first{ .layout__region--first{
margin-top: 18rem; // margin-top: 18rem;
.block-region-first{ .block-region-first{
display: flex; display: flex;
@@ -102,7 +104,7 @@
.layout__region--second{ .layout__region--second{
// grid-row: 3; // grid-row: 3;
flex: 0 1 50%; flex: 0 1 50%;
margin-top: 18rem; // margin-top: 18rem;
.block-region-second{ .block-region-second{
width: 90%; width: 90%;
.block-entity-fieldnodebody{ .block-entity-fieldnodebody{
@@ -159,7 +161,7 @@
.layout__region--third{ .layout__region--third{
// grid-row: 4; // grid-row: 4;
margin-top: 18rem; // margin-top: 18rem;
.block-region-third{ .block-region-third{
display: flex; display: flex;
flex-direction: column; flex-direction: column;