kothic/tests/assets/case-2-generate-drules-mini/include/Roads_label.mapcss

75 lines
2.1 KiB
Text

/* ~~~~ CONTENT OF ROADS ~~~~~
1.Z-INDEX ROADS
2.SHIELD 10-22 ZOOM
3.TRUNK & MOTORWAY 10-22 ZOOM
4.PRIMARY 10-22 ZOOM
5.SECONDARY 10-22 ZOOM
6.RESIDENTAL & TERTIARY 12-22 ZOOM
7.ROAD, STREETS, UNCLASSIFIED & SERVICE 15-22 ZOOM
8.OTHERS ROADS 15-22 ZOOM
9.RAIL 15-22 ZOOM ????
9.1 Monorail 14-22 ZOOM
9.2 Tram line 13-22 ZOOM
9.3 Funicular 12-22 ZOOM
10.PISTE 12-22 ZOOM ????
10.1 Lift 12-22 ZOOM
10.2 Aerialway 12-22 ZOOM
10.3 Piste & Route 14-22 ZOOM
11.FERRY 10-22 ZOOM
12.ONEWAY ARROWS 15-22 ZOOM
13.JUNCTION 15-22 ZOOM
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*/
line[highway]
{text-position: line;}
/* 2.SHIELD 10-22 ZOOM */
line|z10-[highway=motorway]::shield,
line|z10-[highway=trunk]::shield,
line|z10-[highway=motorway_link]::shield,
line|z10-[highway=trunk_link]::shield,
line|z10-[highway=primary]::shield,
{shield-font-size: 9;shield-text-color: @shield_text;shield-text-halo-radius: 0;shield-text-halo-color: @shield_text_halo;shield-color: @shield;shield-outline-radius: 1;shield-outline-color: @shield_outline;}
line|z10[highway=motorway]::shield,
line|z10[highway=trunk]::shield,
line|z10[highway=motorway_link]::shield,
line|z10[highway=trunk_link]::shield,
line|z10[highway=primary]::shield,
{shield-min-distance: 85;}
/* 3.TRUNK & MOTORWAY 10-22 ZOOM */
line|z10-[highway=trunk],
line|z10-[highway=motorway],
line|z10-[highway=motorway_link],
line|z10-[highway=trunk_link],
{text: name; text-halo-radius: 1; text-halo-color: @label_halo_medium;}
line|z10-[highway=motorway],
line|z10-[highway=trunk],
{font-size: 11; text-color: @label_medium; text-halo-opacity: 0.9;}
line|z10-[highway=motorway_link],
line|z10-[highway=trunk_link],
{font-size: 10; text-color: @label_medium; text-halo-opacity: 0.7;}
/* 4.PRIMARY 10-22 ZOOM */
line|z10-[highway=primary],
{text: name; text-halo-radius: 1; text-halo-color: @label_halo_medium;}
line|z10-[highway=primary],
{font-size: 10; text-color: @label_medium; text-halo-opacity: 0.7;}
/* 5.SECONDARY 10-22 ZOOM */
line|z10-[highway=secondary],
{text: name; text-halo-radius: 1; text-halo-color: @label_halo_medium;}
line|z10-[highway=secondary],
{font-size: 10; text-color: @label_light; text-halo-opacity: 0.7;}