123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971 |
- html {
- box-sizing: border-box;
- font-family: Helvetica, Verdana, 微软雅黑, "Hiragino Sans GB", "Hiragino Sans GB W3", 宋体, Arial, sans-serif;
- text-size-adjust: none;
- }
- body {
- --mt-h: 70px;
- --mc: #3481ab;
- --c: #ddd;
- --c1: #51bdf6;
- --c2: #40faee;
- --bg1: rgba(16, 62, 111,.5);
- --bg2: rgba(255, 255, 255,.35);
- width: 100%;
- height: 100vh;
- display: flex;
- flex-direction: column;
- color: #f2f6fe;
- /*background-image: linear-gradient(#08172c,#04233b)*/
- background-image: url('../V2/Img/bg.png');
- font-family: inherit;
- }
- .main-title {
- padding: 15px 20px 0;
- height: var(--mt-h);
- width: 100%;
- .title-box {
- display: flex;
- align-items: center;
- justify-content: space-between;
- font-size: 16px;
- .current-time {
- .time {
- display: flex;
- align-items: flex-end;
- padding: 0 1rem;
- font-size: 45px;
- line-height: 1;
- font-weight: bolder;
- }
- .date {
- display: flex;
- flex-direction: column;
- justify-content: end;
- line-height: 1;
- color: var(--c1);
- font-weight: bolder;
- }
- }
- .title {
- position: absolute;
- left: 50%;
- transform: translateX(-50%);
- color: var(--c2);
- top: 12px;
- img {
- transform: scale(0.95);
- }
- .svg-icon {
- position: absolute;
- left: 50%;
- transform: translateX(-50%);
- top: -10px
- }
- }
- .time-down {
- display: flex;
- align-items: center;
- margin-right: 25px;
- span {
- color: var(--c1);
- padding: 0 10px;
- }
- .time {
- font-size: 30px;
- display: flex;
- align-items: center;
- span {
- display: flex;
- align-items: center;
- justify-content: center;
- width: 32px;
- height: 45px;
- color: #fff;
- background: var(--c1);
- margin: 0 3px;
- }
- strong {
- padding: 0 3px;
- }
- }
- }
- }
- }
- .main-area {
- width: 100%;
- height: calc(100vh - var(--mt-h));
- display: flex;
- justify-content: center;
- align-items: center;
- --padding: 3px;
- --mw: calc(100% - var(--padding)*2);
- --mh: calc(100vh - var(--mt-h) - var(--padding)*2);
- padding: var(--padding);
- .area-h {
- width: 100%;
- height: 100%;
- display: flex;
- flex-direction: row;
- padding: 0 8px;
- }
- .area-v {
- padding: 0 8px;
- width: 100%;
- height: 100%;
- display: flex;
- flex-direction: column;
- }
- .area {
- padding: 8px;
- width: 100%;
- height: 100%;
- }
- }
- .card.card-box {
- --card_header_h: 42px;
- --border_color: #1E77B3;
- --bg_color: rgba(6, 30, 93,.5);
- --clip_length: 17px;
- --border_length: 12px;
- width: 100%;
- height: 100%;
- flex-direction: column;
- margin: 8px 0;
- clip-path: polygon( var(--clip_length) 0, calc(100% - var(--clip_length)) 0, 100% var(--clip_length), 100% calc(100% - var(--clip_length)), calc(100% - var(--clip_length)) 100%, var(--clip_length) 100%, 0 calc(100% - var(--clip_length)),0 var(--clip_length));
- background: linear-gradient(-45deg, var(--border_color) var(--border_length), var(--bg_color) 0) bottom right, linear-gradient(45deg, var(--border_color) var(--border_length), var(--bg_color) 0) bottom left, linear-gradient(135deg, var(--border_color) var(--border_length), var(--bg_color) 0) top left, linear-gradient(-135deg, var(--border_color) var(--border_length), var(--bg_color) 0) top right;
- /*background-color: var(--bg_color);*/
- background-size: 50% 50%;
- background-repeat: no-repeat;
- box-shadow: 0 0 8px var(--c1) inset !important;
- border: 2px solid var(--border_color);
- .card-header {
- --border_color: #02102d;
- --bg_color: #04102d;
- clip-path: polygon( var(--clip_length) 0, calc(100% - var(--clip_length)) 0, 100% var(--clip_length), 100% calc(100% - var(--clip_length)), calc(100% - var(--clip_length)) 100%, var(--clip_length) 100%, 0 calc(100% - var(--clip_length)),0 var(--clip_length));
- background: linear-gradient(-45deg, var(--border_color) var(--border_length), var(--bg_color) 0) bottom right, linear-gradient(45deg, var(--border_color) var(--border_length), var(--bg_color) 0) bottom left, linear-gradient(135deg, var(--border_color) var(--border_length), var(--bg_color) 0) top left, linear-gradient(-135deg, var(--border_color) var(--border_length), var(--bg_color) 0) top right;
- height: var(--card_header_h);
- line-height: var(--card_header_h);
- padding: 0 1.5rem;
- position: relative;
- .card-title {
- display: flex;
- align-items: center;
- .icon, .fa {
- padding-right: 8px;
- color: var(--c1);
- }
- img {
- margin-right: 8px;
- width: 24px;
- height: auto;
- }
- color: var(--c2);
- font-weight: bolder;
- }
- .svg-box {
- position: absolute;
- top: 0;
- right: 25px;
- overflow: hidden;
- width: 250px;
- }
- }
- .card-body {
- padding: 0;
- height: calc(100% - var(--card_header_h));
- }
- }
- .card.card-vber {
- --borderRadius: 0.75rem;
- margin: 0;
- width: 100% !important;
- height: 100% !important;
- background: transparent;
- border-radius: var(--borderRadius);
- box-shadow: none;
- .card-header {
- background: #17a2b8;
- padding: 0.5rem 1rem;
- border-radius: var(--borderRadius) var(--borderRadius) 0 0;
- /*
- &:before {
- content: "";
- position: absolute;
- left: -1px;
- top: calc(50% - 12.5px);
- width: 5px;
- height: 25px;
- background: #17a2b8;
- border-radius: 0 5px 5px 0;
- }*/
- .card-title {
- font-weight: bold;
- position: relative;
- }
- }
- .card-body {
- /*background: #fbfdff;*/
- /*background-image: radial-gradient(#f2f3fe,#f5f3fe,#f8f6fe,#faf6fe,#fff);*/
- padding: 10px 1px 5px;
- /*border-radius: 0 0 var(--borderRadius) var(--borderRadius);*/
- border-radius: var(--borderRadius);
- /*border: 1px solid #17a2b8;*/
- .scroll-box {
- width: 100%;
- height: 100%;
- padding: 0 10px;
- .box-body {
- width: 100%;
- height: 100%;
- }
- }
- }
- &.maximized-card {
- --p: 10px;
- border-radius: var(--borderRadius);
- left: var(--p);
- right: var(--p);
- top: var(--p);
- bottom: var(--p);
- width: calc(100% - var(--p)*2) !important;
- height: calc(100% - var(--p)*2) !important;
- .card-header {
- border-radius: var(--borderRadius) var(--borderRadius) 0 0 !important;
- }
- }
- }
- .load-box {
- position: fixed;
- top: 0;
- bottom: 0;
- left: 0;
- right: 0;
- display: flex;
- justify-content: center;
- align-items: center;
- font-size: 40px;
- font-weight: 600;
- color: #007bff;
- z-index: 1000;
- background: rgba(255,255,255,0.6);
- .loading {
- margin-top: -10%;
- }
- .loading:after {
- overflow: hidden;
- display: inline-block;
- vertical-align: bottom;
- animation: ellipsis 2s infinite;
- content: "\2026";
- }
- }
- .base-info {
- padding: 0 15px 10px;
- display: flex;
- flex-direction: column;
- dl {
- display: inline-flex;
- margin-bottom: 10px;
- line-height: 22px;
- color: var(--c);
- font-size: 15px;
- dt {
- margin: 0;
- white-space: nowrap;
- }
- dd {
- font-size: 14px;
- padding-left: 10px;
- margin: 0;
- color: var(--c1);
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- }
- }
- .env-info, .log-info {
- display: flex;
- margin-bottom: 12px;
- justify-content: space-between;
- align-items: center;
- width: 100%;
- & > span {
- color: var(--c);
- span {
- padding-left: 5px;
- word-break: break-all;
- }
- &:first-child {
- position: relative;
- padding-left: 8px;
- &:before {
- content: '';
- position: absolute;
- width: 8px;
- height: 8px;
- border-radius: 10px;
- background: var(--c1);
- left: -8px;
- top: 50%;
- transform: translateY(-50%);
- }
- }
- &:last-child {
- color: var(--c1);
- padding-right: 8px;
- }
- }
- }
- .media-box {
- width: 100%;
- height: 100%;
- overflow: hidden;
- .play-icon {
- position: relative;
- width: 100%;
- height: 100%;
- border: 1px solid var(--mc);
- border-radius: 10px;
- display: flex;
- justify-content: center;
- align-items: center;
- i {
- font-size: 40px;
- color: var(--mc);
- }
- }
- }
- .scene-group-box {
- width: 100%;
- height: 100%;
- position: relative;
- .group-name {
- position: absolute;
- color: var(--c1);
- top: -33px;
- right: 25px;
- z-index: 2;
- display: none;
- font-size: 16px;
- font-weight: bolder;
- &.show {
- display: block;
- }
- }
- .scene-box-header {
- color: var(--c2);
- margin-bottom: 12px;
- font-weight: bolder;
- i {
- padding-right: 8px;
- color: var(--c1);
- }
- img {
- margin-right: 8px;
- width: 24px;
- height: auto;
- }
- }
- }
- .current-scene-box {
- background: var(--mc);
- color: #fff;
- padding: 0 15px;
- height: 30px;
- line-height: 30px;
- text-align: center;
- border-radius: 0.25rem;
- font-size: 14px;
- span {
- font-weight: bold;
- }
- }
- .card-scene {
- width: 100%;
- margin: 10px 0;
- border-radius: 0.5rem;
- --bg: var(--mc);
- .card-header {
- color: var(--bg);
- padding: 0.4rem 0.8rem;
- border-radius: 0.5rem 0.5rem 0 0;
- font-weight: bold;
- font-size: 14px;
- cursor: pointer;
- transition: 0.3s all ease-in;
- .card-title {
- font-weight: bold;
- font-size: 15px
- }
- .btn-tool {
- background: #ddd;
- color: var(--bg);
- padding: 0;
- margin-right: 0.25rem;
- width: 28px;
- }
- .btn-tool {
- &.attach.playing {
- color: #fff;
- background: var(--bg);
- }
- &:hover {
- color: #fff;
- background: var(--bg);
- }
- }
- &:before {
- content: "";
- position: absolute;
- left: 0;
- top: 0;
- width: 7px;
- height: 100%;
- background: var(--bg);
- border-radius: 8px 0 0 0;
- transition: 0.3s all ease-in;
- }
- }
- .card-body {
- color: #8c91a8;
- padding: 5px 10px 5px 15px;
- font-size: 12px;
- border-radius: 0 0 0.5rem 0.5rem;
- position: relative;
- &:before {
- content: "";
- position: absolute;
- left: 0;
- top: -1px;
- width: 7px;
- height: calc(100% + 1px);
- background: var(--bg);
- border-radius: 0 0 0 8px;
- }
- .description {
- text-indent: 2em;
- }
- .guide-box {
- font-size: 12px;
- color: #666;
- padding: 0 8px 5px;
- margin: 5px 10px;
- border: 1px dashed darkgray;
- border-radius: 5px;
- }
- .guide-title {
- font-weight: bold;
- margin: 5px 0;
- }
- .guide-info {
- margin: 0 0 5px 0;
- text-indent: 2em;
- }
- }
- &.round {
- --bg: #ffdd20;
- }
- &.end {
- --bg: #ff7c63;
- }
- &.active {
- border: 1px solid var(--bg);
- .card-header {
- color: #fff;
- background: var(--bg);
- .btn-tool {
- &.attach.playing {
- color: var(--bg);
- background: #fff;
- }
- &:hover {
- color: var(--bg);
- background: #eee;
- }
- }
- }
- }
- &.collapsed-card {
- .card-header {
- border-radius: 0.5rem;
- &:before {
- border-radius: 8px 0 0 8px;
- }
- }
- }
- &.flash-scene {
- .card-title {
- animation: flash 1s infinite;
- }
- }
- }
- .scene-list-box {
- display: flex;
- justify-content: space-between;
- align-items: center;
- flex-direction: column;
- padding: 5px 10px;
- width: 100%;
- font-size: 14px;
- &:not(:last-child) {
- border-bottom: 1px solid #6c93be;
- }
- .t {
- color: var(--c1);
- width: 100%;
- i {
- text-indent: 2em;
- margin-right: 4px;
- }
- }
- .b {
- width: 100%;
- color: var(--c);
- text-align: left;
- text-indent: 2em;
- line-height: 18px;
- }
- }
- .scene-eval-box {
- width: 100%;
- height: calc(100% - 25px);
- display: flex;
- flex-direction: column;
- padding: 0;
- .score-box {
- width: 100%;
- display: flex;
- justify-content: space-between;
- margin-bottom: 8px;
- padding: 5px 20px;
- background: var(--bg1);
- background: rgba(16, 62, 110,.5);
- border: 1px solid rgb(16, 103, 150);
- box-shadow: 0 0 3px rgb(16, 103, 150) inset;
- .tag-score {
- display: flex;
- flex-direction: column;
- color: var(--c);
- text-align: center;
- }
- &:last-child {
- .tag-score {
- &:nth-of-type(1) {
- color: #ff9743;
- }
- &:nth-of-type(2) {
- color: #21c8ff;
- }
- &:nth-of-type(3) {
- color: #ffde00;
- }
- &:nth-of-type(4) {
- color: #01f3c6;
- }
- &:nth-of-type(5) {
- color: #eb2727;
- }
- }
- }
- }
- /* justify-content: space-between;
- align-items: stretch;*/
- /*flex-wrap: wrap;*/
- /*.score-box {
- font-size: 13px;
- --h: 28px;
- height: var(--h);
- border-radius: var(--h);
- background: #fff;
- margin: 4px 3px;
- display: flex;
- align-items: center;
- justify-content: space-between;
- width: 30%;
- &.system-score {
- --h: 40px;
- font-size: 14px;
- font-weight: bold;
- }
- .name, .unit {
- line-height: calc(var(--h) - 4px);
- border-radius: var(--h);
- border: 2px solid #fff;
- background: var(--mc);
- color: #fff;
- padding: 0 5px;
- text-align: center;
- }
- .name {
- min-width: 65px;
- overflow: hidden;
- white-space: nowrap;
- text-overflow: ellipsis;
- }
- .score {
- width: auto;*/
- /*padding: 0 calc(var(--h) / 2 + 3px);*/
- /*padding-right: 5px;
- color: var(--mc);
- min-width: 25px;
- font-size: 115%;
- font-weight: bold;
- }
- }*/
- }
- #log-info {
- padding: 0 0 8px;
- > .card-body {
- padding: 0 0 8px;
- }
- }
- .help-info, .desc-info {
- width: 100%;
- height: 100%;
- display: flex;
- justify-content: center;
- align-items: center;
- padding: 0 0 8px;
- img {
- height: 100%;
- width: auto;
- margin: 0 8px;
- background: var(--bg2);
- border-radius: 5px;
- }
- }
- .desc-info {
- img {
- height: auto;
- width: 100%;
- max-height: 100%;
- margin: 2px;
- background: var(--bg2);
- }
- }
- .path-box {
- width: 100%;
- height: 100%;
- --color: var(--c1);
- --colorNode: #20c8fe;
- --colorArrow: #29e29c;
- --fs: 14px;
- --pt: 3px;
- --minW: 80px;
- .round-box {
- position: relative;
- width: 100%;
- height: auto;
- display: flex;
- justify-content: center;
- padding-bottom: 5px;
- --nodeW: 40px;
- .line-v {
- height: calc(100% - 15px - var(--nodeW));
- width: 10px;
- background-color: var(--colorNode);
- position: absolute;
- top: var(--nodeW);
- left: calc(50% - 4px);
- z-index: 0;
- &:before {
- content: "";
- position: absolute;
- border-left: 10px solid transparent;
- border-right: 10px solid transparent;
- border-top: 20px solid var(--colorNode);
- left: -5px;
- bottom: -15px;
- }
- }
- .round-node {
- position: relative;
- width: var(--nodeW);
- height: var(--nodeW);
- border-radius: 50%;
- color: #fff;
- border: 1px solid var(--colorNode);
- background: var(--colorNode);
- display: flex;
- justify-content: center;
- align-items: center;
- z-index: 1;
- &.start-node {
- width: auto;
- height: calc(var(--nodeW) - 10px);
- white-space: nowrap;
- padding: 5px 20px;
- border-radius: 4px;
- &:before {
- border: none;
- }
- }
- }
- .sfb-box {
- width: 42%;
- min-height: 60px;
- border: 2px solid var(--color);
- border-radius: 5px;
- padding: 0;
- margin-top: 10px;
- --w: calc(4%);
- --sw: 170px;
- --margin: calc(var(--w) );
- &:before {
- content: "";
- position: absolute;
- background: var(--colorNode);
- width: var(--w);
- height: 10px;
- top: calc(var(--nodeW)/2 - 5px)
- }
- .sfb-title {
- width: 100%;
- text-align: center;
- font-size: calc(var(--fs) * 1.1);
- padding: var(--pt) 0;
- font-weight: 600;
- border-bottom: 1px solid var(--color);
- color: #fff;
- background: var(--color);
- border-bottom: 1px solid var(--color);
- }
- .sbf-body {
- padding: var(--pt) 5px;
- font-size: var(--fs);
- .sf-box {
- width: 100%;
- border: 1px solid var(--color);
- border-radius: 3px;
- background: rgba(16,62,111,.5);
- margin: 5px 0;
- display: flex;
- .sf-name {
- width: auto;
- width: var(--minW);
- padding: 3px 5px;
- border-right: 1px solid var(--color);
- color: var(--c);
- text-align: center;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .fn-box {
- width: calc(100% - var(--minW));
- display: flex;
- justify-content: center;
- align-items: center;
- flex-wrap: wrap;
- .node {
- --line: 12px;
- position: relative;
- width: var(--line);
- height: var(--line);
- border-radius: 50%;
- border: 2px solid var(--color);
- margin: 0 1px;
- &.end {
- background: var(--color);
- }
- }
- .arrow {
- display: flex;
- justify-content: center;
- align-items: center;
- position: relative;
- width: 10px;
- height: 4px;
- background: var(--colorArrow);
- margin-right: 3px;
- &:before {
- content: "";
- position: absolute;
- border-top: 4px solid transparent;
- border-bottom: 4px solid transparent;
- border-left: 7px solid var(--colorArrow);
- right: -3px;
- }
- }
- }
- }
- }
- &.left {
- margin-right: calc(var(--margin) - 5px);
- &:before {
- right: calc(50% + var(--nodeW)/2 - 2px);
- }
- }
- &.right {
- margin-left: calc(var(--margin) - 5px);
- &:before {
- left: calc(50% + var(--nodeW)/2 - 2px);
- }
- }
- }
- &:first-child {
- .line-v {
- height: calc(100% - 15px - var(--nodeW) + 10px);
- top: calc(var(--nodeW) - 10px);
- }
- }
- }
- }
- @keyframes flash {
- 0% {
- opacity: 1.0;
- color: inherit;
- transform: scale(1);
- }
- 50% {
- opacity: 0.5;
- color: red;
- transform: scale(0.95);
- }
- 100% {
- opacity: 1.0;
- color: inherit;
- transform: scale(1);
- }
- }
- @keyframes ellipsis {
- from {
- width: 2px;
- margin-right: 33px;
- }
- to {
- width: 35px;
- margin-right: 0;
- }
- }
|