play-v2.scss 23 KB

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