workflow.css 20 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145
  1. .filter-container {
  2. padding: 5px 0 10px 0;
  3. }
  4. .filter-container .el-button,
  5. .filter-container .el-input,
  6. .filter-container .el-input__inner {
  7. padding: 0 15px;
  8. height: 34px;
  9. line-height: 34px;
  10. }
  11. .form-container {
  12. margin: auto;
  13. background: #fff !important;
  14. padding: 30px 15px 15px 15px;
  15. text-align: center;
  16. max-width: 800px;
  17. height: 100%;
  18. }
  19. .page-close-box {
  20. position: absolute;
  21. top: -0;
  22. right: -0;
  23. width: 42px;
  24. height: 42px;
  25. text-align: center;
  26. cursor: pointer;
  27. z-index: 999;
  28. }
  29. .page-close-box img {
  30. position: absolute;
  31. top: 4px;
  32. right: 4px;
  33. background-image: url();
  34. }
  35. .page-close-box::before {
  36. position: absolute;
  37. top: 0;
  38. right: 0;
  39. width: 0;
  40. height: 0;
  41. border: 20px solid #46a6fe;
  42. border-color: #46a6fe #46a6fe transparent transparent;
  43. content: "";
  44. }
  45. .flowicon {
  46. display: inline-block;
  47. font-style: normal;
  48. vertical-align: baseline;
  49. text-align: center;
  50. text-transform: none;
  51. line-height: 1;
  52. text-rendering: optimizeLegibility;
  53. -webkit-font-smoothing: antialiased;
  54. -moz-osx-font-smoothing: grayscale;
  55. }
  56. .flowicon:before {
  57. display: block;
  58. font-family: flow !important;
  59. }
  60. .flowicon-close:before {
  61. content: url("../images/add-close.png");
  62. filter: brightness(0) saturate(100%) invert(0);
  63. }
  64. .flowicon-close-circle:before {
  65. content: url("../images/cancel.png");
  66. }
  67. .flowicon-delete:before {
  68. content: url("../images/delete.png");
  69. }
  70. .flowicon-right:before {
  71. content: url("../images/right-arrow.png");
  72. filter: brightness(0) saturate(100%) invert(0);
  73. }
  74. .flowicon-left:before {
  75. content: url("../images/left-arrow.png");
  76. }
  77. .flowicon-exclamation-circle:before {
  78. content: url("../images/warning.png");
  79. }
  80. .flow-btn {
  81. line-height: 1.5;
  82. display: inline-block;
  83. font-weight: 400;
  84. text-align: center;
  85. touch-action: manipulation;
  86. cursor: pointer;
  87. background-image: none;
  88. border: 1px solid transparent;
  89. white-space: nowrap;
  90. padding: 0 15px;
  91. font-size: 14px;
  92. border-radius: 4px;
  93. height: 32px;
  94. user-select: none;
  95. transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  96. position: relative;
  97. color: rgba(0, 0, 0, 0.65);
  98. background-color: #fff;
  99. border-color: #d9d9d9;
  100. }
  101. .flow-btn > .flowicon {
  102. line-height: 1;
  103. }
  104. .flow-btn,
  105. .flow-btn:active,
  106. .flow-btn:focus {
  107. outline: 0;
  108. }
  109. .flow-btn > a:only-child {
  110. color: currentColor;
  111. }
  112. .flow-btn > a:only-child:after {
  113. content: "";
  114. position: absolute;
  115. top: 0;
  116. left: 0;
  117. bottom: 0;
  118. right: 0;
  119. background: transparent;
  120. }
  121. .flow-btn:focus,
  122. .flow-btn:hover {
  123. color: #40a9ff;
  124. background-color: #fff;
  125. border-color: #40a9ff;
  126. }
  127. .flow-btn:focus > a:only-child,
  128. .flow-btn:hover > a:only-child {
  129. color: currentColor;
  130. }
  131. .flow-btn:focus > a:only-child:after,
  132. .flow-btn:hover > a:only-child:after {
  133. content: "";
  134. position: absolute;
  135. top: 0;
  136. left: 0;
  137. bottom: 0;
  138. right: 0;
  139. background: transparent;
  140. }
  141. .flow-btn.active,
  142. .flow-btn:active {
  143. color: #096dd9;
  144. background-color: #fff;
  145. border-color: #096dd9;
  146. }
  147. .flow-btn.active > a:only-child,
  148. .flow-btn:active > a:only-child {
  149. color: currentColor;
  150. }
  151. .flow-btn.active > a:only-child:after,
  152. .flow-btn:active > a:only-child:after {
  153. content: "";
  154. position: absolute;
  155. top: 0;
  156. left: 0;
  157. bottom: 0;
  158. right: 0;
  159. background: transparent;
  160. }
  161. .flow-btn.active,
  162. .flow-btn:active,
  163. .flow-btn:focus,
  164. .flow-btn:hover {
  165. background: #fff;
  166. text-decoration: none;
  167. }
  168. .flow-btn > i,
  169. .flow-btn > span {
  170. pointer-events: none;
  171. }
  172. .flow-btn:before {
  173. position: absolute;
  174. top: -1px;
  175. left: -1px;
  176. bottom: -1px;
  177. right: -1px;
  178. background: #fff;
  179. opacity: 0.35;
  180. content: "";
  181. border-radius: inherit;
  182. z-index: 1;
  183. transition: opacity 0.2s;
  184. pointer-events: none;
  185. display: none;
  186. }
  187. .flow-btn .flowicon {
  188. transition: margin-left 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  189. }
  190. .flow-btn:active > span,
  191. .flow-btn:focus > span {
  192. position: relative;
  193. }
  194. .flow-btn > .flowicon + span,
  195. .flow-btn > span + .flowicon {
  196. margin-left: 8px;
  197. }
  198. .my-nav-container {
  199. display: inline-block;
  200. position: relative;
  201. }
  202. .my-nav-container .ghost-bar {
  203. position: absolute;
  204. width: 150px;
  205. height: 100%;
  206. left: 0;
  207. background: #1583f2;
  208. -webkit-transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  209. transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  210. }
  211. .my-nav-container .ghost-bar:after {
  212. content: "";
  213. position: absolute;
  214. bottom: 0;
  215. left: 50%;
  216. margin-left: -5px;
  217. width: 0;
  218. height: 0;
  219. border-style: solid;
  220. border-width: 0 5px 6px;
  221. border-color: transparent transparent #f6f6f6;
  222. }
  223. .my-nav-item {
  224. position: relative;
  225. cursor: pointer;
  226. display: inline-block;
  227. line-height: 60px;
  228. width: 150px;
  229. text-align: center;
  230. white-space: nowrap;
  231. }
  232. .my-nav-item .order-num {
  233. display: inline-block;
  234. width: 20px;
  235. height: 20px;
  236. line-height: 20px;
  237. border: 1px solid #fff;
  238. border-radius: 50%;
  239. margin-right: 6px;
  240. -webkit-transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  241. transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  242. }
  243. .my-nav-item.active .order-num {
  244. color: #1583f2;
  245. background: #fff;
  246. }
  247. .flow-input {
  248. font-family: Chinese Quote, -apple-system, BlinkMacSystemFont, Segoe UI,
  249. PingFang SC, Hiragino Sans GB, Microsoft YaHei, Helvetica Neue, Helvetica,
  250. Arial, sans-serif;
  251. font-variant: tabular-nums;
  252. box-sizing: border-box;
  253. margin: 0;
  254. padding: 0;
  255. list-style: none;
  256. position: relative;
  257. display: inline-block;
  258. padding: 4px 11px;
  259. width: 100%;
  260. height: 32px;
  261. font-size: 14px;
  262. line-height: 1.5;
  263. color: rgba(0, 0, 0, 0.65);
  264. background-color: #fff;
  265. background-image: none;
  266. border: 1px solid #d9d9d9;
  267. border-radius: 4px;
  268. transition: all 0.3s;
  269. }
  270. .flow-input::-moz-placeholder {
  271. color: #bfbfbf;
  272. opacity: 1;
  273. }
  274. .flow-input:-ms-input-placeholder {
  275. color: #bfbfbf;
  276. }
  277. .flow-input::-webkit-input-placeholder {
  278. color: #bfbfbf;
  279. }
  280. .flow-input:focus,
  281. .flow-input:hover {
  282. border-color: #40a9ff;
  283. border-right-width: 1px !important;
  284. }
  285. .flow-input:focus {
  286. outline: 0;
  287. box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
  288. }
  289. textarea.flow-input {
  290. max-width: 100%;
  291. height: auto;
  292. vertical-align: bottom;
  293. transition: all 0.3s, height 0s;
  294. min-height: 32px;
  295. }
  296. .my-nav {
  297. position: fixed;
  298. top: 0;
  299. left: 0;
  300. right: 0;
  301. z-index: 997;
  302. width: 100%;
  303. height: 60px;
  304. font-size: 14px;
  305. color: #fff;
  306. background: #3296fa;
  307. display: flex;
  308. align-items: center;
  309. }
  310. .my-nav > * {
  311. flex: 1;
  312. width: 100%;
  313. }
  314. .my-nav .my-nav-left {
  315. display: -webkit-box;
  316. display: flex;
  317. align-items: center;
  318. }
  319. .my-nav .my-nav-center {
  320. flex: none;
  321. width: 600px;
  322. text-align: center;
  323. }
  324. .my-nav .my-nav-right {
  325. display: flex;
  326. align-items: center;
  327. justify-content: flex-end;
  328. text-align: right;
  329. }
  330. .my-nav .my-nav-back {
  331. display: inline-block;
  332. width: 60px;
  333. height: 60px;
  334. font-size: 22px;
  335. border-right: 1px solid #1583f2;
  336. text-align: center;
  337. cursor: pointer;
  338. }
  339. .my-nav .my-nav-back:hover {
  340. background: #5af;
  341. }
  342. .my-nav .my-nav-back:active {
  343. background: #1583f2;
  344. }
  345. .my-nav .my-nav-back .flowicon {
  346. line-height: 60px;
  347. }
  348. .my-nav .my-nav-title {
  349. width: 0;
  350. flex: 1;
  351. overflow: hidden;
  352. white-space: nowrap;
  353. text-overflow: ellipsis;
  354. padding: 0 15px;
  355. }
  356. .my-nav a {
  357. color: #fff;
  358. margin-left: 12px;
  359. }
  360. .my-nav .button-publish {
  361. min-width: 80px;
  362. margin-left: 4px;
  363. margin-right: 15px;
  364. color: #3296fa;
  365. border-color: #fff;
  366. }
  367. .my-nav .button-publish.flow-btn:focus,
  368. .my-nav .button-publish.flow-btn:hover {
  369. color: #3296fa;
  370. border-color: #fff;
  371. box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.3);
  372. }
  373. .my-nav .button-publish.flow-btn:active {
  374. color: #3296fa;
  375. background: #d6eaff;
  376. box-shadow: none;
  377. }
  378. .my-nav .button-preview {
  379. min-width: 80px;
  380. margin-left: 16px;
  381. margin-right: 4px;
  382. color: #fff;
  383. border-color: #fff;
  384. background: transparent;
  385. }
  386. .my-nav .button-preview.flow-btn:focus,
  387. .my-nav .button-preview.flow-btn:hover {
  388. color: #fff;
  389. border-color: #fff;
  390. background: #59acfc;
  391. }
  392. .my-nav .button-preview.flow-btn:active {
  393. color: #fff;
  394. border-color: #fff;
  395. background: #2186ef;
  396. }
  397. .my-nav-content {
  398. position: fixed;
  399. top: 60px;
  400. left: 0;
  401. right: 0;
  402. bottom: 0;
  403. z-index: 1;
  404. overflow-x: hidden;
  405. overflow-y: hidden;
  406. padding-bottom: 30px;
  407. height: 100%;
  408. }
  409. .error-modal-desc {
  410. font-size: 13px;
  411. color: red;
  412. line-height: 22px;
  413. margin-bottom: 14px;
  414. }
  415. .error-modal-list {
  416. height: 200px;
  417. overflow-y: auto;
  418. margin-right: -25px;
  419. padding-right: 25px;
  420. }
  421. .error-modal-item {
  422. padding: 10px 20px;
  423. line-height: 21px;
  424. background: #f6f6f6;
  425. display: flex;
  426. justify-content: space-between;
  427. align-items: center;
  428. margin-bottom: 8px;
  429. border-radius: 4px;
  430. }
  431. .error-modal-item-label {
  432. flex: none;
  433. font-size: 15px;
  434. color: rgba(25, 31, 37, 0.56);
  435. padding-right: 10px;
  436. }
  437. .error-modal-item-content {
  438. text-align: right;
  439. flex: 1;
  440. font-size: 13px;
  441. color: red;
  442. }
  443. #body.blur {
  444. -webkit-filter: blur(3px);
  445. filter: blur(3px);
  446. }
  447. .zoom {
  448. display: flex;
  449. position: fixed;
  450. -webkit-box-align: center;
  451. -ms-flex-align: center;
  452. align-items: center;
  453. -webkit-box-pack: justify;
  454. -ms-flex-pack: justify;
  455. justify-content: space-between;
  456. height: 40px;
  457. /*width: 125px;*/
  458. right: 40px;
  459. margin-top: 30px;
  460. z-index: 10;
  461. }
  462. .zoom .zoom-in,
  463. .zoom .zoom-out {
  464. width: 30px;
  465. height: 30px;
  466. background: #fff;
  467. color: #c1c1cd;
  468. cursor: pointer;
  469. background-size: 100%;
  470. background-repeat: no-repeat;
  471. }
  472. .zoom .zoom-out {
  473. background-image: url(../images/minus-90-90.png);
  474. }
  475. .zoom .zoom-out.disabled {
  476. opacity: 0.5;
  477. }
  478. .zoom .zoom-in {
  479. background-image: url(../images/plus-90-90.png);
  480. }
  481. .zoom .zoom-in.disabled {
  482. opacity: 0.5;
  483. }
  484. .zoom-reset {
  485. color: #595d62;
  486. font-weight: bold;
  487. padding: 2px 7px;
  488. background: #ffffff;
  489. border: 1px solid #e3e4e4;
  490. cursor: pointer;
  491. margin-left: 10px;
  492. }
  493. .zoom > span {
  494. text-align: center;
  495. width: 39px;
  496. margin: 0 10px;
  497. }
  498. .auto-judge:hover .editable-title,
  499. .node-wrap-box:hover .editable-title {
  500. border-bottom: 1px dashed #fff;
  501. }
  502. .auto-judge:hover .editable-title.editing,
  503. .node-wrap-box:hover .editable-title.editing {
  504. text-decoration: none;
  505. border: 1px solid #d9d9d9;
  506. }
  507. .auto-judge:hover .editable-title {
  508. border-color: #15bc83;
  509. }
  510. .editable-title {
  511. line-height: 15px;
  512. overflow: hidden;
  513. white-space: nowrap;
  514. text-overflow: ellipsis;
  515. border-bottom: 1px dashed transparent;
  516. }
  517. .editable-title:before {
  518. content: "";
  519. position: absolute;
  520. top: 0;
  521. left: 0;
  522. bottom: 0;
  523. right: 40px;
  524. }
  525. .editable-title:hover {
  526. border-bottom: 1px dashed #fff;
  527. }
  528. .editable-title-input {
  529. flex: none;
  530. height: 18px;
  531. padding-left: 4px;
  532. text-indent: 0;
  533. font-size: 12px;
  534. line-height: 18px;
  535. z-index: 1;
  536. }
  537. .editable-title-input:hover {
  538. text-decoration: none;
  539. }
  540. .flow-btn {
  541. position: relative;
  542. }
  543. .node-wrap-box {
  544. display: -webkit-inline-box;
  545. display: -ms-inline-flexbox;
  546. display: inline-flex;
  547. -webkit-box-orient: vertical;
  548. -webkit-box-direction: normal;
  549. -ms-flex-direction: column;
  550. flex-direction: column;
  551. position: relative;
  552. width: 220px;
  553. min-height: 72px;
  554. -ms-flex-negative: 0;
  555. flex-shrink: 0;
  556. background: #fff;
  557. border-radius: 4px;
  558. cursor: pointer;
  559. }
  560. .node-wrap-box:after {
  561. pointer-events: none;
  562. content: "";
  563. position: absolute;
  564. top: 0;
  565. bottom: 0;
  566. left: 0;
  567. right: 0;
  568. z-index: 2;
  569. border-radius: 4px;
  570. border: 1px solid transparent;
  571. transition: all 0.1s cubic-bezier(0.645, 0.045, 0.355, 1);
  572. box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
  573. }
  574. .node-wrap-box.active:after,
  575. .node-wrap-box:active:after,
  576. .node-wrap-box:hover:after {
  577. border: 1px solid #3296fa;
  578. box-shadow: 0 0 6px 0 rgba(50, 150, 250, 0.3);
  579. }
  580. .node-wrap-box.active .close,
  581. .node-wrap-box:active .close,
  582. .node-wrap-box:hover .close {
  583. display: block;
  584. }
  585. .node-wrap-box.error:after {
  586. border: 1px solid #f25643;
  587. box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
  588. }
  589. .node-wrap-box .title {
  590. position: relative;
  591. display: flex;
  592. align-items: center;
  593. padding-left: 16px;
  594. padding-right: 30px;
  595. width: 100%;
  596. height: 24px;
  597. line-height: 24px;
  598. font-size: 12px;
  599. color: #fff;
  600. text-align: left;
  601. background: #576a95;
  602. border-radius: 4px 4px 0 0;
  603. }
  604. .node-wrap-box .title .iconfont {
  605. font-size: 12px;
  606. margin-right: 5px;
  607. }
  608. .node-wrap-box .placeholder {
  609. color: #bfbfbf;
  610. }
  611. .node-wrap-box .close {
  612. display: none;
  613. position: absolute;
  614. right: 10px;
  615. top: 50%;
  616. transform: translateY(-50%);
  617. width: 20px;
  618. height: 20px;
  619. font-size: 14px;
  620. color: #fff;
  621. border-radius: 50%;
  622. text-align: center;
  623. line-height: 20px;
  624. }
  625. .node-wrap-box .content {
  626. position: relative;
  627. font-size: 14px;
  628. padding: 16px;
  629. padding-right: 30px;
  630. }
  631. .node-wrap-box .content .text {
  632. overflow: hidden;
  633. text-overflow: ellipsis;
  634. display: -webkit-box;
  635. -webkit-line-clamp: 3;
  636. line-clamp: 3;
  637. -webkit-box-orient: vertical;
  638. }
  639. .node-wrap-box .content .arrow {
  640. position: absolute;
  641. right: 10px;
  642. top: 50%;
  643. transform: translateY(-50%);
  644. width: 20px;
  645. height: 14px;
  646. font-size: 14px;
  647. color: #979797;
  648. }
  649. .start-node.node-wrap-box .content .text {
  650. display: block;
  651. white-space: nowrap;
  652. }
  653. .node-wrap-box:before {
  654. content: "";
  655. position: absolute;
  656. top: -12px;
  657. left: 50%;
  658. -webkit-transform: translateX(-50%);
  659. transform: translateX(-50%);
  660. width: 0;
  661. height: 4px;
  662. border-style: solid;
  663. border-width: 8px 6px 4px;
  664. border-color: #cacaca transparent transparent;
  665. background: #f5f5f7;
  666. }
  667. .node-wrap-box.start-node:before {
  668. content: none;
  669. }
  670. .top-left-cover-line {
  671. left: -1px;
  672. }
  673. .top-left-cover-line,
  674. .top-right-cover-line {
  675. position: absolute;
  676. height: 8px;
  677. width: 50%;
  678. background-color: #f5f5f7;
  679. top: -4px;
  680. }
  681. .top-right-cover-line {
  682. right: -1px;
  683. }
  684. .bottom-left-cover-line {
  685. left: -1px;
  686. }
  687. .bottom-left-cover-line,
  688. .bottom-right-cover-line {
  689. position: absolute;
  690. height: 8px;
  691. width: 50%;
  692. background-color: #f5f5f7;
  693. bottom: -4px;
  694. }
  695. .bottom-right-cover-line {
  696. right: -1px;
  697. }
  698. .dingflow-design {
  699. width: 100%;
  700. background-color: #f5f5f7;
  701. overflow: hidden;
  702. position: absolute;
  703. bottom: 0;
  704. left: 0;
  705. right: 0;
  706. top: 0;
  707. display: inline-flex;
  708. flex-direction: column;
  709. align-items: center;
  710. }
  711. .dingflow-design .box-scale {
  712. transform: scale(1);
  713. display: inline-block;
  714. position: relative;
  715. width: 100%;
  716. padding: 54.5px 0;
  717. -webkit-box-align: start;
  718. -ms-flex-align: start;
  719. align-items: flex-start;
  720. -webkit-box-pack: center;
  721. -ms-flex-pack: center;
  722. justify-content: center;
  723. -ms-flex-wrap: wrap;
  724. flex-wrap: wrap;
  725. min-width: -webkit-min-content;
  726. min-width: -moz-min-content;
  727. min-width: min-content;
  728. background-color: #f5f5f7;
  729. /*transform-origin: 50% 0px 0px;*/
  730. }
  731. .dingflow-design .node-wrap {
  732. flex-direction: column;
  733. -webkit-box-pack: start;
  734. -ms-flex-pack: start;
  735. justify-content: flex-start;
  736. -webkit-box-align: center;
  737. -ms-flex-align: center;
  738. align-items: center;
  739. -ms-flex-wrap: wrap;
  740. flex-wrap: wrap;
  741. -webkit-box-flex: 1;
  742. -ms-flex-positive: 1;
  743. padding: 0 50px;
  744. position: relative;
  745. z-index: 9999;
  746. }
  747. .dingflow-design .branch-wrap,
  748. .dingflow-design .node-wrap {
  749. display: inline-flex;
  750. width: 100%;
  751. }
  752. .dingflow-design .branch-box-wrap {
  753. display: flex;
  754. -webkit-box-orient: vertical;
  755. -webkit-box-direction: normal;
  756. -ms-flex-direction: column;
  757. flex-direction: column;
  758. -ms-flex-wrap: wrap;
  759. flex-wrap: wrap;
  760. -webkit-box-align: center;
  761. -ms-flex-align: center;
  762. align-items: center;
  763. min-height: 270px;
  764. width: 100%;
  765. -ms-flex-negative: 0;
  766. flex-shrink: 0;
  767. }
  768. .dingflow-design .branch-box {
  769. display: flex;
  770. overflow: visible;
  771. min-height: 180px;
  772. height: auto;
  773. border-bottom: 2px solid #ccc;
  774. border-top: 2px solid #ccc;
  775. position: relative;
  776. margin-top: 15px;
  777. }
  778. .dingflow-design .branch-box .col-box {
  779. background: #f5f5f7;
  780. }
  781. .dingflow-design .branch-box .col-box:before {
  782. content: "";
  783. position: absolute;
  784. top: 0;
  785. left: 0;
  786. right: 0;
  787. bottom: 0;
  788. z-index: 0;
  789. margin: auto;
  790. width: 2px;
  791. height: 100%;
  792. background-color: #cacaca;
  793. }
  794. .dingflow-design .add-branch {
  795. border: none;
  796. outline: none;
  797. user-select: none;
  798. justify-content: center;
  799. font-size: 12px;
  800. padding: 0 10px;
  801. height: 30px;
  802. line-height: 30px;
  803. border-radius: 15px;
  804. color: #3296fa;
  805. background: #fff;
  806. box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
  807. position: absolute;
  808. top: -16px;
  809. left: 50%;
  810. transform: translateX(-50%);
  811. transform-origin: center center;
  812. cursor: pointer;
  813. z-index: 1;
  814. display: inline-flex;
  815. align-items: center;
  816. -webkit-transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  817. transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  818. }
  819. .dingflow-design .add-branch:hover {
  820. transform: translateX(-50%) scale(1.1);
  821. box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.1);
  822. }
  823. .dingflow-design .add-branch:active {
  824. transform: translateX(-50%);
  825. box-shadow: none;
  826. }
  827. .dingflow-design .col-box {
  828. display: inline-flex;
  829. -webkit-box-orient: vertical;
  830. -webkit-box-direction: normal;
  831. flex-direction: column;
  832. -webkit-box-align: center;
  833. align-items: center;
  834. position: relative;
  835. }
  836. .dingflow-design .condition-node {
  837. min-height: 220px;
  838. }
  839. .dingflow-design .condition-node,
  840. .dingflow-design .condition-node-box {
  841. display: inline-flex;
  842. -webkit-box-orient: vertical;
  843. -webkit-box-direction: normal;
  844. flex-direction: column;
  845. -webkit-box-flex: 1;
  846. }
  847. .dingflow-design .condition-node-box {
  848. padding-top: 30px;
  849. padding-right: 50px;
  850. padding-left: 50px;
  851. -webkit-box-pack: center;
  852. justify-content: center;
  853. -webkit-box-align: center;
  854. align-items: center;
  855. flex-grow: 1;
  856. position: relative;
  857. }
  858. .dingflow-design .condition-node-box:before {
  859. content: "";
  860. position: absolute;
  861. top: 0;
  862. left: 0;
  863. right: 0;
  864. bottom: 0;
  865. margin: auto;
  866. width: 2px;
  867. height: 100%;
  868. background-color: #cacaca;
  869. }
  870. .dingflow-design .auto-judge {
  871. position: relative;
  872. width: 220px;
  873. min-height: 72px;
  874. background: #fff;
  875. border-radius: 4px;
  876. padding: 14px 19px;
  877. cursor: pointer;
  878. }
  879. .dingflow-design .auto-judge:after {
  880. pointer-events: none;
  881. content: "";
  882. position: absolute;
  883. top: 0;
  884. bottom: 0;
  885. left: 0;
  886. right: 0;
  887. z-index: 2;
  888. border-radius: 4px;
  889. border: 1px solid transparent;
  890. transition: all 0.1s cubic-bezier(0.645, 0.045, 0.355, 1);
  891. box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
  892. }
  893. .dingflow-design .auto-judge.active:after,
  894. .dingflow-design .auto-judge:active:after,
  895. .dingflow-design .auto-judge:hover:after {
  896. border: 1px solid #3296fa;
  897. box-shadow: 0 0 6px 0 rgba(50, 150, 250, 0.3);
  898. }
  899. .dingflow-design .auto-judge.active .close,
  900. .dingflow-design .auto-judge:active .close,
  901. .dingflow-design .auto-judge:hover .close {
  902. display: block;
  903. }
  904. .dingflow-design .auto-judge.error:after {
  905. border: 1px solid #f25643;
  906. box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
  907. }
  908. .dingflow-design .auto-judge .title-wrapper {
  909. position: relative;
  910. font-size: 12px;
  911. color: #15bc83;
  912. text-align: left;
  913. line-height: 16px;
  914. }
  915. .dingflow-design .auto-judge .title-wrapper .editable-title {
  916. display: inline-block;
  917. max-width: 120px;
  918. overflow: hidden;
  919. white-space: nowrap;
  920. text-overflow: ellipsis;
  921. }
  922. .dingflow-design .auto-judge .title-wrapper .priority-title {
  923. float: right;
  924. margin-right: 10px;
  925. color: rgba(25, 31, 37, 0.56);
  926. }
  927. .dingflow-design .auto-judge .placeholder {
  928. color: #bfbfbf;
  929. }
  930. .dingflow-design .auto-judge .close {
  931. display: none;
  932. position: absolute;
  933. right: -10px;
  934. top: -10px;
  935. width: 20px;
  936. height: 20px;
  937. font-size: 14px;
  938. color: rgba(0, 0, 0, 0.25);
  939. border-radius: 50%;
  940. text-align: center;
  941. line-height: 20px;
  942. z-index: 2;
  943. }
  944. .dingflow-design .auto-judge .content {
  945. font-size: 14px;
  946. color: #191f25;
  947. text-align: left;
  948. margin-top: 6px;
  949. overflow: hidden;
  950. text-overflow: ellipsis;
  951. display: -webkit-box;
  952. -webkit-line-clamp: 3;
  953. line-clamp: 3;
  954. -webkit-box-orient: vertical;
  955. }
  956. .dingflow-design .auto-judge .sort-left,
  957. .dingflow-design .auto-judge .sort-right {
  958. position: absolute;
  959. top: 0;
  960. bottom: 0;
  961. display: none;
  962. z-index: 1;
  963. }
  964. .dingflow-design .auto-judge .sort-left {
  965. left: 0;
  966. border-right: 1px solid #f6f6f6;
  967. }
  968. .dingflow-design .auto-judge .sort-right {
  969. right: 0;
  970. border-left: 1px solid #f6f6f6;
  971. }
  972. .dingflow-design .auto-judge:hover .sort-left,
  973. .dingflow-design .auto-judge:hover .sort-right {
  974. display: flex;
  975. align-items: center;
  976. }
  977. .dingflow-design .auto-judge .sort-left:hover,
  978. .dingflow-design .auto-judge .sort-right:hover {
  979. background: #efefef;
  980. }
  981. .dingflow-design .end-node {
  982. border-radius: 50%;
  983. font-size: 14px;
  984. color: rgba(25, 31, 37, 0.4);
  985. text-align: left;
  986. }
  987. .dingflow-design .end-node .end-node-circle {
  988. width: 20px;
  989. height: 20px;
  990. margin: auto;
  991. border-radius: 50%;
  992. background: #dbdcdc;
  993. }
  994. .dingflow-design .end-node .end-node-text {
  995. margin-top: 5px;
  996. text-align: center;
  997. }
  998. .approval-setting {
  999. border-radius: 2px;
  1000. margin: 20px 0;
  1001. position: relative;
  1002. background: #fff;
  1003. }
  1004. .flow-btn {
  1005. position: relative;
  1006. }