nodetree.css 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438
  1. .main-box {
  2. position: relative;
  3. display: inline-block;
  4. top: 10px;
  5. left: 12px;
  6. width: calc(100% - 24px);
  7. height: auto;
  8. border: 3px solid #049e9a;
  9. border-radius: 5px;
  10. overflow: hidden;
  11. text-align: center;
  12. padding-top: 10px;
  13. background: #f0faf9; }
  14. .main-box.main-flow-box {
  15. height: 700px; }
  16. .main-box.main-package-box {
  17. height: 590px; }
  18. .iwb-flow-tree {
  19. margin: 0 auto; }
  20. .iwb-flow-tree .floor-box {
  21. width: 100%;
  22. display: flex;
  23. flex-direction: row;
  24. justify-content: center; }
  25. .iwb-flow-tree .floor-box .floor-node {
  26. width: 100%;
  27. display: block;
  28. margin: 0 auto;
  29. float: left; }
  30. .iwb-flow-tree .floor-box .floor-node .node-box {
  31. position: relative;
  32. margin: 0 auto;
  33. width: 200px;
  34. border-radius: 0;
  35. border: none;
  36. background: transparent; }
  37. .iwb-flow-tree .floor-box .floor-node .node-box .title {
  38. /*padding: 3px 0;*/
  39. background: transparent;
  40. color: #f5f5f5;
  41. width: 0;
  42. height: 0;
  43. background: transparent;
  44. border: 100px solid transparent;
  45. border-top: none;
  46. border-bottom: 60px solid #34b29d;
  47. cursor: pointer; }
  48. .iwb-flow-tree .floor-box .floor-node .node-box .title-text {
  49. position: absolute;
  50. width: 100%;
  51. text-align: center;
  52. top: 0;
  53. color: #f5f5f5;
  54. height: 60px;
  55. font-size: 12px;
  56. font-weight: bold;
  57. cursor: none;
  58. line-height: 70px; }
  59. .iwb-flow-tree .floor-box .floor-node .node-box .content {
  60. margin: 0px 12px;
  61. flex-direction: column;
  62. padding: 5px;
  63. border: 1px solid #34b29d;
  64. border-top: none; }
  65. .iwb-flow-tree .floor-box .line-box {
  66. width: 100%;
  67. display: block;
  68. margin: 0 auto;
  69. float: left; }
  70. .iwb-flow-tree .floor-box .line-box .line-group {
  71. width: 100%;
  72. display: flex;
  73. flex-direction: row;
  74. justify-content: center; }
  75. .iwb-flow-tree .floor-box .line-box .line-group .line {
  76. display: flex;
  77. flex-direction: row;
  78. justify-content: center; }
  79. .iwb-flow-tree .floor-box .line-box .line-group .line .line-u, .iwb-flow-tree .floor-box .line-box .line-group .line .line-d {
  80. height: 30px;
  81. width: 12px;
  82. background: #34b29d; }
  83. .iwb-flow-tree .floor-box .line-box .line-group .line .line-d {
  84. position: relative;
  85. margin-bottom: 6px;
  86. width: 8px; }
  87. .iwb-flow-tree .floor-box .line-box .line-group .line .line-d:after {
  88. content: '';
  89. position: absolute;
  90. border: 8px solid transparent;
  91. border-top: 15px solid #34b29d;
  92. left: calc(50% - 8px);
  93. bottom: -15px; }
  94. .iwb-flow-tree .floor-box .line-box .line-group .line .line-d.line-d-l:before, .iwb-flow-tree .floor-box .line-box .line-group .line .line-d.line-d-r:before {
  95. content: '';
  96. position: absolute;
  97. top: -6px;
  98. width: 8px;
  99. height: 6px;
  100. background: #34b29d; }
  101. .iwb-flow-tree .floor-box .line-box .line-group .line .line-d.line-d-l:before {
  102. left: 0; }
  103. .iwb-flow-tree .floor-box .line-box .line-group .line .line-d.line-d-r:before {
  104. right: 0; }
  105. .iwb-flow-tree .floor-box .line-box .line-group .line-m {
  106. height: 6px;
  107. background: #34b29d; }
  108. .iwb-flow-tree .floor-box .line-box .line-group .line-single .line-d {
  109. height: 72px; }
  110. .iwb-flow-tree .setting {
  111. margin: 3px 5px;
  112. padding: 4px 0 !important;
  113. text-align: center;
  114. color: #fff;
  115. font-size: 100%;
  116. border-radius: 3px;
  117. cursor: pointer;
  118. background: #34b29d;
  119. /*
  120. &.scene {
  121. background: #70ad47;
  122. }
  123. &.guide {
  124. background: #00b050;
  125. }
  126. &.pre {
  127. background: #54e29d;
  128. }
  129. &.run {
  130. background: #00a7e2;
  131. }
  132. &.post {
  133. background: #5b9bd5;
  134. }*/ }
  135. .iwb-flow-tree .setting.path {
  136. /*background: #34b29d;
  137. text-align: left;
  138. padding-left: 15px !important;*/
  139. overflow: hidden;
  140. text-overflow: ellipsis;
  141. white-space: nowrap;
  142. padding: 4px 10px !important; }
  143. .iwb-flow-tree .setting.no-setting {
  144. background: #a6a6a6; }
  145. .iwb-flow-tree .dropdown-menu {
  146. border-color: #049e9a !important;
  147. padding: 5px 15px !important;
  148. min-width: 100px !important; }
  149. .iwb-flow-tree .dropdown-menu .dropdown-item {
  150. border: none !important;
  151. border-bottom: 1px solid #049e9a !important;
  152. color: #049e9a !important;
  153. padding: 5px 15px !important; }
  154. .iwb-flow-tree .dropdown-menu .dropdown-item:last-child, .iwb-flow-tree .dropdown-menu .dropdown-item.last-child {
  155. border: none !important; }
  156. .iwb-flow-tree .dropdown-menu .dropdown-item:focus, .iwb-flow-tree .dropdown-menu .dropdown-item:hover {
  157. color: #fff !important;
  158. background-color: #049e9a !important; }
  159. .iwb-package-tree {
  160. display: flex;
  161. flex-direction: column;
  162. justify-content: start;
  163. width: 100%; }
  164. .iwb-package-tree .round-box {
  165. display: flex;
  166. flex-direction: row;
  167. justify-content: center;
  168. height: auto;
  169. position: relative;
  170. padding-bottom: 20px;
  171. /*&:nth-of-type(1) {
  172. .round-node:before {
  173. border: none;
  174. }
  175. }*/ }
  176. .iwb-package-tree .round-box:first-child {
  177. padding-bottom: 40px; }
  178. .iwb-package-tree .round-box .round-node {
  179. display: flex;
  180. justify-content: center;
  181. align-items: center;
  182. position: relative;
  183. background: #34b29d;
  184. color: #f5f5f5;
  185. width: 50px;
  186. height: 50px;
  187. border-radius: 50px;
  188. z-index: 1;
  189. font-weight: 600; }
  190. .iwb-package-tree .round-box .round-node:before {
  191. content: "";
  192. position: absolute;
  193. border-left: 15px solid transparent;
  194. border-right: 15px solid transparent;
  195. border-top: 25px solid #34b29d;
  196. left: 10px;
  197. top: -25px; }
  198. .iwb-package-tree .round-box .round-node.start-node {
  199. width: auto;
  200. height: 40px;
  201. white-space: nowrap;
  202. padding: 5px 20px;
  203. border-radius: 20px;
  204. font-size: 1.125rem; }
  205. .iwb-package-tree .round-box .round-node.start-node:before {
  206. border: none; }
  207. .iwb-package-tree .round-box .block-node {
  208. width: 42%;
  209. height: auto;
  210. display: flex;
  211. /*min-height: 150px;*/
  212. border: 2px solid #34b29d;
  213. border-radius: 5px;
  214. position: relative;
  215. margin-top: 10px;
  216. --w: 60px;
  217. --sw: 170px;
  218. --margin: calc(var(--w) - 20px); }
  219. .iwb-package-tree .round-box .block-node .title {
  220. width: 100%;
  221. text-align: center;
  222. padding: 2px;
  223. font-size: 15px;
  224. font-weight: bold;
  225. color: #34b29d;
  226. /*background-image: linear-gradient(rgba(0,0,0,.05),rgba(0,0,0,.18));*/
  227. background: #f2f2f2;
  228. border-bottom: 1px solid #34b29d;
  229. border-radius: 10px 10px 0 0; }
  230. .iwb-package-tree .round-box .block-node .title .icon {
  231. float: right;
  232. margin-top: 4px;
  233. margin: 4px 5px 4px;
  234. color: #00b050;
  235. cursor: pointer; }
  236. .iwb-package-tree .round-box .block-node .content {
  237. width: 100%;
  238. display: flex;
  239. height: 100%; }
  240. .iwb-package-tree .round-box .block-node > .round-setting {
  241. width: var(--sw);
  242. border-right: 1px solid #34b29d; }
  243. .iwb-package-tree .round-box .block-node > .round-setting .content {
  244. padding: 5px;
  245. flex-direction: column; }
  246. .iwb-package-tree .round-box .block-node > .round-setting .content .setting .value {
  247. padding-left: 5px; }
  248. .iwb-package-tree .round-box .block-node > .round-setting .content .setting span:last-of-type {
  249. float: right; }
  250. .iwb-package-tree .round-box .block-node .tab-box {
  251. width: var(--sw);
  252. border-left: 1px solid #34b29d;
  253. height: 100%;
  254. padding: 0; }
  255. .iwb-package-tree .round-box .block-node .tab-box .nav-tabs {
  256. padding: 5px;
  257. padding-left: 0;
  258. height: 198px;
  259. flex-wrap: nowrap;
  260. overflow-y: auto;
  261. border: none; }
  262. .iwb-package-tree .round-box .block-node .tab-box .nav-tabs .nav-item {
  263. border-bottom: none; }
  264. .iwb-package-tree .round-box .block-node .tab-box .nav-tabs .nav-item .nav-link {
  265. color: #34b29d;
  266. border: 1px solid #34b29d;
  267. border-left: none;
  268. height: 35px;
  269. border-radius: 0 35px 35px 0;
  270. margin: 1px 0;
  271. padding-left: 5px;
  272. padding-right: 5px; }
  273. .iwb-package-tree .round-box .block-node .tab-box .nav-tabs .nav-item .nav-link.active, .iwb-package-tree .round-box .block-node .tab-box .nav-tabs .nav-item .nav-link:hover, .iwb-package-tree .round-box .block-node .tab-box .nav-tabs .nav-item .nav-link:focus {
  274. background: #34b29d;
  275. color: #f5f5f5; }
  276. .iwb-package-tree .round-box .block-node .tab-box .nav-tabs .nav-item .nav-link:hover {
  277. color: #eee;
  278. font-weight: bold; }
  279. .iwb-package-tree .round-box .block-node .tab-content-box {
  280. width: calc(100% - var(--sw)); }
  281. .iwb-package-tree .round-box .block-node .block-box {
  282. width: 100%; }
  283. .iwb-package-tree .round-box .block-node .block-box .block-content {
  284. width: 100%;
  285. display: flex;
  286. flex-direction: column; }
  287. .iwb-package-tree .round-box .block-node .block-box .block-content .setting-box {
  288. width: 100%;
  289. display: flex;
  290. padding: 5px;
  291. border-bottom: 1px solid #34b29d; }
  292. .iwb-package-tree .round-box .block-node .block-box .block-content .setting-box .setting {
  293. text-align: center;
  294. width: 50%;
  295. padding: 2px 5px; }
  296. .iwb-package-tree .round-box .block-node .block-box .block-content .flow-box {
  297. width: 100%;
  298. display: flex;
  299. flex-direction: column;
  300. padding: 5px;
  301. height: 142px; }
  302. .iwb-package-tree .round-box .block-node .block-box .block-content .flow-box .flow-info {
  303. margin: 2px 5px;
  304. color: #34b29d;
  305. display: flex; }
  306. .iwb-package-tree .round-box .block-node .block-box .block-content .flow-box .flow-info .flow-name {
  307. padding: 3px 15px;
  308. border-radius: 35px 0 0 35px;
  309. border: 1px solid;
  310. width: 100%;
  311. text-align: center;
  312. white-space: nowrap;
  313. overflow: hidden;
  314. text-overflow: ellipsis; }
  315. .iwb-package-tree .round-box .block-node .block-box .block-content .flow-box .flow-info .flow-setting {
  316. width: 50px;
  317. color: #fff;
  318. background: #34b29d;
  319. padding: 3px 15px;
  320. border-radius: 0 35px 35px 0;
  321. cursor: pointer; }
  322. .iwb-package-tree .round-box .block-node .obj-block-box {
  323. width: 100%; }
  324. .iwb-package-tree .round-box .block-node .evolution-block-box {
  325. width: 100%; }
  326. .iwb-package-tree .round-box .block-node:before {
  327. content: "";
  328. position: absolute;
  329. background: #34b29d;
  330. width: var(--w);
  331. height: 10px;
  332. top: 10px; }
  333. .iwb-package-tree .round-box .block-node.left {
  334. margin-right: var(--margin); }
  335. .iwb-package-tree .round-box .block-node.left .block-box {
  336. width: calc(100% - var(--sw)); }
  337. .iwb-package-tree .round-box .block-node.left:before {
  338. right: calc(0% - var(--w)); }
  339. .iwb-package-tree .round-box .block-node.right {
  340. margin-left: var(--margin); }
  341. .iwb-package-tree .round-box .block-node.right:before {
  342. left: calc(0% - var(--w)); }
  343. .iwb-package-tree .round-box:not(:nth-last-of-type(1)) .line-v {
  344. height: calc(100% - 20px);
  345. width: 15px;
  346. background-color: #34b29d;
  347. position: absolute;
  348. top: 5px;
  349. /*left: calc(50% - 5px);*/
  350. z-index: 0; }
  351. .iwb-package-tree .round-box .setting {
  352. margin: 2px 5px;
  353. padding: 2px 10px;
  354. text-align: left;
  355. color: #fff;
  356. font-size: 90%;
  357. border-radius: 3px;
  358. cursor: pointer;
  359. background: #34b29d;
  360. /*&.score {
  361. background: #34b29d;
  362. }
  363. &.rate {
  364. background: #70ad47;
  365. }
  366. &.count {
  367. background: #00b050;
  368. }
  369. &.guide {
  370. background: #00c392;
  371. }
  372. &.pre {
  373. background: #00d7e2;
  374. }
  375. &.run {
  376. background: #00a7e2;
  377. }
  378. &.post {
  379. background: #5b9bd5;
  380. }*/ }
  381. .iwb-package-tree .round-box .setting.no-setting {
  382. /*color: #ddd;*/
  383. background: #a6a6a6; }
  384. .iwb-package-tree .dropdown-menu {
  385. border-color: #049e9a !important;
  386. padding: 5px 15px !important;
  387. min-width: 100px !important; }
  388. .iwb-package-tree .dropdown-menu .dropdown-item {
  389. border: none !important;
  390. border-bottom: 1px solid #049e9a !important;
  391. color: #049e9a !important;
  392. padding: 5px 15px !important; }
  393. .iwb-package-tree .dropdown-menu .dropdown-item:last-child, .iwb-package-tree .dropdown-menu .dropdown-item.last-child {
  394. border: none !important; }
  395. .iwb-package-tree .dropdown-menu .dropdown-item:focus, .iwb-package-tree .dropdown-menu .dropdown-item:hover {
  396. color: #fff !important;
  397. background-color: #049e9a !important; }
  398. .flow-detail a.table-action {
  399. color: #34b29d;
  400. padding: 2px 0;
  401. cursor: pointer; }
  402. .flow-detail a.table-action:hover {
  403. color: #34b29d;
  404. padding: 2px 0;
  405. font-weight: bold;
  406. border-bottom: 2px solid #34b29d; }
  407. .flow-detail .table-striped tbody tr:nth-of-type(odd) {
  408. background-color: #f0faf9; }
  409. .package-detail {
  410. margin: 0 15px; }
  411. .package-detail dl {
  412. display: flex; }
  413. .package-detail dl, .package-detail dt, .package-detail dd {
  414. margin-bottom: 0;
  415. cursor: pointer; }
  416. .package-detail dt {
  417. white-space: nowrap; }
  418. .package-detail dd {
  419. white-space: nowrap;
  420. overflow: hidden;
  421. text-overflow: ellipsis; }