v2.css 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848
  1. @charset "UTF-8";
  2. html {
  3. box-sizing: border-box;
  4. font-family: Helvetica, Verdana, 微软雅黑, "Hiragino Sans GB", "Hiragino Sans GB W3", 宋体, Arial, sans-serif;
  5. text-size-adjust: none;
  6. }
  7. body {
  8. --mt-h: 70px;
  9. --mc: #3481ab;
  10. --c: #ddd;
  11. --c1: #51bdf6;
  12. --c2: #40faee;
  13. --bg1: rgba(16, 62, 111,.5);
  14. --bg2: rgba(255, 255, 255,.35);
  15. width: 100%;
  16. height: 100vh;
  17. display: flex;
  18. flex-direction: column;
  19. color: #f2f6fe;
  20. /*background-image: linear-gradient(#08172c,#04233b)*/
  21. background-image: url("../../V2/Img/bg.png");
  22. font-family: inherit;
  23. }
  24. .main-title {
  25. padding: 15px 20px 0;
  26. height: var(--mt-h);
  27. width: 100%;
  28. }
  29. .main-title .title-box {
  30. display: flex;
  31. align-items: center;
  32. justify-content: space-between;
  33. font-size: 16px;
  34. }
  35. .main-title .title-box .current-time .time {
  36. display: flex;
  37. align-items: flex-end;
  38. padding: 0 1rem;
  39. font-size: 45px;
  40. line-height: 1;
  41. font-weight: bolder;
  42. }
  43. .main-title .title-box .current-time .date {
  44. display: flex;
  45. flex-direction: column;
  46. justify-content: end;
  47. line-height: 1;
  48. color: var(--c1);
  49. font-weight: bolder;
  50. }
  51. .main-title .title-box .title {
  52. position: absolute;
  53. left: 50%;
  54. transform: translateX(-50%);
  55. color: var(--c2);
  56. top: 12px;
  57. }
  58. .main-title .title-box .title img {
  59. transform: scale(0.95);
  60. }
  61. .main-title .title-box .title .svg-icon {
  62. position: absolute;
  63. left: 50%;
  64. transform: translateX(-50%);
  65. top: -10px;
  66. }
  67. .main-title .title-box .time-down {
  68. display: flex;
  69. align-items: center;
  70. margin-right: 25px;
  71. }
  72. .main-title .title-box .time-down span {
  73. color: var(--c1);
  74. padding: 0 10px;
  75. }
  76. .main-title .title-box .time-down .time {
  77. font-size: 30px;
  78. display: flex;
  79. align-items: center;
  80. }
  81. .main-title .title-box .time-down .time span {
  82. display: flex;
  83. align-items: center;
  84. justify-content: center;
  85. width: 32px;
  86. height: 45px;
  87. color: #fff;
  88. background: var(--c1);
  89. margin: 0 3px;
  90. }
  91. .main-title .title-box .time-down .time strong {
  92. padding: 0 3px;
  93. }
  94. .main-area {
  95. width: 100%;
  96. height: calc(100vh - var(--mt-h));
  97. display: flex;
  98. justify-content: center;
  99. align-items: center;
  100. --padding: 3px;
  101. --mw: calc(100% - var(--padding)*2);
  102. --mh: calc(100vh - var(--mt-h) - var(--padding)*2);
  103. padding: var(--padding);
  104. }
  105. .main-area .area-h {
  106. width: 100%;
  107. height: 100%;
  108. display: flex;
  109. flex-direction: row;
  110. padding: 0 8px;
  111. }
  112. .main-area .area-v {
  113. padding: 0 8px;
  114. width: 100%;
  115. height: 100%;
  116. display: flex;
  117. flex-direction: column;
  118. }
  119. .main-area .area {
  120. padding: 8px;
  121. width: 100%;
  122. height: 100%;
  123. }
  124. .card.card-box {
  125. --card_header_h: 42px;
  126. --border_color: #1E77B3;
  127. --bg_color: rgba(6, 30, 93,.5);
  128. --clip_length: 17px;
  129. --border_length: 12px;
  130. width: 100%;
  131. height: 100%;
  132. flex-direction: column;
  133. margin: 8px 0;
  134. 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));
  135. 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;
  136. /*background-color: var(--bg_color);*/
  137. background-size: 50% 50%;
  138. background-repeat: no-repeat;
  139. box-shadow: 0 0 8px var(--c1) inset !important;
  140. border: 2px solid var(--border_color);
  141. }
  142. .card.card-box .card-header {
  143. --border_color: #02102d;
  144. --bg_color: #04102d;
  145. 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));
  146. 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;
  147. height: var(--card_header_h);
  148. line-height: var(--card_header_h);
  149. padding: 0 1.5rem;
  150. position: relative;
  151. }
  152. .card.card-box .card-header .card-title {
  153. display: flex;
  154. align-items: center;
  155. color: var(--c2);
  156. font-weight: bolder;
  157. }
  158. .card.card-box .card-header .card-title .icon, .card.card-box .card-header .card-title .fa {
  159. padding-right: 8px;
  160. color: var(--c1);
  161. }
  162. .card.card-box .card-header .card-title img {
  163. margin-right: 8px;
  164. width: 24px;
  165. height: auto;
  166. }
  167. .card.card-box .card-header .svg-box {
  168. position: absolute;
  169. top: 0;
  170. right: 25px;
  171. overflow: hidden;
  172. width: 250px;
  173. }
  174. .card.card-box .card-body {
  175. padding: 0;
  176. height: calc(100% - var(--card_header_h));
  177. }
  178. .card.card-vber {
  179. --borderRadius: 0.75rem;
  180. margin: 0;
  181. width: 100% !important;
  182. height: 100% !important;
  183. background: transparent;
  184. border-radius: var(--borderRadius);
  185. box-shadow: none;
  186. }
  187. .card.card-vber .card-header {
  188. background: #17a2b8;
  189. padding: 0.5rem 1rem;
  190. border-radius: var(--borderRadius) var(--borderRadius) 0 0;
  191. /*
  192. &:before {
  193. content: "";
  194. position: absolute;
  195. left: -1px;
  196. top: calc(50% - 12.5px);
  197. width: 5px;
  198. height: 25px;
  199. background: #17a2b8;
  200. border-radius: 0 5px 5px 0;
  201. }*/
  202. }
  203. .card.card-vber .card-header .card-title {
  204. font-weight: bold;
  205. position: relative;
  206. }
  207. .card.card-vber .card-body {
  208. /*background: #fbfdff;*/
  209. /*background-image: radial-gradient(#f2f3fe,#f5f3fe,#f8f6fe,#faf6fe,#fff);*/
  210. padding: 10px 1px 5px;
  211. /*border-radius: 0 0 var(--borderRadius) var(--borderRadius);*/
  212. border-radius: var(--borderRadius);
  213. /*border: 1px solid #17a2b8;*/
  214. }
  215. .card.card-vber .card-body .scroll-box {
  216. width: 100%;
  217. height: 100%;
  218. padding: 0 10px;
  219. }
  220. .card.card-vber .card-body .scroll-box .box-body {
  221. width: 100%;
  222. height: 100%;
  223. }
  224. .card.card-vber.maximized-card {
  225. --p: 10px;
  226. border-radius: var(--borderRadius);
  227. left: var(--p);
  228. right: var(--p);
  229. top: var(--p);
  230. bottom: var(--p);
  231. width: calc(100% - var(--p) * 2) !important;
  232. height: calc(100% - var(--p) * 2) !important;
  233. }
  234. .card.card-vber.maximized-card .card-header {
  235. border-radius: var(--borderRadius) var(--borderRadius) 0 0 !important;
  236. }
  237. .load-box {
  238. position: fixed;
  239. top: 0;
  240. bottom: 0;
  241. left: 0;
  242. right: 0;
  243. display: flex;
  244. justify-content: center;
  245. align-items: center;
  246. font-size: 40px;
  247. font-weight: 600;
  248. color: #007bff;
  249. z-index: 1000;
  250. background: rgba(255, 255, 255, 0.6);
  251. }
  252. .load-box .loading {
  253. margin-top: -10%;
  254. }
  255. .load-box .loading:after {
  256. overflow: hidden;
  257. display: inline-block;
  258. vertical-align: bottom;
  259. animation: ellipsis 2s infinite;
  260. content: "…";
  261. }
  262. .base-info {
  263. padding: 0 15px 10px;
  264. display: flex;
  265. flex-direction: column;
  266. }
  267. .base-info dl {
  268. display: inline-flex;
  269. margin-bottom: 10px;
  270. line-height: 22px;
  271. color: var(--c);
  272. font-size: 15px;
  273. }
  274. .base-info dl dt {
  275. margin: 0;
  276. white-space: nowrap;
  277. }
  278. .base-info dl dd {
  279. font-size: 14px;
  280. padding-left: 10px;
  281. margin: 0;
  282. color: var(--c1);
  283. overflow: hidden;
  284. text-overflow: ellipsis;
  285. white-space: nowrap;
  286. }
  287. .env-info, .log-info {
  288. display: flex;
  289. margin-bottom: 12px;
  290. justify-content: space-between;
  291. align-items: center;
  292. width: 100%;
  293. }
  294. .env-info > span, .log-info > span {
  295. color: var(--c);
  296. }
  297. .env-info > span span, .log-info > span span {
  298. padding-left: 5px;
  299. word-break: break-all;
  300. }
  301. .env-info > span:first-child, .log-info > span:first-child {
  302. position: relative;
  303. padding-left: 8px;
  304. }
  305. .env-info > span:first-child:before, .log-info > span:first-child:before {
  306. content: "";
  307. position: absolute;
  308. width: 8px;
  309. height: 8px;
  310. border-radius: 10px;
  311. background: var(--c1);
  312. left: -8px;
  313. top: 50%;
  314. transform: translateY(-50%);
  315. }
  316. .env-info > span:last-child, .log-info > span:last-child {
  317. color: var(--c1);
  318. padding-right: 8px;
  319. }
  320. .media-box {
  321. width: 100%;
  322. height: 100%;
  323. overflow: hidden;
  324. }
  325. .media-box .play-icon {
  326. position: relative;
  327. width: 100%;
  328. height: 100%;
  329. border: 1px solid var(--mc);
  330. border-radius: 10px;
  331. display: flex;
  332. justify-content: center;
  333. align-items: center;
  334. }
  335. .media-box .play-icon i {
  336. font-size: 40px;
  337. color: var(--mc);
  338. }
  339. .scene-group-box {
  340. width: 100%;
  341. height: 100%;
  342. position: relative;
  343. }
  344. .scene-group-box .group-name {
  345. position: absolute;
  346. color: var(--c1);
  347. top: -33px;
  348. right: 25px;
  349. z-index: 2;
  350. display: none;
  351. font-size: 16px;
  352. font-weight: bolder;
  353. }
  354. .scene-group-box .group-name.show {
  355. display: block;
  356. }
  357. .scene-group-box .scene-box-header {
  358. color: var(--c2);
  359. margin-bottom: 12px;
  360. font-weight: bolder;
  361. }
  362. .scene-group-box .scene-box-header i {
  363. padding-right: 8px;
  364. color: var(--c1);
  365. }
  366. .scene-group-box .scene-box-header img {
  367. margin-right: 8px;
  368. width: 24px;
  369. height: auto;
  370. }
  371. .current-scene-box {
  372. background: var(--mc);
  373. color: #fff;
  374. padding: 0 15px;
  375. height: 30px;
  376. line-height: 30px;
  377. text-align: center;
  378. border-radius: 0.25rem;
  379. font-size: 14px;
  380. }
  381. .current-scene-box span {
  382. font-weight: bold;
  383. }
  384. .card-scene {
  385. width: 100%;
  386. margin: 10px 0;
  387. border-radius: 0.5rem;
  388. --bg: var(--mc);
  389. }
  390. .card-scene .card-header {
  391. color: var(--bg);
  392. padding: 0.4rem 0.8rem;
  393. border-radius: 0.5rem 0.5rem 0 0;
  394. font-weight: bold;
  395. font-size: 14px;
  396. cursor: pointer;
  397. transition: 0.3s all ease-in;
  398. }
  399. .card-scene .card-header .card-title {
  400. font-weight: bold;
  401. font-size: 15px;
  402. }
  403. .card-scene .card-header .btn-tool {
  404. background: #ddd;
  405. color: var(--bg);
  406. padding: 0;
  407. margin-right: 0.25rem;
  408. width: 28px;
  409. }
  410. .card-scene .card-header .btn-tool.attach.playing {
  411. color: #fff;
  412. background: var(--bg);
  413. }
  414. .card-scene .card-header .btn-tool:hover {
  415. color: #fff;
  416. background: var(--bg);
  417. }
  418. .card-scene .card-header:before {
  419. content: "";
  420. position: absolute;
  421. left: 0;
  422. top: 0;
  423. width: 7px;
  424. height: 100%;
  425. background: var(--bg);
  426. border-radius: 8px 0 0 0;
  427. transition: 0.3s all ease-in;
  428. }
  429. .card-scene .card-body {
  430. color: #8c91a8;
  431. padding: 5px 10px 5px 15px;
  432. font-size: 12px;
  433. border-radius: 0 0 0.5rem 0.5rem;
  434. position: relative;
  435. }
  436. .card-scene .card-body:before {
  437. content: "";
  438. position: absolute;
  439. left: 0;
  440. top: -1px;
  441. width: 7px;
  442. height: calc(100% + 1px);
  443. background: var(--bg);
  444. border-radius: 0 0 0 8px;
  445. }
  446. .card-scene .card-body .description {
  447. text-indent: 2em;
  448. }
  449. .card-scene .card-body .guide-box {
  450. font-size: 12px;
  451. color: #666;
  452. padding: 0 8px 5px;
  453. margin: 5px 10px;
  454. border: 1px dashed darkgray;
  455. border-radius: 5px;
  456. }
  457. .card-scene .card-body .guide-title {
  458. font-weight: bold;
  459. margin: 5px 0;
  460. }
  461. .card-scene .card-body .guide-info {
  462. margin: 0 0 5px 0;
  463. text-indent: 2em;
  464. }
  465. .card-scene.round {
  466. --bg: #ffdd20;
  467. }
  468. .card-scene.end {
  469. --bg: #ff7c63;
  470. }
  471. .card-scene.active {
  472. border: 1px solid var(--bg);
  473. }
  474. .card-scene.active .card-header {
  475. color: #fff;
  476. background: var(--bg);
  477. }
  478. .card-scene.active .card-header .btn-tool.attach.playing {
  479. color: var(--bg);
  480. background: #fff;
  481. }
  482. .card-scene.active .card-header .btn-tool:hover {
  483. color: var(--bg);
  484. background: #eee;
  485. }
  486. .card-scene.collapsed-card .card-header {
  487. border-radius: 0.5rem;
  488. }
  489. .card-scene.collapsed-card .card-header:before {
  490. border-radius: 8px 0 0 8px;
  491. }
  492. .card-scene.flash-scene .card-title {
  493. animation: flash 1s infinite;
  494. }
  495. .scene-list-box {
  496. display: flex;
  497. justify-content: space-between;
  498. align-items: center;
  499. flex-direction: column;
  500. padding: 5px 10px;
  501. width: 100%;
  502. font-size: 14px;
  503. }
  504. .scene-list-box:not(:last-child) {
  505. border-bottom: 1px solid #6c93be;
  506. }
  507. .scene-list-box .t {
  508. color: var(--c1);
  509. width: 100%;
  510. }
  511. .scene-list-box .t i {
  512. text-indent: 2em;
  513. margin-right: 4px;
  514. }
  515. .scene-list-box .b {
  516. width: 100%;
  517. color: var(--c);
  518. text-align: left;
  519. text-indent: 2em;
  520. line-height: 18px;
  521. }
  522. .scene-eval-box {
  523. width: 100%;
  524. height: calc(100% - 25px);
  525. display: flex;
  526. flex-direction: column;
  527. padding: 0;
  528. /* justify-content: space-between;
  529. align-items: stretch;*/
  530. /*flex-wrap: wrap;*/
  531. /*.score-box {
  532. font-size: 13px;
  533. --h: 28px;
  534. height: var(--h);
  535. border-radius: var(--h);
  536. background: #fff;
  537. margin: 4px 3px;
  538. display: flex;
  539. align-items: center;
  540. justify-content: space-between;
  541. width: 30%;
  542. &.system-score {
  543. --h: 40px;
  544. font-size: 14px;
  545. font-weight: bold;
  546. }
  547. .name, .unit {
  548. line-height: calc(var(--h) - 4px);
  549. border-radius: var(--h);
  550. border: 2px solid #fff;
  551. background: var(--mc);
  552. color: #fff;
  553. padding: 0 5px;
  554. text-align: center;
  555. }
  556. .name {
  557. min-width: 65px;
  558. overflow: hidden;
  559. white-space: nowrap;
  560. text-overflow: ellipsis;
  561. }
  562. .score {
  563. width: auto;*/
  564. /*padding: 0 calc(var(--h) / 2 + 3px);*/
  565. /*padding-right: 5px;
  566. color: var(--mc);
  567. min-width: 25px;
  568. font-size: 115%;
  569. font-weight: bold;
  570. }
  571. }*/
  572. }
  573. .scene-eval-box .score-box {
  574. width: 100%;
  575. display: flex;
  576. justify-content: space-between;
  577. margin-bottom: 8px;
  578. padding: 5px 20px;
  579. background: var(--bg1);
  580. background: rgba(16, 62, 110, 0.5);
  581. border: 1px solid #106796;
  582. box-shadow: 0 0 3px #106796 inset;
  583. }
  584. .scene-eval-box .score-box .tag-score {
  585. display: flex;
  586. flex-direction: column;
  587. color: var(--c);
  588. text-align: center;
  589. }
  590. .scene-eval-box .score-box:last-child .tag-score:nth-of-type(1) {
  591. color: #ff9743;
  592. }
  593. .scene-eval-box .score-box:last-child .tag-score:nth-of-type(2) {
  594. color: #21c8ff;
  595. }
  596. .scene-eval-box .score-box:last-child .tag-score:nth-of-type(3) {
  597. color: #ffde00;
  598. }
  599. .scene-eval-box .score-box:last-child .tag-score:nth-of-type(4) {
  600. color: #01f3c6;
  601. }
  602. .scene-eval-box .score-box:last-child .tag-score:nth-of-type(5) {
  603. color: #eb2727;
  604. }
  605. #log-info {
  606. padding: 0 0 8px;
  607. }
  608. #log-info > .card-body {
  609. padding: 0 0 8px;
  610. }
  611. .help-info, .desc-info {
  612. width: 100%;
  613. height: 100%;
  614. display: flex;
  615. justify-content: center;
  616. align-items: center;
  617. padding: 0 0 8px;
  618. }
  619. .help-info img, .desc-info img {
  620. height: 100%;
  621. width: auto;
  622. margin: 0 8px;
  623. background: var(--bg2);
  624. border-radius: 5px;
  625. }
  626. .desc-info img {
  627. height: auto;
  628. width: 100%;
  629. max-height: 100%;
  630. margin: 2px;
  631. background: var(--bg2);
  632. }
  633. .path-box {
  634. width: 100%;
  635. height: 100%;
  636. --color: var(--c1);
  637. --colorNode: #20c8fe;
  638. --colorArrow: #29e29c;
  639. --fs: 14px;
  640. --pt: 3px;
  641. --minW: 80px;
  642. }
  643. .path-box .round-box {
  644. position: relative;
  645. width: 100%;
  646. height: auto;
  647. display: flex;
  648. justify-content: center;
  649. padding-bottom: 5px;
  650. --nodeW: 40px;
  651. }
  652. .path-box .round-box .line-v {
  653. height: calc(100% - 15px - var(--nodeW));
  654. width: 10px;
  655. background-color: var(--colorNode);
  656. position: absolute;
  657. top: var(--nodeW);
  658. left: calc(50% - 4px);
  659. z-index: 0;
  660. }
  661. .path-box .round-box .line-v:before {
  662. content: "";
  663. position: absolute;
  664. border-left: 10px solid transparent;
  665. border-right: 10px solid transparent;
  666. border-top: 20px solid var(--colorNode);
  667. left: -5px;
  668. bottom: -15px;
  669. }
  670. .path-box .round-box .round-node {
  671. position: relative;
  672. width: var(--nodeW);
  673. height: var(--nodeW);
  674. border-radius: 50%;
  675. color: #fff;
  676. border: 1px solid var(--colorNode);
  677. background: var(--colorNode);
  678. display: flex;
  679. justify-content: center;
  680. align-items: center;
  681. z-index: 1;
  682. }
  683. .path-box .round-box .round-node.start-node {
  684. width: auto;
  685. height: calc(var(--nodeW) - 10px);
  686. white-space: nowrap;
  687. padding: 5px 20px;
  688. border-radius: 4px;
  689. }
  690. .path-box .round-box .round-node.start-node:before {
  691. border: none;
  692. }
  693. .path-box .round-box .sfb-box {
  694. width: 42%;
  695. min-height: 60px;
  696. border: 2px solid var(--color);
  697. border-radius: 5px;
  698. padding: 0;
  699. margin-top: 10px;
  700. --w: calc(4%);
  701. --sw: 170px;
  702. --margin: calc(var(--w) );
  703. }
  704. .path-box .round-box .sfb-box:before {
  705. content: "";
  706. position: absolute;
  707. background: var(--colorNode);
  708. width: var(--w);
  709. height: 10px;
  710. top: calc(var(--nodeW) / 2 - 5px);
  711. }
  712. .path-box .round-box .sfb-box .sfb-title {
  713. width: 100%;
  714. text-align: center;
  715. font-size: calc(var(--fs) * 1.1);
  716. padding: var(--pt) 0;
  717. font-weight: 600;
  718. border-bottom: 1px solid var(--color);
  719. color: #fff;
  720. background: var(--color);
  721. border-bottom: 1px solid var(--color);
  722. }
  723. .path-box .round-box .sfb-box .sbf-body {
  724. padding: var(--pt) 5px;
  725. font-size: var(--fs);
  726. }
  727. .path-box .round-box .sfb-box .sbf-body .sf-box {
  728. width: 100%;
  729. border: 1px solid var(--color);
  730. border-radius: 3px;
  731. background: rgba(16, 62, 111, 0.5);
  732. margin: 5px 0;
  733. display: flex;
  734. }
  735. .path-box .round-box .sfb-box .sbf-body .sf-box .sf-name {
  736. width: auto;
  737. width: var(--minW);
  738. padding: 3px 5px;
  739. border-right: 1px solid var(--color);
  740. color: var(--c);
  741. text-align: center;
  742. overflow: hidden;
  743. text-overflow: ellipsis;
  744. white-space: nowrap;
  745. }
  746. .path-box .round-box .sfb-box .sbf-body .sf-box .fn-box {
  747. width: calc(100% - var(--minW));
  748. display: flex;
  749. justify-content: center;
  750. align-items: center;
  751. flex-wrap: wrap;
  752. }
  753. .path-box .round-box .sfb-box .sbf-body .sf-box .fn-box .node {
  754. --line: 12px;
  755. position: relative;
  756. width: var(--line);
  757. height: var(--line);
  758. border-radius: 50%;
  759. border: 2px solid var(--color);
  760. margin: 0 1px;
  761. }
  762. .path-box .round-box .sfb-box .sbf-body .sf-box .fn-box .node.end {
  763. background: var(--color);
  764. }
  765. .path-box .round-box .sfb-box .sbf-body .sf-box .fn-box .arrow {
  766. display: flex;
  767. justify-content: center;
  768. align-items: center;
  769. position: relative;
  770. width: 10px;
  771. height: 4px;
  772. background: var(--colorArrow);
  773. margin-right: 3px;
  774. }
  775. .path-box .round-box .sfb-box .sbf-body .sf-box .fn-box .arrow:before {
  776. content: "";
  777. position: absolute;
  778. border-top: 4px solid transparent;
  779. border-bottom: 4px solid transparent;
  780. border-left: 7px solid var(--colorArrow);
  781. right: -3px;
  782. }
  783. .path-box .round-box .sfb-box.left {
  784. margin-right: calc(var(--margin) - 5px);
  785. }
  786. .path-box .round-box .sfb-box.left:before {
  787. right: calc(50% + var(--nodeW) / 2 - 2px);
  788. }
  789. .path-box .round-box .sfb-box.right {
  790. margin-left: calc(var(--margin) - 5px);
  791. }
  792. .path-box .round-box .sfb-box.right:before {
  793. left: calc(50% + var(--nodeW) / 2 - 2px);
  794. }
  795. .path-box .round-box:first-child .line-v {
  796. height: calc(100% - 15px - var(--nodeW) + 10px);
  797. top: calc(var(--nodeW) - 10px);
  798. }
  799. @keyframes flash {
  800. 0% {
  801. opacity: 1;
  802. color: inherit;
  803. transform: scale(1);
  804. }
  805. 50% {
  806. opacity: 0.5;
  807. color: red;
  808. transform: scale(0.95);
  809. }
  810. 100% {
  811. opacity: 1;
  812. color: inherit;
  813. transform: scale(1);
  814. }
  815. }
  816. @keyframes ellipsis {
  817. from {
  818. width: 2px;
  819. margin-right: 33px;
  820. }
  821. to {
  822. width: 35px;
  823. margin-right: 0;
  824. }
  825. }