Nettoyage
parent
78109c629a
commit
41b959924b
@ -1,17 +0,0 @@
|
||||
[(#REM)
|
||||
|
||||
Squelette
|
||||
(c) 2009 xxx
|
||||
Distribue sous licence GPL
|
||||
|
||||
]
|
||||
#SET{layers_exclus, #ARRAY{0,content_aside_extra, 1,content-aside_extra-a, 2,content-aside_extra-b, 3,aside-content_extra-a, 4,aside-content_extra-b}}
|
||||
#SET{id_article,#ENV{id_article,''}}
|
||||
<BOUCLE_ev(EVENEMENTS){id_evenement}>
|
||||
#CALENDRIER_MINI{#DATE_DEBUT,date_debut,#URL_PAGE{jour},#URL_PAGE{calendrier_mini_event.json,id_article=#ID_ARTICLE}}
|
||||
#SET{id_article,#ID_ARTICLE}
|
||||
</BOUCLE_ev>
|
||||
[(#CONFIG{sdn/defaut/layer}|in_array{#GET{layers_exclus}}|non)#CALENDRIER_MINI{#DATE_DEBUT,date_debut,#URL_PAGE{jour},#URL_PAGE{calendrier_mini_event.json}|parametre_url{id_article,#GET{id_article}}|parametre_url{id_rubrique,#GET{id_rubrique}}}]
|
||||
<//B_ev>
|
||||
[(#CONFIG{sdn/defaut/layer}|in_array{#GET{layers_exclus}}|non)
|
||||
<INCLURE{fond=inclure/agenda-evenements-meme-article,id_article=#GET{id_article},env,ajax} />]
|
@ -1,4 +0,0 @@
|
||||
<aside>
|
||||
#ENV{id_article}
|
||||
<!--noisettes-->
|
||||
</aside>
|
@ -1,36 +0,0 @@
|
||||
# Titre du type de noisette
|
||||
# - obligatoire
|
||||
# - texte ou item de langue
|
||||
nom: 'Aside' # Description du rôle du type de noisette # - facultatif, vide si absent
|
||||
# - texte ou item de langue
|
||||
description: '<:ncore:type_noisette_xxxx_description:>'
|
||||
# Nom de l'icône représentant le type de noisette sans chemin # - facultatif, 'noisette-24.png' si absent
|
||||
icon: 'xxxx-24.png'
|
||||
# Indique si la noisette est un conteneur ou pas
|
||||
# - facultatif, 'non' si absent
|
||||
# - 'oui' ou 'non'
|
||||
conteneur: 'oui'
|
||||
# Liste des variables de contexte à passer à la noisette
|
||||
# - facultatif, 'env' si absent
|
||||
# - 'aucun', 'env' ou le tableau des noms de variables contexte: 'aucun'
|
||||
contexte: ['id_article','article']
|
||||
# Indique la méthode ajax à appliquer à ce type de noisette
|
||||
# - facultatif, 'defaut' si absent
|
||||
# - 'defaut', 'oui' ou 'non'
|
||||
ajax: 'non'
|
||||
# Indique la méthode d'inclusion de ce type de noisette
|
||||
# - facultatif, 'defaut' si absent
|
||||
# - 'defaut', 'statique' ou 'dynamique'
|
||||
inclusion: 'statique'
|
||||
# Liste des plugins nécessités pour le fonctionnement de la noisette # - facultatif, [] si absent
|
||||
# - tableau des préfixes de plugin
|
||||
necessite: ['sdn', 'sdc']
|
||||
# Liste des paramètres de la noisette qui seront proposés dans un formulaire # - facultatif, [] si absent
|
||||
# - tableau des configuration de saisies des paramètres (cf. plugin SAISIES)
|
||||
parametres:
|
||||
-
|
||||
saisie: 'selection' options:
|
||||
nom: 'param_1'
|
||||
label: '<:ncore:label_param_1:>' defaut: 'data1'
|
||||
datas:
|
||||
d1: 'data1' d2: 'data2'
|
@ -1,7 +0,0 @@
|
||||
#SET{zoom_molette,#ENV{zoom_molette}|table_valeur{0}}
|
||||
#SET{fullscreen,#ENV{fullscreen}|table_valeur{0}}
|
||||
#SET{scale,#ENV{scale}|table_valeur{0}}
|
||||
<div class="liste">
|
||||
[(#ENV{masquer_titre}|non)<h2 class="h2">[(#ENV{titre,<:noisettes:carte_gis:>})][(#ENV{masquer_picto}|non)<span class="picto"><i class="fa fa-#ENV{picto,map-marker} "></i></span>]</h2>]
|
||||
[(#INCLURE{fond=modeles/carte_gis,zoom=#ENV{zoom,8},maxZoom=#ENV{maxZoom,''},scale=#GET{scale,oui},centrer_auto=#ENV{centrer_auto,oui},width=#ENV{width,100%},height=#ENV{height,400px},zoom_molette=#GET{zoom_molette,''},objet=#ENV{objet,''},objets=#ENV{objets,''},id_objet=#ENV{id_objet,''}})]
|
||||
</div>
|
@ -1,193 +0,0 @@
|
||||
nom: '<:noisettes:nom_carte_gis:>'
|
||||
description: '<:noisettes:description_carte_gis:>'
|
||||
icon: 'gis-24.png'
|
||||
necessite:
|
||||
- 'gis'
|
||||
parametres:
|
||||
-
|
||||
saisie: 'checkbox'
|
||||
options:
|
||||
nom: 'masquer_titre'
|
||||
label: '<:noisettes:label_masquer_titre:>'
|
||||
datas:
|
||||
on: 'Oui'
|
||||
defaut: ''
|
||||
conteneur_class: 'long_label'
|
||||
-
|
||||
saisie: 'input'
|
||||
options:
|
||||
nom: 'titre'
|
||||
label: '<:noisettes:label_titre:>'
|
||||
defaut: '<:noisettes:carte_gis:>'
|
||||
afficher_si: '@masquer_titre@ !IN "on"'
|
||||
conteneur_class: 'long_label'
|
||||
-
|
||||
saisie: 'fieldset'
|
||||
options:
|
||||
nom: 'fieldset_picto'
|
||||
label: ''
|
||||
afficher_si: '@masquer_titre@ !IN "on"'
|
||||
saisies:
|
||||
-
|
||||
saisie: 'checkbox'
|
||||
options:
|
||||
nom: 'masquer_picto'
|
||||
label: '<:noisettes:label_masquer_picto:>'
|
||||
datas:
|
||||
on: 'Oui'
|
||||
defaut: ''
|
||||
conteneur_class: 'long_label'
|
||||
-
|
||||
saisie: 'input'
|
||||
options:
|
||||
nom: 'picto'
|
||||
label: '<:noisettes:label_picto:>'
|
||||
explication: '<:noisettes:texte_explication_picto:>'
|
||||
defaut: 'map-'
|
||||
conteneur_class: 'long_label'
|
||||
afficher_si: '@masquer_picto@ !IN "on"'
|
||||
-
|
||||
saisie: 'input'
|
||||
options:
|
||||
nom: 'lat'
|
||||
label: '<:noisettes:label_gis_lat:>'
|
||||
defaut: ''
|
||||
conteneur_class: 'long_label'
|
||||
verifier:
|
||||
type: 'decimal'
|
||||
options:
|
||||
min: 1
|
||||
-
|
||||
saisie: 'input'
|
||||
options:
|
||||
nom: 'lon'
|
||||
label: '<:noisettes:label_gis_lon:>'
|
||||
defaut: ''
|
||||
conteneur_class: 'long_label'
|
||||
verifier:
|
||||
type: 'decimal'
|
||||
options:
|
||||
min: 1
|
||||
-
|
||||
saisie: 'input'
|
||||
options:
|
||||
nom: 'zoom'
|
||||
label: '<:noisettes:label_gis_zoom:>'
|
||||
defaut: 8
|
||||
conteneur_class: 'long_label'
|
||||
verifier:
|
||||
type: 'entier'
|
||||
options:
|
||||
min: 1
|
||||
-
|
||||
saisie: 'input'
|
||||
options:
|
||||
nom: 'maxZoom'
|
||||
label: '<:noisettes:label_gis_maxzoom:>'
|
||||
defaut: 13
|
||||
conteneur_class: 'long_label'
|
||||
verifier:
|
||||
type: 'entier'
|
||||
options:
|
||||
min: 1
|
||||
-
|
||||
saisie: 'input'
|
||||
options:
|
||||
nom: 'width'
|
||||
label: '<:noisettes:label_gis_width:>'
|
||||
defaut: '100%'
|
||||
conteneur_class: 'long_label'
|
||||
-
|
||||
saisie: 'input'
|
||||
options:
|
||||
nom: 'height'
|
||||
label: '<:noisettes:label_gis_height:>'
|
||||
defaut: '400px'
|
||||
conteneur_class: 'long_label'
|
||||
-
|
||||
saisie: 'checkbox'
|
||||
options:
|
||||
nom: 'scale'
|
||||
label: '<:noisettes:label_gis_scale:>'
|
||||
datas:
|
||||
oui: 'Oui'
|
||||
defaut: 'oui'
|
||||
conteneur_class: 'long_label'
|
||||
-
|
||||
saisie: 'checkbox'
|
||||
options:
|
||||
nom: 'zoom_molette'
|
||||
label: '<:noisettes:label_gis_zoom_molette:>'
|
||||
datas:
|
||||
non: 'Oui'
|
||||
defaut: ''
|
||||
conteneur_class: 'long_label'
|
||||
-
|
||||
saisie: 'checkbox'
|
||||
options:
|
||||
nom: 'fullscreen'
|
||||
label: '<:noisettes:label_gis_zoom_fullscreen:>'
|
||||
datas:
|
||||
oui: 'Oui'
|
||||
defaut: ''
|
||||
conteneur_class: 'long_label'
|
||||
-
|
||||
saisie: 'selection'
|
||||
options:
|
||||
nom: 'objet'
|
||||
label: '<:noisettes:label_gis_objet:>'
|
||||
defaut: 'nombre'
|
||||
cacher_option_intro: 'oui'
|
||||
datas:
|
||||
article: 'Article'
|
||||
auteur: 'Auteur'
|
||||
rubrique: 'Rubrique'
|
||||
conteneur_class: 'long_label'
|
||||
obligatoire: 'oui'
|
||||
-
|
||||
saisie: 'input'
|
||||
options:
|
||||
nom: 'id_objet'
|
||||
label: '<:noisettes:label_gis_id_objet:>'
|
||||
defaut: ''
|
||||
conteneur_class: 'long_label'
|
||||
obligatoire: 'oui'
|
||||
verifier:
|
||||
type: 'entier'
|
||||
options:
|
||||
min: 1
|
||||
-
|
||||
saisie: 'input'
|
||||
options:
|
||||
nom: 'objets'
|
||||
label: '<:noisettes:label_gis_objets:>'
|
||||
defaut: ''
|
||||
conteneur_class: 'long_label'
|
||||
|
||||
-
|
||||
saisie: 'checkbox'
|
||||
options:
|
||||
nom: 'cluster'
|
||||
label: '<:noisettes:label_gis_cluster:>'
|
||||
datas:
|
||||
on: 'Oui'
|
||||
defaut: ''
|
||||
conteneur_class: 'long_label'
|
||||
-
|
||||
saisie: 'fieldset'
|
||||
options:
|
||||
nom: 'si_cluster'
|
||||
label: 'Regroupement des points'
|
||||
afficher_si: '@cluster@ IN "on"'
|
||||
saisies:
|
||||
-
|
||||
saisie: 'input'
|
||||
options:
|
||||
nom: 'clusterMaxZoom'
|
||||
label: 'Regroupe les points jusque à ce zoom, mais pas au delà'
|
||||
defaut: 11
|
||||
conteneur_class: 'long_label'
|
||||
verifier:
|
||||
type: 'entier'
|
||||
options:
|
||||
min: 1
|
@ -1,24 +0,0 @@
|
||||
#SET{sites,#ENV{sites}|explode{','}}
|
||||
#SET{span,#GET{sites}|count|=={5}|?{span2,span#EVAL{12/#GET{sites}|count}}}
|
||||
[(#REM)#SET{span, #ENV{liste_span}|?{#ENV{span}, 'left'}}]
|
||||
#SET{masquer_h2, #ENV{masquer_titre}|et{#ENV{masquer_picto}}|oui|?{on,''}}
|
||||
<B_sites>
|
||||
<div class="liste partenaires">
|
||||
[(#GET{masquer_h2}|non)<h2 class="h2">[(#ENV{masquer_titre}|non)[(#ENV{titre,<:noisettes:partenaires:>}) ]][(#ENV{masquer_picto}|non)<span class="picto"><i class="fa fa-#ENV{picto,handshake-o} "></i></span>]</h2>]
|
||||
#SET{span_, #TOTAL_BOUCLE|=={5}|?{span2,span#EVAL{12/#TOTAL_BOUCLE}}}
|
||||
<ul class="liste-span liste-logos" style="list-style: none;">
|
||||
<BOUCLE_sites(SITES){id_syndic IN #GET{sites,#ARRAY}}{0,6}>
|
||||
[(#TOTAL_BOUCLE|=={5}|et{#GET{span}|=={span2}}|et{#COMPTEUR_BOUCLE|=={5}|ou{#COMPTEUR_BOUCLE|=={1}}}|oui) #SET{span,span3}]
|
||||
<li class="item center[ (#GET{span})]">
|
||||
<a href="#URL_SITE" rel="bookmark" title="#NOM_SITE[ | (#DESCRIPTIF|supprimer_tags)]" class="spip_out">[(#LOGO_SITE
|
||||
|image_reduire{#ENV{largeur_logo,80},#ENV{hauteur_logo,80}}
|
||||
|image_recadre{#ENV{largeur_logo,80},#ENV{hauteur_logo,80},#ENV{align, center}, #ENV{couleur,transparent}}
|
||||
|sinon{<h3>#NOM_SITE</h3>})]</a>
|
||||
</li>
|
||||
[(#COMPTEUR_BOUCLE|=={1}|oui) #SET{span,span2}]
|
||||
</BOUCLE_sites>
|
||||
</ul>
|
||||
[(#GET{span}=={left}|oui)<br class="nettoyeur"/>]
|
||||
</div>
|
||||
</B_sites>
|
||||
<//B_sites>
|
@ -1,62 +0,0 @@
|
||||
nom: '<:noisettes:sites_partenaires:>'
|
||||
description: '<:noisettes:description_sites_partenaires:>'
|
||||
icon: 'partenaires-24.png'
|
||||
ajax: 'non'
|
||||
parametres:
|
||||
-
|
||||
saisie: 'oui_non'
|
||||
options:
|
||||
nom: 'masquer_titre'
|
||||
label: '<:noisettes:label_masquer_titre:>'
|
||||
defaut: ''
|
||||
conteneur_class: 'long_label'
|
||||
-
|
||||
saisie: 'input'
|
||||
options:
|
||||
nom: 'titre'
|
||||
label: '<:noisettes:label_titre:>'
|
||||
defaut: 'Partenaires'
|
||||
afficher_si: '@masquer_titre@ != "on"'
|
||||
conteneur_class: 'long_label'
|
||||
-
|
||||
saisie: 'oui_non'
|
||||
options:
|
||||
nom: 'masquer_picto'
|
||||
label: '<:noisettes:label_masquer_picto:>'
|
||||
defaut: ''
|
||||
conteneur_class: 'long_label'
|
||||
-
|
||||
saisie: 'input'
|
||||
options:
|
||||
nom: 'picto'
|
||||
label: '<:noisettes:label_picto:>'
|
||||
explication: '<:noisettes:explication_picto:>'
|
||||
defaut: 'handshake-o'
|
||||
afficher_si: '@masquer_picto@ != "on"'
|
||||
conteneur_class: 'long_label'
|
||||
-
|
||||
saisie: 'input'
|
||||
options:
|
||||
nom: 'sites'
|
||||
label: '<:noisettes:label_sites_partenaires:>'
|
||||
explication: '<:noisettes:explication_sites_partenaires:>'
|
||||
defaut: ''
|
||||
conteneur_class: 'long_label'
|
||||
-
|
||||
saisie: 'input'
|
||||
options:
|
||||
nom: 'largeur_logo'
|
||||
label: '<:noisettes:label_largeur_logo:>'
|
||||
defaut: '150'
|
||||
conteneur_class: 'long_label'
|
||||
verifier:
|
||||
type: 'entier'
|
||||
-
|
||||
saisie: 'input'
|
||||
options:
|
||||
nom: 'hauteur_logo'
|
||||
label: '<:noisettes:label_hauteur_logo:>'
|
||||
defaut: '150'
|
||||
conteneur_class: 'long_label'
|
||||
verifier:
|
||||
type: 'entier'
|
@ -1,3 +0,0 @@
|
||||
<div>
|
||||
<!--noisettes-->
|
||||
</div>
|
@ -1,30 +0,0 @@
|
||||
nom: '<:noisettes:rub_conteneur:>'
|
||||
description: '<:noisettes:description_rub_conteneur:>'
|
||||
icon: 'conteneur-24.png'
|
||||
ajax: 'non'
|
||||
conteneur: 'oui'
|
||||
contexte:
|
||||
- 'id_rubrique'
|
||||
inclusion: 'statique'
|
||||
parametres:
|
||||
-
|
||||
saisie: 'selection'
|
||||
options:
|
||||
nom: 'rub_conteneur_balise'
|
||||
label: '<:ncore:saisie_conteneur_balise_label:>'
|
||||
defaut: 'div'
|
||||
cacher_option_intro: 'non'
|
||||
datas:
|
||||
div: 'div'
|
||||
section: 'section'
|
||||
article: 'article'
|
||||
aside: 'aside'
|
||||
nav: 'nav'
|
||||
p: 'p'
|
||||
-
|
||||
saisie: 'input'
|
||||
options:
|
||||
nom: 'rub_conteneur_css'
|
||||
label: '<:ncore:saisie_conteneur_css_label:>'
|
||||
verifier:
|
||||
type: 'attribut_class'
|
Binary file not shown.
Before Width: | Height: | Size: 1.2 KiB |
@ -1,305 +0,0 @@
|
||||
#CACHE{3600*100,cache-client}
|
||||
#HTTP_HEADER{Content-Type: text/css; charset=iso-8859-15}
|
||||
#HTTP_HEADER{Vary: Accept-Encoding}
|
||||
|
||||
// -----------------------------------------------------
|
||||
// Plugin SPIPr-Dane-Noisettes
|
||||
// Squelette spipr-dane-noisettes.less.html
|
||||
// (c) 2019 Dominique Lepaisant
|
||||
// Distribue sous licence GPL3
|
||||
// -----------------------------------------------------
|
||||
@import "css/variables.less";
|
||||
@import "css/mixins.less";
|
||||
|
||||
/////////////////////
|
||||
// AFFICHAGE EN COLONNES
|
||||
// Peut être transfere dans spipr-dane.less
|
||||
/////////////////////
|
||||
/*#content,#extra{ */
|
||||
.liste{
|
||||
&.articles,&.sites,&.evenements{
|
||||
.liste-items{
|
||||
&.liste-span{
|
||||
article.image-zoom-hover { //effet zoom au survol
|
||||
background-color: transparent;
|
||||
transition-duration: 500ms;
|
||||
.spip_logo .img {transition-duration: 500ms;}
|
||||
&:hover {
|
||||
.spip_logo .img {
|
||||
background-size: 110% !important;
|
||||
transition-duration: 750ms;
|
||||
}
|
||||
li.item{background-color: transparent;}
|
||||
}
|
||||
}
|
||||
margin-left: 0;
|
||||
.item{
|
||||
clear: none;
|
||||
padding: 0 0 0.73333333em 0;
|
||||
border: none !important;
|
||||
margin-bottom: 0;
|
||||
strong.h3-like{font-size:1em;}
|
||||
.postmeta.tags{
|
||||
font-size: .9em;
|
||||
margin: 0 .5em 0 .5em;
|
||||
ul {
|
||||
li{
|
||||
span.label{
|
||||
margin: 0 .5em .2em 0;
|
||||
border: none!important;
|
||||
background-color: #eee!important;
|
||||
color: #333!important;
|
||||
text-shadow: none;
|
||||
font-weight: 400;
|
||||
.border-radius(2px);
|
||||
letter-spacing: .5px;
|
||||
}
|
||||
i.fa{font-size: small;}
|
||||
}
|
||||
}
|
||||
}
|
||||
&:hover {background-color: transparent; }
|
||||
&:first-child{float: left;}
|
||||
&.span2 {
|
||||
&:nth-child(6n+1){margin-left: 0;clear: left;}
|
||||
}
|
||||
&.span3 {
|
||||
&:nth-child(4n+1){margin-left: 0;clear: left;}
|
||||
}
|
||||
&.span4 {
|
||||
&:nth-child(3n+1){margin-left: 0;clear: left;}
|
||||
}
|
||||
&.span6 {
|
||||
&:nth-child(2n+1){margin-left: 0;clear: left;}
|
||||
}
|
||||
article{
|
||||
border: 1px solid @grayLighter;
|
||||
min-height: 12em;
|
||||
padding: .5em .5em .8em .5em;
|
||||
text-align: center;
|
||||
&:hover,&:focus,&:active{
|
||||
background-color:@grayLighter;
|
||||
transition:all 0.2s ease-in-out 0.0s;
|
||||
}
|
||||
.spip_logo{
|
||||
margin: 0 auto ;
|
||||
float: none;
|
||||
}
|
||||
.titre{display:block;margin-top:.5em;font-weight: bold;}
|
||||
.publication{display: block;margin-bottom: 0;}
|
||||
.txt-right{text-align:right;}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/////////////////////
|
||||
// PLUGIN INSERTION AVANCEE D'IMAGES
|
||||
// Peut être transfere dans spipr-dane.less
|
||||
/////////////////////
|
||||
/* modele slide */
|
||||
.portfolio_slide_container {
|
||||
overflow: hidden;
|
||||
ul.portfolio_slide {
|
||||
margin-left:0;
|
||||
list-style: none;
|
||||
}
|
||||
}
|
||||
|
||||
///////////////////////
|
||||
// MENU PIED DE PAGE
|
||||
///////////////////////
|
||||
#nav-footer {
|
||||
text-align: center;
|
||||
.menu-liste {
|
||||
margin: 2em 0;
|
||||
display: inline-flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.menu-logo {
|
||||
margin:0 auto;
|
||||
>a {
|
||||
margin: 0 1em;
|
||||
&:hover {background-color:transparent;}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/////////////////////
|
||||
// SURCHARGES spipr-dane.less
|
||||
/////////////////////
|
||||
/* Agenda */
|
||||
/* Surcharge spip.agenda.css */
|
||||
#aside,#extra {
|
||||
.liste-items {
|
||||
.evenement {
|
||||
padding-left: 0;
|
||||
.banner{
|
||||
display:block;
|
||||
float: none;
|
||||
margin: 0.3em auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Dates dans les liste d'articles (inclure/resume/article.html)
|
||||
#content {
|
||||
.liste {
|
||||
ul.liste-items{
|
||||
li.item .publication{ display: block;}
|
||||
}
|
||||
}
|
||||
}
|
||||
/* tweet h2 dans bloc aside */
|
||||
#aside .liste.tweets h2.h2 > a {padding-right:0;letter-spacing:0;&:hover{text-decoration:none;}}
|
||||
|
||||
/* Liens des menus dans les blocs */
|
||||
#content,#aside,#extra{
|
||||
.nav > li {
|
||||
> a:hover, > a:focus{
|
||||
background-color: transparent;
|
||||
}
|
||||
}
|
||||
/* Couleurs des liens titres de liste */
|
||||
.liste h2.h2> a {color: #000;}
|
||||
}
|
||||
|
||||
/* liste simple de sites */
|
||||
.liste-items.liste-simple li > a > .logo-site {
|
||||
float: right !important;
|
||||
margin-top: -10px;
|
||||
margin-bottom: -10px;
|
||||
}
|
||||
|
||||
/* Documents dans les blocs aside */
|
||||
.liste{
|
||||
&.documents{
|
||||
article{padding: 0;}
|
||||
}
|
||||
}
|
||||
|
||||
/* Portfolio dans bloc aside: meme comportement que dans bloc extra */
|
||||
#aside .documents_portfolio {
|
||||
clear: both;
|
||||
margin: 1.5em auto;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* header sur petits ecrans */
|
||||
@media (max-width: 980px) {
|
||||
|
||||
}
|
||||
/////////////////////
|
||||
// MODELES DE PAGE (layers)
|
||||
/////////////////////
|
||||
#SET{extra_large, #ARRAY{0,content_aside_extra, 1,content-aside_extra-a, 2,content-aside_extra-b, 3,aside-content_extra-a, 4,aside-content_extra-b}}
|
||||
body {
|
||||
/*** 1 colonne ***/
|
||||
//N°1
|
||||
&.content_aside_extra,
|
||||
/*** 2 colonnes extra sur toute la largeur ***/
|
||||
//N°2
|
||||
&.content-aside_extra-a,
|
||||
//N°3
|
||||
&.content-aside_extra-b,
|
||||
// N°4
|
||||
&.aside-content_extra-a,
|
||||
//N°5
|
||||
&.aside-content_extra-b {
|
||||
#extra{
|
||||
//
|
||||
}
|
||||
}
|
||||
/*** 2 colonnes extra sous aside ***/
|
||||
//N°6
|
||||
&.content-aside_-extra-a,
|
||||
//N°7
|
||||
&.content-aside_-extra-b,
|
||||
//N°8
|
||||
&.aside_-extra-content-a,
|
||||
//N°9
|
||||
&.aside_-extra-content-b {
|
||||
//
|
||||
}
|
||||
/*** 3 colonnes ***/
|
||||
//N°10
|
||||
&.aside-content-extra,
|
||||
//N°11
|
||||
&.content-aside-extra,
|
||||
//N°12
|
||||
&.aside-extra-content {
|
||||
#extra{
|
||||
padding-top: 2em;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/////////////////////
|
||||
// @media
|
||||
/////////////////////
|
||||
/* largeur de la zone texte sur grand ecran */
|
||||
@media (min-width:979px) {
|
||||
.page_article{
|
||||
article.contenu,.formulaire_spip {margin: 0 2em}
|
||||
}
|
||||
}
|
||||
/* titre des articles en vignette sur smartphone*/
|
||||
@media (max-width:767px){
|
||||
.liste{
|
||||
.liste-items{
|
||||
&.liste-span{
|
||||
.item{
|
||||
.h3-like{
|
||||
> a {max-width:350px;margin: auto;}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
/* entete sur smartphone*/
|
||||
@media (max-width:640px){
|
||||
#header{
|
||||
header{
|
||||
h1#logo_site_spip{
|
||||
.spip_logos{
|
||||
float: none;
|
||||
display: block;
|
||||
margin: auto;
|
||||
max-width: 100px;
|
||||
}
|
||||
#nom_site_spip{font-size: 90%;}
|
||||
#slogan_site_spip{font-size: .7em;}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@media (max-width:480px){
|
||||
#header{
|
||||
#logo-institution {
|
||||
text-align:center;
|
||||
}
|
||||
header{
|
||||
h1#logo_site_spip{
|
||||
margin-bottom: 5px;
|
||||
text-align: center;
|
||||
.spip_logos,#nom_site_spip,#slogan_site_spip{display: block;margin: auto;}
|
||||
.spip_logos {float: none;
|
||||
img {}
|
||||
}
|
||||
#nom_site_spip{font-size: .7em;}
|
||||
#slogan_site_spip{font-size: .7em;}
|
||||
|
||||
}
|
||||
}
|
||||
.form-search{bottom: 0;right: 0;position: relative;text-align: center;}
|
||||
}
|
||||
}
|
||||
|
||||
/////////////////////
|
||||
// Recuperation des metas
|
||||
/////////////////////
|
||||
|
Loading…
Reference in New Issue