flow.css 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386
  1. @charset "UTF-8";
  2. .pageBox .icon {
  3. width: 1em;
  4. height: 1em;
  5. vertical-align: -0.15em;
  6. fill: currentColor;
  7. overflow: hidden;
  8. }
  9. .pageBox .flowChartWrapper {
  10. display: flex;
  11. justify-content: space-between;
  12. height: 40px;
  13. line-height: 40px;
  14. background-color: #fafafa;
  15. color: #81818181;
  16. border: 1px solid #e7e7e7;
  17. box-sizing: border-box;
  18. padding-left: 20px;
  19. font-size: 12px;
  20. }
  21. .pageBox .flowChartWrapper ul {
  22. display: flex;
  23. color: #393939;
  24. }
  25. .pageBox .flowChartWrapper ul > li:not(:first-child) {
  26. line-height: 1;
  27. margin: 13px 20px;
  28. padding: 0px 20px;
  29. border-left: 1px solid #e7e7e7;
  30. box-sizing: border-box;
  31. }
  32. .pageBox .flowWrapper {
  33. display: flex;
  34. width: 100%;
  35. height: 100%;
  36. }
  37. .pageBox .flowWrapper > .flowleft {
  38. display: flex;
  39. flex-direction: column;
  40. width: 52px;
  41. padding-top: 16px;
  42. color: #999999;
  43. background-color: #fafafa;
  44. border: 1px solid #e7e7e7;
  45. box-sizing: border-box;
  46. }
  47. .pageBox .flowWrapper > .flowleft > li {
  48. margin: 0 11px;
  49. margin-bottom: 29px;
  50. }
  51. .pageBox .flowWrapper > .flowleft li:nth-child(1) {
  52. font-size: 13px;
  53. }
  54. .pageBox .flowWrapper > .flowleft li:nth-child(2),
  55. .pageBox .flowWrapper > .flowleft li:nth-child(4) {
  56. width: 28px;
  57. height: 18px;
  58. box-sizing: border-box;
  59. border-radius: 40%;
  60. margin: 0 11px;
  61. margin-bottom: 29px;
  62. }
  63. .pageBox .flowWrapper > .flowleft .startNode {
  64. display: inline-block;
  65. width: 28px;
  66. height: 18px;
  67. border: none;
  68. margin-bottom: 12px;
  69. padding: 0;
  70. overflow: hidden;
  71. }
  72. .pageBox .flowWrapper > .flowleft .startNode .layui-btn {
  73. width: 28px;
  74. height: 18px;
  75. border: 1px solid #666666;
  76. box-sizing: border-box;
  77. border-radius: 40%;
  78. background-color: transparent;
  79. padding: 0;
  80. }
  81. .pageBox .flowWrapper > .flowleft .layui-icon-endNode {
  82. display: inline-block;
  83. width: 28px;
  84. height: 18px;
  85. border: none;
  86. margin-bottom: 12px;
  87. padding: 0;
  88. overflow: hidden;
  89. }
  90. .pageBox .flowWrapper > .flowleft .layui-icon-endNode .layui-btn {
  91. width: 28px;
  92. height: 18px;
  93. border: 1px solid #666666;
  94. box-sizing: border-box;
  95. border-radius: 40%;
  96. background-color: transparent;
  97. padding: 0;
  98. }
  99. .pageBox .flowWrapper > .flowleft li:nth-child(3) {
  100. display: inline-block;
  101. width: 28px;
  102. height: 18px;
  103. box-sizing: border-box;
  104. border-radius: 4px;
  105. overflow: hidden;
  106. }
  107. .pageBox .flowWrapper > .flowleft li:nth-child(3) .layui-btn {
  108. width: 28px;
  109. height: 18px;
  110. border: 1px solid #666666;
  111. box-sizing: border-box;
  112. border-radius: 4px;
  113. overflow: hidden;
  114. background-color: transparent;
  115. padding: 0;
  116. }
  117. .pageBox .flowWrapper > .flowleft .IntermediateNode {
  118. display: inline-block;
  119. width: 28px;
  120. height: 18px;
  121. border: none;
  122. margin-bottom: 29px;
  123. padding: 0;
  124. overflow: hidden;
  125. }
  126. .pageBox .flowWrapper > .flowleft .IntermediateNode .layui-btn {
  127. width: 28px;
  128. height: 18px;
  129. border: 1px solid #666666;
  130. box-sizing: border-box;
  131. border-radius: 4px;
  132. background-color: transparent;
  133. padding: 0;
  134. }
  135. .pageBox .flowWrapper > .flowleft li:nth-child(5) {
  136. width: 100%;
  137. height: 52px;
  138. font-size: 28px;
  139. line-height: 50px;
  140. color: #00a0e9;
  141. margin: 0;
  142. text-align: center;
  143. cursor: pointer;
  144. border-top: 1px solid #e7e7e7;
  145. border-bottom: 1px solid #e7e7e7;
  146. box-sizing: border-box;
  147. }
  148. .pageBox .flowWrapper > .flowRight {
  149. width: 100%;
  150. height: calc(100vh - 40px);
  151. background-color: #f5f5f5;
  152. overflow-x: scroll;
  153. overflow-y: auto;
  154. }
  155. .pageBox .flowWrapper > .flowRight .flowRightItem.flowBox {
  156. /* width: calc(100% - 96px); */
  157. height: calc(100vh - 120px);
  158. margin: 40px 0 0 41px;
  159. background-color: #fff;
  160. box-sizing: border-box;
  161. box-shadow: #ccc 0px 0px 10px;
  162. background: url("../../images/yes-net.png");
  163. overflow: hidden;
  164. }
  165. .pageBox .flowWrapper > .flowRight .flowRightItem.flowBox #ydt {
  166. min-height: 100%;
  167. height: auto;
  168. }
  169. .pageBox .flowWrapper > .flowRight .flowRightItem::-webkit-scrollbar {
  170. width: 4px;
  171. /*高宽分别对应横竖滚动条的尺寸*/
  172. height: 4px;
  173. scrollbar-arrow-color: red;
  174. }
  175. .layui-layer-tips .layui-layer-content {
  176. top: -9px;
  177. left: 6px;
  178. }
  179. .layui-layer-tips .layui-layer-TipsG.layui-layer-TipsR {
  180. left: -16px;
  181. top: 10px;
  182. transform: rotate(-90deg);
  183. }
  184. .layui-btn {
  185. display: inline-block;
  186. background-color: #0b82ff;
  187. color: #fff;
  188. white-space: nowrap;
  189. text-align: center;
  190. font-size: 14px;
  191. border: none;
  192. border-radius: 2px;
  193. cursor: pointer;
  194. }
  195. .nodeBox:hover {
  196. box-shadow: none;
  197. }
  198. .nodeBox:hover .tools {
  199. display: flex;
  200. }
  201. .nodeBox {
  202. position: absolute;
  203. border-radius: 16px;
  204. border: none;
  205. background-color: transparent;
  206. width: 150px;
  207. z-index: 2;
  208. }
  209. .nodeBox .tools {
  210. position: absolute;
  211. top: -24px;
  212. right: 0;
  213. display: none;
  214. justify-content: flex-end;
  215. padding-bottom: 10px;
  216. cursor: pointer;
  217. }
  218. .nodeBox .tools .editNode,
  219. .nodeBox .tools .deleteNode {
  220. width: 20px;
  221. height: 20px;
  222. line-height: 20px;
  223. background-color: #f6f6f6;
  224. border: 1px solid #ccc;
  225. box-sizing: border-box;
  226. font-size: 22px;
  227. }
  228. .nodeBox .tools .editNode {
  229. border-right: none;
  230. }
  231. .nodeBox .flow-node-body {
  232. position: relative;
  233. display: flex;
  234. align-items: center;
  235. justify-content: center;
  236. height: 42px;
  237. line-height: 42px;
  238. box-sizing: border-box;
  239. font-family: Microsoft YaHei;
  240. font-size: 12px;
  241. color: #fff;
  242. text-align: center;
  243. border-radius: 16px;
  244. overflow: hidden;
  245. background-color: #00a0e9;
  246. overflow: hidden;
  247. }
  248. .nodeBox .flow-node-body > span {
  249. position: relative;
  250. }
  251. .nodeBox .flow-node-body > span .flow-node-drag {
  252. position: absolute;
  253. top: -10;
  254. left: -10px;
  255. color: transparent;
  256. width: 30px;
  257. height: 42px;
  258. z-index: 100;
  259. }
  260. .nodeBox .flow-node-body .icon {
  261. position: relative;
  262. font-size: 22px;
  263. color: #fff;
  264. }
  265. .nodeBox .fa-navicon:before,
  266. .nodeBox .fa-reorder:before,
  267. .nodeBox .fa-bars:before {
  268. position: absolute;
  269. top: 0;
  270. left: 0;
  271. font-size: 40px;
  272. z-index: 12;
  273. width: 20px;
  274. height: 20px;
  275. }
  276. .nodetype1 .flow-node-body:hover {
  277. box-shadow: 0px 11px 21px 0px rgba(14, 5, 10, 0.38);
  278. background-color: #0081cc;
  279. border-radius: 16px;
  280. }
  281. .nodetype2 .flow-node-body {
  282. background-color: #24ca7a;
  283. border-radius: 4px;
  284. }
  285. .nodetype2 .flow-node-body:hover {
  286. box-shadow: 0px 11px 21px 0px rgba(14, 5, 10, 0.38);
  287. background-color: #1faa67;
  288. border-radius: 4px;
  289. }
  290. .nodetype3 .flow-node-body {
  291. background-color: #e0dede;
  292. border-radius: 16px;
  293. color: #999999;
  294. }
  295. .nodetype3 .flow-node-body .icon {
  296. color: #999999;
  297. }
  298. .nodetype3 .flow-node-body:hover {
  299. box-shadow: 0px 11px 21px 0px rgba(14, 5, 10, 0.38);
  300. background-color: #e0dede;
  301. border-radius: 16px;
  302. }
  303. .div-col-content,
  304. .div-row-content,
  305. .div-first {
  306. background-color: #f6fafd;
  307. }
  308. .div-col-content,
  309. .div-first {
  310. display: flex;
  311. align-items: center;
  312. justify-content: center;
  313. }
  314. .div-first {
  315. position: relative;
  316. font-size: 20px;
  317. color: #999999;
  318. background-color: #fafafa;
  319. cursor: pointer;
  320. }
  321. .div-first > ul {
  322. position: absolute;
  323. left: 20px;
  324. top: 20px;
  325. display: none;
  326. width: 88px;
  327. background-color: #ffffff;
  328. box-shadow: 1px 2px 8px 0px rgba(0, 0, 0, 0.1);
  329. border-radius: 6px;
  330. z-index: 9;
  331. }
  332. .div-first > ul > li {
  333. font-family: Microsoft YaHei;
  334. font-size: 14px;
  335. color: #333333;
  336. height: 32px;
  337. line-height: 32px;
  338. padding-left: 18px;
  339. box-sizing: border-box;
  340. }
  341. .div-first > ul li:hover {
  342. background-color: #f8f8f8;
  343. }
  344. .div-first:hover {
  345. background-color: #f0f0f0;
  346. color: #666666;
  347. }
  348. .div-first:hover > ul {
  349. display: block;
  350. }
  351. .div-col,
  352. .div-row,
  353. .jtk-connector {
  354. z-index: 1;
  355. }
  356. .labelClass {
  357. background-color: #4e6169;
  358. color: #fff;
  359. border-radius: 20px;
  360. z-index: 2;
  361. line-height: 14px;
  362. padding: 2px 14px;
  363. font-size: 12px;
  364. opacity: 1;
  365. }
  366. .div-row-title {
  367. overflow: hidden;
  368. }