]> git.openstreetmap.org Git - rails.git/blob - public/potlatch2/stylesheets/network.css
d2a60a9fb4b9f883084c70f54daf17dcdf4907d8
[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]::access,way[access=no]::access { z-index: 10; color: red; width: eval('_width+2'); dashes: 2,5;}
16 way[access=permissive]::access { z-index: 10; color: green; width: eval('_width+2'); dashes: 1,3;}
17
18 /* Physical */
19
20 way[embankment=yes]::hatches, way[cutting=yes]::hatches
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]::direction :selected,
32 way[aerial_way]::direction :selected { z-index: 14; color: #999922; width: 2; dashes: 3,60; line-style: arrows; }
33 way[waterway]::direction :selected { z-index: 14; color: #4444CC; width: 2; dashes: 5,60; line-style: arrows; }
34 way[railway]::direction :selected{ z-index: 14; color: #999999; width: 3; dashes: 4,92; line-style: arrows; }
35