Changes between Version 6 and Version 7 of Styles/SidewalksAndFootways


Ignore:
Timestamp:
2021-01-31T20:06:44+01:00 (5 years ago)
Author:
JeroenHoek
Comment:

Minor colour tweak; make ways disabled via access=* translucent too.

Legend:

Unmodified
Added
Removed
Modified
  • Styles/SidewalksAndFootways

    v6 v7  
    9898
    9999way.sidewalk-yes::sidewalks_left {
    100     color: #00ff00;
     100    color: #00cc00;
    101101}
    102102way.sidewalk-yes::sidewalks_right {
    103     color: #00ff00;
     103    color: #00cc00;
    104104}
    105105
     
    127127
    128128way[highway=footway] {
    129     color: #00ff00;
     129    color: #00cc00;
    130130    width: 1;
    131131}
     
    141141}
    142142way|z19-[highway=footway][footway=crossing] {
    143     width: 1;
     143    width: 2;
    144144    color: #00aa80;
    145145    dashes: none;
     
    164164way|z19-[highway=footway][footway=island],
    165165way|z19-[highway=footway][footway=traffic_island] {
    166     width: 1;
     166    width: 2;
    167167    color: #00aa80;
    168168}
     
    195195}
    196196
     197/*
     198    Make ways with no pedestrian access translucent. This makes it easier to focus on the ways that do permit pedestrians,
     199    and shows whether or not pedestrian access is allowed at a glance.
     200*/
     201
     202way[foot=yes],
     203way[foot=permissive],
     204way[foot=designated] {
     205    /* This overrides access=* below. */
     206    set foot-has-access;
     207}
     208
     209way[access=no]!.foot-has-access,
     210way[access=private]!.foot-has-access,
    197211way[foot=use_sidepath],
    198212way[foot=private],
     
    202216}
    203217
     218way[access=no]!.foot-has-access::core_access,
     219way[access=private]!.foot-has-access::core_access,
     220way[foot=use_sidepath]::core_access,
     221way[foot=private]::core_access,
     222way[foot=no]::core_access {
     223    /* ::core_access is the layer used for access restrictions in JOSM default. */
     224    opacity: 0.3;
     225}
     226
    204227}}}