Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCatalin Mititiuc <Catalin.Mititiuc@gmail.com>2024-04-07 11:08:06 -0700
committerCatalin Mititiuc <Catalin.Mititiuc@gmail.com>2024-04-07 11:08:06 -0700
commitdacecbb4f57142b8292bb53955a45f2cd5707f65 (patch)
treec0bc69f4e0c0ee6a5af02eeedfd9e13a31bea57a
parent5afa53ef7aa1ecf50d2ba2eaebb4df0b4337a8a9 (diff)
Remove stroke around selected counters
-rw-r--r--style.css21
1 files 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;
}