From bcc6ae51380a8c3540c30538d8497dd95468fbba Mon Sep 17 00:00:00 2001 From: ouidade Date: Fri, 26 Nov 2021 22:54:38 +0100 Subject: [PATCH] background --- web/themes/custom/eql/css-compiled/styles.css | 83 ++++++++++++++----- .../pictos/carre-contour-bleu_contact.svg | 56 +++++++++++++ .../pictos/carre-contour-bleu_gouvernance.svg | 64 ++++++++++++++ .../pictos/carre-contour-bleu_partenaire.svg | 64 ++++++++++++++ .../pictos/carre-contour-bleu_programme.svg | 64 ++++++++++++++ .../custom/eql/scss/global/_layout.scss | 2 +- .../custom/eql/scss/pages/_contact.scss | 29 +++++++ .../custom/eql/scss/pages/_partenaires.scss | 26 ++++++ .../custom/eql/scss/pages/_programme.scss | 27 ++++++ web/themes/custom/eql/scss/pages/_static.scss | 35 +++----- web/themes/custom/eql/scss/styles.scss | 2 + 11 files changed, 405 insertions(+), 47 deletions(-) create mode 100644 web/themes/custom/eql/images/pictos/carre-contour-bleu_contact.svg create mode 100644 web/themes/custom/eql/images/pictos/carre-contour-bleu_gouvernance.svg create mode 100644 web/themes/custom/eql/images/pictos/carre-contour-bleu_partenaire.svg create mode 100644 web/themes/custom/eql/images/pictos/carre-contour-bleu_programme.svg create mode 100644 web/themes/custom/eql/scss/pages/_contact.scss create mode 100644 web/themes/custom/eql/scss/pages/_programme.scss diff --git a/web/themes/custom/eql/css-compiled/styles.css b/web/themes/custom/eql/css-compiled/styles.css index 5a9dada..2734f9d 100644 --- a/web/themes/custom/eql/css-compiled/styles.css +++ b/web/themes/custom/eql/css-compiled/styles.css @@ -120,8 +120,7 @@ visibility: hidden; } .inter-titre { - color: #009ee3; - text-transform: uppercase; } + color: #009ee3; } a { text-decoration: none; } @@ -130,11 +129,6 @@ a { /* @import "pages/partials/header_footer"; @import "pages/home";*/ -.layout--threecol-25-50-25 { - padding-top: 2rem; - background: url('data:image/svg+xml,'); - background-repeat: no-repeat; } - .layout__region--top { padding-bottom: 3rem; } .layout__region--top .block-region-top { @@ -142,24 +136,13 @@ a { .layout__region--top .block-entity-fieldnodefield-images { display: none; height: inherit; } - .layout__region--top .block-entity-fieldnodetitle { - width: 80%; - margin: auto; } - .layout__region--top .block-entity-fieldnodetitle .field--name-title { - font-family: 'Source Code Pro'; - font-size: 2rem; - font-weight: 800; - color: #009ee3; - background-color: white; - text-transform: uppercase; - padding: 2rem 1rem 2rem 1rem; } .layout__region--first .block-region-first { - width: 50%; - float: right; } + display: flex; + justify-content: end; } .layout__region--first .block-region-first .block-entity-fieldnodefield-textes { display: flex; - justify-content: left; + width: 50%; padding-right: 2rem; } .layout__region--first .block-region-first .block-entity-fieldnodefield-textes .field--name-field-titre { display: flex; @@ -168,7 +151,7 @@ a { color: #09398b; border-bottom: 1px solid #009ee3; padding-bottom: 0.5rem; - padding-top: 0.5rem; } + padding-right: 1rem; } .layout__region--first .block-region-first .block-entity-fieldnodefield-textes .field--name-field-titre:hover { text-decoration: underline; } @@ -389,6 +372,24 @@ a { padding-bottom: 2rem; margin-block-start: 0; } +.node-id-20 { + background: url("../images/pictos/carre-contour-bleu_partenaire.svg"); + background-repeat: no-repeat; } + .node-id-20 .layout__region--top { + padding-bottom: 3rem; } + .node-id-20 .layout__region--top .block-region-top { + height: 200px; } + .node-id-20 .layout__region--top .block-region-top .block-entity-fieldnodetitle { + width: 80%; + margin: auto; } + .node-id-20 .layout__region--top .block-region-top .block-entity-fieldnodetitle .field--name-title { + font-family: 'Source Code Pro'; + font-size: 2rem; + font-weight: 800; + color: #009ee3; + background-color: white; + text-transform: uppercase; } + .field--name-field-partenaires { padding-top: 3rem; } .field--name-field-partenaires .paragraph--type--partenaire { @@ -451,6 +452,44 @@ a { .path-actualites .block-region-content .block-views .node-type-actualite div:first-child h2 { margin: 0; } +.node-id-4 { + background: url("../images/pictos/carre-contour-bleu_programme.svg"); + background-repeat: no-repeat; } + .node-id-4 .layout__region--top { + padding-bottom: 3rem; } + .node-id-4 .layout__region--top .block-region-top { + height: 200px; } + .node-id-4 .layout__region--top .block-region-top .block-entity-fieldnodetitle { + width: 80%; + margin-left: 13%; } + .node-id-4 .layout__region--top .block-region-top .block-entity-fieldnodetitle .field--name-title { + font-family: 'Source Code Pro'; + font-size: 2rem; + font-weight: 800; + color: white; + background-color: #009ee3; + text-transform: uppercase; + padding: 2rem 1rem 2rem 1rem; } + +.node-id-4 { + background: url("../images/pictos/carre-contour-bleu_contact.svg"); + background-repeat: no-repeat; } + .node-id-4 .layout__region--top { + padding-bottom: 3rem; } + .node-id-4 .layout__region--top .block-region-top { + height: 200px; } + .node-id-4 .layout__region--top .block-region-top .block-entity-fieldnodetitle { + width: 80%; + margin-left: 13%; } + .node-id-4 .layout__region--top .block-region-top .block-entity-fieldnodetitle .field--name-title { + font-family: 'Source Code Pro'; + font-size: 2rem; + font-weight: 800; + color: white; + background-color: #009ee3; + text-transform: uppercase; + padding: 2rem 1rem 2rem 1rem; } + /*partials*/ .layout-container { position: relative; } diff --git a/web/themes/custom/eql/images/pictos/carre-contour-bleu_contact.svg b/web/themes/custom/eql/images/pictos/carre-contour-bleu_contact.svg new file mode 100644 index 0000000..a63c24b --- /dev/null +++ b/web/themes/custom/eql/images/pictos/carre-contour-bleu_contact.svg @@ -0,0 +1,56 @@ + + + + + + + + + + diff --git a/web/themes/custom/eql/images/pictos/carre-contour-bleu_gouvernance.svg b/web/themes/custom/eql/images/pictos/carre-contour-bleu_gouvernance.svg new file mode 100644 index 0000000..19c1e45 --- /dev/null +++ b/web/themes/custom/eql/images/pictos/carre-contour-bleu_gouvernance.svg @@ -0,0 +1,64 @@ + + + + + + + + + + + diff --git a/web/themes/custom/eql/images/pictos/carre-contour-bleu_partenaire.svg b/web/themes/custom/eql/images/pictos/carre-contour-bleu_partenaire.svg new file mode 100644 index 0000000..4c110b6 --- /dev/null +++ b/web/themes/custom/eql/images/pictos/carre-contour-bleu_partenaire.svg @@ -0,0 +1,64 @@ + + + + + + + + + + + diff --git a/web/themes/custom/eql/images/pictos/carre-contour-bleu_programme.svg b/web/themes/custom/eql/images/pictos/carre-contour-bleu_programme.svg new file mode 100644 index 0000000..cb6c372 --- /dev/null +++ b/web/themes/custom/eql/images/pictos/carre-contour-bleu_programme.svg @@ -0,0 +1,64 @@ + + + + + + + + + + + diff --git a/web/themes/custom/eql/scss/global/_layout.scss b/web/themes/custom/eql/scss/global/_layout.scss index 1660693..d8ee903 100644 --- a/web/themes/custom/eql/scss/global/_layout.scss +++ b/web/themes/custom/eql/scss/global/_layout.scss @@ -35,5 +35,5 @@ } .inter-titre { color: $blue-light; - text-transform: uppercase; + // text-transform: uppercase; } \ No newline at end of file diff --git a/web/themes/custom/eql/scss/pages/_contact.scss b/web/themes/custom/eql/scss/pages/_contact.scss new file mode 100644 index 0000000..842b473 --- /dev/null +++ b/web/themes/custom/eql/scss/pages/_contact.scss @@ -0,0 +1,29 @@ +.node-id-5{ + .region-content{ + background: url('../images/pictos/carre-contour-bleu_contact.svg'); + background-repeat: no-repeat; + + } + + + .layout__region--top{ //bandeau titre page static + padding-bottom: 3rem; + .block-region-top{ + height: 200px; + .block-entity-fieldnodetitle{ + width: 80%; + margin-left: 13%; + .field--name-title{ + font-family: 'Source Code Pro'; + font-size: 2rem; + font-weight: 800; + color: $white; + background-color: $blue-light; + text-transform: uppercase; + // padding: 2rem 1rem 2rem 1rem; + } + } + } + + } +} \ No newline at end of file diff --git a/web/themes/custom/eql/scss/pages/_partenaires.scss b/web/themes/custom/eql/scss/pages/_partenaires.scss index efb9fc7..aa680d7 100644 --- a/web/themes/custom/eql/scss/pages/_partenaires.scss +++ b/web/themes/custom/eql/scss/pages/_partenaires.scss @@ -1,4 +1,30 @@ +.node-id-20{ + background: url('../images/pictos/carre-contour-bleu_partenaire.svg'); + background-repeat: no-repeat; + + + .layout__region--top{ //bandeau titre page static + padding-bottom: 3rem; + .block-region-top{ + height: 200px; + .block-entity-fieldnodetitle{ + width: 80%; + margin: auto; + .field--name-title{ + font-family: 'Source Code Pro'; + font-size: 2rem; + font-weight: 800; + color: $blue-light; + background-color: $white; + text-transform: uppercase; + // padding: 2rem 1rem 2rem 1rem; + } + } + } + + } +} .field--name-field-partenaires{ padding-top: 3rem; diff --git a/web/themes/custom/eql/scss/pages/_programme.scss b/web/themes/custom/eql/scss/pages/_programme.scss new file mode 100644 index 0000000..647cec4 --- /dev/null +++ b/web/themes/custom/eql/scss/pages/_programme.scss @@ -0,0 +1,27 @@ +.node-id-4{ + + background: url('../images/pictos/carre-contour-bleu_programme.svg'); + background-repeat: no-repeat; + + + .layout__region--top{ //bandeau titre page static + padding-bottom: 3rem; + .block-region-top{ + height: 200px; + .block-entity-fieldnodetitle{ + width: 80%; + margin-left: 13%; + .field--name-title{ + font-family: 'Source Code Pro'; + font-size: 2rem; + font-weight: 800; + color: $white; + background-color: $blue-light; + text-transform: uppercase; + // padding: 2rem 1rem 2rem 1rem; + } + } + } + + } +} \ No newline at end of file diff --git a/web/themes/custom/eql/scss/pages/_static.scss b/web/themes/custom/eql/scss/pages/_static.scss index 9d77113..47a66e8 100644 --- a/web/themes/custom/eql/scss/pages/_static.scss +++ b/web/themes/custom/eql/scss/pages/_static.scss @@ -1,9 +1,9 @@ -.layout--threecol-25-50-25{ - padding-top: 2rem; - background: url('data:image/svg+xml,'); - background-repeat: no-repeat; -} +// .layout--threecol-25-50-25{ +// padding-top: 2rem; +// background: url('data:image/svg+xml,'); +// background-repeat: no-repeat; +// } .layout__region--top{ //bandeau titre page static padding-bottom: 3rem; .block-region-top{ @@ -14,30 +14,17 @@ height: inherit; } - .block-entity-fieldnodetitle{ - width: 80%; - margin: auto; - .field--name-title{ - font-family: 'Source Code Pro'; - font-size: 2rem; - font-weight: 800; - color: $blue-light; - background-color: $white; - text-transform: uppercase; - padding: 2rem 1rem 2rem 1rem; - } - } - } .layout__region--first{ // menu ancres a gauche .block-region-first{ - width: 50%; - float: right; + display: flex; + justify-content: end; .block-entity-fieldnodefield-textes{ display: flex; - justify-content: left; + width: 50%; + // justify-content: flex-end; padding-right: 2rem; .field--name-field-titre{ @@ -47,8 +34,8 @@ color: $blue-dark; border-bottom: 1px solid $blue-light; padding-bottom: 0.5rem; - padding-top: 0.5rem; - + padding-right: 1rem; + &:hover{ text-decoration: underline; } diff --git a/web/themes/custom/eql/scss/styles.scss b/web/themes/custom/eql/scss/styles.scss index 2569531..908e310 100644 --- a/web/themes/custom/eql/scss/styles.scss +++ b/web/themes/custom/eql/scss/styles.scss @@ -24,6 +24,8 @@ @import "pages/_gouvernance"; @import "pages/_ami"; @import "pages/_toutesactualites"; +@import "pages/_programme"; +@import "pages/_contact"; /*partials*/