Ignore:
Timestamp:
2014-10-20T16:48:34+02:00 (10 years ago)
Author:
Klumbumbus
Message:

fix #10576 - display railway=construction (different styles for different subkeys construction=*); improve display of railway=tram on bridges and in tunnels

File:
1 edited

Legend:

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

    r7635 r7638  
    9999way[bridge=trestle]::core_bridge,
    100100way[bridge=aqueduct]::core_bridge {
    101     major-z-index: 2.1;
     101    major-z-index: 2;
    102102    object-z-index: -1;
    103103    width: +4;
     
    109109way[tunnel=building_passage]::core_tunnel,
    110110way[tunnel=avalanche_protector]::core_tunnel {
    111     major-z-index: 2.1;
     111    major-z-index: 2;
    112112    object-z-index: -1;
    113113    width: +5;
     
    450450
    451451way[motorroad?]::core_motorroad {
    452     major-z-index: 2.1;
     452    major-z-index: 2;
    453453    z-index: -1;
    454454    width: +4;
     
    31203120    modifier: false; /* don't draw default way if there is no line on default layer */
    31213121    width: 1;
    3122     color: otherrail#808080;
    31233122    color: railover#202020;
    31243123    dashes: 9,9;
     
    31983197    set icon_z17;
    31993198    text: auto;
     3199}
     3200way[railway=construction][!highway] {
     3201    width: 1;
     3202    color: construction#ffff00;
     3203    dashes: 9,9;
     3204}
     3205way[railway=construction][construction=rail] {
     3206    width: 2;
     3207    color: rail#404040;
     3208    dashes: 9,9;
     3209    dashes-background-color: construction#ffff00;
     3210}
     3211way[railway=construction][construction=light_rail] {
     3212    width: 2;
     3213}
     3214way[railway=construction][construction=tram][highway]::core_railway,
     3215way[railway=construction][construction=tram][!highway] {
     3216    z-index: 1;
     3217    width: 1;
     3218    color: railover#202020;
     3219    dashes: 9,9;
     3220    casing-width: 1;
     3221    casing-color: construction#ffff00;
     3222    casing-linecap: round;
     3223    casing-dashes: 9,9;
    32003224}
    32013225
Note: See TracChangeset for help on using the changeset viewer.