| 1 |
canvas { |
| 2 |
default-points: false; |
| 3 |
default-lines: false; |
| 4 |
} |
| 5 |
|
| 6 |
way[test] { |
| 7 |
width: 10; |
| 8 |
color: red; |
| 9 |
} |
| 10 |
|
| 11 |
way[test=style5] { |
| 12 |
dashes: 3,3,10,3; |
| 13 |
} |
| 14 |
|
| 15 |
way[test=style4] { |
| 16 |
dashes: 0.2,5; |
| 17 |
} |
| 18 |
|
| 19 |
way[test=style3] { |
| 20 |
color: blue; |
| 21 |
dashes: list(12, 2); |
| 22 |
dashes-offset: 1; |
| 23 |
} |
| 24 |
|
| 25 |
way[test=style2] { |
| 26 |
dashes: list(8, 4); |
| 27 |
dashes-offset: 1; |
| 28 |
dashes-background-color: green; |
| 29 |
} |
| 30 |
|
| 31 |
way[test=style1] { |
| 32 |
dashes: 8, 4; |
| 33 |
dashes-offset: 1; |
| 34 |
dashes-background-color: green; |
| 35 |
dashes-background-opacity: .5; |
| 36 |
} |
| 37 |
|
| 38 |
way[test=out-of-screen] { |
| 39 |
width: 5; |
| 40 |
color: teal; |
| 41 |
opacity: 0.7; |
| 42 |
dashes: 18, 14; |
| 43 |
dashes-offset: 1; |
| 44 |
dashes-background-color: khaki; |
| 45 |
dashes-background-opacity: .8; |
| 46 |
} |
| 47 |
|