add design
This commit is contained in:
@ -1,42 +1,41 @@
|
||||
// home
|
||||
|
||||
.gal{
|
||||
width: 100%;
|
||||
max-height:554px;
|
||||
overflow-y: hidden;
|
||||
position: relative;
|
||||
// width: 100%;
|
||||
// max-height:554px;
|
||||
// overflow-y: hidden;
|
||||
// position: relative;
|
||||
border-top: 1px solid $light-blue;
|
||||
border-bottom: 10px solid $green;
|
||||
.slidesjs-navigation{
|
||||
z-index: 999;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
&.slidesjs-previous{
|
||||
left: 10px;
|
||||
&:before{
|
||||
display: block;
|
||||
content: " ";
|
||||
width: 30px;
|
||||
height: 50px;
|
||||
background-image: url('/user/themes/lecampus/images/arrow.svg');
|
||||
background-repeat: no-repeat;
|
||||
background-size: 30px 50px;
|
||||
}
|
||||
}
|
||||
&.slidesjs-next{
|
||||
right: 10px;
|
||||
&:before{
|
||||
display: block;
|
||||
content: " ";
|
||||
width: 30px;
|
||||
height: 50px;
|
||||
background-image: url('/user/themes/lecampus/images/arrow.svg');
|
||||
background-repeat: no-repeat;
|
||||
background-size: 30px 50px;
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
}
|
||||
}
|
||||
// .slidesjs-navigation{
|
||||
// z-index: 999;
|
||||
// position: absolute;
|
||||
// top: 50%;
|
||||
// transform: translateY(-50%);
|
||||
// &.slidesjs-previous{
|
||||
// left: 10px;
|
||||
// &:before{
|
||||
// display: block;
|
||||
// content: " ";
|
||||
// width: 30px;
|
||||
// height: 50px;
|
||||
// background-image: url('/user/themes/lecampus/images/arrow.svg');
|
||||
// background-repeat: no-repeat;
|
||||
// background-size: 30px 50px;
|
||||
// }
|
||||
// }
|
||||
// &.slidesjs-next{
|
||||
// right: 10px;
|
||||
// &:before{
|
||||
// display: block;
|
||||
// content: " ";
|
||||
// width: 30px;
|
||||
// height: 50px;
|
||||
// background-image: url('/user/themes/lecampus/images/arrow.svg');
|
||||
// background-repeat: no-repeat;
|
||||
// background-size: 30px 50px;
|
||||
// transform: rotate(180deg);
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
.title{
|
||||
position: absolute;
|
||||
right: 50px;
|
||||
@ -58,35 +57,113 @@
|
||||
}
|
||||
label{
|
||||
padding: 10px;
|
||||
border: 1px solid black;
|
||||
margin-right: 20px;
|
||||
cursor: pointer;
|
||||
&.tous{
|
||||
border-top: 2px solid $green;
|
||||
border-bottom: 2px solid $green;
|
||||
}
|
||||
&.professionnels{
|
||||
border-top: 2px solid $red;
|
||||
border-bottom: 2px solid $red;
|
||||
}
|
||||
&.grand_public{
|
||||
border-top: 2px solid $light-blue;
|
||||
border-bottom: 2px solid $light-blue;
|
||||
}
|
||||
&.formations{
|
||||
border-top: 2px solid $grey;
|
||||
border-bottom: 2px solid $grey;
|
||||
}
|
||||
&.archive{
|
||||
border-top: 2px solid $dark-blue;
|
||||
border-bottom: 2px solid $dark-blue;
|
||||
}
|
||||
}
|
||||
input{
|
||||
visibility: hidden;
|
||||
position: absolute;
|
||||
}
|
||||
}
|
||||
|
||||
.bandeau{
|
||||
width: 100%;
|
||||
max-height: 554px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.container{
|
||||
& > .title{
|
||||
background: $red;
|
||||
border-radius: 30px;
|
||||
width: auto;
|
||||
float:left;
|
||||
padding: 10px 20px;
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
|
||||
.start:not(#form){
|
||||
#item{
|
||||
&#calendrier, &#archive{
|
||||
width: 70%;
|
||||
min-height: calc(100vh - 325px);
|
||||
margin: auto;
|
||||
}
|
||||
.body-wrapper{
|
||||
@include inlineflex();
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
position: relative;
|
||||
.card{
|
||||
width: calc( (100% / 4) - 45px);
|
||||
min-width: 250px;
|
||||
min-width: 200px;
|
||||
margin: 0 15px 30px 15px;
|
||||
border: 1px solid black;
|
||||
.card-header{
|
||||
position: absolute;
|
||||
width: auto;
|
||||
width: 100%;
|
||||
right: 0;
|
||||
text-align: right;
|
||||
.professionnels{
|
||||
background-color: $red;
|
||||
}
|
||||
.grand_public{
|
||||
background-color: $light-blue;
|
||||
}
|
||||
.formations{
|
||||
background-color: $grey;
|
||||
}
|
||||
.publics{
|
||||
padding: 10px;
|
||||
background: grey;
|
||||
padding: 2.5px 10px;
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
.card-body{
|
||||
padding: 15px;
|
||||
.card-title{
|
||||
margin-bottom: 10px;
|
||||
background-image: url('/user/themes/lecampus/images/Trame-bleu.svg');
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
}
|
||||
}
|
||||
.event{
|
||||
width: 45%;
|
||||
.card-content{
|
||||
@include inlineflex;
|
||||
flex-wrap: nowrap;
|
||||
justify-content: space-between;
|
||||
.reso{
|
||||
width: 20%;
|
||||
a{
|
||||
display: block;
|
||||
margin-bottom: 10px;
|
||||
img{
|
||||
margin-left: 10px;
|
||||
width: 20px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.txt{
|
||||
width: 80%;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -94,33 +171,101 @@
|
||||
}
|
||||
|
||||
.start#form{
|
||||
#item{
|
||||
.body-wrapper{
|
||||
width: calc( (100% / 2));
|
||||
min-width: 250px;
|
||||
margin: 100px auto;
|
||||
form{
|
||||
@include inlineflex();
|
||||
width: 100%;
|
||||
margin-top: 20px;
|
||||
& > div{
|
||||
width: 100%;
|
||||
margin: 20px 0;
|
||||
width: 50%;
|
||||
&:nth-of-type(3){
|
||||
width: 100%;
|
||||
}
|
||||
input{
|
||||
width: 90%;
|
||||
}
|
||||
&:nth-of-type(10){
|
||||
border-bottom: 1px solid $red;
|
||||
.form-data{
|
||||
@include inlineflex();
|
||||
margin: 20px 0px;
|
||||
&> div{
|
||||
margin: 10px 10px;
|
||||
min-width: 100px;
|
||||
border: 2px solid $red;
|
||||
border-radius: 30px;
|
||||
padding: 10px 20px;
|
||||
&.check{
|
||||
background: $red;
|
||||
color: white;
|
||||
}
|
||||
input{
|
||||
border: none;
|
||||
}
|
||||
input[type='radio'] {
|
||||
visibility: hidden;
|
||||
position: absolute;
|
||||
}
|
||||
}
|
||||
}
|
||||
&:nth-of-type(n+5):not(:nth-of-type(n+11)){
|
||||
width: 50%;
|
||||
float: left;
|
||||
border-bottom: 0px;
|
||||
.form-data{
|
||||
width: 100%;
|
||||
& > div{
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
&:nth-of-type(9), &:nth-of-type(10){
|
||||
border-bottom: 1px solid $red !important;
|
||||
}
|
||||
&.button-wrapper{
|
||||
background: $red;
|
||||
height: 60px;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
button{
|
||||
margin-right: 20px;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
background: white;
|
||||
border-radius: 30px;
|
||||
padding: 10px 35px;
|
||||
box-shadow:none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#send-valide{
|
||||
transform: translate(-50%, -50%);
|
||||
background: $red;
|
||||
border-radius: 20px;
|
||||
position: fixed;
|
||||
width: 30%;
|
||||
height: 30%;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
padding: 50px;
|
||||
.toast{
|
||||
position: relative;
|
||||
text-align: center;
|
||||
color: white;
|
||||
}
|
||||
.ok{
|
||||
color: white;
|
||||
position: absolute;
|
||||
right: 20px;
|
||||
bottom: 20px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.content{
|
||||
width: 50%;
|
||||
margin: 60px 20px 20px auto;
|
||||
margin: 4rem auto;
|
||||
p{
|
||||
margin: 10px 0;
|
||||
}
|
||||
@ -131,93 +276,47 @@
|
||||
}
|
||||
|
||||
.entete{
|
||||
@include inlineflex;
|
||||
padding: 20px;
|
||||
background-image: url('/user/themes/lecampus/images/Trame-bleu.svg');
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
height: auto;
|
||||
.entete_c{
|
||||
@include inlineflex;
|
||||
text-align: center;
|
||||
width: 66%;
|
||||
margin: 50px auto;
|
||||
position: relative;
|
||||
h2{
|
||||
float: left;
|
||||
width: auto;
|
||||
margin-bottom: 20px;
|
||||
background: $red;
|
||||
border-radius: 30px;
|
||||
width: auto;
|
||||
padding: 10px 20px;
|
||||
}
|
||||
h3{
|
||||
float: left;
|
||||
margin-bottom: 50px;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
#home{
|
||||
.entete_c{
|
||||
margin-top: 20px;
|
||||
.body-wrapper{
|
||||
.entete{
|
||||
border-top: 10px solid $green;
|
||||
border-bottom: 10px solid $light-blue;
|
||||
}
|
||||
.content{
|
||||
@include inlineflex();
|
||||
& > p{
|
||||
position: relative;
|
||||
width: calc(100% / 3);
|
||||
padding: 50px 20px;
|
||||
margin-top: 10px;
|
||||
img{
|
||||
position: absolute;
|
||||
width: 50px;
|
||||
height: auto;
|
||||
top: -20px;
|
||||
left: 50%;
|
||||
transform: translate(-50%);
|
||||
}
|
||||
&:nth-of-type(n+4){
|
||||
width: calc(100% / 4);
|
||||
}
|
||||
&:last-child{
|
||||
width: auto!important;
|
||||
margin-top: 0!important;
|
||||
margin: auto;
|
||||
a{
|
||||
display: block;
|
||||
padding: 10px 20px;
|
||||
text-align: center;
|
||||
border: 2px solid $green;
|
||||
border-radius: 30px;
|
||||
margin: auto;
|
||||
transition: background-color 0.3s ease;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// items
|
||||
.bandeau{
|
||||
width: 100%;
|
||||
max-height: 554px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#item{
|
||||
h3{
|
||||
margin-top: 20px;
|
||||
}
|
||||
.content{
|
||||
// width: 50%;
|
||||
h4{
|
||||
&:not(:first-of-type){
|
||||
border-top: 1px solid black;
|
||||
padding-top: 30px;
|
||||
margin: 30px 0;
|
||||
margin: 30px 0 0 0;
|
||||
}
|
||||
}
|
||||
p{
|
||||
|
||||
}
|
||||
}
|
||||
.sub-content{
|
||||
border-top: 1px solid black;
|
||||
@ -251,8 +350,10 @@
|
||||
}
|
||||
|
||||
.sidebar{
|
||||
width: 300px;
|
||||
margin: -50px auto 0 20px;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
width: 250px;
|
||||
margin: -55px auto 0 20px;
|
||||
h2{
|
||||
background: $red;
|
||||
border-radius: 100px;
|
||||
@ -260,7 +361,7 @@
|
||||
height: 100px;
|
||||
}
|
||||
.side-agenda{
|
||||
padding: 10px 0;
|
||||
padding: 10px 20px 10px 0;
|
||||
&:not(:nth-of-type(1)){
|
||||
border-top: 1px solid $light-blue;
|
||||
&::before{
|
||||
@ -280,12 +381,24 @@
|
||||
}
|
||||
.side-all-agenda{
|
||||
width: auto;
|
||||
padding: 10px;
|
||||
padding: 10px 20px;
|
||||
margin-bottom: 10px;
|
||||
float: left;
|
||||
border: 2px solid $red;
|
||||
border-radius: 30px;
|
||||
transition: background-color 0.3s ease;
|
||||
a{
|
||||
color: black;
|
||||
}
|
||||
&:hover{
|
||||
background-color: $red;
|
||||
transition: background-color 0.3s ease;
|
||||
a{
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.side-newsletter{
|
||||
@ -316,7 +429,7 @@
|
||||
}
|
||||
input{
|
||||
border-radius: 30px;
|
||||
height: 30px;
|
||||
height: 31px;
|
||||
box-shadow: none;
|
||||
border: none;
|
||||
}
|
||||
@ -330,3 +443,201 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#home{
|
||||
.content{
|
||||
@include inlineflex();
|
||||
& > p{
|
||||
position: relative;
|
||||
width: calc(100% / 3);
|
||||
padding: 50px 20px;
|
||||
margin-top: 10px;
|
||||
img{
|
||||
position: absolute;
|
||||
width: auto;
|
||||
height: 50px;
|
||||
top: -20px;
|
||||
left: 50%;
|
||||
transform: translate(-50%);
|
||||
}
|
||||
&:nth-of-type(n+4){
|
||||
width: calc(100% / 4);
|
||||
}
|
||||
&:last-child{
|
||||
width: auto!important;
|
||||
margin-top: 0!important;
|
||||
margin: auto;
|
||||
a{
|
||||
display: block;
|
||||
padding: 10px 20px;
|
||||
text-align: center;
|
||||
border: 2px solid $green;
|
||||
border-radius: 30px;
|
||||
margin: auto;
|
||||
transition: background-color 0.3s ease;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#item{
|
||||
.content{
|
||||
@include inlineflex;
|
||||
flex-wrap: nowrap;
|
||||
.images_s{
|
||||
width: 100%;
|
||||
min-width: 300px;
|
||||
margin-right: 15px;
|
||||
img{
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
}
|
||||
.content_s{
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.devis{
|
||||
@include inlineflex();
|
||||
justify-content: center;
|
||||
background-image: url('/user/themes/lecampus/images/Trame-bleu.svg');
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
width: 100%;
|
||||
|
||||
.txt{
|
||||
@include inlineflex();
|
||||
}
|
||||
p{
|
||||
&:nth-of-type(1){
|
||||
width: 200px;
|
||||
height: auto;
|
||||
transform: translateY(50%);
|
||||
&::after {
|
||||
display: block;
|
||||
content: "";
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
background: $red;
|
||||
border-radius: 200px;
|
||||
margin-top: -65%;
|
||||
}
|
||||
}
|
||||
&:nth-of-type(2){
|
||||
width: 400px;
|
||||
background: white;
|
||||
padding: 20px;
|
||||
}
|
||||
}
|
||||
#demander-votre-devis{
|
||||
position: relative;
|
||||
a{
|
||||
display: block;
|
||||
margin-left: -100px;
|
||||
background: $red;
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
h3{
|
||||
padding-top: 50%;
|
||||
transform: translateY(-50%);
|
||||
&::after{
|
||||
display: block;
|
||||
content: ">";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.bx-viewport{
|
||||
height: 600px!important;
|
||||
}
|
||||
|
||||
#reco{
|
||||
background: $dark-blue;
|
||||
.title{
|
||||
cursor: pointer;
|
||||
width: 100%;
|
||||
padding: 10px;
|
||||
|
||||
h4{
|
||||
width: 300px;
|
||||
margin: auto;
|
||||
color: white;
|
||||
padding: 10px;
|
||||
text-align: center;
|
||||
border-top: 1px solid white;
|
||||
border-bottom: 1px solid white;
|
||||
&::after{
|
||||
display: block;
|
||||
content: ">";
|
||||
}
|
||||
}
|
||||
}
|
||||
.txt{
|
||||
z-index: -1;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
@include inlineflex;
|
||||
justify-content: center;
|
||||
p{
|
||||
color: white;
|
||||
width: 300px;
|
||||
margin: 0 20px 20px 20px;
|
||||
border-left: 1px solid white;
|
||||
padding-left: 20px;
|
||||
a{
|
||||
color: white;
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.content_s{
|
||||
&.map{
|
||||
width: 100%!important;
|
||||
height: auto;
|
||||
p{
|
||||
&:last-child{
|
||||
height: 500px;
|
||||
}
|
||||
}
|
||||
a#carte{
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#event{
|
||||
.head-event{
|
||||
.tags{
|
||||
width: 100%;
|
||||
&.professionnels{
|
||||
background-color: $red;
|
||||
}
|
||||
&.grand_public{
|
||||
background-color: $light-blue;
|
||||
}
|
||||
&.formations{
|
||||
background-color: $grey;
|
||||
}
|
||||
&.publics{
|
||||
padding: 2.5px 10px;
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
}
|
||||
.card-body{
|
||||
padding: 15px;
|
||||
background-image: url('/user/themes/lecampus/images/Trame-bleu.svg');
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
}
|
||||
}
|
||||
|
@ -1,13 +1,29 @@
|
||||
#footer{
|
||||
width: 100%;
|
||||
background: grey;
|
||||
@include inlineflex;
|
||||
.sub-content{
|
||||
width: calc((100% / 3) - 40px);
|
||||
border-top: 1px solid black;
|
||||
margin: 20px;
|
||||
@include inlineflex;
|
||||
width: 100%;
|
||||
margin: 20px 0;
|
||||
justify-content: center;
|
||||
h3{
|
||||
margin-top: 20px;
|
||||
}
|
||||
p{
|
||||
img{
|
||||
width: 50%;
|
||||
min-width: 200px;
|
||||
height: auto;
|
||||
}
|
||||
&:nth-of-type(1){
|
||||
img{
|
||||
float: right;
|
||||
}
|
||||
}
|
||||
&:not(:nth-of-type(1)){
|
||||
border-left: 1px solid black;
|
||||
padding: 0 20px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,6 @@
|
||||
html, body{
|
||||
font-family: $Regular;
|
||||
line-height: 1.35;
|
||||
}
|
||||
|
||||
h1{
|
||||
@ -20,9 +21,26 @@ h5{
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
.container{
|
||||
& > .title{
|
||||
font-family: $Bold;
|
||||
}
|
||||
}
|
||||
|
||||
.card-header{
|
||||
.publics{
|
||||
.tags{
|
||||
font-size: 0.8rem;
|
||||
font-family: $Bold;
|
||||
}
|
||||
}
|
||||
}
|
||||
.card-title{
|
||||
font-family: $Bold;
|
||||
font-size: 1.2rem;
|
||||
.date{
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
}
|
||||
|
||||
p{
|
||||
@ -69,21 +87,42 @@ p{
|
||||
}
|
||||
}
|
||||
|
||||
#item{
|
||||
.content{
|
||||
.content_s{
|
||||
h4{
|
||||
font-family: $Bold;
|
||||
font-size: 1.3rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.sidebar{
|
||||
line-height: 1.35rem;
|
||||
.date{
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
h2{
|
||||
font-size: 1.4rem;
|
||||
line-height: 100px;
|
||||
color: white;
|
||||
text-align: center;
|
||||
}
|
||||
h3{
|
||||
font-size: 1rem;
|
||||
h5{
|
||||
font-size: 1.3rem;
|
||||
font-family: $Bold;
|
||||
}
|
||||
.date{
|
||||
color: $grey;
|
||||
}
|
||||
.side-all-agenda{
|
||||
a{
|
||||
font-size: 0.9rem;
|
||||
font-family: $Bold;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.side-newsletter{
|
||||
label{
|
||||
font-size: 1rem;
|
||||
@ -104,3 +143,53 @@ p{
|
||||
font-family: $Bold;
|
||||
color: $red;
|
||||
}
|
||||
|
||||
#ajax-test-form{
|
||||
.form-label{
|
||||
font-size: 1.2rem;
|
||||
font-family: $Bold;
|
||||
}
|
||||
.radio{
|
||||
.form-radio{
|
||||
font-size: 1rem;
|
||||
font-family: $Bold;
|
||||
}
|
||||
}
|
||||
.button-wrapper{
|
||||
button{
|
||||
font-family: $Bold;
|
||||
}
|
||||
}
|
||||
}
|
||||
#send-valide{
|
||||
.toast{
|
||||
font-size: 1.3rem;
|
||||
font-family: $Bold;
|
||||
}
|
||||
.ok{
|
||||
font-family: $Bold;
|
||||
}
|
||||
}
|
||||
|
||||
.devis{
|
||||
p{
|
||||
&:nth-of-type(1){
|
||||
color: white;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
#demander-votre-devis{
|
||||
a{
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#footer{
|
||||
p{
|
||||
font-size: 0.8rem;
|
||||
a{
|
||||
font-family: $Bold;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user