X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ee7878b288b8d7b018a76988305ed8efe6375866..027bcbd32903713ae5bffae0c932ece1a20d225a:/public/potlatch2/stylesheets/potlatch.css diff --git a/public/potlatch2/stylesheets/potlatch.css b/public/potlatch2/stylesheets/potlatch.css index 34fd3bc4a..88094fc43 100644 --- a/public/potlatch2/stylesheets/potlatch.css +++ b/public/potlatch2/stylesheets/potlatch.css @@ -18,11 +18,11 @@ way .area_small_name {text-color: black; font-size: 9; text: name; text-halo: #ffffaa; text-halo-radius: 2; text-position: center;} @import("stylesheets/core_interactive.css"); -/* Test rendering for licence status */ +/* Rendering for licence status */ -way[_status=no]::status { z-index: 0; width: 20; color: red; } -way[_status=partial]::status { z-index: 0; width: 20; color: red; opacity: 0.4; } -way[_status=unsure]::status { z-index: 0; width: 20; color: orange; opacity: 0.4; } -node[_status=no]::status { z-index: 0; icon-image: square; icon-width: 15; color: red; } -node[_status=partial]::status { z-index: 0; icon-image: square; icon-width: 15; color: red; opacity: 0.4; } -node[_status=unsure]::status { z-index: 0; icon-image: square; icon-width: 15; color: orange; opacity: 0.4; } +way[_status=no]::status { z-index: 0; width: eval('_width+7'); color: red; } +way[_status=partial]::status { z-index: 0; width: eval('_width+7'); color: red; opacity: 0.4; } +way[_status=unsure]::status { z-index: 0; width: eval('_width+7'); color: orange; opacity: 0.4; } +node[_status=no]::status { z-index: 0; icon-image: square; icon-width: eval('_width+7'); color: red; } +node[_status=partial]::status { z-index: 0; icon-image: square; icon-width: eval('_width+7'); color: red; opacity: 0.4; } +node[_status=unsure]::status { z-index: 0; icon-image: square; icon-width: eval('_width+7'); color: orange; opacity: 0.4; }