workflow.css 23 KB

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