theme.css 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. /* 待处理节点的颜色 */
  2. #canvas g .djs-visual rect,
  3. #canvas g .djs-visual polygon,
  4. #canvas g[data-element-id^='EndEvent'] circle{
  5. fill:#a8a8a8;
  6. stroke:#a8a8a8;
  7. }
  8. /* 待处理节点的文字颜色 */
  9. #canvas g text{
  10. fill:#fff;
  11. font-family: Microsoft YaHei !important;
  12. }
  13. /* 待处理连线的颜色 */
  14. #markerUnhandle path{
  15. fill:#dfdfdf
  16. }
  17. /* 待处理连线的箭头颜色 */
  18. #canvas g .djs-visual path{
  19. stroke: #dfdfdf;
  20. marker-end:url("#markerUnhandle") !important;
  21. }
  22. /* 已处理节点的颜色 */
  23. #canvas g.handled .djs-visual rect,
  24. #canvas g.handled .djs-visual polygon,
  25. #canvas g.handled circle,
  26. #canvas g[data-element-id^='StartEvent'] circle{
  27. fill:#a4beff;
  28. stroke:#a4beff;
  29. }
  30. /* 已处理节点 */
  31. #canvas g.handled text,
  32. #canvas g[data-element-id^='StartEvent'] text,
  33. #canvas g[data-element-id^='EndEvent'] text{
  34. fill:#333;
  35. }
  36. /* 待处理连线的文字颜色 */
  37. #canvas g[data-element-id^='SequenceFlow'] text{
  38. fill:#333;
  39. font-family: Microsoft YaHei !important;
  40. }
  41. /* 已处理连线的颜色 */
  42. #markerHandle path{
  43. fill:#6f72fa
  44. }
  45. /* 已处理连线的箭头颜色 */
  46. #canvas g.handled .djs-visual path{
  47. stroke: #6f72fa;
  48. marker-end:url("#markerHandle") !important;
  49. }
  50. /* 当前节点的颜色 */
  51. #canvas g.currentNode .djs-visual rect,
  52. #canvas g.currentNode .djs-visual polygon,
  53. #canvas g.currentNode circle{
  54. fill:#dbf9de;
  55. stroke:#dbf9de;
  56. }
  57. /* 当前节点的选中框样式 */
  58. .showTop1,.showTop2,.showBottom1,.showBottom2{
  59. border:1px solid #ff6600;
  60. height: 15px;
  61. width: 15px;
  62. text-align: center;
  63. }
  64. .showTop1 {
  65. border-bottom:none;
  66. border-right:none;
  67. padding: -5px;
  68. }
  69. .showTop2 {
  70. border-bottom:none;
  71. border-left:none;
  72. padding: -5px;
  73. }
  74. .showBottom1 {
  75. border-top:none;
  76. border-right:none;
  77. padding: -5px;
  78. }
  79. .showBottom2 {
  80. border-top:none;
  81. border-left:none;
  82. padding: -5px;
  83. }
  84. /* 时间轴播放器:已处理的连线颜色 */
  85. .cd-horizontal-timeline .filling-line,
  86. .cd-horizontal-timeline .events a.selected::after{
  87. background-color: #7f82ff;
  88. }
  89. .cd-horizontal-timeline .events a.older-event::after,
  90. .cd-horizontal-timeline .events a.selected::after{
  91. border-color: #7f82ff;
  92. }
  93. /* 时间轴播放器:翻页的箭头图片 */
  94. .cd-timeline-navigation a::after{
  95. background:url(../img/cd-arrow.png) no-repeat 0 0;
  96. }
  97. /* 时间轴播放器:文字 */
  98. a{
  99. color: #4c4fab;
  100. font-family: Microsoft YaHei;
  101. }