joint.min.css 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. /*! JointJS v0.9.6 - JavaScript diagramming library 2015-12-19
  2. This Source Code Form is subject to the terms of the Mozilla Public
  3. License, v. 2.0. If a copy of the MPL was not distributed with this
  4. file, You can obtain one at http://mozilla.org/MPL/2.0/.
  5. */
  6. .viewport {
  7. -webkit-user-select: none;
  8. -moz-user-select: none;
  9. user-select: none
  10. }
  11. [magnet=true]:not(.element) {
  12. cursor: crosshair
  13. }
  14. [magnet=true]:not(.element):hover {
  15. opacity: .7
  16. }
  17. .element {
  18. cursor: move
  19. }
  20. .element * {
  21. vector-effect: non-scaling-stroke;
  22. user-drag: none
  23. }
  24. .connection-wrap {
  25. fill: none;
  26. //stroke: #000;
  27. //stroke-width: 15;
  28. stroke-linecap: round;
  29. stroke-linejoin: round;
  30. opacity: 0;
  31. cursor: move
  32. }
  33. .connection-wrap:hover {
  34. opacity: .4;
  35. stroke-opacity: .4
  36. }
  37. .connection {
  38. fill: none;
  39. stroke-linejoin: round
  40. }
  41. .marker-source,
  42. .marker-target {
  43. vector-effect: non-scaling-stroke
  44. }
  45. .marker-vertices {
  46. opacity: 0;
  47. cursor: move
  48. }
  49. .marker-arrowheads {
  50. opacity: 0;
  51. cursor: move;
  52. cursor: -webkit-grab;
  53. cursor: -moz-grab
  54. }
  55. .link-tools {
  56. opacity: 0;
  57. cursor: pointer
  58. }
  59. .link-tools .tool-options {
  60. display: none
  61. }
  62. .link-tools .tool-remove circle {
  63. fill: red
  64. }
  65. .link-tools .tool-remove path {
  66. fill: #fff
  67. }
  68. .link:hover .marker-vertices,
  69. .link:hover .marker-arrowheads,
  70. .link:hover .link-tools {
  71. opacity: 1
  72. }
  73. .marker-vertex {
  74. fill: #1ABC9C
  75. }
  76. .marker-vertex:hover {
  77. fill: #34495E;
  78. stroke: none
  79. }
  80. .marker-arrowhead {
  81. fill: #1ABC9C
  82. }
  83. .marker-arrowhead:hover {
  84. fill: #F39C12;
  85. stroke: none
  86. }
  87. .marker-vertex-remove {
  88. cursor: pointer;
  89. opacity: .1;
  90. fill: #fff
  91. }
  92. .marker-vertex-group:hover .marker-vertex-remove {
  93. opacity: 1
  94. }
  95. .marker-vertex-remove-area {
  96. opacity: .1;
  97. cursor: pointer
  98. }
  99. .marker-vertex-group:hover .marker-vertex-remove-area {
  100. opacity: 1
  101. }
  102. .highlighted {
  103. opacity: .7
  104. }
  105. text.highlighted {
  106. fill: red
  107. }
  108. @media screen and (-webkit-min-device-pixel-ratio:0) {
  109. .highlighted {
  110. outline: 2px solid red;
  111. opacity: initial
  112. }
  113. }
  114. .element .fobj {
  115. overflow: hidden
  116. }
  117. .element .fobj body {
  118. background-color: transparent;
  119. margin: 0
  120. }
  121. .element .fobj div {
  122. text-align: center;
  123. vertical-align: middle;
  124. display: table-cell;
  125. padding: 0 5px
  126. }