essonne-cd91: add theme (#43332)

This commit is contained in:
Valentin Deniaud 2020-05-14 14:08:45 +02:00
parent f3be2bcf77
commit 931339c1f4
6 changed files with 155 additions and 0 deletions

View File

@ -0,0 +1,101 @@
// Page shadow
#page {
&::before {
$page-margin: 20px;
content: "";
width: $width + ($page-margin * 2);
height: 100vh;
margin: auto;
position: fixed;
top: 0;
left: calc(50% - (#{$width} / 2) - #{$page-margin});
z-index: -1;
box-shadow: 0px 0px 10px 0px #656565;
}
}
div#header-wrapper {
div#header h1 {
padding-top: 15px;
a {
display:inline-block;
background: url(img/logo.png) top center no-repeat;
height: 115px;
width: 100%;
text-indent: -1000px;
overflow: hidden;
@media screen and ($max-mobile-viewport) {
background-size: 120px;
height: 144px;
}
}
}
}
div#nav {
font-size: 13px;
font-weight: 700;
text-align: center;
padding-top: 1px;
border-bottom: 4px solid #dbdbdb;
text-transform: uppercase;
// nav desktop only
@media (min-width: $nav-mobile-limit + 1) {
> ul {
margin-bottom: 5px;
// Item separator
> li::before, > li:last-child::after {
content: '';
width: 1px;
height: 24px;
background: $gray-lighter;
display: inline-block;
vertical-align: middle;
margin: 1px;
}
> li > a {
border-top: 2px solid $nav-active-color;
}
}
}
// nav mobile only
@media screen and (max-width: $nav-mobile-limit) {
text-align: left;
}
}
// Links list
#main-content {
div#rub_service div.category ul,
div#services > ul > li > ul,
div#account-management ul,
div.links-list ul,
div.menucell ul,
div.wcsformcell,
div.notificationscell ul,
div.categoriescell ul,
div.link-list-cell ul,
div.wcsformsofcategorycell ul,
div.wcscurrentdraftscell ul,
div.wcscurrentformscell ul {
background-color: $gray-lighter;
& > li {
border-bottom-width: 3px !important;
}
}
}
div#footer-wrapper {
margin-top: 0;
font-size: 13px;
a {
text-decoration: underline;
color: white;
}
}
div.submit-button button, div.submit-button button:hover {
background: $primary-color-clearer;
}

View File

@ -0,0 +1,41 @@
$primary-color: hsl(190,100%,36%);
$primary-color-clearer: hsl(190,100%,45%);
$primary-color-darker: hsl(190,100%,30%);
$primary-color-xdarker: hsl(190,50%,20%);
$primary-color-light-grayish: hsl(190,40%,90%);
$gray-lighter: #f1f1f1;
$border-radius: 0;
$width: 1130px;
$link-color: $primary-color-darker;
$font-size: 15px;
$font-family: Roboto, sans-serif;
$nav-background: white;
$nav-color: #63636c;
$nav-active-color: $primary-color;
$button-background: $nav-background;
$nav-button-background: white;
$nav-button-color: #686971;
$responsive-menu: left-to-right;
$title-color: $primary-color-xdarker;
$title-border-bottom: 3px solid $primary-color;
$title-font-size: 36px;
$title-weight: 400;
$title-padding: 3rem 1rem 0.7rem 1rem;
$button-color: white;
$button-background: $primary-color;
$buttons-order: previous (grow),cancel (grow),submit;
$cell-border: none;
$cell-entry-border-color: white;
$cell-entry-hover-effect: left-to-right;
$cell-entry-hover-background: $primary-color-light-grayish;
$footer-background: $primary-color;
$footer-color: white;

View File

@ -0,0 +1,8 @@
{
"label": "Essonne (CD91)",
"variables": {
"favicon": "essonne/img/favicon.png",
"theme_color": "#0098b8",
"logo_link_url": "http://www.essonne.fr/"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

View File

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