bpmn-set.css 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  1. html, body {
  2. height: 100%;
  3. padding: 0;
  4. margin: 0;
  5. }
  6. #canvas {
  7. position: absolute;
  8. top: 45px;
  9. bottom: 10px;
  10. left: 10px;
  11. right: 10px;
  12. }
  13. .diagram-note {
  14. background-color: rgba(66, 180, 21, 0.7);
  15. color: White;
  16. border-radius: 5px;
  17. font-family: Arial;
  18. font-size: 12px;
  19. padding: 5px;
  20. min-height: 16px;
  21. width: 50px;
  22. text-align: center;
  23. }
  24. .needs-discussion:not(.djs-connection) .djs-visual > :nth-child(1) {
  25. stroke: rgba(66, 180, 21, 0.7) !important; /* color elements as red */
  26. }
  27. #save-button {
  28. position: fixed;
  29. bottom: 20px;
  30. left: 20px;
  31. }
  32. #return-button {
  33. position: fixed;
  34. bottom: 20px;
  35. left: 150px;
  36. }
  37. #toolbar {
  38. position: absolute;
  39. top: 5px;
  40. height: 30px;
  41. left: 10px;
  42. right: 10px;
  43. }
  44. .toolbar-item {
  45. width: 120px;
  46. height: 20px;
  47. float: right;
  48. font-size: 13px;
  49. line-height: 20px;
  50. }
  51. .toolbar-item > div {
  52. float: left;
  53. }
  54. .item-color-done {
  55. width: 40px;
  56. height: 20px;
  57. border: 2px solid #00A900;
  58. border-radius: 2px;
  59. margin-right: 6px;
  60. }
  61. .item-color-process {
  62. width: 40px;
  63. height: 20px;
  64. border: 2px solid #1890ff;
  65. border-radius: 2px;
  66. margin-right: 6px;
  67. }
  68. .item-color-wait {
  69. width: 40px;
  70. height: 20px;
  71. border: 2px solid #F05D2E;
  72. border-radius: 2px;
  73. margin-right: 6px;
  74. }
  75. /* 右侧层 */
  76. .bpmn-right {
  77. position: absolute;
  78. right: 0;
  79. top: 0;
  80. bottom: 0;
  81. width: 303px;
  82. background-color: #fff;
  83. border: 1px solid #ddd;
  84. box-sizing: border-box;
  85. display: none;
  86. }
  87. .left-show-box{
  88. display: -webkit-box;
  89. -webkit-box-flex: 1;
  90. position: relative;
  91. height: 100%;
  92. }
  93. .right-show-box{
  94. display: -webkit-box;
  95. height: 100%;
  96. background: #F0F9FF;
  97. box-shadow: 0 -2px 5px #c3c3c3;
  98. }
  99. .right-show-box.close-tab{
  100. width: 12px;
  101. }
  102. .right-show-box.open-tab{
  103. width: 300px;
  104. }
  105. .show-box{
  106. width: 100%;
  107. height: 100%;
  108. display: -webkit-box;
  109. }
  110. .right-show-switch{
  111. width: 12px;
  112. height: 100%;
  113. position: relative;
  114. }
  115. .right-show-switch i{
  116. position: absolute;
  117. top: 50%;
  118. left: 0;
  119. transform: translate(-50% 0);
  120. cursor: pointer;
  121. }
  122. .right-show-content{
  123. width: 288px;
  124. height: 100%;
  125. display: -webkit-box;
  126. -webkit-box-orient: vertical;
  127. padding: 5px;
  128. box-sizing: border-box;
  129. background-color: #ffffff;
  130. font-size: 14px;
  131. overflow: auto;
  132. }
  133. .item-flow-info{
  134. width: 100%;
  135. overflow: hidden;
  136. padding-bottom: 30px;
  137. }
  138. .item-flow-endname{
  139. width: 100%;
  140. height: 30px;
  141. line-height: 30px;
  142. background-color: #0d8ddb;
  143. color: #ffffff;
  144. position: relative;
  145. }
  146. .item-flow-end{
  147. width: 100%;
  148. height: 30px;
  149. line-height: 30px;
  150. text-indent: 30px;
  151. overflow: hidden;
  152. text-overflow: ellipsis;
  153. white-space: nowrap;
  154. }
  155. .item-flow-index{
  156. position: absolute;
  157. width: 20px;
  158. height: 20px;
  159. line-height: 20px;
  160. left: 5px;
  161. top: 50%;
  162. transform: translate(0%,-50%);
  163. text-align: center;
  164. background-color: #ffffff;
  165. color: #0d8ddb;
  166. background-color: #ffffff;
  167. border-radius: 10px;
  168. }
  169. .item-flow-user{
  170. width: 100%;
  171. overflow: hidden;
  172. }
  173. .item-flow-username{
  174. width: 100%;
  175. height: 28px;
  176. line-height: 28px;
  177. padding: 0px 10px;
  178. color: red;
  179. display: -webkit-box;
  180. -webkit-box-pack: justify;
  181. margin-bottom: 3px;
  182. }
  183. .item-flow-option{
  184. width: 100%;
  185. overflow: hidden;
  186. }
  187. .item-flow-optioncontent{
  188. margin: 0px 12px 10px 12px;
  189. display: -webkit-box;
  190. -webkit-box-orient: vertical;
  191. border: 1px solid #cccccc;
  192. padding: 5px 0px;
  193. border-radius: 2px;
  194. }
  195. .item-flow-content{
  196. line-height: 22px;
  197. text-indent: 10px;
  198. }
  199. .item-flow-cdate{
  200. margin-top: 8px;
  201. text-align: right;
  202. margin-right: 8px;
  203. }
  204. .item-flow-img{
  205. width: 100%;
  206. overflow: auto;
  207. }
  208. .item-flow-img img{
  209. width: 100%;
  210. }