123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570 |
- $main-color: #049e9a;
- body {
- --mc: #11998e;
- }
- 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: 5px;
- background: #f3f3f3;
- .btn {
- position: absolute;
- top: 5px;
- margin-bottom: 0;
- z-index: 2;
- padding: 6px 20px;
- background: #f3f3f3;
- border: 1px solid var(--mc);
- color: var(--mc);
- &:hover {
- background: var(--mc);
- color: #f3f3f3;
- }
- &.btn.stop {
- color: #f3f3f3;
- background: var(--mc);
- &:hover {
- background-image: linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.1))
- }
- }
- }
- > div {
- width: calc(100vw - 20px) !important;
- height: calc(100% - 20px) !important;
- display: flex;
- flex: 1 auto;
- justify-content: center;
- }
- }
- .box {
- background: #fff;
- margin: 10px;
- font-size: 1.25rem;
- > .box {
- margin: 0;
- }
- .box-title {
- text-align: left;
- line-height: 45px;
- border-bottom: 2px solid #d9d9d9;
- position: relative;
- & > span {
- color: var(--mc);
- font-size: 1.25rem;
- font-weight: 600;
- padding-left: 40px;
- line-height: 1;
- position: relative;
- &:before {
- content: "";
- position: absolute;
- width: 5px;
- height: 30px;
- top: 2px;
- left: 25px;
- background: var(--mc);
- border-radius: 3px;
- }
- }
- }
- .box-body {
- overflow-y: auto;
- padding: 10px 10px 0;
- height: calc(100% - 50px)
- }
- .media-box {
- width: 98%;
- margin: 10px auto 0;
- border: 3px solid #d9d9d9;
- border-radius: 3px;
- background: #f3f3f3;
- .body-content {
- display: flex;
- justify-content: center;
- align-items: center;
- width: 100%;
- height: 100%;
- /*max-width: 100%;
- max-height: 100%;*/
- overflow: hidden;
- span {
- color: var(--mc);
- font-size: 30px;
- font-weight: 600;
- display: block;
- background: #f3f3f3;
- }
- 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: #fff;
- position: relative;
- height: 35px;
- border-bottom: 1px solid var(--mc);
- span.text {
- display: inline-block;
- padding: 0px 20px;
- line-height: 35px;
- text-align: center;
- min-width: 250px;
- max-width: 300px;
- background: var(--mc);
- 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 var(--mc);
- border-bottom: 18px solid var(--mc);
- border-right: 10px solid #fff;
- border-top: 18px solid #fff;
- }
- }
- .attach-box, .tool {
- position: absolute;
- font-size: 0.875rem;
- right: 40px;
- top: 5px;
- }
- .tool {
- right: 10px;
- top: 10px;
- color: var(--mc);
- }
- .attach1 {
- color: #fff;
- background: var(--mc);
- margin: 0 5px;
- padding: 3px 8px;
- }
- }
- .desc {
- padding: 8px;
- color: #262626;
- background: #f3f3f3;
- white-space: normal;
- word-break: break-word;
- text-indent: 2em;
- min-height: 40px;
- }
- &.handled {
- //--bc: rgba(0,0,0,.1);
- --bc: #e5e5e5;
- --bc2: #108F85;
- .title {
- background: var(--bc);
- span.text {
- font-size: 90%;
- font-weight: 400;
- background: var(--bc2);
- &:after {
- //background-image: linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.1));
- border-left-color: var(--bc2);
- border-bottom-color: var(--bc2);
- border-right-color: var(--bc);
- border-top-color: var(--bc);
- }
- }
- }
- }
- &.current-scene {
- border: 2px solid var(--mc);
- }
- &.flash-scene {
- animation: flash 2s 10;
- }
- }
- .log-box {
- width: calc(100% - 20px);
- margin: 8px auto;
- display: flex;
- align-items: center;
- justify-content: left;
- color: #262626;
- background: #f3f3f3;
- min-height: 80px;
- padding: 5px 10px;
- position: relative;
- .role {
- font-weight: 600;
- white-space: normal;
- color: var(--mc);
- width: 200px;
- text-align: center;
- }
- .name {
- word-break: break-word;
- }
- .word {
- word-break: break-word;
- text-align: left;
- width: calc(100% - 200px);
- text-indent: 2em;
- }
- .reviews-box {
- position: absolute;
- right: 20px;
- bottom: 5px;
- 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;
- }
- }
- &:before {
- content: "";
- position: absolute;
- left: 0;
- top: 0;
- width: 0;
- height: 0;
- border-left: 15px solid #d9d9d9;
- border-top: 15px solid #d9d9d9;
- border-right: 15px solid transparent;
- border-bottom: 15px solid transparent;
- }
- /*&:after {
- content: "";
- position: absolute;
- right: 0;
- bottom: 0;
- width: 0;
- height: 0;
- border-left: 15px solid transparent;
- border-top: 15px solid transparent;
- border-right: 15px solid #d9d9d9;
- border-bottom: 15px solid #d9d9d9;
- }*/
- &.send {
- background-image: linear-gradient(-45deg, rgba(255,255,255,.2), transparent);
- &.specialist {
- padding: 5px 10px 25px;
- min-height: 90px;
- }
- &:before {
- border-left: 15px solid var(--mc);
- border-top: 15px solid var(--mc);
- }
- .word {
- color: #999;
- }
- /*&:after {
- border-right: 15px solid var(--mc);
- border-bottom: 15px solid var(--mc);
- }*/
- }
- }
- .role-box {
- width: 85px;
- height: 85px;
- font-size: 1rem;
- margin: 6px;
- display: flex;
- flex-direction: column;
- justify-content: space-between;
- border-radius: 5px;
- border: 1px solid var(--mc);
- color: (--mc);
- background: #f3f3f3;
- padding: 5px 0;
- float: left;
- cursor: pointer;
- .image {
- width: 100%;
- height: 50%;
- display: flex;
- justify-content: center;
- align-items: center;
- img {
- width: 35px;
- height: 35px;
- border-radius: 20px;
- }
- }
- .name {
- width: 100%;
- height: 30px;
- font-size: 12px;
- display: flex;
- justify-content: center;
- align-items: center;
- text-align: center;
- white-space: normal;
- word-break: break-all;
- /*overflow: hidden;
- white-space: nowrap;
- text-overflow: ellipsis;*/
- }
- }
- .score-box {
- font-size: 1rem;
- margin: 5px;
- padding: 8px 15px;
- display: flex;
- justify-content: space-around;
- border-radius: 5px;
- color: #262626;
- background: #f3f3f3;
- .name {
- width: 130px;
- line-height: 30px;
- border-radius: 20px;
- background: var(--mc);
- color: #fff;
- text-align: center;
- font-size: 100%;
- font-weight: 600;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- .score {
- font-size: 110%;
- font-weight: 600;
- color: #000;
- line-height: 30px;
- text-align: center;
- span {
- padding-left: 10px;
- font-size: 1rem;
- font-weight: 400;
- color: #3c3c3c;
- }
- }
- }
- &.plan-box {
- margin: 5px 10px;
- border: 1px solid $main-color;
- border-radius: 5px 5px 0 0;
- display: flex;
- flex-direction: column;
- .plan-name {
- width: 100%;
- background: var(--mc);
- color: #fff;
- padding: 5px 0;
- text-align: center;
- cursor: pointer;
- }
- .plan-role {
- width: 100%;
- background: #fff;
- padding: 5px 15px;
- .role-box {
- /*min-width: 175px;
- max-width: 250px;*/
- width: 120px;
- height: 120px;
- border-radius: 5px;
- padding: 10px;
- margin: 10px 14px;
- float: left;
- .image {
- width: 100%;
- height: 50%;
- img {
- width: 50px;
- height: 50px;
- border-radius: 25px;
- }
- }
- .name {
- width: 100%;
- height: 40px;
- font-size: 1.2rem;
- }
- }
- }
- }
- }
- .question {
- display: none;
- button {
- --w: 80px;
- width: var(--w);
- height: var(--w);
- border-radius: var(--w);
- position: absolute;
- 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;
- }
- }
- }
- }
- @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 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));
- }
- }
|