Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCatalin Mititiuc <webdevcat@proton.me>2024-04-18 19:13:37 -0700
committerCatalin Mititiuc <webdevcat@proton.me>2024-04-18 19:13:37 -0700
commitea2ff860fa53620491385685330e99c71ffc7581 (patch)
treefc2c53991f1eff4e9b96080ba347e8432d37b836 /public/soldier_record_block.css
parentac71447aee59daa5693cc09a50b4b3101fbdefb2 (diff)
Use checkboxes for grenades
Diffstat (limited to 'public/soldier_record_block.css')
-rw-r--r--public/soldier_record_block.css20
1 files changed, 20 insertions, 0 deletions
diff --git a/public/soldier_record_block.css b/public/soldier_record_block.css
index 47bf583..fb1d322 100644
--- a/public/soldier_record_block.css
+++ b/public/soldier_record_block.css
@@ -33,3 +33,23 @@ ul li {
p {
margin: 0;
}
+
+.grenades input {
+ display: none;
+}
+
+.grenades svg {
+ width: 14px;
+ height: 14px;
+ vertical-align: bottom;
+}
+
+.grenades svg circle {
+ fill: none;
+ stroke: black;
+ stroke-width: 2px;
+}
+
+.grenades input:checked + svg circle {
+ fill: gray;
+}