.comparisonBox-interactive, .quiz-card, .comparisonBox { border-radius: inherit; width: 100%; height: 100%; position: relative; 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: relative; padding: 10px; width: 100%; height: 100%; display: flex; } .submit-button { position: relative; padding-bottom: 10px; padding-left: 5px; padding-right: 5px; width: 100%; height: 15%; display: flex; button { flex: 1; position: relative; } } textarea { flex: 1; padding: 10px; position: relative; resize: none; } .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; } } } .comparisonBox-interactive { pointer-events: unset; cursor: ew-resize; .slide-bar { .slide-handle { display: flex; } } // .input-box { // position: relative; // 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%; } } } .loading-circle { position: relative; width: 50px; height: 50px; border-radius: 50%; border: 3px solid #ccc; border-top-color: #333; animation: spin 1s infinite linear; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } } }