528 lines
9.4 KiB
SCSS
528 lines
9.4 KiB
SCSS
@import '../includes/fonts/din';
|
|
@import 'font/font-dosis';
|
|
@import 'font/font-raleway';
|
|
@import 'font/font-playfairdisplay';
|
|
|
|
#header-wrapper {
|
|
background: transparent;
|
|
padding-left: 10px;
|
|
|
|
div#header {
|
|
padding-left: 0;
|
|
padding-top: 10px;
|
|
|
|
#logo {
|
|
a {
|
|
display: block;
|
|
background: url(img/logo_malakoff.png) bottom left no-repeat;
|
|
background-size: 462px;
|
|
height: 78px;
|
|
line-height: 100px;
|
|
font-weight: normal;
|
|
padding-left: 500px;
|
|
text-indent: -10000px;
|
|
}
|
|
}
|
|
|
|
#toplinks {
|
|
padding-top: 0;
|
|
}
|
|
|
|
ul.social-links {
|
|
margin: -30px 0 0;
|
|
padding: 0;
|
|
float: right;
|
|
li {
|
|
display: inline-block;
|
|
a {
|
|
display: inline-block;
|
|
width: 25px;
|
|
height: 25px;
|
|
margin: 0 2px 0;
|
|
padding: 0;
|
|
background: url('img/sprite-networks.png') no-repeat;
|
|
background-position-x: 0%;
|
|
background-position-y: 0%;
|
|
}
|
|
}
|
|
li.facebook a {
|
|
background-position: 0 0;
|
|
}
|
|
li.twitter a {
|
|
background-position: -25px 0;
|
|
}
|
|
li.instagram a {
|
|
background-position: -50px 0;
|
|
}
|
|
li.snapchat a {
|
|
background-position: -75px 0;
|
|
}
|
|
li.youtube a {
|
|
background-position: -100px 0;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
#nav-wrapper {
|
|
#nav {
|
|
margin: 25px auto;
|
|
border-top: 2px solid #d8d8d8;
|
|
border-bottom: 2px solid #d8d8d8;
|
|
|
|
> ul {
|
|
margin: 0;
|
|
|
|
> li {
|
|
a {
|
|
padding: 10px 15px;
|
|
font-weight: normal;
|
|
text-decoration: none;
|
|
transition-property: background;
|
|
transition-duration: 500ms;
|
|
vertical-align: middle;
|
|
line-height: 1.2em;
|
|
font-size: 1.6em;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.04em;
|
|
color: #000000;
|
|
font-family: 'dosis_semibold',Arial,Verdana,sans-serif;
|
|
border: none;
|
|
}
|
|
a:hover {
|
|
border: none;
|
|
background: #d8d8d8;
|
|
}
|
|
a::after {
|
|
display: none;
|
|
}
|
|
> ul {
|
|
background: #d8d8d8;
|
|
padding: 20px 20px 20px 30px;
|
|
|
|
> li {
|
|
padding: 0;
|
|
margin: 20px 0 0;
|
|
|
|
> a {
|
|
display: inline;
|
|
padding: 5px;
|
|
font-weight: normal;
|
|
text-decoration: none;
|
|
vertical-align: middle;
|
|
letter-spacing: 0.04em;
|
|
transition: none;
|
|
text-transform: uppercase;
|
|
color: #363333;
|
|
font-family: 'dosis_semibold',Arial,Verdana,sans-serif;
|
|
font-size: 1.3em;
|
|
line-height: 1.3em;
|
|
}
|
|
> a:hover {
|
|
padding-right: 0;
|
|
}
|
|
> a:hover::after {
|
|
display: inline-block;
|
|
float: right;
|
|
content: " → ";
|
|
font-family: 'raleway_light',Arial,Verdana,sans-serif;
|
|
font-weight: normal;
|
|
font-size: 1.5em;
|
|
color: $primary-color;
|
|
margin: 0 10px 0 0;
|
|
padding: 0;
|
|
}
|
|
}
|
|
> li:first-child {
|
|
margin-top: 0;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/* custommization des titres avec un soulignage */
|
|
div#tracking-code h3,
|
|
div#rub_service h2,
|
|
div#rub_service div.category h3,
|
|
.gru-content div.a2-block h2,
|
|
.gru-content div.block h2,
|
|
div.links-list h2,
|
|
.gru-content div.textcell h2,
|
|
.gru-content div.textcell h2:first-child,
|
|
.gru-content div.cell h2:first-child {
|
|
background: transparent;
|
|
color: $font-color;
|
|
}
|
|
|
|
#content {
|
|
h1 {
|
|
color: #641d55;
|
|
font-family: 'playfairdisplay_italic',Arial,Verdana,sans-serif;
|
|
font-size: 3em;
|
|
line-height: 40px;
|
|
letter-spacing: 0.02em;
|
|
font-weight: normal;
|
|
}
|
|
h2, h3 {
|
|
text-transform: uppercase;
|
|
color: #641d55;
|
|
font-family: 'dosis_semibold',Arial,Verdana,sans-serif;
|
|
font-size: 1.4em;
|
|
line-height: 1.2em;
|
|
margin: 20px 5px 15px;
|
|
padding: 0;
|
|
font-weight: normal;
|
|
}
|
|
p {
|
|
font-weight: normal;
|
|
font-size: 0.85em;
|
|
color: #363333;
|
|
margin: 0 0 17px 0;
|
|
margin: 0 0 8px 0;
|
|
}
|
|
.cell.textcell a {
|
|
padding: 0px 2px;
|
|
line-height: 1.2em;
|
|
color: #363333;
|
|
font-family: 'raleway_light',Arial,Verdana,sans-serif;
|
|
font-weight: normal;
|
|
font-size: 1em;
|
|
border-bottom: 1px solid #01b7d3;
|
|
transition-property: background;
|
|
transition-duration: 500ms;
|
|
}
|
|
.cell.textcell a:hover {
|
|
background: #01b7d3;
|
|
}
|
|
|
|
#sidebar {
|
|
.cell.titre-menu {
|
|
margin-bottom: 0;
|
|
border: none;
|
|
|
|
a {
|
|
text-transform: uppercase;
|
|
color: #000000;
|
|
font-family: 'dosis_semibold',Arial,Verdana,sans-serif;
|
|
font-size: 1.6em;
|
|
line-height: 1.2em;
|
|
background: #d8d8d8;
|
|
padding: 15px 20px 8px 20px;
|
|
margin: 0;
|
|
letter-spacing: 0.04em;
|
|
}
|
|
}
|
|
.cell.menucell {
|
|
margin-top: 0;
|
|
padding: 14px 20px;
|
|
border: 1px solid #d8d8d8;
|
|
|
|
> div > ul > li {
|
|
margin-bottom: 7px;
|
|
|
|
a {
|
|
margin: 0;
|
|
padding: 0;
|
|
border-bottom: 0;
|
|
transition-property: color;
|
|
transition-duration: 500ms;
|
|
}
|
|
a:hover {
|
|
background: transparent;
|
|
color: $primary-color;
|
|
}
|
|
|
|
> a {
|
|
text-transform: uppercase;
|
|
color: #363333;
|
|
font-family: 'dosis_semibold',Arial,Verdana,sans-serif;
|
|
font-size: 1.1em;
|
|
line-height: 1.2em;
|
|
}
|
|
|
|
> ul {
|
|
margin-bottom: 10px;
|
|
|
|
> li {
|
|
margin: 7px 0;
|
|
|
|
a {
|
|
display: inline-block;
|
|
text-transform: none;
|
|
color: #363333;
|
|
font-family: 'raleway_light',Arial,Verdana,sans-serif;
|
|
font-size: 0.8em;
|
|
line-height: 1.3em;
|
|
}
|
|
a::before {
|
|
display: inline-block;
|
|
content: " → ";
|
|
font-family: 'raleway_light',Arial,Verdana,sans-serif;
|
|
font-weight: normal;
|
|
font-size: 2.4em;
|
|
color: #626569;
|
|
vertical-align: -4px;
|
|
transition-property: color;
|
|
transition-duration: 500ms;
|
|
}
|
|
a:hover::before {
|
|
color: $primary-color;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
#columns {
|
|
padding: 21px 54px 50px 54px;
|
|
border: 1px solid #d8d8d8;
|
|
|
|
.cell.wcsformsofcategorycell > div > div {
|
|
padding: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
%cancel-button {
|
|
background-color: white;
|
|
color: $link-color;
|
|
&:hover {
|
|
background-color: $link-color;
|
|
color: white;
|
|
}
|
|
}
|
|
|
|
div.buttons {
|
|
text-align: right;
|
|
.previous-button button {
|
|
@extend %cancel-button;
|
|
&:before {
|
|
content: "←";
|
|
font-family: "sans-serif";
|
|
margin-right: .33em;
|
|
vertical-align: 0.05em;
|
|
}
|
|
}
|
|
.submit-button button {
|
|
&::after {
|
|
content: "→";
|
|
font-family: "sans-serif";
|
|
margin-left: .33em;
|
|
vertical-align: 0.05em;
|
|
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
#footer {
|
|
min-height: 130px;
|
|
padding: 20px 0px 10px 0px;
|
|
border-top: 1px solid #d8d8d8;
|
|
border-bottom: 1px solid #d8d8d8;
|
|
|
|
.col-container {
|
|
padding: 0 10px;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
|
|
color: #363333;
|
|
font-size: 0.8em;
|
|
margin: 0;
|
|
font-family: 'raleway_regular',Arial,Verdana,sans-serif;
|
|
letter-spacing: 0.02em;
|
|
|
|
.col.left {
|
|
h1,h2,h3,h4,h5,h6 {
|
|
font-family: 'dosis_semibold',Arial,Verdana,sans-serif;
|
|
text-transform: uppercase;
|
|
font-size: 2.3em;
|
|
line-height: 1em;
|
|
font-weight: normal;
|
|
margin: 1ex 0.5rem;
|
|
}
|
|
a {
|
|
color: #626569;
|
|
}
|
|
a::after {
|
|
content: " → ";
|
|
font-family: 'raleway_light',Arial,Verdana,sans-serif;
|
|
font-weight: normal;
|
|
font-size: 2.4em;
|
|
color: #626569;
|
|
vertical-align: sub;
|
|
transition-property: color;
|
|
transition-duration: 500ms;
|
|
}
|
|
a:hover::after {
|
|
color: $secondary-color;
|
|
}
|
|
}
|
|
.col.middle {
|
|
margin: auto;
|
|
padding-left: 50px;
|
|
}
|
|
.col.right {
|
|
}
|
|
}
|
|
|
|
.bottom {
|
|
clear: both;
|
|
|
|
text-align: right;
|
|
line-height: 1em;
|
|
font-size: 0.8em;
|
|
|
|
.cell {
|
|
display: inline-flex;
|
|
|
|
a {
|
|
display: inline;
|
|
padding: 0 5px;
|
|
color: #363333;
|
|
font-family: 'raleway_light',Arial,Verdana,sans-serif;
|
|
transition-property: color;
|
|
transition-duration: 500ms;
|
|
text-decoration: none;
|
|
letter-spacing: 0.01em;
|
|
border: none;
|
|
font-weight: normal;
|
|
}
|
|
a:hover {
|
|
background: transparent;
|
|
color: $secondary-color;
|
|
}
|
|
}
|
|
.cell::after {
|
|
content: "/";
|
|
}
|
|
.cell:last-child::after {
|
|
content: "";
|
|
margin-right: 0;
|
|
}
|
|
}
|
|
|
|
.logo {
|
|
display: block;
|
|
min-height: 50px;
|
|
min-width: 290px;
|
|
background-image: url('img/ville_de_malakoff.jpg');
|
|
background-size: contain;
|
|
background-position: top right;
|
|
background-color: transparent;
|
|
background-repeat: no-repeat;
|
|
}
|
|
}
|
|
|
|
|
|
/* ajustements petits écrans (mobiles) */
|
|
@media screen and ($max-mobile-viewport){
|
|
|
|
#header-wrapper {
|
|
|
|
div#header {
|
|
|
|
#logo {
|
|
padding-left: 0;
|
|
|
|
a {
|
|
padding-left: 0;
|
|
max-width: 90%;
|
|
background-size: contain;
|
|
background-position: bottom left;
|
|
}
|
|
}
|
|
|
|
#toplinks {
|
|
border-right: 1px solid $primary-color;
|
|
right: 1em;
|
|
max-width: 90%;
|
|
text-align: right;
|
|
border-bottom-right-radius: 1em;
|
|
padding-right: 1em;
|
|
}
|
|
|
|
ul.social-links {
|
|
margin: 20px auto 0;
|
|
float: none;
|
|
text-align: center;
|
|
}
|
|
}
|
|
}
|
|
|
|
#nav-wrapper {
|
|
margin-top: 0;
|
|
|
|
#nav {
|
|
border-top: 0;
|
|
/*border-bottom: 0;*/
|
|
background: #641d55;
|
|
|
|
> ul {
|
|
padding-top: 0;
|
|
margin-top: 0;
|
|
font-size: 0.8em;
|
|
|
|
li {
|
|
border-bottom: 0;
|
|
}
|
|
|
|
> li:first-child a {
|
|
padding-left: 20px;
|
|
}
|
|
}
|
|
|
|
#nav-button::after {
|
|
content: "Menu";
|
|
text-transform: uppercase;
|
|
font-size: 1.6em;
|
|
margin-left: 60px;
|
|
color: white;
|
|
font-weight: bold;
|
|
padding-top: 14px;
|
|
vertical-align: -15px;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
#footer {
|
|
.col-container .col.middle {
|
|
padding-left: 0;
|
|
margin: 0;
|
|
}
|
|
.logo {
|
|
min-width: 260px;
|
|
max-width: 90%;
|
|
}
|
|
.bottom {
|
|
margin-top: 10px;
|
|
}
|
|
}
|
|
}
|
|
/* fin ajustement petits écrans */
|
|
|
|
//steps
|
|
.wcs-step--marker {
|
|
font-size: 1.2em;
|
|
}
|
|
@include desktop-vertical-steps() {
|
|
.wcs-step {
|
|
padding-left: 0;
|
|
&--label {
|
|
margin-left: 0;
|
|
}
|
|
&.current {
|
|
background-color: $primary-color;
|
|
}
|
|
&.current & {
|
|
&--label {
|
|
color: #fff;
|
|
}
|
|
}
|
|
}
|
|
}
|