@import "./_stu-body"; @import "./_stu-box_header"; @import "./_stu-form"; body { /*background: #3c3c3c;*/ /*background: #005f61;*/ /*background-image: linear-gradient(150deg,#005f61,#007f61);*/ font-size: 22px; color: var(--mc); width: 100vw; } .main-box { border-left: 0; box-sizing: padding-box; padding: 0; margin: 0; .main-box-body { margin: 0 30px 0; } > div { /* width: calc(100vw - 20px) !important; height: calc(100% - 20px) !important;*/ display: flex; flex: 1 auto; } } .box { margin: 0 10px; font-size: 1.25rem; > .box { margin: 0; width: 100%; height: 100%; border: 2px solid #fff; border-radius: 10px; } .box-header { height: 50px; border-radius: 10px 10px 0 0; position: relative; .title { --w: 50px; font-size: 22px; } } .box-body { background: linear-gradient(174.54deg, rgba(204, 224, 248, 0.76) 0.23%, rgba(242, 249, 255, 0.76) 120.71%); overflow-y: auto; margin: 0; padding: 10px 10px 0; height: calc(100% - 50px); } .scene-box-body { background: linear-gradient(174.54deg, rgba(204, 224, 248, 0.76) 0.23%, rgba(242, 249, 255, 0.76) 120.71%); overflow-y: auto; margin: 0; padding: 10px 10px 0; height: calc(100% - 50px); .box-body { background: none; margin: 0; padding: 0; } } .media-box { width: 98%; margin: 10px auto 0; border: 2px solid #4585CC; border-radius: 5px; background: var(--bg); .body-content { display: flex; justify-content: center; align-items: center; width: 100%; height: 100%; /*max-width: 100%; max-height: 100%;*/ overflow: hidden; span { color: #4585CC; font-size: 30px; font-weight: 600; display: block; } img, video { width: auto; height: 100%; padding: 0; overflow: hidden; } } } .scene-box { width: 100%; margin: 8px 0; display: flex; flex-direction: column; .title { width: 100%; color: #fff; background: none; position: relative; height: 35px; border-bottom: 2px solid #4585CC; span.text { display: inline-block; padding: 0px 20px; line-height: 35px; text-align: center; min-width: 250px; max-width: 300px; background: #4585CC; position: relative; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-weight: 600; &:after { position: absolute; content: ""; right: -1px; height: 0; width: 0; border-left: 10px solid #4585CC; border-bottom: 18px solid #4585CC; border-right: 10px solid none; border-top: 18px solid none; } } .attach-box, .tool { position: absolute; font-size: 0.875rem; right: 40px; top: 5px; } .tool { right: 10px; top: 10px; color: #4585CC; opacity: 1; } .attach1 { color: #fff; background: #4585CC; margin: 0 5px; padding: 3px 8px; } } .guide-box { margin: 10px 0; padding: 10px; background: var(--bg); border-radius: 5px; p { margin: 0; font-size: 13px; } .guide-title { font-weight: 600; } } .desc { padding: 8px; color: #36536D; background: var(--bg); white-space: normal; word-break: break-word; min-height: 40px; font-size: 16px; } &.handled { //--bc: rgba(0,0,0,.1); /* --bc: #e5e5e5; --bc2: #108F85;*/ .title { background: var(--bc); span.text { font-size: 90%; font-weight: 400; background: #4585CC; &:after { //background-image: linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.1)); border-left-color: #4585CC; border-bottom-color: #4585CC; border-right-color: none; border-top-color: none; } } } } &.current-scene { border: 2px solid #4585CC; } &.flash-scene { animation: flash 2s 10; } } .log-box { width: calc(100% - 20px); min-height: 60px; display: flex; flex-direction: column; color: #415B73; background: var(--bg); border-radius: 8px; font-size: 18px; margin: 8px auto; padding: 5px 10px; .content { width: 100%; display: flex; flex-direction: column; padding: 5px; padding-right: 15px; .title { display: flex; align-items: flex-start; .role { font-weight: 600; font-size: 16px; color: #094888; } .scene-name { margin-left: 10px; font-size: 12px; padding: 1px 5px; border-radius: 3px; background: rgba(69, 133, 204, 0.1); border: 1px solid #094888; color: #094B88; } } .text { font-size: 14px; color: #36536D; padding-left: 15px; position: relative; &:before { content: ""; position: absolute; width: 8px; height: 8px; border-radius: 8px; left: 0; top: 50%; transform: translateY(-50%); background: #999; } } } .reviews-box { display: flex; justify-content: flex-end; color: var(--mc); cursor: pointer; .disabled { cursor: not-allowed; } i { font-size: 15px; margin: 0 5px; } .fas:nth-child(1) { color: #007bff; } .fas:nth-child(2) { color: #dc3545; } } &.send { .title .role { color: #03AEBC; } .text { &:before { background: #03AEBC; } } .btn { background: #36536D; color: #fff; } } } .role-box { display: flex; flex-wrap: wrap; justify-content: center; .role { width: calc(50% - 20px); height: 50px; margin: 6px; padding: 0 5px; font-size: 14px; display: flex; justify-content: center; align-items: center; text-align: center; white-space: normal; word-break: break-all; color: var(--tc); border: 1px solid var(--brc); background: var(--bg); border-radius: 5px; cursor: pointer; overflow: hidden; } } .score-box { font-size: 14px; margin: 5px; padding: 8px 15px; display: flex; justify-content: space-between; border-radius: 5px; color: #262626; background: var(--bg); .name { width: 130px; line-height: 30px; border-radius: 5px; background: #03AEBC; color: #fff; text-align: center; font-size: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .score { font-size: 110%; font-weight: 600; color: #094B88; line-height: 30px; text-align: center; span { padding-left: 10px; font-size: 1rem; font-weight: 400; } } &.system-score { .name { font-size: 16px; font-weight: 600; } } } &.plan-box { margin: 5px 10px; border: 1px solid #a5d4f4; border-radius: 5px 5px 0 0; display: flex; flex-direction: column; background: linear-gradient(174.54deg, rgba(204, 224, 248, 0.76) 0.23%, rgba(242, 249, 255, 0.76) 120.71%); .plan-name { width: 100%; background: #a5d4f4; color: #fff; padding: 5px 0; text-align: center; cursor: pointer; } .plan-role { width: 100%; padding: 5px 15px; display: flex; flex-wrap: wrap; justify-content: flex-start; .role { width: calc(25% - 12px); height: 50px; font-size: 14px; padding: 0 5px; margin: 6px; display: flex; justify-content: center; align-items: center; text-align: center; white-space: normal; word-break: break-all; color: var(--tc); border: 1px solid var(--brc); background: var(--bg); border-radius: 5px; cursor: pointer; overflow: hidden; } } } } .modal { .modal-content { /*background: #d7e7fa;*/ } .modal-header { color: var(--tc); .modal-title-span { } .close { font-size: 30px; } } .modal-footer { justify-content: center; .btn { margin: 0; } .btn-outline-iwb { background: #F5F5F5; color: #36536D; border: 1px solid #F3F3F3; } .btn-iwb { margin: 0 15px; padding: 8px 20px; background: #03AEBC; border-color: #03AEBC; border-radius: 8px; color: #DAEDFF; font-size: 16px; } } } .load-box { position: fixed; top: 0; bottom: 0; left: 0; right: 0; display: flex; justify-content: center; align-items: center; font-size: 40px; font-weight: 400; color: #094B88; z-index: 1000; background: rgba(255,255,255,0.6); .loading { margin-top: -10%; } .loading:after { overflow: hidden; display: inline-block; vertical-align: bottom; animation: ellipsis 2s infinite; content: "\2026"; } } .question-box { button { --w: 80px; width: var(--w); height: var(--w); border-radius: var(--w); position: absolute; right: 300px; /* left: 50%; top: 40%; transform: translateX(-50%) translateY(-50%);*/ z-index: 5; background-color: #dc3545; color: #fff; border: none; outline: none; &:hover { background-color: #bd2130; } i { font-size: 40px; } &:not(:hover) { animation: 1s shine ease-in-out infinite; i { animation: 1s flashing ease-in-out infinite; } } } } .modal .question { font-size: 18px; margin-bottom: 10px; } .btn-box { position: absolute; top: 15px; left: 50px; &.btn-box-right { top: 5px; left: auto; right: 40px; } .btn-question { display: flex; flex-direction: column; justify-content: center; align-items: center; position: relative; .img { --w: 40px; width: var(--w); height: var(--w); } .text { color: #fff; font-size: 14px; } .dot { display: none; width: 10px; height: 10px; border-radius: 10px; background: red; position: absolute; top: 2px; right: 6px; animation: 1s flashing ease-in-out infinite; } &.notity { .dot { display: block; } } } } .stu-question-box { position: fixed; top: 0; left: 0; z-index: 10; width: 100vw; height: 100vh; background-color: rgba(0,0,0,.2); display: flex; justify-content: center; align-items: center; .question-box-body { position: relative; z-index: 20; .close-icon { --w: 35px; --t: -70px; width: var(--w); height: var(--w); border-radius: var(--w); position: absolute; top: var(--t); right: var(--t); background: #5f7790; color: #fff; font-size: 14px; font-weight: 400; display: flex; justify-content: center; align-items: center; cursor: pointer; :hover { background: #405b76; } } } .question-bg-box { --h: 624px; width: 888px; height: var(--h); z-index: 11; background-image: url('/Content/Image/ExerciseV2/msg02.png'); .close-icon { top: 0; right: -70px; } } .questions-box { width: 100%; transform: translate(70px,90px); height: calc(var(--h) - 140px); background: #fff; background: linear-gradient(106.01deg, #F3E1F1 3.44%, #E7ECF5 16.08%, #F1F3FF 45.1%, #D1D9F7 97.06%); border-radius: 10px; padding: 10px 15px; color: #36536D; .question-header { width: 100%; height: 50px; display: flex; justify-content: center; align-items: center; padding-bottom: 10px } .questions { display: flex; flex-direction: column; height: 250px; overflow-y: auto; padding: 5px; .question-item { display: flex; flex-direction: column; .question, .answers { padding: 6px 2px 6px 35px; border-bottom: 1px dashed #36536D; position: relative; font-size: 14px; display: flex; color: #36536D; &:before { content: ""; position: absolute; top: 10px; left: 2px; width: 26px; height: 26px; } } .question { display: flex; justify-content: space-between; align-items: center; width: 100%; font-weight: 600; .btn { margin: 0 8px; white-space: nowrap; padding: 4px 15px; border-radius: 3px; } &:before { background-image: url('/Content/Image/ExerciseV2/stu-question.png'); } &.has-answer { .btn { background: rgba(204, 224, 248, 0.76); color: #36536D; } } } .answers { flex-direction: column; .answer { padding: 4px 0; &.answer-empty { color: #aaa; } } &:before { background-image: url('/Content/Image/ExerciseV2/stu-answer.png'); } } } } .question-form { position: relative; padding-top: 20px; .question { display: flex; font-size: 16px; font-weight: 600; padding-bottom: 10px; img { width: 42px; height: 42px; margin-right: 8px; } .text { display: flex; align-items: center; } } textarea { height: 80px; padding-right: 110px; } .send-btn { margin: 0; position: absolute; bottom: 20px; right: 20px; } } .empty { width: 100%; height: 300px; display: flex; justify-content: center; align-items: center; flex-direction: column; font-size: 14px; font-weight: 600; margin-top: -30px; img { width: 80px; height: 84px; } .text { margin-top: 10px; color: #aaa; } } } .new { width: 840px; height: 464px; background-image: url('/Content/Image/ExerciseV2/msg01.png'); animation: 1.5s shake ease-in-out infinite; } } /*@keyframes shine { 0% { filter: drop-shadow(0 0 12px #dc3545); } 50% { filter: drop-shadow(0 0 12px #bd2130); } 100% { filter: drop-shadow(0 0 12px #dc3545); } }*/ @keyframes flashing { 0% { opacity: 1; transform: scale(1) } 50% { opacity: 0.5; transform: scale(0.9) } 100% { opacity: 1; transform: scale(1) } } @keyframes shine { 0% { filter: drop-shadow(0 0 5px #c82333); } 100% { filter: drop-shadow(0 0 15px #c82333); } } @keyframes shake { 0%,100% { filter: drop-shadow(0 0 5px #457ddd); } 10%, 90% { transform: translate3d(-1px, 0, 0); } 20%, 80% { transform: translate3d(+2px, 0, 0); } 30%, 70% { transform: translate3d(-4px, 0, 0); } 40%, 60% { transform: translate3d(+4px, 0, 0); } 50% { filter: drop-shadow(0 0 15px #457ddd); transform: translate3d(-4px, 0, 0); } } @keyframes flash { 0% { transform: scale(1.0,1.05); //background-image: linear-gradient(rgba(0,0,0,.2),rgba(0,0,0,.2)) } 50% { transform: scale(0.98,0.85); //background-image: linear-gradient(rgba(0,0,0,.5),rgba(0,0,0,.5)) } 100% { transform: scale(1.0,1.05); //background-image: linear-gradient(rgba(0,0,0,.2),rgba(0,0,0,.2)); } }