2020-01-29 08:46:23 +01:00
|
|
|
@import url("https://fonts.googleapis.com/css?family=Courier+Prime:700|Rubik&display=swap");
|
2020-01-22 09:39:05 +01:00
|
|
|
* {
|
|
|
|
|
-webkit-box-sizing: border-box;
|
|
|
|
|
box-sizing: border-box;
|
2019-12-27 09:41:53 +01:00
|
|
|
margin: 0px;
|
|
|
|
|
padding: 0px;
|
2020-01-29 08:46:23 +01:00
|
|
|
cursor: default;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
button {
|
2020-01-30 10:23:56 +01:00
|
|
|
font-family: #f1f1f1;
|
2020-01-29 08:46:23 +01:00
|
|
|
cursor: pointer;
|
2020-01-22 09:39:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
html, body {
|
2019-12-27 09:41:53 +01:00
|
|
|
height: 100%;
|
|
|
|
|
width: 100%;
|
2020-01-30 10:23:56 +01:00
|
|
|
background: #f1f1f1;
|
2019-12-27 09:41:53 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#root {
|
|
|
|
|
height: 100%;
|
|
|
|
|
display: -webkit-box;
|
|
|
|
|
display: -ms-flexbox;
|
|
|
|
|
display: flex;
|
2020-01-22 09:39:05 +01:00
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
|
-webkit-box-direction: normal;
|
|
|
|
|
-ms-flex-direction: column;
|
|
|
|
|
flex-direction: column;
|
2019-12-27 09:41:53 +01:00
|
|
|
-webkit-box-align: center;
|
|
|
|
|
-ms-flex-align: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
width: 100%;
|
2020-01-22 09:39:05 +01:00
|
|
|
border: 3px solid green;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
header {
|
2020-01-30 10:23:56 +01:00
|
|
|
margin-top: 50px;
|
2020-01-22 09:39:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#main-content {
|
2020-01-30 10:23:56 +01:00
|
|
|
display: -webkit-box;
|
|
|
|
|
display: -ms-flexbox;
|
|
|
|
|
display: flex;
|
|
|
|
|
height: 95vh;
|
|
|
|
|
width: 95vw;
|
|
|
|
|
border: 1px solid red;
|
|
|
|
|
-webkit-box-pack: center;
|
|
|
|
|
-ms-flex-pack: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
-webkit-box-align: center;
|
|
|
|
|
-ms-flex-align: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#main-content #sidebar {
|
|
|
|
|
border: 1px solid green;
|
2020-01-22 09:39:05 +01:00
|
|
|
display: -webkit-box;
|
|
|
|
|
display: -ms-flexbox;
|
|
|
|
|
display: flex;
|
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
|
-webkit-box-direction: normal;
|
|
|
|
|
-ms-flex-direction: column;
|
|
|
|
|
flex-direction: column;
|
2020-01-30 10:23:56 +01:00
|
|
|
-ms-flex-pack: distribute;
|
|
|
|
|
justify-content: space-around;
|
|
|
|
|
height: 100%;
|
|
|
|
|
width: 350px;
|
|
|
|
|
padding-top: 50px;
|
|
|
|
|
padding-bottom: 50px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#main-content #main-interface {
|
|
|
|
|
border: 1px solid blue;
|
|
|
|
|
display: -webkit-box;
|
|
|
|
|
display: -ms-flexbox;
|
|
|
|
|
display: flex;
|
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
|
-webkit-box-direction: normal;
|
|
|
|
|
-ms-flex-direction: column;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
-webkit-box-align: center;
|
|
|
|
|
-ms-flex-align: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
-webkit-box-pack: center;
|
|
|
|
|
-ms-flex-pack: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
width: 900px;
|
|
|
|
|
height: 100%;
|
|
|
|
|
min-width: 400px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
i[class*="ri-"] {
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
font-weight: normal;
|
|
|
|
|
font-size: 0.9rem;
|
|
|
|
|
color: #777;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
i[class*="ri-"]:hover {
|
|
|
|
|
color: goldenrod;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#mainOptions {
|
|
|
|
|
display: -webkit-box;
|
|
|
|
|
display: -ms-flexbox;
|
|
|
|
|
display: flex;
|
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
|
-webkit-box-direction: normal;
|
|
|
|
|
-ms-flex-direction: column;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
-webkit-box-align: start;
|
|
|
|
|
-ms-flex-align: start;
|
|
|
|
|
align-items: flex-start;
|
|
|
|
|
width: 100%;
|
|
|
|
|
max-width: 95vw;
|
|
|
|
|
height: 200px;
|
2020-01-22 09:39:05 +01:00
|
|
|
border: 1px solid red;
|
2020-01-30 10:23:56 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#mainOptions .mode-picker {
|
|
|
|
|
width: 100%;
|
|
|
|
|
display: -webkit-box;
|
|
|
|
|
display: -ms-flexbox;
|
|
|
|
|
display: flex;
|
|
|
|
|
-ms-flex-item-align: start;
|
|
|
|
|
align-self: flex-start;
|
|
|
|
|
-ms-flex-line-pack: center;
|
|
|
|
|
align-content: center;
|
|
|
|
|
-webkit-box-pack: start;
|
|
|
|
|
-ms-flex-pack: start;
|
|
|
|
|
justify-content: flex-start;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#mainOptions .mode-picker #title {
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#mainOptions .mode-picker #buttons {
|
|
|
|
|
display: -webkit-box;
|
|
|
|
|
display: -ms-flexbox;
|
|
|
|
|
display: flex;
|
|
|
|
|
-webkit-box-pack: justify;
|
|
|
|
|
-ms-flex-pack: justify;
|
|
|
|
|
justify-content: space-between;
|
2020-01-25 08:32:08 +01:00
|
|
|
-webkit-box-align: center;
|
|
|
|
|
-ms-flex-align: center;
|
|
|
|
|
align-items: center;
|
2019-12-27 09:41:53 +01:00
|
|
|
}
|
|
|
|
|
|
2020-01-30 10:23:56 +01:00
|
|
|
#mainOptions .mode-picker #buttons button {
|
|
|
|
|
height: 1.4rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#mainOptions .mode-picker #input {
|
|
|
|
|
margin-left: 10px;
|
|
|
|
|
display: -webkit-box;
|
|
|
|
|
display: -ms-flexbox;
|
|
|
|
|
display: flex;
|
|
|
|
|
-webkit-box-align: center;
|
|
|
|
|
-ms-flex-align: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#mainOptions .mode-picker #input input {
|
|
|
|
|
width: 50px;
|
|
|
|
|
-webkit-appearance: textfield;
|
|
|
|
|
-moz-appearance: textfield;
|
|
|
|
|
appearance: textfield;
|
|
|
|
|
text-align: center;
|
|
|
|
|
border-radius: 3px;
|
|
|
|
|
border: 1px solid #ddd;
|
|
|
|
|
height: 1.3rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#mainOptions .mode-picker #input select {
|
|
|
|
|
height: 1.4rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#mainOptions .mode-picker #input button {
|
|
|
|
|
height: 20px;
|
|
|
|
|
width: 20px;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
line-height: 10px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#mainOptions .mode-picker #input button i {
|
|
|
|
|
position: relative;
|
|
|
|
|
left: -2px;
|
|
|
|
|
}
|
|
|
|
|
|
2020-01-17 21:23:17 +01:00
|
|
|
.mode-picker {
|
2019-12-27 09:41:53 +01:00
|
|
|
display: -webkit-box;
|
|
|
|
|
display: -ms-flexbox;
|
|
|
|
|
display: flex;
|
2020-01-09 10:06:38 +01:00
|
|
|
-ms-flex-item-align: center;
|
|
|
|
|
align-self: center;
|
2019-12-27 09:41:53 +01:00
|
|
|
}
|
|
|
|
|
|
2020-01-29 08:46:23 +01:00
|
|
|
.mode-picker #title {
|
|
|
|
|
display: -webkit-box;
|
|
|
|
|
display: -ms-flexbox;
|
|
|
|
|
display: flex;
|
|
|
|
|
-webkit-box-pack: center;
|
|
|
|
|
-ms-flex-pack: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
-webkit-box-align: center;
|
|
|
|
|
-ms-flex-align: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
margin: 7px;
|
|
|
|
|
}
|
|
|
|
|
|
2020-01-17 21:23:17 +01:00
|
|
|
.mode-picker button {
|
2020-01-30 10:23:56 +01:00
|
|
|
background: #f1f1f1;
|
2020-01-29 08:46:23 +01:00
|
|
|
color: #333;
|
|
|
|
|
margin: 7px;
|
2019-12-27 09:41:53 +01:00
|
|
|
padding: 5px;
|
2020-01-29 08:46:23 +01:00
|
|
|
-webkit-box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.2), 0px -1px 1px white;
|
|
|
|
|
box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.2), 0px -1px 1px white;
|
2020-01-09 10:06:38 +01:00
|
|
|
border: 0px;
|
2020-01-25 08:32:08 +01:00
|
|
|
border-radius: 5px;
|
2019-12-27 09:41:53 +01:00
|
|
|
}
|
|
|
|
|
|
2020-01-17 21:23:17 +01:00
|
|
|
.mode-picker .selected {
|
2020-01-29 08:46:23 +01:00
|
|
|
-webkit-box-shadow: inset 0px 2px 2px rgba(0, 0, 0, 0.2), inset 0px -1px 1px white;
|
|
|
|
|
box-shadow: inset 0px 2px 2px rgba(0, 0, 0, 0.2), inset 0px -1px 1px white;
|
2020-01-17 21:23:17 +01:00
|
|
|
}
|
|
|
|
|
|
2020-01-15 09:41:40 +01:00
|
|
|
#legend {
|
2020-01-30 10:23:56 +01:00
|
|
|
background: #f1f1f1;
|
|
|
|
|
width: 100%;
|
|
|
|
|
max-width: 95vw;
|
2020-01-15 09:41:40 +01:00
|
|
|
display: -webkit-box;
|
|
|
|
|
display: -ms-flexbox;
|
|
|
|
|
display: flex;
|
|
|
|
|
-webkit-box-pack: space-evenly;
|
|
|
|
|
-ms-flex-pack: space-evenly;
|
|
|
|
|
justify-content: space-evenly;
|
2020-01-29 08:46:23 +01:00
|
|
|
top: 250px;
|
2020-01-25 08:32:08 +01:00
|
|
|
left: 50px;
|
2020-01-15 09:41:40 +01:00
|
|
|
-ms-flex-wrap: wrap;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#legend div {
|
2020-01-29 08:46:23 +01:00
|
|
|
border: 1px solid #ccc;
|
2020-01-28 10:13:32 +01:00
|
|
|
border-radius: 3px;
|
|
|
|
|
margin: 1px;
|
2020-01-15 09:41:40 +01:00
|
|
|
width: 80px;
|
|
|
|
|
display: -webkit-box;
|
|
|
|
|
display: -ms-flexbox;
|
|
|
|
|
display: flex;
|
|
|
|
|
-ms-flex-wrap: nowrap;
|
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#legend div button {
|
2020-01-28 10:13:32 +01:00
|
|
|
width: 20px;
|
|
|
|
|
height: 20px;
|
2020-01-15 09:41:40 +01:00
|
|
|
margin: 4px;
|
2020-01-28 10:13:32 +01:00
|
|
|
border: 0px;
|
|
|
|
|
border-radius: 2px;
|
2020-01-29 08:46:23 +01:00
|
|
|
-webkit-box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.2), 0px -1px 1px white;
|
|
|
|
|
box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.2), 0px -1px 1px white;
|
2020-01-28 10:13:32 +01:00
|
|
|
}
|
|
|
|
|
|
2020-01-30 10:23:56 +01:00
|
|
|
#legend div button:active {
|
|
|
|
|
-webkit-transform: translateY(3px);
|
|
|
|
|
transform: translateY(3px);
|
|
|
|
|
-webkit-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.3);
|
|
|
|
|
box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.3);
|
|
|
|
|
}
|
|
|
|
|
|
2020-01-28 10:13:32 +01:00
|
|
|
#legend div span {
|
|
|
|
|
width: 60%;
|
|
|
|
|
-webkit-box-pack: center;
|
|
|
|
|
-ms-flex-pack: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
text-align: center;
|
2020-01-15 09:41:40 +01:00
|
|
|
}
|
|
|
|
|
|
2019-12-27 09:41:53 +01:00
|
|
|
#morseButton {
|
2020-01-30 10:23:56 +01:00
|
|
|
width: 400px;
|
|
|
|
|
height: 55px;
|
2020-01-29 08:46:23 +01:00
|
|
|
margin-top: 30px;
|
|
|
|
|
margin-bottom: 10px;
|
2020-01-30 10:23:56 +01:00
|
|
|
border-radius: 5px;
|
2019-12-27 09:41:53 +01:00
|
|
|
-ms-flex-item-align: center;
|
|
|
|
|
align-self: center;
|
2020-01-18 11:38:21 +01:00
|
|
|
display: -webkit-box;
|
|
|
|
|
display: -ms-flexbox;
|
|
|
|
|
display: flex;
|
|
|
|
|
-webkit-box-pack: center;
|
|
|
|
|
-ms-flex-pack: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
-webkit-box-align: center;
|
|
|
|
|
-ms-flex-align: center;
|
|
|
|
|
align-items: center;
|
2020-01-29 08:46:23 +01:00
|
|
|
-webkit-box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.2), 0px -1px 1px white;
|
|
|
|
|
box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.2), 0px -1px 1px white;
|
2020-01-30 10:23:56 +01:00
|
|
|
-webkit-transition: width 500ms ease-out, background 500ms ease-out, -webkit-transform 40ms ease-out, -webkit-box-shadow 40ms ease-out;
|
|
|
|
|
transition: width 500ms ease-out, background 500ms ease-out, -webkit-transform 40ms ease-out, -webkit-box-shadow 40ms ease-out;
|
|
|
|
|
transition: transform 40ms ease-out, box-shadow 40ms ease-out, width 500ms ease-out, background 500ms ease-out;
|
|
|
|
|
transition: transform 40ms ease-out, box-shadow 40ms ease-out, width 500ms ease-out, background 500ms ease-out, -webkit-transform 40ms ease-out, -webkit-box-shadow 40ms ease-out;
|
2020-01-18 11:38:21 +01:00
|
|
|
}
|
|
|
|
|
|
2020-01-30 10:23:56 +01:00
|
|
|
#morseButton.active {
|
|
|
|
|
-webkit-transform: translateY(3px);
|
|
|
|
|
transform: translateY(3px);
|
|
|
|
|
-webkit-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.3);
|
|
|
|
|
box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.3);
|
2020-01-29 08:46:23 +01:00
|
|
|
}
|
|
|
|
|
|
2020-01-30 10:23:56 +01:00
|
|
|
#morseButton button {
|
2020-01-22 09:39:05 +01:00
|
|
|
font-size: 1rem;
|
|
|
|
|
color: transparent;
|
2020-01-30 10:23:56 +01:00
|
|
|
width: 200px;
|
|
|
|
|
height: 55px;
|
|
|
|
|
background: #f4f4f4;
|
2020-01-18 11:38:21 +01:00
|
|
|
margin: 0px;
|
|
|
|
|
border: 0px;
|
2020-01-30 10:23:56 +01:00
|
|
|
-webkit-transition: width 500ms ease-out, background 500ms ease-out, -webkit-transform 40ms ease-out, -webkit-box-shadow 40ms ease-out;
|
|
|
|
|
transition: width 500ms ease-out, background 500ms ease-out, -webkit-transform 40ms ease-out, -webkit-box-shadow 40ms ease-out;
|
|
|
|
|
transition: transform 40ms ease-out, box-shadow 40ms ease-out, width 500ms ease-out, background 500ms ease-out;
|
|
|
|
|
transition: transform 40ms ease-out, box-shadow 40ms ease-out, width 500ms ease-out, background 500ms ease-out, -webkit-transform 40ms ease-out, -webkit-box-shadow 40ms ease-out;
|
2020-01-18 11:38:21 +01:00
|
|
|
}
|
|
|
|
|
|
2020-01-30 10:23:56 +01:00
|
|
|
#morseButton button.showPaddles {
|
|
|
|
|
color: #888;
|
|
|
|
|
font-size: 1rem;
|
2020-01-22 09:39:05 +01:00
|
|
|
font-weight: bold;
|
2020-01-30 10:23:56 +01:00
|
|
|
width: 60px;
|
|
|
|
|
height: 55px;
|
2020-01-29 08:46:23 +01:00
|
|
|
-webkit-box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.2), 0px -1px 1px white;
|
|
|
|
|
box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.2), 0px -1px 1px white;
|
|
|
|
|
}
|
|
|
|
|
|
2020-01-30 10:23:56 +01:00
|
|
|
#morseButton button#left {
|
|
|
|
|
border-radius: 5px 0 0 5px;
|
2020-01-29 08:46:23 +01:00
|
|
|
}
|
|
|
|
|
|
2020-01-30 10:23:56 +01:00
|
|
|
#morseButton button#left.showPaddles {
|
|
|
|
|
margin-right: 7px;
|
|
|
|
|
border-radius: 5px;
|
2020-01-29 08:46:23 +01:00
|
|
|
}
|
|
|
|
|
|
2020-01-30 10:23:56 +01:00
|
|
|
#morseButton button#right {
|
|
|
|
|
border-radius: 0 5px 5px 0;
|
2020-01-29 08:46:23 +01:00
|
|
|
}
|
|
|
|
|
|
2020-01-30 10:23:56 +01:00
|
|
|
#morseButton button#right.showPaddles {
|
|
|
|
|
margin-left: 7px;
|
|
|
|
|
border-radius: 5px;
|
2020-01-29 08:46:23 +01:00
|
|
|
}
|
|
|
|
|
|
2020-01-30 10:23:56 +01:00
|
|
|
#morseButton button.active {
|
|
|
|
|
-webkit-transform: translateY(3px);
|
|
|
|
|
transform: translateY(3px);
|
|
|
|
|
-webkit-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.3);
|
|
|
|
|
box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.3);
|
2020-01-29 08:46:23 +01:00
|
|
|
}
|
|
|
|
|
|
2020-01-30 10:23:56 +01:00
|
|
|
#morseButton.showPaddles {
|
|
|
|
|
width: 134px;
|
|
|
|
|
background: transparent;
|
|
|
|
|
-webkit-box-shadow: 0px 0px 0px transparent;
|
|
|
|
|
box-shadow: 0px 0px 0px transparent;
|
2020-01-29 08:46:23 +01:00
|
|
|
}
|
|
|
|
|
|
2020-01-30 10:23:56 +01:00
|
|
|
#morseButtonText {
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
color: #bbb;
|
|
|
|
|
font-size: 0.7rem;
|
|
|
|
|
margin-bottom: 40px;
|
2020-01-29 08:46:23 +01:00
|
|
|
}
|
|
|
|
|
|
2020-01-30 10:23:56 +01:00
|
|
|
#paddleText {
|
|
|
|
|
width: 140px;
|
|
|
|
|
display: -webkit-box;
|
|
|
|
|
display: -ms-flexbox;
|
|
|
|
|
display: flex;
|
|
|
|
|
-ms-flex-pack: distribute;
|
|
|
|
|
justify-content: space-around;
|
2019-12-27 09:41:53 +01:00
|
|
|
}
|
|
|
|
|
|
2020-01-09 10:06:38 +01:00
|
|
|
#challengeWord {
|
|
|
|
|
display: -webkit-box;
|
|
|
|
|
display: -ms-flexbox;
|
|
|
|
|
display: flex;
|
|
|
|
|
-webkit-box-pack: center;
|
|
|
|
|
-ms-flex-pack: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
-webkit-box-align: center;
|
|
|
|
|
-ms-flex-align: center;
|
|
|
|
|
align-items: center;
|
2020-01-30 10:23:56 +01:00
|
|
|
-ms-flex-item-align: center;
|
|
|
|
|
align-self: center;
|
2020-01-09 10:06:38 +01:00
|
|
|
height: 50px;
|
|
|
|
|
width: -webkit-fit-content;
|
|
|
|
|
width: -moz-fit-content;
|
|
|
|
|
width: fit-content;
|
2020-01-30 10:23:56 +01:00
|
|
|
margin-bottom: 20px;
|
|
|
|
|
padding-left: 10px;
|
|
|
|
|
padding-right: 10px;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
-webkit-box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.2), 0px -1px 1px white;
|
|
|
|
|
box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.2), 0px -1px 1px white;
|
2020-01-29 08:46:23 +01:00
|
|
|
font-size: 3rem;
|
2020-01-30 10:23:56 +01:00
|
|
|
font-family: "Courier", monospace;
|
2020-01-09 10:06:38 +01:00
|
|
|
font-weight: bold;
|
2020-01-30 10:23:56 +01:00
|
|
|
background: #fdfdfd;
|
2020-01-09 10:06:38 +01:00
|
|
|
text-transform: uppercase;
|
2020-01-22 07:58:35 +01:00
|
|
|
-webkit-transition: all 300ms ease-in-out;
|
|
|
|
|
transition: all 300ms ease-in-out;
|
2020-01-09 10:06:38 +01:00
|
|
|
}
|
|
|
|
|
|
2020-01-19 19:26:55 +01:00
|
|
|
#challengeWord span {
|
|
|
|
|
padding: 4px;
|
|
|
|
|
margin: 1px;
|
2020-01-29 08:46:23 +01:00
|
|
|
line-height: 2.5rem;
|
2020-01-22 07:58:35 +01:00
|
|
|
-webkit-transition: background 300ms ease-in-out;
|
|
|
|
|
transition: background 300ms ease-in-out;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#challengeWord.correct {
|
|
|
|
|
background: rgba(0, 200, 0, 0.7);
|
2020-01-19 19:26:55 +01:00
|
|
|
}
|
|
|
|
|
|
2020-01-25 08:32:08 +01:00
|
|
|
#morseBufferDisplay {
|
|
|
|
|
border: 1px solid green;
|
|
|
|
|
display: -webkit-box;
|
|
|
|
|
display: -ms-flexbox;
|
|
|
|
|
display: flex;
|
|
|
|
|
-webkit-box-pack: center;
|
|
|
|
|
-ms-flex-pack: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
|
-webkit-box-direction: reverse;
|
|
|
|
|
-ms-flex-direction: column-reverse;
|
|
|
|
|
flex-direction: column-reverse;
|
|
|
|
|
-webkit-box-align: center;
|
|
|
|
|
-ms-flex-align: center;
|
|
|
|
|
align-items: center;
|
2020-01-30 10:23:56 +01:00
|
|
|
width: 100%;
|
2020-01-25 08:32:08 +01:00
|
|
|
height: 150px;
|
|
|
|
|
margin-bottom: 20px;
|
2020-01-30 10:23:56 +01:00
|
|
|
font-family: "Courier", monospace;
|
|
|
|
|
font-weight: bold;
|
2020-01-25 08:32:08 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#morseBufferDisplay #alphanumeric-container {
|
2020-01-29 08:46:23 +01:00
|
|
|
background: #fdfdfd;
|
2020-01-25 08:32:08 +01:00
|
|
|
display: -webkit-box;
|
|
|
|
|
display: -ms-flexbox;
|
|
|
|
|
display: flex;
|
|
|
|
|
padding-left: 5px;
|
2020-01-30 10:23:56 +01:00
|
|
|
height: 3rem;
|
2020-01-28 10:13:32 +01:00
|
|
|
min-width: 250px;
|
2020-01-25 08:32:08 +01:00
|
|
|
margin-bottom: 10px;
|
|
|
|
|
display: flex;
|
|
|
|
|
-webkit-box-pack: center;
|
|
|
|
|
-ms-flex-pack: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
-webkit-box-align: center;
|
|
|
|
|
-ms-flex-align: center;
|
|
|
|
|
align-items: center;
|
2020-01-28 10:13:32 +01:00
|
|
|
border-radius: 4px;
|
2020-01-30 10:23:56 +01:00
|
|
|
-webkit-box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.2), 0px -1px 1px white;
|
|
|
|
|
box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.2), 0px -1px 1px white;
|
2020-01-25 08:32:08 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#morseBufferDisplay #alphanumeric-container #alphanumeric {
|
2020-01-30 10:23:56 +01:00
|
|
|
font-size: 3rem;
|
2020-01-25 08:32:08 +01:00
|
|
|
background-color: transparent;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#morseBufferDisplay #alphanumeric-container #alphanumeric:first-child {
|
|
|
|
|
padding-left: 5px;
|
|
|
|
|
padding-right: 5px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#morseBufferDisplay #alphanumeric-container #alphanumeric span {
|
|
|
|
|
padding: 4px;
|
|
|
|
|
-webkit-transition: background 300ms ease-in-out;
|
|
|
|
|
transition: background 300ms ease-in-out;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#morseBufferDisplay #ditDahs {
|
|
|
|
|
height: 50px;
|
|
|
|
|
padding-right: 5px;
|
|
|
|
|
display: -webkit-box;
|
|
|
|
|
display: -ms-flexbox;
|
|
|
|
|
display: flex;
|
|
|
|
|
-webkit-box-orient: horizontal;
|
|
|
|
|
-webkit-box-direction: normal;
|
|
|
|
|
-ms-flex-direction: row;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
-webkit-box-pack: center;
|
|
|
|
|
-ms-flex-pack: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
font-size: 25px;
|
2020-01-29 08:46:23 +01:00
|
|
|
font-family: "Courier", monospace;
|
2020-01-25 08:32:08 +01:00
|
|
|
font-weight: bold;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#morseBufferDisplay #ditDahs span {
|
|
|
|
|
padding: 4px;
|
|
|
|
|
-webkit-transition: background 100ms ease-in-out;
|
|
|
|
|
transition: background 100ms ease-in-out;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#morseBufferDisplay #ditDahs .ditDah {
|
2020-01-29 08:46:23 +01:00
|
|
|
background: #fdfdfd;
|
2020-01-25 08:32:08 +01:00
|
|
|
height: 40px;
|
|
|
|
|
width: 30px !important;
|
|
|
|
|
margin-left: 3px;
|
|
|
|
|
border-radius: 5px;
|
2020-01-28 10:13:32 +01:00
|
|
|
-webkit-box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.2), 0px -1px 1px rgba(255, 255, 255, 0.1);
|
|
|
|
|
box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.2), 0px -1px 1px rgba(255, 255, 255, 0.1);
|
2020-01-25 08:32:08 +01:00
|
|
|
display: -webkit-box;
|
|
|
|
|
display: -ms-flexbox;
|
|
|
|
|
display: flex;
|
|
|
|
|
-webkit-box-pack: center;
|
|
|
|
|
-ms-flex-pack: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
-webkit-box-align: center;
|
|
|
|
|
-ms-flex-align: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
-webkit-transition: all 100ms ease-in-out;
|
|
|
|
|
transition: all 100ms ease-in-out;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#challengeBufferDisplay {
|
2019-12-27 09:41:53 +01:00
|
|
|
display: -webkit-box;
|
|
|
|
|
display: -ms-flexbox;
|
|
|
|
|
display: flex;
|
|
|
|
|
-webkit-box-pack: center;
|
|
|
|
|
-ms-flex-pack: center;
|
|
|
|
|
justify-content: center;
|
2020-01-19 19:26:55 +01:00
|
|
|
border: 1px solid green;
|
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
|
-webkit-box-direction: normal;
|
|
|
|
|
-ms-flex-direction: column;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
-webkit-box-align: center;
|
|
|
|
|
-ms-flex-align: center;
|
|
|
|
|
align-items: center;
|
2019-12-27 09:41:53 +01:00
|
|
|
width: 100%;
|
2020-01-25 08:32:08 +01:00
|
|
|
height: 150px;
|
2020-01-03 08:53:56 +01:00
|
|
|
margin-bottom: 20px;
|
2020-01-30 10:23:56 +01:00
|
|
|
font-family: "Courier", monospace;
|
2020-01-29 08:46:23 +01:00
|
|
|
font-weight: bold;
|
2019-12-27 09:41:53 +01:00
|
|
|
}
|
|
|
|
|
|
2020-01-25 08:32:08 +01:00
|
|
|
#challengeBufferDisplay #alphanumeric-container {
|
2020-01-19 19:26:55 +01:00
|
|
|
padding-left: 5px;
|
|
|
|
|
width: 50%;
|
|
|
|
|
display: -webkit-box;
|
|
|
|
|
display: -ms-flexbox;
|
|
|
|
|
display: flex;
|
|
|
|
|
-webkit-box-pack: center;
|
|
|
|
|
-ms-flex-pack: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
}
|
|
|
|
|
|
2020-01-25 08:32:08 +01:00
|
|
|
#challengeBufferDisplay #alphanumeric-container #alphanumeric {
|
2020-01-19 19:26:55 +01:00
|
|
|
font-size: 40px;
|
|
|
|
|
background-color: transparent;
|
2020-01-21 12:43:21 +01:00
|
|
|
margin-bottom: 10px;
|
2020-01-19 19:26:55 +01:00
|
|
|
}
|
|
|
|
|
|
2020-01-25 08:32:08 +01:00
|
|
|
#challengeBufferDisplay #alphanumeric-container #alphanumeric:first-child {
|
2020-01-19 19:26:55 +01:00
|
|
|
padding-left: 5px;
|
|
|
|
|
padding-right: 5px;
|
|
|
|
|
}
|
|
|
|
|
|
2020-01-25 08:32:08 +01:00
|
|
|
#challengeBufferDisplay #alphanumeric-container #alphanumeric span {
|
2020-01-21 12:43:21 +01:00
|
|
|
padding: 4px;
|
2020-01-28 02:39:11 +01:00
|
|
|
-webkit-transition: background 100ms ease-in-out;
|
|
|
|
|
transition: background 100ms ease-in-out;
|
2020-01-21 12:43:21 +01:00
|
|
|
}
|
|
|
|
|
|
2020-01-25 08:32:08 +01:00
|
|
|
#challengeBufferDisplay #ditDahs {
|
2019-12-27 09:41:53 +01:00
|
|
|
width: 50%;
|
|
|
|
|
padding-right: 5px;
|
|
|
|
|
display: -webkit-box;
|
|
|
|
|
display: -ms-flexbox;
|
|
|
|
|
display: flex;
|
|
|
|
|
-webkit-box-orient: horizontal;
|
|
|
|
|
-webkit-box-direction: normal;
|
|
|
|
|
-ms-flex-direction: row;
|
|
|
|
|
flex-direction: row;
|
2020-01-19 19:26:55 +01:00
|
|
|
-webkit-box-pack: center;
|
|
|
|
|
-ms-flex-pack: center;
|
|
|
|
|
justify-content: center;
|
2020-01-21 12:43:21 +01:00
|
|
|
font-size: 25px;
|
2020-01-29 08:46:23 +01:00
|
|
|
font-family: "Courier", monospace;
|
2020-01-21 12:43:21 +01:00
|
|
|
font-weight: bold;
|
|
|
|
|
}
|
|
|
|
|
|
2020-01-25 08:32:08 +01:00
|
|
|
#challengeBufferDisplay #ditDahs span {
|
2020-01-21 12:43:21 +01:00
|
|
|
padding: 4px;
|
|
|
|
|
-webkit-transition: background 100ms ease-in-out;
|
|
|
|
|
transition: background 100ms ease-in-out;
|
2019-12-27 09:41:53 +01:00
|
|
|
}
|
|
|
|
|
|
2020-01-25 08:32:08 +01:00
|
|
|
#challengeBufferDisplay #ditDahs .ditDah {
|
2019-12-27 09:41:53 +01:00
|
|
|
height: 40px;
|
|
|
|
|
width: 30px !important;
|
|
|
|
|
margin-left: 3px;
|
2020-01-25 08:32:08 +01:00
|
|
|
border-radius: 5px;
|
2020-01-29 08:46:23 +01:00
|
|
|
-webkit-box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.2), 0px -1px 1px white;
|
|
|
|
|
box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.2), 0px -1px 1px white;
|
2019-12-27 09:41:53 +01:00
|
|
|
display: -webkit-box;
|
|
|
|
|
display: -ms-flexbox;
|
|
|
|
|
display: flex;
|
|
|
|
|
-webkit-box-pack: center;
|
|
|
|
|
-ms-flex-pack: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
-webkit-box-align: center;
|
|
|
|
|
-ms-flex-align: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.space {
|
|
|
|
|
font-size: 20px;
|
|
|
|
|
}
|
|
|
|
|
|
2020-01-22 09:39:05 +01:00
|
|
|
.strike {
|
|
|
|
|
text-decoration: line-through;
|
|
|
|
|
opacity: 30%;
|
|
|
|
|
}
|
|
|
|
|
|
2019-12-27 09:41:53 +01:00
|
|
|
.morseError {
|
|
|
|
|
background: rgba(255, 0, 0, 0.4);
|
2020-01-03 08:53:56 +01:00
|
|
|
color: #780000;
|
|
|
|
|
border-radius: 5px;
|
2019-12-27 09:41:53 +01:00
|
|
|
}
|
|
|
|
|
|
2020-01-10 03:24:54 +01:00
|
|
|
.correct {
|
|
|
|
|
background: rgba(0, 255, 0, 0.4);
|
|
|
|
|
border-radius: 5px;
|
|
|
|
|
}
|
|
|
|
|
|
2020-01-30 10:23:56 +01:00
|
|
|
#morseHistory-textbox {
|
|
|
|
|
border: 1px solid cyan;
|
|
|
|
|
display: -webkit-box;
|
|
|
|
|
display: -ms-flexbox;
|
|
|
|
|
display: flex;
|
|
|
|
|
height: 150px;
|
|
|
|
|
width: 75%;
|
|
|
|
|
padding: 15px;
|
|
|
|
|
font-family: Courier;
|
|
|
|
|
font-size: 1.5rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#morseHistory-textbox span {
|
|
|
|
|
background: #CCC;
|
|
|
|
|
margin-right: 0.7rem;
|
|
|
|
|
height: 1.5rem;
|
|
|
|
|
}
|
|
|
|
|
|
2020-01-25 08:32:08 +01:00
|
|
|
#morseHistory {
|
2020-01-30 10:23:56 +01:00
|
|
|
border: 1px solid purple;
|
2019-12-27 09:41:53 +01:00
|
|
|
display: -webkit-box;
|
|
|
|
|
display: -ms-flexbox;
|
|
|
|
|
display: flex;
|
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
|
-webkit-box-direction: normal;
|
|
|
|
|
-ms-flex-direction: column;
|
|
|
|
|
flex-direction: column;
|
2020-01-30 10:23:56 +01:00
|
|
|
width: 100%;
|
2019-12-27 09:41:53 +01:00
|
|
|
}
|
|
|
|
|
|
2020-01-25 08:32:08 +01:00
|
|
|
#morseHistory .morseCard:nth-child(1) {
|
2019-12-27 09:41:53 +01:00
|
|
|
opacity: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
2020-01-25 08:32:08 +01:00
|
|
|
#morseHistory .morseCard:nth-child(2) {
|
2020-01-29 08:46:23 +01:00
|
|
|
opacity: 85%;
|
2020-01-25 08:32:08 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#morseHistory .morseCard:nth-child(3) {
|
2020-01-29 08:46:23 +01:00
|
|
|
opacity: 70%;
|
2020-01-25 08:32:08 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#morseHistory .morseCard:nth-child(4) {
|
2020-01-29 08:46:23 +01:00
|
|
|
opacity: 55%;
|
2019-12-27 09:41:53 +01:00
|
|
|
}
|
|
|
|
|
|
2020-01-25 08:32:08 +01:00
|
|
|
#morseHistory .morseCard:nth-child(5) {
|
|
|
|
|
opacity: 40%;
|
|
|
|
|
}
|
|
|
|
|
|
2020-01-29 08:46:23 +01:00
|
|
|
#morseHistory .morseCard:nth-child(6) {
|
2020-01-25 08:32:08 +01:00
|
|
|
opacity: 20%;
|
|
|
|
|
}
|
|
|
|
|
|
2020-01-29 08:46:23 +01:00
|
|
|
#morseHistory .morseCard:nth-child(7) {
|
2019-12-27 09:41:53 +01:00
|
|
|
opacity: 10%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.morseCard {
|
|
|
|
|
display: -webkit-box;
|
|
|
|
|
display: -ms-flexbox;
|
|
|
|
|
display: flex;
|
|
|
|
|
-webkit-box-orient: horizontal !important;
|
|
|
|
|
-webkit-box-direction: normal !important;
|
|
|
|
|
-ms-flex-direction: row !important;
|
|
|
|
|
flex-direction: row !important;
|
|
|
|
|
-webkit-box-pack: center;
|
|
|
|
|
-ms-flex-pack: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
/* border: 1px solid orange; */
|
|
|
|
|
margin-bottom: 2px;
|
2020-01-30 10:23:56 +01:00
|
|
|
font-size: 1.7rem;
|
|
|
|
|
font-family: "Courier", monospace;
|
2019-12-27 09:41:53 +01:00
|
|
|
/* width: 100%; */
|
|
|
|
|
}
|
|
|
|
|
|
2020-01-03 08:53:56 +01:00
|
|
|
.morseCard div div {
|
2020-01-30 10:23:56 +01:00
|
|
|
padding: 3px;
|
2020-01-29 08:46:23 +01:00
|
|
|
margin: 2px;
|
|
|
|
|
background: #fdfdfd;
|
2019-12-27 09:41:53 +01:00
|
|
|
white-space: nowrap;
|
2020-01-29 08:46:23 +01:00
|
|
|
border-radius: 3px;
|
2020-01-03 08:53:56 +01:00
|
|
|
-webkit-box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.2);
|
|
|
|
|
box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.2);
|
2020-01-30 10:23:56 +01:00
|
|
|
line-height: 1.7rem;
|
2020-01-29 08:46:23 +01:00
|
|
|
display: -webkit-box;
|
|
|
|
|
display: -ms-flexbox;
|
|
|
|
|
display: flex;
|
2020-01-03 08:53:56 +01:00
|
|
|
}
|
|
|
|
|
|
2020-01-30 10:23:56 +01:00
|
|
|
.morseCard div div span.morseError {
|
|
|
|
|
background: rgba(255, 0, 0, 0.4);
|
|
|
|
|
height: 1.7rem;
|
|
|
|
|
color: #780000;
|
|
|
|
|
border-radius: 5px;
|
|
|
|
|
}
|
|
|
|
|
|
2020-01-03 08:53:56 +01:00
|
|
|
.morseCard .ditDahs-container, .morseCard .alphanumeric-container {
|
|
|
|
|
display: -webkit-box;
|
|
|
|
|
display: -ms-flexbox;
|
|
|
|
|
display: flex;
|
|
|
|
|
width: 50%;
|
2020-01-25 08:32:08 +01:00
|
|
|
font-weight: bold;
|
2020-01-03 08:53:56 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.morseCard .ditDahs-container {
|
|
|
|
|
-webkit-box-pack: end;
|
|
|
|
|
-ms-flex-pack: end;
|
|
|
|
|
justify-content: flex-end;
|
2019-12-27 09:41:53 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.morseCard .ditDahs {
|
|
|
|
|
display: -webkit-box;
|
|
|
|
|
display: -ms-flexbox;
|
|
|
|
|
display: flex;
|
|
|
|
|
-webkit-box-pack: end;
|
|
|
|
|
-ms-flex-pack: end;
|
|
|
|
|
justify-content: flex-end;
|
|
|
|
|
-webkit-box-align: center;
|
|
|
|
|
-ms-flex-align: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
overflow-wrap: break-word;
|
2020-01-29 08:46:23 +01:00
|
|
|
font-family: "Courier", monospace;
|
|
|
|
|
font-weight: bold;
|
2019-12-27 09:41:53 +01:00
|
|
|
}
|
|
|
|
|
/*# sourceMappingURL=App.css.map */
|