connex et connexplus, mise en forme

This commit is contained in:
chankalan 2020-05-28 00:34:37 +02:00
parent 91f1a08aa1
commit d23fad630c
6 changed files with 80 additions and 13 deletions

View File

@ -13,6 +13,5 @@ $GLOBALS['z_blocs'] = array(
'extra',
'aside',
'connex',
'connex2',
'footer',
);

View File

@ -1,7 +1,7 @@
<paquet
prefix="librealire"
categorie="squelette"
version="0.1.1"
version="0.1.2"
etat="dev"
compatibilite="[3.2.7;3.3.*]"
>

48
squelettes/body.html Normal file
View File

@ -0,0 +1,48 @@
<body class="body[__(#ENV{type-page})][--(#COMPOSITION)][ body--(#COMPOSITION)][ body--(#SITE_COURANT)]">
<div class="page_wrapper">
<header class="page_header">
<div class="page_container page_header_container">
<INCLURE{fond=header/#ENV{type-page},env}>
</div>
<INCLURE{fond=inclure/boussole} />
</header>
<div class="page_main">
<div class="page_container page_main__container">
<div class="page_main_content">
<div class="page_content">
<INCLURE{fond=breadcrumb/#ENV{type-page},env}>
<INCLURE{fond=content/#ENV{type-page},env}>
<div class="page_extra">
<INCLURE{fond=extra/#ENV{type-page},env}>
</div>
</div>[(#COMPOSITION|=={dossier}|et{#ENV{type-page}|=={article}}|non)
<aside class="page_aside">
<INCLURE{fond=aside/#ENV{type-page},env} />
</aside><!--.aside-->]
</div>
</div>
</div>
<aside class="page_connex">
<INCLURE{fond=connex/#ENV{type-page},env} />
</aside>
<footer class="page_footer">
<div class="page_connexplus">
<div class="page_container page_connexplus__container">
<div class="">
thèmes<br /><br /><br /><br /><br />
</div>
</div>
</div>
<div class="page_container page_footer__container">
<INCLURE{fond=footer/#ENV{type-page},env}>
</div>
</footer>
</div>
</body>

View File

@ -1,9 +1,4 @@
<!-- connex -->[(#REM) charger un fichier different pour chaque page ]
<div class="page_container page_connex__container">
connex
</div>
<div class="page_container page_connexplus__container">
<div class="">
connex+
</div>
actualités<br /><br /><br /><br /><br /><br /><br /><br />
</div>

View File

@ -1,11 +1,35 @@
/* les surcharges de chaque site dans un plugin indépendant */
/* blocs */
.page_footer .formulaire_spip.formulaire_recherche {
display:none;
@mixin gradient-4 ($couleur1: #007682,$couleur2: $couleurConnex 7.5%,$couleur3: $couleurConnex 92.5%,$couleur4: #007884) {
background: -webkit-linear-gradient($couleur1,$couleur2,$couleur3,$couleur4);
background: -moz-linear-gradient($couleur1,$couleur2,$couleur3,$couleur4);
background: -ms-linear-gradient($couleur1,$couleur2,$couleur3,$couleur4);
background: -o-linear-gradient($couleur1,$couleur2,$couleur3,$couleur4);
}
.page_connex__container {
/* blocs */
.page_connex {
background:$couleurConnex;
@include gradient-4();
color:#fff;
padding:($spacer*1.5) 0;
}
.page_footer {
.page_connexplus {
padding:($spacer*1.5) 0;
background:$couleurConnexplus;
color:#000;
margin-bottom:($spacer*1.5);
}
padding-top:0;
.formulaire_spip.formulaire_recherche {
display:none;
}
}

View File

@ -7,3 +7,4 @@ $couleurFooter1: #00748f;
$couleurBackgroundTexte: #fcf7f2;
$couleurConnex: #0099a8;
$couleurConnexplus: #62c0c9;