2020-01-29 08:46:23 +01:00
|
|
|
// $main-bg-color-dark: #2c2c2c;
|
|
|
|
|
@import url('https://fonts.googleapis.com/css?family=Courier+Prime:700|Rubik&display=swap');
|
|
|
|
|
$main-font: 'Rubik', sans-serif;
|
|
|
|
|
$buffer-font: 'Courier Prime', monospace;
|
|
|
|
|
$ditDah-font: 'Courier', monospace;
|
|
|
|
|
|
|
|
|
|
$main-bg-color-light: #f2f2f2;
|
|
|
|
|
|
|
|
|
|
$main-font-color-light: #333;
|
|
|
|
|
|
|
|
|
|
$morseCard-shadow-light: 0px 3px 3px rgba(0, 0, 0, 0.2);
|
|
|
|
|
$main-box-shadow-light: 0px 3px 3px rgba(0, 0, 0, 0.2), 0px -1px 1px rgba(255, 255, 255, 1);
|
|
|
|
|
$main-box-shadow-light-selected: inset 0px 2px 2px rgba(0, 0, 0, 0.2), inset 0px -1px 1px rgba(255, 255, 255, 1);
|
2020-01-28 10:13:32 +01:00
|
|
|
$main-box-shadow-dark: 0px 3px 3px rgba(0, 0, 0, 0.2), 0px -1px 1px rgba(255, 255, 255, 0.1);
|
|
|
|
|
$main-box-shadow-dark-selected: inset 0px 2px 2px rgba(0, 0, 0, 0.2), inset 0px -1px 1px rgba(255, 255, 255, 0.1);
|
2020-01-29 08:46:23 +01:00
|
|
|
|
2020-01-25 08:32:08 +01:00
|
|
|
$main-border-radius: 5px;
|
2020-01-29 08:46:23 +01:00
|
|
|
|
2020-01-17 21:23:17 +01:00
|
|
|
$border-radius-neumorphic: 0px -6px 10px rgba(255, 255, 255, 1), 0px 4px 15px rgba(0, 0, 0, 0.15);
|
2020-01-28 10:13:32 +01:00
|
|
|
$border-radius-neumorphic-dark: 0px -10px 20px rgba(255, 255, 255, 0.1), 0px 10px 10px rgba(0, 0, 0, 0.4);
|
2020-01-18 11:38:21 +01:00
|
|
|
$border-radius-neumorphic-active: 0 15px 20px rgba(0, 0, 0, 0.015), inset 0px -2px 5px rgb(255, 255, 255), inset 0px 2px 5px rgba(0, 0, 0, 0.15);
|
2020-01-22 09:39:05 +01:00
|
|
|
* {
|
|
|
|
|
box-sizing: border-box;
|
2019-12-27 09:41:53 +01:00
|
|
|
margin: 0px;
|
2020-01-29 08:46:23 +01:00
|
|
|
padding: 0px;
|
|
|
|
|
cursor: default;
|
|
|
|
|
}
|
|
|
|
|
button {
|
|
|
|
|
font-family: $main-bg-color-light;
|
|
|
|
|
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-29 08:46:23 +01:00
|
|
|
background: $main-bg-color-light;
|
2020-01-25 08:32:08 +01:00
|
|
|
// background: #444;
|
2019-12-27 09:41:53 +01:00
|
|
|
}
|
|
|
|
|
#root {
|
|
|
|
|
height: 100%;
|
|
|
|
|
display: flex;
|
2020-01-22 09:39:05 +01:00
|
|
|
flex-direction: column;
|
|
|
|
|
// justify-content: center;
|
2019-12-27 09:41:53 +01:00
|
|
|
align-items: center;
|
|
|
|
|
width: 100%;
|
2020-01-22 09:39:05 +01:00
|
|
|
border: 3px solid green;
|
|
|
|
|
}
|
|
|
|
|
header {
|
|
|
|
|
margin-top: 100px;
|
|
|
|
|
}
|
|
|
|
|
#main-content {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
width: 95vw;
|
|
|
|
|
border: 1px solid red;
|
2020-01-25 08:32:08 +01:00
|
|
|
align-items: center;
|
2019-12-27 09:41:53 +01:00
|
|
|
}
|
2020-01-22 09:39:05 +01:00
|
|
|
footer {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
2020-01-17 21:23:17 +01:00
|
|
|
.mode-picker {
|
2019-12-27 09:41:53 +01:00
|
|
|
display: flex;
|
2020-01-09 10:06:38 +01:00
|
|
|
align-self: center;
|
2020-01-29 08:46:23 +01:00
|
|
|
#title {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
margin: 7px;
|
|
|
|
|
}
|
|
|
|
|
|
2020-01-09 10:06:38 +01:00
|
|
|
button {
|
2020-01-28 10:13:32 +01:00
|
|
|
// background: #fcfcfc;
|
2020-01-29 08:46:23 +01:00
|
|
|
background: $main-bg-color-light;
|
|
|
|
|
color: $main-font-color-light;
|
|
|
|
|
margin: 7px;
|
2019-12-27 09:41:53 +01:00
|
|
|
padding: 5px;
|
2020-01-29 08:46:23 +01:00
|
|
|
box-shadow: $main-box-shadow-light;
|
2020-01-09 10:06:38 +01:00
|
|
|
border: 0px;
|
2020-01-03 08:53:56 +01:00
|
|
|
border-radius: $main-border-radius;
|
2019-12-27 09:41:53 +01:00
|
|
|
}
|
2020-01-17 21:23:17 +01:00
|
|
|
.selected {
|
2020-01-29 08:46:23 +01:00
|
|
|
// color: goldenrod;
|
|
|
|
|
box-shadow: $main-box-shadow-light-selected;
|
2020-01-17 21:23:17 +01:00
|
|
|
}
|
2019-12-27 09:41:53 +01:00
|
|
|
}
|
2020-01-15 09:41:40 +01:00
|
|
|
|
|
|
|
|
#legend {
|
2020-01-28 10:13:32 +01:00
|
|
|
width: 400px;
|
|
|
|
|
height: 325px;
|
2020-01-15 09:41:40 +01:00
|
|
|
display: flex;
|
2020-01-28 10:13:32 +01:00
|
|
|
flex-direction: column;
|
2020-01-15 09:41:40 +01:00
|
|
|
justify-content: space-evenly;
|
2020-01-25 08:32:08 +01:00
|
|
|
position: fixed;
|
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
|
|
|
flex-wrap: wrap;
|
|
|
|
|
|
|
|
|
|
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: flex;
|
|
|
|
|
flex-wrap: nowrap;
|
2020-01-29 08:46:23 +01:00
|
|
|
// background: #BBB;
|
2020-01-15 09:41:40 +01:00
|
|
|
|
|
|
|
|
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
|
|
|
box-shadow: $main-box-shadow-light;
|
2020-01-28 10:13:32 +01:00
|
|
|
}
|
|
|
|
|
span {
|
|
|
|
|
width: 60%;
|
|
|
|
|
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-18 11:38:21 +01:00
|
|
|
width: 100px;
|
2020-01-15 09:41:40 +01:00
|
|
|
height: 100px;
|
2020-01-29 08:46:23 +01:00
|
|
|
margin-top: 30px;
|
|
|
|
|
margin-bottom: 10px;
|
2020-01-18 11:38:21 +01:00
|
|
|
// background: goldenrod;
|
|
|
|
|
border-radius: 50px;
|
2019-12-27 09:41:53 +01:00
|
|
|
align-self: center;
|
2020-01-18 11:38:21 +01:00
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
transition: all 500ms ease-in-out;
|
2020-01-29 08:46:23 +01:00
|
|
|
box-shadow: $main-box-shadow-light;
|
2020-01-18 11:38:21 +01:00
|
|
|
}
|
|
|
|
|
#morseButton.showPaddles {
|
|
|
|
|
width: 239px;
|
|
|
|
|
background: transparent;
|
|
|
|
|
box-shadow: 0px 0px 0px transparent;
|
|
|
|
|
}
|
2020-01-29 08:46:23 +01:00
|
|
|
#morseButtonText {
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
color: #ccc;
|
|
|
|
|
font-size: 0.7rem;
|
|
|
|
|
margin-bottom: 40px;
|
|
|
|
|
}
|
|
|
|
|
#paddleText {
|
|
|
|
|
width: 150px;
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
}
|
2020-01-18 11:38:21 +01:00
|
|
|
|
|
|
|
|
.paddle {
|
2020-01-22 09:39:05 +01:00
|
|
|
font-size: 1rem;
|
|
|
|
|
color: transparent;
|
2020-01-18 11:38:21 +01:00
|
|
|
width: 100px;
|
|
|
|
|
height: 100px;
|
|
|
|
|
background: goldenrod;
|
|
|
|
|
margin: 0px;
|
|
|
|
|
border: 0px;
|
|
|
|
|
transition: all 500ms ease-in-out;
|
2020-01-29 08:46:23 +01:00
|
|
|
|
2020-01-22 09:39:05 +01:00
|
|
|
&#left {
|
|
|
|
|
border-radius: 50px 0 0 50px;
|
|
|
|
|
|
|
|
|
|
&.showPaddles{
|
|
|
|
|
margin-right: 7px;
|
|
|
|
|
border-radius: 20px 0 0 20px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
&#right {
|
|
|
|
|
border-radius: 0 50px 50px 0;
|
|
|
|
|
|
|
|
|
|
&.showPaddles{
|
|
|
|
|
margin-left: 7px;
|
|
|
|
|
border-radius: 0 20px 20px 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
&.showPaddles {
|
|
|
|
|
color: #000;
|
|
|
|
|
font-size: 2.5rem;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
width: 250px;
|
|
|
|
|
height: 100px;
|
2020-01-29 08:46:23 +01:00
|
|
|
box-shadow: $main-box-shadow-light;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
i[class*="ri-"] {
|
|
|
|
|
font-weight: normal;
|
|
|
|
|
font-size: 0.9rem;
|
|
|
|
|
color: #777;
|
|
|
|
|
&:hover {
|
|
|
|
|
color: goldenrod;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#mainOptions {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: flex-start;
|
|
|
|
|
width: 400px;
|
|
|
|
|
// border: 1px solid red;
|
|
|
|
|
.mode-picker {
|
|
|
|
|
align-self: flex-start;
|
|
|
|
|
// border: 1px solid green;
|
|
|
|
|
width: 100%;
|
|
|
|
|
justify-content: flex-start;
|
|
|
|
|
#buttons {
|
|
|
|
|
// border: 1px solid blue;
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
align-content: space-between;
|
|
|
|
|
}
|
|
|
|
|
#input {
|
|
|
|
|
margin-left: 10px;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
input {
|
|
|
|
|
width: 50px;
|
|
|
|
|
// appearance: textfield;
|
|
|
|
|
text-align: center;
|
|
|
|
|
border-radius: 3px;
|
|
|
|
|
border: 1px solid #ddd;
|
|
|
|
|
height: 1.3rem;
|
|
|
|
|
}
|
|
|
|
|
select {
|
|
|
|
|
&:focus {
|
|
|
|
|
box-shadow: none;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#title {
|
|
|
|
|
font-weight: bold;
|
2020-01-22 09:39:05 +01:00
|
|
|
}
|
2019-12-27 09:41:53 +01:00
|
|
|
}
|
2020-01-18 11:38:21 +01:00
|
|
|
|
2020-01-09 10:06:38 +01:00
|
|
|
#challengeWord {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
// border: 1px solid green;
|
|
|
|
|
height: 50px;
|
|
|
|
|
margin-bottom: 20px;
|
|
|
|
|
padding-left: 10px;
|
|
|
|
|
padding-right: 10px;
|
2020-01-22 07:58:35 +01:00
|
|
|
border-radius: 5px;
|
2020-01-09 10:06:38 +01:00
|
|
|
width: fit-content;
|
|
|
|
|
display: flex;
|
2020-01-29 08:46:23 +01:00
|
|
|
font-size: 3rem;
|
|
|
|
|
// font-family: 'Courier';
|
|
|
|
|
font-family: $buffer-font;
|
2020-01-09 10:06:38 +01:00
|
|
|
font-weight: bold;
|
|
|
|
|
background: #EEE;
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
align-self: center;
|
2020-01-22 07:58:35 +01:00
|
|
|
transition: all 300ms ease-in-out;
|
|
|
|
|
|
2020-01-19 19:26:55 +01:00
|
|
|
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
|
|
|
transition: background 300ms ease-in-out; //, opacity 100ms ease-in-out;
|
|
|
|
|
}
|
|
|
|
|
&.correct {
|
|
|
|
|
background: rgba(0,200,0,0.7);
|
2020-01-19 19:26:55 +01:00
|
|
|
}
|
2020-01-09 10:06:38 +01:00
|
|
|
}
|
2020-01-21 11:04:46 +01:00
|
|
|
|
2020-01-22 07:58:35 +01:00
|
|
|
|
2020-01-21 11:04:46 +01:00
|
|
|
|
2020-01-25 08:32:08 +01:00
|
|
|
#morseBufferDisplay {
|
|
|
|
|
border: 1px solid green;
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
flex-direction: column-reverse;
|
|
|
|
|
align-items: center;
|
2020-01-28 10:13:32 +01:00
|
|
|
width: 50vw;
|
2020-01-25 08:32:08 +01:00
|
|
|
height: 150px;
|
|
|
|
|
margin-bottom: 20px;
|
2020-01-29 08:46:23 +01:00
|
|
|
font-family: $buffer-font;
|
2020-01-25 08:32:08 +01:00
|
|
|
|
|
|
|
|
#alphanumeric-container {
|
|
|
|
|
// border-left: 2px solid #000;
|
2020-01-29 08:46:23 +01:00
|
|
|
background: #fdfdfd;
|
2020-01-25 08:32:08 +01:00
|
|
|
display: flex;
|
|
|
|
|
padding-left: 5px;
|
|
|
|
|
height: 50px;
|
2020-01-28 10:13:32 +01:00
|
|
|
min-width: 250px;
|
2020-01-25 08:32:08 +01:00
|
|
|
margin-bottom: 10px;
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
2020-01-28 10:13:32 +01:00
|
|
|
border-radius: 4px;
|
2020-01-29 08:46:23 +01:00
|
|
|
// box-shadow: $main-box-shadow-light;
|
2020-01-25 08:32:08 +01:00
|
|
|
|
|
|
|
|
#alphanumeric {
|
|
|
|
|
font-size: 40px;
|
|
|
|
|
background-color: transparent;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
|
padding-left: 5px;
|
|
|
|
|
padding-right: 5px;
|
|
|
|
|
// box-shadow: $main-box-shadow;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
span {
|
|
|
|
|
padding: 4px;
|
|
|
|
|
transition: background 300ms ease-in-out;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#ditDahs {
|
2020-01-28 10:13:32 +01:00
|
|
|
// width: 50%;
|
2020-01-25 08:32:08 +01:00
|
|
|
height: 50px;
|
|
|
|
|
padding-right: 5px;
|
|
|
|
|
// border-right: 2px solid #000;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
font-size: 25px;
|
2020-01-29 08:46:23 +01:00
|
|
|
font-family: $ditDah-font;
|
2020-01-25 08:32:08 +01:00
|
|
|
font-weight: bold;
|
|
|
|
|
|
|
|
|
|
span {
|
|
|
|
|
padding: 4px;
|
|
|
|
|
transition: background 100ms ease-in-out;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.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;
|
|
|
|
|
// box-shadow: 0px 1px 0px #000;
|
|
|
|
|
border-radius: $main-border-radius;
|
2020-01-28 10:13:32 +01:00
|
|
|
box-shadow: $main-box-shadow-dark;
|
2020-01-25 08:32:08 +01:00
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
|
|
transition: all 100ms ease-in-out;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#challengeBufferDisplay {
|
2019-12-27 09:41:53 +01:00
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
2020-01-19 19:26:55 +01:00
|
|
|
border: 1px solid green;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
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-29 08:46:23 +01:00
|
|
|
font-family: $buffer-font;
|
|
|
|
|
font-weight: bold;
|
2019-12-27 09:41:53 +01:00
|
|
|
|
2020-01-19 19:26:55 +01:00
|
|
|
#alphanumeric-container {
|
|
|
|
|
// border-left: 2px solid #000;
|
|
|
|
|
padding-left: 5px;
|
|
|
|
|
width: 50%;
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
|
|
#alphanumeric {
|
|
|
|
|
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
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
|
padding-left: 5px;
|
|
|
|
|
padding-right: 5px;
|
|
|
|
|
// box-shadow: $main-box-shadow;
|
|
|
|
|
}
|
2020-01-21 12:43:21 +01:00
|
|
|
|
|
|
|
|
span {
|
|
|
|
|
padding: 4px;
|
2020-01-28 02:39:11 +01:00
|
|
|
transition: background 100ms ease-in-out;
|
2020-01-21 12:43:21 +01:00
|
|
|
}
|
2020-01-19 19:26:55 +01:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2019-12-27 09:41:53 +01:00
|
|
|
#ditDahs {
|
|
|
|
|
width: 50%;
|
|
|
|
|
padding-right: 5px;
|
2020-01-19 19:26:55 +01:00
|
|
|
// border-right: 2px solid #000;
|
2019-12-27 09:41:53 +01:00
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
2020-01-19 19:26:55 +01:00
|
|
|
justify-content: center;
|
2020-01-21 12:43:21 +01:00
|
|
|
font-size: 25px;
|
2020-01-29 08:46:23 +01:00
|
|
|
font-family: $ditDah-font;
|
2020-01-21 12:43:21 +01:00
|
|
|
font-weight: bold;
|
|
|
|
|
|
|
|
|
|
span {
|
|
|
|
|
padding: 4px;
|
|
|
|
|
transition: background 100ms ease-in-out;
|
|
|
|
|
}
|
2019-12-27 09:41:53 +01:00
|
|
|
.ditDah {
|
2020-01-25 08:32:08 +01:00
|
|
|
// background: #DDD;
|
|
|
|
|
|
2019-12-27 09:41:53 +01:00
|
|
|
height: 40px;
|
|
|
|
|
width: 30px !important;
|
|
|
|
|
margin-left: 3px;
|
2020-01-03 08:53:56 +01:00
|
|
|
// box-shadow: 0px 1px 0px #000;
|
|
|
|
|
border-radius: $main-border-radius;
|
2020-01-29 08:46:23 +01:00
|
|
|
box-shadow: $main-box-shadow-light;
|
2019-12-27 09:41:53 +01:00
|
|
|
display: flex;
|
|
|
|
|
justify-content: 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: rgb(120, 0, 0);
|
|
|
|
|
border-radius: 5px;
|
2020-01-19 19:26:55 +01:00
|
|
|
// text-decoration: line-through;
|
2019-12-27 09:41:53 +01:00
|
|
|
}
|
2020-01-10 03:24:54 +01:00
|
|
|
.correct {
|
|
|
|
|
background: rgba(0,255,0,0.4);
|
|
|
|
|
// color: rgb(120, 0, 0);
|
|
|
|
|
border-radius: 5px;
|
|
|
|
|
}
|
2019-12-27 09:41:53 +01:00
|
|
|
|
2020-01-25 08:32:08 +01:00
|
|
|
// #morseHistory {
|
|
|
|
|
// border: 1px solid purple;
|
|
|
|
|
// padding: 5px;
|
|
|
|
|
// width: 650px;
|
|
|
|
|
// font-family: 'Verdana';
|
|
|
|
|
// font-size: 1.5em;
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
#morseHistory {
|
|
|
|
|
// /* border: 1px solid blue; */
|
2019-12-27 09:41:53 +01:00
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
|
|
.morseCard:nth-child(1){
|
|
|
|
|
opacity: 100%;
|
|
|
|
|
}
|
|
|
|
|
.morseCard:nth-child(2){
|
2020-01-29 08:46:23 +01:00
|
|
|
opacity: 85%;
|
2019-12-27 09:41:53 +01:00
|
|
|
}
|
|
|
|
|
.morseCard:nth-child(3){
|
2020-01-29 08:46:23 +01:00
|
|
|
opacity: 70%;
|
2019-12-27 09:41:53 +01:00
|
|
|
}
|
|
|
|
|
.morseCard:nth-child(4){
|
2020-01-29 08:46:23 +01:00
|
|
|
opacity: 55%;
|
2019-12-27 09:41:53 +01:00
|
|
|
}
|
|
|
|
|
.morseCard:nth-child(5){
|
2020-01-25 08:32:08 +01:00
|
|
|
opacity: 40%;
|
|
|
|
|
}
|
2020-01-29 08:46:23 +01:00
|
|
|
.morseCard:nth-child(6){
|
2020-01-25 08:32:08 +01:00
|
|
|
opacity: 20%;
|
|
|
|
|
}
|
2020-01-29 08:46:23 +01:00
|
|
|
.morseCard:nth-child(7){
|
2019-12-27 09:41:53 +01:00
|
|
|
opacity: 10%;
|
|
|
|
|
}
|
2020-01-29 08:46:23 +01:00
|
|
|
// .morseCard:nth-child(8){
|
|
|
|
|
// opacity: 30%;
|
|
|
|
|
// }
|
|
|
|
|
// .morseCard:nth-child(9){
|
|
|
|
|
// opacity: 20%;
|
|
|
|
|
// }
|
|
|
|
|
// .morseCard:nth-child(10){
|
|
|
|
|
// opacity: 10%;
|
|
|
|
|
// }
|
2019-12-27 09:41:53 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.morseCard {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row !important;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
/* border: 1px solid orange; */
|
|
|
|
|
margin-bottom: 2px;
|
2020-01-25 08:32:08 +01:00
|
|
|
font-size: 1.5rem;
|
2020-01-29 08:46:23 +01:00
|
|
|
font-family: $buffer-font;
|
2019-12-27 09:41:53 +01:00
|
|
|
/* width: 100%; */
|
2020-01-29 08:46:23 +01:00
|
|
|
|
|
|
|
|
|
2020-01-03 08:53:56 +01:00
|
|
|
div div {
|
|
|
|
|
cursor: default;
|
2019-12-27 09:41:53 +01:00
|
|
|
padding: 5px;
|
2020-01-29 08:46:23 +01:00
|
|
|
margin: 2px;
|
|
|
|
|
background: #fdfdfd;
|
2020-01-03 08:53:56 +01:00
|
|
|
// width: 50%;
|
2019-12-27 09:41:53 +01:00
|
|
|
white-space: nowrap;
|
2020-01-29 08:46:23 +01:00
|
|
|
border-radius: 3px;
|
|
|
|
|
box-shadow: $morseCard-shadow-light;
|
|
|
|
|
line-height: 1.2rem;
|
|
|
|
|
display: flex;
|
2020-01-03 08:53:56 +01:00
|
|
|
}
|
|
|
|
|
.ditDahs-container, .alphanumeric-container {
|
|
|
|
|
display: flex;
|
|
|
|
|
width: 50%;
|
2020-01-25 08:32:08 +01:00
|
|
|
font-weight: bold;
|
2020-01-03 08:53:56 +01:00
|
|
|
}
|
|
|
|
|
.ditDahs-container {
|
|
|
|
|
justify-content: flex-end;
|
2019-12-27 09:41:53 +01:00
|
|
|
}
|
|
|
|
|
.ditDahs {
|
2020-01-03 08:53:56 +01:00
|
|
|
// border: 1px solid red;
|
2019-12-27 09:41:53 +01:00
|
|
|
display: flex;
|
|
|
|
|
justify-content: flex-end;
|
|
|
|
|
align-items: center;
|
|
|
|
|
overflow-wrap: break-word;
|
2020-01-29 08:46:23 +01:00
|
|
|
font-family: $ditDah-font;
|
|
|
|
|
font-weight: bold;
|
2019-12-27 09:41:53 +01:00
|
|
|
}
|
|
|
|
|
}
|