fix fichier manquants
This commit is contained in:
27
user/themes/lecampus/scss/theme/_custom.scss
Normal file
27
user/themes/lecampus/scss/theme/_custom.scss
Normal file
@ -0,0 +1,27 @@
|
||||
.bandeau_partenaires {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: nowrap;
|
||||
margin-bottom: 3rem;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
align-content: space-around;
|
||||
img {
|
||||
height: 4rem;
|
||||
width: auto;
|
||||
margin-right: 2rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 400px) {
|
||||
.bandeau_partenaires {
|
||||
align-self: center;
|
||||
justify-content: center;
|
||||
margin: 1rem;
|
||||
img {
|
||||
height: 3rem;
|
||||
margin-right: 1rem;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
}
|
||||
}
|
119
user/themes/lecampus/scss/theme/_form.scss
Normal file
119
user/themes/lecampus/scss/theme/_form.scss
Normal file
@ -0,0 +1,119 @@
|
||||
.start#form{
|
||||
.entete{
|
||||
border-top: 1px solid $light-blue;
|
||||
}
|
||||
h2{
|
||||
margin-top: 0;
|
||||
}
|
||||
.body-wrapper{
|
||||
width: 100%;
|
||||
min-width: 250px;
|
||||
margin: auto auto 140px auto;
|
||||
form{
|
||||
width: calc( (100% / 2));
|
||||
margin-top: 20px;
|
||||
margin: auto;
|
||||
& > .form-columns{
|
||||
width: 100%;
|
||||
margin: 20px 0;
|
||||
& > .form-column.w-100{
|
||||
& > .form-group{
|
||||
width: 100%;
|
||||
& > .form-data{
|
||||
width: 100%;
|
||||
& > .form-textarea-wrapper {
|
||||
width: 100%;
|
||||
textarea{
|
||||
width: 100%;
|
||||
resize: none;
|
||||
border: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
& > .form-column {
|
||||
padding: 20px 0;
|
||||
display: flex;
|
||||
width: 100%;
|
||||
&:not(:nth-last-child(1)){
|
||||
border-bottom: 1px solid $red;
|
||||
}
|
||||
& > .form-group{
|
||||
width: auto;
|
||||
.form-data{
|
||||
@include inlineflex();
|
||||
margin: 0px 0px;
|
||||
&> div{
|
||||
overflow: hidden;
|
||||
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;
|
||||
}
|
||||
label{
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
.button-wrapper{
|
||||
background: $red;
|
||||
height: 100px;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
button{
|
||||
margin-right: 25%;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 50%;
|
||||
-webkit-transform: translateY(-50%);
|
||||
transform: translateY(-50%);
|
||||
background: white;
|
||||
border-radius: 30px;
|
||||
padding: 10px 35px;
|
||||
box-shadow:none;
|
||||
border:0;
|
||||
}
|
||||
}
|
||||
}
|
||||
#send-valide{
|
||||
-webkit-transform: translate(-50%, -50%);
|
||||
transform: translate(-50%, -50%);
|
||||
background: $red;
|
||||
border-radius: 20px;
|
||||
position: fixed;
|
||||
width: 30%;
|
||||
min-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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
497
user/themes/lecampus/scss/theme/thumbnails/thumbnails.scss
Normal file
497
user/themes/lecampus/scss/theme/thumbnails/thumbnails.scss
Normal file
@ -0,0 +1,497 @@
|
||||
*{
|
||||
box-sizing: border-box;
|
||||
}
|
||||
#nos-packs, #nos-offres{
|
||||
.content{
|
||||
margin-top: 0;
|
||||
width: 70%;
|
||||
margin: auto;
|
||||
.section{
|
||||
.__intro{
|
||||
text-align: center;
|
||||
color: $light-blue;
|
||||
margin: 100px 0;
|
||||
p{
|
||||
font-family: $now_alt_bold;
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
}
|
||||
.d-flex{
|
||||
display: inline-flex;
|
||||
flex-wrap: wrap;
|
||||
width: 100%;
|
||||
.__thumbnails{
|
||||
margin: 0 1rem;
|
||||
width: calc((100% / 4) - 2rem);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-self: baseline;
|
||||
.__title{
|
||||
text-align: center;
|
||||
margin-bottom: 1rem;
|
||||
.__d-inline{
|
||||
display: inline-block;
|
||||
border-bottom: 3px solid #b5cb3a;
|
||||
width: max-content;
|
||||
max-width: 100%;
|
||||
padding-bottom: 0.5rem;
|
||||
span{
|
||||
display: block;
|
||||
text-align: center;
|
||||
padding: 0 1.5rem 0.2rem 1.5rem;
|
||||
font-size: 0.8rem;
|
||||
font-family: $now_alt_medium;
|
||||
}
|
||||
}
|
||||
}
|
||||
.__thumb{
|
||||
position: relative;
|
||||
.__images{
|
||||
position: relative;
|
||||
height: 100%;
|
||||
max-height: 500px;
|
||||
overflow: hidden;
|
||||
img{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.dl_brochure{
|
||||
width: 100%;
|
||||
margin: 100px 0;
|
||||
a{
|
||||
font-size: 1.5rem;
|
||||
font-family: $now_alt_medium;
|
||||
display: block;
|
||||
text-align: center;
|
||||
text-transform: uppercase;
|
||||
color: $light-blue;
|
||||
}
|
||||
}
|
||||
&.nos_pack,&.nos_lieux{
|
||||
.__thumbnails{
|
||||
.__thumb.__hover{
|
||||
transition: 0.3s transform ease;
|
||||
a{
|
||||
outline: none;
|
||||
border: 0;
|
||||
}
|
||||
&:hover{
|
||||
transform: scale(1.015);
|
||||
transition: 0.3s transform ease, 0.3s box-shadow ease;
|
||||
.__images, .__btn{
|
||||
box-shadow: 0 0px 10px rgba(0, 0, 0, 0.2);
|
||||
transition: 0.3s box-shadow ease;
|
||||
}
|
||||
.__images{
|
||||
transition: 0.5s filter ease;
|
||||
filter: grayscale(0%);
|
||||
img{
|
||||
filter: grayscale(100%);
|
||||
transition: 0.5s filter ease;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
.__images{
|
||||
.__sub-title{
|
||||
opacity: 0;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 0;
|
||||
transform: translateY(-0%);
|
||||
text-align: center;
|
||||
color: white;
|
||||
padding: 1rem;
|
||||
transition: 0.5s transform ease, 1s opacity ease;
|
||||
p{
|
||||
font-size: 1rem;
|
||||
font-family: $now_alt_medium;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
.__btn{
|
||||
color: white;
|
||||
display: block;
|
||||
padding: 0.7rem 0;
|
||||
margin-top: 1rem;
|
||||
font-size: 0.8rem;
|
||||
font-family: $now_alt_medium;
|
||||
text-align: center;
|
||||
.triangle{
|
||||
position: absolute;
|
||||
z-index: -1;
|
||||
bottom: 0;
|
||||
left: 50%;
|
||||
transform: translate(-50%,0%);
|
||||
display : inline-block;
|
||||
height : 0;
|
||||
width : 0;
|
||||
border-top : 20px solid;
|
||||
border-right : 15px solid transparent;
|
||||
border-left : 15px solid transparent;
|
||||
transition: 0.1s transform ease;
|
||||
&.visible{
|
||||
transform: translate(-50%,90%);
|
||||
transition: 0.1s transform ease;
|
||||
}
|
||||
&.__blue{
|
||||
border-top : 20px solid $light-blue;
|
||||
}
|
||||
&.__green{
|
||||
border-top : 20px solid $green;
|
||||
}
|
||||
&.__red{
|
||||
border-top : 20px solid $red;
|
||||
}
|
||||
}
|
||||
&.__blue{
|
||||
background: $light-blue;
|
||||
}
|
||||
&.__green{
|
||||
background: $green;
|
||||
}
|
||||
&.__red{
|
||||
background: $red;
|
||||
}
|
||||
&.__grey{
|
||||
background: $grey;
|
||||
}
|
||||
}
|
||||
|
||||
&:hover{
|
||||
.__images{
|
||||
.__sub-title{
|
||||
opacity: 1;
|
||||
transform: translateY(-50%);
|
||||
transition: 0.5s transform ease, 1s opacity ease;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
&:last-child{
|
||||
margin-bottom: 100px;
|
||||
}
|
||||
.__thumbnails{
|
||||
&:nth-child(1){
|
||||
.__more{
|
||||
width: calc(100% * 4 + 6rem);
|
||||
}
|
||||
}
|
||||
&:nth-child(2){
|
||||
.__more{
|
||||
width: calc(100% * 4 + 6rem);
|
||||
transform: translateX(calc((-100% / 4) - 0.5rem));
|
||||
}
|
||||
}
|
||||
&:nth-child(3){
|
||||
.__more{
|
||||
width: calc(100% * 4 + 6rem);
|
||||
transform: translateX(calc((-100% / 2) - 1rem));
|
||||
}
|
||||
}
|
||||
}
|
||||
.__more{
|
||||
display: none;
|
||||
position: relative;
|
||||
left: 0;
|
||||
right: 0;
|
||||
// width: calc(100% * 4 - 6rem);
|
||||
margin: 0;
|
||||
margin: 2rem 0rem;
|
||||
.__wrap-content{
|
||||
background-size: cover;
|
||||
}
|
||||
.__txt.black{
|
||||
p{
|
||||
color: black!important;
|
||||
}
|
||||
}
|
||||
&.__blue{
|
||||
.__title{
|
||||
color: $light-blue;
|
||||
}
|
||||
.__txt{
|
||||
p{
|
||||
color: $light-blue;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
&.__green{
|
||||
.__title{
|
||||
color: $green;
|
||||
}
|
||||
.__txt{
|
||||
p{
|
||||
color: $green;
|
||||
}
|
||||
}
|
||||
}
|
||||
&.__red{
|
||||
.__title{
|
||||
color: $red;
|
||||
}
|
||||
.__txt{
|
||||
p{
|
||||
color: $red;
|
||||
}
|
||||
}
|
||||
}
|
||||
&.visible{
|
||||
display: block;
|
||||
}
|
||||
.__details{
|
||||
position: relative;
|
||||
}
|
||||
.__image-background{
|
||||
width: 100%;
|
||||
height: auto;
|
||||
img{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
}
|
||||
.__wrap-content{
|
||||
z-index: 999;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
padding: 2rem;
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
.__content{
|
||||
background: white;
|
||||
width: 50%;
|
||||
height: auto;
|
||||
padding: 2rem;
|
||||
position: relative;
|
||||
.close{
|
||||
position: absolute;
|
||||
top: 1rem;
|
||||
right: 1rem;
|
||||
cursor: pointer;
|
||||
|
||||
}
|
||||
.__title{
|
||||
text-align: left;
|
||||
h6{
|
||||
margin:0;
|
||||
font-size: 1.3rem;
|
||||
font-family: $now_alt_medium;
|
||||
}
|
||||
}
|
||||
.__txt{
|
||||
p{
|
||||
font-size: 0.9rem;
|
||||
font-family: $now_alt_medium;
|
||||
}
|
||||
&.__color{
|
||||
color: $light-blue;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
}
|
||||
.__btn{
|
||||
display: inline-flex;
|
||||
margin-top: 1rem;
|
||||
width: 100%;
|
||||
a{
|
||||
display: block;
|
||||
text-align: center;
|
||||
width: 50%;
|
||||
background: $light-blue;
|
||||
margin: 0;
|
||||
transition: 0.3s transform ease, 0.3s box-shadow ease;
|
||||
padding: 0.5rem 1.5rem;
|
||||
font-family: $now_alt_medium;
|
||||
font-size: 0.7rem;
|
||||
color: white;
|
||||
&:not(:first-child){
|
||||
margin-left: 1rem;
|
||||
}
|
||||
&:hover{
|
||||
transform: scale(1.015);
|
||||
box-shadow: 0 0px 10px rgba(0, 0, 0, 0.2);
|
||||
transition: 0.3s transform ease, 0.3s box-shadow ease;
|
||||
}
|
||||
&.__blue{
|
||||
background: $light-blue;
|
||||
}
|
||||
&.__green{
|
||||
background: $green;
|
||||
}
|
||||
&.__red{
|
||||
background: $red;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
&.open{
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1200px) {
|
||||
#nos-packs, #nos-offres{
|
||||
.content{
|
||||
.section{
|
||||
.__intro{
|
||||
margin: 70px 0;
|
||||
p{
|
||||
padding: 0!important;
|
||||
}
|
||||
}
|
||||
.d-flex{
|
||||
.__thumbnails{
|
||||
width: calc((100% / 3) - 2rem);
|
||||
margin-bottom: 2rem;
|
||||
.__more{
|
||||
width: calc(100% * 3 + 4rem);
|
||||
.__content{
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
&:nth-child(2){
|
||||
.__more{
|
||||
transform: translateX(calc((-100% / 3) - 0.5rem));
|
||||
}
|
||||
}
|
||||
&:nth-child(3){
|
||||
.__more{
|
||||
transform: translateX(calc((-100% / 1.5) - 1rem));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1024px) {
|
||||
#nos-packs, #nos-offres{
|
||||
.content{
|
||||
.section{
|
||||
.__intro{
|
||||
margin: 50px 0;
|
||||
}
|
||||
.d-flex{
|
||||
.__thumbnails{
|
||||
width: calc((100% / 2) - 2rem);
|
||||
margin-bottom: 2rem;
|
||||
.__more{
|
||||
width: calc(100% * 2 + 2rem);
|
||||
.__content{
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
&:nth-child(2){
|
||||
.__more{
|
||||
transform: translateX(calc((-100% / 2) - 1rem));
|
||||
}
|
||||
}
|
||||
&:nth-child(3){
|
||||
.__more{
|
||||
transform: translateX(-0%);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 750px) {
|
||||
.__details{
|
||||
.__content{
|
||||
p{
|
||||
padding: 0!important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 530px) {
|
||||
#nos-packs, #nos-offres{
|
||||
.content{
|
||||
.section{
|
||||
.__intro{
|
||||
margin: 20px 0;
|
||||
}
|
||||
.d-flex{
|
||||
.__thumbnails{
|
||||
width: calc((100%) - 2rem);
|
||||
margin-bottom: 2rem;
|
||||
.__title{
|
||||
margin-bottom: 0.5rem;
|
||||
.__d-inline{
|
||||
padding-bottom: 0.2rem;
|
||||
span{
|
||||
padding: 0 1.5rem;
|
||||
font-size: 1rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
.__more{
|
||||
width: calc(100%);
|
||||
.__details{
|
||||
padding: 0rem;
|
||||
.__content{
|
||||
width: 100%;
|
||||
padding: 1rem;
|
||||
p{
|
||||
padding: 0!important;
|
||||
}
|
||||
.close{
|
||||
top: 0.5rem;
|
||||
right: 0.5rem;
|
||||
}
|
||||
}
|
||||
.__wrap-content{
|
||||
padding: 0.5rem;
|
||||
}
|
||||
}
|
||||
.__btn{
|
||||
flex-direction: column;
|
||||
& > a{
|
||||
margin: auto 0 1rem 0!important;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
&:nth-child(2){
|
||||
.__more{
|
||||
transform: translateX(0%);
|
||||
}
|
||||
}
|
||||
&:nth-child(3){
|
||||
.__more{
|
||||
transform: translateX(-0%);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user