Ignore:
Timestamp:
2012-05-06T12:46:32+02:00 (7 years ago)
Author:
bastiK
Message:

update Potlatch 2 style from upstream. (Fixes casing-width)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/styles/standard/potlatch2.mapcss

    r4771 r5215  
    4848}
    4949
    50 
    5150/****************
    5251 * core_ways.css
     
    6059way[highway=secondary],way[highway=secondary_link],
    6160way[highway=tertiary],way[highway=tertiary_link],
    62 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; }
    63 way[highway=motorway],way[highway=motorway_link]    { z-index: 9; color: #809BC0; width: 7; casing-color: black; casing-width: 8; }
    64 way[highway=trunk],way[highway=trunk_link]          { z-index: 9; color: #7FC97F; width: 7; casing-color: black; casing-width: 8; }
    65 way[highway=primary],way[highway=primary_link]      { z-index: 8; color: #E46D71; width: 7; casing-color: black; casing-width: 8; }
    66 way[highway=secondary],way[highway=secondary_link]  { z-index: 7; color: #FDBF6F; width: 7; casing-width: 8; }
    67 way[highway=tertiary]                               { z-index: 6; color: #FEFECB; width: 5; casing-width: 7; }
    68 way[highway=unclassified]                           { z-index: 6; color: #D0D0D0; width: 5; casing-width: 7; }
    69 way[highway=tertiary_link]                          { z-index: 5; color: #FEFECB; width: 4; casing-width: 5; }
    70 way[highway=residential]                            { z-index: 5; color: #E8E8E8; width: 5; casing-color: gray; casing-width: 7; }
    71 way[highway=service][service!=parking_aisle]        { z-index: 5; color: white; width: 3; casing-color: gray; casing-width: 5; }
    72 way[highway=service][service=parking_aisle]         { z-index: 5; color: white; width: 1; casing-color: #aaaaaa; casing-width: 2; }
    73 way[highway=service][service=alley]                 { z-index: 5; color: white; width: 2; dashes: 6,2; casing-color: black; casing-width: 4; }
    74 way[highway=road]                                   { z-index: 5; color: gray; width: 5; casing-color: white; casing-width: 7; }
    75 way[highway=living_street]                          { z-index: 5; color: #ddffee; width: 3; casing-color: #555555; casing-width: 4; }
     61way[highway=residential],way[highway=unclassified]  { z-index: 5; text: auto; text-color: black; font-size: 12; text-position: line; text-offset: 10; text-halo-color: white; text-halo-radius: 2; linecap: round; casing-linecap: round }
     62way[highway=motorway],way[highway=motorway_link]    { z-index: 9; color: #809BC0; width: 7; casing-color: #1e375a; casing-width: 1; }
     63way[highway=trunk],way[highway=trunk_link]          { z-index: 9; color: #7FC97F; width: 7; casing-color: #245424; casing-width: 1; }
     64way[highway=primary],way[highway=primary_link]      { z-index: 8; color: #E46D71; width: 7; casing-color: #651316; casing-width: 1; }
     65way[highway=secondary],way[highway=secondary_link]  { z-index: 7; color: #FDBF6F; width: 7; casing-color: #b16603; casing-width: 1; }
     66way[highway=tertiary],way[highway=tertiary_link]    { z-index: 6; color: #FEFECB; width: 5; casing-color: #626202; casing-width: 1; }
     67way[highway=unclassified]                           { z-index: 6; color: #D0D0D0; width: 5; casing-width: 1; }
     68way[highway=residential]                            { z-index: 5; color: #E8E8E8; width: 5; casing-color: gray; casing-width: 1; }
     69way[highway=service][service!=parking_aisle]        { z-index: 5; color: white; width: 3; casing-color: gray; casing-width: 1; }
     70way[highway=service][service=parking_aisle]         { z-index: 5; color: white; width: 1; casing-color: #aaaaaa; casing-width: 1; }
     71way[highway=service][service=alley]                 { z-index: 5; color: white; width: 2; dashes: 6,2; casing-color: black; casing-width: 1; }
     72way[highway=road]                                   { z-index: 5; color: gray; width: 5; casing-color: white; casing-width: 1; }
     73way[highway=living_street]                          { z-index: 5; color: #ddffee; width: 3; casing-color: #555555; casing-width: 1; }
    7674
    7775/* Road areas */
    7876
    79 way[highway=pedestrian]!:closed { z-index: 5; color: #ddddee; width: 5; casing-color: #555555; casing-width: 6; casing-dashes: 2,4;}
    80 way[highway=pedestrian]:closed  { color: #555555; width: 1; fill-color: #ddddee; fill-opacity: 0.8; } /* FIXME: dashed outline */
     77way[highway=pedestrian]!:closed { z-index: 5; color: #ddddee; width: 5; casing-color: #555555; casing-width: 1; casing-dashes: 2,4;}
     78area[highway=pedestrian]:closed  { color: #555555; width: 1; fill-color: #ddddee; fill-opacity: 0.8; } /* FIXME: dashed outline */
    8179
    8280/* Paths */
     
    8482way[highway=steps]     { z-index: 5; color: #FF6644; width: 6; dashes: 2, 2; }
    8583way[highway=footway]   { z-index: 5; color: #FF6644; width: 2; dashes: 6, 3; prop_path : 1;}
    86 way[highway=footway][bicycle=yes]   { z-index: 4; color: blue; width: 1; }
     84way[highway=footway][bicycle=yes]::bike   { z-index: 4; color: blue; width: 1; }
    8785way[highway=bridleway] { z-index:9; color: #996644; width: 2; dashes: 4, 2, 2, 2; prop_path : 1;}
    8886way[highway=track]     { z-index: 5; color: #996644; width: 2; dashes: 4, 2; prop_path : 1;}
    8987way[highway=path]      { z-index: 5; color: brown; width: 2; dashes: 2, 2; prop_path : 1;}
    9088way[highway=cycleway]  { z-index: 5; color: blue; width: 2; dashes: 4, 2; prop_path : 1;}
    91 way[railway=tram]      { z-index: 11; color: #999999; width: 2; casing-color: black; casing-width: 6; }
    92 way[is_prop_set("prop_path")]              { text:auto; text-color: black; text-position: line; text-offset: 5;}
     89way[is_prop_set("prop_path")]  { z-index: 5; text: auto; text-color: black; text-position: line; text-offset: 7; font-size: 12; }
    9390
    9491/* Under construction */
    9592
    9693way[highway=proposed] { z-index: 5; color: #88ffff; width: 6; dashes: 8, 4; }
    97 way[highway=construction] { z-index: 5; color: #ffffbb; width: 6; dashes: 8, 4; casing-color: #0000aa; casing-width: 8; casing-dashes: 8,4;}
    98 way[construction=rail]
    99         { z-index: 6; color: black; width: 5; dashes: 6, 6, 4, 8;}
    100 way[construction=rail]::rail_over
    101         { z-index: 7; color: white; width: 3; dashes: 6,18; }
     94way[highway=construction] { z-index: 5; color: #ffffbb; width: 6; dashes: 8, 4; casing-color: #0000aa; casing-width: 1; casing-dashes: 8,4;}
    10295
    10396/* Railways */
    10497
    105 way[railway=rail]
    106         { z-index: 6; color: black; width: 5; dashes: 0; }
    107 way[railway=rail]::rail_over
    108         { z-index: 7; color: white; width: 3; dashes: 12,12; }
    109 way[railway=platform] { color:black; width: 2; }
    110 way[railway=subway]
    111     { z-index: 6; color: #444444; width: 5; }
    112 way[railway=subway]::railway_over
    113     { z-index: 7; color: white; width: 3; dashes: 8,8; }
    114 way[railway=disused],way[railway=abandoned]
    115     { z-index: 6; color: #444400; width: 3; dashes: 17, 2, 5, 0; }
    116 way[railway=disused]::railway_over, way[railway=abandoned]::railway_over
    117     { z-index: 7; color: #999999; width: 2; dashes: 12,12; }
    118 
    119 /* Waterways */
    120 
    121 way[waterway=river],
    122 way[waterway=canal],
    123 way[waterway=stream]   { z-index: 5; color: blue; width: 2; text:auto; text-color:blue; font-size:9; text-position: line; text-offset: 7;}
    124 way[waterway=drain]                      {z-index: 5; color: blue; width: 1; text:auto; text-color: blue; text-position: line; text-offset: 3;}
     98way[railway=rail] { z-index: 6; color: black; width: 5; linecap: round; dashes: 0; }
     99way[railway=rail]::dashes { z-index: 7; color: white; width: 3; dashes: 12,12; linecap: round; }
     100
     101way[construction=rail] { z-index: 6; color: black; width: 5; dashes: 6, 6, 4, 8;}
     102way[construction=rail]::inner { z-index: 7; color: white; width: 3; dashes: 6,18; }
     103
     104way[railway=platform] { z-index: 5; color:black; width: 2; }
     105
     106way[railway=subway] { z-index: 6; color: #444444; width: 5; }
     107way[railway=subway]::dashes  { z-index: 7; color: white; width: 3; dashes: 8,8; }
     108
     109way[construction=subway] { z-index: 6; color: #444444; width: 5; dashes: 4, 4; }
     110way[construction=subway]::dashes  { z-index: 7; color: white; width: 3; dashes: 4,12;}
     111
     112way[railway=disused],way[railway=abandoned] { z-index: 6; color: #444400; width: 3; dashes: 17, 2, 5, 0; }
     113way[railway=disused]::dashes,way[railway=abandoned]::dashes { z-index: 7; color: #999999; width: 2; dashes: 12,12; }
     114
     115way[railway=tram]      { z-index: 11; color: #999999; width: 2; casing-color: black; casing-width: 2; }
     116way[construction=tram] { z-index: 11; color: #999999; width: 2; casing-color: black; casing-width: 2; dashes: 6, 6; casing-dashes: 6, 6; }
     117
     118way[railway=light_rail] { z-index: 6; color: black; width: 4; }
     119way[railway=light_rail]::dashes { z-index: 7; color: #999999; width: 2; dashes: 8,4; }
     120
     121way[construction=light_rail] { z-index: 6; color: black; width: 4; dashes: 8, 4, 4, 4; }
     122way[construction=light_rail]::dashes { z-index: 7; color: #999999; width: 2; dashes: 8,12; }
     123
     124/* Waterways */
     125
     126way[waterway=river],
     127way[waterway=canal],
     128way[waterway=stream]   { z-index: 5; color: #3434ff; width: 2; text:auto; text-color: #3434ff; font-size:9; text-position: line; text-offset: 7;}
     129way[waterway=drain]                      {z-index: 5; color: #3434ff; width: 1; text:auto; text-color: #3434ff; text-position: line; text-offset: 3;}
    125130way[waterway][tunnel=yes]                {z-index: 5; dashes: 8,4;}
    126131
    127132/* Aeroways */
    128133
    129 way[aeroway=aerodrome]:closed
    130     { z-index: 3; color: #bb44bb; width: 3; casing-color: #66066;  casing-width: 4;  }
    131 way|z-15[aeroway=aerodrome]:closed
     134area[aeroway=aerodrome]:closed
     135    { z-index: 3; color: #bb44bb; width: 3; casing-color: #66066;  casing-width: 1;  }
     136area|z-15[aeroway=aerodrome]:closed
    132137    { z-index: 3; fill-color: #bb99bb;  fill-opacity: 0.5;}
    133 way[aeroway=taxiway]!:closed { z-index: 8; color: #999999; width: 3; casing-color: #aa66aa; casing-width: 6; }
    134 way[aeroway=taxiway]:closed { z-index: 8; color: #bb99bb; width: 3; fill-color: #ccaacc; }
    135 way|z17-[aeroway=runway]!:closed
    136     { z-index: 9; color: black; width: 11; casing-color: #aa66aa; casing-width: 12; }
    137 way|z17-[aeroway=runway]!:closed::aeroway2
    138     { z-index: 10; color: white; width: 9;  dashes: 0, 20, 4, 76; }
    139 way|z17-[aeroway=runway]!:closed::aeroway3
    140     { z-index: 11; color: black; width: 7; }
    141 way|z17-[aeroway=runway]!:closed::aeroway4
    142     { z-index: 12; color: white; width: 5;  dashes: 0, 20, 4, 76; }
    143 way|z17-[aeroway=runway]!:closed::aeroway5
    144     { z-index: 13; color: black; width: 3; }
    145 way|z17-[aeroway=runway]!:closed::aeroway6
    146     { z-index: 14; color: white; width: 1;  dashes: 4, 16; }
    147 
    148 way|z15-16[aeroway=runway]!:closed
    149     { z-index: 9; color: black; width: 5;  }
    150 way|z15-16[aeroway=runway]!:closed::aeroway2
    151     { z-index: 12; color: white; width: 5;  dashes: 0, 20, 4, 76; }
    152 way|z15-16[aeroway=runway]!:closed::aeroway3
    153     { z-index: 13; color: black; width: 3; }
    154 way|z15-16[aeroway=runway]!:closed::aeroway4
    155     { z-index: 14; color: white; width: 1;  dashes: 4, 16; }
    156    
    157 way|z-14[aeroway=runway]!:closed
    158     { z-index: 9; color: #444444; width: 3;  }
    159 way[aeroway=runway]:closed { z-index: 9; color: black; width: 3; fill-color: #775577; }
    160 way[aeroway=apron]:closed { z-index: 4; color: #cc66cc; width: 1; fill-color: #ddaadd; fill-opacity: 0.5;}
     138way[aeroway=taxiway]!:closed { z-index: 8; color: #999999; width: 3; casing-color: #aa66aa; casing-width: 2; }
     139area[aeroway=taxiway]:closed { z-index: 8; color: #bb99bb; width: 3; fill-color: #ccaacc; }
     140
     141way|z17-[aeroway=runway]!:closed { z-index: 9; color: black; width: 11; casing-color: #aa66aa; casing-width: 1; }
     142way|z17-[aeroway=runway]!:closed::aa { z-index: 10; color: white; width: 9;  dashes: 0, 20, 4, 76; }
     143way|z17-[aeroway=runway]!:closed::bb { z-index: 11; color: black; width: 7; }
     144way|z17-[aeroway=runway]!:closed::cc { z-index: 12; color: white; width: 5;  dashes: 0, 20, 4, 76; }
     145way|z17-[aeroway=runway]!:closed::dd { z-index: 13; color: black; width: 3; }
     146way|z17-[aeroway=runway]!:closed::ee { z-index: 14; color: white; width: 1;  dashes: 4, 16; }
     147
     148way|z15-16[aeroway=runway]!:closed { z-index: 9; color: black; width: 5;  }
     149way|z15-16[aeroway=runway]!:closed::aa { z-index: 12; color: white; width: 5;  dashes: 0, 20, 4, 76; }
     150way|z15-16[aeroway=runway]!:closed::bb { z-index: 13; color: black; width: 3; }
     151way|z15-16[aeroway=runway]!:closed::cc { z-index: 14; color: white; width: 1;  dashes: 4, 16; }
     152
     153way|z-14[aeroway=runway]!:closed { z-index: 9; color: #444444; width: 3;  }
     154
     155area[aeroway=runway]:closed { z-index: 9; color: black; width: 3; fill-color: #775577; }
     156area[aeroway=apron]:closed { z-index: 4; color: #cc66cc; width: 1; fill-color: #ddaadd; fill-opacity: 0.5;}
    161157
    162158/* Barriers */
     
    167163/* Power */
    168164
    169 way[power=line] {z-index: 5; color: darkgray; width: 3; dashes: 12,2; casing-color: black; casing-width: 8; casing-dashes: 4, 38;}
    170 way[power=minor_line] {z-index: 5; color: gray; width: 2; dashes: 2,4; casing-width: 8; casing-color: white; casing-dashes: 2,22;}
    171 way[power=station]:closed { z-index: 5; color: black; width: 2; fill-color: #666666; fill-opacity: 0.6; prop_area_small_name : 1;}
    172 way[power=generator]:closed { z-index: 5; color: black; width: 2; fill-color: #444444; fill-opacity: 0.6; prop_area_small_name : 1;}
     165way[power=line] {z-index: 5; color: darkgray; width: 3; dashes: 12,2; casing-color: black; casing-width: 2; casing-dashes: 4, 38;}
     166way[power=minor_line] {z-index: 5; color: gray; width: 2; dashes: 2,4; casing-width: 3; casing-color: white; casing-dashes: 2,22;}
     167area[power=station]:closed { color: black; width: 2; fill-color: #666666; fill-opacity: 0.6; prop_area_small_name : 1;}
     168area[power=generator]:closed { color: black; width: 2; fill-color: #444444; fill-opacity: 0.6; prop_area_small_name : 1;}
    173169
    174170/* Leisure */
    175171
    176 way[golf=hole] {z-index: 5; color: darkgreen; width: 5; casing-color: green; casing-width: 10; }
    177 way[leisure=sports_centre]:closed { color: #66ddcc; fill-color: #66ddcc; prop_area_small_name : 1; }
     172way[golf=hole] {z-index: 5; color: darkgreen; width: 5; casing-color: green; casing-width: 2; }
     173area[leisure=sports_centre]:closed { color: #66ddcc; fill-color: #66ddcc; prop_area_small_name : 1; }
    178174
    179175
    180176/* Physical decoration */
    181177
    182 way[bridge=yes]::bridge1, way[bridge=viaduct]::bridge1, way[bridge=suspension]::bridge1
    183     { z-index: 4; color: white; width: +3; }
    184 way[bridge=yes]::bridge2, way[bridge=viaduct]::bridge2, way[bridge=suspension]::bridge2
    185     { z-index: 3; color: black; width: +6; }
    186 way[tunnel=yes][!waterway]::tunnel1
    187     { z-index: 4; color: white; width: +2; }
    188 way[tunnel=yes][!waterway]::tunnel2
    189     { z-index: 3; color: black; width: +6; dashes: 4,4; }
     178way[bridge=yes]::bridge1, way[bridge=viaduct]::bridge1, way[bridge=suspension]::bridge1 { z-index: 4; color: white; width: +3; }
     179way[bridge=yes]::bridge2, way[bridge=viaduct]::bridge2, way[bridge=suspension]::bridge2 { z-index: 3; color: #444444; width: +6; }
     180way[tunnel=yes][!waterway]::bridge1 { z-index: 4; color: white; width: +2; }
     181way[tunnel=yes][!waterway]::bridge2 { z-index: 3; color: black; width: +6; dashes: 4,4; }
    190182
    191183/* Attribute decoration */
    192184
    193 /*way[oneway=yes], way[junction=roundabout] { z-index: 15; color: #444444; width: 2; dashes: 15,35; line-style: arrows; }*/
    194 /*way[oneway="-1"] { z-index: 15; color: #444444; width: 2; dashes: 15,35; line-style: arrows-reversed; }*/
     185/*way[oneway=yes]::arrows, way[junction=roundabout]::arrows { z-index: 15; color: #555555; width: 2; dashes: 10,50; line-style: arrows; }
     186way[oneway=-1]::arrows { z-index: 15; color: #555555; width: 2; dashes: 10,50; line-style: arrows-reversed; }*/
    195187
    196188/****************
    197189 * core_pois.css
    198190 ****************/
     191
    199192node { text-anchor-horizontal: center; text-anchor-vertical: below; }
    200193
    201 node[place] { icon-image: icons/place.png; font-family: DejaVu; text: auto; font-size: 9; font-weight: bold; text-decoration: underline; z-index: 20; }
     194node[place] { icon-image: icons/place.png; font-family: DejaVu; text: auto; font-size: 10; font-weight: bold; z-index: 20; }
    202195node[amenity=telephone] { icon-image: icons/telephone.png; z-index: 20; }
    203196node[barrier=cattle_grid] { icon-image: icons/cattle_grid.png; z-index: 20; }
     
    206199node[tourism=camp_site] { icon-image: icons/accommodation_camping.n.16.png; z-index: 20; }
    207200node[tourism=caravan_site] { icon-image: icons/accommodation_caravan_park.n.16.png; z-index: 20; }
     201node[tourism=chalet] { icon-image: icons/accommodation_chalet.n.16.png; z-index: 20; }
    208202node[tourism=guest_house],node[tourism=bed_and_breakfast] { icon-image: icons/accommodation_bed_and_breakfast.n.16.png; z-index: 20; }
    209 node[tourism=hotel] { icon-image: icons/accommodation_hotel.n.16.png; text-offset:0; text: auto; z-index: 20; }
     203node[tourism=hotel] { icon-image: icons/accommodation_hotel.n.16.png; text-offset:0; text: auto; font-size: 10; z-index: 20; }
    210204node[tourism=hostel] { icon-image: icons/accommodation_youth_hostel.n.16.png; z-index: 20; }
     205node[tourism=motel] { icon-image: icons/accommodation_motel.n.16.png; z-index: 20; }
    211206node[amenity=fire_station] { icon-image: icons/amenity_firestation2.n.16.png; z-index: 20; }
    212207node[amenity=police] { icon-image: icons/amenity_police2.n.16.png; z-index: 20; }
     
    222217node[barrier=block] { icon-image: icons/barrier_blocks.16.png; z-index: 20; }
    223218node[barrier=cattle_grid] { icon-image: icons/barrier_cattle_grid.16.png; z-index: 20; }
    224 node[amenity=school] { icon-image: icons/education_school.n.16.png; text-offset:0; text: auto; z-index: 20; }
    225 way[amenity=school]:closed { color: yellow; fill-color: yellow; fill-opacity: 0.1; prop_area_small_name : 1; }
    226 node[amenity=bar] { icon-image: icons/food_bar.n.16.png; text-offset:0; text: auto; z-index: 20; }
    227 node[amenity=cafe] { icon-image: icons/food_cafe.n.16.png; text-offset:0; text: auto; z-index: 20; }
     219node[amenity=school] { icon-image: icons/education_school.n.16.png; text-offset:0; text: auto; font-size: 10; z-index: 20; }
     220aera[amenity=school]:closed { color: yellow; fill-color: yellow; fill-opacity: 0.1; prop_area_small_name : 1; }
     221node[amenity=bar] { icon-image: icons/food_bar.n.16.png; text-offset:0; text: auto; font-size: 10; z-index: 20; }
     222node[amenity=cafe] { icon-image: icons/food_cafe.n.16.png; text-offset:0; text: auto; font-size: 10; z-index: 20; }
    228223node[amenity=fast_food] { icon-image: icons/food_fastfood.n.16.png; z-index: 20; }
    229 node[amenity=pub] { icon-image: icons/food_pub.n.16.png; text-offset:0; text: name; z-index: 20; }
    230 node[amenity=restaurant] { icon-image: icons/food_restaurant.n.16.png; text-offset:0; text: auto; z-index: 20; }
     224node[amenity=pub] { icon-image: icons/food_pub.n.16.png; text-offset: 15; text: auto; font-size: 10; z-index: 20; }
     225node[amenity=restaurant] { icon-image: icons/food_restaurant.n.16.png; text-offset:0; text: auto; font-size: 10; z-index: 20; }
    231226node[amenity=hospital] { icon-image: icons/health_hospital.n.16.png; z-index: 20; }
    232227node[amenity=pharmacy] { icon-image: icons/health_pharmacy.n.16.png; z-index: 20; }
    233228node[amenity=atm] { icon-image: icons/money_atm.n.16.png; z-index: 20; }
    234229node[amenity=bank] { icon-image: icons/money_bank2.n.16.png; z-index: 20; }
     230/* More Amenities */
     231node[amenity=bench] { icon-image: icons/amenity_bench.n.16.png; z-index: 20; }
     232node[amenity=drinking_water] { icon-image: icons/food_drinkingtap.n.16.png; z-index: 20; }
     233node[amenity=emergency_phone] { icon-image: icons/emergency-telephone-16.png; z-index: 20; }
     234node[amenity=fountain] { icon-image: icons/amenity_fountain2.n.16.png; z-index: 20; }
     235node[amenity=hunting_stand] { icon-image: icons/sport_shooting.n.16.png; z-index: 20; }
     236node[amenity=kindergarten] { icon-image: icons/education_nursery3.n.16.png; z-index: 20; text-offset:0; text: auto; font-size: 10; z-index: 20; }
     237node[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; }
     238node[amenity=post_office] { icon-image: icons/amenity_post_office.n.16.png; z-index: 20; }
     239node[amenity=shelter] { icon-image: icons/accommodation_shelter2.n.16.png; z-index: 20; }
     240node[amenity=swimming_pool] { icon-image: icons/sport_swimming_outdoor.n.16.png; z-index: 20; }
     241node[amenity=townhall] { icon-image: icons/amenity_town_hall.n.16.png; text-offset:0; text: auto; font-size: 10; z-index: 20; }
     242node[amenity=toilets] { icon-image: icons/amenity_toilets.n.16.png; z-index: 20; }
     243node[amenity=vending_machine] { icon-image: icons/shopping_vending_machine.n.16.png; z-index: 20; }
     244node[amenity=veterinary] { icon-image: icons/health_veterinary.n.8E7409.16.png; z-index: 20; }
     245node[amenity=waste_basket] { icon-image: icons/amenity_waste_bin.n.16.png; z-index: 20; }
     246/* Shops */
    235247node[shop=alcohol] { icon-image: icons/shopping_alcohol.n.16.png; z-index: 20; }
    236248node[shop=bakery] { icon-image: icons/shopping_bakery.n.16.png; z-index: 20; }
    237249node[shop=bicycle] { icon-image: icons/shopping_bicycle.n.16.png; z-index: 20; }
    238 node[shop=book] { icon-image: icons/shopping_book.n.16.png; z-index: 20; }
     250node[shop=book], node[shop=books] { icon-image: icons/shopping_book.n.16.png; z-index: 20; }
    239251node[shop=butcher] { icon-image: icons/shopping_butcher.n.16.png; z-index: 20; }
    240252node[shop=car_repair] { icon-image: icons/shopping_car_repair.n.16.png; z-index: 20; }
     
    245257node[shop=doityourself] { icon-image: icons/shopping_diy.n.16.png; z-index: 20; }
    246258node[shop=fishmonger] { icon-image: icons/shopping_fish.n.16.png; z-index: 20; }
     259node[shop=florist] { icon-image: icons/shopping_florist.n.16.png; z-index: 20; }
    247260node[shop=garden_centre] { icon-image: icons/shopping_garden_centre.n.16.png; z-index: 20; }
    248261node[shop=gift] { icon-image: icons/shopping_gift.n.16.png; z-index: 20; }
     
    251264node[shop=hifi] { icon-image: icons/shopping_hifi.n.16.png; z-index: 20; }
    252265node[shop=jewelry] { icon-image: icons/shopping_jewelry.n.16.png; z-index: 20; }
     266node[shop=kiosk] { icon-image: icons/shopping_kiosk.n.16.png; z-index: 20; }
    253267node[shop=laundry] { icon-image: icons/shopping_laundrette.n.16.png; z-index: 20; }
     268node[amenity=marketplace] { icon-image: icons/shopping_marketplace.n.16.png; z-index: 20; }
    254269node[shop=motorcycle] { icon-image: icons/shopping_motorcycle.n.16.png; z-index: 20; }
    255270node[shop=music] { icon-image: icons/shopping_music.n.16.png; z-index: 20; }
    256271node[shop=supermarket] { icon-image: icons/shopping_supermarket.n.16.png; z-index: 20; }
     272node[shop=toys] { icon-image: icons/shopping_toys.n.16.png; z-index: 20; }
     273/* More Touristy Items */
     274node[tourism=artwork] { icon-image: icons/tourist_art_gallery2.n.16.png; z-index: 20; }
    257275node[historic=archaeological_site] { icon-image: icons/tourist_archaeological.n.16.png; z-index: 20; }
    258276node[historic=battlefield] { icon-image: icons/tourist_battlefield.n.16.png; z-index: 20; }
    259 node[historic=castle] { icon-image: icons/tourist_castle.n.16.png; text-offset:0; text: auto; z-index: 20; }
     277node[historic=castle] { icon-image: icons/tourist_castle.n.16.png; text-offset:0; text: auto; font-size: 10; z-index: 20; }
    260278node[amenity=cinema] { icon-image: icons/tourist_cinema.n.16.png; z-index: 20; }
    261 node[historic=memorial] { icon-image: icons/tourist_memorial.n.16.png; text-offset:0; text: auto; z-index: 20; }
    262 node[historic=monument] { icon-image: icons/tourist_monument.n.16.png; text-offset:0; text: auto; z-index: 20; }
    263 node[tourism=museum] { icon-image: icons/tourist_museum.n.16.png; text-offset:0; text: auto; z-index: 20; }
     279node[historic=memorial] { icon-image: icons/tourist_memorial.n.16.png; text-offset:0; text: auto; font-size: 10; z-index: 20; }
     280node[historic=monument] { icon-image: icons/tourist_monument.n.16.png; text-offset:0; text: auto; font-size: 10; z-index: 20; }
     281node[tourism=museum] { icon-image: icons/tourist_museum.n.16.png; text-offset:0; text: auto; font-size: 10; z-index: 20; }
     282node[tourism=information] { icon-image: icons/tourist_information.png; z-index: 20; }
    264283node[tourism=picnic_site] { icon-image: icons/tourist_picnic.n.16.png; z-index: 20; }
    265 node[historic=ruin] { icon-image: icons/tourist_ruin.n.16.png; z-index: 20; }
     284node[historic=ruins] { icon-image: icons/tourist_ruin.n.16.png; z-index: 20; }
    266285node[amenity=theatre] { icon-image: icons/tourist_theatre.n.16.png; z-index: 20; }
     286node[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; }
    267287node[tourism=viewpoint] { icon-image: icons/tourist_view_point.n.16.png; z-index: 20; }
    268288node[tourism=zoo] { icon-image: icons/tourist_zoo.n.16.png; z-index: 20; }
     289/* Transport */
    269290node[aeroway=aerodrome] { icon-image: icons/transport_aerodrome.n.16.png; z-index: 20; }
     291node[aeroway=gate] { icon-image: icons/transport_airport_gate.n.16.png; z-index: 20; }
     292node[aeroway=terminal] { icon-image: icons/transport_airport_terminal.n.16.png; z-index: 20; }
     293node[aeroway=helipad] { icon-image: icons/transport_helicopter_pad.n.16.png; z-index: 20; }
    270294node[amenity=bus_station] { icon-image: icons/transport_bus_station.n.16.png; z-index: 20; }
    271295node[highway=bus_stop] { icon-image: icons/transport_bus_stop2.n.16.png; z-index: 20; }
    272296node[amenity=fuel] { icon-image: icons/transport_fuel.n.16.png; z-index: 20; }
    273 node[amenity=bicycle_parking] { icon-image: icons/transport_parking_bicycle.n.16.png; text-offset: 0; text: capacity; z-index: 20; }
     297node[amenity=car_wash] { icon-image: icons/transport_car_wash.n.16.png; z-index: 20; }
     298node[amenity=bicycle_parking] { icon-image: icons/transport_parking_bicycle.n.16.png; text-offset:0; text: capacity; font-size: 10; z-index: 20; }
    274299node[amenity=parking] { icon-image: icons/transport_parking_car.n.16.png; z-index: 20; }
    275300node[amenity=ferry_terminal] { icon-image: icons/transport_port.n.16.png; z-index: 20; }
     
    277302node[amenity=car_rental] { icon-image: icons/transport_rental_car.n.16.png; z-index: 20; }
    278303node[amenity=taxi] { icon-image: icons/transport_taxi_rank.n.16.png; z-index: 20; }
    279 node[railway=station] { icon-image: icons/transport_train_station.n.16.png; text-offset:0; text: auto; z-index: 20; }
     304node[railway=station] { icon-image: icons/transport_train_station.n.16.png; text-offset:0; text: auto; font-size: 10; z-index: 20; }
    280305node[railway=tram_stop] { icon-image: icons/transport_tram_stop.n.16.png; z-index: 20; }
    281306node[leisure=marina] { icon-image: icons/transport_marina.n.16.png; z-index: 20; }
     307node[highway=mini_roundabout] { icon-image: icons/transport_miniroundabout_anticlockwise.n.16.png; z-index: 20; }
     308node[highway=crossing] { icon-image: icons/transport_zebracrossing.n.16.png; z-index: 20; }
     309/* Misc */
     310node[leisure=playground] { icon-image: icons/amenity_playground.n.16.png; z-index: 20; }
     311node[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; }
     312/* node[landuse=cemetery], node[landuse=grave_yard] { icon-image: icons/?.png; z-index: 20; } */
     313node[man_made=survey_point] { icon-image: icons/manmade_lighthouse.png; z-index: 20; }
     314node[man_made=tower] { icon-image: icons/manmade_tower.png; z-index: 20; }
     315/* Yes these power stations seem a little backward - but that's seemingly what the side menu uses ATM */
     316node[power=station] { icon-image: icons/power_substation.n.16.png; z-index: 20; }
     317node[power=generator] { icon-image: icons/power_station.png; z-index: 20; text-offset:0; text: auto; font-size: 10; z-index: 20; }
     318node[power=tower] { icon-image: icons/power_tower_high2.n.16.png; z-index: 20; }
     319node[power=pole] { icon-image: icons/power_tower_low.n.16.png; z-index: 20; }
     320node[waterway=weir] { icon-image: icons/transport_weir.n.16.png; z-index: 20; }
    282321
    283322/* Addressing */
     
    287326node[addr:housenumber]::hn_casing,
    288327node[addr:housename]::hn_casing { z-index: -100; symbol-shape: circle; symbol-size: 10; symbol-fill-color: blue; }
     328
    289329way[addr:interpolation] { z-index: 5; color: #B0E0E6; width: 3; dashes: 3,3;}
    290 
    291330/****************
    292331 * core_landuse.css
     
    307346area[leisure]:closed                         { color: #8CD6B5; width: 1; fill-color: #8CD6B5; fill-opacity: 0.2; }
    308347area[tourism]:closed                          { color: #F7CECE; width: 1; fill-color: #F7CECE; fill-opacity: 0.2; prop_area_small_name : 1;}
    309 area[historic]:closed, area[ruins]:closed              { color: #F7F7DE; width: 1; fill-color: #F7F7DE; fill-opacity: 0.2; prop_area_small_name : 1;}
     348area[historic]:closed, area[ruins]:closed        { color: #F7F7DE; width: 1; fill-color: #F7F7DE; fill-opacity: 0.2; prop_area_small_name : 1;}
    310349area[military]:closed                         { color: #D6D6D6; width: 1; fill-color: #D6D6D6; fill-opacity: 0.2; prop_area_small_name : 1;}
    311 area[building]:closed                         { color: #ff6ec7; width: 1; fill-color: #ff6ec7; fill-opacity: 0.2; }
     350area[building]:closed                         { color: #bca9a9; width: 1; fill-color: #ff6ec7; fill-opacity: 0.2; }
    312351area[natural=water]:closed,
    313 area[waterway][waterway!=dam]:closed          { color: blue;    width: 2; fill-color: blue;    fill-opacity: 0.2; prop_area_small_name : 1;}
     352area[waterway][waterway!=dam]:closed          { color: #3434ff;    width: 2; fill-color: #3434ff;    fill-opacity: 0.2; prop_area_small_name : 1;}
    314353way[waterway=dam]                                                       { z-index: 5; color: black; width: 1; fill-color: #222222; fill-opacity: 0.1; prop_area_small_name : 1;}
    315354area[man_made]:closed                                                   { color: black; width: 2; fill-color: #222222; fill-opacity: 0.1; prop_area_small_name : 1; }
    316 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; }
    317 area[landuse=reservoir]:closed                { color: blue;    width: 2; fill-color: blue;    fill-opacity: 0.2; prop_area_small_name : 1;}
    318 area[landuse=forest]:closed,area[natural=wood]:closed { color: green;   width: 2; fill-color: green;   fill-opacity: 0.2; prop_area_small_name : 1;}
     355area[man_made=reservoir_covered]:closed       { color: #3434ff; width: 2; dashes: 4, 2; fill-color: #222222; fill-opacity: 0.1; prop_area_small_name : 1; }
     356area[landuse=reservoir]:closed                { color: #3434ff;    width: 2; fill-color: #3434ff;    fill-opacity: 0.2; prop_area_small_name : 1;}
     357area[landuse=forest]:closed, area[natural=wood]:closed { color: green;   width: 2; fill-color: green;   fill-opacity: 0.2; prop_area_small_name : 1;}
    319358area[leisure=park]:closed                    { color: #22aa22; width: 2; fill-color: #44ff44; fill-opacity: 0.15; prop_area_small_name : 1;}
    320359area[leisure=garden]:closed                  { color: #66ff44; width: 1; fill-color: #66ff44; fill-opacity: 0.2; prop_area_small_name : 1;}
     
    323362area[amenity=parking]:closed                  { color: #bbaa66;    width: 1; fill-color: #bbaa66;    fill-opacity: 0.2; }
    324363area[public_transport=pay_scale_area]:closed  { color: gray;    width: 1; fill-color: gray;    fill-opacity: 0.1; }
    325 way[man_made=pier]                                                      { z-index: 4; color: #777; width: 3; casing-color: black; casing-width: 5;}
     364way[man_made=pier]                                                      { z-index: 4; color: #777; width: 3; casing-color: black; casing-width: 1;}
    326365way[man_made=pier][floating=yes]                        { z-index: 5; dashes: 4,2; casing-color: #444;}
    327366area[leisure=marina]:closed                                     { color: pink; fill-color: pink; fill-opacity: 0.4; prop_area_small_name : 1;}
    328 way[leisure=slipway]                                            { z-index: 5; color: grey; width: 3; casing-color: blue; casing-width: 7; }
     367way[leisure=slipway]                                            { z-index: 5; color: grey; width: 3; casing-color: #3434ff; casing-width: 2; }
    329368area[leisure=golf_course]:closed { color: #44ee22; width: 2; fill-color: #44ee22; fill-opacity: 0.2; prop_area_small_name : 1;}
    330369way[boundary]                               { z-index: 5; color: #000066; width: 2; opacity: 0.6; dashes: 24,4, 4, 4; z-index: 4;}
     
    334373way[boundary=administrative]                { z-index: 5; color: purple; width: 2; opacity: 0.2; dashes: 24,4; z-index: 4;}
    335374way[boundary=administrative][waterway]      { z-index: 5; opacity: 0.8; z-index: 4; dashes: 24,4; width: 6; }
    336 way[landuse=cemetery]                                           { z-index: 5; color: #664466; width: 2; fill-color: #664466; opacity: 0.2; prop_area_small_name : 1;}
     375area[landuse=cemetery]:closed                                           { color: #664466; width: 2; fill-color: color: #664466; opacity: 0.2; prop_area_small_name : 1;}
    337376/* Addressing. Nodes with addresses *and* match POIs should have a poi icon, so we put addressing first */
    338377/* Route relations */
    339378
    340 relation[type=route] > way::relation_underlay { z-index: -1; width: 13; color: blue; opacity: 0.3; linecap: none; }
    341 relation[type=route][route=bicycle][network=ncn] > way::relation_underlay { z-index: -1; width: 12; color: red; opacity: 0.3; linecap: none; }
    342 relation[type=route][route=bicycle][network=rcn] > way::relation_underlay { z-index: -1; width: 12; color: cyan; opacity: 0.3; linecap: none; }
    343 relation[type=route][route=bicycle][network=lcn] > way::relation_underlay { z-index: -1; width: 12; color: blue; opacity: 0.3; linecap: none; }
    344 relation[type=route][route=foot] > way::relation_underlay { z-index: -1; width: 10; color: #80ff80; opacity: 0.6; linecap: none; }
    345 
     379relation[type=route] > way::route { z-index: -1; width: 13; color: blue; opacity: 0.3; linecap: none; }
     380relation[type=route][route=bicycle][network=ncn] > way::route { z-index: -1; width: 12; color: red; opacity: 0.3; linecap: none; }
     381relation[type=route][route=bicycle][network=rcn] > way::route { z-index: -1; width: 12; color: cyan; opacity: 0.3; linecap: none; }
     382relation[type=route][route=bicycle][network=lcn] > way::route { z-index: -1; width: 12; color: blue; opacity: 0.3; linecap: none; }
     383relation[type=route][route=mtb] > way::route { z-index: -1; width: 12; color: brown; opacity: 0.3; linecap: none; }
     384relation[type=route][route=foot] > way::route { z-index: -1; width: 10; color: #80ff80; opacity: 0.6; linecap: none; }
    346385
    347386/*@import("stylesheets/core_ways.css");*/
     
    349388/*@import("stylesheets/core_landuse.css");*/
    350389/*@import("stylesheets/core_relations.css");*/
    351 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;}
     390way[is_prop_set("prop_area_small_name")] {text-color: black; font-size: 10; text: name; text-halo: #ffffaa; text-halo-radius: 2; text-position: center;}
    352391/*@import("stylesheets/core_interactive.css");*/
    353392
     393/* Rendering for licence status */
     394
     395/*way[_status=no]::status       { z-index: 0; width: eval('_width+7'); color: #AA0000; }
     396way[_status=partial]::status  { z-index: 0; width: eval('_width+7'); color: #AA0000; opacity: 0.6; }
     397way[_status=unsure]::status   { z-index: 0; width: eval('_width+7'); color: darkorange; opacity: 0.6; }
     398node[_status=no]::status      { z-index: 0; icon-image: square; icon-width: eval('_width+7'); color: #AA0000; }
     399node[_status=partial]::status { z-index: 0; icon-image: square; icon-width: eval('_width+7'); color: #AA0000; opacity: 0.6; }
     400node[_status=unsure]::status  { z-index: 0; icon-image: square; icon-width: eval('_width+7'); color: darkorange; opacity: 0.6; }*/
Note: See TracChangeset for help on using the changeset viewer.