add article + a venir

This commit is contained in:
2019-12-20 11:30:26 +01:00
parent 0fd036ea7b
commit 6ac0eb5b76
152 changed files with 3756 additions and 200 deletions

View File

@@ -16,7 +16,7 @@
max-width: 50%;
background: $light-blue;
padding: 25px;
top: 20vw;
bottom: 20%;
color: $white;
opacity: 0;
}
@@ -128,7 +128,7 @@
}
.start:not(#form){
&#calendrier, &#archive{
&#calendrier, &#archive, &#articles{
width: 70%;
margin: 40px auto 40px auto;
.header-wrapper{
@@ -160,7 +160,6 @@
font-size: 1.2rem;
}
}
}
.body-wrapper{
@include inlineflex();
@@ -170,7 +169,8 @@
.card{
width: calc( (100% / 3) - 27px);
min-width: 200px;
margin: 0 0 40px 0 ;
margin: 0 0 40px 0;
max-width: 1200px;
.card-header{
position: relative;
width: 100%;
@@ -225,6 +225,135 @@
}
}
#articles{
.cat{
label{
&:not(.active){
border: none;
}
&.active, &:hover{
border-top: 1px solid #0093a3;
border-bottom: 2px solid #b5cb3a;
}
}
}
.articles-listing{
flex-direction: column;
.card{
width: 100%!important;
& > a{
display: grid;
grid-template-columns: minmax(300px, 25%) minmax(400px, calc(75% - 40px)) ;
grid-template-rows: 250px;
grid-column-gap: 40px;
position: relative;
.card-image{
grid-column-start: 1;
grid-row-start: 1;
object-fit: contain;
overflow: hidden;
display: inline-flex;
justify-content: center;
img{
display: inline-block;
height: 250px;
width: auto;
}
}
.wrapper-content{
grid-column-start: 2;
grid-row-start: 1;
background-image: url(/user/themes/lecampus/images/Trame-bleu2.svg);
background-repeat: repeat;
padding: 20px 20px;
width: 100%;
height: 100%;
.date{
float: left;
}
.cat{
margin-left: 3px;
}
.readmore{
float: right;
}
}
}
.card-content{
overflow: hidden;
height: 7.7rem;
h2{
font-size: 0.9rem;
}
}
&:last-child{
margin-bottom: 0;
}
}
}
}
.paginations{
max-width: 1200px;
& > ul{
& > li{
border: none;
& > span{
&.active{
&::after{
content: " ";
width: 100%;
height: 5px;
display: block;
background: #b5cb3a;
}
}
}
span, a{
padding: 4px 5px;
}
&:first-child{
float: left;
& > a, & > span{
&::before{
content: "<";
margin-right: 10px;
display: inline-block;
transform: translateX(0px);
transition: 0.3s transform ease;
}
}
& > a{
&:hover{
&::before{
transform: translateX(-3px);
transition: 0.3s transform ease;
}
}
}
}
&:last-child{
float: right;
& > a, & > span{
&::after{
content: ">";
margin-left: 10px;
display: inline-block;
transform: translateX(0px);
transition: 0.3s transform ease;
}
}
& > a:hover{
&::after{
transform: translateX(3px);
transition: 0.3s transform ease;
}
}
}
}
}
}
.start#form{
.entete{
border-top: 1px solid $light-blue
@@ -556,7 +685,7 @@
}
#mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper.embedPopup,
#mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper.embedDefault { width: 400px; }
#mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper.embedForm { width: 40%; }
#mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper.embedForm { width: 750px; }
#mlb2-985974.ml-form-embedContainer .ml-form-align-left { text-align: left; }
#mlb2-985974.ml-form-embedContainer .ml-form-align-center { text-align: center; }
#mlb2-985974.ml-form-embedContainer .ml-form-align-default { display: table-cell !important; vertical-align: middle !important; text-align: center !important; }
@@ -845,6 +974,7 @@
#home{
.content{
// min-width: 800px;
@include inlineflex();
& > p{
position: relative;
@@ -881,7 +1011,102 @@
}
}
#item{
#item, #item-article{
.item-wrapper{
width: 45%;
margin: auto;
.title-wrapper{
display: inline-flex;
align-items: baseline;
width: 100%;
margin: 40px 0;
.back{
margin-right: 10px;
margin-left: -80px;
&::before{
content: "<";
display: inline-block;
margin-right: 5px;
}
}
.title{
width: auto;
margin: 0;
h1{
width: auto;
padding: 10px 20px;
border-radius: 30px;
background: #9e0027;
}
}
}
.info-wrapper{
display: inline-flex;
width: 100%;
flex-direction: column;
align-items: flex-end;
.date{
width: 100%;
background-image: url('/user/themes/lecampus/images/Trame-bleu2.svg');
background-repeat: repeat;
padding: 5px 10px;
text-align: right;
margin-bottom: 20px;
}
.reso{
display: inline-flex;
margin-bottom: 20px;
a{
display: inline-flex;
margin: 0 0 0 10px;
align-items: center;
img{
margin-left: 5px;
width: 20px;
height: auto;
}
}
}
}
.body-wrapper{
.card-image{
width: 100%;
}
.card-content{
margin: 40px 0;
.txt{
p{
margin: 0 0 1.2rem 0;
line-height: 1.5rem;
}
h2{
font-size: 1.2rem;
font-family: $Bold;
font-weight: normal;
margin: 0;
}
ul{
margin-bottom: 1.2rem;
li{
&::before{
content: " ";
width: 5px;
height: 5px;
border-radius: 10px;
display: inline-block;
vertical-align: middle;
background: $red;
margin-right: 5px;
}
}
}
}
}
}
}
}
#item, #item-article{
.content{
@include inlineflex;
.images_s{
@@ -978,7 +1203,7 @@
}
#devis{
&.item, &.sublog{
&.item, &.sublog, &.item-article{
background: $red;
height: auto;
padding: 20px 0;
@@ -1098,7 +1323,7 @@
}
}
#event{
#event, #item, #item-article{
.title{
width: 45%;
margin: auto;