add lomme derivative of lille theme

This commit is contained in:
Frédéric Péters 2019-04-09 13:24:16 +02:00
parent ad016be052
commit 148c91934a
10 changed files with 273 additions and 0 deletions

View File

@ -17,6 +17,9 @@ static/toodego/_data_uris.scss: $(wildcard static/toodego/img/*)
static/lille/_data_uris.scss: $(wildcard static/lille/img/*)
python make_data_uris.py static/lille/
static/lomme/_data_uris.scss: $(wildcard static/lomme/img/*)
python make_data_uris.py static/lomme/
static/hellemmes/_data_uris.scss: $(wildcard static/hellemmes/img/*)
python make_data_uris.py static/hellemmes/

12
static/lomme/_custom.scss Normal file
View File

@ -0,0 +1,12 @@
@import 'data_uris';
@import '../lille/custom';
#header {
#top a {
background-image: url(img/logo-lomme.png);
}
}
#content-top div.trackingcodeinputcell form h2 {
color: #a9ad79;
}

12
static/lomme/_vars.scss Normal file
View File

@ -0,0 +1,12 @@
@import '../lille/vars';
$primary-color: #009ead;
$link-color: $primary-color;
$nav-active-color: $primary-color;
$carrousel-navigation-bullet-color: $primary-color;
$button-border: 2px solid $primary-color;
$button-background: $primary-color;
$steps-background: $primary-color;
$user-info-color: #a9ad79;

55
static/lomme/config.json Normal file
View File

@ -0,0 +1,55 @@
{
"label": "Lomme",
"variables": {
"include_top_links": false,
"pwa_display": "standalone",
"theme_color": "#009ead"
},
"settings": {
"combo": {
"COMBO_ASSET_SLOTS.update": {
"picto:adresse": {"label": "Pictogramme adresse"},
"picto:archives": {"label": "Pictogramme archives"},
"picto:asso": {"label": "Pictogramme asso"},
"picto:attestation": {"label": "Pictogramme attestation"},
"picto:bibliotheque": {"label": "Pictogramme bibliotheque"},
"picto:calendrier": {"label": "Pictogramme calendrier"},
"picto:cantine": {"label": "Pictogramme cantine"},
"picto:certificat": {"label": "Pictogramme certificat"},
"picto:chantier": {"label": "Pictogramme chantier"},
"picto:cni": {"label": "Pictogramme cni"},
"picto:copie": {"label": "Pictogramme copie"},
"picto:deces": {"label": "Pictogramme deces"},
"picto:ecole": {"label": "Pictogramme ecole"},
"picto:grue": {"label": "Pictogramme grue"},
"picto:habitant": {"label": "Pictogramme habitant"},
"picto:infos": {"label": "Pictogramme infos"},
"picto:inscription": {"label": "Pictogramme inscription"},
"picto:justice": {"label": "Pictogramme justice"},
"picto:livret": {"label": "Pictogramme livret"},
"picto:logement": {"label": "Pictogramme logement"},
"picto:loisir": {"label": "Pictogramme loisir"},
"picto:marche": {"label": "Pictogramme marche"},
"picto:mariage": {"label": "Pictogramme mariage"},
"picto:naissance": {"label": "Pictogramme naissance"},
"picto:nature": {"label": "Pictogramme nature"},
"picto:nom": {"label": "Pictogramme nom"},
"picto:notaire": {"label": "Pictogramme notaire"},
"picto:paiement": {"label": "Pictogramme paiement"},
"picto:parking": {"label": "Pictogramme parking"},
"picto:police": {"label": "Pictogramme police"},
"picto:rectification": {"label": "Pictogramme rectification"},
"picto:reference": {"label": "Pictogramme reference"},
"picto:reglement": {"label": "Pictogramme reglement"},
"picto:repertoire": {"label": "Pictogramme repertoire"},
"picto:salle": {"label": "Pictogramme salle"},
"picto:signature": {"label": "Pictogramme signature"},
"picto:subvention": {"label": "Pictogramme subvention"},
"picto:territoire": {"label": "Pictogramme territoire"},
"picto:tournage": {"label": "Pictogramme tournage"},
"picto:vote": {"label": "Pictogramme vote"},
"picto:zoo": {"label": "Pictogramme zoo"}
}
}
}
}

View File

@ -0,0 +1,54 @@
<?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"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
viewBox="0 0 444.8 444.8"
width="444.8"
height="444.8"
version="1.1"
id="svg4"
sodipodi:docname="arrow-down-colour.svg"
inkscape:version="0.92.4 (5da689c313, 2019-01-14)">
<metadata
id="metadata10">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs8" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="856"
inkscape:window-height="480"
id="namedview6"
showgrid="false"
inkscape:zoom="0.53057555"
inkscape:cx="222.39999"
inkscape:cy="222.39999"
inkscape:window-x="0"
inkscape:window-y="27"
inkscape:window-maximized="0"
inkscape:current-layer="svg4" />
<path
d="M248.1 352L434 165.9c7.2-6.9 10.8-15.4 10.8-25.7 0-10.3-3.6-18.8-10.8-25.7l-21.4-21.7c-7-7-15.6-10.6-25.7-10.6-9.9 0-18.6 3.5-26 10.6L222.4 231.5 83.7 92.8c-7-7-15.6-10.6-25.7-10.6-9.9 0-18.6 3.5-26 10.6l-21.4 21.7c-7 7-10.6 15.6-10.6 25.7s3.5 18.7 10.6 25.7L196.4 352c7.4 7 16.1 10.6 26 10.6 10.1 0 18.7-3.5 25.7-10.6z"
id="path2"
style="fill:#a9ad79" />
</svg>

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@ -0,0 +1,60 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Generator: Adobe Illustrator 23.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<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"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.1"
id="Calque_1"
x="0px"
y="0px"
viewBox="0 0 96.9 100.01"
xml:space="preserve"
sodipodi:docname="codebarre.svg"
inkscape:export-filename="/tmp/codebarre.png"
inkscape:export-xdpi="59.439999"
inkscape:export-ydpi="59.439999"
inkscape:version="0.92.4 (5da689c313, 2019-01-14)"
width="96.900002"
height="100.01"><metadata
id="metadata9"><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="defs7" /><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1600"
inkscape:window-height="836"
id="namedview5"
showgrid="false"
inkscape:zoom="1.7768407"
inkscape:cx="-135.36634"
inkscape:cy="32.357621"
inkscape:window-x="0"
inkscape:window-y="27"
inkscape:window-maximized="1"
inkscape:current-layer="Calque_1"
inkscape:pagecheckerboard="true"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0" />
<path
d="M 92.72,41.49 C 92.7,41.47 92.68,41.45 92.66,41.43 V 0 h 3.52 v 45.67 c -1,-1.48 -2.15,-2.88 -3.46,-4.18 z M 87.43,37.4 V 0 H 83.9 v 35.68 c 0.39,0.16 0.79,0.28 1.17,0.46 0.81,0.38 1.59,0.81 2.36,1.26 z m -1.07,32.5 c 3.87,-5.44 3.87,-12.53 0,-18.03 z M 60.08,51.6 v 18.41 c 0.3,0.42 0.65,0.82 1,1.21 h 3.6 v -23.8 c -1.11,0.67 -2.12,1.42 -2.98,2.25 -0.61,0.6 -1.12,1.26 -1.62,1.93 z m 13.17,-6.62 c -0.56,0 -1.17,0.04 -1.91,0.13 -0.46,0.05 -0.86,0.18 -1.3,0.26 V 71.22 H 77.4 V 45.58 C 77.13,45.51 76.87,45.4 76.6,45.34 75.46,45.1 74.34,44.98 73.25,44.98 Z M 0,64.41 H 3.52 V 0 H 0 Z m 9.77,0 h 5.66 V 0 H 9.77 Z m 10.26,0 h 3.52 V 0 h -3.52 z m 8.33,0 h 3.52 V 0 H 28.36 Z M 45.13,0 h -5.66 v 64.41 h 5.66 V 0 Z m 6.83,0 h -3.52 v 48.57 c 0.96,-1.89 2.13,-3.67 3.52,-5.31 z M 67.13,34.19 V 0 h -3.52 v 35.23 c 1,-0.37 2.02,-0.7 3.05,-0.95 0.17,-0.03 0.31,-0.05 0.47,-0.09 z m 9.83,-0.42 V 0 H 71.3 v 33.57 c 0.62,-0.04 1.24,-0.09 1.86,-0.09 1.25,0.01 2.53,0.12 3.8,0.29 z M 96.9,60.9 c 0,13.14 -10.69,23.83 -23.82,23.83 -5.87,0 -11.24,-2.14 -15.4,-5.68 L 37.35,99.38 c -0.42,0.42 -0.97,0.63 -1.52,0.63 -0.55,0 -1.1,-0.21 -1.52,-0.63 -0.84,-0.84 -0.84,-2.2 0,-3.04 L 54.65,75.99 c -3.38,-4.11 -5.41,-9.37 -5.41,-15.09 0,-13.14 10.69,-23.83 23.83,-23.83 13.14,0 23.83,10.69 23.83,23.83 z m -4.3,0 c 0,-10.77 -8.76,-19.53 -19.52,-19.53 -10.77,0 -19.53,8.76 -19.53,19.53 0,10.77 8.76,19.53 19.53,19.53 C 83.84,80.42 92.6,71.66 92.6,60.9 Z"
id="path2"
style="fill:#a9ad79;fill-opacity:1"
inkscape:export-xdpi="59"
inkscape:export-ydpi="59"
inkscape:connector-curvature="0" />
</svg>

After

Width:  |  Height:  |  Size: 3.3 KiB

View File

@ -0,0 +1,71 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Generator: Adobe Illustrator 23.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<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"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.1"
id="Calque_1"
x="0px"
y="0px"
viewBox="0 0 19 23.5"
xml:space="preserve"
sodipodi:docname="comptepersonnel.svg"
inkscape:export-filename="/home/fred/src/eo/publik-base-theme/lille/SVG/comptepersonnel-lille.png"
inkscape:export-xdpi="136.42105"
inkscape:export-ydpi="136.42105"
inkscape:version="0.92.4 (5da689c313, 2019-01-14)"
width="19"
height="23.5"><metadata
id="metadata13"><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="defs11" /><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1600"
inkscape:window-height="836"
id="namedview9"
showgrid="false"
inkscape:zoom="10.429825"
inkscape:cx="8.9338381"
inkscape:cy="9.1058409"
inkscape:window-x="0"
inkscape:window-y="27"
inkscape:window-maximized="1"
inkscape:current-layer="Calque_1"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0" />
<path
d="M 0,23.5 C 0,18.25 4.25,14 9.5,14 c 5.25,0 9.5,4.25 9.5,9.5"
id="path2"
style="fill:#a9ad79;fill-opacity:1"
inkscape:export-xdpi="136"
inkscape:export-ydpi="136"
inkscape:connector-curvature="0" />
<g
id="g6"
style="fill:#a9ad79;fill-opacity:1"
inkscape:export-xdpi="136"
inkscape:export-ydpi="136"
transform="translate(-362,-482)">
<path
d="m 371.5,482 c -3.59,0 -6.5,2.91 -6.5,6.5 0,3.59 2.91,6.5 6.5,6.5 3.59,0 6.5,-2.91 6.5,-6.5 0,-3.59 -2.91,-6.5 -6.5,-6.5 z"
id="path4"
style="fill:#a9ad79;fill-opacity:1"
inkscape:connector-curvature="0" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

5
static/lomme/style.scss Normal file
View File

@ -0,0 +1,5 @@
@charset "UTF-8";
@import 'vars';
@import '../includes/publik';
@import 'custom';

1
templates/variants/lomme Symbolic link
View File

@ -0,0 +1 @@
lille