swimlanes.css 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227
  1. /*
  2. // Minimize swimlanes start https://www.w3schools.com/howto/howto_js_accordion.asp
  3. .accordion
  4. cursor: pointer
  5. width: 30px
  6. height: 20px
  7. border: none
  8. outline: none
  9. font-size: 18px
  10. transition: 0.4s
  11. padding-top: 0px
  12. margin-top: 0px
  13. .accordion:after
  14. // Unicode triagle right:
  15. content: '\25B6'
  16. color: #777
  17. font-weight: bold
  18. float: left
  19. .active:after
  20. // Unicode triangle down:
  21. content: '\25BC'
  22. .panel
  23. width: 100%
  24. max-height: 0
  25. overflow: hidden
  26. transition: max-height 0.2s ease-out
  27. margin: 0px
  28. padding: 0px
  29. // Minimize swimlanes end https://www.w3schools.com/howto/howto_js_accordion.asp
  30. */
  31. @media screen and (min-width: 801px) {
  32. .swimlane.ui-sortable {
  33. width: max-content;
  34. }
  35. }
  36. [class=swimlane] {
  37. position: sticky;
  38. left: 0;
  39. }
  40. .swimlane {
  41. background: #dedede;
  42. display: flex;
  43. flex-direction: row;
  44. overflow: 0;
  45. }
  46. .swimlane.placeholder {
  47. background-color: rgba(0,0,0,0.2);
  48. border-color: transparent;
  49. box-shadow: none;
  50. height: 100px;
  51. }
  52. .swimlane.ui-sortable-helper {
  53. box-shadow: -2px 2px 8px rgba(0,0,0,0.3), 0 0 1px rgba(0,0,0,0.5);
  54. transform: rotate(2deg);
  55. cursor: grabbing;
  56. }
  57. .swimlane.ui-sortable-helper .swimlane-header.ui-sortable-handle {
  58. cursor: grabbing;
  59. }
  60. .swimlane .swimlane-header-wrap {
  61. display: flex;
  62. flex-direction: row;
  63. flex: 1 0 100%;
  64. background-color: #ccc;
  65. }
  66. .swimlane .swimlane-header-wrap .swimlane-header {
  67. font-size: 14px;
  68. padding: 5px 5px;
  69. font-weight: bold;
  70. min-height: 9px;
  71. width: 100%;
  72. overflow: hidden;
  73. -o-text-overflow: ellipsis;
  74. text-overflow: ellipsis;
  75. word-wrap: break-word;
  76. text-align: center;
  77. }
  78. .swimlane .swimlane-header-wrap .swimlane-header-menu {
  79. position: absolute;
  80. padding: 5px 5px;
  81. font-size: 22px;
  82. }
  83. @media print {
  84. .swimlane .swimlane-header-wrap .swimlane-header-menu {
  85. display: none;
  86. }
  87. }
  88. .swimlane .swimlane-header-wrap .swimlane-header-plus-icon {
  89. margin-left: 5px;
  90. padding-right: 20px;
  91. font-size: 22px;
  92. }
  93. .swimlane .swimlane-header-wrap .swimlane-header-menu-icon {
  94. padding-right: 20px;
  95. font-size: 22px;
  96. }
  97. .swimlane .swimlane-header-wrap .swimlane-header-handle {
  98. position: absolute;
  99. padding: 7px;
  100. top: 50%;
  101. transform: translateY(-50%);
  102. left: 230px;
  103. font-size: 18px;
  104. }
  105. .swimlane .swimlane-header-wrap .swimlane-header-miniscreen-handle {
  106. position: absolute;
  107. padding: 7px;
  108. top: 50%;
  109. transform: translateY(-50%);
  110. left: 87vw;
  111. font-size: 24px;
  112. }
  113. #js-swimlane-height-edit .swimlane-height-error {
  114. display: none;
  115. }
  116. .list-group {
  117. height: 100%;
  118. }
  119. .moving-swimlane {
  120. display: none;
  121. }
  122. .swimlane-white {
  123. background: #fff !important;
  124. color: #4d4d4d !important;
  125. border: 1px solid #eee;
  126. }
  127. .swimlane-green {
  128. background: #3cb500 !important;
  129. color: #fff !important;
  130. }
  131. .swimlane-yellow {
  132. background: #fad900 !important;
  133. color: #4d4d4d !important;
  134. }
  135. .swimlane-orange {
  136. background: #ff9f19 !important;
  137. color: #4d4d4d !important;
  138. }
  139. .swimlane-red {
  140. background: #eb4646 !important;
  141. color: #fff !important;
  142. }
  143. .swimlane-purple {
  144. background: #a632db !important;
  145. color: #fff !important;
  146. }
  147. .swimlane-blue {
  148. background: #0079bf !important;
  149. color: #fff !important;
  150. }
  151. .swimlane-pink {
  152. background: #ff78cb !important;
  153. color: #4d4d4d !important;
  154. }
  155. .swimlane-sky {
  156. background: #00c2e0 !important;
  157. color: #fff !important;
  158. }
  159. .swimlane-black {
  160. background: #4d4d4d !important;
  161. color: #fff !important;
  162. }
  163. .swimlane-lime {
  164. background: #51e898 !important;
  165. color: #4d4d4d !important;
  166. }
  167. .swimlane-silver {
  168. background: unset !important;
  169. color: #4d4d4d !important;
  170. }
  171. .swimlane-peachpuff {
  172. background: #ffdab9 !important;
  173. color: #4d4d4d !important;
  174. }
  175. .swimlane-crimson {
  176. background: #dc143c !important;
  177. color: #fff !important;
  178. }
  179. .swimlane-plum {
  180. background: #dda0dd !important;
  181. color: #4d4d4d !important;
  182. }
  183. .swimlane-darkgreen {
  184. background: #006400 !important;
  185. color: #fff !important;
  186. }
  187. .swimlane-slateblue {
  188. background: #6a5acd !important;
  189. color: #fff !important;
  190. }
  191. .swimlane-magenta {
  192. background: #f0f !important;
  193. color: #fff !important;
  194. }
  195. .swimlane-gold {
  196. background: #ffd700 !important;
  197. color: #4d4d4d !important;
  198. }
  199. .swimlane-navy {
  200. background: #000080 !important;
  201. color: #fff !important;
  202. }
  203. .swimlane-gray {
  204. background: #808080 !important;
  205. color: #fff !important;
  206. }
  207. .swimlane-saddlebrown {
  208. background: #8b4513 !important;
  209. color: #fff !important;
  210. }
  211. .swimlane-paleturquoise {
  212. background: #afeeee !important;
  213. color: #4d4d4d !important;
  214. }
  215. .swimlane-mistyrose {
  216. background: #ffe4e1 !important;
  217. color: #4d4d4d !important;
  218. }
  219. .swimlane-indigo {
  220. background: #4b0082 !important;
  221. color: #fff !important;
  222. }