Changes between Version 3 and Version 4 of Styles/Lit


Ignore:
Timestamp:
2016-01-03T17:41:58+01:00 (8 years ago)
Author:
Don-vip
Comment:

see #12282 - convert to MapCSS

Legend:

Unmodified
Added
Removed
Modified
  • Styles/Lit

    v3 v4  
    66
    77{{{
    8 #!style
    9 <?xml version="1.0" encoding="UTF-8"?>
    10 <rules xmlns="http://josm.openstreetmap.de/mappaint-style-1.0"
    11        author="cmuelle8" shortdescription="Lit" de.shortdescription="Straßenbeleuchtung" ru.shortdescription="Уличное освещение"
    12        description="Show lit=yes/no settings in JOSM map display"
    13        de.description="Anzeige der Straßenbeleuchtung in der JOSM-Kartenanzeige"
    14        version="1.[[revision]]_[[date]]">
    15   <rule>
    16     <condition k="lit" b="yes"/>
    17     <linemod mode="over" width="10" realwidth="8" colour="lit_yes#EEEECCB0"/>
    18   </rule>
    19   <rule>
    20     <condition k="lit" b="no"/>
    21     <linemod mode="over" width="10" realwidth="8" colour="lit_no#000000B0"/>
    22   </rule>
    23 </rules>
     8#!style type="mapcss"
     9meta {
     10    title: "Lit";
     11    version: "2.0";
     12    description: "Show lit=yes/no settings in JOSM map display";
     13    author: "cmuelle8";
     14    link: "https://josm.openstreetmap.de/wiki/Styles/Lit";
     15}
     16way[lit=yes]::lit_layer
     17{
     18    object-z-index: 1.0;
     19    width: +10;
     20    opacity: 0.75;
     21    color: #EEEECC;
     22}
     23way[lit=no]::lit_layer
     24{
     25    object-z-index: 1.0;
     26    width: +10;
     27    opacity: 0.75;
     28    color: #000000;
     29}
    2430}}}