.page-container { padding-bottom: 0; } .nav-header { button.list-button { margin-left: auto; .icon { width: 20px; height: 20px; fill: white; } } } .question-status { background-color: var(--ash-black); padding: 10px 0; display: block; width: 100%; overflow: auto; position: relative; .container { width: 100%; padding: 0 5%; white-space: nowrap; display: flex; flex-wrap: wrap; align-items: center; overflow: auto; } &::before { content: ''; position: absolute; left: 0; top: 0; width: 10px; height: 100%; box-shadow: 10px 0px 10px 10px var(--ash-black); opacity: 0.8; background-color: var(--ash-black); } &::after { content: ''; position: absolute; right: 0; top: 0; width: 10px; height: 100%; box-shadow: -10px 0px 10px 10px var(--ash-black); opacity: 0.8; background-color: var(--ash-black); } .question-number { width: 17px; height: 17px; background-color: var(--dark-grey); color: white; margin-right: 7px; border-radius: 50%; overflow: hidden; border: 1px solid var(--dark-grey); box-sizing: content-box; span { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; } label { font-size: 10px; } .icon { width: 100%; height: 100%; fill: white; display: none; } &.current { border-color: var(--light-grey); background-color: var(--black); &.correct { background-color: var(--green); .correct-icon { fill: var(--black); } } &.wrong { background-color: var(--danger-dark); .wrong-icon { fill: var(--black); } } .icon { fill: white; } } &.correct { border-color: var(--green); background-color: white; label { display: none; } .correct-icon { fill: var(--green); display: block; } } &.wrong { border-color: var(--danger-dark); background-color: white; label { display: none; } .wrong-icon { fill: var(--danger-dark); display: block; } } } } ngx-siema-slide { display: block; padding-bottom: 60px; .question { line-height: 1.5; color: white; font-size: 13px; background-color: var(--ash-black); padding: 0 5% 15px 5%; } .timer-holder { background-color: var(--black); height: 70px; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; position: relative; &::before { content: ''; width: 200vw; height: 100vw; border-radius: 50%; position: absolute; bottom: 25px; background-color: var(--ash-black); } .timer { width: 60px; height: 60px; border-radius: 50%; background-color: white; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; position: relative; color: var(--ash-black); svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; transform: rotate(-90deg); #progress { stroke: var(--green); } } } } } .option-list { width: 90%; margin: 20px auto; list-style: none; li { display: flex; width: 100%; border: 1px solid var(--light-grey); color: white; border-radius: 15px; align-items: center; min-height: 50px; margin: 20px auto; justify-content: space-between; padding: 0 15px; label { font-size: 14px; } .icon-holder { width: 23px; height: 23px; border: 1px solid var(--light-grey); border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center; .icon { width: 100%; height: 100%; fill: white; display: none; } } &.correct, &.show-correct { box-shadow: 0px 0px 5px var(--green); border-color: var(--green); label { color: var(--green); } .icon-holder { border-color: var(--green); background-color: white; .correct-icon { fill: var(--green); display: block; } } } &.wrong { box-shadow: 0px 0px 5px var(--danger-dark); border-color: var(--danger-dark); label { color: var(--danger-dark); } .icon-holder { border-color: var(--danger-dark); background-color: white; .wrong-icon { fill: var(--danger-dark); display: block; } } } } } .action-buttons { display: flex; width: 100%; position: fixed; align-items: stretch; bottom: 0; z-index: 1; background-color: var(--ash-black); padding: 10px; border-top-left-radius: 7px; border-top-right-radius: 7px; overflow: hidden; button { width: 48%; display: block; border-radius: 7px; border: 0px; height: 40px; background-color: transparent; text-transform: uppercase; letter-spacing: 1px; font-weight: 500; font-size: 14px; &.next-button { background-color: var(--teal); color: white; margin-left: auto; &.skip { background-color: var(--dark-grey); } } &.prev-button { border: 2px solid var(--teal); color: var(--teal); } } } .upfold { overflow: hidden; padding: 0px 5% 20px; height: 50vh; display: flex; align-items: flex-end; justify-content: center; background-color: var(--ash-black); .upfold-container { width: 100%; } figure { display: block; width: 100%; img { width: 150px; height: 150px; display: block; margin-left: auto; } } header { color: white; margin-top: -60px; img { display: block; width: 50px; height: 50px; margin: 0 0 10px; } } h3 { font-size: 22px; font-weight: 500; margin: 5px auto; } h2 { font-size: 30px; font-weight: 500; margin: 5px auto; } p { font-size: 16px; color: var(--light-grey); } } .quiz-details-holder { background-color: var(--ash-black); height: calc(50vh - 60px); } .quiz-details { height: 100%; width: 100%; padding: 25px 5% 80px 5%; background-color: white; border-top-right-radius: 30px; border-top-left-radius: 30px; position: relative; header { margin-bottom: 10px; p { font-size: 14px; margin: 0; color: var(--dark-grey); font-weight: 400; } h3 { font-size: 22px; font-weight: 500; margin: 5px auto; color: var(--teal-green); line-height: 1.1; } } .people-count { font-size: 14px; color: var(--danger-dark); } .play-button { display: block; position: absolute; bottom: 10px; left: 5%; width: 90%; border-radius: 30px; height: 45px; color: white; background: linear-gradient(180deg, var(--teal), var(--teal-green)); border: 0px; font-size: 14px; letter-spacing: 1px; font-weight: 500; margin: 15px auto; } } .quiz-list-slideup { width: 100%; background-color: white; overflow: hidden; border-top-left-radius: 30px; border-top-right-radius: 30px; position: fixed; z-index: 1; bottom: 0; left: 0; transform: translateY(100vh); transition: transform 0.5s; &.active { transform: translateY(0vh); } &::before { content: ''; position: absolute; width: 60px; height: 4px; border-radius: 30px; background-color: var(--light-grey); left: calc(50% - 30px); top: 20px; } header { color: var(--dark-grey); font-size: 16px; font-weight: 700; margin: 40px auto 10px; padding: 0 5%; display: flex; align-items: center; justify-content: space-between; button { border: 0px; background-color: var(--light-grey); border-radius: 5px; width: 30px; height: 30px; .icon { width: 10px; height: 10px; fill: white; } } } ul { list-style: none; max-height: 60vh; overflow: auto; padding-bottom: 40px; } li { display: flex; width: 90%; align-items: center; justify-content: space-between; margin: 0px auto; padding: 10px 0; position: relative; overflow: visible; .icon { z-index: 1; position: relative; width: 20px; height: 20px; fill: var(--light-grey); background-color: white; border-radius: 50%; display: none; } &.correct { .icon.correct-icon { fill: var(--green); display: block; } &::before { border-color: var(--green); } } &.wrong { .icon.wrong-icon { fill: var(--danger); display: block; } &::before { border-color: var(--danger); } } &.none { .icon.progress-icon { fill: var(--light-grey); display: block; } &::before { border-color: var(--light-grey); } } &.current { .icon.progress-icon { fill: var(--teal); animation: ripple 1.5s infinite; display: block; } &::before { border-color: var(--teal); } } &:last-child::before { display: none; } @keyframes ripple { 50% { box-shadow: 0px 0px 1px 10px transparent; } 0% { box-shadow: 0px 0px 1px 0px var(--teal); } } &::before { content: ''; position: absolute; left: 8px; top: 50%; height: 100%; width: 1px; border-right: 1px dashed var(--light-grey); } .content-holder { width: calc(100% - 40px); display: flex; padding: 15px 15px; align-items: center; box-shadow: 1px 1px 5px var(--light-grey); border-radius: 7px; margin-left: auto; overflow: hidden; .content { flex-grow: 1; max-width: 100%; } .status { font-size: 14px; text-align: right; margin-left: auto; } } label { display: block; font-size: 14px; color: var(--dark-grey); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; max-width: 100%; } p { font-size: 12px; color: var(--light-grey); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } } } .end-upfold { background-image: url('https://mini.webtrigon.com/static-v1.1.0/home/images/png/pattern.png'); background-size: cover; background-position: center; background-color: var(--ash-black); height: 50vh; display: flex; align-items: center; justify-content: center; } .end-upfold-container { width: 100%; .subject { color: var(--teal-green); letter-spacing: 1px; width: 90%; overflow: hidden; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; padding: 10px 20px; border-radius: 40px; position: relative; z-index: 0; margin: 0 auto 20px; font-size: 14px; font-weight: 400; &::before { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 100%; background-color: var(--black); opacity: 0.6; } span { z-index: 1; position: relative; } } .rank-holder { width: 130px; height: 130px; margin: 25px auto 20px; border-radius: 50%; position: relative; display: flex; align-items: center; justify-content: center; &::before { content: ''; position: absolute; left: 10%; top: 10%; width: 80%; height: 80%; background-color: var(--dark-grey); opacity: 0.5; z-index: 1; border-radius: 50%; } &::after { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 100%; background-color: var(--black); opacity: 0.7; z-index: 0; border-radius: 50%; } label, span { z-index: 2; } label { color: white; position: absolute; top: -5px; left: calc(50% - 50px); width: 100px; height: 30px; display: flex; align-items: center; justify-content: center; border-radius: 30px; font-size: 14px; text-align: center; background-color: var(--teal-green); } span { font-weight: 500; color: white; font-size: 60px; } } p { font-size: 16px; color: white; margin-bottom: 20px; text-align: center; } .calculated-progress { height: 15px; width: 70%; margin: 0 auto; border-radius: 30px; overflow: hidden; position: relative; display: flex; align-items: stretch; justify-content: flex-start; background-color: white; .correct { background-color: var(--green); } .wrong { background-color: var(--danger-dark); } .none { background-color: rgba(orange, 0.8); } } } .answers-report-container { background-color: var(--ash-black); height: 50vh; } .answers-report { background-color: white; border-top-right-radius: 30px; border-top-left-radius: 30px; height: 100%; padding: 10px 0 20px; position: relative; ul { list-style: none; width: 100%; padding: 0 5%; margin: 0 auto; } li { border: 1px solid #cecece; border-radius: 5px; margin: 15px auto; &.correct { .count { color: var(--green); } } &.wrong { .count { color: var(--danger-dark); } } &.skipped { .count { color: rgba(orange, 0.8); } } } .content { display: flex; width: 100%; height: 40px; align-items: center; padding: 0 5%; justify-content: space-between; } label { font-size: 14px; color: var(--dark-grey); font-weight: 500; } .count { font-weight: 600; font-size: 16px; margin-left: auto; span { font-size: 13px; } } .icon { width: 12px; height: 12px; fill: var(--light-grey); transform: rotate(-45deg); } .answer-action-buttons { position: absolute; width: 100%; bottom: 20px; left: 0; padding: 0 5%; display: flex; align-items: stretch; justify-content: space-between; button { width: 48%; border: 0px; background-color: var(--light-grey); color: white; font-size: 14px; height: 40px; border-radius: 5px; &:last-child { background-color: var(--teal-green); } } } }