add meudon theme (#25282)

This commit is contained in:
Josue Kouka 2018-08-17 16:30:21 +02:00
parent 3c44eafd0c
commit 2d44539e53
19 changed files with 133 additions and 0 deletions

View File

@ -0,0 +1,93 @@
@import '../includes/font-raleway';
%bold-title {
font-weight: bold;
font-size: 20px;
color: #FFFFFF;
}
#content div.cell {
& h2:first-child {
@extend %bold-title;
}
}
h3 {
font-weight: medium;
font-size: 18px;
}
p, span {
font-weight: medium;
font-size: 14px;
}
button {
font-weight: semibold;
font-size: 14px;
}
#header-wrapper {
border-top: 25px solid $primary-color;
}
#header #top #logo a {
background: url(img/logo_meudon.png) 0 25px no-repeat;
display: block;
line-height: 160px;
padding-left: 245px;
height: 170px;
text-transform: uppercase;
color: #260c4e;
font-weight: bold;
text-indent: 219px;
}
div#nav,
div#nav ul {
margin-top: 0;
}
#content div.cell.wcsformsofcategorycell {
& h2:first-child {
box-sizing: border-box;
height: 95px;
padding-top: 30px;
padding-left: 130px;
text-transform: uppercase;
background: $title-background no-repeat 10px 10px;
background-size: auto 80px;
}
@each $category in $category-slugs {
&.#{$category} h2 {
background-image: url(img/#{$category}.png);
}
}
}
#content div.cell.trackingcodeinputcell, div.cell.searchcell {
background-color: $ternary-color;
color: #FFFFFF;
}
#footer-wrapper div.cell {
& h2:first-child {
@extend %bold-title;
}
}
@media screen and (max-width: $mobile-limit) {
#header #top #logo {
padding-left: 40px;
padding-bottom: 20px;
}
#header #top #logo a {
padding-left: 0;
text-indent: -1000px;
}
div#nav {
margin-top: 10px;
}
}

21
static/meudon/_vars.scss Normal file
View File

@ -0,0 +1,21 @@
$primary-color: #260c4e;
$secondary-color: #baff34;
$ternary-color: #ec234f;
$width: 1100px;
$font-size: 14px;
$font-color: #333;
$font-family: 'Raleway';
$nav-background: $primary-color;
$nav-submenu-background: transparentize($primary-color, 0.1);
$nav-color: white;
$nav-active-color: darken($primary-color, 10%);
$border-radius: 0px;
$button-background: $secondary-color;
$title-background: $primary-color;
$title-color: white;
$footer-background: $primary-color;
$footer-color: #FFFFFF;
$category-toggled-link-hover-color: $secondary-color;
$category-toggled-background: $primary-color;
$category-slugs: billeterie cimetiere etatcivil famille ludotheque marchespublics mediatheque musique parking police subventions veillesaisonniere;

5
static/meudon/extra.js Normal file
View File

@ -0,0 +1,5 @@
$(function() {
$('div.wcsformsofcategorycell').delegate('h2', 'click', function() {
$(this).parents('div.wcsformsofcategorycell').toggleClass('toggled');
});
});

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

BIN
static/meudon/img/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

6
static/meudon/style.scss Normal file
View File

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

View File

@ -273,6 +273,14 @@
"theme_color": "#2B8AE8"
}
},
{"id": "meudon",
"label": "Meudon",
"variables": {
"css_variant": "meudon",
"no_extra_js": false,
"theme_color": "#260c4e"
}
},
{"id": "massoins",
"label": "Massoins",
"variables": {