[MCITISGMA-1]Init new theme for sgsm
gitea/imio-publik-themes/pipeline/head This commit looks good Details

This commit is contained in:
jmodesto 2024-02-15 11:34:48 +01:00
parent 7e00ea0f47
commit a61f75da9f
11 changed files with 295 additions and 0 deletions

View File

View File

@ -0,0 +1,18 @@
// 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";
// $header-logo-size: 230px 80px;
$font-family: "Open Sans", Arial, Helvetica, sans-serif;
$imio-header-height: 356px;
$imio-header-logo-padding-left: 50px;
$imio-header-logo-padding-top: 44px;
$imio-is-iacitizen: true;
$imio-logo-height: 40px;
$imio-logo-left: 20px;
$imio-logo-top: 20px;
$imio-mobile-hamburger-menu-icon-bar-color: white;
$link-color-footer: white;
$logo-width: 110px;
$nav-background: none;
$primary-color: #bd1f68;
$title-font-family: "Montserrat", sans-serif;

View File

@ -0,0 +1,134 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
version="1.1"
id="Capa_1"
x="0px"
y="0px"
viewBox="0 0 160 160"
xml:space="preserve"
width="160"
height="160"><metadata
id="metadata1422"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
id="defs1420" />
<g
id="g1387">
</g>
<g
id="g1389">
</g>
<g
id="g1391">
</g>
<g
id="g1393">
</g>
<g
id="g1395">
</g>
<g
id="g1397">
</g>
<g
id="g1399">
</g>
<g
id="g1401">
</g>
<g
id="g1403">
</g>
<g
id="g1405">
</g>
<g
id="g1407">
</g>
<g
id="g1409">
</g>
<g
id="g1411">
</g>
<g
id="g1413">
</g>
<g
id="g1415">
</g>
<g
id="layer1"><rect
style="fill:#ffffff;fill-opacity:1"
id="rect3380"
width="160"
height="160"
x="0.077214524"
y="0.00050948205" /></g><g
id="layer2"><g
id="g1385"
style="fill:#efefef;fill-opacity:1"
transform="matrix(4.1816306,0,0,4.1816306,10.827488,10.818746)">
<g
id="news"
style="fill:#efefef;fill-opacity:1">
<path
style="fill:#efefef;fill-opacity:1"
d="M 29,0 H 7 C 5.343,0 4,1.342 4,3 V 5 H 3 C 1.343,5 0,6.342 0,8 v 20 c 0,2.209 1.791,4 4,4 h 24 c 2.209,0 4,-1.791 4,-4 V 3 C 32,1.342 30.656,0 29,0 Z m 1,28 c 0,1.102 -0.898,2 -2,2 H 4 C 2.897,30 2,29.102 2,28 V 8 C 2,7.448 2.448,7 3,7 h 1 v 20 c 0,0.553 0.447,1 1,1 0.553,0 1,-0.447 1,-1 V 3 C 6,2.448 6.448,2 7,2 h 22 c 0.551,0 1,0.448 1,1 z"
id="path1358" />
<path
style="fill:#efefef;fill-opacity:1"
d="m 19.498,13.005 h 8 c 0.277,0 0.5,-0.224 0.5,-0.5 0,-0.276 -0.223,-0.5 -0.5,-0.5 h -8 c -0.275,0 -0.5,0.224 -0.5,0.5 0,0.276 0.225,0.5 0.5,0.5 z"
id="path1360" />
<path
style="fill:#efefef;fill-opacity:1"
d="m 19.498,10.005 h 8 c 0.277,0 0.5,-0.224 0.5,-0.5 0,-0.276 -0.223,-0.5 -0.5,-0.5 h -8 c -0.275,0 -0.5,0.224 -0.5,0.5 0,0.276 0.225,0.5 0.5,0.5 z"
id="path1362" />
<path
style="fill:#efefef;fill-opacity:1"
d="m 19.498,7.005 h 8 c 0.277,0 0.5,-0.224 0.5,-0.5 0,-0.276 -0.223,-0.5 -0.5,-0.5 h -8 c -0.275,0 -0.5,0.224 -0.5,0.5 0,0.276 0.225,0.5 0.5,0.5 z"
id="path1364" />
<path
style="fill:#efefef;fill-opacity:1"
d="m 16.5,27.004 h -8 c -0.276,0 -0.5,0.225 -0.5,0.5 0,0.277 0.224,0.5 0.5,0.5 h 8 c 0.275,0 0.5,-0.223 0.5,-0.5 0,-0.275 -0.224,-0.5 -0.5,-0.5 z"
id="path1366" />
<path
style="fill:#efefef;fill-opacity:1"
d="m 16.5,24.004 h -8 c -0.276,0 -0.5,0.225 -0.5,0.5 0,0.277 0.224,0.5 0.5,0.5 h 8 c 0.275,0 0.5,-0.223 0.5,-0.5 0,-0.275 -0.224,-0.5 -0.5,-0.5 z"
id="path1368" />
<path
style="fill:#efefef;fill-opacity:1"
d="m 16.5,21.004 h -8 c -0.276,0 -0.5,0.225 -0.5,0.5 0,0.277 0.224,0.5 0.5,0.5 h 8 c 0.275,0 0.5,-0.223 0.5,-0.5 0,-0.275 -0.224,-0.5 -0.5,-0.5 z"
id="path1370" />
<path
style="fill:#efefef;fill-opacity:1"
d="m 27.5,27.004 h -8 c -0.277,0 -0.5,0.225 -0.5,0.5 0,0.277 0.223,0.5 0.5,0.5 h 8 c 0.275,0 0.5,-0.223 0.5,-0.5 0,-0.275 -0.225,-0.5 -0.5,-0.5 z"
id="path1372" />
<path
style="fill:#efefef;fill-opacity:1"
d="m 27.5,24.004 h -8 c -0.277,0 -0.5,0.225 -0.5,0.5 0,0.277 0.223,0.5 0.5,0.5 h 8 c 0.275,0 0.5,-0.223 0.5,-0.5 0,-0.275 -0.225,-0.5 -0.5,-0.5 z"
id="path1374" />
<path
style="fill:#efefef;fill-opacity:1"
d="m 27.5,21.004 h -8 c -0.277,0 -0.5,0.225 -0.5,0.5 0,0.277 0.223,0.5 0.5,0.5 h 8 c 0.275,0 0.5,-0.223 0.5,-0.5 0,-0.275 -0.225,-0.5 -0.5,-0.5 z"
id="path1376" />
<path
style="fill:#efefef;fill-opacity:1"
d="m 27.5,15.004 h -19 c -0.276,0 -0.5,0.224 -0.5,0.5 0,0.276 0.224,0.5 0.5,0.5 h 19 c 0.275,0 0.5,-0.224 0.5,-0.5 0,-0.276 -0.225,-0.5 -0.5,-0.5 z"
id="path1378" />
<path
style="fill:#efefef;fill-opacity:1"
d="m 27.5,18.004 h -19 c -0.276,0 -0.5,0.225 -0.5,0.5 0,0.277 0.224,0.5 0.5,0.5 h 19 c 0.275,0 0.5,-0.223 0.5,-0.5 0,-0.275 -0.225,-0.5 -0.5,-0.5 z"
id="path1380" />
<path
style="fill:#efefef;fill-opacity:1"
d="m 9,13 h 7 c 0.553,0 1,-0.447 1,-1 V 5.004 c 0,-0.553 -0.447,-1 -1,-1 H 9 c -0.553,0 -1,0.447 -1,1 V 12 c 0,0.552 0.447,1 1,1 z m 1,-7 h 5 v 5 h -5 z"
id="path1382" />
</g>
</g></g></svg>

After

Width:  |  Height:  |  Size: 4.4 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,113 @@
{
"label": "Saint-Georges-sur-Meuse",
"settings": {
"combo": {
"COMBO_ASSET_SLOTS.update": {
"header:background": {
"label": "Image de banni\u00e8re"
},
"header:logo": {
"label": "Image de logo"
},
"emails:logo": {
"label": "Image d'en-t\u00eate dans les mails"
},
"deliberation:placeholder": {
"label": "Image de placeholder pour les d\u00e9lib\u00e9rations"
},
"actu:placeholder": {
"label": "Image de placeholder pour les actualit\u00e9s"
},
"events:placeholder": {
"label": "Image de placeholder pour les \u00e9v\u00e9nements"
}
},
"COMBO_CELL_ASSET_SLOTS.update": {
"data_linkcell": {
"picture": {
"prefix": "Image de tuile \u00ab Lien \u00bb"
}
},
"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": 120,
"force_async": false,
"form": [
{
"label": "Identifiant du connecteur Plone REST API",
"type": "string",
"varname": "connector"
},
{
"label": "Identifiant de la requ\u00eate",
"type": "string",
"varname": "query"
}
],
"name": "Actualit\u00e9s",
"log_errors": false,
"url": "{{ passerelle_url }}plone-restapi/{{ connector }}/q/{{ query }}/"
},
"deliberations-communales": {
"cache_duration": 360,
"force_async": false,
"name": "D\u00e9lib\u00e9rations communales",
"log_errors": false,
"url": "{{ deliberations_communales_json_url|safe }}"
},
"evenements": {
"cache_duration": 120,
"force_async": false,
"form": [
{
"label": "Identifiant du connecteur Plone REST API",
"type": "string",
"varname": "connector"
},
{
"label": "Identifiant de la requ\u00eate",
"type": "string",
"varname": "query"
}
],
"name": "\u00c9v\u00e9nements",
"log_errors": false,
"url": "{{ passerelle_url }}plone-restapi/{{ connector }}/q/{{ query }}/"
}
},
"COMBO_MAP_DEFAULT_POSITION": {
"lat": "50.49886009459319",
"lng": "4.7199939932529755"
}
}
},
"variables": {
"cell_picture_size": "520x220",
"pwa_display": "standalone",
"theme_color": "#651138",
"include_top_links": false,
"favicon": "imio-basic/images/favicon.ico",
"no_extra_js": true,
"email_header_asset": "emails:logo"
}
}

View File

@ -0,0 +1,3 @@
$(function() {
$.getScript('/static/includes/common.js', function() {});
});

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: 1.7 KiB

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg fill="#000000" version="1.1" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<defs>
<path id="a" d="m0 0h24v24h-24z"/>
</defs>
<clipPath id="b">
<use overflow="visible" xlink:href="#a"/>
</clipPath>
<rect x="5.3291e-15" y="-8.8818e-16" width="24" height="24" rx="5" ry="5" display="none" fill="#fff" stroke-width=".49352"/>
<circle cx="12" cy="12" r="12" fill="#fff" stroke-width=".84702"/>
<path transform="matrix(.74597 0 0 .74597 3.0483 2.9978)" d="m12 17c1.1 0 2-0.9 2-2s-0.9-2-2-2-2 0.9-2 2 0.9 2 2 2zm6-9h-1v-2c0-2.76-2.24-5-5-5s-5 2.24-5 5v2h-1c-1.1 0-2 0.9-2 2v10c0 1.1 0.9 2 2 2h12c1.1 0 2-0.9 2-2v-10c0-1.1-0.9-2-2-2zm-9.1-2c0-1.71 1.39-3.1 3.1-3.1s3.1 1.39 3.1 3.1v2h-6.2zm9.1 14h-12v-10h12z" clip-path="url(#b)"/>
</svg>

After

Width:  |  Height:  |  Size: 828 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';