Changeset 114650 in spip-zone


Ignore:
Timestamp:
Mar 27, 2019, 12:03:48 PM (4 months ago)
Author:
johan.pustoch@…
Message:

utiliser #CHEMIN comme Pierre le conseillait. a tester en mutu...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/spipr-dane-config/trunk/css/spipr-dane-config.less.html

    r114426 r114650  
    1717/////////////////////
    1818
    19 // ajuster le chemin des images en fonction d'une mutu ou non
    20 [(#SET{url_image, #URL_SITE_SPIP/})]
    21 [(#EVAL{_DIR_SITE}|!={#EVAL{_DIR_RACINE}}|oui)
    22 [(#SET{url_image, #EVAL{_DIR_SITE}|replace{sites}})]
    23 [(#SET{url_image, /#GET{url_image}#EVAL{_DIR_SITE}})]
    24 ]
    2519
    2620//// Body ////
     
    2822[    background-color: (#CONFIG{sdc/body/background-color});
    2923][(#CONFIG{sdc/body/background-image}|oui)
    30      background-image: url("#GET{url_image}squelettes/images/#CONFIG{sdc/body/background-image}");
     24     background-image: url("[(#CHEMIN{images/#CONFIG{sdc/body/background-image}}|url_absolue)]");
    3125[    background-repeat: (#CONFIG{sdc/body/background-repeat});
    3226][   background-position: (#CONFIG{sdc/body/background-position});
     
    4135    [    background-color: (#CONFIG{sdc/header/background-color});
    4236    ][(#CONFIG{sdc/header/background-image}|oui)
    43          background-image: url("#GET{url_image}squelettes/images/#CONFIG{sdc/header/background-image}");
     37         background-image: url("[(#CHEMIN{images/#CONFIG{sdc/header/background-image}}|url_absolue)]");
    4438    [    background-repeat: (#CONFIG{sdc/header/background-repeat});
    4539    ][   background-position: (#CONFIG{sdc/header/background-position});
     
    6458        .nav .item.item-picto > a{
    6559            & when (@navbarLinkColor = @black) {
    66                 background-image: url("/#GET{url_image}plugins/squelette/spipr_dane/css/img/sprite-black.png");
     60                background-image: url("[(#CHEMIN{css/img/sprite-black.png}|url_absolue)]");
    6761                & when(@navbarLinkColorHover = @white) {
    68                     background-image: url("/#GET{url_image}plugins/squelette/spipr_dane/css/img/sprite.png");
     62                    background-image: url("[(#CHEMIN{css/img/sprite.png}|url_absolue)]");
    6963                }
    7064            }
    7165            & when (@navbarLinkColor = @white) {
    72                 background-image: url("/#GET{url_image}plugins/squelette/spipr_dane/css/img/sprite-white.png");
     66                background-image: url("[(#CHEMIN{css/img/sprite-white.png}|url_absolue)]");
    7367                & when(@navbarLinkColorHover = @black) {
    74                     background-image: url("/#GET{url_image}plugins/squelette/spipr_dane/css/img/sprite-inverse.png");
     68                    background-image: url("[(#CHEMIN{css/img/sprite-inverse.png}|url_absolue)]");
    7569                }
    7670            }
     
    8478[    background-color: (#CONFIG{sdc/footer/background-color});
    8579][(#CONFIG{sdc/footer/background-image}|oui)
    86      background-image: url("#GET{url_image}squelettes/images/#CONFIG{sdc/footer/background-image}");
     80     background-image: url("[(#CHEMIN{images/#CONFIG{sdc/footer/background-image}}|url_absolue)]");
    8781[    background-repeat: (#CONFIG{sdc/footer/background-repeat});
    8882][   background-position: (#CONFIG{sdc/footer/background-position});
Note: See TracChangeset for help on using the changeset viewer.