$main-color: #27303f; .nav-box { position: absolute; top: 5px; left: 300px; z-index: 1089; .nav { .nav-item { .nav-link { color: #007bff; border: 1px solid #007bff; border-left: none; border-radius: 0; cursor: pointer; &.active, &:active, &:focus { color: #fff; background: #007bff; } } &:first-child { .nav-link { border-left: 1px solid #007bff; border-radius: 20px 0 0 20px; } } &:last-child { .nav-link { border-radius: 0 20px 20px 0; } } &:first-child:last-child { .nav-link { border-radius: 20px; min-width: 80px; text-align: center; } } } } } .portrait-box { margin: 10px auto; .title-box { border: 1px solid $main-color; border-right-width: 3px; min-height: 50px; display: flex; border-radius: 5px; flex-wrap: nowrap; background: #27303f; color: #27303f; &.ra { border-radius: 5px 5px 0 0; } .left { color: #fff; width: 200px; padding: 0 30px; font-size: 22px; font-weight: 600; &:after { content: ""; width: 0; height: 0; border-left: 16px solid; border-bottom: 24px solid; border-right: 16px solid !important; border-top: 24px solid !important; right: -16px; top: 0; position: absolute; z-index: 1; } } .right { background: #fff; background-clip: padding-box; color: #333; width: calc(100% - 200px); padding-left: 40px; &:after { position: absolute; content: ""; width: 1px; height: 0; border-right: 16px solid; border-top: 24px solid; border-left: 16px solid transparent !important; border-bottom: 24px solid transparent !important; border-color: $main-color; right: 0; top: 0; z-index: 1; } } > div { display: flex; justify-content: center; align-items: center; position: relative; border-color: inherit; } dl.line, dl.line dt, dl.line dd { display: block; float: left; font-weight: 400; font-size: 16px; line-height: 1.5; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; margin: 0; cursor: none; } dl.line { width: 100%; dt { font-weight: 600; width: 80px; text-align: right; } dd { width: calc(100% - 80px); text-align: left; padding-left: 5px; .mid { padding-right: 5px; } } } } .content-box { border: 3px solid $main-color; border-top: none; border-radius: 0 0 5px 5px; padding: 5px; display: flex; .inner-box { margin: 1px 0; display: flex; flex-direction: column; .inner-title { display: flex; justify-content: center; align-items: center; height: 40px; width: 100%; color: #fff; background: #1976d2; font-size: 16px; font-weight: 600; border-radius: 4px 4px 0 0; } .inner-content { display: flex; flex-direction: row; height: calc(100% - 40px); border: 2px solid #1976d2; padding: 5px; background: #fff; border-radius: 0 0 4px 4px; } .remark-box { .inner-title { height: 30px; width: 100%; font-size: 14px; font-weight: 600; background: #2d8aea; } .inner-content { height: calc(100% - 30px); border: 1px solid #1976d2; } } .tab-box { width: 100%; height: auto; min-height: 300px; display: flex; flex-direction: row; .tab-header { height: 40px; width: 100%; display: flex; justify-content: center; align-items: center; .nav { .nav-item { .nav-link { width: auto; padding: 2px 20px; margin: 0 8px; color: #007bff; border: 1px solid #007bff; border-radius: 4px; &.active, &:active, &:focus { color: #fff; background: #007bff; } } } &.nav-role { width: 100%; flex-direction: column; .nav-item { width: 100%; .nav-link { width: 100%; text-align: center; padding: 2px 0px; margin: 0; color: #007bff; border: none; border-top: 1px solid #007bff; border-radius: 0; &.active, &:active, &:focus { color: #fff; background: #007bff; } } &:last-child .nav-link { border-bottom: 1px solid #007bff; } } } } } .tab-content { height: calc(100% - 40px); width: 100%; border: 1px solid #2d8aea; border-radius: 4px; .tab-pane { height: 100%; .body-content { height: 100%; } } .scene-box, .cmd-box { cursor: pointer; margin: 7px 7px 0; padding: 5px 8px; border: 1px solid #2d8aea; font-size: 12px; border-radius: 3px; color: #3c3c3c; background: #f5f5f5; .name { font-weight: 600; color: #FF4500; } .content { font-weight: 400; word-break: break-word; padding-left: 5px; } } .cmd-box { &.not-send { color: #aaa; } } .chart-box { width: 100%; height: 100%; } } } .eval-box { background: $main-color; .chart-box { min-height: 350px; } } } .span-textarea { height: 100%; width: 100%; display: flex; position: relative; .span-remark { padding: 5px; background: inherit; font-weight: 600; font-family: 楷体; color: #333; border: none; overflow: auto; width: 100%; } button { display: none; width: auto; padding: 3px 10px; position: absolute; top: -5px; right: 30px; } textarea { display: none; height: 100%; width: 100%; } } .eval-box { color: #fff; .span-textarea { .span-remark { color: #eee; &.generate { color: #fff; background: rgba(255,255,255,0.3); border: 2px solid #fff; border-radius: 5px; } } } } } .fdc { flex-direction: column !important; } }