source: josm/trunk/styles_nodist/potlatch2/patched/core_pois.css@ 13953

Last change on this file since 13953 was 9343, checked in by Don-vip, 9 years ago

update Potlatch 2 style. Adds support for natural=tree and natural=peak.
See https://git.openstreetmap.org/potlatch2.git/commit/0a21b8bca71f6105c244cb52d7b7dcb5a840bd3a

File size: 12.7 KB
Line 
1
2/****************
3 * core_pois.css
4 ****************/
5
6node { text-anchor-horizontal: center; text-anchor-vertical: below; }
7
8node[place] { icon-image: icons/place.png; font-family: DejaVu; text: auto; font-size: 10; font-weight: bold; z-index: 20; }
9node[amenity=telephone] { icon-image: icons/telephone.png; z-index: 20; }
10node[barrier=cattle_grid] { icon-image: icons/cattle_grid.png; z-index: 20; }
11node[tourism=guesthouse] { icon-image: icons/accommodation_bed_and_breakfast.n.16.png; z-index: 20; }
12node[tourism=alpine_hut] { icon-image: icons/accommodation_alpinehut.n.16.png; z-index: 20; }
13node[tourism=camp_site] { icon-image: icons/accommodation_camping.n.16.png; z-index: 20; }
14node[tourism=caravan_site] { icon-image: icons/accommodation_caravan_park.n.16.png; z-index: 20; }
15node[tourism=chalet] { icon-image: icons/accommodation_chalet.n.16.png; z-index: 20; }
16node[tourism=guest_house],node[tourism=bed_and_breakfast] { icon-image: icons/accommodation_bed_and_breakfast.n.16.png; z-index: 20; }
17node[tourism=hotel] { icon-image: icons/accommodation_hotel.n.16.png; text-offset:0; text: auto; font-size: 10; z-index: 20; }
18node[tourism=hostel] { icon-image: icons/accommodation_youth_hostel.n.16.png; z-index: 20; }
19node[tourism=motel] { icon-image: icons/accommodation_motel.n.16.png; z-index: 20; }
20node[amenity=fire_station] { icon-image: icons/amenity_firestation2.n.16.png; z-index: 20; }
21node[amenity=police] { icon-image: icons/amenity_police2.n.16.png; z-index: 20; }
22node[amenity=post_box] { icon-image: icons/amenity_post_box.n.16.png; z-index: 20; }
23node[amenity=recycling] { icon-image: icons/amenity_recycling.n.16.png; z-index: 20; }
24node[barrier=bollard] { icon-image: icons/barrier_bollard.n.16.png; z-index: 20; }
25node[barrier=gate], node[highway=gate] { icon-image: icons/barrier_gate.n.16.png; z-index: 20; }
26node[barrier=stile], node[highway=stile] { icon-image: icons/barrier_stile.n.16.png; z-index: 20; }
27node[barrier=toll_booth] { icon-image: icons/barrier_toll_booth.n.16.png; z-index: 20; }
28node[barrier=lift_gate] { icon-image: icons/barrier_lift_gate.n.16.png; z-index: 20; }
29node[barrier=kissing_gate] { icon-image: icons/barrier_kissing_gate.16.png; z-index: 20; }
30node[barrier=cycle_barrier] { icon-image: icons/barrier_cycle_barrier.16.png; z-index: 20; }
31node[barrier=block] { icon-image: icons/barrier_blocks.16.png; z-index: 20; }
32node[barrier=cattle_grid] { icon-image: icons/barrier_cattle_grid.16.png; z-index: 20; }
33node[amenity=school] { icon-image: icons/education_school.n.16.png; text-offset:0; text: auto; font-size: 10; z-index: 20; }
34area[amenity=school]:closed { color: yellow; fill-color: yellow; fill-opacity: 0.1; prop_area_small_name : 1; }
35node[amenity=bar] { icon-image: icons/food_bar.n.16.png; text-offset:0; text: auto; font-size: 10; z-index: 20; }
36node[amenity=cafe] { icon-image: icons/food_cafe.n.16.png; text-offset:0; text: auto; font-size: 10; z-index: 20; }
37node[amenity=fast_food] { icon-image: icons/food_fastfood.n.16.png; z-index: 20; }
38node[amenity=nightclub] { icon-image: icons/food_nightclub.n.16.png; text-offset: 0; text: auto; font-size: 10; z-index: 20; }
39node[amenity=pub] { icon-image: icons/food_pub.n.16.png; text-offset: 0; text: auto; font-size: 10; z-index: 20; }
40node[amenity=restaurant] { icon-image: icons/food_restaurant.n.16.png; text-offset:0; text: auto; font-size: 10; z-index: 20; }
41node[amenity=hospital] { icon-image: icons/health_hospital.n.16.png; z-index: 20; }
42node[amenity=pharmacy] { icon-image: icons/health_pharmacy.n.16.png; z-index: 20; }
43node[amenity=atm] { icon-image: icons/money_atm.n.16.png; z-index: 20; }
44node[amenity=bank] { icon-image: icons/money_bank2.n.16.png; z-index: 20; }
45/* More Amenities */
46node[amenity=bench] { icon-image: icons/amenity_bench.n.16.png; z-index: 20; }
47node[amenity=drinking_water] { icon-image: icons/food_drinkingtap.n.16.png; z-index: 20; }
48node[amenity=emergency_phone] { icon-image: icons/emergency-telephone-16.png; z-index: 20; }
49node[amenity=fountain] { icon-image: icons/amenity_fountain2.n.16.png; z-index: 20; }
50node[amenity=hunting_stand] { icon-image: icons/sport_shooting.n.16.png; z-index: 20; }
51node[amenity=kindergarten] { icon-image: icons/education_nursery3.n.16.png; z-index: 20; text-offset:0; text: auto; font-size: 10; z-index: 20; }
52node[amenity=library] { icon-image: icons/amenity_library.n.16.png; text-offset:0; text: auto; font-size: 10; z-index: 20; }
53node[amenity=place_of_worship] { icon-image: icons/place_of_worship_unknown.n.16.png; text-offset:0; text: auto; font-size: 10; z-index: 20; }
54node[amenity=post_office] { icon-image: icons/amenity_post_office.n.16.png; z-index: 20; }
55node[amenity=shelter] { icon-image: icons/accommodation_shelter2.n.16.png; z-index: 20; }
56node[amenity=swimming_pool] { icon-image: icons/sport_swimming_outdoor.n.16.png; z-index: 20; }
57node[amenity=townhall] { icon-image: icons/amenity_town_hall.n.16.png; text-offset:0; text: auto; font-size: 10; z-index: 20; }
58node[amenity=toilets] { icon-image: icons/amenity_toilets.n.16.png; z-index: 20; }
59node[amenity=vending_machine] { icon-image: icons/shopping_vending_machine.n.16.png; z-index: 20; }
60node[amenity=veterinary] { icon-image: icons/health_veterinary.n.8E7409.16.png; z-index: 20; }
61node[amenity=waste_basket] { icon-image: icons/amenity_waste_bin.n.16.png; z-index: 20; }
62node[amenity=fire_hydrant] { icon-image: icons/emergency_hydrant.n.16.png; z-index: 20; }
63node[emergency=fire_hydrant] { icon-image: icons/emergency_hydrant.n.16.png; z-index: 20; }
64/* Shops */
65node[shop=alcohol] { icon-image: icons/shopping_alcohol.n.16.png; z-index: 20; }
66node[shop=bakery] { icon-image: icons/shopping_bakery.n.16.png; z-index: 20; }
67node[shop=bicycle] { icon-image: icons/shopping_bicycle.n.16.png; z-index: 20; }
68node[shop=book], node[shop=books] { icon-image: icons/shopping_book.n.16.png; z-index: 20; }
69node[shop=butcher] { icon-image: icons/shopping_butcher.n.16.png; z-index: 20; }
70node[shop=car_repair] { icon-image: icons/shopping_car_repair.n.16.png; z-index: 20; }
71node[shop=car] { icon-image: icons/shopping_car.n.16.png; z-index: 20; }
72node[shop=clothes] { icon-image: icons/shopping_clothes.n.16.png; z-index: 20; }
73node[shop=confectionery] { icon-image: icons/shopping_confectionery.n.16.png; z-index: 20; }
74node[shop=convenience] { icon-image: icons/shopping_convenience.n.16.png; z-index: 20; }
75node[shop=department_store] { icon-image: icons/shopping_department_store.n.16.png; z-index: 20; }
76node[shop=doityourself] { icon-image: icons/shopping_diy.n.16.png; z-index: 20; }
77node[shop=fishmonger] { icon-image: icons/shopping_fish.n.16.png; z-index: 20; }
78node[shop=florist] { icon-image: icons/shopping_florist.n.16.png; z-index: 20; }
79node[shop=garden_centre] { icon-image: icons/shopping_garden_centre.n.16.png; z-index: 20; }
80node[shop=gift] { icon-image: icons/shopping_gift.n.16.png; z-index: 20; }
81node[shop=greengrocer] { icon-image: icons/shopping_greengrocer.n.16.png; z-index: 20; }
82node[shop=hairdresser] { icon-image: icons/shopping_hairdresser.n.16.png; z-index: 20; }
83node[shop=hifi] { icon-image: icons/shopping_hifi.n.16.png; z-index: 20; }
84node[shop=jewelry] { icon-image: icons/shopping_jewelry.n.16.png; z-index: 20; }
85node[shop=kiosk] { icon-image: icons/shopping_kiosk.n.16.png; z-index: 20; }
86node[shop=laundry] { icon-image: icons/shopping_laundrette.n.16.png; z-index: 20; }
87node[amenity=marketplace] { icon-image: icons/shopping_marketplace.n.16.png; z-index: 20; }
88node[shop=motorcycle] { icon-image: icons/shopping_motorcycle.n.16.png; z-index: 20; }
89node[shop=music] { icon-image: icons/shopping_music.n.16.png; z-index: 20; }
90node[shop=supermarket] { icon-image: icons/shopping_supermarket.n.16.png; z-index: 20; }
91node[shop=toys] { icon-image: icons/shopping_toys.n.16.png; z-index: 20; }
92/* More Touristy Items */
93node[tourism=artwork] { icon-image: icons/tourist_art_gallery2.n.16.png; z-index: 20; }
94node[historic=archaeological_site] { icon-image: icons/tourist_archaeological.n.16.png; z-index: 20; }
95node[historic=battlefield] { icon-image: icons/tourist_battlefield.n.16.png; z-index: 20; }
96node[historic=castle] { icon-image: icons/tourist_castle.n.16.png; text-offset:0; text: auto; font-size: 10; z-index: 20; }
97node[amenity=cinema] { icon-image: icons/tourist_cinema.n.16.png; z-index: 20; }
98node[historic=memorial] { icon-image: icons/tourist_memorial.n.16.png; text-offset:0; text: auto; font-size: 10; z-index: 20; }
99node[historic=monument] { icon-image: icons/tourist_monument.n.16.png; text-offset:0; text: auto; font-size: 10; z-index: 20; }
100node[tourism=museum] { icon-image: icons/tourist_museum.n.16.png; text-offset:0; text: auto; font-size: 10; z-index: 20; }
101node[tourism=information] { icon-image: icons/tourist_information.png; z-index: 20; }
102node[tourism=picnic_site] { icon-image: icons/tourist_picnic.n.16.png; z-index: 20; }
103node[historic=ruins] { icon-image: icons/tourist_ruin.n.16.png; z-index: 20; }
104node[amenity=theatre] { icon-image: icons/tourist_theatre.n.16.png; z-index: 20; }
105node[tourism=theme_park] { icon-image: icons/tourist_theme_park.n.16.png; z-index: 20; text-offset:0; text: auto; font-size: 10; z-index: 20; }
106node[tourism=viewpoint] { icon-image: icons/tourist_view_point.n.16.png; z-index: 20; }
107node[tourism=zoo] { icon-image: icons/tourist_zoo.n.16.png; z-index: 20; }
108/* Transport */
109node[aeroway=aerodrome] { icon-image: icons/transport_aerodrome.n.16.png; z-index: 20; }
110node[aeroway=gate] { icon-image: icons/transport_airport_gate.n.16.png; z-index: 20; }
111node[aeroway=terminal] { icon-image: icons/transport_airport_terminal.n.16.png; z-index: 20; }
112node[aeroway=helipad] { icon-image: icons/transport_helicopter_pad.n.16.png; z-index: 20; }
113node[amenity=bus_station] { icon-image: icons/transport_bus_station.n.16.png; z-index: 20; }
114node[highway=bus_stop] { icon-image: icons/transport_bus_stop2.n.16.png; z-index: 20; }
115node[amenity=fuel] { icon-image: icons/transport_fuel.n.16.png; z-index: 20; }
116node[amenity=car_wash] { icon-image: icons/transport_car_wash.n.16.png; z-index: 20; }
117node[amenity=bicycle_parking] { icon-image: icons/transport_parking_bicycle.n.16.png; text-offset:0; text: capacity; font-size: 10; z-index: 20; }
118node[amenity=parking] { icon-image: icons/transport_parking_car.n.16.png; z-index: 20; }
119node[amenity=ferry_terminal] { icon-image: icons/transport_port.n.16.png; z-index: 20; }
120node[amenity=bicycle_rental] { icon-image: icons/transport_rental_bicycle.n.16.png; z-index: 20; }
121node[amenity=car_rental] { icon-image: icons/transport_rental_car.n.16.png; z-index: 20; }
122node[amenity=taxi] { icon-image: icons/transport_taxi_rank.n.16.png; z-index: 20; }
123node[railway=station] { icon-image: icons/transport_train_station.n.16.png; text-offset:0; text: auto; font-size: 10; z-index: 20; }
124node[railway=tram_stop] { icon-image: icons/transport_tram_stop.n.16.png; z-index: 20; }
125node[leisure=marina] { icon-image: icons/transport_marina.n.16.png; z-index: 20; }
126node[highway=mini_roundabout] { icon-image: icons/transport_miniroundabout_anticlockwise.n.16.png; z-index: 20; }
127node[highway=crossing] { icon-image: icons/transport_zebracrossing.n.16.png; z-index: 20; }
128/* Misc */
129node[leisure=playground] { icon-image: icons/amenity_playground.n.16.png; z-index: 20; }
130node[leisure=sports_centre] { icon-image: icons/sport_leisure_centre.n.16.png; z-index: 20; text-offset:0; text: auto; font-size: 10; z-index: 20; }
131/* node[landuse=cemetery], node[landuse=grave_yard] { i|||con-image: icons/?.png; z-index: 20; } */
132node[man_made=survey_point] { icon-image: icons/manmade_lighthouse.png; z-index: 20; }
133node[man_made=tower] { icon-image: icons/manmade_tower.png; z-index: 20; }
134/* Yes these power stations seem a little backward - but that's seemingly what the side menu uses ATM */
135node[power=station] { icon-image: icons/power_substation.n.16.png; z-index: 20; }
136node[power=generator] { icon-image: icons/power_station.png; z-index: 20; text-offset:0; text: auto; font-size: 10; z-index: 20; }
137/* P2 previously had these icons instead of "icon-image: cross" which is not standard MapCSS but a P2 keyword we won't implement, so keep the old icons */
138node[power=tower] { icon-image: icons/power_tower_high2.n.16.png; z-index: 20; }
139node[power=pole] { icon-image: icons/power_tower_low.n.16.png; z-index: 20; }
140node[waterway=weir] { icon-image: icons/transport_weir.n.16.png; z-index: 20; }
141/* Natural */
142node[natural=peak] { icon-image: icons/natural_peak.n.16.png; z-index: 20; text-offset:0; text: auto; font-size: 10; z-index: 20; }
143node[natural=tree] { icon-image: icons/natural_tree.n.16.png; z-index: 20; text-offset:0; text: auto; font-size: 10; z-index: 20; }
144
145/* Addressing */
146
147node[addr:housenumber],
148node[addr:housename] { symbol-shape: circle; symbol-size: 8; symbol-fill-color: #B0E0E6; }
149node[addr:housenumber]::hn_casing,
150node[addr:housename]::hn_casing { z-index: -100; symbol-shape: circle; symbol-size: 10; symbol-fill-color: blue; }
151
152way[addr:interpolation] { color: #B0E0E6; width: 3; dashes: 3,3;}
Note: See TracBrowser for help on using the repository browser.