petites améliorations

This commit is contained in:
Pierre 2020-02-12 02:17:41 +01:00
parent 685d7cf453
commit b3f99e1e30
4 changed files with 57 additions and 44 deletions

View file

@ -56,7 +56,7 @@
</B_docs> </B_docs>
<BOUCLE_images(DOCUMENTS){id_article=#ID_ARTICLE}{extension==jpg|png|gif}{!par credits}> <BOUCLE_images(DOCUMENTS){id_article=#ID_ARTICLE}{extension==jpg|png|gif}{!par credits}>
<a href="#FICHIER" class='photo-article mediabox' rel='galerie_#ID_ARTICLE'> <a href="#FICHIER" class='photo-article mediabox' rel='galerie_#ID_ARTICLE'>
[(#FICHIER|balise_img{#TITRE}|image_recadre{540:270,-,focus}|image_reduire{540, 270})] [(#FICHIER|balise_img{#TITRE}|image_reduire{540, 540})]
[<div class="titre_img #EDIT{titre}">(#TITRE)</div>] [<div class="titre_img #EDIT{titre}">(#TITRE)</div>]
</a> </a>
</BOUCLE_images> </BOUCLE_images>

View file

@ -9,6 +9,30 @@
cursor: pointer; cursor: pointer;
} }
textarea[name="texte"]{
height:15rem;
}
.section-top{
padding-top: 8rem;
}
.section-bottom{
padding-bottom: 3rem;
}
.cadre-blanc{
padding: 1.5rem;
background: white;
border-radius: 0.5rem;
}
.cadre-gris{
padding: 1.5rem;
background: $gris-clair;
border-radius: 0.5rem;
}
// pour empêcher l'opacité à 0.5 pendant le chargement AJAX : // pour empêcher l'opacité à 0.5 pendant le chargement AJAX :
.loading > * { .loading > * {
opacity: 1 !important; opacity: 1 !important;
@ -83,27 +107,6 @@ body{
background: $bg-body; background: $bg-body;
} }
.section-top{
padding-top: 8rem;
}
.section-bottom{
padding-bottom: 3rem;
}
.cadre-blanc{
padding: 1.5rem;
background: white;
border-radius: 0.5rem;
}
.cadre-gris{
padding: 1.5rem;
background: $gris-clair;
border-radius: 0.5rem;
}
/**********************************************************************/ /**********************************************************************/
/************************* HEADER ******************************/ /************************* HEADER ******************************/
/**********************************************************************/ /**********************************************************************/
@ -693,7 +696,10 @@ body{
} }
.photo-article{ .photo-article{
margin-bottom: 1.5rem;; margin-bottom: 1.5rem;
width: 100%;
display: block;
text-align: center;
} }
.liste-articles{ .liste-articles{

View file

@ -11873,6 +11873,30 @@ fieldset.reponse_formulaire {
cursor: pointer; cursor: pointer;
} }
textarea[name="texte"] {
height: 15rem;
}
.section-top {
padding-top: 8rem;
}
.section-bottom {
padding-bottom: 3rem;
}
.cadre-blanc {
padding: 1.5rem;
background: white;
border-radius: 0.5rem;
}
.cadre-gris {
padding: 1.5rem;
background: #f2f2f2;
border-radius: 0.5rem;
}
.loading > * { .loading > * {
opacity: 1 !important; opacity: 1 !important;
} }
@ -11959,26 +11983,6 @@ body {
background: url("../images/bg-web.jpg"); background: url("../images/bg-web.jpg");
} }
.section-top {
padding-top: 8rem;
}
.section-bottom {
padding-bottom: 3rem;
}
.cadre-blanc {
padding: 1.5rem;
background: white;
border-radius: 0.5rem;
}
.cadre-gris {
padding: 1.5rem;
background: #f2f2f2;
border-radius: 0.5rem;
}
/**********************************************************************/ /**********************************************************************/
/************************* HEADER ******************************/ /************************* HEADER ******************************/
/**********************************************************************/ /**********************************************************************/
@ -12683,6 +12687,9 @@ body {
.photo-article { .photo-article {
margin-bottom: 1.5rem; margin-bottom: 1.5rem;
width: 100%;
display: block;
text-align: center;
} }
.liste-articles .bloc-textes { .liste-articles .bloc-textes {

View file

@ -12,7 +12,7 @@
<div class="infos-article"> <div class="infos-article">
[(#DATE|affdate)] [(#DATE|affdate)]
</div> </div>
[<div class="resume-article">(#DESCRIPTIF)</div>] [<div class="resume-article">(#DESCRIPTIF|sinon{#TEXTE|couper{130,'...'}})</div>]
</div> </div>
</div> </div>
</div> </div>