1 | /* |
---|
2 | |
---|
3 | Potlatch 2 core stylesheet |
---|
4 | |
---|
5 | This stylesheet should contain commonly used features and only the most essential extra attributes |
---|
6 | (e.g. oneway). It needs to remain simple (not too many nested styles or dash-type decorations) in |
---|
7 | order not to kill performance on slower systems and those with a less effective Flash Player (i.e. |
---|
8 | Linux). |
---|
9 | |
---|
10 | It is expected that experienced mappers will switch between this and other stylesheets as required. |
---|
11 | |
---|
12 | */ |
---|
13 | |
---|
14 | meta { |
---|
15 | title: "Potlatch 2"; |
---|
16 | icon: "dialogs/mappaint/pl2_small.png"; |
---|
17 | } |
---|
18 | |
---|
19 | canvas { |
---|
20 | background-color: #ffffea; |
---|
21 | } |
---|
22 | |
---|
23 | node, area { |
---|
24 | text-color: black; |
---|
25 | } |
---|
26 | |
---|
27 | relation[restriction=no_left_turn] { |
---|
28 | icon-image: "vehicle/restriction/turn_restrictions/no_left_turn.png"; |
---|
29 | } |
---|
30 | relation[restriction=no_right_turn] { |
---|
31 | icon-image: "vehicle/restriction/turn_restrictions/no_right_turn.png"; |
---|
32 | } |
---|
33 | relation[restriction=no_straight_on] { |
---|
34 | icon-image: "vehicle/restriction/turn_restrictions/no_straight_on.png"; |
---|
35 | } |
---|
36 | relation[restriction=no_u_turn] { |
---|
37 | icon-image: "vehicle/restriction/turn_restrictions/no_u_turn.png"; |
---|
38 | } |
---|
39 | relation[restriction=only_left_turn] { |
---|
40 | icon-image: "vehicle/restriction/turn_restrictions/only_left_turn.png"; |
---|
41 | } |
---|
42 | relation[restriction=only_right_turn] { |
---|
43 | icon-image: "vehicle/restriction/turn_restrictions/only_right_turn.png"; |
---|
44 | } |
---|
45 | relation[restriction=only_straight_on] { |
---|
46 | icon-image: "vehicle/restriction/turn_restrictions/only_straight_on.png"; |
---|
47 | } |
---|
48 | |
---|
49 | |
---|
50 | /**************** |
---|
51 | * core_ways.css |
---|
52 | ****************/ |
---|
53 | |
---|
54 | /* Roads */ |
---|
55 | |
---|
56 | way[highway=motorway],way[highway=motorway_link], |
---|
57 | way[highway=trunk],way[highway=trunk_link], |
---|
58 | way[highway=primary],way[highway=primary_link], |
---|
59 | way[highway=secondary],way[highway=secondary_link], |
---|
60 | way[highway=tertiary],way[highway=tertiary_link], |
---|
61 | 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; } |
---|
62 | way[highway=motorway],way[highway=motorway_link] { z-index: 9; color: #809BC0; width: 7; casing-color: black; casing-width: 8; } |
---|
63 | way[highway=trunk],way[highway=trunk_link] { z-index: 9; color: #7FC97F; width: 7; casing-color: black; casing-width: 8; } |
---|
64 | way[highway=primary],way[highway=primary_link] { z-index: 8; color: #E46D71; width: 7; casing-color: black; casing-width: 8; } |
---|
65 | way[highway=secondary],way[highway=secondary_link] { z-index: 7; color: #FDBF6F; width: 7; casing-width: 8; } |
---|
66 | way[highway=tertiary] { z-index: 6; color: #FEFECB; width: 5; casing-width: 7; } |
---|
67 | way[highway=unclassified] { z-index: 6; color: #D0D0D0; width: 5; casing-width: 7; } |
---|
68 | way[highway=tertiary_link] { z-index: 5; color: #FEFECB; width: 4; casing-width: 5; } |
---|
69 | way[highway=residential] { z-index: 5; color: #E8E8E8; width: 5; casing-color: gray; casing-width: 7; } |
---|
70 | way[highway=service][service!=parking_aisle] { z-index: 5; color: white; width: 3; casing-color: gray; casing-width: 5; } |
---|
71 | way[highway=service][service=parking_aisle] { z-index: 5; color: white; width: 1; casing-color: #aaaaaa; casing-width: 2; } |
---|
72 | way[highway=service][service=alley] { z-index: 5; color: white; width: 2; dashes: 6,2; casing-color: black; casing-width: 4; } |
---|
73 | way[highway=road] { z-index: 5; color: gray; width: 5; casing-color: white; casing-width: 7; } |
---|
74 | way[highway=living_street] { z-index: 5; color: #ddffee; width: 3; casing-color: #555555; casing-width: 4; } |
---|
75 | |
---|
76 | /* Road areas */ |
---|
77 | |
---|
78 | way[highway=pedestrian]!:closed { z-index: 5; color: #ddddee; width: 5; casing-color: #555555; casing-width: 6; casing-dashes: 2,4;} |
---|
79 | way[highway=pedestrian]:closed { color: #555555; width: 1; fill-color: #ddddee; fill-opacity: 0.8; } /* FIXME: dashed outline */ |
---|
80 | |
---|
81 | /* Paths */ |
---|
82 | |
---|
83 | way[highway=steps] { z-index: 5; color: #FF6644; width: 6; dashes: 2, 2; } |
---|
84 | way[highway=footway] { z-index: 5; color: #FF6644; width: 2; dashes: 6, 3; prop_path : 1;} |
---|
85 | way[highway=footway][bicycle=yes] { z-index: 4; color: blue; width: 1; } |
---|
86 | way[highway=bridleway] { z-index:9; color: #996644; width: 2; dashes: 4, 2, 2, 2; prop_path : 1;} |
---|
87 | way[highway=track] { z-index: 5; color: #996644; width: 2; dashes: 4, 2; prop_path : 1;} |
---|
88 | way[highway=path] { z-index: 5; color: brown; width: 2; dashes: 2, 2; prop_path : 1;} |
---|
89 | way[highway=cycleway] { z-index: 5; color: blue; width: 2; dashes: 4, 2; prop_path : 1;} |
---|
90 | way[railway=tram] { z-index: 11; color: #999999; width: 2; casing-color: black; casing-width: 6; } |
---|
91 | way[is_prop_set("prop_path")] { text:auto; text-color: black; text-position: line; text-offset: 5;} |
---|
92 | |
---|
93 | /* Under construction */ |
---|
94 | |
---|
95 | way[highway=proposed] { z-index: 5; color: #88ffff; width: 6; dashes: 8, 4; } |
---|
96 | way[highway=construction] { z-index: 5; color: #ffffbb; width: 6; dashes: 8, 4; casing-color: #0000aa; casing-width: 8; casing-dashes: 8,4;} |
---|
97 | way[construction=rail] |
---|
98 | { z-index: 6; color: black; width: 5; dashes: 6, 6, 4, 8;} |
---|
99 | way[construction=rail]::rail_over |
---|
100 | { z-index: 7; color: white; width: 3; dashes: 6,18; } |
---|
101 | |
---|
102 | /* Railways */ |
---|
103 | |
---|
104 | way[railway=rail] |
---|
105 | { z-index: 6; color: black; width: 5; dashes: 0; } |
---|
106 | way[railway=rail]::rail_over |
---|
107 | { z-index: 7; color: white; width: 3; dashes: 12,12; } |
---|
108 | way[railway=platform] { color:black; width: 2; } |
---|
109 | way[railway=subway] |
---|
110 | { z-index: 6; color: #444444; width: 5; } |
---|
111 | way[railway=subway]::railway_over |
---|
112 | { z-index: 7; color: white; width: 3; dashes: 8,8; } |
---|
113 | way[railway=disused],way[railway=abandoned] |
---|
114 | { z-index: 6; color: #444400; width: 3; dashes: 17, 2, 5, 0; } |
---|
115 | way[railway=disused]::railway_over, way[railway=abandoned]::railway_over |
---|
116 | { z-index: 7; color: #999999; width: 2; dashes: 12,12; } |
---|
117 | |
---|
118 | /* Waterways */ |
---|
119 | |
---|
120 | way[waterway=river], |
---|
121 | way[waterway=canal], |
---|
122 | way[waterway=stream] { z-index: 5; color: blue; width: 2; text:auto; text-color:blue; font-size:9; text-position: line; text-offset: 7;} |
---|
123 | way[waterway=drain] {z-index: 5; color: blue; width: 1; text:auto; text-color: blue; text-position: line; text-offset: 3;} |
---|
124 | way[waterway][tunnel=yes] {z-index: 5; dashes: 8,4;} |
---|
125 | |
---|
126 | /* Aeroways */ |
---|
127 | |
---|
128 | way[aeroway=aerodrome]:closed |
---|
129 | { z-index: 3; color: #bb44bb; width: 3; casing-color: #66066; casing-width: 4; } |
---|
130 | way|z-15[aeroway=aerodrome]:closed |
---|
131 | { z-index: 3; fill-color: #bb99bb; fill-opacity: 0.5;} |
---|
132 | way[aeroway=taxiway]!:closed { z-index: 8; color: #999999; width: 3; casing-color: #aa66aa; casing-width: 6; } |
---|
133 | way[aeroway=taxiway]:closed { z-index: 8; color: #bb99bb; width: 3; fill-color: #ccaacc; } |
---|
134 | way|z17-[aeroway=runway]!:closed |
---|
135 | { z-index: 9; color: black; width: 11; casing-color: #aa66aa; casing-width: 12; } |
---|
136 | way|z17-[aeroway=runway]!:closed::aeroway2 |
---|
137 | { z-index: 10; color: white; width: 9; dashes: 0, 20, 4, 76; } |
---|
138 | way|z17-[aeroway=runway]!:closed::aeroway3 |
---|
139 | { z-index: 11; color: black; width: 7; } |
---|
140 | way|z17-[aeroway=runway]!:closed::aeroway4 |
---|
141 | { z-index: 12; color: white; width: 5; dashes: 0, 20, 4, 76; } |
---|
142 | way|z17-[aeroway=runway]!:closed::aeroway5 |
---|
143 | { z-index: 13; color: black; width: 3; } |
---|
144 | way|z17-[aeroway=runway]!:closed::aeroway6 |
---|
145 | { z-index: 14; color: white; width: 1; dashes: 4, 16; } |
---|
146 | |
---|
147 | way|z15-16[aeroway=runway]!:closed |
---|
148 | { z-index: 9; color: black; width: 5; } |
---|
149 | way|z15-16[aeroway=runway]!:closed::aeroway2 |
---|
150 | { z-index: 12; color: white; width: 5; dashes: 0, 20, 4, 76; } |
---|
151 | way|z15-16[aeroway=runway]!:closed::aeroway3 |
---|
152 | { z-index: 13; color: black; width: 3; } |
---|
153 | way|z15-16[aeroway=runway]!:closed::aeroway4 |
---|
154 | { z-index: 14; color: white; width: 1; dashes: 4, 16; } |
---|
155 | |
---|
156 | way|z-14[aeroway=runway]!:closed |
---|
157 | { z-index: 9; color: #444444; width: 3; } |
---|
158 | way[aeroway=runway]:closed { z-index: 9; color: black; width: 3; fill-color: #775577; } |
---|
159 | way[aeroway=apron]:closed { z-index: 4; color: #cc66cc; width: 1; fill-color: #ddaadd; fill-opacity: 0.5;} |
---|
160 | |
---|
161 | /* Barriers */ |
---|
162 | |
---|
163 | way[barrier] {z-index: 5; color: #000000; width: 1} |
---|
164 | way[barrier=fence] {z-index: 5; color: #000000; width: 1; dashes: 8,4,2,4; } |
---|
165 | |
---|
166 | /* Power */ |
---|
167 | |
---|
168 | way[power=line] {z-index: 5; color: darkgray; width: 3; dashes: 12,2; casing-color: black; casing-width: 8; casing-dashes: 4, 38;} |
---|
169 | way[power=minor_line] {z-index: 5; color: gray; width: 2; dashes: 2,4; casing-width: 8; casing-color: white; casing-dashes: 2,22;} |
---|
170 | way[power=station]:closed { z-index: 5; color: black; width: 2; fill-color: #666666; fill-opacity: 0.6; prop_area_small_name : 1;} |
---|
171 | way[power=generator]:closed { z-index: 5; color: black; width: 2; fill-color: #444444; fill-opacity: 0.6; prop_area_small_name : 1;} |
---|
172 | |
---|
173 | /* Leisure */ |
---|
174 | |
---|
175 | way[golf=hole] {z-index: 5; color: darkgreen; width: 5; casing-color: green; casing-width: 10; } |
---|
176 | way[leisure=sports_centre]:closed { color: #66ddcc; fill-color: #66ddcc; prop_area_small_name : 1; } |
---|
177 | |
---|
178 | |
---|
179 | /* Physical decoration */ |
---|
180 | |
---|
181 | way[bridge=yes]::bridge1, way[bridge=viaduct]::bridge1, way[bridge=suspension]::bridge1 |
---|
182 | { z-index: 4; color: white; width: +3; } |
---|
183 | way[bridge=yes]::bridge2, way[bridge=viaduct]::bridge2, way[bridge=suspension]::bridge2 |
---|
184 | { z-index: 3; color: black; width: +6; } |
---|
185 | way[tunnel=yes][!waterway]::tunnel1 |
---|
186 | { z-index: 4; color: white; width: +2; } |
---|
187 | way[tunnel=yes][!waterway]::tunnel2 |
---|
188 | { z-index: 3; color: black; width: +6; dashes: 4,4; } |
---|
189 | |
---|
190 | /* Attribute decoration */ |
---|
191 | |
---|
192 | /*way[oneway=yes], way[junction=roundabout] { z-index: 15; color: #444444; width: 2; dashes: 15,35; line-style: arrows; }*/ |
---|
193 | /*way[oneway="-1"] { z-index: 15; color: #444444; width: 2; dashes: 15,35; line-style: arrows-reversed; }*/ |
---|
194 | |
---|
195 | /**************** |
---|
196 | * core_pois.css |
---|
197 | ****************/ |
---|
198 | node { text-anchor-horizontal: center; text-anchor-vertical: below; } |
---|
199 | |
---|
200 | node[place] { icon-image: icons/place.png; font-family: DejaVu; text: auto; font-size: 9; font-weight: bold; text-decoration: underline; z-index: 20; } |
---|
201 | node[amenity=telephone] { icon-image: icons/telephone.png; z-index: 20; } |
---|
202 | node[barrier=cattle_grid] { icon-image: icons/cattle_grid.png; z-index: 20; } |
---|
203 | node[tourism=guesthouse] { icon-image: icons/accommodation_bed_and_breakfast.n.16.png; z-index: 20; } |
---|
204 | node[tourism=alpine_hut] { icon-image: icons/accommodation_alpinehut.n.16.png; z-index: 20; } |
---|
205 | node[tourism=camp_site] { icon-image: icons/accommodation_camping.n.16.png; z-index: 20; } |
---|
206 | node[tourism=caravan_site] { icon-image: icons/accommodation_caravan_park.n.16.png; z-index: 20; } |
---|
207 | node[tourism=guest_house],node[tourism=bed_and_breakfast] { icon-image: icons/accommodation_bed_and_breakfast.n.16.png; z-index: 20; } |
---|
208 | node[tourism=hotel] { icon-image: icons/accommodation_hotel.n.16.png; text-offset:0; text: auto; z-index: 20; } |
---|
209 | node[tourism=hostel] { icon-image: icons/accommodation_youth_hostel.n.16.png; z-index: 20; } |
---|
210 | node[amenity=fire_station] { icon-image: icons/amenity_firestation2.n.16.png; z-index: 20; } |
---|
211 | node[amenity=police] { icon-image: icons/amenity_police2.n.16.png; z-index: 20; } |
---|
212 | node[amenity=post_box] { icon-image: icons/amenity_post_box.n.16.png; z-index: 20; } |
---|
213 | node[amenity=recycling] { icon-image: icons/amenity_recycling.n.16.png; z-index: 20; } |
---|
214 | node[barrier=bollard] { icon-image: icons/barrier_bollard.n.16.png; z-index: 20; } |
---|
215 | node[barrier=gate], node[highway=gate] { icon-image: icons/barrier_gate.n.16.png; z-index: 20; } |
---|
216 | node[barrier=stile], node[highway=stile] { icon-image: icons/barrier_stile.n.16.png; z-index: 20; } |
---|
217 | node[barrier=toll_booth] { icon-image: icons/barrier_toll_booth.n.16.png; z-index: 20; } |
---|
218 | node[barrier=lift_gate] { icon-image: icons/barrier_lift_gate.n.16.png; z-index: 20; } |
---|
219 | node[barrier=kissing_gate] { icon-image: icons/barrier_kissing_gate.16.png; z-index: 20; } |
---|
220 | node[barrier=cycle_barrier] { icon-image: icons/barrier_cycle_barrier.16.png; z-index: 20; } |
---|
221 | node[barrier=block] { icon-image: icons/barrier_blocks.16.png; z-index: 20; } |
---|
222 | node[barrier=cattle_grid] { icon-image: icons/barrier_cattle_grid.16.png; z-index: 20; } |
---|
223 | node[amenity=school] { icon-image: icons/education_school.n.16.png; text-offset:0; text: auto; z-index: 20; } |
---|
224 | way[amenity=school]:closed { color: yellow; fill-color: yellow; fill-opacity: 0.1; prop_area_small_name : 1; } |
---|
225 | node[amenity=bar] { icon-image: icons/food_bar.n.16.png; text-offset:0; text: auto; z-index: 20; } |
---|
226 | node[amenity=cafe] { icon-image: icons/food_cafe.n.16.png; text-offset:0; text: auto; z-index: 20; } |
---|
227 | node[amenity=fast_food] { icon-image: icons/food_fastfood.n.16.png; z-index: 20; } |
---|
228 | node[amenity=pub] { icon-image: icons/food_pub.n.16.png; text-offset:0; text: name; z-index: 20; } |
---|
229 | node[amenity=restaurant] { icon-image: icons/food_restaurant.n.16.png; text-offset:0; text: auto; z-index: 20; } |
---|
230 | node[amenity=hospital] { icon-image: icons/health_hospital.n.16.png; z-index: 20; } |
---|
231 | node[amenity=pharmacy] { icon-image: icons/health_pharmacy.n.16.png; z-index: 20; } |
---|
232 | node[amenity=atm] { icon-image: icons/money_atm.n.16.png; z-index: 20; } |
---|
233 | node[amenity=bank] { icon-image: icons/money_bank2.n.16.png; z-index: 20; } |
---|
234 | node[shop=alcohol] { icon-image: icons/shopping_alcohol.n.16.png; z-index: 20; } |
---|
235 | node[shop=bakery] { icon-image: icons/shopping_bakery.n.16.png; z-index: 20; } |
---|
236 | node[shop=bicycle] { icon-image: icons/shopping_bicycle.n.16.png; z-index: 20; } |
---|
237 | node[shop=book] { icon-image: icons/shopping_book.n.16.png; z-index: 20; } |
---|
238 | node[shop=butcher] { icon-image: icons/shopping_butcher.n.16.png; z-index: 20; } |
---|
239 | node[shop=car_repair] { icon-image: icons/shopping_car_repair.n.16.png; z-index: 20; } |
---|
240 | node[shop=car] { icon-image: icons/shopping_car.n.16.png; z-index: 20; } |
---|
241 | node[shop=clothes] { icon-image: icons/shopping_clothes.n.16.png; z-index: 20; } |
---|
242 | node[shop=confectionery] { icon-image: icons/shopping_confectionery.n.16.png; z-index: 20; } |
---|
243 | node[shop=convenience] { icon-image: icons/shopping_convenience.n.16.png; z-index: 20; } |
---|
244 | node[shop=doityourself] { icon-image: icons/shopping_diy.n.16.png; z-index: 20; } |
---|
245 | node[shop=fishmonger] { icon-image: icons/shopping_fish.n.16.png; z-index: 20; } |
---|
246 | node[shop=garden_centre] { icon-image: icons/shopping_garden_centre.n.16.png; z-index: 20; } |
---|
247 | node[shop=gift] { icon-image: icons/shopping_gift.n.16.png; z-index: 20; } |
---|
248 | node[shop=greengrocer] { icon-image: icons/shopping_greengrocer.n.16.png; z-index: 20; } |
---|
249 | node[shop=hairdresser] { icon-image: icons/shopping_hairdresser.n.16.png; z-index: 20; } |
---|
250 | node[shop=hifi] { icon-image: icons/shopping_hifi.n.16.png; z-index: 20; } |
---|
251 | node[shop=jewelry] { icon-image: icons/shopping_jewelry.n.16.png; z-index: 20; } |
---|
252 | node[shop=laundry] { icon-image: icons/shopping_laundrette.n.16.png; z-index: 20; } |
---|
253 | node[shop=motorcycle] { icon-image: icons/shopping_motorcycle.n.16.png; z-index: 20; } |
---|
254 | node[shop=music] { icon-image: icons/shopping_music.n.16.png; z-index: 20; } |
---|
255 | node[shop=supermarket] { icon-image: icons/shopping_supermarket.n.16.png; z-index: 20; } |
---|
256 | node[historic=archaeological_site] { icon-image: icons/tourist_archaeological.n.16.png; z-index: 20; } |
---|
257 | node[historic=battlefield] { icon-image: icons/tourist_battlefield.n.16.png; z-index: 20; } |
---|
258 | node[historic=castle] { icon-image: icons/tourist_castle.n.16.png; text-offset:0; text: auto; z-index: 20; } |
---|
259 | node[amenity=cinema] { icon-image: icons/tourist_cinema.n.16.png; z-index: 20; } |
---|
260 | node[historic=memorial] { icon-image: icons/tourist_memorial.n.16.png; text-offset:0; text: auto; z-index: 20; } |
---|
261 | node[historic=monument] { icon-image: icons/tourist_monument.n.16.png; text-offset:0; text: auto; z-index: 20; } |
---|
262 | node[tourism=museum] { icon-image: icons/tourist_museum.n.16.png; text-offset:0; text: auto; z-index: 20; } |
---|
263 | node[tourism=picnic_site] { icon-image: icons/tourist_picnic.n.16.png; z-index: 20; } |
---|
264 | node[historic=ruin] { icon-image: icons/tourist_ruin.n.16.png; z-index: 20; } |
---|
265 | node[amenity=theatre] { icon-image: icons/tourist_theatre.n.16.png; z-index: 20; } |
---|
266 | node[tourism=viewpoint] { icon-image: icons/tourist_view_point.n.16.png; z-index: 20; } |
---|
267 | node[tourism=zoo] { icon-image: icons/tourist_zoo.n.16.png; z-index: 20; } |
---|
268 | node[aeroway=aerodrome] { icon-image: icons/transport_aerodrome.n.16.png; z-index: 20; } |
---|
269 | node[amenity=bus_station] { icon-image: icons/transport_bus_station.n.16.png; z-index: 20; } |
---|
270 | node[highway=bus_stop] { icon-image: icons/transport_bus_stop2.n.16.png; z-index: 20; } |
---|
271 | node[amenity=fuel] { icon-image: icons/transport_fuel.n.16.png; z-index: 20; } |
---|
272 | node[amenity=bicycle_parking] { icon-image: icons/transport_parking_bicycle.n.16.png; text-offset: 0; text: capacity; z-index: 20; } |
---|
273 | node[amenity=parking] { icon-image: icons/transport_parking_car.n.16.png; z-index: 20; } |
---|
274 | node[amenity=ferry_terminal] { icon-image: icons/transport_port.n.16.png; z-index: 20; } |
---|
275 | node[amenity=bicycle_rental] { icon-image: icons/transport_rental_bicycle.n.16.png; z-index: 20; } |
---|
276 | node[amenity=car_rental] { icon-image: icons/transport_rental_car.n.16.png; z-index: 20; } |
---|
277 | node[amenity=taxi] { icon-image: icons/transport_taxi_rank.n.16.png; z-index: 20; } |
---|
278 | node[railway=station] { icon-image: icons/transport_train_station.n.16.png; text-offset:0; text: auto; z-index: 20; } |
---|
279 | node[railway=tram_stop] { icon-image: icons/transport_tram_stop.n.16.png; z-index: 20; } |
---|
280 | node[leisure=marina] { icon-image: icons/transport_marina.n.16.png; z-index: 20; } |
---|
281 | |
---|
282 | /* Addressing */ |
---|
283 | |
---|
284 | node[addr:housenumber], |
---|
285 | node[addr:housename] { symbol-shape: circle; symbol-size: 8; symbol-fill-color: #B0E0E6; } |
---|
286 | node[addr:housenumber]::hn_casing, |
---|
287 | node[addr:housename]::hn_casing { z-index: -100; symbol-shape: circle; symbol-size: 10; symbol-fill-color: blue; } |
---|
288 | way[addr:interpolation] { z-index: 5; color: #B0E0E6; width: 3; dashes: 3,3;} |
---|
289 | |
---|
290 | /**************** |
---|
291 | * core_landuse.css |
---|
292 | ****************/ |
---|
293 | |
---|
294 | /* Landuse */ |
---|
295 | |
---|
296 | area[natural]:closed { color: #ADD6A5; width: 1; fill-color: #ADD6A5; fill-opacity: 0.2; } |
---|
297 | area[natural=beach]:closed { color: #ffdd44; width: 1; fill-color: yellow; fill-opacity: 0.2; prop_area_small_name : 1;} |
---|
298 | way[natural=coastline] { z-index: 5; color: black; width: 3; } |
---|
299 | area[landuse]:closed { color: #444444; width: 2; fill-color: #444444; fill-opacity: 0.3; } |
---|
300 | area[landuse=residential]:closed { color: #666666; width: 2; fill-color: #666666; fill-opacity: 0.15; } |
---|
301 | area[landuse=retail]:closed { color: #cc2222; width: 2; fill-color: #aa4422; fill-opacity: 0.15; } |
---|
302 | area[landuse=commercial]:closed { color: #4444bb; width: 2; fill-color: #444488; fill-opacity: 0.15; } |
---|
303 | area[landuse=military]:closed { color: #ff4444; width: 2; fill-color: #ff4444; fill-opacity: 0.2; prop_area_small_name : 1; } |
---|
304 | area[amenity]:closed, area[shop]:closed { color: #ADCEB5; width: 1; fill-color: #ADCEB5; fill-opacity: 0.2; } |
---|
305 | /* way[sport] should not be rendered by itself, according to wiki. Can we make it an "if all else fails"? */ |
---|
306 | area[leisure]:closed { color: #8CD6B5; width: 1; fill-color: #8CD6B5; fill-opacity: 0.2; } |
---|
307 | area[tourism]:closed { color: #F7CECE; width: 1; fill-color: #F7CECE; fill-opacity: 0.2; prop_area_small_name : 1;} |
---|
308 | area[historic]:closed, area[ruins]:closed { color: #F7F7DE; width: 1; fill-color: #F7F7DE; fill-opacity: 0.2; prop_area_small_name : 1;} |
---|
309 | area[military]:closed { color: #D6D6D6; width: 1; fill-color: #D6D6D6; fill-opacity: 0.2; prop_area_small_name : 1;} |
---|
310 | area[building]:closed { color: #ff6ec7; width: 1; fill-color: #ff6ec7; fill-opacity: 0.2; } |
---|
311 | area[natural=water]:closed, |
---|
312 | area[waterway][waterway!=dam]:closed { color: blue; width: 2; fill-color: blue; fill-opacity: 0.2; prop_area_small_name : 1;} |
---|
313 | way[waterway=dam] { z-index: 5; color: black; width: 1; fill-color: #222222; fill-opacity: 0.1; prop_area_small_name : 1;} |
---|
314 | area[man_made]:closed { color: black; width: 2; fill-color: #222222; fill-opacity: 0.1; prop_area_small_name : 1; } |
---|
315 | area[man_made=reservoir_covered]:closed { color: blue; width: 2; dashes: 4, 2; fill-color: #222222; fill-opacity: 0.1; prop_area_small_name : 1; } |
---|
316 | area[landuse=reservoir]:closed { color: blue; width: 2; fill-color: blue; fill-opacity: 0.2; prop_area_small_name : 1;} |
---|
317 | area[landuse=forest]:closed,area[natural=wood]:closed { color: green; width: 2; fill-color: green; fill-opacity: 0.2; prop_area_small_name : 1;} |
---|
318 | area[leisure=park]:closed { color: #22aa22; width: 2; fill-color: #44ff44; fill-opacity: 0.15; prop_area_small_name : 1;} |
---|
319 | area[leisure=garden]:closed { color: #66ff44; width: 1; fill-color: #66ff44; fill-opacity: 0.2; prop_area_small_name : 1;} |
---|
320 | area[leisure=pitch]:closed { z-index: 6; color: #88bb44; width: 2; fill-color: #88ff44; fill-opacity: 0.2; prop_area_small_name : 1;} |
---|
321 | area[landuse=recreation_ground]:closed { color: green; fill-color: green; prop_area_small_name : 1;} |
---|
322 | area[amenity=parking]:closed { color: #bbaa66; width: 1; fill-color: #bbaa66; fill-opacity: 0.2; } |
---|
323 | area[public_transport=pay_scale_area]:closed { color: gray; width: 1; fill-color: gray; fill-opacity: 0.1; } |
---|
324 | way[man_made=pier] { z-index: 4; color: #777; width: 3; casing-color: black; casing-width: 5;} |
---|
325 | way[man_made=pier][floating=yes] { z-index: 5; dashes: 4,2; casing-color: #444;} |
---|
326 | area[leisure=marina]:closed { color: pink; fill-color: pink; fill-opacity: 0.4; prop_area_small_name : 1;} |
---|
327 | way[leisure=slipway] { z-index: 5; color: grey; width: 3; casing-color: blue; casing-width: 7; } |
---|
328 | area[leisure=golf_course]:closed { color: #44ee22; width: 2; fill-color: #44ee22; fill-opacity: 0.2; prop_area_small_name : 1;} |
---|
329 | way[boundary] { z-index: 5; color: #000066; width: 2; opacity: 0.6; dashes: 24,4, 4, 4; z-index: 4;} |
---|
330 | /* Perhaps should be filled, on lower zooms. */ |
---|
331 | way[boundary=national_park] { z-index: 5; color: #225500; width: 2; opacity: 0.6; dashes: 24,4, 4, 4; z-index: 4;} |
---|
332 | way[boundary=protected_area] { z-index: 5; color: #447744; width: 2; opacity: 0.6; dashes: 12,4, 4, 4; z-index: 4;} |
---|
333 | way[boundary=administrative] { z-index: 5; color: purple; width: 2; opacity: 0.2; dashes: 24,4; z-index: 4;} |
---|
334 | way[boundary=administrative][waterway] { z-index: 5; opacity: 0.8; z-index: 4; dashes: 24,4; width: 6; } |
---|
335 | way[landuse=cemetery] { z-index: 5; color: #664466; width: 2; fill-color: #664466; opacity: 0.2; prop_area_small_name : 1;} |
---|
336 | /* Addressing. Nodes with addresses *and* match POIs should have a poi icon, so we put addressing first */ |
---|
337 | /* Route relations */ |
---|
338 | |
---|
339 | relation[type=route] > way::relation_underlay { z-index: -1; width: 13; color: blue; opacity: 0.3; linecap: none; } |
---|
340 | relation[type=route][route=bicycle][network=ncn] > way::relation_underlay { z-index: -1; width: 12; color: red; opacity: 0.3; linecap: none; } |
---|
341 | relation[type=route][route=bicycle][network=rcn] > way::relation_underlay { z-index: -1; width: 12; color: cyan; opacity: 0.3; linecap: none; } |
---|
342 | relation[type=route][route=bicycle][network=lcn] > way::relation_underlay { z-index: -1; width: 12; color: blue; opacity: 0.3; linecap: none; } |
---|
343 | relation[type=route][route=foot] > way::relation_underlay { z-index: -1; width: 10; color: #80ff80; opacity: 0.6; linecap: none; } |
---|
344 | |
---|
345 | |
---|
346 | /*@import("stylesheets/core_ways.css");*/ |
---|
347 | /*@import("stylesheets/core_pois.css");*/ |
---|
348 | /*@import("stylesheets/core_landuse.css");*/ |
---|
349 | /*@import("stylesheets/core_relations.css");*/ |
---|
350 | way[is_prop_set("prop_area_small_name")] {text-color: black; font-size: 9; text: name; text-halo: #ffffaa; text-halo-radius: 2; text-position: center;} |
---|
351 | /*@import("stylesheets/core_interactive.css");*/ |
---|
352 | |
---|