$main-bg-color: #FFF; $main-box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.2); $main-border-radius: 5px; // $border-radius-neumorphic: 0px -6px 10px rgba(255, 255, 255, 1), 0px 4px 15px rgba(0, 0, 0, 0.15); html, body { margin: 0px; padding: 0px; height: 100%; width: 100%; box-sizing: border-box; background: $main-bg-color; } #root { height: 100%; display: flex; justify-content: center; align-items: center; width: 100%; } #mode-picker { display: flex; div { background: #fcfcfc; margin: 15px; padding: 5px; box-shadow: $main-box-shadow; border-radius: $main-border-radius; } } #main-content { width: 95vw; border: 1px solid red; display: flex; flex-direction: column; } #morseButton { width: 200px !important; height: 200px; margin: 30px; background: goldenrod; border-radius: 50%; align-self: center; } #morseBufferDisplay { display: flex; justify-content: center; // border: 1px solid green; width: 100%; height: 40px; margin-bottom: 20px; #ditDahs { width: 50%; padding-right: 5px; border-right: 2px solid #000; display: flex; flex-direction: row; justify-content: flex-end; .ditDah { background: #DDD; height: 40px; width: 30px !important; margin-left: 3px; // box-shadow: 0px 1px 0px #000; border-radius: $main-border-radius; box-shadow: $main-box-shadow; display: flex; justify-content: center; align-items: center; font-size: 35px; font-family: 'Courier'; font-weight: bold; } } #alphanumeric-container { border-left: 2px solid #000; padding-left: 5px; width: 50%; display: flex; #alphanumeric { font-size: 40px; font-family: 'Courier'; font-weight: bold; background-color: transparent; &:first-child { padding-left: 5px; padding-right: 5px; // box-shadow: $main-box-shadow; } } } } .space { font-size: 20px; } .morseError { background: rgba(255,0,0,0.4); color: rgb(120, 0, 0); border-radius: 5px; } #morseDisplay { /* border: 1px solid blue; */ display: flex; flex-direction: column; .morseCard:nth-child(1){ opacity: 100%; } .morseCard:nth-child(2){ opacity: 70%; } .morseCard:nth-child(3){ opacity: 50%; } .morseCard:nth-child(4){ opacity: 30%; } .morseCard:nth-child(5){ opacity: 10%; } } .morseCard { display: flex; flex-direction: row !important; justify-content: center; /* border: 1px solid orange; */ margin-bottom: 2px; font-size: 2.5rem; font-family: 'Courier'; font-weight: bold; /* width: 100%; */ div div { // border: 1px solid purple; cursor: default; padding: 5px; margin: 3px; background: #EEE; // width: 50%; white-space: nowrap; border-radius: $main-border-radius; box-shadow: $main-box-shadow; line-height: 2rem; } .ditDahs-container, .alphanumeric-container { display: flex; width: 50%; } .ditDahs-container { justify-content: flex-end; } .ditDahs { // border: 1px solid red; display: flex; justify-content: flex-end; align-items: center; overflow-wrap: break-word; } }