@import url("https://fonts.googleapis.com/css?family=Courier+Prime:700|Rubik&display=swap"); * { -webkit-box-sizing: border-box; box-sizing: border-box; margin: 0px; padding: 0px; cursor: default; } button { font-family: #f1f1f1; cursor: pointer; } html, body { height: 100%; width: 100%; background: #f1f1f1; } #root { height: 100%; 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; width: 100%; border: 3px solid green; } header { margin-top: 50px; } #main-content { 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; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; -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; border: 1px solid red; } #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; -webkit-box-align: center; -ms-flex-align: center; align-items: center; } #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; } .mode-picker { display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-item-align: center; align-self: center; } .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; } .mode-picker button { background: #f1f1f1; color: #333; margin: 7px; padding: 5px; -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; border: 0px; border-radius: 5px; } .mode-picker .selected { -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; } #legend { background: #f1f1f1; width: 100%; max-width: 95vw; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: space-evenly; -ms-flex-pack: space-evenly; justify-content: space-evenly; top: 250px; left: 50px; -ms-flex-wrap: wrap; flex-wrap: wrap; } #legend div { border: 1px solid #ccc; border-radius: 3px; margin: 1px; width: 80px; display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-wrap: nowrap; flex-wrap: nowrap; } #legend div button { width: 20px; height: 20px; margin: 4px; border: 0px; border-radius: 2px; -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; } #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); } #legend div span { width: 60%; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; text-align: center; } #morseButton { width: 400px; height: 55px; margin-top: 30px; margin-bottom: 10px; border-radius: 5px; -ms-flex-item-align: center; align-self: center; 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-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; -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; } #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); } #morseButton button { font-size: 1rem; color: transparent; width: 200px; height: 55px; background: #f4f4f4; margin: 0px; border: 0px; -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; } #morseButton button.showPaddles { color: #888; font-size: 1rem; font-weight: bold; width: 60px; height: 55px; -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; } #morseButton button#left { border-radius: 5px 0 0 5px; } #morseButton button#left.showPaddles { margin-right: 7px; border-radius: 5px; } #morseButton button#right { border-radius: 0 5px 5px 0; } #morseButton button#right.showPaddles { margin-left: 7px; border-radius: 5px; } #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); } #morseButton.showPaddles { width: 134px; background: transparent; -webkit-box-shadow: 0px 0px 0px transparent; box-shadow: 0px 0px 0px transparent; } #morseButtonText { font-weight: bold; color: #bbb; font-size: 0.7rem; margin-bottom: 40px; } #paddleText { width: 140px; display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-pack: distribute; justify-content: space-around; } #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; -ms-flex-item-align: center; align-self: center; height: 50px; width: -webkit-fit-content; width: -moz-fit-content; width: fit-content; 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; font-size: 3rem; font-family: "Courier", monospace; font-weight: bold; background: #fdfdfd; text-transform: uppercase; -webkit-transition: all 300ms ease-in-out; transition: all 300ms ease-in-out; } #challengeWord span { padding: 4px; margin: 1px; line-height: 2.5rem; -webkit-transition: background 300ms ease-in-out; transition: background 300ms ease-in-out; } #challengeWord.correct { background: rgba(0, 200, 0, 0.7); } #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; width: 100%; height: 150px; margin-bottom: 20px; font-family: "Courier", monospace; font-weight: bold; } #morseBufferDisplay #alphanumeric-container { background: #fdfdfd; display: -webkit-box; display: -ms-flexbox; display: flex; padding-left: 5px; height: 3rem; min-width: 250px; 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; 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; } #morseBufferDisplay #alphanumeric-container #alphanumeric { font-size: 3rem; 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; font-family: "Courier", monospace; font-weight: bold; } #morseBufferDisplay #ditDahs span { padding: 4px; -webkit-transition: background 100ms ease-in-out; transition: background 100ms ease-in-out; } #morseBufferDisplay #ditDahs .ditDah { background: #fdfdfd; height: 40px; width: 30px !important; margin-left: 3px; border-radius: 5px; -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); 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 { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; 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; width: 100%; height: 150px; margin-bottom: 20px; font-family: "Courier", monospace; font-weight: bold; } #challengeBufferDisplay #alphanumeric-container { padding-left: 5px; width: 50%; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; } #challengeBufferDisplay #alphanumeric-container #alphanumeric { font-size: 40px; background-color: transparent; margin-bottom: 10px; } #challengeBufferDisplay #alphanumeric-container #alphanumeric:first-child { padding-left: 5px; padding-right: 5px; } #challengeBufferDisplay #alphanumeric-container #alphanumeric span { padding: 4px; -webkit-transition: background 100ms ease-in-out; transition: background 100ms ease-in-out; } #challengeBufferDisplay #ditDahs { 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; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; font-size: 25px; font-family: "Courier", monospace; font-weight: bold; } #challengeBufferDisplay #ditDahs span { padding: 4px; -webkit-transition: background 100ms ease-in-out; transition: background 100ms ease-in-out; } #challengeBufferDisplay #ditDahs .ditDah { height: 40px; width: 30px !important; margin-left: 3px; border-radius: 5px; -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; 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; } .strike { text-decoration: line-through; opacity: 30%; } .morseError { background: rgba(255, 0, 0, 0.4); color: #780000; border-radius: 5px; } .correct { background: rgba(0, 255, 0, 0.4); border-radius: 5px; } #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; } #morseHistory { border: 1px solid purple; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; width: 100%; } #morseHistory .morseCard:nth-child(1) { opacity: 100%; } #morseHistory .morseCard:nth-child(2) { opacity: 85%; } #morseHistory .morseCard:nth-child(3) { opacity: 70%; } #morseHistory .morseCard:nth-child(4) { opacity: 55%; } #morseHistory .morseCard:nth-child(5) { opacity: 40%; } #morseHistory .morseCard:nth-child(6) { opacity: 20%; } #morseHistory .morseCard:nth-child(7) { 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; font-size: 1.7rem; font-family: "Courier", monospace; /* width: 100%; */ } .morseCard div div { padding: 3px; margin: 2px; background: #fdfdfd; white-space: nowrap; border-radius: 3px; -webkit-box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.2); box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.2); line-height: 1.7rem; display: -webkit-box; display: -ms-flexbox; display: flex; } .morseCard div div span.morseError { background: rgba(255, 0, 0, 0.4); height: 1.7rem; color: #780000; border-radius: 5px; } .morseCard .ditDahs-container, .morseCard .alphanumeric-container { display: -webkit-box; display: -ms-flexbox; display: flex; width: 50%; font-weight: bold; } .morseCard .ditDahs-container { -webkit-box-pack: end; -ms-flex-pack: end; justify-content: flex-end; } .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; font-family: "Courier", monospace; font-weight: bold; } /*# sourceMappingURL=App.css.map */