Commit f6712b91 authored by okhin's avatar okhin 🚴

Merge branch '32-nouveau-front' into 'preprod'

Deploiement de la page perso et des nouvelles CSS

See merge request !17
parents 6c8f8f95 3171b757
......@@ -10,6 +10,8 @@ vendor/
pdf/
app/env
.php_cs.cache
.DS_Store
__MAC
tests/_data
tests/_output
......
......@@ -27,4 +27,14 @@
<link rel="stylesheet" href="/static/css/modals.css" media="all">
<link rel="stylesheet" href="/static/css/collapsibles.css" media="all">
<link rel="stylesheet" href="/static/css/layouts.css" media="all">
<!-- Custom Styles pour la version 2018 -->
<link rel="stylesheet" href="./static/css/custom.css" media="all">
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
</head>
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
.collapsible > input[type="checkbox"] {
display: none;
}
.collapsible > input[type="checkbox"] + .panel-heading label {
cursor: pointer;
line-height: 26px;
vertical-align: middle;
}
.collapsible > input[type="checkbox"]:not(:checked) + .panel-heading + .collapsed {
height: 0px;
overflow: hidden;
}
.collapsible > input[type="checkbox"] + label {
cursor: pointer;
}
.collapsible > input[type="checkbox"]:checked + .panel-heading + .collapsed {
height: inherit;
overflow: none;
}
.collapsible > input[type="checkbox"] + .panel-heading .panel-caret::after {
content: url('/static/img/arrow_down_white.png');
line-height: 26px;
vertical-align: middle;
}
.collapsible > input[type="checkbox"]:checked + .panel-heading .panel-caret::after {
content: url('/static/img/arrow_up_darkblue.png');
line-height: 26px;
vertical-align: middle;
}
.collapsible-white > input[type="checkbox"]:checked + .panel-heading {
background-color: #dde5f1;
color: #2f5188;
border-bottom: 1px solid #2f5188;
}
.collapsible-white-pure > input[type="checkbox"]:checked + .panel-heading {
background-color: #fff;
color: #3b68b0;
border-bottom: 1px solid #3b68b0;
}
.menu-collapsed * {
display: none;
}
.menu-collapsed-target {
position: fixed;
top: 0px;
left: 0px;
visibility: hidden;
}
.menu-collapsed-target:target + .menu-collapsed * {
display: inherit;
}
.menu-collapsed .navbar-nav {
margin-bottom: 0px;
}
.menu-collapsed .navbar-nav > li {
border-top: 1px solid #2f5188;
text-align: center;
}
.menu-collapsed .navbar-nav > li:last-of-type {
border-bottom: 1px solid #2f5188;
}
body {
background-image : none;
background-color: #ebf3ff;
color: #2f5188;
}
p a {
color: #3B68B0;
text-decoration: underline;
}
.panel-heading {
padding-left: 2em;
padding-right: 2em;
}
form .form-group input, select.form-control , textarea.form-control{
border-radius : 0;
}
.c-groschiffre {
font-size : 2em;
font-weight: bold;
}
.panel-body.c-pannelfondblanc {
background-color: #fff;
border: solid 1px #2f5188;
}
.panel-default .panel-body {
color: #2f5188;
}
button.c-boutonslongs, input.c-boutonslongs {
background-color : #2f5188;
color: #fff;
width: 100%;
margin-top: 1em;
}
button.c-boutonslongs:hover, input.c-boutonslongs:hover {
background-color : #3B68B0;
color: #fff;
}
.panel-body.c-panelcontrepartie {
background-color: #fff;
border: solid 4px #2f5188;
margin-top: 1em;
margin-bottom: 1em;
display: flex;
}
.panel-body.c-panelcontrepartie > div {
margin: auto;
}
.panel-body.c-panelcontrepartie .c-prixcontrepartie {
position: absolute;
right: 3em;
}
.panel-default .panel-heading {
background-color : #2f5188;
}
.modal {
background-color: rgba(240, 246, 255, 0.7);
}
.c-modale {
border-radius : 0;
background-color: #fff;
border: solid 4px #2f5188;
color: #2f5188;
padding: 2em;
}
@font-face {
font-family: 'SansusWebissimoItalic';
src: url('https://fonts.lqdn.fr/collections/Sansus_Webissimo/SansusWebissimo-Italic.ttf') format('truetype');
font-weight: normal;
font-style: italic;
}
@font-face {
font-family: 'SansusWebissimoRegular';
src: url('https://fonts.lqdn.fr/collections/Sansus_Webissimo/SansusWebissimo-Regular.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'FiraSansRegular';
src: url('https://fonts.lqdn.fr/collections/Fira_Sans/FiraSans-Regular.woff2') format('woff2');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'FiraSansMedium';
src: url('https://fonts.lqdn.fr/collections/Fira_Sans/FiraSans-Medium.woff2') format('woff2');
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: 'FiraSansSemiBold';
src: url('https://fonts.lqdn.fr/collections/Fira_Sans/FiraSans-SemiBold.woff2') format('woff2');
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: 'FiraSansBook';
src: url('https://fonts.lqdn.fr/collections/Fira_Sans/FiraSans-Book.woff2') format('woff2');
font-weight: lighter;
font-style: normal;
}
input[type="radio"]:not(:checked),
input[type="radio"]:checked {
position: absolute;
left: -9999px;
}
#monthly {
padding: 0px;
margin-top: 0.8em;
margin-bottom: auto;
}
.radio[type="radio"]:not(:checked) + label,
.radio[type="radio"]:checked + label {
position: relative;
cursor: pointer;
padding-left: 20px;
font-family: FiraSansRegular;
font-size: 12px;
line-height: 15px;
}
.radio[type="radio"]:not(:checked) + label:before,
.radio[type="radio"]:checked + label:before {
content: '';
position: absolute;
left: 0px;
top: 0px;
width: 15px;
height: 15px;
border-radius: 7px;
background-color: #fff;
border: solid 1px #ccd3dd;
}
.radio[type="radio"]:checked + label:before {
content: '';
background-color: #758aac;
font-size: 30px;
box-shadow: 0 0 0 3px white inset;
}
.radio-row [type="radio"]:not(:checked) + label,
.radio-row [type="radio"]:checked + label {
float: left;
width: 55px;
height: 45px;
font-family: FiraSansMedium;
font-size: 18px;
line-height: 40px;
text-align: center;
margin: 1px;
}
.radio-row [type="radio"]:not(:checked) + label {
color: #3b68b0;
border-radius: 2px;
border: solid 1px #ccd3dd;
background-color: #ffffff;
}
.radio-row [type="radio"]:checked + label {
color: #ffffff;
border-radius: 2px;
border: solid 1px #ccd3dd;
background-color: #528eef;
}
.form-accent {
background-color: #f5f7fb;
font-size: 18px;
font-family: FiraSansBook;
margin: 5px;
line-height: 60px;
text-align: left;
}
.form-accent label {
color: #3b68b0;
width: 20%;
}
.form-accent input {
border-radius: 2px;
border: solid 1px #ccd3dd;
height: 45px;
width: 70% !important;
}
/* Class used as a way to display a value */
.display-only input {
background-color: #fff !important;
color: #3b68b0 !important;
font-size: 30px;
padding: 10px;
border: none;
text-align: right;
max-width: 150px;
height: 50px;
font-family: SansusWebissimoRegular;
border-radius: 0px;
}
input {
font-weight: normal;
}
.form-inline .form-group {
margin: 0px;
}
.form-control {
box-shadow: none !important;
}
.radio-row {
width: 95%;
margin-left: auto;
margin-right: auto;
}
* {
font-family: FiraSansRegular;
font-size: 16px;
}
h1, h2 {
font-family: SansusWebissimoRegular;
}
h1 {
font-size: 42px;
}
h2 {
font-size: 35px;
}
h3 {
font-size: 18px;
font-family: FiraSansMedium;
}
@media only screen and (min-width: 768px) {
section.container-fluid {
padding-left: 10%;
padding-right: 10%;
}
section:last-of-type {
padding-bottom: 90px;
}
.container-fluid .navbar-header {
margin-left: 10%;
}
}
.text-center {
margin-top: 0;
margin-bottom: O;
}
.page-header {
border: none;
margin-top: 8px;
margin-bottom: 8px;
}
.page-header hr {
border-color: #ccd3dd;
}
.page-header h1 span {
text-transform: uppercase;
}
.page-header h2 span,
.page-header h1 span {
font-family: inherit;
font-size: inherit;
}
.strike-through h2,
.strike-through h1 {
overflow: hidden;
margin-bottom: 28px;
margin-top: 28px;
}
.strike-through h2 span,
.strike-through h1 span {
position: relative;
}
.strike-through h2 span:before,
.strike-through h2 span:after,
.strike-through h1 span:before,
.strike-through h1 span:after {
content: "";
position: absolute;
border-bottom: 1px solid #497ed5;
width: 600px;
height: 8px;
top: 50%;
margin-top: -10px;
}
.light-blue .strike-through h2 span:before,
.light-blue .strike-through h2 span:after,
.light-blue .strike-through h1 span:before,
.light-blue .strike-through h1 span:after {
border-color: #2f5188;
}
.strike-through h2 span:before,
.strike-through h1 span:before {
right: 100%;
margin-right: 15px;
}
.strike-through h2 span:after,
.strike-through h1 span:after {
left: 100%;
margin-left: 15px;
}
.navbar-default {
background-color: white;
color: #3b68b0;
margin-bottom: 0px;
min-height: 35px;
border: none;
border-radius: 0px;
}
.navbar-default .navbar-nav > li > a {
color: #3b68b0;
font-size: 18px;
font-family: FiraSansBook;
}
.navbar-default:not(#up-bar) .navbar-nav > li > a.on,
.navbar-default:not(#up-bar) .navbar-nav > li > a:hover {
color: #3b68b0;
font-family: FiraSansMedium;
font-size: 18px;
}
section {
padding-bottom: 24px;
padding-top: 24px;
}
.dark-blue, .dark-blue .navbar-nav > li > a {
background-color: #2f5188;
color: #ffffff;
}
nav.dark-blue {
padding-right: 5%;
}
#up-bar, #up-bar > .navbar-nav, #up-bar > .navbar-nav > li, #up-bar > .navbar-nav > li > a {
height: 38px;
}
#up-bar > .navbar-nav > li > a {
padding-top: 7px;
padding-bottom: 7px;
}
.navbar-brand {
padding: 0;
}
.dark-blue .navbar-nav > li > a,
.navbar-nav.blue > li > a {
font-weight: bold;
font-size: 13px;
}
.dark-blue .navbar-nav > li > a:hover,
.navbar-nav.blue > li > a:hover {
color: #ffffff;
}
.dark-blue .navbar-nav > li > a:hover {
font-size: 13px;
}
.navbar-nav.blue > li > a:hover {
font-size: 18px;
}
.blue {
background-color: #3b68b0;
color: #ffffff;
}
.navbar-nav.blue > li > a {
background-color: #3b68b0;
color: #ffffff;
font-size: 18px;
padding-left: 5px;
padding-right: 5px;
}
.light-blue {
background-color: #497ed5;
color: #ffffff;
}
@media only screen and (min-width: 768px) {
.white {
background-image: url('/static/img/page1_persos_gauche-01.png'), url('/static/img/page1_persos_droite-01.png'), linear-gradient(white 0px, #497ed5 0px), url('/static/img/left.png'), url('/static/img/right.png');
background-repeat: no-repeat;
background-position: bottom left, bottom right, bottom, top left, top right;
background-color: #ebf3ff;
color: #3b68b0;
background-size: 25%, 25%, 100% 26px, 30%, 30%;
}
}
@media only screen and (max-width: 767px) {
.white {
background-image: linear-gradient(white 0px, #497ed5 0px), url('/static/img/left.png'), url('/static/img/right.png');
background-repeat: no-repeat;
background-position: bottom, top left, top right;
background-color: #ebf3ff;
color: #3b68b0;
background-size: 100% 26px, 30%, 30%;
}
}
.white {
padding-bottom: 52px;
}
.sky-blue {
background-color: #dde5f1;
color: #3b68b0;
}
.white-pure {
background-color: #ffffff;
color: #3b68b0;
padding: 34px;
}
.nav-white, .nav-white .navbar-nav > li > a {
background-color: #ffffff;
color: #3b68b0;
}
.btn {
border-radius: 0px;
padding-left: 38px;
padding-right: 38px;
font-family: FiraSansRegular;
}
.btn-lg {
font-size: 20px;
height: 60px;
line-height: 25px;
padding-top: 15px;
}
.btn em {
font-size: 28px;
font-family: SansusWebissimoRegular;
}
.btn-default,
.btn-default:hover {
color: #2f5188;
background-color: #ffffff;
}
.btn-icon {
padding-left: 15px;
}
.btn-icon:after {
vertical-align: top;
}
.btn-modal .btn-icon-right:after,
.dark-blue .btn-icon-right:after,
.blue .btn-icon-right:after,
.light-blue .btn-icon-right:after {
content: url('/static/img/arrow_right-white.png');
}
.btn-accordions .btn-icon-right:after {
content: url('/static/img/arrow_right_lightblue.png');
}
.btn-accordions:hover .btn-icon-right:after {
content: url('/static/img/arrow_right-white.png');
}
.btn-bottom .btn-icon-top:after {
content: url('/static/img/arrow_up_darkblue.png');
vertical-align: bottom;
}
.btn-bottom .btn-icon-pig:after {
content: url('/static/img/cochon-01.png');
vertical-align: top;
position: relative;
top: -5px;
}
.btn-lg .btn-icon {
max-height: 60px;
max-width: 60px;
line-height: 25px;
}