.comparisonBox-interactive, .quiz-card, .comparisonBox { border-radius: inherit; width: 100%; height: 100%; position: relative; background: gray; z-index: 0; pointer-events: none; display: flex; p { color: rgb(0, 0, 0); -webkit-text-stroke-color: black; -webkit-text-stroke-width: 0.2px; } .input-box { position: absolute; top: 50; padding: 10px; width: 100%; height: 70%; display: flex; } .submit-button { position: absolute; padding-bottom: 10px; padding-left: 5px; padding-right: 5px; width: 100%; border-radius: 2px; height: 15%; display: flex; bottom: 0; button { flex: 1; position: relative; } } textarea { flex: 1; padding: 10px; // position: relative; resize: none; position: 'absolute'; width: '91%'; height: '80%'; z-index: '-1'; overscroll-behavior: contain; } .clip-div { position: absolute; top: 0; left: 0; height: 100%; overflow: hidden; transition: 200ms; .beforeBox-cont { height: 100%; overflow: hidden; } } .slide-bar { position: absolute; height: 100%; width: 3px; display: inline-block; background: white; transition: 200ms; .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: 0; right: 0; 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; justify-content: center; align-items: center; height: 90%; width: 93%; font-size: 20px; font-weight: bold; color: #0b0a0a; } @keyframes spin { to { transform: rotate(360deg); } } } .explain { position: absolute; top: 10px; left: 10px; z-index: 200; // padding: 5px; background: #dfdfdf; } .comparisonBox-interactive { pointer-events: unset; cursor: ew-resize; .slide-bar { .slide-handle { display: flex; } } // .input-box { // position: absolute; // padding: 10px; // } // input[type='text'] { // flex: 1; // position: relative; // margin-right: 10px; // width: 100px; // } } // .quiz-card { // position: relative; // input[type='text'] { // flex: 1; // position: relative; // margin-right: 10px; // width: 100px; // } // } .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 { /* existing code */ .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%; } } } } }