diff --git a/src/main/resources/templates/pub/index.html b/src/main/resources/templates/pub/index.html
index 1f140ca..b7daa92 100644
--- a/src/main/resources/templates/pub/index.html
+++ b/src/main/resources/templates/pub/index.html
@@ -13,7 +13,6 @@
.collapsible {
background-color: #333333;
color: black;
- cursor: pointer;
margin-top: 10px;
padding: 18px;
width: 100%;
@@ -39,6 +38,14 @@
background: #333333;
color: #fff
}
+
+ button:hover {
+ background: #444444;
+ }
+ button:active {
+ background: #222222;
+ }
+
input {
margin: 10px;
}
@@ -106,6 +113,11 @@
color: #000
}
+
+ .overlayButton:hover {
+ background: transparent;
+ }
+
.tooltip {
position: fixed;
border-radius: 0.5rem;
@@ -191,7 +203,7 @@
-
+
diff --git a/src/main/resources/templates/results.html b/src/main/resources/templates/results.html
index 926dd1a..484aa3f 100644
--- a/src/main/resources/templates/results.html
+++ b/src/main/resources/templates/results.html
@@ -31,7 +31,7 @@
resultText += '
D' + result.sides + ': [' + values.map(value => value === 1 ? '' + value + '' : value === result.sides ? '' + value + '' : value).join(' + ') + (result.modifier > 0 ? ' +' + result.modifier + '' : result.modifier < 0 ? ' ' + result.modifier + '' : '') + '] = ' + result.value + ' '
})
}
- node.innerHTML = '' + data.name + ': 🎲 ' + resultText
+ node.innerHTML = '' + data.name + ': 🎲 ' + resultText
name.appendChild(node)
document.getElementById('results').insertBefore(name, document.getElementById('results').firstChild);
}