Web Dev Solutions

Catalin Mititiuc

From f73241afb8d80ac942935eb0769c03568b5eb4e7 Mon Sep 17 00:00:00 2001 From: Catalin Mititiuc Date: Sat, 6 Apr 2024 10:46:56 -0700 Subject: Sight line logic; I think it works but this conditional is gnarly --- style.css | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'style.css') diff --git a/style.css b/style.css index 4a06a9c..7af36b9 100644 --- a/style.css +++ b/style.css @@ -232,6 +232,12 @@ g#points g use.counter { r: 5px; } +g#points g use.counter.selected { + stroke: orange; + stroke-width: 2px; + r: 6px; +} + g#points g.hover use[href="#point"] { opacity: 1; fill: orange; @@ -242,8 +248,8 @@ g#points g.hover use.counter { } g#points g.hover use.counter:not(.clone) { - stroke: orange; - stroke-width: 2px; + /* stroke: orange; */ + /* stroke-width: 2px; */ } g#points use.counter[data-troop-allegiance="davion"] { @@ -271,9 +277,9 @@ g#points use[data-troop-allegiance="liao"].clone { /* ======================================================= */ -g#counters { +/* g#counters { pointer-events: none; -} +} */ /* g#counters use { r: 5px; -- cgit v1.2.3