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