feat(design) : intégration dans l'Observatoire des Polycrises

This commit is contained in:
Stéphan Peccini 2025-06-25 08:42:41 +02:00
parent 2846403860
commit a9bf92a4bc
Signed by: stephan
GPG Key ID: 3A9774E9CCBF3501
6 changed files with 803 additions and 801 deletions

View File

@ -6,10 +6,10 @@
}, },
"header": { "header": {
"title": "FabNum - Digital Manufacturing Chain", "title": "FabNum - Digital Manufacturing Chain",
"subtitle": "Ecosystem exploration and vulnerability identification." "subtitle": "Ecosystem exploration and vulnerability identification.\n -> This site is still under development <-"
}, },
"footer": { "footer": {
"copyright": "Fabnum © 2025", "copyright": "FabNum@Polycrisis Observatory © 2025",
"contact": "Contact", "contact": "Contact",
"license": "License", "license": "License",
"license_text": "CC BY-NC-ND", "license_text": "CC BY-NC-ND",

View File

@ -6,10 +6,10 @@
}, },
"header": { "header": {
"title": "FabNum - Chaîne de fabrication du numérique", "title": "FabNum - Chaîne de fabrication du numérique",
"subtitle": "Parcours de l'écosystème et identification des vulnérabilités." "subtitle": "Parcours de l'écosystème et identification des vulnérabilités.\n-> Ce site est encore en cours de développement <-"
}, },
"footer": { "footer": {
"copyright": "Fabnum © 2025", "copyright": "FabNum@Polycrisis Observatory © 2025",
"contact": "Contact", "contact": "Contact",
"license": "Licence", "license": "Licence",
"license_text": "CC BY-NC-ND", "license_text": "CC BY-NC-ND",

View File

@ -42,7 +42,7 @@ body,
.stDownloadButton > button, .stDownloadButton > button,
.stFormSubmitButton > button, .stFormSubmitButton > button,
.stSlider > div > div { .stSlider > div > div {
background-color: darkgreen !important; background-color: #072c6e !important;
color: white !important; color: white !important;
border: 1px solid grey; border: 1px solid grey;
} }
@ -57,7 +57,7 @@ section:not([data-testid="stSidebar"])
section:not([data-testid="stSidebar"]) section:not([data-testid="stSidebar"])
button[data-testid="stBaseButton-secondary"] { button[data-testid="stBaseButton-secondary"] {
color: white !important; color: white !important;
background: darkgreen !important; background: #072c6e !important;
} }
section:not([data-testid="stSidebar"]) section:not([data-testid="stSidebar"])
@ -86,7 +86,7 @@ section:not([data-testid="stSidebar"])
user-select: none; user-select: none;
border: 1px solid rgba(49, 51, 63, 0.2); border: 1px solid rgba(49, 51, 63, 0.2);
background-color: darkgrey !important; background-color: darkgrey !important;
color: darkgreen !important; color: #072c6e !important;
font-weight: bold !important; font-weight: bold !important;
width: 100%; width: 100%;
letter-spacing: 0.2em; letter-spacing: 0.2em;
@ -194,7 +194,7 @@ section[data-testid="stSidebar"] {
} }
section[data-testid="stSidebar"] .stButton > button { section[data-testid="stSidebar"] .stButton > button {
background-color: darkgreen !important; background-color: #072c6e !important;
color: white !important; color: white !important;
font-weight: bold !important; font-weight: bold !important;
border: 1px solid #ccc !important; border: 1px solid #ccc !important;
@ -206,7 +206,7 @@ section[data-testid="stSidebar"] .decorative-heading {
font-weight: bold; font-weight: bold;
margin-bottom: 0.5rem; margin-bottom: 0.5rem;
text-align: center; text-align: center;
color: #145a1a; color: #072c6e;
} }
section[data-testid="stSidebar"] div[role="radiogroup"] { section[data-testid="stSidebar"] div[role="radiogroup"] {

View File

@ -11,7 +11,9 @@ def afficher_pied_de_page():
<div role='contentinfo' aria-labelledby='footer-appli' class='wide-footer'> <div role='contentinfo' aria-labelledby='footer-appli' class='wide-footer'>
<div class='info-footer'> <div class='info-footer'>
<p id='footer-appli' class='info-footer'> <p id='footer-appli' class='info-footer'>
{_("footer.copyright")} <a href='mailto:stephan-pro@peccini.fr'>{_("footer.contact")}</a> {_("footer.license")} <a href='https://creativecommons.org/licenses/by-nc-nd/4.0/deed.fr' target='_blank'>{_("footer.license_text")}</a> {_("footer.copyright")} <a href='mailto:stephan.peccini@polycrisis-observatory.org'>{_("footer.contact")}</a> {_("footer.license")} <a href='https://creativecommons.org/licenses/by-nc-nd/4.0/deed.fr' target='_blank'>{_("footer.license_text")}</a>
</p>
<a href="https://www.polycrisis-observatory.org/" target="_blank"><img src="/app/static/images/polycrisis_observatory.webp" alt="Logo de l'Observatoire des Polycrises"></a>
</p> </p>
<p class='footer-note'> <p class='footer-note'>
{_("footer.eco_note")} <a href='https://www.thegreenwebfoundation.org/' target='_blank'>{_("footer.eco_provider")}</a><br> {_("footer.eco_note")} <a href='https://www.thegreenwebfoundation.org/' target='_blank'>{_("footer.eco_provider")}</a><br>

View File

@ -125,7 +125,7 @@ def afficher_impact(total_bytes):
font-size: 1.25rem; font-size: 1.25rem;
font-weight: bold; font-weight: bold;
margin-bottom: 0.5rem; margin-bottom: 0.5rem;
color: #145a1a; color: #072c6e;
text-align: center; text-align: center;
}} }}
span {{ span {{

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB