1 | /****************
|
---|
2 | * core_ways.css
|
---|
3 | ****************/
|
---|
4 |
|
---|
5 | /* Roads */
|
---|
6 |
|
---|
7 | way[highway=motorway],way[highway=motorway_link],
|
---|
8 | way[highway=trunk],way[highway=trunk_link],
|
---|
9 | way[highway=primary],way[highway=primary_link],
|
---|
10 | way[highway=secondary],way[highway=secondary_link],
|
---|
11 | way[highway=tertiary],way[highway=tertiary_link],
|
---|
12 | way[highway=residential],way[highway=unclassified] { z-index: 5; text: auto; text-color: black; font-size: 12; text-position: line; text-halo-color: white; text-halo-radius: 2; linecap: round; casing-linecap: round }
|
---|
13 | way[highway=motorway],way[highway=motorway_link] { z-index: 9; color: #809BC0; width: 7; casing-color: #1e375a; casing-width: 1; }
|
---|
14 | way[highway=trunk],way[highway=trunk_link] { z-index: 9; color: #7FC97F; width: 7; casing-color: #245424; casing-width: 1; }
|
---|
15 | way[highway=primary],way[highway=primary_link] { z-index: 8; color: #E46D71; width: 7; casing-color: #651316; casing-width: 1; }
|
---|
16 | way[highway=secondary],way[highway=secondary_link] { z-index: 7; color: #FDBF6F; width: 7; casing-color: #b16603; casing-width: 1; }
|
---|
17 | way[highway=tertiary],way[highway=tertiary_link] { z-index: 6; color: #FEFECB; width: 5; casing-color: #626202; casing-width: 1; }
|
---|
18 | way[highway=unclassified] { z-index: 6; color: #D0D0D0; width: 5; casing-width: 1; }
|
---|
19 | way[highway=residential] { z-index: 5; color: #E8E8E8; width: 5; casing-color: gray; casing-width: 1; }
|
---|
20 | way[highway=service][service!=parking_aisle] { z-index: 5; color: white; width: 3; casing-color: gray; casing-width: 1; }
|
---|
21 | way[highway=service][service=parking_aisle] { z-index: 5; color: white; width: 1; casing-color: #aaaaaa; casing-width: 1; }
|
---|
22 | way[highway=service][service=alley] { z-index: 5; color: white; width: 2; dashes: 6,2; casing-color: black; casing-width: 1; }
|
---|
23 | way[highway=road] { z-index: 5; color: gray; width: 5; casing-color: white; casing-width: 1; }
|
---|
24 | way[highway=living_street] { z-index: 5; color: #ddffee; width: 3; casing-color: #555555; casing-width: 1; }
|
---|
25 |
|
---|
26 | /* Road areas */
|
---|
27 |
|
---|
28 | way[highway=pedestrian]!:closed { z-index: 5; color: #ddddee; width: 5; casing-color: #555555; casing-width: 1; casing-dashes: 2,4;}
|
---|
29 | area[highway=pedestrian]:closed { color: #555555; width: 1; fill-color: #ddddee; fill-opacity: 0.8; } /* FIXME: dashed outline */
|
---|
30 |
|
---|
31 | /* Paths */
|
---|
32 |
|
---|
33 | way[highway=steps] { z-index: 5; color: #FF6644; width: 6; dashes: 2, 2; }
|
---|
34 | way[highway=footway] { z-index: 5; color: #FF6644; width: 2; dashes: 6, 3; prop_path : 1;}
|
---|
35 | way[highway=footway][bicycle=yes]::bike { z-index: 4; color: blue; width: 1; }
|
---|
36 | way[highway=bridleway] { z-index:9; color: #996644; width: 2; dashes: 4, 2, 2, 2; prop_path : 1;}
|
---|
37 | way[highway=track] { z-index: 5; color: #996644; width: 2; dashes: 4, 2; prop_path : 1;}
|
---|
38 | way[highway=path] { z-index: 5; color: brown; width: 2; dashes: 2, 2; prop_path : 1;}
|
---|
39 | way[highway=cycleway] { z-index: 5; color: blue; width: 2; dashes: 4, 2; prop_path : 1;}
|
---|
40 | way[is_prop_set("prop_path")] { z-index: 5; text: auto; text-color: black; text-position: line; text-offset: 7; font-size: 12; }
|
---|
41 |
|
---|
42 | /* Under construction */
|
---|
43 |
|
---|
44 | way[highway=proposed] { z-index: 5; color: #88ffff; width: 6; dashes: 8, 4; }
|
---|
45 | way[highway=construction] { z-index: 5; color: #ffffbb; width: 6; dashes: 8, 4; casing-color: #0000aa; casing-width: 1; casing-dashes: 8,4;}
|
---|
46 |
|
---|
47 | /* Railways */
|
---|
48 |
|
---|
49 | way[railway=rail] { z-index: 6; color: black; width: 5; linecap: round; dashes: 0; }
|
---|
50 | way[railway=rail]::dashes { z-index: 7; color: white; width: 3; dashes: 12,12; linecap: round; }
|
---|
51 |
|
---|
52 | way[construction=rail] { z-index: 6; color: black; width: 5; dashes: 6, 6, 4, 8;}
|
---|
53 | way[construction=rail]::inner { z-index: 7; color: white; width: 3; dashes: 6,18; }
|
---|
54 |
|
---|
55 | way[railway=platform] { z-index: 5; color:black; width: 2; }
|
---|
56 |
|
---|
57 | way[railway=subway] { z-index: 6; color: #444444; width: 5; }
|
---|
58 | way[railway=subway]::dashes { z-index: 7; color: white; width: 3; dashes: 8,8; }
|
---|
59 |
|
---|
60 | way[construction=subway] { z-index: 6; color: #444444; width: 5; dashes: 4, 4; }
|
---|
61 | way[construction=subway]::dashes { z-index: 7; color: white; width: 3; dashes: 4,12;}
|
---|
62 |
|
---|
63 | way[railway=disused][!highway],way[railway=abandoned][!highway] { z-index: 6; color: #444400; width: 3; dashes: 17, 2, 5, 0; }
|
---|
64 | way[railway=disused][!highway]::dashes,way[railway=abandoned][!highway]::dashes { z-index: 7; color: #999999; width: 2; dashes: 12,12; }
|
---|
65 |
|
---|
66 | way[railway=tram] { z-index: 11; color: #999999; width: 2; casing-color: black; casing-width: 2; }
|
---|
67 | way[construction=tram] { z-index: 11; color: #999999; width: 2; casing-color: black; casing-width: 2; dashes: 6, 6; casing-dashes: 6, 6; }
|
---|
68 |
|
---|
69 | way[railway=light_rail] { z-index: 6; color: black; width: 4; }
|
---|
70 | way[railway=light_rail]::dashes { z-index: 7; color: #999999; width: 2; dashes: 8,4; }
|
---|
71 |
|
---|
72 | way[construction=light_rail] { z-index: 6; color: black; width: 4; dashes: 8, 4, 4, 4; }
|
---|
73 | way[construction=light_rail]::dashes { z-index: 7; color: #999999; width: 2; dashes: 8,12; }
|
---|
74 |
|
---|
75 | /* Waterways */
|
---|
76 |
|
---|
77 | way[waterway=river],
|
---|
78 | way[waterway=canal],
|
---|
79 | way[waterway=stream] { z-index: 5; color: #3434ff; width: 2; text:auto; text-color: #3434ff; font-size:9; text-position: line; text-offset: 7;}
|
---|
80 | way[waterway=drain] {z-index: 5; color: #3434ff; width: 1; text:auto; text-color: #3434ff; text-position: line; text-offset: 3;}
|
---|
81 | way[waterway][tunnel=yes] {z-index: 5; dashes: 8,4;}
|
---|
82 |
|
---|
83 | /* Aeroways */
|
---|
84 |
|
---|
85 | way[aeroway=aerodrome]:closed
|
---|
86 | { z-index: 3; color: #bb44bb; width: 3; casing-color: #66066; casing-width: 1; }
|
---|
87 | way[aeroway=taxiway]!:closed { z-index: 8; color: #999999; width: 3; casing-color: #aa66aa; casing-width: 2; }
|
---|
88 | area[aeroway=taxiway]:closed { z-index: 8; color: #bb99bb; width: 3; fill-color: #ccaacc; }
|
---|
89 |
|
---|
90 | way[aeroway=runway]!:closed { z-index: 9; color: black; width: 5; }
|
---|
91 | way[aeroway=runway]!:closed::aa { z-index: 12; color: white; width: 5; dashes: 0, 20, 4, 76; }
|
---|
92 | way[aeroway=runway]!:closed::bb { z-index: 13; color: black; width: 3; }
|
---|
93 | way[aeroway=runway]!:closed::cc { z-index: 14; color: white; width: 1; dashes: 4, 16; }
|
---|
94 |
|
---|
95 | area[aeroway=runway]:closed { z-index: 9; color: black; width: 3; fill-color: #775577; }
|
---|
96 | area[aeroway=apron]:closed { z-index: 4; color: #cc66cc; width: 1; fill-color: #ddaadd; fill-opacity: 0.5;}
|
---|
97 |
|
---|
98 | /* Barriers */
|
---|
99 |
|
---|
100 | way[barrier] {z-index: 5; color: #000000; width: 1}
|
---|
101 | way[barrier=fence] {z-index: 5; color: #000000; width: 1; dashes: 8,4,2,4; }
|
---|
102 |
|
---|
103 | /* Power */
|
---|
104 |
|
---|
105 | way[power=line] {z-index: 5; color: darkgray; width: 3; dashes: 12,2; casing-color: black; casing-width: 2; casing-dashes: 4, 38;}
|
---|
106 | way[power=minor_line] {z-index: 5; color: gray; width: 2; dashes: 2,4; casing-width: 3; casing-color: white; casing-dashes: 2,22;}
|
---|
107 | area[power=station]:closed { color: black; width: 2; fill-color: #666666; fill-opacity: 0.6; prop_area_small_name : 1;}
|
---|
108 | area[power=generator]:closed { color: black; width: 2; fill-color: #444444; fill-opacity: 0.6; prop_area_small_name : 1;}
|
---|
109 |
|
---|
110 | /* Leisure */
|
---|
111 |
|
---|
112 | way[golf=hole] {z-index: 5; color: darkgreen; width: 5; casing-color: green; casing-width: 2; }
|
---|
113 | area[leisure=sports_centre]:closed { color: #66ddcc; fill-color: #66ddcc; prop_area_small_name : 1; }
|
---|
114 |
|
---|
115 |
|
---|
116 | /* Physical decoration */
|
---|
117 |
|
---|
118 | way[bridge=yes]::bridge1, way[bridge=viaduct]::bridge1, way[bridge=suspension]::bridge1 { z-index: 4; color: white; width: +3; }
|
---|
119 | way[bridge=yes]::bridge2, way[bridge=viaduct]::bridge2, way[bridge=suspension]::bridge2 { z-index: 3; color: #444444; width: +6; }
|
---|
120 | way[tunnel=yes][!waterway]::bridge1 { z-index: 4; color: white; width: +2; }
|
---|
121 | way[tunnel=yes][!waterway]::bridge2 { z-index: 3; color: black; width: +6; dashes: 4,4; }
|
---|
122 |
|
---|
123 | /* Attribute decoration */
|
---|
124 |
|
---|
125 | /*way[oneway=yes]::arrows, way[junction=roundabout]::arrows { z-index: 15; color: #555555; width: 2; dashes: 10,50; line-style: arrows; }
|
---|
126 | way[oneway=-1]::arrows { z-index: 15; color: #555555; width: 2; dashes: 10,50; line-style: arrows-reversed; }*/
|
---|