style/amenity.mss

changeset 6
0575190fa5fc
parent 0
b0eb3af2f9ee
equal deleted inserted replaced
5:63cfc4b10f9c 6:0575190fa5fc
33 text-halo-fill: @standard-halo-fill; 33 text-halo-fill: @standard-halo-fill;
34 } 34 }
35 35
36 #train-stations 36 #train-stations
37 { 37 {
38 [zoom >= 12] 38 [zoom >= 9][zoom < 11][subway = 0][network = 'FI:national'],
39 [zoom >= 10][zoom < 12][subway = 0][network = 'FI:regional'],
40 [zoom >= 13][zoom < 15][subway = 1],
41 [zoom >= 13][zoom < 15][network = 'FI:local'],
42 {
43 marker-file: url('symbols/square.svg');
44 marker-fill: #354ba3;
45 [subway = 1]
46 {
47 marker-fill: #a36c35;
48 }
49 marker-width: 6;
50 marker-clip: false;
51 }
52 [zoom >= 11][subway = 0][network = 'FI:national'],
53 [zoom >= 12][subway = 0][network = 'FI:regional'],
54 [zoom >= 15]
39 { 55 {
40 text-name: "[ref]"; 56 text-name: "[ref]";
41 [zoom >= 14] 57 [zoom >= 13]
42 { 58 {
43 text-name: "[bilingual_name]"; 59 text-name: "[bilingual_name]";
44 } 60 }
45 text-size: 10; 61 text-size: 10;
46 text-wrap-width: @standard-wrap-width; 62 text-wrap-width: @standard-wrap-width;
52 [zoom >= 16] { text-size: 11; } 68 [zoom >= 16] { text-size: 11; }
53 [zoom >= 17] { text-size: 12; } 69 [zoom >= 17] { text-size: 12; }
54 [zoom >= 18] { text-size: 13; } 70 [zoom >= 18] { text-size: 13; }
55 text-face-name: "FreeSans Bold"; 71 text-face-name: "FreeSans Bold";
56 text-halo-radius: 1.5 * @standard-halo-radius; 72 text-halo-radius: 1.5 * @standard-halo-radius;
57 text-halo-fill: blue; 73 text-halo-fill: #354ba3;
74 [subway = 1]
75 {
76 text-halo-fill: #a36c35;
77 }
58 /* 78 /*
59 [zoom >= 16] 79 [zoom >= 16]
60 { 80 {
61 text-transform: uppercase; 81 text-transform: uppercase;
62 } 82 }
82 text-placements: E,NE,SE,W,NW,SW; 102 text-placements: E,NE,SE,W,NW,SW;
83 [zoom >= 16] { text-size: 11; } 103 [zoom >= 16] { text-size: 11; }
84 [zoom >= 17] { text-size: 12; } 104 [zoom >= 17] { text-size: 12; }
85 [zoom >= 18] { text-size: 13; } 105 [zoom >= 18] { text-size: 13; }
86 text-face-name: "FreeSans Bold"; 106 text-face-name: "FreeSans Bold";
87 text-halo-radius: 0.75 * @standard-halo-radius; 107 text-halo-radius: @standard-halo-radius;
88 text-halo-fill: @standard-halo-fill; 108 text-halo-fill: white;
89 } 109 }
90 } 110 }
91 111
92 #train-milestones 112 #train-milestones
93 { 113 {
103 text-placements: E,NE,SE,W,NW,SW; 123 text-placements: E,NE,SE,W,NW,SW;
104 [zoom >= 17] { text-size: 11; } 124 [zoom >= 17] { text-size: 11; }
105 [zoom >= 18] { text-size: 12; } 125 [zoom >= 18] { text-size: 12; }
106 [zoom >= 19] { text-size: 13; } 126 [zoom >= 19] { text-size: 13; }
107 text-face-name: "FreeSans Bold"; 127 text-face-name: "FreeSans Bold";
108 text-halo-radius: @standard-halo-radius; 128 text-halo-radius: 1.25 * @standard-halo-radius;
109 text-halo-fill: @standard-halo-fill; 129 text-halo-fill: white;
110 } 130 }
111 } 131 }
112 132
113 @aerodrome-color: #dedced; 133 @aerodrome-color: #dedced;
114 #aerodrome 134 #aerodrome

mercurial