From 7183511dbf4062535e676bd923856b213d565a52 Mon Sep 17 00:00:00 2001
From: Catalin Mititiuc
Date: Sun, 28 Jul 2024 12:24:24 -0700
Subject: Remove prone toggle
---
public/assets/css/map.css | 16 ++--------------
public/assets/css/style.css | 4 ----
2 files changed, 2 insertions(+), 18 deletions(-)
(limited to 'public/assets/css')
diff --git a/public/assets/css/map.css b/public/assets/css/map.css
index 7d7de6f..feda870 100644
--- a/public/assets/css/map.css
+++ b/public/assets/css/map.css
@@ -78,24 +78,12 @@ g.troop-counter-template text {
stroke: none;
}
-[href="#counter-prone"] {
- transform: translate(-5px, 6px);
-}
-
g.clone {
stroke: white;
stroke-width: 0.5px;
stroke-dasharray: 1;
}
-g.clone [href="#counter-prone"] {
- opacity: 0.5;
-}
-
-.removed[href="#counter-prone"] {
- opacity: 0.5;
-}
-
g[data-allegiance="defender"].clone {
fill: rgb(255, 126, 126);
}
@@ -505,8 +493,8 @@ use[class^="counter-"] {
}
g.counter use[class^="counter-"] {
- --translateX: calc(var(--x) - 5px);
- --translateY: var(--y);
+ --translateX: calc((var(--x)) * 1.25 - 5px);
+ --translateY: calc((var(--y)) * 1.25 - 5px);
}
[data-q][data-r][data-s][data-t] > use[class^="counter-"] {
diff --git a/public/assets/css/style.css b/public/assets/css/style.css
index af9dd2a..f2eef7b 100644
--- a/public/assets/css/style.css
+++ b/public/assets/css/style.css
@@ -91,10 +91,6 @@ g.troop-counter-template text {
stroke: none;
}
-g.troop-counter [href="#counter-prone"] {
- transform: translate(-5px, 6px);
-}
-
text.counter, #troop-counter text {
font-size: 12px;
font-weight: bold;
--
cgit v1.2.3