Changeset 110422 in spip-zone for _squelettes_/html5up_landed


Ignore:
Timestamp:
May 27, 2018, 9:36:18 PM (21 months ago)
Author:
nicod@…
Message:

Config de l'opacité de l'image de fond de l'article banner

Location:
_squelettes_/html5up_landed
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _squelettes_/html5up_landed/formulaires/configurer_html5_landed.html

    r110384 r110422  
    1313                [(#SAISIE{selecteur_article,article_banner,label=<:html5_landed:article:>})]
    1414                [(#SAISIE{selecteur_document,image_banner,label=<:html5_landed:image_banner:>})]
     15                [(#SAISIE{explication,banner_opacite,texte=<:html5_landed:banner_opacite:>})]
     16                [(#SAISIE{input,banner_opacite1,label=<:html5_landed:banner_opacite1:>,label=<:html5_landed:banner_opacite1:>,defaut=0.95})]
     17                [(#SAISIE{input,banner_opacite2,label=<:html5_landed:banner_opacite2:>,label=<:html5_landed:banner_opacite2:>,defaut=0.95})]
    1518
    1619                <h3><:html5_landed:configuration_theme:></h3>
  • _squelettes_/html5up_landed/theme_landed.css.html

    r110416 r110422  
    2020#SET{liens_foncee, ##GET{liens}|replace{'#',''}|couleur_foncer}
    2121#SET{actif, #CONFIG{html5_landed/couleur_actif}|trim|sinon{#e44c65}}
    22 #SET{banner-opacite1, #CONFIG{html5_landed/opacite1}|floatval|sinon{0.95}}
    23 #SET{banner-opacite2, #CONFIG{html5_landed/opacite2}|floatval|sinon{0.95}}
     22#SET{banner_opacite1, #CONFIG{html5_landed/banner_opacite1}|floatval|trim|sinon{0.95}}
     23#SET{banner_opacite2, #CONFIG{html5_landed/banner_opacite2}|floatval|trim|sinon{0.95}}
    2424
    2525[(#REM)<style>]
     
    3333/* opacité de l'image de fond de l'article banner */
    3434#banner:after {
    35         background-image: -moz-linear-gradient(top, rgba(24, 24, 24, #GET{banner-opacite1}), rgba(24, 24, 24, #GET{banner-opacite2}));
    36         background-image: -webkit-linear-gradient(top, rgba(24, 24, 24, #GET{banner-opacite1}), rgba(24, 24, 24, #GET{banner-opacite2}));
    37         background-image: -ms-linear-gradient(top, rgba(24, 24, 24, #GET{banner-opacite1}), rgba(24, 24, 24, #GET{banner-opacite2}));
    38         background-image: linear-gradient(top, rgba(24, 24, 24, #GET{banner-opacite1}), rgba(24, 24, 24, #GET{banner-opacite2}));
     35        background-image: -moz-linear-gradient(top, rgba(24, 24, 24, #GET{banner_opacite1}), rgba(24, 24, 24, #GET{banner_opacite2}));
     36        background-image: -webkit-linear-gradient(top, rgba(24, 24, 24, #GET{banner_opacite1}), rgba(24, 24, 24, #GET{banner_opacite2}));
     37        background-image: -ms-linear-gradient(top, rgba(24, 24, 24, #GET{banner_opacite1}), rgba(24, 24, 24, #GET{banner_opacite2}));
     38        background-image: linear-gradient(top, rgba(24, 24, 24, #GET{banner_opacite1}), rgba(24, 24, 24, #GET{banner_opacite2}));
    3939}
    4040
Note: See TracChangeset for help on using the changeset viewer.