Web Dev Solutions

Catalin Mititiuc

From dacecbb4f57142b8292bb53955a45f2cd5707f65 Mon Sep 17 00:00:00 2001 From: Catalin Mititiuc Date: Sun, 7 Apr 2024 11:08:06 -0700 Subject: Remove stroke around selected counters --- style.css | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/style.css b/style.css index a6387c4..9aeeb55 100644 --- a/style.css +++ b/style.css @@ -239,12 +239,6 @@ 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; @@ -374,6 +368,21 @@ button.set-firing-arc img { background-color: white; } +.soldier-record [slot="troop-number"] { + color: white; + font-weight: bold; + border-radius: 10px; + padding: 0 4px; +} + +.soldier-record[data-troop-allegiance="davion"] [slot="troop-number"] { + background-color: red; +} + +.soldier-record[data-troop-allegiance="liao"] [slot="troop-number"] { + background-color: green; +} + .soldier-record.selected { background-color: khaki; } -- cgit v1.2.3