swimlanes.css 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225
  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. max-height: calc(100% - 26px);
  46. }
  47. .swimlane.placeholder {
  48. background-color: rgba(0,0,0,0.2);
  49. border-color: transparent;
  50. box-shadow: none;
  51. height: 100px;
  52. }
  53. .swimlane.ui-sortable-helper {
  54. box-shadow: -2px 2px 8px rgba(0,0,0,0.3), 0 0 1px rgba(0,0,0,0.5);
  55. transform: rotate(2deg);
  56. cursor: grabbing;
  57. }
  58. .swimlane.ui-sortable-helper .swimlane-header.ui-sortable-handle {
  59. cursor: grabbing;
  60. }
  61. .swimlane .swimlane-header-wrap {
  62. display: flex;
  63. flex-direction: row;
  64. flex: 1 0 100%;
  65. background-color: #ccc;
  66. }
  67. .swimlane .swimlane-header-wrap .swimlane-header {
  68. font-size: 14px;
  69. padding: 5px 5px;
  70. font-weight: bold;
  71. min-height: 9px;
  72. width: 100%;
  73. overflow: hidden;
  74. -o-text-overflow: ellipsis;
  75. text-overflow: ellipsis;
  76. word-wrap: break-word;
  77. text-align: center;
  78. }
  79. .swimlane .swimlane-header-wrap .swimlane-header-menu {
  80. position: absolute;
  81. padding: 5px 5px;
  82. font-size: 22px;
  83. }
  84. @media print {
  85. .swimlane .swimlane-header-wrap .swimlane-header-menu {
  86. display: none;
  87. }
  88. }
  89. .swimlane .swimlane-header-wrap .swimlane-header-plus-icon {
  90. margin-left: 5px;
  91. padding-right: 20px;
  92. font-size: 22px;
  93. }
  94. .swimlane .swimlane-header-wrap .swimlane-header-menu-icon {
  95. padding-right: 20px;
  96. font-size: 22px;
  97. }
  98. .swimlane .swimlane-header-wrap .swimlane-header-handle {
  99. position: absolute;
  100. padding: 7px;
  101. top: 50%;
  102. transform: translateY(-50%);
  103. left: 230px;
  104. font-size: 18px;
  105. }
  106. .swimlane .swimlane-header-wrap .swimlane-header-miniscreen-handle {
  107. position: absolute;
  108. padding: 7px;
  109. top: 50%;
  110. transform: translateY(-50%);
  111. left: 87vw;
  112. font-size: 24px;
  113. }
  114. .list-group {
  115. height: 100%;
  116. }
  117. .moving-swimlane {
  118. display: none;
  119. }
  120. .swimlane-white {
  121. background: #fff !important;
  122. color: #4d4d4d !important;
  123. border: 1px solid #eee;
  124. }
  125. .swimlane-green {
  126. background: #3cb500 !important;
  127. color: #fff !important;
  128. }
  129. .swimlane-yellow {
  130. background: #fad900 !important;
  131. color: #4d4d4d !important;
  132. }
  133. .swimlane-orange {
  134. background: #ff9f19 !important;
  135. color: #4d4d4d !important;
  136. }
  137. .swimlane-red {
  138. background: #eb4646 !important;
  139. color: #fff !important;
  140. }
  141. .swimlane-purple {
  142. background: #a632db !important;
  143. color: #fff !important;
  144. }
  145. .swimlane-blue {
  146. background: #0079bf !important;
  147. color: #fff !important;
  148. }
  149. .swimlane-pink {
  150. background: #ff78cb !important;
  151. color: #4d4d4d !important;
  152. }
  153. .swimlane-sky {
  154. background: #00c2e0 !important;
  155. color: #fff !important;
  156. }
  157. .swimlane-black {
  158. background: #4d4d4d !important;
  159. color: #fff !important;
  160. }
  161. .swimlane-lime {
  162. background: #51e898 !important;
  163. color: #4d4d4d !important;
  164. }
  165. .swimlane-silver {
  166. background: unset !important;
  167. color: #4d4d4d !important;
  168. }
  169. .swimlane-peachpuff {
  170. background: #ffdab9 !important;
  171. color: #4d4d4d !important;
  172. }
  173. .swimlane-crimson {
  174. background: #dc143c !important;
  175. color: #fff !important;
  176. }
  177. .swimlane-plum {
  178. background: #dda0dd !important;
  179. color: #4d4d4d !important;
  180. }
  181. .swimlane-darkgreen {
  182. background: #006400 !important;
  183. color: #fff !important;
  184. }
  185. .swimlane-slateblue {
  186. background: #6a5acd !important;
  187. color: #fff !important;
  188. }
  189. .swimlane-magenta {
  190. background: #f0f !important;
  191. color: #fff !important;
  192. }
  193. .swimlane-gold {
  194. background: #ffd700 !important;
  195. color: #4d4d4d !important;
  196. }
  197. .swimlane-navy {
  198. background: #000080 !important;
  199. color: #fff !important;
  200. }
  201. .swimlane-gray {
  202. background: #808080 !important;
  203. color: #fff !important;
  204. }
  205. .swimlane-saddlebrown {
  206. background: #8b4513 !important;
  207. color: #fff !important;
  208. }
  209. .swimlane-paleturquoise {
  210. background: #afeeee !important;
  211. color: #4d4d4d !important;
  212. }
  213. .swimlane-mistyrose {
  214. background: #ffe4e1 !important;
  215. color: #4d4d4d !important;
  216. }
  217. .swimlane-indigo {
  218. background: #4b0082 !important;
  219. color: #fff !important;
  220. }