From c65baa8b98ed2ccd9c3ffb657a613e065b20f481 Mon Sep 17 00:00:00 2001
From: Thomas Young <35073576+DrakeRichards@users.noreply.github.com>
Date: Wed, 17 Jan 2018 14:42:26 -0600
Subject: [PATCH] [Infinity 2d20] Improved readability of stress tracks
Removed the radio buttons from stress tracks; clicking on the labels will now select that value. Adjusted style to make it more obvious which value is selected.
---
Infinity-2d20/Infinity 2d20.css | 12 ++-
Infinity-2d20/Infinity 2d20.html | 132 +++++++++++++++----------------
2 files changed, 76 insertions(+), 68 deletions(-)
diff --git a/Infinity-2d20/Infinity 2d20.css b/Infinity-2d20/Infinity 2d20.css
index 0a6e098eac..fe4ed89b1f 100644
--- a/Infinity-2d20/Infinity 2d20.css
+++ b/Infinity-2d20/Infinity 2d20.css
@@ -113,7 +113,7 @@ button {
border: 1px solid gray;
}
-/* === STRESS === */
+/* === Momentum Tracker === */
.sheet-radio-tracker label {
display: inline;
@@ -131,12 +131,15 @@ td.sheet-radio-tracker {
}
/* STRESS TRACKERS */
+
table.sheet-stress-tracker label {
text-align: center;
+ font-weight: normal;
+ color: DarkGrey;
}
table.sheet-stress-tracker input[type=radio] {
- display: inline;
+ display: none;
width: 5px;
}
@@ -162,6 +165,11 @@ table.sheet-stress-tracker td {
text-align: center;
}
+table.sheet-stress-tracker input:checked + span {
+ color: Black;
+ font-weight: bold;
+}
+
tr.sheet-stress-tracker-harms td:first-child {
text-align: right;
font-weight: bold;
diff --git a/Infinity-2d20/Infinity 2d20.html b/Infinity-2d20/Infinity 2d20.html
index 0b6b0a68d8..3938aa4cf3 100644
--- a/Infinity-2d20/Infinity 2d20.html
+++ b/Infinity-2d20/Infinity 2d20.html
@@ -200,30 +200,30 @@