Changeset 114375 in spip-zone


Ignore:
Timestamp:
Mar 7, 2019, 5:26:42 PM (6 months ago)
Author:
johan.pustoch@…
Message:

On utilise/necessite le plugin picto a la place d'images (pastilles, menu, carousel)
Menage
On remet en version dev le temps de stabiliser les nouvelles choses

Location:
_squelettes_/spipr-dane/trunk
Files:
1 added
2 deleted
15 edited

Legend:

Unmodified
Added
Removed
  • _squelettes_/spipr-dane/trunk/css/carousel.less

    r114370 r114375  
    9090        width:30px;
    9191        margin: 0;
    92         padding: 8px 12px 12px 8px;
    93         font-size:30px;
     92        padding: 8px 10px 8px 6px;
     93        font-size:1.8em;
    9494        font-family:helvetica,arial,sans-serif;
    9595        font-weight: 100;
     
    104104          left: auto;
    105105          right: 5px;
    106           padding: 8px 8px 12px 12px;
     106          padding: 8px 6px 8px 10px;
    107107        }
    108108        // Hover/focus state
     
    129129    .carousel-indicators{
    130130        position: absolute;
    131         bottom:8px;
     131        bottom:4px;
    132132        left: 45%;
    133         line-height: 1em;
    134133        li{
    135             font-size:2.5em;
     134            font-size:1.8em;
    136135            margin:0 5px 0 5px;
    137136            padding: 0 0 0 0;
     
    146145        left:40%;
    147146        margin-left: 0;
    148         margin-bottom: 0;
    149147        font-family: helvetica,arial,sans-serif;
    150148        li{
    151             font-size:1.7em;
     149            font-size:1.8em;
    152150        }
    153151    }
  • _squelettes_/spipr-dane/trunk/css/spipr-dane.less

    r114370 r114375  
    12021202    }
    12031203}
    1204 
     1204h2 span.picto{
     1205    display: inline-block;
     1206    width: 30px;
     1207    height: 30px;
     1208    padding: 5px;
     1209    font-size: 25px;
     1210    vertical-align: middle;
     1211    text-align: center;
     1212    .border-radius(20px);
     1213    background-color: @color1;
     1214    color:#fff;
     1215    i{margin: 2px 0 0 3px;}
     1216}
    12051217.page_agenda {
    12061218    #content {
  • _squelettes_/spipr-dane/trunk/inclure/agenda-evenements-une.html

    r114370 r114375  
    77<B_ev>
    88        #ANCRE_PAGINATION
    9         <h2 class="h2 center"><:agenda:agenda:> <a href="#URL_PAGE{agenda}" class="icone icone-agenda" title="<:agenda:agenda:>">[(#CHEMIN{img/agenda.png}|balise_img|image_reduire{50})]</a></h2>
     9        <h2 class="h2 center"><:agenda:agenda:> <a href="#URL_PAGE{agenda}" title="<:agenda:agenda:>"><span class="picto"><i class="fa fa-calendar"></i></span></a></h2>
    1010        <ul class="liste-items">
    1111        <BOUCLE_ev(EVENEMENTS){par date_debut}{!evenement_passe}{age_fin>=-180}{pagination #ENV{nb,5}}>
  • _squelettes_/spipr-dane/trunk/inclure/listes-sites-syndics.html

    r114370 r114375  
    11<B_syndic>
    22#ANCRE_PAGINATION
    3 <h2 class="h2"><:spipr_dane:nouveau_web:> <a href="#URL_PAGE{sites}" class="icone icone-web" >[(#CHEMIN{img/web.png}|balise_img|image_reduire{50})]</a></h2>
     3<h2 class="h2"><:spipr_dane:nouveau_web:> <a href="#URL_PAGE{sites}" ><span class="picto"><i class="fa fa-globe"></i></span></a></h2>
    44<ul class="liste-items">
    55        <BOUCLE_syndic(SYNDIC_ARTICLES) {age<180}{id_rubrique ?}{par date}{inverse} {pagination #ENV{nb,5}}>
  • _squelettes_/spipr-dane/trunk/inclure/nuage.html

    r114370 r114375  
    1 <h2 class="h2"><:spipr_dane:themes:>[ <a href="#URL_PAGE{mots}"><span class="icone icone-tags">(#CHEMIN{img/tags.png}|balise_img|image_reduire{50})</span></a>]</h2>
     1<h2 class="h2"><:spipr_dane:themes:>[ <a href="#URL_PAGE{mots}"><span class="picto"><i class="fa fa-tags"></i></span></a>]</h2>
    22[(#MODELE{nuage})]
  • _squelettes_/spipr-dane/trunk/inclure/selection-carousel.html

    r114370 r114375  
    55[(#ID_RUBRIQUE|>{0}|non)#SET{id_rubrique,0}]
    66<B_articles_selection>
    7 <h2 class="h2"><:spipr_dane:a_la_une:> <span class="icone icone-rss" >[(#CHEMIN{img/selection.png}|balise_img|image_reduire{50})]</span></h2>
     7<h2 class="h2"><:spipr_dane:a_la_une:> <span class="picto"><i class="fa fa-star"></i></span></h2>
    88<div id="carousel" class="carousel slide">
    99        <div class="carousel-inner">
     
    2222        <B_combien>
    2323        <ul class="carousel-stop">
    24                 <li id="carousel-pause-cancel" title="<:spipr_dane:pause_carousel_cancel:>" ></li>
    25                 <li id="carousel-pause" title="<:spipr_dane:pause_carousel:>">▮▮</li>
     24                <li id="carousel-pause-cancel" title="<:spipr_dane:pause_carousel_cancel:>" ><span class="picto"><i class="fa fa-play"></i></span></li>
     25                <li id="carousel-pause" title="<:spipr_dane:pause_carousel:>"><span class="picto"><i class="fa fa-pause"></i></span></li>
    2626        </ul>
    2727        <ol class="carousel-indicators">
    2828                <BOUCLE_combien(DATA){si #GET{mon_tableau}|table_valeur{1}}{source tableau,#GET{mon_tableau}}>
    29                 <li data-target="#carousel" data-slide-to="[(#COMPTEUR_BOUCLE|moins{1})]" [class="(#COMPTEUR_BOUCLE|=={1}|?{'active',''})"] ></li>
     29                <li data-target="#carousel" data-slide-to="[(#COMPTEUR_BOUCLE|moins{1})]" [class="(#COMPTEUR_BOUCLE|=={1}|?{'active',''})"] ><span class="picto"><i class="fa fa-circle"></i></span></li>
    3030                </BOUCLE_combien>
    3131        </ol>
    32         <a class="left carousel-control" href="#carousel" data-slide="prev"></a>
    33         <a class="right carousel-control" href="#carousel" data-slide="next"></a>
     32        <a class="left carousel-control" href="#carousel" data-slide="prev"><span class="picto"><i class="fa fa-chevron-left"></i></span></a>
     33        <a class="right carousel-control" href="#carousel" data-slide="next"><span class="picto"><i class="fa fa-chevron-right"></i></span></a>
    3434        </B_combien>
    3535</div><!-- /.carousel -->
  • _squelettes_/spipr-dane/trunk/inclure/tweets.html

    r114370 r114375  
    11
    2 <h2 class="h2"><a href="https://twitter.com/<:spipr_dane:compte_twitter:>" class="spip_out"><span class="intitule">@<:spipr_dane:compte_twitter:></span> <span class="icone icone-twitter" title="<:spipr_dane:Twitter:>">[(#CHEMIN{img/twitter.png}|balise_img{Twitter}|image_reduire{50})]</span></a></h2>
     2<h2 class="h2"><a href="https://twitter.com/<:spipr_dane:compte_twitter:>" class="spip_out" title="<:spipr_dane:Twitter:>"><span class="intitule">@<:spipr_dane:compte_twitter:></span> <span class="picto">#MODELE{picto,nom=twitter}</span></a></h2>
    33<a class="twitter-timeline" data-chrome="<:spipr_dane:tweets_options:>" height="<:spipr_dane:tweets_height:>" href="https://twitter.com/<:spipr_dane:compte_twitter:>" ><:spipr_dane:tweets_de:> @<:spipr_dane:compte_twitter:></a>
    44<script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>
  • _squelettes_/spipr-dane/trunk/js/spipr-dane.js

    r114373 r114375  
    1616       
    1717        // Bouton backtotop : on l'ajoute au dom + comportement d'apparition et de clic
    18         $( "body" ).append( "<div id='backtotop' title='Haut de page'><span></span></div>" );
     18        $( "body" ).append( "<div id='backtotop' title='Haut de page'><span><i class='fa fa-long-arrow-up'></i></span></div>" );
    1919        $(window).scroll(function() {
    2020                if($('html').scrollTop() > 300 || $('body').scrollTop() > 300) { $('#backtotop').fadeIn();}
  • _squelettes_/spipr-dane/trunk/liste/article-editorial.html

    r114370 r114375  
    11<BOUCLE_articles(ARTICLES){id_mot ?}{!par date}{0,1}>
    22<article class="entry article hentry">
    3         [<h2 class="h2 #EDIT{surtitre}">(#SURTITRE|sinon{<:spipr_dane:editorial:>}) <span class="icone icone-rss">[(#CHEMIN{img/#ENV{picto,education}.png}|balise_img|image_reduire{30})]</span></h2>]
     3        [<h2 class="h2 #EDIT{surtitre}">(#SURTITRE|sinon{<:spipr_dane:editorial:>}) <span class="picto"><i class="fa fa-star"></i></span></h2>]
    44        <div>
    55                [(#LOGO_ARTICLE|image_reduire{170,250})][
  • _squelettes_/spipr-dane/trunk/liste/articles-mot.html

    r114370 r114375  
    11<B_articles>
    22        #ANCRE_PAGINATION
    3         <h2 class="h2">[(#ENV{titre,<:spipr_dane:zoom:>})] <span class="icone icone-rss">[(#CHEMIN{img/#ENV{picto,rss}.png}|balise_img|image_reduire{30})]</span></h2>
     3        <h2 class="h2">[(#ENV{titre,<:spipr_dane:zoom:>})] <span class="picto"><i class="fa fa-rss"></i></span></h2>
    44        <ul class="liste-items">
    55                <BOUCLE_articles(ARTICLES){id_mot?}{!par date} {pagination #ENV{nb,5}}>
  • _squelettes_/spipr-dane/trunk/liste/articles-resume.html

    r114370 r114375  
    11<B_articles>
    22        #ANCRE_PAGINATION
    3         <h2 class="h2">[(#ENV{titre,<:spipr_dane:derniers_articles:>})] [(#ENV{id_secteur}|>{0}|oui)<a href="#URL_RUBRIQUE{#ENV{id_rubrique,#ENV{id_secteur}}}">]<span class="icone icone-rss">[(#CHEMIN{img/#ENV{picto,rss}.png}|balise_img|image_reduire{30})]</span>[(#ENV{id_secteur}|>{0}|oui)</a>]</h2>
     3        <h2 class="h2">[(#ENV{titre,<:spipr_dane:derniers_articles:>})] [(#ENV{id_secteur}|>{0}|oui)<a href="#URL_RUBRIQUE{#ENV{id_rubrique,#ENV{id_secteur}}}">]<span class="picto"><i class="fa fa-rss"></i></span>[(#ENV{id_secteur}|>{0}|oui)</a>]</h2>
    44        <ul class="liste-items">
    55                <BOUCLE_articles(ARTICLES){id_rubrique?}{id_secteur?}{id_mot ?}{!par date}{!id_article IN #ENV{articles_exclus,#ARRAY}} {pagination #ENV{nb,5}}>
  • _squelettes_/spipr-dane/trunk/liste/articles-selection.html

    r114370 r114375  
    33<B_articles_selection>
    44        #ANCRE_PAGINATION
    5         <h2 class="h2">[(#ENV{titre,<:spipr_dane:selection:>})][ <span class="icone icone-selection">(#CHEMIN{img/selection.png}|balise_img|image_reduire{50})</span>]</h2>
     5        <h2 class="h2">[(#ENV{titre,<:spipr_dane:selection:>})]<span class="picto"><i class="fa fa-star"></i></span></h2>
    66        <ul class="liste-items">
    77                <BOUCLE_articles_selection(ARTICLES pb_selection){par ordre}{spip_pb_selection.id_rubrique=#GET{id_rubrique}}{pagination #ENV{nb,5}}>
  • _squelettes_/spipr-dane/trunk/liste/breves-resume.html

    r114370 r114375  
    22<B_breves>
    33#ANCRE_PAGINATION
    4 <h2 class="h2">[(#ENV{titre,<:breves:breves:>})][ <span class="icone icone-breve">(#CHEMIN{img/breves.png}|balise_img|image_reduire{50})</span>]</h2>
     4<h2 class="h2">[(#ENV{titre,<:breves:breves:>})] <span class="picto"><i class="fa fa-check"></i></span></h2>
    55<ul class="liste-items">
    66                <BOUCLE_breves(BREVES){id_secteur?}{!par date}{pagination #ENV{nb,5}}>
  • _squelettes_/spipr-dane/trunk/liste/videos.html

    r114370 r114375  
    11<B_articles_video>
    22#ANCRE_PAGINATION
    3 <h2 class="h2"><:spipr_dane:video:>[ <span class="icone icone-video">(#CHEMIN{img/video.png}|balise_img|image_reduire{50})</span>]</h2>
     3<h2 class="h2"><:spipr_dane:video:><span class="picto"><i class="fa fa-video-camera"></i></span></h2>
    44<ul class="liste-items">
    55    <BOUCLE_articles_video(ARTICLES){mots.titre=Vidéo à la une}{id_secteur ?}{!par date}{pagination #ENV{nb,1}}>
  • _squelettes_/spipr-dane/trunk/paquet.xml

    r114370 r114375  
    33        categorie="squelette"
    44        version="1.0.0"
    5         etat="stable"
     5        etat="dev"
    66        compatibilite="[3.0.17;3.2.*]"
    77        logo="img/spipr_dane-32.png"
     
    1010        <nom>SPIPr-Dane</nom>
    1111
    12         <auteur>Johan Pustoch</auteur>
     12        <auteur mail="johan.pustoch@ac-caen.fr" lien="https://contrib.spip.net/?auteur7949">Johan Pustoch (et contributeurs)</auteur>
    1313
    1414        <necessite nom="bootstrap" compatibilite="[1.5.13;2.*.*]" />
     
    1919        <necessite nom="socialtags" compatibilite="[1.0.7;[" />
    2020        <necessite nom="typo_guillemets" compatibilite="[1.5.0;[" />
     21        <necessite nom="picto" compatibilite="[1.0.2;[" />
    2122       
    22 
    2323</paquet>
Note: See TracChangeset for help on using the changeset viewer.