lien ext page static

This commit is contained in:
2021-12-03 16:54:16 +01:00
parent 8353ece8d2
commit 8de382ec6b
3 changed files with 185 additions and 149 deletions
+35 -25
View File
@@ -201,71 +201,81 @@ a {
.layout__region--second .block-entity-fieldnodefield-textes p { .layout__region--second .block-entity-fieldnodefield-textes p {
margin-top: 0; } margin-top: 0; }
.layout__region--third .block-entity-fieldnodefield-fichiers { .layout__region--third .block-region-third {
display: flex;
flex-direction: column;
width: 70%; }
.layout__region--third .block-region-third .block-entity-fieldnodefield-fichiers {
height: fit-content; height: fit-content;
border: 2px solid #009ee3; border: 2px solid #009ee3; }
width: 72%; } .layout__region--third .block-region-third .field--name-field-fichiers {
.layout__region--third .field--name-field-fichiers {
min-height: 4rem; min-height: 4rem;
background: white; background: white;
color: #009ee3; color: #009ee3;
padding-left: 1rem; padding-left: 1rem;
padding-top: 1rem; } padding-top: 1rem; }
.layout__region--third .field--name-field-fichiers span:nth-of-type(2) { .layout__region--third .block-region-third .field--name-field-fichiers span:nth-of-type(2) {
display: none; } display: none; }
.layout__region--third .field--name-field-fichiers .file--mime-application-pdf { .layout__region--third .block-region-third .field--name-field-fichiers .file--mime-application-pdf {
height: inherit; height: inherit;
margin: auto; } margin: auto; }
.layout__region--third .field--name-field-fichiers .file--mime-application-pdf ::before { .layout__region--third .block-region-third .field--name-field-fichiers .file--mime-application-pdf ::before {
content: url("../images/pictos/noun_Download_file_307900.svg"); content: url("../images/pictos/noun_Download_file_307900.svg");
width: 50px; width: 50px;
height: 53px; height: 53px;
padding-right: 1rem; } padding-right: 1rem; }
.layout__region--third .field--name-field-fichiers .file--mime-application-pdf a { .layout__region--third .block-region-third .field--name-field-fichiers .file--mime-application-pdf a {
display: inline-flex; display: inline-flex;
align-items: center; align-items: center;
color: #009ee3; color: #009ee3;
font-weight: 800; } font-weight: 800; }
.layout__region--third .field--name-field-fichiers .field--name-field-liens { .layout__region--third .block-region-third .block-entity-fieldnodefield-liens {
height: fit-content;
border: 2px solid #009ee3;
min-height: 4rem;
background: white;
color: #009ee3;
padding-left: 1rem;
padding-top: 1rem; }
.layout__region--third .block-region-third .block-entity-fieldnodefield-liens .field--name-field-liens {
height: inherit; height: inherit;
margin: auto; } margin: auto; }
.layout__region--third .field--name-field-fichiers .field--name-field-liens ::before { .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; }
.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"); content: url("../images/pictos/noun_External Link_674151.svg");
width: 50px; width: 50px;
height: 53px; height: 53px;
padding-right: 1rem; } padding-right: 1rem; }
.layout__region--third .field--name-field-fichiers .field--name-field-liens a { .layout__region--third .block-region-third .block-entity-fieldnodefield-liens .field--name-field-liens a svg.ext {
display: inline-flex; display: none; }
align-items: center; .layout__region--third .block-region-third .block-entity-fieldnodefield-ress {
color: #009ee3;
font-weight: 800; }
.layout__region--third .block-entity-fieldnodefield-ress {
margin-top: 5rem; } margin-top: 5rem; }
.layout__region--third .block-entity-fieldnodefield-ress h2 { .layout__region--third .block-region-third .block-entity-fieldnodefield-ress h2 {
font-size: 1rem; font-size: 1rem;
color: black; } color: black; }
.layout__region--third .block-entity-fieldnodefield-ress .node-type-ressource { .layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource {
display: flex; display: flex;
border: 2px solid #009ee3; border: 2px solid #009ee3;
padding-left: 1rem; padding-left: 1rem;
padding-bottom: 3rem; padding-bottom: 3rem;
width: 69%;
height: fit-content; height: fit-content;
margin-bottom: 1rem; margin-bottom: 1rem;
background-color: white; } background-color: white; }
.layout__region--third .block-entity-fieldnodefield-ress .node-type-ressource:first-of-type { .layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource:first-of-type {
border-top: 1px solid #009ee3; border-top: 1px solid #009ee3;
padding-top: 1rem; } padding-top: 1rem; }
.layout__region--third .block-entity-fieldnodefield-ress .node-type-ressource .field, .layout__region--third .block-entity-fieldnodefield-ress .node-type-ressource a { .layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource .field, .layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource a {
line-height: 0.6rem; line-height: 0.6rem;
font-size: 1.5rem; font-size: 1.5rem;
color: #09398b; color: #09398b;
font-weight: 500; } font-weight: 500; }
.layout__region--third .block-entity-fieldnodefield-ress .node-type-ressource .field--name-field-images { .layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource .field--name-field-images {
width: 50%; } width: 50%; }
.layout__region--third .block-entity-fieldnodefield-ress .node-type-ressource .field--name-field-images img { .layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource .field--name-field-images img {
width: 100%; width: 100%;
height: auto; } height: auto; }
+34 -8
View File
@@ -75,10 +75,14 @@
} }
.layout__region--third{ // colone de droite fichiers et ressources liées .layout__region--third{ // colone de droite fichiers et ressources liées
.block-region-third{
display: flex;
flex-direction: column;
width: 70%;
.block-entity-fieldnodefield-fichiers{ .block-entity-fieldnodefield-fichiers{
height: fit-content; height: fit-content;
border: 2px solid $blue-light; border: 2px solid $blue-light;
width: 72%;
} }
.field--name-field-fichiers{ .field--name-field-fichiers{
min-height: 4rem; min-height: 4rem;
@@ -108,24 +112,44 @@
font-weight: 800; font-weight: 800;
} }
} }
}
.block-entity-fieldnodefield-liens{
height: fit-content;
border: 2px solid $blue-light;
min-height: 4rem;
// max-width: 75%;
background: $white;
color: $blue-light;
padding-left: 1rem;
padding-top: 1rem;
.field--name-field-liens{ .field--name-field-liens{
height: inherit; height: inherit;
margin: auto; margin: auto;
::before{
content: url("../images/pictos/noun_External Link_674151.svg");
width: 50px;
height: 53px;
padding-right: 1rem;
}
a{ a{
display: inline-flex; display: inline-flex;
align-items: center; align-items: center;
color: $blue-light; color: $blue-light;
font-weight: 800; font-weight: 800;
&::before{
content: url("../images/pictos/noun_External Link_674151.svg");
width: 50px;
height: 53px;
padding-right: 1rem;
}
svg.ext{
display: none;
} }
} }
} }
}
.block-entity-fieldnodefield-ress{ .block-entity-fieldnodefield-ress{
margin-top: 5rem; margin-top: 5rem;
@@ -139,7 +163,7 @@
border: 2px solid $blue-light; border: 2px solid $blue-light;
padding-left: 1rem; padding-left: 1rem;
padding-bottom: 3rem; padding-bottom: 3rem;
width: 69%;
height: fit-content; height: fit-content;
margin-bottom: 1rem; margin-bottom: 1rem;
background-color: $white; background-color: $white;
@@ -163,5 +187,7 @@
} }
} }
}
} }