From ea19b179b83d7e11b645029c4c47124172d191f7 Mon Sep 17 00:00:00 2001 From: Andy Allan Date: Wed, 15 Jun 2011 11:55:18 +0100 Subject: [PATCH 1/1] Drop the interactive stuff from opencyclemap.css and use core_interactive instead --- resources/stylesheets/opencyclemap.css | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/resources/stylesheets/opencyclemap.css b/resources/stylesheets/opencyclemap.css index 90af389b..1270ba26 100644 --- a/resources/stylesheets/opencyclemap.css +++ b/resources/stylesheets/opencyclemap.css @@ -132,16 +132,8 @@ way .highlighted { color: pink; } /* Interactive editors may choose different behaviour when a user mouses-over or selects an object. Potlatch 2 supports these but the stand-alone Halcyon viewer does not */ -way :hover { z-index: 2; width: eval('_width+10'); color: #ffff99; } -way :selected { z-index: 2; width: eval('_width+10'); color: yellow; opacity: 0.7;} -way !:drawn { z-index:10; width: 0.5; color: gray; } - -node :selectedway { z-index: 9; icon-image: square; icon-width: 8; color: red; casing-color: #cc0000; casing-width: 1;} -node :hoverway { z-index: 9; icon-image: square; icon-width: 7; color: blue; } -node !:drawn :poi { z-index: 2; icon-image: circle; icon-width: 3; color: lightsteelblue; casing-color: black; casing-width: 1; } -node :selected { z-index: 1; icon-image: square; icon-width: eval('_width+10'); color: yellow; } -node :junction :selectedway { z-index: 8; icon-image: square; icon-width: 12; casing-color: black; casing-width: 1; } - +@import("stylesheets/core_interactive.css"); + /* Descendant selectors provide an easy way to style relations: this example means "any way which is part of a relation whose type=route". */ -- 2.30.0