list.styl 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298
  1. @import 'nib'
  2. .list
  3. box-sizing: border-box
  4. display: flex
  5. flex-direction: column
  6. flex: 0 0 270px
  7. position: relative
  8. // Even if this background color is the same as the body we can't leave it
  9. // transparent, because that won't work during a list drag.
  10. background: darken(white, 13%)
  11. border-left: 1px solid darken(white, 20%)
  12. padding: 0
  13. float: left
  14. &:first-child
  15. margin-left: 5px
  16. border-left: none
  17. .card-details + &
  18. border-left: none
  19. &.ui-sortable-helper
  20. box-shadow: -2px 2px 8px rgba(0, 0, 0, .3),
  21. 0 0 1px rgba(0, 0, 0, .5)
  22. transform: rotate(4deg)
  23. cursor: grabbing
  24. .list-header.ui-sortable-handle
  25. cursor: grabbing
  26. &.placeholder
  27. background-color: rgba(0, 0, 0, .2)
  28. border-color: transparent
  29. box-shadow: none
  30. height: 100px
  31. &.list-composer, & .list-composer
  32. .open-list-composer
  33. color: #8c8c8c
  34. .list-name-input
  35. background: white
  36. margin: -3px 0 8px
  37. .list-header-card-count
  38. height: 35px
  39. .list-header-add
  40. flex: 0 0 auto
  41. padding: 20px 12px 4px
  42. position: relative
  43. min-height: 20px
  44. .list-header
  45. flex: 0 0 auto
  46. padding: 20px 12px 4px
  47. position: relative
  48. min-height: 20px
  49. background-color: #e4e4e4;
  50. border-bottom: 6px solid #e4e4e4;
  51. &.ui-sortable-handle
  52. cursor: grab
  53. .list-header-left-icon
  54. display: none
  55. .list-header-name
  56. display: inline
  57. font-size: 16px
  58. line-height: 17px
  59. margin: 0
  60. font-weight: bold
  61. min-height: 9px
  62. min-width: 30px
  63. overflow: hidden
  64. text-overflow: ellipsis
  65. word-wrap: break-word
  66. .list-header-watch-icon
  67. padding-left: 10px
  68. color: #a6a6a6
  69. .list-header-menu
  70. position: absolute
  71. padding: 27px 19px
  72. margin-top: 1px
  73. top: -7px
  74. right: -7px
  75. .list-header-plus-icon
  76. color: #a6a6a6
  77. margin-right: 10px
  78. .highlight
  79. color: #ce1414
  80. .list-body
  81. flex: 1 1 auto
  82. flex-direction: column
  83. display: flex
  84. overflow-y: auto
  85. padding: 5px 11px
  86. .minicards
  87. flex-grow: 1
  88. flex-shrink: 0
  89. form
  90. margin-bottom: 9px
  91. .ps-scrollbar-y-rail
  92. transform: translateX(2px)
  93. .open-minicard-composer
  94. border-radius: 2px
  95. color: #8c8c8c
  96. display: block
  97. padding: 7px 10px
  98. position: relative
  99. text-decoration: none
  100. animation: fadeIn 0.3s
  101. i.fa
  102. margin-right: 7px
  103. &:hover
  104. background: #fafafa
  105. color: #222
  106. box-shadow: 0 1px 2px rgba(0,0,0,.2)
  107. #js-wip-limit-edit
  108. padding-top: 2%
  109. p
  110. margin-bottom: 0
  111. input
  112. display: inline-block
  113. .wip-limit-value
  114. width: 20%
  115. margin-right: 5%
  116. .wip-limit-error
  117. display: none
  118. .soft-wip-limit
  119. margin-right: 8px
  120. div
  121. float: left
  122. @media screen and (max-width: 800px)
  123. .list-header-menu
  124. margin-right: 30px
  125. .mini-list
  126. flex: 0 0 60px
  127. height: 60px
  128. width: 100%
  129. border-left: 0px
  130. border-bottom: 1px solid darken(white, 20%)
  131. .list
  132. display: block
  133. width: 100%
  134. border-left: 0px
  135. &.ui-sortable-helper
  136. flex: 0 0 60px
  137. height: 60px
  138. width: 100%
  139. border-left: 0px
  140. border-bottom: 1px solid darken(white, 20%)
  141. .list-header.ui-sortable-handle
  142. cursor: grabbing
  143. &.placeholder
  144. flex: 0 0 60px
  145. height: 60px
  146. width: 100%
  147. border-left: 0px
  148. border-bottom: 1px solid darken(white, 20%)
  149. .list-header
  150. .list-header-left-icon
  151. display: inline
  152. padding: 7px
  153. padding-right: 27px
  154. margin-top: 1px
  155. top: -@padding
  156. left: -@padding
  157. .list-header-menu-icon
  158. position: absolute
  159. padding: 7px
  160. top: -@padding
  161. right: 17px
  162. .link-board-wrapper
  163. display: flex
  164. align-items: baseline
  165. .js-link-board
  166. margin-left: 15px
  167. .search-card-results
  168. max-height: 250px
  169. overflow: hidden
  170. .sk-spinner-list
  171. margin-top: unset !important
  172. list-header-color(background, color...)
  173. border-bottom: 6px solid background
  174. .list-header-white
  175. list-header-color(#ffffff, #4d4d4d) //Black text for better visibility
  176. border: 1px solid #eee
  177. .list-header-green
  178. list-header-color(#3cb500, #ffffff) //White text for better visibility
  179. .list-header-yellow
  180. list-header-color(#fad900, #4d4d4d) //Black text for better visibility
  181. .list-header-orange
  182. list-header-color(#ff9f19, #4d4d4d) //Black text for better visibility
  183. .list-header-red
  184. list-header-color(#eb4646, #ffffff) //White text for better visibility
  185. .list-header-purple
  186. list-header-color(#a632db, #ffffff) //White text for better visibility
  187. .list-header-blue
  188. list-header-color(#0079bf, #ffffff) //White text for better visibility
  189. .list-header-pink
  190. list-header-color(#ff78cb, #4d4d4d) //Black text for better visibility
  191. .list-header-sky
  192. list-header-color(#00c2e0, #ffffff) //White text for better visibility
  193. .list-header-black
  194. list-header-color(#4d4d4d, #ffffff) //White text for better visibility
  195. .list-header-lime
  196. list-header-color(#51e898, #4d4d4d) //Black text for better visibility
  197. .list-header-silver
  198. list-header-color(unset, #4d4d4d) //Black text for better visibility
  199. .list-header-peachpuff
  200. list-header-color(#ffdab9, #4d4d4d) //Black text for better visibility
  201. .list-header-crimson
  202. list-header-color(#dc143c, #ffffff) //White text for better visibility
  203. .list-header-plum
  204. list-header-color(#dda0dd, #4d4d4d) //Black text for better visibility
  205. .list-header-darkgreen
  206. list-header-color(#006400, #ffffff) //White text for better visibility
  207. .list-header-slateblue
  208. list-header-color(#6a5acd, #ffffff) //White text for better visibility
  209. .list-header-magenta
  210. list-header-color(#ff00ff, #ffffff) //White text for better visibility
  211. .list-header-gold
  212. list-header-color(#ffd700, #4d4d4d) //Black text for better visibility
  213. .list-header-navy
  214. list-header-color(#000080, #ffffff) //White text for better visibility
  215. .list-header-gray
  216. list-header-color(#808080, #ffffff) //White text for better visibility
  217. .list-header-saddlebrown
  218. list-header-color(#8b4513, #ffffff) //White text for better visibility
  219. .list-header-paleturquoise
  220. list-header-color(#afeeee, #4d4d4d) //Black text for better visibility
  221. .list-header-mistyrose
  222. list-header-color(#ffe4e1, #4d4d4d) //Black text for better visibility
  223. .list-header-indigo
  224. list-header-color(#4b0082, #ffffff) //White text for better visibility