swimlanes.styl 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. @import 'nib'
  2. .swimlane
  3. // Even if this background color is the same as the body we can't leave it
  4. // transparent, because that won't work during a swimlane drag.
  5. background: darken(white, 13%)
  6. display: flex
  7. flex-direction: column
  8. overflow: 0;
  9. max-height: 100%
  10. &.placeholder
  11. background-color: rgba(0, 0, 0, .2)
  12. border-color: transparent
  13. box-shadow: none
  14. height: 100px
  15. &.ui-sortable-helper
  16. box-shadow: -2px 2px 8px rgba(0, 0, 0, .3),
  17. 0 0 1px rgba(0, 0, 0, .5)
  18. transform: rotate(2deg)
  19. cursor: grabbing
  20. .swimlane-header.ui-sortable-handle
  21. cursor: grabbing
  22. .swimlane-header-wrap
  23. display: flex;
  24. flex-direction: row;
  25. flex: 0 0 24px;
  26. background-color: #ccc;
  27. .swimlane-header
  28. font-size: 14px;
  29. padding: 5px 5px
  30. font-weight: bold;
  31. min-height: 9px;
  32. width: 100%;
  33. overflow: hidden;
  34. -o-text-overflow: ellipsis;
  35. text-overflow: ellipsis;
  36. word-wrap: break-word;
  37. text-align: center;
  38. .swimlane-header-menu
  39. position: absolute
  40. padding: 5px 5px
  41. .swimlane-header-plus-icon
  42. margin-left: 5px
  43. margin-right: 10px
  44. .list-group
  45. flex-direction: row
  46. height: 100%
  47. swimlane-color(background, color...)
  48. background: background !important
  49. if color
  50. color: color !important //overwrite text for better visibility
  51. .swimlane-white
  52. swimlane-color(#ffffff, #4d4d4d) //Black text for better visibility
  53. border: 1px solid #eee
  54. .swimlane-green
  55. swimlane-color(#3cb500, #ffffff) //White text for better visibility
  56. .swimlane-yellow
  57. swimlane-color(#fad900, #4d4d4d) //Black text for better visibility
  58. .swimlane-orange
  59. swimlane-color(#ff9f19, #4d4d4d) //Black text for better visibility
  60. .swimlane-red
  61. swimlane-color(#eb4646, #ffffff) //White text for better visibility
  62. .swimlane-purple
  63. swimlane-color(#a632db, #ffffff) //White text for better visibility
  64. .swimlane-blue
  65. swimlane-color(#0079bf, #ffffff) //White text for better visibility
  66. .swimlane-pink
  67. swimlane-color(#ff78cb, #4d4d4d) //Black text for better visibility
  68. .swimlane-sky
  69. swimlane-color(#00c2e0, #ffffff) //White text for better visibility
  70. .swimlane-black
  71. swimlane-color(#4d4d4d, #ffffff) //White text for better visibility
  72. .swimlane-lime
  73. swimlane-color(#51e898, #4d4d4d) //Black text for better visibility
  74. .swimlane-silver
  75. swimlane-color(unset, #4d4d4d) //Black text for better visibility
  76. .swimlane-peachpuff
  77. swimlane-color(#ffdab9, #4d4d4d) //Black text for better visibility
  78. .swimlane-crimson
  79. swimlane-color(#dc143c, #ffffff) //White text for better visibility
  80. .swimlane-plum
  81. swimlane-color(#dda0dd, #4d4d4d) //Black text for better visibility
  82. .swimlane-darkgreen
  83. swimlane-color(#006400, #ffffff) //White text for better visibility
  84. .swimlane-slateblue
  85. swimlane-color(#6a5acd, #ffffff) //White text for better visibility
  86. .swimlane-magenta
  87. swimlane-color(#ff00ff, #ffffff) //White text for better visibility
  88. .swimlane-gold
  89. swimlane-color(#ffd700, #4d4d4d) //Black text for better visibility
  90. .swimlane-navy
  91. swimlane-color(#000080, #ffffff) //White text for better visibility
  92. .swimlane-gray
  93. swimlane-color(#808080, #ffffff) //White text for better visibility
  94. .swimlane-saddlebrown
  95. swimlane-color(#8b4513, #ffffff) //White text for better visibility
  96. .swimlane-paleturquoise
  97. swimlane-color(#afeeee, #4d4d4d) //Black text for better visibility
  98. .swimlane-mistyrose
  99. swimlane-color(#ffe4e1, #4d4d4d) //Black text for better visibility
  100. .swimlane-indigo
  101. swimlane-color(#4b0082, #ffffff) //White text for better visibility