File: style.mapcss

package info (click to toggle)
josm 0.0.svn17428%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 204,760 kB
  • sloc: java: 360,765; xml: 198,972; perl: 10,138; jsp: 250; sh: 123; makefile: 112; javascript: 74; python: 29
file content (59 lines) | stat: -rw-r--r-- 1,231 bytes parent folder | download | duplicates (6)
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59

/**
 * 3 Tests: relative symbol-stroke-width, alignment and stacking of stroke & fill for shapes
 */
node[test=pentagon1]
{
    symbol-shape: pentagon;
    symbol-size: 50;
    symbol-stroke-color: gold;
    symbol-stroke-opacity: 0.9;
    symbol-stroke-width: 10;
}
node[test=pentagon1]::stroke-casing
{
    symbol-shape: pentagon;
    symbol-size: 50;
    symbol-stroke-color: #ddd;
    symbol-stroke-opacity: 0.6;
    symbol-stroke-width: +8;
    z-index: -10;
}
node[test=pentagon1]::fill
{
    symbol-shape: pentagon;
    symbol-size: 50;
    symbol-fill-color: darkblue;
    symbol-fill-opacity: 1.0;
    z-index: -15;
}
node[test=pentagon2]
{
    symbol-shape: pentagon;
    symbol-size: 50;
    symbol-stroke-color: blue;
    symbol-stroke-opacity: 0.9;
    symbol-stroke-width: 10;
}
node[test=pentagon2]::fill-above
{
    symbol-shape: pentagon;
    symbol-size: 50;
    symbol-fill-color: white;
    symbol-fill-opacity: 0.3;
    z-index: 2;
}
node[test=pentagon3]
{
    symbol-shape: pentagon;
    symbol-size: 50;
    symbol-fill-color: darkgreen;
}
node[test=pentagon3]::stroke-above
{
    symbol-shape: pentagon;
    symbol-size: 50;
    symbol-stroke-color: yellow;
    symbol-stroke-width: 1.0;
    z-index: 1;
}