[MTELEFLVA-3]add fosses theme

This commit is contained in:
Nicolas Selva 2022-11-07 10:47:38 +01:00
parent 933b64b010
commit 62f2fa0d3b
11 changed files with 143 additions and 5 deletions

View File

View File

@ -0,0 +1,14 @@
// Refer to '../includes/eo-base-imio-tuned' to fine tuned other vars
@import "../../publik-base-theme/static/includes/fonts/opensans";
@import "../../publik-base-theme/static/includes/fonts/montserrat";
$font-family: 'Open Sans', Arial, Helvetica, sans-serif;
$nav-background: none;
$logo-width: 110px;
$title-font-family: 'Montserrat', sans-serif;
$primary-color: #bd1f68;
$imio-header-height: 356px;
// $header-logo-size: 230px 80px;
$imio-header-logo-padding-top: 44px;
$imio-header-logo-padding-left: 50px;
$link-color-footer: white;
$imio-is-iacitizen: true;

View File

@ -0,0 +1 @@
<svg version="1.2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 160 160" width="160" height="160"><style>.a{fill:#1f2320}.b{fill:#3dafa7}.c{fill:#e8418f}.d{fill:#faba20}</style><path fill-rule="evenodd" class="a" d="m19.9 86.2c0 1.4-1.2 2.4-2.5 2.4-1.4 0-2.5-1-2.5-2.4v-19c0-1.4 1.1-2.5 2.5-2.5h8.1c2.3 0 4.4 0.5 6 1.6 1.7 1.3 2.7 3.5 2.7 6.1 0 2.2-0.9 4.2-2.6 5.8q-0.9 0.6-1.7 1l3.9 5.6c0.3 0.4 0.4 0.9 0.4 1.3 0 1.4-1.1 2.5-2.5 2.5-1 0-1.6-0.4-2.1-1.1l-4.9-7.4h-4.8zm0-10.3h5.2c0.9 0 1.9-0.2 2.6-0.6 0.9-0.5 1.4-1.5 1.4-2.9 0-1.4-0.5-2.3-1.3-2.8-0.7-0.5-1.7-0.7-2.7-0.7h-5.2z"/><path fill-rule="evenodd" class="a" d="m45.7 78.5v-0.3c0-0.8-0.1-1.4-0.5-1.8-0.4-0.5-1-0.7-1.8-0.7-1.9 0-3.1 1-4.4 1-0.9 0-1.7-0.7-1.7-1.6 0-1.1 0.9-1.7 2.1-2.2 1.3-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 0.9 1.7 1.9zm-3.7-7.1c-0.2-1.6-1.3-3-3.2-3-1.9 0-3 1.2-3.3 3z"/><path class="a" d="m142.7 76.5c-1.4 0-2-0.8-3.6-0.8-0.9 0-1.6 0.3-1.6 1.1 0 0.7 0.7 1.1 1.5 1.4 1.1 0.5 2.1 0.7 3.2 1.3 1.9 0.9 2.6 2.3 2.6 4 0 3-2.4 5.1-6.5 5.1-3.1 0-6-0.7-6-2.8 0-1 0.7-1.8 1.8-1.8 1.3 0 2.1 1.1 4.1 1.1 1.1 0 1.8-0.4 1.8-1.3 0-0.7-0.6-1.1-1.4-1.4-1-0.5-2.3-0.8-3.4-1.4-1.7-0.8-2.6-2.2-2.6-4.2 0-2.9 2.3-4.7 6.3-4.7 3 0 5.6 0.7 5.6 2.5 0 1.2-0.8 1.9-1.8 1.9z"/><path class="a" d="m84.6 76.3c1.2 0 2.2 1 2.2 2.2v13.3c0 1.2-1 2.2-2.2 2.2-1.3 0-2.3-1-2.3-2.2v-13.3c0-1.2 1-2.2 2.3-2.2z"/><path class="a" d="m92.9 65.6c1.3 0 2.3 1 2.3 2.3v13.2c0 1.2-1.1 2.3-2.3 2.3-1.3 0-2.3-1.1-2.3-2.3v-13.2c0-1.3 1-2.3 2.3-2.3z"/><path class="a" d="m101.3 65.6c1.3 0 2.3 1 2.3 2.3v13.2c0 1.2-1.1 2.3-2.3 2.3-1.3 0-2.3-1.1-2.3-2.3v-13.2c0-1.3 1-2.3 2.3-2.3z"/><path class="a" d="m109.7 76.3c1.3 0 2.3 1 2.3 2.2v13.3c0 1.2-1.1 2.2-2.3 2.2-1.3 0-2.3-1-2.3-2.2v-13.3c0-1.2 1-2.2 2.3-2.2z"/><path class="b" d="m84.6 72.2c-1.8 0-3.3-1.5-3.3-3.3 0-1.8 1.5-3.3 3.3-3.3 1.8 0 3.3 1.5 3.3 3.3 0 1.8-1.5 3.3-3.3 3.3z"/><path class="c" d="m109.7 72.2c-1.8 0-3.3-1.5-3.3-3.3 0-1.8 1.5-3.3 3.3-3.3 1.8 0 3.3 1.5 3.3 3.3 0 1.8-1.5 3.3-3.3 3.3z"/><path class="d" d="m97.1 94c-1.8 0-3.3-1.5-3.3-3.3 0-1.8 1.5-3.3 3.3-3.3 1.8 0 3.3 1.5 3.3 3.3 0 1.8-1.5 3.3-3.3 3.3z"/></svg>

After

Width:  |  Height:  |  Size: 3.1 KiB

View File

@ -0,0 +1,6 @@
/*
Backoffice extra CSS
portal_agent_extra_css varialbe must be set in the site-options.cfg
It takes full url.
Example : https://COMMUNE.guichet-citoyen.be/static/imio/bo_share.css
*/

View File

@ -0,0 +1,104 @@
{
"label" : "Fosses-la-Ville",
"settings" : {
"combo" : {
"COMBO_ASSET_SLOTS.update" : {
"header:background" : {
"label" : "Image de bannière"
},
"header:logo" : {
"label" : "Image de logo"
},
"emails:logo": {
"label": "Image d'en-tête dans les mails"
}
},
"COMBO_CELL_ASSET_SLOTS.update" : {
"data_linkcell" : {
"picture" : {
"prefix" : "Image de tuile « Lien »"
}
},
"data_textcell" : {
"picture" : {
"prefix" : "Image titre"
}
}
},
"COMBO_CELL_TEMPLATES.update" : {
"data_textcell" : {
"page-title" : {
"extra-css-classes" : "no-borders",
"label" : "Titre de page",
"template" : "combo/cells/page-title.html"
},
"page-intertitle" : {
"extra-css-classes" : "no-borders",
"label" : "Intertitre avec image",
"template" : "combo/cells/page-intertitle.html"
}
}
},
"JSON_CELL_TYPES.update" : {
"actualites" : {
"cache_duration" : 900,
"force_async" : false,
"form" : [
{
"label" : "Identifiant du connecteur Plone REST API",
"type" : "string",
"varname" : "connector"
},
{
"label" : "Identifiant de la requête",
"type" : "string",
"varname" : "query"
}
],
"name" : "Actualités",
"log_errors" : false,
"url" : "{{ passerelle_url }}plone-restapi/{{ connector }}/q/{{ query }}/"
},
"deliberations-communales": {
"cache_duration" : 2700,
"force_async" : false,
"name" : "Délibérations communales",
"log_errors" : false,
"url" : "{{ deliberations_communales_json_url|safe }}"
},
"evenements" : {
"cache_duration" : 900,
"force_async" : false,
"form" : [
{
"label" : "Identifiant du connecteur Plone REST API",
"type" : "string",
"varname" : "connector"
},
{
"label" : "Identifiant de la requête",
"type" : "string",
"varname" : "query"
}
],
"name" : "Événements",
"log_errors" : false,
"url" : "{{ passerelle_url }}plone-restapi/{{ connector }}/q/{{ query }}/"
}
},
"COMBO_MAP_DEFAULT_POSITION": {
"lat": "50.63679",
"lng": "4.91451"
}
}
},
"variables" : {
"cell_picture_size" : "520x220",
"pwa_display" : "standalone",
"theme_color" : "#9AD700",
"include_top_links" : false,
"favicon": "fosseslaville/images/favicon.ico",
"no_extra_js": true,
"email_header_asset": "emails:logo"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 191 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

@ -0,0 +1,9 @@
<svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<defs>
<path d="M0 0h24v24H0V0z" id="a"/>
</defs>
<clipPath id="b">
<use overflow="visible" xlink:href="#a"/>
</clipPath>
<path clip-path="url(#b)" d="M12 17c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm6-9h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zM8.9 6c0-1.71 1.39-3.1 3.1-3.1s3.1 1.39 3.1 3.1v2H8.9V6zM18 20H6V10h12v10z"/>
</svg>

After

Width:  |  Height:  |  Size: 575 B

View File

@ -0,0 +1,9 @@
@charset "UTF-8";
@import 'vars';
@import '../includes/imio-basic-entrouvert-base';
@import "../../publik-base-theme/static/includes/publik";
@import '../includes/imio-basic-additional-custom';
@import '../imio/parent-portal';
@import 'custom';

View File

@ -1,5 +0,0 @@
#!/bin/sh
while inotifywait -e modify *.scss; do
sassc style.scss style.css
done