Skip to content

Commit

Permalink
Make halos transparent (alpha 0.6)
Browse files Browse the repository at this point in the history
  • Loading branch information
matthijsmelissen committed Jan 30, 2015
1 parent 055e0c7 commit 52caf88
Show file tree
Hide file tree
Showing 6 changed files with 58 additions and 4 deletions.
2 changes: 2 additions & 0 deletions admin.mss
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ overlapping borders correctly.
text-fill: @admin-boundaries;
text-placement: line;
text-halo-radius: 1.0;
text-halo-fill: rgba(255,255,255,0.6);
text-placement: line;
text-dy: -10;
}
Expand All @@ -132,6 +133,7 @@ overlapping borders correctly.
text-fill: green;
text-placement: line;
text-halo-radius: 1.0;
text-halo-fill: rgba(255,255,255,0.6);
text-placement: line;
text-dy: -10;
}
Expand Down
42 changes: 40 additions & 2 deletions amenity-points.mss
Original file line number Diff line number Diff line change
Expand Up @@ -650,6 +650,7 @@
[way_pixels > 48000] { text-size: 15; }
text-face-name: @oblique-fonts;
text-halo-radius: 1;
text-halo-fill: rgba(255,255,255,0.6);
text-wrap-width: @standard-wrap-width;
text-placement: interior;
}
Expand All @@ -668,6 +669,7 @@
text-dy: 11;
text-face-name: @bold-fonts;
text-halo-radius: 1;
text-halo-fill: rgba(255,255,255,0.6);
text-wrap-width: @standard-wrap-width;
text-placement: interior;
[feature = 'amenity_bar']{
Expand All @@ -688,6 +690,7 @@
text-dy: 13;
text-face-name: @bold-fonts;
text-halo-radius: 1;
text-halo-fill: rgba(255,255,255,0.6);
text-wrap-width: @standard-wrap-width;
text-placement: interior;
[feature = 'amenity_theatre'],
Expand All @@ -704,6 +707,7 @@
text-dy: 9;
text-face-name: @book-fonts;
text-halo-radius: 1;
text-halo-fill: rgba(255,255,255,0.6);
text-wrap-width: @standard-wrap-width;
text-placement: interior;
[access != ''][access != 'public'][access != 'yes'] {
Expand All @@ -718,6 +722,7 @@
text-dy: 11;
text-face-name: @book-fonts;
text-halo-radius: 1;
text-halo-fill: rgba(255,255,255,0.6);
text-wrap-width: @standard-wrap-width;
text-placement: interior;
}
Expand All @@ -729,6 +734,7 @@
text-dy: 11;
text-face-name: @book-fonts;
text-halo-radius: 1;
text-halo-fill: rgba(255,255,255,0.6);
text-wrap-width: @standard-wrap-width;
text-placement: interior;
}
Expand All @@ -740,6 +746,7 @@
text-dy: 12;
text-face-name: @book-fonts;
text-halo-radius: 1;
text-halo-fill: rgba(255,255,255,0.6);
text-wrap-width: @standard-wrap-width;
text-placement: interior;
}
Expand Down Expand Up @@ -771,6 +778,7 @@
text-dy: 7;
text-face-name: @book-fonts;
text-halo-radius: 1;
text-halo-fill: rgba(255,255,255,0.6);
text-wrap-width: @standard-wrap-width;
text-placement: interior;
}
Expand All @@ -784,6 +792,7 @@
text-dy: 7;
text-face-name: @book-fonts;
text-halo-radius: 1;
text-halo-fill: rgba(255,255,255,0.6);
text-wrap-width: @standard-wrap-width;
text-placement: interior;
}
Expand All @@ -796,6 +805,7 @@
text-dy: 11;
text-face-name: @book-fonts;
text-halo-radius: 1;
text-halo-fill: rgba(255,255,255,0.6);
text-wrap-width: @standard-wrap-width;
text-placement: interior;
}
Expand All @@ -807,6 +817,7 @@
text-dy: 11;
text-face-name: @book-fonts;
text-halo-radius: 1;
text-halo-fill: rgba(255,255,255,0.6);
text-wrap-width: @standard-wrap-width;
text-placement: interior;
}
Expand All @@ -818,6 +829,7 @@
text-dy: 15;
text-face-name: @book-fonts;
text-halo-radius: 1;
text-halo-fill: rgba(255,255,255,0.6);
text-wrap-width: @standard-wrap-width;
text-placement: interior;
}
Expand All @@ -839,6 +851,7 @@
text-fill: @water-text;
text-face-name: @oblique-fonts;
text-halo-radius: 1;
text-halo-fill: rgba(255,255,255,0.6);
text-wrap-width: @standard-wrap-width;
text-placement: interior;
}
Expand All @@ -854,6 +867,7 @@
text-fill: @mud-text;
text-face-name: @landcover-face-name;
text-halo-radius: 1;
text-halo-fill: rgba(255,255,255,0.6);
text-wrap-width: @landcover-wrap-width-size;
[way_pixels > 12000] {text-wrap-width: @landcover-wrap-width-size-big; }
[way_pixels > 48000] {text-wrap-width: @landcover-wrap-width-size-bigger; }
Expand All @@ -872,6 +886,7 @@
text-fill: @wetland-text;
text-face-name: @landcover-face-name;
text-halo-radius: 1;
text-halo-fill: rgba(255,255,255,0.6);
text-wrap-width: @landcover-wrap-width-size;
[way_pixels > 12000] {text-wrap-width: @landcover-wrap-width-size-big; }
[way_pixels > 48000] {text-wrap-width: @landcover-wrap-width-size-bigger; }
Expand All @@ -889,6 +904,7 @@
text-fill: @marina-text;
text-face-name: @landcover-face-name;
text-halo-radius: 1;
text-halo-fill: rgba(255,255,255,0.6);
text-wrap-width: @landcover-wrap-width-size;
[way_pixels > 12000] {text-wrap-width: @landcover-wrap-width-size-big; }
[way_pixels > 48000] {text-wrap-width: @landcover-wrap-width-size-bigger; }
Expand Down Expand Up @@ -956,6 +972,7 @@
text-fill: darken(@track, 40%);
text-face-name: @landcover-face-name;
text-halo-radius: 1;
text-halo-fill: rgba(255,255,255,0.6);
text-wrap-width: @landcover-wrap-width-size;
[way_pixels > 12000] {text-wrap-width: @landcover-wrap-width-size-big; }
[way_pixels > 48000] {text-wrap-width: @landcover-wrap-width-size-bigger; }
Expand Down Expand Up @@ -1309,6 +1326,7 @@
text-fill: #6699cc;
text-face-name: @book-fonts;
text-halo-radius: 1;
text-halo-fill: rgba(255,255,255,0.6);
text-wrap-width: @standard-wrap-width;
text-placement: interior;
}
Expand All @@ -1319,6 +1337,7 @@
text-fill: #6699cc;
text-face-name: @book-fonts;
text-halo-radius: 1;
text-halo-fill: rgba(255,255,255,0.6);
text-wrap-width: @standard-wrap-width;
text-placement: interior;
text-dy: 6;
Expand All @@ -1331,6 +1350,7 @@
text-dy: 11;
text-face-name: @book-fonts;
text-halo-radius: 1;
text-halo-fill: rgba(255,255,255,0.6);
text-wrap-width: @standard-wrap-width;
text-placement: interior;
}
Expand All @@ -1352,6 +1372,7 @@
text-fill: black;
text-dy: 12;
text-halo-radius: 1;
text-halo-fill: rgba(255,255,255,0.6);
text-wrap-width: @standard-wrap-width;
text-placement: interior;
text-face-name: @book-fonts;
Expand All @@ -1368,6 +1389,7 @@
text-dy: 13;
text-face-name: @book-fonts;
text-halo-radius: 1;
text-halo-fill: rgba(255,255,255,0.6);
text-wrap-width: @standard-wrap-width;
text-placement: interior;
[feature = 'tourism_chalet'] {
Expand All @@ -1383,6 +1405,7 @@
text-dy: 10;
text-face-name: @book-fonts;
text-halo-radius: 1;
text-halo-fill: rgba(255,255,255,0.6);
text-wrap-width: @standard-wrap-width;
text-placement: interior;
}
Expand All @@ -1394,6 +1417,7 @@
text-dy: 10;
text-face-name: @book-fonts;
text-halo-radius: 1;
text-halo-fill: rgba(255,255,255,0.6);
text-wrap-width: @standard-wrap-width;
text-placement: interior;
}
Expand All @@ -1408,6 +1432,7 @@
text-dy: 11;
text-face-name: @book-fonts;
text-halo-radius: 1;
text-halo-fill: rgba(255,255,255,0.6);
text-wrap-width: @standard-wrap-width;
text-placement: interior;
[feature = 'highway_bus_stop'] {
Expand All @@ -1423,6 +1448,7 @@
text-dy: 15;
text-face-name: @book-fonts;
text-halo-radius: 1;
text-halo-fill: rgba(255,255,255,0.6);
text-wrap-width: @standard-wrap-width;
text-placement: interior;
}
Expand Down Expand Up @@ -1453,6 +1479,7 @@
text-fill: #0066ff;
text-face-name: @book-fonts;
text-halo-radius: 1;
text-halo-fill: rgba(255,255,255,0.6);
text-wrap-width: @standard-wrap-width;
text-placement: interior;
}
Expand All @@ -1463,6 +1490,7 @@
text-fill: @marina-text;
text-face-name: @book-fonts;
text-halo-radius: 1;
text-halo-fill: rgba(255,255,255,0.6);
text-wrap-width: @standard-wrap-width;
text-placement: interior;
[zoom >= 17] {
Expand Down Expand Up @@ -1495,6 +1523,7 @@
text-fill: #734a08;
text-face-name: @book-fonts;
text-halo-radius: 1;
text-halo-fill: rgba(255,255,255,0.6);
text-wrap-width: @standard-wrap-width;
text-placement: interior;
}
Expand All @@ -1506,6 +1535,7 @@
text-dy: 12;
text-face-name: @book-fonts;
text-halo-radius: 1;
text-halo-fill: rgba(255,255,255,0.6);
text-wrap-width: @standard-wrap-width;
text-placement: interior;
}
Expand All @@ -1520,6 +1550,7 @@
text-fill: #660033;
text-face-name: @book-fonts;
text-halo-radius: 2;
text-halo-fill: rgba(255,255,255,0.6);
text-wrap-width: @landcover-wrap-width-size;
[way_pixels > 12000] {text-wrap-width: @landcover-wrap-width-size-big; }
[way_pixels > 48000] {text-wrap-width: @landcover-wrap-width-size-bigger; }
Expand Down Expand Up @@ -1589,6 +1620,7 @@
text-dy: 16;
text-face-name: @book-fonts;
text-halo-radius: 2;
text-halo-fill: rgba(255,255,255,0.6);
text-wrap-width: @standard-wrap-width;
text-placement: interior;
}
Expand All @@ -1600,6 +1632,7 @@
text-dy: 12;
text-face-name: @book-fonts;
text-halo-radius: 1;
text-halo-fill: rgba(255,255,255,0.6);
text-wrap-width: @standard-wrap-width;
text-placement: interior;
}
Expand All @@ -1611,6 +1644,7 @@
text-dy: 10;
text-face-name: @book-fonts;
text-halo-radius: 2;
text-halo-fill: rgba(255,255,255,0.6);
text-wrap-width: @standard-wrap-width;
text-placement: interior;
}
Expand All @@ -1625,6 +1659,7 @@
text-fill: @health-color;
text-face-name: @book-fonts;
text-halo-radius: 1;
text-halo-fill: rgba(255,255,255,0.6);
text-wrap-width: @standard-wrap-width;
text-placement: interior;
}
Expand All @@ -1649,7 +1684,7 @@
text-fill: #939;
text-face-name: @book-fonts;
text-halo-radius: 1.5;
text-halo-fill: rgba(255, 255, 255, 0.8);
text-halo-fill: rgba(255, 255, 255, 0.6);
text-wrap-width: @standard-wrap-width;
text-placement: interior;
}
Expand All @@ -1664,7 +1699,7 @@
text-fill: #939;
text-face-name: @book-fonts;
text-halo-radius: 1.5;
text-halo-fill: rgba(255, 255, 255, 0.8);
text-halo-fill: rgba(255, 255, 255, 0.6);
text-wrap-width: @standard-wrap-width;
text-placement: interior;
}
Expand Down Expand Up @@ -1712,6 +1747,7 @@
text-fill: #aa66cc;
text-face-name: @book-fonts;
text-halo-radius: 1;
text-halo-fill: rgba(255,255,255,0.6);
text-wrap-width: @standard-wrap-width;
text-placement: interior;
}
Expand Down Expand Up @@ -1927,6 +1963,7 @@
text-dy: -10;
text-face-name: @bold-fonts;
text-halo-radius: 1;
text-halo-fill: rgba(255,255,255,0.6);
text-placement: interior;
text-wrap-width: 30;
}
Expand All @@ -1938,6 +1975,7 @@
text-dy: -10;
text-face-name: @oblique-fonts;
text-halo-radius: 1;
text-halo-fill: rgba(255,255,255,0.6);
text-placement: interior;
text-wrap-width: 30;
}
Expand Down
9 changes: 7 additions & 2 deletions roads.mss
Original file line number Diff line number Diff line change
Expand Up @@ -1840,6 +1840,7 @@
text-fill: black;
text-face-name: @book-fonts;
text-halo-radius: 1;
text-halo-fill: rgba(255,255,255,0.6);
text-wrap-width: 30;
text-min-distance: 2;
[zoom >= 14] {
Expand Down Expand Up @@ -2135,6 +2136,7 @@
text-face-name: @bold-fonts;
text-min-distance: 18;
text-halo-radius: 1;
text-halo-fill: rgba(255,255,255,0.6);
text-spacing: 750;
text-clip: false;
}
Expand All @@ -2152,6 +2154,7 @@
text-min-distance: 18;
text-face-name: @book-fonts;
text-halo-radius: 1;
text-halo-fill: rgba(255,255,255,0.6);
}
}
}
Expand Down Expand Up @@ -2233,6 +2236,7 @@
text-clip: false;
text-placement: line;
text-halo-radius: 1;
text-halo-fill: rgba(255,255,255,0.6);
text-face-name: @book-fonts;
text-opacity: 0.3;
}
Expand All @@ -2249,6 +2253,7 @@
text-clip: false;
text-placement: line;
text-halo-radius: 1;
text-halo-fill: rgba(255,255,255,0.6);
text-face-name: @book-fonts;
}
[zoom >= 17] {
Expand Down Expand Up @@ -2345,7 +2350,7 @@
text-fill: #222;
text-size: 8;
text-halo-radius: 1;
text-halo-fill: rgba(255,255,255,0.8);
text-halo-fill: rgba(255,255,255,0.6);
text-spacing: 300;
text-clip: false;
text-placement: line;
Expand All @@ -2372,7 +2377,7 @@
text-fill: #222;
text-size: 9;
text-halo-radius: 1;
text-halo-fill: rgba(255,255,255,0.8);
text-halo-fill: rgba(255,255,255,0.6);
text-spacing: 300;
text-clip: false;
text-placement: line;
Expand Down
Loading

0 comments on commit 52caf88

Please sign in to comment.