correze-intranet: duplicate correze theme (#81881)

This commit is contained in:
Lauréline Guérin 2023-10-02 17:02:51 +02:00
parent 4025a422cf
commit 5cb025f75a
No known key found for this signature in database
GPG Key ID: 1FAB9B9B4F93D473
6 changed files with 377 additions and 0 deletions

View File

@ -0,0 +1,308 @@
@import '../includes/fonts/firasans';
@import '../includes/fonts/roboto-condensed';
%big-title {
@extend %title;
background: transparent;
color: $font-color;
padding-left: 0.5rem;
font-size: 2.2rem;
}
%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;
}
#columns div.textcell {
@extend .pk-transparent;
h1 {
@extend %big-title;
}
h2, h2:first-child {
@extend %big-title;
font-size: 1.5rem;
}
}
div#header {
background: white;
box-shadow: 0 20px 10px $nav-background;
@media ($min-desktop-viewport) {
padding-left: $columns-gutter;
padding-right: $columns-gutter;
}
#logo {
padding-bottom: 20px;
a {
display: block;
height: 120px;
background-size: 200px auto;
background-position: bottom left;
}
@media screen and ($max-mobile-viewport) {
padding-top: 20px;
a {
padding-left: 0;
}
}
}
@media screen and ($max-mobile-viewport) {
box-shadow: none;
}
}
.site-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;
}
}
// Page picture
body.has-picture .site-nav::after {
box-sizing: content-box;
position: static;
max-width: $width;
margin: 0 auto;
padding-top: 20%;
height: 0;
@media (min-width: $width) {
padding-top: 270px;
}
@media ($max-mobile-viewport) {
content: none;
}
}
#main-content {
@media ($min-desktop-viewport) {
padding-left: $columns-gutter;
padding-right: $columns-gutter;
}
}
div.gru-nav > ul > li a {
font-weight: normal;
}
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%;
}
// CUSTOM FOOTER
#footer {
font-family: $title-font-family;
font-size: 1.125em;
padding: $columns-gutter;
@media ($min-desktop-viewport) {
padding: 0 $columns-gutter * 2 $columns-gutter;
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
> .cell {
flex: 0 1 25%;
}
}
// social icons
[class*="icon-"]::before {
font-family: FontAwesome;
line-height: 1;
}
.icon-facebook::before {
content: "\f09a";
}
.icon-twitter::before {
content: "\f099";
}
.icon-youtube::before {
content: "\f167";
}
.icon-instagram::before {
content: "\f16d";
}
.icon-instagram::before {
content: "\f16d";
}
.icon-linkedin::before {
content: "\f0e1";
}
.icon-viadeo::before {
content: "\f2a9";
}
.icon-phone::before {
content: "\f095";
}
div.textcell {
h1, h2 {
font-size: 2.1rem;
margin-bottom: 0;
margin-top: 0;
}
p {
margin: 8px 0;
}
a {
color: white;
}
&.footer-network {
flex-basis: auto;
a {
background: #546e7a;
color: #b0bec5;
font-size: 1.52941176470588em;
display: inline-block;
width: 42px;
height: 54px;
line-height: 54px;
text-align: center;
text-decoration: none;
&:hover {
color: black;
}
}
}
&.footer-copyright {
font-size: 1rem;
font-weight: 300;
flex: 0 0 100%;
color: #b0bec5;
}
}
div.links-list {
text-align: right;
li {
border-bottom: none !important;
display: block;
&:first-child {
// Téléphone
&::before {
content: "\f095"; // icon-tel
font-family: FontAwesome;
line-height: 1;
font-size: 1.5em;
vertical-align: middle;
margin-right: .33em;
}
a {
color: white;
margin-bottom: 1rem;
}
}
&:not(:first-child) {
font-size: 1rem;
}
a {
display: inline;
padding: 0;
color: #b0bec5;
&:hover {
text-decoration: underline;
background: none;
color: white;
}
}
}
}
}
#footer-wrapper {
margin-top: 0;
}
#side {
padding-left: 1rem;
}
div#rub_service {
max-width: 900px;
margin: auto;
> h2 {
@extend %big-title;
}
}
.form-content--sidebox + #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,49 @@
$green: #7cb342;
$primary-color: $green;
$font-color: #444;
$font-size: 100%;
$font-family: "Fira Sans", sans-serif;
$width: 1350px;
$mobile-width: none;
$nav-background: #747474;
$nav-color: white;
$nav-active-color: $green;
$nav-mobile-bottom-bar-background: $nav-background;
$nav-item-transform: uppercase;
$border-radius: 0px;
$button-background: $green;
$button-color: white;
$widget-border: 1px solid #ced4da;
$widget-focus-background: #f0f0f0;
$widget-focus-outline: none;
$widget-focus-box-shadow: inset 2px 2px 5px 0 #c9c9c9;
$widget-unique-checkbox-position: left;
$title-background: $primary-color;
$title-font-family: "Roboto Condensed", "Helvetica Neue", Helvetica, Arial, sans-serif;
$title-color: white;
$title-weight: 900;
$title-padding: .5rem 1rem;
$link-color: $font-color;
$cell-image-position: top;
$cell-image-padding: 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-order: previous, submit, cancel;
$buttons-alignment: center;
$footer-background: #455a63;
$footer-color: white;
$footer-full-width-background: false;

View File

@ -0,0 +1,15 @@
{
"label": "Corrèze (CD19)",
"variables": {
"theme_color": "#7cb342"
},
"settings": {
"combo": {
"COMBO_ASSET_SLOTS.update": {
"header:background": { "label": "Têtière : fond" },
"header:logo": { "label": "Têtière : logo" },
"footer:logo": { "label": "Pied de page : logo" }
}
}
}
}

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';