1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
/*
Potlatch 2 enhanced stylesheet
The aim of this stylesheet is to provide a fuller, more detailed rendering of additional attributes
(e.g. direction, access) used at times by the moderately experienced mapper.
*/
@import("stylesheets/core_ways.css");
@import("stylesheets/core_pois.css");
@import("stylesheets/core_landuse.css");
/* Access */
way[access=private]::access,way[access=no]::access { z-index: 10; color: red; width: eval('_width+2'); dashes: 2,5;}
way[access=permissive]::access { z-index: 10; color: green; width: eval('_width+2'); dashes: 1,3;}
/* Physical */
way[embankment=yes]::hatches, way[cutting=yes]::hatches
{ z-index: 3; opacity: 0.5; color: grey; width: eval('_width+5'); dashes: 2, 2; }
/* Interactive behaviour */
@import("stylesheets/core_relations.css");
way .area_small_name {text-color: black; font-size: 9; text: name; text-halo: #ffffaa; text-halo-radius: 2; text-position: center;}
@import("stylesheets/core_interactive.css");
/* Direction on selected ways */
way[highway][!oneway][junction!=roundabout]::direction :selected,
way[aerial_way]::direction :selected { z-index: 14; color: #999922; width: 2; dashes: 3,60; line-style: arrows; }
way[waterway]::direction :selected { z-index: 14; color: #4444CC; width: 2; dashes: 5,60; line-style: arrows; }
way[railway]::direction :selected{ z-index: 14; color: #999999; width: 3; dashes: 4,92; line-style: arrows; }
|