Changeset 107295 in spip-zone


Ignore:
Timestamp:
Nov 3, 2017, 10:21:48 AM (2 years ago)
Author:
chankalan@…
Message:

optimisation avec SET + GET

Location:
_plugins_/timelineme/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/timelineme/trunk/modeles/rubrique_timelineme.html

    r107282 r107295  
    4343</BOUCLE_timelineme>
    4444<style type="text/css">[(#REM) ]
    45 [#timeline-container { background-color:(#ENV{background,#8DD8DD}); }][(#ENV{orientation}|=={horizontal}|oui)
    46 #timeline-container.timeline-me-horizontal { padding:10px; }]
     45#SET{bkg,#ENV{background,#8DD8DD}}
     46[#timeline-container { background-color:(#GET{bkg}); }]
     47[(#ENV{orientation}|=={horizontal}|oui)
     48        #timeline-container.timeline-me-horizontal { padding:10px; }]
    4749.timeline-me-rightscroll {
    48         background-image: -webkit-gradient(linear, left top, right top, from(rgba(141, 216, 221, 0)), to(#ENV{background,#8DD8DD}));
    49         background-image: -webkit-linear-gradient(left, rgba(141, 216, 221, 0), #ENV{background,#8DD8DD});
    50         background-image: -moz-linear-gradient(left, rgba(141, 216, 221, 0), #ENV{background,#8DD8DD});
    51         background-image: -ms-linear-gradient(left, rgba(141, 216, 221, 0), #ENV{background,#8DD8DD});
    52         background-image: -o-linear-gradient(left, rgba(141, 216, 221, 0), #ENV{background,#8DD8DD});
    53         background-image: linear-gradient(left, rgba(141, 216, 221, 0), #ENV{background,#8DD8DD});
    54         filter: progid:DXImageTransform.Microsoft.gradient(start-colourStr='rgba(141, 216, 221, 0)', end-colourStr='#ENV{background,#8DD8DD}', gradientType='1');
     50        background-image: -webkit-gradient(linear, left top, right top, from(rgba(141, 216, 221, 0)), to (#GET{bkg}));
     51        background-image: -webkit-linear-gradient(left, rgba(141, 216, 221, 0), #GET{bkg});
     52        background-image: -moz-linear-gradient(left, rgba(141, 216, 221, 0), #GET{bkg});
     53        background-image: -ms-linear-gradient(left, rgba(141, 216, 221, 0), #GET{bkg});
     54        background-image: -o-linear-gradient(left, rgba(141, 216, 221, 0), #GET{bkg});
     55        background-image: linear-gradient(left, rgba(141, 216, 221, 0), #GET{bkg});
     56        filter: progid:DXImageTransform.Microsoft.gradient(start-colourStr='rgba(141, 216, 221, 0)', end-colourStr='#GET{bkg}', gradientType='1');
    5557}
    5658.timeline-me-leftscroll {
    57         background-image: -webkit-gradient(linear, left top, right top, from(#ENV{background,#8DD8DD}), to(rgba(141, 216, 221, 0)));
    58         background-image: -webkit-linear-gradient(left, #ENV{background,#8DD8DD}, rgba(141, 216, 221, 0));
    59         background-image: -moz-linear-gradient(left, #ENV{background,#8DD8DD}, rgba(141, 216, 221, 0));
    60         background-image: -ms-linear-gradient(left, #ENV{background,#8DD8DD}, rgba(141, 216, 221, 0));
    61         background-image: -o-linear-gradient(left, #ENV{background,#8DD8DD}, rgba(141, 216, 221, 0));
    62         background-image: linear-gradient(left, #ENV{background,#8DD8DD}, rgba(141, 216, 221, 0));
    63         filter: progid:DXImageTransform.Microsoft.gradient(start-colourStr='#ENV{background,#8DD8DD}', end-colourStr='rgba(141, 216, 221, 0)', gradientType='1');
     59        background-image: -webkit-gradient(linear, left top, right top, from (#GET{bkg}), to(rgba(141, 216, 221, 0)));
     60        background-image: -webkit-linear-gradient(left, #GET{bkg}, rgba(141, 216, 221, 0));
     61        background-image: -moz-linear-gradient(left, #GET{bkg}, rgba(141, 216, 221, 0));
     62        background-image: -ms-linear-gradient(left, #GET{bkg}, rgba(141, 216, 221, 0));
     63        background-image: -o-linear-gradient(left, #GET{bkg}, rgba(141, 216, 221, 0));
     64        background-image: linear-gradient(left, #GET{bkg}, rgba(141, 216, 221, 0));
     65        filter: progid:DXImageTransform.Microsoft.gradient(start-colourStr='#GET{bkg}', end-colourStr='rgba(141, 216, 221, 0)', gradientType='1');
    6466}
    6567/* arrangements pour les boutons "voir plus" et "voir moins" */
  • _plugins_/timelineme/trunk/paquet.xml

    r107281 r107295  
    22        prefix="timelineme"
    33        categorie="squelette"
    4         version="0.1.0"
     4        version="0.1.1"
    55        etat="dev"
    66        compatibilite="[3.2.0;3.2.*]"
Note: See TracChangeset for help on using the changeset viewer.