599 text-halo-fill: white; |
599 text-halo-fill: white; |
600 text-clip: false; |
600 text-clip: false; |
601 text-avoid-edges: true; |
601 text-avoid-edges: true; |
602 text-size: 12; |
602 text-size: 12; |
603 } |
603 } |
|
604 |
|
605 @foot-route-fill: #ffc3c3; |
|
606 @hiking-route-fill: #f7cfb1; |
|
607 @bicycle-lcn-route-fill: #c3e1ff; |
|
608 @bicycle-rcn-route-fill: #d6cdff; |
|
609 @bicycle-ncn-route-fill: #ffc3ff; |
|
610 |
|
611 #foot-routes-layer-n1[layer < 0], |
|
612 #foot-routes[layer = 0], |
|
613 #foot-routes-layer-1[layer > 0] |
|
614 { |
|
615 line-color: @foot-route-fill; |
|
616 [route = 'hiking'] |
|
617 { |
|
618 line-color: @hiking-route-fill; |
|
619 } |
|
620 [route = 'bicycle_lcn'] |
|
621 { |
|
622 line-color: @bicycle-lcn-route-fill; |
|
623 } |
|
624 [route = 'bicycle_rcn'] |
|
625 { |
|
626 line-color: @bicycle-rcn-route-fill; |
|
627 } |
|
628 [route = 'bicycle_ncn'], |
|
629 [route = 'bicycle_icn'] |
|
630 { |
|
631 line-color: @bicycle-ncn-route-fill; |
|
632 } |
|
633 line-width: 4; |
|
634 [zoom >= 15] { line-width: 6; } |
|
635 [zoom >= 16] { line-width: 8; } |
|
636 [zoom >= 17] { line-width: 10; } |
|
637 [zoom >= 18] { line-width: 13; } |
|
638 [zoom >= 19] { line-width: 16; } |
|
639 [zoom >= 20] { line-width: 20; } |
|
640 line-join: round; |
|
641 line-cap: round; |
|
642 } |
|
643 |
|
644 #foot-routes-text |
|
645 { |
|
646 text-name: "[name]"; |
|
647 [ref != null] |
|
648 { |
|
649 text-name: "[ref]"; |
|
650 } |
|
651 text-fill: saturate(darken(@foot-route-fill, 50%), 35%); |
|
652 [route = 'hiking'] |
|
653 { |
|
654 text-fill: saturate(darken(@hiking-route-fill, 50%), 35%); |
|
655 } |
|
656 [route = 'bicycle_lcn'] |
|
657 { |
|
658 text-fill: saturate(darken(@bicycle-lcn-route-fill, 50%), 35%); |
|
659 } |
|
660 [route = 'bicycle_rcn'] |
|
661 { |
|
662 text-fill: saturate(darken(@bicycle-rcn-route-fill, 50%), 35%); |
|
663 } |
|
664 [route = 'bicycle_ncn'], |
|
665 [route = 'bicycle_icn'] |
|
666 { |
|
667 text-fill: saturate(darken(@bicycle-ncn-route-fill, 50%), 35%); |
|
668 } |
|
669 text-dy: 5; |
|
670 text-face-name: "Liberation Sans Regular"; |
|
671 text-repeat-distance: 300; |
|
672 text-placement: line; |
|
673 text-halo-radius: 1; |
|
674 text-halo-fill: white; |
|
675 text-clip: false; |
|
676 text-avoid-edges: true; |
|
677 text-size: 10; |
|
678 [zoom >= 16] { text-size: 11; } |
|
679 [zoom >= 17] { text-size: 12; } |
|
680 } |