source: josm/trunk/styles_nodist/potlatch2/source/enhanced.css@ 10565

Last change on this file since 10565 was 5215, checked in by bastiK, 12 years ago

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

File size: 1.4 KB
Line 
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
15way[access=private]::access,way[access=no]::access { z-index: 10; color: red; width: eval('_width+2'); dashes: 2,5;}
16way[access=permissive]::access { z-index: 10; color: green; width: eval('_width+2'); dashes: 1,3;}
17
18/* Physical */
19
20way[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");
26way .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
31way[highway][!oneway][junction!=roundabout]::direction :selected,
32way[aerial_way]::direction :selected { z-index: 14; color: #999922; width: 2; dashes: 3,60; line-style: arrows; }
33way[waterway]::direction :selected { z-index: 14; color: #4444CC; width: 2; dashes: 5,60; line-style: arrows; }
34way[railway]::direction :selected{ z-index: 14; color: #999999; width: 3; dashes: 4,92; line-style: arrows; }
35
Note: See TracBrowser for help on using the repository browser.