333 lines
5.8 KiB
SCSS
Raw Normal View History

2019-04-05 00:19:26 +02:00
// home
.gal{
width: 100%;
2019-05-01 19:59:32 +02:00
max-height:554px;
2019-04-05 00:19:26 +02:00
overflow-y: hidden;
position: relative;
2019-05-01 19:59:32 +02:00
border-top: 1px solid $light-blue;
border-bottom: 10px solid $green;
2019-04-05 00:19:26 +02:00
.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);
}
}
}
2019-04-09 18:05:36 +02:00
.title{
position: absolute;
right: 50px;
width: 33%;
2019-05-01 19:59:32 +02:00
background: $light-blue;
2019-04-09 18:05:36 +02:00
padding: 40px;
2019-05-01 19:59:32 +02:00
top: 350px;
color: $white;
2019-04-09 18:05:36 +02:00
}
2019-04-05 00:19:26 +02:00
}
.cat{
height: 50px;
2019-04-08 18:00:38 +02:00
z-index: 999;
margin: 20px 0;
2019-05-01 19:59:32 +02:00
.btn-group{
2019-04-08 18:00:38 +02:00
@include inlineflex();
margin-left: 15px;
}
2019-05-01 19:59:32 +02:00
label{
2019-04-05 00:19:26 +02:00
padding: 10px;
border: 1px solid black;
2019-04-08 18:00:38 +02:00
margin-right: 20px;
2019-04-05 00:19:26 +02:00
}
}
2019-04-08 18:00:38 +02:00
.start:not(#form){
#item{
@include inlineflex();
width: 100%;
.card{
width: calc( (100% / 4) - 45px);
min-width: 250px;
margin: 0 15px 30px 15px;
border: 1px solid black;
.card-header{
position: absolute;
width: auto;
right: 0;
text-align: right;
.publics{
padding: 10px;
background: grey;
2019-05-01 19:59:32 +02:00
color: white;
2019-04-08 18:00:38 +02:00
}
}
.card-body{
padding: 15px;
.card-title{
margin-bottom: 10px;
2019-04-05 00:19:26 +02:00
}
2019-04-03 15:29:46 +02:00
}
2019-04-02 19:54:29 +02:00
}
2019-04-08 18:00:38 +02:00
}
}
.start#form{
#item{
width: calc( (100% / 2));
min-width: 250px;
margin: 100px auto;
form{
@include inlineflex();
margin-top: 20px;
& > div{
margin: 20px 0;
width: 50%;
&:nth-of-type(3){
width: 100%;
}
input{
width: 90%;
}
&:nth-of-type(10){
width: 100%;
}
2019-04-03 15:29:46 +02:00
}
2019-04-02 19:54:29 +02:00
}
}
}
2019-05-01 19:59:32 +02:00
.content{
width: 50%;
margin: 60px 20px 20px auto;
2019-04-03 15:29:46 +02:00
p{
margin: 10px 0;
2019-04-02 19:54:29 +02:00
}
}
2019-04-09 18:05:36 +02:00
.content_s{
margin: auto!important;
}
2019-05-01 19:59:32 +02:00
.entete{
background-image: url('/user/themes/lecampus/images/Trame-bleu.svg');
background-position: center;
background-repeat: no-repeat;
background-size: cover;
height: auto;
.entete_c{
width: 66%;
margin: 50px auto;
position: relative;
h2{
float: left;
width: auto;
background: $red;
border-radius: 30px;
width: auto;
padding: 10px 20px;
}
h3{
float: left;
margin-bottom: 50px;
}
}
}
#home{
.entete_c{
margin-top: 20px;
}
2019-04-05 00:19:26 +02:00
.content{
2019-05-01 19:59:32 +02:00
@include inlineflex();
2019-04-05 00:19:26 +02:00
& > p{
2019-05-01 19:59:32 +02:00
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);
2019-04-05 00:19:26 +02:00
}
&:last-child{
2019-05-01 19:59:32 +02:00
width: auto!important;
margin-top: 0!important;
margin: auto;
2019-04-05 00:19:26 +02:00
a{
display: block;
2019-05-01 19:59:32 +02:00
padding: 10px 20px;
text-align: center;
border: 2px solid $green;
border-radius: 30px;
margin: auto;
transition: background-color 0.3s ease;
2019-04-05 00:19:26 +02:00
}
}
}
}
}
2019-04-03 15:29:46 +02:00
// items
.bandeau{
width: 100%;
2019-05-01 19:59:32 +02:00
max-height: 554px;
2019-04-03 15:29:46 +02:00
overflow: hidden;
2019-04-02 19:54:29 +02:00
}
2019-04-08 18:00:38 +02:00
#item{
2019-05-01 19:59:32 +02:00
h3{
margin-top: 20px;
}
.content{
// width: 50%;
h4{
&:not(:first-of-type){
border-top: 1px solid black;
padding-top: 30px;
margin: 30px 0;
}
}
p{
}
}
2019-04-08 18:00:38 +02:00
.sub-content{
border-top: 1px solid black;
margin-bottom: 20px;
2019-04-05 00:19:26 +02:00
margin-top: 20px;
2019-04-09 18:05:36 +02:00
& > img{
width: 33%;
float: left;
margin: 20px 10px 0px 0px;
}
2019-04-08 18:00:38 +02:00
}
}
#event{
.content{
margin-top: 50px;
h2{
float: left;
margin-right: 20px;
}
.reso{
@include inlineflex;
flex-wrap: nowrap;
width: 50px;
height: 25px;
}
}
.sidebar{
margin-top: 50px;
}
}
2019-04-03 15:29:46 +02:00
.sidebar{
2019-05-01 19:59:32 +02:00
width: 300px;
margin: -50px auto 0 20px;
h2{
background: $red;
border-radius: 100px;
width: 100px;
height: 100px;
}
2019-04-03 15:29:46 +02:00
.side-agenda{
padding: 10px 0;
2019-05-01 19:59:32 +02:00
&:not(:nth-of-type(1)){
border-top: 1px solid $light-blue;
&::before{
content: " ";
display: block;
position: absolute;
width: 5px;
height: 5px;
margin-top: -13px;
border-radius: 10px;
background: $light-blue;
}
}
2019-04-03 15:29:46 +02:00
&:nth-of-type(3){
margin-bottom: 10px;
2019-04-02 19:54:29 +02:00
}
}
2019-04-03 15:29:46 +02:00
.side-all-agenda{
width: auto;
2019-05-01 19:59:32 +02:00
padding: 10px;
2019-04-03 15:29:46 +02:00
margin-bottom: 10px;
2019-05-01 19:59:32 +02:00
float: left;
border: 2px solid $red;
border-radius: 30px;
2019-04-03 15:29:46 +02:00
}
}
2019-04-05 00:19:26 +02:00
2019-05-01 19:59:32 +02:00
.side-newsletter{
padding: 20px;
background: $light-blue;
#mc_embed_signup{
width: 600px;
margin: auto;
padding: 0 0 0 10px;
border-radius: 100px;
border: 1px solid $white;
form{
@include inlineflex();
width: 100%;
#mc_embed_signup_scroll{
@include inlineflex();
width: 100%;
margin: auto;
label{
text-align: center;
color: $white;
margin-right: 10px;
width: 260px;
}
&>input{
width: 315px;
padding-left: 20px;
}
input{
border-radius: 30px;
height: 30px;
box-shadow: none;
border: none;
}
.clear{
input{
background: $white;
margin-left: -30px;
}
}
}
}
}
2019-04-05 00:19:26 +02:00
}