Changeset 3900 in josm
- Timestamp:
- 2011-02-13T23:01:55+01:00 (14 years ago)
- Location:
- trunk
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/images
- Property svn:externals set to
-
trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/MapPainter.java
r3899 r3900 474 474 y += (metrics.getAscent() - metrics.getDescent()) / 2; 475 475 } else if (text.vAlign == VerticalTextAlignment.BELOW) { 476 y += h_half + metrics.getAscent() ;476 y += h_half + metrics.getAscent() + 2; 477 477 } else throw new AssertionError(); 478 478 } -
trunk/styles/standard/potlatch2.mapcss
r3898 r3900 18 18 19 19 canvas { 20 background-color: white; 21 } 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 22 49 23 50 /**************** … … 93 120 way[waterway=river], 94 121 way[waterway=canal], 95 way[waterway=stream] { color: blue; width: 2; text:auto; text-color:blue; font-size:9; text-position: offset; text-offset: 7;}96 way[waterway=drain] {color: blue; width: 1; text:auto; text-color: blue; text-position: offset; text-offset: 3;}122 way[waterway=stream] { color: blue; width: 2; text:auto; text-color:blue; font-size:9; text-position: line; text-offset: 7;} 123 way[waterway=drain] {color: blue; width: 1; text:auto; text-color: blue; text-position: line; text-offset: 3;} 97 124 way[waterway][tunnel=yes] {dashes: 8,4;} 98 125 … … 169 196 * core_pois.css 170 197 ****************/ 171 172 node[place] { icon-image: icons/place.png; text-offset: 17; font-family: DejaVu; text: name; font-size: 9; font-weight: bold; text-decoration: underline; z-index: 20; } 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; } 173 201 node[amenity=telephone] { icon-image: icons/telephone.png; z-index: 20; } 174 202 node[barrier=cattle_grid] { icon-image: icons/cattle_grid.png; z-index: 20; } … … 178 206 node[tourism=caravan_site] { icon-image: icons/accommodation_caravan_park.n.16.png; z-index: 20; } 179 207 node[tourism=guest_house],node[tourism=bed_and_breakfast] { icon-image: icons/accommodation_bed_and_breakfast.n.16.png; z-index: 20; } 180 node[tourism=hotel] { icon-image: icons/accommodation_hotel.n.16.png; text-offset: 15; text: name; z-index: 20; }208 node[tourism=hotel] { icon-image: icons/accommodation_hotel.n.16.png; text-offset:0; text: auto; z-index: 20; } 181 209 node[tourism=hostel] { icon-image: icons/accommodation_youth_hostel.n.16.png; z-index: 20; } 182 210 node[amenity=fire_station] { icon-image: icons/amenity_firestation2.n.16.png; z-index: 20; } … … 193 221 node[barrier=block] { icon-image: icons/barrier_blocks.16.png; z-index: 20; } 194 222 node[barrier=cattle_grid] { icon-image: icons/barrier_cattle_grid.16.png; z-index: 20; } 195 node[amenity=school] { icon-image: icons/education_school.n.16.png; text-offset: 15; text: name; z-index: 20; }223 node[amenity=school] { icon-image: icons/education_school.n.16.png; text-offset:0; text: auto; z-index: 20; } 196 224 way[amenity=school]:closed { color: yellow; fill-color: yellow; fill-opacity: 0.1; prop_area_small_name : 1; } 197 node[amenity=bar] { icon-image: icons/food_bar.n.16.png; text-offset: 15; text: name; z-index: 20; }198 node[amenity=cafe] { icon-image: icons/food_cafe.n.16.png; text-offset: 15; text: name; z-index: 20; }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; } 199 227 node[amenity=fast_food] { icon-image: icons/food_fastfood.n.16.png; z-index: 20; } 200 node[amenity=pub] { icon-image: icons/food_pub.n.16.png; text-offset: 15; text: name; z-index: 20; }201 node[amenity=restaurant] { icon-image: icons/food_restaurant.n.16.png; text-offset: 15; text: name; 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; } 202 230 node[amenity=hospital] { icon-image: icons/health_hospital.n.16.png; z-index: 20; } 203 231 node[amenity=pharmacy] { icon-image: icons/health_pharmacy.n.16.png; z-index: 20; } … … 228 256 node[historic=archaeological_site] { icon-image: icons/tourist_archaeological.n.16.png; z-index: 20; } 229 257 node[historic=battlefield] { icon-image: icons/tourist_battlefield.n.16.png; z-index: 20; } 230 node[historic=castle] { icon-image: icons/tourist_castle.n.16.png; text-offset: 15; text: name; z-index: 20; }258 node[historic=castle] { icon-image: icons/tourist_castle.n.16.png; text-offset:0; text: auto; z-index: 20; } 231 259 node[amenity=cinema] { icon-image: icons/tourist_cinema.n.16.png; z-index: 20; } 232 node[historic=memorial] { icon-image: icons/tourist_memorial.n.16.png; text-offset: 15; text: name; z-index: 20; }233 node[historic=monument] { icon-image: icons/tourist_monument.n.16.png; text-offset: 15; text: name; z-index: 20; }234 node[tourism=museum] { icon-image: icons/tourist_museum.n.16.png; text-offset: 15; text: name; 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; } 235 263 node[tourism=picnic_site] { icon-image: icons/tourist_picnic.n.16.png; z-index: 20; } 236 264 node[historic=ruin] { icon-image: icons/tourist_ruin.n.16.png; z-index: 20; } … … 242 270 node[highway=bus_stop] { icon-image: icons/transport_bus_stop2.n.16.png; z-index: 20; } 243 271 node[amenity=fuel] { icon-image: icons/transport_fuel.n.16.png; z-index: 20; } 244 node[amenity=bicycle_parking] { icon-image: icons/transport_parking_bicycle.n.16.png; text-offset: 15; text: capacity; 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; } 245 273 node[amenity=parking] { icon-image: icons/transport_parking_car.n.16.png; z-index: 20; } 246 274 node[amenity=ferry_terminal] { icon-image: icons/transport_port.n.16.png; z-index: 20; } … … 248 276 node[amenity=car_rental] { icon-image: icons/transport_rental_car.n.16.png; z-index: 20; } 249 277 node[amenity=taxi] { icon-image: icons/transport_taxi_rank.n.16.png; z-index: 20; } 250 node[railway=station] { icon-image: icons/transport_train_station.n.16.png; text-offset: 15; text: name; z-index: 20; }278 node[railway=station] { icon-image: icons/transport_train_station.n.16.png; text-offset:0; text: auto; z-index: 20; } 251 279 node[railway=tram_stop] { icon-image: icons/transport_tram_stop.n.16.png; z-index: 20; } 252 280 node[leisure=marina] { icon-image: icons/transport_marina.n.16.png; z-index: 20; } … … 255 283 256 284 node["addr:housenumber"], 257 node["addr:housename"] { icon-image: circle; icon-width: 4; color: #B0E0E6; casing-color:blue; casing-width: 1; } 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; } 258 288 way["addr:interpolation"] { color: #B0E0E6; width: 3; dashes: 3,3;} 259 289 … … 264 294 /* Landuse */ 265 295 266 way[natural]:closed { color: #ADD6A5; width: 1; fill-color: #ADD6A5; fill-opacity: 0.2; }267 way[natural=beach]:closed { color: #ffdd44; width: 1; fill-color: yellow; fill-opacity: 0.2; prop_area_small_name : 1;}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;} 268 298 way[natural=coastline] { color: black; width: 3; } 269 way[landuse]:closed { color: #444444; width: 2; fill-color: #444444; fill-opacity: 0.3; }270 way[landuse=residential]:closed { color: #666666; width: 2; fill-color: #666666; fill-opacity: 0.15; }271 way[landuse=retail]:closed { color: #cc2222; width: 2; fill-color: #aa4422; fill-opacity: 0.15; }272 way[landuse=commercial]:closed { color: #4444bb; width: 2; fill-color: #444488; fill-opacity: 0.15; }273 way[landuse=military]:closed { color: #ff4444; width: 2; fill-color: #ff4444; fill-opacity: 0.2; prop_area_small_name : 1; }274 way[amenity],way[shop]:closed { color: #ADCEB5; width: 1; fill-color: #ADCEB5; fill-opacity: 0.2; }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; } 275 305 /* way[sport] should not be rendered by itself, according to wiki. Can we make it an "if all else fails"? */ 276 way[leisure]:closed { color: #8CD6B5; width: 1; fill-color: #8CD6B5; fill-opacity: 0.2; }277 way[tourism]:closed { color: #F7CECE; width: 1; fill-color: #F7CECE; fill-opacity: 0.2; prop_area_small_name : 1;}278 way[historic],way[ruins]:closed { color: #F7F7DE; width: 1; fill-color: #F7F7DE; fill-opacity: 0.2; prop_area_small_name : 1;}279 way[military]:closed { color: #D6D6D6; width: 1; fill-color: #D6D6D6; fill-opacity: 0.2; prop_area_small_name : 1;}280 way[building]:closed { color: #ff6ec7; width: 1; fill-color: #ff6ec7; fill-opacity: 0.2; }281 way[natural=water],282 way[waterway][waterway!=dam]:closed { color: blue; width: 2; fill-color: blue; fill-opacity: 0.2; prop_area_small_name : 1;}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;} 283 313 way[waterway=dam] { color: black; width: 1; fill-color: #222222; fill-opacity: 0.1; prop_area_small_name : 1;} 284 way[man_made]:closed { color: black; width: 2; fill-color: #222222; fill-opacity: 0.1; prop_area_small_name : 1; }285 way[man_made=reservoir_covered]:closed { color: blue; width: 2; dashes: 4, 2; fill-color: #222222; fill-opacity: 0.1; prop_area_small_name : 1; }286 way[landuse=reservoir]:closed { color: blue; width: 2; fill-color: blue; fill-opacity: 0.2; prop_area_small_name : 1;}287 way[landuse=forest],way[natural=wood]:closed { color: green; width: 2; fill-color: green; fill-opacity: 0.2; prop_area_small_name : 1;}288 way[leisure=park]:closed { color: #22aa22; width: 2; fill-color: #44ff44; fill-opacity: 0.15; prop_area_small_name : 1;}289 way[leisure=garden]:closed { color: #66ff44; width: 1; fill-color: #66ff44; fill-opacity: 0.2; prop_area_small_name : 1;}290 way[leisure=pitch]:closed { z-index: 6; color: #88bb44; width: 2; fill-color: #88ff44; fill-opacity: 0.2; prop_area_small_name : 1;}291 way[landuse=recreation_ground]:closed { color: green; fill-color: green; prop_area_small_name : 1;}292 way[amenity=parking]:closed { color: #bbaa66; width: 1; fill-color: #bbaa66; fill-opacity: 0.2; }293 way[public_transport=pay_scale_area]:closed { color: gray; width: 1; fill-color: gray; fill-opacity: 0.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; } 294 324 way[man_made=pier] { z-index: 4; color: #777; width: 3; casing-color: black; casing-width: 5;} 295 325 way[man_made=pier][floating=yes] { dashes: 4,2; casing-color: #444;} 296 way[leisure=marina]:closed { color: pink; fill-color: pink; fill-opacity: 0.4; prop_area_small_name : 1;}326 area[leisure=marina]:closed { color: pink; fill-color: pink; fill-opacity: 0.4; prop_area_small_name : 1;} 297 327 way[leisure=slipway] { color: grey; width: 3; casing-color: blue; casing-width: 7; } 298 way[leisure=golf_course]:closed { color: #44ee22; width: 2; fill-color: #44ee22; fill-opacity: 0.2; prop_area_small_name : 1;}328 area[leisure=golf_course]:closed { color: #44ee22; width: 2; fill-color: #44ee22; fill-opacity: 0.2; prop_area_small_name : 1;} 299 329 way[boundary] { color: #000066; width: 2; opacity: 0.6; dashes: 24,4, 4, 4; z-index: 4;} 300 330 /* Perhaps should be filled, on lower zooms. */ … … 303 333 way[boundary=administrative] { color: purple; width: 2; opacity: 0.2; dashes: 24,4; z-index: 4;} 304 334 way[boundary=administrative][waterway] { opacity: 0.8; z-index: 4; dashes: 24,4; width: 6; } 305 way[landuse=cemetery] { color: #664466; width: 2; fill-color: color:#664466; opacity: 0.2; prop_area_small_name : 1;}335 way[landuse=cemetery] { color: #664466; width: 2; fill-color: #664466; opacity: 0.2; prop_area_small_name : 1;} 306 336 /* Addressing. Nodes with addresses *and* match POIs should have a poi icon, so we put addressing first */ 307 337 -
trunk/styles_nodist/potlatch2/build.xml
r3899 r3900 47 47 48 48 <!-- Determine revision and save in ${version.entry.commit.revision}--> 49 <target name="source-revision" depends="init">49 <target name="source-revision"> 50 50 <exec append="false" output="REVISION.XML" executable="svn" dir="source" failifexecutionfails="true"> 51 51 <env key="LANG" value="C"/> -
trunk/styles_nodist/potlatch2/patched/core_landuse.css
r3898 r3900 6 6 /* Landuse */ 7 7 8 way[natural]:closed { color: #ADD6A5; width: 1; fill-color: #ADD6A5; fill-opacity: 0.2; }9 way[natural=beach]:closed { color: #ffdd44; width: 1; fill-color: yellow; fill-opacity: 0.2; prop_area_small_name : 1;}8 area[natural]:closed { color: #ADD6A5; width: 1; fill-color: #ADD6A5; fill-opacity: 0.2; } 9 area[natural=beach]:closed { color: #ffdd44; width: 1; fill-color: yellow; fill-opacity: 0.2; prop_area_small_name : 1;} 10 10 way[natural=coastline] { color: black; width: 3; } 11 way[landuse]:closed { color: #444444; width: 2; fill-color: #444444; fill-opacity: 0.3; }12 way[landuse=residential]:closed { color: #666666; width: 2; fill-color: #666666; fill-opacity: 0.15; }13 way[landuse=retail]:closed { color: #cc2222; width: 2; fill-color: #aa4422; fill-opacity: 0.15; }14 way[landuse=commercial]:closed { color: #4444bb; width: 2; fill-color: #444488; fill-opacity: 0.15; }15 way[landuse=military]:closed { color: #ff4444; width: 2; fill-color: #ff4444; fill-opacity: 0.2; prop_area_small_name : 1; }16 way[amenity],way[shop]:closed { color: #ADCEB5; width: 1; fill-color: #ADCEB5; fill-opacity: 0.2; }11 area[landuse]:closed { color: #444444; width: 2; fill-color: #444444; fill-opacity: 0.3; } 12 area[landuse=residential]:closed { color: #666666; width: 2; fill-color: #666666; fill-opacity: 0.15; } 13 area[landuse=retail]:closed { color: #cc2222; width: 2; fill-color: #aa4422; fill-opacity: 0.15; } 14 area[landuse=commercial]:closed { color: #4444bb; width: 2; fill-color: #444488; fill-opacity: 0.15; } 15 area[landuse=military]:closed { color: #ff4444; width: 2; fill-color: #ff4444; fill-opacity: 0.2; prop_area_small_name : 1; } 16 area[amenity]:closed, area[shop]:closed { color: #ADCEB5; width: 1; fill-color: #ADCEB5; fill-opacity: 0.2; } 17 17 /* way[sport] should not be rendered by itself, according to wiki. Can we make it an "if all else fails"? */ 18 way[leisure]:closed { color: #8CD6B5; width: 1; fill-color: #8CD6B5; fill-opacity: 0.2; }19 way[tourism]:closed { color: #F7CECE; width: 1; fill-color: #F7CECE; fill-opacity: 0.2; prop_area_small_name : 1;}20 way[historic],way[ruins]:closed { color: #F7F7DE; width: 1; fill-color: #F7F7DE; fill-opacity: 0.2; prop_area_small_name : 1;}21 way[military]:closed { color: #D6D6D6; width: 1; fill-color: #D6D6D6; fill-opacity: 0.2; prop_area_small_name : 1;}22 way[building]:closed { color: #ff6ec7; width: 1; fill-color: #ff6ec7; fill-opacity: 0.2; }23 way[natural=water],24 way[waterway][waterway!=dam]:closed { color: blue; width: 2; fill-color: blue; fill-opacity: 0.2; prop_area_small_name : 1;}18 area[leisure]:closed { color: #8CD6B5; width: 1; fill-color: #8CD6B5; fill-opacity: 0.2; } 19 area[tourism]:closed { color: #F7CECE; width: 1; fill-color: #F7CECE; fill-opacity: 0.2; prop_area_small_name : 1;} 20 area[historic]:closed, area[ruins]:closed { color: #F7F7DE; width: 1; fill-color: #F7F7DE; fill-opacity: 0.2; prop_area_small_name : 1;} 21 area[military]:closed { color: #D6D6D6; width: 1; fill-color: #D6D6D6; fill-opacity: 0.2; prop_area_small_name : 1;} 22 area[building]:closed { color: #ff6ec7; width: 1; fill-color: #ff6ec7; fill-opacity: 0.2; } 23 area[natural=water]:closed, 24 area[waterway][waterway!=dam]:closed { color: blue; width: 2; fill-color: blue; fill-opacity: 0.2; prop_area_small_name : 1;} 25 25 way[waterway=dam] { color: black; width: 1; fill-color: #222222; fill-opacity: 0.1; prop_area_small_name : 1;} 26 way[man_made]:closed { color: black; width: 2; fill-color: #222222; fill-opacity: 0.1; prop_area_small_name : 1; }27 way[man_made=reservoir_covered]:closed { color: blue; width: 2; dashes: 4, 2; fill-color: #222222; fill-opacity: 0.1; prop_area_small_name : 1; }28 way[landuse=reservoir]:closed { color: blue; width: 2; fill-color: blue; fill-opacity: 0.2; prop_area_small_name : 1;}29 way[landuse=forest],way[natural=wood]:closed { color: green; width: 2; fill-color: green; fill-opacity: 0.2; prop_area_small_name : 1;}30 way[leisure=park]:closed { color: #22aa22; width: 2; fill-color: #44ff44; fill-opacity: 0.15; prop_area_small_name : 1;}31 way[leisure=garden]:closed { color: #66ff44; width: 1; fill-color: #66ff44; fill-opacity: 0.2; prop_area_small_name : 1;}32 way[leisure=pitch]:closed { z-index: 6; color: #88bb44; width: 2; fill-color: #88ff44; fill-opacity: 0.2; prop_area_small_name : 1;}33 way[landuse=recreation_ground]:closed { color: green; fill-color: green; prop_area_small_name : 1;}34 way[amenity=parking]:closed { color: #bbaa66; width: 1; fill-color: #bbaa66; fill-opacity: 0.2; }35 way[public_transport=pay_scale_area]:closed { color: gray; width: 1; fill-color: gray; fill-opacity: 0.1; }26 area[man_made]:closed { color: black; width: 2; fill-color: #222222; fill-opacity: 0.1; prop_area_small_name : 1; } 27 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; } 28 area[landuse=reservoir]:closed { color: blue; width: 2; fill-color: blue; fill-opacity: 0.2; prop_area_small_name : 1;} 29 area[landuse=forest]:closed,area[natural=wood]:closed { color: green; width: 2; fill-color: green; fill-opacity: 0.2; prop_area_small_name : 1;} 30 area[leisure=park]:closed { color: #22aa22; width: 2; fill-color: #44ff44; fill-opacity: 0.15; prop_area_small_name : 1;} 31 area[leisure=garden]:closed { color: #66ff44; width: 1; fill-color: #66ff44; fill-opacity: 0.2; prop_area_small_name : 1;} 32 area[leisure=pitch]:closed { z-index: 6; color: #88bb44; width: 2; fill-color: #88ff44; fill-opacity: 0.2; prop_area_small_name : 1;} 33 area[landuse=recreation_ground]:closed { color: green; fill-color: green; prop_area_small_name : 1;} 34 area[amenity=parking]:closed { color: #bbaa66; width: 1; fill-color: #bbaa66; fill-opacity: 0.2; } 35 area[public_transport=pay_scale_area]:closed { color: gray; width: 1; fill-color: gray; fill-opacity: 0.1; } 36 36 way[man_made=pier] { z-index: 4; color: #777; width: 3; casing-color: black; casing-width: 5;} 37 37 way[man_made=pier][floating=yes] { dashes: 4,2; casing-color: #444;} 38 way[leisure=marina]:closed { color: pink; fill-color: pink; fill-opacity: 0.4; prop_area_small_name : 1;}38 area[leisure=marina]:closed { color: pink; fill-color: pink; fill-opacity: 0.4; prop_area_small_name : 1;} 39 39 way[leisure=slipway] { color: grey; width: 3; casing-color: blue; casing-width: 7; } 40 way[leisure=golf_course]:closed { color: #44ee22; width: 2; fill-color: #44ee22; fill-opacity: 0.2; prop_area_small_name : 1;}40 area[leisure=golf_course]:closed { color: #44ee22; width: 2; fill-color: #44ee22; fill-opacity: 0.2; prop_area_small_name : 1;} 41 41 way[boundary] { color: #000066; width: 2; opacity: 0.6; dashes: 24,4, 4, 4; z-index: 4;} 42 42 /* Perhaps should be filled, on lower zooms. */ … … 45 45 way[boundary=administrative] { color: purple; width: 2; opacity: 0.2; dashes: 24,4; z-index: 4;} 46 46 way[boundary=administrative][waterway] { opacity: 0.8; z-index: 4; dashes: 24,4; width: 6; } 47 way[landuse=cemetery] { color: #664466; width: 2; fill-color: color:#664466; opacity: 0.2; prop_area_small_name : 1;}47 way[landuse=cemetery] { color: #664466; width: 2; fill-color: #664466; opacity: 0.2; prop_area_small_name : 1;} 48 48 /* Addressing. Nodes with addresses *and* match POIs should have a poi icon, so we put addressing first */ -
trunk/styles_nodist/potlatch2/patched/core_pois.css
r3898 r3900 3 3 * core_pois.css 4 4 ****************/ 5 node { text-anchor-horizontal: center; text-anchor-vertical: below; } 5 6 6 node[place] { icon-image: icons/place.png; text-offset: 17; font-family: DejaVu; text: name; font-size: 9; font-weight: bold; text-decoration: underline; z-index: 20; }7 node[place] { icon-image: icons/place.png; font-family: DejaVu; text: auto; font-size: 9; font-weight: bold; text-decoration: underline; z-index: 20; } 7 8 node[amenity=telephone] { icon-image: icons/telephone.png; z-index: 20; } 8 9 node[barrier=cattle_grid] { icon-image: icons/cattle_grid.png; z-index: 20; } … … 12 13 node[tourism=caravan_site] { icon-image: icons/accommodation_caravan_park.n.16.png; z-index: 20; } 13 14 node[tourism=guest_house],node[tourism=bed_and_breakfast] { icon-image: icons/accommodation_bed_and_breakfast.n.16.png; z-index: 20; } 14 node[tourism=hotel] { icon-image: icons/accommodation_hotel.n.16.png; text-offset: 15; text: name; z-index: 20; }15 node[tourism=hotel] { icon-image: icons/accommodation_hotel.n.16.png; text-offset:0; text: auto; z-index: 20; } 15 16 node[tourism=hostel] { icon-image: icons/accommodation_youth_hostel.n.16.png; z-index: 20; } 16 17 node[amenity=fire_station] { icon-image: icons/amenity_firestation2.n.16.png; z-index: 20; } … … 27 28 node[barrier=block] { icon-image: icons/barrier_blocks.16.png; z-index: 20; } 28 29 node[barrier=cattle_grid] { icon-image: icons/barrier_cattle_grid.16.png; z-index: 20; } 29 node[amenity=school] { icon-image: icons/education_school.n.16.png; text-offset: 15; text: name; z-index: 20; }30 node[amenity=school] { icon-image: icons/education_school.n.16.png; text-offset:0; text: auto; z-index: 20; } 30 31 way[amenity=school]:closed { color: yellow; fill-color: yellow; fill-opacity: 0.1; prop_area_small_name : 1; } 31 node[amenity=bar] { icon-image: icons/food_bar.n.16.png; text-offset: 15; text: name; z-index: 20; }32 node[amenity=cafe] { icon-image: icons/food_cafe.n.16.png; text-offset: 15; text: name; z-index: 20; }32 node[amenity=bar] { icon-image: icons/food_bar.n.16.png; text-offset:0; text: auto; z-index: 20; } 33 node[amenity=cafe] { icon-image: icons/food_cafe.n.16.png; text-offset:0; text: auto; z-index: 20; } 33 34 node[amenity=fast_food] { icon-image: icons/food_fastfood.n.16.png; z-index: 20; } 34 node[amenity=pub] { icon-image: icons/food_pub.n.16.png; text-offset: 15; text: name; z-index: 20; }35 node[amenity=restaurant] { icon-image: icons/food_restaurant.n.16.png; text-offset: 15; text: name; z-index: 20; }35 node[amenity=pub] { icon-image: icons/food_pub.n.16.png; text-offset:0; text: name; z-index: 20; } 36 node[amenity=restaurant] { icon-image: icons/food_restaurant.n.16.png; text-offset:0; text: auto; z-index: 20; } 36 37 node[amenity=hospital] { icon-image: icons/health_hospital.n.16.png; z-index: 20; } 37 38 node[amenity=pharmacy] { icon-image: icons/health_pharmacy.n.16.png; z-index: 20; } … … 62 63 node[historic=archaeological_site] { icon-image: icons/tourist_archaeological.n.16.png; z-index: 20; } 63 64 node[historic=battlefield] { icon-image: icons/tourist_battlefield.n.16.png; z-index: 20; } 64 node[historic=castle] { icon-image: icons/tourist_castle.n.16.png; text-offset: 15; text: name; z-index: 20; }65 node[historic=castle] { icon-image: icons/tourist_castle.n.16.png; text-offset:0; text: auto; z-index: 20; } 65 66 node[amenity=cinema] { icon-image: icons/tourist_cinema.n.16.png; z-index: 20; } 66 node[historic=memorial] { icon-image: icons/tourist_memorial.n.16.png; text-offset: 15; text: name; z-index: 20; }67 node[historic=monument] { icon-image: icons/tourist_monument.n.16.png; text-offset: 15; text: name; z-index: 20; }68 node[tourism=museum] { icon-image: icons/tourist_museum.n.16.png; text-offset: 15; text: name; z-index: 20; }67 node[historic=memorial] { icon-image: icons/tourist_memorial.n.16.png; text-offset:0; text: auto; z-index: 20; } 68 node[historic=monument] { icon-image: icons/tourist_monument.n.16.png; text-offset:0; text: auto; z-index: 20; } 69 node[tourism=museum] { icon-image: icons/tourist_museum.n.16.png; text-offset:0; text: auto; z-index: 20; } 69 70 node[tourism=picnic_site] { icon-image: icons/tourist_picnic.n.16.png; z-index: 20; } 70 71 node[historic=ruin] { icon-image: icons/tourist_ruin.n.16.png; z-index: 20; } … … 76 77 node[highway=bus_stop] { icon-image: icons/transport_bus_stop2.n.16.png; z-index: 20; } 77 78 node[amenity=fuel] { icon-image: icons/transport_fuel.n.16.png; z-index: 20; } 78 node[amenity=bicycle_parking] { icon-image: icons/transport_parking_bicycle.n.16.png; text-offset: 15; text: capacity; z-index: 20; }79 node[amenity=bicycle_parking] { icon-image: icons/transport_parking_bicycle.n.16.png; text-offset: 0; text: capacity; z-index: 20; } 79 80 node[amenity=parking] { icon-image: icons/transport_parking_car.n.16.png; z-index: 20; } 80 81 node[amenity=ferry_terminal] { icon-image: icons/transport_port.n.16.png; z-index: 20; } … … 82 83 node[amenity=car_rental] { icon-image: icons/transport_rental_car.n.16.png; z-index: 20; } 83 84 node[amenity=taxi] { icon-image: icons/transport_taxi_rank.n.16.png; z-index: 20; } 84 node[railway=station] { icon-image: icons/transport_train_station.n.16.png; text-offset: 15; text: name; z-index: 20; }85 node[railway=station] { icon-image: icons/transport_train_station.n.16.png; text-offset:0; text: auto; z-index: 20; } 85 86 node[railway=tram_stop] { icon-image: icons/transport_tram_stop.n.16.png; z-index: 20; } 86 87 node[leisure=marina] { icon-image: icons/transport_marina.n.16.png; z-index: 20; } … … 89 90 90 91 node["addr:housenumber"], 91 node["addr:housename"] { icon-image: circle; icon-width: 4; color: #B0E0E6; casing-color:blue; casing-width: 1; } 92 node["addr:housename"] { symbol-shape: circle; symbol-size: 8; symbol-fill-color: #B0E0E6; } 93 node["addr:housenumber"]::hn_casing, 94 node["addr:housename"]::hn_casing { z-index: -100; symbol-shape: circle; symbol-size: 10; symbol-fill-color: blue; } 92 95 way["addr:interpolation"] { color: #B0E0E6; width: 3; dashes: 3,3;} -
trunk/styles_nodist/potlatch2/patched/core_ways.css
r3898 r3900 72 72 way[waterway=river], 73 73 way[waterway=canal], 74 way[waterway=stream] { color: blue; width: 2; text:auto; text-color:blue; font-size:9; text-position: offset; text-offset: 7;}75 way[waterway=drain] {color: blue; width: 1; text:auto; text-color: blue; text-position: offset; text-offset: 3;}74 way[waterway=stream] { color: blue; width: 2; text:auto; text-color:blue; font-size:9; text-position: line; text-offset: 7;} 75 way[waterway=drain] {color: blue; width: 1; text:auto; text-color: blue; text-position: line; text-offset: 3;} 76 76 way[waterway][tunnel=yes] {dashes: 8,4;} 77 77 -
trunk/styles_nodist/potlatch2/prelude.css
r3898 r3900 18 18 19 19 canvas { 20 background-color: white;20 background-color: #ffffea; 21 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
Note:
See TracChangeset
for help on using the changeset viewer.