]> git.openstreetmap.org Git - rails.git/blob - public/potlatch2/stylesheets/enhanced.css
23966e004cf3703bf479bcf2bc7ea9caaeb39800
[rails.git] / public / potlatch2 / stylesheets / enhanced.css
1 /*
2         Potlatch 2 enhanced stylesheet
3
4         The aim of this stylesheet is to provide a fuller, more detailed rendering of additional attributes
5         (e.g. direction, access) used at times by the moderately experienced mapper.
6         
7 */
8
9 @import("stylesheets/core_ways.css");
10 @import("stylesheets/core_pois.css");
11 @import("stylesheets/core_landuse.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