summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'index.html')
-rw-r--r--index.html16
1 files changed, 13 insertions, 3 deletions
diff --git a/index.html b/index.html
index c8e22d3..e0ada22 100644
--- a/index.html
+++ b/index.html
@@ -87,7 +87,7 @@
height: 100%;
flex-grow: 0;
flex-shrink: 0;
- flex-basis: 20%;
+ flex-basis: 20em;
padding: 0.2em;
}
input, button {
@@ -113,8 +113,15 @@
}
.out {
font-weight: bold;
- }
- input[type=number] {
+ cursor: pointer;
+
+ user-select: none; /* most browsers */
+ -webkit-user-select: none; /* old chrome/edge */
+ -moz-user-select: none; /* old firefox */
+ -khtml-user-select: none; /* konqueror apparently lol */
+ -ms-user-select: none; /* IE */
+ }
+ input[type="number"] {
/* disable increment/decrement buttons (firefox) */
-moz-appearance: textfield;
}
@@ -140,6 +147,9 @@
bottom: 0.2em;
right: 0.2em;
}
+ .out[data-active="1"] {
+ color: #ff0;
+ }
.widget-title {
font-weight: bold;
margin: 2px;