Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorCatalin Mititiuc <webdevcat@proton.me>2024-04-26 16:08:40 -0700
committerCatalin Mititiuc <webdevcat@proton.me>2024-04-26 16:08:40 -0700
commitf07d120b4bb245a76bdd80712a33ba8b222d966a (patch)
tree5cf9ba397848ec29db4d411ba3158aaf620c1fbd /public
parenta5e1ebcd478fea473de68aab738d5fb2cb5ddd7c (diff)
Refactor sight line module to remove almost all querying for elements
Diffstat (limited to 'public')
-rw-r--r--public/map.css2
-rw-r--r--public/style.css7
2 files changed, 1 insertions, 8 deletions
diff --git a/public/map.css b/public/map.css
index a1a37e9..932d224 100644
--- a/public/map.css
+++ b/public/map.css
@@ -35,7 +35,7 @@ use[href="#hex"].active {
stroke: black;
}
-use[href="#hex"].sight-line-target {
+.sight-line-target use[href="#hex"] {
opacity: 1;
stroke: orangered;
fill-opacity: 0.04;
diff --git a/public/style.css b/public/style.css
index ae19a57..b220b88 100644
--- a/public/style.css
+++ b/public/style.css
@@ -140,13 +140,6 @@ use[href="#point"].active {
opacity: 0.2;
}
-use[href="#point"].sight-line-target {
- opacity: 1;
- stroke: orangered;
- /* stroke-width: 1px; */
- fill-opacity: 0.04;
-}
-
polyline.move-trace {
stroke: gray;
stroke-dasharray: 2;