Ticket #10301: zoom on maxspeed nodes.diff

File zoom on maxspeed nodes.diff, 1.8 KB (added by Klumbumbus, 5 years ago)
  • styles/standard/elemstyles.mapcss

     
    35683568    maxspeedprop: get(split(" knots",tag(maxspeed)),0);
    35693569    set maxspeedclass;
    35703570}
    3571 node[prop(maxspeedclass, default)][!is_prop_set(icon-image, default)]::core_maxnodebg {
     3571node|z17-[prop(maxspeedclass, default)][!is_prop_set(icon-image, default)]::core_maxnodebg {
    35723572    /* background (white) */
    35733573    symbol-shape: circle;
    35743574    symbol-size: 17;
    35753575    symbol-fill-color: white;
    35763576    major-z-index: 4.2;
    35773577}
    3578 node[maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"][!is_prop_set(icon-image, default)]::core_maxnodebg,
    3579 node[maxspeed=signals][!is_prop_set(icon-image, default)]::core_maxnodebg {
     3578node|z17-[maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"][!is_prop_set(icon-image, default)]::core_maxnodebg,
     3579node|z17-[maxspeed=signals][!is_prop_set(icon-image, default)]::core_maxnodebg {
    35803580    /* background (black) */
    35813581    symbol-fill-color: black;
    35823582}
    3583 node[prop(maxspeedclass, default)][!is_prop_set(icon-image, default)]::core_maxnodefg {
     3583node|z17-[prop(maxspeedclass, default)][!is_prop_set(icon-image, default)]::core_maxnodefg {
    35843584    /* foreground (black text and red circle) */
    35853585    symbol-shape: circle;
    35863586    symbol-size: 15;
     
    35973597    text-offset-y: -1;
    35983598    major-z-index: 4.2;
    35993599}
    3600 node[maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"][!is_prop_set(icon-image, default)]::core_maxnodefg,
    3601 node[maxspeed=signals][!is_prop_set(icon-image, default)]::core_maxnodefg {
     3600node|z17-[maxspeed]["maxspeed:variable"]["maxspeed:variable"!="no"][!is_prop_set(icon-image, default)]::core_maxnodefg,
     3601node|z17-[maxspeed=signals][!is_prop_set(icon-image, default)]::core_maxnodefg {
    36023602    /* foreground (white text) */
    36033603    text-color: white;
    36043604}