diff --git a/index.html b/index.html
index 7a4e456..ec9498e 100755
--- a/index.html
+++ b/index.html
@@ -13,11 +13,11 @@
Wires
@@ -27,10 +27,10 @@
Button
Colour:
-
-
-
-
+
+
+
+
Text:
@@ -43,13 +43,46 @@
If holding the button and the strip colour is
- - Blue: release when timer has a 4 in any position.
- - Yellow: release when timer has a 5 in any position.
+ - Blue: release when timer has a 4 in any position.
+ - Yellow: release when timer has a 5 in any position.
- Other: release when timer has a 1 in any position.
+
+
Display
@@ -264,15 +297,15 @@
Wire Sequence
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
diff --git a/ktane.css b/ktane.css
index ebf9b72..91d6330 100755
--- a/ktane.css
+++ b/ktane.css
@@ -22,29 +22,37 @@ button {
border-width: 1px;
}
-.buttonRed, .buttonYellow, .buttonBlue, .buttonWhite, .buttonBlack {
- color: black;
+.button {
padding: 0.2em;
}
-.buttonRed {
+.red {
background-color: red;
color: white;
}
-.buttonYellow {
+.yellow {
background-color: yellow;
+ color: black;
}
-.buttonBlue {
+.blue {
background-color: blue;
color: white;
}
-.buttonWhite {
+.green {
+ background-color: green;
+ color: white;
+}
+.white {
background-color: white;
border-color: black;
+ color: black;
}
-.buttonBlack {
+.black {
background-color: black;
color: white;
}
+.button.white {
+ border: 1px solid black;
+}
.active {
opacity: 1;
@@ -108,6 +116,34 @@ h2 {
border-width: 1px;
}
+#simonInputs {
+ float: left;
+ margin-right: 5em;
+}
+#simonBoard {
+ display: inline-block;
+ padding-bottom: 40px; /* Compensate for height increase as a result of rotation */
+ transform: rotate(45deg);
+}
+#simonBoard > div > div {
+ border: 2px solid black;
+ display: inline-block;
+ height: 64px;
+ width: 64px;
+}
+#simonBoard > div:first-child > div {
+ border-top-width: 4px;
+}
+#simonBoard > div:last-child > div {
+ border-bottom-width: 4px;
+}
+#simonBoard > div > div:first-child {
+ border-left-width: 4px;
+}
+#simonBoard > div > div:last-child {
+ border-right-width: 4px;
+}
+
#sectionDisplay {
white-space: nowrap;
}
diff --git a/ktane.js b/ktane.js
index 45c63aa..fcd99e1 100755
--- a/ktane.js
+++ b/ktane.js
@@ -350,8 +350,8 @@ $('.jsResetSection').on('click', function () {
$('#sequenceOptions button').on('click', function () {
var colour = this.getAttribute('data-colour'),
letter = this.getAttribute('data-letter'),
- $li = $('');
+ $li = $('');
if (typeof occurrences[colour][count[colour]] !== 'undefined') {
$li.append(occurrences[colour][count[colour]].indexOf(letter) === -1 ? 'Ignore' : 'Cut');