-
Notifications
You must be signed in to change notification settings - Fork 8
/
admin.mss
84 lines (83 loc) · 1.74 KB
/
admin.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
#disputed{
line-width: 1;
line-color: @admin_3;
line-clip: true;
line-dasharray: 4, 4;
[zoom<12] {
polygon-pattern-file: url('icon/pattern/disputed.svg');
polygon-pattern-alignment: local;
}
[zoom<4] {
polygon-pattern-file: url('icon/pattern/disputed_small.svg');
}
[zoom=9] {
polygon-pattern-opacity: 0.8;
line-opacity: 0.8;
}
[zoom>=10][zoom<12] {
polygon-pattern-opacity: 0.4;
line-opacity: 0.4;
}
}
#itl_boundary[zoom>=1] {
line-width: 0.5;
line-color: @admin_2;
[zoom<6] {
line-simplify: 5;
line-simplify-algorithm: visvalingam-whyatt;
}
[maritime='yes'] {
line-dasharray: 10,5;
}
[zoom>=4] {
line-width: 1;
}
[zoom>=6] {
line-clip: true;
}
[zoom>=10] {
line-width: 2;
}
}
#boundary[admin_level=3][zoom>=4][zoom<5],
#boundary[admin_level=4][zoom>=4][zoom<5],
#boundary[admin_level<=4][zoom>=5][zoom<12],
#boundary[admin_level<=8][zoom>=12] {
eraser/line-color: @land;
eraser/line-width: 1;
eraser/comp-op: darken;
eraser/line-clip: true;
line-clip: true;
line-width: 0.8;
line-color: @admin_3;
[zoom<6] {
line-color: lighten(@admin_3, 5);
}
[zoom>=7] {
line-dasharray: 10,5,5,5;
line-width: 1;
[admin_level>=6] {
line-dasharray: 5,5,2,5;
}
}
[zoom>=12] {
line-color: darken(@admin_3, 20);
}
}
#itl_boundary_label[zoom>=10],
#boundary_label[admin_level<=4][zoom>=10],
#boundary_label[zoom>=13] {
text-name: "' '+[name]+' '";
text-fill: @admin_2_text;
text-size: 11;
text-placement: line;
text-dy: -7;
text-face-name: @lighti;
text-halo-radius: 1.5;
text-halo-fill: @halo;
text-min-padding: 50;
text-repeat-distance: 50;
text-spacing: 300;
text-max-char-angle-delta: 10;
text-clip: true;
}