]> git.openstreetmap.org Git - rails.git/blob - app/assets/stylesheets/browse.css.scss
Make line height relative.
[rails.git] / app / assets / stylesheets / browse.css.scss
1 /* Make space for icons */
2
3 li.node::before,
4 li.way::before,
5 li.relation::before,
6 a.node:first-child::before,
7 a.way:first-child::before,
8 a.relation:first-child::before {
9   margin-left: -25px;
10 }
11
12 .node::before,
13 .way::before,
14 .relation::before {
15   display: inline-block;
16   width: 25px;
17 }
18
19 /* Deleted objects */
20
21 .deleted { text-decoration: line-through; }
22
23 /* Nodes (and ways as areas) */
24
25 .aeroway.aerodrome::before { content: image-url('browse/aerodrome.p.16.png'); }
26
27 .amenity.atm::before { content: image-url('browse/atm2.p.16.png'); }
28 .amenity.bank::before { content: image-url('browse/bank2.p.16.png'); }
29 .amenity.bar::before { content: image-url('browse/bar.p.16.png'); }
30 .amenity.bicycle_parking::before { content: image-url('browse/transport_parking_bicycle.p.16.png'); }
31 .amenity.bicycle_rental::before { content: image-url('browse/transport_rental_bicycle.p.16.png'); }
32 .amenity.bus_station::before { content: image-url('browse/bus_station.n.16.png'); }
33 .amenity.cafe::before { content: image-url('browse/cafe.p.16.png'); }
34 .amenity.car_rental::before { content: image-url('browse/transport_rental_car.p.16.png'); }
35 .amenity.car_sharing::before { content: image-url('browse/car_share.p.16.png'); }
36 .amenity.cinema::before { content: image-url('browse/cinema.p.16.png'); }
37 .amenity.dentist::before { content: image-url('browse/health_dentist.p.16.png'); }
38 .amenity.doctors::before { content: image-url('browse/health_doctors.p.16.png'); }
39 .amenity.drinking_water::before { content: image-url('browse/drinkingtap.p.16.png'); }
40 .amenity.fast_food::before { content: image-url('browse/fast_food.p.16.png'); }
41 .amenity.fire_station::before { content: image-url('browse/firestation.p.16.png'); }
42 .amenity.fuel::before { content: image-url('browse/fuel.p.16.png'); }
43 .amenity.hospital::before { content: image-url('browse/hospital.p.16.png'); }
44 .amenity.library::before { content: image-url('browse/library.p.16.png'); }
45 .amenity.nursery::before { content: image-url('browse/education_nursery.p.16.png'); }
46 .amenity.parking::before { content: image-url('browse/parking.p.16.png'); }
47 .amenity.pharmacy::before { content: image-url('browse/pharmacy.p.16.png'); }
48 .amenity.place_of_worship::before { content: image-url('browse/place_of_worship_unknown3.p.16.png'); }
49 .amenity.police::before { content: image-url('browse/police.p.16.png'); }
50 .amenity.post_box::before { content: image-url('browse/post_box.p.16.png'); }
51 .amenity.post_office::before { content: image-url('browse/post_office.p.16.png'); }
52 .amenity.prison::before { content: image-url('browse/prison.p.16.png'); }
53 .amenity.pub::before { content: image-url('browse/pub.p.16.png'); }
54 .amenity.restaurant::before { content: image-url('browse/restaurant.p.16.png'); }
55 .amenity.recycling::before { content: image-url('browse/recycling.p.16.png'); }
56 .amenity.school::before { content: image-url('browse/education_school.p.16.png'); }
57 .amenity.shelter::before { content: image-url('browse/shelter2.p.16.png'); }
58 .amenity.telephone::before { content: image-url('browse/telephone.p.16.png'); }
59 .amenity.theatre::before { content: image-url('browse/theatre.p.16.png'); }
60 .amenity.toilets::before { content: image-url('browse/toilets.p.16.png'); }
61 .amenity.university::before { content: image-url('browse/education_university.p.16.png'); }
62 .amenity.veterinary::before { content: image-url('browse/health_veterinary.p.16.png'); }
63
64 .barrier.gate::before { content: image-url('browse/gate2.p.16.png'); }
65
66 .highway.bus_stop::before { content: image-url('browse/bus_stop.p.16.png'); }
67 .highway.mini_roundabout::before { content: image-url('browse/mini_round.p.16.png'); }
68 .highway.traffic_signals::before { content: image-url('browse/traffic_light.png'); }
69 .highway.turning_circle::before { content: image-url('browse/turning_circle.p.16.png'); }
70
71 .historic.castle::before { content: image-url('browse/tourist_castle.p.16.png'); }
72 .historic.memorial::before { content: image-url('browse/tourist_memorial.p.16.png'); }
73 .historic.monument::before { content: image-url('browse/tourist_monument.p.16.png'); }
74 .historic.ruins::before { content: image-url('browse/tourist_ruins.p.16.png'); }
75 .historic.wreck::before { content: image-url('browse/tourist_wreck.p.16.png'); }
76
77 .man_made.lighthouse::before { content: image-url('browse/lighthouse.p.16.png'); }
78 .man_made.windmill::before { content: image-url('browse/tourist_windmill.p.16.png'); }
79
80 .natural.tree::before { content: image-url('browse/tree.p.16.png'); }
81
82 .railway.halt::before { content: image-url('browse/halt.p.16.png'); }
83 .railway.station::before { content: image-url('browse/station.p.16.png'); }
84 .railway.level_crossing::before { content: image-url('browse/level_crossing.p.16.png'); }
85
86 .shop::before { content: image-url('browse/shop_convenience.p.16.png'); }
87 .shop.bakery::before { content: image-url('browse/shop_bakery.p.16.png'); }
88 .shop.bicycle::before { content: image-url('browse/shop_bicycle.p.16.png'); }
89 .shop.books::before { content: image-url('browse/shop_books.p.16.png'); }
90 .shop.butcher::before { content: image-url('browse/shop_butcher.p.16.png'); }
91 .shop.clothes::before { content: image-url('browse/shop_clothes.p.16.png'); }
92 .shop.convenience::before { content: image-url('browse/shop_convenience.p.16.png'); }
93 .shop.diy::before { content: image-url('browse/shop_diy.p.16.png'); }
94 .shop.estate_agent::before { content: image-url('browse/shop_estateagent2.p.16.png'); }
95 .shop.fish::before { content: image-url('browse/shop_fish.p.16.png'); }
96 .shop.garden_centre::before { content: image-url('browse/shop_garden_centre.p.16.png'); }
97 .shop.gift::before { content: image-url('browse/shop_gift.p.16.png'); }
98 .shop.greengrocer::before { content: image-url('browse/shop_greengrocer.p.16.png'); }
99 .shop.hairdresser::before { content: image-url('browse/shop_hairdresser.p.16.png'); }
100 .shop.jewelry::before { content: image-url('browse/shop_jewelry.p.16.png'); }
101 .shop.supermarket::before { content: image-url('browse/shop_supermarket.p.16.png'); }
102
103 .tourism.alpine_hut::before { content: image-url('browse/alpinehut.p.16.png'); }
104 .tourism.camp_site::before { content: image-url('browse/camping.n.16.png'); }
105 .tourism.caravan_site::before { content: image-url('browse/caravan_park.n.16.png'); }
106 .tourism.hostel::before { content: image-url('browse/hostel.p.16.png'); }
107 .tourism.hotel::before { content: image-url('browse/hotel.p.16.png'); }
108 .tourism.museum::before { content: image-url('browse/museum.p.16.png'); }
109 .tourism.picnic_site::before { content: image-url('browse/tourist_picnic.p.16.png'); }
110 .tourism.viewpoint::before { content: image-url('browse/view_point.p.16.png'); }
111
112 /* Ways */
113
114 .aeroway.runway::before { content: image-url('browse/runway.20.png'); }
115 .aeroway.taxiway::before { content: image-url('browse/taxiway.20.png'); }
116
117 .building::before { content: image-url('browse/building.png'); }
118
119 .highway.bridleway::before { content: image-url('browse/bridleway.20.png'); }
120 .highway.byway::before { content: image-url('browse/byway.20.png'); }
121 .highway.cycleway::before { content: image-url('browse/cycleway.20.png'); }
122 .highway.footway::before { content: image-url('browse/footway.20.png'); }
123 .highway.motorway::before { content: image-url('browse/motorway.20.png'); }
124 .highway.motorway_link::before { content: image-url('browse/motorway.20.png'); }
125 .highway.pedestrian::before { content: image-url('browse/service.20.png'); }
126 .highway.primary::before { content: image-url('browse/primary.20.png'); }
127 .highway.primary_link::before { content: image-url('browse/primary.20.png'); }
128 .highway.residential::before { content: image-url('browse/unclassified.20.png'); }
129 .highway.secondary::before { content: image-url('browse/secondary.20.png'); }
130 .highway.secondary_link::before { content: image-url('browse/secondary.20.png'); }
131 .highway.service::before { content: image-url('browse/service.20.png'); }
132 .highway.trunk::before { content: image-url('browse/trunk.20.png'); }
133 .highway.trunk_link::before { content: image-url('browse/trunk.20.png'); }
134 .highway.unclassified::before { content: image-url('browse/unclassified.20.png'); }
135
136 .landuse.brownfield::before { content: image-url('browse/brownfield.png'); }
137 .landuse.cemetery::before { content: image-url('browse/cemetery.png'); }
138 .landuse.commercial::before { content: image-url('browse/commercial.png'); }
139 .landuse.farm::before { content: image-url('browse/farm.png'); }
140 .landuse.forest::before { content: image-url('browse/forest.png'); }
141 .landuse.industrial::before { content: image-url('browse/industrial.png'); }
142 .landuse.military::before { content: image-url('browse/military.png'); }
143 .landuse.residential::before { content: image-url('browse/residential.png'); }
144 .landuse.retail::before { content: image-url('browse/retail.png'); }
145 .landuse.tourism::before { content: image-url('browse/tourism.png'); }
146 .landuse.wood::before { content: image-url('browse/wood.png'); }
147
148 .leisure.golf_course::before { content: image-url('browse/golf.png'); }
149 .leisure.park::before { content: image-url('browse/park.png'); }
150 .leisure.pitch::before { content: image-url('browse/pitch.png'); }
151 .leisure.nature_reserve::before { content: image-url('browse/reserve.png'); }
152
153 .natural.heath::before { content: image-url('browse/heathland.png'); }
154 .natural.water::before { content: image-url('browse/lake.png'); }
155
156 .railway.light_rail::before { content: image-url('browse/light_rail.20.png'); }
157 .railway.rail::before { content: image-url('browse/rail.20.png'); }
158 .railway.subway::before { content: image-url('browse/subway.20.png'); }
159 .railway.tram::before { content: image-url('browse/tram.20.png'); }