add theme for metz (#23548)

This commit is contained in:
Frédéric Péters 2018-05-03 09:30:52 +02:00
parent bb6b36c284
commit 5c006a2ebd
6 changed files with 69 additions and 0 deletions

View File

@ -42,6 +42,7 @@ css: data_uris
cd static/marcoussis/ && sass style.scss:style.css
cd static/massoins/ && sass style.scss:style.css
cd static/meaux/ && sass style.scss:style.css
cd static/metz/ && sass style.scss:style.css
cd static/meyzieu/ && sass style.scss:style.css
cd static/meyzieu-2018/ && sass style.scss:style.css
cd static/minint/sass && sass styles.scss:../css/styles.css

34
static/metz/_custom.scss Normal file
View File

@ -0,0 +1,34 @@
#header-wrapper {
background: $yellow;
box-shadow: 0 0 5px 5px #aaa;
color: white;
}
#header #top #logo a {
display: block;
padding-top: 22px;
background: url(img/logometz.png) 0px 20px no-repeat;
height: 65px;
line-height: 45px;
color: white;
text-transform: uppercase;
font-weight: normal;
padding-left: 180px;
@media screen and (max-width: $mobile-limit) {
text-indent: -10000px;
height: 45px;
}
}
#nav-wrapper {
background: white;
border-bottom: 5px solid $gray;
margin-bottom: 10px;
div#nav > ul > li > a {
border-radius: $border-radius;
text-transform: uppercase;
}
@media screen and (max-width: $mobile-limit) {
background: $yellow;
}
}

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

@ -0,0 +1,21 @@
$yellow: #FABB00;
$gray: #343434;
$primary-color: $yellow;
$width: 1000px;
$font-family: Arial, sans-serif;
$font-color: #666;
$font-size: 15px;
$footer-background: $gray;
$nav-background: transparent;
$nav-submenu-background: #eee;
$nav-submenu-color: #333;
$nav-color: $gray;
$nav-active-color: $primary-color;
$nav-item-selected-color: white;
$nav-item-hover-color: white;
$border-radius: 0;
$button-background: $gray;
$title-background: $gray;
$title-color: white;

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

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

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

View File

@ -252,6 +252,14 @@
"theme_color": "#C5C0B4"
}
},
{"id": "metz",
"label": "Metz",
"variables": {
"css_variant": "metz",
"no_extra_js": true,
"theme_color": "#FABB00"
}
},
{"id": "meyzieu",
"label": "Meyzieu",
"variables": {