]> git.openstreetmap.org Git - rails.git/blob - public/potlatch2/stylesheets/network.css
Merge branch 'master' into openstreetbugs2
[rails.git] / public / potlatch2 / stylesheets / network.css
1 /*
2         Potlatch 2 network stylesheet
3
4         This is a variant of the enhanced stylesheet _without_ landuse and similar polygons. The aim is to 
5         prevent such items distracting the mapper and leading to unwanted junctions (and slowing down
6         rendering!).
7         
8 */
9
10 @import("stylesheets/core_ways.css");
11 @import("stylesheets/core_pois.css");
12
13 /* Access */
14
15 way[access=private],way[access=no] { z-index: 10; color: red; width: eval('_width+2'); dashes: 2,5;}
16 way[access=permissive] { z-index: 10; color: green; width: eval('_width+2'); dashes: 1,3;}
17
18 /* Physical */
19
20 way[embankment=yes], way[cutting=yes]
21     { z-index: 3; opacity: 0.5; color: grey; width: eval('_width+5'); dashes: 2, 2; }
22
23 /* Interactive behaviour */
24
25 @import("stylesheets/core_relations.css");
26 way .area_small_name {text-color: black; font-size: 9; text: name; text-halo: #ffffaa; text-halo-radius: 2; text-position: center;}
27 @import("stylesheets/core_interactive.css");
28
29 /* Direction on selected ways */
30
31 way[highway][!oneway][junction!=roundabout]:selected,
32 way[aerial_way]:selected { z-index: 14; color: #999922; width: 2; dashes: 3,60; line-style: arrows; }
33 way[waterway]:selected { z-index: 14; color: #4444CC; width: 2; dashes: 5,60; line-style: arrows; }
34 way[railway] :selected{ z-index: 14; color: #999999; width: 3; dashes: 4,92; line-style: arrows; }
35