123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588 |
- .scroll {
- width: auto;
- }
- body {
- width: 100vw;
- height: 100vh;
- color: #f5f5dc;
- //background-image: linear-gradient(to bottom right, #111E25 0, #111 100%);
- background: #111E25;
- --padding: 5px;
- padding: var(--padding);
- --mc: #049e9a;
- }
- .main-box {
- width: 100%;
- display: flex;
- flex-direction: column;
- height: calc(100vh - var(--padding)*2);
- --h: 30px;
- border: 3px solid var(--mc);
- .main-box-header {
- background: var(--mc);
- height: var(--h);
- font-size: 16px;
- display: flex;
- .user-name {
- width: 20%;
- padding-left: 20px;
- line-height: var(--h);
- cursor: pointer;
- }
- .menu {
- width: 80%;
- padding-right: 20px;
- line-height: var(--h);
- display: inline-block;
- list-style: none;
- display: flex;
- justify-content: flex-end;
- a {
- color: #f5f5dc;
- padding: 0 15px;
- line-height: var(--h);
- }
- }
- }
- }
- .main-box-content {
- padding: 25px 5px 5px;
- height: calc(100% - var(--h));
- display: flex;
- & > div {
- margin: 0 10px
- }
- }
- .box {
- --mh: 10px;
- height: calc(100% - var(--mh));
- margin-top: var(--mh);
- border: 2px solid var(--mc);
- position: relative;
- border-radius: 5px;
- padding-top: 15px;
- .box-header {
- position: absolute;
- color: var(--mc);
- background: #111E25;
- font-size: 24px;
- font-weight: 600;
- top: -20px;
- left: 30px;
- padding: 0 10px;
- }
- .box-content {
- --sh: 300px;
- padding: 12px;
- padding-top: 2px;
- height: calc(100% - var(--mh)*3)
- }
- &.small {
- border-width: 1px;
- .box-header {
- font-size: 20px;
- top: -15px;
- left: 50%;
- }
- .box-content {
- height: 100%;
- }
- }
- .scene-info-box {
- --sh: 300px;
- }
- .log-cmd-box {
- --sh: 165px;
- #current-scene-box {
- height: 35px;
- background: #FF3366;
- color: #fff;
- text-align: center;
- border-radius: 5px;
- margin: 10px 12px 5px;
- span {
- font-size: 16px;
- line-height: 35px;
- }
- }
- .box-content {
- height: calc(100% - var(--mh)*3 - 45px );
- }
- }
- .base-box {
- --sh: 250px;
- }
- #count-down {
- position: absolute;
- top: 20px;
- right: 20px;
- color: red;
- font-weight: 600;
- font-size: 24px;
- }
- }
- #scene-info-box {
- display: flex;
- flex-direction: column;
- .round-box {
- line-height: 35px;
- font-weight: 600;
- font-size: 18px;
- text-align: center;
- color: #fff;
- border-radius: 5px;
- background: #FF3366;
- margin: 10px 0 5px;
- }
- .scene-box {
- width: 100%;
- margin: 5px 0;
- display: flex;
- flex-direction: column;
- //border: 1px solid #ddd;
- font-size: 1rem;
- border: 1px solid #e2ebd7;
- background: #e2ebd7;
- border-radius: 5px;
- cursor: pointer;
- .title {
- padding: 4px 20px;
- font-weight: 600;
- width: 100%;
- text-align: left;
- color: var(--mc);
- border-bottom: 1px solid var(--mc);
- /*color: #fff;
- background: #0094ff;*/
- position: relative;
- border-radius: 5px 5px 0 0;
- span {
- margin-right: 5px;
- &.no-scene {
- margin-right: 5px;
- }
- }
- .tool {
- position: absolute;
- right: 10px;
- top: 5px;
- }
- .attach-box {
- position: absolute;
- font-size: 0.875rem;
- right: 30px;
- top: 2px;
- }
- .attach {
- font-size: inherit;
- }
- }
- .desc {
- padding: 5px;
- color: #3c3c3c;
- white-space: normal;
- word-break: break-word;
- text-indent: 2em;
- min-height: 40px;
- .guide-box {
- font-size: 85%;
- .guide-title{
- font-weight:600;
- color:var(--mc);
- }
- .guide-info{
- margin:5px 0;
- color:#666;
- }
- }
- }
- &.active {
- .title {
- background: var(--mc);
- color: #fff;
- }
- }
- &.current-scene {
- border: 1px solid red;
- //background: #36a3f7
- }
- &.new-scene {
- border: 1px solid #ff6a00;
- }
- &.flash-scene {
- .title {
- background: #339999;
- border-bottom: 1px solid #339999;
- color: #fff;
- span {
- animation: flash 2.0s infinite;
- }
- }
- }
- }
- }
- .role-change-box {
- display:none;
- min-height: 100px;
- border: 1px solid var(--mc);
- background: #3c3c3c;
- position: absolute;
- bottom: calc(100% + 20px);
- padding: 10px;
- bottom: calc(100% - 10px);
- padding:5px 10px;
- left: -30%;
- right: 20%;
- z-index:2;
- border-radius:5px;
-
- .role {
- margin: 6px;
- padding: 5px 10px;
- font-size: 14px;
- color: #fff;
- background: var(--mc);
- }
- }
- .score-info-box {
- /*display: flex;
- flex-direction: column;*/
- .score-box {
- margin: 5px;
- padding: 8px 25px;
- //display: flex;
- //justify-content: center;
- border-radius: 5px;
- border: 1px solid #e2ebd7;
- color: #e2ebd7;
- display: block;
- float: left;
- width: auto;
- text-align: center;
- background: #3c3c3c;
- &.system-score {
- font-size: 18px;
- width: calc(100% - 10px);
- }
- &.tag-score {
- font-size: 14px;
- padding: 5px 25px;
- width: calc(50% - 10px);
- }
- .name {
- font-weight: 600;
- white-space: nowrap;
- }
- .socre {
- word-break: break-word;
- }
- }
- }
- .media-box {
- width: 100%;
- height: 100%;
- .body-content {
- width: 100%;
- height: 100%;
- }
- }
- .cmd-box {
- .tool-box {
- margin-bottom: 10px;
- .role {
- cursor: pointer;
- min-width: 100px;
- border-radius: 20px;
- }
- }
- .msg-box {
- position: relative;
- span {
- position: absolute;
- bottom: 10px;
- right: 15px;
- }
- textarea {
- border: 1px solid var(--mc);
- background: #111e25;
- color: #f5f5dc;
- &:focus, &:active {
- background: #111e25;
- color: #f5f5dc;
- }
- }
- }
- .tool-footer {
- display: flex;
- span {
- width: 50%;
- margin: 5px 10px;
- }
- }
- }
- .base-box .base-info-box {
- dl {
- width: 100%;
- display: flex;
- font-size: 16px;
- margin-bottom: 0;
- }
- dt {
- width: 80px;
- text-align: right;
- font-weight: 600;
- cursor: none;
- }
- dd {
- width: calc(100% - 80px);
- text-align: left;
- word-break: break-all;
- padding-left: 10px;
- margin-bottom: 5px;
- cursor: none;
- .role {
- margin: 3px 5px;
- cursor: pointer;
- }
- .role-help {
- margin: 0;
- width: 100%;
- text-align: center;
- color: #666;
- }
- }
- }
- .scene-path-box{
- width:auto;
- }
- .log-comment {
- display: flex;
- background: #e2ebd7;
- margin: 8px 0;
- padding: 8px;
- border-radius: 5px;
- border: 1px solid var(--mc);
- &.split-line {
- padding:0;
- height:0;
- border:none;
- border-bottom:2px dashed var(--mc);
- }
- img {
- padding: 5px;
- width: 50px;
- height: 50px;
- border-radius: 50%;
- }
- .comment-text {
- padding: 5px;
- width: 100%;
- display: flex;
- flex-direction: column;
- .name {
- color: var(--mc);
- width: 100%;
- font-weight: 600;
- font-size: 1rem;
- .log-state {
- float: right;
- &:not(:disabled) {
- cursor: pointer;
- }
- }
- }
- .log-text {
- width: 100%;
- word-break: break-all;
- color: #3c3c3c;
- }
- }
- }
- .environment {
- width: 100vw;
- height: 100vh;
- background: #000000;
- background: rgba(0, 0, 0, .7);
- position: fixed;
- top: 0;
- right: 0;
- bottom: 0;
- left: 0;
- z-index: 5;
- .close {
- position: absolute;
- top: 100px;
- right: 250px;
- font-size: 16px;
- padding: 8px 20px;
- color: #fff;
- border: 1px solid;
- font-weight: 500;
- opacity: .85;
- z-index: 6;
- cursor: pointer;
- &:not(:disabled):not(.disabled):hover, &:not(:disabled):not(.disabled):focus {
- color: #fff;
- text-decoration: none;
- opacity: 1;
- }
- }
- .play-box {
- height: 80%;
- width: 80%;
- min-width: 600px;
- max-width: 800px;
- min-height: 400px;
- max-height: 700px;
- margin: 150px auto;
- text-align: center;
- img, video {
- width: 100%;
- height: 100%;
- opacity: 1;
- }
- audio {
- display:none;
- }
- }
- }
- .flash {
- animation: fade 1s infinite;
- -webkit-animation: fade 1s infinite;
- }
- @keyframes flash {
- from {
- opacity: 1.0;
- transform:scale(1);
- }
- 50% {
- opacity: 0.5;
- transform:scale(0.95);
- }
- to {
- opacity: 1.0;
- transform:scale(1);
- }
- }
- @-webkit-keyframes flash {
- from {
- opacity: 1.0;
- transform: scale(1);
- }
- 50% {
- opacity: 0.5;
- transform: scale(0.95);
- }
- to {
- opacity: 1.0;
- transform: scale(1);
- }
- }
- @keyframes fade {
- from {
- opacity: 1.0;
- transform:scale(1);
- }
- 50% {
- opacity: 0.9;
- transform:scale(0.9);
- }
- to {
- opacity: 1.0;
- transform:scale(1);
- }
- }
- @-webkit-keyframes fade {
- from {
- opacity: 1.0;
- transform: scale(1);
- }
- 50% {
- opacity: 0.8;
- transform: scale(0.9);
- }
- to {
- opacity: 1.0;
- transform: scale(1);
- }
- }
|