.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); } }