.comparisonBox-interactive, .quiz-card, .comparisonBox { border-radius: inherit; width: 100%; height: 100%; position: relative; background: gray; z-index: 0; pointer-events: none; display: flex; flex-direction: column; p { // bcz: what is this styling for? if text in the comparison box is colored, then this causes it to render with a black outline color: rgb(0, 0, 0); -webkit-text-stroke-color: black; -webkit-text-stroke-width: 0.2px; } .input-box { position: absolute; top: 50px; padding: 10px; width: 100%; height: 70%; display: flex; } .submit-button { position: absolute; padding-bottom: 10px; padding-top: 5px; padding-left: 5px; padding-right: 5px; border-radius: 2px; height: 17%; bottom: 0px; overflow: hidden; display: flex; width: 100%; &.schema-header-button { color: gray; margin: 3px; cursor: pointer; display: flex; align-items: center; justify-content: center; svg { width: 15px; } } &.pronunciation { width: 40%; align-items: center; justify-content: center; } &.submit { width: 40%; } &.record { width: 20%; float: left; border-radius: 2px; } .submit-buttonrecord { border-radius: 2px; } .submit-buttonpronunciation { display: inline-flex; align-items: center; } .submit-buttonschema-header-button { position: absolute; top: 5px; left: 11px; z-index: 10; width: 5px; height: 5px; cursor: pointer; } .submit-buttonsubmit { border-radius: 2px; margin-bottom: 3px; width: 100%; display: inline-flex; align-items: center; } } .dropbtn { background-color: #3498db; color: white; padding: 16px; font-size: 16px; border: none; } .dropup { position: absolute; display: inline-block; margin-top: 150px; bottom: 0px; } .dropup-content { display: none; position: absolute; background-color: #f1f1f1; min-width: 160px; bottom: 40px; z-index: 1000; } .dropup-content a { color: black; padding: 12px 16px; text-decoration: none; display: block; } .dropup-content a:hover { background-color: #ccc; } .dropup:hover .dropup-content { display: block; } .dropup:hover .dropbtn { background-color: #2980b9; } textarea { flex: 1; padding: 10px; resize: none; position: 'absolute'; width: '91%'; height: '80%'; z-index: '-1'; overscroll-behavior: contain; } .clip-div { position: absolute; top: 0px; left: 0px; height: 100%; overflow: hidden; .beforeBox-cont { height: 100%; overflow: hidden; } } .slide-bar { position: absolute; height: 100%; width: 3px; display: inline-block; background: white; .slide-handle { position: absolute; display: none; height: 20px; width: 30px; bottom: 0px; left: -10.5px; .left-handle, .right-handle { width: 15px; } } } .afterBox-cont { position: absolute; top: 0px; right: 0px; height: 100%; width: 100%; overflow: hidden; } .clear-button { position: absolute; top: 3px; opacity: 0.8; pointer-events: all; cursor: pointer; width: 15px; height: 15px; } .clear-button.before { left: 3px; } .clear-button.after { right: 3px; } .placeholder { width: 50%; height: 50%; margin-top: 25%; margin-left: 25%; .upload-icon { width: 100%; height: 100%; opacity: 0.5; } } .loading-spinner { display: flex; position: absolute; justify-content: center; align-items: center; height: 90%; width: 93%; font-size: 20px; font-weight: bold; color: #0b0a0a; } @keyframes spin { to { transform: rotate(360deg); } } } .comparisonBox-interactive { pointer-events: all; } .comparisonBox-explain { position: absolute; top: 10px; left: 10px; z-index: 200; background: #dfdfdf; pointer-events: none; } .comparisonBox-slide { cursor: ew-resize; .slide-bar { .slide-handle { display: flex; } } } .QuizCard { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; .QuizCard-wrapper { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; .QuizCardBox { .DIYNodeBox-iframe { height: 100%; width: 100%; border: none; } } .search-bar { display: flex; justify-content: left; align-items: left; width: 100%; padding: 10px; input[type='text'] { flex: 1; margin-right: 10px; } button { padding: 5px 10px; } } .content { flex: 1; display: flex; justify-content: center; align-items: center; width: 100%; height: 100%; .diagramBox { flex: 1; display: flex; justify-content: center; align-items: center; width: 100%; height: 100%; svg { flex: 1; display: flex; justify-content: center; align-items: center; width: 100%; height: 100%; } } } } } .comparisonBox-bottomMenu { transform-origin: bottom right; width: max-content; justify-content: space-between; height: max-content; position: absolute; bottom: 0px; right: 2px; flex-direction: row-reverse; display: flex; cursor: pointer; .comparisonBox-button { padding-right: 8px; } }