add minsant theme (#48009)

This commit is contained in:
Nicolas Roche 2020-10-23 17:01:37 +02:00
parent 7952e2dee8
commit 55fa1bad45
6 changed files with 126 additions and 0 deletions

View File

@ -0,0 +1,77 @@
@import '../includes/fonts/titillium';
.site-header {
background: $primary-color;
}
#header {
color: white;
font-family: Titillium;
h1#logo a {
line-height: 170px;
font-size: 2.667rem;
color: white;
font-weight: normal;
background-size: auto 150px;
width: 90%;
}
}
#toplinks {
.sep, .registration {
display: none;
}
}
#nav {
li {
border-left: 1px;
border-right: 1px;
border-top: 0;
border-bottom: 0;
border-style: solid;
border-color: $primary-color;
}
ul {
margin-top: 0;
a {
font-weight: normal;
padding: 20px 30px;
}
li.selected > a {
background-image: url(img/coin-menu.png);
background-position: top right;
background-repeat: no-repeat;
}
}
}
#footer-wrapper {
border-top: 15px solid $secondary-color;
#footer {
min-height: 100px;
background: url(img/logo-footer.png) top right no-repeat;
}
}
body.has-picture nav::after {
background-size: contain;
}
#columns div.cell {
background-image: linear-gradient(to top right, white 50%, $secondary-color);
background-size: 50px 40px;
background-repeat: no-repeat;
background-position: top right;
h2:first-child {
font-weight: bold;
font-size: 1.2em;
background: none;
}
}
#sidebar div.cell {
background-color: $primary-color;
border-left: 1px;
border-left-style: solid;
}

30
static/minsant/_vars.scss Normal file
View File

@ -0,0 +1,30 @@
$gray-light: #f3f3f3;
$blue-dark: #697b98;
$primary-color: $gray-light;
$secondary-color: $blue-dark;
$body-background: $primary-color;
$sidebar-position: right;
$font-family: Arial, sans-serif;
$width: 1160px;
$font-color: #000;
$font-size: 0.938em;
$link-color: #365268;
$nav-full-width-background: true;
$nav-background: white;
$nav-submenu-color: black;;
$nav-active-background: $secondary-color;
$nav-item-selected-color: white;
$nav-item-selected-background: $secondary-color;
$nav-item-hover-background: $secondary-color;
$nav-item-hover-color: white;
$cell-border: 0;
$cell-title-cover-border: false;
$border-radius: 0;
$button-background: $secondary-color;
$title-font-family: Titillium;
$title-background: $secondary-color;
$footer-background: $primary-color;
$footer-color: $secondary-color;

View File

@ -0,0 +1,14 @@
{
"label": "Ministère des Solidarités et de la Santé",
"variables": {
"theme_color": "#f3f3f3"
},
"settings": {
"combo": {
"COMBO_ASSET_SLOTS.update": {
"header:background": { "label": "Têtière : fond" },
"header:logo": { "label": "Têtière : logo" }
}
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

View File

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