index.css 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714
  1. .gi-chart-analysis-form-container {
  2. margin-bottom: 4px;
  3. }
  4. .gi-chart-analysis-form-container .gi-chart-analysis-form-item {
  5. display: inline-flex;
  6. margin-bottom: 4px;
  7. }
  8. .graphin-components-contextmenu {
  9. border-radius: 8px !important;
  10. }
  11. .graphin-components-contextmenu .ant-menu {
  12. border-radius: 8px;
  13. }
  14. .graphin-components-contextmenu .ant-menu-submenu:hover,
  15. .graphin-components-contextmenu .ant-menu-item:hover {
  16. background: #fafafa;
  17. }
  18. .gi-filter-panel {
  19. padding: 10px;
  20. }
  21. .gi-filter-panel .gi-filter-panel-criteria-container {
  22. display: flex;
  23. flex-direction: column;
  24. grid-gap: 10px;
  25. margin-top: 15px;
  26. }
  27. .gi-filter-panel .gi-filter-panel-criteria-container .gi-filter-panel-group {
  28. padding: 8px;
  29. border-radius: 4px;
  30. box-shadow: var(--box-shadow-light, 0 0 4px #ddd);
  31. }
  32. .gi-filter-panel .gi-filter-panel-criteria-container .gi-filter-panel-group .gi-filter-panel-prop {
  33. display: flex;
  34. align-items: center;
  35. justify-content: space-between;
  36. }
  37. .gi-filter-panel .gi-filter-panel-criteria-container .gi-filter-panel-group .gi-filter-panel-recommend-tip {
  38. color: #aaa;
  39. font-size: 10px;
  40. }
  41. .gi-filter-panel .gi-filter-panel-criteria-container .gi-filter-panel-group .gi-filter-panel-value {
  42. margin-top: 6px;
  43. }
  44. .gi-grail-layout {
  45. position: absolute;
  46. z-index: 100;
  47. display: flex;
  48. box-sizing: border-box;
  49. border: var(--border-color);
  50. background: var(--background-color);
  51. color: var(--text-color);
  52. }
  53. .gi-grail-layout-left {
  54. background: var(--background-color);
  55. border-right: 1px solid var(--border-color);
  56. color: var(--text-color);
  57. top: 0;
  58. left: 0;
  59. flex-direction: column;
  60. height: 100%;
  61. overflow-x: visible;
  62. transition: all 0.2s ease;
  63. border-radius: 0 8px 8px 0;
  64. }
  65. .gi-grail-layout-right {
  66. background: var(--background-color);
  67. border-left: 1px solid var(--border-color);
  68. color: var(--text-color);
  69. top: 0;
  70. right: 0;
  71. flex-direction: column;
  72. height: 100%;
  73. overflow-x: visible;
  74. transition: all 0.2s ease;
  75. border-radius: 8px 0 0 8px;
  76. }
  77. .gi-grail-layout-bottom {
  78. background: var(--background-color);
  79. border-top: 1px solid var(--border-color);
  80. color: var(--text-color);
  81. bottom: 0;
  82. flex-direction: row;
  83. overflow-y: visible;
  84. border-right: none;
  85. border-left: none;
  86. transition: all 0.2s ease;
  87. border-radius: 8px 8px 0 0;
  88. }
  89. .gi-grail-layout-top {
  90. background: var(--background-color);
  91. border-bottom: 1px solid var(--border-color);
  92. color: var(--text-color);
  93. top: 0;
  94. flex-direction: row;
  95. overflow-y: visible;
  96. border-right: none;
  97. border-left: none;
  98. transition: all 0.2s ease;
  99. border-radius: 0 0 8px 8px;
  100. }
  101. .gi-grail-layout-component-container {
  102. width: 100%;
  103. margin-top: 10px;
  104. overflow: auto;
  105. box-shadow: 0px 0px 4px 0 rgba(0, 0, 0, 0.1);
  106. }
  107. .gi-grail-layout-component-container header {
  108. box-sizing: border-box;
  109. height: 35px;
  110. padding: 4px 12px;
  111. font-weight: bold;
  112. font-size: 16px;
  113. border-left: 3px solid var(--primary-color);
  114. }
  115. .gi-grail-layout-component-container .gi-grail-layout-component-body {
  116. width: 100%;
  117. height: calc(100% - 35px);
  118. }
  119. .gi-group-bar {
  120. position: absolute;
  121. box-sizing: border-box;
  122. overflow-y: hidden;
  123. }
  124. .gi-group-container-wrapper {
  125. overflow: hidden;
  126. }
  127. .gi-group-container-wrapper .gi-group-container-side-content {
  128. background-color: #fff;
  129. transition: max-width 0.4s;
  130. border-right: 1px solid #eee;
  131. transform: translate3d(0px, 0px, 1px);
  132. }
  133. .gi-group-container-wrapper .gi-group-container-side-content > div {
  134. padding: 20px;
  135. }
  136. .gi-group-container {
  137. float: left;
  138. display: flex;
  139. align-items: center;
  140. justify-content: left;
  141. box-sizing: border-box;
  142. overflow-y: hidden;
  143. border: 1px solid #eee;
  144. }
  145. .gi-group-container[data-vertical="true"] .gi-assets-operator-item {
  146. width: 100%;
  147. }
  148. .gi-group-container[data-vertical="false"] .gi-assets-operator-item {
  149. height: 100%;
  150. }
  151. .gi-group-container .gi-group-container-item {
  152. position: relative;
  153. display: flex;
  154. align-items: center;
  155. justify-content: left;
  156. }
  157. .gi-group-container .gi-group-container-item br {
  158. display: none;
  159. }
  160. .gi-group-container .gi-group-container-item br + span {
  161. display: block;
  162. font-size: 12px !important;
  163. }
  164. .gi-group-container .gi-group-container-item .gi-group-container-driver {
  165. position: absolute;
  166. background-color: #ccc;
  167. }
  168. .gi-assets-operator-item {
  169. position: relative;
  170. display: flex;
  171. flex-direction: column;
  172. height: 60px;
  173. align-items: center;
  174. justify-content: center;
  175. padding: 0 15px;
  176. cursor: pointer;
  177. box-sizing: border-box;
  178. transition: background 0.3s;
  179. }
  180. .gi-assets-operator-item.gi-assets-operator-item-active {
  181. background: #eee;
  182. }
  183. .gi-assets-operator-item:hover {
  184. filter: grayscale(0.5);
  185. }
  186. .gi-assets-operator-item .gi-assets-operator-item-loading {
  187. position: absolute;
  188. top: 0;
  189. left: 0;
  190. bottom: 0;
  191. right: 0;
  192. display: flex;
  193. align-items: center;
  194. justify-content: center;
  195. overflow: hidden;
  196. }
  197. .gi-assets-operator-item .gi-assets-operator-item-title {
  198. font-size: 12px;
  199. white-space: nowrap;
  200. text-overflow: ellipsis;
  201. overflow: hidden;
  202. }
  203. .gi-loading {
  204. position: absolute;
  205. top: 0px;
  206. right: 0px;
  207. bottom: 0px;
  208. left: 0px;
  209. text-align: center;
  210. background: rgba(0, 0, 0, 0.1);
  211. }
  212. .gi-loading .ant-spin.ant-spin-spinning {
  213. position: absolute;
  214. top: 50%;
  215. transform: translateY(-50%);
  216. }
  217. .gi-operator-bar {
  218. position: absolute;
  219. padding: 8px;
  220. background-color: #ffffff;
  221. box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
  222. }
  223. .gi-operator-header {
  224. position: absolute;
  225. top: 0px;
  226. right: 0px;
  227. left: 0px;
  228. display: flex;
  229. width: 100%;
  230. background-color: #ffffff;
  231. box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
  232. }
  233. .gi-operator-header .gi-operator-header-left {
  234. justify-items: start;
  235. }
  236. .gi-operator-header .gi-operator-header-center {
  237. flex: 1;
  238. text-align: center;
  239. }
  240. .gi-operator-header .gi-operator-header-right {
  241. justify-items: end;
  242. }
  243. .gi-operator-header-div {
  244. background: var(--background-color);
  245. }
  246. .gi-operator-header-div .header {
  247. position: relative;
  248. display: flex;
  249. align-items: center;
  250. justify-content: space-between;
  251. padding: 16px 24px;
  252. color: rgba(0, 0, 0, 0.65);
  253. background: var(--background-color);
  254. border-bottom: 1px solid var(--border-color);
  255. border-radius: 2px 2px 0 0;
  256. }
  257. .gi-operator-header-div .close {
  258. position: absolute;
  259. top: 0;
  260. right: 0;
  261. z-index: 10;
  262. display: block;
  263. padding: 10px;
  264. font-weight: 700;
  265. font-size: 16px;
  266. font-style: normal;
  267. line-height: 1;
  268. text-align: center;
  269. text-transform: none;
  270. text-decoration: none;
  271. background: transparent;
  272. border: 0;
  273. outline: 0;
  274. cursor: pointer;
  275. transition: color 0.3s;
  276. text-rendering: auto;
  277. }
  278. .gi-operator-header-div .title {
  279. margin: 0;
  280. color: rgba(0, 0, 0, 0.85);
  281. font-weight: 500;
  282. font-size: 16px;
  283. line-height: 22px;
  284. }
  285. .gi-operator-header-div .body {
  286. flex-grow: 1;
  287. padding: 12px;
  288. overflow: auto;
  289. font-size: 14px;
  290. line-height: 1.5715;
  291. word-wrap: break-word;
  292. }
  293. .gi-panel-div {
  294. color: var(--text-color);
  295. background: var(--background-color);
  296. overflow: auto;
  297. }
  298. .gi-panel-div.open.left {
  299. display: block;
  300. width: 300px;
  301. transition: all 0.3s;
  302. }
  303. .gi-panel-div.open.right {
  304. display: block;
  305. width: 300px;
  306. transition: all 0.3s;
  307. }
  308. .gi-panel-div.close.left {
  309. width: 0px !important;
  310. transition: all 0.3s;
  311. }
  312. .gi-panel-div.close.right {
  313. width: 0px !important;
  314. transition: all 0.3s;
  315. }
  316. .gi-panel-div .header {
  317. position: relative;
  318. display: flex;
  319. align-items: center;
  320. justify-content: space-between;
  321. padding: 16px 24px;
  322. border-bottom: 1px solid var(--border-color-base);
  323. border-radius: 2px 2px 0 0;
  324. }
  325. .gi-panel-div .close {
  326. position: absolute;
  327. top: 0;
  328. right: 0;
  329. z-index: 10;
  330. display: block;
  331. padding: 10px;
  332. font-weight: 700;
  333. font-size: 16px;
  334. font-style: normal;
  335. line-height: 1;
  336. text-align: center;
  337. text-transform: none;
  338. text-decoration: none;
  339. background: transparent;
  340. border: 0;
  341. outline: 0;
  342. cursor: pointer;
  343. transition: color 0.3s;
  344. text-rendering: auto;
  345. }
  346. .gi-panel-div .title {
  347. margin: 0;
  348. font-weight: 500;
  349. font-size: 16px;
  350. line-height: 22px;
  351. }
  352. .gi-panel-div .body {
  353. flex-grow: 1;
  354. padding: 12px;
  355. overflow: auto;
  356. font-size: 14px;
  357. line-height: 1.5715;
  358. word-wrap: break-word;
  359. }
  360. .gi-loading {
  361. position: absolute;
  362. top: 0px;
  363. right: 0px;
  364. bottom: 0px;
  365. left: 0px;
  366. text-align: center;
  367. background: rgba(0, 0, 0, 0.1);
  368. }
  369. .gi-loading .ant-spin.ant-spin-spinning {
  370. position: absolute;
  371. top: 50%;
  372. transform: translateY(-50%);
  373. }
  374. .gi-path-analysis {
  375. margin: 0px !important;
  376. }
  377. .gi-path-analysis .gi-path-analysis-container {
  378. padding: 12px 12px 8px 12px;
  379. border-radius: 4px;
  380. background: #fff;
  381. margin: 8px 0px;
  382. position: relative;
  383. }
  384. .gi-path-analysis .gi-path-analysis-title {
  385. font-size: 15px;
  386. font-weight: 500;
  387. line-height: 30px;
  388. height: 30px;
  389. margin-bottom: 12px;
  390. display: flex;
  391. justify-content: space-between;
  392. }
  393. .gi-path-analysis .gi-path-analysis-path-list-container {
  394. min-height: 450px;
  395. overflow-y: auto;
  396. }
  397. .gi-filter-rule-container {
  398. width: 300px;
  399. }
  400. .gi-collapse-container {
  401. margin: 1px !important;
  402. padding: 4px 4px !important;
  403. background: var(--background-color);
  404. border-radius: 4px !important;
  405. box-shadow: -1px -1px 4px 0 hsla(0, 0%, 87.5%, 0.5), -2px 2px 4px 0 hsla(0, 0%, 95.7%, 0.5), 2px 3px 8px 2px hsla(0, 0%, 59.2%, 0.05);
  406. }
  407. .nodeSelectionFromItem {
  408. display: flex;
  409. flex-direction: row;
  410. justify-content: space-between;
  411. align-items: baseline;
  412. gap: 10px;
  413. }
  414. .nodeSelectionFromItem .main {
  415. flex: 1;
  416. }
  417. .nodeSelectionFromItem .operation {
  418. width: 20px;
  419. }
  420. .ant-form-vertical .nodeSelectionFromItem {
  421. align-items: center;
  422. }
  423. .nodeSelectionFromItem {
  424. display: flex;
  425. flex-direction: row;
  426. justify-content: space-between;
  427. align-items: baseline;
  428. gap: 10px;
  429. }
  430. .nodeSelectionFromItem .main {
  431. flex: 1;
  432. }
  433. .nodeSelectionFromItem .operation {
  434. width: 20px;
  435. }
  436. .ant-form-vertical .nodeSelectionFromItem {
  437. align-items: center;
  438. }
  439. .gi-placeholder {
  440. position: absolute;
  441. top: 50%;
  442. left: 50%;
  443. height: 100%;
  444. max-width: 100%;
  445. max-height: 100%;
  446. text-align: center;
  447. user-select: none;
  448. pointer-events: none;
  449. transform: translate3d(-50%, -50%, 0);
  450. display: flex;
  451. flex-direction: column;
  452. justify-content: center;
  453. align-items: center;
  454. }
  455. .gi-placeholder .image-wrapper {
  456. overflow: auto;
  457. width: 100%;
  458. }
  459. .gi-placeholder .image-wrapper img {
  460. max-width: 100%;
  461. max-height: 100%;
  462. width: auto;
  463. height: auto;
  464. }
  465. .gi-properties-pannel {
  466. background: var(--background-color);
  467. color: var(--text-color);
  468. }
  469. .gi-properties-pannel .gi-properties-pannel-header {
  470. display: flex;
  471. justify-content: space-between;
  472. }
  473. .gi-properties-pannel .gi-properties-pannel-header h3 {
  474. color: var(--text-color);
  475. }
  476. .gi-properties-pannel ul {
  477. display: block;
  478. margin: 0px;
  479. padding: 0px;
  480. list-style: none;
  481. }
  482. .gi-properties-pannel ul li {
  483. padding: 6px 0px;
  484. }
  485. .gi-properties-pannel ul li .key {
  486. font-size: 12px;
  487. opacity: 0.8;
  488. }
  489. .gi-properties-pannel ul li .value {
  490. font-size: 14px;
  491. word-break: break-word;
  492. }
  493. .gi-statistic-panel {
  494. padding: 20px;
  495. }
  496. .gi-rich-container {
  497. position: absolute;
  498. top: 0px;
  499. right: 0px;
  500. bottom: 0px;
  501. left: 0px;
  502. display: block;
  503. }
  504. .gi-rich-container .gi-rich-container-navbar {
  505. padding: 0px 20px;
  506. position: relative;
  507. height: 54px;
  508. width: 100%;
  509. background: var(--background-color);
  510. display: flex;
  511. justify-content: space-between;
  512. border-bottom: 1px solid #ddd;
  513. }
  514. .gi-rich-container .gi-rich-container-navbar .navbar-back {
  515. display: flex;
  516. justify-content: center;
  517. align-items: center;
  518. }
  519. .gi-rich-container .gi-rich-container-navbar .navbar-setting {
  520. display: flex;
  521. justify-content: center;
  522. align-items: center;
  523. }
  524. .gi-rich-container .gi-rich-container-toolbar {
  525. position: relative;
  526. font-size: 12px;
  527. height: 44px;
  528. width: 100%;
  529. background: #f3f5f9;
  530. border-bottom: 1px solid #ddd;
  531. display: flex;
  532. padding: 0px 12px;
  533. }
  534. .gi-rich-container .gi-rich-container-toolbar .toolbar-item {
  535. display: flex;
  536. justify-content: center;
  537. align-items: center;
  538. }
  539. .gi-rich-container .gi-rich-container-content {
  540. position: absolute;
  541. bottom: 0px;
  542. top: 98px;
  543. left: 0px;
  544. right: 0px;
  545. display: flex;
  546. }
  547. .gi-rich-container .gi-rich-container-content.has-sheet {
  548. top: 138px;
  549. }
  550. .gi-rich-container .gi-rich-container-content .gi-rich-container-side {
  551. height: 100%;
  552. background: var(--background-color);
  553. }
  554. .gi-rich-container .gi-rich-container-content .gi-rich-container-canvas {
  555. position: absolute;
  556. top: 0px;
  557. bottom: 0px;
  558. right: 0px;
  559. }
  560. .gi-uad-layout-tabs .ant-tabs-content {
  561. height: 100%;
  562. }
  563. .gi-uad-layout-tabs .ant-tabs-content .ant-tabs-tabpane {
  564. height: 100%;
  565. }
  566. .gi-uad-layout-tabs .ant-tabs-tab {
  567. padding: 0px;
  568. }
  569. .gi-segmented-container-tabs > .appear {
  570. display: block;
  571. visibility: visible;
  572. height: 100%;
  573. }
  574. .gi-segmented-container-tabs > .hidden {
  575. display: none;
  576. visibility: hidden;
  577. }
  578. .gi-side-select-tabs {
  579. position: relative;
  580. }
  581. .gi-side-select-tabs .gi-side-select-tabs-content {
  582. background: var(--background-color);
  583. border-right: 1px solid var(--border-color);
  584. position: relative;
  585. height: 100%;
  586. overflow: hidden;
  587. }
  588. .gi-side-select-tabs .gi-side-select-tabs-content .content {
  589. display: flex;
  590. flex-direction: column;
  591. height: 100%;
  592. padding: 0px 12px;
  593. }
  594. .gi-side-select-tabs .gi-side-select-tabs-content .content-title {
  595. padding: 4px 0px;
  596. display: flex;
  597. align-items: center;
  598. justify-content: space-between;
  599. border-top: 1px solid var(--border-color);
  600. border-bottom: 1px solid var(--border-color);
  601. }
  602. .gi-side-select-tabs .gi-side-select-tabs-content .content-title .ant-select .ant-select-selection-item,
  603. .gi-side-select-tabs .gi-side-select-tabs-content .content-title .ant-select .ant-select-arrow {
  604. font-weight: bold;
  605. }
  606. .gi-side-select-tabs .gi-side-select-tabs-content .content-title .anticon-question-circle {
  607. font-size: 14px;
  608. cursor: pointer;
  609. }
  610. .gi-side-select-tabs .gi-side-select-tabs-content .content-detail {
  611. padding: 12px 4px;
  612. flex: 1;
  613. overflow: hidden;
  614. }
  615. .gi-side-tabs {
  616. width: 100%;
  617. height: 100%;
  618. padding: 0px;
  619. overflow: hidden;
  620. border-right: 1px solid var(--border-color);
  621. border-left: 1px solid var(--border-color);
  622. }
  623. .gi-side-tabs .ant-tabs {
  624. height: 100%;
  625. }
  626. .gi-side-tabs .ant-tabs-tab {
  627. justify-content: center;
  628. margin-top: 0px;
  629. padding: 8px 12px !important;
  630. text-align: center;
  631. }
  632. .gi-side-tabs .ant-tabs-left > .ant-tabs-content-holder > .ant-tabs-content > .ant-tabs-tabpane,
  633. .gi-side-tabs .ant-tabs-left > div > .ant-tabs-content-holder > .ant-tabs-content > .ant-tabs-tabpane {
  634. height: 100%;
  635. padding: 0px;
  636. }
  637. .gi-side-tabs .ant-tabs-top > .ant-tabs-nav,
  638. .gi-side-tabs .ant-tabs-bottom > .ant-tabs-nav,
  639. .gi-side-tabs .ant-tabs-top > div > .ant-tabs-nav,
  640. .gi-side-tabs .ant-tabs-bottom > div > .ant-tabs-nav {
  641. margin-bottom: 8px;
  642. }
  643. .gi-side-tabs .ant-tabs-tabpane .ant-tabs-tabpane-active {
  644. height: 100%;
  645. }
  646. .gi-side-tabs .ant-tabs-content {
  647. box-sizing: border-box;
  648. height: 100%;
  649. padding: 8px;
  650. overflow-y: auto;
  651. }
  652. .gi-side-tabs-container {
  653. background: var(--background-color);
  654. }
  655. ul.graphin-components-toolbar-content {
  656. background: var(--background-color);
  657. color: var(--text-color);
  658. width: 100%;
  659. padding: 0;
  660. text-align: center;
  661. list-style: none;
  662. box-shadow: var(--box-shadow-base);
  663. border-radius: 6px;
  664. }
  665. ul.tooltip-content {
  666. display: inline-block;
  667. margin: 0px;
  668. padding: 20px;
  669. color: black;
  670. }
  671. ul.tooltip-content li {
  672. display: block;
  673. }
  674. .gi-uad-layout-tabs .ant-tabs-content {
  675. height: 100%;
  676. }
  677. .gi-uad-layout-tabs .ant-tabs-content .ant-tabs-tabpane {
  678. height: 100%;
  679. }
  680. .gi-uad-layout-tabs .ant-tabs-tab {
  681. padding: 0px;
  682. }
  683. .gi-uad-layout-canvas-wrapper {
  684. width: 100%;
  685. margin-top: 16px;
  686. padding: 8px 0px;
  687. background: #fff;
  688. }