$main-color: #049e9a; body { /*background: #3c3c3c;*/ background: #005f61; /*background-image: linear-gradient(150deg,#005f61,#007f61);*/ font-size: 22px; color: #ffffff; } .main-box { display: table; float: left; border: 4px solid #eee; border-left: 0; box-sizing: padding-box; .btn { position: absolute; top: 5px; margin-bottom: 0; z-index: 2; padding: 6px 20px; } } .box { float: left; border-left: 4px solid #eee; .box-title { text-align: center; line-height: 40px; border-bottom: 3px solid #eee; & > span { color: #ffffff; font-size: 1.25rem; font-weight: 600; padding: 0; line-height: 1; } } .box-body { overflow-y: auto; padding: 10px 10px 0; height: calc(100% - 50px) } .media-box { width: 98%; margin: 10px auto 0; border: 3px solid #eee; border-radius: 3px; .body-content { display: flex; justify-content: center; align-items: center; width: 100%; height: 100%; /*max-width: 100%; max-height: 100%;*/ overflow: hidden; span { color: #ffffff; font-size: 30px; font-weight: 600; display: block; } img, video { width: auto; height: 100%; padding: 0; overflow: hidden; } } } .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; .title { padding: 4px 20px; width: 100%; text-align: left; color: #fff; background: #0094ff; position: relative; border-radius: 5px 5px 0 0; .attach-box { position: absolute; font-size: 0.875rem; right: 10px; top: 2px; } .attach { font-size: inherit; } } .desc { padding: 5px; color: #3c3c3c; white-space: normal; word-break: break-word; text-indent: 2em; min-height: 40px; } &.current-scene { border: 2px solid red; //background: #36a3f7 } &.flash-scene { .title { animation: flash 1.0s 20; } } } .log-box { font-size: 1rem; width: 90%; margin: 8px; float: left; display: flex; align-items: center; justify-content: left; color: #3c3c3c; border: 1px solid #e2ebd7; background: #e2ebd7; border-radius: 5px; min-height: 50px; padding: 5px 10px; .role { font-size: 120%; font-weight: 600; white-space: nowrap; } .name { word-break: break-word; } &.send { float: right; color: #ff0000; } } .role-box { font-size: 1rem; margin: 10px; display: flex; border-radius: 5px; border: 1px solid #e2ebd7; color: #3c3c3c; background: #e2ebd7; padding: 5px; .image { width: 50px; display: flex; justify-content: center; align-items: center; img { width: 35px; height: 35px; border-radius: 20px; } } .name { display: flex; justify-content: left; align-items: center; padding: 5px; padding-left: 10px; width: calc(100% - 50px); word-break: break-word; font-weight: 600; } } .score-box { font-size: 1rem; margin: 5px; padding: 8px 25px; display: flex; border-radius: 5px; border: 1px solid #e2ebd7; color: #e2ebd7; .name { font-size: 110%; font-weight: 600; white-space: nowrap; } .socre { word-break: break-word; } } &.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: $main-color; padding: 5px 0; text-align: center; cursor: pointer; } .plan-role { width: 100%; background: #f5f5f5; padding: 5px 15px; .role-box { min-width: 175px; max-width: 250px; margin: 5px; float: left; cursor: pointer; } } } } @keyframes flash { 0% { transform: scale(1.0); background: #f4516c; } 50% { transform: scale(0.98,0.85); background: #EF7148; } 100% { transform: scale(1.0); background: #f4516c; } }