X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/11aff90f63d79406e9efa1343c965a19dcf5dbba..7f19bade8ee72d77a2e229f4f0ccc863e01d6421:/public/potlatch2/stylesheets/network.css?ds=sidebyside diff --git a/public/potlatch2/stylesheets/network.css b/public/potlatch2/stylesheets/network.css index a8f72a6c0..d2a60a9fb 100644 --- a/public/potlatch2/stylesheets/network.css +++ b/public/potlatch2/stylesheets/network.css @@ -12,12 +12,12 @@ /* Access */ -way[access=private],way[access=no] { z-index: 10; color: red; width: eval('_width+2'); dashes: 2,5;} -way[access=permissive] { z-index: 10; color: green; width: eval('_width+2'); dashes: 1,3;} +way[access=private]::access,way[access=no]::access { z-index: 10; color: red; width: eval('_width+2'); dashes: 2,5;} +way[access=permissive]::access { z-index: 10; color: green; width: eval('_width+2'); dashes: 1,3;} /* Physical */ -way[embankment=yes], way[cutting=yes] +way[embankment=yes]::hatches, way[cutting=yes]::hatches { z-index: 3; opacity: 0.5; color: grey; width: eval('_width+5'); dashes: 2, 2; } /* Interactive behaviour */ @@ -28,8 +28,8 @@ way .area_small_name {text-color: black; font-size: 9; text: name; text-halo: #f /* Direction on selected ways */ -way[highway][!oneway][junction!=roundabout]:selected, -way[aerial_way]:selected { z-index: 14; color: #999922; width: 2; dashes: 3,60; line-style: arrows; } -way[waterway]:selected { z-index: 14; color: #4444CC; width: 2; dashes: 5,60; line-style: arrows; } -way[railway] :selected{ z-index: 14; color: #999999; width: 3; dashes: 4,92; line-style: arrows; } +way[highway][!oneway][junction!=roundabout]::direction :selected, +way[aerial_way]::direction :selected { z-index: 14; color: #999922; width: 2; dashes: 3,60; line-style: arrows; } +way[waterway]::direction :selected { z-index: 14; color: #4444CC; width: 2; dashes: 5,60; line-style: arrows; } +way[railway]::direction :selected{ z-index: 14; color: #999999; width: 3; dashes: 4,92; line-style: arrows; }