From 572df9251976f3ebf7041553ee6c0db420246391 Mon Sep 17 00:00:00 2001 From: vholten Date: Thu, 27 Dec 2018 04:05:43 +0100 Subject: [PATCH] Nature reserve boundaries revision (#3574) --- admin.mss | 58 ++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 36 insertions(+), 22 deletions(-) diff --git a/admin.mss b/admin.mss index 750c33df14..4a2ab8115d 100644 --- a/admin.mss +++ b/admin.mss @@ -221,34 +221,48 @@ overlapping borders correctly. } #nature-reserve-boundaries { - [way_pixels > 3000][zoom >= 8] { - [zoom < 10] { + [way_pixels > 3000] { + [zoom >= 8][zoom < 10] { ::fill { opacity: 0.05; polygon-fill: green; } + ::outline { + opacity: 0.25; + line-width: 1.2; + line-color: green; + [zoom >= 9] { + line-width: 1.5; + } + } } - a/line-width: 1; - a/line-offset: -0.5; - a/line-color: green; - a/line-opacity: 0.15; - a/line-join: round; - a/line-cap: round; - b/line-width: 2; - b/line-offset: -1; - b/line-color: green; - b/line-opacity: 0.15; - b/line-join: round; - b/line-cap: round; [zoom >= 10] { - a/line-width: 2; - a/line-offset: -1; - b/line-width: 4; - b/line-offset: -2; - } - [zoom >= 14] { - b/line-width: 6; - b/line-offset: -3; + ::wideline { + opacity: 0.15; + line-width: 3.6; + line-offset: -0.9; + line-color: green; + line-join: round; + line-cap: round; + [zoom >= 12] { + line-width: 4; + line-offset: -1; + } + [zoom >= 14] { + line-width: 6; + line-offset: -2; + } + } + ::narrowline { + opacity: 0.15; + line-width: 1.8; + line-color: green; + line-join: round; + line-cap: round; + [zoom >= 12] { + line-width: 2; + } + } } } }