add theme for somme (cd80) (#19415)

This commit is contained in:
Frédéric Péters 2017-10-28 15:45:31 +02:00
parent 4b1baa8fba
commit c481372062
6 changed files with 86 additions and 0 deletions

View File

@ -84,6 +84,8 @@ icons:
# publik
cd src/ && python render-imgs-categories.py ../static/publik/img/
cd src/ && python render-imgs-dashboard.py ../static/publik/img/ --normal 4D4D4D --selected DF017A --title FFFFFF --title-width 80
# somme
cd src/ && python render-imgs-dashboard.py ../static/somme-cd80/img/ --normal 4D4D4D --selected 87A738 --title FFFFFF --title-width 80
clean:
rm -rf sdist
@ -123,3 +125,6 @@ name:
fullname:
@(echo $(NAME)-$(VERSION))
check:
python check_templates.py

View File

@ -0,0 +1,49 @@
html, body {
background: #EBEBEB;
}
#nav-wrapper {
background: $primary-color;
text-transform: uppercase;
}
div#nav {
margin-top: 0;
& > ul {
margin-top: 0;
& > li a {
font-weight: normal;
}
}
}
#header-wrapper {
background: white;
}
#logo a {
margin: 1ex 0;
background: url(img/somme_fr_logo.png) top left no-repeat;
display: inline-block;
height: 115px;
line-height: 115px;
padding-left: 130px;
color: $orange;
}
#content div.cell.dashboard-title {
margin-top: 0;
margin-bottom: 0;
padding: 1ex 5%;
h3 {
margin-bottom: 0;
}
}
#content div.cell.dashboard-menu {
margin-top: 0;
ul li {
margin-right: 10%;
margin-left: 5%;
}
}

View File

@ -0,0 +1,17 @@
$primary-color: #87A738;
$orange: #cf4e32;
$width: 1300px;
$footer-background: $primary-color;
$font-color: #666;
$font-size: 12px;
$nav-active-color: #69773E;
$nav-color: white;
$nav-background: $primary-color;
$border-radius: 0px;
$button-background: $primary-color;
$title-background: $primary-color;
$title-color: white;
$footer-background: $primary-color;
$dashboard-badge-color: $orange;
$dashboard-selected-color: $orange;

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

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

View File

@ -368,6 +368,15 @@
"theme_color": "#0E88BE"
}
},
{"id": "ssomme-cd80",
"label": "Somme (CD80)",
"variables": {
"css_variant": "somme-cd80",
"no_extra_js": true,
"theme_color": "#87A738"
}
},
{"id": "sospel",
"label": "Sospel",
"variables": {