add theme for correze (cd19) (#40141)

This commit is contained in:
Frédéric Péters 2020-04-06 18:20:07 +02:00
parent f6bead8bac
commit b18f07bcf8
6 changed files with 214 additions and 0 deletions

View File

@ -0,0 +1,156 @@
@import '../includes/font-firasans';
@import '../includes/font-roboto-condensed';
%title {
@extend %title;
padding-left: 0.5rem;
}
%button {
@extend %button;
box-shadow: none;
font-weight: bold;
&:hover {
box-shadow: none;
}
}
%cancel-button {
@extend %button;
font-weight: normal;
background: #aaa;
}
body {
background: #fffffe url(img/background.jpg) repeat-y;
background-attachment: fixed;
background-position: top center;
}
div.textcell {
h1 {
@extend %title;
}
h2 {
@extend %title;
font-size: 1.5rem;
}
}
div#header {
background: white;
box-shadow: 0 20px 10px $nav-background;
h1 {
padding-bottom: 20px;
a {
display: block;
padding-top: 80px;
height: 40px;
background: url(img/logo-cd19.png) bottom left no-repeat;
background-size: 200px auto;
font-family: $title-font-family;
font-weight: 300;
padding-left: 220px;
overflow: hidden;
}
@media screen and ($max-mobile-viewport) {
padding-top: 20px;
padding-left: 80px;
a {
padding-left: 0;
text-indent: -1000px;
}
}
}
@media screen and ($max-mobile-viewport) {
box-shadow: none;
}
}
nav {
z-index: 1000;
}
div#main-content-wrapper {
box-shadow: 0 -20px 10px $nav-background;
padding-top: 1rem;
padding-bottom: 1rem;
background: white;
}
#toplinks {
background: #f6f6f6;
border: none;
box-shadow: none;
border-radius: 0;
a {
display: inline-block;
color: black;
padding: 5px 10px 10px 10px;
text-decoration: underline;
&:hover {
color: $green;
}
}
@media screen and ($max-mobile-viewport) {
left: 0;
right: 0;
max-width: none;
font-size: 14px;
}
}
#nav {
border-bottom: 5px solid $green;
ul {
margin: 0;
}
}
div.gru-nav > ul > li a {
font-weight: normal;
text-transform: uppercase;
}
div.drafts-recall a,
div.textcell a {
text-decoration: underline;
&.pk-button, &.pk-big-button {
text-decoration: none;
}
}
form p label, .field--label {
font-size: 110%;
}
footer {
div.textcell a {
color: white;
}
}
#footer-wrapper {
margin-top: 0;
}
#side {
padding-left: 1rem;
}
#rub_service {
max-width: 900px;
margin: auto;
}
#gauche + #rub_service {
max-width: none;
margin: 0;
}
input, input[type="text"], input[type="email"], input[type="password"], input[type="url"], input[type="tel"], input[type="number"], input[type="search"], input[type="file"], input[type="date"], input[type="datetime-local"], input[type="month"], input[type="time"], input[type="week"], textarea, select {
border-bottom-width: 2px;
&:focus:not([readonly]) {
border-bottom-width: 2px;
}
}

View File

@ -0,0 +1,39 @@
$green: #7cb342;
$primary-color: $green;
$font-color: #444;
$font-size: 100%;
$font-family: "Fira Sans", sans-serif;
$width: 1350px;
$nav-background: #747474;
$nav-color: white;
$nav-active-color: $green;
$nav-mobile-bottom-bar-background: $nav-background;
$border-radius: 0px;
$button-background: $green;
$button-color: white;
$widget-border: 1px solid #ced4da;
$widget-focus-background: #f0f0f0;
$widget-focus-box-shadow: inset 2px 2px 5px 0 #c9c9c9;
$title-background: transparent;
$title-font-family: "Roboto Condensed", "Helvetica Neue", Helvetica, Arial, sans-serif;
$title-color: #444;
$title-font-size: 2.2rem;
$title-weight: 900;
$footer-background: #455a63;
$footer-color: white;
$link-color: $font-color;
$cell-border: none;
$wcs-steps-spacing: 0.7rem;
$wcs-step-border-bottom: none;
$wcs-step-marker-type: disc tied;
$wcs-step-marker-tie-width: 3px;
$wcs-step-marker-tie-color: $primary-color;
$wcs-step-marker-background: #eee;
$wcs-step-current-marker-color: black;
$wcs-step-current-marker-background: $primary-color;
$buttons-alignment: center;

View File

@ -0,0 +1,14 @@
{
"label": "Corrèze (CD19)",
"variables": {
"theme_color": "#7cb342",
"pwa_display": "standalone"
},
"settings": {
"combo": {
"COMBO_ASSET_SLOTS.update": {
"header:background": { "label": "Têtière : fond" }
}
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 502 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

View File

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