source: josm/trunk/styles_nodist/potlatch2/source/core_landuse.css@ 5879

Last change on this file since 5879 was 5376, checked in by Don-vip, 12 years ago

see #7907 - MapCSS fixes

File size: 4.5 KB
Line 
1/* Landuse */
2
3way[natural] :area { color: #ADD6A5; width: 1; fill-color: #ADD6A5; fill-opacity: 0.2; }
4way[natural=beach] :area { color: #ffdd44; width: 1; fill-color: yellow; fill-opacity: 0.2; set .area_small_name;}
5way[natural=coastline] { color: black; width: 3; }
6way[landuse] :area { color: #444444; width: 2; fill-color: #444444; fill-opacity: 0.3; }
7way[landuse=residential] :area { color: #666666; width: 2; fill-color: #666666; fill-opacity: 0.15; }
8way[landuse=retail] :area { color: #cc2222; width: 2; fill-color: #aa4422; fill-opacity: 0.15; }
9way[landuse=commercial] :area { color: #4444bb; width: 2; fill-color: #444488; fill-opacity: 0.15; }
10way[landuse=military] :area { color: #ff4444; width: 2; fill-color: #ff4444; fill-opacity: 0.2; set .area_small_name; }
11way[amenity],way[shop] :area { color: #ADCEB5; width: 1; fill-color: #ADCEB5; fill-opacity: 0.2; }
12/* way[sport] should not be rendered by itself, according to wiki. Can we make it an "if all else fails"? */
13way[leisure] :area { color: #8CD6B5; width: 1; fill-color: #8CD6B5; fill-opacity: 0.2; }
14way[tourism] :area { color: #F7CECE; width: 1; fill-color: #F7CECE; fill-opacity: 0.2; set .area_small_name;}
15way[historic] :area,way[ruins] :area { color: #F7F7DE; width: 1; fill-color: #F7F7DE; fill-opacity: 0.2; set .area_small_name;}
16way[military] :area { color: #D6D6D6; width: 1; fill-color: #D6D6D6; fill-opacity: 0.2; set .area_small_name;}
17way[building] :area { color: #bca9a9; width: 1; fill-color: #ff6ec7; fill-opacity: 0.2; }
18way[natural=water],
19way[waterway][waterway!=dam] :area { color: #3434ff; width: 2; fill-color: #3434ff; fill-opacity: 0.2; set .area_small_name;}
20way[waterway=dam] { color: black; width: 1; fill-color: #222222; fill-opacity: 0.1; set .area_small_name;}
21way[man_made] :area { color: black; width: 2; fill-color: #222222; fill-opacity: 0.1; set .area_small_name; }
22way[man_made=reservoir_covered] :area { color: #3434ff; width: 2; dashes: 4, 2; fill-color: #222222; fill-opacity: 0.1; set .area_small_name; }
23way[landuse=reservoir] :area { color: #3434ff; width: 2; fill-color: #3434ff; fill-opacity: 0.2; set .area_small_name;}
24way[landuse=forest],way[natural=wood] :area { color: green; width: 2; fill-color: green; fill-opacity: 0.2; set .area_small_name;}
25way[leisure=park] :area { color: #22aa22; width: 2; fill-color: #44ff44; fill-opacity: 0.15; set .area_small_name;}
26way[leisure=garden] :area { color: #66ff44; width: 1; fill-color: #66ff44; fill-opacity: 0.2; set .area_small_name;}
27way[leisure=pitch] :area { z-index: 6; color: #88bb44; width: 2; fill-color: #88ff44; fill-opacity: 0.2; set .area_small_name;}
28way[landuse=recreation_ground] :area { color: green; fill-color: green; set .area_small_name;}
29way[amenity=parking] :area { color: #bbaa66; width: 1; fill-color: #bbaa66; fill-opacity: 0.2; }
30way[public_transport=pay_scale_area] :area { color: gray; width: 1; fill-color: gray; fill-opacity: 0.1; }
31way[man_made=pier] { z-index: 4; color: #777; width: 3; casing-color: black; casing-width: 1;}
32way[man_made=pier][floating=yes] { dashes: 4,2; casing-color: #444;}
33way[leisure=marina] :area { color: pink; fill-color: pink; fill-opacity: 0.4; set .area_small_name;}
34way[leisure=slipway] { color: grey; width: 3; casing-color: #3434ff; casing-width: 2; }
35way[leisure=golf_course] :area { color: #44ee22; width: 2; fill-color: #44ee22; fill-opacity: 0.2; set .area_small_name;}
36way[boundary] { color: #000066; width: 2; opacity: 0.6; dashes: 24,4, 4, 4; z-index: 4;}
37/* Perhaps should be filled, on lower zooms. */
38way[boundary=national_park] { color: #225500; width: 2; opacity: 0.6; dashes: 24,4, 4, 4; z-index: 4;}
39way[boundary=protected_area] { color: #447744; width: 2; opacity: 0.6; dashes: 12,4, 4, 4; z-index: 4;}
40way[boundary=administrative] { color: purple; width: 2; opacity: 0.2; dashes: 24,4; z-index: 4;}
41way[boundary=administrative][waterway] { opacity: 0.8; z-index: 4; dashes: 24,4; width: 6; }
42way[landuse=cemetery] { color: #664466; width: 2; fill-color: #664466; opacity: 0.2; set .area_small_name;}
43/* Addressing. Nodes with addresses *and* match POIs should have a poi icon, so we put addressing first */
Note: See TracBrowser for help on using the repository browser.