Ignore:
Timestamp:
2016-03-31T20:34:23+02:00 (9 years ago)
Author:
Klumbumbus
Message:

fix #11705 - display rails with service=spur|yard|siding|crossover with shorter dashes

File:
1 edited

Legend:

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

    r10018 r10091  
    33893389    dashes-background-color: raildashed#ffffff;
    33903390}
     3391way[railway=rail][service=crossover],
    33913392way[railway=rail][service=siding] {
    33923393    width: 1;
     
    33953396way[railway=rail][service=spur] {
    33963397    width: 1;
    3397     color: railyard#552200
     3398    color: railyard#552200;
    33983399}
    33993400/* draw tram on top of other way (highway=*) or
    34003401   as a standalone style */
    3401 way[highway][railway=tram]::core_railway, way[!highway][railway=tram] {
     3402way[highway][railway=tram]::core_railway,
     3403way[!highway][railway=tram] {
    34023404    object-z-index: 1;
    34033405    modifier: false; /* don't draw default way if there is no line on default layer */
     
    34103412    casing-dashes: 9,9;
    34113413}
     3414way[highway][railway=tram][service=crossover]::core_railway,
     3415way[!highway][railway=tram][service=crossover],
     3416way[highway][railway=tram][service=siding]::core_railway,
     3417way[!highway][railway=tram][service=siding],
     3418way[highway][railway=tram][service=yard]::core_railway,
     3419way[!highway][railway=tram][service=yard],
     3420way[highway][railway=tram][service=spur]::core_railway,
     3421way[!highway][railway=tram][service=spur] {
     3422    dashes: 6,6;
     3423    casing-dashes: 6,6;
     3424}
     3425
    34123426way[railway=light_rail] {
    34133427    width: 2;
     
    34243438    color: oldrail#404040;
    34253439    dashes: 9,9;
     3440}
     3441way[railway=light_rail][service=crossover],
     3442way[railway=light_rail][service=siding],
     3443way[railway=light_rail][service=yard],
     3444way[railway=light_rail][service=spur],
     3445way[railway=subway][service=crossover],
     3446way[railway=subway][service=siding],
     3447way[railway=subway][service=yard],
     3448way[railway=subway][service=spur],
     3449way[railway=preserved][service=crossover],
     3450way[railway=preserved][service=siding],
     3451way[railway=preserved][service=yard],
     3452way[railway=preserved][service=spur] {
     3453    dashes: 6,6;
    34263454}
    34273455/* disused often appears together with highway=xy */
     
    34443472    color: rail#404040;
    34453473    dashes: 9,9;
     3474}
     3475way[railway=narrow_gauge][service=crossover],
     3476way[railway=narrow_gauge][service=siding],
     3477way[railway=narrow_gauge][service=yard],
     3478way[railway=narrow_gauge][service=spur],
     3479way[railway=monorail][service=crossover],
     3480way[railway=monorail][service=siding],
     3481way[railway=monorail][service=yard],
     3482way[railway=monorail][service=spur] {
     3483    dashes: 6,6;
    34463484}
    34473485area[railway=turntable] {
Note: See TracChangeset for help on using the changeset viewer.