Ignore:
Timestamp:
2011-02-14T16:13:57+01:00 (9 years ago)
Author:
bastiK
Message:

mapcss: minor improvements, fixes #5937 - MapCSS matching of piste:type=downhill, fixes #5938 - matching of relation members

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/styles/standard/potlatch2.mapcss

    r3900 r3902  
    282282/* Addressing */
    283283
    284 node["addr:housenumber"],
    285 node["addr:housename"] { symbol-shape: circle; symbol-size: 8; symbol-fill-color: #B0E0E6; }
    286 node["addr:housenumber"]::hn_casing,
    287 node["addr:housename"]::hn_casing { z-index: -100; symbol-shape: circle; symbol-size: 10; symbol-fill-color: blue; }
    288 way["addr:interpolation"] { color: #B0E0E6; width: 3; dashes: 3,3;}
     284node[addr:housenumber],
     285node[addr:housename] { symbol-shape: circle; symbol-size: 8; symbol-fill-color: #B0E0E6; }
     286node[addr:housenumber]::hn_casing,
     287node[addr:housename]::hn_casing { z-index: -100; symbol-shape: circle; symbol-size: 10; symbol-fill-color: blue; }
     288way[addr:interpolation] { color: #B0E0E6; width: 3; dashes: 3,3;}
    289289
    290290/****************
     
    335335way[landuse=cemetery]                                           { color: #664466; width: 2; fill-color: #664466; opacity: 0.2; prop_area_small_name : 1;}
    336336/* Addressing. Nodes with addresses *and* match POIs should have a poi icon, so we put addressing first */
     337/* Route relations */
     338
     339relation[type=route] > way::relation_underlay { z-index: -1; width: 13; color: blue; opacity: 0.3; linecap: none; }
     340relation[type=route][route=bicycle][network=ncn] > way::relation_underlay { z-index: -1; width: 12; color: red; opacity: 0.3; linecap: none; }
     341relation[type=route][route=bicycle][network=rcn] > way::relation_underlay { z-index: -1; width: 12; color: cyan; opacity: 0.3; linecap: none; }
     342relation[type=route][route=bicycle][network=lcn] > way::relation_underlay { z-index: -1; width: 12; color: blue; opacity: 0.3; linecap: none; }
     343relation[type=route][route=foot] > way::relation_underlay { z-index: -1; width: 10; color: #80ff80; opacity: 0.6; linecap: none; }
     344
    337345
    338346/*@import("stylesheets/core_ways.css");*/
Note: See TracChangeset for help on using the changeset viewer.