| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904 |
- @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));
- }
- }
|