rochefort-agglo: add initial theme (#45878)

This commit is contained in:
Serghei Mihai 2020-08-11 14:07:35 +02:00
parent 0e6ab7755d
commit b6f225af8e
5 changed files with 222 additions and 0 deletions

View File

@ -0,0 +1,163 @@
@import '../includes/fonts/opensans';
div#header {
width: auto;
max-width: none;
padding: 0 10px;
}
#toplinks {
border-radius: 0;
border: none;
box-shadow: none;
background: #0086CE;
a {
color: white;
text-transform: uppercase;
}
@media screen and ($max-mobile-viewport) {
padding: 0.2em 0.5em 0.2em 0.5em;
}
}
a#publik-portal-agent {
top: 40px;
border-width: 1px;
}
h1#logo.has-logo {
a {
text-indent: 0;
}
@media screen and ($max-mobile-viewport) {
margin-bottom: 15px;
}
}
span.baseline {
max-width: $width;
margin: 0 auto;
display: block;
padding-top: 1ex;
padding-bottom: 2ex;
font-size: 1.714rem;
font-style: italic;
@media screen and ($max-mobile-viewport) {
display: none;
}
}
div#top {
font-style: italic;
font-weight: normal;
max-width: $width;
margin: 0 auto;
#logo a {
height: 140px;
font-size: 2.3rem;
color: $primary-color;
padding-top: 140px;
@media screen and ($max-mobile-viewport) {
padding-top: 0;
display: block;
text-indent: -10000px;
height: 60px;
}
}
}
div#nav > ul > li {
margin-right: 10px;
border: 2px solid $primary-color;
border-width: 2px 0px;
@media screen and ($max-mobile-viewport) {
border: none;
}
}
div#main-content {
margin-top: 15px;
}
div#gauche, div#rub_service {
margin-top: 0;
}
div.widget-prefilled div.content div.message {
color: #888;
font-size: 80%;
}
div#footer-wrapper {
min-height: 100px;
background: #E7F0F6;
}
div.widget th {
font-weight: normal;
}
div#footer-post-wrapper {
background: #0086CE;
padding: 1.5ex 0;
div#footer-post {
max-width: $width;
margin: 0 auto;
text-align: right;
}
a {
margin-left: 2em;
color: #6fcdff;
font-weight: bold;
&:hover {
color: white;
}
}
}
div#rub_service {
div.previous-button button,
div.cancel-button button {
background: white;
border: 1px solid #aaa;
color: #666;
box-shadow: none;
font-weight: normal;
&:hover {
background: #eee;
}
}
form + br.quixoteform {
display: none;
}
}
#login-page,
body.page-index #columns {
margin-top: 1em;
}
.gru-content div.wcsformsofcategorycell {
background: transparent;
border: 0;
border-bottom: 1px solid #ccc;
h2 {
border: 0;
}
&.has-asset-picture {
h2 {
padding: 1.75ex 1.75ex 1.75ex 6.5ex;
}
picture {
position: absolute;
display: block;
top: 0.5ex;
}
> div {
position: relative;
}
}
div.links-list {
background: $cell-background;
}
}

View File

@ -0,0 +1,26 @@
$primary-color: #D24E38;
$width: 1150px;
$font-color: #333;
$font-family: "Open Sans", sans-serif;
$font-size: 0.875em;
$nav-background: white;
$nav-submenu-background: #222;
$nav-submenu-color: white;
$nav-color: $font-color;
$nav-active-color: #DD6449;
$nav-item-selected-color: white;
$nav-item-hover-color: white;
$border-radius: 0px;
$button-background: $primary-color;
$button-color: white;
$title-background: white;
$title-border-bottom: 1px solid #ccc;
$title-color: $primary-color;
$title-font-size: $font-size * 1.7;
$title-font-style: italic;
$title-padding: 1ex 1ex 1ex 0;
$title-weight: normal;
$cell-background: #E7F0F6;
$footer-color: #333;
$buttons-order: previous, cancel (grow), submit;

View File

@ -0,0 +1,14 @@
{
"label": "Rochefort Agglomération",
"variables": {
"theme_color": "#D24E38"
},
"settings": {
"combo": {
"COMBO_ASSET_SLOTS.update": {
"emails:logo": {"label": "Emails : logo"},
"header:logo": {"label": "Têtière : logo"}
}
}
}
}

View File

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

View File

@ -0,0 +1,14 @@
{% extends 'theme.html' %}
{% block header-bottom %}
<span class="baseline">Bienvenue dans l'espace de démarche en Communauté d'agglomération Rochefort Océan</span>
{% endblock %}
{% block footer-post %}
<div id="footer-post-wrapper">
<div id="footer-post">
<a href="{{ mentions_legales_url }}">Mentions légales</a>
</div>
</div>
{% endblock %}