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

Last change on this file since 5879 was 5215, checked in by bastiK, 13 years ago

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

File size: 8.1 KB
Line 
1
2/* Roads */
3
4way[highway=motorway],way[highway=motorway_link],
5way[highway=trunk],way[highway=trunk_link],
6way[highway=primary],way[highway=primary_link],
7way[highway=secondary],way[highway=secondary_link],
8way[highway=tertiary],way[highway=tertiary_link],
9way[highway=residential],way[highway=unclassified] { text: name; text-color: black; font-size: 12; text-position: offset; text-offset: 10; text-halo-color: white; text-halo-radius: 2; linecap: round; casing-linecap: round }
10way[highway=motorway],way[highway=motorway_link] { z-index: 9; color: #809BC0; width: 7; casing-color: #1e375a; casing-width: 1; }
11way[highway=trunk],way[highway=trunk_link] { z-index: 9; color: #7FC97F; width: 7; casing-color: #245424; casing-width: 1; }
12way[highway=primary],way[highway=primary_link] { z-index: 8; color: #E46D71; width: 7; casing-color: #651316; casing-width: 1; }
13way[highway=secondary],way[highway=secondary_link] { z-index: 7; color: #FDBF6F; width: 7; casing-color: #b16603; casing-width: 1; }
14way[highway=tertiary],way[highway=tertiary_link] { z-index: 6; color: #FEFECB; width: 5; casing-color: #626202; casing-width: 1; }
15way[highway=unclassified] { z-index: 6; color: #D0D0D0; width: 5; casing-width: 1; }
16way[highway=residential] { z-index: 5; color: #E8E8E8; width: 5; casing-color: gray; casing-width: 1; }
17way[highway=service][service!=parking_aisle] { color: white; width: 3; casing-color: gray; casing-width: 1; }
18way[highway=service][service=parking_aisle] { color: white; width: 1; casing-color: #aaaaaa; casing-width: 1; }
19way[highway=service][service=alley] { color: white; width: 2; dashes: 6,2; casing-color: black; casing-width: 1; }
20way[highway=road] { color: gray; width: 5; casing-color: white; casing-width: 1; }
21way[highway=living_street] { z-index: 5; color: #ddffee; width: 3; casing-color: #555555; casing-width: 1; }
22
23/* Road areas */
24
25way[highway=pedestrian] !:area { color: #ddddee; width: 5; casing-color: #555555; casing-width: 1; casing-dashes: 2,4;}
26way[highway=pedestrian] :area { color: #555555; width: 1; fill-color: #ddddee; fill-opacity: 0.8; }
27
28/* Paths */
29
30way[highway=steps] { color: #FF6644; width: 6; dashes: 2, 2; }
31way[highway=footway] { color: #FF6644; width: 2; dashes: 6, 3; set .path;}
32way[highway=footway][bicycle=yes]::bike { z-index: 4; color: blue; width: 1; }
33way[highway=bridleway] { z-index:9; color: #996644; width: 2; dashes: 4, 2, 2, 2; set .path;}
34way[highway=track] { color: #996644; width: 2; dashes: 4, 2; set .path;}
35way[highway=path] { color: brown; width: 2; dashes: 2, 2; set .path;}
36way[highway=cycleway] { color: blue; width: 2; dashes: 4, 2; set .path;}
37way .path { text: name; text-color: black; text-position: offset; text-offset: 7; font-size: 12; }
38
39/* Under construction */
40
41way[highway=proposed] { color: #88ffff; width: 6; dashes: 8, 4; }
42way[highway=construction] { color: #ffffbb; width: 6; dashes: 8, 4; casing-color: #0000aa; casing-width: 1; casing-dashes: 8,4;}
43
44/* Railways */
45
46way[railway=rail] { z-index: 6; color: black; width: 5; linecap: round; }
47way[railway=rail]::dashes { z-index: 7; color: white; width: 3; dashes: 12,12; linecap: round; }
48
49way[construction=rail] { z-index: 6; color: black; width: 5; dashes: 6, 6, 4, 8;}
50way[construction=rail]::inner { z-index: 7; color: white; width: 3; dashes: 6,18; }
51
52way[railway=platform] { color:black; width: 2; }
53
54way[railway=subway] { z-index: 6; color: #444444; width: 5; }
55way[railway=subway]::dashes { z-index: 7; color: white; width: 3; dashes: 8,8; }
56
57way[construction=subway] { z-index: 6; color: #444444; width: 5; dashes: 4, 4; }
58way[construction=subway]::dashes { z-index: 7; color: white; width: 3; dashes: 4,12;}
59
60way[railway=disused],way[railway=abandoned] { z-index: 6; color: #444400; width: 3; dashes: 17, 2, 5, 0; }
61way[railway=disused]::dashes,way[railway=abandoned]::dashes { z-index: 7; color: #999999; width: 2; dashes: 12,12; }
62
63way[railway=tram] { z-index: 11; color: #999999; width: 2; casing-color: black; casing-width: 2; }
64way[construction=tram] { z-index: 11; color: #999999; width: 2; casing-color: black; casing-width: 2; dashes: 6, 6; casing-dashes: 6, 6; }
65
66way[railway=light_rail] { z-index: 6; color: black; width: 4; }
67way[railway=light_rail]::dashes { z-index: 7; color: #999999; width: 2; dashes: 8,4; }
68
69way[construction=light_rail] { z-index: 6; color: black; width: 4; dashes: 8, 4, 4, 4; }
70way[construction=light_rail]::dashes { z-index: 7; color: #999999; width: 2; dashes: 8,12; }
71
72/* Waterways */
73
74way[waterway=river],
75way[waterway=canal],
76way[waterway=stream] { color: #3434ff; width: 2; text:name; text-color: #3434ff; font-size:9; text-position: offset; text-offset: 7;}
77way[waterway=drain] {color: #3434ff; width: 1; text:name; text-color: #3434ff; text-position: offset; text-offset: 3;}
78way[waterway][tunnel=yes] {dashes: 8,4;}
79
80/* Aeroways */
81
82way[aeroway=aerodrome] :area
83 { z-index: 3; color: #bb44bb; width: 3; casing-color: #66066; casing-width: 1; }
84way|z-15[aeroway=aerodrome] :area
85 { z-index: 3; fill-color: #bb99bb; fill-opacity: 0.5;}
86way[aeroway=taxiway] !:area { z-index: 8; color: #999999; width: 3; casing-color: #aa66aa; casing-width: 2; }
87way[aeroway=taxiway] :area { z-index: 8; color: #bb99bb; width: 3; fill-color: #ccaacc; }
88
89way|z17-[aeroway=runway] !:area { z-index: 9; color: black; width: 11; casing-color: #aa66aa; casing-width: 1; }
90way|z17-[aeroway=runway]::aa !:area { z-index: 10; color: white; width: 9; dashes: 0, 20, 4, 76; }
91way|z17-[aeroway=runway]::bb !:area { z-index: 11; color: black; width: 7; }
92way|z17-[aeroway=runway]::cc !:area { z-index: 12; color: white; width: 5; dashes: 0, 20, 4, 76; }
93way|z17-[aeroway=runway]::dd !:area { z-index: 13; color: black; width: 3; }
94way|z17-[aeroway=runway]::ee !:area { z-index: 14; color: white; width: 1; dashes: 4, 16; }
95
96way|z15-16[aeroway=runway] !:area { z-index: 9; color: black; width: 5; }
97way|z15-16[aeroway=runway]::aa !:area { z-index: 12; color: white; width: 5; dashes: 0, 20, 4, 76; }
98way|z15-16[aeroway=runway]::bb !:area { z-index: 13; color: black; width: 3; }
99way|z15-16[aeroway=runway]::cc !:area { z-index: 14; color: white; width: 1; dashes: 4, 16; }
100
101way|z-14[aeroway=runway] !:area { z-index: 9; color: #444444; width: 3; }
102
103way[aeroway=runway] :area { z-index: 9; color: black; width: 3; fill-color: #775577; }
104way[aeroway=apron] :area { z-index: 4; color: #cc66cc; width: 1; fill-color: #ddaadd; fill-opacity: 0.5;}
105
106/* Barriers */
107
108way[barrier] {color: #000000; width: 1}
109way[barrier=fence] {color: #000000; width: 1; dashes: 8,4,2,4; }
110
111/* Power */
112
113way[power=line] {color: darkgray; width: 3; dashes: 12,2; casing-color: black; casing-width: 2; casing-dashes: 4, 38;}
114way[power=minor_line] {color: gray; width: 2; dashes: 2,4; casing-width: 3; casing-color: white; casing-dashes: 2,22;}
115way[power=station] :area { color: black; width: 2; fill-color: #666666; fill-opacity: 0.6; set .area_small_name;}
116way[power=generator] :area { color: black; width: 2; fill-color: #444444; fill-opacity: 0.6; set .area_small_name;}
117
118/* Leisure */
119
120way[golf=hole] {color: darkgreen; width: 5; casing-color: green; casing-width: 2; }
121way[leisure=sports_centre] :area { color: #66ddcc; fill-color: #66ddcc; set .area_small_name; }
122
123
124/* Physical decoration */
125
126way[bridge=yes]::bridge1, way[bridge=viaduct]::bridge1, way[bridge=suspension]::bridge1 { z-index: 4; color: white; width: eval('_width+3'); }
127way[bridge=yes]::bridge2, way[bridge=viaduct]::bridge2, way[bridge=suspension]::bridge2 { z-index: 3; color: #444444; width: eval('_width+6'); }
128way[tunnel=yes][!waterway]::bridge1 { z-index: 4; color: white; width: eval('_width+2'); }
129way[tunnel=yes][!waterway]::bridge2 { z-index: 3; color: black; width: eval('_width+6'); dashes: 4,4; }
130
131/* Attribute decoration */
132
133way[oneway=yes]::arrows, way[junction=roundabout]::arrows { z-index: 15; color: #555555; width: 2; dashes: 10,50; line-style: arrows; }
134way[oneway=-1]::arrows { z-index: 15; color: #555555; width: 2; dashes: 10,50; line-style: arrows-reversed; }
Note: See TracBrowser for help on using the repository browser.