Changeset 111395 in spip-zone


Ignore:
Timestamp:
Aug 21, 2018, 8:35:52 PM (2 years ago)
Author:
chankalan@…
Message:

des couleurs choisies pour les boutons du menu latéral

Location:
_squelettes_/html5up_phantom
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • _squelettes_/html5up_phantom/html5up_phantom_fonctions.php

    r111114 r111395  
    2525
    2626}
     27function hexa2utf8($color) {
     28        // %23585858%3B
     29        $color = str_replace('#','%23',$color);
     30        $color = $color.'%3B';
     31//      $color = utf8_encode($color);
     32        return $color;
     33}
  • _squelettes_/html5up_phantom/paquet.xml

    r111394 r111395  
    22        prefix="html5up_phantom"
    33        categorie="squelette"
    4         version="0.1.4"
     4        version="0.1.5"
    55        schema="0.0.2"
    66        etat="test"
  • _squelettes_/html5up_phantom/styles_config.css.html

    r111394 r111395  
    3737
    3838<BOUCLE_articles(ARTICLES)>[.tiles article.style#ID_ARTICLE > .image, .tiles article.style#ID_ARTICLE > .image:before { background-color:(#COULEUR); }]</BOUCLE_articles>
     39
     40[(#REM) les boutons du menu lateral ]
     41[(#SET{typosvg,[(#CONFIG{html5up/couleur_typo}|hexa2utf8)]})]
     42[(#SET{accentsvg,[(#CONFIG{html5up/couleur_accent}|hexa2utf8)]})]
     43#header nav ul li a[href="#menu"]:before {
     44        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cstyle%3Eline %7B stroke-width: 8px%3B stroke: #GET{accentsvg} %7D%3C/style%3E%3Cline x1='0' y1='25' x2='100' y2='25' /%3E%3Cline x1='0' y1='50' x2='100' y2='50' /%3E%3Cline x1='0' y1='75' x2='100' y2='75' /%3E%3C/svg%3E");
     45        opacity: 0;
     46}
     47#header nav ul li a[href="#menu"]:after {
     48        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cstyle%3Eline %7B stroke-width: 8px%3B stroke: #GET{typosvg} %7D%3C/style%3E%3Cline x1='0' y1='25' x2='100' y2='25' /%3E%3Cline x1='0' y1='50' x2='100' y2='50' /%3E%3Cline x1='0' y1='75' x2='100' y2='75' /%3E%3C/svg%3E");
     49        opacity: 1;
     50}
     51#menu > .close:before {
     52        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cstyle%3Eline %7B stroke-width: 8px%3B stroke: #GET{accentsvg} %7D%3C/style%3E%3Cline x1='15' y1='15' x2='85' y2='85' /%3E%3Cline x1='85' y1='15' x2='15' y2='85' /%3E%3C/svg%3E");
     53        opacity: 0;
     54}
     55#menu > .close:after {
     56        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cstyle%3Eline %7B stroke-width: 8px%3B stroke: #GET{typosvg} %7D%3C/style%3E%3Cline x1='15' y1='15' x2='85' y2='85' /%3E%3Cline x1='85' y1='15' x2='15' y2='85' /%3E%3C/svg%3E");
     57        opacity: 1;
     58}
Note: See TracChangeset for help on using the changeset viewer.