/
paths.mss
53 lines (45 loc) · 912 Bytes
/
paths.mss
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
.path[highway!=steps]
{
line-cap: butt;
line-join: round;
}
.path[highway=steps]
{
line-cap: butt;
line-join: miter;
}
.path.outline[zoom>=16][highway!=steps] { line-width: 4; }
.path.inline[zoom>=16][highway!=steps]
{
line-width: 2;
line-dasharray: 3, 3;
}
.path.outline[zoom>=16][highway=steps] { line-width: 7; }
.path.inline[zoom>=16][highway=steps]
{
line-width: 5;
line-dasharray: 2, 3;
}
.path.outline[zoom>=14][zoom<=15][highway!=steps] { line-width: 3; }
.path.inline[zoom>=14][zoom<=15][highway!=steps]
{
line-width: 2;
line-dasharray: 2, 2;
}
.path.outline[zoom>=14][zoom<=15][highway=steps] { line-width: 5; }
.path.inline[zoom>=14][zoom<=15][highway=steps]
{
line-width: 3;
line-dasharray: 1, 2;
}
/** Path Colors **/
.path.inline
{
line-color: #000;
line-opacity: 0.5;
}
.path.outline
{
line-color: #fff;
line-opacity: 0.2;
}