index : btroops | |
Virtual board game-aid for BattleTroops, an infantry combat simulator wargame published by FASA in 1989. |
aboutsummaryrefslogtreecommitdiff |
diff options
author | Catalin Mititiuc <webdevcat@proton.me> | 2024-04-26 16:08:40 -0700 |
---|---|---|
committer | Catalin Mititiuc <webdevcat@proton.me> | 2024-04-26 16:08:40 -0700 |
commit | f07d120b4bb245a76bdd80712a33ba8b222d966a (patch) | |
tree | 5cf9ba397848ec29db4d411ba3158aaf620c1fbd /public | |
parent | a5e1ebcd478fea473de68aab738d5fb2cb5ddd7c (diff) |
Refactor sight line module to remove almost all querying for elements
Diffstat (limited to 'public')
-rw-r--r-- | public/map.css | 2 | ||||
-rw-r--r-- | public/style.css | 7 |
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; |